@tangle-network/agent-app 0.60.6 → 0.60.8

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.
Files changed (54) hide show
  1. package/dist/{DesignCanvas-OWE67ZX3.js → DesignCanvas-TW45DTK7.js} +3 -2
  2. package/dist/{DesignCanvasEditor-4FPLJ3YJ.js → DesignCanvasEditor-3DL3PF6P.js} +3 -2
  3. package/dist/agent-surfaces/cli.d.ts +2 -0
  4. package/dist/agent-surfaces/cli.js +49 -0
  5. package/dist/agent-surfaces/cli.js.map +1 -0
  6. package/dist/agent-surfaces/generate.d.ts +1 -0
  7. package/dist/agent-surfaces/index.d.ts +139 -0
  8. package/dist/agent-surfaces/index.js +27 -0
  9. package/dist/agent-surfaces/index.js.map +1 -0
  10. package/dist/app-auth/index.js +2 -1
  11. package/dist/app-auth/index.js.map +1 -1
  12. package/dist/assistant/index.js +4 -4
  13. package/dist/chat-routes/index.js +2 -1
  14. package/dist/chat-routes/index.js.map +1 -1
  15. package/dist/{chunk-DWUSVC3U.js → chunk-AKC5ZC4R.js} +3 -3
  16. package/dist/chunk-C5RHSYUA.js +376 -0
  17. package/dist/chunk-C5RHSYUA.js.map +1 -0
  18. package/dist/chunk-MLDKEEFQ.js +48 -0
  19. package/dist/chunk-MLDKEEFQ.js.map +1 -0
  20. package/dist/{chunk-GJRGCVDV.js → chunk-MUZQUS6X.js} +236 -187
  21. package/dist/chunk-MUZQUS6X.js.map +1 -0
  22. package/dist/chunk-RN4WPTBH.js +62 -0
  23. package/dist/chunk-RN4WPTBH.js.map +1 -0
  24. package/dist/{chunk-YNSPVKMS.js → chunk-UTAIRVOK.js} +1 -60
  25. package/dist/chunk-UTAIRVOK.js.map +1 -0
  26. package/dist/design-canvas/index.js +2 -1
  27. package/dist/design-canvas/index.js.map +1 -1
  28. package/dist/design-canvas-react/engine.js +2 -1
  29. package/dist/design-canvas-react/index.js +6 -5
  30. package/dist/design-canvas-react/index.js.map +1 -1
  31. package/dist/design-canvas-react/lazy.js +1 -1
  32. package/dist/operator/client.d.ts +76 -0
  33. package/dist/operator/contract.d.ts +255 -0
  34. package/dist/operator/index.d.ts +8 -0
  35. package/dist/operator/index.js +533 -0
  36. package/dist/operator/index.js.map +1 -0
  37. package/dist/operator/server.d.ts +101 -0
  38. package/dist/platform/index.js +5 -45
  39. package/dist/platform/index.js.map +1 -1
  40. package/dist/public-consultation/index.d.ts +1 -1
  41. package/dist/public-consultation/index.js +2 -1
  42. package/dist/public-consultation/index.js.map +1 -1
  43. package/dist/sequences/index.js +2 -1
  44. package/dist/sequences/index.js.map +1 -1
  45. package/dist/web/index.js +4 -2
  46. package/dist/web-react/agent-setup-block.d.ts +16 -0
  47. package/dist/web-react/index.d.ts +1 -0
  48. package/dist/web-react/index.js +12 -10
  49. package/package.json +12 -1
  50. package/dist/chunk-GJRGCVDV.js.map +0 -1
  51. package/dist/chunk-YNSPVKMS.js.map +0 -1
  52. /package/dist/{DesignCanvas-OWE67ZX3.js.map → DesignCanvas-TW45DTK7.js.map} +0 -0
  53. /package/dist/{DesignCanvasEditor-4FPLJ3YJ.js.map → DesignCanvasEditor-3DL3PF6P.js.map} +0 -0
  54. /package/dist/{chunk-DWUSVC3U.js.map → chunk-AKC5ZC4R.js.map} +0 -0
