@tangle-network/agent-app 0.45.42 → 0.45.44
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/{DesignCanvas-EODMDQMT.js → DesignCanvas-P2ZVK6FM.js} +2 -2
- package/dist/{DesignCanvasEditor-DRRZ6ZD3.js → DesignCanvasEditor-DGNCA54P.js} +3 -3
- package/dist/{InvitationsPanel-BATXZHY4.js → InvitationsPanel-F56UOQXA.js} +2 -2
- package/dist/{TimelineEditor-IIBVCAZV.js → TimelineEditor-OTNPJ3SN.js} +2 -2
- package/dist/{agent-session-controls-BGNNTeJ5.d.ts → agent-session-controls-C54M2RsX.d.ts} +26 -8
- package/dist/assistant/index.d.ts +1 -1
- package/dist/assistant/index.js +8 -8
- package/dist/assistant/index.js.map +1 -1
- package/dist/chat-react/index.d.ts +1 -1
- package/dist/chat-react/index.js +1 -1
- package/dist/{chunk-5MZXWPFN.js → chunk-54FYYXAX.js} +2 -2
- package/dist/chunk-54FYYXAX.js.map +1 -0
- package/dist/{chunk-5N434BGF.js → chunk-65OZT566.js} +4 -4
- package/dist/chunk-65OZT566.js.map +1 -0
- package/dist/{chunk-UXRJAUJL.js → chunk-B62EZF52.js} +3 -3
- package/dist/{chunk-LY4WNPG3.js → chunk-G7BVJ3IH.js} +37 -37
- package/dist/chunk-G7BVJ3IH.js.map +1 -0
- package/dist/{chunk-MOAXN4QK.js → chunk-GNPN6ED4.js} +80 -27
- package/dist/chunk-GNPN6ED4.js.map +1 -0
- package/dist/{chunk-7MV23XBW.js → chunk-IUSO2XRE.js} +2 -2
- package/dist/{chunk-7MV23XBW.js.map → chunk-IUSO2XRE.js.map} +1 -1
- package/dist/{chunk-7O4FZAFP.js → chunk-PE67O2LH.js} +13 -13
- package/dist/{chunk-7O4FZAFP.js.map → chunk-PE67O2LH.js.map} +1 -1
- package/dist/{chunk-556RB3XI.js → chunk-TL37E5YY.js} +3 -3
- package/dist/chunk-TL37E5YY.js.map +1 -0
- package/dist/design-canvas-react/index.js +4 -4
- package/dist/design-canvas-react/index.js.map +1 -1
- package/dist/design-canvas-react/lazy.js +1 -1
- package/dist/sequences-react/index.js +2 -2
- package/dist/studio-react/index.js +11 -11
- package/dist/studio-react/index.js.map +1 -1
- package/dist/teams-react/index.js +1 -1
- package/dist/teams-react/lazy.js +1 -1
- package/dist/web-react/index.d.ts +1 -1
- package/dist/web-react/index.js +3 -3
- package/dist/work-product-react/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-556RB3XI.js.map +0 -1
- package/dist/chunk-5MZXWPFN.js.map +0 -1
- package/dist/chunk-5N434BGF.js.map +0 -1
- package/dist/chunk-LY4WNPG3.js.map +0 -1
- package/dist/chunk-MOAXN4QK.js.map +0 -1
- /package/dist/{DesignCanvas-EODMDQMT.js.map → DesignCanvas-P2ZVK6FM.js.map} +0 -0
- /package/dist/{DesignCanvasEditor-DRRZ6ZD3.js.map → DesignCanvasEditor-DGNCA54P.js.map} +0 -0
- /package/dist/{InvitationsPanel-BATXZHY4.js.map → InvitationsPanel-F56UOQXA.js.map} +0 -0
- /package/dist/{TimelineEditor-IIBVCAZV.js.map → TimelineEditor-OTNPJ3SN.js.map} +0 -0
- /package/dist/{chunk-UXRJAUJL.js.map → chunk-B62EZF52.js.map} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DesignCanvas
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-65OZT566.js";
|
|
4
4
|
import "./chunk-X5DQ5QOP.js";
|
|
5
5
|
import "./chunk-DRB77FYL.js";
|
|
6
6
|
import "./chunk-F7VH4G5C.js";
|
|
7
7
|
export {
|
|
8
8
|
DesignCanvas
|
|
9
9
|
};
|
|
10
|
-
//# sourceMappingURL=DesignCanvas-
|
|
10
|
+
//# sourceMappingURL=DesignCanvas-P2ZVK6FM.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DesignCanvasEditor
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-TL37E5YY.js";
|
|
4
|
+
import "./chunk-65OZT566.js";
|
|
5
5
|
import "./chunk-IN6LNZ7O.js";
|
|
6
6
|
import "./chunk-OYTMILRK.js";
|
|
7
7
|
import "./chunk-X5DQ5QOP.js";
|
|
@@ -10,4 +10,4 @@ import "./chunk-F7VH4G5C.js";
|
|
|
10
10
|
export {
|
|
11
11
|
DesignCanvasEditor
|
|
12
12
|
};
|
|
13
|
-
//# sourceMappingURL=DesignCanvasEditor-
|
|
13
|
+
//# sourceMappingURL=DesignCanvasEditor-DGNCA54P.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
InvitationsPanel
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IUSO2XRE.js";
|
|
4
4
|
import "./chunk-6XIAPIW6.js";
|
|
5
5
|
export {
|
|
6
6
|
InvitationsPanel
|
|
7
7
|
};
|
|
8
|
-
//# sourceMappingURL=InvitationsPanel-
|
|
8
|
+
//# sourceMappingURL=InvitationsPanel-F56UOQXA.js.map
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
SEQUENCE_MEDIA_DRAG_TYPE,
|
|
3
3
|
TimelineEditor,
|
|
4
4
|
TimelineEditor_default
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-PE67O2LH.js";
|
|
6
6
|
import "./chunk-BVKQKGRK.js";
|
|
7
7
|
export {
|
|
8
8
|
SEQUENCE_MEDIA_DRAG_TYPE,
|
|
9
9
|
TimelineEditor,
|
|
10
10
|
TimelineEditor_default as default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=TimelineEditor-
|
|
12
|
+
//# sourceMappingURL=TimelineEditor-OTNPJ3SN.js.map
|
|
@@ -170,14 +170,12 @@ interface PopoverSurfaceProps {
|
|
|
170
170
|
declare function PopoverSurface({ open, triggerRef, panelRef, className, role, id, matchTriggerWidth, children, }: PopoverSurfaceProps): react.ReactPortal | null;
|
|
171
171
|
/**
|
|
172
172
|
* The one overlay elevation for floating surfaces — picker menus, popovers,
|
|
173
|
-
* drawers, modals.
|
|
174
|
-
*
|
|
175
|
-
*
|
|
176
|
-
*
|
|
177
|
-
* the composer card).
|
|
178
|
-
* TODO(theme): swap to `shadow-overlay` once the preset ships it.
|
|
173
|
+
* drawers, modals. Reads the theme's `--shadow-overlay` token through the
|
|
174
|
+
* preset's `shadow-overlay` utility (dark doubles the alpha at the token), so
|
|
175
|
+
* every overlay lifts with the same shadow and re-themes from one source. The
|
|
176
|
+
* floating composer uses the quieter `shadow-raised` rung instead.
|
|
179
177
|
*/
|
|
180
|
-
declare const OVERLAY_SHADOW = "shadow-
|
|
178
|
+
declare const OVERLAY_SHADOW = "shadow-overlay";
|
|
181
179
|
/**
|
|
182
180
|
* Guard an async action against double-submit. `run` ignores re-entrant calls
|
|
183
181
|
* while a promise is in flight and flips `pending` so the caller can disable
|
|
@@ -299,6 +297,9 @@ interface EffortPickerProps {
|
|
|
299
297
|
/** Prefix shown before the active level on the pill — the "what is this"
|
|
300
298
|
* context the bare value lacked. Default "Thinking". Pass '' to hide it. */
|
|
301
299
|
label?: string;
|
|
300
|
+
/** Fill the container instead of shrink-wrapping — opt-in, default `false`;
|
|
301
|
+
* see {@link pickerRootClass} for when and why. */
|
|
302
|
+
fullWidth?: boolean;
|
|
302
303
|
}
|
|
303
304
|
/** Thinking-budget selector pill, styled to match {@link ModelPicker}. Show
|
|
304
305
|
* it only when the selected model `supportsReasoning`. "Thinking" is the
|
|
@@ -306,7 +307,7 @@ interface EffortPickerProps {
|
|
|
306
307
|
*
|
|
307
308
|
* The CANONICAL ecosystem effort picker — sandbox-ui's reasoning menu (inside
|
|
308
309
|
* its `chat/AgentSessionControls`) is legacy and frozen. */
|
|
309
|
-
declare function EffortPicker({ value, onChange, levels, label }: EffortPickerProps): react.JSX.Element;
|
|
310
|
+
declare function EffortPicker({ value, onChange, levels, label, fullWidth }: EffortPickerProps): react.JSX.Element;
|
|
310
311
|
|
|
311
312
|
interface AgentSessionControlsProps {
|
|
312
313
|
/** Catalog models — canonical provider-prefixed ids. */
|
|
@@ -350,6 +351,23 @@ interface AgentSessionControlsProps {
|
|
|
350
351
|
layout?: 'inline' | 'compact';
|
|
351
352
|
/** Hide the harness control entirely (single-harness products). */
|
|
352
353
|
showHarness?: boolean;
|
|
354
|
+
/**
|
|
355
|
+
* PIN the harness and say why, in the user's words ("This thread already has
|
|
356
|
+
* messages — start a new chat to switch backend"). Presence IS the lock:
|
|
357
|
+
* there is no separate boolean, because a lock a user cannot read is the
|
|
358
|
+
* thing this prop exists to replace.
|
|
359
|
+
*
|
|
360
|
+
* The control stays VISIBLE and reports the harness the thread is on — the
|
|
361
|
+
* shape a locked selector has to keep, since a thread whose backend is fixed
|
|
362
|
+
* is exactly when a user wants to know what it is. Hiding it (`showHarness:
|
|
363
|
+
* false`) is what pushed products into rendering their own lock label
|
|
364
|
+
* outside the panel.
|
|
365
|
+
*
|
|
366
|
+
* While locked, `onHarnessChange` is never called — not from the picker, and
|
|
367
|
+
* not from the model↔harness coherence policy either. See
|
|
368
|
+
* {@link useCoherentHandlers}.
|
|
369
|
+
*/
|
|
370
|
+
harnessLockReason?: string;
|
|
353
371
|
renderProviderBadge?: (provider: string) => ReactNode;
|
|
354
372
|
className?: string;
|
|
355
373
|
}
|
|
@@ -8,7 +8,7 @@ import '../plans/index.js';
|
|
|
8
8
|
import '../parts-BqIHMdyu.js';
|
|
9
9
|
import '../types-CCeYywdS.js';
|
|
10
10
|
import '../wire-DOZ-O6hD.js';
|
|
11
|
-
import '../agent-session-controls-
|
|
11
|
+
import '../agent-session-controls-C54M2RsX.js';
|
|
12
12
|
import '../harness/index.js';
|
|
13
13
|
import '../catalog/index.js';
|
|
14
14
|
import '../agent-activity-C8ZG0F0M.js';
|
package/dist/assistant/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ChatComposer,
|
|
3
3
|
ChatMessages
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-G7BVJ3IH.js";
|
|
5
5
|
import "../chunk-FBVLEGEG.js";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-54FYYXAX.js";
|
|
7
7
|
import "../chunk-GEYACSFW.js";
|
|
8
8
|
import {
|
|
9
9
|
ModelPicker,
|
|
10
10
|
OVERLAY_SHADOW,
|
|
11
11
|
ProviderLogo
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-GNPN6ED4.js";
|
|
13
13
|
import "../chunk-BATKJP3P.js";
|
|
14
14
|
import {
|
|
15
15
|
AsyncView
|
|
@@ -1761,7 +1761,7 @@ function AssistantHistory({
|
|
|
1761
1761
|
onChange: (e) => setQuery(e.target.value),
|
|
1762
1762
|
placeholder: "Search conversations",
|
|
1763
1763
|
"aria-label": "Search conversations",
|
|
1764
|
-
className: "w-full rounded-md border border-
|
|
1764
|
+
className: "w-full rounded-md border border-strong bg-surface-container-high py-1.5 pr-2 pl-8 text-foreground text-sm placeholder:text-muted-foreground"
|
|
1765
1765
|
}
|
|
1766
1766
|
)
|
|
1767
1767
|
] }) }),
|
|
@@ -1782,7 +1782,7 @@ function AssistantHistory({
|
|
|
1782
1782
|
return /* @__PURE__ */ jsxs(
|
|
1783
1783
|
"li",
|
|
1784
1784
|
{
|
|
1785
|
-
className: `group flex items-center transition-colors hover:bg-accent ${active ? "bg-primary/10" : ""}`,
|
|
1785
|
+
className: `group flex items-center transition-colors hover:bg-accent ${active ? "bg-primary/10 shadow-[inset_2px_0_0_hsl(var(--primary))]" : ""}`,
|
|
1786
1786
|
children: [
|
|
1787
1787
|
/* @__PURE__ */ jsxs(
|
|
1788
1788
|
"button",
|
|
@@ -2505,7 +2505,7 @@ function AssistantPanel({
|
|
|
2505
2505
|
chatRef.current.reset();
|
|
2506
2506
|
}
|
|
2507
2507
|
};
|
|
2508
|
-
return /* @__PURE__ */ jsxs4("div", { className: "relative flex h-full flex-col bg-
|
|
2508
|
+
return /* @__PURE__ */ jsxs4("div", { className: "relative flex h-full flex-col bg-card", children: [
|
|
2509
2509
|
/* @__PURE__ */ jsx5("div", { className: "border-border border-b", children: /* @__PURE__ */ jsxs4("div", { className: "flex items-center justify-between gap-2 px-4 pt-3 pb-2.5", children: [
|
|
2510
2510
|
/* @__PURE__ */ jsxs4("div", { className: "flex min-w-0 flex-col", children: [
|
|
2511
2511
|
/* @__PURE__ */ jsxs4("div", { className: "flex items-baseline gap-2", children: [
|
|
@@ -2934,7 +2934,7 @@ function AssistantDock({
|
|
|
2934
2934
|
type: "button",
|
|
2935
2935
|
onClick: openDialog,
|
|
2936
2936
|
"aria-label": "Open assistant",
|
|
2937
|
-
className: "fixed right-4 bottom-4 z-40 flex h-12 w-12 items-center justify-center rounded-full bg-primary text-primary-foreground shadow-
|
|
2937
|
+
className: "fixed right-4 bottom-4 z-40 flex h-12 w-12 items-center justify-center rounded-full bg-primary text-primary-foreground shadow-raised transition-colors hover:opacity-90 focus:outline-none focus:ring-2 focus:ring-ring",
|
|
2938
2938
|
children: /* @__PURE__ */ jsx8(MessageSquare, { className: "h-6 w-6" })
|
|
2939
2939
|
}
|
|
2940
2940
|
);
|
|
@@ -2982,7 +2982,7 @@ function AssistantDock({
|
|
|
2982
2982
|
tabIndex: -1,
|
|
2983
2983
|
onKeyDown: trapTab,
|
|
2984
2984
|
style: isDesktop ? { width: `${width}px` } : void 0,
|
|
2985
|
-
className: `fixed inset-y-0 right-0 z-50 flex w-full flex-col border-
|
|
2985
|
+
className: `fixed inset-y-0 right-0 z-50 flex w-full flex-col border-card-edge border-l ${OVERLAY_SHADOW} focus:outline-none`,
|
|
2986
2986
|
children: [
|
|
2987
2987
|
/* @__PURE__ */ jsx8(
|
|
2988
2988
|
AssistantPanel,
|