@mininglamp-oss/octo-runtime 1.1.7 → 1.1.9
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/apps/cli/README.md +3 -1
- package/apps/cli/dist/build-info.json +2 -2
- package/apps/cli/dist/command-tree.js +3 -1
- package/apps/cli/dist/output.js +5 -2
- package/apps/cli/dist/playboard.js +11 -2
- package/dist/public/executor-kernel.d.ts +2 -2
- package/dist/public/executor-kernel.js +1 -1
- package/dist/public/protocol.d.ts +1 -1
- package/dist/public/protocol.js +1 -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/dist/app-server.d.ts +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/app-server.js +200 -106
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/async-questions.d.ts +27 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/async-questions.js +205 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/stdin-writer.d.ts +30 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/stdin-writer.js +223 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-V5W6ZTYC.js → chunk-FGFEM7JP.js} +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-CFKMMCO6.js → chunk-R3PDZLX5.js} +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-LO34KB7D.js → chunk-TSRZVLIG.js} +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/dsh-sdk-NOTICE.txt +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/errors.js +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/index.js +5 -5
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/launch.js +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/trajectory.js +2 -2
- 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/dist/gateway.d.ts +3 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/dist/gateway.js +57 -13
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/dist/index.d.ts +3 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/dist/index.js +4 -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/approval.js +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.d.ts +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.js +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/public-display.d.ts +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/public-display.js +22 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/runtime-log.js +20 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/service-status.js +14 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-zcode-gui/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/build-info.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/command-tree.js +3 -1
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/output.js +5 -2
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/playboard.js +11 -2
- package/node_modules/@mininglamp-oss/octo-runtime-cli/package.json +24 -24
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/launchd.d.ts +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/launchd.js +12 -11
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/package.json +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/experience.js +2 -1
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/index.d.ts +5 -4
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/index.js +7 -4
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/invoke-input.js +9 -2
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/watchdog.js +6 -3
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/async-question-reply.d.ts +30 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/async-question-reply.js +199 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/host-run-service.js +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/index.d.ts +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/index.js +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/rpc.d.ts +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/rpc.js +16 -3
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/server.js +36 -19
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/im-channel.js +27 -35
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/contracts.d.ts +5 -4
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/dispatcher.d.ts +4 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/dispatcher.js +29 -6
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/identity.d.ts +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/identity.js +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/send-error.d.ts +6 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/send-error.js +10 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/task.js +14 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-session.d.ts +3 -2
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-session.js +54 -10
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/channel.d.ts +4 -2
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/channel.js +77 -109
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connector.d.ts +3 -5
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connector.js +27 -40
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/interaction-card.js +2 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/reasoning-frame.js +42 -7
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/session-command.d.ts +9 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/session-command.js +71 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/wukong.d.ts +1 -12
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/wukong.js +6 -126
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/package.json +6 -6
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/im-channel.js +14 -0
- 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-CXTvRGim.js → index-BVxePruX.js} +11 -10
- 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/dist/context-loader.js +1 -1
- 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 +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/browser.js +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context.d.ts +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context.js +4 -1
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/failure.d.ts +3 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/failure.js +63 -12
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/generated/protocol-types.d.ts +110 -5
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/index.d.ts +7 -4
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/index.js +28 -6
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-input.js +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/questions.d.ts +9 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/questions.js +84 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/run-protocol.d.ts +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/run-protocol.js +11 -5
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/package.json +1 -1
- package/package.json +27 -27
- package/packages/octo-runtime-protocol/schema/protocol.schema.json +156 -4
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/text-send.d.ts +0 -19
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/text-send.js +0 -86
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/delivery-notice.d.ts +0 -5
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/delivery-notice.js +0 -35
package/apps/cli/README.md
CHANGED
|
@@ -103,7 +103,9 @@ octo-runtime playboard <<'JSON'
|
|
|
103
103
|
JSON
|
|
104
104
|
```
|
|
105
105
|
|
|
106
|
-
需要已安装并认证的真实 Provider。输出为 NDJSON,执行诊断写 stderr
|
|
106
|
+
需要已安装并认证的真实 Provider。输出为 NDJSON,执行诊断写 stderr。Playboard 未显式提供顶层 approvalMode 或 Context approval_policy 时默认 full_access;SDK 的默认值仍为 ask。普通执行缺省工作目录是启动 CLI 的 process.cwd(),显式目录和 preset Provider 自有目录保持原语义。
|
|
107
|
+
|
|
108
|
+
Adapter 自动处理的审批会继续到真实终态;需要外部回答的审批或追问以 PLAYBOARD_INTERACTION_REQUIRED 失败。自动处理通知不代表批准已写入或执行已完成。Provider、模型、权限等通过 Context 的既有执行项设置。
|
|
107
109
|
|
|
108
110
|
## 返回码
|
|
109
111
|
|
|
@@ -230,7 +230,9 @@ export async function parseCliCommand(raw, dependencies) {
|
|
|
230
230
|
}
|
|
231
231
|
entries.push(metadata ?? { name, module: "", sourceManifest: "" });
|
|
232
232
|
}
|
|
233
|
-
const root = command("octo-runtime", "Manage the local Octo Agent runtime and independent services
|
|
233
|
+
const root = command("octo-runtime", "Manage the local Octo Agent runtime and independent services.\n\n" +
|
|
234
|
+
"Octo Runtime by Mininglamp Technology\n" +
|
|
235
|
+
"Open source on GitHub: https://github.com/Mininglamp-OSS/octo-runtime");
|
|
234
236
|
addHostOptions(root, args, !isExtra || (offline && !["extraset", "extraget"].includes(operands[1])));
|
|
235
237
|
option(root, "-v, --version", "Print version and build information", args);
|
|
236
238
|
// 旧服务参数可位于组件之前;根仅隐藏解析,所属动作仍在本层帮助展示。
|
package/apps/cli/dist/output.js
CHANGED
|
@@ -14,8 +14,11 @@ export function formatStatus(name, snapshot) {
|
|
|
14
14
|
const runtime = record(snapshot.runtime);
|
|
15
15
|
const business = record(runtime.status);
|
|
16
16
|
const ipc = runtime.available === false ? "unavailable" : "ready";
|
|
17
|
+
// 查询失败的 enabled=false 只是兼容占位值,不代表已确认关闭自启。
|
|
18
|
+
const managerQueryFailed = service.state === "unknown" && service.detail && /^[A-Z][A-Z0-9_]+$/.test(service.detail);
|
|
19
|
+
const autostart = managerQueryFailed ? "unknown" : service.enabled ? "on" : "off";
|
|
17
20
|
const lines = [
|
|
18
|
-
`${name} service: ${service.state} autostart: ${
|
|
21
|
+
`${name} service: ${service.state} autostart: ${autostart} IPC: ${ipc}`,
|
|
19
22
|
` Manager: ${service.manager}${service.pid ? ` PID: ${service.pid}` : runtime.pid ? ` PID: ${text(runtime.pid)}` : ""}`
|
|
20
23
|
];
|
|
21
24
|
if (runtime.execution_ready !== undefined)
|
|
@@ -31,7 +34,7 @@ export function formatStatus(name, snapshot) {
|
|
|
31
34
|
lines.push(` Last exit: ${service.lastExitCode}`);
|
|
32
35
|
if (service.definitionPath)
|
|
33
36
|
lines.push(` Definition: ${service.definitionPath}`);
|
|
34
|
-
if (
|
|
37
|
+
if (managerQueryFailed)
|
|
35
38
|
lines.push(` Manager status: ${service.detail}`);
|
|
36
39
|
const summarize = (value, depth = 0) => {
|
|
37
40
|
if (Array.isArray(value))
|
|
@@ -45,6 +45,12 @@ export async function runPlayboard(options) {
|
|
|
45
45
|
if (!value || typeof value !== "object" || Array.isArray(value))
|
|
46
46
|
throw new TypeError("playboard stdin must contain one JSON input object");
|
|
47
47
|
const input = identifyInvokeInput(value);
|
|
48
|
+
// full_access 是本 CLI 宿主的缺省策略;显式策略(包括非法值)交给共享入口校验,
|
|
49
|
+
// 不覆盖 Context,也不改变 SDK 的 ask 默认值。
|
|
50
|
+
if (!Object.hasOwn(input, "approvalMode") &&
|
|
51
|
+
!(Array.isArray(input.contexts?.items) &&
|
|
52
|
+
input.contexts.items.some((item) => item?.namespace === "octo.security" && item.name === "approval_policy")))
|
|
53
|
+
input.approvalMode = "full_access";
|
|
48
54
|
const profile = options.profile ?? "default";
|
|
49
55
|
const home = options.home ?? defaultRuntimeHome(options.env);
|
|
50
56
|
runtimePaths(home, profile); // Validate the selected profile before starting resources.
|
|
@@ -98,8 +104,11 @@ export async function runPlayboard(options) {
|
|
|
98
104
|
if (("kind" in frame &&
|
|
99
105
|
frame.kind === "control" &&
|
|
100
106
|
frame.control.type === "interaction" &&
|
|
101
|
-
frame.control.status === "pending"
|
|
102
|
-
|
|
107
|
+
frame.control.status === "pending" &&
|
|
108
|
+
frame.control.responseRequired !== false) ||
|
|
109
|
+
(!("kind" in frame) &&
|
|
110
|
+
frame.type === "interaction.requested" &&
|
|
111
|
+
frame.payload.responseRequired !== false)) {
|
|
103
112
|
throw new Error("PLAYBOARD_INTERACTION_REQUIRED: one-shot stdin cannot answer provider interactions");
|
|
104
113
|
}
|
|
105
114
|
if ("kind" in frame &&
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { attachKernel, KernelError, isInvocationNotSubmitted, createKernelService, ServiceInitializationError } from "@mininglamp-oss/octo-runtime-executor-kernel";
|
|
1
|
+
export { attachKernel, AsyncQuestionReply, KernelError, isInvocationNotSubmitted, createKernelService, ServiceInitializationError } from "@mininglamp-oss/octo-runtime-executor-kernel";
|
|
2
2
|
export { serveWorker } from "@mininglamp-oss/octo-runtime-executor-kernel";
|
|
3
3
|
export type { HostedAdapter } from "@mininglamp-oss/octo-runtime-executor-core";
|
|
4
|
-
export type { KernelClient, KernelInvocationRecord, KernelInvocationDrainResult, KernelInvocationLifecycle, KernelService, KernelServiceOptions, KernelServiceStatus, ServiceCleanupResult, ServiceLifecycle, ServicePhase, KernelStatus, LookupKey, RunRef, RunSnapshot } from "@mininglamp-oss/octo-runtime-executor-kernel";
|
|
4
|
+
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,2 +1,2 @@
|
|
|
1
|
-
export { attachKernel, KernelError, isInvocationNotSubmitted, createKernelService, ServiceInitializationError } from "@mininglamp-oss/octo-runtime-executor-kernel";
|
|
1
|
+
export { attachKernel, AsyncQuestionReply, KernelError, isInvocationNotSubmitted, createKernelService, ServiceInitializationError } from "@mininglamp-oss/octo-runtime-executor-kernel";
|
|
2
2
|
export { serveWorker } from "@mininglamp-oss/octo-runtime-executor-kernel";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export type * from "@mininglamp-oss/octo-runtime-protocol";
|
|
2
2
|
export type { CanonicalEventWire, ContextMcpLocator, ContextMcpPayload, ContextModelSelectionPayload, PersistentContextEnvelope, PublicObjectMaterial } from "@mininglamp-oss/octo-runtime-protocol/browser";
|
|
3
|
-
export { InvokeInput, assertInvokeInput, CONTEXT_SCHEMA, CONTEXT_MAX_BYTES, CONTEXT_MAX_ITEMS, RUNTIME_RUN_CONTRACT, PROTOCOL_VERSION, APPROVAL_MODES, CANONICAL_EVENT_TYPES, TERMINAL_EVENT_TYPES, INTERACTION_RESPONSE_OUTCOMES, IMAGE_INPUT_LIMITS, IMAGE_INPUT_MIME_TYPES, assertContextEnvelope, assertModelInputParts, assertRuntimeLimits, assertCanonicalEvent, assertApprovalRequest, assertInteractionResponse, assertNativeInteractionResponse, assertHostRunReceipt, assertHostControl, assertHostFrame, assertHostFrameIdentity, assertFailureEnvelope, isTerminal, isHostTerminal, canonicalEvents, contextItem, contextHash, messageExposure, isFailureEnvelope, failureMessage } from "@mininglamp-oss/octo-runtime-protocol";
|
|
3
|
+
export { InvokeInput, assertInvokeInput, CONTEXT_SCHEMA, CONTEXT_MAX_BYTES, CONTEXT_MAX_ITEMS, RUNTIME_RUN_CONTRACT, PROTOCOL_VERSION, APPROVAL_MODES, CANONICAL_EVENT_TYPES, TERMINAL_EVENT_TYPES, INTERACTION_RESPONSE_OUTCOMES, IMAGE_INPUT_LIMITS, IMAGE_INPUT_MIME_TYPES, assertContextEnvelope, assertModelInputParts, assertRuntimeLimits, assertCanonicalEvent, assertApprovalRequest, assertAsyncQuestions, assertQuestionRequest, assertQuestionResponse, questionAnswerText, assertInteractionResponse, assertNativeInteractionResponse, assertHostRunReceipt, assertHostControl, assertHostFrame, assertHostFrameIdentity, assertFailureEnvelope, isTerminal, isHostTerminal, canonicalEvents, contextItem, contextHash, messageExposure, isFailureEnvelope, failureMessage } from "@mininglamp-oss/octo-runtime-protocol";
|
package/dist/public/protocol.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { InvokeInput, assertInvokeInput, CONTEXT_SCHEMA, CONTEXT_MAX_BYTES, CONTEXT_MAX_ITEMS, RUNTIME_RUN_CONTRACT, PROTOCOL_VERSION, APPROVAL_MODES, CANONICAL_EVENT_TYPES, TERMINAL_EVENT_TYPES, INTERACTION_RESPONSE_OUTCOMES, IMAGE_INPUT_LIMITS, IMAGE_INPUT_MIME_TYPES, assertContextEnvelope, assertModelInputParts, assertRuntimeLimits, assertCanonicalEvent, assertApprovalRequest, assertInteractionResponse, assertNativeInteractionResponse, assertHostRunReceipt, assertHostControl, assertHostFrame, assertHostFrameIdentity, assertFailureEnvelope, isTerminal, isHostTerminal, canonicalEvents, contextItem, contextHash, messageExposure, isFailureEnvelope, failureMessage } from "@mininglamp-oss/octo-runtime-protocol";
|
|
1
|
+
export { InvokeInput, assertInvokeInput, CONTEXT_SCHEMA, CONTEXT_MAX_BYTES, CONTEXT_MAX_ITEMS, RUNTIME_RUN_CONTRACT, PROTOCOL_VERSION, APPROVAL_MODES, CANONICAL_EVENT_TYPES, TERMINAL_EVENT_TYPES, INTERACTION_RESPONSE_OUTCOMES, IMAGE_INPUT_LIMITS, IMAGE_INPUT_MIME_TYPES, assertContextEnvelope, assertModelInputParts, assertRuntimeLimits, assertCanonicalEvent, assertApprovalRequest, assertAsyncQuestions, assertQuestionRequest, assertQuestionResponse, questionAnswerText, assertInteractionResponse, assertNativeInteractionResponse, assertHostRunReceipt, assertHostControl, assertHostFrame, assertHostFrameIdentity, assertFailureEnvelope, isTerminal, isHostTerminal, canonicalEvents, contextItem, contextHash, messageExposure, isFailureEnvelope, failureMessage } from "@mininglamp-oss/octo-runtime-protocol";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mininglamp-oss/octo-runtime-acp-client",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.9",
|
|
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.9",
|
|
13
|
+
"@mininglamp-oss/octo-runtime-protocol": "1.1.9"
|
|
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.9",
|
|
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.9",
|
|
13
|
+
"@mininglamp-oss/octo-runtime-acp-client": "1.1.9",
|
|
14
|
+
"@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.9"
|
|
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.9",
|
|
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.9",
|
|
14
|
+
"@mininglamp-oss/octo-runtime-protocol": "1.1.9"
|
|
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.9",
|
|
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.9",
|
|
9
|
+
"@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.9"
|
|
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.9",
|
|
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.9",
|
|
9
|
+
"@mininglamp-oss/octo-runtime-acp-client": "1.1.9",
|
|
10
|
+
"@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.9"
|
|
11
11
|
},
|
|
12
12
|
"types": "./dist/index.d.ts",
|
|
13
13
|
"files": [
|
|
@@ -53,6 +53,7 @@ export declare class CodexAppServerRpcError extends Error {
|
|
|
53
53
|
/** Error for when the subprocess exits without producing a run terminal, preserving exit code/signal. */
|
|
54
54
|
export declare class CodexAppServerProcessError extends Error {
|
|
55
55
|
readonly exit: ProcessExit;
|
|
56
|
+
readonly code = "CODEX_TRANSPORT_FAILED";
|
|
56
57
|
constructor(message: string, exit: ProcessExit);
|
|
57
58
|
}
|
|
58
59
|
/** Production always uses the stdio transport; other injected args are only for a test server. */
|