oh-my-opencode 5.1.84 → 5.1.86

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 (405) hide show
  1. package/.agents/command/remove-deadcode.md +1 -1
  2. package/.agents/skills/remove-deadcode/SKILL.md +1 -1
  3. package/.agents/skills/work-with-pr/SKILL.md +2 -2
  4. package/.opencode/command/remove-deadcode.md +1 -1
  5. package/.opencode/skills/work-with-pr/SKILL.md +2 -2
  6. package/THIRD-PARTY-NOTICES.md +9 -3
  7. package/dist/cli/index.js +1022 -842
  8. package/dist/cli/service-auth/devices.d.ts +5 -2
  9. package/dist/cli-node/index.js +1022 -842
  10. package/dist/config/schema/agent-names.d.ts +1 -0
  11. package/dist/index.js +180 -205
  12. package/dist/skills/browser/SKILL.md +4 -1
  13. package/dist/skills/browser/references/commands.md +5 -2
  14. package/dist/skills/browser/references/desktop.md +1 -0
  15. package/dist/skills/browser/references/owned-engine/README.md +2 -0
  16. package/dist/skills/browser/references/owned-engine/frames-and-humans.md +2 -0
  17. package/dist/skills/browser/references/owned-engine/network.md +10 -5
  18. package/dist/skills/browser/references/recipes/1password.md +2 -0
  19. package/dist/skills/browser/runtime/omowright/index.js +11 -11
  20. package/dist/skills/browser/runtime/omowright/manifest.json +4 -4
  21. package/dist/skills/debugging/SKILL.md +1 -1
  22. package/dist/skills/git/SKILL.md +62 -0
  23. package/dist/skills/git/agents/openai.yaml +13 -0
  24. package/dist/skills/github/SKILL.md +94 -0
  25. package/dist/skills/github/references/branch-rules.md +129 -0
  26. package/dist/skills/github/references/evidence-attachments.md +16 -0
  27. package/dist/skills/github/references/repo-setup.md +152 -0
  28. package/dist/skills/github/references/waiting.md +52 -0
  29. package/dist/skills/github/references/workflows.md +161 -0
  30. package/dist/skills/github/scripts/cli.ts +8 -0
  31. package/dist/skills/github/scripts/package.json +12 -0
  32. package/dist/skills/github/scripts/sdk.ts +11 -0
  33. package/dist/skills/github/scripts/src/account.ts +243 -0
  34. package/dist/skills/github/scripts/src/actions-write.ts +86 -0
  35. package/dist/skills/github/scripts/src/actions.ts +210 -0
  36. package/dist/skills/github/scripts/src/attestations.ts +136 -0
  37. package/dist/skills/github/scripts/src/blake2b.ts +102 -0
  38. package/dist/skills/github/scripts/src/branch-protection.ts +192 -0
  39. package/dist/skills/github/scripts/src/caches.ts +105 -0
  40. package/dist/skills/github/scripts/src/checks.ts +107 -0
  41. package/dist/skills/github/scripts/src/codespaces.ts +230 -0
  42. package/dist/skills/github/scripts/src/conversation-lock.ts +50 -0
  43. package/dist/skills/github/scripts/src/discussion-list.ts +126 -0
  44. package/dist/skills/github/scripts/src/discussion-lookup.ts +127 -0
  45. package/dist/skills/github/scripts/src/discussions.ts +234 -0
  46. package/dist/skills/github/scripts/src/env.ts +100 -0
  47. package/dist/skills/github/scripts/src/errors.ts +79 -0
  48. package/dist/skills/github/scripts/src/fields.ts +27 -0
  49. package/dist/skills/github/scripts/src/gist-shape.ts +58 -0
  50. package/dist/skills/github/scripts/src/gists-write.ts +130 -0
  51. package/dist/skills/github/scripts/src/gists.ts +118 -0
  52. package/dist/skills/github/scripts/src/git-auth.ts +46 -0
  53. package/dist/skills/github/scripts/src/http.ts +159 -0
  54. package/dist/skills/github/scripts/src/issue-develop.ts +118 -0
  55. package/dist/skills/github/scripts/src/issues-extra.ts +135 -0
  56. package/dist/skills/github/scripts/src/issues-write.ts +174 -0
  57. package/dist/skills/github/scripts/src/issues.ts +156 -0
  58. package/dist/skills/github/scripts/src/keys.ts +176 -0
  59. package/dist/skills/github/scripts/src/labels.ts +209 -0
  60. package/dist/skills/github/scripts/src/merge.ts +115 -0
  61. package/dist/skills/github/scripts/src/poly1305.ts +22 -0
  62. package/dist/skills/github/scripts/src/pr-checkout.ts +92 -0
  63. package/dist/skills/github/scripts/src/pr-view.ts +106 -0
  64. package/dist/skills/github/scripts/src/project-fields.ts +144 -0
  65. package/dist/skills/github/scripts/src/project-item-edit.ts +153 -0
  66. package/dist/skills/github/scripts/src/project-items.ts +191 -0
  67. package/dist/skills/github/scripts/src/project-links.ts +104 -0
  68. package/dist/skills/github/scripts/src/project-ref.ts +145 -0
  69. package/dist/skills/github/scripts/src/project-state.ts +99 -0
  70. package/dist/skills/github/scripts/src/projects.ts +158 -0
  71. package/dist/skills/github/scripts/src/pulls-extra.ts +165 -0
  72. package/dist/skills/github/scripts/src/pulls-read.ts +176 -0
  73. package/dist/skills/github/scripts/src/pulls-review.ts +206 -0
  74. package/dist/skills/github/scripts/src/pulls-write.ts +187 -0
  75. package/dist/skills/github/scripts/src/raw.ts +78 -0
  76. package/dist/skills/github/scripts/src/read.ts +77 -0
  77. package/dist/skills/github/scripts/src/release-assets.ts +111 -0
  78. package/dist/skills/github/scripts/src/release-download.ts +151 -0
  79. package/dist/skills/github/scripts/src/release-write.ts +197 -0
  80. package/dist/skills/github/scripts/src/repo-admin.ts +112 -0
  81. package/dist/skills/github/scripts/src/repo-content.ts +187 -0
  82. package/dist/skills/github/scripts/src/repo-create.ts +139 -0
  83. package/dist/skills/github/scripts/src/repo-extras.ts +217 -0
  84. package/dist/skills/github/scripts/src/repo-list.ts +143 -0
  85. package/dist/skills/github/scripts/src/repo-settings.ts +176 -0
  86. package/dist/skills/github/scripts/src/repo-sync.ts +81 -0
  87. package/dist/skills/github/scripts/src/repo-url.ts +104 -0
  88. package/dist/skills/github/scripts/src/repos.ts +87 -0
  89. package/dist/skills/github/scripts/src/ruleset-shape.ts +96 -0
  90. package/dist/skills/github/scripts/src/rulesets-write.ts +124 -0
  91. package/dist/skills/github/scripts/src/rulesets.ts +80 -0
  92. package/dist/skills/github/scripts/src/run-download.ts +88 -0
  93. package/dist/skills/github/scripts/src/salsa20.ts +97 -0
  94. package/dist/skills/github/scripts/src/scopes.ts +165 -0
  95. package/dist/skills/github/scripts/src/sealed-box.ts +75 -0
  96. package/dist/skills/github/scripts/src/search-commits.ts +114 -0
  97. package/dist/skills/github/scripts/src/search.ts +116 -0
  98. package/dist/skills/github/scripts/src/secrets.ts +131 -0
  99. package/dist/skills/github/scripts/src/snappy.ts +57 -0
  100. package/dist/skills/github/scripts/src/status-search.ts +55 -0
  101. package/dist/skills/github/scripts/src/transfer.ts +97 -0
  102. package/dist/skills/github/scripts/src/types.ts +75 -0
  103. package/dist/skills/github/scripts/src/variables.ts +86 -0
  104. package/dist/skills/github/scripts/src/wait.ts +164 -0
  105. package/dist/skills/github/scripts/src/wire.ts +159 -0
  106. package/dist/skills/github/scripts/src/workflows.ts +144 -0
  107. package/dist/skills/github/scripts/src/zip.ts +104 -0
  108. package/dist/skills/github/scripts/surface.ts +106 -0
  109. package/dist/skills/github/scripts/vendor/surface/SOURCE.json +15 -0
  110. package/dist/skills/github/scripts/vendor/surface/cli.ts +203 -0
  111. package/dist/skills/github/scripts/vendor/surface/flags.ts +195 -0
  112. package/dist/skills/github/scripts/vendor/surface/help.ts +89 -0
  113. package/dist/skills/github/scripts/vendor/surface/http.ts +180 -0
  114. package/dist/skills/github/scripts/vendor/surface/index.ts +44 -0
  115. package/dist/skills/github/scripts/vendor/surface/mcp.ts +241 -0
  116. package/dist/skills/github/scripts/vendor/surface/schema.ts +200 -0
  117. package/dist/skills/github/scripts/vendor/surface/stdio.ts +54 -0
  118. package/dist/skills/github/scripts/vendor/surface/surface.ts +250 -0
  119. package/dist/skills/github/scripts/vendor/surface/tools.ts +80 -0
  120. package/dist/skills/programming/SKILL.md +1 -1
  121. package/dist/skills/ulw-execute/SKILL.md +1 -1
  122. package/dist/tui.js +30 -27
  123. package/package.json +28 -26
  124. package/packages/omo-codex/plugin/.codex-plugin/plugin.json +1 -1
  125. package/packages/omo-codex/plugin/components/bootstrap/hooks/hooks.json +1 -1
  126. package/packages/omo-codex/plugin/components/bootstrap/package.json +1 -1
  127. package/packages/omo-codex/plugin/components/comment-checker/hooks/hooks.json +1 -1
  128. package/packages/omo-codex/plugin/components/comment-checker/package.json +1 -1
  129. package/packages/omo-codex/plugin/components/git-bash/hooks/hooks.json +2 -2
  130. package/packages/omo-codex/plugin/components/git-bash/package.json +1 -1
  131. package/packages/omo-codex/plugin/components/lazycodex-executor-verify/hooks/hooks.json +1 -1
  132. package/packages/omo-codex/plugin/components/lazycodex-executor-verify/package.json +1 -1
  133. package/packages/omo-codex/plugin/components/lsp/dist/.omo-runtime-manifest.json +2 -2
  134. package/packages/omo-codex/plugin/components/lsp/hooks/hooks.json +2 -2
  135. package/packages/omo-codex/plugin/components/lsp/package.json +1 -1
  136. package/packages/omo-codex/plugin/components/rules/hooks/hooks.json +4 -4
  137. package/packages/omo-codex/plugin/components/rules/package.json +1 -1
  138. package/packages/omo-codex/plugin/components/teammode/hooks/hooks.json +1 -1
  139. package/packages/omo-codex/plugin/components/teammode/package.json +1 -1
  140. package/packages/omo-codex/plugin/components/telemetry/hooks/hooks.json +1 -1
  141. package/packages/omo-codex/plugin/components/telemetry/package.json +1 -1
  142. package/packages/omo-codex/plugin/components/ultrawork/hooks/hooks.json +1 -1
  143. package/packages/omo-codex/plugin/components/ultrawork/package.json +1 -1
  144. package/packages/omo-codex/plugin/components/ulw-execute-continuation/hooks/hooks.json +1 -1
  145. package/packages/omo-codex/plugin/components/ulw-execute-continuation/package.json +1 -1
  146. package/packages/omo-codex/plugin/components/ulw-loop/hooks/hooks.json +5 -5
  147. package/packages/omo-codex/plugin/components/ulw-loop/package.json +1 -1
  148. package/packages/omo-codex/plugin/components/ulw-loop/skills/ulw-loop/SKILL.md +1 -1
  149. package/packages/omo-codex/plugin/components/ulw-loop/skills/ulw-loop/references/full-workflow.md +3 -3
  150. package/packages/omo-codex/plugin/hooks/post-compact-resetting-git-bash-mcp-reminder.json +1 -1
  151. package/packages/omo-codex/plugin/hooks/post-compact-resetting-lsp-diagnostics-cache.json +1 -1
  152. package/packages/omo-codex/plugin/hooks/post-compact-resetting-project-rule-cache.json +1 -1
  153. package/packages/omo-codex/plugin/hooks/post-tool-use-checking-comments.json +1 -1
  154. package/packages/omo-codex/plugin/hooks/post-tool-use-checking-lsp-diagnostics.json +1 -1
  155. package/packages/omo-codex/plugin/hooks/post-tool-use-checking-thread-title-hygiene.json +1 -1
  156. package/packages/omo-codex/plugin/hooks/post-tool-use-matching-project-rules.json +1 -1
  157. package/packages/omo-codex/plugin/hooks/post-tool-use-recording-spawn-admission.json +1 -1
  158. package/packages/omo-codex/plugin/hooks/pre-tool-use-enforcing-unlimited-goal-budget.json +1 -1
  159. package/packages/omo-codex/plugin/hooks/pre-tool-use-guarding-ulw-loop-spawns.json +1 -1
  160. package/packages/omo-codex/plugin/hooks/pre-tool-use-recommending-git-bash-mcp.json +1 -1
  161. package/packages/omo-codex/plugin/hooks/session-start-checking-auto-update.json +1 -1
  162. package/packages/omo-codex/plugin/hooks/session-start-checking-bootstrap-provisioning.json +1 -1
  163. package/packages/omo-codex/plugin/hooks/session-start-loading-project-rules.json +1 -1
  164. package/packages/omo-codex/plugin/hooks/session-start-recording-session-telemetry.json +1 -1
  165. package/packages/omo-codex/plugin/hooks/stop-checking-ulw-execute-continuation.json +1 -1
  166. package/packages/omo-codex/plugin/hooks/stop-checking-ulw-loop-resume.json +1 -1
  167. package/packages/omo-codex/plugin/hooks/subagent-stop-verifying-lazycodex-executor-evidence.json +1 -1
  168. package/packages/omo-codex/plugin/hooks/user-prompt-submit-checking-ultrawork-trigger.json +1 -1
  169. package/packages/omo-codex/plugin/hooks/user-prompt-submit-checking-ulw-loop-steering.json +1 -1
  170. package/packages/omo-codex/plugin/hooks/user-prompt-submit-loading-project-rules.json +1 -1
  171. package/packages/omo-codex/plugin/package-lock.json +12 -12
  172. package/packages/omo-codex/plugin/package.json +1 -1
  173. package/packages/omo-codex/plugin/skills/browser/SKILL.md +4 -1
  174. package/packages/omo-codex/plugin/skills/browser/references/commands.md +5 -2
  175. package/packages/omo-codex/plugin/skills/browser/references/desktop.md +1 -0
  176. package/packages/omo-codex/plugin/skills/browser/references/owned-engine/README.md +2 -0
  177. package/packages/omo-codex/plugin/skills/browser/references/owned-engine/frames-and-humans.md +2 -0
  178. package/packages/omo-codex/plugin/skills/browser/references/owned-engine/network.md +10 -5
  179. package/packages/omo-codex/plugin/skills/browser/references/recipes/1password.md +2 -0
  180. package/packages/omo-codex/plugin/skills/browser/runtime/omowright/index.js +11 -11
  181. package/packages/omo-codex/plugin/skills/browser/runtime/omowright/manifest.json +4 -4
  182. package/packages/omo-codex/plugin/skills/debugging/SKILL.md +1 -1
  183. package/packages/omo-codex/plugin/skills/git/SKILL.md +62 -0
  184. package/packages/omo-codex/plugin/skills/git/agents/openai.yaml +13 -0
  185. package/packages/omo-codex/plugin/skills/github/SKILL.md +94 -0
  186. package/packages/omo-codex/plugin/skills/github/agents/openai.yaml +2 -0
  187. package/packages/omo-codex/plugin/skills/github/references/branch-rules.md +129 -0
  188. package/packages/omo-codex/plugin/skills/github/references/evidence-attachments.md +16 -0
  189. package/packages/omo-codex/plugin/skills/github/references/repo-setup.md +152 -0
  190. package/packages/omo-codex/plugin/skills/github/references/waiting.md +52 -0
  191. package/packages/omo-codex/plugin/skills/github/references/workflows.md +161 -0
  192. package/packages/omo-codex/plugin/skills/github/scripts/cli.ts +8 -0
  193. package/packages/omo-codex/plugin/skills/github/scripts/package.json +12 -0
  194. package/packages/omo-codex/plugin/skills/github/scripts/sdk.ts +11 -0
  195. package/packages/omo-codex/plugin/skills/github/scripts/src/account.ts +243 -0
  196. package/packages/omo-codex/plugin/skills/github/scripts/src/actions-write.ts +86 -0
  197. package/packages/omo-codex/plugin/skills/github/scripts/src/actions.ts +210 -0
  198. package/packages/omo-codex/plugin/skills/github/scripts/src/attestations.ts +136 -0
  199. package/packages/omo-codex/plugin/skills/github/scripts/src/blake2b.ts +102 -0
  200. package/packages/omo-codex/plugin/skills/github/scripts/src/branch-protection.ts +192 -0
  201. package/packages/omo-codex/plugin/skills/github/scripts/src/caches.ts +105 -0
  202. package/packages/omo-codex/plugin/skills/github/scripts/src/checks.ts +107 -0
  203. package/packages/omo-codex/plugin/skills/github/scripts/src/codespaces.ts +230 -0
  204. package/packages/omo-codex/plugin/skills/github/scripts/src/conversation-lock.ts +50 -0
  205. package/packages/omo-codex/plugin/skills/github/scripts/src/discussion-list.ts +126 -0
  206. package/packages/omo-codex/plugin/skills/github/scripts/src/discussion-lookup.ts +127 -0
  207. package/packages/omo-codex/plugin/skills/github/scripts/src/discussions.ts +234 -0
  208. package/packages/omo-codex/plugin/skills/github/scripts/src/env.ts +100 -0
  209. package/packages/omo-codex/plugin/skills/github/scripts/src/errors.ts +79 -0
  210. package/packages/omo-codex/plugin/skills/github/scripts/src/fields.ts +27 -0
  211. package/packages/omo-codex/plugin/skills/github/scripts/src/gist-shape.ts +58 -0
  212. package/packages/omo-codex/plugin/skills/github/scripts/src/gists-write.ts +130 -0
  213. package/packages/omo-codex/plugin/skills/github/scripts/src/gists.ts +118 -0
  214. package/packages/omo-codex/plugin/skills/github/scripts/src/git-auth.ts +46 -0
  215. package/packages/omo-codex/plugin/skills/github/scripts/src/http.ts +159 -0
  216. package/packages/omo-codex/plugin/skills/github/scripts/src/issue-develop.ts +118 -0
  217. package/packages/omo-codex/plugin/skills/github/scripts/src/issues-extra.ts +135 -0
  218. package/packages/omo-codex/plugin/skills/github/scripts/src/issues-write.ts +174 -0
  219. package/packages/omo-codex/plugin/skills/github/scripts/src/issues.ts +156 -0
  220. package/packages/omo-codex/plugin/skills/github/scripts/src/keys.ts +176 -0
  221. package/packages/omo-codex/plugin/skills/github/scripts/src/labels.ts +209 -0
  222. package/packages/omo-codex/plugin/skills/github/scripts/src/merge.ts +115 -0
  223. package/packages/omo-codex/plugin/skills/github/scripts/src/poly1305.ts +22 -0
  224. package/packages/omo-codex/plugin/skills/github/scripts/src/pr-checkout.ts +92 -0
  225. package/packages/omo-codex/plugin/skills/github/scripts/src/pr-view.ts +106 -0
  226. package/packages/omo-codex/plugin/skills/github/scripts/src/project-fields.ts +144 -0
  227. package/packages/omo-codex/plugin/skills/github/scripts/src/project-item-edit.ts +153 -0
  228. package/packages/omo-codex/plugin/skills/github/scripts/src/project-items.ts +191 -0
  229. package/packages/omo-codex/plugin/skills/github/scripts/src/project-links.ts +104 -0
  230. package/packages/omo-codex/plugin/skills/github/scripts/src/project-ref.ts +145 -0
  231. package/packages/omo-codex/plugin/skills/github/scripts/src/project-state.ts +99 -0
  232. package/packages/omo-codex/plugin/skills/github/scripts/src/projects.ts +158 -0
  233. package/packages/omo-codex/plugin/skills/github/scripts/src/pulls-extra.ts +165 -0
  234. package/packages/omo-codex/plugin/skills/github/scripts/src/pulls-read.ts +176 -0
  235. package/packages/omo-codex/plugin/skills/github/scripts/src/pulls-review.ts +206 -0
  236. package/packages/omo-codex/plugin/skills/github/scripts/src/pulls-write.ts +187 -0
  237. package/packages/omo-codex/plugin/skills/github/scripts/src/raw.ts +78 -0
  238. package/packages/omo-codex/plugin/skills/github/scripts/src/read.ts +77 -0
  239. package/packages/omo-codex/plugin/skills/github/scripts/src/release-assets.ts +111 -0
  240. package/packages/omo-codex/plugin/skills/github/scripts/src/release-download.ts +151 -0
  241. package/packages/omo-codex/plugin/skills/github/scripts/src/release-write.ts +197 -0
  242. package/packages/omo-codex/plugin/skills/github/scripts/src/repo-admin.ts +112 -0
  243. package/packages/omo-codex/plugin/skills/github/scripts/src/repo-content.ts +187 -0
  244. package/packages/omo-codex/plugin/skills/github/scripts/src/repo-create.ts +139 -0
  245. package/packages/omo-codex/plugin/skills/github/scripts/src/repo-extras.ts +217 -0
  246. package/packages/omo-codex/plugin/skills/github/scripts/src/repo-list.ts +143 -0
  247. package/packages/omo-codex/plugin/skills/github/scripts/src/repo-settings.ts +176 -0
  248. package/packages/omo-codex/plugin/skills/github/scripts/src/repo-sync.ts +81 -0
  249. package/packages/omo-codex/plugin/skills/github/scripts/src/repo-url.ts +104 -0
  250. package/packages/omo-codex/plugin/skills/github/scripts/src/repos.ts +87 -0
  251. package/packages/omo-codex/plugin/skills/github/scripts/src/ruleset-shape.ts +96 -0
  252. package/packages/omo-codex/plugin/skills/github/scripts/src/rulesets-write.ts +124 -0
  253. package/packages/omo-codex/plugin/skills/github/scripts/src/rulesets.ts +80 -0
  254. package/packages/omo-codex/plugin/skills/github/scripts/src/run-download.ts +88 -0
  255. package/packages/omo-codex/plugin/skills/github/scripts/src/salsa20.ts +97 -0
  256. package/packages/omo-codex/plugin/skills/github/scripts/src/scopes.ts +165 -0
  257. package/packages/omo-codex/plugin/skills/github/scripts/src/sealed-box.ts +75 -0
  258. package/packages/omo-codex/plugin/skills/github/scripts/src/search-commits.ts +114 -0
  259. package/packages/omo-codex/plugin/skills/github/scripts/src/search.ts +116 -0
  260. package/packages/omo-codex/plugin/skills/github/scripts/src/secrets.ts +131 -0
  261. package/packages/omo-codex/plugin/skills/github/scripts/src/snappy.ts +57 -0
  262. package/packages/omo-codex/plugin/skills/github/scripts/src/status-search.ts +55 -0
  263. package/packages/omo-codex/plugin/skills/github/scripts/src/transfer.ts +97 -0
  264. package/packages/omo-codex/plugin/skills/github/scripts/src/types.ts +75 -0
  265. package/packages/omo-codex/plugin/skills/github/scripts/src/variables.ts +86 -0
  266. package/packages/omo-codex/plugin/skills/github/scripts/src/wait.ts +164 -0
  267. package/packages/omo-codex/plugin/skills/github/scripts/src/wire.ts +159 -0
  268. package/packages/omo-codex/plugin/skills/github/scripts/src/workflows.ts +144 -0
  269. package/packages/omo-codex/plugin/skills/github/scripts/src/zip.ts +104 -0
  270. package/packages/omo-codex/plugin/skills/github/scripts/surface.ts +106 -0
  271. package/packages/omo-codex/plugin/skills/github/scripts/vendor/surface/SOURCE.json +15 -0
  272. package/packages/omo-codex/plugin/skills/github/scripts/vendor/surface/cli.ts +203 -0
  273. package/packages/omo-codex/plugin/skills/github/scripts/vendor/surface/flags.ts +195 -0
  274. package/packages/omo-codex/plugin/skills/github/scripts/vendor/surface/help.ts +89 -0
  275. package/packages/omo-codex/plugin/skills/github/scripts/vendor/surface/http.ts +180 -0
  276. package/packages/omo-codex/plugin/skills/github/scripts/vendor/surface/index.ts +44 -0
  277. package/packages/omo-codex/plugin/skills/github/scripts/vendor/surface/mcp.ts +241 -0
  278. package/packages/omo-codex/plugin/skills/github/scripts/vendor/surface/schema.ts +200 -0
  279. package/packages/omo-codex/plugin/skills/github/scripts/vendor/surface/stdio.ts +54 -0
  280. package/packages/omo-codex/plugin/skills/github/scripts/vendor/surface/surface.ts +250 -0
  281. package/packages/omo-codex/plugin/skills/github/scripts/vendor/surface/tools.ts +80 -0
  282. package/packages/omo-codex/plugin/skills/programming/SKILL.md +1 -1
  283. package/packages/omo-codex/plugin/skills/ulw-execute/SKILL.md +1 -1
  284. package/packages/omo-codex/plugin/skills/ulw-loop/SKILL.md +1 -1
  285. package/packages/omo-codex/plugin/skills/ulw-loop/references/full-workflow.md +3 -3
  286. package/packages/omo-codex/plugin/test/sync-skills-codex-compatibility.test.mjs +1 -1
  287. package/packages/omo-codex/plugin/test/sync-skills-test-support.mjs +2 -1
  288. package/packages/omo-codex/plugin/test/sync-skills.test.mjs +5 -5
  289. package/packages/omo-codex/scripts/install-dist/install-local.mjs +20 -15
  290. package/packages/shared-skills/skills/browser/SKILL.md +4 -1
  291. package/packages/shared-skills/skills/browser/references/commands.md +5 -2
  292. package/packages/shared-skills/skills/browser/references/desktop.md +1 -0
  293. package/packages/shared-skills/skills/browser/references/owned-engine/README.md +2 -0
  294. package/packages/shared-skills/skills/browser/references/owned-engine/frames-and-humans.md +2 -0
  295. package/packages/shared-skills/skills/browser/references/owned-engine/network.md +10 -5
  296. package/packages/shared-skills/skills/browser/references/recipes/1password.md +2 -0
  297. package/packages/shared-skills/skills/browser/runtime/omowright/index.js +11 -11
  298. package/packages/shared-skills/skills/browser/runtime/omowright/manifest.json +4 -4
  299. package/packages/shared-skills/skills/debugging/SKILL.md +1 -1
  300. package/packages/shared-skills/skills/git/SKILL.md +62 -0
  301. package/packages/shared-skills/skills/git/agents/openai.yaml +13 -0
  302. package/packages/shared-skills/skills/github/SKILL.md +94 -0
  303. package/packages/shared-skills/skills/github/references/branch-rules.md +129 -0
  304. package/packages/shared-skills/skills/github/references/evidence-attachments.md +16 -0
  305. package/packages/shared-skills/skills/github/references/repo-setup.md +152 -0
  306. package/packages/shared-skills/skills/github/references/waiting.md +52 -0
  307. package/packages/shared-skills/skills/github/references/workflows.md +161 -0
  308. package/packages/shared-skills/skills/github/scripts/cli.ts +8 -0
  309. package/packages/shared-skills/skills/github/scripts/package.json +12 -0
  310. package/packages/shared-skills/skills/github/scripts/sdk.ts +11 -0
  311. package/packages/shared-skills/skills/github/scripts/src/account.ts +243 -0
  312. package/packages/shared-skills/skills/github/scripts/src/actions-write.ts +86 -0
  313. package/packages/shared-skills/skills/github/scripts/src/actions.ts +210 -0
  314. package/packages/shared-skills/skills/github/scripts/src/attestations.ts +136 -0
  315. package/packages/shared-skills/skills/github/scripts/src/blake2b.ts +102 -0
  316. package/packages/shared-skills/skills/github/scripts/src/branch-protection.ts +192 -0
  317. package/packages/shared-skills/skills/github/scripts/src/caches.ts +105 -0
  318. package/packages/shared-skills/skills/github/scripts/src/checks.ts +107 -0
  319. package/packages/shared-skills/skills/github/scripts/src/codespaces.ts +230 -0
  320. package/packages/shared-skills/skills/github/scripts/src/conversation-lock.ts +50 -0
  321. package/packages/shared-skills/skills/github/scripts/src/discussion-list.ts +126 -0
  322. package/packages/shared-skills/skills/github/scripts/src/discussion-lookup.ts +127 -0
  323. package/packages/shared-skills/skills/github/scripts/src/discussions.ts +234 -0
  324. package/packages/shared-skills/skills/github/scripts/src/env.ts +100 -0
  325. package/packages/shared-skills/skills/github/scripts/src/errors.ts +79 -0
  326. package/packages/shared-skills/skills/github/scripts/src/fields.ts +27 -0
  327. package/packages/shared-skills/skills/github/scripts/src/gist-shape.ts +58 -0
  328. package/packages/shared-skills/skills/github/scripts/src/gists-write.ts +130 -0
  329. package/packages/shared-skills/skills/github/scripts/src/gists.ts +118 -0
  330. package/packages/shared-skills/skills/github/scripts/src/git-auth.ts +46 -0
  331. package/packages/shared-skills/skills/github/scripts/src/http.ts +159 -0
  332. package/packages/shared-skills/skills/github/scripts/src/issue-develop.ts +118 -0
  333. package/packages/shared-skills/skills/github/scripts/src/issues-extra.ts +135 -0
  334. package/packages/shared-skills/skills/github/scripts/src/issues-write.ts +174 -0
  335. package/packages/shared-skills/skills/github/scripts/src/issues.ts +156 -0
  336. package/packages/shared-skills/skills/github/scripts/src/keys.ts +176 -0
  337. package/packages/shared-skills/skills/github/scripts/src/labels.ts +209 -0
  338. package/packages/shared-skills/skills/github/scripts/src/merge.ts +115 -0
  339. package/packages/shared-skills/skills/github/scripts/src/poly1305.ts +22 -0
  340. package/packages/shared-skills/skills/github/scripts/src/pr-checkout.ts +92 -0
  341. package/packages/shared-skills/skills/github/scripts/src/pr-view.ts +106 -0
  342. package/packages/shared-skills/skills/github/scripts/src/project-fields.ts +144 -0
  343. package/packages/shared-skills/skills/github/scripts/src/project-item-edit.ts +153 -0
  344. package/packages/shared-skills/skills/github/scripts/src/project-items.ts +191 -0
  345. package/packages/shared-skills/skills/github/scripts/src/project-links.ts +104 -0
  346. package/packages/shared-skills/skills/github/scripts/src/project-ref.ts +145 -0
  347. package/packages/shared-skills/skills/github/scripts/src/project-state.ts +99 -0
  348. package/packages/shared-skills/skills/github/scripts/src/projects.ts +158 -0
  349. package/packages/shared-skills/skills/github/scripts/src/pulls-extra.ts +165 -0
  350. package/packages/shared-skills/skills/github/scripts/src/pulls-read.ts +176 -0
  351. package/packages/shared-skills/skills/github/scripts/src/pulls-review.ts +206 -0
  352. package/packages/shared-skills/skills/github/scripts/src/pulls-write.ts +187 -0
  353. package/packages/shared-skills/skills/github/scripts/src/raw.ts +78 -0
  354. package/packages/shared-skills/skills/github/scripts/src/read.ts +77 -0
  355. package/packages/shared-skills/skills/github/scripts/src/release-assets.ts +111 -0
  356. package/packages/shared-skills/skills/github/scripts/src/release-download.ts +151 -0
  357. package/packages/shared-skills/skills/github/scripts/src/release-write.ts +197 -0
  358. package/packages/shared-skills/skills/github/scripts/src/repo-admin.ts +112 -0
  359. package/packages/shared-skills/skills/github/scripts/src/repo-content.ts +187 -0
  360. package/packages/shared-skills/skills/github/scripts/src/repo-create.ts +139 -0
  361. package/packages/shared-skills/skills/github/scripts/src/repo-extras.ts +217 -0
  362. package/packages/shared-skills/skills/github/scripts/src/repo-list.ts +143 -0
  363. package/packages/shared-skills/skills/github/scripts/src/repo-settings.ts +176 -0
  364. package/packages/shared-skills/skills/github/scripts/src/repo-sync.ts +81 -0
  365. package/packages/shared-skills/skills/github/scripts/src/repo-url.ts +104 -0
  366. package/packages/shared-skills/skills/github/scripts/src/repos.ts +87 -0
  367. package/packages/shared-skills/skills/github/scripts/src/ruleset-shape.ts +96 -0
  368. package/packages/shared-skills/skills/github/scripts/src/rulesets-write.ts +124 -0
  369. package/packages/shared-skills/skills/github/scripts/src/rulesets.ts +80 -0
  370. package/packages/shared-skills/skills/github/scripts/src/run-download.ts +88 -0
  371. package/packages/shared-skills/skills/github/scripts/src/salsa20.ts +97 -0
  372. package/packages/shared-skills/skills/github/scripts/src/scopes.ts +165 -0
  373. package/packages/shared-skills/skills/github/scripts/src/sealed-box.ts +75 -0
  374. package/packages/shared-skills/skills/github/scripts/src/search-commits.ts +114 -0
  375. package/packages/shared-skills/skills/github/scripts/src/search.ts +116 -0
  376. package/packages/shared-skills/skills/github/scripts/src/secrets.ts +131 -0
  377. package/packages/shared-skills/skills/github/scripts/src/snappy.ts +57 -0
  378. package/packages/shared-skills/skills/github/scripts/src/status-search.ts +55 -0
  379. package/packages/shared-skills/skills/github/scripts/src/transfer.ts +97 -0
  380. package/packages/shared-skills/skills/github/scripts/src/types.ts +75 -0
  381. package/packages/shared-skills/skills/github/scripts/src/variables.ts +86 -0
  382. package/packages/shared-skills/skills/github/scripts/src/wait.ts +164 -0
  383. package/packages/shared-skills/skills/github/scripts/src/wire.ts +159 -0
  384. package/packages/shared-skills/skills/github/scripts/src/workflows.ts +144 -0
  385. package/packages/shared-skills/skills/github/scripts/src/zip.ts +104 -0
  386. package/packages/shared-skills/skills/github/scripts/surface.ts +106 -0
  387. package/packages/shared-skills/skills/github/scripts/vendor/surface/SOURCE.json +15 -0
  388. package/packages/shared-skills/skills/github/scripts/vendor/surface/cli.ts +203 -0
  389. package/packages/shared-skills/skills/github/scripts/vendor/surface/flags.ts +195 -0
  390. package/packages/shared-skills/skills/github/scripts/vendor/surface/help.ts +89 -0
  391. package/packages/shared-skills/skills/github/scripts/vendor/surface/http.ts +180 -0
  392. package/packages/shared-skills/skills/github/scripts/vendor/surface/index.ts +44 -0
  393. package/packages/shared-skills/skills/github/scripts/vendor/surface/mcp.ts +241 -0
  394. package/packages/shared-skills/skills/github/scripts/vendor/surface/schema.ts +200 -0
  395. package/packages/shared-skills/skills/github/scripts/vendor/surface/stdio.ts +54 -0
  396. package/packages/shared-skills/skills/github/scripts/vendor/surface/surface.ts +250 -0
  397. package/packages/shared-skills/skills/github/scripts/vendor/surface/tools.ts +80 -0
  398. package/packages/shared-skills/skills/programming/SKILL.md +1 -1
  399. package/packages/shared-skills/skills/ulw-execute/SKILL.md +1 -1
  400. package/dist/skills/git-master/SKILL.md +0 -114
  401. package/dist/skills/git-master/agents/openai.yaml +0 -13
  402. package/packages/omo-codex/plugin/skills/git-master/SKILL.md +0 -114
  403. package/packages/omo-codex/plugin/skills/git-master/agents/openai.yaml +0 -13
  404. package/packages/shared-skills/skills/git-master/SKILL.md +0 -114
  405. package/packages/shared-skills/skills/git-master/agents/openai.yaml +0 -13
