@mininglamp-oss/octo-runtime 1.1.13 → 1.1.14

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.
Files changed (95) hide show
  1. package/apps/cli/dist/adapters.js +1 -5
  2. package/apps/cli/dist/build-info.json +2 -2
  3. package/dist/public/protocol.d.ts +1 -1
  4. package/node_modules/@mininglamp-oss/octo-runtime-acp-client/package.json +3 -3
  5. package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/dist/index.d.ts +19 -4
  6. package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/dist/index.js +24 -29
  7. package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/package.json +4 -4
  8. package/node_modules/@mininglamp-oss/octo-runtime-adapter-antigravity/dist/index.js +0 -1
  9. package/node_modules/@mininglamp-oss/octo-runtime-adapter-antigravity/package.json +3 -3
  10. package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/dist/agent-env.d.ts +3 -0
  11. package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/dist/agent-env.js +10 -0
  12. package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/dist/index.js +23 -24
  13. package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/package.json +3 -3
  14. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codebuddy/dist/index.js +1 -2
  15. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codebuddy/package.json +4 -4
  16. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/agent-env.d.ts +3 -0
  17. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/agent-env.js +10 -0
  18. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/app-server.js +25 -30
  19. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/index.js +0 -2
  20. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/package.json +3 -3
  21. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-SMTJTIN7.js → chunk-AE3OJBDS.js} +1 -1
  22. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-H3S6WM37.js → chunk-NGR74QLF.js} +0 -1
  23. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-RISQ6NGV.js → chunk-XIUZ6GXG.js} +1 -1
  24. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/errors.d.ts +0 -1
  25. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/errors.js +1 -1
  26. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/index.d.ts +2 -6
  27. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/index.js +5 -8
  28. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/launch.js +2 -2
  29. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/trajectory.js +2 -2
  30. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/package.json +3 -3
  31. package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/adapter.d.ts +0 -2
  32. package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/adapter.js +8 -18
  33. package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/agent-env.d.ts +3 -0
  34. package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/agent-env.js +10 -0
  35. package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/index.js +1 -12
  36. package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/package.json +5 -5
  37. package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/dist/index.d.ts +16 -2
  38. package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/dist/index.js +1 -2
  39. package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/package.json +2 -2
  40. package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/dist/index.d.ts +16 -2
  41. package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/dist/index.js +1 -2
  42. package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/package.json +2 -2
  43. package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/dist/index.d.ts +16 -2
  44. package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/dist/index.js +1 -2
  45. package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/package.json +2 -2
  46. package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/dist/index.d.ts +0 -4
  47. package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/dist/index.js +2 -3
  48. package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/package.json +3 -3
  49. package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/dist/index.js +6 -3
  50. package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/package.json +4 -4
  51. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/dist/index.d.ts +16 -2
  52. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/dist/index.js +1 -2
  53. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/package.json +3 -3
  54. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/dist/index.d.ts +16 -2
  55. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/dist/index.js +1 -2
  56. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/package.json +3 -3
  57. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/agent-env.d.ts +2 -3
  58. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/agent-env.js +6 -28
  59. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.d.ts +0 -2
  60. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.js +2 -7
  61. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/package.json +2 -2
  62. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/adapters.js +1 -5
  63. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/build-info.json +2 -2
  64. package/node_modules/@mininglamp-oss/octo-runtime-cli/package.json +20 -20
  65. package/node_modules/@mininglamp-oss/octo-runtime-client/build-info.json +2 -2
  66. package/node_modules/@mininglamp-oss/octo-runtime-client/package.json +2 -2
  67. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/protocol.schema.json +42 -624
  68. package/node_modules/@mininglamp-oss/octo-runtime-cross-service/package.json +1 -1
  69. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/index.js +97 -12
  70. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/model-output-silence.d.ts +21 -0
  71. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/model-output-silence.js +176 -0
  72. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/watchdog.d.ts +0 -1
  73. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/watchdog.js +3 -4
  74. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/package.json +3 -3
  75. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/package.json +5 -5
  76. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/package.json +4 -4
  77. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/adapter-metadata.d.ts +1 -1
  78. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context-catalog.js +1 -5
  79. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context.d.ts +0 -3
  80. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context.js +1 -26
  81. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/experience.js +7 -0
  82. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/failure.js +3 -12
  83. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/generated/protocol-types.d.ts +16 -240
  84. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/index.d.ts +3 -5
  85. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/index.js +2 -12
  86. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/run-protocol.js +0 -12
  87. package/node_modules/@mininglamp-oss/octo-runtime-protocol/package.json +1 -1
  88. package/package.json +24 -24
  89. package/packages/octo-runtime-protocol/schema/protocol.schema.json +42 -624
  90. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/actmode.d.ts +0 -5
  91. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/actmode.js +0 -8
  92. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/actmode.d.ts +0 -4
  93. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/actmode.js +0 -36
  94. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/runtime-selection.d.ts +0 -3
  95. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/runtime-selection.js +0 -68
