@tangle-network/agent-app 0.63.15 → 0.63.17

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 (59) hide show
  1. package/bin/tangle-agent.mjs +0 -0
  2. package/dist/assets/schema.d.ts +1 -1
  3. package/dist/assistant/index.js +10 -10
  4. package/dist/chat-react/index.js +4 -4
  5. package/dist/chat-routes/default-backend.d.ts +1 -1
  6. package/dist/chat-routes/index.js +5 -5
  7. package/dist/chat-routes/router-producer.d.ts +1 -1
  8. package/dist/chat-routes/turn-route-contracts.d.ts +2 -3
  9. package/dist/chat-store/index.js +1 -1
  10. package/dist/{chunk-6ZVSMA4T.js → chunk-2VG6Q4TS.js} +3 -3
  11. package/dist/{chunk-BV3VZEKB.js → chunk-4GINUJPF.js} +2 -2
  12. package/dist/{chunk-L6BS2XTE.js → chunk-56OUN2WP.js} +5 -5
  13. package/dist/chunk-56OUN2WP.js.map +1 -0
  14. package/dist/{chunk-UKVLJBP4.js → chunk-6GX3UHQW.js} +10 -10
  15. package/dist/chunk-6GX3UHQW.js.map +1 -0
  16. package/dist/{chunk-RZLCBWGG.js → chunk-6RGNXPXW.js} +1 -1
  17. package/dist/chunk-6RGNXPXW.js.map +1 -0
  18. package/dist/{chunk-ZXZU32Q4.js → chunk-A3BJDXPX.js} +14 -1
  19. package/dist/chunk-A3BJDXPX.js.map +1 -0
  20. package/dist/{chunk-FTNGGR37.js → chunk-JNEWZCRF.js} +3 -8
  21. package/dist/chunk-JNEWZCRF.js.map +1 -0
  22. package/dist/{chunk-FZ3ZFVAC.js → chunk-KHJE7JAG.js} +3 -3
  23. package/dist/{chunk-X6SZGQTK.js → chunk-QAHBSKWG.js} +2 -2
  24. package/dist/{chunk-N6URQ6DM.js → chunk-QJ5DSIHV.js} +2 -2
  25. package/dist/{chunk-52SDU43B.js → chunk-RO25WIVS.js} +1 -1
  26. package/dist/chunk-RO25WIVS.js.map +1 -0
  27. package/dist/{chunk-2VJLLRVV.js → chunk-TEZETVLE.js} +2 -2
  28. package/dist/{chunk-JBXNU5WD.js → chunk-ZA56ZOIT.js} +3 -3
  29. package/dist/{chunk-JBXNU5WD.js.map → chunk-ZA56ZOIT.js.map} +1 -1
  30. package/dist/{chunk-V6YGLAQC.js → chunk-ZLP75JF5.js} +4 -4
  31. package/dist/hub-approvals/index.js +1 -1
  32. package/dist/hub-approvals-react/index.js +2 -2
  33. package/dist/{mention-editor-4BKBMWIK.js → mention-editor-NTEV2G63.js} +2 -2
  34. package/dist/preset-cloudflare/index.js +3 -3
  35. package/dist/public-consultation/index.d.ts +1 -1
  36. package/dist/public-consultation/index.js +4 -4
  37. package/dist/sandbox/index.d.ts +1 -1
  38. package/dist/sandbox/index.js +3 -1
  39. package/dist/sandbox/prompt-options.d.ts +5 -0
  40. package/dist/settings-react/index.js +1 -1
  41. package/dist/studio-react/index.js +1 -1
  42. package/dist/web-react/agent-profile-editor.js +4 -4
  43. package/dist/web-react/index.js +10 -10
  44. package/dist/workspace-react/index.js +3 -3
  45. package/package.json +12 -12
  46. package/dist/chunk-52SDU43B.js.map +0 -1
  47. package/dist/chunk-FTNGGR37.js.map +0 -1
  48. package/dist/chunk-L6BS2XTE.js.map +0 -1
  49. package/dist/chunk-RZLCBWGG.js.map +0 -1
  50. package/dist/chunk-UKVLJBP4.js.map +0 -1
  51. package/dist/chunk-ZXZU32Q4.js.map +0 -1
  52. /package/dist/{chunk-6ZVSMA4T.js.map → chunk-2VG6Q4TS.js.map} +0 -0
  53. /package/dist/{chunk-BV3VZEKB.js.map → chunk-4GINUJPF.js.map} +0 -0
  54. /package/dist/{chunk-FZ3ZFVAC.js.map → chunk-KHJE7JAG.js.map} +0 -0
  55. /package/dist/{chunk-X6SZGQTK.js.map → chunk-QAHBSKWG.js.map} +0 -0
  56. /package/dist/{chunk-N6URQ6DM.js.map → chunk-QJ5DSIHV.js.map} +0 -0
  57. /package/dist/{chunk-2VJLLRVV.js.map → chunk-TEZETVLE.js.map} +0 -0
  58. /package/dist/{chunk-V6YGLAQC.js.map → chunk-ZLP75JF5.js.map} +0 -0
  59. /package/dist/{mention-editor-4BKBMWIK.js.map → mention-editor-NTEV2G63.js.map} +0 -0
