@mininglamp-oss/octo-runtime 1.1.6 → 1.1.7

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 (236) 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 +18 -4
  51. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.js +7 -4
  52. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/package.json +2 -2
  53. package/node_modules/@mininglamp-oss/octo-runtime-adapter-zcode-gui/dist/index.d.ts +20 -2
  54. package/node_modules/@mininglamp-oss/octo-runtime-adapter-zcode-gui/package.json +3 -3
  55. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/build-info.json +2 -2
  56. package/node_modules/@mininglamp-oss/octo-runtime-cli/package.json +24 -24
  57. package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/runner.d.ts +2 -1
  58. package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/runner.js +102 -52
  59. package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/windows-task.js +8 -3
  60. package/node_modules/@mininglamp-oss/octo-runtime-cross-service/package.json +5 -3
  61. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/index.d.ts +4 -3
  62. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/index.js +1 -1
  63. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/invoke-input.js +2 -0
  64. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/model-input.d.ts +1 -1
  65. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/model-input.js +9 -6
  66. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/package.json +3 -3
  67. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/package.json +4 -4
  68. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/config-schema.json +8 -1
  69. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/context-gap.d.ts +17 -1
  70. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/context-gap.js +22 -6
  71. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/history-context.d.ts +3 -0
  72. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/history-context.js +27 -0
  73. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/im-channel.js +444 -226
  74. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/rules-context.d.ts +5 -2
  75. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/rules-context.js +42 -4
  76. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/session-store.d.ts +5 -0
  77. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/stable-context.d.ts +15 -0
  78. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/stable-context.js +28 -0
  79. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/contracts.d.ts +16 -5
  80. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifact-policy.d.ts +4 -5
  81. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifact-policy.js +12 -9
  82. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifacts.d.ts +1 -0
  83. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifacts.js +7 -5
  84. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/identity.d.ts +15 -0
  85. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/identity.js +36 -0
  86. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/scheduler.d.ts +2 -0
  87. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/scheduler.js +10 -0
  88. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/dispatcher.d.ts +5 -2
  89. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/dispatcher.js +36 -22
  90. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/extra.js +14 -1
  91. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/configuration.js +4 -0
  92. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/run-projector.d.ts +5 -1
  93. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/run-projector.js +265 -38
  94. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/cards.d.ts +4 -0
  95. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/cards.js +5 -5
  96. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/client.d.ts +7 -0
  97. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/client.js +19 -2
  98. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/conversations.d.ts +3 -1
  99. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/conversations.js +4 -3
  100. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/errors.d.ts +0 -12
  101. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/errors.js +5 -3
  102. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/files.d.ts +2 -1
  103. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/files.js +8 -6
  104. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/messages.d.ts +3 -0
  105. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/messages.js +2 -2
  106. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-session.d.ts +2 -2
  107. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-session.js +27 -15
  108. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/channel.d.ts +17 -1
  109. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/channel.js +217 -50
  110. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connection-error.js +2 -4
  111. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connector.d.ts +3 -2
  112. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connector.js +41 -12
  113. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/contexts.d.ts +2 -6
  114. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/contexts.js +53 -82
  115. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/history-content.d.ts +12 -0
  116. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/history-content.js +133 -0
  117. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/history-messages.d.ts +21 -0
  118. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/history-messages.js +76 -0
  119. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/mentions.d.ts +0 -2
  120. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/mentions.js +0 -2
  121. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-identities.d.ts +16 -0
  122. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-identities.js +74 -0
  123. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-time.d.ts +4 -0
  124. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-time.js +19 -0
  125. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-trigger.d.ts +7 -0
  126. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-trigger.js +90 -0
  127. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/reasoning-frame.js +2 -2
  128. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/retry-after.d.ts +6 -0
  129. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/retry-after.js +60 -0
  130. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/wukong.d.ts +2 -1
  131. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/wukong.js +20 -8
  132. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/package.json +6 -6
  133. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/im-channel.js +10 -2
  134. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/extra.js +14 -1
  135. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/channel.js +2 -3
  136. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/package.json +5 -5
  137. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/package.json +2 -2
  138. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/context-loader.d.ts +3 -2
  139. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/context-loader.js +11 -4
  140. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/package.json +4 -4
  141. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context.js +8 -1
  142. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/generated/protocol-types.d.ts +9 -0
  143. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/index.js +3 -0
  144. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-input.d.ts +6 -0
  145. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-input.js +14 -0
  146. package/node_modules/@mininglamp-oss/octo-runtime-protocol/package.json +1 -1
  147. package/node_modules/iconv-lite/LICENSE +21 -0
  148. package/node_modules/iconv-lite/README.md +138 -0
  149. package/node_modules/iconv-lite/encodings/dbcs-codec.js +532 -0
  150. package/node_modules/iconv-lite/encodings/dbcs-data.js +185 -0
  151. package/node_modules/iconv-lite/encodings/index.js +23 -0
  152. package/node_modules/iconv-lite/encodings/internal.js +218 -0
  153. package/node_modules/iconv-lite/encodings/sbcs-codec.js +75 -0
  154. package/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
  155. package/node_modules/iconv-lite/encodings/sbcs-data.js +180 -0
  156. package/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
  157. package/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
  158. package/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
  159. package/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
  160. package/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
  161. package/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
  162. package/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
  163. package/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
  164. package/node_modules/iconv-lite/encodings/utf16.js +187 -0
  165. package/node_modules/iconv-lite/encodings/utf32.js +314 -0
  166. package/node_modules/iconv-lite/encodings/utf7.js +283 -0
  167. package/node_modules/iconv-lite/lib/bom-handling.js +48 -0
  168. package/node_modules/iconv-lite/lib/helpers/merge-exports.js +13 -0
  169. package/node_modules/iconv-lite/lib/index.d.ts +129 -0
  170. package/node_modules/iconv-lite/lib/index.js +182 -0
  171. package/node_modules/iconv-lite/lib/streams.js +105 -0
  172. package/node_modules/iconv-lite/package.json +70 -0
  173. package/node_modules/iconv-lite/types/encodings.d.ts +425 -0
  174. package/node_modules/safer-buffer/LICENSE +21 -0
  175. package/node_modules/safer-buffer/Porting-Buffer.md +268 -0
  176. package/node_modules/safer-buffer/Readme.md +156 -0
  177. package/node_modules/safer-buffer/dangerous.js +58 -0
  178. package/node_modules/safer-buffer/package.json +34 -0
  179. package/node_modules/safer-buffer/safer.js +77 -0
  180. package/node_modules/safer-buffer/tests.js +406 -0
  181. package/node_modules/semver/LICENSE +15 -0
  182. package/node_modules/semver/README.md +680 -0
  183. package/node_modules/semver/bin/semver.js +195 -0
  184. package/node_modules/semver/classes/comparator.js +143 -0
  185. package/node_modules/semver/classes/index.js +7 -0
  186. package/node_modules/semver/classes/range.js +577 -0
  187. package/node_modules/semver/classes/semver.js +350 -0
  188. package/node_modules/semver/functions/clean.js +8 -0
  189. package/node_modules/semver/functions/cmp.js +54 -0
  190. package/node_modules/semver/functions/coerce.js +62 -0
  191. package/node_modules/semver/functions/compare-build.js +9 -0
  192. package/node_modules/semver/functions/compare-loose.js +5 -0
  193. package/node_modules/semver/functions/compare.js +7 -0
  194. package/node_modules/semver/functions/diff.js +60 -0
  195. package/node_modules/semver/functions/eq.js +5 -0
  196. package/node_modules/semver/functions/gt.js +5 -0
  197. package/node_modules/semver/functions/gte.js +5 -0
  198. package/node_modules/semver/functions/inc.js +21 -0
  199. package/node_modules/semver/functions/lt.js +5 -0
  200. package/node_modules/semver/functions/lte.js +5 -0
  201. package/node_modules/semver/functions/major.js +5 -0
  202. package/node_modules/semver/functions/minor.js +5 -0
  203. package/node_modules/semver/functions/neq.js +5 -0
  204. package/node_modules/semver/functions/parse.js +18 -0
  205. package/node_modules/semver/functions/patch.js +5 -0
  206. package/node_modules/semver/functions/prerelease.js +8 -0
  207. package/node_modules/semver/functions/rcompare.js +5 -0
  208. package/node_modules/semver/functions/rsort.js +5 -0
  209. package/node_modules/semver/functions/satisfies.js +12 -0
  210. package/node_modules/semver/functions/sort.js +5 -0
  211. package/node_modules/semver/functions/truncate.js +48 -0
  212. package/node_modules/semver/functions/valid.js +8 -0
  213. package/node_modules/semver/index.js +93 -0
  214. package/node_modules/semver/internal/constants.js +37 -0
  215. package/node_modules/semver/internal/debug.js +11 -0
  216. package/node_modules/semver/internal/identifiers.js +29 -0
  217. package/node_modules/semver/internal/lrucache.js +42 -0
  218. package/node_modules/semver/internal/parse-options.js +17 -0
  219. package/node_modules/semver/internal/re.js +223 -0
  220. package/node_modules/semver/package.json +78 -0
  221. package/node_modules/semver/preload.js +4 -0
  222. package/node_modules/semver/range.bnf +17 -0
  223. package/node_modules/semver/ranges/gtr.js +6 -0
  224. package/node_modules/semver/ranges/intersects.js +9 -0
  225. package/node_modules/semver/ranges/ltr.js +6 -0
  226. package/node_modules/semver/ranges/max-satisfying.js +27 -0
  227. package/node_modules/semver/ranges/min-satisfying.js +26 -0
  228. package/node_modules/semver/ranges/min-version.js +63 -0
  229. package/node_modules/semver/ranges/outside.js +82 -0
  230. package/node_modules/semver/ranges/simplify.js +49 -0
  231. package/node_modules/semver/ranges/subset.js +249 -0
  232. package/node_modules/semver/ranges/to-comparators.js +10 -0
  233. package/node_modules/semver/ranges/valid.js +13 -0
  234. package/package.json +33 -27
  235. package/packages/octo-runtime-extra-channel-gateway/config-schema.json +8 -1
  236. package/packages/octo-runtime-protocol/schema/protocol.schema.json +43 -1
