@tangle-network/agent-app 0.53.17 → 0.54.1

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 (86) hide show
  1. package/dist/app-auth/index.js +2 -2
  2. package/dist/assistant/index.js +10 -10
  3. package/dist/chat-react/index.js +3 -3
  4. package/dist/chat-routes/index.js +22 -11
  5. package/dist/chat-routes/index.js.map +1 -1
  6. package/dist/chat-routes/sandbox-producer.d.ts +7 -0
  7. package/dist/chat-routes/wire.d.ts +1 -1
  8. package/dist/chat-store/index.js +4 -4
  9. package/dist/{chunk-UII6SBT4.js → chunk-4XBRPVL3.js} +4 -4
  10. package/dist/{chunk-TSZIYQAZ.js → chunk-6VRVRWYN.js} +2 -2
  11. package/dist/{chunk-CP36C5LZ.js → chunk-D6UJEOZQ.js} +1 -1
  12. package/dist/chunk-D6UJEOZQ.js.map +1 -0
  13. package/dist/{chunk-W3RSC6XB.js → chunk-DVOJNI6T.js} +3 -3
  14. package/dist/{chunk-M3K2HVQD.js → chunk-FCON65I2.js} +1 -1
  15. package/dist/{chunk-M3K2HVQD.js.map → chunk-FCON65I2.js.map} +1 -1
  16. package/dist/{chunk-UJHENCPR.js → chunk-GYDFGEJ2.js} +1 -1
  17. package/dist/chunk-GYDFGEJ2.js.map +1 -0
  18. package/dist/{chunk-YB6BZKXY.js → chunk-IJDPERPL.js} +31 -5
  19. package/dist/chunk-IJDPERPL.js.map +1 -0
  20. package/dist/{chunk-2S7QRQUS.js → chunk-NJA6X7JI.js} +2 -2
  21. package/dist/{chunk-JZ64GXYP.js → chunk-OMHGFN5I.js} +2 -2
  22. package/dist/{chunk-4KFM7VTH.js → chunk-OXDA7G4E.js} +9 -8
  23. package/dist/chunk-OXDA7G4E.js.map +1 -0
  24. package/dist/{chunk-ZMMIQOFI.js → chunk-UII4YDYS.js} +2 -2
  25. package/dist/{chunk-L57CYCXN.js → chunk-WN3UK23P.js} +2 -2
  26. package/dist/design-canvas-react/index.js +4 -4
  27. package/dist/interactions/contract.d.ts +4 -3
  28. package/dist/interactions/index.js +2 -2
  29. package/dist/platform/index.js +2 -2
  30. package/dist/public-consultation/index.js +6 -6
  31. package/dist/runtime/index.js +1 -1
  32. package/dist/runtime/model.d.ts +1 -1
  33. package/dist/sandbox/index.d.ts +0 -4
  34. package/dist/sandbox/index.js +2 -2
  35. package/dist/sandbox/model.d.ts +9 -12
  36. package/dist/stream/index.js +2 -2
  37. package/dist/teams-react/index.d.ts +1 -2
  38. package/dist/teams-react/index.js +618 -10
  39. package/dist/teams-react/index.js.map +1 -1
  40. package/dist/web-react/chat-stream.d.ts +1 -1
  41. package/dist/web-react/index.d.ts +10 -0
  42. package/dist/web-react/index.js +13 -13
  43. package/dist/workspace-react/index.js +51 -5
  44. package/dist/workspace-react/index.js.map +1 -1
  45. package/package.json +3 -33
  46. package/dist/InvitationsPanel-OFCYVSAE.js +0 -9
  47. package/dist/InvitationsPanel-OFCYVSAE.js.map +0 -1
  48. package/dist/InviteAcceptPage-BDOO4JSE.js +0 -7
  49. package/dist/InviteAcceptPage-BDOO4JSE.js.map +0 -1
  50. package/dist/MembersPanel-3ZK2GCMC.js +0 -9
  51. package/dist/MembersPanel-3ZK2GCMC.js.map +0 -1
  52. package/dist/chunk-4KFM7VTH.js.map +0 -1
  53. package/dist/chunk-5MI2SKQH.js +0 -211
  54. package/dist/chunk-5MI2SKQH.js.map +0 -1
  55. package/dist/chunk-AULM4X7U.js +0 -77
  56. package/dist/chunk-AULM4X7U.js.map +0 -1
  57. package/dist/chunk-CP36C5LZ.js.map +0 -1
  58. package/dist/chunk-GRDLGQ6A.js +0 -164
  59. package/dist/chunk-GRDLGQ6A.js.map +0 -1
  60. package/dist/chunk-UJHENCPR.js.map +0 -1
  61. package/dist/chunk-W7P5KV6O.js +0 -192
  62. package/dist/chunk-W7P5KV6O.js.map +0 -1
  63. package/dist/chunk-YB6BZKXY.js.map +0 -1
  64. package/dist/run/index.d.ts +0 -63
  65. package/dist/run/index.js +0 -30
  66. package/dist/run/index.js.map +0 -1
  67. package/dist/tangle/index.d.ts +0 -94
  68. package/dist/tangle/index.js +0 -33
  69. package/dist/tangle/index.js.map +0 -1
  70. package/dist/teams/resend.d.ts +0 -27
  71. package/dist/teams/resend.js +0 -38
  72. package/dist/teams/resend.js.map +0 -1
  73. package/dist/teams-react/lazy.d.ts +0 -14
  74. package/dist/teams-react/lazy.js +0 -17
  75. package/dist/teams-react/lazy.js.map +0 -1
  76. package/dist/web-react/inert.d.ts +0 -39
  77. package/dist/web-react/session-gateway.d.ts +0 -140
  78. package/dist/web-react/session-gateway.js +0 -187
  79. package/dist/web-react/session-gateway.js.map +0 -1
  80. /package/dist/{chunk-UII6SBT4.js.map → chunk-4XBRPVL3.js.map} +0 -0
  81. /package/dist/{chunk-TSZIYQAZ.js.map → chunk-6VRVRWYN.js.map} +0 -0
  82. /package/dist/{chunk-W3RSC6XB.js.map → chunk-DVOJNI6T.js.map} +0 -0
  83. /package/dist/{chunk-2S7QRQUS.js.map → chunk-NJA6X7JI.js.map} +0 -0
  84. /package/dist/{chunk-JZ64GXYP.js.map → chunk-OMHGFN5I.js.map} +0 -0
  85. /package/dist/{chunk-ZMMIQOFI.js.map → chunk-UII4YDYS.js.map} +0 -0
  86. /package/dist/{chunk-L57CYCXN.js.map → chunk-WN3UK23P.js.map} +0 -0
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  canTransitionInteractionStatus,
3
3
  persistedPartToInteraction
