@mininglamp-oss/octo-runtime 1.1.6 → 1.1.8

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 (250) hide show
  1. package/apps/cli/dist/build-info.json +2 -2
  2. package/dist/public/dsh.d.ts +1 -1
  3. package/dist/public/dsh.js +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 +9 -1
  6. package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/dist/index.js +17 -0
  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.d.ts +20 -2
  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/index.d.ts +32 -2
  11. package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/dist/index.js +3 -0
  12. package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/package.json +3 -3
  13. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codebuddy/dist/index.d.ts +16 -2
  14. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codebuddy/package.json +4 -4
  15. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/app-server.js +5 -0
  16. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/index.d.ts +32 -2
  17. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/package.json +3 -3
  18. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-IW62UM3C.js → chunk-CFKMMCO6.js} +5 -3
  19. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-FWAPYRV2.js → chunk-LO34KB7D.js} +1 -1
  20. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-3GXX5VD5.js → chunk-V5W6ZTYC.js} +14 -6
  21. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/errors.d.ts +4 -2
  22. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/errors.js +3 -1
  23. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/index.d.ts +17 -3
  24. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/index.js +8 -6
  25. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/launch.d.ts +1 -0
  26. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/launch.js +2 -2
  27. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/trajectory.js +2 -2
  28. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/package.json +4 -3
  29. package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/adapter.d.ts +9 -1
  30. package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/index.d.ts +10 -6
  31. package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/package.json +5 -5
  32. package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/dist/index.d.ts +9 -1
  33. package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/package.json +2 -2
  34. package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/dist/index.d.ts +9 -1
  35. package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/package.json +2 -2
  36. package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/dist/index.d.ts +9 -1
  37. package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/package.json +2 -2
  38. package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/dist/compatibility.d.ts +2 -1
  39. package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/dist/compatibility.js +12 -40
  40. package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/dist/index.d.ts +22 -2
  41. package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/dist/index.js +422 -135
  42. package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/package.json +3 -3
  43. package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/dist/index.d.ts +6 -2
  44. package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/dist/index.js +2 -0
  45. package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/package.json +4 -4
  46. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/dist/index.d.ts +9 -1
  47. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/package.json +2 -2
  48. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/dist/index.d.ts +9 -1
  49. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/package.json +2 -2
  50. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.d.ts +19 -5
  51. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.js +8 -5
  52. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/public-display.d.ts +2 -0
  53. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/public-display.js +22 -0
  54. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/runtime-log.js +20 -0
  55. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/service-status.js +14 -1
  56. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/package.json +2 -2
  57. package/node_modules/@mininglamp-oss/octo-runtime-adapter-zcode-gui/dist/index.d.ts +20 -2
  58. package/node_modules/@mininglamp-oss/octo-runtime-adapter-zcode-gui/package.json +3 -3
  59. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/build-info.json +2 -2
  60. package/node_modules/@mininglamp-oss/octo-runtime-cli/package.json +24 -24
  61. package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/runner.d.ts +2 -1
  62. package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/runner.js +102 -52
  63. package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/windows-task.js +8 -3
  64. package/node_modules/@mininglamp-oss/octo-runtime-cross-service/package.json +5 -3
  65. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/index.d.ts +4 -3
  66. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/index.js +1 -1
  67. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/invoke-input.js +2 -0
  68. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/model-input.d.ts +1 -1
  69. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/model-input.js +9 -6
  70. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/package.json +3 -3
  71. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/package.json +4 -4
  72. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/config-schema.json +8 -1
  73. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/context-gap.d.ts +17 -1
  74. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/context-gap.js +22 -6
  75. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/history-context.d.ts +3 -0
  76. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/history-context.js +27 -0
  77. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/im-channel.js +447 -241
  78. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/rules-context.d.ts +5 -2
  79. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/rules-context.js +42 -4
  80. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/session-store.d.ts +5 -0
  81. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/stable-context.d.ts +15 -0
  82. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/stable-context.js +28 -0
  83. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/contracts.d.ts +17 -7
  84. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifact-policy.d.ts +4 -5
  85. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifact-policy.js +12 -9
  86. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifacts.d.ts +1 -0
  87. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifacts.js +7 -5
  88. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/dispatcher.d.ts +4 -0
  89. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/dispatcher.js +29 -6
  90. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/identity.d.ts +15 -0
  91. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/identity.js +36 -0
  92. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/scheduler.d.ts +2 -0
  93. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/scheduler.js +10 -0
  94. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/send-error.d.ts +6 -0
  95. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/send-error.js +10 -0
  96. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/dispatcher.d.ts +5 -2
  97. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/dispatcher.js +36 -22
  98. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/extra.js +14 -1
  99. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/configuration.js +4 -0
  100. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/run-projector.d.ts +5 -1
  101. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/run-projector.js +265 -38
  102. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/cards.d.ts +4 -0
  103. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/cards.js +5 -5
  104. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/client.d.ts +7 -0
  105. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/client.js +19 -2
  106. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/conversations.d.ts +3 -1
  107. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/conversations.js +4 -3
  108. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/errors.d.ts +0 -12
  109. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/errors.js +5 -3
  110. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/files.d.ts +2 -1
  111. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/files.js +8 -6
  112. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/messages.d.ts +3 -0
  113. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/messages.js +2 -2
  114. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-session.d.ts +5 -4
  115. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-session.js +76 -20
  116. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/channel.d.ts +19 -1
  117. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/channel.js +197 -66
  118. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connection-error.js +2 -4
  119. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connector.d.ts +5 -6
  120. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connector.js +52 -36
  121. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/contexts.d.ts +2 -6
  122. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/contexts.js +53 -82
  123. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/history-content.d.ts +12 -0
  124. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/history-content.js +133 -0
  125. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/history-messages.d.ts +21 -0
  126. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/history-messages.js +76 -0
  127. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/mentions.d.ts +0 -2
  128. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/mentions.js +0 -2
  129. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-identities.d.ts +16 -0
  130. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-identities.js +74 -0
  131. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-time.d.ts +4 -0
  132. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-time.js +19 -0
  133. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-trigger.d.ts +7 -0
  134. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-trigger.js +90 -0
  135. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/reasoning-frame.js +44 -9
  136. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/retry-after.d.ts +6 -0
  137. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/retry-after.js +60 -0
  138. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/wukong.d.ts +0 -10
  139. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/wukong.js +19 -127
  140. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/package.json +6 -6
  141. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/im-channel.js +10 -2
  142. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/extra.js +14 -1
  143. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/channel.js +2 -3
  144. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/package.json +5 -5
  145. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/assets/{index-CXTvRGim.js → index-B127MhT-.js} +10 -9
  146. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/index.html +1 -1
  147. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/package.json +2 -2
  148. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/context-loader.d.ts +3 -2
  149. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/context-loader.js +11 -4
  150. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/package.json +4 -4
  151. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context.js +8 -1
  152. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/generated/protocol-types.d.ts +9 -0
  153. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/index.js +3 -0
  154. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-input.d.ts +6 -0
  155. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-input.js +14 -0
  156. package/node_modules/@mininglamp-oss/octo-runtime-protocol/package.json +1 -1
  157. package/node_modules/iconv-lite/LICENSE +21 -0
  158. package/node_modules/iconv-lite/README.md +138 -0
  159. package/node_modules/iconv-lite/encodings/dbcs-codec.js +532 -0
  160. package/node_modules/iconv-lite/encodings/dbcs-data.js +185 -0
  161. package/node_modules/iconv-lite/encodings/index.js +23 -0
  162. package/node_modules/iconv-lite/encodings/internal.js +218 -0
  163. package/node_modules/iconv-lite/encodings/sbcs-codec.js +75 -0
  164. package/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
  165. package/node_modules/iconv-lite/encodings/sbcs-data.js +180 -0
  166. package/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
  167. package/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
  168. package/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
  169. package/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
  170. package/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
  171. package/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
  172. package/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
  173. package/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
  174. package/node_modules/iconv-lite/encodings/utf16.js +187 -0
  175. package/node_modules/iconv-lite/encodings/utf32.js +314 -0
  176. package/node_modules/iconv-lite/encodings/utf7.js +283 -0
  177. package/node_modules/iconv-lite/lib/bom-handling.js +48 -0
  178. package/node_modules/iconv-lite/lib/helpers/merge-exports.js +13 -0
  179. package/node_modules/iconv-lite/lib/index.d.ts +129 -0
  180. package/node_modules/iconv-lite/lib/index.js +182 -0
  181. package/node_modules/iconv-lite/lib/streams.js +105 -0
  182. package/node_modules/iconv-lite/package.json +70 -0
  183. package/node_modules/iconv-lite/types/encodings.d.ts +425 -0
  184. package/node_modules/safer-buffer/LICENSE +21 -0
  185. package/node_modules/safer-buffer/Porting-Buffer.md +268 -0
  186. package/node_modules/safer-buffer/Readme.md +156 -0
  187. package/node_modules/safer-buffer/dangerous.js +58 -0
  188. package/node_modules/safer-buffer/package.json +34 -0
  189. package/node_modules/safer-buffer/safer.js +77 -0
  190. package/node_modules/safer-buffer/tests.js +406 -0
  191. package/node_modules/semver/LICENSE +15 -0
  192. package/node_modules/semver/README.md +680 -0
  193. package/node_modules/semver/bin/semver.js +195 -0
  194. package/node_modules/semver/classes/comparator.js +143 -0
  195. package/node_modules/semver/classes/index.js +7 -0
  196. package/node_modules/semver/classes/range.js +577 -0
  197. package/node_modules/semver/classes/semver.js +350 -0
  198. package/node_modules/semver/functions/clean.js +8 -0
  199. package/node_modules/semver/functions/cmp.js +54 -0
  200. package/node_modules/semver/functions/coerce.js +62 -0
  201. package/node_modules/semver/functions/compare-build.js +9 -0
  202. package/node_modules/semver/functions/compare-loose.js +5 -0
  203. package/node_modules/semver/functions/compare.js +7 -0
  204. package/node_modules/semver/functions/diff.js +60 -0
  205. package/node_modules/semver/functions/eq.js +5 -0
  206. package/node_modules/semver/functions/gt.js +5 -0
  207. package/node_modules/semver/functions/gte.js +5 -0
  208. package/node_modules/semver/functions/inc.js +21 -0
  209. package/node_modules/semver/functions/lt.js +5 -0
  210. package/node_modules/semver/functions/lte.js +5 -0
  211. package/node_modules/semver/functions/major.js +5 -0
  212. package/node_modules/semver/functions/minor.js +5 -0
  213. package/node_modules/semver/functions/neq.js +5 -0
  214. package/node_modules/semver/functions/parse.js +18 -0
  215. package/node_modules/semver/functions/patch.js +5 -0
  216. package/node_modules/semver/functions/prerelease.js +8 -0
  217. package/node_modules/semver/functions/rcompare.js +5 -0
  218. package/node_modules/semver/functions/rsort.js +5 -0
  219. package/node_modules/semver/functions/satisfies.js +12 -0
  220. package/node_modules/semver/functions/sort.js +5 -0
  221. package/node_modules/semver/functions/truncate.js +48 -0
  222. package/node_modules/semver/functions/valid.js +8 -0
  223. package/node_modules/semver/index.js +93 -0
  224. package/node_modules/semver/internal/constants.js +37 -0
  225. package/node_modules/semver/internal/debug.js +11 -0
  226. package/node_modules/semver/internal/identifiers.js +29 -0
  227. package/node_modules/semver/internal/lrucache.js +42 -0
  228. package/node_modules/semver/internal/parse-options.js +17 -0
  229. package/node_modules/semver/internal/re.js +223 -0
  230. package/node_modules/semver/package.json +78 -0
  231. package/node_modules/semver/preload.js +4 -0
  232. package/node_modules/semver/range.bnf +17 -0
  233. package/node_modules/semver/ranges/gtr.js +6 -0
  234. package/node_modules/semver/ranges/intersects.js +9 -0
  235. package/node_modules/semver/ranges/ltr.js +6 -0
  236. package/node_modules/semver/ranges/max-satisfying.js +27 -0
  237. package/node_modules/semver/ranges/min-satisfying.js +26 -0
  238. package/node_modules/semver/ranges/min-version.js +63 -0
  239. package/node_modules/semver/ranges/outside.js +82 -0
  240. package/node_modules/semver/ranges/simplify.js +49 -0
  241. package/node_modules/semver/ranges/subset.js +249 -0
  242. package/node_modules/semver/ranges/to-comparators.js +10 -0
  243. package/node_modules/semver/ranges/valid.js +13 -0
  244. package/package.json +33 -27
  245. package/packages/octo-runtime-extra-channel-gateway/config-schema.json +8 -1
  246. package/packages/octo-runtime-protocol/schema/protocol.schema.json +43 -1
  247. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/text-send.d.ts +0 -19
  248. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/text-send.js +0 -86
  249. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/delivery-notice.d.ts +0 -5
  250. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/delivery-notice.js +0 -35
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@mininglamp-oss/octo-runtime-adapter-openclaw",
3
- "version": "1.1.6",
3
+ "version": "1.1.8",
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.6",
9
- "@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.6",
8
+ "@mininglamp-oss/octo-runtime-protocol": "1.1.8",
9
+ "@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.8",
10
10
  "ws": "8.22.0"
