@kya-os/contracts 1.9.0 → 1.9.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.
Files changed (320) hide show
  1. package/dist/agent-deployment-utils.d.ts +0 -1
  2. package/dist/agent-deployment-utils.js +0 -1
  3. package/dist/agent-deployment.d.ts +0 -1
  4. package/dist/agent-deployment.js +0 -1
  5. package/dist/agentshield-api/admin-schemas.d.ts +0 -1
  6. package/dist/agentshield-api/admin-schemas.js +0 -1
  7. package/dist/agentshield-api/admin-types.d.ts +0 -1
  8. package/dist/agentshield-api/admin-types.js +0 -1
  9. package/dist/agentshield-api/endpoints.d.ts +0 -1
  10. package/dist/agentshield-api/endpoints.js +0 -1
  11. package/dist/agentshield-api/index.d.ts +0 -1
  12. package/dist/agentshield-api/schemas.d.ts +186 -186
  13. package/dist/agentshield-api/types.d.ts +0 -1
  14. package/dist/audit/index.d.ts +21 -21
  15. package/dist/cli.d.ts +0 -1
  16. package/dist/cli.js +0 -1
  17. package/dist/compute-binding.d.ts +0 -1
  18. package/dist/compute-binding.js +0 -1
  19. package/dist/compute.d.ts +19 -19
  20. package/dist/config/base.d.ts +0 -1
  21. package/dist/config/base.js +0 -1
  22. package/dist/config/builder.d.ts +0 -1
  23. package/dist/config/builder.js +0 -1
  24. package/dist/config/client-messages.d.ts +0 -1
  25. package/dist/config/client-messages.js +0 -1
  26. package/dist/config/delegation.d.ts +0 -1
  27. package/dist/config/delegation.js +0 -1
  28. package/dist/config/identity.d.ts +0 -1
  29. package/dist/config/identity.js +0 -1
  30. package/dist/config/index.d.ts +0 -1
  31. package/dist/config/index.js +0 -1
  32. package/dist/config/proofing.d.ts +0 -1
  33. package/dist/config/proofing.js +0 -1
  34. package/dist/config/tool-context.d.ts +0 -1
  35. package/dist/config/tool-context.js +0 -1
  36. package/dist/config/tool-protection.d.ts +0 -1
  37. package/dist/consent/schemas.d.ts +0 -1
  38. package/dist/consent/schemas.js +0 -1
  39. package/dist/consent/types.d.ts +0 -1
  40. package/dist/consent/types.js +0 -1
  41. package/dist/dashboard-config/default-config.d.ts +0 -1
  42. package/dist/dashboard-config/index.d.ts +0 -1
  43. package/dist/dashboard-config/schemas.d.ts +2436 -2436
  44. package/dist/dashboard-config/types.d.ts +0 -1
  45. package/dist/delegation/constraints.d.ts +0 -1
  46. package/dist/delegation/constraints.js +0 -1
  47. package/dist/delegation/index.d.ts +0 -1
  48. package/dist/delegation/index.js +0 -1
  49. package/dist/delegation/schemas.d.ts +0 -1
  50. package/dist/delegation/schemas.js +0 -1
  51. package/dist/deploy/index.d.ts +0 -1
  52. package/dist/deploy/index.js +0 -1
  53. package/dist/deploy/schemas.d.ts +0 -1
  54. package/dist/deploy/schemas.js +0 -1
  55. package/dist/deploy/types.d.ts +0 -1
  56. package/dist/deploy/types.js +0 -1
  57. package/dist/did/index.d.ts +0 -1
  58. package/dist/did/index.js +0 -1
  59. package/dist/did/resolve-contract.d.ts +0 -1
  60. package/dist/did/resolve-contract.js +0 -1
  61. package/dist/did/schemas.d.ts +0 -1
  62. package/dist/did/schemas.js +0 -1
  63. package/dist/did/types.d.ts +0 -1
  64. package/dist/did/types.js +0 -1
  65. package/dist/env/constants.d.ts +0 -1
  66. package/dist/env/constants.js +0 -1
  67. package/dist/env/index.d.ts +0 -1
  68. package/dist/env/index.js +0 -1
  69. package/dist/gateway/agents.d.ts +0 -1
  70. package/dist/gateway/agents.js +0 -1
  71. package/dist/gateway/cron.d.ts +0 -1
  72. package/dist/gateway/cron.js +0 -1
  73. package/dist/gateway/index.d.ts +0 -1
  74. package/dist/gateway/index.js +0 -1
  75. package/dist/gateway/sessions.d.ts +0 -1
  76. package/dist/gateway/sessions.js +0 -1
  77. package/dist/gateway/skills.d.ts +0 -1
  78. package/dist/gateway/skills.js +0 -1
  79. package/dist/gateway/usage.d.ts +0 -1
  80. package/dist/gateway/usage.js +0 -1
  81. package/dist/handshake.d.ts +24 -24
  82. package/dist/identity/index.d.ts +0 -1
  83. package/dist/identity/index.js +0 -1
  84. package/dist/identity/schemas.d.ts +0 -1
  85. package/dist/identity/schemas.js +0 -1
  86. package/dist/index.d.ts +0 -1
  87. package/dist/molti/admin-ws.d.ts +0 -1
  88. package/dist/molti/admin-ws.js +0 -1
  89. package/dist/molti/index.d.ts +0 -1
  90. package/dist/molti/index.js +0 -1
  91. package/dist/molti/schemas.d.ts +0 -1
  92. package/dist/molti/schemas.js +0 -1
  93. package/dist/molti/types.d.ts +0 -1
  94. package/dist/molti/types.js +0 -1
  95. package/dist/pairing/index.d.ts +0 -1
  96. package/dist/pairing/index.js +0 -1
  97. package/dist/policy/index.d.ts +0 -1
  98. package/dist/policy/index.js +0 -1
  99. package/dist/policy/schemas.d.ts +0 -1
  100. package/dist/policy/schemas.js +0 -1
  101. package/dist/proof/proof-record.d.ts +0 -1
  102. package/dist/proof/proof-record.js +0 -1
  103. package/dist/proof/signing-spec.d.ts +0 -1
  104. package/dist/proof/signing-spec.js +0 -1
  105. package/dist/proof.d.ts +66 -66
  106. package/dist/registry.d.ts +0 -1
  107. package/dist/registry.js +0 -1
  108. package/dist/reputation/api.d.ts +0 -1
  109. package/dist/reputation/api.js +0 -1
  110. package/dist/reputation/constants.d.ts +0 -1
  111. package/dist/reputation/constants.js +0 -1
  112. package/dist/reputation/credentials.d.ts +0 -1
  113. package/dist/reputation/credentials.js +0 -1
  114. package/dist/reputation/index.d.ts +1 -1
  115. package/dist/reputation/index.js +2 -1
  116. package/dist/reputation/interactions.d.ts +146 -0
  117. package/dist/reputation/interactions.js +82 -0
  118. package/dist/reputation/schemas.d.ts +0 -1
  119. package/dist/reputation/schemas.js +0 -1
  120. package/dist/runtime/errors.d.ts +0 -1
  121. package/dist/runtime/errors.js +0 -1
  122. package/dist/runtime/index.d.ts +0 -1
  123. package/dist/test.d.ts +0 -1
  124. package/dist/test.js +0 -1
  125. package/dist/tlkrc/index.d.ts +0 -1
  126. package/dist/tlkrc/index.js +0 -1
  127. package/dist/tlkrc/rotation.d.ts +0 -1
  128. package/dist/tlkrc/rotation.js +0 -1
  129. package/dist/tool-protection/index.d.ts +36 -36
  130. package/dist/utils/validation.d.ts +0 -1
  131. package/dist/utils/validation.js +0 -1
  132. package/dist/vault/schemas.d.ts +2 -2
  133. package/dist/vc/index.d.ts +0 -1
  134. package/dist/vc/index.js +0 -1
  135. package/dist/vc/schemas.d.ts +0 -1
  136. package/dist/vc/schemas.js +0 -1
  137. package/dist/vc/statuslist.d.ts +0 -1
  138. package/dist/vc/statuslist.js +0 -1
  139. package/dist/verifier/index.d.ts +0 -1
  140. package/dist/verifier.d.ts +6 -6
  141. package/dist/well-known/index.d.ts +0 -1
  142. package/dist/well-known/index.js +0 -1
  143. package/package.json +1 -1
  144. package/dist/__fixtures__/index.d.ts +0 -8
  145. package/dist/__fixtures__/index.d.ts.map +0 -1
  146. package/dist/__fixtures__/index.js +0 -29
  147. package/dist/__fixtures__/index.js.map +0 -1
  148. package/dist/__fixtures__/proof/ed25519-fixtures.d.ts +0 -253
  149. package/dist/__fixtures__/proof/ed25519-fixtures.d.ts.map +0 -1
  150. package/dist/__fixtures__/proof/ed25519-fixtures.js +0 -247
  151. package/dist/__fixtures__/proof/ed25519-fixtures.js.map +0 -1
  152. package/dist/__fixtures__/proof/keys-and-payloads.json +0 -103
  153. package/dist/agent-deployment-utils.d.ts.map +0 -1
  154. package/dist/agent-deployment-utils.js.map +0 -1
  155. package/dist/agent-deployment.d.ts.map +0 -1
  156. package/dist/agent-deployment.js.map +0 -1
  157. package/dist/agentshield-api/admin-schemas.d.ts.map +0 -1
  158. package/dist/agentshield-api/admin-schemas.js.map +0 -1
  159. package/dist/agentshield-api/admin-types.d.ts.map +0 -1
  160. package/dist/agentshield-api/admin-types.js.map +0 -1
  161. package/dist/agentshield-api/endpoints.d.ts.map +0 -1
  162. package/dist/agentshield-api/endpoints.js.map +0 -1
  163. package/dist/agentshield-api/index.d.ts.map +0 -1
  164. package/dist/agentshield-api/index.js.map +0 -1
  165. package/dist/agentshield-api/schemas.d.ts.map +0 -1
  166. package/dist/agentshield-api/schemas.js.map +0 -1
  167. package/dist/agentshield-api/types.d.ts.map +0 -1
  168. package/dist/agentshield-api/types.js.map +0 -1
  169. package/dist/audit/index.d.ts.map +0 -1
  170. package/dist/audit/index.js.map +0 -1
  171. package/dist/cli.d.ts.map +0 -1
  172. package/dist/cli.js.map +0 -1
  173. package/dist/compute-binding.d.ts.map +0 -1
  174. package/dist/compute-binding.js.map +0 -1
  175. package/dist/compute.d.ts.map +0 -1
  176. package/dist/compute.js.map +0 -1
  177. package/dist/config/base.d.ts.map +0 -1
  178. package/dist/config/base.js.map +0 -1
  179. package/dist/config/builder.d.ts.map +0 -1
  180. package/dist/config/builder.js.map +0 -1
  181. package/dist/config/client-messages.d.ts.map +0 -1
  182. package/dist/config/client-messages.js.map +0 -1
  183. package/dist/config/delegation.d.ts.map +0 -1
  184. package/dist/config/delegation.js.map +0 -1
  185. package/dist/config/identity.d.ts.map +0 -1
  186. package/dist/config/identity.js.map +0 -1
  187. package/dist/config/index.d.ts.map +0 -1
  188. package/dist/config/index.js.map +0 -1
  189. package/dist/config/proofing.d.ts.map +0 -1
  190. package/dist/config/proofing.js.map +0 -1
  191. package/dist/config/tool-context.d.ts.map +0 -1
  192. package/dist/config/tool-context.js.map +0 -1
  193. package/dist/config/tool-protection.d.ts.map +0 -1
  194. package/dist/config/tool-protection.js.map +0 -1
  195. package/dist/consent/index.d.ts.map +0 -1
  196. package/dist/consent/index.js.map +0 -1
  197. package/dist/consent/schemas.d.ts.map +0 -1
  198. package/dist/consent/schemas.js.map +0 -1
  199. package/dist/consent/types.d.ts.map +0 -1
  200. package/dist/consent/types.js.map +0 -1
  201. package/dist/dashboard-config/default-config.d.ts.map +0 -1
  202. package/dist/dashboard-config/default-config.js.map +0 -1
  203. package/dist/dashboard-config/index.d.ts.map +0 -1
  204. package/dist/dashboard-config/index.js.map +0 -1
  205. package/dist/dashboard-config/schemas.d.ts.map +0 -1
  206. package/dist/dashboard-config/schemas.js.map +0 -1
  207. package/dist/dashboard-config/types.d.ts.map +0 -1
  208. package/dist/dashboard-config/types.js.map +0 -1
  209. package/dist/delegation/constraints.d.ts.map +0 -1
  210. package/dist/delegation/constraints.js.map +0 -1
  211. package/dist/delegation/index.d.ts.map +0 -1
  212. package/dist/delegation/index.js.map +0 -1
  213. package/dist/delegation/schemas.d.ts.map +0 -1
  214. package/dist/delegation/schemas.js.map +0 -1
  215. package/dist/deploy/index.d.ts.map +0 -1
  216. package/dist/deploy/index.js.map +0 -1
  217. package/dist/deploy/schemas.d.ts.map +0 -1
  218. package/dist/deploy/schemas.js.map +0 -1
  219. package/dist/deploy/types.d.ts.map +0 -1
  220. package/dist/deploy/types.js.map +0 -1
  221. package/dist/did/index.d.ts.map +0 -1
  222. package/dist/did/index.js.map +0 -1
  223. package/dist/did/resolve-contract.d.ts.map +0 -1
  224. package/dist/did/resolve-contract.js.map +0 -1
  225. package/dist/did/schemas.d.ts.map +0 -1
  226. package/dist/did/schemas.js.map +0 -1
  227. package/dist/did/types.d.ts.map +0 -1
  228. package/dist/did/types.js.map +0 -1
  229. package/dist/env/constants.d.ts.map +0 -1
  230. package/dist/env/constants.js.map +0 -1
  231. package/dist/env/index.d.ts.map +0 -1
  232. package/dist/env/index.js.map +0 -1
  233. package/dist/gateway/agents.d.ts.map +0 -1
  234. package/dist/gateway/agents.js.map +0 -1
  235. package/dist/gateway/cron.d.ts.map +0 -1
  236. package/dist/gateway/cron.js.map +0 -1
  237. package/dist/gateway/index.d.ts.map +0 -1
  238. package/dist/gateway/index.js.map +0 -1
  239. package/dist/gateway/sessions.d.ts.map +0 -1
  240. package/dist/gateway/sessions.js.map +0 -1
  241. package/dist/gateway/skills.d.ts.map +0 -1
  242. package/dist/gateway/skills.js.map +0 -1
  243. package/dist/gateway/usage.d.ts.map +0 -1
  244. package/dist/gateway/usage.js.map +0 -1
  245. package/dist/handshake.d.ts.map +0 -1
  246. package/dist/handshake.js.map +0 -1
  247. package/dist/identity/index.d.ts.map +0 -1
  248. package/dist/identity/index.js.map +0 -1
  249. package/dist/identity/schemas.d.ts.map +0 -1
  250. package/dist/identity/schemas.js.map +0 -1
  251. package/dist/index.d.ts.map +0 -1
  252. package/dist/index.js.map +0 -1
  253. package/dist/molti/admin-ws.d.ts.map +0 -1
  254. package/dist/molti/admin-ws.js.map +0 -1
  255. package/dist/molti/index.d.ts.map +0 -1
  256. package/dist/molti/index.js.map +0 -1
  257. package/dist/molti/schemas.d.ts.map +0 -1
  258. package/dist/molti/schemas.js.map +0 -1
  259. package/dist/molti/types.d.ts.map +0 -1
  260. package/dist/molti/types.js.map +0 -1
  261. package/dist/openclaw/index.d.ts +0 -20
  262. package/dist/openclaw/index.js +0 -28
  263. package/dist/openclaw/types.d.ts +0 -714
  264. package/dist/openclaw/types.js +0 -122
  265. package/dist/org-secret-definitions.d.ts +0 -18
  266. package/dist/org-secret-definitions.js +0 -72
  267. package/dist/pairing/index.d.ts.map +0 -1
  268. package/dist/pairing/index.js.map +0 -1
  269. package/dist/policy/index.d.ts.map +0 -1
  270. package/dist/policy/index.js.map +0 -1
  271. package/dist/policy/schemas.d.ts.map +0 -1
  272. package/dist/policy/schemas.js.map +0 -1
  273. package/dist/proof/index.d.ts.map +0 -1
  274. package/dist/proof/index.js.map +0 -1
  275. package/dist/proof/proof-record.d.ts.map +0 -1
  276. package/dist/proof/proof-record.js.map +0 -1
  277. package/dist/proof/signing-spec.d.ts.map +0 -1
  278. package/dist/proof/signing-spec.js.map +0 -1
  279. package/dist/proof.d.ts.map +0 -1
  280. package/dist/proof.js.map +0 -1
  281. package/dist/registry.d.ts.map +0 -1
  282. package/dist/registry.js.map +0 -1
  283. package/dist/reputation/api.d.ts.map +0 -1
  284. package/dist/reputation/api.js.map +0 -1
  285. package/dist/reputation/constants.d.ts.map +0 -1
  286. package/dist/reputation/constants.js.map +0 -1
  287. package/dist/reputation/credentials.d.ts.map +0 -1
  288. package/dist/reputation/credentials.js.map +0 -1
  289. package/dist/reputation/index.d.ts.map +0 -1
  290. package/dist/reputation/index.js.map +0 -1
  291. package/dist/reputation/schemas.d.ts.map +0 -1
  292. package/dist/reputation/schemas.js.map +0 -1
  293. package/dist/runtime/errors.d.ts.map +0 -1
  294. package/dist/runtime/errors.js.map +0 -1
  295. package/dist/runtime/headers.d.ts.map +0 -1
  296. package/dist/runtime/headers.js.map +0 -1
  297. package/dist/runtime/index.d.ts.map +0 -1
  298. package/dist/runtime/index.js.map +0 -1
  299. package/dist/test.d.ts.map +0 -1
  300. package/dist/test.js.map +0 -1
  301. package/dist/tlkrc/index.d.ts.map +0 -1
  302. package/dist/tlkrc/index.js.map +0 -1
  303. package/dist/tlkrc/rotation.d.ts.map +0 -1
  304. package/dist/tlkrc/rotation.js.map +0 -1
  305. package/dist/tool-protection/index.d.ts.map +0 -1
  306. package/dist/tool-protection/index.js.map +0 -1
  307. package/dist/utils/validation.d.ts.map +0 -1
  308. package/dist/utils/validation.js.map +0 -1
  309. package/dist/vc/index.d.ts.map +0 -1
  310. package/dist/vc/index.js.map +0 -1
  311. package/dist/vc/schemas.d.ts.map +0 -1
  312. package/dist/vc/schemas.js.map +0 -1
  313. package/dist/vc/statuslist.d.ts.map +0 -1
  314. package/dist/vc/statuslist.js.map +0 -1
  315. package/dist/verifier/index.d.ts.map +0 -1
  316. package/dist/verifier/index.js.map +0 -1
  317. package/dist/verifier.d.ts.map +0 -1
  318. package/dist/verifier.js.map +0 -1
  319. package/dist/well-known/index.d.ts.map +0 -1
  320. package/dist/well-known/index.js.map +0 -1
