@linzumi/cli 1.0.165 → 1.0.166

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@linzumi/cli",
3
- "version": "1.0.165",
3
+ "version": "1.0.166",
4
4
  "description": "Linzumi CLI \u2014 point a Codex agent at the real code on your laptop, with your team watching and steering from shared threads.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -39,6 +39,7 @@ const driverSource = `
39
39
  import {
40
40
  appendFateLadderEntry,
41
41
  commitFateLadderHoldDispatch,
42
+ commitRouteOutageHoldOutcome,
42
43
  createFateLadderRun,
43
44
  decideFateLadderStep,
44
45
  defaultFateLadderBudgets,
@@ -90,6 +91,12 @@ function decisionJson(decision) {
90
91
  resetAtMs: decision.resetAtMs,
91
92
  run: runJson(decision.run),
92
93
  };
94
+ case 'route_outage_hold':
95
+ return {
96
+ kind: 'route_outage_hold',
97
+ deadlineAtMs: decision.deadlineAtMs,
98
+ run: runJson(decision.run),
99
+ };
93
100
  case 'breaker_hold':
94
101
  return { kind: 'breaker_hold', reason: decision.reason, run: runJson(decision.run) };
95
102
  case 'red':
@@ -141,6 +148,10 @@ function runScheduleCase(caseInput) {
141
148
  workerRebuild: op.grants?.workerRebuild === true,
142
149
  },
143
150
  rateLimitResetAtMs: op.resetAtMs ?? undefined,
151
+ // route_outage (2026-07-24 duration form): the server-owned hold
152
+ // ceiling DURATION the schedule may script; absent = pre-hold
153
+ // server / valve off (the honest red).
154
+ routeOutageHoldCeilingMs: op.routeOutageCeilingMs ?? undefined,
144
155
  });
145
156
  if (decision.kind !== 'stand') {
146
157
  current = decision.run;
@@ -153,6 +164,20 @@ function runScheduleCase(caseInput) {
153
164
  current = commitFateLadderHoldDispatch(current, op.nowMs);
154
165
  steps.push({ run: runJson(current) });
155
166
  }
167
+ } else if (op.op === 'commitRouteOutageHoldOutcome') {
168
+ // Route-outage hold outcome commit (2026-07-23): the session-layer
169
+ // twin op (dispatch on the route-recovered snapshot / ceiling
170
+ // exhaustion).
171
+ if (current === undefined) {
172
+ steps.push({ skipped: true });
173
+ } else {
174
+ current = commitRouteOutageHoldOutcome(current, {
175
+ outcome: op.outcome,
176
+ atMs: op.nowMs,
177
+ detail: op.detail ?? undefined,
178
+ });
179
+ steps.push({ run: runJson(current) });
180
+ }
156
181
  } else if (op.op === 'append') {
157
182
  if (current === undefined) {
158
183
  steps.push({ skipped: true });