@@ -3,8 +3,8 @@ import {
3
3
  resolveDshLaunch,
4
4
  stringOption,
5
5
  timeoutOption
6
- } from "./chunk-3GXX5VD5.js";
7
- import "./chunk-IW62UM3C.js";
6
+ } from "./chunk-V5W6ZTYC.js";
7
+ import "./chunk-CFKMMCO6.js";
8
8
  export {
9
9
  DSH_PROCESS_GRACE_MS,
10
10
  resolveDshLaunch,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  DshTrajectory
3
- } from "./chunk-FWAPYRV2.js";
4
- import "./chunk-IW62UM3C.js";
3
+ } from "./chunk-LO34KB7D.js";
4
+ import "./chunk-CFKMMCO6.js";
5
5
  export {
6
6
  DshTrajectory
7
7
  };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mininglamp-oss/octo-runtime-adapter-dsh",
3
- "version": "1.1.6",
3
+ "version": "1.1.7",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "exports": "./dist/index.js",
@@ -9,7 +9,8 @@
9
9
  "dist"
10
10
  ],
11
11
  "dependencies": {
12
- "@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.6",
13
- "@mininglamp-oss/octo-runtime-protocol": "1.1.6"
12
+ "semver": "7.8.5",
13
+ "@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.7",
14
+ "@mininglamp-oss/octo-runtime-protocol": "1.1.7"
14
15
  }
