@kya-os/cli 2.0.3 → 2.1.0

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.
Files changed (73) hide show
  1. package/node_modules/@kya-os/contracts/dist/agent-deployment-utils.d.ts +1 -1
  2. package/node_modules/@kya-os/contracts/dist/agent-deployment-utils.js +1 -1
  3. package/node_modules/@kya-os/contracts/dist/agent-deployment.d.ts +10 -10
  4. package/node_modules/@kya-os/contracts/dist/agent-deployment.js +2 -2
  5. package/node_modules/@kya-os/contracts/dist/agentshield-api/index.d.ts +116 -11
  6. package/node_modules/@kya-os/contracts/dist/agentshield-api/index.js +38 -40
  7. package/node_modules/@kya-os/contracts/dist/{agentshield-api → checkpoint-api}/admin-schemas.d.ts +3 -3
  8. package/node_modules/@kya-os/contracts/dist/{agentshield-api → checkpoint-api}/admin-schemas.js +3 -3
  9. package/node_modules/@kya-os/contracts/dist/{agentshield-api → checkpoint-api}/admin-types.d.ts +4 -4
  10. package/node_modules/@kya-os/contracts/dist/checkpoint-api/admin-types.js +10 -0
  11. package/node_modules/@kya-os/contracts/dist/{agentshield-api → checkpoint-api}/endpoints.d.ts +10 -10
  12. package/node_modules/@kya-os/contracts/dist/checkpoint-api/endpoints.js +49 -0
  13. package/node_modules/@kya-os/contracts/dist/checkpoint-api/index.d.ts +15 -0
  14. package/node_modules/@kya-os/contracts/dist/checkpoint-api/index.js +46 -0
  15. package/node_modules/@kya-os/contracts/dist/{agentshield-api → checkpoint-api}/schemas.d.ts +10 -10
  16. package/node_modules/@kya-os/contracts/dist/{agentshield-api → checkpoint-api}/schemas.js +24 -24
  17. package/node_modules/@kya-os/contracts/dist/{agentshield-api → checkpoint-api}/types.d.ts +27 -27
  18. package/node_modules/@kya-os/contracts/dist/checkpoint-api/types.js +26 -0
  19. package/node_modules/@kya-os/contracts/dist/compute.d.ts +5 -5
  20. package/node_modules/@kya-os/contracts/dist/compute.js +5 -5
  21. package/node_modules/@kya-os/contracts/dist/config/builder.js +2 -0
  22. package/node_modules/@kya-os/contracts/dist/config/delegation.d.ts +1 -1
  23. package/node_modules/@kya-os/contracts/dist/config/identity.d.ts +4 -4
  24. package/node_modules/@kya-os/contracts/dist/config/index.d.ts +1 -1
  25. package/node_modules/@kya-os/contracts/dist/config/proofing.d.ts +3 -2
  26. package/node_modules/@kya-os/contracts/dist/config/tool-protection.d.ts +34 -26
  27. package/node_modules/@kya-os/contracts/dist/consent/schemas.d.ts +5 -5
  28. package/node_modules/@kya-os/contracts/dist/consent/schemas.js +1 -1
  29. package/node_modules/@kya-os/contracts/dist/consent/types.d.ts +2 -2
  30. package/node_modules/@kya-os/contracts/dist/dashboard-config/default-config.d.ts +3 -1
  31. package/node_modules/@kya-os/contracts/dist/dashboard-config/default-config.js +3 -1
  32. package/node_modules/@kya-os/contracts/dist/dashboard-config/schemas.d.ts +479 -197
  33. package/node_modules/@kya-os/contracts/dist/dashboard-config/schemas.js +10 -3
  34. package/node_modules/@kya-os/contracts/dist/dashboard-config/types.d.ts +19 -9
  35. package/node_modules/@kya-os/contracts/dist/dashboard-config/types.js +2 -2
  36. package/node_modules/@kya-os/contracts/dist/delegation/schemas.d.ts +19 -19
  37. package/node_modules/@kya-os/contracts/dist/delegation/schemas.js +4 -4
  38. package/node_modules/@kya-os/contracts/dist/deploy/index.d.ts +1 -1
  39. package/node_modules/@kya-os/contracts/dist/deploy/index.js +1 -1
  40. package/node_modules/@kya-os/contracts/dist/deploy/schemas.d.ts +7 -7
  41. package/node_modules/@kya-os/contracts/dist/deploy/schemas.js +3 -3
  42. package/node_modules/@kya-os/contracts/dist/deploy/types.d.ts +8 -8
  43. package/node_modules/@kya-os/contracts/dist/deploy/types.js +1 -1
  44. package/node_modules/@kya-os/contracts/dist/handshake/schemas.d.ts +1 -1
  45. package/node_modules/@kya-os/contracts/dist/handshake/schemas.js +1 -1
  46. package/node_modules/@kya-os/contracts/dist/identity/schemas.d.ts +1 -1
  47. package/node_modules/@kya-os/contracts/dist/identity/schemas.js +1 -1
  48. package/node_modules/@kya-os/contracts/dist/index.js +1 -1
  49. package/node_modules/@kya-os/contracts/dist/molti/schemas.d.ts +6 -6
  50. package/node_modules/@kya-os/contracts/dist/molti/schemas.js +2 -2
  51. package/node_modules/@kya-os/contracts/dist/molti/types.d.ts +9 -9
  52. package/node_modules/@kya-os/contracts/dist/molti/types.js +1 -1
  53. package/node_modules/@kya-os/contracts/dist/policy/schemas.d.ts +1 -1
  54. package/node_modules/@kya-os/contracts/dist/policy/schemas.js +1 -1
  55. package/node_modules/@kya-os/contracts/dist/proof/detached-proof.d.ts +3 -3
  56. package/node_modules/@kya-os/contracts/dist/proof/detached-proof.js +3 -3
  57. package/node_modules/@kya-os/contracts/dist/skills/schemas.d.ts +1 -1
  58. package/node_modules/@kya-os/contracts/dist/vault/schemas.d.ts +1 -1
  59. package/node_modules/@kya-os/contracts/dist/vault/schemas.js +1 -1
  60. package/node_modules/@kya-os/contracts/dist/well-known/index.d.ts +4 -4
  61. package/node_modules/@kya-os/contracts/dist/workbench/execution.d.ts +13 -0
  62. package/node_modules/@kya-os/contracts/dist/workbench/execution.js +12 -1
  63. package/node_modules/@kya-os/contracts/dist/workbench/governed.d.ts +52 -0
  64. package/node_modules/@kya-os/contracts/dist/workbench/lead-planner.d.ts +11 -0
  65. package/node_modules/@kya-os/contracts/dist/workbench/linear-installation.d.ts +29 -0
  66. package/node_modules/@kya-os/contracts/dist/workbench/mailbox.d.ts +77 -0
  67. package/node_modules/@kya-os/contracts/dist/workbench/mailbox.js +7 -0
  68. package/node_modules/@kya-os/contracts/dist/workbench/review.d.ts +9 -0
  69. package/node_modules/@kya-os/contracts/package.json +5 -1
  70. package/package.json +6 -6
  71. package/node_modules/@kya-os/contracts/dist/agentshield-api/admin-types.js +0 -10
  72. package/node_modules/@kya-os/contracts/dist/agentshield-api/endpoints.js +0 -49
  73. package/node_modules/@kya-os/contracts/dist/agentshield-api/types.js +0 -26
