@dirgha/code 1.4.2 → 1.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist_v2/acp/index.js.map +1 -0
- package/dist_v2/acp/server.js.map +1 -0
- package/dist_v2/audit/writer.js.map +1 -0
- package/dist_v2/auth/keypool.js.map +1 -0
- package/dist_v2/auth/keystore.js.map +1 -0
- package/dist_v2/auth/providers.js.map +1 -0
- package/dist_v2/cli/auth-cmd.js.map +1 -0
- package/dist_v2/cli/config.js.map +1 -0
- package/dist_v2/cli/flags.js.map +1 -0
- package/dist_v2/cli/flows/full-cycle.js.map +1 -0
- package/dist_v2/cli/flows/index.js.map +1 -0
- package/dist_v2/cli/flows/tarball.js.map +1 -0
- package/dist_v2/cli/index.js.map +1 -0
- package/dist_v2/cli/interactive.js.map +1 -0
- package/dist_v2/cli/main.js.map +1 -0
- package/dist_v2/cli/models-cmd.js.map +1 -0
- package/dist_v2/cli/setup.js.map +1 -0
- package/dist_v2/cli/slash/account.js.map +1 -0
- package/dist_v2/cli/slash/clear.js.map +1 -0
- package/dist_v2/cli/slash/compact.js.map +1 -0
- package/dist_v2/cli/slash/config.js.map +1 -0
- package/dist_v2/cli/slash/exit.js.map +1 -0
- package/dist_v2/cli/slash/fleet.js.map +1 -0
- package/dist_v2/cli/slash/help.js.map +1 -0
- package/dist_v2/cli/slash/history.js.map +1 -0
- package/dist_v2/cli/slash/index.js.map +1 -0
- package/dist_v2/cli/slash/init.js.map +1 -0
- package/dist_v2/cli/slash/keys.js.map +1 -0
- package/dist_v2/cli/slash/login.js.map +1 -0
- package/dist_v2/cli/slash/memory.js.map +1 -0
- package/dist_v2/cli/slash/mode.js.map +1 -0
- package/dist_v2/cli/slash/models.js.map +1 -0
- package/dist_v2/cli/slash/resume.js.map +1 -0
- package/dist_v2/cli/slash/session.js.map +1 -0
- package/dist_v2/cli/slash/setup.js.map +1 -0
- package/dist_v2/cli/slash/status.js.map +1 -0
- package/dist_v2/cli/slash/theme.js.map +1 -0
- package/dist_v2/cli/slash/types.js.map +1 -0
- package/dist_v2/cli/slash/upgrade.js.map +1 -0
- package/dist_v2/cli/slash.js.map +1 -0
- package/dist_v2/cli/subcommands/ask.js.map +1 -0
- package/dist_v2/cli/subcommands/audit-codebase.js.map +1 -0
- package/dist_v2/cli/subcommands/audit.js.map +1 -0
- package/dist_v2/cli/subcommands/chat.js.map +1 -0
- package/dist_v2/cli/subcommands/compact.js.map +1 -0
- package/dist_v2/cli/subcommands/cost.js.map +1 -0
- package/dist_v2/cli/subcommands/doctor.js.map +1 -0
- package/dist_v2/cli/subcommands/export-session.js.map +1 -0
- package/dist_v2/cli/subcommands/import-session.js.map +1 -0
- package/dist_v2/cli/subcommands/index.js.map +1 -0
- package/dist_v2/cli/subcommands/init.js.map +1 -0
- package/dist_v2/cli/subcommands/kb.js.map +1 -0
- package/dist_v2/cli/subcommands/keys.js.map +1 -0
- package/dist_v2/cli/subcommands/ledger.js.map +1 -0
- package/dist_v2/cli/subcommands/login.js.map +1 -0
- package/dist_v2/cli/subcommands/logout.js.map +1 -0
- package/dist_v2/cli/subcommands/memory.js.map +1 -0
- package/dist_v2/cli/subcommands/models.js.map +1 -0
- package/dist_v2/cli/subcommands/resume.js.map +1 -0
- package/dist_v2/cli/subcommands/setup.js.map +1 -0
- package/dist_v2/cli/subcommands/skills.js.map +1 -0
- package/dist_v2/cli/subcommands/stats.js.map +1 -0
- package/dist_v2/cli/subcommands/status.js.map +1 -0
- package/dist_v2/cli/subcommands/undo.js.map +1 -0
- package/dist_v2/cli/subcommands/update.js.map +1 -0
- package/dist_v2/cli/subcommands/verify.js.map +1 -0
- package/dist_v2/cli/submit-paper.js.map +1 -0
- package/dist_v2/context/_fts.js.map +1 -0
- package/dist_v2/context/branch.js.map +1 -0
- package/dist_v2/context/compaction.js.map +1 -0
- package/dist_v2/context/git-state.js.map +1 -0
- package/dist_v2/context/index.js.map +1 -0
- package/dist_v2/context/knowledge.js.map +1 -0
- package/dist_v2/context/ledger.js.map +1 -0
- package/dist_v2/context/memory.js.map +1 -0
- package/dist_v2/context/mode-enforcement.js.map +1 -0
- package/dist_v2/context/mode.js.map +1 -0
- package/dist_v2/context/primer.js.map +1 -0
- package/dist_v2/context/session.js.map +1 -0
- package/dist_v2/context/soul.js.map +1 -0
- package/dist_v2/daemon/index.js.map +1 -0
- package/dist_v2/daemon/protocol.js.map +1 -0
- package/dist_v2/daemon/server.js.map +1 -0
- package/dist_v2/eval/index.js.map +1 -0
- package/dist_v2/eval/regression.js.map +1 -0
- package/dist_v2/eval/reporter.js.map +1 -0
- package/dist_v2/eval/swe-bench.js.map +1 -0
- package/dist_v2/eval/terminal-bench.js.map +1 -0
- package/dist_v2/eval/types.js.map +1 -0
- package/dist_v2/extensions/api.js.map +1 -0
- package/dist_v2/fleet/apply-back.js.map +1 -0
- package/dist_v2/fleet/cli-command.js.map +1 -0
- package/dist_v2/fleet/index.js.map +1 -0
- package/dist_v2/fleet/runner.js.map +1 -0
- package/dist_v2/fleet/tripleshot.js.map +1 -0
- package/dist_v2/fleet/types.js.map +1 -0
- package/dist_v2/fleet/worktree.js.map +1 -0
- package/dist_v2/hooks/config-bridge.js.map +1 -0
- package/dist_v2/hooks/index.js.map +1 -0
- package/dist_v2/hooks/registry.js.map +1 -0
- package/dist_v2/index.js.map +1 -0
- package/dist_v2/integrations/arniko-client.js.map +1 -0
- package/dist_v2/integrations/auth.js.map +1 -0
- package/dist_v2/integrations/billing.js.map +1 -0
- package/dist_v2/integrations/bucky-client.js.map +1 -0
- package/dist_v2/integrations/deploy-client.js.map +1 -0
- package/dist_v2/integrations/device-auth.js.map +1 -0
- package/dist_v2/integrations/entitlements.js.map +1 -0
- package/dist_v2/integrations/http.js.map +1 -0
- package/dist_v2/integrations/index.js.map +1 -0
- package/dist_v2/intelligence/cost.js.map +1 -0
- package/dist_v2/intelligence/error-classifier.js.map +1 -0
- package/dist_v2/intelligence/index.js.map +1 -0
- package/dist_v2/intelligence/models-refresh.js.map +1 -0
- package/dist_v2/intelligence/prices.js.map +1 -0
- package/dist_v2/intelligence/smart-router.js.map +1 -0
- package/dist_v2/intelligence/telemetry.js.map +1 -0
- package/dist_v2/kernel/agent-loop.js.map +1 -0
- package/dist_v2/kernel/event-stream.js.map +1 -0
- package/dist_v2/kernel/index.js.map +1 -0
- package/dist_v2/kernel/message.js.map +1 -0
- package/dist_v2/kernel/types.js.map +1 -0
- package/dist_v2/mcp/client.js.map +1 -0
- package/dist_v2/mcp/index.js.map +1 -0
- package/dist_v2/mcp/loader.js.map +1 -0
- package/dist_v2/mcp/tool-bridge.js.map +1 -0
- package/dist_v2/mcp/transport.js.map +1 -0
- package/dist_v2/parity/index.js.map +1 -0
- package/dist_v2/parity/mock-openai-compat.js.map +1 -0
- package/dist_v2/parity/runner.js.map +1 -0
- package/dist_v2/parity/scenarios.js.map +1 -0
- package/dist_v2/providers/anthropic.js.map +1 -0
- package/dist_v2/providers/define-openai-compat.js.map +1 -0
- package/dist_v2/providers/dispatch.js.map +1 -0
- package/dist_v2/providers/fireworks.js.map +1 -0
- package/dist_v2/providers/gemini.js.map +1 -0
- package/dist_v2/providers/http.js.map +1 -0
- package/dist_v2/providers/iface.js.map +1 -0
- package/dist_v2/providers/index.js.map +1 -0
- package/dist_v2/providers/nvidia.js.map +1 -0
- package/dist_v2/providers/ollama.js.map +1 -0
- package/dist_v2/providers/openai-compat.js.map +1 -0
- package/dist_v2/providers/openai.js.map +1 -0
- package/dist_v2/providers/openrouter.js.map +1 -0
- package/dist_v2/providers/presets.js.map +1 -0
- package/dist_v2/providers/rate-limiter.js.map +1 -0
- package/dist_v2/safety/approval-bus.js.map +1 -0
- package/dist_v2/safety/audit-log.js.map +1 -0
- package/dist_v2/safety/index.js.map +1 -0
- package/dist_v2/safety/policy.js.map +1 -0
- package/dist_v2/safety/sandbox/bwrap.js.map +1 -0
- package/dist_v2/safety/sandbox/iface.js.map +1 -0
- package/dist_v2/safety/sandbox/index.js.map +1 -0
- package/dist_v2/safety/sandbox/landlock.js.map +1 -0
- package/dist_v2/safety/sandbox/noop.js.map +1 -0
- package/dist_v2/safety/sandbox/seatbelt.js.map +1 -0
- package/dist_v2/safety/sandbox/select.js.map +1 -0
- package/dist_v2/safety/sandbox/windows.js.map +1 -0
- package/dist_v2/security/skill-scanner.js.map +1 -0
- package/dist_v2/skills/index.js.map +1 -0
- package/dist_v2/skills/loader.js.map +1 -0
- package/dist_v2/skills/matcher.js.map +1 -0
- package/dist_v2/skills/runtime.js.map +1 -0
- package/dist_v2/subagents/delegator.js.map +1 -0
- package/dist_v2/subagents/index.js.map +1 -0
- package/dist_v2/subagents/pool.js.map +1 -0
- package/dist_v2/tools/browser.js.map +1 -0
- package/dist_v2/tools/checkpoint.js.map +1 -0
- package/dist_v2/tools/cron.js.map +1 -0
- package/dist_v2/tools/diff.js.map +1 -0
- package/dist_v2/tools/exec.js.map +1 -0
- package/dist_v2/tools/fs-edit.js.map +1 -0
- package/dist_v2/tools/fs-ls.js.map +1 -0
- package/dist_v2/tools/fs-read.js.map +1 -0
- package/dist_v2/tools/fs-write.js.map +1 -0
- package/dist_v2/tools/git.js.map +1 -0
- package/dist_v2/tools/index.js.map +1 -0
- package/dist_v2/tools/multimodal.js.map +1 -0
- package/dist_v2/tools/permission.js.map +1 -0
- package/dist_v2/tools/registry.js.map +1 -0
- package/dist_v2/tools/search-glob.js.map +1 -0
- package/dist_v2/tools/search-grep.js.map +1 -0
- package/dist_v2/tools/shell.js.map +1 -0
- package/dist_v2/tools/task.js.map +1 -0
- package/dist_v2/tui/approval.js.map +1 -0
- package/dist_v2/tui/index.js.map +1 -0
- package/dist_v2/tui/ink/App.js.map +1 -0
- package/dist_v2/tui/ink/components/AtFileComplete.js.map +1 -0
- package/dist_v2/tui/ink/components/HelpOverlay.js.map +1 -0
- package/dist_v2/tui/ink/components/InputBox.js.map +1 -0
- package/dist_v2/tui/ink/components/Logo.js.map +1 -0
- package/dist_v2/tui/ink/components/ModelPicker.js.map +1 -0
- package/dist_v2/tui/ink/components/PasteCollapse.js.map +1 -0
- package/dist_v2/tui/ink/components/StatusBar.js.map +1 -0
- package/dist_v2/tui/ink/components/StreamingText.js.map +1 -0
- package/dist_v2/tui/ink/components/ThinkingBlock.js.map +1 -0
- package/dist_v2/tui/ink/components/ToolBox.js.map +1 -0
- package/dist_v2/tui/ink/components/vim-bindings.js.map +1 -0
- package/dist_v2/tui/ink/index.js.map +1 -0
- package/dist_v2/tui/ink/use-event-projection.js.map +1 -0
- package/dist_v2/tui/ink/use-overlays.js.map +1 -0
- package/dist_v2/tui/renderer.js.map +1 -0
- package/dist_v2/tui/status-bar.js.map +1 -0
- package/dist_v2/tui/theme-loader.js.map +1 -0
- package/dist_v2/tui/theme.js.map +1 -0
- package/dist_v2/utils/json-repair.js.map +1 -0
- package/package.json +33 -51
- package/.changeset/README.md +0 -23
- package/.changeset/config.json +0 -11
- package/.changeset/sprint-1.3.0.md +0 -5
- package/CLA.md +0 -104
- package/CODE_OF_CONDUCT.md +0 -50
- package/CONTRIBUTING.md +0 -81
- package/LICENSING.md +0 -105
- package/SECURITY.md +0 -61
- package/SUPPORT.md +0 -53
- package/assets/audio/dirgha-ambient-150s.m4a +0 -0
- package/assets/logo/dirgha-mark-amber.svg +0 -8
- package/assets/logo/dirgha-mark-cream.svg +0 -8
- package/assets/logo/dirgha-wordmark-cream.svg +0 -5
- package/assets/logo/dirgha-wordmark-ink.svg +0 -5
- package/changelog/1.4.0-promo.mp4 +0 -0
- package/changelog/1.4.0.md +0 -89
- package/changelog/1.4.1-promo.mp4 +0 -0
- package/changelog/README.md +0 -73
- package/dist/agent/capabilities.d.ts +0 -1
- package/dist/agent/capabilities.js +0 -21
- package/dist/agent/collaboration/consensus.d.ts +0 -77
- package/dist/agent/collaboration/consensus.js +0 -279
- package/dist/agent/collaboration/index.d.ts +0 -7
- package/dist/agent/collaboration/index.js +0 -7
- package/dist/agent/collaboration/message-bus.d.ts +0 -48
- package/dist/agent/collaboration/message-bus.js +0 -219
- package/dist/agent/collaboration/shared-context.d.ts +0 -67
- package/dist/agent/collaboration/shared-context.js +0 -217
- package/dist/agent/collaboration/types.d.ts +0 -95
- package/dist/agent/collaboration/types.js +0 -6
- package/dist/agent/commands/chat.d.ts +0 -21
- package/dist/agent/commands/chat.js +0 -55
- package/dist/agent/compaction-tiers.d.ts +0 -10
- package/dist/agent/compaction-tiers.js +0 -70
- package/dist/agent/compaction.d.ts +0 -16
- package/dist/agent/compaction.js +0 -129
- package/dist/agent/context-optimizer.d.ts +0 -2
- package/dist/agent/context-optimizer.js +0 -30
- package/dist/agent/context.d.ts +0 -14
- package/dist/agent/context.js +0 -241
- package/dist/agent/error-classifier.d.ts +0 -10
- package/dist/agent/error-classifier.js +0 -67
- package/dist/agent/event-emit.d.ts +0 -6
- package/dist/agent/event-emit.js +0 -98
- package/dist/agent/executor.d.ts +0 -9
- package/dist/agent/executor.js +0 -44
- package/dist/agent/gateway.d.ts +0 -11
- package/dist/agent/gateway.js +0 -11
- package/dist/agent/index.d.ts +0 -7
- package/dist/agent/index.js +0 -58
- package/dist/agent/injector.d.ts +0 -35
- package/dist/agent/injector.js +0 -57
- package/dist/agent/loop-detector.d.ts +0 -18
- package/dist/agent/loop-detector.js +0 -91
- package/dist/agent/loop.d.ts +0 -22
- package/dist/agent/loop.js +0 -348
- package/dist/agent/memory-sync.d.ts +0 -5
- package/dist/agent/memory-sync.js +0 -17
- package/dist/agent/model-fallback.d.ts +0 -23
- package/dist/agent/model-fallback.js +0 -112
- package/dist/agent/moim.d.ts +0 -5
- package/dist/agent/moim.js +0 -29
- package/dist/agent/orchestration/agent-pool.d.ts +0 -59
- package/dist/agent/orchestration/agent-pool.js +0 -165
- package/dist/agent/orchestration/circuit-breaker.d.ts +0 -121
- package/dist/agent/orchestration/circuit-breaker.js +0 -298
- package/dist/agent/orchestration/coordinator.d.ts +0 -17
- package/dist/agent/orchestration/coordinator.js +0 -150
- package/dist/agent/orchestration/dag-runner.d.ts +0 -18
- package/dist/agent/orchestration/dag-runner.js +0 -172
- package/dist/agent/orchestration/dag.d.ts +0 -33
- package/dist/agent/orchestration/dag.js +0 -209
- package/dist/agent/orchestration/decomposer.d.ts +0 -19
- package/dist/agent/orchestration/decomposer.js +0 -65
- package/dist/agent/orchestration/observability.d.ts +0 -117
- package/dist/agent/orchestration/observability.js +0 -244
- package/dist/agent/orchestration/parallel.d.ts +0 -8
- package/dist/agent/orchestration/parallel.js +0 -191
- package/dist/agent/orchestration/pool-cleanup.d.ts +0 -16
- package/dist/agent/orchestration/pool-cleanup.js +0 -21
- package/dist/agent/orchestration/pool-queue.d.ts +0 -23
- package/dist/agent/orchestration/pool-queue.js +0 -62
- package/dist/agent/orchestration/pool-scaler.d.ts +0 -22
- package/dist/agent/orchestration/pool-scaler.js +0 -53
- package/dist/agent/orchestration/researcher.d.ts +0 -28
- package/dist/agent/orchestration/researcher.js +0 -78
- package/dist/agent/orchestration/retry.d.ts +0 -14
- package/dist/agent/orchestration/retry.js +0 -107
- package/dist/agent/orchestration/scheduler.d.ts +0 -24
- package/dist/agent/orchestration/scheduler.js +0 -66
- package/dist/agent/orchestration/shared-memory.d.ts +0 -31
- package/dist/agent/orchestration/shared-memory.js +0 -57
- package/dist/agent/orchestration/structured.d.ts +0 -63
- package/dist/agent/orchestration/structured.js +0 -152
- package/dist/agent/orchestration/task-queue.d.ts +0 -32
- package/dist/agent/orchestration/task-queue.js +0 -105
- package/dist/agent/orchestration/types.d.ts +0 -139
- package/dist/agent/orchestration/types.js +0 -7
- package/dist/agent/output.d.ts +0 -31
- package/dist/agent/output.js +0 -108
- package/dist/agent/parser.d.ts +0 -5
- package/dist/agent/parser.js +0 -74
- package/dist/agent/pending-messages.d.ts +0 -33
- package/dist/agent/pending-messages.js +0 -57
- package/dist/agent/project.d.ts +0 -2
- package/dist/agent/project.js +0 -19
- package/dist/agent/reflection.d.ts +0 -36
- package/dist/agent/reflection.js +0 -93
- package/dist/agent/rerank-engine.d.ts +0 -18
- package/dist/agent/rerank-engine.js +0 -52
- package/dist/agent/routing.d.ts +0 -10
- package/dist/agent/routing.js +0 -95
- package/dist/agent/secrets.d.ts +0 -6
- package/dist/agent/secrets.js +0 -84
- package/dist/agent/skill-registry.d.ts +0 -37
- package/dist/agent/skill-registry.js +0 -113
- package/dist/agent/spawn/index.d.ts +0 -8
- package/dist/agent/spawn/index.js +0 -5
- package/dist/agent/spawn/lifecycle.d.ts +0 -9
- package/dist/agent/spawn/lifecycle.js +0 -92
- package/dist/agent/spawn/messaging.d.ts +0 -6
- package/dist/agent/spawn/messaging.js +0 -36
- package/dist/agent/spawn/state.d.ts +0 -7
- package/dist/agent/spawn/state.js +0 -57
- package/dist/agent/spawn/types.d.ts +0 -55
- package/dist/agent/spawn/types.js +0 -5
- package/dist/agent/spawn/utils.d.ts +0 -14
- package/dist/agent/spawn/utils.js +0 -72
- package/dist/agent/spawn-agent.d.ts +0 -47
- package/dist/agent/spawn-agent.js +0 -114
- package/dist/agent/structured-output.d.ts +0 -15
- package/dist/agent/structured-output.js +0 -66
- package/dist/agent/tool-execution.d.ts +0 -18
- package/dist/agent/tool-execution.js +0 -242
- package/dist/agent/tools.d.ts +0 -6
- package/dist/agent/tools.js +0 -7
- package/dist/agent/types.d.ts +0 -62
- package/dist/agent/types.js +0 -6
- package/dist/agents/consensus.d.ts +0 -14
- package/dist/agents/consensus.js +0 -34
- package/dist/agents/delegate.d.ts +0 -18
- package/dist/agents/delegate.js +0 -32
- package/dist/agents/ensemble.d.ts +0 -18
- package/dist/agents/ensemble.js +0 -33
- package/dist/agents/orchestrate.d.ts +0 -12
- package/dist/agents/orchestrate.js +0 -32
- package/dist/agents/types.d.ts +0 -29
- package/dist/agents/types.js +0 -2
- package/dist/analytics/export.d.ts +0 -11
- package/dist/analytics/export.js +0 -58
- package/dist/analytics/insights.d.ts +0 -27
- package/dist/analytics/insights.js +0 -33
- package/dist/api/knowledge.d.ts +0 -38
- package/dist/api/knowledge.js +0 -65
- package/dist/billing/db.d.ts +0 -11
- package/dist/billing/db.js +0 -88
- package/dist/billing/index.d.ts +0 -10
- package/dist/billing/index.js +0 -12
- package/dist/billing/meter.d.ts +0 -11
- package/dist/billing/meter.js +0 -46
- package/dist/billing/middleware.d.ts +0 -28
- package/dist/billing/middleware.js +0 -103
- package/dist/billing/pricing.d.ts +0 -6
- package/dist/billing/pricing.js +0 -48
- package/dist/billing/quota.d.ts +0 -24
- package/dist/billing/quota.js +0 -105
- package/dist/billing/ratelimit-fixed.d.ts +0 -16
- package/dist/billing/ratelimit-fixed.js +0 -112
- package/dist/billing/ratelimit.d.ts +0 -7
- package/dist/billing/ratelimit.js +0 -58
- package/dist/billing/tokenizer-v2.d.ts +0 -76
- package/dist/billing/tokenizer-v2.js +0 -263
- package/dist/billing/tokenizer.d.ts +0 -9
- package/dist/billing/tokenizer.js +0 -46
- package/dist/billing/types.d.ts +0 -60
- package/dist/billing/types.js +0 -17
- package/dist/browser/accessibility.d.ts +0 -6
- package/dist/browser/accessibility.js +0 -47
- package/dist/browser/commands.d.ts +0 -5
- package/dist/browser/commands.js +0 -82
- package/dist/browser/ipc-client.d.ts +0 -26
- package/dist/browser/ipc-client.js +0 -60
- package/dist/browser/launcher.d.ts +0 -13
- package/dist/browser/launcher.js +0 -78
- package/dist/browser/navigation.d.ts +0 -12
- package/dist/browser/navigation.js +0 -28
- package/dist/browser/snapshot.d.ts +0 -7
- package/dist/browser/snapshot.js +0 -18
- package/dist/browser/types.d.ts +0 -28
- package/dist/browser/types.js +0 -2
- package/dist/checkpoint/create.d.ts +0 -2
- package/dist/checkpoint/create.js +0 -44
- package/dist/checkpoint/git.d.ts +0 -8
- package/dist/checkpoint/git.js +0 -45
- package/dist/checkpoint/restore.d.ts +0 -5
- package/dist/checkpoint/restore.js +0 -18
- package/dist/checkpoint/store.d.ts +0 -9
- package/dist/checkpoint/store.js +0 -40
- package/dist/checkpoint/types.d.ts +0 -23
- package/dist/checkpoint/types.js +0 -2
- package/dist/commands/agent-swarm.d.ts +0 -7
- package/dist/commands/agent-swarm.js +0 -223
- package/dist/commands/analytics.d.ts +0 -5
- package/dist/commands/analytics.js +0 -20
- package/dist/commands/ask.d.ts +0 -12
- package/dist/commands/ask.js +0 -99
- package/dist/commands/audit.d.ts +0 -5
- package/dist/commands/audit.js +0 -78
- package/dist/commands/auth.d.ts +0 -1
- package/dist/commands/auth.js +0 -126
- package/dist/commands/autocomplete.d.ts +0 -10
- package/dist/commands/autocomplete.js +0 -89
- package/dist/commands/bounties.d.ts +0 -2
- package/dist/commands/bounties.js +0 -107
- package/dist/commands/browser-cmd.d.ts +0 -7
- package/dist/commands/browser-cmd.js +0 -101
- package/dist/commands/browser-integration.d.ts +0 -15
- package/dist/commands/browser-integration.js +0 -58
- package/dist/commands/btw.d.ts +0 -7
- package/dist/commands/btw.js +0 -62
- package/dist/commands/bucky.d.ts +0 -19
- package/dist/commands/bucky.js +0 -328
- package/dist/commands/bug-hunter.d.ts +0 -6
- package/dist/commands/bug-hunter.js +0 -55
- package/dist/commands/capture.d.ts +0 -10
- package/dist/commands/capture.js +0 -167
- package/dist/commands/chat.d.ts +0 -4
- package/dist/commands/chat.js +0 -107
- package/dist/commands/checkpoint.d.ts +0 -6
- package/dist/commands/checkpoint.js +0 -83
- package/dist/commands/coming-soon.d.ts +0 -2
- package/dist/commands/coming-soon.js +0 -50
- package/dist/commands/compact.d.ts +0 -5
- package/dist/commands/compact.js +0 -38
- package/dist/commands/connect.d.ts +0 -7
- package/dist/commands/connect.js +0 -155
- package/dist/commands/curate/embeddings.d.ts +0 -7
- package/dist/commands/curate/embeddings.js +0 -38
- package/dist/commands/curate/files.d.ts +0 -4
- package/dist/commands/curate/files.js +0 -28
- package/dist/commands/curate/project.d.ts +0 -1
- package/dist/commands/curate/project.js +0 -20
- package/dist/commands/curate/schema.d.ts +0 -1
- package/dist/commands/curate/schema.js +0 -30
- package/dist/commands/curate/types.d.ts +0 -26
- package/dist/commands/curate/types.js +0 -6
- package/dist/commands/curate/vss-integration.d.ts +0 -1
- package/dist/commands/curate/vss-integration.js +0 -19
- package/dist/commands/curate.d.ts +0 -9
- package/dist/commands/curate.js +0 -50
- package/dist/commands/dao.d.ts +0 -8
- package/dist/commands/dao.js +0 -290
- package/dist/commands/data-query.d.ts +0 -7
- package/dist/commands/data-query.js +0 -55
- package/dist/commands/doctor.d.ts +0 -2
- package/dist/commands/doctor.js +0 -145
- package/dist/commands/ensemble.d.ts +0 -7
- package/dist/commands/ensemble.js +0 -88
- package/dist/commands/error-recovery.d.ts +0 -10
- package/dist/commands/error-recovery.js +0 -50
- package/dist/commands/export-session.d.ts +0 -7
- package/dist/commands/export-session.js +0 -70
- package/dist/commands/import-session.d.ts +0 -7
- package/dist/commands/import-session.js +0 -49
- package/dist/commands/index.d.ts +0 -62
- package/dist/commands/index.js +0 -76
- package/dist/commands/init.d.ts +0 -5
- package/dist/commands/init.js +0 -101
- package/dist/commands/jobs.d.ts +0 -2
- package/dist/commands/jobs.js +0 -108
- package/dist/commands/join-mesh.d.ts +0 -5
- package/dist/commands/join-mesh.js +0 -97
- package/dist/commands/knowledge.d.ts +0 -19
- package/dist/commands/knowledge.js +0 -218
- package/dist/commands/local.d.ts +0 -2
- package/dist/commands/local.js +0 -77
- package/dist/commands/login.d.ts +0 -10
- package/dist/commands/login.js +0 -160
- package/dist/commands/logout.d.ts +0 -2
- package/dist/commands/logout.js +0 -12
- package/dist/commands/make.d.ts +0 -2
- package/dist/commands/make.js +0 -69
- package/dist/commands/mcp.d.ts +0 -7
- package/dist/commands/mcp.js +0 -202
- package/dist/commands/mesh/add-member.d.ts +0 -2
- package/dist/commands/mesh/add-member.js +0 -23
- package/dist/commands/mesh/ask.d.ts +0 -2
- package/dist/commands/mesh/ask.js +0 -60
- package/dist/commands/mesh/billing.d.ts +0 -1
- package/dist/commands/mesh/billing.js +0 -16
- package/dist/commands/mesh/consensus.d.ts +0 -1
- package/dist/commands/mesh/consensus.js +0 -17
- package/dist/commands/mesh/context.d.ts +0 -4
- package/dist/commands/mesh/context.js +0 -11
- package/dist/commands/mesh/index.d.ts +0 -4
- package/dist/commands/mesh/index.js +0 -64
- package/dist/commands/mesh/join.d.ts +0 -2
- package/dist/commands/mesh/join.js +0 -38
- package/dist/commands/mesh/leave.d.ts +0 -1
- package/dist/commands/mesh/leave.js +0 -14
- package/dist/commands/mesh/quota.d.ts +0 -1
- package/dist/commands/mesh/quota.js +0 -31
- package/dist/commands/mesh/status.d.ts +0 -1
- package/dist/commands/mesh/status.js +0 -48
- package/dist/commands/mesh/types.d.ts +0 -36
- package/dist/commands/mesh/types.js +0 -2
- package/dist/commands/mesh.d.ts +0 -6
- package/dist/commands/mesh.js +0 -258
- package/dist/commands/models.d.ts +0 -1
- package/dist/commands/models.js +0 -194
- package/dist/commands/pay.d.ts +0 -7
- package/dist/commands/pay.js +0 -305
- package/dist/commands/profile.d.ts +0 -2
- package/dist/commands/profile.js +0 -99
- package/dist/commands/progress.d.ts +0 -23
- package/dist/commands/progress.js +0 -93
- package/dist/commands/prune.d.ts +0 -2
- package/dist/commands/prune.js +0 -64
- package/dist/commands/query.d.ts +0 -9
- package/dist/commands/query.js +0 -135
- package/dist/commands/recall-cmd.d.ts +0 -7
- package/dist/commands/recall-cmd.js +0 -65
- package/dist/commands/remember-cmd.d.ts +0 -7
- package/dist/commands/remember-cmd.js +0 -40
- package/dist/commands/research.d.ts +0 -5
- package/dist/commands/research.js +0 -40
- package/dist/commands/sandbox-connect.d.ts +0 -2
- package/dist/commands/sandbox-connect.js +0 -171
- package/dist/commands/scan/arniko.d.ts +0 -1
- package/dist/commands/scan/arniko.js +0 -79
- package/dist/commands/scan/deps.d.ts +0 -21
- package/dist/commands/scan/deps.js +0 -56
- package/dist/commands/scan/index.d.ts +0 -7
- package/dist/commands/scan/index.js +0 -97
- package/dist/commands/scan/output.d.ts +0 -2
- package/dist/commands/scan/output.js +0 -42
- package/dist/commands/scan/types.d.ts +0 -21
- package/dist/commands/scan/types.js +0 -2
- package/dist/commands/scan/utils.d.ts +0 -5
- package/dist/commands/scan/utils.js +0 -101
- package/dist/commands/scan.d.ts +0 -7
- package/dist/commands/scan.js +0 -327
- package/dist/commands/scratchpad.d.ts +0 -8
- package/dist/commands/scratchpad.js +0 -82
- package/dist/commands/session.d.ts +0 -3
- package/dist/commands/session.js +0 -70
- package/dist/commands/setup-local.d.ts +0 -2
- package/dist/commands/setup-local.js +0 -137
- package/dist/commands/setup.d.ts +0 -1
- package/dist/commands/setup.js +0 -230
- package/dist/commands/smart-exec.d.ts +0 -2
- package/dist/commands/smart-exec.js +0 -217
- package/dist/commands/sprint.d.ts +0 -9
- package/dist/commands/sprint.js +0 -321
- package/dist/commands/stats.d.ts +0 -1
- package/dist/commands/stats.js +0 -163
- package/dist/commands/status.d.ts +0 -1
- package/dist/commands/status.js +0 -97
- package/dist/commands/support.d.ts +0 -5
- package/dist/commands/support.js +0 -43
- package/dist/commands/sync.d.ts +0 -7
- package/dist/commands/sync.js +0 -130
- package/dist/commands/unified-memory/context.d.ts +0 -5
- package/dist/commands/unified-memory/context.js +0 -33
- package/dist/commands/unified-memory/index.d.ts +0 -12
- package/dist/commands/unified-memory/index.js +0 -23
- package/dist/commands/unified-memory/recall.d.ts +0 -5
- package/dist/commands/unified-memory/recall.js +0 -50
- package/dist/commands/unified-memory/remember.d.ts +0 -5
- package/dist/commands/unified-memory/remember.js +0 -49
- package/dist/commands/unified-memory/session.d.ts +0 -5
- package/dist/commands/unified-memory/session.js +0 -64
- package/dist/commands/unified-memory/stats.d.ts +0 -5
- package/dist/commands/unified-memory/stats.js +0 -29
- package/dist/commands/update.d.ts +0 -7
- package/dist/commands/update.js +0 -45
- package/dist/commands/voice-entry.d.ts +0 -8
- package/dist/commands/voice-entry.js +0 -120
- package/dist/commands/yolo.d.ts +0 -8
- package/dist/commands/yolo.js +0 -88
- package/dist/compaction/index.d.ts +0 -15
- package/dist/compaction/index.js +0 -21
- package/dist/compaction/protect.d.ts +0 -8
- package/dist/compaction/protect.js +0 -15
- package/dist/compaction/prune.d.ts +0 -5
- package/dist/compaction/prune.js +0 -19
- package/dist/compaction/summarize.d.ts +0 -6
- package/dist/compaction/summarize.js +0 -27
- package/dist/compaction/types.d.ts +0 -27
- package/dist/compaction/types.js +0 -2
- package/dist/compaction/update.d.ts +0 -6
- package/dist/compaction/update.js +0 -18
- package/dist/config/execution.d.ts +0 -22
- package/dist/config/execution.js +0 -59
- package/dist/config/rate-limits.d.ts +0 -15
- package/dist/config/rate-limits.js +0 -34
- package/dist/context/jit.d.ts +0 -16
- package/dist/context/jit.js +0 -120
- package/dist/context/todos.d.ts +0 -7
- package/dist/context/todos.js +0 -21
- package/dist/cron/runner.d.ts +0 -16
- package/dist/cron/runner.js +0 -57
- package/dist/cron/store.d.ts +0 -19
- package/dist/cron/store.js +0 -91
- package/dist/dirgha.mjs +0 -2185
- package/dist/embeddings/gateway.d.ts +0 -9
- package/dist/embeddings/gateway.js +0 -55
- package/dist/embeddings/math.d.ts +0 -17
- package/dist/embeddings/math.js +0 -33
- package/dist/embeddings/ollama.d.ts +0 -10
- package/dist/embeddings/ollama.js +0 -74
- package/dist/embeddings/provider.d.ts +0 -28
- package/dist/embeddings/provider.js +0 -73
- package/dist/embeddings/vss.d.ts +0 -22
- package/dist/embeddings/vss.js +0 -102
- package/dist/errors/tokenLimit.d.ts +0 -15
- package/dist/errors/tokenLimit.js +0 -93
- package/dist/extensions/manager.d.ts +0 -6
- package/dist/extensions/manager.js +0 -62
- package/dist/extensions/rpc.d.ts +0 -10
- package/dist/extensions/rpc.js +0 -90
- package/dist/extensions/types.d.ts +0 -24
- package/dist/extensions/types.js +0 -5
- package/dist/fleet/apply-back.d.ts +0 -11
- package/dist/fleet/apply-back.js +0 -82
- package/dist/fleet/commands.d.ts +0 -2
- package/dist/fleet/commands.js +0 -227
- package/dist/fleet/decompose.d.ts +0 -7
- package/dist/fleet/decompose.js +0 -80
- package/dist/fleet/events.d.ts +0 -24
- package/dist/fleet/events.js +0 -35
- package/dist/fleet/runtime.d.ts +0 -9
- package/dist/fleet/runtime.js +0 -131
- package/dist/fleet/tripleshot.d.ts +0 -9
- package/dist/fleet/tripleshot.js +0 -114
- package/dist/fleet/types.d.ts +0 -60
- package/dist/fleet/types.js +0 -11
- package/dist/fleet/worktree.d.ts +0 -17
- package/dist/fleet/worktree.js +0 -80
- package/dist/gateway/acp/adapter.d.ts +0 -46
- package/dist/gateway/acp/adapter.js +0 -181
- package/dist/gateway/acp/index.d.ts +0 -6
- package/dist/gateway/acp/index.js +0 -6
- package/dist/gateway/acp/registry.d.ts +0 -51
- package/dist/gateway/acp/registry.js +0 -171
- package/dist/gateway/acp/types.d.ts +0 -123
- package/dist/gateway/acp/types.js +0 -7
- package/dist/gateway/index.d.ts +0 -5
- package/dist/gateway/index.js +0 -6
- package/dist/gateway/orchestrator.d.ts +0 -8
- package/dist/gateway/orchestrator.js +0 -37
- package/dist/gateway/router.d.ts +0 -34
- package/dist/gateway/router.js +0 -123
- package/dist/gateway/telegram.d.ts +0 -13
- package/dist/gateway/telegram.js +0 -35
- package/dist/gateway/types.d.ts +0 -15
- package/dist/gateway/types.js +0 -2
- package/dist/git/rotation.d.ts +0 -8
- package/dist/git/rotation.js +0 -36
- package/dist/hub/commands.d.ts +0 -15
- package/dist/hub/commands.js +0 -189
- package/dist/hub/index.d.ts +0 -8
- package/dist/hub/index.js +0 -9
- package/dist/hub/installer.d.ts +0 -7
- package/dist/hub/installer.js +0 -148
- package/dist/hub/registry.d.ts +0 -9
- package/dist/hub/registry.js +0 -81
- package/dist/hub/registry.json +0 -82
- package/dist/hub/types.d.ts +0 -73
- package/dist/hub/types.js +0 -6
- package/dist/index-agent.d.ts +0 -1
- package/dist/index-agent.js +0 -17
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -442
- package/dist/knowledge/compiler.d.ts +0 -11
- package/dist/knowledge/compiler.js +0 -100
- package/dist/knowledge/git-sync.d.ts +0 -6
- package/dist/knowledge/git-sync.js +0 -81
- package/dist/knowledge/linter.d.ts +0 -9
- package/dist/knowledge/linter.js +0 -136
- package/dist/knowledge/raw.d.ts +0 -20
- package/dist/knowledge/raw.js +0 -87
- package/dist/knowledge/wiki.d.ts +0 -26
- package/dist/knowledge/wiki.js +0 -127
- package/dist/llm/cache.d.ts +0 -16
- package/dist/llm/cache.js +0 -25
- package/dist/llm/costs.d.ts +0 -18
- package/dist/llm/costs.js +0 -30
- package/dist/llm/ensemble.d.ts +0 -5
- package/dist/llm/ensemble.js +0 -40
- package/dist/llm/local.d.ts +0 -23
- package/dist/llm/local.js +0 -78
- package/dist/llm/router.d.ts +0 -7
- package/dist/llm/router.js +0 -68
- package/dist/llm/types.d.ts +0 -18
- package/dist/llm/types.js +0 -2
- package/dist/mcp/client.d.ts +0 -25
- package/dist/mcp/client.js +0 -115
- package/dist/mcp/commands.d.ts +0 -5
- package/dist/mcp/commands.js +0 -30
- package/dist/mcp/index.d.ts +0 -7
- package/dist/mcp/index.js +0 -6
- package/dist/mcp/manager.d.ts +0 -17
- package/dist/mcp/manager.js +0 -67
- package/dist/mcp/marketplace.d.ts +0 -42
- package/dist/mcp/marketplace.js +0 -188
- package/dist/mcp/resources.d.ts +0 -6
- package/dist/mcp/resources.js +0 -26
- package/dist/mcp/server.d.ts +0 -84
- package/dist/mcp/server.js +0 -288
- package/dist/mcp/transport.d.ts +0 -10
- package/dist/mcp/transport.js +0 -30
- package/dist/memory/builtin.d.ts +0 -17
- package/dist/memory/builtin.js +0 -43
- package/dist/memory/gepa-integration.d.ts +0 -49
- package/dist/memory/gepa-integration.js +0 -271
- package/dist/memory/graph.d.ts +0 -19
- package/dist/memory/graph.js +0 -44
- package/dist/memory/holographic.d.ts +0 -11
- package/dist/memory/holographic.js +0 -192
- package/dist/memory/manager.d.ts +0 -36
- package/dist/memory/manager.js +0 -152
- package/dist/memory/provider.d.ts +0 -29
- package/dist/memory/provider.js +0 -9
- package/dist/memory/unified.d.ts +0 -19
- package/dist/memory/unified.js +0 -91
- package/dist/mesh/ConsensusEngine.d.ts +0 -85
- package/dist/mesh/ConsensusEngine.js +0 -187
- package/dist/mesh/LightningBilling.d.ts +0 -124
- package/dist/mesh/LightningBilling.js +0 -284
- package/dist/mesh/MeshNode.d.ts +0 -82
- package/dist/mesh/MeshNode.js +0 -401
- package/dist/mesh/TeamResourcePool.d.ts +0 -93
- package/dist/mesh/TeamResourcePool.js +0 -277
- package/dist/mesh/agent-payments.d.ts +0 -25
- package/dist/mesh/agent-payments.js +0 -79
- package/dist/mesh/capabilities.d.ts +0 -25
- package/dist/mesh/capabilities.js +0 -44
- package/dist/mesh/config.d.ts +0 -37
- package/dist/mesh/config.js +0 -38
- package/dist/mesh/index.d.ts +0 -13
- package/dist/mesh/index.js +0 -11
- package/dist/mesh/reputation.d.ts +0 -21
- package/dist/mesh/reputation.js +0 -51
- package/dist/mesh/revenue-split.d.ts +0 -20
- package/dist/mesh/revenue-split.js +0 -52
- package/dist/mesh/validation.d.ts +0 -5
- package/dist/mesh/validation.js +0 -31
- package/dist/models/credential-pool.d.ts +0 -37
- package/dist/models/credential-pool.js +0 -165
- package/dist/models/index.d.ts +0 -10
- package/dist/models/index.js +0 -13
- package/dist/models/manager.d.ts +0 -34
- package/dist/models/manager.js +0 -197
- package/dist/models/registry.d.ts +0 -27
- package/dist/models/registry.js +0 -359
- package/dist/models/types.d.ts +0 -119
- package/dist/models/types.js +0 -5
- package/dist/multimodal/attachments.d.ts +0 -13
- package/dist/multimodal/attachments.js +0 -99
- package/dist/multimodal/index.d.ts +0 -6
- package/dist/multimodal/index.js +0 -3
- package/dist/multimodal/slash.d.ts +0 -9
- package/dist/multimodal/slash.js +0 -111
- package/dist/multimodal/types.d.ts +0 -30
- package/dist/multimodal/types.js +0 -5
- package/dist/permission/approval.d.ts +0 -18
- package/dist/permission/approval.js +0 -86
- package/dist/permission/confirmation.d.ts +0 -33
- package/dist/permission/confirmation.js +0 -130
- package/dist/permission/judge.d.ts +0 -25
- package/dist/permission/judge.js +0 -162
- package/dist/permission/store.d.ts +0 -12
- package/dist/permission/store.js +0 -50
- package/dist/platform/sync.d.ts +0 -17
- package/dist/platform/sync.js +0 -38
- package/dist/project-session/commands.d.ts +0 -5
- package/dist/project-session/commands.js +0 -220
- package/dist/project-session/context.d.ts +0 -21
- package/dist/project-session/context.js +0 -145
- package/dist/project-session/index.d.ts +0 -8
- package/dist/project-session/index.js +0 -8
- package/dist/project-session/project.d.ts +0 -15
- package/dist/project-session/project.js +0 -107
- package/dist/project-session/session.d.ts +0 -14
- package/dist/project-session/session.js +0 -124
- package/dist/project-session/types.d.ts +0 -85
- package/dist/project-session/types.js +0 -6
- package/dist/providers/anthropic.d.ts +0 -4
- package/dist/providers/anthropic.js +0 -94
- package/dist/providers/circuit-breaker.d.ts +0 -30
- package/dist/providers/circuit-breaker.js +0 -109
- package/dist/providers/cohere.d.ts +0 -2
- package/dist/providers/cohere.js +0 -49
- package/dist/providers/deepinfra.d.ts +0 -32
- package/dist/providers/deepinfra.js +0 -44
- package/dist/providers/detection.d.ts +0 -21
- package/dist/providers/detection.js +0 -88
- package/dist/providers/dirgha.d.ts +0 -3
- package/dist/providers/dirgha.js +0 -26
- package/dist/providers/dispatch.d.ts +0 -28
- package/dist/providers/dispatch.js +0 -262
- package/dist/providers/fireworks.d.ts +0 -2
- package/dist/providers/fireworks.js +0 -109
- package/dist/providers/gateway.d.ts +0 -2
- package/dist/providers/gateway.js +0 -80
- package/dist/providers/gemini.d.ts +0 -3
- package/dist/providers/gemini.js +0 -103
- package/dist/providers/groq.d.ts +0 -2
- package/dist/providers/groq.js +0 -39
- package/dist/providers/http.d.ts +0 -27
- package/dist/providers/http.js +0 -245
- package/dist/providers/index.d.ts +0 -16
- package/dist/providers/index.js +0 -18
- package/dist/providers/messages.d.ts +0 -21
- package/dist/providers/messages.js +0 -116
- package/dist/providers/mistral.d.ts +0 -2
- package/dist/providers/mistral.js +0 -39
- package/dist/providers/normalise.d.ts +0 -5
- package/dist/providers/normalise.js +0 -29
- package/dist/providers/nvidia.d.ts +0 -2
- package/dist/providers/nvidia.js +0 -62
- package/dist/providers/openai.d.ts +0 -3
- package/dist/providers/openai.js +0 -20
- package/dist/providers/openrouter.d.ts +0 -2
- package/dist/providers/openrouter.js +0 -54
- package/dist/providers/perplexity.d.ts +0 -34
- package/dist/providers/perplexity.js +0 -66
- package/dist/providers/rate-limit.d.ts +0 -31
- package/dist/providers/rate-limit.js +0 -101
- package/dist/providers/togetherai.d.ts +0 -32
- package/dist/providers/togetherai.js +0 -44
- package/dist/providers/tools-format.d.ts +0 -2437
- package/dist/providers/tools-format.js +0 -15
- package/dist/providers/types.d.ts +0 -29
- package/dist/providers/types.js +0 -2
- package/dist/providers/unified-rate-limiter.d.ts +0 -116
- package/dist/providers/unified-rate-limiter.js +0 -385
- package/dist/providers/vercel.d.ts +0 -32
- package/dist/providers/vercel.js +0 -44
- package/dist/providers/xai.d.ts +0 -2
- package/dist/providers/xai.js +0 -39
- package/dist/realtime/hub.d.ts +0 -42
- package/dist/realtime/hub.js +0 -147
- package/dist/repl/escape-recovery.d.ts +0 -75
- package/dist/repl/escape-recovery.js +0 -236
- package/dist/repl/index.d.ts +0 -2
- package/dist/repl/index.js +0 -226
- package/dist/repl/input.d.ts +0 -12
- package/dist/repl/input.js +0 -345
- package/dist/repl/renderer.d.ts +0 -23
- package/dist/repl/renderer.js +0 -232
- package/dist/repl/slash/account.d.ts +0 -2
- package/dist/repl/slash/account.js +0 -70
- package/dist/repl/slash/agent-discovery.d.ts +0 -15
- package/dist/repl/slash/agent-discovery.js +0 -227
- package/dist/repl/slash/config.d.ts +0 -2
- package/dist/repl/slash/config.js +0 -223
- package/dist/repl/slash/consensus.d.ts +0 -14
- package/dist/repl/slash/consensus.js +0 -173
- package/dist/repl/slash/context.d.ts +0 -3
- package/dist/repl/slash/context.js +0 -188
- package/dist/repl/slash/cron.d.ts +0 -2
- package/dist/repl/slash/cron.js +0 -83
- package/dist/repl/slash/dev.d.ts +0 -5
- package/dist/repl/slash/dev.js +0 -240
- package/dist/repl/slash/fs.d.ts +0 -10
- package/dist/repl/slash/fs.js +0 -105
- package/dist/repl/slash/git-ext.d.ts +0 -2
- package/dist/repl/slash/git-ext.js +0 -95
- package/dist/repl/slash/git.d.ts +0 -3
- package/dist/repl/slash/git.js +0 -167
- package/dist/repl/slash/hermes.d.ts +0 -2
- package/dist/repl/slash/hermes.js +0 -180
- package/dist/repl/slash/index.d.ts +0 -28
- package/dist/repl/slash/index.js +0 -160
- package/dist/repl/slash/knowledge.d.ts +0 -8
- package/dist/repl/slash/knowledge.js +0 -287
- package/dist/repl/slash/local.d.ts +0 -5
- package/dist/repl/slash/local.js +0 -24
- package/dist/repl/slash/mcp.d.ts +0 -2
- package/dist/repl/slash/mcp.js +0 -63
- package/dist/repl/slash/memory.d.ts +0 -2
- package/dist/repl/slash/memory.js +0 -232
- package/dist/repl/slash/net.d.ts +0 -11
- package/dist/repl/slash/net.js +0 -83
- package/dist/repl/slash/orchestration.d.ts +0 -2
- package/dist/repl/slash/orchestration.js +0 -61
- package/dist/repl/slash/safety.d.ts +0 -2
- package/dist/repl/slash/safety.js +0 -131
- package/dist/repl/slash/screen.d.ts +0 -2
- package/dist/repl/slash/screen.js +0 -202
- package/dist/repl/slash/search.d.ts +0 -2
- package/dist/repl/slash/search.js +0 -211
- package/dist/repl/slash/security.d.ts +0 -2
- package/dist/repl/slash/security.js +0 -102
- package/dist/repl/slash/session.d.ts +0 -2
- package/dist/repl/slash/session.js +0 -498
- package/dist/repl/slash/shortcuts.d.ts +0 -2
- package/dist/repl/slash/shortcuts.js +0 -180
- package/dist/repl/slash/side.d.ts +0 -9
- package/dist/repl/slash/side.js +0 -27
- package/dist/repl/slash/sprint.d.ts +0 -2
- package/dist/repl/slash/sprint.js +0 -189
- package/dist/repl/slash/team.d.ts +0 -15
- package/dist/repl/slash/team.js +0 -235
- package/dist/repl/slash/theme.d.ts +0 -10
- package/dist/repl/slash/theme.js +0 -112
- package/dist/repl/slash/types.d.ts +0 -30
- package/dist/repl/slash/types.js +0 -2
- package/dist/repl/slash/verbose.d.ts +0 -18
- package/dist/repl/slash/verbose.js +0 -38
- package/dist/repl/slash/verify.d.ts +0 -10
- package/dist/repl/slash/verify.js +0 -171
- package/dist/repl/slash/voice.d.ts +0 -5
- package/dist/repl/slash/voice.js +0 -72
- package/dist/repl/slash-git.d.ts +0 -2
- package/dist/repl/slash-git.js +0 -132
- package/dist/repl/slash-workflow.d.ts +0 -2
- package/dist/repl/slash-workflow.js +0 -108
- package/dist/repl/themes.d.ts +0 -24
- package/dist/repl/themes.js +0 -253
- package/dist/runtime/host-tools.d.ts +0 -63
- package/dist/runtime/host-tools.js +0 -204
- package/dist/runtime/index.d.ts +0 -25
- package/dist/runtime/index.js +0 -19
- package/dist/runtime/isolate.d.ts +0 -88
- package/dist/runtime/isolate.js +0 -277
- package/dist/runtime/mount.d.ts +0 -105
- package/dist/runtime/mount.js +0 -458
- package/dist/runtime/multiplayer.d.ts +0 -128
- package/dist/runtime/multiplayer.js +0 -285
- package/dist/runtime/network-control.d.ts +0 -65
- package/dist/runtime/network-control.js +0 -195
- package/dist/runtime/transcript.d.ts +0 -128
- package/dist/runtime/transcript.js +0 -252
- package/dist/runtime/wasm-commands.d.ts +0 -27
- package/dist/runtime/wasm-commands.js +0 -156
- package/dist/security/capabilityTokens.d.ts +0 -44
- package/dist/security/capabilityTokens.js +0 -122
- package/dist/security/csrf.d.ts +0 -53
- package/dist/security/csrf.js +0 -181
- package/dist/security/index.d.ts +0 -6
- package/dist/security/index.js +0 -6
- package/dist/security/rules.d.ts +0 -12
- package/dist/security/rules.js +0 -212
- package/dist/security/safeShell.d.ts +0 -19
- package/dist/security/safeShell.js +0 -82
- package/dist/security/scanner.d.ts +0 -22
- package/dist/security/scanner.js +0 -190
- package/dist/security/types.d.ts +0 -53
- package/dist/security/types.js +0 -6
- package/dist/services/UnifiedAgentClient.d.ts +0 -75
- package/dist/services/UnifiedAgentClient.js +0 -180
- package/dist/services/memory/feature-flag.d.ts +0 -38
- package/dist/services/memory/feature-flag.js +0 -95
- package/dist/services/memory/gepa-wrapper.d.ts +0 -38
- package/dist/services/memory/gepa-wrapper.js +0 -177
- package/dist/session/caps.d.ts +0 -9
- package/dist/session/caps.js +0 -46
- package/dist/session/checkpoint.d.ts +0 -4
- package/dist/session/checkpoint.js +0 -91
- package/dist/session/commands/delete.d.ts +0 -2
- package/dist/session/commands/delete.js +0 -22
- package/dist/session/commands/index.d.ts +0 -7
- package/dist/session/commands/index.js +0 -8
- package/dist/session/commands/list.d.ts +0 -2
- package/dist/session/commands/list.js +0 -39
- package/dist/session/commands/load.d.ts +0 -2
- package/dist/session/commands/load.js +0 -35
- package/dist/session/commands/save.d.ts +0 -2
- package/dist/session/commands/save.js +0 -19
- package/dist/session/db.d.ts +0 -21
- package/dist/session/db.js +0 -289
- package/dist/session/memory.d.ts +0 -6
- package/dist/session/memory.js +0 -67
- package/dist/session/persistence.d.ts +0 -35
- package/dist/session/persistence.js +0 -166
- package/dist/setup/hardwareDetect.d.ts +0 -10
- package/dist/setup/hardwareDetect.js +0 -61
- package/dist/setup/localAIPrompt.d.ts +0 -1
- package/dist/setup/localAIPrompt.js +0 -84
- package/dist/setup/modelCurator.d.ts +0 -20
- package/dist/setup/modelCurator.js +0 -171
- package/dist/skills/generator.d.ts +0 -7
- package/dist/skills/generator.js +0 -76
- package/dist/skills/index.d.ts +0 -71
- package/dist/skills/index.js +0 -365
- package/dist/skills/registry.d.ts +0 -37
- package/dist/skills/registry.js +0 -120
- package/dist/sprint/compressor.d.ts +0 -9
- package/dist/sprint/compressor.js +0 -95
- package/dist/sprint/critic.d.ts +0 -12
- package/dist/sprint/critic.js +0 -44
- package/dist/sprint/escalation.d.ts +0 -12
- package/dist/sprint/escalation.js +0 -116
- package/dist/sprint/executor.d.ts +0 -13
- package/dist/sprint/executor.js +0 -231
- package/dist/sprint/journal.d.ts +0 -28
- package/dist/sprint/journal.js +0 -270
- package/dist/sprint/manifest.d.ts +0 -5
- package/dist/sprint/manifest.js +0 -183
- package/dist/sprint/types.d.ts +0 -96
- package/dist/sprint/types.js +0 -5
- package/dist/sprint/verifier.d.ts +0 -2
- package/dist/sprint/verifier.js +0 -152
- package/dist/sprint/watchdog.d.ts +0 -6
- package/dist/sprint/watchdog.js +0 -144
- package/dist/swarm/agents/VerificationQuorum.d.ts +0 -22
- package/dist/swarm/agents/VerificationQuorum.js +0 -146
- package/dist/swarm/agents/WorkerAgent.d.ts +0 -42
- package/dist/swarm/agents/WorkerAgent.js +0 -130
- package/dist/swarm/collaboration/AgentGit.d.ts +0 -39
- package/dist/swarm/collaboration/AgentGit.js +0 -102
- package/dist/swarm/collaboration/CRDT.d.ts +0 -28
- package/dist/swarm/collaboration/CRDT.js +0 -116
- package/dist/swarm/commands.d.ts +0 -5
- package/dist/swarm/commands.js +0 -144
- package/dist/swarm/governance/CostOptimizer.d.ts +0 -40
- package/dist/swarm/governance/CostOptimizer.js +0 -162
- package/dist/swarm/index.d.ts +0 -15
- package/dist/swarm/index.js +0 -16
- package/dist/swarm/orchestration/ColonyManager.d.ts +0 -45
- package/dist/swarm/orchestration/ColonyManager.js +0 -166
- package/dist/swarm/runtime/ModelPool.d.ts +0 -37
- package/dist/swarm/runtime/ModelPool.js +0 -162
- package/dist/swarm/templates/SalesforceDomains.d.ts +0 -25
- package/dist/swarm/templates/SalesforceDomains.js +0 -340
- package/dist/swarm/testing/MacroTestFramework.d.ts +0 -25
- package/dist/swarm/testing/MacroTestFramework.js +0 -109
- package/dist/swarm/testing/MicroTestFramework.d.ts +0 -23
- package/dist/swarm/testing/MicroTestFramework.js +0 -128
- package/dist/swarm/types.d.ts +0 -227
- package/dist/swarm/types.js +0 -5
- package/dist/sync/engine.d.ts +0 -17
- package/dist/sync/engine.js +0 -107
- package/dist/sync/knowledge.d.ts +0 -30
- package/dist/sync/knowledge.js +0 -155
- package/dist/sync/schema.d.ts +0 -1
- package/dist/sync/schema.js +0 -13
- package/dist/sync/session.d.ts +0 -24
- package/dist/sync/session.js +0 -70
- package/dist/sync/types.d.ts +0 -32
- package/dist/sync/types.js +0 -2
- package/dist/sync/wiki-git.d.ts +0 -17
- package/dist/sync/wiki-git.js +0 -80
- package/dist/task/queue.d.ts +0 -36
- package/dist/task/queue.js +0 -97
- package/dist/tools/browser/agent.d.ts +0 -12
- package/dist/tools/browser/agent.js +0 -119
- package/dist/tools/browser/legacy.d.ts +0 -5
- package/dist/tools/browser/legacy.js +0 -66
- package/dist/tools/browser/utils.d.ts +0 -5
- package/dist/tools/browser/utils.js +0 -27
- package/dist/tools/browser/vision.d.ts +0 -2
- package/dist/tools/browser/vision.js +0 -154
- package/dist/tools/browser.d.ts +0 -7
- package/dist/tools/browser.js +0 -100
- package/dist/tools/defs.d.ts +0 -2575
- package/dist/tools/defs.js +0 -129
- package/dist/tools/deploy.d.ts +0 -17
- package/dist/tools/deploy.js +0 -94
- package/dist/tools/diff-util.d.ts +0 -8
- package/dist/tools/diff-util.js +0 -100
- package/dist/tools/file.d.ts +0 -11
- package/dist/tools/file.js +0 -297
- package/dist/tools/git.d.ts +0 -11
- package/dist/tools/git.js +0 -139
- package/dist/tools/index.d.ts +0 -4
- package/dist/tools/index.js +0 -172
- package/dist/tools/memory-graph.d.ts +0 -21
- package/dist/tools/memory-graph.js +0 -72
- package/dist/tools/memory.d.ts +0 -5
- package/dist/tools/memory.js +0 -55
- package/dist/tools/patch.d.ts +0 -2
- package/dist/tools/patch.js +0 -103
- package/dist/tools/repo.d.ts +0 -2
- package/dist/tools/repo.js +0 -203
- package/dist/tools/sandbox.d.ts +0 -7
- package/dist/tools/sandbox.js +0 -101
- package/dist/tools/search.d.ts +0 -11
- package/dist/tools/search.js +0 -217
- package/dist/tools/session-search.d.ts +0 -2
- package/dist/tools/session-search.js +0 -31
- package/dist/tools/shell-guards.spec.d.ts +0 -1
- package/dist/tools/shell-guards.spec.js +0 -95
- package/dist/tools/shell.d.ts +0 -3
- package/dist/tools/shell.js +0 -241
- package/dist/tools/symbol-graph.d.ts +0 -2
- package/dist/tools/symbol-graph.js +0 -166
- package/dist/tui/App.d.ts +0 -5
- package/dist/tui/App.js +0 -670
- package/dist/tui/TaskQueue.d.ts +0 -68
- package/dist/tui/TaskQueue.js +0 -178
- package/dist/tui/TaskQueueClass.d.ts +0 -18
- package/dist/tui/TaskQueueClass.js +0 -83
- package/dist/tui/TaskQueueTypes.d.ts +0 -20
- package/dist/tui/TaskQueueTypes.js +0 -2
- package/dist/tui/colors.d.ts +0 -6
- package/dist/tui/colors.js +0 -48
- package/dist/tui/commands.d.ts +0 -14
- package/dist/tui/commands.js +0 -109
- package/dist/tui/components/ActivitySummary.d.ts +0 -8
- package/dist/tui/components/ActivitySummary.js +0 -59
- package/dist/tui/components/CodeEditBox.d.ts +0 -42
- package/dist/tui/components/CodeEditBox.js +0 -187
- package/dist/tui/components/CompletedMsg.d.ts +0 -4
- package/dist/tui/components/CompletedMsg.js +0 -40
- package/dist/tui/components/CompletedSystemMsg.d.ts +0 -3
- package/dist/tui/components/CompletedSystemMsg.js +0 -16
- package/dist/tui/components/CompletedToolGroup.d.ts +0 -9
- package/dist/tui/components/CompletedToolGroup.js +0 -47
- package/dist/tui/components/DiffLineItem.d.ts +0 -1
- package/dist/tui/components/DiffLineItem.js +0 -14
- package/dist/tui/components/DiffView.d.ts +0 -2
- package/dist/tui/components/DiffView.js +0 -34
- package/dist/tui/components/ErrorMsg.d.ts +0 -3
- package/dist/tui/components/ErrorMsg.js +0 -24
- package/dist/tui/components/FileComplete.d.ts +0 -8
- package/dist/tui/components/FileComplete.js +0 -18
- package/dist/tui/components/FleetPanel.d.ts +0 -1
- package/dist/tui/components/FleetPanel.js +0 -80
- package/dist/tui/components/HelpOverlay.d.ts +0 -5
- package/dist/tui/components/HelpOverlay.js +0 -88
- package/dist/tui/components/HistorySearch.d.ts +0 -7
- package/dist/tui/components/HistorySearch.js +0 -60
- package/dist/tui/components/InputBox.d.ts +0 -17
- package/dist/tui/components/InputBox.js +0 -57
- package/dist/tui/components/InputHooks.d.ts +0 -12
- package/dist/tui/components/InputHooks.js +0 -214
- package/dist/tui/components/JitterFreeRenderer.d.ts +0 -51
- package/dist/tui/components/JitterFreeRenderer.js +0 -289
- package/dist/tui/components/KeysPicker.d.ts +0 -1
- package/dist/tui/components/KeysPicker.js +0 -54
- package/dist/tui/components/LiveThinkingNode.d.ts +0 -1
- package/dist/tui/components/LiveThinkingNode.js +0 -8
- package/dist/tui/components/LiveView.d.ts +0 -1
- package/dist/tui/components/LiveView.js +0 -34
- package/dist/tui/components/LocalModelRow.d.ts +0 -1
- package/dist/tui/components/LocalModelRow.js +0 -9
- package/dist/tui/components/ModelPicker.d.ts +0 -1
- package/dist/tui/components/ModelPicker.js +0 -41
- package/dist/tui/components/ModelRow.d.ts +0 -1
- package/dist/tui/components/ModelRow.js +0 -8
- package/dist/tui/components/ScrollLogic.d.ts +0 -11
- package/dist/tui/components/ScrollLogic.js +0 -38
- package/dist/tui/components/ScrollView.d.ts +0 -7
- package/dist/tui/components/ScrollView.js +0 -45
- package/dist/tui/components/SessionPicker.d.ts +0 -14
- package/dist/tui/components/SessionPicker.js +0 -37
- package/dist/tui/components/SlashHint.d.ts +0 -3
- package/dist/tui/components/SlashHint.js +0 -16
- package/dist/tui/components/SprintHelpers.d.ts +0 -3
- package/dist/tui/components/SprintHelpers.js +0 -15
- package/dist/tui/components/SprintStatus.d.ts +0 -2
- package/dist/tui/components/SprintStatus.js +0 -31
- package/dist/tui/components/SprintTaskRow.d.ts +0 -1
- package/dist/tui/components/SprintTaskRow.js +0 -8
- package/dist/tui/components/StatusBar.d.ts +0 -16
- package/dist/tui/components/StatusBar.js +0 -29
- package/dist/tui/components/__demos__/CodeEditDemo.d.ts +0 -8
- package/dist/tui/components/__demos__/CodeEditDemo.js +0 -85
- package/dist/tui/components/code-edit/CodeEditBox.d.ts +0 -7
- package/dist/tui/components/code-edit/CodeEditBox.js +0 -16
- package/dist/tui/components/code-edit/components/EditBadge.d.ts +0 -10
- package/dist/tui/components/code-edit/components/EditBadge.js +0 -14
- package/dist/tui/components/code-edit/components/EditItem.d.ts +0 -7
- package/dist/tui/components/code-edit/components/EditItem.js +0 -20
- package/dist/tui/components/code-edit/components/SyntaxHighlighter.d.ts +0 -11
- package/dist/tui/components/code-edit/components/SyntaxHighlighter.js +0 -43
- package/dist/tui/components/code-edit/index.d.ts +0 -17
- package/dist/tui/components/code-edit/index.js +0 -29
- package/dist/tui/components/code-edit/patterns/index.d.ts +0 -6
- package/dist/tui/components/code-edit/patterns/index.js +0 -38
- package/dist/tui/components/code-edit/patterns/javascript.d.ts +0 -5
- package/dist/tui/components/code-edit/patterns/javascript.js +0 -17
- package/dist/tui/components/code-edit/patterns/python.d.ts +0 -5
- package/dist/tui/components/code-edit/patterns/python.js +0 -14
- package/dist/tui/components/code-edit/patterns/typescript.d.ts +0 -5
- package/dist/tui/components/code-edit/patterns/typescript.js +0 -20
- package/dist/tui/components/code-edit/types.d.ts +0 -32
- package/dist/tui/components/code-edit/types.js +0 -5
- package/dist/tui/components/code-edit/utils.d.ts +0 -8
- package/dist/tui/components/code-edit/utils.js +0 -35
- package/dist/tui/components/jitter-free/FrameController.d.ts +0 -13
- package/dist/tui/components/jitter-free/FrameController.js +0 -44
- package/dist/tui/components/jitter-free/JitterFreeRenderer.d.ts +0 -7
- package/dist/tui/components/jitter-free/JitterFreeRenderer.js +0 -22
- package/dist/tui/components/jitter-free/SmoothSpinner.d.ts +0 -7
- package/dist/tui/components/jitter-free/SmoothSpinner.js +0 -23
- package/dist/tui/components/jitter-free/StableCursor.d.ts +0 -7
- package/dist/tui/components/jitter-free/StableCursor.js +0 -15
- package/dist/tui/components/jitter-free/StableScroll.d.ts +0 -7
- package/dist/tui/components/jitter-free/StableScroll.js +0 -27
- package/dist/tui/components/jitter-free/config.d.ts +0 -7
- package/dist/tui/components/jitter-free/config.js +0 -8
- package/dist/tui/components/jitter-free/hooks/index.d.ts +0 -6
- package/dist/tui/components/jitter-free/hooks/index.js +0 -7
- package/dist/tui/components/jitter-free/hooks/useDebounceRender.d.ts +0 -9
- package/dist/tui/components/jitter-free/hooks/useDebounceRender.js +0 -33
- package/dist/tui/components/jitter-free/hooks/useDoubleBuffer.d.ts +0 -10
- package/dist/tui/components/jitter-free/hooks/useDoubleBuffer.js +0 -24
- package/dist/tui/components/jitter-free/hooks/useScrollBuffer.d.ts +0 -9
- package/dist/tui/components/jitter-free/hooks/useScrollBuffer.js +0 -25
- package/dist/tui/components/jitter-free/index.d.ts +0 -12
- package/dist/tui/components/jitter-free/index.js +0 -17
- package/dist/tui/components/jitter-free/types.d.ts +0 -26
- package/dist/tui/components/jitter-free/types.js +0 -5
- package/dist/tui/components/jitter-free/utils.d.ts +0 -15
- package/dist/tui/components/jitter-free/utils.js +0 -46
- package/dist/tui/components/stream/StreamContainer.d.ts +0 -6
- package/dist/tui/components/stream/StreamContainer.js +0 -75
- package/dist/tui/components/stream/ThinkingStream.d.ts +0 -13
- package/dist/tui/components/stream/ThinkingStream.js +0 -21
- package/dist/tui/components/stream/ToolCallArgs.d.ts +0 -3
- package/dist/tui/components/stream/ToolCallArgs.js +0 -7
- package/dist/tui/components/stream/ToolCallBox.d.ts +0 -13
- package/dist/tui/components/stream/ToolCallBox.js +0 -13
- package/dist/tui/components/stream/ToolItem.d.ts +0 -1
- package/dist/tui/components/stream/ToolItem.js +0 -59
- package/dist/tui/components/stream/index.d.ts +0 -9
- package/dist/tui/components/stream/index.js +0 -8
- package/dist/tui/components/stream/types.d.ts +0 -20
- package/dist/tui/components/stream/types.js +0 -2
- package/dist/tui/components/useKeyInput.d.ts +0 -6
- package/dist/tui/components/useKeyInput.js +0 -28
- package/dist/tui/constants.d.ts +0 -7
- package/dist/tui/constants.js +0 -7
- package/dist/tui/helpers/grapheme.d.ts +0 -27
- package/dist/tui/helpers/grapheme.js +0 -116
- package/dist/tui/helpers.d.ts +0 -7
- package/dist/tui/helpers.js +0 -43
- package/dist/tui/index.d.ts +0 -5
- package/dist/tui/index.js +0 -70
- package/dist/tui/input/index.d.ts +0 -5
- package/dist/tui/input/index.js +0 -2
- package/dist/tui/keybindings.d.ts +0 -10
- package/dist/tui/keybindings.js +0 -94
- package/dist/tui/logo.d.ts +0 -1
- package/dist/tui/logo.js +0 -57
- package/dist/tui/markdown.d.ts +0 -6
- package/dist/tui/markdown.js +0 -27
- package/dist/tui/models.d.ts +0 -142
- package/dist/tui/models.js +0 -47
- package/dist/tui/polyfill.d.ts +0 -3
- package/dist/tui/polyfill.js +0 -20
- package/dist/tui/startup-cta.d.ts +0 -18
- package/dist/tui/startup-cta.js +0 -123
- package/dist/tui/syntax-languages.d.ts +0 -4
- package/dist/tui/syntax-languages.js +0 -42
- package/dist/tui/syntax-tokenizer.d.ts +0 -7
- package/dist/tui/syntax-tokenizer.js +0 -137
- package/dist/tui/syntax.d.ts +0 -2
- package/dist/tui/syntax.js +0 -27
- package/dist/tui/system.d.ts +0 -5
- package/dist/tui/system.js +0 -29
- package/dist/tui/themes.d.ts +0 -19
- package/dist/tui/themes.js +0 -75
- package/dist/tui/tui-types.d.ts +0 -28
- package/dist/tui/tui-types.js +0 -2
- package/dist/tui/useAppProcessor.d.ts +0 -5
- package/dist/tui/useAppProcessor.js +0 -63
- package/dist/tui/useAppSession.d.ts +0 -26
- package/dist/tui/useAppSession.js +0 -57
- package/dist/tui/useAppTaskQueue.d.ts +0 -13
- package/dist/tui/useAppTaskQueue.js +0 -26
- package/dist/tui/useStreamThrottle.d.ts +0 -11
- package/dist/tui/useStreamThrottle.js +0 -39
- package/dist/types.d.ts +0 -182
- package/dist/types.js +0 -13
- package/dist/utils/auth.d.ts +0 -5
- package/dist/utils/auth.js +0 -46
- package/dist/utils/config.d.ts +0 -9
- package/dist/utils/config.js +0 -100
- package/dist/utils/context.d.ts +0 -4
- package/dist/utils/context.js +0 -142
- package/dist/utils/credentials.d.ts +0 -23
- package/dist/utils/credentials.js +0 -69
- package/dist/utils/execution-controller.d.ts +0 -45
- package/dist/utils/execution-controller.js +0 -228
- package/dist/utils/experimental.d.ts +0 -16
- package/dist/utils/experimental.js +0 -23
- package/dist/utils/features.d.ts +0 -18
- package/dist/utils/features.js +0 -38
- package/dist/utils/health-monitor.d.ts +0 -49
- package/dist/utils/health-monitor.js +0 -159
- package/dist/utils/id.d.ts +0 -19
- package/dist/utils/id.js +0 -42
- package/dist/utils/index.d.ts +0 -10
- package/dist/utils/index.js +0 -13
- package/dist/utils/keys.d.ts +0 -12
- package/dist/utils/keys.js +0 -50
- package/dist/utils/logger.d.ts +0 -12
- package/dist/utils/logger.js +0 -89
- package/dist/utils/metrics.d.ts +0 -12
- package/dist/utils/metrics.js +0 -36
- package/dist/utils/paste-handler.d.ts +0 -26
- package/dist/utils/paste-handler.js +0 -140
- package/dist/utils/profile.d.ts +0 -16
- package/dist/utils/profile.js +0 -68
- package/dist/utils/project-tracker.d.ts +0 -8
- package/dist/utils/project-tracker.js +0 -66
- package/dist/utils/safe-exec.d.ts +0 -20
- package/dist/utils/safe-exec.js +0 -32
- package/dist/utils/security-boundary.d.ts +0 -53
- package/dist/utils/security-boundary.js +0 -145
- package/dist/utils/session-cache.d.ts +0 -29
- package/dist/utils/session-cache.js +0 -112
- package/dist/utils/soul.d.ts +0 -4
- package/dist/utils/soul.js +0 -104
- package/dist/utils/sqlite-future.d.ts +0 -35
- package/dist/utils/sqlite-future.js +0 -66
- package/dist/utils/sqlite.d.ts +0 -35
- package/dist/utils/sqlite.js +0 -65
- package/dist/utils/startup-profiler.d.ts +0 -26
- package/dist/utils/startup-profiler.js +0 -61
- package/dist/utils/state.d.ts +0 -9
- package/dist/utils/state.js +0 -29
- package/dist/utils/sum.d.ts +0 -6
- package/dist/utils/sum.js +0 -11
- package/dist/utils/token-counter.d.ts +0 -18
- package/dist/utils/token-counter.js +0 -84
- package/dist/utils/unified-memory.d.ts +0 -80
- package/dist/utils/unified-memory.js +0 -171
- package/dist/utils/update-verify.d.ts +0 -7
- package/dist/utils/update-verify.js +0 -64
- package/dist/voice/browser-extension.d.ts +0 -37
- package/dist/voice/browser-extension.js +0 -97
- package/dist/voice/commands.d.ts +0 -5
- package/dist/voice/commands.js +0 -65
- package/dist/voice/desktop.d.ts +0 -42
- package/dist/voice/desktop.js +0 -254
- package/dist/voice/index.d.ts +0 -16
- package/dist/voice/index.js +0 -123
- package/dist/voice/mobile-bridge.d.ts +0 -12
- package/dist/voice/mobile-bridge.js +0 -139
- package/dist/voice/personal-plex.d.ts +0 -61
- package/dist/voice/personal-plex.js +0 -280
- package/dist/voice/plex.d.ts +0 -19
- package/dist/voice/plex.js +0 -55
- package/dist/voice/recorder.d.ts +0 -10
- package/dist/voice/recorder.js +0 -43
- package/dist/voice/shortcuts.d.ts +0 -16
- package/dist/voice/shortcuts.js +0 -31
- package/dist/voice/transcribe.d.ts +0 -3
- package/dist/voice/transcribe.js +0 -36
- package/dist/voice/tts.d.ts +0 -35
- package/dist/voice/tts.js +0 -190
- package/dist/voice/types.d.ts +0 -25
- package/dist/voice/types.js +0 -2
- package/dist/workspace/store.d.ts +0 -48
- package/dist/workspace/store.js +0 -106
- package/docs/ARCHITECTURE.md +0 -163
- package/docs/ROADMAP.md +0 -52
- package/docs/agents/arniko-plugin-spec.md +0 -123
- package/docs/agents/files-and-search.md +0 -87
- package/docs/agents/skill-security.md +0 -127
- package/docs/architecture/001-dependency-pinning.md +0 -37
- package/docs/architecture/002-mesh-security.md +0 -36
- package/docs/architecture/003-file-size-limits.md +0 -37
- package/docs/architecture/004-trust-levels.md +0 -40
- package/docs/audits/HY3-AUDIT-2026-04-25.md +0 -47
- package/docs/memory/architecture-efficiency.md +0 -114
- package/docs/memory/km-architecture.md +0 -116
- package/extensions/vscode/README.md +0 -67
- package/extensions/vscode/package.json +0 -105
- package/promo/assets/audio/dirgha-ambient-150s.m4a +0 -0
- package/promo/hyperframes.json +0 -9
- package/promo/index.html +0 -363
- package/promo/meta.json +0 -5
- package/scripts/gen-skill-md.mjs +0 -97
- package/scripts/preview-logos.mjs +0 -113
- package/scripts/qa-app/aliases_test.mjs +0 -70
- package/scripts/qa-app/audit_test.mjs +0 -71
- package/scripts/qa-app/browser_test.mjs +0 -60
- package/scripts/qa-app/cancel_offline_test.mjs +0 -151
- package/scripts/qa-app/cancel_test.mjs +0 -112
- package/scripts/qa-app/checkpoint_test.mjs +0 -87
- package/scripts/qa-app/compaction_test.mjs +0 -112
- package/scripts/qa-app/cost_test.mjs +0 -72
- package/scripts/qa-app/error_classifier_test.mjs +0 -81
- package/scripts/qa-app/extensions_test.mjs +0 -148
- package/scripts/qa-app/git_state_test.mjs +0 -89
- package/scripts/qa-app/hooks_test.mjs +0 -105
- package/scripts/qa-app/ink_smoke.py +0 -151
- package/scripts/qa-app/ink_unit_test.mjs +0 -176
- package/scripts/qa-app/kb_test.mjs +0 -85
- package/scripts/qa-app/kernel_hooks_test.mjs +0 -178
- package/scripts/qa-app/keypool_test.mjs +0 -105
- package/scripts/qa-app/keys_test.mjs +0 -73
- package/scripts/qa-app/ledger_search_test.mjs +0 -74
- package/scripts/qa-app/ledger_test.mjs +0 -73
- package/scripts/qa-app/login_byok_test.mjs +0 -84
- package/scripts/qa-app/mcp_oauth_test.mjs +0 -109
- package/scripts/qa-app/mcp_test.mjs +0 -129
- package/scripts/qa-app/mode_enforcement_test.mjs +0 -88
- package/scripts/qa-app/models_refresh_test.mjs +0 -155
- package/scripts/qa-app/nim_stream_test.mjs +0 -132
- package/scripts/qa-app/output/admin-secrets.json +0 -17
- package/scripts/qa-app/output/admin-secrets.png +0 -0
- package/scripts/qa-app/output/agents.json +0 -17
- package/scripts/qa-app/output/agents.png +0 -0
- package/scripts/qa-app/output/build.json +0 -17
- package/scripts/qa-app/output/build.png +0 -0
- package/scripts/qa-app/output/chat.json +0 -17
- package/scripts/qa-app/output/chat.png +0 -0
- package/scripts/qa-app/output/deploy.json +0 -17
- package/scripts/qa-app/output/deploy.png +0 -0
- package/scripts/qa-app/output/home.json +0 -20
- package/scripts/qa-app/output/home.png +0 -0
- package/scripts/qa-app/output/media.json +0 -17
- package/scripts/qa-app/output/media.png +0 -0
- package/scripts/qa-app/output/memory.json +0 -17
- package/scripts/qa-app/output/memory.png +0 -0
- package/scripts/qa-app/output/models.json +0 -17
- package/scripts/qa-app/output/models.png +0 -0
- package/scripts/qa-app/output/report.json +0 -240
- package/scripts/qa-app/output/report.md +0 -307
- package/scripts/qa-app/output/research.json +0 -17
- package/scripts/qa-app/output/research.png +0 -0
- package/scripts/qa-app/output/security.json +0 -17
- package/scripts/qa-app/output/security.png +0 -0
- package/scripts/qa-app/output/settings.json +0 -17
- package/scripts/qa-app/output/settings.png +0 -0
- package/scripts/qa-app/output/skills.json +0 -17
- package/scripts/qa-app/output/skills.png +0 -0
- package/scripts/qa-app/output/store.json +0 -17
- package/scripts/qa-app/output/store.png +0 -0
- package/scripts/qa-app/primer_test.mjs +0 -71
- package/scripts/qa-app/provider_matrix.mjs +0 -176
- package/scripts/qa-app/qa.py +0 -271
- package/scripts/qa-app/rate_limit_test.mjs +0 -127
- package/scripts/qa-app/registry_test.mjs +0 -57
- package/scripts/qa-app/rescore.py +0 -87
- package/scripts/qa-app/routes.json +0 -20
- package/scripts/qa-app/run-all.mjs +0 -158
- package/scripts/qa-app/session_test.mjs +0 -81
- package/scripts/qa-app/skill_scanner_test.mjs +0 -156
- package/scripts/qa-app/skills_install_test.mjs +0 -100
- package/scripts/qa-app/skills_test.mjs +0 -98
- package/scripts/qa-app/slash_audit.mjs +0 -97
- package/scripts/qa-app/soul_test.mjs +0 -79
- package/scripts/qa-app/task_tool_test.mjs +0 -148
- package/scripts/qa-app/themes_test.mjs +0 -56
- package/scripts/qa-app/tmux_debug.sh +0 -37
- package/scripts/qa-app/tmux_minimal.sh +0 -66
- package/scripts/qa-app/tmux_smoke.sh +0 -119
- package/scripts/qa-app/tokrate_test.mjs +0 -108
- package/scripts/qa-app/tool_registry_test.mjs +0 -118
- package/scripts/qa-app/tools_smoke.mjs +0 -90
- package/scripts/qa-app/transport_test.mjs +0 -88
- package/scripts/qa-app/undo_test.mjs +0 -136
- package/scripts/qa-app/update_test.mjs +0 -94
- package/scripts/test-browser-integration.sh +0 -162
- package/scripts/verify-deps.sh +0 -19
- package/src_v2/README.md +0 -43
- package/src_v2/acp/index.ts +0 -1
- package/src_v2/acp/server.ts +0 -162
- package/src_v2/audit/writer.ts +0 -43
- package/src_v2/auth/keypool.ts +0 -216
- package/src_v2/auth/keystore.ts +0 -43
- package/src_v2/auth/providers.ts +0 -83
- package/src_v2/cli/auth-cmd.ts +0 -78
- package/src_v2/cli/config.ts +0 -130
- package/src_v2/cli/flags.ts +0 -75
- package/src_v2/cli/flows/full-cycle.ts +0 -72
- package/src_v2/cli/flows/index.ts +0 -2
- package/src_v2/cli/flows/tarball.ts +0 -55
- package/src_v2/cli/index.ts +0 -4
- package/src_v2/cli/interactive.ts +0 -307
- package/src_v2/cli/main.ts +0 -486
- package/src_v2/cli/models-cmd.ts +0 -62
- package/src_v2/cli/setup.ts +0 -143
- package/src_v2/cli/slash/account.ts +0 -62
- package/src_v2/cli/slash/clear.ts +0 -17
- package/src_v2/cli/slash/compact.ts +0 -15
- package/src_v2/cli/slash/config.ts +0 -53
- package/src_v2/cli/slash/exit.ts +0 -18
- package/src_v2/cli/slash/fleet.ts +0 -52
- package/src_v2/cli/slash/help.ts +0 -35
- package/src_v2/cli/slash/history.ts +0 -41
- package/src_v2/cli/slash/index.ts +0 -79
- package/src_v2/cli/slash/init.ts +0 -62
- package/src_v2/cli/slash/keys.ts +0 -102
- package/src_v2/cli/slash/login.ts +0 -55
- package/src_v2/cli/slash/memory.ts +0 -102
- package/src_v2/cli/slash/mode.ts +0 -32
- package/src_v2/cli/slash/models.ts +0 -79
- package/src_v2/cli/slash/resume.ts +0 -26
- package/src_v2/cli/slash/session.ts +0 -73
- package/src_v2/cli/slash/setup.ts +0 -48
- package/src_v2/cli/slash/status.ts +0 -38
- package/src_v2/cli/slash/theme.ts +0 -54
- package/src_v2/cli/slash/types.ts +0 -16
- package/src_v2/cli/slash/upgrade.ts +0 -73
- package/src_v2/cli/slash.ts +0 -128
- package/src_v2/cli/subcommands/ask.ts +0 -83
- package/src_v2/cli/subcommands/audit-codebase.ts +0 -161
- package/src_v2/cli/subcommands/audit.ts +0 -152
- package/src_v2/cli/subcommands/chat.ts +0 -72
- package/src_v2/cli/subcommands/compact.ts +0 -110
- package/src_v2/cli/subcommands/cost.ts +0 -157
- package/src_v2/cli/subcommands/doctor.ts +0 -121
- package/src_v2/cli/subcommands/export-session.ts +0 -63
- package/src_v2/cli/subcommands/import-session.ts +0 -87
- package/src_v2/cli/subcommands/index.ts +0 -99
- package/src_v2/cli/subcommands/init.ts +0 -78
- package/src_v2/cli/subcommands/kb.ts +0 -151
- package/src_v2/cli/subcommands/keys.ts +0 -197
- package/src_v2/cli/subcommands/ledger.ts +0 -118
- package/src_v2/cli/subcommands/login.ts +0 -149
- package/src_v2/cli/subcommands/logout.ts +0 -24
- package/src_v2/cli/subcommands/memory.ts +0 -124
- package/src_v2/cli/subcommands/models.ts +0 -210
- package/src_v2/cli/subcommands/resume.ts +0 -142
- package/src_v2/cli/subcommands/setup.ts +0 -111
- package/src_v2/cli/subcommands/skills.ts +0 -190
- package/src_v2/cli/subcommands/stats.ts +0 -151
- package/src_v2/cli/subcommands/status.ts +0 -101
- package/src_v2/cli/subcommands/undo.ts +0 -139
- package/src_v2/cli/subcommands/update.ts +0 -219
- package/src_v2/cli/subcommands/verify.ts +0 -147
- package/src_v2/cli/submit-paper.ts +0 -94
- package/src_v2/context/_fts.ts +0 -251
- package/src_v2/context/branch.ts +0 -86
- package/src_v2/context/compaction.ts +0 -199
- package/src_v2/context/default-soul.md +0 -36
- package/src_v2/context/git-state.ts +0 -78
- package/src_v2/context/index.ts +0 -5
- package/src_v2/context/knowledge.ts +0 -181
- package/src_v2/context/ledger.ts +0 -197
- package/src_v2/context/memory.ts +0 -337
- package/src_v2/context/mode-enforcement.ts +0 -87
- package/src_v2/context/mode.ts +0 -97
- package/src_v2/context/primer.ts +0 -88
- package/src_v2/context/session.ts +0 -115
- package/src_v2/context/soul.ts +0 -72
- package/src_v2/daemon/index.ts +0 -2
- package/src_v2/daemon/protocol.ts +0 -62
- package/src_v2/daemon/server.ts +0 -228
- package/src_v2/eval/index.ts +0 -5
- package/src_v2/eval/regression.ts +0 -116
- package/src_v2/eval/reporter.ts +0 -35
- package/src_v2/eval/swe-bench.ts +0 -32
- package/src_v2/eval/terminal-bench.ts +0 -27
- package/src_v2/eval/types.ts +0 -31
- package/src_v2/extensions/api.ts +0 -144
- package/src_v2/fleet/apply-back.ts +0 -210
- package/src_v2/fleet/cli-command.ts +0 -423
- package/src_v2/fleet/index.ts +0 -37
- package/src_v2/fleet/runner.ts +0 -412
- package/src_v2/fleet/tripleshot.ts +0 -282
- package/src_v2/fleet/types.ts +0 -210
- package/src_v2/fleet/worktree.ts +0 -189
- package/src_v2/hooks/config-bridge.ts +0 -116
- package/src_v2/hooks/index.ts +0 -1
- package/src_v2/hooks/registry.ts +0 -57
- package/src_v2/index.ts +0 -51
- package/src_v2/integrations/arniko-client.ts +0 -108
- package/src_v2/integrations/auth.ts +0 -90
- package/src_v2/integrations/billing.ts +0 -184
- package/src_v2/integrations/bucky-client.ts +0 -93
- package/src_v2/integrations/deploy-client.ts +0 -113
- package/src_v2/integrations/device-auth.ts +0 -224
- package/src_v2/integrations/entitlements.ts +0 -80
- package/src_v2/integrations/http.ts +0 -111
- package/src_v2/integrations/index.ts +0 -17
- package/src_v2/intelligence/cost.ts +0 -80
- package/src_v2/intelligence/error-classifier.ts +0 -76
- package/src_v2/intelligence/index.ts +0 -5
- package/src_v2/intelligence/models-refresh.ts +0 -105
- package/src_v2/intelligence/prices.ts +0 -292
- package/src_v2/intelligence/smart-router.ts +0 -75
- package/src_v2/intelligence/telemetry.ts +0 -50
- package/src_v2/kernel/agent-loop.ts +0 -207
- package/src_v2/kernel/event-stream.ts +0 -122
- package/src_v2/kernel/index.ts +0 -4
- package/src_v2/kernel/message.ts +0 -130
- package/src_v2/kernel/types.ts +0 -175
- package/src_v2/mcp/client.ts +0 -132
- package/src_v2/mcp/index.ts +0 -3
- package/src_v2/mcp/loader.ts +0 -76
- package/src_v2/mcp/tool-bridge.ts +0 -42
- package/src_v2/mcp/transport.ts +0 -217
- package/src_v2/parity/index.ts +0 -3
- package/src_v2/parity/mock-openai-compat.ts +0 -49
- package/src_v2/parity/runner.ts +0 -95
- package/src_v2/parity/scenarios.ts +0 -85
- package/src_v2/providers/anthropic.ts +0 -196
- package/src_v2/providers/define-openai-compat.ts +0 -107
- package/src_v2/providers/dispatch.ts +0 -65
- package/src_v2/providers/fireworks.ts +0 -51
- package/src_v2/providers/gemini.ts +0 -184
- package/src_v2/providers/http.ts +0 -201
- package/src_v2/providers/iface.ts +0 -31
- package/src_v2/providers/index.ts +0 -63
- package/src_v2/providers/nvidia.ts +0 -170
- package/src_v2/providers/ollama.ts +0 -45
- package/src_v2/providers/openai-compat.ts +0 -313
- package/src_v2/providers/openai.ts +0 -124
- package/src_v2/providers/openrouter.ts +0 -83
- package/src_v2/providers/presets.ts +0 -90
- package/src_v2/providers/rate-limiter.ts +0 -103
- package/src_v2/safety/approval-bus.ts +0 -65
- package/src_v2/safety/audit-log.ts +0 -100
- package/src_v2/safety/index.ts +0 -4
- package/src_v2/safety/policy.ts +0 -150
- package/src_v2/safety/sandbox/bwrap.ts +0 -51
- package/src_v2/safety/sandbox/iface.ts +0 -33
- package/src_v2/safety/sandbox/index.ts +0 -7
- package/src_v2/safety/sandbox/landlock.ts +0 -29
- package/src_v2/safety/sandbox/noop.ts +0 -60
- package/src_v2/safety/sandbox/seatbelt.ts +0 -53
- package/src_v2/safety/sandbox/select.ts +0 -37
- package/src_v2/safety/sandbox/windows.ts +0 -26
- package/src_v2/security/skill-scanner.ts +0 -167
- package/src_v2/skills/index.ts +0 -3
- package/src_v2/skills/loader.ts +0 -150
- package/src_v2/skills/matcher.ts +0 -66
- package/src_v2/skills/runtime.ts +0 -47
- package/src_v2/subagents/delegator.ts +0 -116
- package/src_v2/subagents/index.ts +0 -2
- package/src_v2/subagents/pool.ts +0 -41
- package/src_v2/tools/browser.ts +0 -249
- package/src_v2/tools/checkpoint.ts +0 -278
- package/src_v2/tools/cron.ts +0 -191
- package/src_v2/tools/diff.ts +0 -109
- package/src_v2/tools/exec.ts +0 -62
- package/src_v2/tools/fs-edit.ts +0 -96
- package/src_v2/tools/fs-ls.ts +0 -64
- package/src_v2/tools/fs-read.ts +0 -70
- package/src_v2/tools/fs-write.ts +0 -57
- package/src_v2/tools/git.ts +0 -78
- package/src_v2/tools/index.ts +0 -56
- package/src_v2/tools/multimodal.ts +0 -492
- package/src_v2/tools/permission.ts +0 -56
- package/src_v2/tools/registry.ts +0 -97
- package/src_v2/tools/search-glob.ts +0 -97
- package/src_v2/tools/search-grep.ts +0 -116
- package/src_v2/tools/shell.ts +0 -97
- package/src_v2/tools/task.ts +0 -49
- package/src_v2/tui/approval.ts +0 -57
- package/src_v2/tui/index.ts +0 -4
- package/src_v2/tui/ink/App.tsx +0 -439
- package/src_v2/tui/ink/components/AtFileComplete.tsx +0 -183
- package/src_v2/tui/ink/components/HelpOverlay.tsx +0 -181
- package/src_v2/tui/ink/components/InputBox.tsx +0 -199
- package/src_v2/tui/ink/components/Logo.tsx +0 -77
- package/src_v2/tui/ink/components/ModelPicker.tsx +0 -148
- package/src_v2/tui/ink/components/PasteCollapse.tsx +0 -98
- package/src_v2/tui/ink/components/StatusBar.tsx +0 -98
- package/src_v2/tui/ink/components/StreamingText.tsx +0 -30
- package/src_v2/tui/ink/components/ThinkingBlock.tsx +0 -39
- package/src_v2/tui/ink/components/ToolBox.tsx +0 -95
- package/src_v2/tui/ink/components/vim-bindings.ts +0 -150
- package/src_v2/tui/ink/index.ts +0 -69
- package/src_v2/tui/ink/use-event-projection.ts +0 -161
- package/src_v2/tui/ink/use-overlays.ts +0 -69
- package/src_v2/tui/renderer.ts +0 -112
- package/src_v2/tui/status-bar.ts +0 -25
- package/src_v2/tui/theme-loader.ts +0 -68
- package/src_v2/tui/theme.ts +0 -81
- package/src_v2/utils/json-repair.ts +0 -47
- package/tsconfig.tsbuildinfo +0 -1
- package/tsconfig.v2.json +0 -27
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dirgha/code",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.3",
|
|
4
4
|
"description": "A CLI coding agent built on four pillars: BYOK across 17 providers, persistent memory, parallel agents, and scanned skills.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist_v2/index.js",
|
|
@@ -8,73 +8,55 @@
|
|
|
8
8
|
"bin": {
|
|
9
9
|
"dirgha": "./dist_v2/cli/main.js"
|
|
10
10
|
},
|
|
11
|
+
"files": [
|
|
12
|
+
"dist_v2/",
|
|
13
|
+
"README.md",
|
|
14
|
+
"LICENSE",
|
|
15
|
+
"CREDITS.md",
|
|
16
|
+
"CHANGELOG.md"
|
|
17
|
+
],
|
|
11
18
|
"scripts": {
|
|
12
|
-
"build": "tsc
|
|
13
|
-
"build:watch": "tsc
|
|
14
|
-
"
|
|
15
|
-
"build:v2:watch": "tsc -p tsconfig.v2.json --watch",
|
|
16
|
-
"clean": "rm -rf ./dist ./dist_v2",
|
|
17
|
-
"test": "vitest run",
|
|
18
|
-
"test:watch": "vitest",
|
|
19
|
-
"test:coverage": "vitest run --coverage",
|
|
20
|
-
"test:v2": "vitest run --dir src_v2",
|
|
19
|
+
"build": "tsc -p tsconfig.v2.json && cp src_v2/context/default-soul.md dist_v2/context/default-soul.md",
|
|
20
|
+
"build:watch": "tsc -p tsconfig.v2.json --watch",
|
|
21
|
+
"clean": "rm -rf ./dist_v2",
|
|
21
22
|
"test:cli": "node scripts/qa-app/run-all.mjs",
|
|
22
|
-
"test:cli:quick": "node scripts/qa-app/run-all.mjs --quick",
|
|
23
23
|
"test:cli:offline": "node scripts/qa-app/run-all.mjs --offline",
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"typecheck:v2": "tsc -p tsconfig.v2.json --noEmit",
|
|
27
|
-
"v2": "node dist_v2/cli/main.js",
|
|
28
|
-
"prepublishOnly": "npm run build"
|
|
24
|
+
"typecheck": "tsc -p tsconfig.v2.json --noEmit",
|
|
25
|
+
"v2": "node dist_v2/cli/main.js"
|
|
29
26
|
},
|
|
30
27
|
"dependencies": {
|
|
31
|
-
"@ai-sdk/google": "^0.0.48",
|
|
32
|
-
"@ai-sdk/openai": "^0.0.66",
|
|
33
|
-
"@anthropic-ai/sdk": "^0.24.0",
|
|
34
|
-
"@dirgha/pricing": "workspace:*",
|
|
35
|
-
"ai": "^3.0.0",
|
|
36
|
-
"better-sqlite3": "^11.3.0",
|
|
37
|
-
"chalk": "^5.3.0",
|
|
38
|
-
"cli-markdown": "^1.0.0",
|
|
39
|
-
"commander": "^12.0.0",
|
|
40
|
-
"dotenv": "^16.4.1",
|
|
41
|
-
"express": "^4.18.2",
|
|
42
|
-
"figlet": "^1.7.0",
|
|
43
28
|
"ink": "^5.0.0",
|
|
44
29
|
"ink-text-input": "^6.0.0",
|
|
45
|
-
"
|
|
46
|
-
"ora": "^7.0.1",
|
|
47
|
-
"pino": "^8.19.0",
|
|
48
|
-
"pino-pretty": "^10.3.1",
|
|
49
|
-
"playwright": "^1.47.0",
|
|
50
|
-
"react": "^18.3.0",
|
|
51
|
-
"readline": "^1.3.0",
|
|
52
|
-
"uuid": "^9.0.1",
|
|
53
|
-
"yaml": "^2.3.4",
|
|
54
|
-
"zod": "^3.22.4"
|
|
30
|
+
"react": "^18.3.0"
|
|
55
31
|
},
|
|
56
32
|
"devDependencies": {
|
|
57
|
-
"@types/express": "^4.17.21",
|
|
58
|
-
"@types/figlet": "^1.5.8",
|
|
59
33
|
"@types/node": "^20.11.5",
|
|
60
|
-
"@types/
|
|
61
|
-
"
|
|
62
|
-
"@typescript-eslint/parser": "^6.19.1",
|
|
63
|
-
"@vitest/coverage-v8": "^1.2.2",
|
|
64
|
-
"eslint": "^8.56.0",
|
|
65
|
-
"typescript": "^5.3.3",
|
|
66
|
-
"vitest": "^1.2.2"
|
|
34
|
+
"@types/react": "^18.3.0",
|
|
35
|
+
"typescript": "^5.3.3"
|
|
67
36
|
},
|
|
68
37
|
"engines": {
|
|
69
38
|
"node": ">=18.0.0"
|
|
70
39
|
},
|
|
71
40
|
"keywords": [
|
|
72
|
-
"ai",
|
|
73
41
|
"cli",
|
|
74
|
-
"agent",
|
|
42
|
+
"coding-agent",
|
|
75
43
|
"llm",
|
|
76
|
-
"
|
|
44
|
+
"byok",
|
|
45
|
+
"ai",
|
|
46
|
+
"agent",
|
|
47
|
+
"tool-calling",
|
|
48
|
+
"openrouter",
|
|
49
|
+
"anthropic",
|
|
50
|
+
"openai"
|
|
77
51
|
],
|
|
52
|
+
"homepage": "https://github.com/Dirgha-AI/dirgha-code",
|
|
53
|
+
"repository": {
|
|
54
|
+
"type": "git",
|
|
55
|
+
"url": "git+https://github.com/Dirgha-AI/dirgha-code.git"
|
|
56
|
+
},
|
|
57
|
+
"bugs": {
|
|
58
|
+
"url": "https://github.com/Dirgha-AI/dirgha-code/issues"
|
|
59
|
+
},
|
|
78
60
|
"author": "Dirgha AI Team",
|
|
79
|
-
"license": "
|
|
61
|
+
"license": "SEE LICENSE IN LICENSE"
|
|
80
62
|
}
|
package/.changeset/README.md
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# Changesets
|
|
2
|
-
|
|
3
|
-
Versioning + CHANGELOG entries for `@dirgha/code` are produced via [changesets](https://github.com/changesets/changesets).
|
|
4
|
-
|
|
5
|
-
## Quick reference
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
# Author a changeset (interactive)
|
|
9
|
-
npx changeset
|
|
10
|
-
|
|
11
|
-
# Apply pending changesets: bump versions + write CHANGELOG entries
|
|
12
|
-
npx changeset version
|
|
13
|
-
|
|
14
|
-
# Publish to npm (after review + commit)
|
|
15
|
-
npx changeset publish
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
## Convention
|
|
19
|
-
|
|
20
|
-
- Every PR that affects the published package adds a changeset under `.changeset/<random-name>.md`.
|
|
21
|
-
- The changeset frontmatter is `@dirgha/code: minor|patch|major` plus a one-line summary.
|
|
22
|
-
- Entries are flushed into `CHANGELOG.md` on the next `changeset version` run.
|
|
23
|
-
- Hand-written CHANGELOG edits stay above the auto-generated section.
|
package/.changeset/config.json
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://unpkg.com/@changesets/config@3.0.0/schema.json",
|
|
3
|
-
"changelog": "@changesets/cli/changelog",
|
|
4
|
-
"commit": false,
|
|
5
|
-
"fixed": [],
|
|
6
|
-
"linked": [],
|
|
7
|
-
"access": "public",
|
|
8
|
-
"baseBranch": "main",
|
|
9
|
-
"updateInternalDependencies": "patch",
|
|
10
|
-
"ignore": []
|
|
11
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
"@dirgha/code": minor
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
Soul, multi-key BYOK pool, dirgha update, dirgha models refresh, TS extensions API, dirgha undo, ledger ranked search, MCP OAuth bearer rotation, StatusBar tok/s, dirgha cost, ask mode, 34 model aliases, git_state injection, compaction telemetry, audit-codebase one-liner. Real bugs fixed: NIM delta.reasoning streaming, mid-session failover, BYOK env hydration, login flag passthrough, task tool wiring, ErrorClassifier wiring, skills install URL flag-injection rejection.
|
package/CLA.md
DELETED
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
# Dirgha AI Contributor License Agreement
|
|
2
|
-
|
|
3
|
-
Version 1.0 · Effective 2026-04-18
|
|
4
|
-
|
|
5
|
-
Thank you for your interest in contributing to Dirgha Code. This Contributor
|
|
6
|
-
License Agreement ("**CLA**") governs the terms under which you contribute
|
|
7
|
-
code, documentation, or other materials ("**Contributions**") to any project
|
|
8
|
-
owned or maintained by Dirgha LLC, a U.S. limited liability company
|
|
9
|
-
("**Dirgha**", "**we**", or "**us**").
|
|
10
|
-
|
|
11
|
-
You ("**You**" or the "**Contributor**") agree to the following terms for any
|
|
12
|
-
present or future Contribution submitted to a Dirgha project.
|
|
13
|
-
|
|
14
|
-
## 1. Definitions
|
|
15
|
-
|
|
16
|
-
"**Contribution**" means any original work of authorship — including any
|
|
17
|
-
modifications or additions to existing work — that You intentionally submit
|
|
18
|
-
to Dirgha for inclusion in, or documentation of, any Dirgha project. For
|
|
19
|
-
clarity, "submitted" includes opening a pull request, posting a patch on an
|
|
20
|
-
issue, or any other communication sent to Dirgha or its maintainers for the
|
|
21
|
-
purpose of including the work in a Dirgha project.
|
|
22
|
-
|
|
23
|
-
## 2. Copyright Assignment
|
|
24
|
-
|
|
25
|
-
You hereby assign to Dirgha, and Dirgha hereby accepts, all right, title, and
|
|
26
|
-
interest in and to the copyright in each Contribution worldwide. To the
|
|
27
|
-
maximum extent permitted by applicable law, this assignment includes all
|
|
28
|
-
rights of paternity, integrity, disclosure, and withdrawal and any other
|
|
29
|
-
rights that may be known as "moral rights."
|
|
30
|
-
|
|
31
|
-
If any such assignment is not permitted under applicable law, You grant
|
|
32
|
-
Dirgha a perpetual, worldwide, royalty-free, fully-paid-up, transferable,
|
|
33
|
-
sublicensable, irrevocable, exclusive license to use, reproduce, prepare
|
|
34
|
-
derivative works of, publicly display, publicly perform, sublicense, and
|
|
35
|
-
distribute each Contribution in any form, medium, and relicensing terms
|
|
36
|
-
(including proprietary relicensing), with no obligation to account to You.
|
|
37
|
-
|
|
38
|
-
## 3. Patent License
|
|
39
|
-
|
|
40
|
-
You grant to Dirgha and to recipients of software distributed by Dirgha a
|
|
41
|
-
perpetual, worldwide, non-exclusive, royalty-free, irrevocable (except as
|
|
42
|
-
stated in this section) patent license to make, have made, use, offer to
|
|
43
|
-
sell, sell, import, and otherwise transfer Your Contribution, where such
|
|
44
|
-
license applies only to those patent claims licensable by You that are
|
|
45
|
-
necessarily infringed by Your Contribution alone or by combination of Your
|
|
46
|
-
Contribution with the project to which it was submitted.
|
|
47
|
-
|
|
48
|
-
## 4. Representations
|
|
49
|
-
|
|
50
|
-
You represent that:
|
|
51
|
-
|
|
52
|
-
1. Each of Your Contributions is Your original creation, or You have
|
|
53
|
-
sufficient rights to grant the rights conveyed by this CLA;
|
|
54
|
-
|
|
55
|
-
2. Each of Your Contributions does not violate any third-party rights,
|
|
56
|
-
including intellectual-property, privacy, or publicity rights;
|
|
57
|
-
|
|
58
|
-
3. If Your employer has rights to intellectual property You create that
|
|
59
|
-
includes Your Contributions, You have received permission from that
|
|
60
|
-
employer to make the Contributions on behalf of that employer, or that
|
|
61
|
-
employer has waived such rights for the Contributions;
|
|
62
|
-
|
|
63
|
-
4. You will notify Dirgha of any facts or circumstances of which You become
|
|
64
|
-
aware that would make the above representations inaccurate.
|
|
65
|
-
|
|
66
|
-
## 5. No Obligation
|
|
67
|
-
|
|
68
|
-
You understand that the decision to include any Contribution in any Dirgha
|
|
69
|
-
project is entirely at Dirgha's discretion, and this CLA does not obligate
|
|
70
|
-
Dirgha to use Your Contributions.
|
|
71
|
-
|
|
72
|
-
## 6. Support and Warranty
|
|
73
|
-
|
|
74
|
-
You are not expected to provide support for Your Contributions, except to
|
|
75
|
-
the extent You desire. You provide Your Contributions on an "AS IS" basis,
|
|
76
|
-
without warranties or conditions of any kind, either express or implied.
|
|
77
|
-
|
|
78
|
-
## 7. Public Record
|
|
79
|
-
|
|
80
|
-
Information about Your Contributions may be maintained indefinitely and
|
|
81
|
-
disclosed publicly, including Your name and a record that You signed this
|
|
82
|
-
CLA.
|
|
83
|
-
|
|
84
|
-
## 8. Governing Law
|
|
85
|
-
|
|
86
|
-
This CLA is governed by the laws of the State of Delaware, United States,
|
|
87
|
-
without regard to its conflict-of-laws principles.
|
|
88
|
-
|
|
89
|
-
## 9. Signing the CLA
|
|
90
|
-
|
|
91
|
-
You sign this CLA by adding your name and GitHub username to
|
|
92
|
-
`CONTRIBUTORS.md` in the project root, or by including the following text in
|
|
93
|
-
the description of any pull request You open:
|
|
94
|
-
|
|
95
|
-
> I have read and agree to the Dirgha AI Contributor License Agreement at
|
|
96
|
-
> CLA.md, and I submit this Contribution under those terms.
|
|
97
|
-
|
|
98
|
-
By signing, You are making this CLA on behalf of yourself and, if submitting
|
|
99
|
-
on behalf of a company or other entity, on behalf of that entity with
|
|
100
|
-
authority to bind it.
|
|
101
|
-
|
|
102
|
-
---
|
|
103
|
-
|
|
104
|
-
Questions about this CLA? Email legal@dirgha.ai.
|
package/CODE_OF_CONDUCT.md
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
# Code of Conduct
|
|
2
|
-
|
|
3
|
-
## Our Pledge
|
|
4
|
-
|
|
5
|
-
We as members, contributors, and leaders pledge to make participation in the Dirgha Code project a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, or sexual identity and orientation.
|
|
6
|
-
|
|
7
|
-
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
|
|
8
|
-
|
|
9
|
-
## Standards
|
|
10
|
-
|
|
11
|
-
Examples of behavior that contributes to a positive environment:
|
|
12
|
-
|
|
13
|
-
- Using welcoming and inclusive language.
|
|
14
|
-
- Respecting differing viewpoints and experiences.
|
|
15
|
-
- Giving and gracefully accepting constructive feedback.
|
|
16
|
-
- Accepting responsibility and apologizing to those affected by our mistakes, then learning from the experience.
|
|
17
|
-
- Focusing on what is best for the community and the project.
|
|
18
|
-
|
|
19
|
-
Examples of unacceptable behavior:
|
|
20
|
-
|
|
21
|
-
- Harassment, insulting or derogatory comments, personal or political attacks.
|
|
22
|
-
- Public or private harassment.
|
|
23
|
-
- Publishing others' private information without explicit permission.
|
|
24
|
-
- Sustained disruption of discussions, issues, or pull requests.
|
|
25
|
-
- Other conduct which could reasonably be considered inappropriate in a professional setting.
|
|
26
|
-
|
|
27
|
-
## Scope
|
|
28
|
-
|
|
29
|
-
This Code of Conduct applies within all project spaces — the repository, issues, pull requests, discussions, community chat, and any public event representing the project. It also applies when an individual is officially representing the project in public spaces.
|
|
30
|
-
|
|
31
|
-
## Enforcement
|
|
32
|
-
|
|
33
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the maintainers at **`conduct@dirgha.ai`**. All complaints will be reviewed and investigated promptly and fairly.
|
|
34
|
-
|
|
35
|
-
Maintainers who do not follow or enforce this Code in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
|
|
36
|
-
|
|
37
|
-
## Enforcement Guidelines
|
|
38
|
-
|
|
39
|
-
Maintainers will follow these Community Impact Guidelines in determining consequences:
|
|
40
|
-
|
|
41
|
-
1. **Correction** — a private written warning with clarification around the violation.
|
|
42
|
-
2. **Warning** — a public warning with consequences for continued behavior.
|
|
43
|
-
3. **Temporary ban** — a temporary ban from any interaction or public communication with the community.
|
|
44
|
-
4. **Permanent ban** — a permanent ban for a pattern of violations, or a single egregious violation.
|
|
45
|
-
|
|
46
|
-
## Attribution
|
|
47
|
-
|
|
48
|
-
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.1, available at https://www.contributor-covenant.org/version/2/1/code_of_conduct.html.
|
|
49
|
-
|
|
50
|
-
[homepage]: https://www.contributor-covenant.org
|
package/CONTRIBUTING.md
DELETED
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
# Contributing to Dirgha Code
|
|
2
|
-
|
|
3
|
-
Thanks for wanting to help make Dirgha Code better. Here's what you need
|
|
4
|
-
to know before you open a PR.
|
|
5
|
-
|
|
6
|
-
## Before your first PR
|
|
7
|
-
|
|
8
|
-
1. **Read the [CLA](CLA.md).** Every contributor signs it. Contributions are
|
|
9
|
-
assigned to Dirgha LLC so we can keep the project coherent and
|
|
10
|
-
relicensable as the product grows. This is standard for a commercial
|
|
11
|
-
open-source project. If you're contributing for a company, make sure
|
|
12
|
-
you have authority to sign on its behalf.
|
|
13
|
-
|
|
14
|
-
2. **Sign the CLA.** Open your PR with this line in the description:
|
|
15
|
-
|
|
16
|
-
> I have read and agree to the Dirgha AI Contributor License Agreement
|
|
17
|
-
> at CLA.md, and I submit this Contribution under those terms.
|
|
18
|
-
|
|
19
|
-
That's it — no external forms, no DocuSign. We'll record your name in
|
|
20
|
-
`CONTRIBUTORS.md` on merge.
|
|
21
|
-
|
|
22
|
-
3. **Read the [LICENSE](LICENSE).** Dirgha Code is released under the
|
|
23
|
-
Functional Source License 1.1 (MIT Future License). Your contributions
|
|
24
|
-
inherit that license and will convert to MIT two years after the
|
|
25
|
-
release they ship in.
|
|
26
|
-
|
|
27
|
-
## How to contribute
|
|
28
|
-
|
|
29
|
-
### Bugs and feature requests
|
|
30
|
-
|
|
31
|
-
Open an issue. Include:
|
|
32
|
-
- What you expected
|
|
33
|
-
- What actually happened
|
|
34
|
-
- Reproduction steps, OS, Node version, Dirgha version (`dirgha --version`)
|
|
35
|
-
- Relevant output from `DIRGHA_DEBUG=1 dirgha ...` if it's a runtime bug
|
|
36
|
-
|
|
37
|
-
### Pull requests
|
|
38
|
-
|
|
39
|
-
- Branch from `main`
|
|
40
|
-
- Keep changes focused — one PR per concern
|
|
41
|
-
- Run `npm test` before pushing
|
|
42
|
-
- Run `npm run lint` (`tsc --noEmit`) — the build must type-check
|
|
43
|
-
- Include a short description of what the change does and why
|
|
44
|
-
- Reference the issue number if there is one (`Fixes #123`)
|
|
45
|
-
|
|
46
|
-
### Code style
|
|
47
|
-
|
|
48
|
-
- TypeScript strict mode
|
|
49
|
-
- No new dependencies without justification in the PR description
|
|
50
|
-
- No emoji in code unless explicitly requested
|
|
51
|
-
- Comments explain **why**, not **what** — well-named code documents itself
|
|
52
|
-
- Don't add error handling for scenarios that can't happen
|
|
53
|
-
- Default to fewer abstractions, not more
|
|
54
|
-
|
|
55
|
-
## Scope — what belongs here
|
|
56
|
-
|
|
57
|
-
**Belongs in `@dirgha/code`:**
|
|
58
|
-
- Terminal UI improvements
|
|
59
|
-
- LLM provider integrations (new providers, streaming, tool calling)
|
|
60
|
-
- Agent-mode headless command surface
|
|
61
|
-
- CLI-Hub plugin infrastructure
|
|
62
|
-
- Tools (read/write/edit/search/bash/etc.)
|
|
63
|
-
- Performance, reliability, stability
|
|
64
|
-
|
|
65
|
-
**Does not belong here:**
|
|
66
|
-
- Billing, quota enforcement, user management — those live in the Dirgha
|
|
67
|
-
Gateway (not open source)
|
|
68
|
-
- Web/mobile UI — separate repos
|
|
69
|
-
- Model weights — those are upstream at the provider
|
|
70
|
-
|
|
71
|
-
## Releases
|
|
72
|
-
|
|
73
|
-
Maintainers handle publishing. We follow semantic versioning loosely pre-1.0,
|
|
74
|
-
strictly thereafter.
|
|
75
|
-
|
|
76
|
-
## Questions
|
|
77
|
-
|
|
78
|
-
- Issues: https://github.com/dirghaai/dirgha-code/issues
|
|
79
|
-
- Email: team@dirgha.ai
|
|
80
|
-
|
|
81
|
-
Made with care in Delhi · Patan · everywhere.
|
package/LICENSING.md
DELETED
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
# Why Dirgha Code is FSL, not MIT
|
|
2
|
-
|
|
3
|
-
Short version: we're bootstrapped, not VC-funded. FSL lets us share the source with the community while keeping Dirgha LLC alive long enough to keep shipping.
|
|
4
|
-
|
|
5
|
-
If you just want to know what you can do: skip to [What you can do with the code](#what-you-can-do-with-the-code). Everything you'd reasonably want to do with an open-source tool is allowed.
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
## The honest trade-off
|
|
10
|
-
|
|
11
|
-
Every license is a trade-off between three things: how freely the source flows, how much the authors can capture of the value they create, and how much a well-funded third party can capture the same value without giving back.
|
|
12
|
-
|
|
13
|
-
Pure MIT sits at one end: maximum flow, zero capture for the authors, maximum capture for anyone who hosts it as a service. Proprietary sits at the other: zero flow, full capture for the authors, zero contribution back.
|
|
14
|
-
|
|
15
|
-
MIT is the right answer for a lot of projects. It's the wrong answer for a terminal-native AI agent in 2026. Here's why.
|
|
16
|
-
|
|
17
|
-
## Why not MIT
|
|
18
|
-
|
|
19
|
-
We want every developer to be able to:
|
|
20
|
-
|
|
21
|
-
- Read the source, audit it, compile it themselves.
|
|
22
|
-
- Run it on their own machine with their own API keys.
|
|
23
|
-
- Fork it, modify it, use it inside their company, study how it works.
|
|
24
|
-
- Contribute fixes and new features back.
|
|
25
|
-
|
|
26
|
-
MIT allows all of that. But MIT also allows:
|
|
27
|
-
|
|
28
|
-
- A well-funded cloud provider to wrap the CLI into a managed service, spend $100M on marketing, and sell it back to the same developers we're trying to help — without contributing a line of code, without employing the maintainers, without keeping the project going when it stops being fashionable.
|
|
29
|
-
|
|
30
|
-
Dirgha LLC is bootstrapped. No venture capital, no runway to subsidize a fight against Big Cloud. If a hyperscaler decides to take an MIT Dirgha and rehost it, we have no path to sustain the work. The code survives; the project does not.
|
|
31
|
-
|
|
32
|
-
The post-open-source conversation of the last few years (Sentry, HashiCorp, Elastic, MongoDB, Redis, Cal.com, Plausible) has been the industry working out a middle ground: source stays visible, competitive re-hosting gets a time delay, everything else stays permissive.
|
|
33
|
-
|
|
34
|
-
FSL is that middle ground.
|
|
35
|
-
|
|
36
|
-
## What FSL-1.1-MIT actually is
|
|
37
|
-
|
|
38
|
-
The [Functional Source License][fsl] was designed by Sentry for exactly this situation. The simplest possible summary:
|
|
39
|
-
|
|
40
|
-
- You can use the code for **any purpose**, including commercial use, except **hosting a competing commercial product** that substitutes for ours.
|
|
41
|
-
- After **two years**, that restriction expires and the code becomes MIT. Every release eventually turns into permanent, unrestricted open source.
|
|
42
|
-
|
|
43
|
-
That's it. It's roughly four paragraphs of legal text.
|
|
44
|
-
|
|
45
|
-
The `-MIT` suffix means the conversion target is MIT (rather than Apache 2.0). We picked MIT because it's the simplest permissive license and the one most contributors recognize.
|
|
46
|
-
|
|
47
|
-
[fsl]: https://fsl.software
|
|
48
|
-
|
|
49
|
-
## What you can do with the code
|
|
50
|
-
|
|
51
|
-
Everything you'd reasonably want to do:
|
|
52
|
-
|
|
53
|
-
| You want to… | Allowed under FSL-1.1-MIT today? | Allowed under MIT once converted? |
|
|
54
|
-
|---|---|---|
|
|
55
|
-
| Install it from npm, use it personally | Yes | Yes |
|
|
56
|
-
| Use it at your company on your team's machines | Yes | Yes |
|
|
57
|
-
| Use it inside a product you sell, as a dev-time tool | Yes | Yes |
|
|
58
|
-
| Read the source, study, audit, compile yourself | Yes | Yes |
|
|
59
|
-
| Fork it, modify it, keep it for yourself or your team | Yes | Yes |
|
|
60
|
-
| Open a pull request against our repo | Yes | Yes |
|
|
61
|
-
| Redistribute a modified fork under a different name | Yes | Yes |
|
|
62
|
-
| Package it for Homebrew, apt, Nix | Yes | Yes |
|
|
63
|
-
| Teach with it, write books about it, include it in a course | Yes | Yes |
|
|
64
|
-
| Run a commercial hosted service that competes with api.dirgha.ai | **Not for 2 years after each release** | Yes once converted |
|
|
65
|
-
|
|
66
|
-
The one restriction in the "not for 2 years" row is narrow on purpose. If you're wondering whether your use is allowed: it almost certainly is. If you're not sure, email `legal@dirgha.ai` and we'll give you a plain answer.
|
|
67
|
-
|
|
68
|
-
## What FSL protects
|
|
69
|
-
|
|
70
|
-
- **Maintainer time.** Someone has to keep the releases rolling, review PRs, cut new versions, handle security incidents. FSL keeps that work fundable.
|
|
71
|
-
- **Product quality.** When the same team owns both the open CLI and the hosted platform, they care about the developer experience of both. When those split, the CLI stops getting attention.
|
|
72
|
-
- **Trust.** Brand and trademark protections (see `NOTICE.md`) mean "Dirgha" keeps meaning one thing. Forks are allowed and encouraged — under a different name.
|
|
73
|
-
|
|
74
|
-
## What stays Dirgha LLC proprietary
|
|
75
|
-
|
|
76
|
-
FSL covers the CLI source in this repository. Other pieces of the Dirgha stack are **not** in this repository and are not FSL:
|
|
77
|
-
|
|
78
|
-
- `api.dirgha.ai` — the hosted gateway (auth, credits, cross-provider failover for subscription users).
|
|
79
|
-
- The hosted platform (`dirgha.ai`, the dashboard, billing).
|
|
80
|
-
- Proprietary models and fine-tuning data, where they exist.
|
|
81
|
-
- The `Dirgha` name, logo, and product family (trademarks of Dirgha LLC).
|
|
82
|
-
|
|
83
|
-
The CLI can talk to the hosted platform, but the CLI itself runs entirely on your machine with your own keys if you prefer. That's the "Sovereign by default. Bring-your-own-key." promise in the README.
|
|
84
|
-
|
|
85
|
-
## What about contributions?
|
|
86
|
-
|
|
87
|
-
Contributions to the CLI repo are welcomed under the project's DCO + CLA. The CLA assigns copyright in your contribution to Dirgha LLC while granting you a perpetual license back to your own work. This is how we can keep the license coherent across thousands of contributions without orphan-rights problems. Several large projects use the same pattern — see `CONTRIBUTING.md` for the full text and signing flow.
|
|
88
|
-
|
|
89
|
-
## Will Dirgha ever be fully MIT?
|
|
90
|
-
|
|
91
|
-
- Each individual release converts to MIT two years after publication, automatically, per FSL's terms.
|
|
92
|
-
- If Dirgha LLC winds down or is acquired, we commit to either (a) accelerating the conversion of unreleased changes to MIT, or (b) transferring stewardship to a foundation or the contributor community. This isn't a legal guarantee — you don't need to trust us, because FSL's two-year conversion is already irrevocable.
|
|
93
|
-
|
|
94
|
-
## Further reading
|
|
95
|
-
|
|
96
|
-
- [Functional Source License — official site][fsl]
|
|
97
|
-
- [Sentry: Introducing the FSL](https://blog.sentry.io/introducing-functional-source-license-freedom-without-free-riders/)
|
|
98
|
-
- [Cal.com: Why we chose AGPL + enterprise](https://cal.com/blog/cal-com-is-now-open-source) (similar reasoning, different license)
|
|
99
|
-
- [Our LICENSE](LICENSE) and [NOTICE.md](NOTICE.md) for the file-by-file breakdown.
|
|
100
|
-
|
|
101
|
-
## If this feels wrong
|
|
102
|
-
|
|
103
|
-
If you believe a specific use is blocked and shouldn't be, open a discussion. If you think the license itself is a mistake, we'd rather hear it than lose you silently. The trade-off is real; reasonable people can land on different answers.
|
|
104
|
-
|
|
105
|
-
Email `legal@dirgha.ai` or open a Discussion tagged `licensing`.
|
package/SECURITY.md
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
# Security policy
|
|
2
|
-
|
|
3
|
-
Thanks for helping keep Dirgha Code and its users safe.
|
|
4
|
-
|
|
5
|
-
## Reporting a vulnerability
|
|
6
|
-
|
|
7
|
-
Please **do not** file a public GitHub issue for security problems.
|
|
8
|
-
|
|
9
|
-
- Preferred: [private vulnerability report](https://github.com/dirghaai/dirgha-code/security/advisories/new) through GitHub's Security Advisories.
|
|
10
|
-
- Alternative: email `security@dirgha.ai` with the word `SECURITY` in the subject.
|
|
11
|
-
|
|
12
|
-
We will acknowledge within **24 hours** (business days) and aim to triage within **72 hours**. We will keep you informed through remediation and credit you in the advisory unless you prefer to remain anonymous.
|
|
13
|
-
|
|
14
|
-
## Scope
|
|
15
|
-
|
|
16
|
-
In scope:
|
|
17
|
-
|
|
18
|
-
- The `@dirgha/code` CLI and any code in this repository.
|
|
19
|
-
- The `api.dirgha.ai` gateway as used by the CLI (auth, credit handling, routing).
|
|
20
|
-
- Supply-chain issues in direct production dependencies declared in `package.json`.
|
|
21
|
-
|
|
22
|
-
Out of scope:
|
|
23
|
-
|
|
24
|
-
- Rate limits or availability of upstream model providers (report directly to the provider).
|
|
25
|
-
- Issues requiring a user to run a modified, forked, or untrusted build.
|
|
26
|
-
- Social-engineering attacks that rely on convincing a user to disclose their own API keys.
|
|
27
|
-
- Denial-of-service via provider rate limits.
|
|
28
|
-
- Vulnerabilities in example code under `docs/` or `examples/` that are explicitly for illustration.
|
|
29
|
-
|
|
30
|
-
## What counts as a security issue
|
|
31
|
-
|
|
32
|
-
High priority:
|
|
33
|
-
|
|
34
|
-
- Remote code execution or sandbox escape in the CLI.
|
|
35
|
-
- Prompt-injection vectors that cause the CLI to exfiltrate secrets, escalate tool permissions, or perform unconfirmed destructive actions.
|
|
36
|
-
- Credential leakage — logging, persistence, telemetry, or transmission of user API keys, session tokens, or file contents to unintended destinations.
|
|
37
|
-
- Auth bypass on the gateway (ability to consume credits without a valid session, or act as another user).
|
|
38
|
-
- Billing bypass (circumvent credit checks, forge webhook events).
|
|
39
|
-
- Supply-chain compromise (malicious version of a dependency we ship or pin).
|
|
40
|
-
|
|
41
|
-
Lower priority but still reportable:
|
|
42
|
-
|
|
43
|
-
- Privilege escalation in the permission system.
|
|
44
|
-
- TOCTOU or race conditions in file-lock handling.
|
|
45
|
-
- Insecure defaults in a supported configuration.
|
|
46
|
-
|
|
47
|
-
## Responsible disclosure
|
|
48
|
-
|
|
49
|
-
We ask that you:
|
|
50
|
-
|
|
51
|
-
- Give us reasonable time to remediate before public disclosure (90 days is typical; we will request longer only if the fix genuinely takes longer).
|
|
52
|
-
- Do not access or retain user data beyond what is needed to demonstrate the issue.
|
|
53
|
-
- Do not run destructive tests against production infrastructure — a minimal proof-of-concept is sufficient.
|
|
54
|
-
|
|
55
|
-
## Hall of fame
|
|
56
|
-
|
|
57
|
-
Contributors who report valid issues are credited in `THANKS.md` and in the GitHub Security Advisory, unless they opt out.
|
|
58
|
-
|
|
59
|
-
## PGP
|
|
60
|
-
|
|
61
|
-
If you need to encrypt your report, request a public key at `security@dirgha.ai`.
|
package/SUPPORT.md
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
# Getting help
|
|
2
|
-
|
|
3
|
-
Before opening an issue, please use the channel that matches your question.
|
|
4
|
-
|
|
5
|
-
## Documentation first
|
|
6
|
-
|
|
7
|
-
Most "how do I…" questions are answered in the docs. Quick links:
|
|
8
|
-
|
|
9
|
-
- [Quickstart](docs/QUICKSTART.md) — install and first prompt in five minutes.
|
|
10
|
-
- [User guide](docs/USER_GUIDE.md) — configuration, providers, models, sessions.
|
|
11
|
-
- [Architecture](docs/ARCHITECTURE.md) — how the pieces fit together.
|
|
12
|
-
- [API reference](docs/API_REFERENCE.md) — tools, schemas, return types.
|
|
13
|
-
- [Examples](docs/EXAMPLES.md) — common workflows, copy-pasteable.
|
|
14
|
-
|
|
15
|
-
## Where to ask
|
|
16
|
-
|
|
17
|
-
| I want to… | Go here |
|
|
18
|
-
|---|---|
|
|
19
|
-
| Ask "how do I…" or "does Dirgha support…" | [GitHub Discussions](https://github.com/dirghaai/dirgha-code/discussions) |
|
|
20
|
-
| Share a tip, setup, or workflow | [Discussions — Show and tell](https://github.com/dirghaai/dirgha-code/discussions/categories/show-and-tell) |
|
|
21
|
-
| Report a bug | [Open an issue → Bug report](https://github.com/dirghaai/dirgha-code/issues/new?template=bug.md) |
|
|
22
|
-
| Request a feature | [Open an issue → Feature request](https://github.com/dirghaai/dirgha-code/issues/new?template=feature.md) |
|
|
23
|
-
| Report a security vulnerability | See [SECURITY.md](SECURITY.md) — **do not** use public issues |
|
|
24
|
-
| Talk about commercial / enterprise use | `enterprise@dirgha.ai` |
|
|
25
|
-
| Press, partnerships, general questions | `hello@dirgha.ai` |
|
|
26
|
-
|
|
27
|
-
## Response times
|
|
28
|
-
|
|
29
|
-
These are targets, not guarantees, unless you have a commercial agreement.
|
|
30
|
-
|
|
31
|
-
- Security reports: acknowledged within 24 hours (business days).
|
|
32
|
-
- Bug reports: triaged within one week.
|
|
33
|
-
- Feature requests: reviewed at least monthly.
|
|
34
|
-
- Discussions: community-answered; maintainers chime in when they have time.
|
|
35
|
-
- Enterprise support: per your contract.
|
|
36
|
-
|
|
37
|
-
## Before you open an issue
|
|
38
|
-
|
|
39
|
-
- Search existing issues and Discussions first — there's a good chance someone hit the same thing.
|
|
40
|
-
- Reproduce on the latest release (`npm install -g @dirgha/code` or `pnpm update`).
|
|
41
|
-
- Include version, OS, Node version, provider, and model.
|
|
42
|
-
- Redact API keys and any secrets from your logs.
|
|
43
|
-
|
|
44
|
-
## What will not get a fast response
|
|
45
|
-
|
|
46
|
-
- "Please add support for <paid provider X>" with no BYOK key or test account to validate against.
|
|
47
|
-
- "The model said something wrong" — that's a provider issue; try a different model.
|
|
48
|
-
- Bug reports without reproduction steps.
|
|
49
|
-
- Issues opened as "critical" with no impact description.
|
|
50
|
-
|
|
51
|
-
## Commercial support
|
|
52
|
-
|
|
53
|
-
For on-premise deployment, custom tools, integrations, SLAs, or indemnification, contact `enterprise@dirgha.ai`.
|
|
Binary file
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64">
|
|
2
|
-
<title>Dirgha — symbol mark, amber on ink</title>
|
|
3
|
-
<rect width="64" height="64" fill="#0a0a0a"/>
|
|
4
|
-
<g transform="translate(32 32)">
|
|
5
|
-
<rect x="-18" y="-18" width="36" height="36" transform="rotate(45)" fill="none" stroke="#d4a373" stroke-width="2.5"/>
|
|
6
|
-
<rect x="-9" y="-9" width="18" height="18" transform="rotate(45)" fill="#d4a373"/>
|
|
7
|
-
</g>
|
|
8
|
-
</svg>
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64">
|
|
2
|
-
<title>Dirgha — symbol mark, cream on ink</title>
|
|
3
|
-
<rect width="64" height="64" fill="#0a0a0a"/>
|
|
4
|
-
<g transform="translate(32 32)">
|
|
5
|
-
<rect x="-18" y="-18" width="36" height="36" transform="rotate(45)" fill="none" stroke="#f7f3ed" stroke-width="2.5"/>
|
|
6
|
-
<rect x="-9" y="-9" width="18" height="18" transform="rotate(45)" fill="#f7f3ed"/>
|
|
7
|
-
</g>
|
|
8
|
-
</svg>
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 160" width="600" height="160">
|
|
2
|
-
<title>Dirgha — wordmark, cream on ink</title>
|
|
3
|
-
<rect width="600" height="160" fill="#0a0a0a"/>
|
|
4
|
-
<text x="300" y="108" font-family="Inter, system-ui, sans-serif" font-size="96" font-weight="600" letter-spacing="-0.025em" text-anchor="middle" fill="#f7f3ed">Dirgha</text>
|
|
5
|
-
</svg>
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 160" width="600" height="160">
|
|
2
|
-
<title>Dirgha — wordmark, ink on cream</title>
|
|
3
|
-
<rect width="600" height="160" fill="#f7f3ed"/>
|
|
4
|
-
<text x="300" y="108" font-family="Inter, system-ui, sans-serif" font-size="96" font-weight="600" letter-spacing="-0.025em" text-anchor="middle" fill="#0a0a0a">Dirgha</text>
|
|
5
|
-
</svg>
|
|
Binary file
|