@@ -372,4 +372,3 @@ export interface ValidateServerConfigResponse {
372
372
  timestamp?: string;
373
373
  };
374
374
  }
375
- //# sourceMappingURL=types.d.ts.map
@@ -1019,4 +1019,3 @@ export declare const MAX_BUDGET_CAP: number;
1019
1019
  * Maximum reasonable window duration (10 years in seconds)
1020
1020
  */
1021
1021
  export declare const MAX_WINDOW_DURATION_SEC: number;
1022
- //# sourceMappingURL=constraints.d.ts.map
@@ -216,4 +216,3 @@ exports.MAX_BUDGET_CAP = Number.MAX_SAFE_INTEGER;
216
216
  * Maximum reasonable window duration (10 years in seconds)
217
217
  */
218
218
  exports.MAX_WINDOW_DURATION_SEC = 10 * 365 * 24 * 60 * 60;
219
- //# sourceMappingURL=constraints.js.map
@@ -5,4 +5,3 @@
5
5
  */
6
6
  export * from './schemas.js';
7
7
  export * from './constraints.js';
8
- //# sourceMappingURL=index.d.ts.map
@@ -21,4 +21,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
21
21
  Object.defineProperty(exports, "__esModule", { value: true });
22
22
  __exportStar(require("./schemas.js"), exports);
