@kya-os/cli 2.0.3 → 2.1.1
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/node_modules/@kya-os/contracts/dist/agent-deployment-utils.d.ts +1 -1
- package/node_modules/@kya-os/contracts/dist/agent-deployment-utils.js +1 -1
- package/node_modules/@kya-os/contracts/dist/agent-deployment.d.ts +10 -10
- package/node_modules/@kya-os/contracts/dist/agent-deployment.js +2 -2
- package/node_modules/@kya-os/contracts/dist/agentshield-api/index.d.ts +116 -11
- package/node_modules/@kya-os/contracts/dist/agentshield-api/index.js +38 -40
- package/node_modules/@kya-os/contracts/dist/{agentshield-api → checkpoint-api}/admin-schemas.d.ts +3 -3
- package/node_modules/@kya-os/contracts/dist/{agentshield-api → checkpoint-api}/admin-schemas.js +3 -3
- package/node_modules/@kya-os/contracts/dist/{agentshield-api → checkpoint-api}/admin-types.d.ts +4 -4
- package/node_modules/@kya-os/contracts/dist/checkpoint-api/admin-types.js +10 -0
- package/node_modules/@kya-os/contracts/dist/{agentshield-api → checkpoint-api}/endpoints.d.ts +10 -10
- package/node_modules/@kya-os/contracts/dist/checkpoint-api/endpoints.js +49 -0
- package/node_modules/@kya-os/contracts/dist/checkpoint-api/index.d.ts +15 -0
- package/node_modules/@kya-os/contracts/dist/checkpoint-api/index.js +46 -0
- package/node_modules/@kya-os/contracts/dist/{agentshield-api → checkpoint-api}/schemas.d.ts +10 -10
- package/node_modules/@kya-os/contracts/dist/{agentshield-api → checkpoint-api}/schemas.js +24 -24
- package/node_modules/@kya-os/contracts/dist/{agentshield-api → checkpoint-api}/types.d.ts +27 -27
- package/node_modules/@kya-os/contracts/dist/checkpoint-api/types.js +26 -0
- package/node_modules/@kya-os/contracts/dist/compute.d.ts +5 -5
- package/node_modules/@kya-os/contracts/dist/compute.js +5 -5
- package/node_modules/@kya-os/contracts/dist/config/builder.js +2 -0
- package/node_modules/@kya-os/contracts/dist/config/delegation.d.ts +1 -1
- package/node_modules/@kya-os/contracts/dist/config/identity.d.ts +4 -4
- package/node_modules/@kya-os/contracts/dist/config/index.d.ts +1 -1
- package/node_modules/@kya-os/contracts/dist/config/proofing.d.ts +3 -2
- package/node_modules/@kya-os/contracts/dist/config/tool-protection.d.ts +34 -26
- package/node_modules/@kya-os/contracts/dist/consent/schemas.d.ts +5 -5
- package/node_modules/@kya-os/contracts/dist/consent/schemas.js +1 -1
- package/node_modules/@kya-os/contracts/dist/consent/types.d.ts +2 -2
- package/node_modules/@kya-os/contracts/dist/dashboard-config/default-config.d.ts +3 -1
- package/node_modules/@kya-os/contracts/dist/dashboard-config/default-config.js +3 -1
- package/node_modules/@kya-os/contracts/dist/dashboard-config/schemas.d.ts +479 -197
- package/node_modules/@kya-os/contracts/dist/dashboard-config/schemas.js +10 -3
- package/node_modules/@kya-os/contracts/dist/dashboard-config/types.d.ts +19 -9
- package/node_modules/@kya-os/contracts/dist/dashboard-config/types.js +2 -2
- package/node_modules/@kya-os/contracts/dist/delegation/schemas.d.ts +19 -19
- package/node_modules/@kya-os/contracts/dist/delegation/schemas.js +4 -4
- package/node_modules/@kya-os/contracts/dist/deploy/index.d.ts +1 -1
- package/node_modules/@kya-os/contracts/dist/deploy/index.js +1 -1
- package/node_modules/@kya-os/contracts/dist/deploy/schemas.d.ts +7 -7
- package/node_modules/@kya-os/contracts/dist/deploy/schemas.js +3 -3
- package/node_modules/@kya-os/contracts/dist/deploy/types.d.ts +8 -8
- package/node_modules/@kya-os/contracts/dist/deploy/types.js +1 -1
- package/node_modules/@kya-os/contracts/dist/handshake/schemas.d.ts +1 -1
- package/node_modules/@kya-os/contracts/dist/handshake/schemas.js +1 -1
- package/node_modules/@kya-os/contracts/dist/identity/schemas.d.ts +1 -1
- package/node_modules/@kya-os/contracts/dist/identity/schemas.js +1 -1
- package/node_modules/@kya-os/contracts/dist/index.js +1 -1
- package/node_modules/@kya-os/contracts/dist/molti/schemas.d.ts +6 -6
- package/node_modules/@kya-os/contracts/dist/molti/schemas.js +2 -2
- package/node_modules/@kya-os/contracts/dist/molti/types.d.ts +9 -9
- package/node_modules/@kya-os/contracts/dist/molti/types.js +1 -1
- package/node_modules/@kya-os/contracts/dist/policy/schemas.d.ts +1 -1
- package/node_modules/@kya-os/contracts/dist/policy/schemas.js +1 -1
- package/node_modules/@kya-os/contracts/dist/proof/detached-proof.d.ts +3 -3
- package/node_modules/@kya-os/contracts/dist/proof/detached-proof.js +3 -3
- package/node_modules/@kya-os/contracts/dist/skills/schemas.d.ts +1 -1
- package/node_modules/@kya-os/contracts/dist/vault/schemas.d.ts +1 -1
- package/node_modules/@kya-os/contracts/dist/vault/schemas.js +1 -1
- package/node_modules/@kya-os/contracts/dist/well-known/index.d.ts +4 -4
- package/node_modules/@kya-os/contracts/dist/workbench/economics.d.ts +9 -0
- package/node_modules/@kya-os/contracts/dist/workbench/economics.js +2 -0
- package/node_modules/@kya-os/contracts/dist/workbench/execution.d.ts +13 -0
- package/node_modules/@kya-os/contracts/dist/workbench/execution.js +12 -1
- package/node_modules/@kya-os/contracts/dist/workbench/governed.d.ts +62 -10
- package/node_modules/@kya-os/contracts/dist/workbench/lead-planner.d.ts +11 -0
- package/node_modules/@kya-os/contracts/dist/workbench/linear-installation.d.ts +29 -0
- package/node_modules/@kya-os/contracts/dist/workbench/mailbox.d.ts +80 -3
- package/node_modules/@kya-os/contracts/dist/workbench/mailbox.js +9 -1
- package/node_modules/@kya-os/contracts/dist/workbench/review.d.ts +9 -0
- package/node_modules/@kya-os/contracts/package.json +7 -2
- package/package.json +8 -7
- package/node_modules/@kya-os/contracts/dist/agentshield-api/admin-types.js +0 -10
- package/node_modules/@kya-os/contracts/dist/agentshield-api/endpoints.js +0 -49
- package/node_modules/@kya-os/contracts/dist/agentshield-api/types.js +0 -26
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kya-os/cli",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "CLI for KYA-OS setup and management",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
],
|
|
33
33
|
"scripts": {
|
|
34
34
|
"build": "npm run build:sidecar && node scripts/fix-esm-imports.js && node scripts/smoke-test-dist.js",
|
|
35
|
+
"typecheck": "tsc --noEmit -p tsconfig.sidecar.json",
|
|
35
36
|
"build:rust": "cargo build --locked --release",
|
|
36
37
|
"build:sidecar": "tsc -p tsconfig.sidecar.json",
|
|
37
38
|
"build:foundation": "npm run build:rust && npm run build:sidecar",
|
|
@@ -46,9 +47,9 @@
|
|
|
46
47
|
"test:coverage": "vitest --coverage --run"
|
|
47
48
|
},
|
|
48
49
|
"dependencies": {
|
|
49
|
-
"@kya-os/contracts": "1.
|
|
50
|
+
"@kya-os/contracts": "1.13.1",
|
|
50
51
|
"@kya-os/mcp": "1.15.0",
|
|
51
|
-
"@kya-os/mcp-i": "^1.
|
|
52
|
+
"@kya-os/mcp-i": "^1.13.1",
|
|
52
53
|
"didwebvh-ts": "2.8.0",
|
|
53
54
|
"json-canonicalize": "2.0.0",
|
|
54
55
|
"zod": "^3.25.67"
|
|
@@ -63,9 +64,9 @@
|
|
|
63
64
|
"node": ">=20.19.0"
|
|
64
65
|
},
|
|
65
66
|
"optionalDependencies": {
|
|
66
|
-
"@kya-os/cli-darwin-arm64": "2.
|
|
67
|
-
"@kya-os/cli-darwin-x64": "2.
|
|
68
|
-
"@kya-os/cli-linux-arm64-gnu": "2.
|
|
69
|
-
"@kya-os/cli-linux-x64-gnu": "2.
|
|
67
|
+
"@kya-os/cli-darwin-arm64": "2.1.1",
|
|
68
|
+
"@kya-os/cli-darwin-x64": "2.1.1",
|
|
69
|
+
"@kya-os/cli-linux-arm64-gnu": "2.1.1",
|
|
70
|
+
"@kya-os/cli-linux-x64-gnu": "2.1.1"
|
|
70
71
|
}
|
|
71
72
|
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* AgentShield Admin API Type Definitions
|
|
4
|
-
*
|
|
5
|
-
* TypeScript interfaces for administrative operations in AgentShield.
|
|
6
|
-
* These types ensure parity between xmcp-i admin endpoints and the AgentShield service.
|
|
7
|
-
*
|
|
8
|
-
* @package @kya-os/contracts/agentshield-api
|
|
9
|
-
*/
|
|
10
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* AgentShield/Bouncer API Endpoint Constants
|
|
4
|
-
*
|
|
5
|
-
* Centralized endpoint definitions to prevent hardcoded URLs
|
|
6
|
-
* and ensure consistency across all API clients.
|
|
7
|
-
*
|
|
8
|
-
* @package @kya-os/contracts/agentshield-api
|
|
9
|
-
*/
|
|
10
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
exports.AGENTSHIELD_METHODS = exports.AGENTSHIELD_ENDPOINTS = exports.AGENTSHIELD_API_BASE = void 0;
|
|
12
|
-
/**
|
|
13
|
-
* Base path for all AgentShield/Bouncer API endpoints
|
|
14
|
-
*/
|
|
15
|
-
exports.AGENTSHIELD_API_BASE = '/api/v1/bouncer';
|
|
16
|
-
/**
|
|
17
|
-
* AgentShield API endpoint paths
|
|
18
|
-
*
|
|
19
|
-
* These are relative paths that should be appended to the base API URL.
|
|
20
|
-
* Example: `${apiUrl}${AGENTSHIELD_ENDPOINTS.PROOFS}`
|
|
21
|
-
*/
|
|
22
|
-
exports.AGENTSHIELD_ENDPOINTS = {
|
|
23
|
-
/** Submit proofs in batch */
|
|
24
|
-
PROOFS: `${exports.AGENTSHIELD_API_BASE}/proofs`,
|
|
25
|
-
/** Register a new session with client information */
|
|
26
|
-
SESSIONS: `${exports.AGENTSHIELD_API_BASE}/sessions`,
|
|
27
|
-
/** Verify delegation by agent DID and scopes */
|
|
28
|
-
DELEGATIONS_VERIFY: `${exports.AGENTSHIELD_API_BASE}/delegations/verify`,
|
|
29
|
-
/** Get delegation by ID */
|
|
30
|
-
DELEGATIONS_GET: (id) => `${exports.AGENTSHIELD_API_BASE}/delegations/${id}`,
|
|
31
|
-
/** Create new delegation */
|
|
32
|
-
DELEGATIONS_CREATE: `${exports.AGENTSHIELD_API_BASE}/delegations`,
|
|
33
|
-
/** Revoke delegation */
|
|
34
|
-
DELEGATIONS_REVOKE: (id) => `${exports.AGENTSHIELD_API_BASE}/delegations/${id}/revoke`,
|
|
35
|
-
/** Get server configuration */
|
|
36
|
-
CONFIG: (projectId) => `${exports.AGENTSHIELD_API_BASE}/projects/${projectId}/config`,
|
|
37
|
-
};
|
|
38
|
-
/**
|
|
39
|
-
* HTTP methods for each endpoint
|
|
40
|
-
*/
|
|
41
|
-
exports.AGENTSHIELD_METHODS = {
|
|
42
|
-
PROOFS: 'POST',
|
|
43
|
-
SESSIONS: 'POST',
|
|
44
|
-
DELEGATIONS_VERIFY: 'POST',
|
|
45
|
-
DELEGATIONS_GET: 'GET',
|
|
46
|
-
DELEGATIONS_CREATE: 'POST',
|
|
47
|
-
DELEGATIONS_REVOKE: 'POST',
|
|
48
|
-
CONFIG: 'GET',
|
|
49
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* AgentShield/Bouncer API Type Definitions
|
|
4
|
-
*
|
|
5
|
-
* TypeScript interfaces matching the AgentShield dashboard API contract.
|
|
6
|
-
* These types ensure parity between xmcp-i clients and the AgentShield service.
|
|
7
|
-
*
|
|
8
|
-
* @package @kya-os/contracts/agentshield-api
|
|
9
|
-
*/
|
|
10
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
exports.AgentShieldAPIError = void 0;
|
|
12
|
-
// ============================================================================
|
|
13
|
-
// Error Types
|
|
14
|
-
// ============================================================================
|
|
15
|
-
/**
|
|
16
|
-
* AgentShield API error class
|
|
17
|
-
*/
|
|
18
|
-
class AgentShieldAPIError extends Error {
|
|
19
|
-
constructor(code, message, details) {
|
|
20
|
-
super(message);
|
|
21
|
-
this.code = code;
|
|
22
|
-
this.details = details;
|
|
23
|
-
this.name = "AgentShieldAPIError";
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
exports.AgentShieldAPIError = AgentShieldAPIError;
|