@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.
- package/dist/agent-deployment-utils.d.ts +20 -0
- package/dist/agent-deployment-utils.js +37 -0
- package/dist/agent-deployment.d.ts +19 -19
- package/dist/agent-deployment.js +2 -1
- package/dist/agentshield-api/admin-schemas.d.ts +2 -2
- package/dist/agentshield-api/schemas.d.ts +462 -462
- package/dist/audit/index.d.ts +24 -24
- package/dist/cli.d.ts +44 -44
- package/dist/compute-binding.d.ts +6 -6
- package/dist/compute.d.ts +27 -8
- package/dist/compute.js +6 -0
- package/dist/config/identity.d.ts +98 -98
- package/dist/consent/schemas.d.ts +72 -72
- package/dist/dashboard-config/schemas.d.ts +2191 -2191
- package/dist/delegation/constraints.d.ts +32 -32
- package/dist/delegation/schemas.d.ts +610 -610
- package/dist/deploy/schemas.d.ts +84 -84
- package/dist/gateway/index.d.ts +579 -0
- package/dist/gateway/index.js +103 -0
- package/dist/handshake.d.ts +42 -42
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/dist/molti/admin-ws.d.ts +116 -116
- package/dist/molti/schemas.d.ts +98 -98
- package/dist/openclaw/index.d.ts +20 -0
- package/dist/openclaw/index.js +28 -0
- package/dist/openclaw/types.d.ts +714 -0
- package/dist/openclaw/types.js +122 -0
- package/dist/pairing/index.d.ts +44 -0
- package/dist/pairing/index.js +11 -0
- package/dist/policy/schemas.d.ts +553 -553
- package/dist/proof/proof-record.d.ts +48 -48
- package/dist/proof/signing-spec.d.ts +8 -8
- package/dist/proof.d.ts +68 -68
- package/dist/registry.d.ts +24 -24
- package/dist/reputation/api.d.ts +156 -156
- package/dist/reputation/credentials.d.ts +48 -48
- package/dist/reputation/schemas.d.ts +48 -48
- package/dist/test.d.ts +22 -22
- package/dist/tlkrc/rotation.d.ts +12 -12
- package/dist/tool-protection/index.d.ts +22 -22
- package/dist/verifier.d.ts +17 -17
- package/dist/well-known/index.d.ts +72 -72
- 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; } });
|