@tangle-network/agent-app 0.46.11 → 0.46.13
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/dist/chat-routes/index.js +1 -1
- package/dist/{chunk-3HBH5GFN.js → chunk-CCIQXW6N.js} +10 -2
- package/dist/{chunk-3HBH5GFN.js.map → chunk-CCIQXW6N.js.map} +1 -1
- package/dist/sandbox/index.d.ts +11 -5
- package/dist/sandbox/index.js +1 -1
- package/dist/studio-react/index.js +7 -4
- package/dist/studio-react/index.js.map +1 -1
- package/package.json +1 -1
package/dist/sandbox/index.d.ts
CHANGED
|
@@ -516,12 +516,18 @@ export declare function assertProvisionPayloadWithinCap(payload: ProvisionPayloa
|
|
|
516
516
|
* every exec inside it dies on the oversized entry.
|
|
517
517
|
*/
|
|
518
518
|
export declare function assertEnvWithinLimits(env: Record<string, string>): void;
|
|
519
|
-
/** What a peek can find. `
|
|
520
|
-
*
|
|
521
|
-
*
|
|
519
|
+
/** What a peek can find. `warming` means the control plane is running while
|
|
520
|
+
* the filesystem incarnation is still transitioning. `not-running` carries
|
|
521
|
+
* the platform's own state string (`stopped`, `starting`, `failed`, …) —
|
|
522
|
+
* narrowing it to a union here would drop states the platform adds later,
|
|
523
|
+
* and every caller wants it for a log. */
|
|
522
524
|
export type PeekWorkspaceSandboxOutcome = {
|
|
523
525
|
status: 'running';
|
|
524
526
|
box: SandboxInstance;
|
|
527
|
+
} | {
|
|
528
|
+
status: 'warming';
|
|
529
|
+
readiness: 'transitioning';
|
|
530
|
+
box: SandboxInstance;
|
|
525
531
|
} | {
|
|
526
532
|
status: 'not-running';
|
|
527
533
|
state: string;
|
|
@@ -531,8 +537,8 @@ export type PeekWorkspaceSandboxOutcome = {
|
|
|
531
537
|
};
|
|
532
538
|
/**
|
|
533
539
|
* Read-only twin of {@link ensureWorkspaceSandbox}: report whether a
|
|
534
|
-
* workspace's box exists and is
|
|
535
|
-
* bootstrapping anything.
|
|
540
|
+
* workspace's box exists and is fully ready, WITHOUT provisioning, resuming,
|
|
541
|
+
* or bootstrapping anything.
|
|
536
542
|
*
|
|
537
543
|
* This is what a read-mostly path needs — a file-index route's `authorize`
|
|
538
544
|
* seam, a stale-lock reconciliation, a status badge. Calling `ensure` from one
|
package/dist/sandbox/index.js
CHANGED
|
@@ -91,7 +91,7 @@ import {
|
|
|
91
91
|
workspaceSandboxRecoveryMessage,
|
|
92
92
|
workspaceSandboxRecoveryRecommendedActions,
|
|
93
93
|
writeProfileFilesToBox
|
|
94
|
-
} from "../chunk-
|
|
94
|
+
} from "../chunk-CCIQXW6N.js";
|
|
95
95
|
import "../chunk-TH7L265V.js";
|
|
96
96
|
import "../chunk-LWSJK546.js";
|
|
97
97
|
import "../chunk-P5PIAQVS.js";
|
|
@@ -1030,10 +1030,13 @@ function StudioComposer({
|
|
|
1030
1030
|
"data-variant": variant,
|
|
1031
1031
|
className: `studio-composer-card rounded-2xl border border-border bg-surface-container-high p-2.5 shadow-sm transition focus-within:border-primary/60 ${className ?? ""}`,
|
|
1032
1032
|
children: [
|
|
1033
|
-
laneDown ?
|
|
1034
|
-
|
|
1035
|
-
/* @__PURE__ */
|
|
1036
|
-
|
|
1033
|
+
laneDown ? (
|
|
1034
|
+
// Match rows={3} at 14.5px/1.625 plus the textarea's vertical padding.
|
|
1035
|
+
/* @__PURE__ */ jsxs2("p", { className: "flex min-h-[calc(70.6875px+0.625rem)] items-center gap-2 px-1.5 pb-3 pt-1.5 text-[13px] font-medium text-warning", children: [
|
|
1036
|
+
/* @__PURE__ */ jsx2(TriangleAlert2, { "aria-hidden": true, className: "h-4 w-4 shrink-0", strokeWidth: 2 }),
|
|
1037
|
+
/* @__PURE__ */ jsx2("span", { children: laneDownMessage })
|
|
1038
|
+
] })
|
|
1039
|
+
) : /* @__PURE__ */ jsx2(
|
|
1037
1040
|
"textarea",
|
|
1038
1041
|
{
|
|
1039
1042
|
value: prompt,
|