@kya-os/contracts 1.7.26 → 1.7.32

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 (44) hide show
  1. package/dist/agent-deployment-utils.d.ts +20 -0
  2. package/dist/agent-deployment-utils.js +37 -0
  3. package/dist/agent-deployment.d.ts +19 -19
  4. package/dist/agent-deployment.js +2 -1
  5. package/dist/agentshield-api/admin-schemas.d.ts +2 -2
  6. package/dist/agentshield-api/schemas.d.ts +462 -462
  7. package/dist/audit/index.d.ts +24 -24
  8. package/dist/cli.d.ts +44 -44
  9. package/dist/compute-binding.d.ts +6 -6
  10. package/dist/compute.d.ts +27 -8
  11. package/dist/compute.js +6 -0
  12. package/dist/config/identity.d.ts +98 -98
  13. package/dist/consent/schemas.d.ts +72 -72
  14. package/dist/dashboard-config/schemas.d.ts +2191 -2191
  15. package/dist/delegation/constraints.d.ts +32 -32
  16. package/dist/delegation/schemas.d.ts +610 -610
  17. package/dist/deploy/schemas.d.ts +84 -84
  18. package/dist/gateway/index.d.ts +579 -0
  19. package/dist/gateway/index.js +103 -0
  20. package/dist/handshake.d.ts +42 -42
  21. package/dist/index.d.ts +1 -0
  22. package/dist/index.js +2 -0
  23. package/dist/molti/admin-ws.d.ts +116 -116
  24. package/dist/molti/schemas.d.ts +98 -98
  25. package/dist/openclaw/index.d.ts +20 -0
  26. package/dist/openclaw/index.js +28 -0
  27. package/dist/openclaw/types.d.ts +714 -0
  28. package/dist/openclaw/types.js +122 -0
  29. package/dist/pairing/index.d.ts +44 -0
  30. package/dist/pairing/index.js +11 -0
  31. package/dist/policy/schemas.d.ts +553 -553
  32. package/dist/proof/proof-record.d.ts +48 -48
  33. package/dist/proof/signing-spec.d.ts +8 -8
  34. package/dist/proof.d.ts +68 -68
  35. package/dist/registry.d.ts +24 -24
  36. package/dist/reputation/api.d.ts +156 -156
  37. package/dist/reputation/credentials.d.ts +48 -48
  38. package/dist/reputation/schemas.d.ts +48 -48
  39. package/dist/test.d.ts +22 -22
  40. package/dist/tlkrc/rotation.d.ts +12 -12
  41. package/dist/tool-protection/index.d.ts +22 -22
  42. package/dist/verifier.d.ts +17 -17
  43. package/dist/well-known/index.d.ts +72 -72
  44. package/package.json +10 -2
@@ -0,0 +1,20 @@
1
+ /**
2
+ * OpenClaw Contracts
3
+ *
4
+ * Centralized type definitions and validation schemas for OpenClaw
5
+ * configuration (openclaw.json) and gateway protocol v3 frames.
6
+ *
7
+ * @package @kya-os/contracts/openclaw
8
+ *
9
+ * @example
10
+ * ```typescript
11
+ * import type { OpenClawConfig, OpenClawFrame } from '@kya-os/contracts/openclaw';
12
+ * import { OpenClawConfigSchema } from '@kya-os/contracts/openclaw';
13
+ *
14
+ * // Validate config
15
+ * const result = OpenClawConfigSchema.safeParse(parsed);
16
+ * ```
17
+ */
18
+ export { OpenClawControlUiSchema, OpenClawGatewaySchema, OpenClawChannelsSchema, OpenClawModelSchema, OpenClawModelProviderSchema, OpenClawConfigSchema, } from "./types.js";
19
+ export type { OpenClawControlUi, OpenClawGateway, OpenClawChannels, OpenClawModel, OpenClawModelProvider, OpenClawConfig, } from "./types.js";
20
+ export type { OpenClawRpcRequest, OpenClawRpcResponse, OpenClawEvent, OpenClawFrame, OpenClawHelloOkPayload, } from "./types.js";
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ /**
3
+ * OpenClaw Contracts
4
+ *
5
+ * Centralized type definitions and validation schemas for OpenClaw
6
+ * configuration (openclaw.json) and gateway protocol v3 frames.
7
+ *
8
+ * @package @kya-os/contracts/openclaw
9
+ *
10
+ * @example
11
+ * ```typescript
12
+ * import type { OpenClawConfig, OpenClawFrame } from '@kya-os/contracts/openclaw';
13
+ * import { OpenClawConfigSchema } from '@kya-os/contracts/openclaw';
14
+ *
15
+ * // Validate config
16
+ * const result = OpenClawConfigSchema.safeParse(parsed);
17
+ * ```
18
+ */
19
+ Object.defineProperty(exports, "__esModule", { value: true });
20
+ exports.OpenClawConfigSchema = exports.OpenClawModelProviderSchema = exports.OpenClawModelSchema = exports.OpenClawChannelsSchema = exports.OpenClawGatewaySchema = exports.OpenClawControlUiSchema = void 0;
21
+ // Config schemas
22
+ var types_js_1 = require("./types.js");
23
+ Object.defineProperty(exports, "OpenClawControlUiSchema", { enumerable: true, get: function () { return types_js_1.OpenClawControlUiSchema; } });
24
+ Object.defineProperty(exports, "OpenClawGatewaySchema", { enumerable: true, get: function () { return types_js_1.OpenClawGatewaySchema; } });
25
+ Object.defineProperty(exports, "OpenClawChannelsSchema", { enumerable: true, get: function () { return types_js_1.OpenClawChannelsSchema; } });
26
+ Object.defineProperty(exports, "OpenClawModelSchema", { enumerable: true, get: function () { return types_js_1.OpenClawModelSchema; } });
27
+ Object.defineProperty(exports, "OpenClawModelProviderSchema", { enumerable: true, get: function () { return types_js_1.OpenClawModelProviderSchema; } });
28
+ Object.defineProperty(exports, "OpenClawConfigSchema", { enumerable: true, get: function () { return types_js_1.OpenClawConfigSchema; } });