@tangle-network/agent-app 0.44.25 → 0.44.27
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/README.md +7 -7
- package/dist/chat-routes/index.d.ts +3 -3
- package/dist/chat-routes/index.js +5 -2
- package/dist/chat-routes/index.js.map +1 -1
- package/dist/chat-store/index.d.ts +2 -3
- package/dist/chat-store/index.js +7 -12
- package/dist/chat-store/index.js.map +1 -1
- package/dist/{chunk-Q74BS43G.js → chunk-7775L5NN.js} +2 -1
- package/dist/chunk-7775L5NN.js.map +1 -0
- package/dist/chunk-LRHVCVEW.js +67 -0
- package/dist/chunk-LRHVCVEW.js.map +1 -0
- package/dist/sandbox/index.d.ts +3 -3
- package/dist/sandbox/index.js +1 -1
- package/dist/store/index.d.ts +9 -1
- package/dist/store/index.js +7 -53
- package/dist/store/index.js.map +1 -1
- package/package.json +15 -13
- package/dist/chunk-Q74BS43G.js.map +0 -1
package/README.md
CHANGED
|
@@ -35,14 +35,14 @@ pnpm add @tangle-network/agent-eval @tangle-network/agent-integrations
|
|
|
35
35
|
|
|
36
36
|
| Peer | Required by | Range |
|
|
37
37
|
|---|---|---|
|
|
38
|
-
| `@tangle-network/agent-eval` | `/eval`, `/eval-campaign`, `/profile`, `/knowledge` |
|
|
39
|
-
| `@tangle-network/agent-runtime` | `/runtime`, `/chat-routes` |
|
|
38
|
+
| `@tangle-network/agent-eval` | `/eval`, `/eval-campaign`, `/profile`, `/knowledge` | `>=0.134.1` |
|
|
39
|
+
| `@tangle-network/agent-runtime` | `/runtime`, `/chat-routes` | `>=0.108.0` |
|
|
40
40
|
| `@tangle-network/agent-integrations` | `/integrations` | `>=0.44.0` |
|
|
41
|
-
| `@tangle-network/agent-interface` | `/interactions`, `/chat-store`, `/harness` |
|
|
42
|
-
| `@tangle-network/sandbox` | `/sandbox` |
|
|
43
|
-
| `@tangle-network/agent-knowledge` | `/knowledge-loop` |
|
|
44
|
-
| `@tangle-network/agent-profile-materialize` | `/skills-placement` |
|
|
45
|
-
| `@tangle-network/sandbox-ui` | `/brand`, `/studio-react`, `/work-product-react` |
|
|
41
|
+
| `@tangle-network/agent-interface` | `/interactions`, `/chat-store`, `/harness` | `>=0.36.0` |
|
|
42
|
+
| `@tangle-network/sandbox` | `/sandbox` | `>=0.15.2` |
|
|
43
|
+
| `@tangle-network/agent-knowledge` | `/knowledge-loop` | `>=6.1.7` |
|
|
44
|
+
| `@tangle-network/agent-profile-materialize` | `/skills-placement` | `>=0.9.2` |
|
|
45
|
+
| `@tangle-network/sandbox-ui` | `/brand`, `/studio-react`, `/work-product-react` | `>=0.90.3` |
|
|
46
46
|
|
|
47
47
|
All of these except `agent-eval`, `agent-integrations`, and `agent-interface` are declared **optional** peers, so a product that never imports the subpath installs nothing.
|
|
48
48
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { C as ChatMessagePart, N as ChatTurnRequestPayload, O as ChatTurnPartInput, P as ChatTurnFilePartInput, b as ChatAttachmentPart, a as ChatAttachmentKind, g as ChatMentionPart } from '../parts-fyPPdDdK.js';
|
|
2
2
|
export { Q as ChatAttachmentInput, f as ChatMentionKind, R as ChatTurnInputError, T as ChatTurnTextPartInput, U as DISPATCH_MAX_MEDIA_PARTS, V as DISPATCH_MAX_PARTS, W as DISPATCH_REQUEST_MAX_BYTES, X as DISPATCH_STRUCTURAL_RESERVE_BYTES, M as FileMention, Y as FileMentionsToPartsOptions, Z as INLINE_PARTS_MAX_BYTES, _ as MENTION_MAX_COUNT, $ as ProducerErrorEvent, a0 as ProducerNoticeEvent, a1 as ProducerPassthroughEvent, a2 as ProducerPassthroughEventType, a3 as ProducerReasoningEvent, a4 as ProducerTextEvent, a5 as ProducerToolCallEvent, a6 as ProducerToolResultEvent, a7 as ProducerUsageEvent, a8 as ProducerWireEvent, a9 as SandboxMentionPathCheck, aa as assertPromptPartsWithinCap, ab as base64WireLen, ac as buildMentionPromptBlock, ad as chatTurnRequestInit, ae as fileMentionsToParts, af as formatBytes, ag as mediaTypeForMentionPath, ah as mentionKindForPath, ai as parseChatTurnParts, aj as parseFileMentions, ak as promptPartsByteSize, al as validateSandboxMentionPath } from '../parts-fyPPdDdK.js';
|
|
3
3
|
export { A as ALLOWED_ATTACHMENT_SNIFFED_MIMES, a as ATTACHMENT_ACCEPT, b as ATTACHMENT_MAX_COUNT, c as AttachmentTypeCheckResult, C as CreateSandboxFileIndexRouteOptions, F as FileIndexAuthorization, d as FileIndexCache, e as FileIndexReadyResponse, f as FileIndexResponse, g as FileIndexWarmingResponse, M as MAX_ATTACHMENT_TOTAL_BYTES, h as MAX_BINARY_ATTACHMENT_BYTES, i as MAX_TEXT_ATTACHMENT_BYTES, S as SandboxFileTreeSource, j as SandboxTreeFile, k as SandboxTreeResult, l as SniffResult, m as attachmentSizeErrorMessage, n as attachmentTotalSizeErrorMessage, o as checkAttachmentType, p as createSandboxFileIndexRoute, s as sanitizeAttachmentFileName, q as sniffBinary } from '../attachment-validation-Dvc_Livy.js';
|
|
4
|
-
import { ChatTurnIdentity, ChatTurnProducer } from '@tangle-network/agent-runtime';
|
|
4
|
+
import { ChatTurnIdentity, ChatTurnProducer } from '@tangle-network/agent-runtime/durable';
|
|
5
5
|
import { InteractionAnswerRoute, InteractionAnswerRouteOptions } from '../interactions/index.js';
|
|
6
6
|
import { PersistedChatMessageForTurn } from '../stream/index.js';
|
|
7
7
|
import { T as TurnEventStore } from '../turn-buffer-BcPfhr1_.js';
|
|
@@ -205,12 +205,12 @@ declare function assistantRowIdForTurn(turnKey: string): string;
|
|
|
205
205
|
* Phase 1). One factory composing the pieces every product re-wired by hand:
|
|
206
206
|
*
|
|
207
207
|
* body parse/validate → `/web` `parseJsonObjectBody` + `./wire`
|
|
208
|
-
* turn identity → `/stream` `resolveChatTurn` + agent-runtime
|
|
208
|
+
* turn identity → `/stream` `resolveChatTurn` + agent-runtime `/durable`
|
|
209
209
|
* `deriveExecutionId`
|
|
210
210
|
* producer → injected seam (sandbox lane via
|
|
211
211
|
* `createSandboxChatProducer`; router lane is the
|
|
212
212
|
* product's own `ChatTurnProducer`)
|
|
213
|
-
* turn engine → agent-runtime `handleChatTurn` (verbatim)
|
|
213
|
+
* turn engine → agent-runtime `/durable` `handleChatTurn` (verbatim)
|
|
214
214
|
* durability → `/stream` turn-buffer tap, wired BY DEFAULT
|
|
215
215
|
* (tee + drain keeps the turn running after a
|
|
216
216
|
* client drop; replay serves the buffered tail)
|
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
flattenHistory,
|
|
94
94
|
readSandboxBinaryBytes,
|
|
95
95
|
statSandboxFileSize
|
|
96
|
-
} from "../chunk-
|
|
96
|
+
} from "../chunk-7775L5NN.js";
|
|
97
97
|
import "../chunk-LWSJK546.js";
|
|
98
98
|
import "../chunk-CQZSAR77.js";
|
|
99
99
|
import "../chunk-ICOHEZK6.js";
|
|
@@ -103,7 +103,10 @@ import "../chunk-S5SRJJQG.js";
|
|
|
103
103
|
import "../chunk-JML7WKWU.js";
|
|
104
104
|
|
|
105
105
|
// src/chat-routes/turn-routes.ts
|
|
106
|
-
import {
|
|
106
|
+
import {
|
|
107
|
+
deriveExecutionId,
|
|
108
|
+
handleChatTurn
|
|
109
|
+
} from "@tangle-network/agent-runtime/durable";
|
|
107
110
|
|
|
108
111
|
// src/chat-routes/draft-persistence.ts
|
|
109
112
|
var CONTENT_EVENT_TYPES = /* @__PURE__ */ new Set([
|