File without changes
@@ -248,7 +248,7 @@ export declare const assetCreateJsonSchema: {
248
248
  readonly $vocabulary?: Record<string, boolean>;
249
249
  readonly $comment?: string;
250
250
  readonly $defs?: Record<string, z.core.JSONSchema.JSONSchema>;
251
- readonly type?: "object" | "array" | "string" | "number" | "boolean" | "null" | "integer";
251
+ readonly type?: z.core.JSONSchema.SchemaType | z.core.JSONSchema.SchemaType[];
252
252
  readonly additionalItems?: z.core.JSONSchema._JSONSchema;
253
253
  readonly unevaluatedItems?: z.core.JSONSchema._JSONSchema;
254
254
  readonly prefixItems?: z.core.JSONSchema._JSONSchema[];
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ReasoningRow,
3
3
  chatToolCallPart
4
- } from "../chunk-L6BS2XTE.js";
4
+ } from "../chunk-56OUN2WP.js";
5
5
  import "../chunk-3HUFJ5LO.js";
6
6
  import "../chunk-UHSUY6H6.js";
7
7
  import "../chunk-7PULOECS.js";
@@ -9,22 +9,22 @@ import "../chunk-ZOS3D26Z.js";
9
9
  import "../chunk-Y6PRDUFJ.js";
10
10
  import {
11
11
  ChatComposer
12
- } from "../chunk-V6YGLAQC.js";
12
+ } from "../chunk-ZLP75JF5.js";
13
13
  import "../chunk-L7MB2LLM.js";
14
- import "../chunk-6ZVSMA4T.js";
14
+ import "../chunk-2VG6Q4TS.js";
15
15
  import "../chunk-2HQP2CTA.js";
16
16
  import "../chunk-E4AY62T2.js";
17
17
  import "../chunk-SJWIZT7B.js";
18
- import "../chunk-FTNGGR37.js";
19
- import "../chunk-FZ3ZFVAC.js";
20
- import "../chunk-X6SZGQTK.js";
18
+ import "../chunk-JNEWZCRF.js";
19
+ import "../chunk-KHJE7JAG.js";
20
+ import "../chunk-QAHBSKWG.js";
21
21
  import {
22
22
  ModelPicker
23
- } from "../chunk-52SDU43B.js";
23
+ } from "../chunk-RO25WIVS.js";
24
24
  import "../chunk-ZAMHLXNS.js";
25
25
  import "../chunk-GEYACSFW.js";
26
- import "../chunk-2VJLLRVV.js";
27
- import "../chunk-JBXNU5WD.js";
26
+ import "../chunk-TEZETVLE.js";
27
+ import "../chunk-ZA56ZOIT.js";
28
28
  import "../chunk-RASGKEAL.js";
29
29
  import {
30
30
  AsyncView
@@ -32,7 +32,7 @@ import {
32
32
  import "../chunk-FQYAJYPW.js";
33
33
  import "../chunk-NHVSO47Q.js";
34
34
  import "../chunk-B7CL7ENS.js";
35
- import "../chunk-RZLCBWGG.js";
35
+ import "../chunk-6RGNXPXW.js";
36
36
  import "../chunk-ZVEEWGDK.js";
37
37
  import "../chunk-5TSRFF5W.js";
38
38
  import "../chunk-VUBJZEZB.js";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  ComposerModeControls,
3
3
  EntryComposer
4
- } from "../chunk-V6YGLAQC.js";
4
+ } from "../chunk-ZLP75JF5.js";
5
5
  import "../chunk-L7MB2LLM.js";