11
11
  },
12
12
  "types": "./dist/index.d.ts",
@@ -81,13 +81,17 @@ export declare function createOpenCodeAdapter({ command }?: {
81
81
  }): {
82
82
  respondInteraction(invocationId: string, response: import("@mininglamp-oss/octo-runtime-protocol").InteractionResponse): Promise<void>;
83
83
  invoke(request: InvokeRequest, context?: AdapterInvocationContext): AsyncGenerator<CanonicalEvent>;
84
- metadata: import("@mininglamp-oss/octo-runtime-adapter-sdk").AdapterMetadata;
85
84
  probe?: (options?: import("@mininglamp-oss/octo-runtime-adapter-sdk").AdapterProbeOptions) => Promise<ProbeResult>;
85
+ metadata: Omit<import("@mininglamp-oss/octo-runtime-adapter-sdk").AdapterMetadata, "protocolSupport"> & {
86
+ protocolSupport: import("@mininglamp-oss/octo-runtime-protocol").AdapterProtocolSupport;
87
+ };
86
88
  };
87
89
  export declare const opencodeAdapter: {
88
90
  respondInteraction(invocationId: string, response: import("@mininglamp-oss/octo-runtime-protocol").InteractionResponse): Promise<void>;
89
91
  invoke(request: InvokeRequest, context?: AdapterInvocationContext): AsyncGenerator<CanonicalEvent>;
90
- metadata: import("@mininglamp-oss/octo-runtime-adapter-sdk").AdapterMetadata;
91
92
  probe?: (options?: import("@mininglamp-oss/octo-runtime-adapter-sdk").AdapterProbeOptions) => Promise<ProbeResult>;
93
+ metadata: Omit<import("@mininglamp-oss/octo-runtime-adapter-sdk").AdapterMetadata, "protocolSupport"> & {
94
+ protocolSupport: import("@mininglamp-oss/octo-runtime-protocol").AdapterProtocolSupport;
95
+ };
92
96
  };
