@burdenoff/fe-libs 2026.925.4 → 2026.925.5

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.
@@ -12,12 +12,14 @@
12
12
  * fails in ways that are worse to surface than a re-provision. So this does not
13
13
  * remove the check — it stops repeating a check that just passed.
14
14
  *
15
- * ★ The TTL is deliberately far shorter than the sandbox's own lifetime. Each
16
- * turn extends the sandbox by 600s, so a 60s readiness window can never outlive
17
- * the thing it describes; the worst case is that a sandbox dies inside the
18
- * window and one turn fails, which is exactly what happens today when it dies
19
- * mid-turn — and the caller already handles that by dropping it and
20
- * provisioning a fresh one.
15
+ * ★ The TTL is deliberately far shorter than the sandbox's usual lifetime —
16
+ * long turns extend it by 600s and the panel's heartbeat keeps it alive
17
+ * between turns — but it is NOT a guarantee: extensions clamp to the
18
+ * workspace/plan ceiling, so a sandbox can die at a fixed instant inside a
19
+ * window. The callers cover that: every failure invalidates, and a sandbox
20
+ * trusted from this cache that then fails at session setup is replaced or
21
+ * re-probed INSIDE the same attempt (`planTrustedSandboxFailure`, BOFF-7801).
22
+ * Such a death costs the failed setup request(s) — not the turn's retry.
21
23
  *
22
24
  * Correctness rests on the caller invalidating on failure. A cache that only
23
25
  * ever gets written on success, and never cleared, would pin a dead sandbox and
@@ -42,4 +44,41 @@ export declare function createReadinessTracker(clock?: () => number): {
42
44
  invalidate(sandboxId: string | null | undefined): void;
43
45
  };
44
46
  export type ReadinessTracker = ReturnType<typeof createReadinessTracker>;
47
+ /**
48
+ * ★ BOFF-7801: a sandbox trusted from this cache (no probe ran) failed at
49
+ * session setup. What now? Decided INSIDE the attempt, so the turn keeps its
50
+ * one retry for whatever comes after (final review of #266: routing a dead
51
+ * proof to attempt 2 spent that retry, and a replacement whose first start
52
+ * then failed lost a turn the always-probe code would have answered).
53
+ *
54
+ * - `rethrow` — the turn was cut off (a re-run could send a prompt they
55
+ * abandoned); a REFUSAL (rate limit, unauthorized, a permission or usage
56
+ * wall), which a probe or a new sandbox meets again and a probe would answer
57
+ * by quarantining a live sandbox; or the sandbox service could not reach the
58
+ * gateway to mint the sandbox's credentials ("proxy credentials not ready"):
59
+ * the sandbox is fine and a new one would fail the same way — the
60
+ * attempt-level retry handles it as before.
61
+ * - `check-network` — a TRANSPORT failure ("Failed to fetch"). It has two
62
+ * causes that read identically in the browser: the person's own network, or
63
+ * a dead sandbox's hop that hung until the load balancer answered without
64
+ * CORS headers. `planAfterTransportFailure` tells them apart.
65
+ * - `replace` — the error says the sandbox is GONE (not found, not running,
66
+ * unable to connect…). Quarantine it and provision now: no 90s probe of a
67
+ * dead container.
68
+ * - `reprobe` — anything else temporary: the gap the cache opened. Probe for
69
+ * real, as every turn did before the cache.
70
+ */
71
+ export type TrustedSandboxFailurePlan = "rethrow" | "check-network" | "replace" | "reprobe";
72
+ export declare function planTrustedSandboxFailure(error: unknown, abandoned: boolean): TrustedSandboxFailurePlan;
73
+ /**
74
+ * A transport failure at session create: the person's network, or the
75
+ * sandbox's? Ask the GATEWAY something that never touches the sandbox.
76
+ *
77
+ * - offline, or the gateway is unreachable too → `rethrow`: the sandbox may be
78
+ * fine, and a probe over the same outage would quarantine it — and the next
79
+ * turn would stop it;
80
+ * - the gateway answers (even with an error of its own) → `reprobe`: the
81
+ * network is up, so the sandbox hop is what failed.
82
+ */
83
+ export declare function planAfterTransportFailure(askGateway: () => Promise<unknown>): Promise<"rethrow" | "reprobe">;
45
84
  //# sourceMappingURL=sandboxReadiness.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sandboxReadiness.d.ts","sourceRoot":"","sources":["../../../src/shared/assistant/sandboxReadiness.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,+DAA+D;AAC/D,eAAO,MAAM,oBAAoB,QAAS,CAAC;AAE3C;;;GAGG;AACH,wBAAgB,kBAAkB,CAChC,cAAc,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACzC,GAAG,EAAE,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C,OAAO,CAAC,GACjC,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC,CAShC"}
