@kl-c/matrixos 0.1.26 → 0.1.31

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 (397) hide show
  1. package/dist/agents/builtin-agents/model-resolution.d.ts +1 -1
  2. package/dist/agents/types.d.ts +1 -1
  3. package/dist/cli/generate.d.ts +2 -2
  4. package/dist/cli/index.js +206 -49
  5. package/dist/cli/install-ast-grep-sg.d.ts +1 -1
  6. package/dist/cli/mcp-oauth/login.d.ts +1 -1
  7. package/dist/cli/migrate.d.ts +15 -0
  8. package/dist/cli/profile.d.ts +23 -0
  9. package/dist/cli/provider-model-id-transform.d.ts +1 -1
  10. package/dist/cli/skills/frontend/ATTRIBUTION.md +1 -1
  11. package/dist/cli/skills/ultimate-browsing/ATTRIBUTION.md +1 -1
  12. package/dist/cli/skills/ulw-research/ATTRIBUTION.md +1 -1
  13. package/dist/cli-node/index.js +206 -49
  14. package/dist/config/schema/gateway.d.ts +1 -1
  15. package/dist/config/schema/git-env-prefix.d.ts +1 -1
  16. package/dist/config/schema/team-mode.d.ts +1 -1
  17. package/dist/config/schema/tmux.d.ts +1 -1
  18. package/dist/features/background-agent/error-classifier.d.ts +1 -1
  19. package/dist/features/boulder-state/constants.d.ts +1 -1
  20. package/dist/features/boulder-state/format-duration.d.ts +1 -1
  21. package/dist/features/boulder-state/storage.d.ts +1 -1
  22. package/dist/features/boulder-state/top-level-task.d.ts +1 -1
  23. package/dist/features/boulder-state/types.d.ts +1 -1
  24. package/dist/features/builtin-skills/index.d.ts +1 -1
  25. package/dist/features/builtin-skills/skill-file-loader.d.ts +1 -1
  26. package/dist/features/builtin-skills/skills/agent-browser-skill.d.ts +1 -1
  27. package/dist/features/builtin-skills/skills/agent-browser-template.d.ts +1 -1
  28. package/dist/features/builtin-skills/skills/debugging.d.ts +1 -1
  29. package/dist/features/builtin-skills/skills/dev-browser.d.ts +1 -1
  30. package/dist/features/builtin-skills/skills/frontend.d.ts +1 -1
  31. package/dist/features/builtin-skills/skills/git-master-sections/commit-atomic-planning.d.ts +1 -1
  32. package/dist/features/builtin-skills/skills/git-master-sections/commit-context-analysis.d.ts +1 -1
  33. package/dist/features/builtin-skills/skills/git-master-sections/commit-execution-verification.d.ts +1 -1
  34. package/dist/features/builtin-skills/skills/git-master-sections/commit-workflow.d.ts +1 -1
  35. package/dist/features/builtin-skills/skills/git-master-sections/history-search-workflow.d.ts +1 -1
  36. package/dist/features/builtin-skills/skills/git-master-sections/overview.d.ts +1 -1
  37. package/dist/features/builtin-skills/skills/git-master-sections/quick-reference.d.ts +1 -1
  38. package/dist/features/builtin-skills/skills/git-master-sections/rebase-workflow.d.ts +1 -1
  39. package/dist/features/builtin-skills/skills/git-master-skill-metadata.d.ts +1 -1
  40. package/dist/features/builtin-skills/skills/git-master.d.ts +1 -1
  41. package/dist/features/builtin-skills/skills/index.d.ts +1 -1
  42. package/dist/features/builtin-skills/skills/init-deep.d.ts +1 -1
  43. package/dist/features/builtin-skills/skills/playwright-cli.d.ts +1 -1
  44. package/dist/features/builtin-skills/skills/playwright-mcp-skill.d.ts +1 -1
  45. package/dist/features/builtin-skills/skills/playwright.d.ts +1 -1
  46. package/dist/features/builtin-skills/skills/remove-ai-slops.d.ts +1 -1
  47. package/dist/features/builtin-skills/skills/review-work.d.ts +1 -1
  48. package/dist/features/builtin-skills/skills/security-research.d.ts +1 -1
  49. package/dist/features/builtin-skills/skills/security-review.d.ts +1 -1
  50. package/dist/features/builtin-skills/skills/team-mode.d.ts +1 -1
  51. package/dist/features/builtin-skills/skills/visual-qa.d.ts +1 -1
  52. package/dist/features/builtin-skills/skills.d.ts +1 -1
  53. package/dist/features/builtin-skills/types.d.ts +1 -1
  54. package/dist/features/claude-code-agent-loader/agent-definitions-loader.d.ts +1 -1
  55. package/dist/features/claude-code-agent-loader/claude-model-mapper.d.ts +1 -1
  56. package/dist/features/claude-code-agent-loader/index.d.ts +1 -1
  57. package/dist/features/claude-code-agent-loader/json-agent-loader.d.ts +1 -1
  58. package/dist/features/claude-code-agent-loader/loader.d.ts +1 -1
  59. package/dist/features/claude-code-agent-loader/opencode-config-agents-reader.d.ts +1 -1
  60. package/dist/features/claude-code-agent-loader/types.d.ts +1 -1
  61. package/dist/features/claude-code-command-loader/index.d.ts +1 -1
  62. package/dist/features/claude-code-command-loader/loader-cache.d.ts +1 -1
  63. package/dist/features/claude-code-command-loader/loader.d.ts +1 -1
  64. package/dist/features/claude-code-command-loader/types.d.ts +1 -1
  65. package/dist/features/claude-code-mcp-loader/configure-allowed-env-vars.d.ts +1 -1
  66. package/dist/features/claude-code-mcp-loader/index.d.ts +1 -1
  67. package/dist/features/claude-code-mcp-loader/loader.d.ts +1 -1
  68. package/dist/features/claude-code-mcp-loader/scope-filter.d.ts +1 -1
  69. package/dist/features/claude-code-mcp-loader/transformer.d.ts +1 -1
  70. package/dist/features/claude-code-mcp-loader/types.d.ts +1 -1
  71. package/dist/features/claude-code-plugin-loader/agent-loader.d.ts +1 -1
  72. package/dist/features/claude-code-plugin-loader/command-loader.d.ts +1 -1
  73. package/dist/features/claude-code-plugin-loader/discovery-core.d.ts +1 -1
  74. package/dist/features/claude-code-plugin-loader/discovery-paths.d.ts +1 -1
  75. package/dist/features/claude-code-plugin-loader/discovery.d.ts +1 -1
  76. package/dist/features/claude-code-plugin-loader/hook-loader.d.ts +1 -1
  77. package/dist/features/claude-code-plugin-loader/index.d.ts +1 -1
  78. package/dist/features/claude-code-plugin-loader/install-path-resolver.d.ts +1 -1
  79. package/dist/features/claude-code-plugin-loader/installed-plugin-database.d.ts +1 -1
  80. package/dist/features/claude-code-plugin-loader/loaded-plugin.d.ts +1 -1
  81. package/dist/features/claude-code-plugin-loader/loader.d.ts +1 -1
  82. package/dist/features/claude-code-plugin-loader/mcp-server-loader.d.ts +1 -1
  83. package/dist/features/claude-code-plugin-loader/plugin-key.d.ts +1 -1
  84. package/dist/features/claude-code-plugin-loader/plugin-manifest.d.ts +1 -1
  85. package/dist/features/claude-code-plugin-loader/plugin-path-resolver.d.ts +1 -1
  86. package/dist/features/claude-code-plugin-loader/plugin-settings.d.ts +1 -1
  87. package/dist/features/claude-code-plugin-loader/scope-filter.d.ts +1 -1
  88. package/dist/features/claude-code-plugin-loader/skill-loader.d.ts +1 -1
  89. package/dist/features/claude-code-plugin-loader/types.d.ts +1 -1
  90. package/dist/features/kanban/sqlite-store.d.ts +2 -0
  91. package/dist/features/mcp-oauth/callback-server.d.ts +1 -1
  92. package/dist/features/mcp-oauth/dcr.d.ts +1 -1
  93. package/dist/features/mcp-oauth/discovery.d.ts +1 -1
  94. package/dist/features/mcp-oauth/oauth-authorization-flow.d.ts +1 -1
  95. package/dist/features/mcp-oauth/provider.d.ts +1 -1
  96. package/dist/features/mcp-oauth/refresh-mutex.d.ts +1 -1
  97. package/dist/features/mcp-oauth/resource-indicator.d.ts +1 -1
  98. package/dist/features/mcp-oauth/schema.d.ts +1 -1
  99. package/dist/features/mcp-oauth/step-up.d.ts +1 -1
  100. package/dist/features/mcp-oauth/storage.d.ts +1 -1
  101. package/dist/features/opencode-runtime-skills/index.d.ts +1 -1
  102. package/dist/features/opencode-runtime-skills/runtime-skill-config.d.ts +1 -1
  103. package/dist/features/opencode-runtime-skills/skill-markdown.d.ts +1 -1
  104. package/dist/features/opencode-runtime-skills/source-server.d.ts +1 -1
  105. package/dist/features/opencode-skill-loader/allowed-tools-parser.d.ts +1 -1
  106. package/dist/features/opencode-skill-loader/config-source-discovery.d.ts +1 -1
  107. package/dist/features/opencode-skill-loader/git-master-template-injection.d.ts +1 -1
  108. package/dist/features/opencode-skill-loader/index.d.ts +1 -1
  109. package/dist/features/opencode-skill-loader/loaded-skill-from-path.d.ts +1 -1
  110. package/dist/features/opencode-skill-loader/loaded-skill-template-extractor.d.ts +1 -1
  111. package/dist/features/opencode-skill-loader/loader.d.ts +1 -1
  112. package/dist/features/opencode-skill-loader/merger/builtin-skill-converter.d.ts +1 -1
  113. package/dist/features/opencode-skill-loader/merger/config-skill-entry-loader.d.ts +1 -1
  114. package/dist/features/opencode-skill-loader/merger/scope-priority.d.ts +1 -1
  115. package/dist/features/opencode-skill-loader/merger/skill-definition-merger.d.ts +1 -1
  116. package/dist/features/opencode-skill-loader/merger/skills-config-normalizer.d.ts +1 -1
  117. package/dist/features/opencode-skill-loader/merger.d.ts +1 -1
  118. package/dist/features/opencode-skill-loader/opencode-config-skills-reader.d.ts +1 -1
  119. package/dist/features/opencode-skill-loader/skill-content.d.ts +1 -1
  120. package/dist/features/opencode-skill-loader/skill-deduplication.d.ts +1 -1
  121. package/dist/features/opencode-skill-loader/skill-definition-record.d.ts +1 -1
  122. package/dist/features/opencode-skill-loader/skill-directory-loader.d.ts +1 -1
  123. package/dist/features/opencode-skill-loader/skill-discovery.d.ts +1 -1
  124. package/dist/features/opencode-skill-loader/skill-mcp-config.d.ts +1 -1
  125. package/dist/features/opencode-skill-loader/skill-resolution-options.d.ts +1 -1
  126. package/dist/features/opencode-skill-loader/skill-template-resolver.d.ts +1 -1
  127. package/dist/features/opencode-skill-loader/types.d.ts +1 -1
  128. package/dist/features/skill-curator/audit.d.ts +1 -1
  129. package/dist/features/skill-mcp-manager/cleanup.d.ts +1 -1
  130. package/dist/features/skill-mcp-manager/connection-type.d.ts +1 -1
  131. package/dist/features/skill-mcp-manager/connection.d.ts +1 -1
  132. package/dist/features/skill-mcp-manager/env-cleaner.d.ts +1 -1
  133. package/dist/features/skill-mcp-manager/error-redaction.d.ts +1 -1
  134. package/dist/features/skill-mcp-manager/http-client.d.ts +1 -1
  135. package/dist/features/skill-mcp-manager/index.d.ts +1 -1
  136. package/dist/features/skill-mcp-manager/manager.d.ts +1 -1
  137. package/dist/features/skill-mcp-manager/oauth-handler.d.ts +1 -1
  138. package/dist/features/skill-mcp-manager/stdio-client.d.ts +1 -1
  139. package/dist/features/skill-mcp-manager/types.d.ts +1 -1
  140. package/dist/features/team-mode/member-parser.d.ts +1 -1
  141. package/dist/features/team-mode/team-layout-tmux/close-team-member-pane.d.ts +1 -1
  142. package/dist/features/team-mode/team-layout-tmux/index.d.ts +1 -1
  143. package/dist/features/team-mode/team-layout-tmux/layout.d.ts +1 -1
  144. package/dist/features/team-mode/team-layout-tmux/rebalance-team-window.d.ts +1 -1
  145. package/dist/features/team-mode/team-layout-tmux/resolve-caller-tmux-session.d.ts +1 -1
  146. package/dist/features/team-mode/team-layout-tmux/sweep-stale-team-sessions.d.ts +1 -1
  147. package/dist/features/team-mode/team-mailbox/ack.d.ts +1 -1
  148. package/dist/features/team-mode/team-mailbox/inbox.d.ts +1 -1
  149. package/dist/features/team-mode/team-mailbox/index.d.ts +1 -1
  150. package/dist/features/team-mode/team-mailbox/pending-delivery-recovery.d.ts +1 -1
  151. package/dist/features/team-mode/team-mailbox/poll.d.ts +1 -1
  152. package/dist/features/team-mode/team-mailbox/reservation.d.ts +1 -1
  153. package/dist/features/team-mode/team-mailbox/send.d.ts +1 -1
  154. package/dist/features/team-mode/team-registry/index.d.ts +1 -1
  155. package/dist/features/team-mode/team-registry/loader.d.ts +1 -1
  156. package/dist/features/team-mode/team-registry/paths.d.ts +1 -1
  157. package/dist/features/team-mode/team-registry/team-spec-input-normalizer.d.ts +1 -1
  158. package/dist/features/team-mode/team-registry/validator.d.ts +1 -1
  159. package/dist/features/team-mode/team-state-store/active-resume.d.ts +1 -1
  160. package/dist/features/team-mode/team-state-store/creating-resume.d.ts +1 -1
  161. package/dist/features/team-mode/team-state-store/deleting-resume.d.ts +1 -1
  162. package/dist/features/team-mode/team-state-store/error-normalization.d.ts +1 -1
  163. package/dist/features/team-mode/team-state-store/index.d.ts +1 -1
  164. package/dist/features/team-mode/team-state-store/locks.d.ts +1 -1
  165. package/dist/features/team-mode/team-state-store/reservation-reconciliation.d.ts +1 -1
  166. package/dist/features/team-mode/team-state-store/resume-report.d.ts +1 -1
  167. package/dist/features/team-mode/team-state-store/resume.d.ts +1 -1
  168. package/dist/features/team-mode/team-state-store/runtime-cleanup.d.ts +1 -1
  169. package/dist/features/team-mode/team-state-store/session-liveness.d.ts +1 -1
  170. package/dist/features/team-mode/team-state-store/store.d.ts +1 -1
  171. package/dist/features/team-mode/team-state-store/worker-resume-status.d.ts +1 -1
  172. package/dist/features/team-mode/team-tasklist/claim.d.ts +1 -1
  173. package/dist/features/team-mode/team-tasklist/dependencies.d.ts +1 -1
  174. package/dist/features/team-mode/team-tasklist/get.d.ts +1 -1
  175. package/dist/features/team-mode/team-tasklist/index.d.ts +1 -1
  176. package/dist/features/team-mode/team-tasklist/list.d.ts +1 -1
  177. package/dist/features/team-mode/team-tasklist/store.d.ts +1 -1
  178. package/dist/features/team-mode/team-tasklist/test-support.d.ts +1 -1
  179. package/dist/features/team-mode/team-tasklist/update.d.ts +1 -1
  180. package/dist/features/team-mode/team-worktree/cleanup.d.ts +1 -1
  181. package/dist/features/team-mode/team-worktree/index.d.ts +1 -1
  182. package/dist/features/team-mode/team-worktree/manager.d.ts +1 -1
  183. package/dist/features/team-mode/tools/lifecycle-create-tool.d.ts +2 -2
  184. package/dist/features/team-mode/tools/lifecycle-inline-spec.d.ts +2 -2
  185. package/dist/features/team-mode/tools/lifecycle-participant.d.ts +2 -2
  186. package/dist/features/team-mode/tools/lifecycle-test-fixture.d.ts +1 -1
  187. package/dist/features/team-mode/tools/messaging-live-delivery-recipient.d.ts +2 -2
  188. package/dist/features/team-mode/tools/messaging-live-delivery-reservation.d.ts +1 -1
  189. package/dist/features/team-mode/tools/messaging-live-delivery-state.d.ts +1 -1
  190. package/dist/features/team-mode/tools/messaging-live-delivery.d.ts +1 -1
  191. package/dist/features/team-mode/tools/messaging-runtime.d.ts +2 -2
  192. package/dist/features/team-mode/tools/query.d.ts +3 -3
  193. package/dist/features/team-mode/tools/tasks.d.ts +2 -2
  194. package/dist/features/team-mode/types.d.ts +1 -1
  195. package/dist/hooks/ast-grep-sg-provision/hook.d.ts +1 -1
  196. package/dist/hooks/auto-slash-command/constants.d.ts +1 -1
  197. package/dist/hooks/auto-slash-command/detector.d.ts +1 -1
  198. package/dist/hooks/auto-slash-command/processed-command-store.d.ts +1 -1
  199. package/dist/hooks/auto-slash-command/types.d.ts +1 -1
  200. package/dist/hooks/codegraph-bootstrap/hook.d.ts +1 -1
  201. package/dist/hooks/comment-checker/cli.d.ts +1 -1
  202. package/dist/hooks/comment-checker/types.d.ts +1 -1
  203. package/dist/hooks/delegate-task-retry/guidance.d.ts +1 -1
  204. package/dist/hooks/delegate-task-retry/patterns.d.ts +2 -2
  205. package/dist/hooks/directory-agents-injector/finder.d.ts +2 -2
  206. package/dist/hooks/directory-agents-injector/injector.d.ts +1 -1
  207. package/dist/hooks/dreamer-trigger/index.d.ts +2 -2
  208. package/dist/hooks/rules-injector/constants.d.ts +1 -1
  209. package/dist/hooks/rules-injector/matcher.d.ts +2 -2
  210. package/dist/hooks/rules-injector/parser.d.ts +2 -2
  211. package/dist/hooks/rules-injector/project-root-finder.d.ts +1 -1
  212. package/dist/hooks/rules-injector/rule-distance.d.ts +1 -1
  213. package/dist/hooks/rules-injector/rule-file-finder.d.ts +2 -2
  214. package/dist/hooks/rules-injector/rule-file-scanner.d.ts +1 -1
  215. package/dist/hooks/rules-injector/rule-scan-cache.d.ts +2 -2
  216. package/dist/hooks/rules-injector/types.d.ts +1 -1
  217. package/dist/hooks/runtime-fallback/auto-retry-signal.d.ts +1 -1
  218. package/dist/hooks/runtime-fallback/error-classifier.d.ts +1 -1
  219. package/dist/hooks/runtime-fallback/fallback-state.d.ts +1 -1
  220. package/dist/hooks/tank-agents-md-injector/hook.d.ts +1 -1
  221. package/dist/hooks/tool-pair-validator/tool-part-ids.d.ts +1 -1
  222. package/dist/index.js +207 -53
  223. package/dist/mcp/codegraph.d.ts +1 -1
  224. package/dist/plugin/event-error-utils.d.ts +1 -1
  225. package/dist/plugin/record-session-end-episode.d.ts +1 -1
  226. package/dist/plugin/session-memory-recorder.d.ts +1 -1
  227. package/dist/plugin/types.d.ts +1 -1
  228. package/dist/profile-adapters.d.ts +1 -1
  229. package/dist/shared/archive-entry-validator.d.ts +1 -1
  230. package/dist/shared/bun-file-shim.d.ts +1 -1
  231. package/dist/shared/bun-spawn-shim.d.ts +1 -1
  232. package/dist/shared/bun-which-shim.d.ts +1 -1
  233. package/dist/shared/classify-path-environment.d.ts +1 -1
  234. package/dist/shared/command-executor/embedded-commands.d.ts +1 -1
  235. package/dist/shared/command-executor/execute-command.d.ts +1 -1
  236. package/dist/shared/command-executor/execute-hook-command.d.ts +1 -1
  237. package/dist/shared/command-executor/home-directory.d.ts +1 -1
  238. package/dist/shared/command-executor/resolve-commands-in-text.d.ts +1 -1
  239. package/dist/shared/command-executor/shell-path.d.ts +1 -1
  240. package/dist/shared/command-executor.d.ts +1 -1
  241. package/dist/shared/contains-path.d.ts +1 -1
  242. package/dist/shared/context-limit-resolver.d.ts +2 -2
  243. package/dist/shared/deep-merge.d.ts +1 -1
  244. package/dist/shared/extract-semver.d.ts +1 -1
  245. package/dist/shared/fallback-chain-from-models.d.ts +1 -1
  246. package/dist/shared/file-utils.d.ts +1 -1
  247. package/dist/shared/frontmatter.d.ts +1 -1
  248. package/dist/shared/git-worktree/collect-git-diff-stats.d.ts +1 -1
  249. package/dist/shared/git-worktree/format-file-changes.d.ts +1 -1
  250. package/dist/shared/git-worktree/index.d.ts +1 -1
  251. package/dist/shared/git-worktree/parse-diff-numstat.d.ts +1 -1
  252. package/dist/shared/git-worktree/parse-status-porcelain-line.d.ts +1 -1
  253. package/dist/shared/git-worktree/parse-status-porcelain.d.ts +1 -1
  254. package/dist/shared/git-worktree/types.d.ts +1 -1
  255. package/dist/shared/internal-initiator-marker.d.ts +1 -1
  256. package/dist/shared/jsonc-parser.d.ts +1 -1
  257. package/dist/shared/logger.d.ts +1 -1
  258. package/dist/shared/migration/agent-category.d.ts +1 -1
  259. package/dist/shared/migration/agent-names.d.ts +1 -1
  260. package/dist/shared/migration/config-migration.d.ts +1 -1
  261. package/dist/shared/migration/hook-names.d.ts +1 -1
  262. package/dist/shared/migration/migrations-sidecar.d.ts +1 -1
  263. package/dist/shared/migration/model-versions.d.ts +1 -1
  264. package/dist/shared/migration.d.ts +1 -1
  265. package/dist/shared/model-capabilities/index.d.ts +3 -3
  266. package/dist/shared/model-capabilities-cache.d.ts +1 -1
  267. package/dist/shared/model-error-classifier.d.ts +2 -2
  268. package/dist/shared/model-format-normalizer.d.ts +1 -1
  269. package/dist/shared/model-normalization.d.ts +1 -1
  270. package/dist/shared/model-requirements.d.ts +2 -2
  271. package/dist/shared/model-resolution-pipeline.d.ts +3 -3
  272. package/dist/shared/model-resolution-types.d.ts +1 -1
  273. package/dist/shared/model-resolver.d.ts +2 -2
  274. package/dist/shared/model-sanitizer.d.ts +1 -1
  275. package/dist/shared/model-settings-compatibility.d.ts +2 -2
  276. package/dist/shared/model-string-parser.d.ts +1 -1
  277. package/dist/shared/model-suggestion-retry.d.ts +2 -2
  278. package/dist/shared/port-utils.d.ts +1 -1
  279. package/dist/shared/posthog.d.ts +1 -1
  280. package/dist/shared/process-stream-reader.d.ts +1 -1
  281. package/dist/shared/prompt-async-gate/message-inspection-error.d.ts +1 -1
  282. package/dist/shared/prompt-async-gate/pending-tool-turn.d.ts +1 -1
  283. package/dist/shared/prompt-async-gate/prompt-message-state.d.ts +1 -1
  284. package/dist/shared/prompt-async-gate/queue.d.ts +1 -1
  285. package/dist/shared/prompt-async-gate/recent-dispatches.d.ts +1 -1
  286. package/dist/shared/prompt-async-gate/reservations.d.ts +1 -1
  287. package/dist/shared/prompt-async-gate/semantic-dedupe.d.ts +1 -1
  288. package/dist/shared/prompt-async-gate/session-idle-dispatch.d.ts +1 -1
  289. package/dist/shared/prompt-async-gate/timing.d.ts +1 -1
  290. package/dist/shared/prompt-async-gate/types.d.ts +1 -1
  291. package/dist/shared/prompt-async-gate.d.ts +2 -2
  292. package/dist/shared/prompt-failure-classifier.d.ts +1 -1
  293. package/dist/shared/provider-model-id-transform.d.ts +1 -1
  294. package/dist/shared/record-type-guard.d.ts +1 -1
  295. package/dist/shared/replace-tool-args.d.ts +1 -1
  296. package/dist/shared/session-idle-settle.d.ts +1 -1
  297. package/dist/shared/shell-env.d.ts +1 -1
  298. package/dist/shared/skill-path-resolver.d.ts +1 -1
  299. package/dist/shared/snake-case.d.ts +1 -1
  300. package/dist/shared/telemetry-product-identity.d.ts +1 -1
  301. package/dist/shared/tmux/cmux-detect.d.ts +1 -1
  302. package/dist/shared/tmux/constants.d.ts +1 -1
  303. package/dist/shared/tmux/runner.d.ts +2 -2
  304. package/dist/shared/tmux/tmux-utils/adapter-deps.d.ts +1 -1
  305. package/dist/shared/tmux/tmux-utils/environment.d.ts +2 -2
  306. package/dist/shared/tmux/tmux-utils/layout.d.ts +2 -2
  307. package/dist/shared/tmux/tmux-utils/pane-close.d.ts +1 -1
  308. package/dist/shared/tmux/tmux-utils/pane-command.d.ts +1 -1
  309. package/dist/shared/tmux/tmux-utils/pane-dimensions.d.ts +1 -1
  310. package/dist/shared/tmux/tmux-utils/pane-replace.d.ts +1 -1
  311. package/dist/shared/tmux/tmux-utils/pane-spawn.d.ts +1 -1
  312. package/dist/shared/tmux/tmux-utils/server-health.d.ts +2 -2
  313. package/dist/shared/tmux/tmux-utils/session-spawn.d.ts +2 -2
  314. package/dist/shared/tmux/tmux-utils/spawn-process.d.ts +1 -1
  315. package/dist/shared/tmux/tmux-utils/stale-session-sweep.d.ts +2 -2
  316. package/dist/shared/tmux/tmux-utils/window-spawn.d.ts +1 -1
  317. package/dist/shared/tmux/types.d.ts +1 -1
  318. package/dist/shared/tool-name.d.ts +1 -1
  319. package/dist/shared/zip-entry-listing/powershell-zip-entry-listing.d.ts +1 -1
  320. package/dist/shared/zip-entry-listing/python-zip-entry-listing.d.ts +1 -1
  321. package/dist/shared/zip-entry-listing/read-zip-symlink-target.d.ts +1 -1
  322. package/dist/shared/zip-entry-listing/tar-zip-entry-listing.d.ts +1 -1
  323. package/dist/shared/zip-entry-listing/zipinfo-zip-entry-listing.d.ts +1 -1
  324. package/dist/shared/zip-entry-listing.d.ts +1 -1
  325. package/dist/skills/frontend/ATTRIBUTION.md +1 -1
  326. package/dist/skills/ultimate-browsing/ATTRIBUTION.md +1 -1
  327. package/dist/skills/ulw-research/ATTRIBUTION.md +1 -1
  328. package/dist/testing/create-gateway-relay.d.ts +5 -1
  329. package/dist/tools/delegate-task/model-selection.d.ts +1 -1
  330. package/dist/tools/delegate-task/model-string-parser.d.ts +1 -1
  331. package/dist/tools/delegate-task/sync-task-deps.d.ts +1 -1
  332. package/dist/tools/hashline-edit/autocorrect-replacement-lines.d.ts +1 -1
  333. package/dist/tools/hashline-edit/constants.d.ts +1 -1
  334. package/dist/tools/hashline-edit/diff-utils.d.ts +1 -1
  335. package/dist/tools/hashline-edit/edit-deduplication.d.ts +1 -1
  336. package/dist/tools/hashline-edit/edit-operation-primitives.d.ts +1 -1
  337. package/dist/tools/hashline-edit/edit-operations.d.ts +2 -2
  338. package/dist/tools/hashline-edit/edit-ordering.d.ts +1 -1
  339. package/dist/tools/hashline-edit/edit-text-normalization.d.ts +1 -1
  340. package/dist/tools/hashline-edit/file-text-canonicalization.d.ts +2 -2
  341. package/dist/tools/hashline-edit/hash-computation.d.ts +2 -2
  342. package/dist/tools/hashline-edit/hashline-chunk-formatter.d.ts +2 -2
  343. package/dist/tools/hashline-edit/hashline-edit-diff.d.ts +1 -1
  344. package/dist/tools/hashline-edit/normalize-edits.d.ts +2 -2
  345. package/dist/tools/hashline-edit/types.d.ts +1 -1
  346. package/dist/tools/hashline-edit/validation.d.ts +2 -2
  347. package/dist/tools/skill/scope-priority.d.ts +1 -1
  348. package/dist/tools/skill/skill-matcher.d.ts +1 -1
  349. package/dist/tui.js +4 -0
  350. package/package.json +27 -24
  351. package/packages/git-bash-mcp/package.json +3 -3
  352. package/packages/lsp-core/package.json +3 -3
  353. package/packages/lsp-core/src/mcp.ts +1 -1
  354. package/packages/lsp-daemon/dist/daemon-client.d.ts +2 -2
  355. package/packages/lsp-daemon/dist/daemon-client.js +2 -2
  356. package/packages/lsp-daemon/dist/daemon-server.js +1 -1
  357. package/packages/lsp-daemon/dist/index.d.ts +1 -1
  358. package/packages/lsp-daemon/dist/ipc-protocol.js +1 -1
  359. package/packages/lsp-daemon/dist/package.json +1 -1
  360. package/packages/lsp-daemon/dist/proxy.js +4 -4
  361. package/packages/lsp-daemon/dist/request-routing.d.ts +1 -1
  362. package/packages/lsp-daemon/dist/request-routing.js +3 -3
  363. package/packages/lsp-daemon/package.json +3 -3
  364. package/packages/lsp-tools-mcp/dist/lsp/cleanup-errors.d.ts +1 -1
  365. package/packages/lsp-tools-mcp/dist/lsp/client-wrapper.d.ts +1 -1
  366. package/packages/lsp-tools-mcp/dist/lsp/client.d.ts +1 -1
  367. package/packages/lsp-tools-mcp/dist/lsp/config-loader.d.ts +1 -1
  368. package/packages/lsp-tools-mcp/dist/lsp/connection.d.ts +1 -1
  369. package/packages/lsp-tools-mcp/dist/lsp/constants.d.ts +1 -1
  370. package/packages/lsp-tools-mcp/dist/lsp/directory-diagnostics.d.ts +1 -1
  371. package/packages/lsp-tools-mcp/dist/lsp/effective-extension.d.ts +1 -1
  372. package/packages/lsp-tools-mcp/dist/lsp/errors.d.ts +1 -1
  373. package/packages/lsp-tools-mcp/dist/lsp/formatters.d.ts +1 -1
  374. package/packages/lsp-tools-mcp/dist/lsp/infer-extension.d.ts +1 -1
  375. package/packages/lsp-tools-mcp/dist/lsp/json-rpc-connection.d.ts +1 -1
  376. package/packages/lsp-tools-mcp/dist/lsp/language-mappings.d.ts +1 -1
  377. package/packages/lsp-tools-mcp/dist/lsp/manager.d.ts +1 -1
  378. package/packages/lsp-tools-mcp/dist/lsp/process-signal-cleanup.d.ts +1 -1
  379. package/packages/lsp-tools-mcp/dist/lsp/process.d.ts +1 -1
  380. package/packages/lsp-tools-mcp/dist/lsp/server-definitions.d.ts +1 -1
  381. package/packages/lsp-tools-mcp/dist/lsp/server-install-state.d.ts +1 -1
  382. package/packages/lsp-tools-mcp/dist/lsp/server-installation.d.ts +1 -1
  383. package/packages/lsp-tools-mcp/dist/lsp/server-resolution.d.ts +1 -1
  384. package/packages/lsp-tools-mcp/dist/lsp/startup-failure.d.ts +1 -1
  385. package/packages/lsp-tools-mcp/dist/lsp/transport.d.ts +1 -1
  386. package/packages/lsp-tools-mcp/dist/lsp/types.d.ts +1 -1
  387. package/packages/lsp-tools-mcp/dist/lsp/utils.d.ts +1 -1
  388. package/packages/lsp-tools-mcp/dist/lsp/workspace-edit.d.ts +1 -1
  389. package/packages/lsp-tools-mcp/dist/mcp.d.ts +1 -1
  390. package/packages/lsp-tools-mcp/dist/missing-dependency-result.d.ts +1 -1
  391. package/packages/lsp-tools-mcp/dist/request-context.d.ts +1 -1
  392. package/packages/lsp-tools-mcp/dist/tools.d.ts +1 -1
  393. package/packages/lsp-tools-mcp/package.json +3 -3
  394. package/packages/shared-skills/package.json +2 -2
  395. package/packages/shared-skills/skills/frontend/ATTRIBUTION.md +1 -1
  396. package/packages/shared-skills/skills/ultimate-browsing/ATTRIBUTION.md +1 -1
  397. package/packages/shared-skills/skills/ulw-research/ATTRIBUTION.md +1 -1
