oh-my-opencode 5.1.83 → 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 (442) 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/cli-program.d.ts +3 -0
  8. package/dist/cli/index.js +1197 -1008
  9. package/dist/cli/service-auth/devices.d.ts +5 -2
  10. package/dist/cli-node/index.js +1197 -1008
  11. package/dist/config/schema/agent-names.d.ts +1 -0
  12. package/dist/index.js +194 -213
  13. package/dist/skills/browser/SKILL.md +100 -91
  14. package/dist/skills/browser/references/commands.md +92 -27
  15. package/dist/skills/browser/references/desktop.md +22 -0
  16. package/dist/skills/browser/references/install.md +18 -0
  17. package/dist/skills/browser/references/owned-engine/README.md +7 -2
  18. package/dist/skills/browser/references/owned-engine/frames-and-humans.md +9 -2
  19. package/dist/skills/browser/references/owned-engine/network.md +13 -7
  20. package/dist/skills/browser/references/recipes/1password.md +6 -2
  21. package/dist/skills/browser/runtime/omowright/index.js +15 -15
  22. package/dist/skills/browser/runtime/omowright/manifest.json +4 -4
  23. package/dist/skills/debugging/SKILL.md +1 -1
  24. package/dist/skills/debugging/references/tools/browser-qa.md +1 -1
  25. package/dist/skills/git/SKILL.md +62 -0
  26. package/dist/skills/git/agents/openai.yaml +13 -0
  27. package/dist/skills/github/SKILL.md +94 -0
  28. package/dist/skills/github/references/branch-rules.md +129 -0
  29. package/dist/skills/github/references/evidence-attachments.md +16 -0
  30. package/dist/skills/github/references/repo-setup.md +152 -0
  31. package/dist/skills/github/references/waiting.md +52 -0
  32. package/dist/skills/github/references/workflows.md +161 -0
  33. package/dist/skills/github/scripts/cli.ts +8 -0
  34. package/dist/skills/github/scripts/package.json +12 -0
  35. package/dist/skills/github/scripts/sdk.ts +11 -0
  36. package/dist/skills/github/scripts/src/account.ts +243 -0
  37. package/dist/skills/github/scripts/src/actions-write.ts +86 -0
  38. package/dist/skills/github/scripts/src/actions.ts +210 -0
  39. package/dist/skills/github/scripts/src/attestations.ts +136 -0
  40. package/dist/skills/github/scripts/src/blake2b.ts +102 -0
  41. package/dist/skills/github/scripts/src/branch-protection.ts +192 -0
  42. package/dist/skills/github/scripts/src/caches.ts +105 -0
  43. package/dist/skills/github/scripts/src/checks.ts +107 -0
  44. package/dist/skills/github/scripts/src/codespaces.ts +230 -0
  45. package/dist/skills/github/scripts/src/conversation-lock.ts +50 -0
  46. package/dist/skills/github/scripts/src/discussion-list.ts +126 -0
  47. package/dist/skills/github/scripts/src/discussion-lookup.ts +127 -0
  48. package/dist/skills/github/scripts/src/discussions.ts +234 -0
  49. package/dist/skills/github/scripts/src/env.ts +100 -0
  50. package/dist/skills/github/scripts/src/errors.ts +79 -0
  51. package/dist/skills/github/scripts/src/fields.ts +27 -0
  52. package/dist/skills/github/scripts/src/gist-shape.ts +58 -0
  53. package/dist/skills/github/scripts/src/gists-write.ts +130 -0
  54. package/dist/skills/github/scripts/src/gists.ts +118 -0
  55. package/dist/skills/github/scripts/src/git-auth.ts +46 -0
  56. package/dist/skills/github/scripts/src/http.ts +159 -0
  57. package/dist/skills/github/scripts/src/issue-develop.ts +118 -0
  58. package/dist/skills/github/scripts/src/issues-extra.ts +135 -0
  59. package/dist/skills/github/scripts/src/issues-write.ts +174 -0
  60. package/dist/skills/github/scripts/src/issues.ts +156 -0
  61. package/dist/skills/github/scripts/src/keys.ts +176 -0
  62. package/dist/skills/github/scripts/src/labels.ts +209 -0
  63. package/dist/skills/github/scripts/src/merge.ts +115 -0
  64. package/dist/skills/github/scripts/src/poly1305.ts +22 -0
  65. package/dist/skills/github/scripts/src/pr-checkout.ts +92 -0
  66. package/dist/skills/github/scripts/src/pr-view.ts +106 -0
  67. package/dist/skills/github/scripts/src/project-fields.ts +144 -0
  68. package/dist/skills/github/scripts/src/project-item-edit.ts +153 -0
  69. package/dist/skills/github/scripts/src/project-items.ts +191 -0
  70. package/dist/skills/github/scripts/src/project-links.ts +104 -0
  71. package/dist/skills/github/scripts/src/project-ref.ts +145 -0
  72. package/dist/skills/github/scripts/src/project-state.ts +99 -0
  73. package/dist/skills/github/scripts/src/projects.ts +158 -0
  74. package/dist/skills/github/scripts/src/pulls-extra.ts +165 -0
  75. package/dist/skills/github/scripts/src/pulls-read.ts +176 -0
  76. package/dist/skills/github/scripts/src/pulls-review.ts +206 -0
  77. package/dist/skills/github/scripts/src/pulls-write.ts +187 -0
  78. package/dist/skills/github/scripts/src/raw.ts +78 -0
  79. package/dist/skills/github/scripts/src/read.ts +77 -0
  80. package/dist/skills/github/scripts/src/release-assets.ts +111 -0
  81. package/dist/skills/github/scripts/src/release-download.ts +151 -0
  82. package/dist/skills/github/scripts/src/release-write.ts +197 -0
  83. package/dist/skills/github/scripts/src/repo-admin.ts +112 -0
  84. package/dist/skills/github/scripts/src/repo-content.ts +187 -0
  85. package/dist/skills/github/scripts/src/repo-create.ts +139 -0
  86. package/dist/skills/github/scripts/src/repo-extras.ts +217 -0
  87. package/dist/skills/github/scripts/src/repo-list.ts +143 -0
  88. package/dist/skills/github/scripts/src/repo-settings.ts +176 -0
  89. package/dist/skills/github/scripts/src/repo-sync.ts +81 -0
  90. package/dist/skills/github/scripts/src/repo-url.ts +104 -0
  91. package/dist/skills/github/scripts/src/repos.ts +87 -0
  92. package/dist/skills/github/scripts/src/ruleset-shape.ts +96 -0
  93. package/dist/skills/github/scripts/src/rulesets-write.ts +124 -0
  94. package/dist/skills/github/scripts/src/rulesets.ts +80 -0
  95. package/dist/skills/github/scripts/src/run-download.ts +88 -0
  96. package/dist/skills/github/scripts/src/salsa20.ts +97 -0
  97. package/dist/skills/github/scripts/src/scopes.ts +165 -0
  98. package/dist/skills/github/scripts/src/sealed-box.ts +75 -0
  99. package/dist/skills/github/scripts/src/search-commits.ts +114 -0
  100. package/dist/skills/github/scripts/src/search.ts +116 -0
  101. package/dist/skills/github/scripts/src/secrets.ts +131 -0
  102. package/dist/skills/github/scripts/src/snappy.ts +57 -0
  103. package/dist/skills/github/scripts/src/status-search.ts +55 -0
  104. package/dist/skills/github/scripts/src/transfer.ts +97 -0
  105. package/dist/skills/github/scripts/src/types.ts +75 -0
  106. package/dist/skills/github/scripts/src/variables.ts +86 -0
  107. package/dist/skills/github/scripts/src/wait.ts +164 -0
  108. package/dist/skills/github/scripts/src/wire.ts +159 -0
  109. package/dist/skills/github/scripts/src/workflows.ts +144 -0
  110. package/dist/skills/github/scripts/src/zip.ts +104 -0
  111. package/dist/skills/github/scripts/surface.ts +106 -0
  112. package/dist/skills/github/scripts/vendor/surface/SOURCE.json +15 -0
  113. package/dist/skills/github/scripts/vendor/surface/cli.ts +203 -0
  114. package/dist/skills/github/scripts/vendor/surface/flags.ts +195 -0
  115. package/dist/skills/github/scripts/vendor/surface/help.ts +89 -0
  116. package/dist/skills/github/scripts/vendor/surface/http.ts +180 -0
  117. package/dist/skills/github/scripts/vendor/surface/index.ts +44 -0
  118. package/dist/skills/github/scripts/vendor/surface/mcp.ts +241 -0
  119. package/dist/skills/github/scripts/vendor/surface/schema.ts +200 -0
  120. package/dist/skills/github/scripts/vendor/surface/stdio.ts +54 -0
  121. package/dist/skills/github/scripts/vendor/surface/surface.ts +250 -0
  122. package/dist/skills/github/scripts/vendor/surface/tools.ts +80 -0
  123. package/dist/skills/programming/SKILL.md +51 -320
  124. package/dist/skills/programming/references/go/README.md +1 -0
  125. package/dist/skills/programming/references/python/README.md +21 -3
  126. package/dist/skills/programming/references/python/error-handling.md +14 -0
  127. package/dist/skills/programming/references/rust/README.md +5 -1
  128. package/dist/skills/programming/references/typescript/README.md +9 -3
  129. package/dist/skills/programming/references/typescript/error-handling.md +18 -0
  130. package/dist/skills/ultimate-browsing/SKILL.md +1 -1
  131. package/dist/skills/ulw-execute/SKILL.md +1 -1
  132. package/dist/skills/visual-qa/references/browser-setup.md +5 -5
  133. package/dist/tui.js +32 -29
  134. package/package.json +28 -26
  135. package/packages/omo-codex/plugin/.codex-plugin/plugin.json +1 -1
  136. package/packages/omo-codex/plugin/components/bootstrap/dist/cli.js +2 -2
  137. package/packages/omo-codex/plugin/components/bootstrap/hooks/hooks.json +1 -1
  138. package/packages/omo-codex/plugin/components/bootstrap/package.json +1 -1
  139. package/packages/omo-codex/plugin/components/comment-checker/hooks/hooks.json +1 -1
  140. package/packages/omo-codex/plugin/components/comment-checker/package.json +1 -1
  141. package/packages/omo-codex/plugin/components/git-bash/hooks/hooks.json +2 -2
  142. package/packages/omo-codex/plugin/components/git-bash/package.json +1 -1
  143. package/packages/omo-codex/plugin/components/lazycodex-executor-verify/hooks/hooks.json +1 -1
  144. package/packages/omo-codex/plugin/components/lazycodex-executor-verify/package.json +1 -1
  145. package/packages/omo-codex/plugin/components/lsp/dist/.omo-runtime-manifest.json +2 -2
  146. package/packages/omo-codex/plugin/components/lsp/hooks/hooks.json +2 -2
  147. package/packages/omo-codex/plugin/components/lsp/package.json +1 -1
  148. package/packages/omo-codex/plugin/components/rules/hooks/hooks.json +4 -4
  149. package/packages/omo-codex/plugin/components/rules/package.json +1 -1
  150. package/packages/omo-codex/plugin/components/teammode/hooks/hooks.json +1 -1
  151. package/packages/omo-codex/plugin/components/teammode/package.json +1 -1
  152. package/packages/omo-codex/plugin/components/telemetry/dist/cli.js +8711 -172
  153. package/packages/omo-codex/plugin/components/telemetry/dist/posthog.js +8660 -121
  154. package/packages/omo-codex/plugin/components/telemetry/hooks/hooks.json +1 -1
  155. package/packages/omo-codex/plugin/components/telemetry/package.json +1 -1
  156. package/packages/omo-codex/plugin/components/telemetry/src/posthog.ts +5 -0
  157. package/packages/omo-codex/plugin/components/telemetry/tsconfig.json +2 -2
  158. package/packages/omo-codex/plugin/components/ultrawork/hooks/hooks.json +1 -1
  159. package/packages/omo-codex/plugin/components/ultrawork/package.json +1 -1
  160. package/packages/omo-codex/plugin/components/ulw-execute-continuation/hooks/hooks.json +1 -1
  161. package/packages/omo-codex/plugin/components/ulw-execute-continuation/package.json +1 -1
  162. package/packages/omo-codex/plugin/components/ulw-loop/hooks/hooks.json +5 -5
  163. package/packages/omo-codex/plugin/components/ulw-loop/package.json +1 -1
  164. package/packages/omo-codex/plugin/components/ulw-loop/skills/ulw-loop/SKILL.md +1 -1
  165. package/packages/omo-codex/plugin/components/ulw-loop/skills/ulw-loop/references/full-workflow.md +3 -3
  166. package/packages/omo-codex/plugin/hooks/post-compact-resetting-git-bash-mcp-reminder.json +1 -1
  167. package/packages/omo-codex/plugin/hooks/post-compact-resetting-lsp-diagnostics-cache.json +1 -1
  168. package/packages/omo-codex/plugin/hooks/post-compact-resetting-project-rule-cache.json +1 -1
  169. package/packages/omo-codex/plugin/hooks/post-tool-use-checking-comments.json +1 -1
  170. package/packages/omo-codex/plugin/hooks/post-tool-use-checking-lsp-diagnostics.json +1 -1
  171. package/packages/omo-codex/plugin/hooks/post-tool-use-checking-thread-title-hygiene.json +1 -1
  172. package/packages/omo-codex/plugin/hooks/post-tool-use-matching-project-rules.json +1 -1
  173. package/packages/omo-codex/plugin/hooks/post-tool-use-recording-spawn-admission.json +1 -1
  174. package/packages/omo-codex/plugin/hooks/pre-tool-use-enforcing-unlimited-goal-budget.json +1 -1
  175. package/packages/omo-codex/plugin/hooks/pre-tool-use-guarding-ulw-loop-spawns.json +1 -1
  176. package/packages/omo-codex/plugin/hooks/pre-tool-use-recommending-git-bash-mcp.json +1 -1
  177. package/packages/omo-codex/plugin/hooks/session-start-checking-auto-update.json +1 -1
  178. package/packages/omo-codex/plugin/hooks/session-start-checking-bootstrap-provisioning.json +1 -1
  179. package/packages/omo-codex/plugin/hooks/session-start-loading-project-rules.json +1 -1
  180. package/packages/omo-codex/plugin/hooks/session-start-recording-session-telemetry.json +1 -1
  181. package/packages/omo-codex/plugin/hooks/stop-checking-ulw-execute-continuation.json +1 -1
  182. package/packages/omo-codex/plugin/hooks/stop-checking-ulw-loop-resume.json +1 -1
  183. package/packages/omo-codex/plugin/hooks/subagent-stop-verifying-lazycodex-executor-evidence.json +1 -1
  184. package/packages/omo-codex/plugin/hooks/user-prompt-submit-checking-ultrawork-trigger.json +1 -1
  185. package/packages/omo-codex/plugin/hooks/user-prompt-submit-checking-ulw-loop-steering.json +1 -1
  186. package/packages/omo-codex/plugin/hooks/user-prompt-submit-loading-project-rules.json +1 -1
  187. package/packages/omo-codex/plugin/package-lock.json +12 -12
  188. package/packages/omo-codex/plugin/package.json +1 -1
  189. package/packages/omo-codex/plugin/shared/src/config-loader.ts +15 -1
  190. package/packages/omo-codex/plugin/skills/browser/SKILL.md +100 -91
  191. package/packages/omo-codex/plugin/skills/browser/references/commands.md +92 -27
  192. package/packages/omo-codex/plugin/skills/browser/references/desktop.md +22 -0
  193. package/packages/omo-codex/plugin/skills/browser/references/install.md +18 -0
  194. package/packages/omo-codex/plugin/skills/browser/references/owned-engine/README.md +7 -2
  195. package/packages/omo-codex/plugin/skills/browser/references/owned-engine/frames-and-humans.md +9 -2
  196. package/packages/omo-codex/plugin/skills/browser/references/owned-engine/network.md +13 -7
  197. package/packages/omo-codex/plugin/skills/browser/references/recipes/1password.md +6 -2
  198. package/packages/omo-codex/plugin/skills/browser/runtime/omowright/index.js +15 -15
  199. package/packages/omo-codex/plugin/skills/browser/runtime/omowright/manifest.json +4 -4
  200. package/packages/omo-codex/plugin/skills/debugging/SKILL.md +1 -1
  201. package/packages/omo-codex/plugin/skills/debugging/references/tools/browser-qa.md +1 -1
  202. package/packages/omo-codex/plugin/skills/git/SKILL.md +62 -0
  203. package/packages/omo-codex/plugin/skills/git/agents/openai.yaml +13 -0
  204. package/packages/omo-codex/plugin/skills/github/SKILL.md +94 -0
  205. package/packages/omo-codex/plugin/skills/github/agents/openai.yaml +2 -0
  206. package/packages/omo-codex/plugin/skills/github/references/branch-rules.md +129 -0
  207. package/packages/omo-codex/plugin/skills/github/references/evidence-attachments.md +16 -0
  208. package/packages/omo-codex/plugin/skills/github/references/repo-setup.md +152 -0
  209. package/packages/omo-codex/plugin/skills/github/references/waiting.md +52 -0
  210. package/packages/omo-codex/plugin/skills/github/references/workflows.md +161 -0
  211. package/packages/omo-codex/plugin/skills/github/scripts/cli.ts +8 -0
  212. package/packages/omo-codex/plugin/skills/github/scripts/package.json +12 -0
  213. package/packages/omo-codex/plugin/skills/github/scripts/sdk.ts +11 -0
  214. package/packages/omo-codex/plugin/skills/github/scripts/src/account.ts +243 -0
  215. package/packages/omo-codex/plugin/skills/github/scripts/src/actions-write.ts +86 -0
  216. package/packages/omo-codex/plugin/skills/github/scripts/src/actions.ts +210 -0
  217. package/packages/omo-codex/plugin/skills/github/scripts/src/attestations.ts +136 -0
  218. package/packages/omo-codex/plugin/skills/github/scripts/src/blake2b.ts +102 -0
  219. package/packages/omo-codex/plugin/skills/github/scripts/src/branch-protection.ts +192 -0
  220. package/packages/omo-codex/plugin/skills/github/scripts/src/caches.ts +105 -0
  221. package/packages/omo-codex/plugin/skills/github/scripts/src/checks.ts +107 -0
  222. package/packages/omo-codex/plugin/skills/github/scripts/src/codespaces.ts +230 -0
  223. package/packages/omo-codex/plugin/skills/github/scripts/src/conversation-lock.ts +50 -0
  224. package/packages/omo-codex/plugin/skills/github/scripts/src/discussion-list.ts +126 -0
  225. package/packages/omo-codex/plugin/skills/github/scripts/src/discussion-lookup.ts +127 -0
  226. package/packages/omo-codex/plugin/skills/github/scripts/src/discussions.ts +234 -0
  227. package/packages/omo-codex/plugin/skills/github/scripts/src/env.ts +100 -0
  228. package/packages/omo-codex/plugin/skills/github/scripts/src/errors.ts +79 -0
  229. package/packages/omo-codex/plugin/skills/github/scripts/src/fields.ts +27 -0
  230. package/packages/omo-codex/plugin/skills/github/scripts/src/gist-shape.ts +58 -0
  231. package/packages/omo-codex/plugin/skills/github/scripts/src/gists-write.ts +130 -0
  232. package/packages/omo-codex/plugin/skills/github/scripts/src/gists.ts +118 -0
  233. package/packages/omo-codex/plugin/skills/github/scripts/src/git-auth.ts +46 -0
  234. package/packages/omo-codex/plugin/skills/github/scripts/src/http.ts +159 -0
  235. package/packages/omo-codex/plugin/skills/github/scripts/src/issue-develop.ts +118 -0
  236. package/packages/omo-codex/plugin/skills/github/scripts/src/issues-extra.ts +135 -0
  237. package/packages/omo-codex/plugin/skills/github/scripts/src/issues-write.ts +174 -0
  238. package/packages/omo-codex/plugin/skills/github/scripts/src/issues.ts +156 -0
  239. package/packages/omo-codex/plugin/skills/github/scripts/src/keys.ts +176 -0
  240. package/packages/omo-codex/plugin/skills/github/scripts/src/labels.ts +209 -0
  241. package/packages/omo-codex/plugin/skills/github/scripts/src/merge.ts +115 -0
  242. package/packages/omo-codex/plugin/skills/github/scripts/src/poly1305.ts +22 -0
  243. package/packages/omo-codex/plugin/skills/github/scripts/src/pr-checkout.ts +92 -0
  244. package/packages/omo-codex/plugin/skills/github/scripts/src/pr-view.ts +106 -0
  245. package/packages/omo-codex/plugin/skills/github/scripts/src/project-fields.ts +144 -0
  246. package/packages/omo-codex/plugin/skills/github/scripts/src/project-item-edit.ts +153 -0
  247. package/packages/omo-codex/plugin/skills/github/scripts/src/project-items.ts +191 -0
  248. package/packages/omo-codex/plugin/skills/github/scripts/src/project-links.ts +104 -0
  249. package/packages/omo-codex/plugin/skills/github/scripts/src/project-ref.ts +145 -0
  250. package/packages/omo-codex/plugin/skills/github/scripts/src/project-state.ts +99 -0
  251. package/packages/omo-codex/plugin/skills/github/scripts/src/projects.ts +158 -0
  252. package/packages/omo-codex/plugin/skills/github/scripts/src/pulls-extra.ts +165 -0
  253. package/packages/omo-codex/plugin/skills/github/scripts/src/pulls-read.ts +176 -0
  254. package/packages/omo-codex/plugin/skills/github/scripts/src/pulls-review.ts +206 -0
  255. package/packages/omo-codex/plugin/skills/github/scripts/src/pulls-write.ts +187 -0
  256. package/packages/omo-codex/plugin/skills/github/scripts/src/raw.ts +78 -0
  257. package/packages/omo-codex/plugin/skills/github/scripts/src/read.ts +77 -0
  258. package/packages/omo-codex/plugin/skills/github/scripts/src/release-assets.ts +111 -0
  259. package/packages/omo-codex/plugin/skills/github/scripts/src/release-download.ts +151 -0
  260. package/packages/omo-codex/plugin/skills/github/scripts/src/release-write.ts +197 -0
  261. package/packages/omo-codex/plugin/skills/github/scripts/src/repo-admin.ts +112 -0
  262. package/packages/omo-codex/plugin/skills/github/scripts/src/repo-content.ts +187 -0
  263. package/packages/omo-codex/plugin/skills/github/scripts/src/repo-create.ts +139 -0
  264. package/packages/omo-codex/plugin/skills/github/scripts/src/repo-extras.ts +217 -0
  265. package/packages/omo-codex/plugin/skills/github/scripts/src/repo-list.ts +143 -0
  266. package/packages/omo-codex/plugin/skills/github/scripts/src/repo-settings.ts +176 -0
  267. package/packages/omo-codex/plugin/skills/github/scripts/src/repo-sync.ts +81 -0
  268. package/packages/omo-codex/plugin/skills/github/scripts/src/repo-url.ts +104 -0
  269. package/packages/omo-codex/plugin/skills/github/scripts/src/repos.ts +87 -0
  270. package/packages/omo-codex/plugin/skills/github/scripts/src/ruleset-shape.ts +96 -0
  271. package/packages/omo-codex/plugin/skills/github/scripts/src/rulesets-write.ts +124 -0
  272. package/packages/omo-codex/plugin/skills/github/scripts/src/rulesets.ts +80 -0
  273. package/packages/omo-codex/plugin/skills/github/scripts/src/run-download.ts +88 -0
  274. package/packages/omo-codex/plugin/skills/github/scripts/src/salsa20.ts +97 -0
  275. package/packages/omo-codex/plugin/skills/github/scripts/src/scopes.ts +165 -0
  276. package/packages/omo-codex/plugin/skills/github/scripts/src/sealed-box.ts +75 -0
  277. package/packages/omo-codex/plugin/skills/github/scripts/src/search-commits.ts +114 -0
  278. package/packages/omo-codex/plugin/skills/github/scripts/src/search.ts +116 -0
  279. package/packages/omo-codex/plugin/skills/github/scripts/src/secrets.ts +131 -0
  280. package/packages/omo-codex/plugin/skills/github/scripts/src/snappy.ts +57 -0
  281. package/packages/omo-codex/plugin/skills/github/scripts/src/status-search.ts +55 -0
  282. package/packages/omo-codex/plugin/skills/github/scripts/src/transfer.ts +97 -0
  283. package/packages/omo-codex/plugin/skills/github/scripts/src/types.ts +75 -0
  284. package/packages/omo-codex/plugin/skills/github/scripts/src/variables.ts +86 -0
  285. package/packages/omo-codex/plugin/skills/github/scripts/src/wait.ts +164 -0
  286. package/packages/omo-codex/plugin/skills/github/scripts/src/wire.ts +159 -0
  287. package/packages/omo-codex/plugin/skills/github/scripts/src/workflows.ts +144 -0
  288. package/packages/omo-codex/plugin/skills/github/scripts/src/zip.ts +104 -0
  289. package/packages/omo-codex/plugin/skills/github/scripts/surface.ts +106 -0
  290. package/packages/omo-codex/plugin/skills/github/scripts/vendor/surface/SOURCE.json +15 -0
  291. package/packages/omo-codex/plugin/skills/github/scripts/vendor/surface/cli.ts +203 -0
  292. package/packages/omo-codex/plugin/skills/github/scripts/vendor/surface/flags.ts +195 -0
  293. package/packages/omo-codex/plugin/skills/github/scripts/vendor/surface/help.ts +89 -0
  294. package/packages/omo-codex/plugin/skills/github/scripts/vendor/surface/http.ts +180 -0
  295. package/packages/omo-codex/plugin/skills/github/scripts/vendor/surface/index.ts +44 -0
  296. package/packages/omo-codex/plugin/skills/github/scripts/vendor/surface/mcp.ts +241 -0
  297. package/packages/omo-codex/plugin/skills/github/scripts/vendor/surface/schema.ts +200 -0
  298. package/packages/omo-codex/plugin/skills/github/scripts/vendor/surface/stdio.ts +54 -0
  299. package/packages/omo-codex/plugin/skills/github/scripts/vendor/surface/surface.ts +250 -0
  300. package/packages/omo-codex/plugin/skills/github/scripts/vendor/surface/tools.ts +80 -0
  301. package/packages/omo-codex/plugin/skills/programming/SKILL.md +51 -320
  302. package/packages/omo-codex/plugin/skills/programming/references/go/README.md +1 -0
  303. package/packages/omo-codex/plugin/skills/programming/references/python/README.md +21 -3
  304. package/packages/omo-codex/plugin/skills/programming/references/python/error-handling.md +14 -0
  305. package/packages/omo-codex/plugin/skills/programming/references/rust/README.md +5 -1
  306. package/packages/omo-codex/plugin/skills/programming/references/typescript/README.md +9 -3
  307. package/packages/omo-codex/plugin/skills/programming/references/typescript/error-handling.md +18 -0
  308. package/packages/omo-codex/plugin/skills/ultimate-browsing/SKILL.md +1 -1
  309. package/packages/omo-codex/plugin/skills/ulw-execute/SKILL.md +1 -1
  310. package/packages/omo-codex/plugin/skills/ulw-loop/SKILL.md +1 -1
  311. package/packages/omo-codex/plugin/skills/ulw-loop/references/full-workflow.md +3 -3
  312. package/packages/omo-codex/plugin/skills/visual-qa/references/browser-setup.md +5 -5
  313. package/packages/omo-codex/plugin/test/sync-skills-codex-compatibility.test.mjs +1 -1
  314. package/packages/omo-codex/plugin/test/sync-skills-test-support.mjs +2 -1
  315. package/packages/omo-codex/plugin/test/sync-skills.test.mjs +5 -5
  316. package/packages/omo-codex/scripts/install-dist/install-local.mjs +21279 -20738
  317. package/packages/shared-skills/skills/browser/SKILL.md +100 -91
  318. package/packages/shared-skills/skills/browser/references/commands.md +92 -27
  319. package/packages/shared-skills/skills/browser/references/desktop.md +22 -0
  320. package/packages/shared-skills/skills/browser/references/install.md +18 -0
  321. package/packages/shared-skills/skills/browser/references/owned-engine/README.md +7 -2
  322. package/packages/shared-skills/skills/browser/references/owned-engine/frames-and-humans.md +9 -2
  323. package/packages/shared-skills/skills/browser/references/owned-engine/network.md +13 -7
  324. package/packages/shared-skills/skills/browser/references/recipes/1password.md +6 -2
  325. package/packages/shared-skills/skills/browser/runtime/omowright/index.js +15 -15
  326. package/packages/shared-skills/skills/browser/runtime/omowright/manifest.json +4 -4
  327. package/packages/shared-skills/skills/debugging/SKILL.md +1 -1
  328. package/packages/shared-skills/skills/debugging/references/tools/browser-qa.md +1 -1
  329. package/packages/shared-skills/skills/git/SKILL.md +62 -0
  330. package/packages/shared-skills/skills/git/agents/openai.yaml +13 -0
  331. package/packages/shared-skills/skills/github/SKILL.md +94 -0
  332. package/packages/shared-skills/skills/github/references/branch-rules.md +129 -0
  333. package/packages/shared-skills/skills/github/references/evidence-attachments.md +16 -0
  334. package/packages/shared-skills/skills/github/references/repo-setup.md +152 -0
  335. package/packages/shared-skills/skills/github/references/waiting.md +52 -0
  336. package/packages/shared-skills/skills/github/references/workflows.md +161 -0
  337. package/packages/shared-skills/skills/github/scripts/cli.ts +8 -0
  338. package/packages/shared-skills/skills/github/scripts/package.json +12 -0
  339. package/packages/shared-skills/skills/github/scripts/sdk.ts +11 -0
  340. package/packages/shared-skills/skills/github/scripts/src/account.ts +243 -0
  341. package/packages/shared-skills/skills/github/scripts/src/actions-write.ts +86 -0
  342. package/packages/shared-skills/skills/github/scripts/src/actions.ts +210 -0
  343. package/packages/shared-skills/skills/github/scripts/src/attestations.ts +136 -0
  344. package/packages/shared-skills/skills/github/scripts/src/blake2b.ts +102 -0
  345. package/packages/shared-skills/skills/github/scripts/src/branch-protection.ts +192 -0
  346. package/packages/shared-skills/skills/github/scripts/src/caches.ts +105 -0
  347. package/packages/shared-skills/skills/github/scripts/src/checks.ts +107 -0
  348. package/packages/shared-skills/skills/github/scripts/src/codespaces.ts +230 -0
  349. package/packages/shared-skills/skills/github/scripts/src/conversation-lock.ts +50 -0
  350. package/packages/shared-skills/skills/github/scripts/src/discussion-list.ts +126 -0
  351. package/packages/shared-skills/skills/github/scripts/src/discussion-lookup.ts +127 -0
  352. package/packages/shared-skills/skills/github/scripts/src/discussions.ts +234 -0
  353. package/packages/shared-skills/skills/github/scripts/src/env.ts +100 -0
  354. package/packages/shared-skills/skills/github/scripts/src/errors.ts +79 -0
  355. package/packages/shared-skills/skills/github/scripts/src/fields.ts +27 -0
  356. package/packages/shared-skills/skills/github/scripts/src/gist-shape.ts +58 -0
  357. package/packages/shared-skills/skills/github/scripts/src/gists-write.ts +130 -0
  358. package/packages/shared-skills/skills/github/scripts/src/gists.ts +118 -0
  359. package/packages/shared-skills/skills/github/scripts/src/git-auth.ts +46 -0
  360. package/packages/shared-skills/skills/github/scripts/src/http.ts +159 -0
  361. package/packages/shared-skills/skills/github/scripts/src/issue-develop.ts +118 -0
  362. package/packages/shared-skills/skills/github/scripts/src/issues-extra.ts +135 -0
  363. package/packages/shared-skills/skills/github/scripts/src/issues-write.ts +174 -0
  364. package/packages/shared-skills/skills/github/scripts/src/issues.ts +156 -0
  365. package/packages/shared-skills/skills/github/scripts/src/keys.ts +176 -0
  366. package/packages/shared-skills/skills/github/scripts/src/labels.ts +209 -0
  367. package/packages/shared-skills/skills/github/scripts/src/merge.ts +115 -0
  368. package/packages/shared-skills/skills/github/scripts/src/poly1305.ts +22 -0
  369. package/packages/shared-skills/skills/github/scripts/src/pr-checkout.ts +92 -0
  370. package/packages/shared-skills/skills/github/scripts/src/pr-view.ts +106 -0
  371. package/packages/shared-skills/skills/github/scripts/src/project-fields.ts +144 -0
  372. package/packages/shared-skills/skills/github/scripts/src/project-item-edit.ts +153 -0
  373. package/packages/shared-skills/skills/github/scripts/src/project-items.ts +191 -0
  374. package/packages/shared-skills/skills/github/scripts/src/project-links.ts +104 -0
  375. package/packages/shared-skills/skills/github/scripts/src/project-ref.ts +145 -0
  376. package/packages/shared-skills/skills/github/scripts/src/project-state.ts +99 -0
  377. package/packages/shared-skills/skills/github/scripts/src/projects.ts +158 -0
  378. package/packages/shared-skills/skills/github/scripts/src/pulls-extra.ts +165 -0
  379. package/packages/shared-skills/skills/github/scripts/src/pulls-read.ts +176 -0
  380. package/packages/shared-skills/skills/github/scripts/src/pulls-review.ts +206 -0
  381. package/packages/shared-skills/skills/github/scripts/src/pulls-write.ts +187 -0
  382. package/packages/shared-skills/skills/github/scripts/src/raw.ts +78 -0
  383. package/packages/shared-skills/skills/github/scripts/src/read.ts +77 -0
  384. package/packages/shared-skills/skills/github/scripts/src/release-assets.ts +111 -0
  385. package/packages/shared-skills/skills/github/scripts/src/release-download.ts +151 -0
  386. package/packages/shared-skills/skills/github/scripts/src/release-write.ts +197 -0
  387. package/packages/shared-skills/skills/github/scripts/src/repo-admin.ts +112 -0
  388. package/packages/shared-skills/skills/github/scripts/src/repo-content.ts +187 -0
  389. package/packages/shared-skills/skills/github/scripts/src/repo-create.ts +139 -0
  390. package/packages/shared-skills/skills/github/scripts/src/repo-extras.ts +217 -0
  391. package/packages/shared-skills/skills/github/scripts/src/repo-list.ts +143 -0
  392. package/packages/shared-skills/skills/github/scripts/src/repo-settings.ts +176 -0
  393. package/packages/shared-skills/skills/github/scripts/src/repo-sync.ts +81 -0
  394. package/packages/shared-skills/skills/github/scripts/src/repo-url.ts +104 -0
  395. package/packages/shared-skills/skills/github/scripts/src/repos.ts +87 -0
  396. package/packages/shared-skills/skills/github/scripts/src/ruleset-shape.ts +96 -0
  397. package/packages/shared-skills/skills/github/scripts/src/rulesets-write.ts +124 -0
  398. package/packages/shared-skills/skills/github/scripts/src/rulesets.ts +80 -0
  399. package/packages/shared-skills/skills/github/scripts/src/run-download.ts +88 -0
  400. package/packages/shared-skills/skills/github/scripts/src/salsa20.ts +97 -0
  401. package/packages/shared-skills/skills/github/scripts/src/scopes.ts +165 -0
  402. package/packages/shared-skills/skills/github/scripts/src/sealed-box.ts +75 -0
  403. package/packages/shared-skills/skills/github/scripts/src/search-commits.ts +114 -0
  404. package/packages/shared-skills/skills/github/scripts/src/search.ts +116 -0
  405. package/packages/shared-skills/skills/github/scripts/src/secrets.ts +131 -0
  406. package/packages/shared-skills/skills/github/scripts/src/snappy.ts +57 -0
  407. package/packages/shared-skills/skills/github/scripts/src/status-search.ts +55 -0
  408. package/packages/shared-skills/skills/github/scripts/src/transfer.ts +97 -0
  409. package/packages/shared-skills/skills/github/scripts/src/types.ts +75 -0
  410. package/packages/shared-skills/skills/github/scripts/src/variables.ts +86 -0
  411. package/packages/shared-skills/skills/github/scripts/src/wait.ts +164 -0
  412. package/packages/shared-skills/skills/github/scripts/src/wire.ts +159 -0
  413. package/packages/shared-skills/skills/github/scripts/src/workflows.ts +144 -0
  414. package/packages/shared-skills/skills/github/scripts/src/zip.ts +104 -0
  415. package/packages/shared-skills/skills/github/scripts/surface.ts +106 -0
  416. package/packages/shared-skills/skills/github/scripts/vendor/surface/SOURCE.json +15 -0
  417. package/packages/shared-skills/skills/github/scripts/vendor/surface/cli.ts +203 -0
  418. package/packages/shared-skills/skills/github/scripts/vendor/surface/flags.ts +195 -0
  419. package/packages/shared-skills/skills/github/scripts/vendor/surface/help.ts +89 -0
  420. package/packages/shared-skills/skills/github/scripts/vendor/surface/http.ts +180 -0
  421. package/packages/shared-skills/skills/github/scripts/vendor/surface/index.ts +44 -0
  422. package/packages/shared-skills/skills/github/scripts/vendor/surface/mcp.ts +241 -0
  423. package/packages/shared-skills/skills/github/scripts/vendor/surface/schema.ts +200 -0
  424. package/packages/shared-skills/skills/github/scripts/vendor/surface/stdio.ts +54 -0
  425. package/packages/shared-skills/skills/github/scripts/vendor/surface/surface.ts +250 -0
  426. package/packages/shared-skills/skills/github/scripts/vendor/surface/tools.ts +80 -0
  427. package/packages/shared-skills/skills/programming/SKILL.md +51 -320
  428. package/packages/shared-skills/skills/programming/references/go/README.md +1 -0
  429. package/packages/shared-skills/skills/programming/references/python/README.md +21 -3
  430. package/packages/shared-skills/skills/programming/references/python/error-handling.md +14 -0
  431. package/packages/shared-skills/skills/programming/references/rust/README.md +5 -1
  432. package/packages/shared-skills/skills/programming/references/typescript/README.md +9 -3
  433. package/packages/shared-skills/skills/programming/references/typescript/error-handling.md +18 -0
  434. package/packages/shared-skills/skills/ultimate-browsing/SKILL.md +1 -1
  435. package/packages/shared-skills/skills/ulw-execute/SKILL.md +1 -1
  436. package/packages/shared-skills/skills/visual-qa/references/browser-setup.md +5 -5
  437. package/dist/skills/git-master/SKILL.md +0 -114
  438. package/dist/skills/git-master/agents/openai.yaml +0 -13
  439. package/packages/omo-codex/plugin/skills/git-master/SKILL.md +0 -114
  440. package/packages/omo-codex/plugin/skills/git-master/agents/openai.yaml +0 -13
  441. package/packages/shared-skills/skills/git-master/SKILL.md +0 -114
  442. package/packages/shared-skills/skills/git-master/agents/openai.yaml +0 -13
