@mininglamp-oss/octo-runtime 1.1.9 → 1.1.10
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/{node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/runtime-configuration.d.ts → apps/cli/dist/adapter-configuration.d.ts} +1 -0
- package/{node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/runtime-configuration.js → apps/cli/dist/adapter-configuration.js} +1 -0
- package/apps/cli/dist/adapter-configurations.d.ts +1 -1
- package/apps/cli/dist/adapter-configurations.js +1 -1
- package/apps/cli/dist/adapters.d.ts +7 -0
- package/apps/cli/dist/adapters.js +51 -0
- package/apps/cli/dist/build-info.json +2 -2
- package/apps/cli/dist/help.js +1 -1
- package/apps/cli/dist/index.js +4 -0
- package/apps/cli/dist/main.d.ts +2 -0
- package/apps/cli/dist/main.js +10 -12
- package/apps/cli/dist/manifest.json +0 -5
- package/apps/cli/dist/output.js +2 -7
- package/apps/cli/dist/playboard-interrupt.d.ts +6 -0
- package/apps/cli/dist/playboard-interrupt.js +86 -0
- package/apps/cli/dist/playboard.d.ts +2 -0
- package/apps/cli/dist/playboard.js +9 -10
- package/dist/public/executor-kernel.d.ts +0 -1
- package/dist/public/executor-kernel.js +0 -1
- package/node_modules/@mininglamp-oss/octo-runtime-acp-client/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-antigravity/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codebuddy/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/package.json +5 -5
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/reasoning.js +1 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/service-status.d.ts +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/service-status.js +12 -30
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/adapter-configuration.d.ts +3 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/adapter-configuration.js +125 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/adapter-configurations.d.ts +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/adapter-configurations.js +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/adapters.d.ts +7 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/adapters.js +51 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/build-info.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/help.js +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/index.js +4 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/main.d.ts +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/main.js +10 -12
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/manifest.json +0 -5
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/output.js +2 -7
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/playboard-interrupt.d.ts +6 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/playboard-interrupt.js +86 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/playboard.d.ts +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/playboard.js +9 -10
- package/node_modules/@mininglamp-oss/octo-runtime-cli/package.json +23 -24
- 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 +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/index.js +26 -7
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/client.d.ts +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/client.js +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/execution-source.d.ts +17 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/execution-source.js +21 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/host-run-service.d.ts +9 -9
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/host-run-service.js +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/index.d.ts +1 -6
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/index.js +2 -6
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/invocation-manifest.d.ts +14 -13
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/invocation-manifest.js +84 -187
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/server.d.ts +5 -8
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/server.js +45 -38
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/service.d.ts +5 -1
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/service.js +15 -3
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/package.json +4 -12
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/package.json +6 -6
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/package.json +5 -5
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/assets/{index-BVxePruX.js → index-BLMf2Etg.js} +1 -3
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/index.html +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/generated/protocol-types.d.ts +0 -15
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/package.json +1 -1
- package/package.json +26 -28
- package/packages/octo-runtime-protocol/schema/protocol.schema.json +1 -37
- package/apps/cli/dist/worker.d.ts +0 -1
- package/apps/cli/dist/worker.js +0 -18
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-zcode-gui/dist/app-server.d.ts +0 -63
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-zcode-gui/dist/app-server.js +0 -846
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-zcode-gui/dist/index.d.ts +0 -54
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-zcode-gui/dist/index.js +0 -154
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-zcode-gui/package.json +0 -15
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/worker.d.ts +0 -1
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/worker.js +0 -18
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/heartbeat.d.ts +0 -16
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/heartbeat.js +0 -59
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/manifest-adapters.d.ts +0 -6
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/manifest-adapters.js +0 -88
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/module-specifier.d.ts +0 -1
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/module-specifier.js +0 -2
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/process.d.ts +0 -42
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/process.js +0 -292
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/rpc.d.ts +0 -64
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/rpc.js +0 -674
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/runner.d.ts +0 -2
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/runner.js +0 -5
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/serve.d.ts +0 -10
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/serve.js +0 -96
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/supervisor.d.ts +0 -15
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/supervisor.js +0 -279
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ Octo Runtime runs Agent tasks through Provider adapters, so applications can use
|
|
|
15
15
|
- **WeCom** connects WeCom Bots to the same execution service.
|
|
16
16
|
- **WebUI** provides a local browser workspace for conversations and projects.
|
|
17
17
|
|
|
18
|
-
Adapters ship for Codex, Claude Code, CodeBuddy, OpenCode, DeepSeek Harness, OpenClaw, Grok Build, Antigravity,
|
|
18
|
+
Adapters ship for Codex, Claude Code, CodeBuddy, OpenCode, DeepSeek Harness, OpenClaw, Grok Build, Antigravity, Hermes, Kimi Code, MCode, and both Qoder CLIs; see [Packages and layers](https://github.com/Mininglamp-OSS/octo-runtime/blob/main/packages/README.md).
|
|
19
19
|
|
|
20
20
|
The Kernel and each Extra run as independent services. They can start in either order, and stopping one Extra leaves the others running. Your application owns its business data, credentials and conversation history.
|
|
21
21
|
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import type { AdapterProbeOptions } from "@mininglamp-oss/octo-runtime-adapter-sdk";
|
|
2
|
+
/** CLI 读取 profile 配置和凭据引用,返回配置值;Kernel 不读取这些文件或路径。 */
|
|
2
3
|
export declare function readAdapterConfigurations(profileRoot: string, adaptersValue: unknown): Record<string, AdapterProbeOptions>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { readFileSync, realpathSync } from "node:fs";
|
|
2
2
|
import { isAbsolute, join, relative, resolve } from "node:path";
|
|
3
3
|
import { resolveStreamLimitPolicy } from "@mininglamp-oss/octo-runtime-protocol";
|
|
4
|
+
/** CLI 读取 profile 配置和凭据引用,返回配置值;Kernel 不读取这些文件或路径。 */
|
|
4
5
|
export function readAdapterConfigurations(profileRoot, adaptersValue) {
|
|
5
6
|
const adapters = objectValue(adaptersValue);
|
|
6
7
|
const connections = { openclaw: { providerOptions: { OPENCLAW_RUNTIME_ROOT: profileRoot } } };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
+
import { readAdapterConfigurations } from "./adapter-configuration.js";
|
|
1
2
|
import type { ModuleManifest } from "@mininglamp-oss/octo-runtime-adapter-sdk/module-manifest";
|
|
2
|
-
import { readAdapterConfigurations } from "@mininglamp-oss/octo-runtime-executor-kernel";
|
|
3
3
|
/** CLI 宿主在创建 Kernel 前补齐 npm DSH 入口;探测与调用共享快照,显式配置始终优先。 */
|
|
4
4
|
export declare function readCliAdapterConfigurations(profileRoot: string, adapters: unknown, manifest: ModuleManifest, env?: NodeJS.ProcessEnv): Promise<ReturnType<typeof readAdapterConfigurations>>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { readAdapterConfigurations } from "./adapter-configuration.js";
|
|
1
2
|
import { constants } from "node:fs";
|
|
2
3
|
import { access, lstat, readFile, realpath, stat } from "node:fs/promises";
|
|
3
4
|
import { delimiter, dirname, isAbsolute, join, relative, resolve, sep } from "node:path";
|
|
4
5
|
import { processEnvironmentValue } from "@mininglamp-oss/octo-runtime-adapter-sdk";
|
|
5
|
-
import { readAdapterConfigurations } from "@mininglamp-oss/octo-runtime-executor-kernel";
|
|
6
6
|
/** CLI 宿主在创建 Kernel 前补齐 npm DSH 入口;探测与调用共享快照,显式配置始终优先。 */
|
|
7
7
|
export async function readCliAdapterConfigurations(profileRoot, adapters, manifest, env = process.env) {
|
|
8
8
|
const configurations = readAdapterConfigurations(profileRoot, adapters);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type AdapterModuleEntry } from "@mininglamp-oss/octo-runtime-adapter-sdk/module-manifest";
|
|
2
|
+
import type { HostedAdapter } from "@mininglamp-oss/octo-runtime-executor-kernel";
|
|
3
|
+
/** CLI 只加载所选模块并构造实例;Kernel 不接触清单、模块路径或产品准备。 */
|
|
4
|
+
export declare function loadCliAdapters(entries: readonly AdapterModuleEntry[], options?: {
|
|
5
|
+
profileRoot: string;
|
|
6
|
+
syncOpenClawTools: boolean;
|
|
7
|
+
}): Promise<HostedAdapter[]>;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { resolveModuleSpecifier } from "@mininglamp-oss/octo-runtime-adapter-sdk/module-manifest";
|
|
2
|
+
import { readExtraDirectory } from "@mininglamp-oss/octo-runtime-host-sdk";
|
|
3
|
+
import { dirname, join } from "node:path";
|
|
4
|
+
/** CLI 只加载所选模块并构造实例;Kernel 不接触清单、模块路径或产品准备。 */
|
|
5
|
+
export async function loadCliAdapters(entries, options) {
|
|
6
|
+
const adapters = [];
|
|
7
|
+
for (const entry of entries) {
|
|
8
|
+
const specifier = resolveModuleSpecifier(entry.module, entry.sourceManifest);
|
|
9
|
+
const loaded = await import(specifier);
|
|
10
|
+
const exports = asRecord(loaded, `adapter module ${entry.module}`);
|
|
11
|
+
const exported = exports[entry.export];
|
|
12
|
+
if (exported === undefined)
|
|
13
|
+
throw new Error(`missing export ${entry.export} from ${entry.module}`);
|
|
14
|
+
// 动态模块先校验工厂与 Adapter 形状,再交给唯一 Core 注册;不提前探测未选模块。
|
|
15
|
+
const instance = entry.factory ? callFactory(exported, entry) : exported;
|
|
16
|
+
if (!isHostedAdapter(instance))
|
|
17
|
+
throw new TypeError(`${entry.module}#${entry.export} is not an Octo Runtime adapter`);
|
|
18
|
+
if (entry.type && instance.metadata.type !== entry.type)
|
|
19
|
+
throw new Error(`manifest type ${entry.type} does not match adapter ${instance.metadata.type}`);
|
|
20
|
+
adapters.push(instance);
|
|
21
|
+
}
|
|
22
|
+
if (options && adapters.some((adapter) => adapter.metadata.type === "openclaw")) {
|
|
23
|
+
const { initializeCliOpenClaw, syncCliOpenClawToolEnvironment } = await import("./openclaw.js");
|
|
24
|
+
await initializeCliOpenClaw(options.profileRoot);
|
|
25
|
+
if (options.syncOpenClawTools)
|
|
26
|
+
await syncCliOpenClawToolEnvironment(options.profileRoot, await readExtraDirectory(join(dirname(options.profileRoot), "extras")));
|
|
27
|
+
}
|
|
28
|
+
return adapters;
|
|
29
|
+
}
|
|
30
|
+
function callFactory(value, entry) {
|
|
31
|
+
if (typeof value !== "function")
|
|
32
|
+
throw new TypeError(`${entry.module}#${entry.export} is marked as a factory but is not callable`);
|
|
33
|
+
return value(entry.options);
|
|
34
|
+
}
|
|
35
|
+
function isHostedAdapter(value) {
|
|
36
|
+
if (!isRecord(value) || !isRecord(value.metadata))
|
|
37
|
+
return false;
|
|
38
|
+
return (typeof value.metadata.type === "string" &&
|
|
39
|
+
Array.isArray(value.metadata.agentSources) &&
|
|
40
|
+
value.metadata.agentSources.length > 0 &&
|
|
41
|
+
value.metadata.agentSources.every((source) => source === "preset" || source === "provisioned") &&
|
|
42
|
+
typeof value.invoke === "function");
|
|
43
|
+
}
|
|
44
|
+
function asRecord(value, label) {
|
|
45
|
+
if (!isRecord(value))
|
|
46
|
+
throw new TypeError(`${label} must be an object`);
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
function isRecord(value) {
|
|
50
|
+
return value !== null && typeof value === "object" && !Array.isArray(value);
|
|
51
|
+
}
|
package/apps/cli/dist/help.js
CHANGED
|
@@ -44,7 +44,7 @@ export const lifecycleCommands = new Map([
|
|
|
44
44
|
export const rootCommands = new Map([
|
|
45
45
|
["adapter", "List and probe execution adapters"],
|
|
46
46
|
["doctor", "Diagnose the local runtime"],
|
|
47
|
-
["executor-kernel", "Manage
|
|
47
|
+
["executor-kernel", "Manage native Agent execution and local RPC"],
|
|
48
48
|
["extraget", "Read a complete service configuration (advanced)"],
|
|
49
49
|
["extraset", "Replace a complete service configuration from JSON (advanced)"],
|
|
50
50
|
["help", "Help about any command"],
|
package/apps/cli/dist/index.js
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { runCli } from "./main.js";
|
|
3
|
+
import { installPlayboardInterrupt } from "./playboard-interrupt.js";
|
|
3
4
|
let componentRun = false;
|
|
4
5
|
try {
|
|
5
6
|
process.exitCode = await runCli(process.argv.slice(2), {
|
|
7
|
+
onPlayboardRun: () => {
|
|
8
|
+
installPlayboardInterrupt();
|
|
9
|
+
},
|
|
6
10
|
onComponentRun: () => {
|
|
7
11
|
componentRun = true;
|
|
8
12
|
}
|
package/apps/cli/dist/main.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { type ServiceControlOptions } from "./service-control.js";
|
|
2
2
|
export interface CliDependencies extends ServiceControlOptions {
|
|
3
|
+
/** 参数确认后通知可执行入口接管 Playboard 信号;可导入调用方默认保留协作取消。 */
|
|
4
|
+
onPlayboardRun?: () => void;
|
|
3
5
|
env?: NodeJS.ProcessEnv;
|
|
4
6
|
input?: NodeJS.ReadableStream;
|
|
5
7
|
output?: (line: string) => void;
|
package/apps/cli/dist/main.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { loadCliAdapters } from "./adapters.js";
|
|
1
2
|
import { runExtraCommand, commandError } from "./extra-commands.js";
|
|
2
3
|
import net from "node:net";
|
|
3
4
|
import { randomUUID } from "node:crypto";
|
|
4
5
|
import { once } from "node:events";
|
|
5
6
|
import { lstat, mkdir } from "node:fs/promises";
|
|
6
7
|
import { join, resolve } from "node:path";
|
|
7
|
-
import { fileURLToPath } from "node:url";
|
|
8
8
|
import { attachKernel, acknowledgeOrphanCleanup, inspectOrphanCleanup, createKernelService } from "@mininglamp-oss/octo-runtime-executor-kernel";
|
|
9
9
|
import { componentEndpoint, createExtraService } from "@mininglamp-oss/octo-runtime-host-sdk";
|
|
10
10
|
import { getExtra, readExtra, setExtra } from "./extras.js";
|
|
@@ -179,6 +179,7 @@ export async function runCli(args, dependencies = {}) {
|
|
|
179
179
|
return 0;
|
|
180
180
|
}
|
|
181
181
|
if (positional[0] === "playboard" && positional.length === 1) {
|
|
182
|
+
dependencies.onPlayboardRun?.();
|
|
182
183
|
const { runPlayboard } = await import("./playboard.js");
|
|
183
184
|
return runPlayboard({
|
|
184
185
|
home,
|
|
@@ -186,7 +187,8 @@ export async function runCli(args, dependencies = {}) {
|
|
|
186
187
|
manifest: flags.manifest,
|
|
187
188
|
input,
|
|
188
189
|
output: dependencies.output,
|
|
189
|
-
env: dependencies.env
|
|
190
|
+
env: dependencies.env,
|
|
191
|
+
handleSignals: !dependencies.onPlayboardRun
|
|
190
192
|
});
|
|
191
193
|
}
|
|
192
194
|
if (positional[0] === "adapter" && positional[1] === "list" && positional.length === 2) {
|
|
@@ -254,19 +256,15 @@ export async function runCli(args, dependencies = {}) {
|
|
|
254
256
|
logging: { directory: join(home, "logs") },
|
|
255
257
|
endpoint,
|
|
256
258
|
stateDirectory: kernelStateDirectory,
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
OCTO_RUNTIME_HOME: home,
|
|
263
|
-
OCTO_RUNTIME_CLI_PROFILE_ROOT: paths.profileRoot,
|
|
264
|
-
OCTO_RUNTIME_CLI_SYNC_OPENCLAW_TOOLS: "1",
|
|
265
|
-
OCTO_RUNTIME_LOGS_DIRECTORY: join(home, "logs")
|
|
266
|
-
}
|
|
259
|
+
adapters: await loadCliAdapters(resolveAdapterModules(manifest), {
|
|
260
|
+
profileRoot: paths.profileRoot,
|
|
261
|
+
syncOpenClawTools: true
|
|
262
|
+
}),
|
|
263
|
+
adapterConfigurations: await readCliAdapterConfigurations(paths.profileRoot, config?.adapters, manifest, dependencies.env ?? process.env)
|
|
267
264
|
});
|
|
268
265
|
}
|
|
269
266
|
else {
|
|
267
|
+
// CLI 的 Gateway 等 Extra 独立托管;ExtraService 内部 attach 已有 Kernel,不创建执行内核。
|
|
270
268
|
const registration = await readExtra(paths, component, manifest);
|
|
271
269
|
const module = registration.enabled === false
|
|
272
270
|
? { name: registration.name, default: () => () => { } }
|
|
@@ -61,11 +61,6 @@
|
|
|
61
61
|
"module": "@mininglamp-oss/octo-runtime-adapter-qoderclicn",
|
|
62
62
|
"export": "qoderCliCnAdapter"
|
|
63
63
|
},
|
|
64
|
-
{
|
|
65
|
-
"type": "zcode-gui",
|
|
66
|
-
"module": "@mininglamp-oss/octo-runtime-adapter-zcode-gui",
|
|
67
|
-
"export": "zcodeGuiAdapter"
|
|
68
|
-
},
|
|
69
64
|
{
|
|
70
65
|
"type": "antigravity",
|
|
71
66
|
"module": "@mininglamp-oss/octo-runtime-adapter-antigravity",
|
package/apps/cli/dist/output.js
CHANGED
|
@@ -22,12 +22,7 @@ export function formatStatus(name, snapshot) {
|
|
|
22
22
|
` Manager: ${service.manager}${service.pid ? ` PID: ${service.pid}` : runtime.pid ? ` PID: ${text(runtime.pid)}` : ""}`
|
|
23
23
|
];
|
|
24
24
|
if (runtime.execution_ready !== undefined)
|
|
25
|
-
lines.push(`
|
|
26
|
-
const recovery = record(record(runtime.worker).recovery);
|
|
27
|
-
if (recovery.code) {
|
|
28
|
-
lines.push(` Recovery: ${text(recovery.stage)} (${text(recovery.code)})${recovery.retry_at ? ` Next retry: ${text(recovery.retry_at)}` : ""}`);
|
|
29
|
-
lines.push(" Diagnostics: octo-runtime executor-kernel logs --follow (use the same --home)");
|
|
30
|
-
}
|
|
25
|
+
lines.push(` Execution: ${runtime.execution_ready ? "ready" : "unavailable"}`);
|
|
31
26
|
if (runtime.available === false)
|
|
32
27
|
lines.push(` Reason: ${text(record(runtime.error).code ?? "COMPONENT_UNAVAILABLE")}`);
|
|
33
28
|
if (service.lastExitCode !== undefined && service.lastExitCode !== 0)
|
|
@@ -128,7 +123,7 @@ export function describeError(error, fallback = "COMMAND_FAILED") {
|
|
|
128
123
|
EXTRA_MODULE_MIGRATION_REQUIRED: "The saved module differs from manifest.json. Review both declarations, then save matching module text or omit module from the Extra configuration.",
|
|
129
124
|
MANIFEST_INVALID: "Check manifest.json: version must be 1 and adapters/extras must be valid arrays without duplicate keys.",
|
|
130
125
|
MANAGER_UNAVAILABLE: "Run doctor and check the current user's native service manager.",
|
|
131
|
-
COMPONENT_UNAVAILABLE: "Check component status and the service logs; the IPC or
|
|
126
|
+
COMPONENT_UNAVAILABLE: "Check component status and the service logs; the IPC endpoint or execution service is not ready.",
|
|
132
127
|
SERVICE_PROCESS_EXITED: "The service exited unexpectedly. Check its logs and configuration.",
|
|
133
128
|
SERVICE_INITIALIZATION_FAILED: "Check the component configuration, manifest and service logs.",
|
|
134
129
|
SERVICE_DISABLED: "Enable this component with install --autostart=true, then start it."
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { execFileSync } from "node:child_process";
|
|
2
|
+
import { writeSync } from "node:fs";
|
|
3
|
+
/**
|
|
4
|
+
* 仅 CLI 可执行入口在确认 playboard 命令后安装,监听持续到本进程退出。
|
|
5
|
+
* 人工停止不等待 import、Run 终态或 Kernel close;SDK 不使用此策略。
|
|
6
|
+
* 命令返回但清理失败时仍须能停止残留进程树;信号监听本身不维持事件循环。
|
|
7
|
+
*/
|
|
8
|
+
export function installPlayboardInterrupt() {
|
|
9
|
+
let stopping = false;
|
|
10
|
+
const stop = (code) => {
|
|
11
|
+
if (stopping)
|
|
12
|
+
return;
|
|
13
|
+
stopping = true;
|
|
14
|
+
diagnostic("PLAYBOARD_FORCE_STOP: execution and cleanup are unconfirmed");
|
|
15
|
+
try {
|
|
16
|
+
if (process.platform === "win32") {
|
|
17
|
+
// 保持 leader 存活,由系统按 PID 回收树;不能先退出再查找后代。
|
|
18
|
+
execFileSync("taskkill.exe", ["/PID", String(process.pid), "/T", "/F"], {
|
|
19
|
+
stdio: "ignore",
|
|
20
|
+
windowsHide: true,
|
|
21
|
+
timeout: 2000
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
else {
|
|
25
|
+
// Adapter 可创建独立组,不能只杀当前组,更不能按 node/应用名匹配。
|
|
26
|
+
// 选择本次 CLI 的可识别后代,先杀最深层再退出自身,不触及兄弟服务。
|
|
27
|
+
const listing = execFileSync("/bin/ps", ["-axo", "pid=,ppid="], {
|
|
28
|
+
encoding: "utf8",
|
|
29
|
+
timeout: 2000,
|
|
30
|
+
maxBuffer: 8 * 1024 * 1024
|
|
31
|
+
});
|
|
32
|
+
const children = new Map();
|
|
33
|
+
for (const line of listing.split("\n")) {
|
|
34
|
+
const match = /^\s*(\d+)\s+(\d+)\s*$/.exec(line);
|
|
35
|
+
if (!match)
|
|
36
|
+
continue;
|
|
37
|
+
const pid = Number(match[1]), parent = Number(match[2]);
|
|
38
|
+
if (pid <= 1 || pid === process.pid)
|
|
39
|
+
continue;
|
|
40
|
+
const group = children.get(parent) ?? [];
|
|
41
|
+
group.push(pid);
|
|
42
|
+
children.set(parent, group);
|
|
43
|
+
}
|
|
44
|
+
const owned = [process.pid];
|
|
45
|
+
const seen = new Set(owned);
|
|
46
|
+
for (let i = 0; i < owned.length; i++)
|
|
47
|
+
for (const pid of children.get(owned[i]) ?? [])
|
|
48
|
+
if (!seen.has(pid)) {
|
|
49
|
+
seen.add(pid);
|
|
50
|
+
owned.push(pid);
|
|
51
|
+
}
|
|
52
|
+
let failed = false;
|
|
53
|
+
for (const pid of owned.slice(1).reverse()) {
|
|
54
|
+
try {
|
|
55
|
+
process.kill(pid, "SIGKILL");
|
|
56
|
+
}
|
|
57
|
+
catch (error) {
|
|
58
|
+
if (error.code !== "ESRCH")
|
|
59
|
+
failed = true;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
if (failed)
|
|
63
|
+
diagnostic("PLAYBOARD_TREE_STOP_UNCONFIRMED");
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
catch {
|
|
67
|
+
// 查询/终止失败不能继续吞掉人工退出;不声称未知或已重新归属的后代已停止。
|
|
68
|
+
diagnostic("PLAYBOARD_TREE_STOP_UNCONFIRMED");
|
|
69
|
+
}
|
|
70
|
+
finally {
|
|
71
|
+
process.exit(code);
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
const interrupt = () => stop(130);
|
|
75
|
+
const terminate = () => stop(143);
|
|
76
|
+
process.on("SIGINT", interrupt);
|
|
77
|
+
process.on("SIGTERM", terminate);
|
|
78
|
+
}
|
|
79
|
+
function diagnostic(message) {
|
|
80
|
+
try {
|
|
81
|
+
writeSync(2, `${message}\n`);
|
|
82
|
+
}
|
|
83
|
+
catch {
|
|
84
|
+
// stderr 已关闭时仍执行定向强退。
|
|
85
|
+
}
|
|
86
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { loadCliAdapters } from "./adapters.js";
|
|
1
2
|
import { defaultRuntimeHome, runtimePaths, readJsonFile } from "./state.js";
|
|
2
3
|
import { loadCliManifest } from "./module-manifest.js";
|
|
3
4
|
import { readCliAdapterConfigurations } from "./adapter-configurations.js";
|
|
4
5
|
import { resolveAdapterModules } from "@mininglamp-oss/octo-runtime-adapter-sdk/module-manifest";
|
|
5
6
|
import { createKernelService } from "@mininglamp-oss/octo-runtime-executor-kernel";
|
|
6
|
-
import { fileURLToPath } from "node:url";
|
|
7
7
|
import { componentEndpoint } from "@mininglamp-oss/octo-runtime-host-sdk";
|
|
8
8
|
import { mkdtemp, rm } from "node:fs/promises";
|
|
9
9
|
import { tmpdir } from "node:os";
|
|
@@ -76,8 +76,10 @@ export async function runPlayboard(options) {
|
|
|
76
76
|
};
|
|
77
77
|
if (!options.output)
|
|
78
78
|
process.stdout.on("error", onOutputError);
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
if (options.handleSignals !== false) {
|
|
80
|
+
process.once("SIGINT", onInterrupt);
|
|
81
|
+
process.once("SIGTERM", onTerminate);
|
|
82
|
+
}
|
|
81
83
|
let kernel;
|
|
82
84
|
let outcome;
|
|
83
85
|
let primaryFailure;
|
|
@@ -88,13 +90,10 @@ export async function runPlayboard(options) {
|
|
|
88
90
|
const configuration = await readJsonFile(paths.profileConfig);
|
|
89
91
|
kernel = createKernelService({
|
|
90
92
|
endpoint: process.platform === "win32" ? componentEndpoint(temporary) : join(temporary, "k.sock"),
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
OCTO_RUNTIME_CLI_PROFILE_ROOT: paths.profileRoot,
|
|
96
|
-
OCTO_RUNTIME_CLI_SYNC_OPENCLAW_TOOLS: "0"
|
|
97
|
-
},
|
|
93
|
+
adapters: await loadCliAdapters(resolveAdapterModules(manifest), {
|
|
94
|
+
profileRoot: paths.profileRoot,
|
|
95
|
+
syncOpenClawTools: false
|
|
96
|
+
}),
|
|
98
97
|
adapterConfigurations: await readCliAdapterConfigurations(paths.profileRoot, configuration?.adapters, manifest, options.env ?? process.env)
|
|
99
98
|
});
|
|
100
99
|
await kernel.initialize({ signal: controller.signal });
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
export { attachKernel, AsyncQuestionReply, KernelError, isInvocationNotSubmitted, createKernelService, ServiceInitializationError } from "@mininglamp-oss/octo-runtime-executor-kernel";
|
|
2
|
-
export { serveWorker } from "@mininglamp-oss/octo-runtime-executor-kernel";
|
|
3
2
|
export type { HostedAdapter } from "@mininglamp-oss/octo-runtime-executor-core";
|
|
4
3
|
export type { KernelClient, AsyncQuestionReplyResult, KernelInvocationRecord, KernelInvocationDrainResult, KernelInvocationLifecycle, KernelService, KernelServiceOptions, KernelServiceStatus, ServiceCleanupResult, ServiceLifecycle, ServicePhase, KernelStatus, LookupKey, RunRef, RunSnapshot } from "@mininglamp-oss/octo-runtime-executor-kernel";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mininglamp-oss/octo-runtime-acp-client",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.10",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": "./dist/index.js",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"dist"
|
|
10
10
|
],
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.
|
|
13
|
-
"@mininglamp-oss/octo-runtime-protocol": "1.1.
|
|
12
|
+
"@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.10",
|
|
13
|
+
"@mininglamp-oss/octo-runtime-protocol": "1.1.10"
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mininglamp-oss/octo-runtime-adapter-acp",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.10",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": "./dist/index.js",
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
"dist"
|
|
10
10
|
],
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@mininglamp-oss/octo-runtime-protocol": "1.1.
|
|
13
|
-
"@mininglamp-oss/octo-runtime-acp-client": "1.1.
|
|
14
|
-
"@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.
|
|
12
|
+
"@mininglamp-oss/octo-runtime-protocol": "1.1.10",
|
|
13
|
+
"@mininglamp-oss/octo-runtime-acp-client": "1.1.10",
|
|
14
|
+
"@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.10"
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mininglamp-oss/octo-runtime-adapter-antigravity",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.10",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": "./dist/index.js",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"README.md"
|
|
11
11
|
],
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.
|
|
14
|
-
"@mininglamp-oss/octo-runtime-protocol": "1.1.
|
|
13
|
+
"@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.10",
|
|
14
|
+
"@mininglamp-oss/octo-runtime-protocol": "1.1.10"
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mininglamp-oss/octo-runtime-adapter-claude-code",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.10",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": "./dist/index.js",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@mininglamp-oss/octo-runtime-protocol": "1.1.
|
|
9
|
-
"@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.
|
|
8
|
+
"@mininglamp-oss/octo-runtime-protocol": "1.1.10",
|
|
9
|
+
"@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.10"
|
|
10
10
|
},
|
|
11
11
|
"types": "./dist/index.d.ts",
|
|
12
12
|
"files": [
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mininglamp-oss/octo-runtime-adapter-codebuddy",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.10",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": "./dist/index.js",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@mininglamp-oss/octo-runtime-protocol": "1.1.
|
|
9
|
-
"@mininglamp-oss/octo-runtime-acp-client": "1.1.
|
|
10
|
-
"@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.
|
|
8
|
+
"@mininglamp-oss/octo-runtime-protocol": "1.1.10",
|
|
9
|
+
"@mininglamp-oss/octo-runtime-acp-client": "1.1.10",
|
|
10
|
+
"@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.10"
|
|
11
11
|
},
|
|
12
12
|
"types": "./dist/index.d.ts",
|
|
13
13
|
"files": [
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mininglamp-oss/octo-runtime-adapter-codex",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.10",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": "./dist/index.js",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@mininglamp-oss/octo-runtime-protocol": "1.1.
|
|
9
|
-
"@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.
|
|
8
|
+
"@mininglamp-oss/octo-runtime-protocol": "1.1.10",
|
|
9
|
+
"@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.10"
|
|
10
10
|
},
|
|
11
11
|
"types": "./dist/index.d.ts",
|
|
12
12
|
"files": [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mininglamp-oss/octo-runtime-adapter-dsh",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.10",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": "./dist/index.js",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
],
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"semver": "7.8.5",
|
|
13
|
-
"@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.
|
|
14
|
-
"@mininglamp-oss/octo-runtime-protocol": "1.1.
|
|
13
|
+
"@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.10",
|
|
14
|
+
"@mininglamp-oss/octo-runtime-protocol": "1.1.10"
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mininglamp-oss/octo-runtime-adapter-grok-build",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.10",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": "./dist/index.js",
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
"dist"
|
|
10
10
|
],
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@mininglamp-oss/octo-runtime-acp-client": "1.1.
|
|
13
|
-
"@mininglamp-oss/octo-runtime-adapter-acp": "1.1.
|
|
14
|
-
"@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.
|
|
15
|
-
"@mininglamp-oss/octo-runtime-protocol": "1.1.
|
|
12
|
+
"@mininglamp-oss/octo-runtime-acp-client": "1.1.10",
|
|
13
|
+
"@mininglamp-oss/octo-runtime-adapter-acp": "1.1.10",
|
|
14
|
+
"@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.10",
|
|
15
|
+
"@mininglamp-oss/octo-runtime-protocol": "1.1.10"
|
|
16
16
|
}
|
|
17
17
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mininglamp-oss/octo-runtime-adapter-hermes",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.10",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": "./dist/index.js",
|
|
@@ -9,6 +9,6 @@
|
|
|
9
9
|
"dist"
|
|
10
10
|
],
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@mininglamp-oss/octo-runtime-adapter-acp": "1.1.
|
|
12
|
+
"@mininglamp-oss/octo-runtime-adapter-acp": "1.1.10"
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mininglamp-oss/octo-runtime-adapter-kimi-code",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.10",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": "./dist/index.js",
|
|
@@ -9,6 +9,6 @@
|
|
|
9
9
|
"dist"
|
|
10
10
|
],
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@mininglamp-oss/octo-runtime-adapter-acp": "1.1.
|
|
12
|
+
"@mininglamp-oss/octo-runtime-adapter-acp": "1.1.10"
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mininglamp-oss/octo-runtime-adapter-mcode",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.10",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": "./dist/index.js",
|
|
@@ -9,6 +9,6 @@
|
|
|
9
9
|
"dist"
|
|
10
10
|
],
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@mininglamp-oss/octo-runtime-adapter-acp": "1.1.
|
|
12
|
+
"@mininglamp-oss/octo-runtime-adapter-acp": "1.1.10"
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mininglamp-oss/octo-runtime-adapter-openclaw",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.10",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": "./dist/index.js",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@mininglamp-oss/octo-runtime-protocol": "1.1.
|
|
9
|
-
"@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.
|
|
8
|
+
"@mininglamp-oss/octo-runtime-protocol": "1.1.10",
|
|
9
|
+
"@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.10",
|
|
10
10
|
"ws": "8.22.0"
|
|
11
11
|
},
|
|
12
12
|
"types": "./dist/index.d.ts",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mininglamp-oss/octo-runtime-adapter-opencode",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.10",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": "./dist/index.js",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@mininglamp-oss/octo-runtime-protocol": "1.1.
|
|
9
|
-
"@mininglamp-oss/octo-runtime-adapter-acp": "1.1.
|
|
10
|
-
"@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.
|
|
8
|
+
"@mininglamp-oss/octo-runtime-protocol": "1.1.10",
|
|
9
|
+
"@mininglamp-oss/octo-runtime-adapter-acp": "1.1.10",
|
|
10
|
+
"@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.10"
|
|
11
11
|
},
|
|
12
12
|
"types": "./dist/index.d.ts",
|
|
13
13
|
"files": [
|