@mininglamp-oss/octo-runtime 1.1.12 → 1.1.13
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/README.md +1 -1
- package/apps/cli/dist/adapters.d.ts +19 -1
- package/apps/cli/dist/adapters.js +153 -23
- package/apps/cli/dist/build-info.json +2 -2
- package/apps/cli/dist/codex.d.ts +5 -0
- package/apps/cli/dist/codex.js +36 -0
- package/apps/cli/dist/kernel.d.ts +4 -0
- package/apps/cli/dist/kernel.js +84 -0
- package/apps/cli/dist/main.js +8 -7
- package/apps/cli/dist/manifest.json +33 -22
- package/apps/cli/dist/output.d.ts +1 -0
- package/apps/cli/dist/output.js +8 -4
- package/apps/cli/dist/playboard.js +21 -12
- package/apps/cli/dist/provider-launch.d.ts +28 -0
- package/apps/cli/dist/provider-launch.js +52 -0
- package/apps/cli/dist/providers.d.ts +182 -0
- package/apps/cli/dist/providers.js +34 -0
- package/dist/public/adapter-sdk.d.ts +2 -0
- package/dist/public/adapter-sdk.js +2 -0
- package/dist/public/protocol.d.ts +1 -1
- package/dist/public/protocol.js +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-acp-client/dist/index.js +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-acp-client/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/dist/index.d.ts +15 -14
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/dist/index.js +24 -28
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-antigravity/dist/index.d.ts +10 -35
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-antigravity/dist/index.js +22 -29
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-antigravity/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/dist/index.d.ts +14 -68
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/dist/index.js +60 -43
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codebuddy/dist/index.d.ts +19 -31
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codebuddy/dist/index.js +29 -18
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codebuddy/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/app-server.d.ts +6 -5
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/app-server.js +32 -26
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/engine.d.ts +54 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/engine.js +147 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/environment.js +4 -8
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/index.d.ts +20 -92
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/index.js +104 -216
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/mcp.d.ts +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/mcp.js +4 -11
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/service.d.ts +9 -5
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/service.js +77 -81
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/index.d.ts +4 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/index.js +12 -14
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/adapter.d.ts +14 -14
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/adapter.js +23 -30
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/client.js +4 -7
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/index.d.ts +13 -21
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/index.js +48 -26
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/package.json +5 -5
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/dist/index.d.ts +16 -14
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/dist/index.js +15 -7
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/dist/index.d.ts +16 -14
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/dist/index.js +14 -6
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/dist/index.d.ts +16 -14
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/dist/index.js +15 -7
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/dist/index.d.ts +7 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/dist/index.js +27 -29
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/dist/index.d.ts +16 -25
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/dist/index.js +109 -178
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/dist/index.d.ts +16 -14
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/dist/index.js +15 -6
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/package.json +3 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/dist/index.d.ts +16 -14
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/dist/index.js +15 -6
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/package.json +3 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/activity.d.ts +5 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/agent-env.d.ts +49 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/agent-env.js +256 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/approval.js +7 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/environment.js +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/execution-scope.d.ts +5 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.d.ts +25 -12
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.js +116 -58
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/mcp.js +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/process-launch.d.ts +11 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/process-launch.js +89 -8
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/provider-launch.d.ts +10 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/provider-launch.js +25 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/public-display.js +10 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/adapters.d.ts +19 -1
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/adapters.js +153 -23
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/build-info.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/codex.d.ts +5 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/codex.js +36 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/kernel.d.ts +4 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/kernel.js +84 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/main.js +8 -7
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/manifest.json +33 -22
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/output.d.ts +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/output.js +8 -4
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/playboard.js +21 -12
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/provider-launch.d.ts +28 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/provider-launch.js +52 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/providers.d.ts +182 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/providers.js +34 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/package.json +20 -20
- package/node_modules/@mininglamp-oss/octo-runtime-client/build-info.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/client.js +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-client/package.json +5 -5
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/kernel-ipc.schema.json +3 -104
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/protocol.schema.json +173 -1295
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/package.json +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/index.d.ts +0 -2
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/index.js +26 -54
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/invoke-input.d.ts +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/invoke-input.js +13 -85
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/watchdog.d.ts +3 -1
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/watchdog.js +5 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/index.d.ts +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/index.js +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/server.d.ts +5 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/server.js +17 -20
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/package.json +5 -5
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/browser.d.ts +0 -2
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/browser.js +0 -2
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context-catalog.d.ts +0 -1
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context-catalog.js +3 -5
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context-configuration.js +1 -8
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context.d.ts +1 -2
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context.js +3 -267
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/failure.d.ts +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/failure.js +17 -3
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/generated/protocol-types.d.ts +102 -396
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/generated/protocol-types.js +32 -1
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/index.d.ts +6 -15
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/index.js +33 -178
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-input.d.ts +11 -22
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-input.js +38 -78
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/multimodal.js +6 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/run-protocol.d.ts +2 -1
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/run-protocol.js +5 -28
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/service-processes.js +2 -1
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/package.json +1 -1
- package/package.json +34 -37
- package/packages/octo-runtime-protocol/schema/kernel-ipc.schema.json +3 -104
- package/packages/octo-runtime-protocol/schema/protocol.schema.json +173 -1295
- package/dist/public/codex.d.ts +0 -1
- package/dist/public/codex.js +0 -1
- package/dist/public/dsh.d.ts +0 -2
- package/dist/public/dsh.js +0 -1
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/context-configuration-fixtures.json +0 -1219
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/context-fixtures.json +0 -5988
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/kernel-client.behavior.json +0 -56
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/native-invoke-fixtures.json +0 -116
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/run-protocol-fixtures.json +0 -761
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/runtime-selection-fixtures.json +0 -663
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/session-name-fixtures.json +0 -191
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/context.d.ts +0 -12
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/context.js +0 -89
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/execution-preparation.d.ts +0 -33
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/execution-preparation.js +0 -93
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/execution-plan.d.ts +0 -3
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/execution-plan.js +0 -80
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/model-context.d.ts +0 -3
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/model-context.js +0 -9
- /package/node_modules/@mininglamp-oss/octo-runtime-client/{schema → fixtures}/kernel-ipc-fixtures.json +0 -0
- /package/packages/octo-runtime-protocol/{schema → test/fixtures}/kernel-ipc-fixtures.json +0 -0
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { type CanonicalEvent } from "./index.js";
|
|
2
2
|
import type { ProtocolMode, RunProtocolErrorCode, HostInvokeOptions, HostRunReceipt, HostFrame, NativeHostFrame, CanonicalHostFrame, ControlHostFrame, HostControl, NativeInteractionResponse, AdapterProtocolSupport } from "./generated/protocol-types.js";
|
|
3
3
|
export type { ProtocolMode, RunProtocolErrorCode, HostInvokeOptions, HostRunReceipt, HostFrame, NativeHostFrame, CanonicalHostFrame, ControlHostFrame, HostControl, NativeInteractionResponse, AdapterProtocolSupport };
|
|
4
|
-
|
|
4
|
+
import { RUN_PROTOCOL_ERRORS } from "./generated/protocol-types.js";
|
|
5
|
+
export { RUN_PROTOCOL_ERRORS } from "./generated/protocol-types.js";
|
|
5
6
|
export declare function protocolError(code: (typeof RUN_PROTOCOL_ERRORS)[number], message?: string): Error & {
|
|
6
7
|
code: (typeof RUN_PROTOCOL_ERRORS)[number];
|
|
7
8
|
};
|
|
@@ -1,34 +1,10 @@
|
|
|
1
1
|
import { assertJsonValue } from "./context.js";
|
|
2
2
|
import { assertExecutionEvidence } from "./actmode.js";
|
|
3
3
|
import { assertCanonicalEvent, assertFailureEnvelope } from "./index.js";
|
|
4
|
-
import { safeCapacityEvidence, isCodexLocalFailure } from "./failure.js";
|
|
4
|
+
import { safeCapacityEvidence, isCodexLocalFailure, isWorkdirFailureReason } from "./failure.js";
|
|
5
5
|
import { isStreamCapacityReason } from "./stream-limits.js";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"PROTOCOL_MODE_UNSUPPORTED",
|
|
9
|
-
"EXECUTION_PROTOCOL_MISMATCH",
|
|
10
|
-
"EXECUTION_IDENTITY_CONFLICT",
|
|
11
|
-
"NATIVE_METHOD_UNSUPPORTED",
|
|
12
|
-
"NATIVE_RESPONSE_INVALID",
|
|
13
|
-
"INTERACTION_NOT_ACTIVE",
|
|
14
|
-
"INVALID_QUESTION_RESPONSE",
|
|
15
|
-
"ASYNC_ANSWER_REJECTED",
|
|
16
|
-
"OPERATION_OUTCOME_UNKNOWN",
|
|
17
|
-
"HOST_EXECUTION_FAILED",
|
|
18
|
-
"HOST_ENDED_WITHOUT_TERMINAL",
|
|
19
|
-
"PROVIDER_MESSAGE_TOO_LARGE",
|
|
20
|
-
"HOST_FRAME_TOO_LARGE",
|
|
21
|
-
"STREAM_QUEUE_ITEM_TOO_LARGE",
|
|
22
|
-
"STREAM_QUEUE_BYTES_EXCEEDED",
|
|
23
|
-
"STREAM_QUEUE_ITEMS_EXCEEDED",
|
|
24
|
-
"STREAM_GAP",
|
|
25
|
-
"STREAM_EXPIRED",
|
|
26
|
-
"REMOTE_NATIVE_UNSUPPORTED",
|
|
27
|
-
"HOST_FRAME_INVALID",
|
|
28
|
-
"HOST_CONTROL_INVALID",
|
|
29
|
-
"HOST_RECEIPT_INVALID",
|
|
30
|
-
"PROTOCOL_SUPPORT_INVALID"
|
|
31
|
-
];
|
|
6
|
+
import { RUN_PROTOCOL_ERRORS } from "./generated/protocol-types.js";
|
|
7
|
+
export { RUN_PROTOCOL_ERRORS } from "./generated/protocol-types.js";
|
|
32
8
|
export function protocolError(code, message = code) {
|
|
33
9
|
return Object.assign(new Error(message), { code });
|
|
34
10
|
}
|
|
@@ -129,7 +105,8 @@ export function assertHostControl(value) {
|
|
|
129
105
|
const evidence = safeCapacityEvidence(value.failure.params);
|
|
130
106
|
const localCodex = value.code === "HOST_EXECUTION_FAILED" && isCodexLocalFailure(value.failure);
|
|
131
107
|
if ((!localCodex &&
|
|
132
|
-
(!isStreamCapacityReason(value.code)
|
|
108
|
+
((!isStreamCapacityReason(value.code) && !isWorkdirFailureReason(value.code)) ||
|
|
109
|
+
value.failure.reasonCode !== value.code)) ||
|
|
133
110
|
!exactKeys(value.failure, [
|
|
134
111
|
"schemaVersion",
|
|
135
112
|
"code",
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { KERNEL_IPC_VERSION } from "./generated/protocol-types.js";
|
|
1
2
|
const record = (value) => {
|
|
2
3
|
if (!value || typeof value !== "object" || Array.isArray(value))
|
|
3
4
|
throw new TypeError("INVALID_KERNEL_STATUS");
|
|
@@ -50,7 +51,7 @@ export function assertKernelStatus(value) {
|
|
|
50
51
|
"execution_ready",
|
|
51
52
|
"service_processes"
|
|
52
53
|
].includes(key)) ||
|
|
53
|
-
item.ipc_version !==
|
|
54
|
+
item.ipc_version !== KERNEL_IPC_VERSION ||
|
|
54
55
|
typeof item.kernel_instance_id !== "string" ||
|
|
55
56
|
!item.kernel_instance_id ||
|
|
56
57
|
!positive(item.pid) ||
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mininglamp-oss/octo-runtime",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.13",
|
|
4
4
|
"description": "Provider-neutral Agent runtime for unified execution through provider adapters",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -16,15 +16,11 @@
|
|
|
16
16
|
"octo-runtime": "apps/cli/dist/index.js"
|
|
17
17
|
},
|
|
18
18
|
"exports": {
|
|
19
|
-
"./
|
|
20
|
-
"types": "./dist/public/
|
|
21
|
-
"import": "./dist/public/
|
|
19
|
+
"./adapter-sdk": {
|
|
20
|
+
"types": "./dist/public/adapter-sdk.d.ts",
|
|
21
|
+
"import": "./dist/public/adapter-sdk.js"
|
|
22
22
|
},
|
|
23
|
-
"./
|
|
24
|
-
"types": "./dist/public/dsh.d.ts",
|
|
25
|
-
"import": "./dist/public/dsh.js"
|
|
26
|
-
},
|
|
27
|
-
"./executor-kernel/ipc-fixtures.json": "./packages/octo-runtime-protocol/schema/kernel-ipc-fixtures.json",
|
|
23
|
+
"./executor-kernel/ipc-fixtures.json": "./packages/octo-runtime-protocol/test/fixtures/kernel-ipc-fixtures.json",
|
|
28
24
|
"./protocol/schema.json": "./packages/octo-runtime-protocol/schema/protocol.schema.json",
|
|
29
25
|
"./executor-kernel/ipc-schema.json": "./packages/octo-runtime-protocol/schema/kernel-ipc.schema.json",
|
|
30
26
|
"./executor-kernel": {
|
|
@@ -50,7 +46,8 @@
|
|
|
50
46
|
"files": [
|
|
51
47
|
"apps",
|
|
52
48
|
"dist/public",
|
|
53
|
-
"packages/octo-runtime-protocol/schema/*.json",
|
|
49
|
+
"packages/octo-runtime-protocol/schema/*.schema.json",
|
|
50
|
+
"packages/octo-runtime-protocol/test/fixtures/kernel-ipc-fixtures.json",
|
|
54
51
|
"LICENSE",
|
|
55
52
|
"NOTICE"
|
|
56
53
|
],
|
|
@@ -58,45 +55,45 @@
|
|
|
58
55
|
"access": "public"
|
|
59
56
|
},
|
|
60
57
|
"dependencies": {
|
|
61
|
-
"@mininglamp-oss/octo-runtime-
|
|
62
|
-
"@mininglamp-oss/octo-runtime-protocol": "1.1.
|
|
58
|
+
"@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.13",
|
|
59
|
+
"@mininglamp-oss/octo-runtime-protocol": "1.1.13",
|
|
60
|
+
"import-meta-resolve": "4.2.0",
|
|
61
|
+
"@mininglamp-oss/octo-runtime-client": "1.1.13",
|
|
63
62
|
"commander": "15.0.0",
|
|
64
|
-
"@mininglamp-oss/octo-runtime-adapter-dsh": "1.1.
|
|
63
|
+
"@mininglamp-oss/octo-runtime-adapter-dsh": "1.1.13",
|
|
65
64
|
"semver": "7.8.6",
|
|
66
|
-
"@mininglamp-oss/octo-runtime-adapter-
|
|
67
|
-
"
|
|
68
|
-
"@mininglamp-oss/octo-runtime-adapter-
|
|
69
|
-
"@mininglamp-oss/octo-runtime-
|
|
70
|
-
"@mininglamp-oss/octo-runtime-adapter-
|
|
71
|
-
"@mininglamp-oss/octo-runtime-adapter-
|
|
72
|
-
"@mininglamp-oss/octo-runtime-adapter-
|
|
73
|
-
"@mininglamp-oss/octo-runtime-adapter-
|
|
74
|
-
"@mininglamp-oss/octo-runtime-
|
|
75
|
-
"@mininglamp-oss/octo-runtime-
|
|
76
|
-
"@mininglamp-oss/octo-runtime-
|
|
77
|
-
"@mininglamp-oss/octo-runtime-
|
|
78
|
-
"@mininglamp-oss/octo-runtime-adapter-
|
|
79
|
-
"@mininglamp-oss/octo-runtime-adapter-mcode": "1.1.12",
|
|
80
|
-
"@mininglamp-oss/octo-runtime-adapter-openclaw": "1.1.12",
|
|
65
|
+
"@mininglamp-oss/octo-runtime-adapter-acp": "1.1.13",
|
|
66
|
+
"@mininglamp-oss/octo-runtime-acp-client": "1.1.13",
|
|
67
|
+
"@mininglamp-oss/octo-runtime-adapter-antigravity": "1.1.13",
|
|
68
|
+
"@mininglamp-oss/octo-runtime-adapter-claude-code": "1.1.13",
|
|
69
|
+
"@mininglamp-oss/octo-runtime-adapter-codebuddy": "1.1.13",
|
|
70
|
+
"@mininglamp-oss/octo-runtime-adapter-codex": "1.1.13",
|
|
71
|
+
"@mininglamp-oss/octo-runtime-adapter-hermes": "1.1.13",
|
|
72
|
+
"@mininglamp-oss/octo-runtime-adapter-grok-build": "1.1.13",
|
|
73
|
+
"@mininglamp-oss/octo-runtime-executor-kernel": "1.1.13",
|
|
74
|
+
"@mininglamp-oss/octo-runtime-executor-core": "1.1.13",
|
|
75
|
+
"@mininglamp-oss/octo-runtime-adapter-kimi-code": "1.1.13",
|
|
76
|
+
"@mininglamp-oss/octo-runtime-adapter-mcode": "1.1.13",
|
|
77
|
+
"@mininglamp-oss/octo-runtime-adapter-openclaw": "1.1.13",
|
|
81
78
|
"ws": "8.22.1",
|
|
82
|
-
"@mininglamp-oss/octo-runtime-adapter-opencode": "1.1.
|
|
83
|
-
"@mininglamp-oss/octo-runtime-adapter-qodercli": "1.1.
|
|
84
|
-
"@mininglamp-oss/octo-runtime-adapter-qoderclicn": "1.1.
|
|
85
|
-
"@mininglamp-oss/octo-runtime-cross-service": "1.1.
|
|
79
|
+
"@mininglamp-oss/octo-runtime-adapter-opencode": "1.1.13",
|
|
80
|
+
"@mininglamp-oss/octo-runtime-adapter-qodercli": "1.1.13",
|
|
81
|
+
"@mininglamp-oss/octo-runtime-adapter-qoderclicn": "1.1.13",
|
|
82
|
+
"@mininglamp-oss/octo-runtime-cross-service": "1.1.13",
|
|
86
83
|
"iconv-lite": "0.7.3",
|
|
87
84
|
"safer-buffer": "2.1.2",
|
|
88
|
-
"@mininglamp-oss/octo-runtime-host-sdk": "1.1.
|
|
89
|
-
"@mininglamp-oss/octo-runtime-cli": "1.1.
|
|
85
|
+
"@mininglamp-oss/octo-runtime-host-sdk": "1.1.13",
|
|
86
|
+
"@mininglamp-oss/octo-runtime-cli": "1.1.13",
|
|
90
87
|
"json5": "2.2.3"
|
|
91
88
|
},
|
|
92
89
|
"bundleDependencies": [
|
|
93
|
-
"@mininglamp-oss/octo-runtime-
|
|
90
|
+
"@mininglamp-oss/octo-runtime-adapter-sdk",
|
|
94
91
|
"@mininglamp-oss/octo-runtime-protocol",
|
|
92
|
+
"import-meta-resolve",
|
|
93
|
+
"@mininglamp-oss/octo-runtime-client",
|
|
95
94
|
"commander",
|
|
96
95
|
"@mininglamp-oss/octo-runtime-adapter-dsh",
|
|
97
96
|
"semver",
|
|
98
|
-
"@mininglamp-oss/octo-runtime-adapter-sdk",
|
|
99
|
-
"import-meta-resolve",
|
|
100
97
|
"@mininglamp-oss/octo-runtime-adapter-acp",
|
|
101
98
|
"@mininglamp-oss/octo-runtime-acp-client",
|
|
102
99
|
"@mininglamp-oss/octo-runtime-adapter-antigravity",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "urn:mininglamp-oss:octo-runtime:kernel-ipc:
|
|
4
|
-
"title": "Kernel IPC
|
|
3
|
+
"$id": "urn:mininglamp-oss:octo-runtime:kernel-ipc:v2",
|
|
4
|
+
"title": "Kernel IPC v2",
|
|
5
5
|
"description": "One UTF-8 LF-terminated JSON-RPC request per local connection. No batches. Closing a connection never cancels execution. Source sequence numbers belong to the Kernel instance. Receipts and events retain the original Run protocol identities.",
|
|
6
6
|
"definitions": {
|
|
7
7
|
"Request": {
|
|
@@ -433,106 +433,5 @@
|
|
|
433
433
|
"description": "Open error namespace; preserve unknown codes and data."
|
|
434
434
|
}
|
|
435
435
|
},
|
|
436
|
-
"$ref": "#/definitions/Request"
|
|
437
|
-
"x-octo-methods": [
|
|
438
|
-
{
|
|
439
|
-
"method": "status",
|
|
440
|
-
"name": "Status",
|
|
441
|
-
"params": {
|
|
442
|
-
"$ref": "#/definitions/EmptyParams"
|
|
443
|
-
},
|
|
444
|
-
"result": {
|
|
445
|
-
"$ref": "urn:mininglamp-oss:octo-runtime:protocol-schema#/definitions/KernelStatus"
|
|
446
|
-
},
|
|
447
|
-
"stream": false,
|
|
448
|
-
"sideEffect": false
|
|
449
|
-
},
|
|
450
|
-
{
|
|
451
|
-
"method": "adapter.list",
|
|
452
|
-
"name": "List",
|
|
453
|
-
"params": {
|
|
454
|
-
"$ref": "#/definitions/EmptyParams"
|
|
455
|
-
},
|
|
456
|
-
"result": {
|
|
457
|
-
"type": "array",
|
|
458
|
-
"items": {
|
|
459
|
-
"$ref": "urn:mininglamp-oss:octo-runtime:protocol-schema#/definitions/HostedAdapterMetadataWire"
|
|
460
|
-
}
|
|
461
|
-
},
|
|
462
|
-
"stream": false,
|
|
463
|
-
"sideEffect": false
|
|
464
|
-
},
|
|
465
|
-
{
|
|
466
|
-
"method": "agent_run.invoke",
|
|
467
|
-
"name": "Submit",
|
|
468
|
-
"params": {
|
|
469
|
-
"$ref": "#/definitions/InvokeParams"
|
|
470
|
-
},
|
|
471
|
-
"result": {
|
|
472
|
-
"$ref": "#/definitions/InvokeResult"
|
|
473
|
-
},
|
|
474
|
-
"stream": false,
|
|
475
|
-
"sideEffect": true
|
|
476
|
-
},
|
|
477
|
-
{
|
|
478
|
-
"method": "agent_run.get",
|
|
479
|
-
"name": "Get",
|
|
480
|
-
"params": {
|
|
481
|
-
"$ref": "#/definitions/GetParams"
|
|
482
|
-
},
|
|
483
|
-
"result": {
|
|
484
|
-
"$ref": "urn:mininglamp-oss:octo-runtime:protocol-schema#/definitions/KernelRunSnapshot"
|
|
485
|
-
},
|
|
486
|
-
"stream": false,
|
|
487
|
-
"sideEffect": false
|
|
488
|
-
},
|
|
489
|
-
{
|
|
490
|
-
"method": "agent_run.subscribe",
|
|
491
|
-
"name": "Subscribe",
|
|
492
|
-
"params": {
|
|
493
|
-
"$ref": "#/definitions/SubscribeParams"
|
|
494
|
-
},
|
|
495
|
-
"result": {
|
|
496
|
-
"$ref": "urn:mininglamp-oss:octo-runtime:protocol-schema#/definitions/KernelRunSnapshot"
|
|
497
|
-
},
|
|
498
|
-
"stream": true,
|
|
499
|
-
"sideEffect": false
|
|
500
|
-
},
|
|
501
|
-
{
|
|
502
|
-
"method": "agent_run.cancel",
|
|
503
|
-
"name": "Cancel",
|
|
504
|
-
"params": {
|
|
505
|
-
"$ref": "#/definitions/CancelParams"
|
|
506
|
-
},
|
|
507
|
-
"result": {
|
|
508
|
-
"$ref": "#/definitions/CancelResult"
|
|
509
|
-
},
|
|
510
|
-
"stream": false,
|
|
511
|
-
"sideEffect": true
|
|
512
|
-
},
|
|
513
|
-
{
|
|
514
|
-
"method": "agent_run.respond",
|
|
515
|
-
"name": "Respond",
|
|
516
|
-
"params": {
|
|
517
|
-
"$ref": "#/definitions/RespondParams"
|
|
518
|
-
},
|
|
519
|
-
"result": {
|
|
520
|
-
"$ref": "#/definitions/EmptyResult"
|
|
521
|
-
},
|
|
522
|
-
"stream": false,
|
|
523
|
-
"sideEffect": true
|
|
524
|
-
},
|
|
525
|
-
{
|
|
526
|
-
"method": "agent_run.native.respond",
|
|
527
|
-
"name": "RespondNative",
|
|
528
|
-
"params": {
|
|
529
|
-
"$ref": "#/definitions/RespondNativeParams"
|
|
530
|
-
},
|
|
531
|
-
"result": {
|
|
532
|
-
"$ref": "#/definitions/EmptyResult"
|
|
533
|
-
},
|
|
534
|
-
"stream": false,
|
|
535
|
-
"sideEffect": true
|
|
536
|
-
}
|
|
537
|
-
]
|
|
436
|
+
"$ref": "#/definitions/Request"
|
|
538
437
|
}
|