4
- } from "./chunk-M3K2HVQD.js";
4
+ } from "./chunk-FCON65I2.js";
5
5
  import {
6
6
  canTransitionPlanStatus,
7
7
  persistedPartToPlan,
@@ -406,4 +406,4 @@ export {
406
406
  terminalizeDanglingAssistantToolUpdates,
407
407
  encodeEvent
408
408
  };
409
- //# sourceMappingURL=chunk-ZMMIQOFI.js.map
409
+ //# sourceMappingURL=chunk-UII4YDYS.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isTangleBillingEnforcementDisabled
3
- } from "./chunk-CP36C5LZ.js";
3
+ } from "./chunk-D6UJEOZQ.js";
4
4
  import {
5
5
  clearCookieHeader,
6
6
  readCookieValue,
@@ -494,4 +494,4 @@ export {
494
494
  createAdminGuard,
495
495
  assertBillableBalance
496
496
  };
497
- //# sourceMappingURL=chunk-L57CYCXN.js.map
497
+ //# sourceMappingURL=chunk-WN3UK23P.js.map
@@ -43,6 +43,10 @@ import {
43
43
  selectTickStep
44
44
  } from "../chunk-YJYPXMDL.js";
45
45
  import "../chunk-TMKSWEVQ.js";
46
+ import {
47
+ DesignCanvasChromeLazy,
48
+ DesignCanvasLazy
49
+ } from "../chunk-JB2GFEOC.js";
46
50
  import "../chunk-ZN5J47UX.js";
47
51
  import {
48
52
  DEFAULT_INSERT_TEMPLATES,
@@ -85,10 +89,6 @@ import {
85
89
  setPagePropsCommand,
86
90
  ungroupElementCommand
87
91
  } from "../chunk-HQ7R6CGM.js";
88
- import {
89
- DesignCanvasChromeLazy,
90
- DesignCanvasLazy
91
- } from "../chunk-JB2GFEOC.js";
92
92
  import {
93
93
  assertSceneMediaSrc,
94
94
  bleedAwareExportBounds,
@@ -120,8 +120,9 @@ export declare function composerAnswerData(field: ChatInteractionField, text: st
120
120
  export declare function interactionPartKey(id: string): string;
121
121
  /** Generate a unique key string for a notice using the given identifier */
122
122
  export declare function noticePartKey(id: string): string;
123
- /** Define specific string literals representing different kinds of notices */
124
- export type NoticeKind = 'warning' | 'auto-declined';
123
+ /** Kinds of transcript notice. `error` marks a turn that failed: products render it in the danger tone
124
+ * instead of as answer prose (see `createSandboxChatProducer`'s `errorNotice`). */
125
+ export type NoticeKind = 'warning' | 'auto-declined' | 'error';
125
126
  /**
126
127
  * Persisted-part shapes the codecs below produce — the SAME rows
127
128
  * `/chat-store`'s `ChatInteractionPart`/`ChatNoticePart` store, typed at the
@@ -151,7 +152,7 @@ export type NoticePersistedPart = {
151
152
  text: string;
152
153
  };
153
154
  /** Builds the persisted/streamed `notice` part — a one-line transcript notice
154
- * explaining an out-of-band event (warning, auto-declined interaction). */
155
+ * explaining an out-of-band event (warning, auto-declined interaction, turn error). */
155
156
  export declare function noticePart(noticeKind: NoticeKind, id: string, text: string): NoticePersistedPart;
156
157
  /** Reads a wire request into the client's pending `ChatInteraction`. */
157
158
  export declare function interactionFromWireRequest(request: InteractionRequestWire): ChatInteraction;
@@ -7,7 +7,7 @@ import {
7
7
  mapInteractionRespondFailure,
8
8
  respondToSessionInteraction,
9
9
  validateInteractionAnswerBody
10
- } from "../chunk-TSZIYQAZ.js";
10
+ } from "../chunk-6VRVRWYN.js";
11
11
  import "../chunk-3NCPXNBZ.js";
12
12
  import "../chunk-TXD5HXLE.js";
13
13
  import {
@@ -34,7 +34,7 @@ import {
34
34
  persistedPartToInteraction,
35
35
  questionInteractionContentSignature,
36
36
  stampInteractionAnswers
37
- } from "../chunk-M3K2HVQD.js";
37
+ } from "../chunk-FCON65I2.js";
38
38
  export {
39
39
  INTERACTION_CANCEL_EVENT,
40
40
  INTERACTION_EVENT,
@@ -13,10 +13,10 @@ import {
13
13
  resolveTangleSsoAccount,
14
14
  signSessionCookieValue,
15
15
  verifySignedSsoState
16
- } from "../chunk-L57CYCXN.js";
16
+ } from "../chunk-WN3UK23P.js";
17
17
  import {
18
18
  resolveTangleExecutionEnvironment
19
- } from "../chunk-CP36C5LZ.js";
19
+ } from "../chunk-D6UJEOZQ.js";
20
20
  import "../chunk-YNSPVKMS.js";
21
21
  import {
22
22
  parseJsonObjectBody
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  createChatTurnRoutes,
3
3
  streamChatRouteAsSandboxEvents
4
- } from "../chunk-UII6SBT4.js";
5
- import "../chunk-TSZIYQAZ.js";
4
+ } from "../chunk-4XBRPVL3.js";
5
+ import "../chunk-6VRVRWYN.js";
6
6
  import "../chunk-YNSPVKMS.js";
7
7
  import "../chunk-3NCPXNBZ.js";
8
- import "../chunk-W3RSC6XB.js";
8
+ import "../chunk-DVOJNI6T.js";
9
9
  import "../chunk-ZVEEWGDK.js";
10
- import "../chunk-UJHENCPR.js";
10
+ import "../chunk-GYDFGEJ2.js";
11
11
  import "../chunk-TXD5HXLE.js";
12
12
  import "../chunk-53K4S3K6.js";
13
- import "../chunk-ZMMIQOFI.js";
14
- import "../chunk-M3K2HVQD.js";
13
+ import "../chunk-UII4YDYS.js";
14
+ import "../chunk-FCON65I2.js";
15
15
  import "../chunk-YJMCRXQQ.js";
16
16
  import "../chunk-HXTJXODG.js";
17
17
 
@@ -16,7 +16,7 @@ import {
16
16
  resolveUserTangleExecutionKeyForUser,
17
17
  tangleExecutionKeyHttpError,
18
18
  trimOrNull
19
- } from "../chunk-CP36C5LZ.js";
19
+ } from "../chunk-D6UJEOZQ.js";
20
20
  import {
21
21
  MAX_RECOMMENDED_MODELS,
22
22
  __resetCatalogCache,
@@ -4,7 +4,7 @@
4
4
  * Every Tangle agent product resolves the SAME thing from env: the Tangle Router
5
5
  * (OpenAI-compatible, metered at the platform markup against a single
6
6
  * `TANGLE_API_KEY`) by default, with a direct-Anthropic BYOK escape hatch. The
7
- * shape feeds the sandbox backend's role-named model fields (see
7
+ * shape feeds the sandbox backend's nested `model` object (see
8
8
  * `backendModelFields`). Lifted here so no product
