@agents24/node 0.5.0 → 0.5.2
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 +6 -8
- package/compatibility.json +3 -3
- package/dist/bff.d.cts +1 -1
- package/dist/bff.d.ts +1 -1
- package/dist/{client-xWr_OGEe.d.cts → client-B-fZ0Vk_.d.cts} +0 -1
- package/dist/{client-xWr_OGEe.d.ts → client-B-fZ0Vk_.d.ts} +0 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js.map +1 -1
- package/dist/types/types.d.ts +0 -1
- package/dist/types/types.d.ts.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# `@agents24/node`
|
|
2
2
|
|
|
3
|
-
Last Updated: 2026-
|
|
3
|
+
Last Updated: 2026-09-01
|
|
4
4
|
|
|
5
5
|
Trusted-server Agents24 SDK for organization-authenticated control-plane, server embed, authoring, artifact, client-deployment, and client-session mint operations. It supports Node 22 and 24 with ESM and CJS entrypoints.
|
|
6
6
|
|
|
@@ -63,7 +63,7 @@ This package is server-only. Never expose an organization API key to browser cod
|
|
|
63
63
|
|
|
64
64
|
`@agents24/node/bff` exports `createAgents24BffHandler(...)`. Mount its
|
|
65
65
|
returned Fetch handler at a same-origin path, provide an API-key client plus
|
|
66
|
-
an `agents` array plus `
|
|
66
|
+
an `agents` array plus a stable `integrationId`, and resolve a stable customer
|
|
67
67
|
`subject`. Supply an optional `issuer` only when an authenticated customer
|
|
68
68
|
needs organization-wide governance. The bridge keeps the API key, configured
|
|
69
69
|
Agents, and any optional exact Agent versions on the server; it does not use a
|
|
@@ -76,12 +76,10 @@ and `DELETE /threads/{threadId}` operate across the configured Agent set.
|
|
|
76
76
|
Run-owned routes resolve the authoritative Agent from the stored run. The same
|
|
77
77
|
browser client continues to use `createBffAgentClient({ basePath })`.
|
|
78
78
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
lookup with a bounded 60-second single-flight window across conversation-scoped routes,
|
|
84
|
-
and fetches Resource Policy only for explicit policy/bootstrap UI needs.
|
|
79
|
+
The BFF resolves every host principal to an opaque integration-scoped customer
|
|
80
|
+
principal through `agents24.embed.resolveCustomerPrincipal(...)`, caches that
|
|
81
|
+
lookup with a bounded 60-second single-flight window across BFF routes, and
|
|
82
|
+
fetches Resource Policy only for explicit policy/bootstrap UI needs.
|
|
85
83
|
|
|
86
84
|
## Customer Resource Policies
|
|
87
85
|
|
package/compatibility.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"contractHash": "
|
|
2
|
+
"contractHash": "8746b5e49cbfa63e5dc88c2846180935ee61b89cf3a8ae540c86dc51e1eb0c11",
|
|
3
3
|
"contractVersion": "0.3.0",
|
|
4
4
|
"corpus": "conformance/v1/corpus.json",
|
|
5
5
|
"generatedBy": "@agents24/sdk-contract",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"runtime": "run-stream.v3"
|
|
20
20
|
},
|
|
21
21
|
"@agents24/node": {
|
|
22
|
-
"contract": "
|
|
22
|
+
"contract": "8746b5e49cbfa63e5dc88c2846180935ee61b89cf3a8ae540c86dc51e1eb0c11",
|
|
23
23
|
"node": "^22.0.0 || ^24.0.0"
|
|
24
24
|
},
|
|
25
25
|
"@agents24/react": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"protocolOwner": "@agents24/client"
|
|
32
32
|
},
|
|
33
33
|
"agents24": {
|
|
34
|
-
"contract": "
|
|
34
|
+
"contract": "8746b5e49cbfa63e5dc88c2846180935ee61b89cf3a8ae540c86dc51e1eb0c11",
|
|
35
35
|
"python": ">=3.10"
|
|
36
36
|
}
|
|
37
37
|
},
|
package/dist/bff.d.cts
CHANGED
package/dist/bff.d.ts
CHANGED
|
@@ -972,7 +972,6 @@ type ResourceInstallationPlan = {
|
|
|
972
972
|
package_name: string;
|
|
973
973
|
package_hash: string;
|
|
974
974
|
actions: Array<Record<string, unknown>>;
|
|
975
|
-
content: Array<Record<string, unknown>>;
|
|
976
975
|
external_requirements: Array<Record<string, unknown>>;
|
|
977
976
|
artifact_actions: Array<Record<string, unknown>>;
|
|
978
977
|
artifact_readiness: Array<{
|
|
@@ -972,7 +972,6 @@ type ResourceInstallationPlan = {
|
|
|
972
972
|
package_name: string;
|
|
973
973
|
package_hash: string;
|
|
974
974
|
actions: Array<Record<string, unknown>>;
|
|
975
|
-
content: Array<Record<string, unknown>>;
|
|
976
975
|
external_requirements: Array<Record<string, unknown>>;
|
|
977
976
|
artifact_actions: Array<Record<string, unknown>>;
|
|
978
977
|
artifact_readiness: Array<{
|