@xenosystem/acp-agent 0.2.3 → 0.2.4

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/version.d.ts CHANGED
@@ -7,7 +7,7 @@
7
7
  * now asserts the two agree, because a constant sitting beside a manifest will
8
8
  * drift again the next time only one of them is edited.
9
9
  */
10
- export declare const VERSION = "0.2.3";
10
+ export declare const VERSION = "0.2.4";
11
11
  export declare const AGENT_NAME = "xeno-acp-agent";
12
12
  export declare const AGENT_TITLE = "XENO ACP Agent";
13
13
  /** The ACP protocol version this endpoint speaks. */
package/dist/version.js CHANGED
@@ -7,7 +7,7 @@
7
7
  * now asserts the two agree, because a constant sitting beside a manifest will
8
8
  * drift again the next time only one of them is edited.
9
9
  */
10
- export const VERSION = "0.2.3";
10
+ export const VERSION = "0.2.4";
11
11
  export const AGENT_NAME = "xeno-acp-agent";
12
12
  export const AGENT_TITLE = "XENO ACP Agent";
13
13
  /** The ACP protocol version this endpoint speaks. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xenosystem/acp-agent",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "XENO-owned ACP agent-side stdio endpoint with fixture and approval-gated local provider adapters. NOT official Codex/Claude/Gemini/OpenCode ACP.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -13,10 +13,13 @@
13
13
  ".": {
14
14
  "types": "./dist/index.d.ts",
15
15
  "import": "./dist/index.js"
16
- }
16
+ },
17
+ "./cli": "./dist/cli.js",
18
+ "./policies/*": "./policies/*"
17
19
  },
18
20
  "files": [
19
21
  "dist",
22
+ "policies",
20
23
  "README.md",
21
24
  "LICENSE",
22
25
  "NOTICE"
@@ -48,7 +51,7 @@
48
51
  "typescript": "^5.6.3"
49
52
  },
50
53
  "dependencies": {
51
- "@xenosystem/agent-sdk": "^0.9.14"
54
+ "@xenosystem/agent-sdk": "^0.9.15"
52
55
  },
53
56
  "scripts": {
54
57
  "build": "tsc -p tsconfig.json",
@@ -0,0 +1,32 @@
1
+ {
2
+ // Packaged default policy metadata for the XENO-authored Claude CLI adapter.
3
+ // It contains references and boundaries only, never credential values.
4
+ "version": 1,
5
+ "providers": {
6
+ "claude-local": {
7
+ "enabled": true,
8
+ "trustClass": "third-party",
9
+ "auth": {
10
+ "requirement": "required",
11
+ "allowedSecretRefs": [
12
+ { "id": "claude-cli-auth", "kind": "manual", "label": "Claude Code CLI local session auth", "required": true }
13
+ ],
14
+ "allowPlainEnv": false,
15
+ "allowProcessEnv": false,
16
+ "allowCredentialFiles": false,
17
+ "allowInteractiveLogin": false
18
+ },
19
+ "egress": {
20
+ "mode": "allowlist",
21
+ "allowedHosts": ["api.anthropic.com", "statsig.anthropic.com"],
22
+ "blockedHosts": [],
23
+ "allowLocalhost": false,
24
+ "allowPrivateNetwork": false,
25
+ "allowHttp": false,
26
+ "allowHttps": true,
27
+ "maxRedirects": 0
28
+ },
29
+ "io": { "filesystem": "none", "terminal": "none" }
30
+ }
31
+ }
32
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ // Packaged default policy metadata for the XENO-authored Codex CLI adapter.
3
+ // It contains references and boundaries only, never credential values.
4
+ "version": 1,
5
+ "providers": {
6
+ "codex-local": {
7
+ "enabled": true,
8
+ "trustClass": "third-party",
9
+ "auth": {
10
+ "requirement": "required",
11
+ "allowedSecretRefs": [
12
+ { "id": "codex-cli-auth", "kind": "manual", "label": "Codex CLI local session auth", "required": true }
13
+ ],
14
+ "allowPlainEnv": false,
15
+ "allowProcessEnv": false,
16
+ "allowCredentialFiles": false,
17
+ "allowInteractiveLogin": false
18
+ },
19
+ "egress": {
20
+ "mode": "allowlist",
21
+ "allowedHosts": ["api.openai.com"],
22
+ "blockedHosts": [],
23
+ "allowLocalhost": false,
24
+ "allowPrivateNetwork": false,
25
+ "allowHttp": false,
26
+ "allowHttps": true,
27
+ "maxRedirects": 0
28
+ },
29
+ "io": { "filesystem": "workspace-scoped", "terminal": "none" }
30
+ }
31
+ }
32
+ }