15
16
  }
@@ -41,7 +41,7 @@ export interface StandardAcpUpdate extends AcpUpdate {
41
41
  export declare function createGrokBuildAcpAdapter(definition: AcpAdapterDefinition, { acpClientFactory, command }?: {
42
42
  acpClientFactory?: typeof spawnAcpClient;
43
43
  command?: string;
44
- }): Readonly<{
44
+ }): Readonly<Omit<{
45
45
  metadata: {
46
46
  mcp: true;
47
47
  type: string;
@@ -50,5 +50,13 @@ export declare function createGrokBuildAcpAdapter(definition: AcpAdapterDefiniti
50
50
  probe: () => Promise<ProbeResult>;
51
51
  respondInteraction(invocationId: string, response: InteractionResponse): Promise<void>;
52
52
  invoke(request: InvokeRequest, context?: AdapterInvocationContext): AsyncGenerator<CanonicalEvent>;
53
+ }, "metadata"> & {
54
+ metadata: Omit<{
55
+ mcp: true;
56
+ type: string;
57
+ agentSources: "provisioned"[];
58
+ }, "protocolSupport"> & {
59
+ protocolSupport: import("@mininglamp-oss/octo-runtime-protocol").AdapterProtocolSupport;
60
+ };
53
61
  }>;
54
62
  export {};
@@ -8,22 +8,26 @@ export declare function createGrokBuildAdapter({ command, acpClientFactory }?: {
8
8
  acpClientFactory?: typeof spawnGrokBuildAcpClient;
9
9
  }): Readonly<{
10
10
  invoke(request: InvokeRequest, context?: Parameters<(request: InvokeRequest, context?: import("@mininglamp-oss/octo-runtime-adapter-sdk").AdapterInvocationContext) => AsyncGenerator<CanonicalEvent>>[1]): AsyncGenerator<CanonicalEvent, void, any>;
11
- metadata: {
11
+ respondInteraction: (invocationId: string, response: InteractionResponse) => Promise<void>;
12
+ probe: () => Promise<import("@mininglamp-oss/octo-runtime-adapter-sdk").ProbeResult>;
13
+ metadata: Omit<{
12
14
  mcp: true;
13
15
  type: string;
14
16
  agentSources: "provisioned"[];
17
+ }, "protocolSupport"> & {
18
+ protocolSupport: import("@mininglamp-oss/octo-runtime-protocol").AdapterProtocolSupport;
15
19
  };
16
- probe: () => Promise<import("@mininglamp-oss/octo-runtime-adapter-sdk").ProbeResult>;
17
- respondInteraction: (invocationId: string, response: InteractionResponse) => Promise<void>;
18
20
  }>;
19
21
  export declare const grokBuildAdapter: Readonly<{
20
22
  invoke(request: InvokeRequest, context?: Parameters<(request: InvokeRequest, context?: import("@mininglamp-oss/octo-runtime-adapter-sdk").AdapterInvocationContext) => AsyncGenerator<CanonicalEvent>>[1]): AsyncGenerator<CanonicalEvent, void, any>;
21
- metadata: {
23
+ respondInteraction: (invocationId: string, response: InteractionResponse) => Promise<void>;
24
+ probe: () => Promise<import("@mininglamp-oss/octo-runtime-adapter-sdk").ProbeResult>;
25
+ metadata: Omit<{
22
26
  mcp: true;
23
27
  type: string;
24
28
  agentSources: "provisioned"[];
29
+ }, "protocolSupport"> & {
30
+ protocolSupport: import("@mininglamp-oss/octo-runtime-protocol").AdapterProtocolSupport;
25
31
  };
26
- probe: () => Promise<import("@mininglamp-oss/octo-runtime-adapter-sdk").ProbeResult>;
27
- respondInteraction: (invocationId: string, response: InteractionResponse) => Promise<void>;
28
32
  }>;
29
33
  export default grokBuildAdapter;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mininglamp-oss/octo-runtime-adapter-grok-build",
3
- "version": "1.1.6",
3
+ "version": "1.1.7",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "exports": "./dist/index.js",
@@ -9,9 +9,9 @@
9
9
  "dist"
10
10
  ],
11
11
  "dependencies": {
12
- "@mininglamp-oss/octo-runtime-acp-client": "1.1.6",
13
- "@mininglamp-oss/octo-runtime-adapter-acp": "1.1.6",
14
- "@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.6",
15
- "@mininglamp-oss/octo-runtime-protocol": "1.1.6"
12
+ "@mininglamp-oss/octo-runtime-acp-client": "1.1.7",
13
+ "@mininglamp-oss/octo-runtime-adapter-acp": "1.1.7",
14
+ "@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.7",
15
+ "@mininglamp-oss/octo-runtime-protocol": "1.1.7"
16
16
  }
17
17
  }
@@ -1,4 +1,4 @@
1
- export declare const hermesAdapter: Readonly<{
1
+ export declare const hermesAdapter: Readonly<Omit<{
2
2
  metadata: {
3
3
  mcp: true;
4
4
  type: string;
@@ -7,5 +7,13 @@ export declare const hermesAdapter: Readonly<{
7
7
  probe: () => Promise<import("@mininglamp-oss/octo-runtime-adapter-sdk").ProbeResult>;
8
8
  respondInteraction(invocationId: string, response: import("@mininglamp-oss/octo-runtime-protocol").InteractionResponse): Promise<void>;
9
9
  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>;
10
+ }, "metadata"> & {
11
+ metadata: Omit<{
12
+ mcp: true;
13
+ type: string;
14
+ agentSources: "provisioned"[];
15
+ }, "protocolSupport"> & {
16
+ protocolSupport: import("@mininglamp-oss/octo-runtime-protocol").AdapterProtocolSupport;
17
+ };
10
18
  }>;
11
19
  export default hermesAdapter;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mininglamp-oss/octo-runtime-adapter-hermes",
3
- "version": "1.1.6",
3
+ "version": "1.1.7",
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.7"
13
13
  }
14
14
  }
@@ -1,4 +1,4 @@
1
- export declare const kimiCodeAdapter: Readonly<{
1
+ export declare const kimiCodeAdapter: Readonly<Omit<{
2
2
  metadata: {
3
3
  mcp: true;
4
4
  type: string;
@@ -7,5 +7,13 @@ export declare const kimiCodeAdapter: Readonly<{
7
7
  probe: () => Promise<import("@mininglamp-oss/octo-runtime-adapter-sdk").ProbeResult>;
8
8
  respondInteraction(invocationId: string, response: import("@mininglamp-oss/octo-runtime-protocol").InteractionResponse): Promise<void>;
9
9
  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>;
10
+ }, "metadata"> & {
11
+ metadata: Omit<{
12
+ mcp: true;
13
+ type: string;
14
+ agentSources: "provisioned"[];
15
+ }, "protocolSupport"> & {
16
+ protocolSupport: import("@mininglamp-oss/octo-runtime-protocol").AdapterProtocolSupport;
17
+ };
10
18
  }>;
11
19
  export default kimiCodeAdapter;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mininglamp-oss/octo-runtime-adapter-kimi-code",
3
- "version": "1.1.6",
3
+ "version": "1.1.7",
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.7"
13
13
  }
14
14
  }
@@ -10,7 +10,7 @@
10
10
  * `session/load` returns an empty result is treated as a missing session and
11
11
  * falls back to a fresh session (`emptyLoadResultMeansMissing`).
12
12
  */
13
- export declare const mcodeAdapter: Readonly<{
13
+ export declare const mcodeAdapter: Readonly<Omit<{
14
14
  metadata: {
15
15
  mcp: true;
16
16
  type: string;
@@ -19,5 +19,13 @@ export declare const mcodeAdapter: 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 mcodeAdapter;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mininglamp-oss/octo-runtime-adapter-mcode",
3
- "version": "1.1.6",
3
+ "version": "1.1.7",
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.7"
13
13
  }
14
14
  }
@@ -4,6 +4,7 @@ export type GatewayTerminal = "completed" | "failed" | "cancelled";
4
4
  export interface GatewayContract {
5
5
  version: string;
6
6
  family: "legacy" | "session-permissions";
7
+ methods: readonly string[];
7
8
  approvalTransport: boolean;
8
9
  scopes?: readonly string[];
9
10
  }
@@ -11,7 +12,7 @@ export interface GatewayPermissionPolicy {
11
12
  effective: "ask" | "full_access";
12
13
  fallbackReason?: string;
13
14
  }
14
- /** 每条连接以真实 hello 选择固定源码核对过的合同;v4 不表示请求字段相同。 */
15
+ /** 每次握手校验协议和实际能力;版本仅选择已知的权限字段代际,不逐版限制升级。 */
15
16
  export declare function resolveGatewayContract(value: unknown): GatewayContract;
16
17
  /** 用户已授权 ask 不可用时向 full 回退;原始请求与 Context 不随 effective 改写。 */
17
18
  export declare function resolveGatewayPermission(contract: GatewayContract, requested: ApprovalMode): GatewayPermissionPolicy;
@@ -1,38 +1,4 @@
1
- const LEGACY_RELEASES = [
2
- "2026.6.11",
3
- "2026.7.1",
4
- "2026.7.1-1",
5
- "2026.7.1-2",
6
- "2026.7.33",
7
- "2026.7.34",
8
- "2026.7.35"
9
- ];
10
- const SESSION_PERMISSION_RELEASES = [
11
- "2026.8.1",
12
- "2026.8.2",
13
- "2026.8.33",
14
- "2026.8.34",
15
- "2026.8.35",
16
- "2026.9.1",
17
- "2026.9.2",
18
- "2026.9.3",
19
- "2026.9.4",
20
- "2026.9.5",
21
- "2026.9.6",
22
- "2026.9.7",
23
- "2026.9.8",
24
- "2026.9.9",
25
- "2026.9.33",
26
- "2026.10.1",
27
- "2026.10.2",
28
- "2026.10.3",
29
- "2026.10.4",
30
- "2026.10.5"
31
- ];
32
- const RELEASES = new Map([
33
- ...LEGACY_RELEASES.map((version) => [version, "legacy"]),
34
- ...SESSION_PERMISSION_RELEASES.map((version) => [version, "session-permissions"])
35
- ]);
1
+ const SESSION_PERMISSIONS_RELEASE = 20260801;
36
2
  const EXECUTION_METHODS = [
37
3
  "agents.list",
38
4
  "sessions.create",
@@ -53,13 +19,14 @@ function strings(value) {
53
19
  ? value.filter((item) => typeof item === "string")
54
20
  : [];
55
21
  }
56
- /** 每条连接以真实 hello 选择固定源码核对过的合同;v4 不表示请求字段相同。 */
22
+ /** 每次握手校验协议和实际能力;版本仅选择已知的权限字段代际,不逐版限制升级。 */
57
23
  export function resolveGatewayContract(value) {
58
24
  const hello = record(value);
59
25
  const rawVersion = record(hello?.server)?.version;
60
- const version = typeof rawVersion === "string" && /^v?\d{4}\.\d{1,2}\.\d{1,2}(?:-\d{1,2})?$/.test(rawVersion)
26
+ const version = typeof rawVersion === "string" && /^[A-Za-z0-9.+_-]{1,80}$/.test(rawVersion)
61
27
  ? rawVersion.replace(/^v/, "")
62
28
  : "unknown";
29
+ const release = /^(\d{4})\.(\d{1,2})\.(\d{1,2})(?:$|[-+])/.exec(version);
63
30
  const fail = (reason) => {
64
31
  const displayVersion = typeof rawVersion === "string" && /^[A-Za-z0-9.+_-]{1,80}$/.test(rawVersion)
65
32
  ? rawVersion
@@ -68,9 +35,13 @@ export function resolveGatewayContract(value) {
68
35
  };
69
36
  if (hello?.protocol !== 4)
70
37
  fail("unsupported Gateway protocol");
71
- const family = RELEASES.get(version);
72
- if (!family)
73
- return fail("server.version has no verified contract");
38
+ // hello 未广告参数 schema;上游日期版本只辅助选择旧字段,独立版本号的 fork 按当前 stage 尝试。
39
+ const releaseNumber = release && Number(release[2]) >= 1 && Number(release[2]) <= 12
40
+ ? Number(release[1]) * 10000 + Number(release[2]) * 100 + Number(release[3])
41
+ : undefined;
42
+ const family = releaseNumber !== undefined && releaseNumber < SESSION_PERMISSIONS_RELEASE
43
+ ? "legacy"
44
+ : "session-permissions";
74
45
  const features = record(hello?.features);
75
46
  const methods = strings(features?.methods);
76
47
  const events = strings(features?.events);
@@ -86,6 +57,7 @@ export function resolveGatewayContract(value) {
86
57
  return {
87
58
  version,
88
59
  family,
60
+ methods,
89
61
  approvalTransport: APPROVAL_METHODS.every((method) => methods.includes(method)) &&
90
62
  APPROVAL_EVENTS.every((event) => events.includes(event)),
91
63
  ...(Array.isArray(auth?.scopes) ? { scopes: strings(auth.scopes) } : {})
@@ -35,7 +35,7 @@ export interface OpenClawGatewayClientLike {
35
35
  type GatewayClientFactory = (options: OpenClawGatewayOptions) => OpenClawGatewayClientLike;
36
36
  export declare function createOpenClawAdapter({ clientFactory }?: {
37
37
  clientFactory?: GatewayClientFactory;
38
- }): Readonly<{
38
+ }): Readonly<Omit<{
39
39
  metadata: {
40
40
  type: string;
41
41
  workspace: false;
@@ -54,11 +54,21 @@ export declare function createOpenClawAdapter({ clientFactory }?: {
54
54
  }>;
55
55
  respondInteraction(invocationId: string, response: InteractionResponse): Promise<void>;
56
56
  invoke(req: InvokeRequest, context?: AdapterInvocationContext): AsyncGenerator<CanonicalEvent>;
57
+ }, "metadata"> & {
58
+ metadata: Omit<{
59
+ type: string;
60
+ workspace: false;
61
+ processModel: string;
62
+ transport: string;
63
+ agentSources: ("preset" | "provisioned")[];
64
+ }, "protocolSupport"> & {
65
+ protocolSupport: import("@mininglamp-oss/octo-runtime-protocol").AdapterProtocolSupport;
66
+ };
57
67
  }>;
58
68
  export { loadLocalOpenClawGateway, configureOpenClawConnection, readOpenClawConnection, LocalGatewayError, normalizeOpenClawGatewayUrl, resolveOpenClawGateway, OPENCLAW_RUNTIME_ROOT, type OpenClawConnectionInput, type OpenClawConnection } from "./local-gateway.js";
59
69
  export { OpenClawGatewayClient, createOpenClawDeviceIdentity, type OpenClawDeviceIdentity, type OpenClawGatewayEvent, type OpenClawGatewayOptions } from "./gateway.js";
60
70
  export { OpenClawTranscriptNormalizer, normalizeOpenClawFrame, tryParseOpenClawEvent, tryParseOpenClawFinalBlob, tryParseOpenClawTranscriptLine } from "./parser.js";
61
- export declare const openclawAdapter: Readonly<{
71
+ export declare const openclawAdapter: Readonly<Omit<{
62
72
  metadata: {
63
73
  type: string;
64
74
  workspace: false;
@@ -77,5 +87,15 @@ export declare const openclawAdapter: Readonly<{
77
87
  }>;
78
88
  respondInteraction(invocationId: string, response: InteractionResponse): Promise<void>;
79
89
  invoke(req: InvokeRequest, context?: AdapterInvocationContext): AsyncGenerator<CanonicalEvent>;
90
+ }, "metadata"> & {
91
+ metadata: Omit<{
92
+ type: string;
93
+ workspace: false;
94
+ processModel: string;
95
+ transport: string;
96
+ agentSources: ("preset" | "provisioned")[];
97
+ }, "protocolSupport"> & {
98
+ protocolSupport: import("@mininglamp-oss/octo-runtime-protocol").AdapterProtocolSupport;
99
+ };
80
100
  }>;
81
101
  export default openclawAdapter;