package/dist/index.js CHANGED
@@ -97,15 +97,18 @@ var init_deep_merge = __esm(() => {
97
97
  });
98
98
 
99
99
  // packages/utils/src/escape-for-display.ts
100
- function escapeForDisplay(text) {
100
+ function escapeForDisplay(text, { keepLineFeeds = false } = {}) {
101
101
  return text.replace(UNSAFE_FOR_DISPLAY, (character) => {
102
+ if (keepLineFeeds && character === `
103
+ `)
104
+ return character;
102
105
  const code = character.codePointAt(0) ?? 0;
103
106
  return code > 65535 ? `\\u{${code.toString(16)}}` : `\\u${code.toString(16).padStart(4, "0")}`;
104
107
  });
105
108
  }
106
109
  var UNSAFE_FOR_DISPLAY;
107
110
  var init_escape_for_display = __esm(() => {
108
- UNSAFE_FOR_DISPLAY = /[\p{Cc}\p{Cf}\p{Zl}\p{Zp}]/gu;
111
+ UNSAFE_FOR_DISPLAY = /[\p{Cc}\p{Cf}\p{Cs}\p{Zl}\p{Zp}]/gu;
109
112
  });
110
113
 
111
114
  // packages/utils/src/config-merge.ts
@@ -12463,9 +12466,9 @@ function errorCode(error) {
12463
12466
  return;
12464
12467
  return typeof error.code === "string" ? error.code : undefined;
12465
12468
  }
12466
- async function execFileText(command, args) {
12469
+ async function execFileText(command, args, env) {
12467
12470
  return await new Promise((resolve) => {
12468
- execFile2(command, args, { encoding: "utf8", timeout: 2000, windowsHide: true }, (error, stdout) => {
12471
+ execFile2(command, args, { encoding: "utf8", timeout: 2000, windowsHide: true, env }, (error, stdout) => {
12469
12472
  if (error !== null) {
12470
12473
  resolve(null);
12471
12474
  return;
@@ -12526,20 +12529,45 @@ async function readProcessStartIdentity(pid) {
12526
12529
  const startSeconds = await readDarwinProcessStartSeconds(pid);
12527
12530
  if (startSeconds !== null)
12528
12531
  return `proc-start-epoch:${startSeconds}`;
12529
- const value = await execFileText("/bin/ps", ["-o", "lstart=", "-p", String(pid)]);
12530
- return value === null ? null : `ps-lstart:${value.replace(/\s+/g, " ")}`;
12532
+ return await readPsLstartIdentity(pid);
12531
12533
  }
12532
12534
  if (process.platform === "win32")
12533
12535
  return await readWin32StartIdentity(pid);
12534
12536
  return null;
12535
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
+ }
12536
12543
  function identityScheme(identity) {
12537
12544
  const separator = identity.indexOf(":");
12538
12545
  return separator <= 0 ? null : identity.slice(0, separator);
12539
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
+ }
12540
12565
  function startIdentitiesConflict(recorded, actual) {
12541
12566
  const recordedScheme = identityScheme(recorded);
12542
- 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)
12543
12571
  return false;
12544
12572
  return recorded !== actual;
12545
12573
  }
@@ -12556,10 +12584,15 @@ function getPidLiveness(pid) {
12556
12584
  return "unknown";
12557
12585
  }
12558
12586
  }
12559
- var getProcessStartIdentity;
12587
+ var getProcessStartIdentity, LSTART_MONTHS, LSTART_C_RENDERING, MIN_ZONE_OFFSET_MS, MAX_ZONE_OFFSET_MS, ZONE_OFFSET_STEP_MS;
12560
12588
  var init_process_identity = __esm(() => {
12561
12589
  init_resilient();
12562
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;
12563
12596
  });
12564
12597
 
12565
12598
  // packages/team-core/src/team-state-store/lock-worker-lifetime.ts
@@ -29920,7 +29953,7 @@ __export(exports_connected_providers_cache, {
29920
29953
  writeProviderModelsCache: () => writeProviderModelsCache
29921
29954
  });
29922
29955
 
29923
- // 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
29924
29957
  function define(plugin) {
29925
29958
  return plugin;
29926
29959
  }
@@ -95727,7 +95760,7 @@ var OmoConfigLayerSchema = z23.object({
95727
95760
  // packages/omo-config-core/src/schema/legacy-category-names.ts
95728
95761
  var LEGACY_CATEGORY_NAME_ALIASES = { deep: "deep-low" };
95729
95762
  function canonicalCategoryName(name) {
95730
- return Object.hasOwn(LEGACY_CATEGORY_NAME_ALIASES, name) ? LEGACY_CATEGORY_NAME_ALIASES[name] : name;
95763
+ return Object.hasOwn(LEGACY_CATEGORY_NAME_ALIASES, name) ? LEGACY_CATEGORY_NAME_ALIASES[name] ?? name : name;
95731
95764
  }
95732
95765
  function isRecord10(value) {
95733
95766
  return typeof value === "object" && value !== null && !Array.isArray(value);
@@ -95785,7 +95818,7 @@ function hasLegacyCategoryNames(document) {
95785
95818
 
95786
95819
  // packages/omo-config-core/src/schema/legacy-harness-names.ts
95787
95820
  function canonicalHarnessName(name) {
95788
- return Object.hasOwn(OMO_CONFIG_LEGACY_HARNESS_ALIASES, name) ? OMO_CONFIG_LEGACY_HARNESS_ALIASES[name] : name;
95821
+ return Object.hasOwn(OMO_CONFIG_LEGACY_HARNESS_ALIASES, name) ? OMO_CONFIG_LEGACY_HARNESS_ALIASES[name] ?? name : name;
95789
95822
  }
95790
95823
  function harnessBlockKey(harness) {
95791
95824
  return `[${harness}]`;
@@ -97390,15 +97423,15 @@ function stripRetiredCodegraph(document) {
97390
97423
  if (!isPlainObject4(value))
97391
97424
  return;
97392
97425
  if (Object.prototype.hasOwnProperty.call(value, "codegraph")) {
97393
- delete value.codegraph;
97426
+ delete value["codegraph"];
97394
97427
  removedPaths.push([...path, "codegraph"]);
97395
97428
  }
97396
97429
  };
97397
97430
  strip(stripped, []);
97398
97431
  for (const harness of OMO_HARNESS_BLOCKS)
97399
97432
  strip(stripped[harness], [harness]);
97400
- if (isPlainObject4(stripped.profiles)) {
97401
- for (const [profileName, profile] of Object.entries(stripped.profiles)) {
97433
+ if (isPlainObject4(stripped["profiles"])) {
97434
+ for (const [profileName, profile] of Object.entries(stripped["profiles"])) {
97402
97435
  strip(profile, ["profiles", profileName]);
97403
97436
  if (!isPlainObject4(profile))
97404
97437
  continue;
@@ -98105,7 +98138,7 @@ init_src();
98105
98138
  // package.json
98106
98139
  var package_default = {
98107
98140
  name: "oh-my-opencode",
98108
- version: "5.1.83",
98141
+ version: "5.1.86",
98109
98142
  description: "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
98110
98143
  main: "./dist/index.js",
98111
98144
  types: "dist/index.d.ts",
@@ -98299,8 +98332,9 @@ var package_default = {
98299
98332
  },
98300
98333
  homepage: "https://github.com/code-yeongyu/oh-my-openagent#readme",
98301
98334
  dependencies: {
98302
- "@opentui/solid": "^0.5.11",
98335
+ "@opentui/solid": "^0.9.9",
98303
98336
  "detect-libc": "^2.1.2",
98337
+ "solid-js": "^1.9.20",
98304
98338
  zod: "^4.6.6"
98305
98339
  },
98306
98340
  devDependencies: {
@@ -98310,11 +98344,10 @@ var package_default = {
98310
98344
  "@oh-my-opencode/agents-md-core": "workspace:*",
98311
98345
  "@oh-my-opencode/ast-grep-mcp": "workspace:*",
98312
98346
  "@oh-my-opencode/boulder-state": "workspace:*",
98313
- "@oh-my-opencode/device-service-core": "workspace:*",
98314
98347
  "@oh-my-opencode/claude-code-compat-core": "workspace:*",
98315
98348
  "@oh-my-opencode/comment-checker-core": "workspace:*",
98316
98349
  "@oh-my-opencode/delegate-core": "workspace:*",
98317
- "@oh-my-opencode/thread-address-core": "workspace:*",
98350
+ "@oh-my-opencode/device-service-core": "workspace:*",
98318
98351
  "@oh-my-opencode/git-bash-mcp": "workspace:*",
98319
98352
  "@oh-my-opencode/hashline-core": "workspace:*",
98320
98353
  "@oh-my-opencode/isolation-core": "workspace:*",
@@ -98324,6 +98357,13 @@ var package_default = {
98324
98357
  "@oh-my-opencode/memory-core": "workspace:*",
98325
98358
  "@oh-my-opencode/model-core": "workspace:*",
98326
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:*",
98327
98367
  "@oh-my-opencode/omo-config-core": "workspace:*",
98328
98368
  "@oh-my-opencode/omo-opencode": "workspace:*",
98329
98369
  "@oh-my-opencode/omo-senpi": "workspace:*",
@@ -98336,25 +98376,19 @@ var package_default = {
98336
98376
  "@oh-my-opencode/senpi-desktop-sdk": "workspace:*",
98337
98377
  "@oh-my-opencode/senpi-desktop-service": "workspace:*",
98338
98378
  "@oh-my-opencode/senpi-desktop-tool": "workspace:*",
98339
- "@oh-my-opencode/omo-computer-protocol": "workspace:*",
98340
- "@oh-my-opencode/omo-computer-sdk": "workspace:*",
98341
- "@oh-my-opencode/omo-computer-engine": "workspace:*",
98342
- "@oh-my-opencode/omo-computer-hand": "workspace:*",
98343
- "@oh-my-opencode/omo-computer-carriers": "workspace:*",
98344
- "@oh-my-opencode/omo-computer-tool": "workspace:*",
98345
- "@oh-my-opencode/omo-computer-prelude": "workspace:*",
98346
98379
  "@oh-my-opencode/senpi-task": "workspace:*",
98347
98380
  "@oh-my-opencode/shared-skills": "workspace:*",
98348
98381
  "@oh-my-opencode/skills-loader-core": "workspace:*",
98349
98382
  "@oh-my-opencode/team-core": "workspace:*",
98350
98383
  "@oh-my-opencode/telemetry-core": "workspace:*",
98384
+ "@oh-my-opencode/thread-address-core": "workspace:*",
98351
98385
  "@oh-my-opencode/tmux-core": "workspace:*",
98352
98386
  "@oh-my-opencode/utils": "workspace:*",
98353
98387
  "@opencode-ai/plugin": "1.18.31",
98354
98388
  "@opencode-ai/sdk": "1.18.31",
98355
98389
  "@opencode/plugin": "2.0.32",
98356
- "@opentui/core": "^0.5.11",
98357
- "@opentui/keymap": "^0.5.11",
98390
+ "@opentui/core": "^0.9.9",
98391
+ "@opentui/keymap": "^0.9.9",
98358
98392
  "@types/js-yaml": "^4.0.9",
98359
98393
  "@types/node": "26.6.2",
98360
98394
  "@types/picomatch": "^4.0.3",
@@ -98368,8 +98402,9 @@ var package_default = {
98368
98402
  "js-yaml": "^5.4.2",
98369
98403
  "jsonc-parser": "^3.3.1",
98370
98404
  knip: "6.43.0",
98405
+ "libsodium-wrappers": "^0.8.4",
98371
98406
  "node-pty": "^1.1.0",
98372
- omowright: "^0.3.2",
98407
+ omowright: "^0.3.10",
98373
98408
  "oxc-parser": "0.148.0",
98374
98409
  oxlint: "1.89.0",
98375
98410
  picocolors: "^1.1.1",
@@ -98379,18 +98414,18 @@ var package_default = {
98379
98414
  typescript: "^7.0.2"
98380
98415
  },
98381
98416
  optionalDependencies: {
98382
- "oh-my-opencode-darwin-arm64": "5.1.83",
98383
- "oh-my-opencode-darwin-x64": "5.1.83",
98384
- "oh-my-opencode-darwin-x64-baseline": "5.1.83",
98385
- "oh-my-opencode-linux-arm64": "5.1.83",
98386
- "oh-my-opencode-linux-arm64-musl": "5.1.83",
98387
- "oh-my-opencode-linux-x64": "5.1.83",
98388
- "oh-my-opencode-linux-x64-baseline": "5.1.83",
98389
- "oh-my-opencode-linux-x64-musl": "5.1.83",
98390
- "oh-my-opencode-linux-x64-musl-baseline": "5.1.83",
98391
- "oh-my-opencode-windows-arm64": "5.1.83",
98392
- "oh-my-opencode-windows-x64": "5.1.83",
98393
- "oh-my-opencode-windows-x64-baseline": "5.1.83"
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"
98394
98429
  },
98395
98430
  overrides: {
98396
98431
  hono: "^4.13.8",
@@ -99731,6 +99766,7 @@ var BuiltinSkillNameSchema = z24.enum([
99731
99766
  "playwright",
99732
99767
  "dev-browser",
99733
99768
  "frontend",
99769
+ "git",
99734
99770
  "git-master",
99735
99771
  "review-work",
99736
99772
  "remove-ai-slops",
@@ -114423,7 +114459,7 @@ Everything else is parallel. Fire one \`task()\` per independent checkbox in the
114423
114459
  \`\`\`typescript
114424
114460
  task(category="quick", load_skills=[], run_in_background=false, prompt="...task A...")
114425
114461
  task(category="deep-low", load_skills=["programming"], run_in_background=false, prompt="...task B...")
114426
- 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...")
114427
114463
  \`\`\`
114428
114464
 
114429
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)\`.
@@ -117304,7 +117340,7 @@ task(category="visual-engineering", load_skills=["frontend"], run_in_background=
117304
117340
  task(category="ultrabrain", load_skills=[...], run_in_background=true)
117305
117341
 
117306
117342
  // Quick fixes
117307
- task(category="quick", load_skills=["git-master"], run_in_background=true)
117343
+ task(category="quick", load_skills=["git"], run_in_background=true)
117308
117344
  \`\`\`
117309
117345
 
117310
117346
  **YOU SHOULD ONLY DO IT YOURSELF WHEN:**
@@ -117436,7 +117472,7 @@ Prose, docs, prompt, and visual-only changes have no test seam: review + real-su
117436
117472
 
117437
117473
  ### Commit Discipline (MANDATORY)
117438
117474
 
117439
- 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.
117440
117476
 
117441
117477
  ### Verification Anti-Patterns (BLOCKING)
117442
117478
 
@@ -120862,6 +120898,12 @@ function sortByScopePriority(items) {
120862
120898
  });
120863
120899
  }
120864
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
+
120865
120907
  // packages/skills-loader-core/src/tools/skill/skill-matcher.ts
120866
120908
  function matchSkillByName(skills, requestedName) {
120867
120909
  const normalizedName = requestedName.toLowerCase();
@@ -120869,6 +120911,11 @@ function matchSkillByName(skills, requestedName) {
120869
120911
  if (exactMatch) {
120870
120912
  return exactMatch;
120871
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
+ }
120872
120919
  const shortNameMatches = skills.filter((skill) => {
120873
120920
  const parts = skill.name.split("/");
120874
120921
  const shortName = parts[parts.length - 1];
@@ -121527,9 +121574,12 @@ var frontendSkill = {
121527
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.",
121528
121575
  template: loadSharedSkillTemplate("frontend")
121529
121576
  };
121530
- // packages/skills-loader-core/src/features/builtin-skills/skills/git-master-skill-metadata.ts
121531
- var GIT_MASTER_SKILL_NAME = "git-master";
121532
- 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
+ }
121533
121583
 
121534
121584
  // packages/skills-loader-core/src/features/builtin-skills/skills/git-master-sections/commit-atomic-planning.ts
121535
121585
  var GIT_MASTER_COMMIT_ATOMIC_PLANNING_SECTION = `## PHASE 3: Atomic Unit Planning (BLOCKING - MUST OUTPUT BEFORE PROCEEDING)
@@ -122621,7 +122671,7 @@ NEXT STEPS:
122621
122671
  - Review changes before merge
122622
122672
  \`\`\``;
122623
122673
 
122624
- // packages/skills-loader-core/src/features/builtin-skills/skills/git-master.ts
122674
+ // packages/skills-loader-core/src/features/builtin-skills/skills/git.ts
122625
122675
  var GIT_MASTER_TEMPLATE = [
122626
122676
  GIT_MASTER_OVERVIEW_SECTION,
122627
122677
  GIT_MASTER_COMMIT_WORKFLOW_SECTION,
@@ -122636,9 +122686,9 @@ var GIT_MASTER_TEMPLATE = [
122636
122686
  ].join(`
122637
122687
 
122638
122688
  `);
122639
- var gitMasterSkill = {
122640
- name: GIT_MASTER_SKILL_NAME,
122641
- description: GIT_MASTER_SKILL_DESCRIPTION,
122689
+ var gitSkill = {
122690
+ name: GIT_SKILL_NAME,
122691
+ description: GIT_SKILL_DESCRIPTION,
122642
122692
  template: GIT_MASTER_TEMPLATE
122643
122693
  };
122644
122694
  // packages/skills-loader-core/src/features/builtin-skills/skills/dev-browser.ts
@@ -123790,7 +123840,7 @@ function createBuiltinSkills(options = {}) {
123790
123840
  const skills = [
123791
123841
  browserSkills[browserProvider],
123792
123842
  frontendSkill,
123793
- gitMasterSkill,
123843
+ gitSkill,
123794
123844
  reviewWorkSkill,
123795
123845
  removeAiSlopsSkill,
123796
123846
  initDeepSkill,
@@ -123817,20 +123867,61 @@ function resolveActiveBuiltinSkills(options) {
123817
123867
  });
123818
123868
  }
123819
123869
 
123820
- // packages/skills-loader-core/src/features/opencode-skill-loader/skill-discovery.ts
123821
- 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
+ }
123822
123907
  function isDisabledAlias(name, disabledSkills) {
123823
- const normalizedName = name.toLowerCase();
123908
+ const normalizedName = normalizeSkillAliasName(name);
123824
123909
  if (disabledSkills.has(normalizedName))
123825
123910
  return true;
123826
123911
  for (const disabledSkill of disabledSkills) {
123827
- if (disabledSkill.toLowerCase() === normalizedName)
123912
+ if (normalizeSkillAliasName(disabledSkill) === normalizedName)
123828
123913
  return true;
123829
123914
  }
123830
123915
  return false;
123831
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;
123832
123923
  function isDisabledSkillAlias(skill, disabledSkills) {
123833
- return isDisabledAlias(skill.name, disabledSkills);
123924
+ return isDisabledSkillName(skill.name, disabledSkills);
123834
123925
  }
123835
123926
  function clearSkillCache() {
123836
123927
  cachedSkillsByProvider.clear();
@@ -123900,9 +123991,6 @@ function isDisabledConfigEntry(entry) {
123900
123991
  return false;
123901
123992
  return entry.disable === true;
123902
123993
  }
123903
- function normalizeSkillAliasName(name) {
123904
- return name.toLowerCase();
123905
- }
123906
123994
  function collectDisabledSkillNames(normalizedConfig) {
123907
123995
  const disabledSkillNames = new Set(normalizedConfig.disable.map(normalizeSkillAliasName));
123908
123996
  for (const [name, entry] of Object.entries(normalizedConfig.entries)) {
@@ -124068,9 +124156,9 @@ function buildEnvPrefix2(env, shellType) {
124068
124156
  }
124069
124157
 
124070
124158
  // packages/skills-loader-core/src/features/opencode-skill-loader/git-master-template-injection.ts
124071
- var BASH_CODE_BLOCK_PATTERN = /```bash\r?\n([\s\S]*?)```/g;
124072
- var LEADING_GIT_COMMAND_PATTERN = /^([ \t]*(?:[A-Za-z_][A-Za-z0-9_]*=[^ \t]+\s+)*)git(?=[ \t]|$)/gm;
124073
- 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>";
124074
124162
  function parseBashEnvPrefix(prefix) {
124075
124163
  const result = {};
124076
124164
  const pairs = prefix.trim().split(/\s+/);
@@ -124096,14 +124184,6 @@ function buildShellAwareGitPrefix(bashPrefix, shellType) {
124096
124184
  }
124097
124185
  var SISYPHUS_CO_AUTHOR_TRAILER = "Co-authored-by: sisyphus-dev-ai <sisyphus-dev-ai@users.noreply.github.com>";
124098
124186
  var DEDUP_TRAILER_GIT_OPTION = "-c trailer.ifexists=addIfDifferent";
124099
- var CO_AUTHOR_TRAILER_INSTRUCTION = [
124100
- `**Co-author trailer, exactly once:** \`${SISYPHUS_CO_AUTHOR_TRAILER}\`.`,
124101
- `Pass it with \`--trailer\`, never inside \`-m\`, and run the commit as \`git ${DEDUP_TRAILER_GIT_OPTION} commit ...\`,`,
124102
- "so a message that already carries it keeps a single copy.",
124103
- "A squash joins messages without `--trailer` and can leave two copies, so after squashing rewrite the message once",
124104
- "with the same command plus `--amend` and a fresh `-m` that does not repeat the trailer."
124105
- ].join(" ");
124106
- var NO_CO_AUTHOR_INSTRUCTION = "Do NOT add a Co-authored-by trailer.";
124107
124187
  function buildAttributedCommitExample(commandPrefix, footerText, includeCoAuthor) {
124108
124188
  const parts = [
124109
124189
  commandPrefix === "" ? "git" : `${commandPrefix} git`,
@@ -124114,97 +124194,45 @@ function buildAttributedCommitExample(commandPrefix, footerText, includeCoAuthor
124114
124194
  ];
124115
124195
  return parts.join(" ");
124116
124196
  }
124117
- function injectGitMasterConfig(template, config, shellType = detectShellType()) {
124118
- const commitFooter = config?.commit_footer ?? false;
124119
- const includeCoAuthor = config?.include_co_authored_by ?? true;
124120
- const gitEnvPrefix = assertValidGitEnvPrefix(config?.git_env_prefix ?? "GIT_MASTER=1");
124121
- const shellPrefix = gitEnvPrefix ? buildShellAwareGitPrefix(gitEnvPrefix, shellType) : "";
124122
- const codeBlockLang = shellType === "powershell" ? "pwsh" : shellType === "csh" ? "csh" : "bash";
124123
- const skipBashBlockPrefixing = shellType === "powershell" || shellType === "cmd" || shellType === "csh";
124124
- let result = gitEnvPrefix ? injectGitEnvPrefix(template, shellPrefix, codeBlockLang) : template;
124125
- if (commitFooter || includeCoAuthor) {
124126
- const injection = buildCommitAttributionInjection(commitFooter, includeCoAuthor, shellPrefix);
124127
- const insertionPoint = result.indexOf("```\n</execution>");
124128
- result = insertionPoint !== -1 ? result.slice(0, insertionPoint) + "```\n\n" + injection + `
124129
- </execution>` + result.slice(insertionPoint + "```\n</execution>".length) : result + `
124130
-
124131
- ` + injection;
124132
- }
124133
- if (gitEnvPrefix && !skipBashBlockPrefixing) {
124134
- result = prefixGitCommandsInBashCodeBlocks(result, shellPrefix);
124135
- }
124136
- return result;
124137
- }
124138
- function injectGitEnvPrefix(template, prefix, codeBlockLang) {
124139
- const envPrefixSection = [
124140
- "## GIT COMMAND PREFIX (MANDATORY)",
124141
- "",
124142
- `<git_env_prefix>`,
124143
- `**EVERY git command MUST be prefixed with \`${prefix}\`.**`,
124144
- "",
124145
- "This allows custom git hooks to detect when git-master skill is active.",
124146
- "",
124147
- `\`\`\`${codeBlockLang}`,
124148
- `${prefix} git status`,
124149
- `${prefix} git add <files>`,
124150
- `${prefix} git commit -m "message"`,
124151
- `${prefix} git push`,
124152
- `${prefix} git rebase ...`,
124153
- `${prefix} git log ...`,
124154
- "```",
124155
- "",
124156
- "**NO EXCEPTIONS. Every `git` invocation must include this prefix.**",
124157
- `</git_env_prefix>`
124158
- ].join(`
124159
- `);
124160
- const modeDetectionMarker = "## MODE DETECTION (FIRST STEP)";
124161
- const markerIndex = template.indexOf(modeDetectionMarker);
124162
- if (markerIndex !== -1) {
124163
- return template.slice(0, markerIndex) + envPrefixSection + `
124164
-
124165
- ---
124166
-
124167
- ` + template.slice(markerIndex);
124168
- }
124169
- return envPrefixSection + `
124170
-
124171
- ---
124172
-
124173
- ` + template;
124174
- }
124175
- function prefixGitCommandsInBashCodeBlocks(template, prefix) {
124176
- return template.replace(BASH_CODE_BLOCK_PATTERN, (block, codeBlock) => {
124177
- return block.replace(codeBlock, prefixGitCommandsInCodeBlock(codeBlock, prefix));
124178
- });
124179
- }
124180
- function prefixGitCommandsInCodeBlock(codeBlock, prefix) {
124181
- return codeBlock.split(`
124182
- `).map((line) => {
124183
- if (line.includes(prefix)) {
124184
- return line;
124185
- }
124186
- return line.replace(LEADING_GIT_COMMAND_PATTERN, `$1${prefix} git`).replace(INLINE_GIT_COMMAND_PATTERN, `$1${prefix} git`);
124187
- }).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(`
124188
124206
  `);
124189
124207
  }
124190
- function buildCommitAttributionInjection(commitFooter, includeCoAuthor, gitEnvPrefix) {
124191
- const footerText = commitFooter === false ? undefined : typeof commitFooter === "string" ? commitFooter : "Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)";
124192
- const footerStep = footerText === undefined ? [] : ["1. **Footer in commit body:**", "```", footerText, "```", ""];
124193
- const coAuthorStep = includeCoAuthor ? `${footerText === undefined ? 1 : 2}. ${CO_AUTHOR_TRAILER_INSTRUCTION}` : NO_CO_AUTHOR_INSTRUCTION;
124194
- 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);
124195
124211
  return [
124196
- "### 5.5 Commit Attribution",
124197
- "",
124198
- "Add Sisyphus attribution to EVERY commit:",
124199
- "",
124200
- ...steps,
124201
- "**Example:**",
124202
- "```bash",
124203
- buildAttributedCommitExample(gitEnvPrefix, footerText, includeCoAuthor),
124204
- "```"
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>"
124205
124215
  ].join(`
124206
124216
  `);
124207
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
+ }
124208
124236
  // packages/skills-loader-core/src/features/opencode-skill-loader/skill-template-resolver.ts
124209
124237
  function resolveMultipleSkills(skillNames, options) {
124210
124238
  const skills = createBuiltinSkills({
@@ -124216,9 +124244,9 @@ function resolveMultipleSkills(skillNames, options) {
124216
124244
  const resolved = new Map;
124217
124245
  const notFound = [];
124218
124246
  for (const name of skillNames) {
124219
- const match = skillMap.get(name);
124247
+ const match = skillMap.get(resolveSkillAlias(name));
124220
124248
  if (match) {
124221
- if (match.name === "git-master") {
124249
+ if (match.name === GIT_SKILL_NAME) {
124222
124250
  resolved.set(name, injectGitMasterConfig(match.template, options?.gitMasterConfig, options?.shellType));
124223
124251
  } else {
124224
124252
  resolved.set(name, match.template);
@@ -124229,56 +124257,6 @@ function resolveMultipleSkills(skillNames, options) {
124229
124257
  }
124230
124258
  return { resolved, notFound };
124231
124259
  }
124232
- // packages/skills-loader-core/src/features/opencode-skill-loader/skill-disable-config.ts
124233
- function normalizeSkillAliasName2(name) {
124234
- return name.toLowerCase();
124235
- }
124236
- function isSkillsConfigRecord(value) {
124237
- return typeof value === "object" && value !== null && !Array.isArray(value);
124238
- }
124239
- function isDisabledSkillConfigEntry(entry) {
124240
- if (entry === false)
124241
- return true;
124242
- if (entry === true)
124243
- return false;
124244
- if (!isSkillsConfigRecord(entry))
124245
- return false;
124246
- return entry.disable === true;
124247
- }
124248
- function collectDisabledSkillAliases(config) {
124249
- const disabledSkills = new Set((config.disabled_skills ?? []).map(normalizeSkillAliasName2));
124250
- const skillsConfig = config.skills;
124251
- if (!isSkillsConfigRecord(skillsConfig))
124252
- return disabledSkills;
124253
- if (Array.isArray(skillsConfig.disable)) {
124254
- for (const name of skillsConfig.disable) {
124255
- if (typeof name === "string") {
124256
- disabledSkills.add(normalizeSkillAliasName2(name));
124257
- }
124258
- }
124259
- }
124260
- for (const [name, entry] of Object.entries(skillsConfig)) {
124261
- if (name === "sources" || name === "enable" || name === "disable")
124262
- continue;
124263
- if (isDisabledSkillConfigEntry(entry)) {
124264
- disabledSkills.add(normalizeSkillAliasName2(name));
124265
- }
124266
- }
124267
- return disabledSkills;
124268
- }
124269
- function isDisabledAlias2(name, disabledSkills) {
124270
- const normalizedName = normalizeSkillAliasName2(name);
124271
- if (disabledSkills.has(normalizedName))
124272
- return true;
124273
- for (const disabledSkill of disabledSkills) {
124274
- if (normalizeSkillAliasName2(disabledSkill) === normalizedName)
124275
- return true;
124276
- }
124277
- return false;
124278
- }
124279
- function isDisabledSkillName(name, disabledSkills) {
124280
- return isDisabledAlias2(normalizeSkillAliasName2(name), disabledSkills);
124281
- }
124282
124260
  // packages/skills-loader-core/src/features/opencode-skill-loader/opencode-config-skills-reader.ts
124283
124261
  init_src();
124284
124262
  import * as fs17 from "fs";
@@ -138657,7 +138635,7 @@ function createMomusReviewPersistenceHook(ctx) {
138657
138635
  // packages/omo-opencode/src/tools/grep/tools.ts
138658
138636
  import { resolve as resolve29 } from "path";
138659
138637
 
138660
- // 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
138661
138639
  import { z as z62 } from "zod";
138662
138640
  function tool(input) {
138663
138641
  return input;
@@ -140105,7 +140083,7 @@ function createSkillTool(options) {
140105
140083
  throw new Error(`Skill "${matchedSkill.name}" is restricted to agent "${matchedSkill.definition.agent}"`);
140106
140084
  }
140107
140085
  let body = await extractSkillBody(matchedSkill);
140108
- if (matchedSkill.name === "git-master") {
140086
+ if (isGitSkillName(matchedSkill.name)) {
140109
140087
  body = injectGitMasterConfig2(body, options.gitMasterConfig);
140110
140088
  }
140111
140089
  const dir = matchedSkill.path ? dirname49(matchedSkill.path) : matchedSkill.resolvedPath || process.cwd();
@@ -149815,7 +149793,7 @@ async function resolveSkillContent3(skills, options) {
149815
149793
  continue;
149816
149794
  }
149817
149795
  const template = extractSkillTemplate(skill);
149818
- if (name === "git-master") {
149796
+ if (isGitSkillName(skill.name)) {
149819
149797
  resolved.set(name, injectGitMasterConfig2(template, options.gitMasterConfig));
149820
149798
  } else {
149821
149799
  resolved.set(name, template);
@@ -152708,7 +152686,7 @@ function buildPromptNativeSkillInfos(availableSkills, nativeSkillEntries, disabl
152708
152686
  }));
152709
152687
  }
152710
152688
  var delegateTaskArgsSchema = {
152711
- 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.'),
152712
152690
  description: tool.schema.string().optional().describe("Short task description (3-5 words). Auto-generated from prompt if omitted."),
152713
152691
  prompt: tool.schema.string().describe("Full detailed prompt for the agent"),
152714
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."),
@@ -184704,7 +184682,7 @@ function filterDisabledSkills(skills, disabledSkills) {
184704
184682
  return skills.filter((skill) => !isDisabledSkillAlias(skill, disabledSkills));
184705
184683
  }
184706
184684
  function isDisabledConfigSkillEntryName(name, disabledSkills) {
184707
- return disabledSkills.has(normalizeSkillAliasName2(name));
184685
+ return disabledSkills.has(normalizeSkillAliasName(name));
184708
184686
  }
184709
184687
  async function createSkillContext(args) {
184710
184688
  const { directory, pluginConfig, hostSkills } = args;
@@ -192900,7 +192878,7 @@ var UNCONFIGURED_POSTHOG_API_KEY = "phc_REPLACE_ME_OMO_NATIVE";
192900
192878
 
192901
192879
  // packages/telemetry-core/src/env.ts
192902
192880
  var TRUTHY_DISABLE_VALUES = ["1", "true", "yes"];
192903
- var SEND_OPT_OUT_VALUES = ["0", "false", "no", "yes"];
192881
+ var SEND_OPT_OUT_VALUES = ["0", "false", "no"];
192904
192882
  function normalizeEnvValue(value) {
192905
192883
  return value?.trim().toLowerCase();
192906
192884
  }
@@ -192921,6 +192899,9 @@ function shouldDisableTelemetry(input) {
192921
192899
  if (isDisableFlag(env["DO_NOT_TRACK"]) || isDisableFlag(env[`${globalPrefix}_DISABLE_TELEMETRY`])) {
192922
192900
  return true;
192923
192901
  }
192902
+ if (env["OTEL_SDK_DISABLED"]?.trim().toLowerCase() === "true") {
192903
+ return true;
192904
+ }
192924
192905
  for (const prefix of prefixes) {
192925
192906
  if (isDisableFlag(env[`${prefix}_DISABLE_POSTHOG`])) {
192926
192907
  return true;