@@ -17,7 +17,14 @@ export declare const qoderCliCnMetadata: AdapterMetadata;
17
17
  export declare function createQoderCliCnAdapter(options: NonNullable<Parameters<typeof createAcpAdapter>[1]> & {
18
18
  command: string;
19
19
  }): Readonly<Omit<{
20
- metadata: AdapterMetadata;
20
+ metadata: {
21
+ mcp?: boolean;
22
+ workspace?: boolean;
23
+ protocolSupport?: import("@mininglamp-oss/octo-runtime-protocol").AdapterProtocolSupport;
24
+ type: string;
25
+ processModel?: string;
26
+ transport?: string;
27
+ };
21
28
  probe: (() => Promise<import("@mininglamp-oss/octo-runtime-adapter-sdk").ProbeResult>) | (() => Promise<{
22
29
  available: false;
23
30
  command: string;
@@ -27,7 +34,14 @@ export declare function createQoderCliCnAdapter(options: NonNullable<Parameters<
27
34
  invoke(request: import("@mininglamp-oss/octo-runtime-protocol").InvokeRequest, context?: import("@mininglamp-oss/octo-runtime-adapter-sdk").AdapterInvocationContext): AsyncGenerator<import("@mininglamp-oss/octo-runtime-protocol").CanonicalEvent>;
28
35
  }, "metadata" | "defaultAgentEnv"> & {
29
36
  readonly defaultAgentEnv: import("@mininglamp-oss/octo-runtime-protocol").AgentEnv;
30
- metadata: Omit<AdapterMetadata, "protocolSupport"> & {
37
+ metadata: Omit<{
38
+ mcp?: boolean;
39
+ workspace?: boolean;
40
+ protocolSupport?: import("@mininglamp-oss/octo-runtime-protocol").AdapterProtocolSupport;
41
+ type: string;
42
+ processModel?: string;
43
+ transport?: string;
44
+ }, "protocolSupport"> & {
31
45
  protocolSupport: import("@mininglamp-oss/octo-runtime-protocol").AdapterProtocolSupport;
32
46
  };
33
47
  }>;
@@ -14,8 +14,7 @@ import { createAcpAdapter } from "@mininglamp-oss/octo-runtime-adapter-acp";
14
14
  */
15
15
  export const qoderCliCnMetadata = {
16
16
  type: "qoderclicn",
17
- mcp: true,
18
- agentSources: ["provisioned"]
17
+ mcp: true
19
18
  };
20
19
  /** 宿主交付所选命令或 client factory;本模块仅维护 ACP 协议要求。 */
21
20
  export function createQoderCliCnAdapter(options) {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mininglamp-oss/octo-runtime-adapter-qoderclicn",
3
- "version": "1.1.13",
3
+ "version": "1.1.14",
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",
13
- "@mininglamp-oss/octo-runtime-adapter-acp": "1.1.13"
12
+ "@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.14",
13
+ "@mininglamp-oss/octo-runtime-adapter-acp": "1.1.14"
14
14
  }
15
15
  }
@@ -1,4 +1,4 @@
1
- import { type AgentEnv, type ContextItem, type AgentSource, type ApprovalMode, type InvokeRequest, type RuntimeLimits } from "@mininglamp-oss/octo-runtime-protocol";
1
+ import { type AgentEnv, type ContextItem, type ApprovalMode, type InvokeRequest, type RuntimeLimits } from "@mininglamp-oss/octo-runtime-protocol";
2
2
  /**
3
3
  * 在 Adapter 消费本轮 AgentEnv 时,按 namespace/name 精确读取 bean 的 payload;不存在则返回 undefined。
4
4
  * 公共与私有 bean 都可读取。私有名称、字段和类型由宿主与对应 Adapter 约定,无须公共 schema 注册。
@@ -27,7 +27,6 @@ export declare function invocationModel(request: InvokeRequest): string | undefi
27
27
  export declare function invocationEffort(request: InvokeRequest): string | undefined;
28
28
  export declare function invocationWorkdir(request: InvokeRequest): string;
29
29
  export declare function invocationApprovalMode(request: InvokeRequest): ApprovalMode;
30
- export declare function invocationAgentSource(request: InvokeRequest): AgentSource;
31
30
  /** Harness 私有选项仍是原始 payload;不生成公共配置副本。 */
32
31
  export declare function invocationOptions(request: InvokeRequest, adapterType?: string): Record<string, unknown>;
33
32
  /** 可信连接选项只绑定本次 Adapter 调用,不写回调用方信封。 */
@@ -38,7 +37,7 @@ export declare function invocationTimeoutSeconds(request: InvokeRequest, adapter
38
37
  /** Adapter 解释预算,Core 仅按本地回调执行计时,不解析配置条目。 */
39
38
  export declare function invocationRuntimeLimits(request: InvokeRequest): RuntimeLimits | undefined;
40
39
  /** 每个 Harness 拥有自己的默认信封;不包含隐式 cwd、模型或业务材料。 */
41
- export declare function defaultAgentEnv(type: string, source?: AgentSource): AgentEnv;
40
+ export declare function defaultAgentEnv(type: string): AgentEnv;
42
41
  /** 调用方显式补缺省条目,保留已提交条目的顺序和值,返回独立副本。 */
43
42
  export declare function withAgentEnvDefaults(submitted: AgentEnv, defaults: AgentEnv): AgentEnv;
44
43
  /** 调用方显式替换同名 bean;不解释 payload,不改变其他条目的相对顺序。 */
@@ -1,7 +1,7 @@
1
1
  import { constants } from "node:fs";
2
2
  import { access, stat } from "node:fs/promises";
3
3
  import { isAbsolute } from "node:path";
4
- import { assertAgentEnv, assertApprovalMode, assertAgentSource, assertContextEnvs, assertContextMcp, assertRuntimeLimits, contextItem, CONTEXT_SCHEMA, DEFAULT_RUN_TIMEOUT_MS } from "@mininglamp-oss/octo-runtime-protocol";
4
+ import { assertAgentEnv, assertApprovalMode, assertContextEnvs, assertContextMcp, assertRuntimeLimits, contextItem, CONTEXT_SCHEMA, DEFAULT_RUN_TIMEOUT_MS } from "@mininglamp-oss/octo-runtime-protocol";
5
5
  /**
6
6
  * 在 Adapter 消费本轮 AgentEnv 时,按 namespace/name 精确读取 bean 的 payload;不存在则返回 undefined。
7
7
  * 公共与私有 bean 都可读取。私有名称、字段和类型由宿主与对应 Adapter 约定,无须公共 schema 注册。
@@ -44,12 +44,6 @@ export function invocationApprovalMode(request) {
44
44
  assertApprovalMode(mode);
45
45
  return mode;
46
46
  }
47
- export function invocationAgentSource(request) {
48
- const source = agentEnvItem(request.agentEnv, "octo.execution", "agent")?.source ??
49
- "provisioned";
50
- assertAgentSource(source);
51
- return source;
52
- }
53
47
  /** Harness 私有选项仍是原始 payload;不生成公共配置副本。 */
54
48
  export function invocationOptions(request, adapterType) {
55
49
  const type = adapterType ??
@@ -87,8 +81,7 @@ const LIMIT_NAMES = {
87
81
  tool_timeout_ms: "toolTimeoutMs",
88
82
  tool_wall_timeout_ms: "toolWallTimeoutMs",
89
83
  run_timeout_ms: "runTimeoutMs",
90
- cancel_grace_ms: "cancelGraceMs",
91
- enforcement: "enforcement"
84
+ cancel_grace_ms: "cancelGraceMs"
92
85
  };
93
86
  /** Adapter 解释预算,Core 仅按本地回调执行计时,不解析配置条目。 */
94
87
  export function invocationRuntimeLimits(request) {
@@ -105,12 +98,11 @@ export function invocationRuntimeLimits(request) {
105
98
  return result;
106
99
  }
107
100
  /** 每个 Harness 拥有自己的默认信封;不包含隐式 cwd、模型或业务材料。 */
108
- export function defaultAgentEnv(type, source = "provisioned") {
101
+ export function defaultAgentEnv(type) {
109
102
  return {
110
103
  schema: CONTEXT_SCHEMA,
111
104
  items: [
112
105
  { namespace: "octo.execution", name: "adapter", payload: { type } },
113
- { namespace: "octo.execution", name: "agent", payload: { source } },
114
106
  { namespace: "octo.security", name: "approval_policy", payload: { mode: "ask" } },
115
107
  {
116
108
  namespace: "octo.execution",
@@ -159,7 +151,6 @@ export function withAgentEnvItems(env, items) {
159
151
  export function assertAdapterAgentEnv(request) {
160
152
  assertAgentEnv(request.agentEnv);
161
153
  invocationApprovalMode(request);
162
- invocationAgentSource(request);
163
154
  invocationRuntimeLimits(request);
164
155
  for (const item of request.agentEnv.items) {
165
156
  if (item.namespace === "octo.security" && item.name === "approval_policy") {
@@ -174,18 +165,9 @@ export function assertAdapterAgentEnv(request) {
174
165
  if (typeof value.type !== "string" || !value.type)
175
166
  throw new TypeError("ADAPTER_TYPE_INVALID");
176
167
  }
177
- if (item.name === "agent") {
178
- assertFields(value, ["source"]);
179
- assertAgentSource(value.source);
180
- }
181
168
  if (item.name === "workspace" &&
182
169
  (Object.keys(value).some((k) => k !== "path") || typeof value.path !== "string"))
183
170
  throw new TypeError("WORKDIR_INVALID");
184
- if (item.name === "actmode") {
185
- assertFields(value, ["mode"]);
186
- if (!["plan", "default"].includes(String(value.mode)))
187
- throw new TypeError("CONTEXT_SCHEMA_INVALID: actmode");
188
- }
189
171
  if (item.name === "model") {
190
172
  assertFields(value, ["selection", "reasoning"]);
191
173
  if (!Object.keys(value).length)
@@ -200,12 +182,8 @@ export function assertAdapterAgentEnv(request) {
200
182
  if (!bean || typeof bean !== "object" || Array.isArray(bean))
201
183
  throw new TypeError("CONTEXT_SCHEMA_INVALID: model");
202
184
  const setting = bean;
203
- assertFields(setting, [property, "use_provider_default"]);
204
- if (setting.use_provider_default === true && setting[property] === undefined)
205
- continue;
206
- if (typeof setting[property] !== "string" ||
207
- !setting[property] ||
208
- setting.use_provider_default !== undefined)
185
+ assertFields(setting, [property]);
186
+ if (typeof setting[property] !== "string" || !setting[property])
209
187
  throw new TypeError("CONTEXT_SCHEMA_INVALID: model");
210
188
  }
211
189
  }
@@ -222,7 +200,7 @@ function assertFields(value, allowed) {
222
200
  /** 调用方准备目录;Adapter 在启动 Provider 前检查,不创建或替换路径。 */
223
201
  export async function assertAdapterWorkdir(request, workspace = true) {
224
202
  const path = invocationWorkdir(request);
225
- if (!workspace || (invocationAgentSource(request) === "preset" && !path))
203
+ if (!workspace)
226
204
  return;
227
205
  const messages = {
228
206
  WORKDIR_REQUIRED: "A prepared working directory is required; create it and provide its absolute path.",
@@ -7,7 +7,6 @@ import { type ReasoningLevelMap } from "./reasoning.js";
7
7
  export type { AdapterInvocationContext, ProviderActivity } from "./activity.js";
8
8
  export { invocationEnvironment, invocationEnvs, mergeProcessEnvironment, processEnvironmentValue } from "./environment.js";
9
9
  export { invocationMcpServers, expandMcpValue, assertMcpOptions } from "./mcp.js";
10
- export { actmodeEvidence } from "./actmode.js";
11
10
  import { type CanonicalEvent, type AdapterProtocolSupport, type HostControl, type NativeHostFrame, type InvokeRequest, type AgentEnv, type InteractionResponse, type NativeInteractionResponse, type StreamLimitPolicy } from "@mininglamp-oss/octo-runtime-protocol";
12
11
  export { freshFallbackInputText, hasImageInput, providerInputParts, providerInputText } from "@mininglamp-oss/octo-runtime-protocol";
13
12
  export type { CanonicalEvent, InvokeRequest, MessageChannel, MessageExposure, MessageProvenance } from "@mininglamp-oss/octo-runtime-protocol";
@@ -31,7 +30,6 @@ export interface AdapterMetadata {
31
30
  /** 仅编写输入可省略;这是执行时消费的协议描述,不能作为业务能力标签。 */
32
31
  protocolSupport?: AdapterProtocolSupport;
33
32
  type: string;
34
- agentSources: ("preset" | "provisioned")[];
35
33
  processModel?: string;
36
34
  transport?: string;
37
35
  }
@@ -7,7 +7,7 @@ import { createInterface } from "node:readline";
7
7
  import { promisify } from "node:util";
8
8
  import { invocationEnvironment, mergeProcessEnvironment } from "./environment.js";
9
9
  import { createProcessCleanup } from "./process-cleanup.js";
10
- import { defaultAgentEnv, assertAdapterAgentEnv, assertAdapterWorkdir, bindInvocationConnection, invocationApprovalMode, invocationAgentSource, invocationRuntimeLimits } from "./agent-env.js";
10
+ import { defaultAgentEnv, assertAdapterAgentEnv, assertAdapterWorkdir, bindInvocationConnection, invocationApprovalMode, invocationRuntimeLimits } from "./agent-env.js";
11
11
  export * from "./agent-env.js";
12
12
  import { assertProviderCommand } from "./provider-launch.js";
13
13
  export { snapshotProviderLaunch, assertProviderCommand } from "./provider-launch.js";
@@ -15,7 +15,6 @@ import { watchLineLimit } from "./line-limit.js";
15
15
  import { mapReasoningEffort, reasoningLevelMap } from "./reasoning.js";
16
16
  export { invocationEnvironment, invocationEnvs, mergeProcessEnvironment, processEnvironmentValue } from "./environment.js";
17
17
  export { invocationMcpServers, expandMcpValue, assertMcpOptions } from "./mcp.js";
18
- export { actmodeEvidence } from "./actmode.js";
19
18
  import { DEFAULT_STREAM_LIMIT_POLICY, isTerminal, assertProtocolSupport } from "@mininglamp-oss/octo-runtime-protocol";
20
19
  export { freshFallbackInputText, hasImageInput, providerInputParts, providerInputText } from "@mininglamp-oss/octo-runtime-protocol";
21
20
  export { acpToolTerminalStatus, normalizeAcpToolUpdate } from "./acp-tool.js";
@@ -74,8 +73,7 @@ export function defineAdapter(adapter, levels = reasoningLevelMap(adapter.metada
74
73
  modes: ["canonical"],
75
74
  nativeMethods: []
76
75
  };
77
- const defaults = structuredClone(adapter.defaultAgentEnv ??
78
- defaultAgentEnv(metadata.type, metadata.agentSources.includes("provisioned") ? "provisioned" : "preset"));
76
+ const defaults = structuredClone(adapter.defaultAgentEnv ?? defaultAgentEnv(metadata.type));
79
77
  return Object.freeze({
80
78
  ...adapter,
81
79
  get defaultAgentEnv() {
@@ -95,9 +93,6 @@ export function defineAdapter(adapter, levels = reasoningLevelMap(adapter.metada
95
93
  await runAdapterPreparation(context, async () => {
96
94
  assertAdapterAgentEnv(request);
97
95
  context?.configureRuntimeLimits?.(invocationRuntimeLimits(request));
98
- if (request.agentEnv.items.some((item) => item.namespace === "octo.execution" && item.name === "agent") &&
99
- !metadata.agentSources.includes(invocationAgentSource(request)))
100
- throw new Error(`AGENT_SOURCE_UNSUPPORTED: ${metadata.type}`);
101
96
  if (invocationApprovalMode(request) !== "full_access" &&
102
97
  (context?.protocolMode === "native"
103
98
  ? !adapter.respondNative
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mininglamp-oss/octo-runtime-adapter-sdk",
3
- "version": "1.1.13",
3
+ "version": "1.1.14",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "exports": {
@@ -10,7 +10,7 @@
10
10
  "./module-manifest": "./dist/module-manifest.js"
11
11
  },
12
12
  "dependencies": {
13
- "@mininglamp-oss/octo-runtime-protocol": "1.1.13",
13
+ "@mininglamp-oss/octo-runtime-protocol": "1.1.14",
14
14
  "import-meta-resolve": "4.2.0"
15
15
  },
16
16
  "types": "./dist/index.d.ts",
@@ -182,11 +182,7 @@ function callFactory(value, entry, env) {
182
182
  function isHostedAdapter(value) {
183
183
  if (!isRecord(value) || !isRecord(value.metadata))
184
184
  return false;
185
- return (typeof value.metadata.type === "string" &&
186
- Array.isArray(value.metadata.agentSources) &&
187
- value.metadata.agentSources.length > 0 &&
188
- value.metadata.agentSources.every((source) => source === "preset" || source === "provisioned") &&
189
- typeof value.invoke === "function");
185
+ return typeof value.metadata.type === "string" && typeof value.invoke === "function";
190
186
  }
191
187
  function isScopeCleanup(value) {
192
188
  if (!isRecord(value) || typeof value.complete !== "boolean")
@@ -1,5 +1,5 @@
1
1
  {
2
- "commit": "7892ebdf2ed9b1fa859bd51f15da6d7f03c247e2",
2
+ "commit": "c9d3bb6a642abce3177ac28cf9f26993909c3d32",
3
3
  "dirty": false,
4
- "buildTime": "2026-11-10T02:10:04.554Z"
4
+ "buildTime": "2026-11-10T17:37:37.695Z"
5
5
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mininglamp-oss/octo-runtime-cli",
3
- "version": "1.1.13",
3
+ "version": "1.1.14",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "bin": {
@@ -9,25 +9,25 @@
9
9
  "types": "./dist/index.d.ts",
10
10
  "dependencies": {
11
11
  "commander": "15.0.0",
12
- "@mininglamp-oss/octo-runtime-adapter-dsh": "1.1.13",
13
- "@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.13",
12
+ "@mininglamp-oss/octo-runtime-adapter-dsh": "1.1.14",
13
+ "@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.14",
14
14
  "json5": "2.2.3",
15
- "@mininglamp-oss/octo-runtime-host-sdk": "1.1.13",
16
- "@mininglamp-oss/octo-runtime-adapter-openclaw": "1.1.13",
17
- "@mininglamp-oss/octo-runtime-cross-service": "1.1.13",
18
- "@mininglamp-oss/octo-runtime-protocol": "1.1.13",
19
- "@mininglamp-oss/octo-runtime-executor-kernel": "1.1.13",
20
- "@mininglamp-oss/octo-runtime-executor-core": "1.1.13",
21
- "@mininglamp-oss/octo-runtime-adapter-antigravity": "1.1.13",
22
- "@mininglamp-oss/octo-runtime-adapter-claude-code": "1.1.13",
23
- "@mininglamp-oss/octo-runtime-adapter-codebuddy": "1.1.13",
24
- "@mininglamp-oss/octo-runtime-adapter-codex": "1.1.13",
25
- "@mininglamp-oss/octo-runtime-adapter-hermes": "1.1.13",
26
- "@mininglamp-oss/octo-runtime-adapter-grok-build": "1.1.13",
27
- "@mininglamp-oss/octo-runtime-adapter-kimi-code": "1.1.13",
28
- "@mininglamp-oss/octo-runtime-adapter-mcode": "1.1.13",
29
- "@mininglamp-oss/octo-runtime-adapter-opencode": "1.1.13",
30
- "@mininglamp-oss/octo-runtime-adapter-qodercli": "1.1.13",
31
- "@mininglamp-oss/octo-runtime-adapter-qoderclicn": "1.1.13"
15
+ "@mininglamp-oss/octo-runtime-host-sdk": "1.1.14",
16
+ "@mininglamp-oss/octo-runtime-adapter-openclaw": "1.1.14",
17
+ "@mininglamp-oss/octo-runtime-cross-service": "1.1.14",
18
+ "@mininglamp-oss/octo-runtime-protocol": "1.1.14",
19
+ "@mininglamp-oss/octo-runtime-executor-kernel": "1.1.14",
20
+ "@mininglamp-oss/octo-runtime-executor-core": "1.1.14",
21
+ "@mininglamp-oss/octo-runtime-adapter-antigravity": "1.1.14",
22
+ "@mininglamp-oss/octo-runtime-adapter-claude-code": "1.1.14",
23
+ "@mininglamp-oss/octo-runtime-adapter-codebuddy": "1.1.14",
24
+ "@mininglamp-oss/octo-runtime-adapter-codex": "1.1.14",
25
+ "@mininglamp-oss/octo-runtime-adapter-hermes": "1.1.14",
26
+ "@mininglamp-oss/octo-runtime-adapter-grok-build": "1.1.14",
27
+ "@mininglamp-oss/octo-runtime-adapter-kimi-code": "1.1.14",
28
+ "@mininglamp-oss/octo-runtime-adapter-mcode": "1.1.14",
29
+ "@mininglamp-oss/octo-runtime-adapter-opencode": "1.1.14",
30
+ "@mininglamp-oss/octo-runtime-adapter-qodercli": "1.1.14",
31
+ "@mininglamp-oss/octo-runtime-adapter-qoderclicn": "1.1.14"
32
32
  }
33
33
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "commit": "7892ebdf2ed9b1fa859bd51f15da6d7f03c247e2",
2
+ "commit": "c9d3bb6a642abce3177ac28cf9f26993909c3d32",
3
3
  "dirty": false,
4
- "buildTime": "2026-11-10T02:10:04.554Z"
4
+ "buildTime": "2026-11-10T17:37:37.695Z"
5
5
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mininglamp-oss/octo-runtime-client",
3
- "version": "1.1.13",
3
+ "version": "1.1.14",
4
4
  "private": true,
5
5
  "description": "Standalone Node.js client and shared protocol for an existing Octo Runtime Kernel",
6
6
  "license": "Apache-2.0",
@@ -49,6 +49,6 @@
49
49
  "directory": "packages/octo-runtime-client"
50
50
  },
51
51
  "dependencies": {
52
- "@mininglamp-oss/octo-runtime-protocol": "1.1.13"
52
+ "@mininglamp-oss/octo-runtime-protocol": "1.1.14"
53
53
  }
54
54
  }