6
6
  import "../chunk-2HQP2CTA.js";
7
7
  import "../chunk-SJWIZT7B.js";
8
- import "../chunk-FZ3ZFVAC.js";
9
- import "../chunk-X6SZGQTK.js";
10
- import "../chunk-52SDU43B.js";
8
+ import "../chunk-KHJE7JAG.js";
9
+ import "../chunk-QAHBSKWG.js";
10
+ import "../chunk-RO25WIVS.js";
11
11
  import "../chunk-ZAMHLXNS.js";
12
12
  import "../chunk-RASGKEAL.js";
13
13
  import "../chunk-NHVSO47Q.js";
@@ -1,6 +1,6 @@
1
1
  import type { Harness } from '../harness/index';
2
2
  import type { SandboxRuntimeConfig } from '../sandbox/configuration';
3
- import type { StreamSandboxPromptOptions } from '../sandbox/prompt-options';
3
+ import { type StreamSandboxPromptOptions } from '../sandbox/prompt-options';
4
4
  import type { ChatTurnStoreBindings } from './route-storage';
5
5
  import { type ModelPolicy } from '../policy-filters/index';
6
6
  import type { ChatTurnProduceArgs, ChatTurnHybridConfiguration } from './turn-route-contracts';
@@ -40,7 +40,7 @@ import {
40
40
  observeNativeCompletion,
41
41
  readCompletedSandboxTurn,
42
42
  recoverSandboxAssistantMessage
43
- } from "../chunk-BV3VZEKB.js";
43
+ } from "../chunk-4GINUJPF.js";
44
44
  import {
45
45
  runProtectedRouterTurn
46
46
  } from "../chunk-NUWSPR5O.js";
@@ -79,7 +79,7 @@ import {
79
79
  turnCarriesFiles,
80
80
  turnPromptText,
81
81
  withProducerStream
82
- } from "../chunk-UKVLJBP4.js";
82
+ } from "../chunk-6GX3UHQW.js";
83
83
  import "../chunk-KH4QSBNI.js";
84
84
  import {
85
85
  sniffMimeFromName
@@ -88,7 +88,7 @@ import "../chunk-RN4WPTBH.js";
88
88
  import "../chunk-WP2GYFZ4.js";
89
89
  import "../chunk-4DBHC63F.js";
90
90
  import "../chunk-MM6RLOXF.js";
91
- import "../chunk-ZXZU32Q4.js";
91
+ import "../chunk-A3BJDXPX.js";
92
92
  import "../chunk-F4TUZYMX.js";
93
93
  import {
94
94
  redactErrorMessage
@@ -99,14 +99,14 @@ import {
99
99
  isDraftContentEvent,
100
100
  rowIdOf,
101
101
  storeSupportsDraftPersistence
102
- } from "../chunk-N6URQ6DM.js";
102
+ } from "../chunk-QJ5DSIHV.js";
103
103
  import "../chunk-Z4RD5UF7.js";
104
104
  import "../chunk-YG66IHDU.js";
105
105
  import {
106
106
  attachmentInputToPart,
107
107
  attachmentKindForMime,
108
108
  toChatMessageParts
109
- } from "../chunk-RZLCBWGG.js";
109
+ } from "../chunk-6RGNXPXW.js";
110
110
  import "../chunk-ZVEEWGDK.js";
