@tangle-network/agent-app 0.60.178 → 0.60.179
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/agent-profiles/d1.js +3 -3
- package/dist/agent-profiles/index.js +3 -3
- package/dist/assistant/index.js +5 -5
- package/dist/channels/index.js +1 -1
- package/dist/chat-routes/index.js +4 -4
- package/dist/{chunk-GIJY3YCH.js → chunk-3RHAF2P5.js} +11 -13
- package/dist/chunk-3RHAF2P5.js.map +1 -0
- package/dist/{chunk-ER3KSBA4.js → chunk-75ZIWV4U.js} +4 -4
- package/dist/{chunk-7PSYT35Z.js → chunk-7BYY7QKC.js} +5 -5
- package/dist/{chunk-7PSYT35Z.js.map → chunk-7BYY7QKC.js.map} +1 -1
- package/dist/chunk-A2GG4D4A.js +43 -0
- package/dist/chunk-A2GG4D4A.js.map +1 -0
- package/dist/{chunk-6CKNC32J.js → chunk-AJZ3EJB5.js} +2 -2
- package/dist/{chunk-4WEUWCA4.js → chunk-EQRVOMMS.js} +2 -2
- package/dist/{chunk-ARBBJWZA.js → chunk-KOTNMTHV.js} +3 -3
- package/dist/{chunk-LSUELMHY.js → chunk-LN5RBVGP.js} +6 -33
- package/dist/{chunk-LSUELMHY.js.map → chunk-LN5RBVGP.js.map} +1 -1
- package/dist/{chunk-IAFPBYQQ.js → chunk-QGOGX3DL.js} +52 -67
- package/dist/chunk-QGOGX3DL.js.map +1 -0
- package/dist/{chunk-NO2YNV5C.js → chunk-YXLN4PXK.js} +2 -2
- package/dist/integrations-react/index.js +1 -1
- package/dist/preset-cloudflare/index.js +2 -2
- package/dist/sandbox/index.js +4 -4
- package/dist/stories/app-shell/interaction-evidence.d.ts +31 -0
- package/dist/studio-react/index.js +2 -2
- package/dist/theme/tokens.css +158 -0
- package/dist/tools/index.js +4 -4
- package/dist/web-react/action-dialog.d.ts +2 -2
- package/dist/web-react/agent-profile-editor.js +1 -1
- package/dist/web-react/agent-profile-form-kit.d.ts +1 -1
- package/dist/web-react/async/index.js +1 -1
- package/dist/web-react/index.js +5 -5
- package/dist/work-product/index.js +2 -2
- package/dist/workspace-react/index.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-GIJY3YCH.js.map +0 -1
- package/dist/chunk-IAFPBYQQ.js.map +0 -1
- package/dist/chunk-QJYJOMMO.js +0 -78
- package/dist/chunk-QJYJOMMO.js.map +0 -1
- /package/dist/{chunk-ER3KSBA4.js.map → chunk-75ZIWV4U.js.map} +0 -0
- /package/dist/{chunk-6CKNC32J.js.map → chunk-AJZ3EJB5.js.map} +0 -0
- /package/dist/{chunk-4WEUWCA4.js.map → chunk-EQRVOMMS.js.map} +0 -0
- /package/dist/{chunk-ARBBJWZA.js.map → chunk-KOTNMTHV.js.map} +0 -0
- /package/dist/{chunk-NO2YNV5C.js.map → chunk-YXLN4PXK.js.map} +0 -0
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
ProfileConflictError,
|
|
3
3
|
parseProfileRevisionDiff,
|
|
4
4
|
serializeProfileRevisionDiff
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-KOTNMTHV.js";
|
|
6
6
|
import "../chunk-I6BZVIRH.js";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-AJZ3EJB5.js";
|
|
8
8
|
import "../chunk-UGWQLQDS.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-7BYY7QKC.js";
|
|
10
10
|
|
|
11
11
|
// src/agent-profiles/d1.ts
|
|
12
12
|
import { snapshotAgentProfile } from "@tangle-network/agent-interface";
|
|
@@ -31,14 +31,14 @@ import {
|
|
|
31
31
|
selfMountTable,
|
|
32
32
|
serializeProfileRevisionDiff,
|
|
33
33
|
switchProfile
|
|
34
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-KOTNMTHV.js";
|
|
35
35
|
import {
|
|
36
36
|
normalizeProfileName,
|
|
37
37
|
parseProfileSwitch
|
|
38
38
|
} from "../chunk-I6BZVIRH.js";
|
|
39
|
-
import "../chunk-
|
|
39
|
+
import "../chunk-AJZ3EJB5.js";
|
|
40
40
|
import "../chunk-UGWQLQDS.js";
|
|
41
|
-
import "../chunk-
|
|
41
|
+
import "../chunk-7BYY7QKC.js";
|
|
42
42
|
export {
|
|
43
43
|
PERMITTED_SELF_MOUNT_DIMENSIONS,
|
|
44
44
|
PROFILE_CHANGE_POLICY,
|
package/dist/assistant/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ReasoningRow,
|
|
3
3
|
chatToolCallPart
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-QGOGX3DL.js";
|
|
5
|
+
import "../chunk-EQRVOMMS.js";
|
|
6
6
|
import "../chunk-3HUFJ5LO.js";
|
|
7
7
|
import "../chunk-FBVLEGEG.js";
|
|
8
8
|
import "../chunk-UDLA3NGY.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-A2GG4D4A.js";
|
|
10
10
|
import "../chunk-E4AY62T2.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-3RHAF2P5.js";
|
|
12
12
|
import "../chunk-Y6PRDUFJ.js";
|
|
13
13
|
import "../chunk-GEYACSFW.js";
|
|
14
14
|
import {
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
import "../chunk-RASGKEAL.js";
|
|
25
25
|
import {
|
|
26
26
|
AsyncView
|
|
27
|
-
} from "../chunk-
|
|
27
|
+
} from "../chunk-LN5RBVGP.js";
|
|
28
28
|
import "../chunk-FQYAJYPW.js";
|
|
29
29
|
import "../chunk-WTC6AOPL.js";
|
|
30
30
|
import "../chunk-VBRUG4N5.js";
|
package/dist/channels/index.js
CHANGED
|
@@ -46,13 +46,13 @@ import {
|
|
|
46
46
|
import "../chunk-4LBCTFBP.js";
|
|
47
47
|
import "../chunk-VBRUG4N5.js";
|
|
48
48
|
import "../chunk-LWSJK546.js";
|
|
49
|
-
import "../chunk-
|
|
49
|
+
import "../chunk-75ZIWV4U.js";
|
|
50
50
|
import "../chunk-6A7MYOUI.js";
|
|
51
51
|
import "../chunk-S5SRJJQG.js";
|
|
52
|
-
import "../chunk-
|
|
53
|
-
import "../chunk-
|
|
52
|
+
import "../chunk-YXLN4PXK.js";
|
|
53
|
+
import "../chunk-AJZ3EJB5.js";
|
|
54
54
|
import "../chunk-UGWQLQDS.js";
|
|
55
|
-
import "../chunk-
|
|
55
|
+
import "../chunk-7BYY7QKC.js";
|
|
56
56
|
import {
|
|
57
57
|
runProtectedRouterTurn
|
|
58
58
|
} from "../chunk-XJEIGVMQ.js";
|
|
@@ -240,7 +240,7 @@ function AgentProfileRegistryMcpSearch({ registry, disabled, existingNames, vali
|
|
|
240
240
|
|
|
241
241
|
// src/web-react/agent-profile-form-kit.tsx
|
|
242
242
|
import { useId, useState as useState2 } from "react";
|
|
243
|
-
import { Tooltip, TooltipContent, TooltipTrigger } from "@tangle-network/ui/primitives";
|
|
243
|
+
import { Card, CardContent, Collapsible, CollapsibleContent, CollapsibleTrigger, StatusPill as SharedStatusPill, Tooltip, TooltipContent, TooltipTrigger } from "@tangle-network/ui/primitives";
|
|
244
244
|
import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
245
245
|
var formText = {
|
|
246
246
|
body: "text-sm leading-6 text-foreground",
|
|
@@ -305,6 +305,7 @@ function Chevron({ className }) {
|
|
|
305
305
|
}
|
|
306
306
|
function Section({ title, description, summary, defaultOpen = false, collapsible = false, children }) {
|
|
307
307
|
const headingId = useId();
|
|
308
|
+
const [open, setOpen] = useState2(defaultOpen);
|
|
308
309
|
const header = /* @__PURE__ */ jsxs2("span", { className: "flex min-w-0 flex-1 items-start justify-between gap-3", children: [
|
|
309
310
|
/* @__PURE__ */ jsxs2("span", { className: "min-w-0 space-y-0.5", children: [
|
|
310
311
|
/* @__PURE__ */ jsx2("span", { id: headingId, className: `block ${formText.title}`, children: title }),
|
|
@@ -312,19 +313,19 @@ function Section({ title, description, summary, defaultOpen = false, collapsible
|
|
|
312
313
|
] }),
|
|
313
314
|
(summary || collapsible) && /* @__PURE__ */ jsxs2("span", { className: `flex shrink-0 items-center gap-2 ${formText.muted}`, children: [
|
|
314
315
|
summary,
|
|
315
|
-
collapsible && /* @__PURE__ */ jsx2(Chevron, { className: "size-4
|
|
316
|
+
collapsible && /* @__PURE__ */ jsx2(Chevron, { className: "size-4 group-data-[state=open]:rotate-180" })
|
|
316
317
|
] })
|
|
317
318
|
] });
|
|
318
319
|
if (!collapsible) {
|
|
319
|
-
return /* @__PURE__ */ jsxs2(
|
|
320
|
+
return /* @__PURE__ */ jsxs2(Card, { role: "region", "aria-labelledby": headingId, className: "min-w-0", children: [
|
|
320
321
|
/* @__PURE__ */ jsx2("header", { className: "flex px-4 pt-4", children: header }),
|
|
321
|
-
/* @__PURE__ */ jsx2(
|
|
322
|
+
/* @__PURE__ */ jsx2(CardContent, { className: "min-w-0 space-y-4 p-4", children })
|
|
322
323
|
] });
|
|
323
324
|
}
|
|
324
|
-
return /* @__PURE__ */
|
|
325
|
-
/* @__PURE__ */ jsx2(
|
|
326
|
-
/* @__PURE__ */ jsx2(
|
|
327
|
-
] });
|
|
325
|
+
return /* @__PURE__ */ jsx2(Collapsible, { open, onOpenChange: setOpen, asChild: true, children: /* @__PURE__ */ jsxs2(Card, { className: "group min-w-0", children: [
|
|
326
|
+
/* @__PURE__ */ jsx2(CollapsibleTrigger, { "aria-labelledby": headingId, className: "flex w-full cursor-pointer rounded-xl p-4 text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring", children: header }),
|
|
327
|
+
/* @__PURE__ */ jsx2(CollapsibleContent, { forceMount: true, hidden: !open, asChild: true, children: /* @__PURE__ */ jsx2(CardContent, { className: "min-w-0 space-y-4 border-t border-border p-4", children }) })
|
|
328
|
+
] }) });
|
|
328
329
|
}
|
|
329
330
|
var toneClass = {
|
|
330
331
|
neutral: "text-muted-foreground",
|
|
@@ -358,10 +359,7 @@ function StatusLine({ tone, children, id }) {
|
|
|
358
359
|
] });
|
|
359
360
|
}
|
|
360
361
|
function StatusPill({ tone, children }) {
|
|
361
|
-
return /* @__PURE__ */
|
|
362
|
-
tone === "pending" ? /* @__PURE__ */ jsx2(StatusGlyph, { tone: "pending" }) : /* @__PURE__ */ jsx2("span", { "aria-hidden": "true", className: "size-2 rounded-full bg-current" }),
|
|
363
|
-
children
|
|
364
|
-
] });
|
|
362
|
+
return /* @__PURE__ */ jsx2(SharedStatusPill, { bare: true, size: "md", tone: tone === "pending" ? "running" : tone === "error" ? "danger" : tone, children });
|
|
365
363
|
}
|
|
366
364
|
function Notice({ tone, children }) {
|
|
367
365
|
return /* @__PURE__ */ jsx2("div", { role: tone === "error" ? "alert" : "status", className: `rounded-lg border p-3 text-sm leading-6 ${tone === "error" ? "border-destructive/40 bg-destructive/5 text-foreground" : "border-border bg-muted/50 text-foreground"}`, children });
|
|
@@ -2214,4 +2212,4 @@ export {
|
|
|
2214
2212
|
AGENT_PROFILE_EDITOR_SECTIONS,
|
|
2215
2213
|
AgentProfileEditor
|
|
2216
2214
|
};
|
|
2217
|
-
//# sourceMappingURL=chunk-
|
|
2215
|
+
//# sourceMappingURL=chunk-3RHAF2P5.js.map
|