@@ -2145,7 +2145,7 @@ var package_default;
2145
2145
  var init_package = __esm(() => {
2146
2146
  package_default = {
2147
2147
  name: "@kl-c/matrixos",
2148
- version: "0.1.26",
2148
+ version: "0.1.31",
2149
2149
  description: "MaTrixOS \u2014 Agentic OS for OpenCode. Personalizable, communicating, self-improving, resilient.",
2150
2150
  main: "./dist/index.js",
2151
2151
  types: "dist/index.d.ts",
@@ -2177,6 +2177,9 @@ var init_package = __esm(() => {
2177
2177
  "packages/daily-brief-core",
2178
2178
  "packages/task-ledger-core",
2179
2179
  "packages/rgpd-compliance-core",
2180
+ "packages/dashboard-core",
2181
+ "packages/http-server-core",
2182
+ "packages/webhook-core",
2180
2183
  "packages/omo-opencode"
2181
2184
  ],
2182
2185
  bin: {
@@ -2295,30 +2298,30 @@ var init_package = __esm(() => {
2295
2298
  zod: "^4.4.3"
2296
2299
  },
2297
2300
  devDependencies: {
2298
- "@oh-my-opencode/agents-md-core": "workspace:*",
2299
- "@oh-my-opencode/boulder-state": "workspace:*",
2300
- "@oh-my-opencode/claude-code-compat-core": "workspace:*",
2301
- "@oh-my-opencode/comment-checker-core": "workspace:*",
2302
- "@oh-my-opencode/delegate-core": "workspace:*",
2301
+ "@matrixos/agents-md-core": "workspace:*",
2302
+ "@matrixos/boulder-state": "workspace:*",
2303
+ "@matrixos/claude-code-compat-core": "workspace:*",
2304
+ "@matrixos/comment-checker-core": "workspace:*",
2305
+ "@matrixos/delegate-core": "workspace:*",
2303
2306
  "@matrixos/egress-core": "workspace:*",
2304
- "@oh-my-opencode/git-bash-mcp": "workspace:*",
2305
- "@oh-my-opencode/hashline-core": "workspace:*",
2306
- "@oh-my-opencode/learning-loop": "workspace:*",
2307
- "@oh-my-opencode/lsp-core": "workspace:*",
2308
- "@oh-my-opencode/mcp-client-core": "workspace:*",
2309
- "@oh-my-opencode/mcp-stdio-core": "workspace:*",
2310
- "@oh-my-opencode/model-core": "workspace:*",
2311
- "@oh-my-opencode/omo-config-core": "workspace:*",
2312
- "@oh-my-opencode/matrix-gateway-core": "workspace:*",
2313
- "@oh-my-opencode/prompts-core": "workspace:*",
2314
- "@oh-my-opencode/rules-engine": "workspace:*",
2315
- "@oh-my-opencode/rgpd-compliance-core": "workspace:*",
2316
- "@oh-my-opencode/shared-skills": "workspace:*",
2317
- "@oh-my-opencode/skills-loader-core": "workspace:*",
2318
- "@oh-my-opencode/team-core": "workspace:*",
2319
- "@oh-my-opencode/telemetry-core": "workspace:*",
2320
- "@oh-my-opencode/tmux-core": "workspace:*",
2321
- "@oh-my-opencode/utils": "workspace:*",
2307
+ "@matrixos/git-bash-mcp": "workspace:*",
2308
+ "@matrixos/hashline-core": "workspace:*",
2309
+ "@matrixos/learning-loop": "workspace:*",
2310
+ "@matrixos/lsp-core": "workspace:*",
2311
+ "@matrixos/mcp-client-core": "workspace:*",
2312
+ "@matrixos/mcp-stdio-core": "workspace:*",
2313
+ "@matrixos/model-core": "workspace:*",
2314
+ "@matrixos/omo-config-core": "workspace:*",
2315
+ "@matrixos/matrix-gateway-core": "workspace:*",
2316
+ "@matrixos/prompts-core": "workspace:*",
2317
+ "@matrixos/rules-engine": "workspace:*",
2318
+ "@matrixos/rgpd-compliance-core": "workspace:*",
2319
+ "@matrixos/shared-skills": "workspace:*",
2320
+ "@matrixos/skills-loader-core": "workspace:*",
2321
+ "@matrixos/team-core": "workspace:*",
2322
+ "@matrixos/telemetry-core": "workspace:*",
2323
+ "@matrixos/tmux-core": "workspace:*",
2324
+ "@matrixos/utils": "workspace:*",
2322
2325
  "@types/js-yaml": "^4.0.9",
2323
2326
  "@types/picomatch": "^4.0.3",
2324
2327
  "@typescript/native-preview": "7.0.0-dev.20260518.1",
@@ -6827,6 +6830,21 @@ function parseJsonc(content) {
6827
6830
  }
6828
6831
  return result;
6829
6832
  }
6833
+ function parseJsoncSafe(content) {
6834
+ const errors = [];
6835
+ const data = parse2(stripBom2(content), errors, {
6836
+ allowTrailingComma: true,
6837
+ disallowComments: false
6838
+ });
6839
+ return {
6840
+ data: errors.length > 0 ? null : data,
6841
+ errors: errors.map((e) => ({
6842
+ message: printParseErrorCode(e.error),
6843
+ offset: e.offset,
6844
+ length: e.length
6845
+ }))
6846
+ };
6847
+ }
6830
6848
  function detectConfigFile(basePath) {
6831
6849
  const jsoncPath = `${basePath}.jsonc`;
6832
6850
  const jsonPath = `${basePath}.json`;
@@ -82212,7 +82230,7 @@ var defaultFS, TPL_PACKAGE_JSON = (name2, displayName, version2, description, ex
82212
82230
  "test": "bun test"
82213
82231
  },
82214
82232
  "dependencies": {
82215
- "@oh-my-opencode/omo-config-core": "workspace:*"
82233
+ "@matrixos/omo-config-core": "workspace:*"
82216
82234
  },
82217
82235
  "peerDependencies": {
82218
82236
  "matrixos": ">=0.1.0"
@@ -82235,7 +82253,7 @@ var defaultFS, TPL_PACKAGE_JSON = (name2, displayName, version2, description, ex
82235
82253
  * ${displayName} \u2014 ${description}
82236
82254
  * Generated by MaTrixOS Mini-OS Profile Generator.
82237
82255
  */
82238
- import type { Profile } from "@oh-my-opencode/omo-config-core"
82256
+ import type { Profile } from "@matrixos/omo-config-core"
82239
82257
 
82240
82258
  export const profile: Profile = {
82241
82259
  name: ${JSON.stringify(name2)},
@@ -117785,6 +117803,108 @@ var init_generate = __esm(() => {
117785
117803
  };
117786
117804
  });
117787
117805
 
117806
+ // packages/omo-opencode/src/cli/migrate.ts
117807
+ var exports_migrate = {};
117808
+ __export(exports_migrate, {
117809
+ executeMigrateCommand: () => executeMigrateCommand
117810
+ });
117811
+ import * as fs21 from "fs";
117812
+ function executeMigrateCommand(opts, targetPath = "matrixos.jsonc") {
117813
+ const fsys = opts.fs ?? fs21;
117814
+ if (!fsys.existsSync(opts.sourcePath)) {
117815
+ throw new Error(`Source config not found: ${opts.sourcePath}`);
117816
+ }
117817
+ const raw = fsys.readFileSync(opts.sourcePath, "utf-8");
117818
+ const parsed = parseJsoncSafe(raw);
117819
+ const source = parsed?.data ?? parsed;
117820
+ if (typeof source !== "object" || source === null) {
117821
+ throw new Error("Source config is not a valid JSONC object");
117822
+ }
117823
+ const target = {};
117824
+ const ignored = [];
117825
+ for (const [k, v] of Object.entries(source)) {
117826
+ if (KNOWN_KEYS.includes(k))
117827
+ target[k] = v;
117828
+ else
117829
+ ignored.push(k);
117830
+ }
117831
+ target.migratedFrom = "omo";
117832
+ target.migratedAt = new Date().toISOString();
117833
+ const serialized = JSON.stringify(target, null, 2) + `
117834
+ `;
117835
+ fsys.writeFileSync(targetPath, serialized);
117836
+ return {
117837
+ stdout: `Migrated OMO config '${opts.sourcePath}' \u2192 '${targetPath}'
117838
+ ` + `Carried: ${KNOWN_KEYS.filter((k) => (k in target)).join(", ") || "(none)"}
117839
+ ` + (ignored.length ? `Ignored (review manually): ${ignored.join(", ")}
117840
+ ` : `No ignored keys.
117841
+ `),
117842
+ targetPath,
117843
+ config: target,
117844
+ ignoredKeys: ignored
117845
+ };
117846
+ }
117847
+ var KNOWN_KEYS;
117848
+ var init_migrate = __esm(() => {
117849
+ init_src();
117850
+ KNOWN_KEYS = [
117851
+ "model",
117852
+ "agents",
117853
+ "hooks",
117854
+ "egress",
117855
+ "permissions",
117856
+ "learning",
117857
+ "telemetry",
117858
+ "cost",
117859
+ "dashboard",
117860
+ "gateway",
117861
+ "mcpServers",
117862
+ "skills"
117863
+ ];
117864
+ });
117865
+
117866
+ // packages/omo-opencode/src/cli/profile.ts
117867
+ var exports_profile = {};
117868
+ __export(exports_profile, {
117869
+ executeCreateProfileCommand: () => executeCreateProfileCommand,
117870
+ DEFAULT_USER_PROFILES_DIR: () => DEFAULT_USER_PROFILES_DIR
117871
+ });
117872
+ import * as fs22 from "fs";
117873
+ import * as path27 from "path";
117874
+ import * as os13 from "os";
117875
+ function executeCreateProfileCommand(opts) {
117876
+ if (!/^[a-z0-9][a-z0-9-]{1,30}$/.test(opts.name)) {
117877
+ throw new Error("Profile name must match [a-z0-9][a-z0-9-]{1,30} (lowercase, digits, hyphens).");
117878
+ }
117879
+ const fsys = opts.fs ?? fs22;
117880
+ const dir = opts.profilesDir ?? DEFAULT_USER_PROFILES_DIR;
117881
+ if (!fsys.existsSync(dir))
117882
+ fsys.mkdirSync(dir, { recursive: true });
117883
+ const profilePath = path27.join(dir, `${opts.name}.json`);
117884
+ const profile2 = ProfileSchema.parse({
117885
+ name: opts.name,
117886
+ displayName: opts.displayName ?? opts.name.charAt(0).toUpperCase() + opts.name.slice(1),
117887
+ description: opts.description ?? `Mini-OS profile for ${opts.name}.`,
117888
+ version: "0.1.0",
117889
+ baseAgent: opts.baseAgent ?? "morpheus",
117890
+ extends: opts.extends ?? [],
117891
+ agents: {}
117892
+ });
117893
+ fsys.writeFileSync(profilePath, JSON.stringify(profile2, null, 2) + `
117894
+ `);
117895
+ return {
117896
+ stdout: `Profile '${opts.name}' created at ${profilePath}
117897
+ Edit it, then run: matrixos generate ${opts.name}`,
117898
+ profilePath,
117899
+ profile: profile2
117900
+ };
117901
+ }
117902
+ var DEFAULT_USER_PROFILES_DIR;
117903
+ var init_profile2 = __esm(() => {
117904
+ init_src4();
117905
+ DEFAULT_USER_PROFILES_DIR = path27.join(os13.homedir(), ".matrixos", "profiles");
117906
+ });
117907
+
117788
117908
  // packages/omo-opencode/src/cli/cost-report.ts
117789
117909
  var exports_cost_report = {};
117790
117910
  __export(exports_cost_report, {
@@ -117792,10 +117912,10 @@ __export(exports_cost_report, {
117792
117912
  });
117793
117913
  import { Database as Database6 } from "bun:sqlite";
117794
117914
  import { existsSync as existsSync71 } from "fs";
117795
- import * as path27 from "path";
117796
- import * as os13 from "os";
117915
+ import * as path28 from "path";
117916
+ import * as os14 from "os";
117797
117917
  function executeCostReportCommand(args) {
117798
- const dbPath = path27.join(os13.homedir(), ".matrixos", "cost.db");
117918
+ const dbPath = path28.join(os14.homedir(), ".matrixos", "cost.db");
117799
117919
  if (!existsSync71(dbPath)) {
117800
117920
  return { exitCode: 1, stdout: `No cost data available
117801
117921
  ` };
@@ -117927,7 +118047,7 @@ __export(exports_profile_resolve, {
117927
118047
  executeProfileResolveCommand: () => executeProfileResolveCommand
117928
118048
  });
117929
118049
  import { existsSync as existsSync72, readdirSync as readdirSync15, readFileSync as readFileSync57 } from "fs";
117930
- import { join as join78, resolve as resolve17, dirname as dirname29 } from "path";
118050
+ import { join as join79, resolve as resolve17, dirname as dirname29 } from "path";
117931
118051
  function executeProfileResolveCommand(args) {
117932
118052
  if (args.options.help) {
117933
118053
  return {
@@ -117952,7 +118072,7 @@ function executeProfileResolveCommand(args) {
117952
118072
  ` };
117953
118073
  }
117954
118074
  const name2 = nameRaw.endsWith(".json") ? nameRaw.slice(0, -5) : nameRaw;
117955
- const profilesDir = join78(REPO_ROOT2, PROFILES_RELATIVE2);
118075
+ const profilesDir = join79(REPO_ROOT2, PROFILES_RELATIVE2);
117956
118076
  if (!existsSync72(profilesDir)) {
117957
118077
  return { exitCode: 1, stdout: `error: profiles directory not found at ${profilesDir}
117958
118078
  ` };
@@ -117972,7 +118092,7 @@ function executeProfileResolveCommand(args) {
117972
118092
  const registry2 = {};
117973
118093
  for (const file3 of profileFiles) {
117974
118094
  try {
117975
- const filePath = join78(profilesDir, file3);
118095
+ const filePath = join79(profilesDir, file3);
117976
118096
  const raw = JSON.parse(readFileSync57(filePath, "utf-8"));
117977
118097
  const profile2 = ProfileSchema.parse(raw);
117978
118098
  registry2[profile2.name] = profile2;
@@ -118036,7 +118156,7 @@ __export(exports_export, {
118036
118156
  executeExportCommand: () => executeExportCommand
118037
118157
  });
118038
118158
  import { existsSync as existsSync73, readFileSync as readFileSync58, writeFileSync as writeFileSync25, copyFileSync as copyFileSync7, realpathSync as realpathSync11, mkdirSync as mkdirSync26 } from "fs";
118039
- import { isAbsolute as isAbsolute7, join as join79, resolve as resolve18, dirname as dirname30 } from "path";
118159
+ import { isAbsolute as isAbsolute7, join as join80, resolve as resolve18, dirname as dirname30 } from "path";
118040
118160
  import { spawnSync as spawnSync3 } from "child_process";
118041
118161
  function setShell(shell) {
118042
118162
  activeShell = shell;
@@ -118045,7 +118165,7 @@ function getShell() {
118045
118165
  return activeShell;
118046
118166
  }
118047
118167
  function executeExportCommand(args) {
118048
- const fs21 = args.options.fs ?? defaultExportFS;
118168
+ const fs23 = args.options.fs ?? defaultExportFS;
118049
118169
  const shell = args.options.shell ?? activeShell;
118050
118170
  const name2 = args.positional[0] ?? args.options.profile;
118051
118171
  if (!name2) {
@@ -118056,7 +118176,7 @@ function executeExportCommand(args) {
118056
118176
  };
118057
118177
  }
118058
118178
  try {
118059
- loadProfile(name2, { profilesDir: args.options.profilesDir, fs: fs21 });
118179
+ loadProfile(name2, { profilesDir: args.options.profilesDir, fs: fs23 });
118060
118180
  } catch (err) {
118061
118181
  const message = err instanceof Error ? err.message : String(err);
118062
118182
  return { exitCode: 1, stdout: `error: ${message}
@@ -118070,23 +118190,23 @@ function executeExportCommand(args) {
118070
118190
  name: name2,
118071
118191
  targetDir: absoluteTargetDir,
118072
118192
  profilesDir: args.options.profilesDir,
118073
- fs: fs21
118193
+ fs: fs23
118074
118194
  });
118075
118195
  } catch (err) {
118076
118196
  const message = err instanceof Error ? err.message : String(err);
118077
118197
  return { exitCode: 1, stdout: `error: generate failed: ${message}
118078
118198
  ` };
118079
118199
  }
118080
- const pkgPath = join79(absoluteTargetDir, "package.json");
118200
+ const pkgPath = join80(absoluteTargetDir, "package.json");
118081
118201
  let pkg;
118082
118202
  try {
118083
- pkg = JSON.parse(fs21.readFileSync(pkgPath, "utf-8"));
118203
+ pkg = JSON.parse(fs23.readFileSync(pkgPath, "utf-8"));
118084
118204
  } catch (err) {
118085
118205
  return { exitCode: 1, stdout: `error: failed to read package.json: ${err}
118086
118206
  ` };
118087
118207
  }
118088
118208
  delete pkg.private;
118089
- fs21.writeFileSync(pkgPath, JSON.stringify(pkg, null, 2) + `
118209
+ fs23.writeFileSync(pkgPath, JSON.stringify(pkg, null, 2) + `
118090
118210
  `);
118091
118211
  const hasDeps = typeof pkg.dependencies === "object" && pkg.dependencies !== null && Object.keys(pkg.dependencies).length > 0;
118092
118212
  const hasPeerDeps = typeof pkg.peerDependencies === "object" && pkg.peerDependencies !== null && Object.keys(pkg.peerDependencies).length > 0;
@@ -118117,15 +118237,15 @@ ${packResult.stdout}
118117
118237
  return { exitCode: 1, stdout: `error: npm pack produced no tarball name in output
118118
118238
  ` };
118119
118239
  }
118120
- let tgzPath = join79(absoluteTargetDir, tgzName);
118240
+ let tgzPath = join80(absoluteTargetDir, tgzName);
118121
118241
  if (args.options.output) {
118122
118242
  const outputPath = args.options.output;
118123
118243
  const absoluteOutput = isAbsolute7(outputPath) ? outputPath : resolve18(process.cwd(), outputPath);
118124
118244
  const outputDir = dirname30(absoluteOutput);
118125
- if (!fs21.existsSync(outputDir)) {
118126
- fs21.mkdirSync(outputDir, { recursive: true });
118245
+ if (!fs23.existsSync(outputDir)) {
118246
+ fs23.mkdirSync(outputDir, { recursive: true });
118127
118247
  }
118128
- fs21.copyFileSync(tgzPath, absoluteOutput);
118248
+ fs23.copyFileSync(tgzPath, absoluteOutput);
118129
118249
  tgzPath = absoluteOutput;
118130
118250
  }
118131
118251
  return {
@@ -118276,7 +118396,7 @@ __export(exports_rgpd_command, {
118276
118396
  executeRgpdConsentCommand: () => executeRgpdConsentCommand
118277
118397
  });
118278
118398
  function executeRgpdForgetCommand(args) {
118279
- const { forget } = __require("@oh-my-opencode/rgpd-compliance-core");
118399
+ const { forget } = __require("@matrixos/rgpd-compliance-core");
118280
118400
  const forgetOptions = {
118281
118401
  dryRun: args.options.dryRun ?? false
118282
118402
  };
@@ -118328,7 +118448,7 @@ function executeRgpdForgetCommand(args) {
118328
118448
  }
118329
118449
  }
118330
118450
  function executeRgpdExportCommand(args) {
118331
- const { exportData } = __require("@oh-my-opencode/rgpd-compliance-core");
118451
+ const { exportData } = __require("@matrixos/rgpd-compliance-core");
118332
118452
  try {
118333
118453
  const exportOptions = {
118334
118454
  redactSecrets: args.options.redactSecrets ?? false
@@ -118362,7 +118482,7 @@ function executeRgpdExportCommand(args) {
118362
118482
  }
118363
118483
  }
118364
118484
  function executeRgpdConsentCommand(args) {
118365
- const { loadConsent, saveConsent, getDefaultConsent } = __require("@oh-my-opencode/rgpd-compliance-core");
118485
+ const { loadConsent, saveConsent, getDefaultConsent } = __require("@matrixos/rgpd-compliance-core");
118366
118486
  try {
118367
118487
  const hasFlags = args.options.enableMemory !== undefined || args.options.enableGateway !== undefined || args.options.enableTelemetry !== undefined;
118368
118488
  if (!hasFlags) {
@@ -124796,7 +124916,7 @@ function writePostHogActivityState(stateDir, nextState, diagnostics) {
124796
124916
 
124797
124917
  // packages/telemetry-core/src/constants.ts
124798
124918
  var DEFAULT_POSTHOG_HOST = "https://us.i.posthog.com";
124799
- var DEFAULT_POSTHOG_API_KEY = "phc_CFJhj5HyvA62QPhvyaUCtaq23aUfznnijg5VaaGkNk74";
124919
+ var DEFAULT_POSTHOG_API_KEY = "";
124800
124920
 
124801
124921
  // packages/telemetry-core/src/env.ts
124802
124922
  var TRUTHY_DISABLE_VALUES = ["1", "true", "yes"];
@@ -141854,6 +141974,13 @@ function createDashboardServer(dataProvider, config4) {
141854
141974
  return Response.json(dataProvider.getLogs(), { headers: jsonHeaders });
141855
141975
  case "/api/config": {
141856
141976
  if (req.method === "PUT") {
141977
+ const xPassphrase = req.headers.get("x-passphrase");
141978
+ if (!config4.gatewayPassphrase) {
141979
+ return Response.json({ error: "Passphrase not configured" }, { status: 400, headers: jsonHeaders });
141980
+ }
141981
+ if (!xPassphrase || xPassphrase !== config4.gatewayPassphrase) {
141982
+ return Response.json({ error: "Invalid passphrase" }, { status: 401, headers: jsonHeaders });
141983
+ }
141857
141984
  const body = await req.json();
141858
141985
  const result = dataProvider.updateConfig(body);
141859
141986
  return Response.json(result, { headers: jsonHeaders });
@@ -141945,7 +142072,7 @@ function loadGatewayPassphrase() {
141945
142072
  }
141946
142073
  async function dashboardCli(options) {
141947
142074
  const port = options.port ?? 9123;
141948
- const host = options.host ?? "0.0.0.0";
142075
+ const host = options.host ?? "127.0.0.1";
141949
142076
  const frontendDir = path25.resolve(import.meta.dir, "../features/dashboard/frontend");
141950
142077
  const gatewayPassphrase = loadGatewayPassphrase();
141951
142078
  console.log(`[dashboard] starting MaTrixOS dashboard on http://${host}:${port}`);
@@ -142268,7 +142395,7 @@ function configureRuntimeCommands(program2) {
142268
142395
  const exitCode = await architectRollback({ ...options, id });
142269
142396
  process.exit(exitCode);
142270
142397
  });
142271
- program2.command("dashboard").description("Start the MaTrixOS web dashboard (port 9123)").option("-p, --port <number>", "HTTP port", "9123").option("--host <addr>", "Bind address", "0.0.0.0").option("--daemon", "Run in background (no Ctrl+C)").action(async (options) => {
142398
+ program2.command("dashboard").description("Start the MaTrixOS web dashboard (port 9123)").option("-p, --port <number>", "HTTP port", "9123").option("--host <addr>", "Bind address", "127.0.0.1").option("--daemon", "Run in background (no Ctrl+C)").action(async (options) => {
142272
142399
  const exitCode = await dashboardCli({
142273
142400
  port: parseInt(options.port ?? "9123", 10),
142274
142401
  host: options.host,
@@ -142428,6 +142555,8 @@ Examples:
142428
142555
  Available profiles: trader, plumber (see assets/profiles/)
142429
142556
  `).action(async (name2, options) => {
142430
142557
  const { executeGenerateCommand: executeGenerateCommand2 } = await Promise.resolve().then(() => (init_generate(), exports_generate));
142558
+ const { executeMigrateCommand: executeMigrateCommand2 } = await Promise.resolve().then(() => (init_migrate(), exports_migrate));
142559
+ const { executeCreateProfileCommand: executeCreateProfileCommand2 } = await Promise.resolve().then(() => (init_profile2(), exports_profile));
142431
142560
  const result = executeGenerateCommand2({
142432
142561
  positional: name2 ? [name2] : [],
142433
142562
  options: { targetDir: options.targetDir, packageName: options.packageName, list: options.list }
@@ -142435,6 +142564,34 @@ Available profiles: trader, plumber (see assets/profiles/)
142435
142564
  process.stdout.write(result.stdout);
142436
142565
  process.exit(result.exitCode);
142437
142566
  });
142567
+ program2.command("profile <action> [name]").description("Manage business profiles: `matrixos profile create <metier>`").option("-d, --display-name <name>", "Human-friendly name").option("--description <text>", "Profile description").option("-b, --base-agent <agent>", "Base agent (default: morpheus)").option("-e, --extends <list>", "Comma-separated base profiles to extend").action(async (action, name2, options) => {
142568
+ if (action !== "create") {
142569
+ process.stdout.write(`Unknown profile action: ${action}. Only 'create' is supported.
142570
+ `);
142571
+ return;
142572
+ }
142573
+ if (!name2) {
142574
+ process.stdout.write(`Usage: matrixos profile create <metier>
142575
+ `);
142576
+ return;
142577
+ }
142578
+ const { executeCreateProfileCommand: executeCreateProfileCommand2 } = await Promise.resolve().then(() => (init_profile2(), exports_profile));
142579
+ const result = executeCreateProfileCommand2({
142580
+ name: name2,
142581
+ displayName: options.displayName,
142582
+ description: options.description,
142583
+ baseAgent: options.baseAgent,
142584
+ extends: options.extends ? options.extends.split(",").map((x) => x.trim()).filter(Boolean) : undefined
142585
+ });
142586
+ process.stdout.write(result.stdout + `
142587
+ `);
142588
+ });
142589
+ program2.command("migrate").description("Import an OMO config into MaTrixOS (scope minimal: known keys)").requiredOption("--from-omo <path>", "Path to the source omo.jsonc").option("--out <path>", "Target config path", "matrixos.jsonc").action(async (options) => {
142590
+ const { executeMigrateCommand: executeMigrateCommand2 } = await Promise.resolve().then(() => (init_migrate(), exports_migrate));
142591
+ const result = executeMigrateCommand2({ sourcePath: options.fromOmo }, options.out ?? "matrixos.jsonc");
142592
+ process.stdout.write(result.stdout + `
142593
+ `);
142594
+ });
142438
142595
  program2.command("cost report").description("Display cost usage and budget reports").option("--period <period>", "Report period: daily, weekly, monthly", "daily").option("--json", "Output as JSON").action(async (options) => {
142439
142596
  const { executeCostReportCommand: executeCostReportCommand2 } = await Promise.resolve().then(() => (init_cost_report(), exports_cost_report));
142440
142597
  const result = executeCostReportCommand2({ positional: [], options: { period: options.period, json: options.json } });
@@ -1,4 +1,4 @@
1
- import { type GatewayConfig } from "@oh-my-opencode/matrix-gateway-core";
1
+ import { type GatewayConfig } from "@matrixos/matrix-gateway-core";
2
2
  /**
3
3
  * Multi-channel messaging gateway (Telegram / Discord / WhatsApp).
4
4
  * Opt-in: the gateway only starts when this section is present AND `enabled` is true.
@@ -1 +1 @@
1
- export * from "@oh-my-opencode/skills-loader-core/config/git-env-prefix";
1
+ export * from "@matrixos/skills-loader-core/config/git-env-prefix";
@@ -1 +1 @@
1
- export * from "@oh-my-opencode/team-core/config";
1
+ export * from "@matrixos/team-core/config";
@@ -1,5 +1,5 @@
1
1
  import { z } from "zod";
2
- import type { TmuxConfig, TmuxIsolation, TmuxLayout } from "@oh-my-opencode/tmux-core";
2
+ import type { TmuxConfig, TmuxIsolation, TmuxLayout } from "@matrixos/tmux-core";
3
3
  export declare const TmuxLayoutSchema: z.ZodEnum<{
4
4
  "main-horizontal": "main-horizontal";
5
5
  "main-vertical": "main-vertical";
@@ -1,4 +1,4 @@
1
- import { isRecord } from "@oh-my-opencode/utils";
1
+ import { isRecord } from "@matrixos/utils";
2
2
  export { isRecord };
3
3
  export declare function isAbortedSessionError(error: unknown): boolean;
4
4
  export declare function getErrorText(error: unknown): string;
@@ -1 +1 @@
1
- export { BOULDER_DIR, BOULDER_FILE, BOULDER_STATE_PATH, NOTEPAD_BASE_PATH, NOTEPAD_DIR, PROMETHEUS_PLANS_DIR, } from "@oh-my-opencode/boulder-state";
1
+ export { BOULDER_DIR, BOULDER_FILE, BOULDER_STATE_PATH, NOTEPAD_BASE_PATH, NOTEPAD_DIR, PROMETHEUS_PLANS_DIR, } from "@matrixos/boulder-state";
@@ -1 +1 @@
1
- export { formatDurationHuman } from "@oh-my-opencode/utils";
1
+ export { formatDurationHuman } from "@matrixos/utils";
@@ -1 +1 @@
1
- export { addBoulderWork, appendSessionId, appendSessionIdForWork, clearBoulderState, completeBoulder, createBoulderState, endTaskTimer, findPrometheusPlans, generateWorkId, getActiveWorks, getBoulderFilePath, getBoulderWorks, getPlanName, getPlanProgress, getTaskSessionState, getWorkById, getWorkByPlanName, getWorkForSession, getWorkResumeOptions, normalizeSessionId, readBoulderState, resolveBoulderPlanPath, resolveBoulderPlanPathForWork, selectActiveWork, startTaskTimer, upsertTaskSessionState, upsertTaskSessionStateForWork, writeBoulderState, } from "@oh-my-opencode/boulder-state";
1
+ export { addBoulderWork, appendSessionId, appendSessionIdForWork, clearBoulderState, completeBoulder, createBoulderState, endTaskTimer, findPrometheusPlans, generateWorkId, getActiveWorks, getBoulderFilePath, getBoulderWorks, getPlanName, getPlanProgress, getTaskSessionState, getWorkById, getWorkByPlanName, getWorkForSession, getWorkResumeOptions, normalizeSessionId, readBoulderState, resolveBoulderPlanPath, resolveBoulderPlanPathForWork, selectActiveWork, startTaskTimer, upsertTaskSessionState, upsertTaskSessionStateForWork, writeBoulderState, } from "@matrixos/boulder-state";
@@ -1 +1 @@
1
- export { readCurrentTopLevelTask } from "@oh-my-opencode/boulder-state";
1
+ export { readCurrentTopLevelTask } from "@matrixos/boulder-state";
@@ -1 +1 @@
1
- export type { BoulderSessionOrigin, BoulderState, BoulderTaskStatus, BoulderWorkResumeOption, BoulderWorkState, BoulderWorkStatus, PlanProgress, TaskSessionState, TopLevelTaskRef, } from "@oh-my-opencode/boulder-state";
1
+ export type { BoulderSessionOrigin, BoulderState, BoulderTaskStatus, BoulderWorkResumeOption, BoulderWorkState, BoulderWorkStatus, PlanProgress, TaskSessionState, TopLevelTaskRef, } from "@matrixos/boulder-state";
@@ -1 +1 @@
1
- export * from "@oh-my-opencode/skills-loader-core/builtin-skills/index";
1
+ export * from "@matrixos/skills-loader-core/builtin-skills/index";
@@ -1 +1 @@
1
- export * from "@oh-my-opencode/skills-loader-core/builtin-skills/skill-file-loader";
1
+ export * from "@matrixos/skills-loader-core/builtin-skills/skill-file-loader";
@@ -1 +1 @@
1
- export * from "@oh-my-opencode/skills-loader-core/builtin-skills/skills/agent-browser-skill";
1
+ export * from "@matrixos/skills-loader-core/builtin-skills/skills/agent-browser-skill";
@@ -1 +1 @@
1
- export * from "@oh-my-opencode/skills-loader-core/builtin-skills/skills/agent-browser-template";
1
+ export * from "@matrixos/skills-loader-core/builtin-skills/skills/agent-browser-template";
@@ -1 +1 @@
1
- export * from "@oh-my-opencode/skills-loader-core/builtin-skills/skills/debugging";
1
+ export * from "@matrixos/skills-loader-core/builtin-skills/skills/debugging";
@@ -1 +1 @@
1
- export * from "@oh-my-opencode/skills-loader-core/builtin-skills/skills/dev-browser";
1
+ export * from "@matrixos/skills-loader-core/builtin-skills/skills/dev-browser";
@@ -1 +1 @@
1
- export * from "@oh-my-opencode/skills-loader-core/builtin-skills/skills/frontend";
1
+ export * from "@matrixos/skills-loader-core/builtin-skills/skills/frontend";
@@ -1 +1 @@
1
- export * from "@oh-my-opencode/skills-loader-core/builtin-skills/skills/git-master-sections/commit-atomic-planning";
1
+ export * from "@matrixos/skills-loader-core/builtin-skills/skills/git-master-sections/commit-atomic-planning";
@@ -1 +1 @@
1
- export * from "@oh-my-opencode/skills-loader-core/builtin-skills/skills/git-master-sections/commit-context-analysis";
1
+ export * from "@matrixos/skills-loader-core/builtin-skills/skills/git-master-sections/commit-context-analysis";
@@ -1 +1 @@
1
- export * from "@oh-my-opencode/skills-loader-core/builtin-skills/skills/git-master-sections/commit-execution-verification";
1
+ export * from "@matrixos/skills-loader-core/builtin-skills/skills/git-master-sections/commit-execution-verification";
@@ -1 +1 @@
1
- export * from "@oh-my-opencode/skills-loader-core/builtin-skills/skills/git-master-sections/commit-workflow";
1
+ export * from "@matrixos/skills-loader-core/builtin-skills/skills/git-master-sections/commit-workflow";
@@ -1 +1 @@
1
- export * from "@oh-my-opencode/skills-loader-core/builtin-skills/skills/git-master-sections/history-search-workflow";
1
+ export * from "@matrixos/skills-loader-core/builtin-skills/skills/git-master-sections/history-search-workflow";
@@ -1 +1 @@
1
- export * from "@oh-my-opencode/skills-loader-core/builtin-skills/skills/git-master-sections/overview";
1
+ export * from "@matrixos/skills-loader-core/builtin-skills/skills/git-master-sections/overview";
@@ -1 +1 @@
1
- export * from "@oh-my-opencode/skills-loader-core/builtin-skills/skills/git-master-sections/quick-reference";
1
+ export * from "@matrixos/skills-loader-core/builtin-skills/skills/git-master-sections/quick-reference";
@@ -1 +1 @@
1
- export * from "@oh-my-opencode/skills-loader-core/builtin-skills/skills/git-master-sections/rebase-workflow";
1
+ export * from "@matrixos/skills-loader-core/builtin-skills/skills/git-master-sections/rebase-workflow";
@@ -1 +1 @@
1
- export * from "@oh-my-opencode/skills-loader-core/builtin-skills/skills/git-master-skill-metadata";
1
+ export * from "@matrixos/skills-loader-core/builtin-skills/skills/git-master-skill-metadata";
@@ -1 +1 @@
1
- export * from "@oh-my-opencode/skills-loader-core/builtin-skills/skills/git-master";
1
+ export * from "@matrixos/skills-loader-core/builtin-skills/skills/git-master";
@@ -1 +1 @@
1
- export * from "@oh-my-opencode/skills-loader-core/builtin-skills/skills/index";
1
+ export * from "@matrixos/skills-loader-core/builtin-skills/skills/index";
@@ -1 +1 @@
1
- export * from "@oh-my-opencode/skills-loader-core/builtin-skills/skills/init-deep";
1
+ export * from "@matrixos/skills-loader-core/builtin-skills/skills/init-deep";
@@ -1 +1 @@
1
- export * from "@oh-my-opencode/skills-loader-core/builtin-skills/skills/playwright-cli";
1
+ export * from "@matrixos/skills-loader-core/builtin-skills/skills/playwright-cli";
@@ -1 +1 @@
1
- export * from "@oh-my-opencode/skills-loader-core/builtin-skills/skills/playwright-mcp-skill";
1
+ export * from "@matrixos/skills-loader-core/builtin-skills/skills/playwright-mcp-skill";
@@ -1 +1 @@
1
- export * from "@oh-my-opencode/skills-loader-core/builtin-skills/skills/playwright";
1
+ export * from "@matrixos/skills-loader-core/builtin-skills/skills/playwright";
@@ -1 +1 @@
1
- export * from "@oh-my-opencode/skills-loader-core/builtin-skills/skills/remove-ai-slops";
1
+ export * from "@matrixos/skills-loader-core/builtin-skills/skills/remove-ai-slops";
@@ -1 +1 @@
1
- export * from "@oh-my-opencode/skills-loader-core/builtin-skills/skills/review-work";
1
+ export * from "@matrixos/skills-loader-core/builtin-skills/skills/review-work";
@@ -1 +1 @@
1
- export * from "@oh-my-opencode/skills-loader-core/builtin-skills/skills/security-research";
1
+ export * from "@matrixos/skills-loader-core/builtin-skills/skills/security-research";
@@ -1 +1 @@
1
- export * from "@oh-my-opencode/skills-loader-core/builtin-skills/skills/security-review";
1
+ export * from "@matrixos/skills-loader-core/builtin-skills/skills/security-review";
@@ -1 +1 @@
1
- export * from "@oh-my-opencode/skills-loader-core/builtin-skills/skills/team-mode";
1
+ export * from "@matrixos/skills-loader-core/builtin-skills/skills/team-mode";
@@ -1 +1 @@
1
- export * from "@oh-my-opencode/skills-loader-core/builtin-skills/skills/visual-qa";
1
+ export * from "@matrixos/skills-loader-core/builtin-skills/skills/visual-qa";
@@ -1 +1 @@
1
- export * from "@oh-my-opencode/skills-loader-core/builtin-skills/skills";
1
+ export * from "@matrixos/skills-loader-core/builtin-skills/skills";