@tangle-network/agent-app 0.63.71 → 0.63.73
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 +5 -5
- package/dist/{chunk-J4SI766J.js → chunk-DCPOEDPK.js} +7 -52
- package/dist/{chunk-J4SI766J.js.map → chunk-DCPOEDPK.js.map} +1 -1
- package/dist/{chunk-EJIDXO6S.js → chunk-DEA3XKJP.js} +3 -3
- package/dist/chunk-DEA3XKJP.js.map +1 -0
- package/dist/{chunk-HHAAM7RF.js → chunk-J57Y62HJ.js} +2 -2
- package/dist/{chunk-RG2CF4CS.js → chunk-JLFFTSWN.js} +6 -6
- package/dist/chunk-JLFFTSWN.js.map +1 -0
- package/dist/{chunk-GIQXJLR3.js → chunk-SYV7MIVP.js} +2 -2
- package/dist/preset-cloudflare/index.js +1 -1
- package/dist/public-consultation/index.js +4 -4
- package/dist/runtime/index.js +3 -3
- package/dist/runtime/router-turn.js +2 -2
- package/dist/sandbox/index.js +2 -2
- package/dist/theme/tokens.css +20 -16
- package/dist/turn-trace/index.js +1 -1
- package/dist/turn-trace/server-timing.d.ts +2 -15
- package/package.json +7 -6
- package/dist/chunk-EJIDXO6S.js.map +0 -1
- package/dist/chunk-RG2CF4CS.js.map +0 -1
- /package/dist/{chunk-HHAAM7RF.js.map → chunk-J57Y62HJ.js.map} +0 -0
- /package/dist/{chunk-GIQXJLR3.js.map → chunk-SYV7MIVP.js.map} +0 -0
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
nextCallIndex,
|
|
6
6
|
tracedModelFetch,
|
|
7
7
|
turnTraceId
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DCPOEDPK.js";
|
|
9
9
|
import {
|
|
10
10
|
normalizeModelId
|
|
11
11
|
} from "./chunk-AMUXRAUO.js";
|
|
@@ -985,4 +985,4 @@ export {
|
|
|
985
985
|
composeRouterTurnPrompt,
|
|
986
986
|
runRouterTurn
|
|
987
987
|
};
|
|
988
|
-
//# sourceMappingURL=chunk-
|
|
988
|
+
//# sourceMappingURL=chunk-SYV7MIVP.js.map
|
|
@@ -40,7 +40,7 @@ import "../chunk-S5SRJJQG.js";
|
|
|
40
40
|
import "../chunk-E2JMXA2V.js";
|
|
41
41
|
import {
|
|
42
42
|
createTurnTrace
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-DCPOEDPK.js";
|
|
44
44
|
import "../chunk-HY57QRRW.js";
|
|
45
45
|
import "../chunk-F4XBNR5L.js";
|
|
46
46
|
import "../chunk-4PIN6QYQ.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createChatTurnRoutes,
|
|
3
3
|
streamChatRouteAsSandboxEvents
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-JLFFTSWN.js";
|
|
5
5
|
import "../chunk-SBHFMDR7.js";
|
|
6
6
|
import "../chunk-RKNNMC6T.js";
|
|
7
7
|
import "../chunk-XBBXPZJI.js";
|
|
8
8
|
import "../chunk-4DBHC63F.js";
|
|
9
9
|
import "../chunk-RN4WPTBH.js";
|
|
10
10
|
import "../chunk-MM6RLOXF.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-DEA3XKJP.js";
|
|
12
12
|
import "../chunk-F4TUZYMX.js";
|
|
13
13
|
import "../chunk-MH74DY2I.js";
|
|
14
14
|
import "../chunk-7O62NYGT.js";
|
|
@@ -34,9 +34,9 @@ import "../chunk-S5SRJJQG.js";
|
|
|
34
34
|
import "../chunk-6IMNAZR7.js";
|
|
35
35
|
import "../chunk-UGWQLQDS.js";
|
|
36
36
|
import "../chunk-E2JMXA2V.js";
|
|
37
|
-
import "../chunk-
|
|
37
|
+
import "../chunk-SYV7MIVP.js";
|
|
38
38
|
import "../chunk-D6UJEOZQ.js";
|
|
39
|
-
import "../chunk-
|
|
39
|
+
import "../chunk-DCPOEDPK.js";
|
|
40
40
|
import "../chunk-AMUXRAUO.js";
|
|
41
41
|
import "../chunk-5VE4IDSU.js";
|
|
42
42
|
import "../chunk-67CSI5PU.js";
|
package/dist/runtime/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
ProtectedModelSettlementError,
|
|
3
3
|
createRouterProtectedModelPort,
|
|
4
4
|
runProtectedRouterTurn
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-J57Y62HJ.js";
|
|
6
6
|
import {
|
|
7
7
|
DURABLE_HOP_BUDGET_MS,
|
|
8
8
|
asksForLanguage,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
turnKnowledgeInstructions,
|
|
27
27
|
workspaceKnowledgeForTurn,
|
|
28
28
|
workspaceTurnCheckpoints
|
|
29
|
-
} from "../chunk-
|
|
29
|
+
} from "../chunk-SYV7MIVP.js";
|
|
30
30
|
import {
|
|
31
31
|
DEFAULT_TANGLE_BILLING_ENFORCEMENT_ENV_VAR,
|
|
32
32
|
DEFAULT_TANGLE_ROUTER_BASE_URL,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
tangleExecutionKeyHttpError,
|
|
43
43
|
trimOrNull
|
|
44
44
|
} from "../chunk-D6UJEOZQ.js";
|
|
45
|
-
import "../chunk-
|
|
45
|
+
import "../chunk-DCPOEDPK.js";
|
|
46
46
|
import {
|
|
47
47
|
MAX_RECOMMENDED_MODELS,
|
|
48
48
|
__resetCatalogCache,
|
|
@@ -13,9 +13,9 @@ import {
|
|
|
13
13
|
turnKnowledgeInstructions,
|
|
14
14
|
workspaceKnowledgeForTurn,
|
|
15
15
|
workspaceTurnCheckpoints
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-SYV7MIVP.js";
|
|
17
17
|
import "../chunk-D6UJEOZQ.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-DCPOEDPK.js";
|
|
19
19
|
import "../chunk-AMUXRAUO.js";
|
|
20
20
|
export {
|
|
21
21
|
DURABLE_HOP_BUDGET_MS,
|
package/dist/sandbox/index.js
CHANGED
|
@@ -112,7 +112,7 @@ import {
|
|
|
112
112
|
warmKey,
|
|
113
113
|
warmReceiptId,
|
|
114
114
|
warmWeekdayOf
|
|
115
|
-
} from "../chunk-
|
|
115
|
+
} from "../chunk-DEA3XKJP.js";
|
|
116
116
|
import {
|
|
117
117
|
createWarmCache
|
|
118
118
|
} from "../chunk-F4TUZYMX.js";
|
|
@@ -174,7 +174,7 @@ import "../chunk-6IMNAZR7.js";
|
|
|
174
174
|
import "../chunk-UGWQLQDS.js";
|
|
175
175
|
import "../chunk-E2JMXA2V.js";
|
|
176
176
|
import "../chunk-D6UJEOZQ.js";
|
|
177
|
-
import "../chunk-
|
|
177
|
+
import "../chunk-DCPOEDPK.js";
|
|
178
178
|
import {
|
|
179
179
|
splitDeferredProfileFiles,
|
|
180
180
|
writeProfileFilesToBox
|
package/dist/theme/tokens.css
CHANGED
|
@@ -1932,14 +1932,15 @@
|
|
|
1932
1932
|
--fw-kind-tool: var(--tone-cyan-icon);
|
|
1933
1933
|
--fw-neutral-bar: color-mix(in oklab, var(--fw-text) 15%, var(--fw-surface));
|
|
1934
1934
|
--fw-hatch: color-mix(in oklab, var(--fw-text) 22%, transparent);
|
|
1935
|
-
/*
|
|
1936
|
-
|
|
1935
|
+
/* Bar identity, not status: the root neutral, then an identity ring at one lightness and a moderate chroma, so no lane
|
|
1936
|
+
outshouts another (critique P0 #3, round 29: Brand's icon-strength teal, pink and violet "compete", lime and pink read
|
|
1937
|
+
olive and maroon). Blue, violet, pink, cyan, slate: no green, teal, lime, amber or red, so no lane is mistaken for a status. */
|
|
1937
1938
|
--fw-h0: var(--chart-muted);
|
|
1938
|
-
--fw-h1:
|
|
1939
|
-
--fw-h2:
|
|
1940
|
-
--fw-h3:
|
|
1941
|
-
--fw-h4:
|
|
1942
|
-
--fw-h5:
|
|
1939
|
+
--fw-h1: light-dark(oklch(0.55 0.11 255), oklch(0.70 0.11 255));
|
|
1940
|
+
--fw-h2: light-dark(oklch(0.55 0.11 300), oklch(0.70 0.11 300));
|
|
1941
|
+
--fw-h3: light-dark(oklch(0.55 0.11 335), oklch(0.70 0.11 335));
|
|
1942
|
+
--fw-h4: light-dark(oklch(0.55 0.11 215), oklch(0.70 0.11 215));
|
|
1943
|
+
--fw-h5: light-dark(oklch(0.55 0.03 255), oklch(0.70 0.03 255));
|
|
1943
1944
|
--fw-ease: cubic-bezier(.2, .8, .2, 1);
|
|
1944
1945
|
/* Bar height = row height - 16, so a centered bar sits 8 px from the row edge: 20 px in a 36 px step row. */
|
|
1945
1946
|
--fw-bar-h: 20px;
|
|
@@ -2105,6 +2106,8 @@
|
|
|
2105
2106
|
.fw-root .fw-view-agents .fw-detail-icon { flex: none; width: 16px; height: 16px; align-items: center; justify-content: center; overflow: hidden; }
|
|
2106
2107
|
.fw-root .fw-view-agents .fw-detail { font-size: 12px; line-height: 16px; }
|
|
2107
2108
|
.fw-root .fw-agent-dot { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--line, var(--fw-muted)); }
|
|
2109
|
+
/* The dot is outcome only (critique P0 #3): an agent with no recorded outcome gets a hollow ring, never its lane hue. */
|
|
2110
|
+
.fw-root .fw-row:not([data-outcome]) .fw-agent-dot:not([data-outcome]) { background: transparent; box-shadow: inset 0 0 0 1.5px var(--fw-muted); }
|
|
2108
2111
|
/* Lanes and marks */
|
|
2109
2112
|
.fw-root .fw-lane { position: relative; overflow: hidden; min-width: 0; }
|
|
2110
2113
|
.fw-root .fw-invalid { position: absolute; left: var(--fw-pad); top: 50%; transform: translateY(-50%); color: var(--fw-muted); }
|
|
@@ -2171,13 +2174,13 @@
|
|
|
2171
2174
|
.fw-root .fw-kinds { margin: 0; padding: 0; justify-content: flex-start; color: var(--fw-muted); }
|
|
2172
2175
|
.fw-root .fw-kinds .fw-swatch-model { width: 12px; height: 8px; border-radius: 2px; background: var(--fw-kind-model); }
|
|
2173
2176
|
/* With per-agent hues the key shows kind as shade, as the bars do: darker for a model call, lighter for a tool call. */
|
|
2174
|
-
.fw-root.fw-fill-agent .fw-kinds .fw-swatch-model { background: light-dark(oklch(0.50 0 0), oklch(0.
|
|
2175
|
-
.fw-root.fw-fill-agent .fw-kinds .fw-swatch-tool { background: light-dark(oklch(0.80 0 0), oklch(0.
|
|
2177
|
+
.fw-root.fw-fill-agent .fw-kinds .fw-swatch-model { background: light-dark(oklch(0.50 0 0), oklch(0.82 0 0)); }
|
|
2178
|
+
.fw-root.fw-fill-agent .fw-kinds .fw-swatch-tool { background: light-dark(oklch(0.80 0 0), oklch(0.64 0 0)); }
|
|
2176
2179
|
.fw-root .fw-kinds .fw-swatch-tool { width: 12px; height: 8px; border-radius: 2px; background: var(--fw-kind-tool); }
|
|
2177
2180
|
.fw-root .fw-kinds .fw-swatch-wait { width: 12px; height: 8px; border-radius: 2px; background: color-mix(in oklab, var(--fw-text) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--fw-text) 18%, transparent); }
|
|
2178
2181
|
.fw-root .fw-kinds .fw-swatch-handoff { width: 10px; height: 8px; border-left: 1.5px solid var(--fw-muted); border-bottom: 1.5px solid var(--fw-muted); border-bottom-left-radius: 3px; }
|
|
2179
2182
|
.fw-root .fw-description { margin: 0; color: var(--fw-muted); font-size: 14px; line-height: 20px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
2180
|
-
.fw-root .fw-legend .fw-swatch { width:
|
|
2183
|
+
.fw-root .fw-legend .fw-swatch { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
|
|
2181
2184
|
.fw-root .fw-legend b { color: var(--fw-text); font-weight: 600; font-variant-numeric: tabular-nums; }
|
|
2182
2185
|
.fw-root .fw-legend .fw-swatch-step { display: inline-grid; place-items: center; width: 12px; height: 12px; border-radius: 3px; background: var(--fw-well); color: var(--fw-failed); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--fw-failed) 50%, transparent); }
|
|
2183
2186
|
.fw-root .fw-legend .fw-swatch-step svg { width: 8px; height: 8px; }
|
|
@@ -2192,17 +2195,18 @@
|
|
|
2192
2195
|
.fw-root:is(.fw-fill-muted, .fw-fill-outcome) .fw-view-agents .fw-seg-tool { background: var(--fw-kind-tool); box-shadow: none; }
|
|
2193
2196
|
/* Per-agent hues: a step's kind is a fixed lightness on its agent's hue, the same for every hue, so kind reads by lightness
|
|
2194
2197
|
against the surface and never contradicts the key (critique P0 #4: dark tool steps were lighter than model steps, and the
|
|
2195
|
-
step varied with hue).
|
|
2198
|
+
step varied with hue). On dark both steps are light pastels, model 0.82 and tool 0.64: round 27's pastel dark fills scored
|
|
2199
|
+
39/252, and the critique's darker 0.72/0.46 read muddy to round 29's judges. Model is the stronger step on either surface; chroma is capped at 0.10, never raised, so a neutral (the root's grey) stays
|
|
2196
2200
|
neutral instead of taking a red cast from its undefined hue. */
|
|
2197
|
-
.fw-root.fw-fill-agent .fw-view-agents .fw-seg-model { background: light-dark(oklch(from var(--tone) 0.50 min(c, 0.10) h), oklch(from var(--tone) 0.
|
|
2198
|
-
.fw-root.fw-fill-agent .fw-view-agents :is(.fw-seg-tool, .fw-seg-failed) { background: light-dark(oklch(from var(--tone) 0.80 min(c, 0.10) h), oklch(from var(--tone) 0.
|
|
2201
|
+
.fw-root.fw-fill-agent .fw-view-agents .fw-seg-model { background: light-dark(oklch(from var(--tone) 0.50 min(c, 0.10) h), oklch(from var(--tone) 0.82 min(c, 0.10) h)); box-shadow: none; }
|
|
2202
|
+
.fw-root.fw-fill-agent .fw-view-agents :is(.fw-seg-tool, .fw-seg-failed) { background: light-dark(oklch(from var(--tone) 0.80 min(c, 0.10) h), oklch(from var(--tone) 0.64 min(c, 0.10) h)); box-shadow: none; }
|
|
2199
2203
|
/* A failed turn is still the agent's work: it keeps the agent's hue, and the red cross on the ending turn says it failed. */
|
|
2200
2204
|
.fw-root.fw-fill-agent .fw-view-agents .fw-seg-failed { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--fw-failed) 55%, transparent); }
|
|
2201
2205
|
.fw-root .fw-view-agents .fw-seg { container-type: inline-size; justify-content: flex-start; font-size: 12px; line-height: 16px; white-space: nowrap; color: var(--fw-seg-ink); }
|
|
2202
|
-
/* Label ink holds 4.5:1 on its fill:
|
|
2203
|
-
|
|
2206
|
+
/* Label ink holds 4.5:1 on its fill: page-light on the dark light-theme model step (L 0.50), page-dark on every other step
|
|
2207
|
+
(light tool 0.80, dark pastels 0.82 and 0.64). */
|
|
2204
2208
|
.fw-root .fw-view-agents .fw-seg-model { --fw-seg-ink: light-dark(var(--fw-surface), hsl(var(--hsl-background))); }
|
|
2205
|
-
.fw-root .fw-view-agents :is(.fw-seg-tool, .fw-seg-failed) { --fw-seg-ink: var(--fw-text); }
|
|
2209
|
+
.fw-root .fw-view-agents :is(.fw-seg-tool, .fw-seg-failed) { --fw-seg-ink: light-dark(var(--fw-text), hsl(var(--hsl-background))); }
|
|
2206
2210
|
.fw-root .fw-view-agents .fw-seg > * { pointer-events: none; }
|
|
2207
2211
|
/* One line, 6 px in from each end; a part that does not fit whole wraps to the hidden second line, so trailing parts drop first. */
|
|
2208
2212
|
.fw-root .fw-seg-label { flex: 1; min-width: 0; height: 16px; margin: 0 6px; display: flex; flex-wrap: wrap; align-items: center; column-gap: 4px; overflow: hidden; }
|
package/dist/turn-trace/index.js
CHANGED
|
@@ -1,17 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
3
|
-
name: string;
|
|
4
|
-
/** Milliseconds, when the entry carries `dur`. */
|
|
5
|
-
durMs?: number;
|
|
6
|
-
/** `desc`, unquoted: a count or a label, never a duration. */
|
|
7
|
-
desc?: string;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Parse a `Server-Timing` header, as the Router and the Sandbox orchestrator
|
|
11
|
-
* send it. A malformed entry is skipped; the result never throws.
|
|
12
|
-
*/
|
|
13
|
-
export declare function parseServerTiming(header: string | null | undefined): ServerTimingEntry[];
|
|
1
|
+
import type { ServerTimingEntry } from '@tangle-network/agent-core/server-timing';
|
|
2
|
+
export { formatServerTiming, parseServerTiming, type ServerTimingEntry } from '@tangle-network/agent-core/server-timing';
|
|
14
3
|
/** Flat span attributes for the entries: `server_timing.<name>_ms` for a duration, `server_timing.<name>` for a `desc`. */
|
|
15
4
|
export declare function serverTimingAttrs(entries: readonly ServerTimingEntry[]): Record<string, string | number>;
|
|
16
|
-
/** Format entries as a `Server-Timing` header value, the inverse of {@link parseServerTiming}. Invalid names are skipped. */
|
|
17
|
-
export declare function formatServerTiming(entries: readonly ServerTimingEntry[]): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/agent-app",
|
|
3
|
-
"version": "0.63.
|
|
3
|
+
"version": "0.63.73",
|
|
4
4
|
"packageManager": "pnpm@11.28.8",
|
|
5
5
|
"description": "Build agent applications with typed chat, tools, sandboxes, integrations, billing, and evaluation.",
|
|
6
6
|
"keywords": [
|
|
@@ -800,13 +800,13 @@
|
|
|
800
800
|
"@tangle-network/agent-integrations": "0.76.2",
|
|
801
801
|
"@tangle-network/agent-interface": "5.9.0",
|
|
802
802
|
"@tangle-network/agent-knowledge": "23.0.0",
|
|
803
|
-
"@tangle-network/agent-profile-materialize": "1.0.
|
|
803
|
+
"@tangle-network/agent-profile-materialize": "1.0.1",
|
|
804
804
|
"@tangle-network/agent-runtime": "1.0.0",
|
|
805
805
|
"@tangle-network/brand": "1.29.0",
|
|
806
806
|
"@tangle-network/browser-agent-driver": "0.37.0",
|
|
807
|
-
"@tangle-network/hub-sdk": "1.0.
|
|
808
|
-
"@tangle-network/sandbox": "1.0.
|
|
809
|
-
"@tangle-network/sandbox-ui": "1.1.
|
|
807
|
+
"@tangle-network/hub-sdk": "1.0.4",
|
|
808
|
+
"@tangle-network/sandbox": "1.0.20",
|
|
809
|
+
"@tangle-network/sandbox-ui": "1.1.4",
|
|
810
810
|
"@tangle-network/tcloud": "0.8.6",
|
|
811
811
|
"@tangle-network/ui": "11.45.0",
|
|
812
812
|
"@testing-library/dom": "^10.4.2",
|
|
@@ -1002,8 +1002,9 @@
|
|
|
1002
1002
|
}
|
|
1003
1003
|
},
|
|
1004
1004
|
"dependencies": {
|
|
1005
|
+
"@tangle-network/agent-core": "^1.0.0",
|
|
1005
1006
|
"@tangle-network/agent-trace-contract": "2.2.0",
|
|
1006
|
-
"@tangle-network/charts": "0.21.
|
|
1007
|
+
"@tangle-network/charts": "0.21.21",
|
|
1007
1008
|
"proper-lockfile": "4.1.2"
|
|
1008
1009
|
}
|
|
1009
1010
|
}
|