create-absolutejs 0.14.2 → 0.14.3

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.
@@ -29,12 +29,18 @@ export const createPackageJson = async ({ agentic, projectName, authOption, plug
29
29
  if (authOption === 'abs')
30
30
  packageNames.add(absoluteAuthPlugin.value);
31
31
  if (agentic) {
32
+ packageNames.add('@absolutejs/a2a');
32
33
  packageNames.add('@absolutejs/agency');
33
34
  packageNames.add('@absolutejs/agent-conformance');
35
+ packageNames.add('@absolutejs/agent-control');
34
36
  packageNames.add('@absolutejs/auth');
37
+ packageNames.add('@absolutejs/egress');
38
+ packageNames.add('@absolutejs/execution');
35
39
  packageNames.add('@absolutejs/manifest');
36
40
  packageNames.add('@absolutejs/mcp');
41
+ packageNames.add('@absolutejs/policy');
37
42
  packageNames.add('@absolutejs/secrets');
43
+ packageNames.add('@absolutejs/sync-bus-pg');
38
44
  packageNames.add('@absolutejs/wallet');
39
45
  }
40
46
  for (const pluginValue of plugins) {
@@ -133,11 +139,17 @@ export const createPackageJson = async ({ agentic, projectName, authOption, plug
133
139
  }
134
140
  if (agentic) {
135
141
  for (const name of [
142
+ '@absolutejs/a2a',
136
143
  '@absolutejs/agency',
144
+ '@absolutejs/agent-control',
137
145
  '@absolutejs/auth',
146
+ '@absolutejs/egress',
147
+ '@absolutejs/execution',
138
148
  '@absolutejs/manifest',
139
149
  '@absolutejs/mcp',
150
+ '@absolutejs/policy',
140
151
  '@absolutejs/secrets',
152
+ '@absolutejs/sync-bus-pg',
141
153
  '@absolutejs/wallet'
142
154
  ]) {
143
155
  dependencies[name] = resolveVersion(name, versions[name]);
@@ -1,5 +1,5 @@
1
1
  export declare const agentRuntimeSource = "import {\n\tcreateAgency,\n\tcreateAgentControlPlane,\n\tcreateMemoryAgencyStore,\n\tcreateMemoryAgentControlStore,\n\tdenyAllPolicy\n} from '@absolutejs/agency'\n\n// Memory stores are development defaults. Replace them with durable stores\n// before running more than one process or accepting production actions.\nexport const agentControl = createAgentControlPlane({\n\tsources: [],\n\tstore: createMemoryAgentControlStore()\n})\n\n// Intentionally deny-by-default. Replace denyAllPolicy() with your policy\n// decision point only after declaring each action's effects and scopes.\nexport const agency = createAgency({\n\tcontrol: agentControl,\n\tpolicy: denyAllPolicy(),\n\tstore: createMemoryAgencyStore()\n})\n";
2
- export declare const agentsGuide = "# Agent execution contract\n\nThis project uses the AbsoluteJS provider-neutral agent stack.\n\n- Authenticate agents and bind every delegation to a user with\n `@absolutejs/auth`. Never treat model-provided identity as authenticated.\n- Route every effectful tool through `agency` in `src/backend/agent.ts`.\n Approval is exact-input-bound; execution requires a fresh single-use lease.\n- Declare tool effects, scopes, approval policy, idempotency keys,\n reversibility, destinations, and spend fields in manifest contract 2.\n- Keep raw credentials host-side with `@absolutejs/secrets` credential\n operations. Agents receive operation results, never secret values.\n- Give agents bounded wallet allowances and signed mandates. The host resolves\n ledger destinations; an agent never supplies the recipient account id.\n- Bind MCP task handles to the authenticated actor on get, update, and cancel.\n- Run `@absolutejs/agent-conformance` suites for every new action, capability,\n credential, wallet, and task adapter.\n- Use the control plane kill switch for incident response. It blocks new\n requests, lease issuance, and execution before downstream revocation fans out.\n\nMemory stores are for local development only. Production stores must be\ndurable and enforce lease/capability consumption atomically.\n";
2
+ export declare const agentsGuide = "# Agent execution contract\n\nThis project uses the AbsoluteJS provider-neutral agent stack.\n\n- Authenticate agents and bind every delegation to a user with\n `@absolutejs/auth`. Never treat model-provided identity as authenticated.\n- Route every effectful tool through `agency` in `src/backend/agent.ts`.\n Approval is exact-input-bound; execution requires a fresh single-use lease.\n- Declare tool effects, scopes, approval policy, idempotency keys,\n reversibility, destinations, and spend fields in manifest contract 2.\n- Keep raw credentials host-side with `@absolutejs/secrets` credential\n operations. Agents receive operation results, never secret values.\n- Give agents bounded wallet allowances and signed mandates. The host resolves\n ledger destinations; an agent never supplies the recipient account id.\n- Bind MCP task handles to the authenticated actor on get, update, and cancel.\n- Use `@absolutejs/execution` for idempotent effects and its transactional\n PostgreSQL outbox before handing work to a durable queue.\n- Publish and consume remote agents with `@absolutejs/a2a` using A2A 1.0;\n preserve the authenticated tenant and actor binding at every task boundary.\n- Route outbound HTTP through `@absolutejs/egress`. Authorize host, method,\n resolved public IP, redirects, byte limits, and injected credentials host-side.\n- Store immutable, digest-addressed policy revisions with `@absolutejs/policy`\n and atomically activate only reviewed versions.\n- Protect operator actions with `@absolutejs/agent-control` scopes, a\n kill-switch-first check, and leased idempotency records.\n- Use `@absolutejs/sync-bus-pg` for durable framework channels. Redis is an\n optional at-most-once fanout adapter, not a source of truth or work queue.\n- Run `@absolutejs/agent-conformance` suites for every new action, capability,\n credential, wallet, egress, execution, control, and task adapter.\n- Use the control plane kill switch for incident response. It blocks new\n requests, lease issuance, and execution before downstream revocation fans out.\n\nMemory stores are for local development only. Production stores must be\ndurable and enforce lease/capability consumption atomically. Apply each\npackage's exported PostgreSQL schema in a migration before enabling traffic.\n";
3
3
  export declare const scaffoldAgentic: ({ backendDirectory, projectName }: {
4
4
  backendDirectory: string;
5
5
  projectName: string;
@@ -38,13 +38,26 @@ This project uses the AbsoluteJS provider-neutral agent stack.
38
38
  - Give agents bounded wallet allowances and signed mandates. The host resolves
39
39
  ledger destinations; an agent never supplies the recipient account id.
40
40
  - Bind MCP task handles to the authenticated actor on get, update, and cancel.
41
+ - Use \`@absolutejs/execution\` for idempotent effects and its transactional
42
+ PostgreSQL outbox before handing work to a durable queue.
43
+ - Publish and consume remote agents with \`@absolutejs/a2a\` using A2A 1.0;
44
+ preserve the authenticated tenant and actor binding at every task boundary.
45
+ - Route outbound HTTP through \`@absolutejs/egress\`. Authorize host, method,
46
+ resolved public IP, redirects, byte limits, and injected credentials host-side.
47
+ - Store immutable, digest-addressed policy revisions with \`@absolutejs/policy\`
48
+ and atomically activate only reviewed versions.
49
+ - Protect operator actions with \`@absolutejs/agent-control\` scopes, a
50
+ kill-switch-first check, and leased idempotency records.
51
+ - Use \`@absolutejs/sync-bus-pg\` for durable framework channels. Redis is an
52
+ optional at-most-once fanout adapter, not a source of truth or work queue.
41
53
  - Run \`@absolutejs/agent-conformance\` suites for every new action, capability,
42
- credential, wallet, and task adapter.
54
+ credential, wallet, egress, execution, control, and task adapter.
43
55
  - Use the control plane kill switch for incident response. It blocks new
44
56
  requests, lease issuance, and execution before downstream revocation fans out.
45
57
 
46
58
  Memory stores are for local development only. Production stores must be
47
- durable and enforce lease/capability consumption atomically.
59
+ durable and enforce lease/capability consumption atomically. Apply each
60
+ package's exported PostgreSQL schema in a migration before enabling traffic.
48
61
  `;
49
62
  export const scaffoldAgentic = ({ backendDirectory, projectName }) => {
50
63
  mkdirSync(backendDirectory, { recursive: true });
@@ -5,13 +5,19 @@
5
5
  */
6
6
  export declare const versions: {
7
7
  readonly '@absolutejs/absolute': "0.19.0-beta.1081";
8
- readonly '@absolutejs/agency': "0.2.0";
9
- readonly '@absolutejs/agent-conformance': "0.1.0";
8
+ readonly '@absolutejs/a2a': "0.1.0";
9
+ readonly '@absolutejs/agency': "0.4.0";
10
+ readonly '@absolutejs/agent-conformance': "0.2.0";
11
+ readonly '@absolutejs/agent-control': "0.1.0";
10
12
  readonly '@absolutejs/auth': "0.54.7";
13
+ readonly '@absolutejs/egress': "0.1.0";
14
+ readonly '@absolutejs/execution': "0.2.0";
11
15
  readonly '@absolutejs/manifest': "0.2.0";
12
- readonly '@absolutejs/mcp': "0.5.1";
13
- readonly '@absolutejs/secrets': "0.6.1";
14
- readonly '@absolutejs/wallet': "0.2.1";
16
+ readonly '@absolutejs/mcp': "0.7.0";
17
+ readonly '@absolutejs/policy': "0.1.0";
18
+ readonly '@absolutejs/secrets': "0.7.0";
19
+ readonly '@absolutejs/sync-bus-pg': "0.2.0";
20
+ readonly '@absolutejs/wallet': "0.3.0";
15
21
  readonly '@angular/common': "21.2.0";
16
22
  readonly '@angular/compiler': "21.2.0";
17
23
  readonly '@angular/compiler-cli': "21.2.0";
package/dist/versions.js CHANGED
@@ -6,13 +6,19 @@
6
6
  export const versions = {
7
7
  /* ── Core ─────────────────────────────────────────────── */
8
8
  '@absolutejs/absolute': '0.19.0-beta.1081',
9
- '@absolutejs/agency': '0.2.0',
10
- '@absolutejs/agent-conformance': '0.1.0',
9
+ '@absolutejs/a2a': '0.1.0',
10
+ '@absolutejs/agency': '0.4.0',
11
+ '@absolutejs/agent-conformance': '0.2.0',
12
+ '@absolutejs/agent-control': '0.1.0',
11
13
  '@absolutejs/auth': '0.54.7',
14
+ '@absolutejs/egress': '0.1.0',
15
+ '@absolutejs/execution': '0.2.0',
12
16
  '@absolutejs/manifest': '0.2.0',
13
- '@absolutejs/mcp': '0.5.1',
14
- '@absolutejs/secrets': '0.6.1',
15
- '@absolutejs/wallet': '0.2.1',
17
+ '@absolutejs/mcp': '0.7.0',
18
+ '@absolutejs/policy': '0.1.0',
19
+ '@absolutejs/secrets': '0.7.0',
20
+ '@absolutejs/sync-bus-pg': '0.2.0',
21
+ '@absolutejs/wallet': '0.3.0',
16
22
  /* ── Angular ─────────────────────────────────────────── */
17
23
  '@angular/common': '21.2.0',
18
24
  '@angular/compiler': '21.2.0',
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "create-absolutejs": "dist/index.js"
5
5
  },
6
6
  "dependencies": {
7
- "@absolutejs/auth": "0.54.6",
7
+ "@absolutejs/auth": "0.54.7",
8
8
  "@clack/prompts": "1.0.0",
9
9
  "picocolors": "1.1.1"
10
10
  },
@@ -54,5 +54,5 @@
54
54
  "typecheck": "bun run tsc --noEmit"
55
55
  },
56
56
  "type": "module",
57
- "version": "0.14.2"
57
+ "version": "0.14.3"
58
58
  }