@tangle-network/agent-app 0.50.26 → 0.50.28
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/chat-routes/index.js +4 -4
- package/dist/{chunk-EA3GB7F4.js → chunk-KTV5RQBQ.js} +4 -4
- package/dist/{chunk-6UBRYSED.js → chunk-QWYAR2CY.js} +2 -2
- package/dist/{chunk-VC3N3RZU.js → chunk-RFVTTZPG.js} +2 -2
- package/dist/{chunk-VC3N3RZU.js.map → chunk-RFVTTZPG.js.map} +1 -1
- package/dist/{chunk-EX2XVDPE.js → chunk-TJCTC5QI.js} +2 -2
- package/dist/hosted-agent/application-verification.d.ts +26 -0
- package/dist/hosted-agent/application.d.ts +3 -0
- package/dist/hosted-agent/application.js +33 -7
- package/dist/hosted-agent/application.js.map +1 -1
- package/dist/hosted-agent/react/ApplicationLineSetup.d.ts +10 -3
- package/dist/hosted-agent/react/LineSetup.d.ts +1 -1
- package/dist/hosted-agent/react/contracts.d.ts +9 -0
- package/dist/hosted-agent/react/index.d.ts +1 -1
- package/dist/hosted-agent/react/index.js +202 -72
- package/dist/hosted-agent/react/index.js.map +1 -1
- package/dist/hosted-agent/react/lines.css +14 -4
- package/dist/hosted-agent/workspace-line.d.ts +9 -2
- package/dist/preset-cloudflare/index.js +2 -2
- package/dist/sandbox/index.js +4 -4
- package/dist/tools/index.js +4 -4
- package/dist/work-product/index.js +30 -18
- package/dist/work-product/index.js.map +1 -1
- package/dist/work-product/route.d.ts +4 -2
- package/dist/work-product/service.d.ts +2 -0
- package/package.json +11 -11
- /package/dist/{chunk-EA3GB7F4.js.map → chunk-KTV5RQBQ.js.map} +0 -0
- /package/dist/{chunk-6UBRYSED.js.map → chunk-QWYAR2CY.js.map} +0 -0
- /package/dist/{chunk-EX2XVDPE.js.map → chunk-TJCTC5QI.js.map} +0 -0
|
@@ -17,18 +17,20 @@ import { type WorkProductPersistedPart, type WorkProductRecord, type WorkProduct
|
|
|
17
17
|
export type WorkProductVerdictBody = {
|
|
18
18
|
ok: true;
|
|
19
19
|
id: string;
|
|
20
|
+
version?: number;
|
|
20
21
|
verdict: 'approve';
|
|
21
22
|
note?: string;
|
|
22
23
|
} | {
|
|
23
24
|
ok: true;
|
|
24
25
|
id: string;
|
|
26
|
+
version?: number;
|
|
25
27
|
verdict: 'request_changes';
|
|
26
28
|
note: string;
|
|
27
29
|
} | {
|
|
28
30
|
ok: false;
|
|
29
31
|
error: string;
|
|
30
32
|
};
|
|
31
|
-
/** Validate the verdict POST body: `{ id, verdict, note? }`; a
|
|
33
|
+
/** Validate the verdict POST body: `{ id, version?, verdict, note? }`; a
|
|
32
34
|
* `request_changes` verdict REQUIRES a non-empty note — the note IS the
|
|
33
35
|
* correction turn the agent works from. */
|
|
34
36
|
export declare function validateWorkProductVerdictBody(body: Record<string, unknown>): WorkProductVerdictBody;
|
|
@@ -80,7 +82,7 @@ export interface WorkProductRoutes {
|
|
|
80
82
|
list: (request: Request) => Promise<Response>;
|
|
81
83
|
/** GET — one record by id (404 when absent or outside the workspace). */
|
|
82
84
|
detail: (request: Request, id: string) => Promise<Response>;
|
|
83
|
-
/** POST `{ id, verdict, note? }` — the reviewer verdict: CAS transition +
|
|
85
|
+
/** POST `{ id, version?, verdict, note? }` — the reviewer verdict: CAS transition +
|
|
84
86
|
* history entry + product seams. 409 when the record is no longer ready. */
|
|
85
87
|
verdict: (request: Request) => Promise<Response>;
|
|
86
88
|
}
|
|
@@ -57,6 +57,8 @@ export interface WorkProductVerdictInput {
|
|
|
57
57
|
verdict: 'approve' | 'request_changes';
|
|
58
58
|
reviewedBy: string;
|
|
59
59
|
note?: string;
|
|
60
|
+
/** The revision the reviewer saw; omitted only by legacy callers. */
|
|
61
|
+
expectedVersion?: number;
|
|
60
62
|
}
|
|
61
63
|
/** Guarded mutation surface over the work-product store */
|
|
62
64
|
export interface WorkProductService {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/agent-app",
|
|
3
|
-
"version": "0.50.
|
|
3
|
+
"version": "0.50.28",
|
|
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": [
|
|
@@ -565,18 +565,18 @@
|
|
|
565
565
|
"@storybook/react-vite": "^10.5.10",
|
|
566
566
|
"@tailwindcss/postcss": "^4.3.3",
|
|
567
567
|
"@tangle-network/agent-docs": "0.2.1",
|
|
568
|
-
"@tangle-network/agent-eval": "0.
|
|
568
|
+
"@tangle-network/agent-eval": "0.203.0",
|
|
569
569
|
"@tangle-network/agent-gateway": "0.11.4",
|
|
570
|
-
"@tangle-network/agent-integrations": "0.
|
|
571
|
-
"@tangle-network/agent-interface": "2.
|
|
572
|
-
"@tangle-network/agent-knowledge": "
|
|
570
|
+
"@tangle-network/agent-integrations": "0.59.0",
|
|
571
|
+
"@tangle-network/agent-interface": "2.15.0",
|
|
572
|
+
"@tangle-network/agent-knowledge": "18.0.0",
|
|
573
573
|
"@tangle-network/agent-profile-materialize": "0.20.1",
|
|
574
|
-
"@tangle-network/agent-runtime": "0.
|
|
574
|
+
"@tangle-network/agent-runtime": "0.289.1",
|
|
575
575
|
"@tangle-network/brand": "1.9.0",
|
|
576
|
-
"@tangle-network/hub-sdk": "0.
|
|
577
|
-
"@tangle-network/sandbox": "0.
|
|
576
|
+
"@tangle-network/hub-sdk": "0.22.1",
|
|
577
|
+
"@tangle-network/sandbox": "0.59.0",
|
|
578
578
|
"@tangle-network/sandbox-ui": "0.116.1",
|
|
579
|
-
"@tangle-network/ui": "11.11.
|
|
579
|
+
"@tangle-network/ui": "11.11.7",
|
|
580
580
|
"@testing-library/dom": "^10.4.1",
|
|
581
581
|
"@testing-library/react": "^16.3.3",
|
|
582
582
|
"@testing-library/user-event": "^14.6.6",
|
|
@@ -625,7 +625,7 @@
|
|
|
625
625
|
"yjs": "^13.6.32",
|
|
626
626
|
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
627
627
|
"@tangle-network/browser-agent-driver": "^0.36.1",
|
|
628
|
-
"@tangle-network/tcloud": "
|
|
628
|
+
"@tangle-network/tcloud": "0.8.1",
|
|
629
629
|
"playwright": "^1.63.0",
|
|
630
630
|
"@ai-sdk/google": "^3.0.33",
|
|
631
631
|
"@ai-sdk/anthropic": "^3.0.49",
|
|
@@ -637,7 +637,7 @@
|
|
|
637
637
|
"@tangle-network/agent-eval": ">=0.199.0 <0.204.0",
|
|
638
638
|
"@tangle-network/agent-integrations": ">=0.54.2 <0.58.0 || >=0.59.0 <0.60.0",
|
|
639
639
|
"@tangle-network/agent-interface": "^2.13.0",
|
|
640
|
-
"@tangle-network/agent-knowledge": "^17.1.2",
|
|
640
|
+
"@tangle-network/agent-knowledge": "^17.1.2 || ^18.0.0",
|
|
641
641
|
"@tangle-network/agent-profile-materialize": ">=0.20.1 <0.21.0",
|
|
642
642
|
"@tangle-network/agent-runtime": ">=0.282.2 <0.284.0 || >=0.285.0 <0.286.0 || >=0.289.1 <0.290.0",
|
|
643
643
|
"@tangle-network/brand": ">=1.6.0",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|