@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.
- package/dist/app-auth/index.js +2 -2
- package/dist/assistant/index.js +10 -10
- package/dist/chat-react/index.js +3 -3
- package/dist/chat-routes/index.js +22 -11
- package/dist/chat-routes/index.js.map +1 -1
- package/dist/chat-routes/sandbox-producer.d.ts +7 -0
- package/dist/chat-routes/wire.d.ts +1 -1
- package/dist/chat-store/index.js +4 -4
- package/dist/{chunk-UII6SBT4.js → chunk-4XBRPVL3.js} +4 -4
- package/dist/{chunk-TSZIYQAZ.js → chunk-6VRVRWYN.js} +2 -2
- package/dist/{chunk-CP36C5LZ.js → chunk-D6UJEOZQ.js} +1 -1
- package/dist/chunk-D6UJEOZQ.js.map +1 -0
- package/dist/{chunk-W3RSC6XB.js → chunk-DVOJNI6T.js} +3 -3
- package/dist/{chunk-M3K2HVQD.js → chunk-FCON65I2.js} +1 -1
- package/dist/{chunk-M3K2HVQD.js.map → chunk-FCON65I2.js.map} +1 -1
- package/dist/{chunk-UJHENCPR.js → chunk-GYDFGEJ2.js} +1 -1
- package/dist/chunk-GYDFGEJ2.js.map +1 -0
- package/dist/{chunk-YB6BZKXY.js → chunk-IJDPERPL.js} +31 -5
- package/dist/chunk-IJDPERPL.js.map +1 -0
- package/dist/{chunk-2S7QRQUS.js → chunk-NJA6X7JI.js} +2 -2
- package/dist/{chunk-JZ64GXYP.js → chunk-OMHGFN5I.js} +2 -2
- package/dist/{chunk-4KFM7VTH.js → chunk-OXDA7G4E.js} +9 -8
- package/dist/chunk-OXDA7G4E.js.map +1 -0
- package/dist/{chunk-ZMMIQOFI.js → chunk-UII4YDYS.js} +2 -2
- package/dist/{chunk-L57CYCXN.js → chunk-WN3UK23P.js} +2 -2
- package/dist/design-canvas-react/index.js +4 -4
- package/dist/interactions/contract.d.ts +4 -3
- package/dist/interactions/index.js +2 -2
- package/dist/platform/index.js +2 -2
- package/dist/public-consultation/index.js +6 -6
- package/dist/runtime/index.js +1 -1
- package/dist/runtime/model.d.ts +1 -1
- package/dist/sandbox/index.d.ts +0 -4
- package/dist/sandbox/index.js +2 -2
- package/dist/sandbox/model.d.ts +9 -12
- package/dist/stream/index.js +2 -2
- package/dist/teams-react/index.d.ts +1 -2
- package/dist/teams-react/index.js +618 -10
- package/dist/teams-react/index.js.map +1 -1
- package/dist/web-react/chat-stream.d.ts +1 -1
- package/dist/web-react/index.d.ts +10 -0
- package/dist/web-react/index.js +13 -13
- package/dist/workspace-react/index.js +51 -5
- package/dist/workspace-react/index.js.map +1 -1
- package/package.json +3 -33
- package/dist/InvitationsPanel-OFCYVSAE.js +0 -9
- package/dist/InvitationsPanel-OFCYVSAE.js.map +0 -1
- package/dist/InviteAcceptPage-BDOO4JSE.js +0 -7
- package/dist/InviteAcceptPage-BDOO4JSE.js.map +0 -1
- package/dist/MembersPanel-3ZK2GCMC.js +0 -9
- package/dist/MembersPanel-3ZK2GCMC.js.map +0 -1
- package/dist/chunk-4KFM7VTH.js.map +0 -1
- package/dist/chunk-5MI2SKQH.js +0 -211
- package/dist/chunk-5MI2SKQH.js.map +0 -1
- package/dist/chunk-AULM4X7U.js +0 -77
- package/dist/chunk-AULM4X7U.js.map +0 -1
- package/dist/chunk-CP36C5LZ.js.map +0 -1
- package/dist/chunk-GRDLGQ6A.js +0 -164
- package/dist/chunk-GRDLGQ6A.js.map +0 -1
- package/dist/chunk-UJHENCPR.js.map +0 -1
- package/dist/chunk-W7P5KV6O.js +0 -192
- package/dist/chunk-W7P5KV6O.js.map +0 -1
- package/dist/chunk-YB6BZKXY.js.map +0 -1
- package/dist/run/index.d.ts +0 -63
- package/dist/run/index.js +0 -30
- package/dist/run/index.js.map +0 -1
- package/dist/tangle/index.d.ts +0 -94
- package/dist/tangle/index.js +0 -33
- package/dist/tangle/index.js.map +0 -1
- package/dist/teams/resend.d.ts +0 -27
- package/dist/teams/resend.js +0 -38
- package/dist/teams/resend.js.map +0 -1
- package/dist/teams-react/lazy.d.ts +0 -14
- package/dist/teams-react/lazy.js +0 -17
- package/dist/teams-react/lazy.js.map +0 -1
- package/dist/web-react/inert.d.ts +0 -39
- package/dist/web-react/session-gateway.d.ts +0 -140
- package/dist/web-react/session-gateway.js +0 -187
- package/dist/web-react/session-gateway.js.map +0 -1
- /package/dist/{chunk-UII6SBT4.js.map → chunk-4XBRPVL3.js.map} +0 -0
- /package/dist/{chunk-TSZIYQAZ.js.map → chunk-6VRVRWYN.js.map} +0 -0
- /package/dist/{chunk-W3RSC6XB.js.map → chunk-DVOJNI6T.js.map} +0 -0
- /package/dist/{chunk-2S7QRQUS.js.map → chunk-NJA6X7JI.js.map} +0 -0
- /package/dist/{chunk-JZ64GXYP.js.map → chunk-OMHGFN5I.js.map} +0 -0
- /package/dist/{chunk-ZMMIQOFI.js.map → chunk-UII4YDYS.js.map} +0 -0
- /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-
|
|
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-
|
|
409
|
+
//# sourceMappingURL=chunk-UII4YDYS.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTangleBillingEnforcementDisabled
|
|
3
|
-
} from "./chunk-
|
|
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-
|
|
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
|
-
/**
|
|
124
|
-
|
|
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-
|
|
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-
|
|
37
|
+
} from "../chunk-FCON65I2.js";
|
|
38
38
|
export {
|
|
39
39
|
INTERACTION_CANCEL_EVENT,
|
|
40
40
|
INTERACTION_EVENT,
|
package/dist/platform/index.js
CHANGED
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
resolveTangleSsoAccount,
|
|
14
14
|
signSessionCookieValue,
|
|
15
15
|
verifySignedSsoState
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-WN3UK23P.js";
|
|
17
17
|
import {
|
|
18
18
|
resolveTangleExecutionEnvironment
|
|
19
|
-
} from "../chunk-
|
|
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-
|
|
5
|
-
import "../chunk-
|
|
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-
|
|
8
|
+
import "../chunk-DVOJNI6T.js";
|
|
9
9
|
import "../chunk-ZVEEWGDK.js";
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-GYDFGEJ2.js";
|
|
11
11
|
import "../chunk-TXD5HXLE.js";
|
|
12
12
|
import "../chunk-53K4S3K6.js";
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-UII4YDYS.js";
|
|
14
|
+
import "../chunk-FCON65I2.js";
|
|
15
15
|
import "../chunk-YJMCRXQQ.js";
|
|
16
16
|
import "../chunk-HXTJXODG.js";
|
|
17
17
|
|
package/dist/runtime/index.js
CHANGED
package/dist/runtime/model.d.ts
CHANGED
|
@@ -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
|
|
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
|
*/
|
package/dist/sandbox/index.d.ts
CHANGED
|
@@ -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;
|
package/dist/sandbox/index.js
CHANGED
|
@@ -100,7 +100,7 @@ import {
|
|
|
100
100
|
workspaceSandboxRecoveryMessage,
|
|
101
101
|
workspaceSandboxRecoveryRecommendedActions,
|
|
102
102
|
writeProfileFilesToBox
|
|
103
|
-
} from "../chunk-
|
|
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-
|
|
113
|
+
import "../chunk-D6UJEOZQ.js";
|
|
114
114
|
export {
|
|
115
115
|
DEFAULT_FOREGROUND_PROVISION_CLAIM_TTL_SECONDS,
|
|
116
116
|
DEFAULT_FOREGROUND_PROVISION_POLL_INTERVAL_MS,
|
package/dist/sandbox/model.d.ts
CHANGED
|
@@ -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
|
|
14
|
-
*
|
|
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
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
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;
|
package/dist/stream/index.js
CHANGED
|
@@ -28,8 +28,8 @@ import {
|
|
|
28
28
|
terminalizeDanglingAssistantToolUpdates,
|
|
29
29
|
terminalizeDanglingToolPart,
|
|
30
30
|
terminalizeDanglingToolParts
|
|
31
|
-
} from "../chunk-
|
|
32
|
-
import "../chunk-
|
|
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.
|
|
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';
|