package/dist/index.js CHANGED
@@ -12466,9 +12466,9 @@ function errorCode(error) {
12466
12466
  return;
12467
12467
  return typeof error.code === "string" ? error.code : undefined;
12468
12468
  }
12469
- async function execFileText(command, args) {
12469
+ async function execFileText(command, args, env) {
12470
12470
  return await new Promise((resolve) => {
12471
- execFile2(command, args, { encoding: "utf8", timeout: 2000, windowsHide: true }, (error, stdout) => {
12471
+ execFile2(command, args, { encoding: "utf8", timeout: 2000, windowsHide: true, env }, (error, stdout) => {
12472
12472
  if (error !== null) {
12473
12473
  resolve(null);
12474
12474
  return;
@@ -12529,20 +12529,45 @@ async function readProcessStartIdentity(pid) {
12529
12529
  const startSeconds = await readDarwinProcessStartSeconds(pid);
12530
12530
  if (startSeconds !== null)
12531
12531
  return `proc-start-epoch:${startSeconds}`;
12532
- const value = await execFileText("/bin/ps", ["-o", "lstart=", "-p", String(pid)]);
12533
- return value === null ? null : `ps-lstart:${value.replace(/\s+/g, " ")}`;
12532
+ return await readPsLstartIdentity(pid);
12534
12533
  }
12535
12534
  if (process.platform === "win32")
12536
12535
  return await readWin32StartIdentity(pid);
12537
12536
  return null;
12538
12537
  }
12538
+ async function readPsLstartIdentity(pid, exec = execFileText) {
12539
+ const env = { ...process.env, TZ: "UTC", LC_ALL: "C", LANG: "C" };
12540
+ const value = await exec("/bin/ps", ["-o", "lstart=", "-p", String(pid)], env);
12541
+ return value === null ? null : `ps-lstart-utc:${value.replace(/\s+/g, " ")}`;
12542
+ }
12539
12543
  function identityScheme(identity) {
12540
12544
  const separator = identity.indexOf(":");
12541
12545
  return separator <= 0 ? null : identity.slice(0, separator);
12542
12546
  }
12547
+ function lstartWallClockMs(rendering) {
12548
+ const match = LSTART_C_RENDERING.exec(rendering);
12549
+ if (match === null)
12550
+ return null;
12551
+ const [, month, day, hours, minutes, seconds, year] = match;
12552
+ const monthIndex = LSTART_MONTHS.indexOf(month ?? "");
12553
+ if (monthIndex < 0)
12554
+ return null;
12555
+ return Date.UTC(Number(year), monthIndex, Number(day), Number(hours), Number(minutes), Number(seconds));
12556
+ }
12557
+ function legacyPsLstartConflict(recorded, actual) {
12558
+ const recordedWall = lstartWallClockMs(recorded.slice("ps-lstart:".length));
12559
+ const actualUtc = lstartWallClockMs(actual.slice("ps-lstart-utc:".length));
12560
+ if (recordedWall === null || actualUtc === null)
12561
+ return false;
12562
+ const offset = recordedWall - actualUtc;
12563
+ return offset < MIN_ZONE_OFFSET_MS || offset > MAX_ZONE_OFFSET_MS || offset % ZONE_OFFSET_STEP_MS !== 0;
12564
+ }
12543
12565
  function startIdentitiesConflict(recorded, actual) {
12544
12566
  const recordedScheme = identityScheme(recorded);
12545
- if (recordedScheme === null || recordedScheme !== identityScheme(actual))
12567
+ const actualScheme = identityScheme(actual);
12568
+ if (recordedScheme === "ps-lstart" && actualScheme === "ps-lstart-utc")
12569
+ return legacyPsLstartConflict(recorded, actual);
12570
+ if (recordedScheme === null || recordedScheme !== actualScheme)
12546
12571
  return false;
12547
12572
  return recorded !== actual;
12548
12573
  }
@@ -12559,10 +12584,15 @@ function getPidLiveness(pid) {
12559
12584
  return "unknown";
12560
12585
  }
12561
12586
  }
12562
- var getProcessStartIdentity;
12587
+ var getProcessStartIdentity, LSTART_MONTHS, LSTART_C_RENDERING, MIN_ZONE_OFFSET_MS, MAX_ZONE_OFFSET_MS, ZONE_OFFSET_STEP_MS;
12563
12588
  var init_process_identity = __esm(() => {
12564
12589
  init_resilient();
12565
12590
  getProcessStartIdentity = createProcessStartIdentityReader(readProcessStartIdentity, process.pid);
12591
+ LSTART_MONTHS = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
12592
+ LSTART_C_RENDERING = /^[A-Z][a-z]{2} ([A-Z][a-z]{2}) (\d{1,2}) (\d{2}):(\d{2}):(\d{2}) (\d{4})$/;
12593
+ MIN_ZONE_OFFSET_MS = -12 * 3600000;
12594
+ MAX_ZONE_OFFSET_MS = 14 * 3600000;
12595
+ ZONE_OFFSET_STEP_MS = 15 * 60000;
12566
12596
  });
12567
12597
 
12568
12598
  // packages/team-core/src/team-state-store/lock-worker-lifetime.ts
@@ -29923,7 +29953,7 @@ __export(exports_connected_providers_cache, {
29923
29953
  writeProviderModelsCache: () => writeProviderModelsCache
29924
29954
  });
29925
29955
 
29926
- // node_modules/.bun/@opencode+plugin@2.0.32+7e149cd14dffe704/node_modules/@opencode/plugin/dist/promise/plugin.js
29956
+ // node_modules/.bun/@opencode+plugin@2.0.32+098355cf37916347/node_modules/@opencode/plugin/dist/promise/plugin.js
29927
29957
  function define(plugin) {
29928
29958
  return plugin;
29929
29959
  }
@@ -98108,7 +98138,7 @@ init_src();
98108
98138
  // package.json
98109
98139
  var package_default = {
98110
98140
  name: "oh-my-opencode",
98111
- version: "5.1.84",
98141
+ version: "5.1.86",
98112
98142
  description: "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
98113
98143
  main: "./dist/index.js",
98114
98144
  types: "dist/index.d.ts",
@@ -98302,8 +98332,9 @@ var package_default = {
98302
98332
  },
98303
98333
  homepage: "https://github.com/code-yeongyu/oh-my-openagent#readme",
98304
98334
  dependencies: {
98305
- "@opentui/solid": "^0.5.11",
98335
+ "@opentui/solid": "^0.9.9",
98306
98336
  "detect-libc": "^2.1.2",
98337
+ "solid-js": "^1.9.20",
98307
98338
  zod: "^4.6.6"
98308
98339
  },
98309
98340
  devDependencies: {
@@ -98313,11 +98344,10 @@ var package_default = {
98313
98344
  "@oh-my-opencode/agents-md-core": "workspace:*",
98314
98345
  "@oh-my-opencode/ast-grep-mcp": "workspace:*",
98315
98346
  "@oh-my-opencode/boulder-state": "workspace:*",
98316
- "@oh-my-opencode/device-service-core": "workspace:*",
98317
98347
  "@oh-my-opencode/claude-code-compat-core": "workspace:*",
98318
98348
  "@oh-my-opencode/comment-checker-core": "workspace:*",
98319
98349
  "@oh-my-opencode/delegate-core": "workspace:*",
98320
- "@oh-my-opencode/thread-address-core": "workspace:*",
98350
+ "@oh-my-opencode/device-service-core": "workspace:*",
98321
98351
  "@oh-my-opencode/git-bash-mcp": "workspace:*",
98322
98352
  "@oh-my-opencode/hashline-core": "workspace:*",
98323
98353
  "@oh-my-opencode/isolation-core": "workspace:*",
@@ -98327,6 +98357,13 @@ var package_default = {
98327
98357
  "@oh-my-opencode/memory-core": "workspace:*",
98328
98358
  "@oh-my-opencode/model-core": "workspace:*",
98329
98359
  "@oh-my-opencode/omo-codex": "workspace:*",
98360
+ "@oh-my-opencode/omo-computer-carriers": "workspace:*",
98361
+ "@oh-my-opencode/omo-computer-engine": "workspace:*",
98362
+ "@oh-my-opencode/omo-computer-hand": "workspace:*",
98363
+ "@oh-my-opencode/omo-computer-prelude": "workspace:*",
98364
+ "@oh-my-opencode/omo-computer-protocol": "workspace:*",
98365
+ "@oh-my-opencode/omo-computer-sdk": "workspace:*",
98366
+ "@oh-my-opencode/omo-computer-tool": "workspace:*",
98330
98367
  "@oh-my-opencode/omo-config-core": "workspace:*",
98331
98368
  "@oh-my-opencode/omo-opencode": "workspace:*",
98332
98369
  "@oh-my-opencode/omo-senpi": "workspace:*",
@@ -98339,25 +98376,19 @@ var package_default = {
98339
98376
  "@oh-my-opencode/senpi-desktop-sdk": "workspace:*",
98340
98377
  "@oh-my-opencode/senpi-desktop-service": "workspace:*",
98341
98378
  "@oh-my-opencode/senpi-desktop-tool": "workspace:*",
98342
- "@oh-my-opencode/omo-computer-protocol": "workspace:*",
98343
- "@oh-my-opencode/omo-computer-sdk": "workspace:*",
98344
- "@oh-my-opencode/omo-computer-engine": "workspace:*",
98345
- "@oh-my-opencode/omo-computer-hand": "workspace:*",
98346
- "@oh-my-opencode/omo-computer-carriers": "workspace:*",
98347
- "@oh-my-opencode/omo-computer-tool": "workspace:*",
98348
- "@oh-my-opencode/omo-computer-prelude": "workspace:*",
98349
98379
  "@oh-my-opencode/senpi-task": "workspace:*",
98350
98380
  "@oh-my-opencode/shared-skills": "workspace:*",
98351
98381
  "@oh-my-opencode/skills-loader-core": "workspace:*",
98352
98382
  "@oh-my-opencode/team-core": "workspace:*",
98353
98383
  "@oh-my-opencode/telemetry-core": "workspace:*",
98384
+ "@oh-my-opencode/thread-address-core": "workspace:*",
98354
98385
  "@oh-my-opencode/tmux-core": "workspace:*",
98355
98386
  "@oh-my-opencode/utils": "workspace:*",
98356
98387
  "@opencode-ai/plugin": "1.18.31",
98357
98388
  "@opencode-ai/sdk": "1.18.31",
98358
98389
  "@opencode/plugin": "2.0.32",
98359
- "@opentui/core": "^0.5.11",
98360
- "@opentui/keymap": "^0.5.11",
98390
+ "@opentui/core": "^0.9.9",
98391
+ "@opentui/keymap": "^0.9.9",
98361
98392
  "@types/js-yaml": "^4.0.9",
98362
98393
  "@types/node": "26.6.2",
98363
98394
  "@types/picomatch": "^4.0.3",
@@ -98371,8 +98402,9 @@ var package_default = {
98371
98402
  "js-yaml": "^5.4.2",
98372
98403
  "jsonc-parser": "^3.3.1",
98373
98404
  knip: "6.43.0",
98405
+ "libsodium-wrappers": "^0.8.4",
98374
98406
  "node-pty": "^1.1.0",
98375
- omowright: "^0.3.4",
98407
+ omowright: "^0.3.10",
98376
98408
  "oxc-parser": "0.148.0",
98377
98409
  oxlint: "1.89.0",
98378
98410
  picocolors: "^1.1.1",
@@ -98382,18 +98414,18 @@ var package_default = {
98382
98414
  typescript: "^7.0.2"
98383
98415
  },
98384
98416
  optionalDependencies: {
98385
- "oh-my-opencode-darwin-arm64": "5.1.84",
98386
- "oh-my-opencode-darwin-x64": "5.1.84",
98387
- "oh-my-opencode-darwin-x64-baseline": "5.1.84",
98388
- "oh-my-opencode-linux-arm64": "5.1.84",
98389
- "oh-my-opencode-linux-arm64-musl": "5.1.84",
98390
- "oh-my-opencode-linux-x64": "5.1.84",
98391
- "oh-my-opencode-linux-x64-baseline": "5.1.84",
98392
- "oh-my-opencode-linux-x64-musl": "5.1.84",
98393
- "oh-my-opencode-linux-x64-musl-baseline": "5.1.84",
98394
- "oh-my-opencode-windows-arm64": "5.1.84",
98395
- "oh-my-opencode-windows-x64": "5.1.84",
98396
- "oh-my-opencode-windows-x64-baseline": "5.1.84"
98417
+ "oh-my-opencode-darwin-arm64": "5.1.86",
98418
+ "oh-my-opencode-darwin-x64": "5.1.86",
98419
+ "oh-my-opencode-darwin-x64-baseline": "5.1.86",
98420
+ "oh-my-opencode-linux-arm64": "5.1.86",
98421
+ "oh-my-opencode-linux-arm64-musl": "5.1.86",
98422
+ "oh-my-opencode-linux-x64": "5.1.86",
98423
+ "oh-my-opencode-linux-x64-baseline": "5.1.86",
98424
+ "oh-my-opencode-linux-x64-musl": "5.1.86",
98425
+ "oh-my-opencode-linux-x64-musl-baseline": "5.1.86",
98426
+ "oh-my-opencode-windows-arm64": "5.1.86",
98427
+ "oh-my-opencode-windows-x64": "5.1.86",
98428
+ "oh-my-opencode-windows-x64-baseline": "5.1.86"
98397
98429
  },
98398
98430
  overrides: {
98399
98431
  hono: "^4.13.8",
@@ -99734,6 +99766,7 @@ var BuiltinSkillNameSchema = z24.enum([
99734
99766
  "playwright",
99735
99767
  "dev-browser",
99736
99768
  "frontend",
99769
+ "git",
99737
99770
  "git-master",
99738
99771
  "review-work",
99739
99772
  "remove-ai-slops",
@@ -114426,7 +114459,7 @@ Everything else is parallel. Fire one \`task()\` per independent checkbox in the
114426
114459
  \`\`\`typescript
114427
114460
  task(category="quick", load_skills=[], run_in_background=false, prompt="...task A...")
114428
114461
  task(category="deep-low", load_skills=["programming"], run_in_background=false, prompt="...task B...")
114429
- task(category="quick", load_skills=["git-master"], run_in_background=false, prompt="...task C...")
114462
+ task(category="quick", load_skills=["git"], run_in_background=false, prompt="...task C...")
114430
114463
  \`\`\`
114431
114464
 
114432
114465
  Exploration agents may use \`run_in_background=true\`; implementation tasks use \`run_in_background=false\`. Collect background results with \`background_output(task_id="bg_...")\`. Store every continuation id \`ses_...\`. Never use \`background_cancel(all=true)\`.
@@ -117307,7 +117340,7 @@ task(category="visual-engineering", load_skills=["frontend"], run_in_background=
117307
117340
  task(category="ultrabrain", load_skills=[...], run_in_background=true)
117308
117341
 
117309
117342
  // Quick fixes
117310
- task(category="quick", load_skills=["git-master"], run_in_background=true)
117343
+ task(category="quick", load_skills=["git"], run_in_background=true)
117311
117344
  \`\`\`
117312
117345
 
117313
117346
  **YOU SHOULD ONLY DO IT YOURSELF WHEN:**
@@ -117439,7 +117472,7 @@ Prose, docs, prompt, and visual-only changes have no test seam: review + real-su
117439
117472
 
117440
117473
  ### Commit Discipline (MANDATORY)
117441
117474
 
117442
- Commit frequently: one atomic commit per verified increment (change + evidence captured), never one end-of-run omnibus. BEFORE composing each message, study the history and mimic it \u2014 run \`git log --oneline -20\` plus \`git log -5 -- <touched paths>\` \u2014 matching subject shape, scope names, message language, body style, and typical commit size. Load the \`git-master\` skill for the commit workflow when available. Skip committing only when the user forbade commits this session.
117475
+ Commit frequently: one atomic commit per verified increment (change + evidence captured), never one end-of-run omnibus. BEFORE composing each message, study the history and mimic it \u2014 run \`git log --oneline -20\` plus \`git log -5 -- <touched paths>\` \u2014 matching subject shape, scope names, message language, body style, and typical commit size. Load the \`git\` skill for the commit workflow when available. Skip committing only when the user forbade commits this session.
117443
117476
 
117444
117477
  ### Verification Anti-Patterns (BLOCKING)
117445
117478
 
@@ -120865,6 +120898,12 @@ function sortByScopePriority(items) {
120865
120898
  });
120866
120899
  }
120867
120900
 
120901
+ // packages/skills-loader-core/src/features/opencode-skill-loader/skill-name-aliases.ts
120902
+ var SKILL_NAME_ALIASES = new Map([["git-master", "git"]]);
120903
+ function resolveSkillAlias(name) {
120904
+ return SKILL_NAME_ALIASES.get(name) ?? name;
120905
+ }
120906
+
120868
120907
  // packages/skills-loader-core/src/tools/skill/skill-matcher.ts
120869
120908
  function matchSkillByName(skills, requestedName) {
120870
120909
  const normalizedName = requestedName.toLowerCase();
@@ -120872,6 +120911,11 @@ function matchSkillByName(skills, requestedName) {
120872
120911
  if (exactMatch) {
120873
120912
  return exactMatch;
120874
120913
  }
120914
+ const canonicalName = resolveSkillAlias(normalizedName);
120915
+ const aliasMatch = canonicalName === normalizedName ? undefined : skills.find((skill) => skill.name.toLowerCase() === canonicalName);
120916
+ if (aliasMatch) {
120917
+ return aliasMatch;
120918
+ }
120875
120919
  const shortNameMatches = skills.filter((skill) => {
120876
120920
  const parts = skill.name.split("/");
120877
120921
  const shortName = parts[parts.length - 1];
@@ -121530,9 +121574,12 @@ var frontendSkill = {
121530
121574
  description: "Builds, styles, and polishes anything drawn with HTML, CSS, or SVG: web UI, pages, components, HTML reports rendered to PDF or print, figures, PNG/SVG diagrams, slides, and images for Notion or Slack. Use for any styling, layout, animation, or visual-quality task, or when asked to make something look or feel a certain way.",
121531
121575
  template: loadSharedSkillTemplate("frontend")
121532
121576
  };
121533
- // packages/skills-loader-core/src/features/builtin-skills/skills/git-master-skill-metadata.ts
121534
- var GIT_MASTER_SKILL_NAME = "git-master";
121535
- var GIT_MASTER_SKILL_DESCRIPTION = "MUST USE for ANY git operations. Atomic commits, rebase/squash, history search (blame, bisect, log -S). STRONGLY RECOMMENDED: Use with task(category='quick', load_skills=['git-master'], ...) to save context. Triggers: 'commit', 'rebase', 'squash', 'who wrote', 'when was X added', 'find the commit that'.";
121577
+ // packages/skills-loader-core/src/features/builtin-skills/skills/git-skill-metadata.ts
121578
+ var GIT_SKILL_NAME = "git";
121579
+ var GIT_SKILL_DESCRIPTION = "MUST USE for ANY git operations. Atomic commits, rebase/squash, history search (blame, bisect, log -S). STRONGLY RECOMMENDED: Use with task(category='quick', load_skills=['git'], ...) to save context. Triggers: 'commit', 'rebase', 'squash', 'who wrote', 'when was X added', 'find the commit that'.";
121580
+ function isGitSkillName(name) {
121581
+ return resolveSkillAlias(name.toLowerCase()) === GIT_SKILL_NAME;
121582
+ }
121536
121583
 
121537
121584
  // packages/skills-loader-core/src/features/builtin-skills/skills/git-master-sections/commit-atomic-planning.ts
121538
121585
  var GIT_MASTER_COMMIT_ATOMIC_PLANNING_SECTION = `## PHASE 3: Atomic Unit Planning (BLOCKING - MUST OUTPUT BEFORE PROCEEDING)
@@ -122624,7 +122671,7 @@ NEXT STEPS:
122624
122671
  - Review changes before merge
122625
122672
  \`\`\``;
122626
122673
 
122627
- // packages/skills-loader-core/src/features/builtin-skills/skills/git-master.ts
122674
+ // packages/skills-loader-core/src/features/builtin-skills/skills/git.ts
122628
122675
  var GIT_MASTER_TEMPLATE = [
122629
122676
  GIT_MASTER_OVERVIEW_SECTION,
122630
122677
  GIT_MASTER_COMMIT_WORKFLOW_SECTION,
@@ -122639,9 +122686,9 @@ var GIT_MASTER_TEMPLATE = [
122639
122686
  ].join(`
122640
122687
 
122641
122688
  `);
122642
- var gitMasterSkill = {
122643
- name: GIT_MASTER_SKILL_NAME,
122644
- description: GIT_MASTER_SKILL_DESCRIPTION,
122689
+ var gitSkill = {
122690
+ name: GIT_SKILL_NAME,
122691
+ description: GIT_SKILL_DESCRIPTION,
122645
122692
  template: GIT_MASTER_TEMPLATE
122646
122693
  };
122647
122694
  // packages/skills-loader-core/src/features/builtin-skills/skills/dev-browser.ts
@@ -123793,7 +123840,7 @@ function createBuiltinSkills(options = {}) {
123793
123840
  const skills = [
123794
123841
  browserSkills[browserProvider],
123795
123842
  frontendSkill,
123796
- gitMasterSkill,
123843
+ gitSkill,
123797
123844
  reviewWorkSkill,
123798
123845
  removeAiSlopsSkill,
123799
123846
  initDeepSkill,
@@ -123820,20 +123867,61 @@ function resolveActiveBuiltinSkills(options) {
123820
123867
  });
123821
123868
  }
123822
123869
 
123823
- // packages/skills-loader-core/src/features/opencode-skill-loader/skill-discovery.ts
123824
- var cachedSkillsByProvider = new Map;
123870
+ // packages/skills-loader-core/src/features/opencode-skill-loader/skill-disable-config.ts
123871
+ function normalizeSkillAliasName(name) {
123872
+ return resolveSkillAlias(name.toLowerCase());
123873
+ }
123874
+ function isSkillsConfigRecord(value) {
123875
+ return typeof value === "object" && value !== null && !Array.isArray(value);
123876
+ }
123877
+ function isDisabledSkillConfigEntry(entry) {
123878
+ if (entry === false)
123879
+ return true;
123880
+ if (entry === true)
123881
+ return false;
123882
+ if (!isSkillsConfigRecord(entry))
123883
+ return false;
123884
+ return entry.disable === true;
123885
+ }
123886
+ function collectDisabledSkillAliases(config) {
123887
+ const disabledSkills = new Set((config.disabled_skills ?? []).map(normalizeSkillAliasName));
123888
+ const skillsConfig = config.skills;
123889
+ if (!isSkillsConfigRecord(skillsConfig))
123890
+ return disabledSkills;
123891
+ if (Array.isArray(skillsConfig.disable)) {
123892
+ for (const name of skillsConfig.disable) {
123893
+ if (typeof name === "string") {
123894
+ disabledSkills.add(normalizeSkillAliasName(name));
123895
+ }
123896
+ }
123897
+ }
123898
+ for (const [name, entry] of Object.entries(skillsConfig)) {
123899
+ if (name === "sources" || name === "enable" || name === "disable")
123900
+ continue;
123901
+ if (isDisabledSkillConfigEntry(entry)) {
123902
+ disabledSkills.add(normalizeSkillAliasName(name));
123903
+ }
123904
+ }
123905
+ return disabledSkills;
123906
+ }
123825
123907
  function isDisabledAlias(name, disabledSkills) {
123826
- const normalizedName = name.toLowerCase();
123908
+ const normalizedName = normalizeSkillAliasName(name);
123827
123909
  if (disabledSkills.has(normalizedName))
123828
123910
  return true;
123829
123911
  for (const disabledSkill of disabledSkills) {
123830
- if (disabledSkill.toLowerCase() === normalizedName)
123912
+ if (normalizeSkillAliasName(disabledSkill) === normalizedName)
123831
123913
  return true;
123832
123914
  }
123833
123915
  return false;
123834
123916
  }
123917
+ function isDisabledSkillName(name, disabledSkills) {
123918
+ return isDisabledAlias(normalizeSkillAliasName(name), disabledSkills);
123919
+ }
123920
+
123921
+ // packages/skills-loader-core/src/features/opencode-skill-loader/skill-discovery.ts
123922
+ var cachedSkillsByProvider = new Map;
123835
123923
  function isDisabledSkillAlias(skill, disabledSkills) {
123836
- return isDisabledAlias(skill.name, disabledSkills);
123924
+ return isDisabledSkillName(skill.name, disabledSkills);
123837
123925
  }
123838
123926
  function clearSkillCache() {
123839
123927
  cachedSkillsByProvider.clear();
@@ -123903,9 +123991,6 @@ function isDisabledConfigEntry(entry) {
123903
123991
  return false;
123904
123992
  return entry.disable === true;
123905
123993
  }
123906
- function normalizeSkillAliasName(name) {
123907
- return name.toLowerCase();
123908
- }
123909
123994
  function collectDisabledSkillNames(normalizedConfig) {
123910
123995
  const disabledSkillNames = new Set(normalizedConfig.disable.map(normalizeSkillAliasName));
123911
123996
  for (const [name, entry] of Object.entries(normalizedConfig.entries)) {
@@ -124071,9 +124156,9 @@ function buildEnvPrefix2(env, shellType) {
124071
124156
  }
124072
124157
 
124073
124158
  // packages/skills-loader-core/src/features/opencode-skill-loader/git-master-template-injection.ts
124074
- var BASH_CODE_BLOCK_PATTERN = /```bash\r?\n([\s\S]*?)```/g;
124075
- var LEADING_GIT_COMMAND_PATTERN = /^([ \t]*(?:[A-Za-z_][A-Za-z0-9_]*=[^ \t]+\s+)*)git(?=[ \t]|$)/gm;
124076
- var INLINE_GIT_COMMAND_PATTERN = /([;&|()][ \t]*)git(?=[ \t]|$)/g;
124159
+ var FRONTMATTER_PATTERN = /^---\r?\n[\s\S]*?\r?\n---\r?\n/;
124160
+ var GIT_ENV_PREFIX_OPEN_TAG = "<git_env_prefix>";
124161
+ var COMMIT_ATTRIBUTION_OPEN_TAG = "<commit_attribution>";
124077
124162
  function parseBashEnvPrefix(prefix) {
124078
124163
  const result = {};
124079
124164
  const pairs = prefix.trim().split(/\s+/);
@@ -124099,14 +124184,6 @@ function buildShellAwareGitPrefix(bashPrefix, shellType) {
124099
124184
  }
124100
124185
  var SISYPHUS_CO_AUTHOR_TRAILER = "Co-authored-by: sisyphus-dev-ai <sisyphus-dev-ai@users.noreply.github.com>";
124101
124186
  var DEDUP_TRAILER_GIT_OPTION = "-c trailer.ifexists=addIfDifferent";
124102
- var CO_AUTHOR_TRAILER_INSTRUCTION = [
124103
- `**Co-author trailer, exactly once:** \`${SISYPHUS_CO_AUTHOR_TRAILER}\`.`,
124104
- `Pass it with \`--trailer\`, never inside \`-m\`, and run the commit as \`git ${DEDUP_TRAILER_GIT_OPTION} commit ...\`,`,
124105
- "so a message that already carries it keeps a single copy.",
124106
- "A squash joins messages without `--trailer` and can leave two copies, so after squashing rewrite the message once",
124107
- "with the same command plus `--amend` and a fresh `-m` that does not repeat the trailer."
124108
- ].join(" ");
124109
- var NO_CO_AUTHOR_INSTRUCTION = "Do NOT add a Co-authored-by trailer.";
124110
124187
  function buildAttributedCommitExample(commandPrefix, footerText, includeCoAuthor) {
124111
124188
  const parts = [
124112
124189
  commandPrefix === "" ? "git" : `${commandPrefix} git`,
@@ -124117,97 +124194,45 @@ function buildAttributedCommitExample(commandPrefix, footerText, includeCoAuthor
124117
124194
  ];
124118
124195
  return parts.join(" ");
124119
124196
  }
124120
- function injectGitMasterConfig(template, config, shellType = detectShellType()) {
124121
- const commitFooter = config?.commit_footer ?? false;
124122
- const includeCoAuthor = config?.include_co_authored_by ?? true;
124123
- const gitEnvPrefix = assertValidGitEnvPrefix(config?.git_env_prefix ?? "GIT_MASTER=1");
124124
- const shellPrefix = gitEnvPrefix ? buildShellAwareGitPrefix(gitEnvPrefix, shellType) : "";
124125
- const codeBlockLang = shellType === "powershell" ? "pwsh" : shellType === "csh" ? "csh" : "bash";
124126
- const skipBashBlockPrefixing = shellType === "powershell" || shellType === "cmd" || shellType === "csh";
124127
- let result = gitEnvPrefix ? injectGitEnvPrefix(template, shellPrefix, codeBlockLang) : template;
124128
- if (commitFooter || includeCoAuthor) {
124129
- const injection = buildCommitAttributionInjection(commitFooter, includeCoAuthor, shellPrefix);
124130
- const insertionPoint = result.indexOf("```\n</execution>");
124131
- result = insertionPoint !== -1 ? result.slice(0, insertionPoint) + "```\n\n" + injection + `
124132
- </execution>` + result.slice(insertionPoint + "```\n</execution>".length) : result + `
124133
-
124134
- ` + injection;
124135
- }
124136
- if (gitEnvPrefix && !skipBashBlockPrefixing) {
124137
- result = prefixGitCommandsInBashCodeBlocks(result, shellPrefix);
124138
- }
124139
- return result;
124140
- }
124141
- function injectGitEnvPrefix(template, prefix, codeBlockLang) {
124142
- const envPrefixSection = [
124143
- "## GIT COMMAND PREFIX (MANDATORY)",
124144
- "",
124145
- `<git_env_prefix>`,
124146
- `**EVERY git command MUST be prefixed with \`${prefix}\`.**`,
124147
- "",
124148
- "This allows custom git hooks to detect when git-master skill is active.",
124149
- "",
124150
- `\`\`\`${codeBlockLang}`,
124151
- `${prefix} git status`,
124152
- `${prefix} git add <files>`,
124153
- `${prefix} git commit -m "message"`,
124154
- `${prefix} git push`,
124155
- `${prefix} git rebase ...`,
124156
- `${prefix} git log ...`,
124157
- "```",
124158
- "",
124159
- "**NO EXCEPTIONS. Every `git` invocation must include this prefix.**",
124160
- `</git_env_prefix>`
124161
- ].join(`
124162
- `);
124163
- const modeDetectionMarker = "## MODE DETECTION (FIRST STEP)";
124164
- const markerIndex = template.indexOf(modeDetectionMarker);
124165
- if (markerIndex !== -1) {
124166
- return template.slice(0, markerIndex) + envPrefixSection + `
124167
-
124168
- ---
124169
-
124170
- ` + template.slice(markerIndex);
124171
- }
124172
- return envPrefixSection + `
124173
-
124174
- ---
124175
-
124176
- ` + template;
124177
- }
124178
- function prefixGitCommandsInBashCodeBlocks(template, prefix) {
124179
- return template.replace(BASH_CODE_BLOCK_PATTERN, (block, codeBlock) => {
124180
- return block.replace(codeBlock, prefixGitCommandsInCodeBlock(codeBlock, prefix));
124181
- });
124182
- }
124183
- function prefixGitCommandsInCodeBlock(codeBlock, prefix) {
124184
- return codeBlock.split(`
124185
- `).map((line) => {
124186
- if (line.includes(prefix)) {
124187
- return line;
124188
- }
124189
- return line.replace(LEADING_GIT_COMMAND_PATTERN, `$1${prefix} git`).replace(INLINE_GIT_COMMAND_PATTERN, `$1${prefix} git`);
124190
- }).join(`
124197
+ function buildGitAttributionDirective(settings, commandPrefix, defaultFooter) {
124198
+ const footerText = settings.commit_footer === false ? undefined : typeof settings.commit_footer === "string" ? settings.commit_footer : defaultFooter;
124199
+ const includeCoAuthor = settings.include_co_authored_by;
124200
+ if (footerText === undefined && !includeCoAuthor)
124201
+ return;
124202
+ const example = `\`${buildAttributedCommitExample(commandPrefix, footerText, includeCoAuthor)}\``;
124203
+ const footerClause = footerText === undefined ? "" : ` and ends its body with ${footerText}`;
124204
+ const sentence = includeCoAuthor ? `Every commit you create carries \`${SISYPHUS_CO_AUTHOR_TRAILER}\` exactly once${footerClause}: ${example}. After a squash, amend once with a fresh \`-m\` so one copy remains.` : `Every commit you create ends its body with ${footerText} and carries no Co-authored-by trailer: ${example}.`;
124205
+ return [COMMIT_ATTRIBUTION_OPEN_TAG, sentence, "</commit_attribution>"].join(`
124191
124206
  `);
124192
124207
  }
124193
- function buildCommitAttributionInjection(commitFooter, includeCoAuthor, gitEnvPrefix) {
124194
- const footerText = commitFooter === false ? undefined : typeof commitFooter === "string" ? commitFooter : "Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)";
124195
- const footerStep = footerText === undefined ? [] : ["1. **Footer in commit body:**", "```", footerText, "```", ""];
124196
- const coAuthorStep = includeCoAuthor ? `${footerText === undefined ? 1 : 2}. ${CO_AUTHOR_TRAILER_INSTRUCTION}` : NO_CO_AUTHOR_INSTRUCTION;
124197
- const steps = [...footerStep, coAuthorStep, ""];
124208
+ function buildGitEnvPrefixBlock(gitEnvPrefix, shellType) {
124209
+ const assignments = Object.entries(parseBashEnvPrefix(gitEnvPrefix)).map(([key, value]) => `${key}: ${JSON.stringify(value)}`).join(", ");
124210
+ const linePrefix = buildShellAwareGitPrefix(gitEnvPrefix, shellType);
124198
124211
  return [
124199
- "### 5.5 Commit Attribution",
124200
- "",
124201
- "Add Sisyphus attribution to EVERY commit:",
124202
- "",
124203
- ...steps,
124204
- "**Example:**",
124205
- "```bash",
124206
- buildAttributedCommitExample(gitEnvPrefix, footerText, includeCoAuthor),
124207
- "```"
124212
+ GIT_ENV_PREFIX_OPEN_TAG,
124213
+ `Run git with \`${gitEnvPrefix}\` in its environment for the user's git hooks: \`.env({ ...process.env, ${assignments} })\` on the helper's \`Bun.$\`, \`${linePrefix} git\` on a \`tool.bash\` line.`,
124214
+ "</git_env_prefix>"
124208
124215
  ].join(`
124209
124216
  `);
124210
124217
  }
124218
+ function insertGitEnvPrefixBlock(text, gitEnvPrefix, shellType) {
124219
+ if (text.includes(GIT_ENV_PREFIX_OPEN_TAG))
124220
+ return text;
124221
+ const frontmatter = FRONTMATTER_PATTERN.exec(text)?.[0] ?? "";
124222
+ return `${frontmatter}${buildGitEnvPrefixBlock(gitEnvPrefix, shellType)}
124223
+
124224
+ ${text.slice(frontmatter.length).replace(/^\n+/, "")}`;
124225
+ }
124226
+ var OPENCODE_DEFAULT_COMMIT_FOOTER = "Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)";
124227
+ function injectGitMasterConfig(template, config, shellType = detectShellType()) {
124228
+ const gitEnvPrefix = assertValidGitEnvPrefix(config?.git_env_prefix ?? "GIT_MASTER=1");
124229
+ const commandPrefix = gitEnvPrefix ? buildShellAwareGitPrefix(gitEnvPrefix, shellType) : "";
124230
+ const directive = buildGitAttributionDirective({ commit_footer: config?.commit_footer ?? false, include_co_authored_by: config?.include_co_authored_by ?? true }, commandPrefix, OPENCODE_DEFAULT_COMMIT_FOOTER);
124231
+ const withPrefix = gitEnvPrefix ? insertGitEnvPrefixBlock(template, gitEnvPrefix, shellType) : template;
124232
+ return directive === undefined || withPrefix.includes(COMMIT_ATTRIBUTION_OPEN_TAG) ? withPrefix : `${withPrefix}
124233
+
124234
+ ${directive}`;
124235
+ }
124211
124236
  // packages/skills-loader-core/src/features/opencode-skill-loader/skill-template-resolver.ts
124212
124237
  function resolveMultipleSkills(skillNames, options) {
124213
124238
  const skills = createBuiltinSkills({
@@ -124219,9 +124244,9 @@ function resolveMultipleSkills(skillNames, options) {
124219
124244
  const resolved = new Map;
124220
124245
  const notFound = [];
124221
124246
  for (const name of skillNames) {
124222
- const match = skillMap.get(name);
124247
+ const match = skillMap.get(resolveSkillAlias(name));
124223
124248
  if (match) {
124224
- if (match.name === "git-master") {
124249
+ if (match.name === GIT_SKILL_NAME) {
124225
124250
  resolved.set(name, injectGitMasterConfig(match.template, options?.gitMasterConfig, options?.shellType));
124226
124251
  } else {
124227
124252
  resolved.set(name, match.template);
@@ -124232,56 +124257,6 @@ function resolveMultipleSkills(skillNames, options) {
124232
124257
  }
124233
124258
  return { resolved, notFound };
124234
124259
  }
124235
- // packages/skills-loader-core/src/features/opencode-skill-loader/skill-disable-config.ts
124236
- function normalizeSkillAliasName2(name) {
124237
- return name.toLowerCase();
124238
- }
124239
- function isSkillsConfigRecord(value) {
124240
- return typeof value === "object" && value !== null && !Array.isArray(value);
124241
- }
124242
- function isDisabledSkillConfigEntry(entry) {
124243
- if (entry === false)
124244
- return true;
124245
- if (entry === true)
124246
- return false;
124247
- if (!isSkillsConfigRecord(entry))
124248
- return false;
124249
- return entry.disable === true;
124250
- }
124251
- function collectDisabledSkillAliases(config) {
124252
- const disabledSkills = new Set((config.disabled_skills ?? []).map(normalizeSkillAliasName2));
124253
- const skillsConfig = config.skills;
124254
- if (!isSkillsConfigRecord(skillsConfig))
124255
- return disabledSkills;
124256
- if (Array.isArray(skillsConfig.disable)) {
124257
- for (const name of skillsConfig.disable) {
124258
- if (typeof name === "string") {
124259
- disabledSkills.add(normalizeSkillAliasName2(name));
124260
- }
124261
- }
124262
- }
124263
- for (const [name, entry] of Object.entries(skillsConfig)) {
124264
- if (name === "sources" || name === "enable" || name === "disable")
124265
- continue;
124266
- if (isDisabledSkillConfigEntry(entry)) {
124267
- disabledSkills.add(normalizeSkillAliasName2(name));
124268
- }
124269
- }
124270
- return disabledSkills;
124271
- }
124272
- function isDisabledAlias2(name, disabledSkills) {
124273
- const normalizedName = normalizeSkillAliasName2(name);
124274
- if (disabledSkills.has(normalizedName))
124275
- return true;
124276
- for (const disabledSkill of disabledSkills) {
124277
- if (normalizeSkillAliasName2(disabledSkill) === normalizedName)
124278
- return true;
124279
- }
124280
- return false;
124281
- }
124282
- function isDisabledSkillName(name, disabledSkills) {
124283
- return isDisabledAlias2(normalizeSkillAliasName2(name), disabledSkills);
124284
- }
124285
124260
  // packages/skills-loader-core/src/features/opencode-skill-loader/opencode-config-skills-reader.ts
124286
124261
  init_src();
124287
124262
  import * as fs17 from "fs";
@@ -138660,7 +138635,7 @@ function createMomusReviewPersistenceHook(ctx) {
138660
138635
  // packages/omo-opencode/src/tools/grep/tools.ts
138661
138636
  import { resolve as resolve29 } from "path";
138662
138637
 
138663
- // node_modules/.bun/@opencode-ai+plugin@1.18.31+7445fc152a67980a/node_modules/@opencode-ai/plugin/dist/tool.js
138638
+ // node_modules/.bun/@opencode-ai+plugin@1.18.31+95793cd743d46fba/node_modules/@opencode-ai/plugin/dist/tool.js
138664
138639
  import { z as z62 } from "zod";
138665
138640
  function tool(input) {
138666
138641
  return input;
@@ -140108,7 +140083,7 @@ function createSkillTool(options) {
140108
140083
  throw new Error(`Skill "${matchedSkill.name}" is restricted to agent "${matchedSkill.definition.agent}"`);
140109
140084
  }
140110
140085
  let body = await extractSkillBody(matchedSkill);
140111
- if (matchedSkill.name === "git-master") {
140086
+ if (isGitSkillName(matchedSkill.name)) {
140112
140087
  body = injectGitMasterConfig2(body, options.gitMasterConfig);
140113
140088
  }
140114
140089
  const dir = matchedSkill.path ? dirname49(matchedSkill.path) : matchedSkill.resolvedPath || process.cwd();
@@ -149818,7 +149793,7 @@ async function resolveSkillContent3(skills, options) {
149818
149793
  continue;
149819
149794
  }
149820
149795
  const template = extractSkillTemplate(skill);
149821
- if (name === "git-master") {
149796
+ if (isGitSkillName(skill.name)) {
149822
149797
  resolved.set(name, injectGitMasterConfig2(template, options.gitMasterConfig));
149823
149798
  } else {
149824
149799
  resolved.set(name, template);
@@ -152711,7 +152686,7 @@ function buildPromptNativeSkillInfos(availableSkills, nativeSkillEntries, disabl
152711
152686
  }));
152712
152687
  }
152713
152688
  var delegateTaskArgsSchema = {
152714
- load_skills: tool.schema.array(tool.schema.string()).optional().describe('Skill names to inject. Optional; defaults to [] when omitted. Pass an explicit array (e.g. ["git-master"]) for skill-specific tasks.'),
152689
+ load_skills: tool.schema.array(tool.schema.string()).optional().describe('Skill names to inject. Optional; defaults to [] when omitted. Pass an explicit array (e.g. ["git"]) for skill-specific tasks.'),
152715
152690
  description: tool.schema.string().optional().describe("Short task description (3-5 words). Auto-generated from prompt if omitted."),
152716
152691
  prompt: tool.schema.string().describe("Full detailed prompt for the agent"),
152717
152692
  run_in_background: tool.schema.boolean().optional().describe("true is the standard spawn: returns a background task ID `bg_...` at once; the completion notification delivers the result, which background_output reads. false blocks this response until the child finishes; use it only for a short child whose result gates your very next call. Omitted counts as false."),
@@ -184707,7 +184682,7 @@ function filterDisabledSkills(skills, disabledSkills) {
184707
184682
  return skills.filter((skill) => !isDisabledSkillAlias(skill, disabledSkills));
184708
184683
  }
184709
184684
  function isDisabledConfigSkillEntryName(name, disabledSkills) {
184710
- return disabledSkills.has(normalizeSkillAliasName2(name));
184685
+ return disabledSkills.has(normalizeSkillAliasName(name));
184711
184686
  }
184712
184687
  async function createSkillContext(args) {
184713
184688
  const { directory, pluginConfig, hostSkills } = args;