93
97
  export default opencodeAdapter;
@@ -193,6 +193,8 @@ export function normalizeOpenCodeEvent(native) {
193
193
  type: "message.delta",
194
194
  payload: {
195
195
  text: part.text,
196
+ // 原生 text 是公开最终正文;显式标记,展示层无需猜测缺失的通道。
197
+ channel: "final",
196
198
  ...(stepId
197
199
  ? { stepId, messageId: `opencode:${part.id ?? `${stepId}:answer`}` }
198
200
  : part.id
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@mininglamp-oss/octo-runtime-adapter-opencode",
3
- "version": "1.1.6",
3
+ "version": "1.1.8",
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.6",
9
- "@mininglamp-oss/octo-runtime-adapter-acp": "1.1.6",
10
- "@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.6"
8
+ "@mininglamp-oss/octo-runtime-protocol": "1.1.8",
9
+ "@mininglamp-oss/octo-runtime-adapter-acp": "1.1.8",
10
+ "@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.8"
11
11
  },
12
12
  "types": "./dist/index.d.ts",
13
13
  "files": [
@@ -10,7 +10,7 @@
10
10
  * fallback. Per-session model selection follows the standard ACP path when the
11
11
  * runtime configures a model that Qoder advertises.
12
12
  */
13
- export declare const qoderCliAdapter: Readonly<{
13
+ export declare const qoderCliAdapter: Readonly<Omit<{
14
14
  metadata: {
15
15
  mcp: true;
16
16
  type: string;
@@ -19,5 +19,13 @@ export declare const qoderCliAdapter: Readonly<{
19
19
  probe: () => Promise<import("@mininglamp-oss/octo-runtime-adapter-sdk").ProbeResult>;
20
20
  respondInteraction(invocationId: string, response: import("@mininglamp-oss/octo-runtime-protocol").InteractionResponse): Promise<void>;
21
21
  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>;
22
+ }, "metadata"> & {
23
+ metadata: Omit<{
24
+ mcp: true;
25
+ type: string;
26
+ agentSources: "provisioned"[];
27
+ }, "protocolSupport"> & {
28
+ protocolSupport: import("@mininglamp-oss/octo-runtime-protocol").AdapterProtocolSupport;
29
+ };
22
30
  }>;
23
31
  export default qoderCliAdapter;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mininglamp-oss/octo-runtime-adapter-qodercli",
3
- "version": "1.1.6",
3
+ "version": "1.1.8",
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.6"
12
+ "@mininglamp-oss/octo-runtime-adapter-acp": "1.1.8"
13
13
  }
14
14
  }
@@ -10,7 +10,7 @@
10
10
  * binary and is registered as its own adapter type so a runtime can pick the CN
11
11
  * build explicitly.
12
12
  */
13
- export declare const qoderCliCnAdapter: Readonly<{
13
+ export declare const qoderCliCnAdapter: Readonly<Omit<{
14
14
  metadata: {
15
15
  mcp: true;
16
16
  type: string;
@@ -19,5 +19,13 @@ export declare const qoderCliCnAdapter: Readonly<{
19
19
  probe: () => Promise<import("@mininglamp-oss/octo-runtime-adapter-sdk").ProbeResult>;
20
20
  respondInteraction(invocationId: string, response: import("@mininglamp-oss/octo-runtime-protocol").InteractionResponse): Promise<void>;
21
21
  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>;
22
+ }, "metadata"> & {
23
+ metadata: Omit<{
24
+ mcp: true;
25
+ type: string;
26
+ agentSources: "provisioned"[];
27
+ }, "protocolSupport"> & {
28
+ protocolSupport: import("@mininglamp-oss/octo-runtime-protocol").AdapterProtocolSupport;
29
+ };
22
30
  }>;
23
31
  export default qoderCliCnAdapter;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mininglamp-oss/octo-runtime-adapter-qoderclicn",
3
- "version": "1.1.6",
3
+ "version": "1.1.8",
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.6"
12
+ "@mininglamp-oss/octo-runtime-adapter-acp": "1.1.8"
13
13
  }
14
14
  }
@@ -16,13 +16,15 @@ export { readBoundedLines } from "./bounded-lines.js";
16
16
  export { HourlyLogWriter, HOURLY_LOG_MAX_BYTES } from "./hourly-log.js";
17
17
  export { RuntimeLogging, assertRuntimeLogging, noopRuntimeLog, type RuntimeLog, type RuntimeLogLevel, type RuntimeLoggingOptions } from "./runtime-log.js";
18
18
  export { extraStatusRecord, kernelStatusRecord, type ExtraStatusRecord, type KernelStatusRecord } from "./service-status.js";
19
- export { sanitizePublicValue } from "./public-display.js";
19
+ export { sanitizePublicValue, sanitizeDiagnosticBody } from "./public-display.js";
20
20
  export { DEFAULT_REASONING_LEVEL_MAPS, OMNI_REASONING_LEVELS, mapReasoningEffort, reasoningLevelMap, type OmniReasoningLevel, type ReasoningLevelMap } from "./reasoning.js";
21
+ /** Adapter 的编写输入;defineAdapter 在省略协议声明时补 canonical-only 默认值。 */
21
22
  export interface AdapterMetadata {
22
23
  /** Local implementation support; not a remote runtime admission feature. */
23
24
  mcp?: boolean;
24
25
  /** False ignores octo.execution/workspace; the Provider owns its workspace. */
25
26
  workspace?: boolean;
27
+ /** 仅编写输入可省略;这是执行时消费的协议描述,不能作为业务能力标签。 */
26
28
  protocolSupport?: AdapterProtocolSupport;
27
29
  type: string;
28
30
  agentSources: ("preset" | "provisioned")[];
@@ -40,6 +42,7 @@ export interface ProbeResult {
40
42
  version?: string | null;
41
43
  reason?: string;
42
44
  }
45
+ /** 工厂的编写输入;直接交给 Core 注册时须满足完整的 HostedAdapter 合同。 */
43
46
  export interface Adapter<TOutput extends AdapterOutput = AdapterOutput> {
44
47
  metadata: AdapterMetadata;
45
48
  probe?: (options?: AdapterProbeOptions) => Promise<ProbeResult>;
@@ -52,6 +55,15 @@ export interface Adapter<TOutput extends AdapterOutput = AdapterOutput> {
52
55
  */
53
56
  invoke(request: InvokeRequest, context?: AdapterInvocationContext): AsyncIterable<TOutput>;
54
57
  }
58
+ /**
59
+ * 工厂输出必须表达已补齐的协议声明,供宿主直接注册;保留作者扩展的字段和方法。
60
+ * 禁止与允许省略字段的编写输入混用,否则会把注册前的类型错误推迟到运行时。
61
+ */
62
+ export type DefinedAdapter<TAdapter extends Adapter = Adapter> = Readonly<Omit<TAdapter, "metadata"> & {
63
+ metadata: Omit<TAdapter["metadata"], "protocolSupport"> & {
64
+ protocolSupport: AdapterProtocolSupport;
65
+ };
66
+ }>;
55
67
  /** Provider objects and lifetime signals before the Host assigns stream identity. */
56
68
  export type DriverFrame = Pick<NativeHostFrame, "kind" | "messageKind" | "payload"> | {
57
69
  kind: "control";
@@ -92,10 +104,12 @@ interface ProcessExit {
92
104
  signal: NodeJS.Signals | null;
93
105
  }
94
106
  /**
95
- * Validate and freeze an adapter definition. Freezing makes the metadata and
96
- * `invoke` reference immutable so a loaded adapter cannot be mutated at runtime.
107
+ * 接收编写输入并返回可注册的 Adapter,省略协议时仅补 canonical-only 声明。
108
+ * 返回类型必须保留字段必有的保证;不得根据缺省声明推断 native 支持。
109
+ * 冻结顶层对象以固定 metadata 和 invoke 引用;嵌套元数据不作深冻结。
110
+ * 工厂不注册或启动 Provider,宿主随后注册并负责执行与关闭。
97
111
  */
98
- export declare function defineAdapter<TAdapter extends Adapter>(adapter: TAdapter, levels?: ReasoningLevelMap | null): Readonly<TAdapter>;
112
+ export declare function defineAdapter<TAdapter extends Adapter>(adapter: TAdapter, levels?: ReasoningLevelMap | null): DefinedAdapter<TAdapter>;
99
113
  /**
100
114
  * Spawn a JSON-lines subprocess and yield one parsed native event per stdout
101
115
  * line. stderr is buffered and surfaced only if the process exits non-zero (as
@@ -122,7 +136,7 @@ export declare function parseJsonLine(line: string): Record<string, unknown> | n
122
136
  * produced a terminal event — synthesize the `onSuccess` events. `cleanup` runs
123
137
  * in a `finally` so it fires on cancellation and error paths too.
124
138
  */
125
- export declare function createJsonCliAdapter<TNative = Record<string, unknown>>(options: JsonCliAdapterOptions<TNative>): Readonly<Adapter<CanonicalEvent>>;
139
+ export declare function createJsonCliAdapter<TNative = Record<string, unknown>>(options: JsonCliAdapterOptions<TNative>): DefinedAdapter<Adapter<CanonicalEvent>>;
126
140
  /**
127
141
  * Resolve whether a command is runnable. A path-qualified command is checked
128
142
  * directly; a bare name is searched across `PATH` (`;`-separated on Windows).
@@ -23,18 +23,21 @@ export { readBoundedLines } from "./bounded-lines.js";
23
23
  export { HourlyLogWriter, HOURLY_LOG_MAX_BYTES } from "./hourly-log.js";
24
24
  export { RuntimeLogging, assertRuntimeLogging, noopRuntimeLog } from "./runtime-log.js";
25
25
  export { extraStatusRecord, kernelStatusRecord } from "./service-status.js";
26
- export { sanitizePublicValue } from "./public-display.js";
26
+ export { sanitizePublicValue, sanitizeDiagnosticBody } from "./public-display.js";
27
27
  export { DEFAULT_REASONING_LEVEL_MAPS, OMNI_REASONING_LEVELS, mapReasoningEffort, reasoningLevelMap } from "./reasoning.js";
28
28
  /**
29
- * Validate and freeze an adapter definition. Freezing makes the metadata and
30
- * `invoke` reference immutable so a loaded adapter cannot be mutated at runtime.
29
+ * 接收编写输入并返回可注册的 Adapter,省略协议时仅补 canonical-only 声明。
30
+ * 返回类型必须保留字段必有的保证;不得根据缺省声明推断 native 支持。
31
+ * 冻结顶层对象以固定 metadata 和 invoke 引用;嵌套元数据不作深冻结。
32
+ * 工厂不注册或启动 Provider,宿主随后注册并负责执行与关闭。
31
33
  */
32
34
  export function defineAdapter(adapter, levels = reasoningLevelMap(adapter.metadata.type)) {
33
35
  if (!adapter?.metadata?.type || typeof adapter.invoke !== "function") {
34
36
  throw new TypeError("adapter requires metadata.type and invoke(req)");
35
37
  }
36
38
  const invoke = adapter.invoke.bind(adapter);
37
- const protocolSupport = adapter.metadata.protocolSupport ?? {
39
+ const metadata = adapter.metadata;
40
+ const protocolSupport = metadata.protocolSupport ?? {
38
41
  protocol: `${adapter.metadata.type}.canonical`,
39
42
  modes: ["canonical"],
40
43
  nativeMethods: []
@@ -42,7 +45,7 @@ export function defineAdapter(adapter, levels = reasoningLevelMap(adapter.metada
42
45
  return Object.freeze({
43
46
  ...adapter,
44
47
  metadata: {
45
- ...adapter.metadata,
48
+ ...metadata,
46
49
  protocolSupport
47
50
  },
48
51
  async *invoke(request, context) {
@@ -1 +1,3 @@
1
1
  export declare function sanitizePublicValue(value: unknown, key?: string, depth?: number): unknown;
2
+ /** Response summaries parse JSON before redaction; truncated credentials must also stay private. */
3
+ export declare function sanitizeDiagnosticBody(body: string): string;
@@ -17,6 +17,28 @@ export function sanitizePublicValue(value, key = "", depth = 0) {
17
17
  sanitizePublicValue(childValue, childKey, depth + 1)
18
18
  ]));
19
19
  }
20
+ /** Response summaries parse JSON before redaction; truncated credentials must also stay private. */
21
+ export function sanitizeDiagnosticBody(body) {
22
+ let safe;
23
+ try {
24
+ safe = JSON.stringify(sanitizePublicValue(JSON.parse(body)));
25
+ }
26
+ catch {
27
+ safe = String(sanitizePublicValue(body));
28
+ }
29
+ if (/\\u[0-9a-f]{0,4}/i.test(safe))
30
+ safe = "[REDACTED]";
31
+ // Headers can occur inside a JSON message too. Drop the entire suffix at the first
32
+ // sensitive key instead of guessing where a spaced or truncated credential ends.
33
+ const keys = /["']?([\w-]+)[\\"']*\s*[:=]/g;
34
+ for (const match of safe.matchAll(keys)) {
35
+ if (SENSITIVE_OUTPUT_KEY.test(match[1])) {
36
+ safe = `${safe.slice(0, match.index)}[REDACTED]`;
37
+ break;
38
+ }
39
+ }
40
+ return Array.from(safe).slice(0, 200).join("");
41
+ }
20
42
  function redactCredentialText(value) {
21
43
  // 单向扫描 PEM,避免多个未闭合 BEGIN 反复扫描后缀;截断的私钥同样不能公开。
22
44
  const begin = /-----BEGIN [^-]*PRIVATE KEY-----/gi;
@@ -2,6 +2,7 @@
2
2
  import { isAbsolute } from "node:path";
3
3
  import { Worker } from "node:worker_threads";
4
4
  import { extraStatusRecord, kernelStatusRecord } from "./service-status.js";
5
+ import { sanitizeDiagnosticBody } from "./public-display.js";
5
6
  export const noopRuntimeLog = () => { };
6
7
  const strings = new Set([
7
8
  "run_id",
@@ -168,6 +169,25 @@ export class RuntimeLogging {
168
169
  Number.isFinite(Date.parse(occurredAt)) &&
169
170
  new Date(occurredAt).toISOString() === occurredAt)
170
171
  safe.occurred_at = occurredAt;
172
+ // 仅放行 Gateway 卡片投递诊断;响应摘要不进入状态镜像,且不得携带请求或鉴权信息。
173
+ if (source === "extra" &&
174
+ extra === "channel-gateway" &&
175
+ event === "channel.diagnostic" &&
176
+ typeof safe.code === "string" &&
177
+ /^IM_CARD_(?:SEND|EDIT)_\d{3}$/.test(safe.code)) {
178
+ const path = data?.path;
179
+ if (path === "/v1/bot/sendMessage" || path === "/v1/bot/message/edit")
180
+ safe.path = path;
181
+ const status = data?.http_status;
182
+ if (typeof status === "number" &&
183
+ Number.isInteger(status) &&
184
+ status >= 100 &&
185
+ status <= 599)
186
+ safe.http_status = status;
187
+ const body = data?.response_body;
188
+ if (typeof body === "string")
189
+ safe.response_body = sanitizeDiagnosticBody(body);
190
+ }
171
191
  const record = {
172
192
  time: new Date().toISOString(),
173
193
  level,
@@ -80,7 +80,14 @@ export function extraStatusRecord(extra, level, event, data, time = new Date().t
80
80
  if (!/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$/.test(time) ||
81
81
  !Number.isFinite(Date.parse(time)))
82
82
  return;
83
- if (event === "channel.diagnostic" && data?.code !== "IM_DISPOSE_FAILED")
83
+ // Gateway 投递失败须能由 channel-gateway logs 查询;不放开执行正文或其他诊断。
84
+ const deliveryDiagnostic = extra === "channel-gateway" &&
85
+ event === "channel.diagnostic" &&
86
+ typeof data?.code === "string" &&
87
+ (/^(?:IM_DELIVERY_|IM_CARD_|IM_HTTP_)[A-Z0-9_]+$/.test(data.code) ||
88
+ data.code === "IM_CREDENTIALS_REQUIRED" ||
89
+ data.code === "IM_BOT_TOKEN_INVALID");
90
+ if (event === "channel.diagnostic" && data?.code !== "IM_DISPOSE_FAILED" && !deliveryDiagnostic)
84
91
  return;
85
92
  const safe = {};
86
93
  for (const key of ["state", "code", "endpoint_id"]) {
@@ -99,6 +106,12 @@ export function extraStatusRecord(extra, level, event, data, time = new Date().t
99
106
  if (typeof value === "number" && Number.isSafeInteger(value) && value >= 0)
100
107
  safe[key] = value;
101
108
  }
109
+ const runId = data?.run_id;
110
+ if (deliveryDiagnostic &&
111
+ typeof runId === "string" &&
112
+ /^[A-Za-z0-9][A-Za-z0-9_.:@+-]{0,127}$/.test(runId) &&
113
+ !/^(?:bf_|sk-|Bearer)/i.test(runId))
114
+ safe.run_id = runId;
102
115
  return Object.freeze({
103
116
  time,
104
117
  level,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mininglamp-oss/octo-runtime-adapter-sdk",
3
- "version": "1.1.6",
3
+ "version": "1.1.8",
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.6",
13
+ "@mininglamp-oss/octo-runtime-protocol": "1.1.8",
14
14
  "import-meta-resolve": "4.2.0"
15
15
  },
16
16
  "types": "./dist/index.d.ts",
@@ -11,7 +11,7 @@ export declare function createZcodeGuiAdapter({ command, appServerArgs, spawnFn
11
11
  command?: string;
12
12
  appServerArgs?: readonly string[];
13
13
  spawnFn?: ZcodeAppServerSpawn;
14
- }): Readonly<{
14
+ }): Readonly<Omit<{
15
15
  metadata: {
16
16
  type: string;
17
17
  agentSources: "provisioned"[];
@@ -21,8 +21,17 @@ export declare function createZcodeGuiAdapter({ command, appServerArgs, spawnFn
21
21
  probe: () => Promise<ProbeResult>;
22
22
  respondInteraction(invocationId: string, response: InteractionResponse): Promise<void>;
23
23
  invoke(request: InvokeRequest, context?: AdapterInvocationContext): AsyncGenerator<import("@mininglamp-oss/octo-runtime-protocol").CanonicalEvent, void, any>;
24
+ }, "metadata"> & {
25
+ metadata: Omit<{
26
+ type: string;
27
+ agentSources: "provisioned"[];
28
+ processModel: string;
29
+ transport: string;
30
+ }, "protocolSupport"> & {
31
+ protocolSupport: import("@mininglamp-oss/octo-runtime-protocol").AdapterProtocolSupport;
32
+ };
24
33
  }>;
25
- export declare const zcodeGuiAdapter: Readonly<{
34
+ export declare const zcodeGuiAdapter: Readonly<Omit<{
26
35
  metadata: {
27
36
  type: string;
28
37
  agentSources: "provisioned"[];
@@ -32,5 +41,14 @@ export declare const zcodeGuiAdapter: Readonly<{
32
41
  probe: () => Promise<ProbeResult>;
33
42
  respondInteraction(invocationId: string, response: InteractionResponse): Promise<void>;
34
43
  invoke(request: InvokeRequest, context?: AdapterInvocationContext): AsyncGenerator<import("@mininglamp-oss/octo-runtime-protocol").CanonicalEvent, void, any>;
44
+ }, "metadata"> & {
45
+ metadata: Omit<{
46
+ type: string;
47
+ agentSources: "provisioned"[];
48
+ processModel: string;
49
+ transport: string;
50
+ }, "protocolSupport"> & {
51
+ protocolSupport: import("@mininglamp-oss/octo-runtime-protocol").AdapterProtocolSupport;
52
+ };
35
53
  }>;
36
54
  export default zcodeGuiAdapter;
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@mininglamp-oss/octo-runtime-adapter-zcode-gui",
3
- "version": "1.1.6",
3
+ "version": "1.1.8",
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.6",
9
- "@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.6"
8
+ "@mininglamp-oss/octo-runtime-protocol": "1.1.8",
9
+ "@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.8"
10
10
  },
11
11
  "types": "./dist/index.d.ts",
12
12
  "files": [
@@ -1,5 +1,5 @@
1
1
  {
2
- "commit": "064f56a25ff431f5fc1c001b2830ba79d45ec951",
2
+ "commit": "d0e34377a62fde503529cb3d2464a7575a5abdb0",
3
3
  "dirty": false,
4
- "buildTime": "2026-10-28T08:41:32.948Z"
4
+ "buildTime": "2026-10-31T05:37:41.031Z"
5
5
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mininglamp-oss/octo-runtime-cli",
3
- "version": "1.1.6",
3
+ "version": "1.1.8",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "bin": {
@@ -9,29 +9,29 @@
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.6",
13
- "@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.6",
12
+ "@mininglamp-oss/octo-runtime-adapter-dsh": "1.1.8",
13
+ "@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.8",
14
14
  "json5": "2.2.3",
15
- "@mininglamp-oss/octo-runtime-extra-channel-gateway": "1.1.6",
16
- "@mininglamp-oss/octo-runtime-host-sdk": "1.1.6",
17
- "@mininglamp-oss/octo-runtime-adapter-openclaw": "1.1.6",
18
- "@mininglamp-oss/octo-runtime-cross-service": "1.1.6",
19
- "@mininglamp-oss/octo-runtime-protocol": "1.1.6",
20
- "@mininglamp-oss/octo-runtime-executor-kernel": "1.1.6",
21
- "@mininglamp-oss/octo-runtime-executor-core": "1.1.6",
22
- "@mininglamp-oss/octo-runtime-adapter-antigravity": "1.1.6",
23
- "@mininglamp-oss/octo-runtime-adapter-claude-code": "1.1.6",
24
- "@mininglamp-oss/octo-runtime-adapter-codebuddy": "1.1.6",
25
- "@mininglamp-oss/octo-runtime-adapter-codex": "1.1.6",
26
- "@mininglamp-oss/octo-runtime-adapter-hermes": "1.1.6",
27
- "@mininglamp-oss/octo-runtime-adapter-grok-build": "1.1.6",
28
- "@mininglamp-oss/octo-runtime-adapter-kimi-code": "1.1.6",
29
- "@mininglamp-oss/octo-runtime-adapter-mcode": "1.1.6",
30
- "@mininglamp-oss/octo-runtime-adapter-opencode": "1.1.6",
31
- "@mininglamp-oss/octo-runtime-adapter-qodercli": "1.1.6",
32
- "@mininglamp-oss/octo-runtime-adapter-qoderclicn": "1.1.6",
33
- "@mininglamp-oss/octo-runtime-adapter-zcode-gui": "1.1.6",
34
- "@mininglamp-oss/octo-runtime-extra-channel-wecom": "1.1.6",
35
- "@mininglamp-oss/octo-runtime-extra-webui": "1.1.6"
15
+ "@mininglamp-oss/octo-runtime-extra-channel-gateway": "1.1.8",
16
+ "@mininglamp-oss/octo-runtime-host-sdk": "1.1.8",
17
+ "@mininglamp-oss/octo-runtime-adapter-openclaw": "1.1.8",
18
+ "@mininglamp-oss/octo-runtime-cross-service": "1.1.8",
19
+ "@mininglamp-oss/octo-runtime-protocol": "1.1.8",
20
+ "@mininglamp-oss/octo-runtime-executor-kernel": "1.1.8",
21
+ "@mininglamp-oss/octo-runtime-executor-core": "1.1.8",
22
+ "@mininglamp-oss/octo-runtime-adapter-antigravity": "1.1.8",
23
+ "@mininglamp-oss/octo-runtime-adapter-claude-code": "1.1.8",
24
+ "@mininglamp-oss/octo-runtime-adapter-codebuddy": "1.1.8",
25
+ "@mininglamp-oss/octo-runtime-adapter-codex": "1.1.8",
26
+ "@mininglamp-oss/octo-runtime-adapter-hermes": "1.1.8",
27
+ "@mininglamp-oss/octo-runtime-adapter-grok-build": "1.1.8",
28
+ "@mininglamp-oss/octo-runtime-adapter-kimi-code": "1.1.8",
29
+ "@mininglamp-oss/octo-runtime-adapter-mcode": "1.1.8",
30
+ "@mininglamp-oss/octo-runtime-adapter-opencode": "1.1.8",
31
+ "@mininglamp-oss/octo-runtime-adapter-qodercli": "1.1.8",
32
+ "@mininglamp-oss/octo-runtime-adapter-qoderclicn": "1.1.8",
33
+ "@mininglamp-oss/octo-runtime-adapter-zcode-gui": "1.1.8",
34
+ "@mininglamp-oss/octo-runtime-extra-channel-wecom": "1.1.8",
35
+ "@mininglamp-oss/octo-runtime-extra-webui": "1.1.8"
36
36
  }
37
37
  }
@@ -6,6 +6,7 @@ import type { CommandOptions, CommandResult, CommandRunner } from "./types.js";
6
6
  * with exit code 124, allowing the service layer to attach backend context.
7
7
  */
8
8
  export declare class NodeCommandRunner implements CommandRunner {
9
- /** Spawn without a shell, ignore stdin, and capture bounded stdout/stderr. */
9
+ #private;
10
+ /** 原命令直接启动并有界捕获;Windows schtasks 内部协商解码,不改变调用方输入。 */
10
11
  run(command: string, args: readonly string[], options?: CommandOptions): Promise<CommandResult>;
11
12
  }