@absolutejs/agent 0.4.5 → 0.4.7
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/manifest.js +18 -1
- package/dist/manifest.js.map +3 -3
- package/dist/manifest.json +26 -0
- package/package.json +14 -14
package/dist/manifest.js
CHANGED
|
@@ -5,6 +5,23 @@ import { Type } from "@sinclair/typebox";
|
|
|
5
5
|
var tool = toolFactory();
|
|
6
6
|
var manifest = defineManifest()({
|
|
7
7
|
contract: 2,
|
|
8
|
+
discovery: {
|
|
9
|
+
audiences: ["agent-hosts", "application-developers"],
|
|
10
|
+
intents: [
|
|
11
|
+
"build an agent-first application",
|
|
12
|
+
"audit an agent stack",
|
|
13
|
+
"compose agent infrastructure"
|
|
14
|
+
],
|
|
15
|
+
keywords: [
|
|
16
|
+
"agents",
|
|
17
|
+
"absolutejs",
|
|
18
|
+
"identity",
|
|
19
|
+
"orchestration",
|
|
20
|
+
"security",
|
|
21
|
+
"interoperability"
|
|
22
|
+
],
|
|
23
|
+
protocols: ["OAuth 2.0", "MCP", "A2A 1.0", "Arazzo 1.1", "WebMCP"]
|
|
24
|
+
},
|
|
8
25
|
identity: {
|
|
9
26
|
accent: "#111827",
|
|
10
27
|
category: "ai",
|
|
@@ -60,5 +77,5 @@ export {
|
|
|
60
77
|
manifest
|
|
61
78
|
};
|
|
62
79
|
|
|
63
|
-
//# debugId=
|
|
80
|
+
//# debugId=6D31697B910889FD64756E2164756E21
|
|
64
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 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, 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
|
-
"mappings": ";;AAAA;AACA;AAEA,IAAM,OAAO,YAAmB;AAEzB,IAAM,WAAW,eAA6C,EAAE;AAAA,EACrE,UAAU;AAAA,EACV,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,EAC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tC,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": "6D31697B910889FD64756E2164756E21",
|
|
9
9
|
"names": []
|
|
10
10
|
}
|
package/dist/manifest.json
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"contract": 2,
|
|
3
|
+
"discovery": {
|
|
4
|
+
"audiences": [
|
|
5
|
+
"agent-hosts",
|
|
6
|
+
"application-developers"
|
|
7
|
+
],
|
|
8
|
+
"intents": [
|
|
9
|
+
"build an agent-first application",
|
|
10
|
+
"audit an agent stack",
|
|
11
|
+
"compose agent infrastructure"
|
|
12
|
+
],
|
|
13
|
+
"keywords": [
|
|
14
|
+
"agents",
|
|
15
|
+
"absolutejs",
|
|
16
|
+
"identity",
|
|
17
|
+
"orchestration",
|
|
18
|
+
"security",
|
|
19
|
+
"interoperability"
|
|
20
|
+
],
|
|
21
|
+
"protocols": [
|
|
22
|
+
"OAuth 2.0",
|
|
23
|
+
"MCP",
|
|
24
|
+
"A2A 1.0",
|
|
25
|
+
"Arazzo 1.1",
|
|
26
|
+
"WebMCP"
|
|
27
|
+
]
|
|
28
|
+
},
|
|
3
29
|
"identity": {
|
|
4
30
|
"accent": "#111827",
|
|
5
31
|
"category": "ai",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@absolutejs/agent",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.7",
|
|
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",
|
|
@@ -121,22 +121,22 @@
|
|
|
121
121
|
"release": "bun run format && bun run check:package && npm publish --access public"
|
|
122
122
|
},
|
|
123
123
|
"dependencies": {
|
|
124
|
-
"@absolutejs/a2a": "^0.2.
|
|
125
|
-
"@absolutejs/agency": "^0.5.
|
|
126
|
-
"@absolutejs/agent-conformance": "^0.4.
|
|
127
|
-
"@absolutejs/agent-control": "^0.4.
|
|
128
|
-
"@absolutejs/agent-discovery": "^0.2.
|
|
129
|
-
"@absolutejs/agent-inbox": "^0.1.
|
|
130
|
-
"@absolutejs/agent-memory": "^0.1.
|
|
131
|
-
"@absolutejs/agent-runtime": "^0.1.
|
|
132
|
-
"@absolutejs/agent-sandbox": "^0.1.
|
|
133
|
-
"@absolutejs/agent-trust": "^0.1.
|
|
134
|
-
"@absolutejs/auth": "^0.56.
|
|
124
|
+
"@absolutejs/a2a": "^0.2.4",
|
|
125
|
+
"@absolutejs/agency": "^0.5.1",
|
|
126
|
+
"@absolutejs/agent-conformance": "^0.4.1",
|
|
127
|
+
"@absolutejs/agent-control": "^0.4.1",
|
|
128
|
+
"@absolutejs/agent-discovery": "^0.2.1",
|
|
129
|
+
"@absolutejs/agent-inbox": "^0.1.1",
|
|
130
|
+
"@absolutejs/agent-memory": "^0.1.1",
|
|
131
|
+
"@absolutejs/agent-runtime": "^0.1.1",
|
|
132
|
+
"@absolutejs/agent-sandbox": "^0.1.1",
|
|
133
|
+
"@absolutejs/agent-trust": "^0.1.1",
|
|
134
|
+
"@absolutejs/auth": "^0.56.8",
|
|
135
135
|
"@absolutejs/execution": "^0.2.0",
|
|
136
136
|
"@absolutejs/manifest": "^0.3.0",
|
|
137
|
-
"@absolutejs/mcp": "^0.10.
|
|
137
|
+
"@absolutejs/mcp": "^0.10.4",
|
|
138
138
|
"@absolutejs/policy": "^0.2.0",
|
|
139
|
-
"@absolutejs/wallet": "^0.3.
|
|
139
|
+
"@absolutejs/wallet": "^0.3.3",
|
|
140
140
|
"@sinclair/typebox": "^0.34.0"
|
|
141
141
|
},
|
|
142
142
|
"devDependencies": {
|