rimuru-ai 1.19.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/.rimuru/AGENTS.md +30 -0
- package/.rimuru/agents/backend.md +27 -0
- package/.rimuru/agents/database.md +31 -0
- package/.rimuru/agents/devops.md +30 -0
- package/.rimuru/agents/document-prep.md +49 -0
- package/.rimuru/agents/erp-architect.md +41 -0
- package/.rimuru/agents/ethical-hacking.md +49 -0
- package/.rimuru/agents/frontend.md +31 -0
- package/.rimuru/agents/fullstack.md +24 -0
- package/.rimuru/agents/system-engineer.md +31 -0
- package/.rimuru/agents/veldora-agent-tool-dev.md +30 -0
- package/.rimuru/agents/veldora-backend-dev.md +32 -0
- package/.rimuru/agents/veldora-cicd.md +32 -0
- package/.rimuru/agents/veldora-database.md +32 -0
- package/.rimuru/agents/veldora-doc.md +87 -0
- package/.rimuru/agents/veldora-frontend-dev.md +32 -0
- package/.rimuru/agents/veldora-great-sage.md +33 -0
- package/.rimuru/agents/veldora-mcp-creator.md +30 -0
- package/.rimuru/agents/veldora-pro.md +224 -0
- package/.rimuru/agents/veldora-prompt-enhancer.md +27 -0
- package/.rimuru/agents/veldora-skill-creator.md +28 -0
- package/.rimuru/agents/veldora.md +225 -0
- package/.rimuru/agents/veldorapro-agent-tool-dev.md +29 -0
- package/.rimuru/agents/veldorapro-backend-dev.md +29 -0
- package/.rimuru/agents/veldorapro-cicd.md +29 -0
- package/.rimuru/agents/veldorapro-database.md +29 -0
- package/.rimuru/agents/veldorapro-frontend-dev.md +29 -0
- package/.rimuru/agents/veldorapro-great-sage.md +33 -0
- package/.rimuru/agents/veldorapro-mcp-creator.md +27 -0
- package/.rimuru/agents/veldorapro-prompt-enhancer.md +25 -0
- package/.rimuru/agents/veldorapro-skill-creator.md +27 -0
- package/.rimuru/command/ai-deps.md +24 -0
- package/.rimuru/command/changelog.md +49 -0
- package/.rimuru/command/commit.md +37 -0
- package/.rimuru/command/issues.md +23 -0
- package/.rimuru/command/learn.md +42 -0
- package/.rimuru/command/rmslop.md +15 -0
- package/.rimuru/command/spellcheck.md +5 -0
- package/.rimuru/command/translate.md +14 -0
- package/.rimuru/glossary/README.md +63 -0
- package/.rimuru/glossary/ar.md +28 -0
- package/.rimuru/glossary/br.md +34 -0
- package/.rimuru/glossary/bs.md +33 -0
- package/.rimuru/glossary/da.md +27 -0
- package/.rimuru/glossary/de.md +27 -0
- package/.rimuru/glossary/es.md +27 -0
- package/.rimuru/glossary/fr.md +27 -0
- package/.rimuru/glossary/ja.md +33 -0
- package/.rimuru/glossary/ko.md +27 -0
- package/.rimuru/glossary/no.md +38 -0
- package/.rimuru/glossary/pl.md +27 -0
- package/.rimuru/glossary/ru.md +27 -0
- package/.rimuru/glossary/th.md +34 -0
- package/.rimuru/glossary/tr.md +38 -0
- package/.rimuru/glossary/zh-cn.md +42 -0
- package/.rimuru/glossary/zh-tw.md +42 -0
- package/.rimuru/improver/changelog.md +250 -0
- package/.rimuru/improver/knowledge.md +172 -0
- package/.rimuru/improver/plugins.md +21 -0
- package/.rimuru/improver/skills.md +60 -0
- package/.rimuru/improver/token-audit.md +21 -0
- package/.rimuru/opencode.jsonc +140 -0
- package/.rimuru/plugins/smoke-theme.json +223 -0
- package/.rimuru/plugins/tui-smoke.tsx +1019 -0
- package/.rimuru/skills/effect/SKILL.md +38 -0
- package/.rimuru/themes/mytheme.json +223 -0
- package/.rimuru/tool/github-pr-search.ts +64 -0
- package/.rimuru/tool/github-triage.ts +60 -0
- package/README.md +31 -0
- package/package.json +167 -0
- package/src/account/account.ts +463 -0
- package/src/account/repo.ts +173 -0
- package/src/account/schema.ts +99 -0
- package/src/account/url.ts +8 -0
- package/src/acp/agent.ts +95 -0
- package/src/acp/config-option.ts +203 -0
- package/src/acp/content.ts +250 -0
- package/src/acp/directory.ts +210 -0
- package/src/acp/error.ts +90 -0
- package/src/acp/event.ts +342 -0
- package/src/acp/permission.ts +124 -0
- package/src/acp/profile.ts +42 -0
- package/src/acp/service.ts +1048 -0
- package/src/acp/session.ts +231 -0
- package/src/acp/tool.ts +367 -0
- package/src/acp/usage.ts +232 -0
- package/src/agent/agent.ts +459 -0
- package/src/agent/generate.txt +75 -0
- package/src/agent/prompt/compaction.txt +9 -0
- package/src/agent/prompt/explore.txt +18 -0
- package/src/agent/prompt/summary.txt +11 -0
- package/src/agent/prompt/title.txt +44 -0
- package/src/agent/subagent-permissions.ts +27 -0
- package/src/audio.d.ts +14 -0
- package/src/auth/index.ts +99 -0
- package/src/background/job.ts +39 -0
- package/src/bus/global.ts +22 -0
- package/src/cli/bootstrap.ts +11 -0
- package/src/cli/cmd/account.ts +264 -0
- package/src/cli/cmd/acp.ts +73 -0
- package/src/cli/cmd/agent.ts +259 -0
- package/src/cli/cmd/attach.ts +97 -0
- package/src/cli/cmd/cmd.ts +7 -0
- package/src/cli/cmd/db.ts +62 -0
- package/src/cli/cmd/debug/agent.handler.ts +193 -0
- package/src/cli/cmd/debug/agent.ts +27 -0
- package/src/cli/cmd/debug/config.ts +14 -0
- package/src/cli/cmd/debug/file.ts +73 -0
- package/src/cli/cmd/debug/index.ts +87 -0
- package/src/cli/cmd/debug/lsp.ts +50 -0
- package/src/cli/cmd/debug/ripgrep.ts +79 -0
- package/src/cli/cmd/debug/scrap.ts +15 -0
- package/src/cli/cmd/debug/skill.ts +15 -0
- package/src/cli/cmd/debug/snapshot.ts +50 -0
- package/src/cli/cmd/debug/startup.ts +11 -0
- package/src/cli/cmd/debug/v2.ts +49 -0
- package/src/cli/cmd/export.ts +292 -0
- package/src/cli/cmd/generate.ts +54 -0
- package/src/cli/cmd/github.handler.ts +1593 -0
- package/src/cli/cmd/github.shared.ts +30 -0
- package/src/cli/cmd/github.ts +42 -0
- package/src/cli/cmd/import.ts +224 -0
- package/src/cli/cmd/mcp.ts +850 -0
- package/src/cli/cmd/models.ts +66 -0
- package/src/cli/cmd/plug.ts +230 -0
- package/src/cli/cmd/pr.ts +115 -0
- package/src/cli/cmd/prompt-display.ts +1 -0
- package/src/cli/cmd/providers.ts +534 -0
- package/src/cli/cmd/run/demo.ts +1274 -0
- package/src/cli/cmd/run/entry.body.ts +205 -0
- package/src/cli/cmd/run/footer.command.tsx +1064 -0
- package/src/cli/cmd/run/footer.menu.tsx +351 -0
- package/src/cli/cmd/run/footer.permission.tsx +472 -0
- package/src/cli/cmd/run/footer.prompt.tsx +1306 -0
- package/src/cli/cmd/run/footer.question.tsx +573 -0
- package/src/cli/cmd/run/footer.subagent.tsx +173 -0
- package/src/cli/cmd/run/footer.ts +1129 -0
- package/src/cli/cmd/run/footer.view.tsx +943 -0
- package/src/cli/cmd/run/footer.width.ts +27 -0
- package/src/cli/cmd/run/permission.shared.ts +256 -0
- package/src/cli/cmd/run/prompt.editor.ts +157 -0
- package/src/cli/cmd/run/prompt.shared.ts +153 -0
- package/src/cli/cmd/run/question.shared.ts +340 -0
- package/src/cli/cmd/run/runtime.boot.ts +202 -0
- package/src/cli/cmd/run/runtime.lifecycle.ts +406 -0
- package/src/cli/cmd/run/runtime.queue.ts +349 -0
- package/src/cli/cmd/run/runtime.shared.ts +17 -0
- package/src/cli/cmd/run/runtime.stdin.ts +37 -0
- package/src/cli/cmd/run/runtime.ts +814 -0
- package/src/cli/cmd/run/scrollback.shared.ts +92 -0
- package/src/cli/cmd/run/scrollback.surface.ts +431 -0
- package/src/cli/cmd/run/scrollback.writer.tsx +352 -0
- package/src/cli/cmd/run/session-data.ts +1113 -0
- package/src/cli/cmd/run/session-replay.ts +374 -0
- package/src/cli/cmd/run/session.shared.ts +196 -0
- package/src/cli/cmd/run/splash.ts +280 -0
- package/src/cli/cmd/run/stream.transport.ts +1462 -0
- package/src/cli/cmd/run/stream.ts +175 -0
- package/src/cli/cmd/run/subagent-data.ts +876 -0
- package/src/cli/cmd/run/theme.ts +690 -0
- package/src/cli/cmd/run/tool.ts +1489 -0
- package/src/cli/cmd/run/trace.ts +94 -0
- package/src/cli/cmd/run/turn-summary.ts +47 -0
- package/src/cli/cmd/run/types.ts +350 -0
- package/src/cli/cmd/run/variant.shared.ts +215 -0
- package/src/cli/cmd/run.ts +894 -0
- package/src/cli/cmd/serve.ts +24 -0
- package/src/cli/cmd/session.ts +147 -0
- package/src/cli/cmd/stats.ts +393 -0
- package/src/cli/cmd/tui.ts +224 -0
- package/src/cli/cmd/uninstall.ts +353 -0
- package/src/cli/cmd/upgrade.ts +74 -0
- package/src/cli/cmd/web.ts +84 -0
- package/src/cli/effect/prompt.ts +37 -0
- package/src/cli/effect-cmd.ts +96 -0
- package/src/cli/error.ts +130 -0
- package/src/cli/heap.ts +45 -0
- package/src/cli/logo.ts +1 -0
- package/src/cli/network.ts +64 -0
- package/src/cli/tui/layer.ts +7 -0
- package/src/cli/tui/validate-session.ts +29 -0
- package/src/cli/tui/worker.ts +71 -0
- package/src/cli/ui.ts +98 -0
- package/src/cli/upgrade.ts +53 -0
- package/src/command/index.ts +184 -0
- package/src/command/template/initialize.txt +66 -0
- package/src/command/template/review.txt +101 -0
- package/src/config/agent.ts +59 -0
- package/src/config/command.ts +39 -0
- package/src/config/config.ts +686 -0
- package/src/config/entry-name.ts +19 -0
- package/src/config/managed.ts +69 -0
- package/src/config/markdown.ts +36 -0
- package/src/config/parse.ts +79 -0
- package/src/config/paths.ts +45 -0
- package/src/config/plugin.ts +79 -0
- package/src/config/tui-cwd.ts +5 -0
- package/src/config/tui-host-attention.ts +21 -0
- package/src/config/tui-migrate.ts +132 -0
- package/src/config/tui.ts +274 -0
- package/src/config/variable.ts +91 -0
- package/src/control-plane/adapters/index.ts +41 -0
- package/src/control-plane/adapters/worktree.ts +96 -0
- package/src/control-plane/dev/README.md +19 -0
- package/src/control-plane/dev/debug-workspace-plugin.ts +73 -0
- package/src/control-plane/types.ts +59 -0
- package/src/control-plane/util.ts +39 -0
- package/src/control-plane/workspace-adapter-runtime.ts +51 -0
- package/src/control-plane/workspace-context.ts +26 -0
- package/src/control-plane/workspace.ts +989 -0
- package/src/effect/app-runtime.ts +132 -0
- package/src/effect/bootstrap-runtime.ts +23 -0
- package/src/effect/bridge.ts +84 -0
- package/src/effect/config-service.ts +67 -0
- package/src/effect/instance-ref.ts +11 -0
- package/src/effect/instance-registry.ts +12 -0
- package/src/effect/instance-state.ts +69 -0
- package/src/effect/promise.ts +17 -0
- package/src/effect/run-service.ts +47 -0
- package/src/effect/runner.ts +217 -0
- package/src/effect/runtime-flags.ts +79 -0
- package/src/env/index.ts +43 -0
- package/src/event-v2-bridge.ts +79 -0
- package/src/format/formatter.ts +404 -0
- package/src/format/index.ts +205 -0
- package/src/git/index.ts +350 -0
- package/src/id/id.ts +80 -0
- package/src/ide/index.ts +61 -0
- package/src/image/image.ts +174 -0
- package/src/index.ts +142 -0
- package/src/installation/index.ts +350 -0
- package/src/lsp/client.ts +650 -0
- package/src/lsp/diagnostic.ts +29 -0
- package/src/lsp/language.ts +121 -0
- package/src/lsp/launch.ts +21 -0
- package/src/lsp/lsp.ts +511 -0
- package/src/lsp/server.ts +1983 -0
- package/src/markdown.d.ts +4 -0
- package/src/mcp/auth.ts +174 -0
- package/src/mcp/catalog.ts +153 -0
- package/src/mcp/index.ts +946 -0
- package/src/mcp/oauth-callback.ts +233 -0
- package/src/mcp/oauth-provider.ts +206 -0
- package/src/node.ts +4 -0
- package/src/patch/index.ts +686 -0
- package/src/permission/arity.ts +163 -0
- package/src/permission/evaluate.ts +1 -0
- package/src/permission/index.ts +230 -0
- package/src/plugin/azure.ts +26 -0
- package/src/plugin/cloudflare.ts +76 -0
- package/src/plugin/digitalocean.ts +383 -0
- package/src/plugin/github-copilot/copilot.ts +413 -0
- package/src/plugin/github-copilot/models.ts +246 -0
- package/src/plugin/index.ts +316 -0
- package/src/plugin/install.ts +439 -0
- package/src/plugin/loader.ts +237 -0
- package/src/plugin/meta.ts +188 -0
- package/src/plugin/openai/README.md +31 -0
- package/src/plugin/openai/codex.ts +641 -0
- package/src/plugin/openai/ws-pool.ts +270 -0
- package/src/plugin/openai/ws.ts +381 -0
- package/src/plugin/pty-environment.ts +24 -0
- package/src/plugin/shared.ts +323 -0
- package/src/plugin/snowflake-cortex.ts +529 -0
- package/src/plugin/tui/internal.ts +10 -0
- package/src/plugin/tui/runtime.ts +1130 -0
- package/src/plugin/xai.ts +716 -0
- package/src/project/bootstrap-service.ts +9 -0
- package/src/project/bootstrap.ts +76 -0
- package/src/project/instance-context.ts +24 -0
- package/src/project/instance-layer.ts +11 -0
- package/src/project/instance-runtime.ts +16 -0
- package/src/project/instance-store.ts +209 -0
- package/src/project/project.ts +519 -0
- package/src/project/vcs.ts +431 -0
- package/src/provider/auth.ts +233 -0
- package/src/provider/error.ts +188 -0
- package/src/provider/model-status.ts +8 -0
- package/src/provider/provider.ts +1979 -0
- package/src/provider/transform.ts +1426 -0
- package/src/question/index.ts +229 -0
- package/src/question/schema.ts +10 -0
- package/src/server/auth.ts +48 -0
- package/src/server/event.ts +13 -0
- package/src/server/global-lifecycle.ts +28 -0
- package/src/server/init-projectors.ts +3 -0
- package/src/server/mdns.ts +47 -0
- package/src/server/projectors.ts +1 -0
- package/src/server/proxy-util.ts +48 -0
- package/src/server/routes/instance/httpapi/AGENTS.md +39 -0
- package/src/server/routes/instance/httpapi/api.ts +78 -0
- package/src/server/routes/instance/httpapi/errors.ts +193 -0
- package/src/server/routes/instance/httpapi/groups/config.ts +65 -0
- package/src/server/routes/instance/httpapi/groups/control-plane.ts +35 -0
- package/src/server/routes/instance/httpapi/groups/control.ts +76 -0
- package/src/server/routes/instance/httpapi/groups/event.ts +29 -0
- package/src/server/routes/instance/httpapi/groups/experimental.ts +260 -0
- package/src/server/routes/instance/httpapi/groups/file.ts +185 -0
- package/src/server/routes/instance/httpapi/groups/global.ts +138 -0
- package/src/server/routes/instance/httpapi/groups/instance.ts +206 -0
- package/src/server/routes/instance/httpapi/groups/mcp.ts +156 -0
- package/src/server/routes/instance/httpapi/groups/metadata.ts +18 -0
- package/src/server/routes/instance/httpapi/groups/permission.ts +61 -0
- package/src/server/routes/instance/httpapi/groups/project-copy.ts +32 -0
- package/src/server/routes/instance/httpapi/groups/project.ts +93 -0
- package/src/server/routes/instance/httpapi/groups/provider.ts +101 -0
- package/src/server/routes/instance/httpapi/groups/pty.ts +172 -0
- package/src/server/routes/instance/httpapi/groups/query.ts +12 -0
- package/src/server/routes/instance/httpapi/groups/question.ts +74 -0
- package/src/server/routes/instance/httpapi/groups/session.ts +462 -0
- package/src/server/routes/instance/httpapi/groups/sync.ts +113 -0
- package/src/server/routes/instance/httpapi/groups/tui.ts +208 -0
- package/src/server/routes/instance/httpapi/groups/workspace.ts +141 -0
- package/src/server/routes/instance/httpapi/handlers/config.ts +34 -0
- package/src/server/routes/instance/httpapi/handlers/control-plane.ts +37 -0
- package/src/server/routes/instance/httpapi/handlers/control.ts +43 -0
- package/src/server/routes/instance/httpapi/handlers/event.ts +99 -0
- package/src/server/routes/instance/httpapi/handlers/experimental.ts +187 -0
- package/src/server/routes/instance/httpapi/handlers/file.ts +139 -0
- package/src/server/routes/instance/httpapi/handlers/global.ts +156 -0
- package/src/server/routes/instance/httpapi/handlers/instance.ts +110 -0
- package/src/server/routes/instance/httpapi/handlers/mcp.ts +111 -0
- package/src/server/routes/instance/httpapi/handlers/permission.ts +41 -0
- package/src/server/routes/instance/httpapi/handlers/project-copy.ts +83 -0
- package/src/server/routes/instance/httpapi/handlers/project.ts +63 -0
- package/src/server/routes/instance/httpapi/handlers/provider.ts +113 -0
- package/src/server/routes/instance/httpapi/handlers/pty.ts +273 -0
- package/src/server/routes/instance/httpapi/handlers/question.ts +54 -0
- package/src/server/routes/instance/httpapi/handlers/session-errors.ts +21 -0
- package/src/server/routes/instance/httpapi/handlers/session.ts +440 -0
- package/src/server/routes/instance/httpapi/handlers/sync.ts +89 -0
- package/src/server/routes/instance/httpapi/handlers/tui.ts +131 -0
- package/src/server/routes/instance/httpapi/handlers/workspace.ts +102 -0
- package/src/server/routes/instance/httpapi/lifecycle.ts +54 -0
- package/src/server/routes/instance/httpapi/middleware/authorization.ts +150 -0
- package/src/server/routes/instance/httpapi/middleware/compression.ts +64 -0
- package/src/server/routes/instance/httpapi/middleware/cors-vary.ts +29 -0
- package/src/server/routes/instance/httpapi/middleware/error.ts +43 -0
- package/src/server/routes/instance/httpapi/middleware/fence.ts +25 -0
- package/src/server/routes/instance/httpapi/middleware/instance-context.ts +43 -0
- package/src/server/routes/instance/httpapi/middleware/proxy.ts +108 -0
- package/src/server/routes/instance/httpapi/middleware/schema-error.ts +41 -0
- package/src/server/routes/instance/httpapi/middleware/workspace-routing.ts +250 -0
- package/src/server/routes/instance/httpapi/public.ts +535 -0
- package/src/server/routes/instance/httpapi/server.ts +298 -0
- package/src/server/routes/instance/httpapi/websocket-tracker.ts +57 -0
- package/src/server/server.ts +225 -0
- package/src/server/shared/fence.ts +60 -0
- package/src/server/shared/pty-ticket.ts +15 -0
- package/src/server/shared/public-ui.ts +12 -0
- package/src/server/shared/tui-control.ts +28 -0
- package/src/server/shared/ui.ts +122 -0
- package/src/server/shared/workspace-routing.ts +38 -0
- package/src/server/tui-event.ts +53 -0
- package/src/session/compaction.ts +620 -0
- package/src/session/instruction.ts +241 -0
- package/src/session/llm/AGENTS.md +90 -0
- package/src/session/llm/ai-sdk.ts +288 -0
- package/src/session/llm/native-request.ts +196 -0
- package/src/session/llm/native-runtime.ts +196 -0
- package/src/session/llm/request.ts +218 -0
- package/src/session/llm.ts +415 -0
- package/src/session/message-error.ts +14 -0
- package/src/session/message-v2.ts +744 -0
- package/src/session/message.ts +148 -0
- package/src/session/overflow.ts +34 -0
- package/src/session/processor.ts +1084 -0
- package/src/session/prompt/anthropic.txt +105 -0
- package/src/session/prompt/beast.txt +147 -0
- package/src/session/prompt/build-switch.txt +5 -0
- package/src/session/prompt/codex.txt +79 -0
- package/src/session/prompt/copilot-gpt-5.txt +143 -0
- package/src/session/prompt/default.txt +95 -0
- package/src/session/prompt/gemini.txt +155 -0
- package/src/session/prompt/gpt.txt +107 -0
- package/src/session/prompt/kimi.txt +95 -0
- package/src/session/prompt/max-steps.txt +16 -0
- package/src/session/prompt/plan-mode.txt +70 -0
- package/src/session/prompt/plan-reminder-anthropic.txt +67 -0
- package/src/session/prompt/plan.txt +26 -0
- package/src/session/prompt/trinity.txt +97 -0
- package/src/session/prompt.ts +1722 -0
- package/src/session/reminders.ts +92 -0
- package/src/session/retry.ts +201 -0
- package/src/session/revert.ts +160 -0
- package/src/session/run-state.ts +156 -0
- package/src/session/schema.ts +26 -0
- package/src/session/session.ts +1119 -0
- package/src/session/status.ts +97 -0
- package/src/session/summary.ts +165 -0
- package/src/session/system.ts +117 -0
- package/src/session/todo.ts +90 -0
- package/src/session/tools.ts +207 -0
- package/src/share/session.ts +61 -0
- package/src/share/share-next.ts +385 -0
- package/src/skill/discovery.ts +109 -0
- package/src/skill/index.ts +366 -0
- package/src/snapshot/index.ts +808 -0
- package/src/sql.d.ts +4 -0
- package/src/storage/schema.ts +5 -0
- package/src/storage/storage.ts +329 -0
- package/src/sync/README.md +179 -0
- package/src/sync/schema.ts +11 -0
- package/src/temporary.ts +31 -0
- package/src/tool/apply_patch.ts +313 -0
- package/src/tool/apply_patch.txt +33 -0
- package/src/tool/edit.ts +737 -0
- package/src/tool/edit.txt +10 -0
- package/src/tool/external-directory.ts +49 -0
- package/src/tool/glob.ts +76 -0
- package/src/tool/glob.txt +6 -0
- package/src/tool/grep.ts +112 -0
- package/src/tool/grep.txt +8 -0
- package/src/tool/invalid.ts +21 -0
- package/src/tool/json-schema.ts +164 -0
- package/src/tool/lsp.ts +113 -0
- package/src/tool/lsp.txt +24 -0
- package/src/tool/mcp-websearch.ts +96 -0
- package/src/tool/plan-enter.txt +14 -0
- package/src/tool/plan-exit.txt +13 -0
- package/src/tool/plan.ts +79 -0
- package/src/tool/question.ts +44 -0
- package/src/tool/question.txt +10 -0
- package/src/tool/read.ts +386 -0
- package/src/tool/read.txt +14 -0
- package/src/tool/registry.ts +440 -0
- package/src/tool/schema.ts +14 -0
- package/src/tool/shell/id.ts +19 -0
- package/src/tool/shell/prompt.ts +307 -0
- package/src/tool/shell/shell.txt +21 -0
- package/src/tool/shell.ts +657 -0
- package/src/tool/skill.ts +71 -0
- package/src/tool/skill.txt +5 -0
- package/src/tool/task.ts +346 -0
- package/src/tool/task.txt +19 -0
- package/src/tool/todo.ts +57 -0
- package/src/tool/todowrite.txt +44 -0
- package/src/tool/tool.ts +183 -0
- package/src/tool/truncate.ts +158 -0
- package/src/tool/truncation-dir.ts +4 -0
- package/src/tool/webfetch.ts +192 -0
- package/src/tool/webfetch.txt +13 -0
- package/src/tool/websearch.ts +143 -0
- package/src/tool/websearch.txt +14 -0
- package/src/tool/write.ts +104 -0
- package/src/tool/write.txt +8 -0
- package/src/util/archive.ts +17 -0
- package/src/util/bom.ts +27 -0
- package/src/util/data-url.ts +9 -0
- package/src/util/defer.ts +10 -0
- package/src/util/effect-http-client.ts +11 -0
- package/src/util/error.ts +1 -0
- package/src/util/filesystem.ts +251 -0
- package/src/util/html.ts +8 -0
- package/src/util/iife.ts +3 -0
- package/src/util/lazy.ts +20 -0
- package/src/util/local-context.ts +25 -0
- package/src/util/locale.ts +2 -0
- package/src/util/media.ts +26 -0
- package/src/util/process.ts +177 -0
- package/src/util/proxy-env.ts +72 -0
- package/src/util/queue.ts +32 -0
- package/src/util/record.ts +1 -0
- package/src/util/repository.ts +232 -0
- package/src/util/rpc.ts +66 -0
- package/src/util/signal.ts +12 -0
- package/src/util/timeout.ts +13 -0
- package/src/util/token.ts +1 -0
- package/src/util/wildcard.ts +59 -0
- package/src/worktree/index.ts +654 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: effect
|
|
3
|
+
description: Work with Effect v4 / effect-smol TypeScript code in this repo
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Effect
|
|
7
|
+
|
|
8
|
+
This codebase uses Effect for typed, composable TypeScript services, schemas, and workflows.
|
|
9
|
+
|
|
10
|
+
## Source Of Truth
|
|
11
|
+
|
|
12
|
+
Use the current Effect v4 / effect-smol source, not memory or older Effect v2/v3 examples.
|
|
13
|
+
|
|
14
|
+
1. If `.rimuru/references/effect-smol` is missing, clone `https://github.com/Effect-TS/effect-smol` there. Do this in the project, not in the skill folder.
|
|
15
|
+
2. Search `.rimuru/references/effect-smol` for exact APIs, examples, tests, and naming patterns before answering or implementing Effect-specific code.
|
|
16
|
+
3. Also inspect existing repo code for local house style before introducing new patterns.
|
|
17
|
+
4. Prefer answers and implementations backed by specific source files or nearby repo examples.
|
|
18
|
+
|
|
19
|
+
## Guidelines
|
|
20
|
+
|
|
21
|
+
- Prefer current Effect v4 APIs and project-local patterns over old blog posts, examples, or package-memory guesses.
|
|
22
|
+
- Use `Effect.gen(function* () { ... })` for multi-step workflows.
|
|
23
|
+
- Use `Effect.fn("Name")` or `Effect.fnUntraced(...)` for named effects when adding reusable service methods or important workflows.
|
|
24
|
+
- Prefer Effect `Schema` for API and domain data shapes. Use branded schemas for IDs and `Schema.TaggedErrorClass` for typed domain errors when modeling new error surfaces.
|
|
25
|
+
- Keep HTTP handlers thin: decode input, read request context, call services, and map transport errors. Put business rules in services.
|
|
26
|
+
- In Effect service code, prefer Effect-aware platform abstractions and dependencies over ad hoc promises where the surrounding code already does so.
|
|
27
|
+
- Keep layer composition explicit. Avoid broad hidden provisioning that makes missing dependencies hard to see.
|
|
28
|
+
- In tests, prefer the repo's existing Effect test helpers and live tests for filesystem, git, child process, locks, or timing behavior.
|
|
29
|
+
- Do not introduce `any`, non-null assertions, unchecked casts, or older Effect APIs just to satisfy types.
|
|
30
|
+
- Do not answer from memory. Verify against `.rimuru/references/effect-smol` or nearby code first.
|
|
31
|
+
|
|
32
|
+
## Testing Patterns
|
|
33
|
+
|
|
34
|
+
- Use `testEffect(...)` from `packages/opencode/test/lib/effect.ts` for tests that exercise Effect services, layers, runtime context, scoped resources, or platform integrations.
|
|
35
|
+
- Use `it.live(...)` for filesystem, git repositories, HTTP servers, sockets, child processes, locks, real time, and other live platform behavior.
|
|
36
|
+
- Run tests from package directories such as `packages/opencode`; never run package tests from the repo root.
|
|
37
|
+
- Prefer explicit test layers over ad hoc managed runtimes. Keep dependency provisioning visible in the test file.
|
|
38
|
+
- Use scoped fixtures and finalizers for resources that must be cleaned up, including temporary directories, flags, databases, fibers, servers, and global state.
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://github.com/gowdaman-dev/rimuru-ai/theme.json",
|
|
3
|
+
"defs": {
|
|
4
|
+
"nord0": "#2E3440",
|
|
5
|
+
"nord1": "#3B4252",
|
|
6
|
+
"nord2": "#434C5E",
|
|
7
|
+
"nord3": "#4C566A",
|
|
8
|
+
"nord4": "#D8DEE9",
|
|
9
|
+
"nord5": "#E5E9F0",
|
|
10
|
+
"nord6": "#ECEFF4",
|
|
11
|
+
"nord7": "#8FBCBB",
|
|
12
|
+
"nord8": "#88C0D0",
|
|
13
|
+
"nord9": "#81A1C1",
|
|
14
|
+
"nord10": "#5E81AC",
|
|
15
|
+
"nord11": "#BF616A",
|
|
16
|
+
"nord12": "#D08770",
|
|
17
|
+
"nord13": "#EBCB8B",
|
|
18
|
+
"nord14": "#A3BE8C",
|
|
19
|
+
"nord15": "#B48EAD"
|
|
20
|
+
},
|
|
21
|
+
"theme": {
|
|
22
|
+
"primary": {
|
|
23
|
+
"dark": "nord8",
|
|
24
|
+
"light": "nord10"
|
|
25
|
+
},
|
|
26
|
+
"secondary": {
|
|
27
|
+
"dark": "nord9",
|
|
28
|
+
"light": "nord9"
|
|
29
|
+
},
|
|
30
|
+
"accent": {
|
|
31
|
+
"dark": "nord7",
|
|
32
|
+
"light": "nord7"
|
|
33
|
+
},
|
|
34
|
+
"error": {
|
|
35
|
+
"dark": "nord11",
|
|
36
|
+
"light": "nord11"
|
|
37
|
+
},
|
|
38
|
+
"warning": {
|
|
39
|
+
"dark": "nord12",
|
|
40
|
+
"light": "nord12"
|
|
41
|
+
},
|
|
42
|
+
"success": {
|
|
43
|
+
"dark": "nord14",
|
|
44
|
+
"light": "nord14"
|
|
45
|
+
},
|
|
46
|
+
"info": {
|
|
47
|
+
"dark": "nord8",
|
|
48
|
+
"light": "nord10"
|
|
49
|
+
},
|
|
50
|
+
"text": {
|
|
51
|
+
"dark": "nord4",
|
|
52
|
+
"light": "nord0"
|
|
53
|
+
},
|
|
54
|
+
"textMuted": {
|
|
55
|
+
"dark": "nord3",
|
|
56
|
+
"light": "nord1"
|
|
57
|
+
},
|
|
58
|
+
"background": {
|
|
59
|
+
"dark": "nord0",
|
|
60
|
+
"light": "nord6"
|
|
61
|
+
},
|
|
62
|
+
"backgroundPanel": {
|
|
63
|
+
"dark": "nord1",
|
|
64
|
+
"light": "nord5"
|
|
65
|
+
},
|
|
66
|
+
"backgroundElement": {
|
|
67
|
+
"dark": "nord1",
|
|
68
|
+
"light": "nord4"
|
|
69
|
+
},
|
|
70
|
+
"border": {
|
|
71
|
+
"dark": "nord2",
|
|
72
|
+
"light": "nord3"
|
|
73
|
+
},
|
|
74
|
+
"borderActive": {
|
|
75
|
+
"dark": "nord3",
|
|
76
|
+
"light": "nord2"
|
|
77
|
+
},
|
|
78
|
+
"borderSubtle": {
|
|
79
|
+
"dark": "nord2",
|
|
80
|
+
"light": "nord3"
|
|
81
|
+
},
|
|
82
|
+
"diffAdded": {
|
|
83
|
+
"dark": "nord14",
|
|
84
|
+
"light": "nord14"
|
|
85
|
+
},
|
|
86
|
+
"diffRemoved": {
|
|
87
|
+
"dark": "nord11",
|
|
88
|
+
"light": "nord11"
|
|
89
|
+
},
|
|
90
|
+
"diffContext": {
|
|
91
|
+
"dark": "nord3",
|
|
92
|
+
"light": "nord3"
|
|
93
|
+
},
|
|
94
|
+
"diffHunkHeader": {
|
|
95
|
+
"dark": "nord3",
|
|
96
|
+
"light": "nord3"
|
|
97
|
+
},
|
|
98
|
+
"diffHighlightAdded": {
|
|
99
|
+
"dark": "nord14",
|
|
100
|
+
"light": "nord14"
|
|
101
|
+
},
|
|
102
|
+
"diffHighlightRemoved": {
|
|
103
|
+
"dark": "nord11",
|
|
104
|
+
"light": "nord11"
|
|
105
|
+
},
|
|
106
|
+
"diffAddedBg": {
|
|
107
|
+
"dark": "#3B4252",
|
|
108
|
+
"light": "#E5E9F0"
|
|
109
|
+
},
|
|
110
|
+
"diffRemovedBg": {
|
|
111
|
+
"dark": "#3B4252",
|
|
112
|
+
"light": "#E5E9F0"
|
|
113
|
+
},
|
|
114
|
+
"diffContextBg": {
|
|
115
|
+
"dark": "nord1",
|
|
116
|
+
"light": "nord5"
|
|
117
|
+
},
|
|
118
|
+
"diffLineNumber": {
|
|
119
|
+
"dark": "#abafb7",
|
|
120
|
+
"light": "textMuted"
|
|
121
|
+
},
|
|
122
|
+
"diffAddedLineNumberBg": {
|
|
123
|
+
"dark": "#3B4252",
|
|
124
|
+
"light": "#E5E9F0"
|
|
125
|
+
},
|
|
126
|
+
"diffRemovedLineNumberBg": {
|
|
127
|
+
"dark": "#3B4252",
|
|
128
|
+
"light": "#E5E9F0"
|
|
129
|
+
},
|
|
130
|
+
"markdownText": {
|
|
131
|
+
"dark": "nord4",
|
|
132
|
+
"light": "nord0"
|
|
133
|
+
},
|
|
134
|
+
"markdownHeading": {
|
|
135
|
+
"dark": "nord8",
|
|
136
|
+
"light": "nord10"
|
|
137
|
+
},
|
|
138
|
+
"markdownLink": {
|
|
139
|
+
"dark": "nord9",
|
|
140
|
+
"light": "nord9"
|
|
141
|
+
},
|
|
142
|
+
"markdownLinkText": {
|
|
143
|
+
"dark": "nord7",
|
|
144
|
+
"light": "nord7"
|
|
145
|
+
},
|
|
146
|
+
"markdownCode": {
|
|
147
|
+
"dark": "nord14",
|
|
148
|
+
"light": "nord14"
|
|
149
|
+
},
|
|
150
|
+
"markdownBlockQuote": {
|
|
151
|
+
"dark": "nord3",
|
|
152
|
+
"light": "nord3"
|
|
153
|
+
},
|
|
154
|
+
"markdownEmph": {
|
|
155
|
+
"dark": "nord12",
|
|
156
|
+
"light": "nord12"
|
|
157
|
+
},
|
|
158
|
+
"markdownStrong": {
|
|
159
|
+
"dark": "nord13",
|
|
160
|
+
"light": "nord13"
|
|
161
|
+
},
|
|
162
|
+
"markdownHorizontalRule": {
|
|
163
|
+
"dark": "nord3",
|
|
164
|
+
"light": "nord3"
|
|
165
|
+
},
|
|
166
|
+
"markdownListItem": {
|
|
167
|
+
"dark": "nord8",
|
|
168
|
+
"light": "nord10"
|
|
169
|
+
},
|
|
170
|
+
"markdownListEnumeration": {
|
|
171
|
+
"dark": "nord7",
|
|
172
|
+
"light": "nord7"
|
|
173
|
+
},
|
|
174
|
+
"markdownImage": {
|
|
175
|
+
"dark": "nord9",
|
|
176
|
+
"light": "nord9"
|
|
177
|
+
},
|
|
178
|
+
"markdownImageText": {
|
|
179
|
+
"dark": "nord7",
|
|
180
|
+
"light": "nord7"
|
|
181
|
+
},
|
|
182
|
+
"markdownCodeBlock": {
|
|
183
|
+
"dark": "nord4",
|
|
184
|
+
"light": "nord0"
|
|
185
|
+
},
|
|
186
|
+
"syntaxComment": {
|
|
187
|
+
"dark": "nord3",
|
|
188
|
+
"light": "nord3"
|
|
189
|
+
},
|
|
190
|
+
"syntaxKeyword": {
|
|
191
|
+
"dark": "nord9",
|
|
192
|
+
"light": "nord9"
|
|
193
|
+
},
|
|
194
|
+
"syntaxFunction": {
|
|
195
|
+
"dark": "nord8",
|
|
196
|
+
"light": "nord8"
|
|
197
|
+
},
|
|
198
|
+
"syntaxVariable": {
|
|
199
|
+
"dark": "nord7",
|
|
200
|
+
"light": "nord7"
|
|
201
|
+
},
|
|
202
|
+
"syntaxString": {
|
|
203
|
+
"dark": "nord14",
|
|
204
|
+
"light": "nord14"
|
|
205
|
+
},
|
|
206
|
+
"syntaxNumber": {
|
|
207
|
+
"dark": "nord15",
|
|
208
|
+
"light": "nord15"
|
|
209
|
+
},
|
|
210
|
+
"syntaxType": {
|
|
211
|
+
"dark": "nord7",
|
|
212
|
+
"light": "nord7"
|
|
213
|
+
},
|
|
214
|
+
"syntaxOperator": {
|
|
215
|
+
"dark": "nord9",
|
|
216
|
+
"light": "nord9"
|
|
217
|
+
},
|
|
218
|
+
"syntaxPunctuation": {
|
|
219
|
+
"dark": "nord4",
|
|
220
|
+
"light": "nord0"
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/// <reference path="../env.d.ts" />
|
|
2
|
+
import { tool } from "@rimurucode-ai/plugin"
|
|
3
|
+
async function githubFetch(endpoint: string, options: RequestInit = {}) {
|
|
4
|
+
const response = await fetch(`https://api.github.com${endpoint}`, {
|
|
5
|
+
...options,
|
|
6
|
+
headers: {
|
|
7
|
+
Authorization: `Bearer ${process.env.GITHUB_TOKEN}`,
|
|
8
|
+
Accept: "application/vnd.github+json",
|
|
9
|
+
"Content-Type": "application/json",
|
|
10
|
+
...(options.headers instanceof Headers ? Object.fromEntries(options.headers.entries()) : options.headers),
|
|
11
|
+
},
|
|
12
|
+
})
|
|
13
|
+
if (!response.ok) {
|
|
14
|
+
throw new Error(`GitHub API error: ${response.status} ${response.statusText}`)
|
|
15
|
+
}
|
|
16
|
+
return response.json()
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
interface PR {
|
|
20
|
+
title: string
|
|
21
|
+
html_url: string
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export default tool({
|
|
25
|
+
description: `Use this tool to search GitHub pull requests by title and description.
|
|
26
|
+
|
|
27
|
+
This tool searches PRs in the anomalyco/opencode repository and returns LLM-friendly results including:
|
|
28
|
+
- PR number and title
|
|
29
|
+
- Author
|
|
30
|
+
- State (open/closed/merged)
|
|
31
|
+
- Labels
|
|
32
|
+
- Description snippet
|
|
33
|
+
|
|
34
|
+
Use the query parameter to search for keywords that might appear in PR titles or descriptions.`,
|
|
35
|
+
args: {
|
|
36
|
+
query: tool.schema.string().describe("Search query for PR titles and descriptions"),
|
|
37
|
+
limit: tool.schema.number().describe("Maximum number of results to return").default(10),
|
|
38
|
+
offset: tool.schema.number().describe("Number of results to skip for pagination").default(0),
|
|
39
|
+
},
|
|
40
|
+
async execute(args) {
|
|
41
|
+
const owner = "anomalyco"
|
|
42
|
+
const repo = "rimuru-ai"
|
|
43
|
+
|
|
44
|
+
const page = Math.floor(args.offset / args.limit) + 1
|
|
45
|
+
const searchQuery = encodeURIComponent(`${args.query} repo:${owner}/${repo} type:pr state:open`)
|
|
46
|
+
const result = await githubFetch(
|
|
47
|
+
`/search/issues?q=${searchQuery}&per_page=${args.limit}&page=${page}&sort=updated&order=desc`,
|
|
48
|
+
)
|
|
49
|
+
|
|
50
|
+
if (result.total_count === 0) {
|
|
51
|
+
return `No PRs found matching "${args.query}"`
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
const prs = result.items as PR[]
|
|
55
|
+
|
|
56
|
+
if (prs.length === 0) {
|
|
57
|
+
return `No other PRs found matching "${args.query}"`
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
const formatted = prs.map((pr) => `${pr.title}\n${pr.html_url}`).join("\n\n")
|
|
61
|
+
|
|
62
|
+
return `Found ${result.total_count} PRs (showing ${prs.length}):\n\n${formatted}`
|
|
63
|
+
},
|
|
64
|
+
})
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/// <reference path="../env.d.ts" />
|
|
2
|
+
import { tool } from "@rimurucode-ai/plugin"
|
|
3
|
+
|
|
4
|
+
const TEAM = {
|
|
5
|
+
tui: ["kommander", "simonklee"],
|
|
6
|
+
desktop_web: ["Hona", "Brendonovich"],
|
|
7
|
+
core: ["jlongster", "rekram1-node", "nexxeln", "kitlangton", "starptech"],
|
|
8
|
+
inference: ["fwang", "MrMushrooooom", "starptech"],
|
|
9
|
+
windows: ["Hona"],
|
|
10
|
+
} as const
|
|
11
|
+
|
|
12
|
+
function pick<T>(items: readonly T[]) {
|
|
13
|
+
return items[Math.floor(Math.random() * items.length)]!
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
function getIssueNumber(): number {
|
|
17
|
+
const issue = parseInt(process.env.ISSUE_NUMBER ?? "", 10)
|
|
18
|
+
if (!issue) throw new Error("ISSUE_NUMBER env var not set")
|
|
19
|
+
return issue
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
async function githubFetch(endpoint: string, options: RequestInit = {}) {
|
|
23
|
+
const response = await fetch(`https://api.github.com${endpoint}`, {
|
|
24
|
+
...options,
|
|
25
|
+
headers: {
|
|
26
|
+
Authorization: `Bearer ${process.env.GITHUB_TOKEN}`,
|
|
27
|
+
Accept: "application/vnd.github+json",
|
|
28
|
+
"Content-Type": "application/json",
|
|
29
|
+
...(options.headers instanceof Headers ? Object.fromEntries(options.headers.entries()) : options.headers),
|
|
30
|
+
},
|
|
31
|
+
})
|
|
32
|
+
if (!response.ok) {
|
|
33
|
+
throw new Error(`GitHub API error: ${response.status} ${response.statusText}`)
|
|
34
|
+
}
|
|
35
|
+
return response.json()
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export default tool({
|
|
39
|
+
description: `Use this tool to assign a GitHub issue.
|
|
40
|
+
|
|
41
|
+
Provide the team that should own the issue. This tool picks a random assignee from that team and does not apply labels.`,
|
|
42
|
+
args: {
|
|
43
|
+
team: tool.schema
|
|
44
|
+
.enum(Object.keys(TEAM) as [keyof typeof TEAM, ...(keyof typeof TEAM)[]])
|
|
45
|
+
.describe("The owning team"),
|
|
46
|
+
},
|
|
47
|
+
async execute(args) {
|
|
48
|
+
const issue = getIssueNumber()
|
|
49
|
+
const owner = "anomalyco"
|
|
50
|
+
const repo = "rimuru-ai"
|
|
51
|
+
const assignee = pick(TEAM[args.team])
|
|
52
|
+
|
|
53
|
+
await githubFetch(`/repos/${owner}/${repo}/issues/${issue}/assignees`, {
|
|
54
|
+
method: "POST",
|
|
55
|
+
body: JSON.stringify({ assignees: [assignee] }),
|
|
56
|
+
})
|
|
57
|
+
|
|
58
|
+
return `Assigned @${assignee} from ${args.team} to issue #${issue}`
|
|
59
|
+
},
|
|
60
|
+
})
|
package/README.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# rimuru-ai
|
|
2
|
+
|
|
3
|
+
The open source AI coding agent — powered by Veldora.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install -g rimuru-ai@latest
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Or via curl:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
curl -fsSL https://rimurucode.vercel.app/install | bash
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Usage
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
rimuru-ai
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Press `Tab` to switch between **Veldora** (general dev) and **Veldora-Pro** (self-improving meta-agent).
|
|
24
|
+
|
|
25
|
+
## Documentation
|
|
26
|
+
|
|
27
|
+
Configure via `.rimuru/` files in your project or `~/.config/rimuru/` globally.
|
|
28
|
+
|
|
29
|
+
## License
|
|
30
|
+
|
|
31
|
+
MIT
|
package/package.json
ADDED
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/package.json",
|
|
3
|
+
"version": "1.19.0",
|
|
4
|
+
"name": "rimuru-ai",
|
|
5
|
+
"description": "The open source AI coding agent — powered by Veldora",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"ai",
|
|
8
|
+
"coding-agent",
|
|
9
|
+
"cli",
|
|
10
|
+
"mcp",
|
|
11
|
+
"developer-tools",
|
|
12
|
+
"rimuru",
|
|
13
|
+
"veldora"
|
|
14
|
+
],
|
|
15
|
+
"homepage": "https://github.com/gowdaman-dev/rimuru-ai#readme",
|
|
16
|
+
"bugs": "https://github.com/gowdaman-dev/rimuru-ai/issues",
|
|
17
|
+
"repository": "github:gowdaman-dev/rimuru-ai",
|
|
18
|
+
"author": "gowdaman-dev <gowdamandev@gmail.com>",
|
|
19
|
+
"type": "module",
|
|
20
|
+
"license": "MIT",
|
|
21
|
+
"private": false,
|
|
22
|
+
"files": [
|
|
23
|
+
".rimuru/",
|
|
24
|
+
"src/"
|
|
25
|
+
],
|
|
26
|
+
"scripts": {
|
|
27
|
+
"typecheck": "tsgo --noEmit",
|
|
28
|
+
"test": "bun test --timeout 30000 --only-failures",
|
|
29
|
+
"test:httpapi": "bun run script/httpapi-exercise.ts --mode coverage --fail-on-missing --fail-on-skip && bun run script/httpapi-exercise.ts --mode auth --fail-on-missing --fail-on-skip && bun run script/httpapi-exercise.ts --mode effect --fail-on-missing --fail-on-skip",
|
|
30
|
+
"bench:test": "bun run script/bench-test-suite.ts",
|
|
31
|
+
"profile:test": "bun run script/profile-test-files.ts",
|
|
32
|
+
"build": "bun run script/build.ts",
|
|
33
|
+
"dev": "bun run --conditions=browser ./src/index.ts",
|
|
34
|
+
"dev:temporary": "bun run --conditions=browser ./src/temporary.ts"
|
|
35
|
+
},
|
|
36
|
+
"exports": {
|
|
37
|
+
"./*": "./src/*.ts"
|
|
38
|
+
},
|
|
39
|
+
"imports": {
|
|
40
|
+
"#db": {
|
|
41
|
+
"bun": "./src/storage/db.bun.ts",
|
|
42
|
+
"node": "./src/storage/db.node.ts",
|
|
43
|
+
"default": "./src/storage/db.bun.ts"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@babel/core": "7.28.4",
|
|
48
|
+
"@octokit/webhooks-types": "7.6.1",
|
|
49
|
+
"@rimurucode-ai/core": "^1.17.7",
|
|
50
|
+
"@rimurucode-ai/http-recorder": "^1.17.7",
|
|
51
|
+
"@rimurucode-ai/script": "^1.17.7",
|
|
52
|
+
"@standard-schema/spec": "1.0.0",
|
|
53
|
+
"@tsconfig/bun": "1.0.9",
|
|
54
|
+
"@types/babel__core": "7.20.5",
|
|
55
|
+
"@types/bun": "1.3.13",
|
|
56
|
+
"@types/cross-spawn": "6.0.6",
|
|
57
|
+
"@types/mime-types": "3.0.1",
|
|
58
|
+
"@types/npm-package-arg": "6.1.4",
|
|
59
|
+
"@types/semver": "^7.5.8",
|
|
60
|
+
"@types/turndown": "5.0.5",
|
|
61
|
+
"@types/yargs": "17.0.33",
|
|
62
|
+
"@typescript/native-preview": "7.0.0-dev.20251207.1",
|
|
63
|
+
"drizzle-orm": "1.0.0-rc.2",
|
|
64
|
+
"prettier": "3.6.2",
|
|
65
|
+
"typescript": "5.8.2",
|
|
66
|
+
"vscode-languageserver-types": "3.17.5",
|
|
67
|
+
"why-is-node-running": "3.2.2"
|
|
68
|
+
},
|
|
69
|
+
"dependencies": {
|
|
70
|
+
"@actions/core": "1.11.1",
|
|
71
|
+
"@actions/github": "6.0.1",
|
|
72
|
+
"@agentclientprotocol/sdk": "0.21.0",
|
|
73
|
+
"@ai-sdk/alibaba": "1.0.17",
|
|
74
|
+
"@ai-sdk/amazon-bedrock": "4.0.112",
|
|
75
|
+
"@ai-sdk/anthropic": "3.0.82",
|
|
76
|
+
"@ai-sdk/azure": "3.0.49",
|
|
77
|
+
"@ai-sdk/cerebras": "2.0.41",
|
|
78
|
+
"@ai-sdk/cohere": "3.0.27",
|
|
79
|
+
"@ai-sdk/deepinfra": "2.0.41",
|
|
80
|
+
"@ai-sdk/gateway": "3.0.104",
|
|
81
|
+
"@ai-sdk/google": "3.0.73",
|
|
82
|
+
"@ai-sdk/google-vertex": "4.0.128",
|
|
83
|
+
"@ai-sdk/groq": "3.0.31",
|
|
84
|
+
"@ai-sdk/mistral": "3.0.27",
|
|
85
|
+
"@ai-sdk/openai": "3.0.53",
|
|
86
|
+
"@ai-sdk/openai-compatible": "2.0.41",
|
|
87
|
+
"@ai-sdk/perplexity": "3.0.26",
|
|
88
|
+
"@ai-sdk/provider": "3.0.8",
|
|
89
|
+
"@ai-sdk/togetherai": "2.0.41",
|
|
90
|
+
"@ai-sdk/vercel": "2.0.39",
|
|
91
|
+
"@ai-sdk/xai": "3.0.82",
|
|
92
|
+
"@aws-sdk/credential-providers": "3.1057.0",
|
|
93
|
+
"@clack/prompts": "1.0.0-alpha.1",
|
|
94
|
+
"@effect/opentelemetry": "4.0.0-beta.74",
|
|
95
|
+
"@effect/platform-node": "4.0.0-beta.74",
|
|
96
|
+
"@ff-labs/fff-bun": "0.9.4",
|
|
97
|
+
"@gitlab/opencode-gitlab-auth": "1.3.3",
|
|
98
|
+
"@modelcontextprotocol/sdk": "1.29.0",
|
|
99
|
+
"@octokit/graphql": "9.0.2",
|
|
100
|
+
"@octokit/rest": "22.0.0",
|
|
101
|
+
"@openauthjs/openauth": "0.0.0-20250322224806",
|
|
102
|
+
"@openrouter/ai-sdk-provider": "2.9.0",
|
|
103
|
+
"@opentelemetry/api": "1.9.0",
|
|
104
|
+
"@opentelemetry/context-async-hooks": "2.6.1",
|
|
105
|
+
"@opentelemetry/exporter-trace-otlp-http": "0.214.0",
|
|
106
|
+
"@opentelemetry/sdk-trace-base": "2.6.1",
|
|
107
|
+
"@opentelemetry/sdk-trace-node": "2.6.1",
|
|
108
|
+
"@opentui/core": "0.3.4",
|
|
109
|
+
"@opentui/keymap": "0.3.4",
|
|
110
|
+
"@opentui/solid": "0.3.4",
|
|
111
|
+
"@parcel/watcher": "2.5.1",
|
|
112
|
+
"@pierre/diffs": "1.1.0-beta.18",
|
|
113
|
+
"@rimurucode-ai/llm": "^1.17.7",
|
|
114
|
+
"@rimurucode-ai/plugin": "^1.17.7",
|
|
115
|
+
"@rimurucode-ai/script": "^1.17.7",
|
|
116
|
+
"@rimurucode-ai/sdk": "^1.17.7",
|
|
117
|
+
"@rimurucode-ai/server": "^1.17.7",
|
|
118
|
+
"@rimurucode-ai/tui": "^1.17.7",
|
|
119
|
+
"@silvia-odwyer/photon-node": "0.3.4",
|
|
120
|
+
"@solid-primitives/event-bus": "1.1.2",
|
|
121
|
+
"@solid-primitives/scheduled": "1.5.2",
|
|
122
|
+
"@standard-schema/spec": "1.0.0",
|
|
123
|
+
"@types/ws": "8.18.1",
|
|
124
|
+
"@zip.js/zip.js": "2.7.62",
|
|
125
|
+
"ai": "6.0.168",
|
|
126
|
+
"ai-gateway-provider": "3.1.2",
|
|
127
|
+
"bonjour-service": "1.3.0",
|
|
128
|
+
"chokidar": "4.0.3",
|
|
129
|
+
"cross-spawn": "7.0.6",
|
|
130
|
+
"decimal.js": "10.5.0",
|
|
131
|
+
"diff": "8.0.2",
|
|
132
|
+
"drizzle-orm": "1.0.0-rc.2",
|
|
133
|
+
"effect": "4.0.0-beta.74",
|
|
134
|
+
"fuzzysort": "3.1.0",
|
|
135
|
+
"gitlab-ai-provider": "6.9.3",
|
|
136
|
+
"glob": "13.0.5",
|
|
137
|
+
"google-auth-library": "10.5.0",
|
|
138
|
+
"gray-matter": "4.0.3",
|
|
139
|
+
"htmlparser2": "8.0.2",
|
|
140
|
+
"ignore": "7.0.5",
|
|
141
|
+
"immer": "11.1.4",
|
|
142
|
+
"jsonc-parser": "3.3.1",
|
|
143
|
+
"mime-types": "3.0.2",
|
|
144
|
+
"minimatch": "10.0.3",
|
|
145
|
+
"npm-package-arg": "13.0.2",
|
|
146
|
+
"open": "10.1.2",
|
|
147
|
+
"opencode-gitlab-auth": "2.1.0",
|
|
148
|
+
"opencode-poe-auth": "0.0.1",
|
|
149
|
+
"opentui-spinner": "0.0.7",
|
|
150
|
+
"partial-json": "0.1.7",
|
|
151
|
+
"remeda": "2.26.0",
|
|
152
|
+
"semver": "^7.6.3",
|
|
153
|
+
"solid-js": "1.9.10",
|
|
154
|
+
"strip-ansi": "7.1.2",
|
|
155
|
+
"tree-sitter-bash": "0.25.0",
|
|
156
|
+
"tree-sitter-powershell": "0.25.10",
|
|
157
|
+
"turndown": "7.2.0",
|
|
158
|
+
"ulid": "3.0.1",
|
|
159
|
+
"venice-ai-sdk-provider": "2.0.2",
|
|
160
|
+
"vscode-jsonrpc": "8.2.1",
|
|
161
|
+
"web-tree-sitter": "0.25.10",
|
|
162
|
+
"ws": "8.21.0",
|
|
163
|
+
"xdg-basedir": "5.1.0",
|
|
164
|
+
"yargs": "18.0.0",
|
|
165
|
+
"zod": "4.1.8"
|
|
166
|
+
}
|
|
167
|
+
}
|