@@ -29,7 +29,8 @@ exports.identityConfigSchema = zod_1.z.object({
29
29
  exports.proofingConfigSchema = zod_1.z.object({
30
30
  enabled: zod_1.z.boolean(),
31
31
  destinations: zod_1.z.array(zod_1.z.object({
32
- type: zod_1.z.enum(['agentshield', 'kta', 'custom']),
32
+ // 'agentshield' is the former name of 'checkpoint'; Checkpoint still sends it.
33
+ type: zod_1.z.enum(['checkpoint', 'agentshield', 'kta', 'custom']),
33
34
  apiUrl: zod_1.z.string().url(),
34
35
  apiKey: zod_1.z.string().optional(),
35
36
  })),
@@ -43,7 +44,8 @@ exports.proofingConfigSchema = zod_1.z.object({
43
44
  * Delegation verifier type schema
44
45
  */
45
46
  const delegationVerifierTypeSchema = zod_1.z.enum([
46
- 'agentshield',
47
+ 'checkpoint',
48
+ 'agentshield', // former name of 'checkpoint'
47
49
  'kta',
48
50
  'memory',
49
51
  'cloudflare-kv',
@@ -73,7 +75,12 @@ exports.delegationConfigSchema = zod_1.z.object({
73
75
  * Tool protection configuration schema
74
76
  */
75
77
  exports.toolProtectionConfigSchema = zod_1.z.object({
76
- source: zod_1.z.enum(['agentshield', 'inline', 'file']),
78
+ source: zod_1.z.enum(['checkpoint', 'agentshield', 'inline', 'file']),
79
+ checkpoint: zod_1.z.object({
80
+ apiUrl: zod_1.z.string().url(),
81
+ cacheTtl: zod_1.z.number().int().positive(),
82
+ }).optional(),
83
+ // Former name of `checkpoint`; Checkpoint still sends this key.
77
84
  agentShield: zod_1.z.object({
78
85
  apiUrl: zod_1.z.string().url(),
79
86
  cacheTtl: zod_1.z.number().int().positive(),
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Dashboard Configuration Types
3
3
  *
4
- * Type definitions for AgentShield dashboard server configuration management API.
5
- * These types ensure parity between xmcp-i and AgentShield dashboard implementations.
4
+ * Type definitions for the Checkpoint dashboard's server configuration management API.
5
+ * These types keep the MCP-I runtimes and the Checkpoint dashboard in parity.
6
6
  *
7
7
  * @package @kya-os/contracts/dashboard-config
8
8
  */
@@ -13,7 +13,7 @@ import type { PolicyConfig } from '../policy/index.js';
13
13
  * MCP-I Server Configuration (Dashboard View Model)
14
14
  *
15
15
  * This is a flattened, UI-friendly representation of server configuration
16
- * used by the AgentShield dashboard for configuration management.
16
+ * used by the Checkpoint dashboard for configuration management.
17
17
  *
18
18
  * This type differs from MCPIConfig in that it:
19
19
  * - Includes platform-specific details
@@ -53,10 +53,11 @@ export interface MCPIServerConfig {
53
53
  enabled: boolean;
54
54
  /**
55
55
  * Proof destinations
56
- * Where proofs are sent (AgentShield, KTA, etc.)
56
+ * Where proofs are sent (Checkpoint, KTA, etc.). `'agentshield'` is the
57
+ * former name of `'checkpoint'`, still sent by Checkpoint.
57
58
  */
58
59
  destinations: Array<{
59
- type: 'agentshield' | 'kta' | 'custom';
60
+ type: 'checkpoint' | 'agentshield' | 'kta' | 'custom';
60
61
  apiUrl: string;
61
62
  apiKey?: string;
62
63
  }>;
@@ -101,13 +102,22 @@ export interface MCPIServerConfig {
101
102
  toolProtection: {
102
103
  /**
103
104
  * Source of tool protection config
104
- * 'agentshield' = Fetched from AgentShield API (dashboard-controlled)
105
+ * 'checkpoint' = Fetched from the Checkpoint API (dashboard-controlled);
106
+ * 'agentshield' is its former name, still sent by Checkpoint
105
107
  * 'inline' = Defined in code/config file
106
108
  * 'file' = Loaded from external file
107
109
  */
108
- source: 'agentshield' | 'inline' | 'file';
110
+ source: 'checkpoint' | 'agentshield' | 'inline' | 'file';
109
111
  /**
110
- * AgentShield API settings (if source is 'agentshield')
112
+ * Checkpoint API settings (if source is 'checkpoint')
113
+ */
114
+ checkpoint?: {
115
+ apiUrl: string;
116
+ cacheTtl: number;
117
+ };
118
+ /**
119
+ * @deprecated Former name of `checkpoint`, still sent by Checkpoint; read
120
+ * `checkpoint` first.
111
121
  */
112
122
  agentShield?: {
113
123
  apiUrl: string;
@@ -233,7 +243,7 @@ export interface MCPIServerConfig {
233
243
  lastUpdated: string;
234
244
  /**
235
245
  * Configuration source
236
- * 'dashboard' = Managed via AgentShield dashboard
246
+ * 'dashboard' = Managed via the Checkpoint dashboard
237
247
  * 'code' = Defined in code (mcpi-runtime-config.ts)
238
248
  * 'mixed' = Partially managed via dashboard
239
249
  */
@@ -2,8 +2,8 @@
2
2
  /**
3
3
  * Dashboard Configuration Types
4
4
  *
5
- * Type definitions for AgentShield dashboard server configuration management API.
6
- * These types ensure parity between xmcp-i and AgentShield dashboard implementations.
5
+ * Type definitions for the Checkpoint dashboard's server configuration management API.
6
+ * These types keep the MCP-I runtimes and the Checkpoint dashboard in parity.
7
7
  *
8
8
  * @package @kya-os/contracts/dashboard-config
9
9
  */
@@ -4682,7 +4682,7 @@ export declare const DELEGATION_CREDENTIAL_CONTEXT: "https://schema.modelcontext
4682
4682
  * W3C VCs, with the delegation data embedded in the credentialSubject.
4683
4683
  *
4684
4684
  * Phase 7 Update: Added userDid, userIdentifier, sessionId, and scopes
4685
- * to support Agent Shield VC-JWT tokens and MCP session tracking.
4685
+ * to support Checkpoint VC-JWT tokens and MCP session tracking.
4686
4686
  */
4687
4687
  export declare const DelegationCredentialSubjectSchema: z.ZodObject<{
4688
4688
  /** Subject DID (delegatee) */
@@ -4699,11 +4699,11 @@ export declare const DelegationCredentialSubjectSchema: z.ZodObject<{
4699
4699
  * DID of the user who granted the delegation.
4700
4700
  *
4701
4701
  * This is the authorizing user's identity. In simple cases, this equals
4702
- * issuerDid. In delegated scenarios (e.g., AgentShield issuing on behalf
4702
+ * issuerDid. In delegated scenarios (e.g., Checkpoint issuing on behalf
4703
4703
  * of a user), userDid identifies the actual user who consented.
4704
4704
  *
4705
- * Required by Agent Shield API for user-scoped delegations.
4706
- * @see delegationCredentialSchema in agentshield-api/schemas.ts
4705
+ * Required by Checkpoint API for user-scoped delegations.
4706
+ * @see delegationCredentialSchema in checkpoint-api/schemas.ts
4707
4707
  */
4708
4708
  userDid: z.ZodOptional<z.ZodString>;
4709
4709
  /**
@@ -5452,11 +5452,11 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
5452
5452
  * DID of the user who granted the delegation.
5453
5453
  *
5454
5454
  * This is the authorizing user's identity. In simple cases, this equals
5455
- * issuerDid. In delegated scenarios (e.g., AgentShield issuing on behalf
5455
+ * issuerDid. In delegated scenarios (e.g., Checkpoint issuing on behalf
5456
5456
  * of a user), userDid identifies the actual user who consented.
5457
5457
  *
5458
- * Required by Agent Shield API for user-scoped delegations.
5459
- * @see delegationCredentialSchema in agentshield-api/schemas.ts
5458
+ * Required by Checkpoint API for user-scoped delegations.
5459
+ * @see delegationCredentialSchema in checkpoint-api/schemas.ts
5460
5460
  */
5461
5461
  userDid: z.ZodOptional<z.ZodString>;
5462
5462
  /**
@@ -6216,11 +6216,11 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
6216
6216
  * DID of the user who granted the delegation.
6217
6217
  *
6218
6218
  * This is the authorizing user's identity. In simple cases, this equals
6219
- * issuerDid. In delegated scenarios (e.g., AgentShield issuing on behalf
6219
+ * issuerDid. In delegated scenarios (e.g., Checkpoint issuing on behalf
6220
6220
  * of a user), userDid identifies the actual user who consented.
6221
6221
  *
6222
- * Required by Agent Shield API for user-scoped delegations.
6223
- * @see delegationCredentialSchema in agentshield-api/schemas.ts
6222
+ * Required by Checkpoint API for user-scoped delegations.
6223
+ * @see delegationCredentialSchema in checkpoint-api/schemas.ts
6224
6224
  */
6225
6225
  userDid: z.ZodOptional<z.ZodString>;
6226
6226
  /**
@@ -6980,11 +6980,11 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
6980
6980
  * DID of the user who granted the delegation.
6981
6981
  *
6982
6982
  * This is the authorizing user's identity. In simple cases, this equals
6983
- * issuerDid. In delegated scenarios (e.g., AgentShield issuing on behalf
6983
+ * issuerDid. In delegated scenarios (e.g., Checkpoint issuing on behalf
6984
6984
  * of a user), userDid identifies the actual user who consented.
6985
6985
  *
6986
- * Required by Agent Shield API for user-scoped delegations.
6987
- * @see delegationCredentialSchema in agentshield-api/schemas.ts
6986
+ * Required by Checkpoint API for user-scoped delegations.
6987
+ * @see delegationCredentialSchema in checkpoint-api/schemas.ts
6988
6988
  */
6989
6989
  userDid: z.ZodOptional<z.ZodString>;
6990
6990
  /**
@@ -7752,11 +7752,11 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
7752
7752
  * DID of the user who granted the delegation.
7753
7753
  *
7754
7754
  * This is the authorizing user's identity. In simple cases, this equals
7755
- * issuerDid. In delegated scenarios (e.g., AgentShield issuing on behalf
7755
+ * issuerDid. In delegated scenarios (e.g., Checkpoint issuing on behalf
7756
7756
  * of a user), userDid identifies the actual user who consented.
7757
7757
  *
7758
- * Required by Agent Shield API for user-scoped delegations.
7759
- * @see delegationCredentialSchema in agentshield-api/schemas.ts
7758
+ * Required by Checkpoint API for user-scoped delegations.
7759
+ * @see delegationCredentialSchema in checkpoint-api/schemas.ts
7760
7760
  */
7761
7761
  userDid: z.ZodOptional<z.ZodString>;
7762
7762
  /**
@@ -8516,11 +8516,11 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
8516
8516
  * DID of the user who granted the delegation.
8517
8517
  *
8518
8518
  * This is the authorizing user's identity. In simple cases, this equals
8519
- * issuerDid. In delegated scenarios (e.g., AgentShield issuing on behalf
8519
+ * issuerDid. In delegated scenarios (e.g., Checkpoint issuing on behalf
8520
8520
  * of a user), userDid identifies the actual user who consented.
8521
8521
  *
8522
- * Required by Agent Shield API for user-scoped delegations.
8523
- * @see delegationCredentialSchema in agentshield-api/schemas.ts
8522
+ * Required by Checkpoint API for user-scoped delegations.
8523
+ * @see delegationCredentialSchema in checkpoint-api/schemas.ts
8524
8524
  */
8525
8525
  userDid: z.ZodOptional<z.ZodString>;
8526
8526
  /**
@@ -324,7 +324,7 @@ exports.DELEGATION_CREDENTIAL_CONTEXT = 'https://schema.modelcontextprotocol-ide
324
324
  * W3C VCs, with the delegation data embedded in the credentialSubject.
325
325
  *
326
326
  * Phase 7 Update: Added userDid, userIdentifier, sessionId, and scopes
327
- * to support Agent Shield VC-JWT tokens and MCP session tracking.
327
+ * to support Checkpoint VC-JWT tokens and MCP session tracking.
328
328
  */
329
329
  exports.DelegationCredentialSubjectSchema = zod_1.z.object({
330
330
  /** Subject DID (delegatee) */
@@ -341,11 +341,11 @@ exports.DelegationCredentialSubjectSchema = zod_1.z.object({
341
341
  * DID of the user who granted the delegation.
342
342
  *
343
343
  * This is the authorizing user's identity. In simple cases, this equals
344
- * issuerDid. In delegated scenarios (e.g., AgentShield issuing on behalf
344
+ * issuerDid. In delegated scenarios (e.g., Checkpoint issuing on behalf
345
345
  * of a user), userDid identifies the actual user who consented.
346
346
  *
347
- * Required by Agent Shield API for user-scoped delegations.
348
- * @see delegationCredentialSchema in agentshield-api/schemas.ts
347
+ * Required by Checkpoint API for user-scoped delegations.
348
+ * @see delegationCredentialSchema in checkpoint-api/schemas.ts
349
349
  */
350
350
  userDid: zod_1.z.string().optional(),
351
351
  /**
@@ -2,7 +2,7 @@
2
2
  * One-Click Deployment Contracts
3
3
  *
4
4
  * Centralized type definitions and validation schemas for the
5
- * AgentShield One-Click Deployment feature.
5
+ * Checkpoint One-Click Deployment feature.
6
6
  *
7
7
  * @package @kya-os/contracts/deploy
8
8
  *
@@ -3,7 +3,7 @@
3
3
  * One-Click Deployment Contracts
4
4
  *
5
5
  * Centralized type definitions and validation schemas for the
6
- * AgentShield One-Click Deployment feature.
6
+ * Checkpoint One-Click Deployment feature.
7
7
  *
8
8
  * @package @kya-os/contracts/deploy
9
9
  *
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * One-Click Deployment Zod Validation Schemas
3
3
  *
4
- * Runtime validation schemas for the AgentShield One-Click Deployment API.
4
+ * Runtime validation schemas for the Checkpoint One-Click Deployment API.
5
5
  * These schemas ensure request/response validation at API boundaries.
6
6
  *
7
7
  * @package @kya-os/contracts/deploy
@@ -839,22 +839,22 @@ export declare const scaffolderOptionsSchema: z.ZodObject<{
839
839
  projectName: z.ZodString;
840
840
  template: z.ZodEnum<["blank", "ecommerce", "hardware-world", "mix-station"]>;
841
841
  platform: z.ZodEnum<["cloudflare", "vercel"]>;
842
- agentShieldProjectId: z.ZodOptional<z.ZodString>;
843
- agentShieldApiKey: z.ZodOptional<z.ZodString>;
842
+ checkpointProjectId: z.ZodOptional<z.ZodString>;
843
+ checkpointApiKey: z.ZodOptional<z.ZodString>;
844
844
  skipIdentity: z.ZodOptional<z.ZodBoolean>;
845
845
  }, "strip", z.ZodTypeAny, {
846
846
  projectName: string;
847
847
  platform: "cloudflare" | "vercel";
848
848
  template: "blank" | "ecommerce" | "hardware-world" | "mix-station";
849
- agentShieldProjectId?: string | undefined;
850
- agentShieldApiKey?: string | undefined;
849
+ checkpointProjectId?: string | undefined;
850
+ checkpointApiKey?: string | undefined;
851
851
  skipIdentity?: boolean | undefined;
852
852
  }, {
853
853
  projectName: string;
854
854
  platform: "cloudflare" | "vercel";
855
855
  template: "blank" | "ecommerce" | "hardware-world" | "mix-station";
856
- agentShieldProjectId?: string | undefined;
857
- agentShieldApiKey?: string | undefined;
856
+ checkpointProjectId?: string | undefined;
857
+ checkpointApiKey?: string | undefined;
858
858
  skipIdentity?: boolean | undefined;
859
859
  }>;
860
860
  /**
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * One-Click Deployment Zod Validation Schemas
4
4
  *
5
- * Runtime validation schemas for the AgentShield One-Click Deployment API.
5
+ * Runtime validation schemas for the Checkpoint One-Click Deployment API.
6
6
  * These schemas ensure request/response validation at API boundaries.
7
7
  *
8
8
  * @package @kya-os/contracts/deploy
@@ -231,8 +231,8 @@ exports.scaffolderOptionsSchema = zod_1.z.object({
231
231
  projectName: zod_1.z.string().min(1).max(100),
232
232
  template: exports.templateTypeSchema,
233
233
  platform: exports.deployPlatformSchema,
234
- agentShieldProjectId: zod_1.z.string().optional(),
235
- agentShieldApiKey: zod_1.z.string().optional(),
234
+ checkpointProjectId: zod_1.z.string().optional(),
235
+ checkpointApiKey: zod_1.z.string().optional(),
236
236
  skipIdentity: zod_1.z.boolean().optional(),
237
237
  });
238
238
  /**
@@ -1,12 +1,12 @@
1
1
  /**
2
2
  * One-Click Deployment API Type Definitions
3
3
  *
4
- * TypeScript interfaces for the AgentShield One-Click Deployment feature.
4
+ * TypeScript interfaces for the Checkpoint One-Click Deployment feature.
5
5
  * Enables users to deploy MCP-I agents to Cloudflare Workers with a single click.
6
6
  *
7
7
  * @package @kya-os/contracts/deploy
8
8
  */
9
- import type { AgentShieldAPIResponse } from "../agentshield-api/types.js";
9
+ import type { CheckpointAPIResponse } from "../checkpoint-api/types.js";
10
10
  /**
11
11
  * Supported deployment templates
12
12
  * - blank: Minimal MCP-I server with a greet tool
@@ -116,7 +116,7 @@ export interface DeployToGitHubRequest {
116
116
  description?: string;
117
117
  }
118
118
  /**
119
- * AgentShield project information created during deployment
119
+ * Checkpoint project information created during deployment
120
120
  */
121
121
  export interface DeployedProject {
122
122
  id: string;
@@ -132,7 +132,7 @@ export interface DeployToGitHubData {
132
132
  repoUrl: string;
133
133
  /** Full repository name (e.g., "user/my-mcp-agent") */
134
134
  repoFullName: string;
135
- /** AgentShield project (auto-created) */
135
+ /** Checkpoint project (auto-created) */
136
136
  project: DeployedProject;
137
137
  /** Cloudflare Deploy Button URL */
138
138
  deployUrl: string;
@@ -205,8 +205,8 @@ export interface ScaffolderOptions {
205
205
  projectName: string;
206
206
  template: TemplateType;
207
207
  platform: DeployPlatformType;
208
- agentShieldProjectId?: string;
209
- agentShieldApiKey?: string;
208
+ checkpointProjectId?: string;
209
+ checkpointApiKey?: string;
210
210
  skipIdentity?: boolean;
211
211
  }
212
212
  /**
@@ -249,8 +249,8 @@ export interface DeploymentProgress {
249
249
  /**
250
250
  * Wrapped GitHub status response
251
251
  */
252
- export type GitHubStatusAPIResponse = AgentShieldAPIResponse<GitHubStatusResponse["data"]>;
252
+ export type GitHubStatusAPIResponse = CheckpointAPIResponse<GitHubStatusResponse["data"]>;
253
253
  /**
254
254
  * Wrapped deploy response
255
255
  */
256
- export type DeployToGitHubAPIResponse = AgentShieldAPIResponse<DeployToGitHubData>;
256
+ export type DeployToGitHubAPIResponse = CheckpointAPIResponse<DeployToGitHubData>;
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * One-Click Deployment API Type Definitions
4
4
  *
5
- * TypeScript interfaces for the AgentShield One-Click Deployment feature.
5
+ * TypeScript interfaces for the Checkpoint One-Click Deployment feature.
6
6
  * Enables users to deploy MCP-I agents to Cloudflare Workers with a single click.
7
7
  *
8
8
  * @package @kya-os/contracts/deploy
@@ -9,7 +9,7 @@ import { z } from "zod";
9
9
  * Phase 5: Anonymous Sessions Until OAuth
10
10
  *
11
11
  * - 'anonymous': No userDid assigned yet (session started without OAuth)
12
- * - 'authenticated': userDid assigned via OAuth → AgentShield identity resolution
12
+ * - 'authenticated': userDid assigned via OAuth → Checkpoint identity resolution
13
13
  */
14
14
  export declare const SessionIdentityStateSchema: z.ZodEnum<["anonymous", "authenticated"]>;
15
15
  export type SessionIdentityState = z.infer<typeof SessionIdentityStateSchema>;
@@ -22,7 +22,7 @@ const oauthIdentitySchema = zod_1.z.object({
22
22
  * Phase 5: Anonymous Sessions Until OAuth
23
23
  *
24
24
  * - 'anonymous': No userDid assigned yet (session started without OAuth)
25
- * - 'authenticated': userDid assigned via OAuth → AgentShield identity resolution
25
+ * - 'authenticated': userDid assigned via OAuth → Checkpoint identity resolution
26
26
  */
27
27
  exports.SessionIdentityStateSchema = zod_1.z.enum(["anonymous", "authenticated"]);
28
28
  const MCPClientCapabilitiesSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.unknown());
@@ -2,7 +2,7 @@
2
2
  * Identity Resolution Schemas
3
3
  *
4
4
  * Types and schemas for OAuth identity → persistent user DID resolution.
5
- * Used by xmcp-i to call AgentShield's identity resolution endpoint.
5
+ * Used by xmcp-i to call Checkpoint's identity resolution endpoint.
6
6
  *
7
7
  * Part of Phase 5: Identity Resolution Integration
8
8
  *
@@ -3,7 +3,7 @@
3
3
  * Identity Resolution Schemas
4
4
  *
5
5
  * Types and schemas for OAuth identity → persistent user DID resolution.
6
- * Used by xmcp-i to call AgentShield's identity resolution endpoint.
6
+ * Used by xmcp-i to call Checkpoint's identity resolution endpoint.
7
7
  *
8
8
  * Part of Phase 5: Identity Resolution Integration
9
9
  *
@@ -54,7 +54,7 @@ exports.SUPPORTED_XMCP_I_VERSION = "^1.0.0";
54
54
  // import { ... } from '@kya-os/contracts/runtime'
55
55
  // import { ... } from '@kya-os/contracts/tlkrc'
56
56
  // import { ... } from '@kya-os/contracts/env'
57
- // import { ... } from '@kya-os/contracts/agentshield-api'
57
+ // import { ... } from '@kya-os/contracts/checkpoint-api'
58
58
  // import { ... } from '@kya-os/contracts/tool-protection'
59
59
  // import { ... } from '@kya-os/contracts/well-known'
60
60
  // import { ... } from '@kya-os/contracts/identity' // Phase 5: Identity resolution
@@ -41,23 +41,23 @@ export declare const moltiDeployConfigSchema: z.ZodObject<{
41
41
  projectName: z.ZodString;
42
42
  agentName: z.ZodOptional<z.ZodString>;
43
43
  agentDescription: z.ZodOptional<z.ZodString>;
44
- agentShieldProjectId: z.ZodOptional<z.ZodString>;
45
- agentShieldApiKey: z.ZodOptional<z.ZodString>;
44
+ checkpointProjectId: z.ZodOptional<z.ZodString>;
45
+ checkpointApiKey: z.ZodOptional<z.ZodString>;
46
46
  instanceType: z.ZodOptional<z.ZodEnum<["lite", "basic", "standard-1", "standard-2", "standard-3", "standard-4"]>>;
47
47
  enableReputation: z.ZodOptional<z.ZodBoolean>;
48
48
  }, "strip", z.ZodTypeAny, {
49
49
  projectName: string;
50
50
  agentName?: string | undefined;
51
- agentShieldProjectId?: string | undefined;
52
- agentShieldApiKey?: string | undefined;
51
+ checkpointProjectId?: string | undefined;
52
+ checkpointApiKey?: string | undefined;
53
53
  agentDescription?: string | undefined;
54
54
  instanceType?: "basic" | "lite" | "standard-1" | "standard-2" | "standard-3" | "standard-4" | undefined;
55
55
  enableReputation?: boolean | undefined;
56
56
  }, {
57
57
  projectName: string;
58
58
  agentName?: string | undefined;
59
- agentShieldProjectId?: string | undefined;
60
- agentShieldApiKey?: string | undefined;
59
+ checkpointProjectId?: string | undefined;
60
+ checkpointApiKey?: string | undefined;
61
61
  agentDescription?: string | undefined;
62
62
  instanceType?: "basic" | "lite" | "standard-1" | "standard-2" | "standard-3" | "standard-4" | undefined;
63
63
  enableReputation?: boolean | undefined;
@@ -69,8 +69,8 @@ exports.moltiDeployConfigSchema = zod_1.z.object({
69
69
  projectName: projectNameSchema,
70
70
  agentName: zod_1.z.string().max(255).optional(),
71
71
  agentDescription: zod_1.z.string().max(2000).optional(),
72
- agentShieldProjectId: zod_1.z.string().optional(),
73
- agentShieldApiKey: zod_1.z.string().optional(),
72
+ checkpointProjectId: zod_1.z.string().optional(),
73
+ checkpointApiKey: zod_1.z.string().optional(),
74
74
  instanceType: exports.moltiInstanceTypeSchema.optional(),
75
75
  enableReputation: zod_1.z.boolean().optional(),
76
76
  });
@@ -37,17 +37,17 @@ export interface MoltiDeployConfig {
37
37
  agentName?: string;
38
38
  /** Agent description */
39
39
  agentDescription?: string;
40
- /** AgentShield project ID for monitoring */
41
- agentShieldProjectId?: string;
42
- /** AgentShield API key (stored as secret) */
43
- agentShieldApiKey?: string;
40
+ /** Checkpoint project ID for monitoring */
41
+ checkpointProjectId?: string;
42
+ /** Checkpoint API key (stored as secret) */
43
+ checkpointApiKey?: string;
44
44
  /** Container instance type */
45
45
  instanceType?: MoltiInstanceType;
46
46
  /** Enable KTA reputation tracking */
47
47
  enableReputation?: boolean;
48
48
  }
49
49
  /**
50
- * Request to start a Molti deployment via agent-shield
50
+ * Request to start a Molti deployment via checkpoint
51
51
  * POST /api/internal/deploy/molti/start
52
52
  */
53
53
  export interface MoltiDeployRequest {
@@ -57,9 +57,9 @@ export interface MoltiDeployRequest {
57
57
  agentName?: string;
58
58
  /** Agent description */
59
59
  agentDescription?: string;
60
- /** Organization ID in AgentShield */
60
+ /** Organization ID in Checkpoint */
61
61
  organizationId: string;
62
- /** Existing AgentShield project ID (if linking to existing) */
62
+ /** Existing Checkpoint project ID (if linking to existing) */
63
63
  existingProjectId?: string;
64
64
  /** Container instance type */
65
65
  instanceType?: MoltiInstanceType;
@@ -116,9 +116,9 @@ export interface MoltiDeployResult {
116
116
  repoUrl: string;
117
117
  /** Repository full name (owner/name) */
118
118
  repoFullName: string;
119
- /** AgentShield project ID */
119
+ /** Checkpoint project ID */
120
120
  projectId: string;
121
- /** AgentShield project friendly ID */
121
+ /** Checkpoint project friendly ID */
122
122
  projectFriendlyId: string;
123
123
  /** KTA claim URL (if reputation enabled) */
124
124
  ktaClaimUrl?: string;
@@ -14,7 +14,7 @@ exports.MOLTI_DEPLOY_STEP_NAMES = void 0;
14
14
  */
15
15
  exports.MOLTI_DEPLOY_STEP_NAMES = {
16
16
  github_verify: "Verifying GitHub connection",
17
- project_create: "Creating AgentShield project",
17
+ project_create: "Creating Checkpoint project",
18
18
  api_key_create: "Generating API key",
19
19
  kta_register: "Registering with KTA",
20
20
  scaffold: "Scaffolding Moltworker project",
@@ -2,7 +2,7 @@
2
2
  * Policy Configuration Schemas
3
3
  *
4
4
  * Zod schemas for agent detection policy configuration.
5
- * These schemas define how MCP-I servers and AgentShield enforce
5
+ * These schemas define how MCP-I servers and Checkpoint enforce
6
6
  * access control based on detected agent characteristics.
7
7
  *
8
8
  * @module @kya-os/contracts/policy
@@ -3,7 +3,7 @@
3
3
  * Policy Configuration Schemas
4
4
  *
5
5
  * Zod schemas for agent detection policy configuration.
6
- * These schemas define how MCP-I servers and AgentShield enforce
6
+ * These schemas define how MCP-I servers and Checkpoint enforce
7
7
  * access control based on detected agent characteristics.
8
8
  *
9
9
  * @module @kya-os/contracts/policy
@@ -209,7 +209,7 @@ export declare const JWS_ALGORITHM = "EdDSA";
209
209
  export declare const HASH_ALGORITHM = "sha256";
210
210
  export declare const AUDIT_VERSION = "audit.v1";
211
211
  /**
212
- * Tool call context for AgentShield dashboard integration
212
+ * Tool call context for Checkpoint dashboard integration
213
213
  * Provides plaintext tool execution data alongside cryptographic proofs
214
214
  */
215
215
  export declare const ToolCallContextSchema: z.ZodObject<{
@@ -232,7 +232,7 @@ export declare const ToolCallContextSchema: z.ZodObject<{
232
232
  result?: unknown;
233
233
  }>;
234
234
  /**
235
- * Proof submission context for AgentShield API
235
+ * Proof submission context for Checkpoint API
236
236
  * Includes tool calls and optional MCP server URL for tool discovery
237
237
  */
238
238
  export declare const ProofSubmissionContextSchema: z.ZodObject<{
@@ -276,7 +276,7 @@ export declare const ProofSubmissionContextSchema: z.ZodObject<{
276
276
  mcpServerUrl?: string | undefined;
277
277
  }>;
278
278
  /**
279
- * Complete proof submission request to AgentShield
279
+ * Complete proof submission request to Checkpoint
280
280
  */
281
281
  export declare const ProofSubmissionRequestSchema: z.ZodObject<{
282
282
  session_id: z.ZodString;
@@ -84,7 +84,7 @@ exports.JWS_ALGORITHM = "EdDSA";
84
84
  exports.HASH_ALGORITHM = "sha256";
85
85
  exports.AUDIT_VERSION = "audit.v1";
86
86
  /**
87
- * Tool call context for AgentShield dashboard integration
87
+ * Tool call context for Checkpoint dashboard integration
88
88
  * Provides plaintext tool execution data alongside cryptographic proofs
89
89
  */
90
90
  exports.ToolCallContextSchema = zod_1.z.object({
@@ -95,7 +95,7 @@ exports.ToolCallContextSchema = zod_1.z.object({
95
95
  userId: zod_1.z.string().optional(),
96
96
  });
97
97
  /**
98
- * Proof submission context for AgentShield API
98
+ * Proof submission context for Checkpoint API
99
99
  * Includes tool calls and optional MCP server URL for tool discovery
100
100
  */
101
101
  exports.ProofSubmissionContextSchema = zod_1.z.object({
@@ -103,7 +103,7 @@ exports.ProofSubmissionContextSchema = zod_1.z.object({
103
103
  mcpServerUrl: zod_1.z.string().url().optional(),
104
104
  });
105
105
  /**
106
- * Complete proof submission request to AgentShield
106
+ * Complete proof submission request to Checkpoint
107
107
  */
108
108
  exports.ProofSubmissionRequestSchema = zod_1.z.object({
109
109
  session_id: zod_1.z.string().min(1),
@@ -79,8 +79,8 @@ export declare const SkillManifestSchema: z.ZodObject<{
79
79
  version: string;
80
80
  tools: string[];
81
81
  description: string;
82
- requiredScopes: string[];
83
82
  instructions: string;
83
+ requiredScopes: string[];
84
84
  }, {
85
85
  name: string;
86
86
  version: string;
@@ -2,7 +2,7 @@
2
2
  * Vault API Schemas
3
3
  *
4
4
  * Shared Zod schemas for the per-user API key vault.
5
- * SSOT consumed by agent-shield (API routes) and xmcp-i (VaultResolver runtime client).
5
+ * SSOT consumed by checkpoint (API routes) and xmcp-i (VaultResolver runtime client).
6
6
  *
7
7
  * @module @kya-os/contracts/vault
8
8
  */
@@ -3,7 +3,7 @@
3
3
  * Vault API Schemas
4
4
  *
5
5
  * Shared Zod schemas for the per-user API key vault.
6
- * SSOT consumed by agent-shield (API routes) and xmcp-i (VaultResolver runtime client).
6
+ * SSOT consumed by checkpoint (API routes) and xmcp-i (VaultResolver runtime client).
7
7
  *
8
8
  * @module @kya-os/contracts/vault
9
9
  */