@absolutejs/agent 0.4.9 → 0.4.11
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 +1 -1
- package/dist/arazzo.d.ts +1 -0
- package/dist/arazzo.js +6 -0
- package/dist/arazzo.js.map +10 -0
- package/dist/manifest.js +2 -2
- package/dist/manifest.js.map +2 -2
- package/dist/manifest.json +1 -1
- package/dist/webmcp.d.ts +1 -0
- package/dist/webmcp.js +6 -0
- package/dist/webmcp.js.map +10 -0
- package/package.json +14 -2
package/README.md
CHANGED
|
@@ -31,7 +31,7 @@ await assertProductionReady(stack); // fails until every production concern is w
|
|
|
31
31
|
- `@absolutejs/agent/inbox` — verified webhooks, schedules, retries, dead letters
|
|
32
32
|
- `@absolutejs/agent/discovery` — signed well-known documents, cards, text, sitemaps, registry
|
|
33
33
|
- `@absolutejs/agent/execution` — transactional outbox, retries, reconciliation, compensation
|
|
34
|
-
- `@absolutejs/agent/mcp
|
|
34
|
+
- `@absolutejs/agent/mcp`, `/a2a`, `/arazzo`, and `/webmcp` — open interoperability, workflow, and browser transports
|
|
35
35
|
- `@absolutejs/agent/policy` — versioned policy and AuthZEN adapters
|
|
36
36
|
- `@absolutejs/agent/wallet` — reservations, idempotent settlement, spending policy
|
|
37
37
|
- `@absolutejs/agent/control` — operator inventory, revoke, restore, kill switches
|
package/dist/arazzo.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@absolutejs/arazzo";
|
package/dist/arazzo.js
ADDED
package/dist/manifest.js
CHANGED
|
@@ -25,7 +25,7 @@ var manifest = defineManifest()({
|
|
|
25
25
|
identity: {
|
|
26
26
|
accent: "#111827",
|
|
27
27
|
category: "ai",
|
|
28
|
-
description: "The discoverable production agent stack for AbsoluteJS: auth.md identity and delegation, policy-gated actions, durable execution, sandboxing, trust, scoped memory, triggers, MCP, A2A, spend controls, operations, and conformance.",
|
|
28
|
+
description: "The discoverable production agent stack for AbsoluteJS: auth.md identity and delegation, policy-gated actions, durable execution, sandboxing, trust, scoped memory, triggers, MCP, A2A, Arazzo, WebMCP, spend controls, operations, and conformance.",
|
|
29
29
|
docsUrl: "https://github.com/absolutejs/agent",
|
|
30
30
|
name: "@absolutejs/agent",
|
|
31
31
|
tagline: "Build agents that can safely act, persist, pay, and be found."
|
|
@@ -77,5 +77,5 @@ export {
|
|
|
77
77
|
manifest
|
|
78
78
|
};
|
|
79
79
|
|
|
80
|
-
//# debugId=
|
|
80
|
+
//# debugId=5D10C3250EF58C6864756E2164756E21
|
|
81
81
|
//# sourceMappingURL=manifest.js.map
|
package/dist/manifest.js.map
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/manifest.ts"],
|
|
4
4
|
"sourcesContent": [
|
|
5
|
-
"import { defineManifest, toolFactory } from \"@absolutejs/manifest\";\nimport { Type } from \"@sinclair/typebox\";\n\nconst tool = toolFactory<never>();\n\nexport const manifest = defineManifest<Record<string, never>, never>()({\n contract: 2,\n discovery: {\n audiences: [\"agent-hosts\", \"application-developers\"],\n intents: [\n \"build an agent-first application\",\n \"audit an agent stack\",\n \"compose agent infrastructure\",\n ],\n keywords: [\n \"agents\",\n \"absolutejs\",\n \"identity\",\n \"orchestration\",\n \"security\",\n \"interoperability\",\n ],\n protocols: [\"OAuth 2.0\", \"MCP\", \"A2A 1.0\", \"Arazzo 1.1\", \"WebMCP\"],\n },\n identity: {\n accent: \"#111827\",\n category: \"ai\",\n description:\n \"The discoverable production agent stack for AbsoluteJS: auth.md identity and delegation, policy-gated actions, durable execution, sandboxing, trust, scoped memory, triggers, MCP, A2A, spend controls, operations, and conformance.\",\n docsUrl: \"https://github.com/absolutejs/agent\",\n name: \"@absolutejs/agent\",\n tagline: \"Build agents that can safely act, persist, pay, and be found.\",\n },\n settings: Type.Object({}),\n tools: {\n inspect_agent_stack: tool.workspace({\n annotations: { readOnlyHint: true },\n capabilities: [\"read\", \"glob\"],\n description:\n \"Inspect an AbsoluteJS project for the production agent stack and report missing safety or discoverability packages.\",\n input: Type.Object({}),\n handler: async (_input, workspace) => {\n const packageFiles = (await workspace.glob?.(\"**/package.json\")) ?? [];\n const packageFile = packageFiles.find(\n (file) => !file.includes(\"node_modules\"),\n );\n if (packageFile === undefined) return \"No package.json found.\";\n const source = (await workspace.read(packageFile)) ?? \"\";\n if (source.includes('\"@absolutejs/agent\"')) {\n return \"The @absolutejs/agent production stack is installed.\";\n }\n const expected = [\n \"@absolutejs/auth\",\n \"@absolutejs/agency\",\n \"@absolutejs/agent-runtime\",\n \"@absolutejs/agent-sandbox\",\n \"@absolutejs/agent-trust\",\n \"@absolutejs/agent-discovery\",\n \"@absolutejs/agent-conformance\",\n ];\n const missing = expected.filter((name) => !source.includes(name));\n\n return missing.length === 0\n ? \"Core production agent packages are present.\"\n : `Missing production agent packages: ${missing.join(\", \")}`;\n },\n }),\n },\n wiring: [\n {\n description:\n \"Import the typed stack composer and add each production capability explicitly.\",\n id: \"default\",\n server: {\n code: \"defineAgentStack([])\",\n imports: [{ from: \"@absolutejs/agent\", names: [\"defineAgentStack\"] }],\n placement: \"module-scope\",\n },\n title: \"Production agent stack\",\n },\n ],\n});\n"
|
|
5
|
+
"import { defineManifest, toolFactory } from \"@absolutejs/manifest\";\nimport { Type } from \"@sinclair/typebox\";\n\nconst tool = toolFactory<never>();\n\nexport const manifest = defineManifest<Record<string, never>, never>()({\n contract: 2,\n discovery: {\n audiences: [\"agent-hosts\", \"application-developers\"],\n intents: [\n \"build an agent-first application\",\n \"audit an agent stack\",\n \"compose agent infrastructure\",\n ],\n keywords: [\n \"agents\",\n \"absolutejs\",\n \"identity\",\n \"orchestration\",\n \"security\",\n \"interoperability\",\n ],\n protocols: [\"OAuth 2.0\", \"MCP\", \"A2A 1.0\", \"Arazzo 1.1\", \"WebMCP\"],\n },\n identity: {\n accent: \"#111827\",\n category: \"ai\",\n description:\n \"The discoverable production agent stack for AbsoluteJS: auth.md identity and delegation, policy-gated actions, durable execution, sandboxing, trust, scoped memory, triggers, MCP, A2A, Arazzo, WebMCP, spend controls, operations, and conformance.\",\n docsUrl: \"https://github.com/absolutejs/agent\",\n name: \"@absolutejs/agent\",\n tagline: \"Build agents that can safely act, persist, pay, and be found.\",\n },\n settings: Type.Object({}),\n tools: {\n inspect_agent_stack: tool.workspace({\n annotations: { readOnlyHint: true },\n capabilities: [\"read\", \"glob\"],\n description:\n \"Inspect an AbsoluteJS project for the production agent stack and report missing safety or discoverability packages.\",\n input: Type.Object({}),\n handler: async (_input, workspace) => {\n const packageFiles = (await workspace.glob?.(\"**/package.json\")) ?? [];\n const packageFile = packageFiles.find(\n (file) => !file.includes(\"node_modules\"),\n );\n if (packageFile === undefined) return \"No package.json found.\";\n const source = (await workspace.read(packageFile)) ?? \"\";\n if (source.includes('\"@absolutejs/agent\"')) {\n return \"The @absolutejs/agent production stack is installed.\";\n }\n const expected = [\n \"@absolutejs/auth\",\n \"@absolutejs/agency\",\n \"@absolutejs/agent-runtime\",\n \"@absolutejs/agent-sandbox\",\n \"@absolutejs/agent-trust\",\n \"@absolutejs/agent-discovery\",\n \"@absolutejs/agent-conformance\",\n ];\n const missing = expected.filter((name) => !source.includes(name));\n\n return missing.length === 0\n ? \"Core production agent packages are present.\"\n : `Missing production agent packages: ${missing.join(\", \")}`;\n },\n }),\n },\n wiring: [\n {\n description:\n \"Import the typed stack composer and add each production capability explicitly.\",\n id: \"default\",\n server: {\n code: \"defineAgentStack([])\",\n imports: [{ from: \"@absolutejs/agent\", names: [\"defineAgentStack\"] }],\n placement: \"module-scope\",\n },\n title: \"Production agent stack\",\n },\n ],\n});\n"
|
|
6
6
|
],
|
|
7
7
|
"mappings": ";;AAAA;AACA;AAEA,IAAM,OAAO,YAAmB;AAEzB,IAAM,WAAW,eAA6C,EAAE;AAAA,EACrE,UAAU;AAAA,EACV,WAAW;AAAA,IACT,WAAW,CAAC,eAAe,wBAAwB;AAAA,IACnD,SAAS;AAAA,MACP;AA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AAAA,MACF,IAAI;AAAA,MACJ,QAAQ;AAAA,QACN,MAAM;AAAA,QACN,SAAS,CAAC,EAAE,MAAM,qBAAqB,OAAO,CAAC,kBAAkB,EAAE,CAAC;AAAA,QACpE,WAAW;AAAA,MACb;AAAA,MACA,OAAO;AAAA,IACT;AAAA,EACF;AACF,CAAC;",
|
|
8
|
-
"debugId": "
|
|
8
|
+
"debugId": "5D10C3250EF58C6864756E2164756E21",
|
|
9
9
|
"names": []
|
|
10
10
|
}
|
package/dist/manifest.json
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"identity": {
|
|
30
30
|
"accent": "#111827",
|
|
31
31
|
"category": "ai",
|
|
32
|
-
"description": "The discoverable production agent stack for AbsoluteJS: auth.md identity and delegation, policy-gated actions, durable execution, sandboxing, trust, scoped memory, triggers, MCP, A2A, spend controls, operations, and conformance.",
|
|
32
|
+
"description": "The discoverable production agent stack for AbsoluteJS: auth.md identity and delegation, policy-gated actions, durable execution, sandboxing, trust, scoped memory, triggers, MCP, A2A, Arazzo, WebMCP, spend controls, operations, and conformance.",
|
|
33
33
|
"docsUrl": "https://github.com/absolutejs/agent",
|
|
34
34
|
"name": "@absolutejs/agent",
|
|
35
35
|
"tagline": "Build agents that can safely act, persist, pay, and be found."
|
package/dist/webmcp.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@absolutejs/webmcp";
|
package/dist/webmcp.js
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@absolutejs/agent",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.11",
|
|
4
4
|
"description": "The production-grade, provider-neutral agent stack for AbsoluteJS: auth, actions, runtime, sandboxing, trust, memory, inbox, discovery, MCP, A2A, policy, wallet limits, controls, and conformance.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -37,6 +37,11 @@
|
|
|
37
37
|
"import": "./dist/auth.js",
|
|
38
38
|
"default": "./dist/auth.js"
|
|
39
39
|
},
|
|
40
|
+
"./arazzo": {
|
|
41
|
+
"types": "./dist/arazzo.d.ts",
|
|
42
|
+
"import": "./dist/arazzo.js",
|
|
43
|
+
"default": "./dist/arazzo.js"
|
|
44
|
+
},
|
|
40
45
|
"./conformance": {
|
|
41
46
|
"types": "./dist/conformance.d.ts",
|
|
42
47
|
"import": "./dist/conformance.js",
|
|
@@ -97,6 +102,11 @@
|
|
|
97
102
|
"import": "./dist/wallet.js",
|
|
98
103
|
"default": "./dist/wallet.js"
|
|
99
104
|
},
|
|
105
|
+
"./webmcp": {
|
|
106
|
+
"types": "./dist/webmcp.d.ts",
|
|
107
|
+
"import": "./dist/webmcp.js",
|
|
108
|
+
"default": "./dist/webmcp.js"
|
|
109
|
+
},
|
|
100
110
|
"./manifest": {
|
|
101
111
|
"types": "./dist/manifest.d.ts",
|
|
102
112
|
"import": "./dist/manifest.js",
|
|
@@ -123,6 +133,7 @@
|
|
|
123
133
|
"dependencies": {
|
|
124
134
|
"@absolutejs/a2a": "^0.2.4",
|
|
125
135
|
"@absolutejs/agency": "^0.5.1",
|
|
136
|
+
"@absolutejs/arazzo": "^0.1.2",
|
|
126
137
|
"@absolutejs/agent-conformance": "^0.4.1",
|
|
127
138
|
"@absolutejs/agent-control": "^0.4.1",
|
|
128
139
|
"@absolutejs/agent-discovery": "^0.2.1",
|
|
@@ -131,12 +142,13 @@
|
|
|
131
142
|
"@absolutejs/agent-runtime": "^0.1.1",
|
|
132
143
|
"@absolutejs/agent-sandbox": "^0.1.1",
|
|
133
144
|
"@absolutejs/agent-trust": "^0.1.1",
|
|
134
|
-
"@absolutejs/auth": "^0.56.
|
|
145
|
+
"@absolutejs/auth": "^0.56.11",
|
|
135
146
|
"@absolutejs/execution": "^0.2.0",
|
|
136
147
|
"@absolutejs/manifest": "^0.3.0",
|
|
137
148
|
"@absolutejs/mcp": "^0.10.4",
|
|
138
149
|
"@absolutejs/policy": "^0.2.0",
|
|
139
150
|
"@absolutejs/wallet": "^0.3.3",
|
|
151
|
+
"@absolutejs/webmcp": "^0.1.2",
|
|
140
152
|
"@sinclair/typebox": "^0.34.0"
|
|
141
153
|
},
|
|
142
154
|
"devDependencies": {
|