@kl-c/matrixos 0.1.26 → 0.1.32
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.
- package/dist/agents/builtin-agents/model-resolution.d.ts +1 -1
- package/dist/agents/types.d.ts +1 -1
- package/dist/cli/generate.d.ts +2 -2
- package/dist/cli/index.js +196 -49
- package/dist/cli/install-ast-grep-sg.d.ts +1 -1
- package/dist/cli/mcp-oauth/login.d.ts +1 -1
- package/dist/cli/migrate.d.ts +15 -0
- package/dist/cli/profile.d.ts +23 -0
- package/dist/cli/provider-model-id-transform.d.ts +1 -1
- package/dist/cli/skills/frontend/ATTRIBUTION.md +1 -1
- package/dist/cli/skills/ultimate-browsing/ATTRIBUTION.md +1 -1
- package/dist/cli/skills/ulw-research/ATTRIBUTION.md +1 -1
- package/dist/cli-node/index.js +196 -49
- package/dist/config/schema/gateway.d.ts +1 -1
- package/dist/config/schema/git-env-prefix.d.ts +1 -1
- package/dist/config/schema/team-mode.d.ts +1 -1
- package/dist/config/schema/tmux.d.ts +1 -1
- package/dist/features/background-agent/error-classifier.d.ts +1 -1
- package/dist/features/boulder-state/constants.d.ts +1 -1
- package/dist/features/boulder-state/format-duration.d.ts +1 -1
- package/dist/features/boulder-state/storage.d.ts +1 -1
- package/dist/features/boulder-state/top-level-task.d.ts +1 -1
- package/dist/features/boulder-state/types.d.ts +1 -1
- package/dist/features/builtin-skills/index.d.ts +1 -1
- package/dist/features/builtin-skills/skill-file-loader.d.ts +1 -1
- package/dist/features/builtin-skills/skills/agent-browser-skill.d.ts +1 -1
- package/dist/features/builtin-skills/skills/agent-browser-template.d.ts +1 -1
- package/dist/features/builtin-skills/skills/debugging.d.ts +1 -1
- package/dist/features/builtin-skills/skills/dev-browser.d.ts +1 -1
- package/dist/features/builtin-skills/skills/frontend.d.ts +1 -1
- package/dist/features/builtin-skills/skills/git-master-sections/commit-atomic-planning.d.ts +1 -1
- package/dist/features/builtin-skills/skills/git-master-sections/commit-context-analysis.d.ts +1 -1
- package/dist/features/builtin-skills/skills/git-master-sections/commit-execution-verification.d.ts +1 -1
- package/dist/features/builtin-skills/skills/git-master-sections/commit-workflow.d.ts +1 -1
- package/dist/features/builtin-skills/skills/git-master-sections/history-search-workflow.d.ts +1 -1
- package/dist/features/builtin-skills/skills/git-master-sections/overview.d.ts +1 -1
- package/dist/features/builtin-skills/skills/git-master-sections/quick-reference.d.ts +1 -1
- package/dist/features/builtin-skills/skills/git-master-sections/rebase-workflow.d.ts +1 -1
- package/dist/features/builtin-skills/skills/git-master-skill-metadata.d.ts +1 -1
- package/dist/features/builtin-skills/skills/git-master.d.ts +1 -1
- package/dist/features/builtin-skills/skills/index.d.ts +1 -1
- package/dist/features/builtin-skills/skills/init-deep.d.ts +1 -1
- package/dist/features/builtin-skills/skills/playwright-cli.d.ts +1 -1
- package/dist/features/builtin-skills/skills/playwright-mcp-skill.d.ts +1 -1
- package/dist/features/builtin-skills/skills/playwright.d.ts +1 -1
- package/dist/features/builtin-skills/skills/remove-ai-slops.d.ts +1 -1
- package/dist/features/builtin-skills/skills/review-work.d.ts +1 -1
- package/dist/features/builtin-skills/skills/security-research.d.ts +1 -1
- package/dist/features/builtin-skills/skills/security-review.d.ts +1 -1
- package/dist/features/builtin-skills/skills/team-mode.d.ts +1 -1
- package/dist/features/builtin-skills/skills/visual-qa.d.ts +1 -1
- package/dist/features/builtin-skills/skills.d.ts +1 -1
- package/dist/features/builtin-skills/types.d.ts +1 -1
- package/dist/features/claude-code-agent-loader/agent-definitions-loader.d.ts +1 -1
- package/dist/features/claude-code-agent-loader/claude-model-mapper.d.ts +1 -1
- package/dist/features/claude-code-agent-loader/index.d.ts +1 -1
- package/dist/features/claude-code-agent-loader/json-agent-loader.d.ts +1 -1
- package/dist/features/claude-code-agent-loader/loader.d.ts +1 -1
- package/dist/features/claude-code-agent-loader/opencode-config-agents-reader.d.ts +1 -1
- package/dist/features/claude-code-agent-loader/types.d.ts +1 -1
- package/dist/features/claude-code-command-loader/index.d.ts +1 -1
- package/dist/features/claude-code-command-loader/loader-cache.d.ts +1 -1
- package/dist/features/claude-code-command-loader/loader.d.ts +1 -1
- package/dist/features/claude-code-command-loader/types.d.ts +1 -1
- package/dist/features/claude-code-mcp-loader/configure-allowed-env-vars.d.ts +1 -1
- package/dist/features/claude-code-mcp-loader/index.d.ts +1 -1
- package/dist/features/claude-code-mcp-loader/loader.d.ts +1 -1
- package/dist/features/claude-code-mcp-loader/scope-filter.d.ts +1 -1
- package/dist/features/claude-code-mcp-loader/transformer.d.ts +1 -1
- package/dist/features/claude-code-mcp-loader/types.d.ts +1 -1
- package/dist/features/claude-code-plugin-loader/agent-loader.d.ts +1 -1
- package/dist/features/claude-code-plugin-loader/command-loader.d.ts +1 -1
- package/dist/features/claude-code-plugin-loader/discovery-core.d.ts +1 -1
- package/dist/features/claude-code-plugin-loader/discovery-paths.d.ts +1 -1
- package/dist/features/claude-code-plugin-loader/discovery.d.ts +1 -1
- package/dist/features/claude-code-plugin-loader/hook-loader.d.ts +1 -1
- package/dist/features/claude-code-plugin-loader/index.d.ts +1 -1
- package/dist/features/claude-code-plugin-loader/install-path-resolver.d.ts +1 -1
- package/dist/features/claude-code-plugin-loader/installed-plugin-database.d.ts +1 -1
- package/dist/features/claude-code-plugin-loader/loaded-plugin.d.ts +1 -1
- package/dist/features/claude-code-plugin-loader/loader.d.ts +1 -1
- package/dist/features/claude-code-plugin-loader/mcp-server-loader.d.ts +1 -1
- package/dist/features/claude-code-plugin-loader/plugin-key.d.ts +1 -1
- package/dist/features/claude-code-plugin-loader/plugin-manifest.d.ts +1 -1
- package/dist/features/claude-code-plugin-loader/plugin-path-resolver.d.ts +1 -1
- package/dist/features/claude-code-plugin-loader/plugin-settings.d.ts +1 -1
- package/dist/features/claude-code-plugin-loader/scope-filter.d.ts +1 -1
- package/dist/features/claude-code-plugin-loader/skill-loader.d.ts +1 -1
- package/dist/features/claude-code-plugin-loader/types.d.ts +1 -1
- package/dist/features/kanban/sqlite-store.d.ts +2 -0
- package/dist/features/mcp-oauth/callback-server.d.ts +1 -1
- package/dist/features/mcp-oauth/dcr.d.ts +1 -1
- package/dist/features/mcp-oauth/discovery.d.ts +1 -1
- package/dist/features/mcp-oauth/oauth-authorization-flow.d.ts +1 -1
- package/dist/features/mcp-oauth/provider.d.ts +1 -1
- package/dist/features/mcp-oauth/refresh-mutex.d.ts +1 -1
- package/dist/features/mcp-oauth/resource-indicator.d.ts +1 -1
- package/dist/features/mcp-oauth/schema.d.ts +1 -1
- package/dist/features/mcp-oauth/step-up.d.ts +1 -1
- package/dist/features/mcp-oauth/storage.d.ts +1 -1
- package/dist/features/opencode-runtime-skills/index.d.ts +1 -1
- package/dist/features/opencode-runtime-skills/runtime-skill-config.d.ts +1 -1
- package/dist/features/opencode-runtime-skills/skill-markdown.d.ts +1 -1
- package/dist/features/opencode-runtime-skills/source-server.d.ts +1 -1
- package/dist/features/opencode-skill-loader/allowed-tools-parser.d.ts +1 -1
- package/dist/features/opencode-skill-loader/config-source-discovery.d.ts +1 -1
- package/dist/features/opencode-skill-loader/git-master-template-injection.d.ts +1 -1
- package/dist/features/opencode-skill-loader/index.d.ts +1 -1
- package/dist/features/opencode-skill-loader/loaded-skill-from-path.d.ts +1 -1
- package/dist/features/opencode-skill-loader/loaded-skill-template-extractor.d.ts +1 -1
- package/dist/features/opencode-skill-loader/loader.d.ts +1 -1
- package/dist/features/opencode-skill-loader/merger/builtin-skill-converter.d.ts +1 -1
- package/dist/features/opencode-skill-loader/merger/config-skill-entry-loader.d.ts +1 -1
- package/dist/features/opencode-skill-loader/merger/scope-priority.d.ts +1 -1
- package/dist/features/opencode-skill-loader/merger/skill-definition-merger.d.ts +1 -1
- package/dist/features/opencode-skill-loader/merger/skills-config-normalizer.d.ts +1 -1
- package/dist/features/opencode-skill-loader/merger.d.ts +1 -1
- package/dist/features/opencode-skill-loader/opencode-config-skills-reader.d.ts +1 -1
- package/dist/features/opencode-skill-loader/skill-content.d.ts +1 -1
- package/dist/features/opencode-skill-loader/skill-deduplication.d.ts +1 -1
- package/dist/features/opencode-skill-loader/skill-definition-record.d.ts +1 -1
- package/dist/features/opencode-skill-loader/skill-directory-loader.d.ts +1 -1
- package/dist/features/opencode-skill-loader/skill-discovery.d.ts +1 -1
- package/dist/features/opencode-skill-loader/skill-mcp-config.d.ts +1 -1
- package/dist/features/opencode-skill-loader/skill-resolution-options.d.ts +1 -1
- package/dist/features/opencode-skill-loader/skill-template-resolver.d.ts +1 -1
- package/dist/features/opencode-skill-loader/types.d.ts +1 -1
- package/dist/features/skill-curator/audit.d.ts +1 -1
- package/dist/features/skill-mcp-manager/cleanup.d.ts +1 -1
- package/dist/features/skill-mcp-manager/connection-type.d.ts +1 -1
- package/dist/features/skill-mcp-manager/connection.d.ts +1 -1
- package/dist/features/skill-mcp-manager/env-cleaner.d.ts +1 -1
- package/dist/features/skill-mcp-manager/error-redaction.d.ts +1 -1
- package/dist/features/skill-mcp-manager/http-client.d.ts +1 -1
- package/dist/features/skill-mcp-manager/index.d.ts +1 -1
- package/dist/features/skill-mcp-manager/manager.d.ts +1 -1
- package/dist/features/skill-mcp-manager/oauth-handler.d.ts +1 -1
- package/dist/features/skill-mcp-manager/stdio-client.d.ts +1 -1
- package/dist/features/skill-mcp-manager/types.d.ts +1 -1
- package/dist/features/team-mode/member-parser.d.ts +1 -1
- package/dist/features/team-mode/team-layout-tmux/close-team-member-pane.d.ts +1 -1
- package/dist/features/team-mode/team-layout-tmux/index.d.ts +1 -1
- package/dist/features/team-mode/team-layout-tmux/layout.d.ts +1 -1
- package/dist/features/team-mode/team-layout-tmux/rebalance-team-window.d.ts +1 -1
- package/dist/features/team-mode/team-layout-tmux/resolve-caller-tmux-session.d.ts +1 -1
- package/dist/features/team-mode/team-layout-tmux/sweep-stale-team-sessions.d.ts +1 -1
- package/dist/features/team-mode/team-mailbox/ack.d.ts +1 -1
- package/dist/features/team-mode/team-mailbox/inbox.d.ts +1 -1
- package/dist/features/team-mode/team-mailbox/index.d.ts +1 -1
- package/dist/features/team-mode/team-mailbox/pending-delivery-recovery.d.ts +1 -1
- package/dist/features/team-mode/team-mailbox/poll.d.ts +1 -1
- package/dist/features/team-mode/team-mailbox/reservation.d.ts +1 -1
- package/dist/features/team-mode/team-mailbox/send.d.ts +1 -1
- package/dist/features/team-mode/team-registry/index.d.ts +1 -1
- package/dist/features/team-mode/team-registry/loader.d.ts +1 -1
- package/dist/features/team-mode/team-registry/paths.d.ts +1 -1
- package/dist/features/team-mode/team-registry/team-spec-input-normalizer.d.ts +1 -1
- package/dist/features/team-mode/team-registry/validator.d.ts +1 -1
- package/dist/features/team-mode/team-state-store/active-resume.d.ts +1 -1
- package/dist/features/team-mode/team-state-store/creating-resume.d.ts +1 -1
- package/dist/features/team-mode/team-state-store/deleting-resume.d.ts +1 -1
- package/dist/features/team-mode/team-state-store/error-normalization.d.ts +1 -1
- package/dist/features/team-mode/team-state-store/index.d.ts +1 -1
- package/dist/features/team-mode/team-state-store/locks.d.ts +1 -1
- package/dist/features/team-mode/team-state-store/reservation-reconciliation.d.ts +1 -1
- package/dist/features/team-mode/team-state-store/resume-report.d.ts +1 -1
- package/dist/features/team-mode/team-state-store/resume.d.ts +1 -1
- package/dist/features/team-mode/team-state-store/runtime-cleanup.d.ts +1 -1
- package/dist/features/team-mode/team-state-store/session-liveness.d.ts +1 -1
- package/dist/features/team-mode/team-state-store/store.d.ts +1 -1
- package/dist/features/team-mode/team-state-store/worker-resume-status.d.ts +1 -1
- package/dist/features/team-mode/team-tasklist/claim.d.ts +1 -1
- package/dist/features/team-mode/team-tasklist/dependencies.d.ts +1 -1
- package/dist/features/team-mode/team-tasklist/get.d.ts +1 -1
- package/dist/features/team-mode/team-tasklist/index.d.ts +1 -1
- package/dist/features/team-mode/team-tasklist/list.d.ts +1 -1
- package/dist/features/team-mode/team-tasklist/store.d.ts +1 -1
- package/dist/features/team-mode/team-tasklist/test-support.d.ts +1 -1
- package/dist/features/team-mode/team-tasklist/update.d.ts +1 -1
- package/dist/features/team-mode/team-worktree/cleanup.d.ts +1 -1
- package/dist/features/team-mode/team-worktree/index.d.ts +1 -1
- package/dist/features/team-mode/team-worktree/manager.d.ts +1 -1
- package/dist/features/team-mode/tools/lifecycle-create-tool.d.ts +2 -2
- package/dist/features/team-mode/tools/lifecycle-inline-spec.d.ts +2 -2
- package/dist/features/team-mode/tools/lifecycle-participant.d.ts +2 -2
- package/dist/features/team-mode/tools/lifecycle-test-fixture.d.ts +1 -1
- package/dist/features/team-mode/tools/messaging-live-delivery-recipient.d.ts +2 -2
- package/dist/features/team-mode/tools/messaging-live-delivery-reservation.d.ts +1 -1
- package/dist/features/team-mode/tools/messaging-live-delivery-state.d.ts +1 -1
- package/dist/features/team-mode/tools/messaging-live-delivery.d.ts +1 -1
- package/dist/features/team-mode/tools/messaging-runtime.d.ts +2 -2
- package/dist/features/team-mode/tools/query.d.ts +3 -3
- package/dist/features/team-mode/tools/tasks.d.ts +2 -2
- package/dist/features/team-mode/types.d.ts +1 -1
- package/dist/hooks/ast-grep-sg-provision/hook.d.ts +1 -1
- package/dist/hooks/auto-slash-command/constants.d.ts +1 -1
- package/dist/hooks/auto-slash-command/detector.d.ts +1 -1
- package/dist/hooks/auto-slash-command/processed-command-store.d.ts +1 -1
- package/dist/hooks/auto-slash-command/types.d.ts +1 -1
- package/dist/hooks/codegraph-bootstrap/hook.d.ts +1 -1
- package/dist/hooks/comment-checker/cli.d.ts +1 -1
- package/dist/hooks/comment-checker/types.d.ts +1 -1
- package/dist/hooks/delegate-task-retry/guidance.d.ts +1 -1
- package/dist/hooks/delegate-task-retry/patterns.d.ts +2 -2
- package/dist/hooks/directory-agents-injector/finder.d.ts +2 -2
- package/dist/hooks/directory-agents-injector/injector.d.ts +1 -1
- package/dist/hooks/dreamer-trigger/index.d.ts +2 -2
- package/dist/hooks/rules-injector/constants.d.ts +1 -1
- package/dist/hooks/rules-injector/matcher.d.ts +2 -2
- package/dist/hooks/rules-injector/parser.d.ts +2 -2
- package/dist/hooks/rules-injector/project-root-finder.d.ts +1 -1
- package/dist/hooks/rules-injector/rule-distance.d.ts +1 -1
- package/dist/hooks/rules-injector/rule-file-finder.d.ts +2 -2
- package/dist/hooks/rules-injector/rule-file-scanner.d.ts +1 -1
- package/dist/hooks/rules-injector/rule-scan-cache.d.ts +2 -2
- package/dist/hooks/rules-injector/types.d.ts +1 -1
- package/dist/hooks/runtime-fallback/auto-retry-signal.d.ts +1 -1
- package/dist/hooks/runtime-fallback/error-classifier.d.ts +1 -1
- package/dist/hooks/runtime-fallback/fallback-state.d.ts +1 -1
- package/dist/hooks/tank-agents-md-injector/hook.d.ts +1 -1
- package/dist/hooks/tool-pair-validator/tool-part-ids.d.ts +1 -1
- package/dist/index.js +207 -53
- package/dist/mcp/codegraph.d.ts +1 -1
- package/dist/plugin/event-error-utils.d.ts +1 -1
- package/dist/plugin/record-session-end-episode.d.ts +1 -1
- package/dist/plugin/session-memory-recorder.d.ts +1 -1
- package/dist/plugin/types.d.ts +1 -1
- package/dist/profile-adapters.d.ts +1 -1
- package/dist/shared/archive-entry-validator.d.ts +1 -1
- package/dist/shared/bun-file-shim.d.ts +1 -1
- package/dist/shared/bun-spawn-shim.d.ts +1 -1
- package/dist/shared/bun-which-shim.d.ts +1 -1
- package/dist/shared/classify-path-environment.d.ts +1 -1
- package/dist/shared/command-executor/embedded-commands.d.ts +1 -1
- package/dist/shared/command-executor/execute-command.d.ts +1 -1
- package/dist/shared/command-executor/execute-hook-command.d.ts +1 -1
- package/dist/shared/command-executor/home-directory.d.ts +1 -1
- package/dist/shared/command-executor/resolve-commands-in-text.d.ts +1 -1
- package/dist/shared/command-executor/shell-path.d.ts +1 -1
- package/dist/shared/command-executor.d.ts +1 -1
- package/dist/shared/contains-path.d.ts +1 -1
- package/dist/shared/context-limit-resolver.d.ts +2 -2
- package/dist/shared/deep-merge.d.ts +1 -1
- package/dist/shared/extract-semver.d.ts +1 -1
- package/dist/shared/fallback-chain-from-models.d.ts +1 -1
- package/dist/shared/file-utils.d.ts +1 -1
- package/dist/shared/frontmatter.d.ts +1 -1
- package/dist/shared/git-worktree/collect-git-diff-stats.d.ts +1 -1
- package/dist/shared/git-worktree/format-file-changes.d.ts +1 -1
- package/dist/shared/git-worktree/index.d.ts +1 -1
- package/dist/shared/git-worktree/parse-diff-numstat.d.ts +1 -1
- package/dist/shared/git-worktree/parse-status-porcelain-line.d.ts +1 -1
- package/dist/shared/git-worktree/parse-status-porcelain.d.ts +1 -1
- package/dist/shared/git-worktree/types.d.ts +1 -1
- package/dist/shared/internal-initiator-marker.d.ts +1 -1
- package/dist/shared/jsonc-parser.d.ts +1 -1
- package/dist/shared/logger.d.ts +1 -1
- package/dist/shared/migration/agent-category.d.ts +1 -1
- package/dist/shared/migration/agent-names.d.ts +1 -1
- package/dist/shared/migration/config-migration.d.ts +1 -1
- package/dist/shared/migration/hook-names.d.ts +1 -1
- package/dist/shared/migration/migrations-sidecar.d.ts +1 -1
- package/dist/shared/migration/model-versions.d.ts +1 -1
- package/dist/shared/migration.d.ts +1 -1
- package/dist/shared/model-capabilities/index.d.ts +3 -3
- package/dist/shared/model-capabilities-cache.d.ts +1 -1
- package/dist/shared/model-error-classifier.d.ts +2 -2
- package/dist/shared/model-format-normalizer.d.ts +1 -1
- package/dist/shared/model-normalization.d.ts +1 -1
- package/dist/shared/model-requirements.d.ts +2 -2
- package/dist/shared/model-resolution-pipeline.d.ts +3 -3
- package/dist/shared/model-resolution-types.d.ts +1 -1
- package/dist/shared/model-resolver.d.ts +2 -2
- package/dist/shared/model-sanitizer.d.ts +1 -1
- package/dist/shared/model-settings-compatibility.d.ts +2 -2
- package/dist/shared/model-string-parser.d.ts +1 -1
- package/dist/shared/model-suggestion-retry.d.ts +2 -2
- package/dist/shared/port-utils.d.ts +1 -1
- package/dist/shared/posthog.d.ts +1 -1
- package/dist/shared/process-stream-reader.d.ts +1 -1
- package/dist/shared/prompt-async-gate/message-inspection-error.d.ts +1 -1
- package/dist/shared/prompt-async-gate/pending-tool-turn.d.ts +1 -1
- package/dist/shared/prompt-async-gate/prompt-message-state.d.ts +1 -1
- package/dist/shared/prompt-async-gate/queue.d.ts +1 -1
- package/dist/shared/prompt-async-gate/recent-dispatches.d.ts +1 -1
- package/dist/shared/prompt-async-gate/reservations.d.ts +1 -1
- package/dist/shared/prompt-async-gate/semantic-dedupe.d.ts +1 -1
- package/dist/shared/prompt-async-gate/session-idle-dispatch.d.ts +1 -1
- package/dist/shared/prompt-async-gate/timing.d.ts +1 -1
- package/dist/shared/prompt-async-gate/types.d.ts +1 -1
- package/dist/shared/prompt-async-gate.d.ts +2 -2
- package/dist/shared/prompt-failure-classifier.d.ts +1 -1
- package/dist/shared/provider-model-id-transform.d.ts +1 -1
- package/dist/shared/record-type-guard.d.ts +1 -1
- package/dist/shared/replace-tool-args.d.ts +1 -1
- package/dist/shared/session-idle-settle.d.ts +1 -1
- package/dist/shared/shell-env.d.ts +1 -1
- package/dist/shared/skill-path-resolver.d.ts +1 -1
- package/dist/shared/snake-case.d.ts +1 -1
- package/dist/shared/telemetry-product-identity.d.ts +1 -1
- package/dist/shared/tmux/cmux-detect.d.ts +1 -1
- package/dist/shared/tmux/constants.d.ts +1 -1
- package/dist/shared/tmux/runner.d.ts +2 -2
- package/dist/shared/tmux/tmux-utils/adapter-deps.d.ts +1 -1
- package/dist/shared/tmux/tmux-utils/environment.d.ts +2 -2
- package/dist/shared/tmux/tmux-utils/layout.d.ts +2 -2
- package/dist/shared/tmux/tmux-utils/pane-close.d.ts +1 -1
- package/dist/shared/tmux/tmux-utils/pane-command.d.ts +1 -1
- package/dist/shared/tmux/tmux-utils/pane-dimensions.d.ts +1 -1
- package/dist/shared/tmux/tmux-utils/pane-replace.d.ts +1 -1
- package/dist/shared/tmux/tmux-utils/pane-spawn.d.ts +1 -1
- package/dist/shared/tmux/tmux-utils/server-health.d.ts +2 -2
- package/dist/shared/tmux/tmux-utils/session-spawn.d.ts +2 -2
- package/dist/shared/tmux/tmux-utils/spawn-process.d.ts +1 -1
- package/dist/shared/tmux/tmux-utils/stale-session-sweep.d.ts +2 -2
- package/dist/shared/tmux/tmux-utils/window-spawn.d.ts +1 -1
- package/dist/shared/tmux/types.d.ts +1 -1
- package/dist/shared/tool-name.d.ts +1 -1
- package/dist/shared/zip-entry-listing/powershell-zip-entry-listing.d.ts +1 -1
- package/dist/shared/zip-entry-listing/python-zip-entry-listing.d.ts +1 -1
- package/dist/shared/zip-entry-listing/read-zip-symlink-target.d.ts +1 -1
- package/dist/shared/zip-entry-listing/tar-zip-entry-listing.d.ts +1 -1
- package/dist/shared/zip-entry-listing/zipinfo-zip-entry-listing.d.ts +1 -1
- package/dist/shared/zip-entry-listing.d.ts +1 -1
- package/dist/skills/frontend/ATTRIBUTION.md +1 -1
- package/dist/skills/ultimate-browsing/ATTRIBUTION.md +1 -1
- package/dist/skills/ulw-research/ATTRIBUTION.md +1 -1
- package/dist/testing/create-gateway-relay.d.ts +5 -1
- package/dist/tools/delegate-task/model-selection.d.ts +1 -1
- package/dist/tools/delegate-task/model-string-parser.d.ts +1 -1
- package/dist/tools/delegate-task/sync-task-deps.d.ts +1 -1
- package/dist/tools/hashline-edit/autocorrect-replacement-lines.d.ts +1 -1
- package/dist/tools/hashline-edit/constants.d.ts +1 -1
- package/dist/tools/hashline-edit/diff-utils.d.ts +1 -1
- package/dist/tools/hashline-edit/edit-deduplication.d.ts +1 -1
- package/dist/tools/hashline-edit/edit-operation-primitives.d.ts +1 -1
- package/dist/tools/hashline-edit/edit-operations.d.ts +2 -2
- package/dist/tools/hashline-edit/edit-ordering.d.ts +1 -1
- package/dist/tools/hashline-edit/edit-text-normalization.d.ts +1 -1
- package/dist/tools/hashline-edit/file-text-canonicalization.d.ts +2 -2
- package/dist/tools/hashline-edit/hash-computation.d.ts +2 -2
- package/dist/tools/hashline-edit/hashline-chunk-formatter.d.ts +2 -2
- package/dist/tools/hashline-edit/hashline-edit-diff.d.ts +1 -1
- package/dist/tools/hashline-edit/normalize-edits.d.ts +2 -2
- package/dist/tools/hashline-edit/types.d.ts +1 -1
- package/dist/tools/hashline-edit/validation.d.ts +2 -2
- package/dist/tools/skill/scope-priority.d.ts +1 -1
- package/dist/tools/skill/skill-matcher.d.ts +1 -1
- package/dist/tui.js +4 -0
- package/package.json +27 -24
- package/packages/git-bash-mcp/package.json +3 -3
- package/packages/lsp-core/package.json +3 -3
- package/packages/lsp-core/src/mcp.ts +1 -1
- package/packages/lsp-daemon/dist/daemon-client.d.ts +2 -2
- package/packages/lsp-daemon/dist/daemon-client.js +2 -2
- package/packages/lsp-daemon/dist/daemon-server.js +1 -1
- package/packages/lsp-daemon/dist/index.d.ts +1 -1
- package/packages/lsp-daemon/dist/ipc-protocol.js +1 -1
- package/packages/lsp-daemon/dist/package.json +1 -1
- package/packages/lsp-daemon/dist/proxy.js +4 -4
- package/packages/lsp-daemon/dist/request-routing.d.ts +1 -1
- package/packages/lsp-daemon/dist/request-routing.js +3 -3
- package/packages/lsp-daemon/package.json +3 -3
- package/packages/lsp-tools-mcp/dist/lsp/cleanup-errors.d.ts +1 -1
- package/packages/lsp-tools-mcp/dist/lsp/client-wrapper.d.ts +1 -1
- package/packages/lsp-tools-mcp/dist/lsp/client.d.ts +1 -1
- package/packages/lsp-tools-mcp/dist/lsp/config-loader.d.ts +1 -1
- package/packages/lsp-tools-mcp/dist/lsp/connection.d.ts +1 -1
- package/packages/lsp-tools-mcp/dist/lsp/constants.d.ts +1 -1
- package/packages/lsp-tools-mcp/dist/lsp/directory-diagnostics.d.ts +1 -1
- package/packages/lsp-tools-mcp/dist/lsp/effective-extension.d.ts +1 -1
- package/packages/lsp-tools-mcp/dist/lsp/errors.d.ts +1 -1
- package/packages/lsp-tools-mcp/dist/lsp/formatters.d.ts +1 -1
- package/packages/lsp-tools-mcp/dist/lsp/infer-extension.d.ts +1 -1
- package/packages/lsp-tools-mcp/dist/lsp/json-rpc-connection.d.ts +1 -1
- package/packages/lsp-tools-mcp/dist/lsp/language-mappings.d.ts +1 -1
- package/packages/lsp-tools-mcp/dist/lsp/manager.d.ts +1 -1
- package/packages/lsp-tools-mcp/dist/lsp/process-signal-cleanup.d.ts +1 -1
- package/packages/lsp-tools-mcp/dist/lsp/process.d.ts +1 -1
- package/packages/lsp-tools-mcp/dist/lsp/server-definitions.d.ts +1 -1
- package/packages/lsp-tools-mcp/dist/lsp/server-install-state.d.ts +1 -1
- package/packages/lsp-tools-mcp/dist/lsp/server-installation.d.ts +1 -1
- package/packages/lsp-tools-mcp/dist/lsp/server-resolution.d.ts +1 -1
- package/packages/lsp-tools-mcp/dist/lsp/startup-failure.d.ts +1 -1
- package/packages/lsp-tools-mcp/dist/lsp/transport.d.ts +1 -1
- package/packages/lsp-tools-mcp/dist/lsp/types.d.ts +1 -1
- package/packages/lsp-tools-mcp/dist/lsp/utils.d.ts +1 -1
- package/packages/lsp-tools-mcp/dist/lsp/workspace-edit.d.ts +1 -1
- package/packages/lsp-tools-mcp/dist/mcp.d.ts +1 -1
- package/packages/lsp-tools-mcp/dist/missing-dependency-result.d.ts +1 -1
- package/packages/lsp-tools-mcp/dist/request-context.d.ts +1 -1
- package/packages/lsp-tools-mcp/dist/tools.d.ts +1 -1
- package/packages/lsp-tools-mcp/package.json +3 -3
- package/packages/shared-skills/package.json +2 -2
- package/packages/shared-skills/skills/frontend/ATTRIBUTION.md +1 -1
- package/packages/shared-skills/skills/ultimate-browsing/ATTRIBUTION.md +1 -1
- package/packages/shared-skills/skills/ulw-research/ATTRIBUTION.md +1 -1
package/dist/cli-node/index.js
CHANGED
|
@@ -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.
|
|
2148
|
+
version: "0.1.32",
|
|
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
|
-
"@
|
|
2299
|
-
"@
|
|
2300
|
-
"@
|
|
2301
|
-
"@
|
|
2302
|
-
"@
|
|
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
|
-
"@
|
|
2305
|
-
"@
|
|
2306
|
-
"@
|
|
2307
|
-
"@
|
|
2308
|
-
"@
|
|
2309
|
-
"@
|
|
2310
|
-
"@
|
|
2311
|
-
"@
|
|
2312
|
-
"@
|
|
2313
|
-
"@
|
|
2314
|
-
"@
|
|
2315
|
-
"@
|
|
2316
|
-
"@
|
|
2317
|
-
"@
|
|
2318
|
-
"@
|
|
2319
|
-
"@
|
|
2320
|
-
"@
|
|
2321
|
-
"@
|
|
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
|
-
"@
|
|
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 "@
|
|
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
|
|
117796
|
-
import * as
|
|
117915
|
+
import * as path28 from "path";
|
|
117916
|
+
import * as os14 from "os";
|
|
117797
117917
|
function executeCostReportCommand(args) {
|
|
117798
|
-
const dbPath =
|
|
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
|
|
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 =
|
|
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 =
|
|
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
|
|
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
|
|
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:
|
|
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:
|
|
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 =
|
|
118200
|
+
const pkgPath = join80(absoluteTargetDir, "package.json");
|
|
118081
118201
|
let pkg;
|
|
118082
118202
|
try {
|
|
118083
|
-
pkg = JSON.parse(
|
|
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
|
-
|
|
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 =
|
|
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 (!
|
|
118126
|
-
|
|
118245
|
+
if (!fs23.existsSync(outputDir)) {
|
|
118246
|
+
fs23.mkdirSync(outputDir, { recursive: true });
|
|
118127
118247
|
}
|
|
118128
|
-
|
|
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("@
|
|
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("@
|
|
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("@
|
|
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 = "
|
|
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 ?? "
|
|
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", "
|
|
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,24 @@ 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-create <name>").description("Create a new business profile (mini-OS blueprint) at ~/.matrixos/profiles/<name>.json (\xA74.3.2)").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 (name2, options) => {
|
|
142568
|
+
const { executeCreateProfileCommand: executeCreateProfileCommand2 } = await Promise.resolve().then(() => (init_profile2(), exports_profile));
|
|
142569
|
+
const result = executeCreateProfileCommand2({
|
|
142570
|
+
name: name2,
|
|
142571
|
+
displayName: options.displayName,
|
|
142572
|
+
description: options.description,
|
|
142573
|
+
baseAgent: options.baseAgent,
|
|
142574
|
+
extends: options.extends ? options.extends.split(",").map((x) => x.trim()).filter(Boolean) : undefined
|
|
142575
|
+
});
|
|
142576
|
+
process.stdout.write(result.stdout + `
|
|
142577
|
+
`);
|
|
142578
|
+
});
|
|
142579
|
+
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) => {
|
|
142580
|
+
const { executeMigrateCommand: executeMigrateCommand2 } = await Promise.resolve().then(() => (init_migrate(), exports_migrate));
|
|
142581
|
+
const result = executeMigrateCommand2({ sourcePath: options.fromOmo }, options.out ?? "matrixos.jsonc");
|
|
142582
|
+
process.stdout.write(result.stdout + `
|
|
142583
|
+
`);
|
|
142584
|
+
});
|
|
142438
142585
|
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
142586
|
const { executeCostReportCommand: executeCostReportCommand2 } = await Promise.resolve().then(() => (init_cost_report(), exports_cost_report));
|
|
142440
142587
|
const result = executeCostReportCommand2({ positional: [], options: { period: options.period, json: options.json } });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type GatewayConfig } from "@
|
|
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 "@
|
|
1
|
+
export * from "@matrixos/skills-loader-core/config/git-env-prefix";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "@
|
|
1
|
+
export * from "@matrixos/team-core/config";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import type { TmuxConfig, TmuxIsolation, TmuxLayout } from "@
|
|
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 +1 @@
|
|
|
1
|
-
export { BOULDER_DIR, BOULDER_FILE, BOULDER_STATE_PATH, NOTEPAD_BASE_PATH, NOTEPAD_DIR, PROMETHEUS_PLANS_DIR, } from "@
|
|
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 "@
|
|
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 "@
|
|
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 "@
|
|
1
|
+
export { readCurrentTopLevelTask } from "@matrixos/boulder-state";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { BoulderSessionOrigin, BoulderState, BoulderTaskStatus, BoulderWorkResumeOption, BoulderWorkState, BoulderWorkStatus, PlanProgress, TaskSessionState, TopLevelTaskRef, } from "@
|
|
1
|
+
export type { BoulderSessionOrigin, BoulderState, BoulderTaskStatus, BoulderWorkResumeOption, BoulderWorkState, BoulderWorkStatus, PlanProgress, TaskSessionState, TopLevelTaskRef, } from "@matrixos/boulder-state";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "@
|
|
1
|
+
export * from "@matrixos/skills-loader-core/builtin-skills/index";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "@
|
|
1
|
+
export * from "@matrixos/skills-loader-core/builtin-skills/skill-file-loader";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "@
|
|
1
|
+
export * from "@matrixos/skills-loader-core/builtin-skills/skills/agent-browser-skill";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "@
|
|
1
|
+
export * from "@matrixos/skills-loader-core/builtin-skills/skills/agent-browser-template";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "@
|
|
1
|
+
export * from "@matrixos/skills-loader-core/builtin-skills/skills/debugging";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "@
|
|
1
|
+
export * from "@matrixos/skills-loader-core/builtin-skills/skills/dev-browser";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "@
|
|
1
|
+
export * from "@matrixos/skills-loader-core/builtin-skills/skills/frontend";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "@
|
|
1
|
+
export * from "@matrixos/skills-loader-core/builtin-skills/skills/git-master-sections/commit-atomic-planning";
|
package/dist/features/builtin-skills/skills/git-master-sections/commit-context-analysis.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "@
|
|
1
|
+
export * from "@matrixos/skills-loader-core/builtin-skills/skills/git-master-sections/commit-context-analysis";
|
package/dist/features/builtin-skills/skills/git-master-sections/commit-execution-verification.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "@
|
|
1
|
+
export * from "@matrixos/skills-loader-core/builtin-skills/skills/git-master-sections/commit-execution-verification";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "@
|
|
1
|
+
export * from "@matrixos/skills-loader-core/builtin-skills/skills/git-master-sections/commit-workflow";
|
package/dist/features/builtin-skills/skills/git-master-sections/history-search-workflow.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "@
|
|
1
|
+
export * from "@matrixos/skills-loader-core/builtin-skills/skills/git-master-sections/history-search-workflow";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "@
|
|
1
|
+
export * from "@matrixos/skills-loader-core/builtin-skills/skills/git-master-sections/overview";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "@
|
|
1
|
+
export * from "@matrixos/skills-loader-core/builtin-skills/skills/git-master-sections/quick-reference";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "@
|
|
1
|
+
export * from "@matrixos/skills-loader-core/builtin-skills/skills/git-master-sections/rebase-workflow";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "@
|
|
1
|
+
export * from "@matrixos/skills-loader-core/builtin-skills/skills/git-master-skill-metadata";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "@
|
|
1
|
+
export * from "@matrixos/skills-loader-core/builtin-skills/skills/git-master";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "@
|
|
1
|
+
export * from "@matrixos/skills-loader-core/builtin-skills/skills/index";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "@
|
|
1
|
+
export * from "@matrixos/skills-loader-core/builtin-skills/skills/init-deep";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "@
|
|
1
|
+
export * from "@matrixos/skills-loader-core/builtin-skills/skills/playwright-cli";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "@
|
|
1
|
+
export * from "@matrixos/skills-loader-core/builtin-skills/skills/playwright-mcp-skill";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "@
|
|
1
|
+
export * from "@matrixos/skills-loader-core/builtin-skills/skills/playwright";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "@
|
|
1
|
+
export * from "@matrixos/skills-loader-core/builtin-skills/skills/remove-ai-slops";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "@
|
|
1
|
+
export * from "@matrixos/skills-loader-core/builtin-skills/skills/review-work";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "@
|
|
1
|
+
export * from "@matrixos/skills-loader-core/builtin-skills/skills/security-research";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "@
|
|
1
|
+
export * from "@matrixos/skills-loader-core/builtin-skills/skills/security-review";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "@
|
|
1
|
+
export * from "@matrixos/skills-loader-core/builtin-skills/skills/team-mode";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "@
|
|
1
|
+
export * from "@matrixos/skills-loader-core/builtin-skills/skills/visual-qa";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "@
|
|
1
|
+
export * from "@matrixos/skills-loader-core/builtin-skills/skills";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "@
|
|
1
|
+
export * from "@matrixos/skills-loader-core/builtin-skills/types";
|