23
23
  __exportStar(require("./constraints.js"), exports);
24
- //# sourceMappingURL=index.js.map
@@ -9300,4 +9300,3 @@ export declare function isDelegationCredentialExpired(vc: DelegationCredential):
9300
9300
  * @returns true if not yet valid
9301
9301
  */
9302
9302
  export declare function isDelegationCredentialNotYetValid(vc: DelegationCredential): boolean;
9303
- //# sourceMappingURL=schemas.d.ts.map
@@ -583,4 +583,3 @@ function isDelegationCredentialNotYetValid(vc) {
583
583
  }
584
584
  return false;
585
585
  }
586
- //# sourceMappingURL=schemas.js.map
@@ -25,4 +25,3 @@
25
25
  */
26
26
  export type { TemplateType, DeployPlatformType, GitHubAccountType, GitHubInstallation, GitHubRepository, GitHubInstallInitResponse, GitHubCallbackQuery, GitHubCallbackResponse, GitHubStatusResponse, GitHubDisconnectResponse, DeployErrorCode, DeployToGitHubRequest, DeployedProject, DeployToGitHubData, DeployToGitHubResponse, DeployErrorResponse, DeployToGitHubResult, DeployedRepository, ListDeployedRepositoriesResponse, GeneratedFile, ScaffolderOptions, ScaffolderResult, DeployStepStatus, DeployStep, DeploymentProgress, GitHubStatusAPIResponse, DeployToGitHubAPIResponse, } from "./types.js";
