You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9faec52
Browse filesBrowse the repository at this point in the historyBrowse files
A newly opened Codex TUI may exist before a persistent rollout/session has been created. Such a process is best considered a **Pending Launch**, not yet a fully discovered session.
@@ -221,23 +221,23 @@ Watch-CodexRelease.ps1
221
221
222
222
The bridge does not directly kill the Windows Codex process. Instead it submits a local request:
223
223
224
-
```mermaid
225
-
sequenceDiagram
226
-
participant L as Lark Bridge
227
-
participant R as Request-CodexRelease.ps1
228
-
participant Q as Request JSON
229
-
participant A as Watch-CodexRelease.ps1
230
-
participant X as Release-CodexSession.ps1
231
-
participant C as Codex Writer
232
-
233
-
L->>R: release Session
234
-
R->>Q: write request
235
-
A->>Q: consume request
236
-
A->>X: validate target
237
-
X->>C: terminate writer
238
-
X-->>A: RELEASED / ERROR
239
-
A-->>R: result JSON
240
-
R-->>L: OK|RELEASED|...
224
+
```mermaid
225
+
sequenceDiagram
226
+
participant L as "Lark Bridge"
227
+
participant R as "Request-CodexRelease.ps1"
228
+
participant Q as "Request JSON"
229
+
participant A as "Watch-CodexRelease.ps1"
230
+
participant X as "Release-CodexSession.ps1"
231
+
participant C as "Codex Writer"
232
+
233
+
L->>R: release Session
234
+
R->>Q: write request
235
+
A->>Q: consume request
236
+
A->>X: validate target
237
+
X->>C: terminate writer
238
+
X-->>A: RELEASED / ERROR
239
+
A-->>R: result JSON
240
+
R-->>L: OK|RELEASED|...
241
241
```
242
242
243
243
The PowerShell layer performs the authoritative safety validation.
@@ -280,19 +280,19 @@ attachedAt
280
280
/local-handoff <Thread-name-or-Session-ID-prefix>
281
281
```
282
282
283
-
```mermaid
284
-
flowchart TD
285
-
A[/local-handoff] --> B[Resolve unique Session]
286
-
B --> C{Bound to another Lark scope?}
287
-
C -- Yes --> X[Reject: handback from original scope]
288
-
C -- No --> D{Windows session busy?}
289
-
D -- Yes --> Y[Reject: wait for current turn]
290
-
D -- No --> E[Request-CodexRelease]
291
-
E --> F{PowerShell release successful?}
292
-
F -- No --> Z[Do not alter Lark binding]
293
-
F -- Yes --> G[Set scope cwd]
294
-
G --> H[Set scope sessionId]
295
-
H --> I[Next normal Lark message resumes the same Session]
0 commit comments