111
111
  import {
112
112
  ChatTurnInputError,
@@ -26,7 +26,7 @@ export type RouterTurnProducerOptions = Omit<RouterTurnOptions, 'onEvent' | 'sys
26
26
  systemPrompt: RouterTurnPrompt | Promise<RouterTurnPrompt>;
27
27
  /** Final admission: model text may start earlier, but every tool waits for this request's committed domain state. */
28
28
  admitted?: Promise<unknown>;
29
- /** Observe the finished turn or supply domain-authored final text/failure; projection and persistence stay shared. */
29
+ /** Observe the finished turn or supply domain-authored final text/failure. An unfinished checkpoint is a turn_deadline failure here; durable continuation belongs to runRouterTurn callers. */
30
30
  onOutcome?: (outcome: RouterTurnOutcome) => void | {
31
31
  trailingText?: string;
32
32
  failure?: RouterTurnFailure;
@@ -1,4 +1,5 @@
1
1
  /** Public contracts for admission, execution, persistence and chat-route hooks. */
2
+ import type { SandboxPromptExecutionLimits } from '../sandbox/prompt-options';
2
3
  import type { ChatTurnStoreBindings } from './route-storage';
3
4
  import type { NativeCompletionHandoffOptions, NativeTurnTimingFacts } from './native-turn-timing';
4
5
  import type { ChatMessageValues } from '../chat-store/core';
@@ -217,10 +218,8 @@ export type ChatTurnAfterAuthorizeRelease<TResource = unknown> = (() => void | P
217
218
  dispose(resource: TResource): void | Promise<void>;
218
219
  };
219
220
  /** Trusted per-turn limits supplied by a server adapter, never by the body. */
220
- export interface ChatTurnExecutionLimits {
221
+ export interface ChatTurnExecutionLimits extends SandboxPromptExecutionLimits {
221
222
  maxInputTokens?: number;
222
- maxOutputTokens?: number;
223
- maxReasoningTokens?: number;
224
223
  maxToolTokens?: number;
225
224
  maxToolCalls?: number;
226
225
  maxProviderCostUsd?: number;
@@ -15,7 +15,7 @@ import {
15
15
  mentionInputToPart,
16
16
  mentionPartsFromMessageParts,
17
17
  toChatMessageParts
18
- } from "../chunk-RZLCBWGG.js";
18
+ } from "../chunk-6RGNXPXW.js";
19
19
  import "../chunk-ZVEEWGDK.js";
20
20
  import "../chunk-5TSRFF5W.js";
21
21
  import {
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  usePopoverDialog
3
- } from "./chunk-X6SZGQTK.js";
3
+ } from "./chunk-QAHBSKWG.js";
4
4
  import {
5
5
  CheckGlyph,
6
6
  OVERLAY_SHADOW,
7
7
  PopoverSurface
8
- } from "./chunk-52SDU43B.js";
8
+ } from "./chunk-RO25WIVS.js";
9
9
 
10
10
  // src/web-react/workspace-switcher.tsx
11
11
  import { useCallback, useState } from "react";
@@ -156,4 +156,4 @@ export {
156
156
  WorkspaceSwitcher,
157
157
  WorkspaceInitial
158
158
  };
159
- //# sourceMappingURL=chunk-6ZVSMA4T.js.map
159
+ //# sourceMappingURL=chunk-2VG6Q4TS.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  addStepFinishUsage
3
- } from "./chunk-N6URQ6DM.js";
3
+ } from "./chunk-QJ5DSIHV.js";
4
4
  import {
5
5
  asRecord,
6
6
  asString,
@@ -480,4 +480,4 @@ export {
480
480
  TOOL_ABORTED_ERROR,
481
481
  observeNativeCompletion
482
482
  };
483
- //# sourceMappingURL=chunk-BV3VZEKB.js.map
483
+ //# sourceMappingURL=chunk-4GINUJPF.js.map
@@ -25,7 +25,7 @@ import {
25
25
  import {
26
26
  ActionDialog,
27
27
  ActionDialogButton
28
- } from "./chunk-6ZVSMA4T.js";
28
+ } from "./chunk-2VG6Q4TS.js";
29
29
  import {
30
30
  UNTITLED_SESSION_LABEL,
31
31
  filterCommandPaletteItems,
@@ -43,16 +43,16 @@ import {
43
43
  useBrowserLayoutEffect,
44
44
  usePending,
45
45
  usePopover
46
- } from "./chunk-52SDU43B.js";
46
+ } from "./chunk-RO25WIVS.js";
47
47
  import {
48
48
  ReviewFeedbackForm
49
- } from "./chunk-2VJLLRVV.js";
49
+ } from "./chunk-TEZETVLE.js";
50
50
  import {
51
51
  AsyncView
52
52
  } from "./chunk-AVP5SNIG.js";
53
53
  import {
54
54
  attachmentPartsFromMessageParts
55
- } from "./chunk-RZLCBWGG.js";
55
+ } from "./chunk-6RGNXPXW.js";
56
56
  import {
57
57
  TURN_INTENT_EVENT,
58
58
  TURN_PHASE_EVENT,
@@ -8414,4 +8414,4 @@ export {
8414
8414
  AgentProfileChoices,
8415
8415
  ComposerProfilePill
8416
8416
  };
8417
- //# sourceMappingURL=chunk-L6BS2XTE.js.map
8417
+ //# sourceMappingURL=chunk-56OUN2WP.js.map