@linzumi/cli 1.0.115 → 1.0.116
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cloud-supervisor.mjs +11 -11
- package/dist/index.js +418 -418
- package/dist/mcp-server.mjs +31 -31
- package/package.json +1 -1
- package/scripts/analyze_enter_to_typing_latency.mjs +12 -3
package/package.json
CHANGED
|
@@ -86,8 +86,14 @@ for await (const line of rl) {
|
|
|
86
86
|
state = { pending: null };
|
|
87
87
|
threads.set(threadId, state);
|
|
88
88
|
}
|
|
89
|
-
|
|
90
|
-
|
|
89
|
+
// N2.4-prep (naming-consistency program wave N2): match the CANONICAL
|
|
90
|
+
// event names first with the legacy spellings as the permanent fallback -
|
|
91
|
+
// dual-emit window logs carry the legacy name (plus an event_canonical
|
|
92
|
+
// twin field), post-flip logs carry the canonical name only, and archived
|
|
93
|
+
// logs stay legacy forever (D45). codex.turn_starting is a retained D42
|
|
94
|
+
// true-harness name (not renamed).
|
|
95
|
+
const event = entry.event_canonical ?? entry.event;
|
|
96
|
+
if (event === 'linzumi.message_queued' || event === 'kandan.message_queued') {
|
|
91
97
|
state.pending = { atMs, seq: entry.seq, blocked: [], spawn: false };
|
|
92
98
|
} else if (state.pending !== null) {
|
|
93
99
|
if (event === 'codex.turn_starting') {
|
|
@@ -99,7 +105,10 @@ for await (const line of rl) {
|
|
|
99
105
|
spawn: state.pending.spawn,
|
|
100
106
|
});
|
|
101
107
|
state.pending = null;
|
|
102
|
-
} else if (
|
|
108
|
+
} else if (
|
|
109
|
+
event === 'linzumi.queue_drain_blocked' ||
|
|
110
|
+
event === 'kandan.queue_drain_blocked'
|
|
111
|
+
) {
|
|
103
112
|
state.pending.blocked.push(entry.reason);
|
|
104
113
|
} else if (event === 'runner.thread_process_starting') {
|
|
105
114
|
state.pending.spawn = true;
|