27
27
  export { templateTypeSchema, deployPlatformSchema, gitHubAccountTypeSchema, gitHubInstallationSchema, gitHubRepositorySchema, gitHubInstallInitResponseSchema, gitHubCallbackQuerySchema, gitHubCallbackResponseSchema, gitHubStatusResponseSchema, gitHubDisconnectResponseSchema, deployErrorCodeSchema, repoNameSchema, deployToGitHubRequestSchema, deployedProjectSchema, deployToGitHubDataSchema, deployToGitHubResponseSchema, deployErrorResponseSchema, deployToGitHubResultSchema, deployedRepositorySchema, listDeployedRepositoriesResponseSchema, generatedFileSchema, scaffolderOptionsSchema, scaffolderResultSchema, deployStepStatusSchema, deployStepSchema, deploymentProgressSchema, } from "./schemas.js";
28
- //# sourceMappingURL=index.d.ts.map
@@ -60,4 +60,3 @@ Object.defineProperty(exports, "scaffolderResultSchema", { enumerable: true, get
60
60
  Object.defineProperty(exports, "deployStepStatusSchema", { enumerable: true, get: function () { return schemas_js_1.deployStepStatusSchema; } });
61
61
  Object.defineProperty(exports, "deployStepSchema", { enumerable: true, get: function () { return schemas_js_1.deployStepSchema; } });
62
62
  Object.defineProperty(exports, "deploymentProgressSchema", { enumerable: true, get: function () { return schemas_js_1.deploymentProgressSchema; } });
63
- //# sourceMappingURL=index.js.map
@@ -999,4 +999,3 @@ export declare const deploymentProgressSchema: z.ZodObject<{
999
999
  totalSteps: number;
1000
1000
  overallStatus: "pending" | "in_progress" | "completed" | "failed";
1001
1001
  }>;
1002
- //# sourceMappingURL=schemas.d.ts.map
@@ -282,4 +282,3 @@ exports.deploymentProgressSchema = zod_1.z.object({
282
282
  totalSteps: zod_1.z.number().int().positive(),
283
283
  overallStatus: zod_1.z.enum(["pending", "in_progress", "completed", "failed"]),
284
284
  });
285
- //# sourceMappingURL=schemas.js.map
@@ -254,4 +254,3 @@ export type GitHubStatusAPIResponse = AgentShieldAPIResponse<GitHubStatusRespons
254
254
  * Wrapped deploy response
255
255
  */
256
256
  export type DeployToGitHubAPIResponse = AgentShieldAPIResponse<DeployToGitHubData>;
257
- //# sourceMappingURL=types.d.ts.map
@@ -8,4 +8,3 @@
8
8
  * @package @kya-os/contracts/deploy
9
9
  */
10
10
  Object.defineProperty(exports, "__esModule", { value: true });
11
- //# sourceMappingURL=types.js.map
@@ -6,4 +6,3 @@
6
6
  export * from './types.js';
7
7
  export * from './resolve-contract.js';
8
8
  export * from './schemas.js';
9
- //# sourceMappingURL=index.d.ts.map
package/dist/did/index.js CHANGED
@@ -22,4 +22,3 @@ Object.defineProperty(exports, "__esModule", { value: true });
22
22
  __exportStar(require("./types.js"), exports);
23
23
  __exportStar(require("./resolve-contract.js"), exports);
24
24
  __exportStar(require("./schemas.js"), exports);
25
- //# sourceMappingURL=index.js.map
@@ -217,4 +217,3 @@ export declare const RESOLUTION_ERROR_CODES: {
217
217
  readonly INTERNAL_ERROR: "internalError";
218
218
  };
219
219
  export type ResolutionErrorCode = (typeof RESOLUTION_ERROR_CODES)[keyof typeof RESOLUTION_ERROR_CODES];
220
- //# sourceMappingURL=resolve-contract.d.ts.map
@@ -29,4 +29,3 @@ exports.RESOLUTION_ERROR_CODES = {
29
29
  /** Internal resolver error */
30
30
  INTERNAL_ERROR: 'internalError',
31
31
  };
32
- //# sourceMappingURL=resolve-contract.js.map
@@ -110,4 +110,3 @@ export declare function safeValidateDidDocument(doc: unknown): {
110
110
  data?: DidDocument;
111
111
  error?: z.ZodError;
112
112
  };
113
- //# sourceMappingURL=schemas.d.ts.map
@@ -170,4 +170,3 @@ function safeValidateDidDocument(doc) {
170
170
  }
171
171
  return { success: false, error: result.error };
172
172
  }
173
- //# sourceMappingURL=schemas.js.map
@@ -161,4 +161,3 @@ export declare function extractDidMethod(did: string): string | null;
161
161
  * @returns The fragment part (e.g., "key-1") or null if no fragment
162
162
  */
163
163
  export declare function extractKeyId(didUrl: string): string | null;
164
- //# sourceMappingURL=types.d.ts.map
package/dist/did/types.js CHANGED
@@ -68,4 +68,3 @@ function extractKeyId(didUrl) {
68
68
  }
69
69
  return didUrl.substring(hashIndex + 1);
70
70
  }
