@axiom-lattice/protocols 3.0.4 → 4.0.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/.turbo/turbo-build.log +10 -10
- package/CHANGELOG.md +47 -0
- package/dist/index.d.mts +424 -150
- package/dist/index.d.ts +424 -150
- package/dist/index.js +266 -16
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +261 -12
- package/dist/index.mjs.map +1 -1
- package/jest.config.js +19 -0
- package/package.json +5 -1
- package/src/A2AApiKeyStoreProtocol.ts +13 -5
- package/src/A2AProtocol.ts +34 -174
- package/src/AgentWebAppRuntimeProtocol.ts +168 -0
- package/src/AgentWebAppStoreProtocol.ts +104 -0
- package/src/SkillStoreProtocol.ts +21 -0
- package/src/TaskBeliefProtocol.ts +324 -0
- package/src/TaskStoreProtocol.ts +94 -3
- package/src/TaskWorkItemProtocol.ts +32 -0
- package/src/WorkspaceStoreProtocol.ts +21 -1
- package/src/__tests__/TaskBeliefProtocol.test.ts +421 -0
- package/src/__tests__/a2a-types.test.ts +30 -0
- package/src/__tests__/agent-web-app-types.test.ts +323 -0
- package/src/index.ts +3 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @axiom-lattice/protocols@
|
|
2
|
+
> @axiom-lattice/protocols@4.0.1 build /home/runner/work/agentic/agentic/packages/protocols
|
|
3
3
|
> tsup src/index.ts --format cjs,esm --dts --sourcemap
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
[34mCLI[39m Target: es2020
|
|
9
9
|
[34mCJS[39m Build start
|
|
10
10
|
[34mESM[39m Build start
|
|
11
|
-
[
|
|
12
|
-
[
|
|
13
|
-
[
|
|
14
|
-
[
|
|
15
|
-
[
|
|
16
|
-
[
|
|
11
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m15.02 KB[39m
|
|
12
|
+
[32mESM[39m [1mdist/index.mjs.map [22m[32m65.29 KB[39m
|
|
13
|
+
[32mESM[39m ⚡️ Build success in 160ms
|
|
14
|
+
[32mCJS[39m [1mdist/index.js [22m[32m16.98 KB[39m
|
|
15
|
+
[32mCJS[39m [1mdist/index.js.map [22m[32m67.90 KB[39m
|
|
16
|
+
[32mCJS[39m ⚡️ Build success in 161ms
|
|
17
17
|
[34mDTS[39m Build start
|
|
18
|
-
[32mDTS[39m ⚡️ Build success in
|
|
19
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[
|
|
20
|
-
[32mDTS[39m [1mdist/index.d.mts [22m[
|
|
18
|
+
[32mDTS[39m ⚡️ Build success in 13938ms
|
|
19
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m156.11 KB[39m
|
|
20
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m156.11 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,52 @@
|
|
|
1
1
|
# @axiom-lattice/protocols
|
|
2
2
|
|
|
3
|
+
## 4.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- b44b480: Add managed Agent Web App publications, an isolated public runtime with project, model, thread, attachment and HITL boundaries, management SDK methods, and a dedicated React SDK Web App entry with composable hooks and widget components. Share authorized Agent execution, close-aware SSE transport, neutral file-reference formatting, and review decision state without merging Console and external authentication contexts.
|
|
8
|
+
- 3401a97: fix web
|
|
9
|
+
|
|
10
|
+
## 4.0.0
|
|
11
|
+
|
|
12
|
+
### Major Changes
|
|
13
|
+
|
|
14
|
+
- 1c783d0: Align A2A with the standard 0.3 protocol.
|
|
15
|
+
|
|
16
|
+
**Standard A2A 0.3 server (gateway):** per-assistant discovery and execution via
|
|
17
|
+
`GET /api/a2a/agents/:assistantId/.well-known/agent-card.json` and
|
|
18
|
+
`POST /api/a2a/agents/:assistantId/jsonrpc` (`message/send`, `message/stream`,
|
|
19
|
+
`tasks/get`, `tasks/cancel`), plus an internal `test-call` management route.
|
|
20
|
+
Every inbound task is persisted as a `TaskItem` (single-ID projection:
|
|
21
|
+
`TaskItem.id === A2A taskId`). File `bytes` parts are ingested into workspace
|
|
22
|
+
storage and referenced by URI.
|
|
23
|
+
|
|
24
|
+
**API key scope model:** keys are now `tenant + projectId (required) +
|
|
25
|
+
assistantIds[]` whitelist. Added `client.a2aKeys.*` (list/create/delete/disable/
|
|
26
|
+
enable/rotate) and UI (`A2AKeyList`, `A2AExposureSection` with agent-card preview
|
|
27
|
+
and dual-mode try-call).
|
|
28
|
+
|
|
29
|
+
**Breaking changes:**
|
|
30
|
+
|
|
31
|
+
- The legacy custom REST endpoints (`/api/a2a/tasks/send`,
|
|
32
|
+
`/api/a2a/tasks/:taskId`, `/api/a2a/tasks/:taskId/stream`,
|
|
33
|
+
`/api/a2a/tasks/:taskId/cancel`) are removed; use the JSON-RPC endpoint instead.
|
|
34
|
+
- The `A2A_API_KEYS` env format is simplified to `key:tenant:project,...`
|
|
35
|
+
(no workspace segment); `workspaceId` is removed from the key model and
|
|
36
|
+
creation flow.
|
|
37
|
+
- The `x-a2a-agent-id` request header is removed (the assistant is derived from
|
|
38
|
+
the URL path).
|
|
39
|
+
- `protocols` self-maintained A2A types are replaced by re-exports of
|
|
40
|
+
`@a2a-js/sdk` 0.3 types; `A2AApiKeyRecord`/`CreateA2AApiKeyInput` drop
|
|
41
|
+
`workspaceId` and gain `assistantIds`.
|
|
42
|
+
|
|
43
|
+
### Patch Changes
|
|
44
|
+
|
|
45
|
+
- 4de3e59: Harden A2A task persistence with caller-provided local IDs, atomic canceled-state guards across task stores, and request leases that prevent active scoped runtimes from being evicted before or during stream consumption.
|
|
46
|
+
- 1ed2a67: up issues
|
|
47
|
+
- 83e1d5d: Add ProjectKind (business/training/personal) with a per-workspace shared training project. Gateway ensures a default training project exists idempotently on project list and protects the last training project from deletion; personal assistant spaces are marked `personal`; client-sdk `listProjects` accepts a `kind` filter; react-sdk splits business and training projects in WorkspaceContext and pins learning rounds to the read-only shared Training Context via TrainingContextCard. No TrainingWorkspace entity — training isolation reuses the existing projectId scope.
|
|
48
|
+
- e501a4b: Add optional Markdown belief traces and append-only task activities, return recent task work-item history, and align scoped task work-item ordering and filtering across stores.
|
|
49
|
+
|
|
3
50
|
## 3.0.4
|
|
4
51
|
|
|
5
52
|
### Patch Changes
|