opencode-matrixx 1.1.1 → 2.0.0
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/README.md +162 -127
- package/bin/matrixx.js +4 -4
- package/dist/agents/agent-builder.d.ts +2 -3
- package/dist/agents/architect/agent.d.ts +2 -2
- package/dist/agents/architect/index.d.ts +4 -4
- package/dist/agents/builtin-agents/agent-overrides.d.ts +1 -1
- package/dist/agents/builtin-agents/atlas-agent.d.ts +1 -1
- package/dist/agents/builtin-agents/available-skills.d.ts +2 -2
- package/dist/agents/builtin-agents/general-agents.d.ts +2 -4
- package/dist/agents/builtin-agents/hephaestus-agent.d.ts +1 -1
- package/dist/agents/builtin-agents/sisyphus-agent.d.ts +1 -1
- package/dist/agents/builtin-agents.d.ts +3 -4
- package/dist/agents/env-context.d.ts +1 -1
- package/dist/agents/index.d.ts +6 -7
- package/dist/agents/keymaker.d.ts +1 -1
- package/dist/agents/morpheus.d.ts +1 -3
- package/dist/agents/mouse/index.d.ts +2 -2
- package/dist/agents/oracle/index.d.ts +3 -3
- package/dist/agents/sati.d.ts +7 -0
- package/dist/agents/seraph.d.ts +1 -1
- package/dist/agents/types.d.ts +6 -6
- package/dist/cli/config-manager/config-context.d.ts +1 -1
- package/dist/cli/config-manager/generate-matrixx-config.d.ts +2 -0
- package/dist/cli/config-manager/opencode-config-format.d.ts +2 -1
- package/dist/cli/config-manager/write-matrixx-config.d.ts +2 -0
- package/dist/cli/config-manager.d.ts +10 -10
- package/dist/cli/doctor/checks/index.d.ts +1 -1
- package/dist/cli/doctor/checks/model-resolution-config.d.ts +2 -2
- package/dist/cli/doctor/checks/model-resolution-details.d.ts +2 -2
- package/dist/cli/doctor/checks/model-resolution-types.d.ts +1 -1
- package/dist/cli/doctor/checks/model-resolution-variant.d.ts +3 -3
- package/dist/cli/doctor/checks/model-resolution.d.ts +2 -2
- package/dist/cli/doctor/checks/system-binary.d.ts +2 -7
- package/dist/cli/doctor/checks/system-loaded-version.d.ts +2 -1
- package/dist/cli/doctor/checks/tools-gh.d.ts +2 -1
- package/dist/cli/doctor/formatter.d.ts +1 -1
- package/dist/cli/doctor/index.d.ts +2 -2
- package/dist/cli/doctor/runner.d.ts +1 -1
- package/dist/cli/doctor/types.d.ts +2 -30
- package/dist/cli/index.js +16735 -14492
- package/dist/cli/mcp-oauth/login.d.ts +2 -1
- package/dist/cli/mcp-oauth/logout.d.ts +2 -1
- package/dist/cli/model-fallback-types.d.ts +1 -1
- package/dist/cli/model-fallback.d.ts +3 -4
- package/dist/cli/provider-availability.d.ts +1 -1
- package/dist/cli/run/agent-resolver.d.ts +1 -1
- package/dist/cli/run/event-formatting.d.ts +1 -1
- package/dist/cli/run/event-handlers.d.ts +1 -1
- package/dist/cli/run/event-stream-processor.d.ts +1 -1
- package/dist/cli/run/events.d.ts +1 -1
- package/dist/cli/run/index.d.ts +6 -6
- package/dist/cli/run/json-output.d.ts +1 -1
- package/dist/cli/run/opencode-binary-resolver.d.ts +0 -1
- package/dist/cli/run/poll-for-completion.d.ts +3 -2
- package/dist/cli/run/runner.d.ts +1 -1
- package/dist/config/index.d.ts +3 -3
- package/dist/config/profiles.d.ts +1 -1
- package/dist/config/schema/agent-definitions.d.ts +0 -1
- package/dist/config/schema/agent-names.d.ts +6 -39
- package/dist/config/schema/agent-overrides.d.ts +2 -2
- package/dist/config/schema/claude-code.d.ts +0 -1
- package/dist/config/schema/commands.d.ts +2 -0
- package/dist/config/schema/experimental.d.ts +0 -26
- package/dist/config/schema/hooks.d.ts +3 -1
- package/dist/config/schema/matrixx-config.d.ts +22 -51
- package/dist/config/schema/matrixx-self-config.d.ts +6 -0
- package/dist/config/schema/morpheus.d.ts +2 -1
- package/dist/config/schema/security.d.ts +4 -3
- package/dist/config/schema/skills.d.ts +2 -20
- package/dist/config/schema/websearch.d.ts +0 -5
- package/dist/config/schema.d.ts +10 -12
- package/dist/create-hooks.d.ts +4 -2
- package/dist/create-managers.d.ts +2 -2
- package/dist/create-tools.d.ts +3 -2
- package/dist/features/background-agent/background-task-notification-template.d.ts +2 -1
- package/dist/features/background-agent/constants.d.ts +1 -5
- package/dist/features/background-agent/index.d.ts +3 -3
- package/dist/features/background-agent/loop-detector.d.ts +2 -2
- package/dist/features/background-agent/manager.d.ts +13 -2
- package/dist/features/background-agent/state.d.ts +1 -1
- package/dist/features/background-agent/task-poller.d.ts +3 -2
- package/dist/features/background-agent/types.d.ts +4 -1
- package/dist/features/builtin-commands/index.d.ts +1 -1
- package/dist/features/builtin-commands/templates/end-ultrawork.d.ts +1 -0
- package/dist/features/builtin-commands/templates/handoff.d.ts +1 -1
- package/dist/features/builtin-commands/templates/pickup.d.ts +1 -1
- package/dist/features/builtin-commands/templates/profile.d.ts +1 -0
- package/dist/features/builtin-commands/templates/refactor.d.ts +1 -1
- package/dist/features/builtin-commands/types.d.ts +1 -4
- package/dist/features/builtin-skills/index.d.ts +1 -1
- package/dist/features/builtin-skills/skills/document-reader.d.ts +0 -2
- package/dist/features/builtin-skills/skills/dsl-codegen.d.ts +0 -1
- package/dist/features/builtin-skills/skills/dsl-composition.d.ts +0 -1
- package/dist/features/builtin-skills/skills/dsl-core.d.ts +0 -1
- package/dist/features/builtin-skills/skills/dsl-grammar.d.ts +0 -1
- package/dist/features/builtin-skills/skills/dsl-metamodel.d.ts +0 -1
- package/dist/features/builtin-skills/skills/dsl-model-transformation.d.ts +0 -1
- package/dist/features/builtin-skills/skills/dsl-pyecore-advanced.d.ts +0 -1
- package/dist/features/builtin-skills/skills/dsl-testing.d.ts +0 -1
- package/dist/features/builtin-skills/skills/dsl-textx-ecosystem.d.ts +0 -1
- package/dist/features/builtin-skills/skills/dsl-tooling.d.ts +0 -1
- package/dist/features/builtin-skills/skills/dsl-validation.d.ts +0 -1
- package/dist/features/builtin-skills/skills/frontend-a11y.d.ts +3 -0
- package/dist/features/builtin-skills/skills/frontend-build-tooling.d.ts +3 -0
- package/dist/features/builtin-skills/skills/frontend-perf.d.ts +3 -0
- package/dist/features/builtin-skills/skills/frontend-react-nextjs.d.ts +3 -0
- package/dist/features/builtin-skills/skills/frontend-state-data.d.ts +3 -0
- package/dist/features/builtin-skills/skills/frontend-svelte-sveltekit.d.ts +3 -0
- package/dist/features/builtin-skills/skills/frontend-testing.d.ts +3 -0
- package/dist/features/builtin-skills/skills/index.d.ts +25 -30
- package/dist/features/builtin-skills/skills/matrixx-self-config.d.ts +3 -0
- package/dist/features/builtin-skills/skills/quality-gate.d.ts +2 -0
- package/dist/features/builtin-skills/skills/review-work.d.ts +0 -2
- package/dist/features/builtin-skills/skills/security-api.d.ts +0 -1
- package/dist/features/builtin-skills/skills/security-core.d.ts +0 -1
- package/dist/features/builtin-skills/skills/security-crypto.d.ts +0 -1
- package/dist/features/builtin-skills/skills/security-dast.d.ts +0 -1
- package/dist/features/builtin-skills/skills/security-dependencies.d.ts +0 -1
- package/dist/features/builtin-skills/skills/security-infra.d.ts +0 -1
- package/dist/features/builtin-skills/skills/security-review.d.ts +0 -1
- package/dist/features/builtin-skills/skills/security-sast.d.ts +0 -1
- package/dist/features/builtin-skills/skills/security-secrets.d.ts +0 -1
- package/dist/features/builtin-skills/skills/software-dev.d.ts +2 -0
- package/dist/features/builtin-skills/skills/tdd-enforcer.d.ts +0 -2
- package/dist/features/builtin-skills/skills.d.ts +1 -1
- package/dist/features/claude-code-agent-loader/index.d.ts +1 -1
- package/dist/features/claude-code-command-loader/index.d.ts +1 -1
- package/dist/features/claude-code-command-loader/types.d.ts +2 -1
- package/dist/features/claude-code-mcp-loader/env-expander.d.ts +0 -1
- package/dist/features/claude-code-mcp-loader/index.d.ts +2 -2
- package/dist/features/claude-code-mcp-loader/loader.d.ts +1 -2
- package/dist/features/claude-code-plugin-loader/discovery.d.ts +1 -1
- package/dist/features/claude-code-plugin-loader/index.d.ts +7 -7
- package/dist/features/claude-code-plugin-loader/loader.d.ts +5 -5
- package/dist/features/claude-code-plugin-loader/plugin-path-resolver.d.ts +0 -1
- package/dist/features/claude-code-plugin-loader/types.d.ts +10 -9
- package/dist/features/claude-tasks/index.d.ts +2 -2
- package/dist/features/claude-tasks/session-storage.d.ts +2 -1
- package/dist/features/claude-tasks/storage.d.ts +0 -1
- package/dist/features/claude-tasks/types.d.ts +4 -4
- package/dist/features/context-injector/index.d.ts +1 -1
- package/dist/features/context-injector/injector.d.ts +1 -27
- package/dist/features/handoff/constants.d.ts +8 -0
- package/dist/features/handoff/index.d.ts +4 -0
- package/dist/features/handoff/schema.d.ts +90 -0
- package/dist/{hooks/handoff-injector → features/handoff}/storage.d.ts +2 -0
- package/dist/features/handoff/validate.d.ts +22 -0
- package/dist/features/hook-message-injector/constants.d.ts +1 -1
- package/dist/features/hook-message-injector/index.d.ts +2 -2
- package/dist/features/hook-message-injector/injector.d.ts +2 -2
- package/dist/features/mcp-oauth/dcr.d.ts +3 -9
- package/dist/features/mcp-oauth/index.d.ts +1 -1
- package/dist/features/mcp-oauth/provider.d.ts +4 -4
- package/dist/features/mcp-oauth/schema.d.ts +0 -1
- package/dist/features/mcp-oauth/step-up.d.ts +2 -1
- package/dist/features/mission-state/constants.d.ts +0 -3
- package/dist/features/mission-state/index.d.ts +1 -1
- package/dist/features/mission-state/storage.d.ts +0 -1
- package/dist/features/opencode-skill-loader/index.d.ts +6 -7
- package/dist/features/opencode-skill-loader/loaded-skill-from-path.d.ts +1 -1
- package/dist/features/opencode-skill-loader/loader.d.ts +2 -2
- package/dist/features/opencode-skill-loader/merger/config-skill-entry-loader.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 +3 -2
- package/dist/features/opencode-skill-loader/skill-content.d.ts +3 -4
- package/dist/features/opencode-skill-loader/skill-discovery.d.ts +1 -1
- package/dist/features/opencode-skill-loader/skill-resolution-options.d.ts +1 -2
- package/dist/features/run-continuation-state/index.d.ts +1 -1
- package/dist/features/run-continuation-state/types.d.ts +2 -1
- package/dist/features/skill-mcp-manager/cleanup.d.ts +0 -1
- package/dist/features/skill-mcp-manager/index.d.ts +1 -1
- package/dist/features/skill-mcp-manager/oauth-handler.d.ts +0 -1
- package/dist/features/skill-mcp-manager/types.d.ts +5 -4
- package/dist/features/task-toast-manager/index.d.ts +2 -2
- package/dist/features/task-toast-manager/manager.d.ts +1 -1
- package/dist/features/tmux-subagent/action-executor.d.ts +2 -2
- package/dist/features/tmux-subagent/cleanup.d.ts +1 -9
- package/dist/features/tmux-subagent/decision-engine.d.ts +3 -3
- package/dist/features/tmux-subagent/event-handlers.d.ts +3 -3
- package/dist/features/tmux-subagent/index.d.ts +7 -8
- package/dist/features/tmux-subagent/manager.d.ts +1 -1
- package/dist/features/tmux-subagent/polling.d.ts +0 -18
- package/dist/features/tmux-subagent/session-created-handler.d.ts +1 -1
- package/dist/features/tmux-subagent/session-deleted-handler.d.ts +1 -1
- package/dist/features/tmux-subagent/spawn-action-decider.d.ts +1 -1
- package/dist/features/tool-metadata-store/index.d.ts +1 -1
- package/dist/hooks/anthropic-context-window-limit-recovery/aggressive-truncation-strategy.d.ts +1 -1
- package/dist/hooks/anthropic-context-window-limit-recovery/empty-content-recovery.d.ts +1 -1
- package/dist/hooks/anthropic-context-window-limit-recovery/executor.d.ts +3 -2
- package/dist/hooks/anthropic-context-window-limit-recovery/index.d.ts +5 -5
- package/dist/hooks/anthropic-context-window-limit-recovery/message-builder.d.ts +1 -1
- package/dist/hooks/anthropic-context-window-limit-recovery/message-storage-directory.d.ts +0 -3
- package/dist/hooks/anthropic-context-window-limit-recovery/storage.d.ts +1 -1
- package/dist/hooks/anthropic-context-window-limit-recovery/summarize-retry-strategy.d.ts +1 -1
- package/dist/hooks/architect/index.d.ts +1 -1
- package/dist/hooks/auto-slash-command/executor.d.ts +2 -1
- package/dist/hooks/auto-slash-command/hook.d.ts +1 -1
- package/dist/hooks/auto-slash-command/index.d.ts +3 -3
- package/dist/hooks/auto-slash-command/types.d.ts +0 -5
- package/dist/hooks/auto-update-checker/checker.d.ts +6 -6
- package/dist/hooks/auto-update-checker/constants.d.ts +0 -2
- package/dist/hooks/auto-update-checker/index.d.ts +4 -4
- package/dist/hooks/comment-checker/cli-runner.d.ts +2 -1
- package/dist/hooks/comment-checker/downloader.d.ts +0 -5
- package/dist/hooks/comment-checker/types.d.ts +0 -18
- package/dist/hooks/delegate-task-retry/index.d.ts +2 -2
- package/dist/hooks/design-intent-preserver/constants.d.ts +6 -0
- package/dist/hooks/design-intent-preserver/hook.d.ts +19 -0
- package/dist/hooks/design-intent-preserver/index.d.ts +1 -0
- package/dist/hooks/design-intent-preserver/phase-detector.d.ts +8 -0
- package/dist/hooks/directory-agents-injector/finder.d.ts +1 -1
- package/dist/hooks/directory-agents-injector/hook.d.ts +3 -23
- package/dist/hooks/directory-injector/factory.d.ts +40 -0
- package/dist/hooks/directory-injector/index.d.ts +1 -0
- package/dist/hooks/directory-readme-injector/finder.d.ts +1 -1
- package/dist/hooks/directory-readme-injector/hook.d.ts +3 -23
- package/dist/hooks/env-file-write-guard/hook.d.ts +2 -1
- package/dist/hooks/index.d.ts +43 -41
- package/dist/hooks/interactive-bash-session/constants.d.ts +1 -1
- package/dist/hooks/interactive-bash-session/index.d.ts +0 -2
- package/dist/hooks/interactive-bash-session/parser.d.ts +2 -2
- package/dist/hooks/json-error-recovery/index.d.ts +1 -1
- package/dist/hooks/keyword-detector/analyze/index.d.ts +1 -1
- package/dist/hooks/keyword-detector/constants.d.ts +5 -6
- package/dist/hooks/keyword-detector/detector.d.ts +2 -2
- package/dist/hooks/keyword-detector/index.d.ts +1 -2
- package/dist/hooks/keyword-detector/search/index.d.ts +1 -1
- package/dist/hooks/keyword-detector/ultrawork/index.d.ts +4 -4
- package/dist/hooks/matrix-loop/completion-promise-detector.d.ts +10 -0
- package/dist/hooks/matrix-loop/completion-verifier.d.ts +4 -1
- package/dist/hooks/matrix-loop/constants.d.ts +0 -1
- package/dist/hooks/matrix-loop/index.d.ts +3 -3
- package/dist/hooks/matrix-loop/storage.d.ts +0 -1
- package/dist/hooks/non-interactive-env/index.d.ts +0 -1
- package/dist/hooks/non-interactive-env/non-interactive-env-hook.d.ts +0 -1
- package/dist/hooks/preemptive-compaction-types.d.ts +2 -1
- package/dist/hooks/prometheus-md-only/constants.d.ts +0 -1
- package/dist/hooks/quality-gate/hook.d.ts +18 -0
- package/dist/hooks/rules-injector/index.d.ts +1 -1
- package/dist/hooks/rules-injector/injector.d.ts +1 -0
- package/dist/hooks/rules-injector/matcher.d.ts +2 -1
- package/dist/hooks/rules-injector/output-path.d.ts +2 -1
- package/dist/hooks/rules-injector/parser.d.ts +2 -1
- package/dist/hooks/rules-injector/types.d.ts +0 -21
- package/dist/hooks/runtime-fallback/agent-resolver.d.ts +0 -2
- package/dist/hooks/runtime-fallback/auto-retry-signal.d.ts +2 -1
- package/dist/hooks/runtime-fallback/event-handler.d.ts +1 -1
- package/dist/hooks/runtime-fallback/fallback-retry-dispatcher.d.ts +1 -1
- package/dist/hooks/runtime-fallback/fallback-state.d.ts +1 -3
- package/dist/hooks/runtime-fallback/index.d.ts +1 -1
- package/dist/hooks/runtime-fallback/message-update-handler.d.ts +1 -1
- package/dist/hooks/runtime-fallback/session-status-handler.d.ts +1 -1
- package/dist/hooks/runtime-fallback/types.d.ts +1 -1
- package/dist/hooks/runtime-fallback/visible-assistant-response.d.ts +1 -1
- package/dist/hooks/secret-leak-guard/gitleaks-runner.d.ts +4 -3
- package/dist/hooks/secret-leak-guard/hook.d.ts +2 -1
- package/dist/hooks/session-recovery/constants.d.ts +1 -2
- package/dist/hooks/session-recovery/index.d.ts +3 -3
- package/dist/hooks/session-recovery/storage.d.ts +9 -17
- package/dist/hooks/session-recovery/types.d.ts +3 -5
- package/dist/hooks/start-work/index.d.ts +1 -1
- package/dist/hooks/stop-continuation-guard/hook.d.ts +2 -1
- package/dist/hooks/stop-continuation-guard/index.d.ts +1 -1
- package/dist/hooks/task-notepad/constants.d.ts +10 -0
- package/dist/hooks/task-notepad/hook.d.ts +12 -0
- package/dist/hooks/task-notepad/index.d.ts +3 -0
- package/dist/hooks/task-notepad/types.d.ts +16 -0
- package/dist/hooks/tasks-todowrite-disabler/index.d.ts +1 -1
- package/dist/hooks/think-mode/hook.d.ts +5 -1
- package/dist/hooks/think-mode/index.d.ts +1 -1
- package/dist/hooks/think-mode/switcher.d.ts +1 -0
- package/dist/hooks/think-mode/types.d.ts +3 -2
- package/dist/hooks/todo-continuation-enforcer/continuation-injection.d.ts +1 -1
- package/dist/hooks/todo-continuation-enforcer/countdown.d.ts +1 -1
- package/dist/hooks/unstable-agent-babysitter/index.d.ts +1 -1
- package/dist/hooks/webfetch-redirect-guard/redirect-resolution.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +64716 -51265
- package/dist/mcp/index.d.ts +1 -1
- package/dist/plugin/chat-message.d.ts +1 -1
- package/dist/plugin/event.d.ts +1 -1
- package/dist/plugin/hooks/create-continuation-hooks.d.ts +1 -1
- package/dist/plugin/hooks/create-core-hooks.d.ts +3 -1
- package/dist/plugin/hooks/create-session-hooks.d.ts +3 -3
- package/dist/plugin/hooks/create-skill-hooks.d.ts +1 -1
- package/dist/plugin/hooks/create-tool-guard-hooks.d.ts +3 -1
- package/dist/plugin/hooks/create-transform-hooks.d.ts +3 -3
- package/dist/plugin/messages-transform.d.ts +1 -0
- package/dist/plugin/session-agent-resolver.d.ts +1 -1
- package/dist/plugin/tool-execute-before.bench.d.ts +1 -0
- package/dist/plugin/tool-execute-before.d.ts +1 -1
- package/dist/plugin/tool-registry.d.ts +1 -1
- package/dist/plugin/unstable-agent-babysitter.d.ts +1 -1
- package/dist/plugin-config.d.ts +24 -1
- package/dist/plugin-handlers/agent-config-handler.d.ts +1 -1
- package/dist/plugin-handlers/config-handler.d.ts +1 -1
- package/dist/plugin-handlers/index.d.ts +6 -6
- package/dist/plugin-interface.d.ts +1 -1
- package/dist/shared/agent-tool-restrictions.d.ts +0 -1
- package/dist/shared/code-patterns.d.ts +2 -0
- package/dist/shared/command-executor/embedded-commands.d.ts +2 -1
- package/dist/shared/command-executor/execute-command.d.ts +1 -1
- package/dist/shared/command-executor.d.ts +0 -2
- package/dist/shared/dynamic-truncator.d.ts +3 -9
- package/dist/shared/error-formatting.d.ts +27 -0
- package/dist/shared/external-plugin-detector.d.ts +2 -1
- package/dist/shared/frontmatter.d.ts +2 -1
- package/dist/shared/git-worktree/index.d.ts +3 -3
- package/dist/shared/index.d.ts +36 -35
- package/dist/shared/is-object.d.ts +1 -0
- package/dist/shared/jsonc-parser.d.ts +2 -1
- package/dist/shared/logger.d.ts +0 -1
- package/dist/shared/migration.d.ts +2 -2
- package/dist/shared/model-availability.d.ts +24 -2
- package/dist/shared/model-suggestion-retry.d.ts +1 -1
- package/dist/shared/normalize-sdk-response.d.ts +2 -1
- package/dist/shared/opencode-config-dir-types.d.ts +0 -1
- package/dist/shared/permission-compat.d.ts +2 -1
- package/dist/shared/port-utils.d.ts +1 -1
- package/dist/shared/session-cursor.d.ts +1 -1
- package/dist/shared/session-injected-paths.d.ts +0 -5
- package/dist/shared/session-model-state.d.ts +2 -3
- package/dist/shared/session-temperature-store.d.ts +3 -0
- package/dist/shared/shell-env.d.ts +2 -18
- package/dist/shared/skill-path-resolver.d.ts +1 -1
- package/dist/shared/system-directive.d.ts +0 -1
- package/dist/shared/tmux/index.d.ts +1 -1
- package/dist/shared/tmux/tmux-utils.d.ts +6 -6
- package/dist/shared/token-cache.d.ts +23 -0
- package/dist/shared/transcript-path.d.ts +1 -0
- package/dist/tools/ast-grep/cli-binary-path-resolution.d.ts +0 -1
- package/dist/tools/ast-grep/constants.d.ts +1 -2
- package/dist/tools/ast-grep/downloader.d.ts +0 -1
- package/dist/tools/ast-grep/index.d.ts +4 -4
- package/dist/tools/ast-grep/result-formatter.d.ts +1 -3
- package/dist/tools/ast-grep/types.d.ts +1 -24
- package/dist/tools/background-task/index.d.ts +2 -2
- package/dist/tools/background-task/time-format.d.ts +0 -1
- package/dist/tools/background-task/tools.d.ts +2 -2
- package/dist/tools/background-task/types.d.ts +0 -19
- package/dist/tools/delegate-agent/background-agent-executor.d.ts +5 -0
- package/dist/tools/{call-omo-agent → delegate-agent}/background-executor.d.ts +3 -3
- package/dist/tools/delegate-agent/constants.d.ts +2 -0
- package/dist/tools/{call-omo-agent → delegate-agent}/index.d.ts +2 -2
- package/dist/tools/{call-omo-agent → delegate-agent}/session-creator.d.ts +2 -2
- package/dist/tools/{call-omo-agent → delegate-agent}/subagent-session-creator.d.ts +2 -2
- package/dist/tools/{call-omo-agent → delegate-agent}/sync-executor.d.ts +3 -3
- package/dist/tools/{call-omo-agent → delegate-agent}/tools.d.ts +1 -1
- package/dist/tools/{call-omo-agent → delegate-agent}/types.d.ts +1 -16
- package/dist/tools/delegate-task/background-continuation.d.ts +1 -1
- package/dist/tools/delegate-task/background-task.d.ts +2 -1
- package/dist/tools/delegate-task/categories.d.ts +5 -3
- package/dist/tools/delegate-task/category-resolver.d.ts +2 -1
- package/dist/tools/delegate-task/constants.d.ts +6 -18
- package/dist/tools/delegate-task/error-formatting.d.ts +4 -13
- package/dist/tools/delegate-task/executor-types.d.ts +1 -2
- package/dist/tools/delegate-task/executor.d.ts +7 -7
- package/dist/tools/delegate-task/index.d.ts +3 -3
- package/dist/tools/delegate-task/parent-context-resolver.d.ts +1 -2
- package/dist/tools/delegate-task/prompt-builder.d.ts +0 -1
- package/dist/tools/delegate-task/skill-resolver.d.ts +1 -2
- package/dist/tools/delegate-task/subagent-resolver.d.ts +1 -1
- package/dist/tools/delegate-task/sync-continuation-deps.d.ts +1 -1
- package/dist/tools/delegate-task/sync-continuation.d.ts +1 -1
- package/dist/tools/delegate-task/sync-prompt-sender.d.ts +2 -1
- package/dist/tools/delegate-task/sync-result-fetcher.d.ts +6 -1
- package/dist/tools/delegate-task/sync-session-poller.d.ts +5 -1
- package/dist/tools/delegate-task/sync-task-deps.d.ts +2 -2
- package/dist/tools/delegate-task/sync-task.d.ts +2 -1
- package/dist/tools/delegate-task/tools.d.ts +1 -1
- package/dist/tools/delegate-task/types.d.ts +2 -3
- package/dist/tools/delegate-task/unstable-agent-task.d.ts +2 -1
- package/dist/tools/glob/cli.d.ts +1 -1
- package/dist/tools/glob/constants.d.ts +1 -1
- package/dist/tools/grep/cli.d.ts +1 -2
- package/dist/tools/grep/constants.d.ts +0 -1
- package/dist/tools/grep/result-formatter.d.ts +1 -2
- package/dist/tools/grep/types.d.ts +0 -4
- package/dist/tools/handoff/archive-handler.d.ts +9 -0
- package/dist/tools/handoff/body-formatter.d.ts +9 -0
- package/dist/tools/handoff/constants.d.ts +17 -0
- package/dist/tools/handoff/create-handler.d.ts +34 -0
- package/dist/tools/handoff/git.d.ts +12 -0
- package/dist/tools/handoff/index.d.ts +3 -0
- package/dist/tools/handoff/list-handler.d.ts +8 -0
- package/dist/tools/handoff/read-handler.d.ts +8 -0
- package/dist/tools/handoff/tools.d.ts +11 -0
- package/dist/tools/hashline-edit/autocorrect-replacement-lines.d.ts +0 -5
- package/dist/tools/hashline-edit/edit-operations.d.ts +2 -1
- package/dist/tools/hashline-edit/edit-text-normalization.d.ts +0 -2
- package/dist/tools/hashline-edit/file-text-canonicalization.d.ts +2 -1
- package/dist/tools/hashline-edit/hash-computation.d.ts +2 -1
- package/dist/tools/hashline-edit/hashline-chunk-formatter.d.ts +1 -1
- package/dist/tools/hashline-edit/hashline-edit-executor.d.ts +1 -1
- package/dist/tools/hashline-edit/index.d.ts +4 -5
- package/dist/tools/hashline-edit/validation.d.ts +0 -2
- package/dist/tools/index.d.ts +8 -7
- package/dist/tools/interactive-bash/constants.d.ts +1 -1
- package/dist/tools/interactive-bash/index.d.ts +1 -1
- package/dist/tools/look-at/index.d.ts +1 -1
- package/dist/tools/lsp/client.d.ts +1 -1
- package/dist/tools/lsp/config.d.ts +1 -1
- package/dist/tools/lsp/constants.d.ts +1 -1
- package/dist/tools/lsp/index.d.ts +4 -4
- package/dist/tools/lsp/lsp-client-transport.d.ts +1 -1
- package/dist/tools/lsp/lsp-client-wrapper.d.ts +1 -5
- package/dist/tools/lsp/lsp-formatters.d.ts +1 -5
- package/dist/tools/lsp/lsp-server.d.ts +1 -1
- package/dist/tools/lsp/tools.d.ts +3 -3
- package/dist/tools/lsp/types.d.ts +8 -7
- package/dist/tools/session-manager/constants.d.ts +1 -1
- package/dist/tools/session-manager/index.d.ts +1 -1
- package/dist/tools/session-manager/session-formatter.d.ts +1 -1
- package/dist/tools/session-manager/storage.d.ts +2 -3
- package/dist/tools/session-manager/types.d.ts +0 -4
- package/dist/tools/skill/constants.d.ts +0 -1
- package/dist/tools/skill/index.d.ts +1 -1
- package/dist/tools/skill/types.d.ts +1 -4
- package/dist/tools/skill-mcp/constants.d.ts +0 -1
- package/dist/tools/skill-mcp/index.d.ts +1 -1
- package/dist/tools/skill-mcp/tools.d.ts +1 -1
- package/dist/tools/slashcommand/index.d.ts +1 -1
- package/dist/tools/slashcommand/types.d.ts +1 -1
- package/dist/tools/task/constants.d.ts +1 -0
- package/dist/tools/task/index.d.ts +1 -2
- package/dist/tools/task/types.d.ts +10 -10
- package/package.json +13 -9
- package/dist/agents/niobe.d.ts +0 -7
- package/dist/agents/zion.d.ts +0 -7
- package/dist/cli/config-manager/generate-omo-config.d.ts +0 -2
- package/dist/cli/config-manager/write-omo-config.d.ts +0 -2
- package/dist/config/schema/dynamic-context-pruning.d.ts +0 -28
- package/dist/config/schema/git-master.d.ts +0 -6
- package/dist/features/background-agent/background-event-handler.d.ts +0 -26
- package/dist/features/background-agent/background-manager-shutdown.d.ts +0 -25
- package/dist/features/background-agent/background-task-completer.d.ts +0 -3
- package/dist/features/background-agent/duration-formatter.d.ts +0 -1
- package/dist/features/background-agent/error-classifier.d.ts +0 -2
- package/dist/features/background-agent/format-duration.d.ts +0 -1
- package/dist/features/background-agent/message-dir.d.ts +0 -1
- package/dist/features/background-agent/notification-builder.d.ts +0 -8
- package/dist/features/background-agent/notification-tracker.d.ts +0 -6
- package/dist/features/background-agent/notify-parent-session.d.ts +0 -10
- package/dist/features/background-agent/parent-session-context-resolver.d.ts +0 -14
- package/dist/features/background-agent/parent-session-notifier.d.ts +0 -3
- package/dist/features/background-agent/poll-running-tasks.d.ts +0 -15
- package/dist/features/background-agent/process-signal.d.ts +0 -2
- package/dist/features/background-agent/result-handler-context.d.ts +0 -8
- package/dist/features/background-agent/result-handler.d.ts +0 -7
- package/dist/features/background-agent/session-idle-event-handler.d.ts +0 -10
- package/dist/features/background-agent/session-output-validator.d.ts +0 -2
- package/dist/features/background-agent/session-task-cleanup.d.ts +0 -10
- package/dist/features/background-agent/session-todo-checker.d.ts +0 -2
- package/dist/features/background-agent/session-validator.d.ts +0 -7
- package/dist/features/background-agent/spawner/background-session-creator.d.ts +0 -10
- package/dist/features/background-agent/spawner/concurrency-key-from-launch-input.d.ts +0 -2
- package/dist/features/background-agent/spawner/parent-directory-resolver.d.ts +0 -6
- package/dist/features/background-agent/spawner/spawner-context.d.ts +0 -11
- package/dist/features/background-agent/spawner/task-factory.d.ts +0 -2
- package/dist/features/background-agent/spawner/task-resumer.d.ts +0 -3
- package/dist/features/background-agent/spawner/task-starter.d.ts +0 -3
- package/dist/features/background-agent/spawner/tmux-callback-invoker.d.ts +0 -8
- package/dist/features/background-agent/spawner.d.ts +0 -14
- package/dist/features/background-agent/stale-task-pruner.d.ts +0 -15
- package/dist/features/background-agent/task-canceller.d.ts +0 -27
- package/dist/features/background-agent/task-completer.d.ts +0 -13
- package/dist/features/background-agent/task-launch.d.ts +0 -15
- package/dist/features/background-agent/task-queries.d.ts +0 -7
- package/dist/features/background-agent/task-queue-processor.d.ts +0 -14
- package/dist/features/background-agent/task-resumer.d.ts +0 -14
- package/dist/features/background-agent/task-starter.d.ts +0 -27
- package/dist/features/background-agent/task-tracker.d.ts +0 -18
- package/dist/features/builtin-skills/skills/academic-review.d.ts +0 -4
- package/dist/features/builtin-skills/skills/academic-writing.d.ts +0 -4
- package/dist/features/builtin-skills/skills/crypto-market-analysis.d.ts +0 -4
- package/dist/features/builtin-skills/skills/crypto-onchain.d.ts +0 -4
- package/dist/features/builtin-skills/skills/crypto-trading.d.ts +0 -4
- package/dist/features/builtin-skills/skills/data-management-plan.d.ts +0 -4
- package/dist/features/builtin-skills/skills/deliverable-writing.d.ts +0 -4
- package/dist/features/builtin-skills/skills/eu-horizon.d.ts +0 -4
- package/dist/features/builtin-skills/skills/git-master-skill-metadata.d.ts +0 -2
- package/dist/features/builtin-skills/skills/grant-writing.d.ts +0 -4
- package/dist/features/builtin-skills/skills/ip-exploitation.d.ts +0 -4
- package/dist/features/builtin-skills/skills/literature-review.d.ts +0 -4
- package/dist/features/builtin-skills/skills/project-management.d.ts +0 -4
- package/dist/features/builtin-skills/skills/research-methodology.d.ts +0 -4
- package/dist/features/builtin-skills/skills/scientific-presentation.d.ts +0 -4
- package/dist/features/builtin-skills/skills/technical-lead.d.ts +0 -4
- package/dist/features/mcp-oauth/resource-indicator.d.ts +0 -2
- package/dist/features/opencode-skill-loader/async-loader.d.ts +0 -6
- package/dist/features/opencode-skill-loader/blocking.d.ts +0 -2
- package/dist/features/opencode-skill-loader/git-master-template-injection.d.ts +0 -2
- package/dist/features/team-mode/index.d.ts +0 -2
- package/dist/features/team-mode/team-layout-tmux/index.d.ts +0 -1
- package/dist/features/team-mode/team-layout-tmux/layout.d.ts +0 -15
- package/dist/features/team-mode/team-worktree/cleanup.d.ts +0 -3
- package/dist/features/team-mode/team-worktree/index.d.ts +0 -2
- package/dist/features/team-mode/team-worktree/manager.d.ts +0 -15
- package/dist/features/team-mode/types.d.ts +0 -210
- package/dist/features/tmux-subagent/manager-cleanup.d.ts +0 -12
- package/dist/features/tmux-subagent/session-cleaner.d.ts +0 -23
- package/dist/features/tmux-subagent/session-message-count.d.ts +0 -1
- package/dist/features/tmux-subagent/session-spawner.d.ts +0 -34
- package/dist/hooks/anthropic-context-window-limit-recovery/deduplication-recovery.d.ts +0 -6
- package/dist/hooks/anthropic-context-window-limit-recovery/pruning-deduplication.d.ts +0 -10
- package/dist/hooks/anthropic-context-window-limit-recovery/pruning-tool-output-truncation.d.ts +0 -6
- package/dist/hooks/anthropic-context-window-limit-recovery/pruning-types.d.ts +0 -36
- package/dist/hooks/claude-code-hooks/claude-code-hooks-hook.d.ts +0 -48
- package/dist/hooks/claude-code-hooks/config-loader.d.ts +0 -13
- package/dist/hooks/claude-code-hooks/config.d.ts +0 -3
- package/dist/hooks/claude-code-hooks/handlers/chat-message-handler.d.ts +0 -19
- package/dist/hooks/claude-code-hooks/handlers/pre-compact-handler.d.ts +0 -7
- package/dist/hooks/claude-code-hooks/handlers/session-event-handler.d.ts +0 -8
- package/dist/hooks/claude-code-hooks/handlers/tool-execute-after-handler.d.ts +0 -11
- package/dist/hooks/claude-code-hooks/handlers/tool-execute-before-handler.d.ts +0 -9
- package/dist/hooks/claude-code-hooks/index.d.ts +0 -1
- package/dist/hooks/claude-code-hooks/plugin-config.d.ts +0 -8
- package/dist/hooks/claude-code-hooks/post-tool-use.d.ts +0 -40
- package/dist/hooks/claude-code-hooks/pre-compact.d.ts +0 -16
- package/dist/hooks/claude-code-hooks/pre-tool-use.d.ts +0 -25
- package/dist/hooks/claude-code-hooks/session-hook-state.d.ts +0 -9
- package/dist/hooks/claude-code-hooks/stop.d.ts +0 -20
- package/dist/hooks/claude-code-hooks/todo.d.ts +0 -12
- package/dist/hooks/claude-code-hooks/tool-input-cache.d.ts +0 -5
- package/dist/hooks/claude-code-hooks/transcript.d.ts +0 -29
- package/dist/hooks/claude-code-hooks/types.d.ts +0 -183
- package/dist/hooks/claude-code-hooks/user-prompt-submit.d.ts +0 -22
- package/dist/hooks/handoff-injector/constants.d.ts +0 -4
- package/dist/hooks/interactive-bash-session/interactive-bash-session-hook.d.ts +0 -23
- package/dist/hooks/interactive-bash-session/interactive-bash-session-tracker.d.ts +0 -21
- package/dist/hooks/interactive-bash-session/tmux-command-parser.d.ts +0 -4
- package/dist/hooks/keyword-detector/types.d.ts +0 -4
- package/dist/hooks/non-interactive-env/types.d.ts +0 -3
- package/dist/hooks/session-recovery/recover-empty-content-message.d.ts +0 -5
- package/dist/plugin-handlers/agent-key-remapper.d.ts +0 -1
- package/dist/shared/available-models-fetcher.d.ts +0 -4
- package/dist/shared/command-executor/execute-hook-command.d.ts +0 -10
- package/dist/shared/command-executor/home-directory.d.ts +0 -1
- package/dist/shared/command-executor/shell-path.d.ts +0 -2
- package/dist/shared/fallback-model-availability.d.ts +0 -5
- package/dist/shared/hook-disabled.d.ts +0 -2
- package/dist/shared/model-cache-availability.d.ts +0 -2
- package/dist/shared/model-name-matcher.d.ts +0 -1
- package/dist/shared/models-json-cache-reader.d.ts +0 -1
- package/dist/shared/open-code-client-accessors.d.ts +0 -3
- package/dist/shared/open-code-client-shapes.d.ts +0 -13
- package/dist/shared/pattern-matcher.d.ts +0 -3
- package/dist/shared/provider-models-cache-model-reader.d.ts +0 -1
- package/dist/shared/snake-case.d.ts +0 -5
- package/dist/shared/tmux/tmux-utils/spawn-process.d.ts +0 -1
- package/dist/shared/tool-name.d.ts +0 -1
- package/dist/tools/background-task/modules/background-cancel.d.ts +0 -4
- package/dist/tools/background-task/modules/background-output.d.ts +0 -3
- package/dist/tools/background-task/modules/background-task.d.ts +0 -3
- package/dist/tools/background-task/modules/formatters.d.ts +0 -11
- package/dist/tools/background-task/modules/message-processing.d.ts +0 -59
- package/dist/tools/background-task/modules/utils.d.ts +0 -16
- package/dist/tools/call-omo-agent/agent-type-normalizer.d.ts +0 -2
- package/dist/tools/call-omo-agent/background-agent-executor.d.ts +0 -5
- package/dist/tools/call-omo-agent/constants.d.ts +0 -2
- package/dist/tools/call-omo-agent/session-completion-poller.d.ts +0 -13
- package/dist/tools/call-omo-agent/session-message-output-extractor.d.ts +0 -17
- package/dist/tools/call-omo-agent/subagent-session-prompter.d.ts +0 -11
- package/dist/tools/call-omo-agent/sync-agent-executor.d.ts +0 -4
- package/dist/tools/delegate-task/skill-content-resolver.d.ts +0 -9
- package/dist/tools/hashline-edit/hashline-edit-diff.d.ts +0 -1
- package/dist/tools/look-at/session-poller.d.ts +0 -8
- /package/dist/features/{opencode-skill-loader/discover-worker.d.ts → background-agent/manager.bench.d.ts} +0 -0
- /package/dist/{tools/delegate-task/time-formatter.d.ts → shared/format-duration.d.ts} +0 -0
- /package/dist/tools/{call-omo-agent → delegate-agent}/completion-poller.d.ts +0 -0
- /package/dist/tools/{call-omo-agent → delegate-agent}/message-dir.d.ts +0 -0
- /package/dist/tools/{call-omo-agent → delegate-agent}/message-processor.d.ts +0 -0
- /package/dist/tools/{call-omo-agent → delegate-agent}/message-storage-directory.d.ts +0 -0
- /package/dist/tools/{call-omo-agent → delegate-agent}/tool-context-with-metadata.d.ts +0 -0
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
>
|
|
2
|
-
> [](https://github.com/klpanagi/matrixx)
|
|
3
3
|
>
|
|
4
4
|
> Matrixx is **highly inspired by** [oh-my-opencode](https://github.com/code-yeongyu/oh-my-opencode) — the project that pioneered the "oh-my-zsh for OpenCode" concept.
|
|
5
5
|
> Full credit to [code-yeongyu](https://github.com/code-yeongyu) for the original vision.
|
|
@@ -10,25 +10,35 @@
|
|
|
10
10
|
<h1>Matrixx</h1>
|
|
11
11
|
|
|
12
12
|
[](https://www.npmjs.com/package/opencode-matrixx)
|
|
13
|
+
[](https://github.com/klpanagi/matrixx/blob/master/LICENSE)
|
|
13
14
|
|
|
14
15
|
**Multi-model agent orchestration for [OpenCode](https://github.com/sst/opencode).**<br/>
|
|
15
|
-
**
|
|
16
|
-
|
|
17
|
-
*Use your existing ChatGPT, Claude, and Gemini subscriptions. OpenCode covers them all.*
|
|
16
|
+
**13 specialized agents. 40 lifecycle hooks. 28+ tools. One plugin.**
|
|
18
17
|
|
|
19
18
|
</div>
|
|
20
19
|
|
|
21
20
|
---
|
|
22
21
|
|
|
23
|
-
|
|
22
|
+
## What is Matrixx?
|
|
24
23
|
|
|
25
|
-
|
|
24
|
+
OpenCode is a powerful open-source AI coding agent. Matrixx makes it **smarter**.
|
|
26
25
|
|
|
27
|
-
|
|
26
|
+
Instead of one model doing everything, Matrixx coordinates a **team of specialists** — each model doing what it does best, in parallel, with full context awareness. The right model for the right job, automatically.
|
|
27
|
+
|
|
28
|
+
```
|
|
29
|
+
You: "Add OAuth2 with PKCE to the API"
|
|
30
|
+
↓
|
|
31
|
+
Morpheus (Claude Opus) → Plans the implementation
|
|
32
|
+
├─ Keymaker (GPT 5.3) → Builds auth middleware + routes
|
|
33
|
+
├─ Oracle (Claude Opus) → Reviews architecture in parallel
|
|
34
|
+
└─ Sentinel (Sonnet 4.6) → Audits for security vulnerabilities
|
|
35
|
+
↓
|
|
36
|
+
Done. Tested. Secure.
|
|
37
|
+
```
|
|
28
38
|
|
|
29
|
-
|
|
39
|
+
---
|
|
30
40
|
|
|
31
|
-
|
|
41
|
+
## Why Matrixx?
|
|
32
42
|
|
|
33
43
|
| Problem | Matrixx Solution |
|
|
34
44
|
|---------|------------------|
|
|
@@ -49,107 +59,188 @@ That's it. Parallel agents, background tasks, deep exploration, relentless execu
|
|
|
49
59
|
|
|
50
60
|
---
|
|
51
61
|
|
|
62
|
+
## Quick Start
|
|
63
|
+
|
|
64
|
+
### Install
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
npm install -g opencode-matrixx
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
### Configure
|
|
71
|
+
|
|
72
|
+
Create `matrixx.jsonc` in your project root:
|
|
73
|
+
|
|
74
|
+
```jsonc
|
|
75
|
+
{
|
|
76
|
+
"$schema": "https://raw.githubusercontent.com/klpanagi/matrixx/refs/heads/dev/dist/matrixx.schema.json",
|
|
77
|
+
"profile": "balanced"
|
|
78
|
+
}
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
### Use
|
|
82
|
+
|
|
83
|
+
Open OpenCode and start coding. Matrixx activates automatically.
|
|
84
|
+
|
|
85
|
+
**For LLM agents** — paste this into Claude Code, AmpCode, Cursor, or any LLM agent:
|
|
86
|
+
|
|
87
|
+
```
|
|
88
|
+
Install and configure matrixx by following the instructions here:
|
|
89
|
+
https://raw.githubusercontent.com/klpanagi/matrixx/refs/heads/dev/docs/guide/installation.md
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
[Manual installation guide →](docs/guide/installation.md) · [Uninstall →](docs/guide/uninstallation.md)
|
|
93
|
+
|
|
94
|
+
---
|
|
95
|
+
|
|
96
|
+
## Profiles
|
|
97
|
+
|
|
98
|
+
Profiles assign models to every agent — one setting, full model lineup.
|
|
99
|
+
|
|
100
|
+
| Profile | Best For | Daily Cost |
|
|
101
|
+
|---------|----------|------------|
|
|
102
|
+
| **free** | Experimentation, prototyping | $0 |
|
|
103
|
+
| **budget** | Personal projects, light use | ~$1–3 |
|
|
104
|
+
| **economy** | Active development with cost control | ~$3–8 |
|
|
105
|
+
| **balanced** | Professional development | ~$8–20 |
|
|
106
|
+
| **performance** | Maximum capability | ~$20–50 |
|
|
107
|
+
| **go** | OpenCode Go subscription | Go quota |
|
|
108
|
+
|
|
109
|
+
Profile defaults merge first; any `agents` or `categories` override takes precedence.
|
|
110
|
+
|
|
111
|
+
---
|
|
112
|
+
|
|
52
113
|
## The Agent Team
|
|
53
114
|
|
|
54
|
-
|
|
55
|
-
<tr>
|
|
56
|
-
<td width="50%">
|
|
115
|
+
### 01. Morpheus — *The Orchestrator*
|
|
57
116
|
|
|
58
|
-
|
|
59
|
-
<img src=".github/assets/morpheus.png" width="120" align="right"/>
|
|
117
|
+
<img src=".github/assets/morpheus.png" width="140" align="right"/>
|
|
60
118
|
|
|
61
|
-
|
|
119
|
+
*The one who sees the code for what it truly is.*
|
|
62
120
|
|
|
63
|
-
|
|
121
|
+
**Role:** Master orchestrator and strategic coordinator
|
|
64
122
|
|
|
65
|
-
|
|
66
|
-
<td width="50%">
|
|
123
|
+
**Model:** Claude Opus 4.6 · `temperature: 0.1`
|
|
67
124
|
|
|
68
|
-
|
|
69
|
-
<img src=".github/assets/keymaker.png" width="120" align="right"/>
|
|
125
|
+
Plans, delegates, and executes. Fires background agents in parallel, leverages LSP and AST-Grep for surgical refactoring, and never stops until the TODO list is empty. Morpheus sees the code for what it truly is — and routes every task to the agent best suited for it.
|
|
70
126
|
|
|
71
|
-
|
|
127
|
+
---
|
|
72
128
|
|
|
73
|
-
|
|
129
|
+
### 02. Keymaker — *The Craftsman*
|
|
74
130
|
|
|
75
|
-
|
|
76
|
-
</tr>
|
|
77
|
-
<tr>
|
|
78
|
-
<td>
|
|
131
|
+
<img src=".github/assets/keymaker.png" width="140" align="right"/>
|
|
79
132
|
|
|
80
|
-
|
|
81
|
-
<img src=".github/assets/cipher.png" width="120" align="right"/>
|
|
133
|
+
*Give him a goal, not a recipe.*
|
|
82
134
|
|
|
83
|
-
**
|
|
135
|
+
**Role:** Autonomous deep worker
|
|
84
136
|
|
|
85
|
-
|
|
137
|
+
**Model:** GPT 5.3 Codex · `temperature: 0.1`
|
|
86
138
|
|
|
87
|
-
|
|
88
|
-
<td>
|
|
139
|
+
Explores the codebase, matches your patterns, and delivers end-to-end. Keymaker doesn't need step-by-step instructions — give him a destination and he'll find the path, writing production-quality code along the way.
|
|
89
140
|
|
|
90
|
-
|
|
91
|
-
<img src=".github/assets/niobe.png" width="120" align="right"/>
|
|
141
|
+
---
|
|
92
142
|
|
|
93
|
-
|
|
143
|
+
### 03. Cipher — *The Language Architect*
|
|
94
144
|
|
|
95
|
-
|
|
145
|
+
<img src=".github/assets/cipher.png" width="140" align="right"/>
|
|
96
146
|
|
|
97
|
-
|
|
98
|
-
</tr>
|
|
99
|
-
<tr>
|
|
100
|
-
<td colspan="2">
|
|
147
|
+
*Grammars, parsers, and the art of formal languages.*
|
|
101
148
|
|
|
102
|
-
|
|
103
|
-
<img src=".github/assets/sentinel.png" width="120" align="right"/>
|
|
149
|
+
**Role:** DSL engineering specialist
|
|
104
150
|
|
|
105
|
-
**Claude
|
|
151
|
+
**Model:** Claude Opus 4.6 · `temperature: 0.1`
|
|
106
152
|
|
|
107
|
-
|
|
153
|
+
Grammars, parsers, type systems, code generators, metamodels. 11 composable skills covering textX, ANTLR4, tree-sitter, PyEcore, and more. If it involves defining a language or transforming code, Cipher is your specialist.
|
|
108
154
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
155
|
+
---
|
|
156
|
+
|
|
157
|
+
### 04. Sentinel — *The Security Auditor*
|
|
158
|
+
|
|
159
|
+
<img src=".github/assets/sentinel.png" width="140" align="right"/>
|
|
113
160
|
|
|
114
|
-
|
|
115
|
-
<img src=".github/assets/zion.png" width="120" align="right"/>
|
|
161
|
+
*Reads every line. Changes nothing. Reports everything.*
|
|
116
162
|
|
|
117
|
-
**
|
|
163
|
+
**Role:** Read-only security specialist
|
|
118
164
|
|
|
119
|
-
|
|
165
|
+
**Model:** Claude Opus 4.6 · `temperature: 0.1`
|
|
120
166
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
167
|
+
Scans for vulnerabilities but never touches code. OWASP Top 10, SAST, DAST, dependency CVEs, secret detection, crypto audit, infrastructure hardening. 9 composable security skills. Sentinel reports findings with CWE IDs, exact locations, and actionable remediation.
|
|
168
|
+
|
|
169
|
+
---
|
|
170
|
+
|
|
171
|
+
### 05. Sati — *The Frontend Specialist*
|
|
172
|
+
|
|
173
|
+
**Sati** is the dedicated frontend specialist. She ships production-grade UI work: React/Next.js, Svelte/SvelteKit, accessibility, performance, browser verification via Playwright. Invoke Sati directly with `@sati/` or `task(subagent_type="sati")` for any non-trivial frontend task.
|
|
174
|
+
|
|
175
|
+
### The Rest of the Team
|
|
124
176
|
|
|
125
177
|
| Agent | Role | Model |
|
|
126
178
|
|-------|------|-------|
|
|
127
|
-
| **Oracle** | Strategic planning
|
|
128
|
-
| **Merovingian** |
|
|
129
|
-
| **Architect** | Plan execution orchestrator | Claude Sonnet 4.6 |
|
|
130
|
-
| **Seraph** | Pre-planning analysis | Claude Opus 4.6 |
|
|
131
|
-
| **Smith** | Plan validation
|
|
132
|
-
| **Operator** |
|
|
133
|
-
| **Trinity** | Blazing fast codebase grep | Grok Code Fast |
|
|
179
|
+
| **Oracle** | Strategic planning, architecture decisions, debugger of last resort | Claude Opus 4.6 |
|
|
180
|
+
| **Merovingian** | High-IQ consultation, hard debugging, architecture design | GPT 5.2 |
|
|
181
|
+
| **Architect** | Plan execution orchestrator, session coordination | Claude Sonnet 4.6 |
|
|
182
|
+
| **Seraph** | Pre-planning analysis, ambiguity detection, AI failure prevention | Claude Opus 4.6 |
|
|
183
|
+
| **Smith** | Plan validation, completeness review, gap detection | GPT 5.2 |
|
|
184
|
+
| **Operator** | External documentation, OSS search, library research | GLM 4.7 |
|
|
185
|
+
| **Trinity** | Blazing fast codebase grep, pattern discovery | Grok Code Fast |
|
|
134
186
|
| **Construct** | PDF, image & diagram analysis | Gemini 3 Flash |
|
|
135
|
-
| **
|
|
187
|
+
| **Sati** | Frontend specialist — components, accessibility, performance, testing | Claude Sonnet 4.6 |
|
|
136
188
|
|
|
137
|
-
Every agent, model, temperature, and permission is fully customizable. [**Meet the full team
|
|
189
|
+
Every agent, model, temperature, and permission is fully customizable. [**Meet the full team →**](docs/agents.md)
|
|
138
190
|
|
|
139
191
|
---
|
|
140
192
|
|
|
141
|
-
## Features
|
|
193
|
+
## Features
|
|
142
194
|
|
|
143
195
|
| | |
|
|
144
196
|
|---|---|
|
|
145
|
-
| **Agent Orchestration** | 14 agents, parallel background execution, category-based routing, session continuity |
|
|
197
|
+
| **Agent Orchestration** | 14 agents (incl. **Sati** frontend specialist, **Sentinel** security auditor, **Cipher** DSL expert), parallel background execution, category-based routing, session continuity |
|
|
146
198
|
| **Developer Tools** | LSP (goto def, rename, diagnostics), AST-Grep (search & replace), Tmux terminal |
|
|
147
|
-
| **
|
|
148
|
-
| **
|
|
149
|
-
| **Curated MCPs** | Exa (web search), Context7 (official docs), Grep.app (GitHub code search), Document Reader
|
|
199
|
+
| **40 Lifecycle Hooks** | Context injection, think mode, comment checking, todo enforcement, error recovery, quality gate |
|
|
200
|
+
| **37 Built-in Skills** | DSL engineering (11), security (9), browser, git, frontend (7 via **Sati**), software dev pipeline |
|
|
201
|
+
| **Curated MCPs** | Exa (web search), Context7 (official docs), Grep.app (GitHub code search), Document Reader |
|
|
150
202
|
| **Claude Code Compat** | Full compatibility — commands, agents, skills, MCPs, hooks from `settings.json` |
|
|
203
|
+
| **Software Dev Pipeline** | 6-phase TDD workflow (PLAN→BUILD→VERIFY→REVIEW→SECURE→SHIP), 5 team roles, adaptive phases |
|
|
151
204
|
|
|
152
|
-
[**Full feature list
|
|
205
|
+
[**Full feature list →**](docs/features.md) · [**Configuration guide →**](docs/configurations.md) · [**Architecture diagram →**](docs/agent-architecture.md)
|
|
206
|
+
|
|
207
|
+
---
|
|
208
|
+
|
|
209
|
+
## Software Development Pipeline
|
|
210
|
+
|
|
211
|
+
Matrixx includes a structured **6-phase development pipeline** that coordinates specialized roles through PLAN → BUILD → VERIFY → REVIEW → SECURE → SHIP. Each phase has clear entry/exit criteria and is enforced by dedicated agents.
|
|
212
|
+
|
|
213
|
+
### Team Roles
|
|
214
|
+
|
|
215
|
+
| Role | Agent | Skills | Purpose |
|
|
216
|
+
|------|-------|--------|---------|
|
|
217
|
+
| **Architect** | Oracle (Claude Opus) | — | System design, architecture decisions, task breakdown |
|
|
218
|
+
| **Developer** | Source category | `git-master`, `tdd-enforcer` | Implementation code with TDD |
|
|
219
|
+
| **Tester** | Source category | `tdd-enforcer`, `quality-gate` | Test authoring, coverage, verification |
|
|
220
|
+
| **Quality Evaluator** | Red-pill category | `quality-gate`, `review-work` | Lint, typecheck, 5-agent code review |
|
|
221
|
+
| **Security Expert** | Sentinel (Claude Opus) | `security-core`, `security-sast`, `security-api`, `security-dependencies` | Vulnerability scanning, CVE checks |
|
|
222
|
+
|
|
223
|
+
### Pipeline Phases
|
|
224
|
+
|
|
225
|
+
| Phase | Skip? | Role | Exit Criteria |
|
|
226
|
+
|-------|-------|------|---------------|
|
|
227
|
+
| **PLAN** | Small tasks | Architect | Approach defined, files listed, edge cases documented |
|
|
228
|
+
| **BUILD** | Never | Developer | TDD (RED→GREEN→REFACTOR), `bun test` passes |
|
|
229
|
+
| **VERIFY** | Never | Quality | `lint` + `typecheck` + `test` + `build` — all pass |
|
|
230
|
+
| **REVIEW** | Small tasks | Quality (5-agent) | All reviewers PASS, no CRITICAL/MAJOR issues |
|
|
231
|
+
| **SECURE** | Small + non-security | Security | No CRITICAL/HIGH findings, dependencies checked |
|
|
232
|
+
| **SHIP** | Never | Developer | Atomic commits, PR to dev, CI passes |
|
|
233
|
+
|
|
234
|
+
### Task Size Adaptivity
|
|
235
|
+
|
|
236
|
+
| Size | Files | Phases Used |
|
|
237
|
+
|------|-------|-------------|
|
|
238
|
+
| **Small** | 1-2 | BUILD → VERIFY → SHIP |
|
|
239
|
+
| **Medium** | 3-10 | PLAN → BUILD → VERIFY → REVIEW → SHIP |
|
|
240
|
+
| **Large** | 10+ | ALL 6 PHASES |
|
|
241
|
+
| **Security-related** | Any | Always includes SECURE |
|
|
242
|
+
|
|
243
|
+
Load the `software-dev` skill to activate the pipeline. The orchestrator automatically selects the right roles and phases based on task scope.
|
|
153
244
|
|
|
154
245
|
---
|
|
155
246
|
|
|
@@ -166,7 +257,7 @@ Built-in hooks protect against accidental secret exposure — no setup required.
|
|
|
166
257
|
| **Secret Leak Guard** | Intercepts `git commit` and `git push`, runs [gitleaks](https://github.com/gitleaks/gitleaks) on staged changes, and **blocks the operation** if secrets are detected. |
|
|
167
258
|
| **Env File Write Guard** | Blocks agents from writing to sensitive files (`.env`, `*.pem`, `*.key`, `credentials.json`, `id_rsa`, and 16 other patterns). |
|
|
168
259
|
|
|
169
|
-
Both hooks are **enabled by default** and run before all other hooks in the execution pipeline. Configure via `matrixx.
|
|
260
|
+
Both hooks are **enabled by default** and run before all other hooks in the execution pipeline. Configure via `matrixx.jsonc`:
|
|
170
261
|
|
|
171
262
|
```jsonc
|
|
172
263
|
{
|
|
@@ -199,62 +290,6 @@ Sentinel never modifies code — it reports findings with CWE IDs, exact locatio
|
|
|
199
290
|
|
|
200
291
|
---
|
|
201
292
|
|
|
202
|
-
## Get Started
|
|
203
|
-
|
|
204
|
-
### Install
|
|
205
|
-
|
|
206
|
-
```bash
|
|
207
|
-
npm install -g opencode-matrixx
|
|
208
|
-
```
|
|
209
|
-
|
|
210
|
-
### Via LLM agent
|
|
211
|
-
|
|
212
|
-
Paste this into Claude Code, AmpCode, Cursor, or any LLM agent:
|
|
213
|
-
|
|
214
|
-
```
|
|
215
|
-
Install and configure matrixx by following the instructions here:
|
|
216
|
-
https://raw.githubusercontent.com/klpanagi/matrixx/refs/heads/dev/docs/guide/installation.md
|
|
217
|
-
```
|
|
218
|
-
|
|
219
|
-
**For LLM agents** — fetch and follow directly:
|
|
220
|
-
|
|
221
|
-
```bash
|
|
222
|
-
curl -s https://raw.githubusercontent.com/klpanagi/matrixx/refs/heads/dev/docs/guide/installation.md
|
|
223
|
-
```
|
|
224
|
-
|
|
225
|
-
We strongly recommend letting an agent handle installation. [Manual guide →](docs/guide/installation.md) · [Uninstall →](docs/guide/uninstallation.md)
|
|
226
|
-
|
|
227
|
-
### OpenCode Compatibility
|
|
228
|
-
|
|
229
|
-
> **Recommended:** Matrixx works on **OpenCode 1.14.33 or newer**. Earlier 1.14.x releases also work, with one specific exception: **OpenCode 1.14.32** ships a regression that breaks plugin agent and MCP registration. Upgrade to **1.14.33+** to restore full functionality.
|
|
230
|
-
|
|
231
|
-
To install a recommended version:
|
|
232
|
-
|
|
233
|
-
```bash
|
|
234
|
-
curl -fsSL https://opencode.ai/install | bash
|
|
235
|
-
# or pin explicitly
|
|
236
|
-
curl -fsSL https://opencode.ai/install | bash -s -- --version 1.14.33
|
|
237
|
-
# or via npm
|
|
238
|
-
npm install -g opencode-ai@1.14.33
|
|
239
|
-
```
|
|
240
|
-
|
|
241
|
-
<details>
|
|
242
|
-
<summary><strong>Compatibility Matrix</strong></summary>
|
|
243
|
-
|
|
244
|
-
| OpenCode Version | Matrixx Status | Notes |
|
|
245
|
-
|-----------------|----------------|-------|
|
|
246
|
-
| 1.1.1 – 1.4.17 | **Supported** | Full agent registration, all hooks functional |
|
|
247
|
-
| 1.14.17 – 1.14.31 | **Supported** | Full agent registration, all hooks functional |
|
|
248
|
-
| **1.14.32** | **Broken** | Upstream regression: ALS context lost during `InstanceStore.boot` refactor; plugin async callbacks lose `Instance.current`, so agents and MCP servers fail to register. See [anomalyco/opencode#25457](https://github.com/anomalyco/opencode/issues/25457). |
|
|
249
|
-
| **1.14.33+** | **Recommended** | Upstream fix shipped via [anomalyco/opencode#25449](https://github.com/anomalyco/opencode/pull/25449); restored `InstanceBootstrap` init parameter for non-Effect contexts. |
|
|
250
|
-
|
|
251
|
-
**Minimum OpenCode version:** 1.1.1 (permission system required)
|
|
252
|
-
**Avoid:** 1.14.32 only.
|
|
253
|
-
|
|
254
|
-
</details>
|
|
255
|
-
|
|
256
|
-
---
|
|
257
|
-
|
|
258
293
|
## Documentation
|
|
259
294
|
|
|
260
295
|
| | |
|
package/bin/matrixx.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
// bin/
|
|
2
|
+
// bin/matrixx.js
|
|
3
3
|
// Wrapper script that detects platform and spawns the correct binary
|
|
4
4
|
|
|
5
5
|
import { spawnSync } from "node:child_process";
|
|
@@ -35,7 +35,7 @@ function main() {
|
|
|
35
35
|
try {
|
|
36
36
|
pkg = getPlatformPackage({ platform, arch, libcFamily });
|
|
37
37
|
} catch (error) {
|
|
38
|
-
console.error(`\
|
|
38
|
+
console.error(`\nmatrixx: ${error.message}\n`);
|
|
39
39
|
process.exit(1);
|
|
40
40
|
}
|
|
41
41
|
|
|
@@ -46,7 +46,7 @@ function main() {
|
|
|
46
46
|
try {
|
|
47
47
|
binPath = require.resolve(binRelPath);
|
|
48
48
|
} catch {
|
|
49
|
-
console.error(`\
|
|
49
|
+
console.error(`\nmatrixx: Platform binary not installed.`);
|
|
50
50
|
console.error(`\nYour platform: ${platform}-${arch}${libcFamily === "musl" ? "-musl" : ""}`);
|
|
51
51
|
console.error(`Expected package: ${pkg}`);
|
|
52
52
|
console.error(`\nTo fix, run:`);
|
|
@@ -61,7 +61,7 @@ function main() {
|
|
|
61
61
|
|
|
62
62
|
// Handle spawn errors
|
|
63
63
|
if (result.error) {
|
|
64
|
-
console.error(`\
|
|
64
|
+
console.error(`\nmatrixx: Failed to execute binary.`);
|
|
65
65
|
console.error(`Error: ${result.error.message}\n`);
|
|
66
66
|
process.exit(2);
|
|
67
67
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { AgentConfig } from "@opencode-ai/sdk";
|
|
2
|
+
import type { BrowserAutomationProvider, CategoriesConfig } from "../config/schema";
|
|
2
3
|
import type { AgentFactory } from "./types";
|
|
3
|
-
import type { CategoriesConfig, GitMasterConfig } from "../config/schema";
|
|
4
|
-
import type { BrowserAutomationProvider } from "../config/schema";
|
|
5
4
|
export type AgentSource = AgentFactory | AgentConfig;
|
|
6
5
|
export declare function isFactory(source: AgentSource): source is AgentFactory;
|
|
7
|
-
export declare function buildAgent(source: AgentSource, model: string, categories?: CategoriesConfig,
|
|
6
|
+
export declare function buildAgent(source: AgentSource, model: string, categories?: CategoriesConfig, browserProvider?: BrowserAutomationProvider, disabledSkills?: Set<string>): AgentConfig;
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
* 2. Default (Claude, etc.) → default.ts (Claude-optimized)
|
|
10
10
|
*/
|
|
11
11
|
import type { AgentConfig } from "@opencode-ai/sdk";
|
|
12
|
-
import type { AgentPromptMetadata } from "../types";
|
|
13
|
-
import type { AvailableAgent, AvailableSkill } from "../dynamic-agent-prompt-builder";
|
|
14
12
|
import type { CategoryConfig } from "../../config/schema";
|
|
13
|
+
import type { AvailableAgent, AvailableSkill } from "../dynamic-agent-prompt-builder";
|
|
14
|
+
import type { AgentPromptMetadata } from "../types";
|
|
15
15
|
export type AtlasPromptSource = "default" | "gpt";
|
|
16
16
|
/**
|
|
17
17
|
* Determines which Atlas prompt to use based on model.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
export { isGptModel } from "../types";
|
|
2
|
+
export type { AtlasPromptSource, OrchestratorContext } from "./agent";
|
|
3
|
+
export { atlasPromptMetadata, createAtlasAgent, getAtlasPrompt, getAtlasPromptSource } from "./agent";
|
|
1
4
|
export { ATLAS_SYSTEM_PROMPT, getDefaultAtlasPrompt } from "./default";
|
|
2
5
|
export { ATLAS_GPT_SYSTEM_PROMPT, getGptAtlasPrompt } from "./gpt";
|
|
3
|
-
export {
|
|
4
|
-
export { createAtlasAgent, getAtlasPromptSource, getAtlasPrompt, atlasPromptMetadata } from "./agent";
|
|
5
|
-
export type { AtlasPromptSource, OrchestratorContext } from "./agent";
|
|
6
|
-
export { isGptModel } from "../types";
|
|
6
|
+
export { buildAgentSelectionSection, buildCategorySection, buildDecisionMatrix, buildSkillsSection, getCategoryDescription, } from "./prompt-section-builder";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AgentConfig } from "@opencode-ai/sdk";
|
|
2
|
-
import type { AgentOverrideConfig } from "../types";
|
|
3
2
|
import type { CategoryConfig } from "../../config/schema";
|
|
3
|
+
import type { AgentOverrideConfig } from "../types";
|
|
4
4
|
/**
|
|
5
5
|
* Expands a category reference from an agent override into concrete config properties.
|
|
6
6
|
* Category properties are applied unconditionally (overwriting factory defaults),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { AgentConfig } from "@opencode-ai/sdk";
|
|
2
|
-
import type { AgentOverrides } from "../types";
|
|
3
2
|
import type { CategoriesConfig, CategoryConfig } from "../../config/schema";
|
|
4
3
|
import type { AvailableAgent, AvailableSkill } from "../dynamic-agent-prompt-builder";
|
|
4
|
+
import type { AgentOverrides } from "../types";
|
|
5
5
|
export declare function maybeCreateAtlasConfig(input: {
|
|
6
6
|
disabledAgents: string[];
|
|
7
7
|
agentOverrides: AgentOverrides;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AvailableSkill } from "../dynamic-agent-prompt-builder";
|
|
2
1
|
import type { BrowserAutomationProvider } from "../../config/schema";
|
|
3
2
|
import type { LoadedSkill } from "../../features/opencode-skill-loader/types";
|
|
4
|
-
|
|
3
|
+
import type { AvailableSkill } from "../dynamic-agent-prompt-builder";
|
|
4
|
+
export declare function buildAvailableSkills(discoveredSkills: LoadedSkill[], browserProvider?: BrowserAutomationProvider, disabledSkills?: Set<string>, currentAgent?: string): AvailableSkill[];
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { AgentConfig } from "@opencode-ai/sdk";
|
|
2
|
-
import type {
|
|
3
|
-
import type { CategoryConfig, GitMasterConfig } from "../../config/schema";
|
|
4
|
-
import type { BrowserAutomationProvider } from "../../config/schema";
|
|
2
|
+
import type { BrowserAutomationProvider, CategoryConfig } from "../../config/schema";
|
|
5
3
|
import type { AvailableAgent } from "../dynamic-agent-prompt-builder";
|
|
4
|
+
import type { AgentOverrides, AgentPromptMetadata, BuiltinAgentName } from "../types";
|
|
6
5
|
export declare function collectPendingBuiltinAgents(input: {
|
|
7
6
|
agentSources: Record<BuiltinAgentName, import("../agent-builder").AgentSource>;
|
|
8
7
|
agentMetadata: Partial<Record<BuiltinAgentName, AgentPromptMetadata>>;
|
|
@@ -11,7 +10,6 @@ export declare function collectPendingBuiltinAgents(input: {
|
|
|
11
10
|
directory?: string;
|
|
12
11
|
systemDefaultModel?: string;
|
|
13
12
|
mergedCategories: Record<string, CategoryConfig>;
|
|
14
|
-
gitMasterConfig?: GitMasterConfig;
|
|
15
13
|
browserProvider?: BrowserAutomationProvider;
|
|
16
14
|
uiSelectedModel?: string;
|
|
17
15
|
availableModels: Set<string>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { AgentConfig } from "@opencode-ai/sdk";
|
|
2
|
-
import type { AgentOverrides } from "../types";
|
|
3
2
|
import type { CategoryConfig } from "../../config/schema";
|
|
4
3
|
import type { AvailableAgent, AvailableCategory, AvailableSkill } from "../dynamic-agent-prompt-builder";
|
|
4
|
+
import type { AgentOverrides } from "../types";
|
|
5
5
|
export declare function maybeCreateKeymakerConfig(input: {
|
|
6
6
|
disabledAgents: string[];
|
|
7
7
|
agentOverrides: AgentOverrides;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { AgentConfig } from "@opencode-ai/sdk";
|
|
2
|
-
import type { AgentOverrides } from "../types";
|
|
3
2
|
import type { CategoriesConfig, CategoryConfig } from "../../config/schema";
|
|
4
3
|
import type { AvailableAgent, AvailableCategory, AvailableSkill } from "../dynamic-agent-prompt-builder";
|
|
4
|
+
import type { AgentOverrides } from "../types";
|
|
5
5
|
export declare function maybeCreateMorpheusConfig(input: {
|
|
6
6
|
disabledAgents: string[];
|
|
7
7
|
agentOverrides: AgentOverrides;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { AgentConfig } from "@opencode-ai/sdk";
|
|
2
|
-
import type {
|
|
3
|
-
import type { CategoriesConfig, GitMasterConfig } from "../config/schema";
|
|
2
|
+
import type { BrowserAutomationProvider, CategoriesConfig } from "../config/schema";
|
|
4
3
|
import type { LoadedSkill } from "../features/opencode-skill-loader/types";
|
|
5
|
-
import type {
|
|
6
|
-
export declare function createBuiltinAgents(disabledAgents?: string[], agentOverrides?: AgentOverrides, directory?: string, systemDefaultModel?: string, categories?: CategoriesConfig,
|
|
4
|
+
import type { AgentOverrides } from "./types";
|
|
5
|
+
export declare function createBuiltinAgents(disabledAgents?: string[], agentOverrides?: AgentOverrides, directory?: string, systemDefaultModel?: string, categories?: CategoriesConfig, discoveredSkills?: LoadedSkill[], customAgentSummaries?: unknown, browserProvider?: BrowserAutomationProvider, uiSelectedModel?: string, disabledSkills?: Set<string>, useTaskSystem?: boolean): Promise<Record<string, AgentConfig>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Creates
|
|
2
|
+
* Creates Matrixx-specific environment context (time, timezone, locale).
|
|
3
3
|
* Note: Working directory, platform, and date are already provided by OpenCode's system.ts,
|
|
4
4
|
* so we only include fields that OpenCode doesn't provide to avoid duplication.
|
|
5
5
|
* See: https://github.com/klpanagi/matrixx/issues/379
|
package/dist/agents/index.d.ts
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { atlasPromptMetadata, createAtlasAgent } from "./architect";
|
|
2
2
|
export { createBuiltinAgents } from "./builtin-agents";
|
|
3
|
+
export { createMultimodalLookerAgent, MULTIMODAL_LOOKER_PROMPT_METADATA } from "./construct";
|
|
3
4
|
export type { AvailableAgent, AvailableCategory, AvailableSkill } from "./dynamic-agent-prompt-builder";
|
|
4
|
-
export { createMorpheusAgent } from "./morpheus";
|
|
5
5
|
export { createOracleAgent, ORACLE_PROMPT_METADATA } from "./merovingian";
|
|
6
|
+
export { createMorpheusAgent } from "./morpheus";
|
|
6
7
|
export { createLibrarianAgent, LIBRARIAN_PROMPT_METADATA } from "./operator";
|
|
7
|
-
export {
|
|
8
|
-
export { createMultimodalLookerAgent, MULTIMODAL_LOOKER_PROMPT_METADATA } from "./construct";
|
|
8
|
+
export { ORACLE_BEHAVIORAL_SUMMARY, ORACLE_HIGH_ACCURACY_MODE, ORACLE_IDENTITY_CONSTRAINTS, ORACLE_INTERVIEW_MODE, ORACLE_PERMISSION, ORACLE_PLAN_GENERATION, ORACLE_PLAN_TEMPLATE, ORACLE_SYSTEM_PROMPT, } from "./oracle";
|
|
9
9
|
export { createSeraphAgent, SERAPH_SYSTEM_PROMPT, seraphPromptMetadata } from "./seraph";
|
|
10
10
|
export { createSmithAgent, SMITH_SYSTEM_PROMPT, smithPromptMetadata } from "./smith";
|
|
11
|
-
export {
|
|
12
|
-
export
|
|
13
|
-
export { ORACLE_SYSTEM_PROMPT, ORACLE_PERMISSION, ORACLE_IDENTITY_CONSTRAINTS, ORACLE_INTERVIEW_MODE, ORACLE_PLAN_GENERATION, ORACLE_HIGH_ACCURACY_MODE, ORACLE_PLAN_TEMPLATE, ORACLE_BEHAVIORAL_SUMMARY, } from "./oracle";
|
|
11
|
+
export { createExploreAgent, EXPLORE_PROMPT_METADATA } from "./trinity";
|
|
12
|
+
export * from "./types";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AgentConfig } from "@opencode-ai/sdk";
|
|
2
|
-
import type { AvailableAgent,
|
|
2
|
+
import type { AvailableAgent, AvailableCategory, AvailableSkill } from "./dynamic-agent-prompt-builder";
|
|
3
3
|
export declare function createKeymakerAgent(model: string, availableAgents?: AvailableAgent[], availableToolNames?: string[], availableSkills?: AvailableSkill[], availableCategories?: AvailableCategory[], useTaskSystem?: boolean): AgentConfig;
|
|
4
4
|
export declare namespace createKeymakerAgent {
|
|
5
5
|
var mode: "primary";
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import type { AgentConfig } from "@opencode-ai/sdk";
|
|
2
|
-
import type {
|
|
3
|
-
export declare const MORPHEUS_PROMPT_METADATA: AgentPromptMetadata;
|
|
4
|
-
import type { AvailableAgent, AvailableSkill, AvailableCategory } from "./dynamic-agent-prompt-builder";
|
|
2
|
+
import type { AvailableAgent, AvailableCategory, AvailableSkill } from "./dynamic-agent-prompt-builder";
|
|
5
3
|
export declare function createMorpheusAgent(model: string, availableAgents?: AvailableAgent[], availableToolNames?: string[], availableSkills?: AvailableSkill[], availableCategories?: AvailableCategory[], useTaskSystem?: boolean): AgentConfig;
|
|
6
4
|
export declare namespace createMorpheusAgent {
|
|
7
5
|
var mode: "primary";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
+
export type { MousePromptSource } from "./agent";
|
|
2
|
+
export { buildMousePrompt, createMouseAgentWithOverrides, getMousePromptSource, MOUSE_DEFAULTS, } from "./agent";
|
|
1
3
|
export { buildDefaultMousePrompt } from "./default";
|
|
2
4
|
export { buildGptMousePrompt } from "./gpt";
|
|
3
|
-
export { MOUSE_DEFAULTS, getMousePromptSource, buildMousePrompt, createMouseAgentWithOverrides, } from "./agent";
|
|
4
|
-
export type { MousePromptSource } from "./agent";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { ORACLE_BEHAVIORAL_SUMMARY } from "./behavioral-summary";
|
|
2
|
+
export { ORACLE_HIGH_ACCURACY_MODE } from "./high-accuracy-mode";
|
|
2
3
|
export { ORACLE_IDENTITY_CONSTRAINTS } from "./identity-constraints";
|
|
3
4
|
export { ORACLE_INTERVIEW_MODE } from "./interview-mode";
|
|
4
5
|
export { ORACLE_PLAN_GENERATION } from "./plan-generation";
|
|
5
|
-
export { ORACLE_HIGH_ACCURACY_MODE } from "./high-accuracy-mode";
|
|
6
6
|
export { ORACLE_PLAN_TEMPLATE } from "./plan-template";
|
|
7
|
-
export {
|
|
7
|
+
export { ORACLE_PERMISSION, ORACLE_SYSTEM_PROMPT } from "./system-prompt";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { AgentConfig } from "@opencode-ai/sdk";
|
|
2
|
+
import type { AgentPromptMetadata } from "./types";
|
|
3
|
+
export declare const SATI_PROMPT_METADATA: AgentPromptMetadata;
|
|
4
|
+
export declare function createSatiAgent(model: string): AgentConfig;
|
|
5
|
+
export declare namespace createSatiAgent {
|
|
6
|
+
var mode: "subagent";
|
|
7
|
+
}
|