71
- //# sourceMappingURL=types.js.map
@@ -55,4 +55,3 @@ export declare const PROOF_ARCHIVE_TTL_SEC: number;
55
55
  * Key rotation grace period in seconds (24 hours)
56
56
  */
57
57
  export declare const KEY_ROTATION_GRACE_PERIOD_SEC: number;
58
- //# sourceMappingURL=constants.d.ts.map
@@ -57,4 +57,3 @@ exports.PROOF_ARCHIVE_TTL_SEC = 30 * 24 * 60 * 60;
57
57
  * Key rotation grace period in seconds (24 hours)
58
58
  */
59
59
  exports.KEY_ROTATION_GRACE_PERIOD_SEC = 24 * 60 * 60;
60
- //# sourceMappingURL=constants.js.map
@@ -2,4 +2,3 @@
2
2
  * Environment Constants Module
3
3
  */
4
4
  export * from './constants.js';
5
- //# sourceMappingURL=index.d.ts.map
package/dist/env/index.js CHANGED
@@ -18,4 +18,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
18
18
  };
19
19
  Object.defineProperty(exports, "__esModule", { value: true });
20
20
  __exportStar(require("./constants.js"), exports);
21
- //# sourceMappingURL=index.js.map
@@ -19,4 +19,3 @@ export declare const agentEntrySchema: z.ZodObject<{
19
19
  persona?: string | undefined;
20
20
  }>;
21
21
  export type AgentEntry = z.infer<typeof agentEntrySchema>;
22
- //# sourceMappingURL=agents.d.ts.map
@@ -10,4 +10,3 @@ exports.agentEntrySchema = zod_1.z.object({
10
10
  defaultModel: zod_1.z.string().optional(),
11
11
  persona: zod_1.z.string().optional(),
12
12
  });
13
- //# sourceMappingURL=agents.js.map
@@ -31,4 +31,3 @@ export declare const cronJobSchema: z.ZodObject<{
31
31
  task?: string | undefined;
32
32
  }>;
33
33
  export type CronJob = z.infer<typeof cronJobSchema>;
34
- //# sourceMappingURL=cron.d.ts.map
@@ -14,4 +14,3 @@ exports.cronJobSchema = zod_1.z.object({
14
14
  model: zod_1.z.string().optional().nullable(),
15
15
  task: zod_1.z.string().optional(),
16
16
  });
17
- //# sourceMappingURL=cron.js.map
@@ -18,4 +18,3 @@ export { sessionEntrySchema, type SessionEntry, } from "./sessions.js";
18
18
  export { cronJobSchema, type CronJob, } from "./cron.js";
19
19
  export { agentEntrySchema, type AgentEntry, } from "./agents.js";
20
20
  export { usageCostSchema, type UsageCost, } from "./usage.js";
21
- //# sourceMappingURL=index.d.ts.map
@@ -35,4 +35,3 @@ Object.defineProperty(exports, "agentEntrySchema", { enumerable: true, get: func
35
35
  var usage_js_1 = require("./usage.js");
36
36
  // usage.cost
37
37
  Object.defineProperty(exports, "usageCostSchema", { enumerable: true, get: function () { return usage_js_1.usageCostSchema; } });
38
- //# sourceMappingURL=index.js.map
@@ -28,4 +28,3 @@ export declare const sessionEntrySchema: z.ZodObject<{
28
28
  messageCount?: number | undefined;
29
29
  }>;
30
30
  export type SessionEntry = z.infer<typeof sessionEntrySchema>;
31
- //# sourceMappingURL=sessions.d.ts.map
@@ -13,4 +13,3 @@ exports.sessionEntrySchema = zod_1.z.object({
13
13
  updatedAt: zod_1.z.number().optional(),
14
14
  messageCount: zod_1.z.number().optional(),
15
15
  });
16
- //# sourceMappingURL=sessions.js.map
@@ -443,4 +443,3 @@ export declare const skillStatusReportSchema: z.ZodObject<{
443
443
  }[];
444
444
  }>;
445
445
  export type SkillStatusReport = z.infer<typeof skillStatusReportSchema>;
446
- //# sourceMappingURL=skills.d.ts.map
@@ -45,4 +45,3 @@ exports.skillStatusReportSchema = zod_1.z.object({
45
45
  managedSkillsDir: zod_1.z.string(),
46
46
  skills: zod_1.z.array(exports.skillStatusEntrySchema),
47
47
  });
48
- //# sourceMappingURL=skills.js.map
@@ -41,4 +41,3 @@ export declare const usageCostSchema: z.ZodObject<{
41
41
  }[] | undefined;
42
42
  }>;