package/dist/web/index.js CHANGED
@@ -1,10 +1,12 @@
1
1
  import {
2
2
  acquisitionFromRequest,
3
- createApiKeyFetch,
4
3
  firstTouchAcquisitionCookie,
5
4
  groupConversationMessages,
6
5
  readFirstTouchAcquisition
7
- } from "../chunk-YNSPVKMS.js";
6
+ } from "../chunk-UTAIRVOK.js";
7
+ import {
8
+ createApiKeyFetch
9
+ } from "../chunk-RN4WPTBH.js";
8
10
  import {
9
11
  FREE_ROUTE_BUDGETS,
10
12
  FreeRouteLimitError,
@@ -0,0 +1,16 @@
1
+ export interface AgentSetupBlockProps {
2
+ productName: string;
3
+ /** Absolute URL of the product's `/agent-setup.md`. */
4
+ setupUrl: string;
5
+ /** The setup skill text. When given, the button copies it verbatim. */
6
+ markdown?: string;
7
+ className?: string;
8
+ }
9
+ /**
10
+ * The "Hand this to your agent" block for a product's docs page.
11
+ *
12
+ * It copies the product's agent setup skill (from `agentSurfaceFiles`), or a
13
+ * one-line instruction to fetch it when the text is not supplied. The skill is
14
+ * the same file served at `/agent-setup.md`, so the page cannot drift from it.
15
+ */
16
+ export declare function AgentSetupBlock({ productName, setupUrl, markdown, className }: AgentSetupBlockProps): import("react").JSX.Element;
@@ -302,6 +302,7 @@ export declare function useThinkingSeconds(active: boolean): number;
302
302
  */
303
303
  export declare function ChatMessages({ messages, messageSize, chrome, models, renderMarkdown, renderExtras, durableCards, userLabel, agentLabel, loading, approval, onToolCallClick, toolRenderers, error, onRetry, renderEmpty, emptyState, header, resolveAttachmentUrl, workProductCards, viewerId, }: ChatMessagesProps): import("react").JSX.Element;
304
304
  export * from './api-access-panel';
305
+ export * from './agent-setup-block';
305
306
  export * from './agent-settings-popover';
306
307
  export * from './workspace-switcher';
307
308
  export * from './agent-profile-choices';
@@ -5,6 +5,7 @@ import {
5
5
  AgentProfileEditor,
6
6
  AgentProfileRegistryError,
7
7
  AgentProfileViewer,
8
+ AgentSetupBlock,
8
9
  ApiAccessPanel,
9
10
  ChatEmptyState,
10
11
  ChatMessages,
@@ -135,7 +136,7 @@ import {
135
136
  withoutRecordGridCreated,
136
137
  withoutRecordGridRemoved,
137
138
  withoutRecordGridUpdate
138
- } from "../chunk-GJRGCVDV.js";
139
+ } from "../chunk-MUZQUS6X.js";
139
140
  import {
140
141
  SessionHistoryPanel,
141
142
  formatSessionTimestamp,
@@ -147,6 +148,15 @@ import {
147
148
  MENTION_PILL_CLASS
148
149
  } from "../chunk-3HUFJ5LO.js";
149
150
  import "../chunk-FBVLEGEG.js";
151
+ import {
152
+ WorkspaceInitial,
153
+ WorkspaceSwitcher
154
+ } from "../chunk-KHCJKVQN.js";
155
+ import "../chunk-XEURJVS5.js";
156
+ import {
157
+ tabTerminalConnectionId,
158
+ useSandboxTerminalConnection
159
+ } from "../chunk-E4AY62T2.js";
150
160
  import {
151
161
  EvidenceLineageTable,
152
162
  ExceptionList,
@@ -183,11 +193,6 @@ import {
183
193
  useDictation
184
194
  } from "../chunk-DECJLOS4.js";
185
195
  import "../chunk-L7MB2LLM.js";
186
- import {
187
- WorkspaceInitial,
188
- WorkspaceSwitcher
189
- } from "../chunk-KHCJKVQN.js";
190
- import "../chunk-XEURJVS5.js";
191
196
  import "../chunk-NJDQ2JCP.js";
192
197
  import {
193
198
  DEFAULT_EFFORT_LEVELS,
@@ -207,10 +212,6 @@ import {
207
212
  usePopover
208
213
  } from "../chunk-HG4OONJA.js";
209
214
  import "../chunk-SJWIZT7B.js";
210
- import {
211
- tabTerminalConnectionId,
212
- useSandboxTerminalConnection
213
- } from "../chunk-E4AY62T2.js";
214
215
  import "../chunk-LSUELMHY.js";
215
216
  import "../chunk-FQYAJYPW.js";
216
217
  import {
@@ -284,6 +285,7 @@ export {
284
285
  AgentProfileViewer,
285
286
  AgentSessionControls,
286
287
  AgentSettingsPopover,
288
+ AgentSetupBlock,
287
289
  ApiAccessPanel,
288
290
  ChatComposer,
289
291
  ChatEmptyState,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/agent-app",
3
- "version": "0.60.6",
3
+ "version": "0.60.8",
4
4
  "packageManager": "pnpm@11.24.0",
5
5
  "description": "Build agent applications with typed chat, tools, sandboxes, integrations, billing, and evaluation.",
6
6
  "keywords": [
@@ -40,6 +40,7 @@
40
40
  "agent-app-peer-check": "./dist/peer-floors/cli.js",
41
41
  "agent-app-spend-check": "./dist/spend/cli.js",
42
42
  "agent-app-signoff": "./dist/signoff/cli.js",
43
+ "agent-app-agent-surfaces": "./dist/agent-surfaces/cli.js",
43
44
  "agent-app-verify-proof": "./dist/signoff/proof-cli.js",
44
45
  "tangle-agent": "bin/tangle-agent.mjs"
45
46
  },
@@ -65,6 +66,11 @@
65
66
  "import": "./dist/platform/index.js",
66
67
  "default": "./dist/platform/index.js"
67
68
  },
69
+ "./operator": {
70
+ "types": "./dist/operator/index.d.ts",
71
+ "import": "./dist/operator/index.js",
72
+ "default": "./dist/operator/index.js"
73
+ },
68
74
  "./app-auth": {
69
75
  "types": "./dist/app-auth/index.d.ts",
70
76
  "import": "./dist/app-auth/index.js",
@@ -304,6 +310,11 @@
304
310
  "import": "./dist/session-shell/index.js",
305
311
  "default": "./dist/session-shell/index.js"
306
312
  },
313
+ "./agent-surfaces": {
314
+ "types": "./dist/agent-surfaces/index.d.ts",
315
+ "import": "./dist/agent-surfaces/index.js",
316
+ "default": "./dist/agent-surfaces/index.js"
317
+ },
307
318
  "./web": {
308
319
  "types": "./dist/web/index.d.ts",
309
320
  "import": "./dist/web/index.js",