@@ -1,22 +1,36 @@
1
+ import { isTransportError as e } from "../utils/backendErrors.js";
2
+ import { classifyTurnFailure as t } from "./turnOutcome.js";
3
+ import { isNeverRecoverableAssistantError as n, isRecoverableAssistantError as r } from "./transportErrors.js";
1
4
  //#region src/shared/assistant/sandboxReadiness.ts
2
- var e = 6e4;
3
- function t(t, n, r = e) {
4
- return t == null || t > n ? !1 : n - t < r;
5
+ var i = 6e4;
6
+ function a(e, t, n = i) {
7
+ return e == null || e > t ? !1 : t - e < n;
5
8
  }
6
- var n = 32;
7
- function r(e = Date.now) {
8
- let r = /* @__PURE__ */ new Map();
9
+ var o = 32;
10
+ function s(e = Date.now) {
11
+ let t = /* @__PURE__ */ new Map();
9
12
  return {
10
13
  isFresh(n) {
11
- return t(r.get(n), e());
14
+ return a(t.get(n), e());
12
15
  },
13
- markVerified(t) {
14
- r.size >= n && !r.has(t) && r.clear(), r.set(t, e());
16
+ markVerified(n) {
17
+ t.size >= o && !t.has(n) && t.clear(), t.set(n, e());
15
18
  },
16
19
  invalidate(e) {
17
- e && r.delete(e);
20
+ e && t.delete(e);
18
21
  }
19
22
  };
20
23
  }
24
+ function c(i, a) {
25
+ return a || n(i) ? "rethrow" : e(i) ? "check-network" : (i instanceof Error ? i.message : String(i)).toLowerCase().includes("proxy credentials not ready") ? "rethrow" : r(i) ? "replace" : t(i).kind === "temporary" ? "reprobe" : "rethrow";
26
+ }
27
+ async function l(t) {
28
+ if (typeof navigator < "u" && navigator.onLine === !1) return "rethrow";
29
+ try {
30
+ return await t(), "reprobe";
31
+ } catch (t) {
32
+ return e(t) ? "rethrow" : "reprobe";
33
+ }
34
+ }
21
35
  //#endregion
22
- export { e as SANDBOX_READY_TTL_MS, r as createReadinessTracker, t as isRecentlyVerified };
36
+ export { i as SANDBOX_READY_TTL_MS, s as createReadinessTracker, a as isRecentlyVerified, l as planAfterTransportFailure, c as planTrustedSandboxFailure };
@@ -35,5 +35,7 @@
35
35
  * the multimodal parts?
36
36
  */
37
37
  export declare function isMultimodalBodyRejection(error: unknown): boolean;
38
+ /** A refusal (rate limit, unauthorized) — never cured by another sandbox or a probe. */
39
+ export declare function isNeverRecoverableAssistantError(error: unknown): boolean;
38
40
  export declare function isRecoverableAssistantError(error: unknown): boolean;
39
41
  //# sourceMappingURL=transportErrors.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"transportErrors.d.ts","sourceRoot":"","sources":["../../../src/shared/assistant/transportErrors.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAmCH;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CASjE;AA6CD,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CASnE"}
1
+ {"version":3,"file":"transportErrors.d.ts","sourceRoot":"","sources":["../../../src/shared/assistant/transportErrors.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAmCH;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CASjE;AA6CD,wFAAwF;AACxF,wBAAgB,gCAAgC,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAKxE;AAED,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CASnE"}
@@ -45,8 +45,12 @@ var r = [
45
45
  "able to access the url"
46
46
  ];
47
47
  function a(e) {
48
+ let t = (e instanceof Error ? e.message : String(e)).toLowerCase();
49
+ return r.some((e) => t.includes(e));
50
+ }
51
+ function o(e) {
48
52
  let t = (e instanceof Error ? e.message : String(e)).toLowerCase();
49
53
  return r.some((e) => t.includes(e)) ? !1 : i.some((e) => t.includes(e));
50
54
  }
51
55
  //#endregion
52
- export { n as isMultimodalBodyRejection, a as isRecoverableAssistantError };
56
+ export { n as isMultimodalBodyRejection, a as isNeverRecoverableAssistantError, o as isRecoverableAssistantError };
@@ -101,6 +101,11 @@ export interface TurnAttemptFacts {
101
101
  usedTools?: boolean;
102
102
  /** A reuse probe failed — a dead sandbox cost time before a new one. */
103
103
  deadSandboxProbe?: boolean;
104
+ /**
105
+ * A readiness proof vouched for the sandbox (no probe ran) and it then
106
+ * failed — how often the cache's window costs rather than saves.
107
+ */
108
+ cacheProofFailed?: boolean;
104
109
  }
105
110
  export interface TurnAttempt extends TurnAttemptFacts {
106
111
  at: Partial<Record<TurnMilestone, number>>;
@@ -1 +1 @@
1
- {"version":3,"file":"turnTimeline.d.ts","sourceRoot":"","sources":["../../../src/shared/assistant/turnTimeline.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AAEH,eAAO,MAAM,eAAe,yTAqBlB,CAAC;AAEX,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC;AAiB7D;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,aAAa,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAC;AAEjF;;;;;;;;;GASG;AACH,MAAM,MAAM,mBAAmB,GAC3B,UAAU,GACV,UAAU,GACV,SAAS,GACT,QAAQ,GACR,SAAS,CAAC;AAEd,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,6CAA6C;IAC7C,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,OAAO,GAAG,SAAS,GAAG,SAAS,CAAC;IACxC,sEAAsE;IACtE,YAAY,EAAE,OAAO,CAAC;CACvB;AAED,kCAAkC;AAClC,MAAM,WAAW,gBAAgB;IAC/B,OAAO,CAAC,EAAE,W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AAe,EAAE,YAAY,CAAC,CAAC,CAAC,CA6BhE"}
@@ -91,7 +91,7 @@ function d(e, t) {
91
91
  let n = i.get(e);
92
92
  if (!n) return;
93
93
  let r = !1;
94
- t.runtime !== void 0 && n.runtime === void 0 && (n.runtime = t.runtime, r = !0), t.usedTools !== void 0 && n.usedTools === void 0 && (n.usedTools = t.usedTools, r = !0), t.deadSandboxProbe !== void 0 && n.deadSandboxProbe === void 0 && (n.deadSandboxProbe = t.deadSandboxProbe, r = !0), t.outcome !== void 0 && n.outcome === void 0 && (n.outcome = t.outcome, r = !0), r && c(n);
94
+ t.runtime !== void 0 && n.runtime === void 0 && (n.runtime = t.runtime, r = !0), t.usedTools !== void 0 && n.usedTools === void 0 && (n.usedTools = t.usedTools, r = !0), t.deadSandboxProbe !== void 0 && n.deadSandboxProbe === void 0 && (n.deadSandboxProbe = t.deadSandboxProbe, r = !0), t.cacheProofFailed !== void 0 && n.cacheProofFailed === void 0 && (n.cacheProofFailed = t.cacheProofFailed, r = !0), t.outcome !== void 0 && n.outcome === void 0 && (n.outcome = t.outcome, r = !0), r && c(n);
95
95
  }
96
96
  function f(e, n = a()) {
97
97
  let r = i.get(e);
@@ -104,7 +104,7 @@ function f(e, n = a()) {
104
104
  let t = r.at[e];
105
105
  t !== void 0 && (o.at[e] = t, delete r.at[e]);
106
106
  }
107
- r.runtime !== void 0 && (o.runtime = r.runtime), r.usedTools !== void 0 && (o.usedTools = r.usedTools), r.deadSandboxProbe !== void 0 && (o.deadSandboxProbe = r.deadSandboxProbe), delete r.runtime, delete r.usedTools, delete r.deadSandboxProbe, r.attempts = [...r.attempts ?? [], o], r.retried = !0, c(r);
107
+ r.runtime !== void 0 && (o.runtime = r.runtime), r.usedTools !== void 0 && (o.usedTools = r.usedTools), r.deadSandboxProbe !== void 0 && (o.deadSandboxProbe = r.deadSandboxProbe), r.cacheProofFailed !== void 0 && (o.cacheProofFailed = r.cacheProofFailed), delete r.runtime, delete r.usedTools, delete r.deadSandboxProbe, delete r.cacheProofFailed, r.attempts = [...r.attempts ?? [], o], r.retried = !0, c(r);
108
108
  }
109
109
  function p(e) {
110
110
  let t = i.get(e);
@@ -1 +1 @@
1
- {"version":3,"file":"AssistantChatArea.d.ts","sourceRoot":"","sources":["../../../../src/shared/assistant/ui/AssistantChatArea.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,EAAE,EACR,MAAM,OAAO,CAAC;AAmHf,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAyDvE;;;;;GAKG;AACH,MAAM,WAAW,sBAAsB;IACrC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;;;;;;;;;OAYG;IACH,WAAW,CAAC,EAAE,oBAAoB,CAAC;CACpC;AAED,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAgqFxD,CAAC"}
1
+ {"version":3,"file":"AssistantChatArea.d.ts","sourceRoot":"","sources":["../../../../src/shared/assistant/ui/AssistantChatArea.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,EAAE,EACR,MAAM,OAAO,CAAC;AAmHf,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AA6DvE;;;;;GAKG;AACH,MAAM,WAAW,sBAAsB;IACrC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;;;;;;;;;OAYG;IACH,WAAW,CAAC,EAAE,oBAAoB,CAAC;CACpC;AAED,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CA2xFxD,CAAC"}