9
9
  * hand-rolls the env parsing + the router default.
10
10
  */
@@ -706,10 +706,6 @@ export type SandboxPromptConfig = Pick<SandboxRuntimeConfig, 'provider' | 'defer
706
706
  * Reuse the returned backend for preflight and dispatch so they inspect identical configuration.
707
707
  */
708
708
  export declare function resolveSandboxPromptBackend(shell: SandboxPromptConfig, options: StreamSandboxPromptOptions, operation?: string): Promise<{
709
- modelId?: string | undefined;
710
- provider?: string | undefined;
711
- apiKey?: string;
712
- baseUrl?: string;
713
709
  model?: {
714
710
  model: string;
715
711
  provider: string;
@@ -100,7 +100,7 @@ import {
100
100
  workspaceSandboxRecoveryMessage,
101
101
  workspaceSandboxRecoveryRecommendedActions,
102
102
  writeProfileFilesToBox
103
- } from "../chunk-4KFM7VTH.js";
103
+ } from "../chunk-OXDA7G4E.js";
104
104
  import "../chunk-MCYJON3F.js";
105
105
  import "../chunk-LWSJK546.js";
106
106
  import "../chunk-2TARCQA2.js";
@@ -110,7 +110,7 @@ import "../chunk-UGWQLQDS.js";
110
110
  import "../chunk-S5SRJJQG.js";
111
111
  import "../chunk-KLQWU6K5.js";
112
112
  import "../chunk-CHYGAU4E.js";
113
- import "../chunk-CP36C5LZ.js";
113
+ import "../chunk-D6UJEOZQ.js";
114
114
  export {
115
115
  DEFAULT_FOREGROUND_PROVISION_CLAIM_TTL_SECONDS,
116
116
  DEFAULT_FOREGROUND_PROVISION_POLL_INTERVAL_MS,
@@ -10,21 +10,18 @@ export interface ProviderResolutionConfig {
10
10
  }
11
11
  /** Represent a fully configured model with optional API key and base URL for sandbox platform integration */
12
12
  /**
13
- * Spread a {@link ResolvedModel} onto a sandbox backend config as role-named
14
- * fields. The model id's home on a standalone backend is `modelId`; routing
15
- * rides `provider`/`apiKey`/`baseUrl` flat — the SDK folds them onto the wire.
13
+ * Spread a {@link ResolvedModel} onto a sandbox backend config as the nested
14
+ * `model` object — the one spelling every admitted SDK accepts.
16
15
  *
17
- * The deprecated nested `model` object rides along while agent-app's peer
18
- * range still admits pre-fold SDK versions (< the 0.60.14 develop train):
19
- * old SDKs forward only the nested object and drop the unknown flat fields,
20
- * fold-aware SDKs see two AGREEING spellings and fold them. Delete the
21
- * nested half when the peer floor moves past the fold.
16
+ * Do not add the role-named flat fields (`modelId`, `provider`, `apiKey`,
17
+ * `baseUrl`) beside it until the sandbox peer floor reaches the release that
18
+ * folds them (0.60.16). A pre-fold SDK forwards the whole backend unchanged,
19
+ * and the platform's strict backend schema refuses the extra keys:
20
+ * agent-app 0.53.10–0.54.0 emitted both, and every sandbox chat turn on a
21
+ * product resolving sandbox < 0.60.16 failed with "unrecognized_keys
22
+ * provider, apiKey, baseUrl, modelId at path backend" (Creative, 2026-10-06).
22
23
  */
23
24
  export declare function backendModelFields(model: ResolvedModel): {
24
- modelId: string;
25
- provider: string;
26
- apiKey?: string;
27
- baseUrl?: string;
28
25
  model: {
29
26
  model: string;
30
27
  provider: string;
@@ -28,8 +28,8 @@ import {
28
28
  terminalizeDanglingAssistantToolUpdates,
29
29
  terminalizeDanglingToolPart,
30
30
  terminalizeDanglingToolParts
31
- } from "../chunk-ZMMIQOFI.js";
32
- import "../chunk-M3K2HVQD.js";
31
+ } from "../chunk-UII4YDYS.js";
32
+ import "../chunk-FCON65I2.js";
33
33
  import "../chunk-YJMCRXQQ.js";
34
34
  import {
35
35
  DEFAULT_RUNNING_TURN_LEASE_MS,
@@ -7,8 +7,7 @@
7
7
  * `./teams/invitations-api` over fetch.
8
8
  *
9
9
  * Never re-exported from the package root: `react` is an optional peer (the
10
- * `web-react` precedent). DOM access begins only inside component render. A
11
- * `React.lazy` code-split entry lives at `./teams-react/lazy`.
10
+ * `web-react` precedent). DOM access begins only inside component render.
12
11
  */
13
12
  export * from './contracts';
14
13
  export * from './components/index';