@adea-ai/runtime-gateway-protocol 1.2.2

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.
@@ -0,0 +1,70 @@
1
+ {
2
+ "providerNativeCommand": {
3
+ "type": "command",
4
+ "schemaVersion": 1,
5
+ "protocolVersion": { "major": 1, "minor": 0 },
6
+ "sequence": 1,
7
+ "nodeId": "rnr_01JABCDEF0123456789ABCDEFG",
8
+ "workspaceId": "wsp_01JABCDEF0123456789ABCDEFG",
9
+ "traceId": "trc_01JABCDEF0123456789ABCDEFG",
10
+ "sentAt": "2026-08-25T12:00:00.000Z",
11
+ "channelGeneration": 1,
12
+ "commandId": "cmd_01JABCDEF0123456789ABCDEFG",
13
+ "idempotencyKey": "provider-command:01JABCDEF0123456789ABCDEFG",
14
+ "payloadHash": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
15
+ "issuedAt": "2026-08-25T12:00:00.000Z",
16
+ "expiresAt": "2026-08-25T12:01:00.000Z",
17
+ "family": "context_provider",
18
+ "operation": "cortana.command",
19
+ "driver": { "family": "local-context", "version": "1.0.0" },
20
+ "providerRef": "pvr_01JABCDEF0123456789ABCDEFG",
21
+ "requiredCapabilities": ["context.read"],
22
+ "payload": { "version": 1, "parameters": {} }
23
+ },
24
+ "arbitraryEndpoint": {
25
+ "type": "command",
26
+ "schemaVersion": 1,
27
+ "protocolVersion": { "major": 1, "minor": 0 },
28
+ "sequence": 1,
29
+ "nodeId": "rnr_01JABCDEF0123456789ABCDEFG",
30
+ "workspaceId": "wsp_01JABCDEF0123456789ABCDEFG",
31
+ "traceId": "trc_01JABCDEF0123456789ABCDEFG",
32
+ "sentAt": "2026-08-25T12:00:00.000Z",
33
+ "channelGeneration": 1,
34
+ "commandId": "cmd_01JABCDEF0123456789ABCDEFG",
35
+ "idempotencyKey": "provider-command:01JABCDEF0123456789ABCDEFG",
36
+ "payloadHash": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
37
+ "issuedAt": "2026-08-25T12:00:00.000Z",
38
+ "expiresAt": "2026-08-25T12:01:00.000Z",
39
+ "family": "context_provider",
40
+ "operation": "context.read",
41
+ "driver": { "family": "local-context", "version": "1.0.0" },
42
+ "providerRef": "pvr_01JABCDEF0123456789ABCDEFG",
43
+ "requiredCapabilities": ["context.read"],
44
+ "payload": { "version": 1, "parameters": { "endpointUrl": "http://127.0.0.1:9999" } }
45
+ },
46
+ "expiredAtIssue": {
47
+ "type": "command",
48
+ "schemaVersion": 1,
49
+ "protocolVersion": { "major": 1, "minor": 0 },
50
+ "sequence": 1,
51
+ "nodeId": "rnr_01JABCDEF0123456789ABCDEFG",
52
+ "workspaceId": "wsp_01JABCDEF0123456789ABCDEFG",
53
+ "traceId": "trc_01JABCDEF0123456789ABCDEFG",
54
+ "sentAt": "2026-08-25T12:00:00.000Z",
55
+ "channelGeneration": 1,
56
+ "commandId": "cmd_01JABCDEF0123456789ABCDEFG",
57
+ "idempotencyKey": "runtime-command:01JABCDEF0123456789ABCDEFG",
58
+ "payloadHash": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
59
+ "issuedAt": "2026-08-25T12:00:00.000Z",
60
+ "expiresAt": "2026-08-25T12:00:00.000Z",
61
+ "family": "runtime",
62
+ "operation": "runtime.execute",
63
+ "driver": { "family": "reference-runtime", "version": "1.0.0" },
64
+ "runtimeConnectionId": "rtc_01JABCDEF0123456789ABCDEFG",
65
+ "executionId": "exe_01JABCDEF0123456789ABCDEFG",
66
+ "attemptId": "att_01JABCDEF0123456789ABCDEFG",
67
+ "requiredCapabilities": ["runtime.execute"],
68
+ "payload": { "version": 1, "parameters": {} }
69
+ }
70
+ }
package/package.json ADDED
@@ -0,0 +1,57 @@
1
+ {
2
+ "name": "@adea-ai/runtime-gateway-protocol",
3
+ "version": "1.2.2",
4
+ "description": "Versioned wire protocol between the Control Plane and external runtimes: schemas, emulator, fixtures, and authentication.",
5
+ "keywords": [
6
+ "agents",
7
+ "gateway",
8
+ "protocol",
9
+ "runtime",
10
+ "schemas",
11
+ "zod"
12
+ ],
13
+ "homepage": "https://github.com/adea-ai/control-plane#readme",
14
+ "bugs": "https://github.com/adea-ai/control-plane/issues",
15
+ "license": "Apache-2.0",
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "git+https://github.com/adea-ai/control-plane.git",
19
+ "directory": "packages/runtime-gateway-protocol"
20
+ },
21
+ "files": [
22
+ "dist",
23
+ "fixtures",
24
+ "schema"
25
+ ],
26
+ "type": "module",
27
+ "browser": false,
28
+ "types": "./dist/index.d.ts",
29
+ "exports": {
30
+ ".": {
31
+ "types": "./dist/index.d.ts",
32
+ "node": "./dist/index.js",
33
+ "default": "./dist/index.js"
34
+ },
35
+ "./fixtures": "./fixtures/index.mjs",
36
+ "./schema/gateway-envelope.v1.json": "./schema/gateway-envelope.v1.json"
37
+ },
38
+ "publishConfig": {
39
+ "access": "public",
40
+ "provenance": true
41
+ },
42
+ "scripts": {
43
+ "build": "tsc -p tsconfig.json",
44
+ "lint": "oxlint src",
45
+ "schema:check": "bun scripts/schema.mjs --check",
46
+ "schema:generate": "bun scripts/schema.mjs",
47
+ "test": "bun scripts/schema.mjs --check && bun test src"
48
+ },
49
+ "dependencies": {
50
+ "zod": "4.5.4"
51
+ },
52
+ "engines": {
53
+ "node": ">=24 <25"
54
+ },
55
+ "devDependencies": {},
56
+ "peerDependencies": {}
57
+ }