@absolutejs/agent 0.4.10 → 0.4.12

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 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`, `/a2a`, and `/arazzo` — open interoperability and workflow transports
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/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, Arazzo, 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=CBA00F7B84B8E1AD64756E2164756E21
80
+ //# debugId=5D10C3250EF58C6864756E2164756E21
81
81
  //# sourceMappingURL=manifest.js.map
@@ -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, Arazzo, 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;AAAA,MACA;AAAA,MACA;AAAA,IACF;AAAA,IACA,UAAU;AAAA,MACR;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACF;AAAA,IACA,WAAW,CAAC,aAAa,OAAO,WAAW,cAAc,QAAQ;AAAA,EACnE;AAAA,EACA,UAAU;AAAA,IACR,QAAQ;AAAA,IACR,UAAU;AAAA,IACV,aACE;AAAA,IACF,SAAS;AAAA,IACT,MAAM;AAAA,IACN,SAAS;AAAA,EACX;AAAA,EACA,UAAU,KAAK,OAAO,CAAC,CAAC;AAAA,EACxB,OAAO;AAAA,IACL,qBAAqB,KAAK,UAAU;AAAA,MAClC,aAAa,EAAE,cAAc,KAAK;AAAA,MAClC,cAAc,CAAC,QAAQ,MAAM;AAAA,MAC7B,aACE;AAAA,MACF,OAAO,KAAK,OAAO,CAAC,CAAC;AAAA,MACrB,SAAS,OAAO,QAAQ,cAAc;AAAA,QACpC,MAAM,eAAgB,MAAM,UAAU,OAAO,iBAAiB,KAAM,CAAC;AAAA,QACrE,MAAM,cAAc,aAAa,KAC/B,CAAC,SAAS,CAAC,KAAK,SAAS,cAAc,CACzC;AAAA,QACA,IAAI,gBAAgB;AAAA,UAAW,OAAO;AAAA,QACtC,MAAM,SAAU,MAAM,UAAU,KAAK,WAAW,KAAM;AAAA,QACtD,IAAI,OAAO,SAAS,qBAAqB,GAAG;AAAA,UAC1C,OAAO;AAAA,QACT;AAAA,QACA,MAAM,WAAW;AAAA,UACf;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,QACF;AAAA,QACA,MAAM,UAAU,SAAS,OAAO,CAAC,SAAS,CAAC,OAAO,SAAS,IAAI,CAAC;AAAA,QAEhE,OAAO,QAAQ,WAAW,IACtB,gDACA,sCAAsC,QAAQ,KAAK,IAAI;AAAA;AAAA,IAE/D,CAAC;AAAA,EACH;AAAA,EACA,QAAQ;AAAA,IACN;AAAA,MACE,aACE;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": "CBA00F7B84B8E1AD64756E2164756E21",
8
+ "debugId": "5D10C3250EF58C6864756E2164756E21",
9
9
  "names": []
10
10
  }
@@ -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, Arazzo, 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."
@@ -0,0 +1 @@
1
+ export * from "@absolutejs/webmcp";
package/dist/webmcp.js ADDED
@@ -0,0 +1,6 @@
1
+ // @bun
2
+ // src/webmcp.ts
3
+ export * from "@absolutejs/webmcp";
4
+
5
+ //# debugId=26612EEED367D1A964756E2164756E21
6
+ //# sourceMappingURL=webmcp.js.map
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../src/webmcp.ts"],
4
+ "sourcesContent": [
5
+ "export * from \"@absolutejs/webmcp\";\n"
6
+ ],
7
+ "mappings": ";;AAAA;",
8
+ "debugId": "26612EEED367D1A964756E2164756E21",
9
+ "names": []
10
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@absolutejs/agent",
3
- "version": "0.4.10",
3
+ "version": "0.4.12",
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",
@@ -102,6 +102,11 @@
102
102
  "import": "./dist/wallet.js",
103
103
  "default": "./dist/wallet.js"
104
104
  },
105
+ "./webmcp": {
106
+ "types": "./dist/webmcp.d.ts",
107
+ "import": "./dist/webmcp.js",
108
+ "default": "./dist/webmcp.js"
109
+ },
105
110
  "./manifest": {
106
111
  "types": "./dist/manifest.d.ts",
107
112
  "import": "./dist/manifest.js",
@@ -143,6 +148,7 @@
143
148
  "@absolutejs/mcp": "^0.10.4",
144
149
  "@absolutejs/policy": "^0.2.0",
145
150
  "@absolutejs/wallet": "^0.3.3",
151
+ "@absolutejs/webmcp": "^0.1.3",
146
152
  "@sinclair/typebox": "^0.34.0"
147
153
  },
148
154
  "devDependencies": {