43
43
  export type UsageCost = z.infer<typeof usageCostSchema>;
44
- //# sourceMappingURL=usage.d.ts.map
@@ -16,4 +16,3 @@ exports.usageCostSchema = zod_1.z.object({
16
16
  }))
17
17
  .optional(),
18
18
  });
19
- //# sourceMappingURL=usage.js.map
@@ -23,15 +23,15 @@ export declare const MCPClientInfoSchema: z.ZodObject<{
23
23
  persistentId: z.ZodOptional<z.ZodString>;
24
24
  }, "strip", z.ZodTypeAny, {
25
25
  name: string;
26
- title?: string | undefined;
27
26
  version?: string | undefined;
27
+ title?: string | undefined;
28
28
  platform?: string | undefined;
29
29
  vendor?: string | undefined;
30
30
  persistentId?: string | undefined;
31
31
  }, {
32
32
  name: string;
33
- title?: string | undefined;
34
33
  version?: string | undefined;
34
+ title?: string | undefined;
35
35
  platform?: string | undefined;
36
36
  vendor?: string | undefined;
37
37
  persistentId?: string | undefined;
@@ -50,8 +50,8 @@ export declare const MCPClientSessionInfoSchema: z.ZodObject<{
50
50
  }, "strip", z.ZodTypeAny, {
51
51
  name: string;
52
52
  clientId: string;
53
- title?: string | undefined;
54
53
  version?: string | undefined;
54
+ title?: string | undefined;
55
55
  platform?: string | undefined;
56
56
  vendor?: string | undefined;
57
57
  persistentId?: string | undefined;
@@ -60,8 +60,8 @@ export declare const MCPClientSessionInfoSchema: z.ZodObject<{
60
60
  }, {
61
61
  name: string;
62
62
  clientId: string;
63
- title?: string | undefined;
64
63
  version?: string | undefined;
64
+ title?: string | undefined;
65
65
  platform?: string | undefined;
66
66
  vendor?: string | undefined;
67
67
  persistentId?: string | undefined;
@@ -84,52 +84,52 @@ export declare const HandshakeRequestSchema: z.ZodObject<{
84
84
  clientId: z.ZodOptional<z.ZodString>;
85
85
  }, "strip", z.ZodTypeAny, {
86
86
  name: string;
87
- title?: string | undefined;
87
+ clientId?: string | undefined;
88
88
  version?: string | undefined;
89
+ title?: string | undefined;
89
90
  platform?: string | undefined;
90
91
  vendor?: string | undefined;
91
92
  persistentId?: string | undefined;
92
- clientId?: string | undefined;
93
93
  }, {
94
94
  name: string;
95
- title?: string | undefined;
95
+ clientId?: string | undefined;
96
96
  version?: string | undefined;
97
+ title?: string | undefined;
97
98
  platform?: string | undefined;
98
99
  vendor?: string | undefined;
99
100
  persistentId?: string | undefined;
100
- clientId?: string | undefined;
101
101
  }>>;
102
102
  clientProtocolVersion: z.ZodOptional<z.ZodString>;
103
103
  clientCapabilities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
104
104
  }, "strip", z.ZodTypeAny, {
105
+ timestamp: number;
105
106
  nonce: string;
106
107
  audience: string;
107
- timestamp: number;
108
108
  agentDid?: string | undefined;
109
109
  clientInfo?: {
110
110
  name: string;
111
- title?: string | undefined;
111
+ clientId?: string | undefined;
112
112
  version?: string | undefined;
113
+ title?: string | undefined;
113
114
  platform?: string | undefined;
114
115
  vendor?: string | undefined;
115
116
  persistentId?: string | undefined;
116
- clientId?: string | undefined;
117
117
  } | undefined;
118
118
  clientProtocolVersion?: string | undefined;
119
119
  clientCapabilities?: Record<string, unknown> | undefined;
120
120
  }, {
121
+ timestamp: number;
121
122
  nonce: string;
122
123
  audience: string;
123
- timestamp: number;
124
124
  agentDid?: string | undefined;
125
125
  clientInfo?: {
126
126
  name: string;
127
- title?: string | undefined;
127
+ clientId?: string | undefined;
128
128
  version?: string | undefined;
129
+ title?: string | undefined;
129
130
  platform?: string | undefined;
130
131
  vendor?: string | undefined;
131
132
  persistentId?: string | undefined;
132
- clientId?: string | undefined;
133
133
  } | undefined;
134
134
  clientProtocolVersion?: string | undefined;
135
135
  clientCapabilities?: Record<string, unknown> | undefined;
@@ -160,8 +160,8 @@ export declare const SessionContextSchema: z.ZodObject<{
160
160
  }, "strip", z.ZodTypeAny, {
161
161
  name: string;
162
162
  clientId: string;
163
- title?: string | undefined;
164
163
  version?: string | undefined;
164
+ title?: string | undefined;
165
165
  platform?: string | undefined;
166
166
  vendor?: string | undefined;
167
167
  persistentId?: string | undefined;
@@ -170,8 +170,8 @@ export declare const SessionContextSchema: z.ZodObject<{
170
170
  }, {
171
171
  name: string;
172
172
  clientId: string;
173
- title?: string | undefined;
174
173
  version?: string | undefined;
174
+ title?: string | undefined;
175
175
  platform?: string | undefined;
176
176
  vendor?: string | undefined;
177
177
  persistentId?: string | undefined;
@@ -222,20 +222,20 @@ export declare const SessionContextSchema: z.ZodObject<{
222
222
  */
223
223
  delegationScopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
224
224
  }, "strip", z.ZodTypeAny, {
225
+ timestamp: number;
226
+ createdAt: number;
225
227
  nonce: string;
226
228
  audience: string;
227
- timestamp: number;
228
229
  sessionId: string;
229
- createdAt: number;
230
230
  lastActivity: number;
231
231
  ttlMinutes: number;
232
- identityState: "anonymous" | "authenticated";
232
+ identityState: "authenticated" | "anonymous";
233
233
  agentDid?: string | undefined;
234
234
  clientInfo?: {
235
235
  name: string;
236
236
  clientId: string;
237
- title?: string | undefined;
238
237
  version?: string | undefined;
238
+ title?: string | undefined;
239
239
  platform?: string | undefined;
240
240
  vendor?: string | undefined;
241
241
  persistentId?: string | undefined;
@@ -255,18 +255,18 @@ export declare const SessionContextSchema: z.ZodObject<{
255
255
  delegationChain?: string | undefined;
256
256
  delegationScopes?: string[] | undefined;
257
257
  }, {
258
+ timestamp: number;
259
+ createdAt: number;
258
260
  nonce: string;
259
261
  audience: string;
260
- timestamp: number;
261
262
  sessionId: string;
262
- createdAt: number;
263
263
  lastActivity: number;
264
264
  agentDid?: string | undefined;
265
265
  clientInfo?: {
266
266
  name: string;
267
267
  clientId: string;
268
- title?: string | undefined;
269
268
  version?: string | undefined;
269
+ title?: string | undefined;
270
270
  platform?: string | undefined;
271
271
  vendor?: string | undefined;
272
272
  persistentId?: string | undefined;
@@ -277,7 +277,7 @@ export declare const SessionContextSchema: z.ZodObject<{
277
277
  serverDid?: string | undefined;
278
278
  clientDid?: string | undefined;
279
279
  userDid?: string | undefined;
280
- identityState?: "anonymous" | "authenticated" | undefined;
280
+ identityState?: "authenticated" | "anonymous" | undefined;
281
281
  oauthIdentity?: {
282
282
  provider: string;
283
283
  subject: string;
@@ -8,4 +8,3 @@
8
8
  */
9
9
  export * from "./schemas.js";
10
10
  export { KTARegistration, KTARegistrationSchema, AgentIdentity, AgentIdentitySchema, } from "../config/identity.js";
11
- //# sourceMappingURL=index.d.ts.map
@@ -28,4 +28,3 @@ __exportStar(require("./schemas.js"), exports);
28
28
  var identity_js_1 = require("../config/identity.js");
29
29
  Object.defineProperty(exports, "KTARegistrationSchema", { enumerable: true, get: function () { return identity_js_1.KTARegistrationSchema; } });
30
30
  Object.defineProperty(exports, "AgentIdentitySchema", { enumerable: true, get: function () { return identity_js_1.AgentIdentitySchema; } });
31
- //# sourceMappingURL=index.js.map
@@ -248,4 +248,3 @@ export declare function safeParseIdentityResolveResponse(data: unknown): {
248
248
  success: false;
249
249
  error: z.ZodError;
250
250
  };
251
- //# sourceMappingURL=schemas.d.ts.map
@@ -113,4 +113,3 @@ function safeParseIdentityResolveResponse(data) {
113
113
  }
114
114
  return { success: false, error: result.error };
115
115
  }
116
- //# sourceMappingURL=schemas.js.map
package/dist/index.d.ts CHANGED
@@ -26,4 +26,3 @@ export * from "./policy/index.js";
26
26
  export * from "./pairing/index.js";
27
27
  export declare const CONTRACTS_VERSION = "1.2.1";
28
28
  export declare const SUPPORTED_XMCP_I_VERSION = "^1.0.0";
29
- //# sourceMappingURL=index.d.ts.map
@@ -1869,4 +1869,3 @@ export declare const adminWSTicketResponseSchema: z.ZodObject<{
1869
1869
  }, {
1870
1870
  ticket: string;
1871
1871
  }>;
1872
- //# sourceMappingURL=admin-ws.d.ts.map
@@ -175,4 +175,3 @@ exports.adminWSClientMessageSchema = zod_1.z.discriminatedUnion("type", [
175
175
  exports.adminWSTicketResponseSchema = zod_1.z.object({
176
176
  ticket: zod_1.z.string(),
177
177
  });
178
- //# sourceMappingURL=admin-ws.js.map
@@ -28,4 +28,3 @@ export type { AdminWSDevice, AdminWSPairing, AdminWSGatewayStatus, AdminWSFullSt
28
28
  export { MOLTI_DEPLOY_STEP_NAMES } from "./types.js";
29
29
  export { moltiIdentityConfigSchema, moltiInstanceTypeSchema, moltiContainerStatusSchema, moltiDeployConfigSchema, moltiDeployRequestSchema, moltiDeployStartResponseSchema, moltiDeployStepIdSchema, moltiDeployStepStatusSchema, moltiDeployStepSchema, moltiDeployProgressSchema, moltiDeployResultSchema, moltiDeployErrorCodeSchema, moltiDeployErrorResponseSchema, moltiDeploySuccessResponseSchema, moltiDeployResponseSchema, moltiHealthStatusSchema, moltiSSEProgressEventSchema, moltiSSECompleteEventSchema, moltiSSEErrorEventSchema, moltiSSEKeepaliveEventSchema, moltiSSEEventSchema, } from "./schemas.js";
30
30
  export { adminWSDeviceSchema, adminWSPairingSchema, adminWSGatewayStatusSchema, adminWSFullStateSchema, adminWSConnectedMessageSchema, adminWSFullStateMessageSchema, adminWSDevicesMessageSchema, adminWSPairingsMessageSchema, adminWSGatewayMessageSchema, adminWSPingMessageSchema, adminWSErrorMessageSchema, adminWSCommandResultMessageSchema, adminWSServerMessageSchema, adminWSPongMessageSchema, adminWSRefreshMessageSchema, adminWSApprovePairingCommandSchema, adminWSApproveDeviceCommandSchema, adminWSApproveAllPairingsCommandSchema, adminWSApproveAllDevicesCommandSchema, adminWSCommandSchema, adminWSClientMessageSchema, adminWSTicketResponseSchema, } from "./admin-ws.js";
31
- //# sourceMappingURL=index.d.ts.map
@@ -84,4 +84,3 @@ Object.defineProperty(exports, "adminWSApproveAllDevicesCommandSchema", { enumer
84
84
  Object.defineProperty(exports, "adminWSCommandSchema", { enumerable: true, get: function () { return admin_ws_js_1.adminWSCommandSchema; } });
85
85
  Object.defineProperty(exports, "adminWSClientMessageSchema", { enumerable: true, get: function () { return admin_ws_js_1.adminWSClientMessageSchema; } });
86
86
  Object.defineProperty(exports, "adminWSTicketResponseSchema", { enumerable: true, get: function () { return admin_ws_js_1.adminWSTicketResponseSchema; } });
87
- //# sourceMappingURL=index.js.map
@@ -835,4 +835,3 @@ export declare const moltiSSEEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
835
835
  timestamp: string;
836
836
  };
837
837
  }>]>;
838
- //# sourceMappingURL=schemas.d.ts.map
@@ -265,4 +265,3 @@ exports.moltiSSEEventSchema = zod_1.z.discriminatedUnion("type", [
265
265
  exports.moltiSSEErrorEventSchema,
266
266
  exports.moltiSSEKeepaliveEventSchema,
267
267
  ]);
268
- //# sourceMappingURL=schemas.js.map
@@ -214,4 +214,3 @@ export interface MoltiSSEKeepaliveEvent {
214
214
  * Union of all SSE event types
215
215
  */
216
216
  export type MoltiSSEEvent = MoltiSSEProgressEvent | MoltiSSECompleteEvent | MoltiSSEErrorEvent | MoltiSSEKeepaliveEvent;
217
- //# sourceMappingURL=types.d.ts.map
@@ -23,4 +23,3 @@ exports.MOLTI_DEPLOY_STEP_NAMES = {
23
23
  add_secrets: "Configuring secrets",
24
24
  gateway_route: "Setting up gateway routing",
25
25
  };
26
- //# sourceMappingURL=types.js.map
@@ -42,4 +42,3 @@ export type LinkStateChangedEvent = {
42
42
  };
43
43
  };
44
44
  export type PairingWsEvent = PairingRequestedEvent | PairingApprovedEvent | LinkStateChangedEvent;
45
- //# sourceMappingURL=index.d.ts.map
@@ -9,4 +9,3 @@
9
9
  * Import via @kya-os/contracts or @kya-os/contracts/pairing.
10
10
  */
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- //# sourceMappingURL=index.js.map
@@ -6,4 +6,3 @@
6
6
  * @module @kya-os/contracts/policy
7
7
  */
8
8
  export { EnforcementActionSchema, type EnforcementAction, ThresholdConfigSchema, type ThresholdConfig, DenyListEntrySchema, type DenyListEntry, AllowListEntrySchema, type AllowListEntry, PolicyConditionSchema, type PolicyCondition, PolicyRuleSchema, type PolicyRule, PolicyConfigSchema, PolicyConfigPartialSchema, type PolicyConfig, type PolicyConfigPartial, GetPolicyRequestSchema, type GetPolicyRequest, GetPolicyResponseSchema, type GetPolicyResponse, UpdatePolicyRequestSchema, type UpdatePolicyRequest, UpdatePolicyResponseSchema, type UpdatePolicyResponse, validatePolicyConfig, safeParsePolicyConfig, validateDenyListEntry, validatePolicyRule, DEFAULT_POLICY_CONFIG, EXAMPLE_BLOCK_AI_AGENTS, EXAMPLE_ALLOW_CHATGPT, EXAMPLE_CHALLENGE_LOW_REP, } from './schemas.js';
9
- //# sourceMappingURL=index.d.ts.map
@@ -39,4 +39,3 @@ Object.defineProperty(exports, "DEFAULT_POLICY_CONFIG", { enumerable: true, get:
39
39
  Object.defineProperty(exports, "EXAMPLE_BLOCK_AI_AGENTS", { enumerable: true, get: function () { return schemas_js_1.EXAMPLE_BLOCK_AI_AGENTS; } });
40
40
  Object.defineProperty(exports, "EXAMPLE_ALLOW_CHATGPT", { enumerable: true, get: function () { return schemas_js_1.EXAMPLE_ALLOW_CHATGPT; } });
41
41
  Object.defineProperty(exports, "EXAMPLE_CHALLENGE_LOW_REP", { enumerable: true, get: function () { return schemas_js_1.EXAMPLE_CHALLENGE_LOW_REP; } });
42
- //# sourceMappingURL=index.js.map
@@ -3837,4 +3837,3 @@ export declare const EXAMPLE_ALLOW_CHATGPT: AllowListEntry;
3837
3837
  * Example: Challenge low-reputation agents
3838
3838
  */
3839
3839
  export declare const EXAMPLE_CHALLENGE_LOW_REP: PolicyRule;
3840
- //# sourceMappingURL=schemas.d.ts.map
@@ -422,4 +422,3 @@ exports.EXAMPLE_CHALLENGE_LOW_REP = {
422
422
  message: 'Please verify your identity',
423
423
  enabled: true,
424
424
  };
425
- //# sourceMappingURL=schemas.js.map
@@ -835,4 +835,3 @@ export declare function isProofRecordExpired(record: ProofRecord): boolean;
835
835
  * Default proof record TTL (30 days in milliseconds)
836
836
  */
837
837
  export declare const DEFAULT_PROOF_RECORD_TTL_MS: number;
838
- //# sourceMappingURL=proof-record.d.ts.map
@@ -131,4 +131,3 @@ function isProofRecordExpired(record) {
131
131
  * Default proof record TTL (30 days in milliseconds)
132
132
  */
133
133
  exports.DEFAULT_PROOF_RECORD_TTL_MS = 30 * 24 * 60 * 60 * 1000;
134
- //# sourceMappingURL=proof-record.js.map
@@ -144,4 +144,3 @@ export declare const SIGNING_HASH_ALGORITHM = "SHA-256";
144
144
  * Base64url pattern for validation
145
145
  */
146
146
  export declare const BASE64URL_PATTERN: RegExp;
147
- //# sourceMappingURL=signing-spec.d.ts.map
@@ -120,4 +120,3 @@ exports.SIGNING_HASH_ALGORITHM = 'SHA-256';
120
120
  * Base64url pattern for validation
121
121
  */
122
122
  exports.BASE64URL_PATTERN = /^[A-Za-z0-9_-]+$/;
123
- //# sourceMappingURL=signing-spec.js.map