@hasna/todos 0.11.46 → 0.11.48
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/LICENSE +2 -1
- package/README.md +13 -0
- package/dashboard/dist/assets/{index-CVF1vn7Z.js → index-C3fBxEWP.js} +17 -17
- package/dashboard/dist/index.html +1 -1
- package/dist/cli/index.js +25860 -25224
- package/dist/mcp/index.js +27669 -25551
- package/dist/sdk/index.js +9 -12
- package/dist/server/index.js +74465 -3514
- package/package.json +1 -1
- package/dist/capabilities.d.ts +0 -32
- package/dist/capabilities.d.ts.map +0 -1
- package/dist/cli/brains.d.ts +0 -3
- package/dist/cli/brains.d.ts.map +0 -1
- package/dist/cli/commands/agent-commands.d.ts +0 -3
- package/dist/cli/commands/agent-commands.d.ts.map +0 -1
- package/dist/cli/commands/agent-reliability-commands.d.ts +0 -3
- package/dist/cli/commands/agent-reliability-commands.d.ts.map +0 -1
- package/dist/cli/commands/api-key-commands.d.ts +0 -3
- package/dist/cli/commands/api-key-commands.d.ts.map +0 -1
- package/dist/cli/commands/audit-ledger-commands.d.ts +0 -3
- package/dist/cli/commands/audit-ledger-commands.d.ts.map +0 -1
- package/dist/cli/commands/capacity-commands.d.ts +0 -3
- package/dist/cli/commands/capacity-commands.d.ts.map +0 -1
- package/dist/cli/commands/config-serve-commands.d.ts +0 -3
- package/dist/cli/commands/config-serve-commands.d.ts.map +0 -1
- package/dist/cli/commands/dispatch.d.ts +0 -3
- package/dist/cli/commands/dispatch.d.ts.map +0 -1
- package/dist/cli/commands/environment-snapshots.d.ts +0 -3
- package/dist/cli/commands/environment-snapshots.d.ts.map +0 -1
- package/dist/cli/commands/help-commands.d.ts +0 -3
- package/dist/cli/commands/help-commands.d.ts.map +0 -1
- package/dist/cli/commands/knowledge-commands.d.ts +0 -3
- package/dist/cli/commands/knowledge-commands.d.ts.map +0 -1
- package/dist/cli/commands/local-backup-commands.d.ts +0 -3
- package/dist/cli/commands/local-backup-commands.d.ts.map +0 -1
- package/dist/cli/commands/local-snapshot-commands.d.ts +0 -3
- package/dist/cli/commands/local-snapshot-commands.d.ts.map +0 -1
- package/dist/cli/commands/machines.d.ts +0 -3
- package/dist/cli/commands/machines.d.ts.map +0 -1
- package/dist/cli/commands/mcp-hooks-commands.d.ts +0 -3
- package/dist/cli/commands/mcp-hooks-commands.d.ts.map +0 -1
- package/dist/cli/commands/onboarding-commands.d.ts +0 -3
- package/dist/cli/commands/onboarding-commands.d.ts.map +0 -1
- package/dist/cli/commands/plan-template-commands.d.ts +0 -3
- package/dist/cli/commands/plan-template-commands.d.ts.map +0 -1
- package/dist/cli/commands/project-commands.d.ts +0 -3
- package/dist/cli/commands/project-commands.d.ts.map +0 -1
- package/dist/cli/commands/query-commands.d.ts +0 -3
- package/dist/cli/commands/query-commands.d.ts.map +0 -1
- package/dist/cli/commands/release-compatibility-commands.d.ts +0 -3
- package/dist/cli/commands/release-compatibility-commands.d.ts.map +0 -1
- package/dist/cli/commands/retrospective-commands.d.ts +0 -3
- package/dist/cli/commands/retrospective-commands.d.ts.map +0 -1
- package/dist/cli/commands/review-queue-commands.d.ts +0 -3
- package/dist/cli/commands/review-queue-commands.d.ts.map +0 -1
- package/dist/cli/commands/risk-commands.d.ts +0 -3
- package/dist/cli/commands/risk-commands.d.ts.map +0 -1
- package/dist/cli/commands/roadmap-commands.d.ts +0 -3
- package/dist/cli/commands/roadmap-commands.d.ts.map +0 -1
- package/dist/cli/commands/scale-hardening-commands.d.ts +0 -3
- package/dist/cli/commands/scale-hardening-commands.d.ts.map +0 -1
- package/dist/cli/commands/sdk-fixture-commands.d.ts +0 -3
- package/dist/cli/commands/sdk-fixture-commands.d.ts.map +0 -1
- package/dist/cli/commands/task-commands.d.ts +0 -3
- package/dist/cli/commands/task-commands.d.ts.map +0 -1
- package/dist/cli/commands/usage-ledger-commands.d.ts +0 -3
- package/dist/cli/commands/usage-ledger-commands.d.ts.map +0 -1
- package/dist/cli/components/App.d.ts +0 -2
- package/dist/cli/components/App.d.ts.map +0 -1
- package/dist/cli/components/Dashboard.d.ts +0 -7
- package/dist/cli/components/Dashboard.d.ts.map +0 -1
- package/dist/cli/components/Header.d.ts +0 -8
- package/dist/cli/components/Header.d.ts.map +0 -1
- package/dist/cli/components/ProjectList.d.ts +0 -8
- package/dist/cli/components/ProjectList.d.ts.map +0 -1
- package/dist/cli/components/SearchView.d.ts +0 -10
- package/dist/cli/components/SearchView.d.ts.map +0 -1
- package/dist/cli/components/TaskDetail.d.ts +0 -7
- package/dist/cli/components/TaskDetail.d.ts.map +0 -1
- package/dist/cli/components/TaskForm.d.ts +0 -15
- package/dist/cli/components/TaskForm.d.ts.map +0 -1
- package/dist/cli/components/TaskList.d.ts +0 -8
- package/dist/cli/components/TaskList.d.ts.map +0 -1
- package/dist/cli/helpers.d.ts +0 -22
- package/dist/cli/helpers.d.ts.map +0 -1
- package/dist/cli/index.d.ts +0 -3
- package/dist/cli/index.d.ts.map +0 -1
- package/dist/cli-mcp-parity.d.ts +0 -41
- package/dist/cli-mcp-parity.d.ts.map +0 -1
- package/dist/contracts.d.ts +0 -87
- package/dist/contracts.d.ts.map +0 -1
- package/dist/contracts.js +0 -18172
- package/dist/db/agent-metrics.d.ts +0 -135
- package/dist/db/agent-metrics.d.ts.map +0 -1
- package/dist/db/agent-names.d.ts +0 -24
- package/dist/db/agent-names.d.ts.map +0 -1
- package/dist/db/agents.d.ts +0 -84
- package/dist/db/agents.d.ts.map +0 -1
- package/dist/db/api-keys.d.ts +0 -28
- package/dist/db/api-keys.d.ts.map +0 -1
- package/dist/db/audit.d.ts +0 -52
- package/dist/db/audit.d.ts.map +0 -1
- package/dist/db/boards.d.ts +0 -56
- package/dist/db/boards.d.ts.map +0 -1
- package/dist/db/budgets.d.ts +0 -27
- package/dist/db/budgets.d.ts.map +0 -1
- package/dist/db/builtin-templates.d.ts +0 -39
- package/dist/db/builtin-templates.d.ts.map +0 -1
- package/dist/db/calendar.d.ts +0 -52
- package/dist/db/calendar.d.ts.map +0 -1
- package/dist/db/checklists.d.ts +0 -13
- package/dist/db/checklists.d.ts.map +0 -1
- package/dist/db/checkpoints.d.ts +0 -55
- package/dist/db/checkpoints.d.ts.map +0 -1
- package/dist/db/comments.d.ts +0 -11
- package/dist/db/comments.d.ts.map +0 -1
- package/dist/db/cycles.d.ts +0 -78
- package/dist/db/cycles.d.ts.map +0 -1
- package/dist/db/database.d.ts +0 -13
- package/dist/db/database.d.ts.map +0 -1
- package/dist/db/dispatches.d.ts +0 -15
- package/dist/db/dispatches.d.ts.map +0 -1
- package/dist/db/file-locks.d.ts +0 -43
- package/dist/db/file-locks.d.ts.map +0 -1
- package/dist/db/handoffs.d.ts +0 -76
- package/dist/db/handoffs.d.ts.map +0 -1
- package/dist/db/inbox.d.ts +0 -47
- package/dist/db/inbox.d.ts.map +0 -1
- package/dist/db/kg.d.ts +0 -70
- package/dist/db/kg.d.ts.map +0 -1
- package/dist/db/locks.d.ts +0 -14
- package/dist/db/locks.d.ts.map +0 -1
- package/dist/db/machines.d.ts +0 -59
- package/dist/db/machines.d.ts.map +0 -1
- package/dist/db/migrations.d.ts +0 -2
- package/dist/db/migrations.d.ts.map +0 -1
- package/dist/db/orgs.d.ts +0 -13
- package/dist/db/orgs.d.ts.map +0 -1
- package/dist/db/patrol.d.ts +0 -35
- package/dist/db/patrol.d.ts.map +0 -1
- package/dist/db/plans.d.ts +0 -8
- package/dist/db/plans.d.ts.map +0 -1
- package/dist/db/project-agent-roles.d.ts +0 -34
- package/dist/db/project-agent-roles.d.ts.map +0 -1
- package/dist/db/project-knowledge.d.ts +0 -88
- package/dist/db/project-knowledge.d.ts.map +0 -1
- package/dist/db/project-risks.d.ts +0 -139
- package/dist/db/project-risks.d.ts.map +0 -1
- package/dist/db/projects.d.ts +0 -54
- package/dist/db/projects.d.ts.map +0 -1
- package/dist/db/retrospectives.d.ts +0 -98
- package/dist/db/retrospectives.d.ts.map +0 -1
- package/dist/db/schema.d.ts +0 -5
- package/dist/db/schema.d.ts.map +0 -1
- package/dist/db/sessions.d.ts +0 -8
- package/dist/db/sessions.d.ts.map +0 -1
- package/dist/db/snapshots.d.ts +0 -37
- package/dist/db/snapshots.d.ts.map +0 -1
- package/dist/db/task-claim.d.ts +0 -7
- package/dist/db/task-claim.d.ts.map +0 -1
- package/dist/db/task-commits.d.ts +0 -82
- package/dist/db/task-commits.d.ts.map +0 -1
- package/dist/db/task-crud.d.ts +0 -13
- package/dist/db/task-crud.d.ts.map +0 -1
- package/dist/db/task-files.d.ts +0 -74
- package/dist/db/task-files.d.ts.map +0 -1
- package/dist/db/task-graph.d.ts +0 -27
- package/dist/db/task-graph.d.ts.map +0 -1
- package/dist/db/task-lifecycle.d.ts +0 -96
- package/dist/db/task-lifecycle.d.ts.map +0 -1
- package/dist/db/task-lists.d.ts +0 -10
- package/dist/db/task-lists.d.ts.map +0 -1
- package/dist/db/task-relations.d.ts +0 -170
- package/dist/db/task-relations.d.ts.map +0 -1
- package/dist/db/task-relationships.d.ts +0 -36
- package/dist/db/task-relationships.d.ts.map +0 -1
- package/dist/db/task-runs.d.ts +0 -133
- package/dist/db/task-runs.d.ts.map +0 -1
- package/dist/db/task-status.d.ts +0 -65
- package/dist/db/task-status.d.ts.map +0 -1
- package/dist/db/task-workflow.d.ts +0 -7
- package/dist/db/task-workflow.d.ts.map +0 -1
- package/dist/db/tasks.d.ts +0 -15
- package/dist/db/tasks.d.ts.map +0 -1
- package/dist/db/templates.d.ts +0 -98
- package/dist/db/templates.d.ts.map +0 -1
- package/dist/db/traces.d.ts +0 -38
- package/dist/db/traces.d.ts.map +0 -1
- package/dist/db/webhooks.d.ts +0 -29
- package/dist/db/webhooks.d.ts.map +0 -1
- package/dist/index.d.ts +0 -196
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -30111
- package/dist/json-contracts.d.ts +0 -56
- package/dist/json-contracts.d.ts.map +0 -1
- package/dist/lib/activity-timeline.d.ts +0 -43
- package/dist/lib/activity-timeline.d.ts.map +0 -1
- package/dist/lib/agent-replay-simulator.d.ts +0 -66
- package/dist/lib/agent-replay-simulator.d.ts.map +0 -1
- package/dist/lib/agent-run-dispatcher.d.ts +0 -62
- package/dist/lib/agent-run-dispatcher.d.ts.map +0 -1
- package/dist/lib/agent-tasks.d.ts +0 -11
- package/dist/lib/agent-tasks.d.ts.map +0 -1
- package/dist/lib/approval-gates.d.ts +0 -52
- package/dist/lib/approval-gates.d.ts.map +0 -1
- package/dist/lib/artifact-store.d.ts +0 -68
- package/dist/lib/artifact-store.d.ts.map +0 -1
- package/dist/lib/audit-ledger.d.ts +0 -59
- package/dist/lib/audit-ledger.d.ts.map +0 -1
- package/dist/lib/auto-assign.d.ts +0 -23
- package/dist/lib/auto-assign.d.ts.map +0 -1
- package/dist/lib/branch-work-plans.d.ts +0 -46
- package/dist/lib/branch-work-plans.d.ts.map +0 -1
- package/dist/lib/burndown.d.ts +0 -18
- package/dist/lib/burndown.d.ts.map +0 -1
- package/dist/lib/capacity-forecasts.d.ts +0 -70
- package/dist/lib/capacity-forecasts.d.ts.map +0 -1
- package/dist/lib/claude-tasks.d.ts +0 -20
- package/dist/lib/claude-tasks.d.ts.map +0 -1
- package/dist/lib/cli-help.d.ts +0 -38
- package/dist/lib/cli-help.d.ts.map +0 -1
- package/dist/lib/completion-guard.d.ts +0 -17
- package/dist/lib/completion-guard.d.ts.map +0 -1
- package/dist/lib/config.d.ts +0 -400
- package/dist/lib/config.d.ts.map +0 -1
- package/dist/lib/context-packs.d.ts +0 -163
- package/dist/lib/context-packs.d.ts.map +0 -1
- package/dist/lib/dispatch-formatter.d.ts +0 -21
- package/dist/lib/dispatch-formatter.d.ts.map +0 -1
- package/dist/lib/dispatch.d.ts +0 -28
- package/dist/lib/dispatch.d.ts.map +0 -1
- package/dist/lib/doctor.d.ts +0 -46
- package/dist/lib/doctor.d.ts.map +0 -1
- package/dist/lib/environment-snapshots.d.ts +0 -111
- package/dist/lib/environment-snapshots.d.ts.map +0 -1
- package/dist/lib/event-hooks.d.ts +0 -58
- package/dist/lib/event-hooks.d.ts.map +0 -1
- package/dist/lib/external-issue-importers.d.ts +0 -60
- package/dist/lib/external-issue-importers.d.ts.map +0 -1
- package/dist/lib/extract.d.ts +0 -108
- package/dist/lib/extract.d.ts.map +0 -1
- package/dist/lib/gatherer.d.ts +0 -16
- package/dist/lib/gatherer.d.ts.map +0 -1
- package/dist/lib/github.d.ts +0 -25
- package/dist/lib/github.d.ts.map +0 -1
- package/dist/lib/local-backups.d.ts +0 -129
- package/dist/lib/local-backups.d.ts.map +0 -1
- package/dist/lib/local-bridge.d.ts +0 -81
- package/dist/lib/local-bridge.d.ts.map +0 -1
- package/dist/lib/local-encryption.d.ts +0 -94
- package/dist/lib/local-encryption.d.ts.map +0 -1
- package/dist/lib/local-extensions.d.ts +0 -92
- package/dist/lib/local-extensions.d.ts.map +0 -1
- package/dist/lib/local-fields.d.ts +0 -33
- package/dist/lib/local-fields.d.ts.map +0 -1
- package/dist/lib/local-notifications.d.ts +0 -55
- package/dist/lib/local-notifications.d.ts.map +0 -1
- package/dist/lib/local-reports.d.ts +0 -149
- package/dist/lib/local-reports.d.ts.map +0 -1
- package/dist/lib/local-snapshots.d.ts +0 -66
- package/dist/lib/local-snapshots.d.ts.map +0 -1
- package/dist/lib/logger.d.ts +0 -11
- package/dist/lib/logger.d.ts.map +0 -1
- package/dist/lib/mention-resolver.d.ts +0 -43
- package/dist/lib/mention-resolver.d.ts.map +0 -1
- package/dist/lib/model-config.d.ts +0 -14
- package/dist/lib/model-config.d.ts.map +0 -1
- package/dist/lib/natural-language-intake.d.ts +0 -56
- package/dist/lib/natural-language-intake.d.ts.map +0 -1
- package/dist/lib/north-star.d.ts +0 -33
- package/dist/lib/north-star.d.ts.map +0 -1
- package/dist/lib/onboarding-fixtures.d.ts +0 -31
- package/dist/lib/onboarding-fixtures.d.ts.map +0 -1
- package/dist/lib/package-version.d.ts +0 -2
- package/dist/lib/package-version.d.ts.map +0 -1
- package/dist/lib/policy-packs.d.ts +0 -87
- package/dist/lib/policy-packs.d.ts.map +0 -1
- package/dist/lib/project-bootstrap.d.ts +0 -35
- package/dist/lib/project-bootstrap.d.ts.map +0 -1
- package/dist/lib/public-release-gate.d.ts +0 -57
- package/dist/lib/public-release-gate.d.ts.map +0 -1
- package/dist/lib/recurrence.d.ts +0 -10
- package/dist/lib/recurrence.d.ts.map +0 -1
- package/dist/lib/redaction.d.ts +0 -12
- package/dist/lib/redaction.d.ts.map +0 -1
- package/dist/lib/release-compatibility.d.ts +0 -59
- package/dist/lib/release-compatibility.d.ts.map +0 -1
- package/dist/lib/release-notes.d.ts +0 -81
- package/dist/lib/release-notes.d.ts.map +0 -1
- package/dist/lib/retention-cleanup.d.ts +0 -63
- package/dist/lib/retention-cleanup.d.ts.map +0 -1
- package/dist/lib/review-queues.d.ts +0 -98
- package/dist/lib/review-queues.d.ts.map +0 -1
- package/dist/lib/roadmaps.d.ts +0 -133
- package/dist/lib/roadmaps.d.ts.map +0 -1
- package/dist/lib/runner-sandbox.d.ts +0 -50
- package/dist/lib/runner-sandbox.d.ts.map +0 -1
- package/dist/lib/saved-search-views.d.ts +0 -60
- package/dist/lib/saved-search-views.d.ts.map +0 -1
- package/dist/lib/scale-hardening.d.ts +0 -74
- package/dist/lib/scale-hardening.d.ts.map +0 -1
- package/dist/lib/sdk-integration-fixtures.d.ts +0 -65
- package/dist/lib/sdk-integration-fixtures.d.ts.map +0 -1
- package/dist/lib/search.d.ts +0 -17
- package/dist/lib/search.d.ts.map +0 -1
- package/dist/lib/sync-types.d.ts +0 -16
- package/dist/lib/sync-types.d.ts.map +0 -1
- package/dist/lib/sync-utils.d.ts +0 -12
- package/dist/lib/sync-utils.d.ts.map +0 -1
- package/dist/lib/sync.d.ts +0 -9
- package/dist/lib/sync.d.ts.map +0 -1
- package/dist/lib/task-contracts.d.ts +0 -75
- package/dist/lib/task-contracts.d.ts.map +0 -1
- package/dist/lib/task-dedupe.d.ts +0 -45
- package/dist/lib/task-dedupe.d.ts.map +0 -1
- package/dist/lib/task-runner.d.ts +0 -101
- package/dist/lib/task-runner.d.ts.map +0 -1
- package/dist/lib/terminal-notifications.d.ts +0 -53
- package/dist/lib/terminal-notifications.d.ts.map +0 -1
- package/dist/lib/tmux.d.ts +0 -28
- package/dist/lib/tmux.d.ts.map +0 -1
- package/dist/lib/todos-md.d.ts +0 -21
- package/dist/lib/todos-md.d.ts.map +0 -1
- package/dist/lib/tui-dashboard.d.ts +0 -49
- package/dist/lib/tui-dashboard.d.ts.map +0 -1
- package/dist/lib/usage-ledger.d.ts +0 -82
- package/dist/lib/usage-ledger.d.ts.map +0 -1
- package/dist/lib/verification-providers.d.ts +0 -54
- package/dist/lib/verification-providers.d.ts.map +0 -1
- package/dist/lib/workflow-prompts.d.ts +0 -38
- package/dist/lib/workflow-prompts.d.ts.map +0 -1
- package/dist/lib/workflow-states.d.ts +0 -70
- package/dist/lib/workflow-states.d.ts.map +0 -1
- package/dist/lib/workspace-trust.d.ts +0 -38
- package/dist/lib/workspace-trust.d.ts.map +0 -1
- package/dist/mcp/index.d.ts +0 -3
- package/dist/mcp/index.d.ts.map +0 -1
- package/dist/mcp/token-utils.d.ts +0 -15
- package/dist/mcp/token-utils.d.ts.map +0 -1
- package/dist/mcp/tools/agents.d.ts +0 -16
- package/dist/mcp/tools/agents.d.ts.map +0 -1
- package/dist/mcp/tools/code-tools.d.ts +0 -15
- package/dist/mcp/tools/code-tools.d.ts.map +0 -1
- package/dist/mcp/tools/dispatch.d.ts +0 -9
- package/dist/mcp/tools/dispatch.d.ts.map +0 -1
- package/dist/mcp/tools/environment-snapshots.d.ts +0 -8
- package/dist/mcp/tools/environment-snapshots.d.ts.map +0 -1
- package/dist/mcp/tools/machines.d.ts +0 -8
- package/dist/mcp/tools/machines.d.ts.map +0 -1
- package/dist/mcp/tools/task-adv-tools.d.ts +0 -20
- package/dist/mcp/tools/task-adv-tools.d.ts.map +0 -1
- package/dist/mcp/tools/task-auto-tools.d.ts +0 -20
- package/dist/mcp/tools/task-auto-tools.d.ts.map +0 -1
- package/dist/mcp/tools/task-crud.d.ts +0 -20
- package/dist/mcp/tools/task-crud.d.ts.map +0 -1
- package/dist/mcp/tools/task-meta-tools.d.ts +0 -12
- package/dist/mcp/tools/task-meta-tools.d.ts.map +0 -1
- package/dist/mcp/tools/task-project-tools.d.ts +0 -20
- package/dist/mcp/tools/task-project-tools.d.ts.map +0 -1
- package/dist/mcp/tools/task-rel-tools.d.ts +0 -19
- package/dist/mcp/tools/task-rel-tools.d.ts.map +0 -1
- package/dist/mcp/tools/task-resources.d.ts +0 -13
- package/dist/mcp/tools/task-resources.d.ts.map +0 -1
- package/dist/mcp/tools/task-workflow-tools.d.ts +0 -20
- package/dist/mcp/tools/task-workflow-tools.d.ts.map +0 -1
- package/dist/mcp/tools/templates.d.ts +0 -9
- package/dist/mcp/tools/templates.d.ts.map +0 -1
- package/dist/mcp/tools/webhooks.d.ts +0 -8
- package/dist/mcp/tools/webhooks.d.ts.map +0 -1
- package/dist/mcp/tools/workflow-prompts.d.ts +0 -3
- package/dist/mcp/tools/workflow-prompts.d.ts.map +0 -1
- package/dist/mcp.d.ts +0 -42
- package/dist/mcp.d.ts.map +0 -1
- package/dist/mcp.js +0 -554
- package/dist/registry.d.ts +0 -35
- package/dist/registry.d.ts.map +0 -1
- package/dist/registry.js +0 -18345
- package/dist/sdk/client.d.ts +0 -383
- package/dist/sdk/client.d.ts.map +0 -1
- package/dist/sdk/index.d.ts +0 -14
- package/dist/sdk/index.d.ts.map +0 -1
- package/dist/sdk/types.d.ts +0 -198
- package/dist/sdk/types.d.ts.map +0 -1
- package/dist/sdk.d.ts +0 -19
- package/dist/sdk.d.ts.map +0 -1
- package/dist/server/index.d.ts +0 -9
- package/dist/server/index.d.ts.map +0 -1
- package/dist/server/routes.d.ts +0 -85
- package/dist/server/routes.d.ts.map +0 -1
- package/dist/server/serve.d.ts +0 -39
- package/dist/server/serve.d.ts.map +0 -1
- package/dist/storage/index.d.ts +0 -4
- package/dist/storage/index.d.ts.map +0 -1
- package/dist/storage/interfaces.d.ts +0 -185
- package/dist/storage/interfaces.d.ts.map +0 -1
- package/dist/storage/local-sqlite.d.ts +0 -7
- package/dist/storage/local-sqlite.d.ts.map +0 -1
- package/dist/storage.d.ts +0 -4
- package/dist/storage.d.ts.map +0 -1
- package/dist/storage.js +0 -8380
- package/dist/test/no-network.d.ts +0 -7
- package/dist/test/no-network.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -1032
- package/dist/types/index.d.ts.map +0 -1
package/dist/types/index.d.ts
DELETED
|
@@ -1,1032 +0,0 @@
|
|
|
1
|
-
export declare const TASK_STATUSES: readonly ["pending", "in_progress", "completed", "failed", "cancelled"];
|
|
2
|
-
export type TaskStatus = (typeof TASK_STATUSES)[number];
|
|
3
|
-
export declare const TASK_PRIORITIES: readonly ["low", "medium", "high", "critical"];
|
|
4
|
-
export type TaskPriority = (typeof TASK_PRIORITIES)[number];
|
|
5
|
-
export declare const PLAN_STATUSES: readonly ["active", "completed", "archived"];
|
|
6
|
-
export type PlanStatus = (typeof PLAN_STATUSES)[number];
|
|
7
|
-
export interface ProjectSource {
|
|
8
|
-
id: string;
|
|
9
|
-
project_id: string;
|
|
10
|
-
type: string;
|
|
11
|
-
name: string;
|
|
12
|
-
uri: string;
|
|
13
|
-
description: string | null;
|
|
14
|
-
metadata: Record<string, unknown>;
|
|
15
|
-
created_at: string;
|
|
16
|
-
updated_at: string;
|
|
17
|
-
}
|
|
18
|
-
export interface ProjectSourceRow {
|
|
19
|
-
id: string;
|
|
20
|
-
project_id: string;
|
|
21
|
-
type: string;
|
|
22
|
-
name: string;
|
|
23
|
-
uri: string;
|
|
24
|
-
description: string | null;
|
|
25
|
-
metadata: string | null;
|
|
26
|
-
created_at: string;
|
|
27
|
-
updated_at: string;
|
|
28
|
-
}
|
|
29
|
-
export interface CreateProjectSourceInput {
|
|
30
|
-
project_id: string;
|
|
31
|
-
type: string;
|
|
32
|
-
name: string;
|
|
33
|
-
uri: string;
|
|
34
|
-
description?: string;
|
|
35
|
-
metadata?: Record<string, unknown>;
|
|
36
|
-
}
|
|
37
|
-
export interface Project {
|
|
38
|
-
id: string;
|
|
39
|
-
name: string;
|
|
40
|
-
path: string;
|
|
41
|
-
description: string | null;
|
|
42
|
-
task_list_id: string | null;
|
|
43
|
-
task_prefix: string | null;
|
|
44
|
-
task_counter: number;
|
|
45
|
-
created_at: string;
|
|
46
|
-
updated_at: string;
|
|
47
|
-
sources?: ProjectSource[];
|
|
48
|
-
}
|
|
49
|
-
export interface CreateProjectInput {
|
|
50
|
-
name: string;
|
|
51
|
-
path: string;
|
|
52
|
-
description?: string;
|
|
53
|
-
task_list_id?: string;
|
|
54
|
-
task_prefix?: string;
|
|
55
|
-
}
|
|
56
|
-
export interface Org {
|
|
57
|
-
id: string;
|
|
58
|
-
name: string;
|
|
59
|
-
description: string | null;
|
|
60
|
-
metadata: Record<string, unknown>;
|
|
61
|
-
created_at: string;
|
|
62
|
-
updated_at: string;
|
|
63
|
-
}
|
|
64
|
-
export interface CreateOrgInput {
|
|
65
|
-
name: string;
|
|
66
|
-
description?: string;
|
|
67
|
-
metadata?: Record<string, unknown>;
|
|
68
|
-
}
|
|
69
|
-
export interface Plan {
|
|
70
|
-
id: string;
|
|
71
|
-
project_id: string | null;
|
|
72
|
-
task_list_id: string | null;
|
|
73
|
-
agent_id: string | null;
|
|
74
|
-
name: string;
|
|
75
|
-
description: string | null;
|
|
76
|
-
status: PlanStatus;
|
|
77
|
-
created_at: string;
|
|
78
|
-
updated_at: string;
|
|
79
|
-
}
|
|
80
|
-
export interface CreatePlanInput {
|
|
81
|
-
name: string;
|
|
82
|
-
project_id?: string;
|
|
83
|
-
task_list_id?: string;
|
|
84
|
-
agent_id?: string;
|
|
85
|
-
description?: string;
|
|
86
|
-
status?: PlanStatus;
|
|
87
|
-
}
|
|
88
|
-
export interface UpdatePlanInput {
|
|
89
|
-
name?: string;
|
|
90
|
-
description?: string;
|
|
91
|
-
status?: PlanStatus;
|
|
92
|
-
task_list_id?: string;
|
|
93
|
-
agent_id?: string;
|
|
94
|
-
}
|
|
95
|
-
export interface Machine {
|
|
96
|
-
id: string;
|
|
97
|
-
name: string;
|
|
98
|
-
hostname: string | null;
|
|
99
|
-
platform: string | null;
|
|
100
|
-
ssh_address: string | null;
|
|
101
|
-
is_primary: boolean;
|
|
102
|
-
last_seen_at: string;
|
|
103
|
-
archived_at: string | null;
|
|
104
|
-
metadata: Record<string, unknown>;
|
|
105
|
-
created_at: string;
|
|
106
|
-
}
|
|
107
|
-
export interface MachineTopologyMetadata {
|
|
108
|
-
tailscale_name?: string;
|
|
109
|
-
tailscale_ip?: string;
|
|
110
|
-
lan_address?: string;
|
|
111
|
-
workspace_path?: string;
|
|
112
|
-
git_root?: string;
|
|
113
|
-
arch?: string;
|
|
114
|
-
}
|
|
115
|
-
export interface MachineTopologySummary {
|
|
116
|
-
id: string;
|
|
117
|
-
name: string;
|
|
118
|
-
hostname: string | null;
|
|
119
|
-
platform: string | null;
|
|
120
|
-
ssh_address: string | null;
|
|
121
|
-
is_primary: boolean;
|
|
122
|
-
archived_at: string | null;
|
|
123
|
-
last_seen_at: string;
|
|
124
|
-
stale: boolean;
|
|
125
|
-
stale_minutes: number;
|
|
126
|
-
topology: MachineTopologyMetadata;
|
|
127
|
-
}
|
|
128
|
-
export type MachinePathIssueType = "missing_local_path" | "path_mismatch" | "path_missing";
|
|
129
|
-
export interface MachinePathIssue {
|
|
130
|
-
type: MachinePathIssueType;
|
|
131
|
-
project_id: string;
|
|
132
|
-
project_name: string;
|
|
133
|
-
machine_id?: string;
|
|
134
|
-
machine_name?: string;
|
|
135
|
-
path?: string;
|
|
136
|
-
paths?: Array<{
|
|
137
|
-
machine_id: string;
|
|
138
|
-
machine_name: string;
|
|
139
|
-
path: string;
|
|
140
|
-
}>;
|
|
141
|
-
message: string;
|
|
142
|
-
}
|
|
143
|
-
export interface MachineTopologyDiagnostics {
|
|
144
|
-
generated_at: string;
|
|
145
|
-
stale_after_minutes: number;
|
|
146
|
-
local_machine: Machine | null;
|
|
147
|
-
machines: MachineTopologySummary[];
|
|
148
|
-
stale_machines: MachineTopologySummary[];
|
|
149
|
-
path_issues: MachinePathIssue[];
|
|
150
|
-
}
|
|
151
|
-
export interface MachineRow {
|
|
152
|
-
id: string;
|
|
153
|
-
name: string;
|
|
154
|
-
hostname: string | null;
|
|
155
|
-
platform: string | null;
|
|
156
|
-
ssh_address: string | null;
|
|
157
|
-
is_primary: number;
|
|
158
|
-
last_seen_at: string;
|
|
159
|
-
archived_at: string | null;
|
|
160
|
-
metadata: string | null;
|
|
161
|
-
created_at: string;
|
|
162
|
-
}
|
|
163
|
-
export type AgentStatus = "active" | "archived";
|
|
164
|
-
export interface Agent {
|
|
165
|
-
id: string;
|
|
166
|
-
name: string;
|
|
167
|
-
description: string | null;
|
|
168
|
-
role: string | null;
|
|
169
|
-
title: string | null;
|
|
170
|
-
level: string | null;
|
|
171
|
-
permissions: string[];
|
|
172
|
-
reports_to: string | null;
|
|
173
|
-
org_id: string | null;
|
|
174
|
-
capabilities: string[];
|
|
175
|
-
status: AgentStatus;
|
|
176
|
-
metadata: Record<string, unknown>;
|
|
177
|
-
created_at: string;
|
|
178
|
-
last_seen_at: string;
|
|
179
|
-
session_id: string | null;
|
|
180
|
-
working_dir: string | null;
|
|
181
|
-
active_project_id: string | null;
|
|
182
|
-
}
|
|
183
|
-
export interface AgentRow {
|
|
184
|
-
id: string;
|
|
185
|
-
name: string;
|
|
186
|
-
description: string | null;
|
|
187
|
-
role: string | null;
|
|
188
|
-
title: string | null;
|
|
189
|
-
level: string | null;
|
|
190
|
-
permissions: string | null;
|
|
191
|
-
capabilities: string | null;
|
|
192
|
-
reports_to: string | null;
|
|
193
|
-
org_id: string | null;
|
|
194
|
-
status: string;
|
|
195
|
-
metadata: string | null;
|
|
196
|
-
created_at: string;
|
|
197
|
-
last_seen_at: string;
|
|
198
|
-
session_id: string | null;
|
|
199
|
-
working_dir: string | null;
|
|
200
|
-
active_project_id: string | null;
|
|
201
|
-
}
|
|
202
|
-
export interface RegisterAgentInput {
|
|
203
|
-
name: string;
|
|
204
|
-
description?: string;
|
|
205
|
-
role?: string;
|
|
206
|
-
title?: string;
|
|
207
|
-
level?: string;
|
|
208
|
-
pool?: string[];
|
|
209
|
-
permissions?: string[];
|
|
210
|
-
capabilities?: string[];
|
|
211
|
-
reports_to?: string;
|
|
212
|
-
org_id?: string;
|
|
213
|
-
metadata?: Record<string, unknown>;
|
|
214
|
-
session_id?: string;
|
|
215
|
-
working_dir?: string;
|
|
216
|
-
project_id?: string;
|
|
217
|
-
force?: boolean;
|
|
218
|
-
}
|
|
219
|
-
export interface AgentConflictError {
|
|
220
|
-
conflict: true;
|
|
221
|
-
existing_id: string;
|
|
222
|
-
existing_name: string;
|
|
223
|
-
last_seen_at: string;
|
|
224
|
-
session_hint: string | null;
|
|
225
|
-
working_dir: string | null;
|
|
226
|
-
message: string;
|
|
227
|
-
suggestions?: string[];
|
|
228
|
-
}
|
|
229
|
-
export interface ApiKey {
|
|
230
|
-
id: string;
|
|
231
|
-
name: string;
|
|
232
|
-
prefix: string;
|
|
233
|
-
permissions: string[];
|
|
234
|
-
created_at: string;
|
|
235
|
-
last_used_at: string | null;
|
|
236
|
-
expires_at: string | null;
|
|
237
|
-
revoked_at: string | null;
|
|
238
|
-
}
|
|
239
|
-
export interface TaskList {
|
|
240
|
-
id: string;
|
|
241
|
-
project_id: string | null;
|
|
242
|
-
slug: string;
|
|
243
|
-
name: string;
|
|
244
|
-
description: string | null;
|
|
245
|
-
metadata: Record<string, unknown>;
|
|
246
|
-
created_at: string;
|
|
247
|
-
updated_at: string;
|
|
248
|
-
}
|
|
249
|
-
export interface TaskListRow {
|
|
250
|
-
id: string;
|
|
251
|
-
project_id: string | null;
|
|
252
|
-
slug: string;
|
|
253
|
-
name: string;
|
|
254
|
-
description: string | null;
|
|
255
|
-
metadata: string | null;
|
|
256
|
-
created_at: string;
|
|
257
|
-
updated_at: string;
|
|
258
|
-
}
|
|
259
|
-
export interface CreateTaskListInput {
|
|
260
|
-
name: string;
|
|
261
|
-
slug?: string;
|
|
262
|
-
project_id?: string;
|
|
263
|
-
description?: string;
|
|
264
|
-
metadata?: Record<string, unknown>;
|
|
265
|
-
}
|
|
266
|
-
export interface UpdateTaskListInput {
|
|
267
|
-
name?: string;
|
|
268
|
-
description?: string;
|
|
269
|
-
metadata?: Record<string, unknown>;
|
|
270
|
-
}
|
|
271
|
-
export interface Task {
|
|
272
|
-
id: string;
|
|
273
|
-
short_id: string | null;
|
|
274
|
-
project_id: string | null;
|
|
275
|
-
parent_id: string | null;
|
|
276
|
-
plan_id: string | null;
|
|
277
|
-
task_list_id: string | null;
|
|
278
|
-
title: string;
|
|
279
|
-
description: string | null;
|
|
280
|
-
status: TaskStatus;
|
|
281
|
-
priority: TaskPriority;
|
|
282
|
-
agent_id: string | null;
|
|
283
|
-
assigned_to: string | null;
|
|
284
|
-
session_id: string | null;
|
|
285
|
-
working_dir: string | null;
|
|
286
|
-
tags: string[];
|
|
287
|
-
metadata: Record<string, unknown>;
|
|
288
|
-
version: number;
|
|
289
|
-
locked_by: string | null;
|
|
290
|
-
locked_at: string | null;
|
|
291
|
-
created_at: string;
|
|
292
|
-
updated_at: string;
|
|
293
|
-
started_at: string | null;
|
|
294
|
-
completed_at: string | null;
|
|
295
|
-
due_at: string | null;
|
|
296
|
-
estimated_minutes: number | null;
|
|
297
|
-
actual_minutes: number | null;
|
|
298
|
-
requires_approval: boolean;
|
|
299
|
-
approved_by: string | null;
|
|
300
|
-
approved_at: string | null;
|
|
301
|
-
recurrence_rule: string | null;
|
|
302
|
-
recurrence_parent_id: string | null;
|
|
303
|
-
spawns_template_id: string | null;
|
|
304
|
-
confidence: number | null;
|
|
305
|
-
reason: string | null;
|
|
306
|
-
spawned_from_session: string | null;
|
|
307
|
-
assigned_by: string | null;
|
|
308
|
-
assigned_from_project: string | null;
|
|
309
|
-
task_type: string | null;
|
|
310
|
-
cost_tokens: number;
|
|
311
|
-
cost_usd: number;
|
|
312
|
-
delegated_from: string | null;
|
|
313
|
-
delegation_depth: number;
|
|
314
|
-
retry_count: number;
|
|
315
|
-
max_retries: number;
|
|
316
|
-
retry_after: string | null;
|
|
317
|
-
sla_minutes: number | null;
|
|
318
|
-
runner_id: string | null;
|
|
319
|
-
runner_started_at: string | null;
|
|
320
|
-
runner_completed_at: string | null;
|
|
321
|
-
current_step: string | null;
|
|
322
|
-
total_steps: number | null;
|
|
323
|
-
}
|
|
324
|
-
export interface ChecklistItem {
|
|
325
|
-
id: string;
|
|
326
|
-
task_id: string;
|
|
327
|
-
position: number;
|
|
328
|
-
text: string;
|
|
329
|
-
checked: boolean;
|
|
330
|
-
created_at: string;
|
|
331
|
-
updated_at: string;
|
|
332
|
-
}
|
|
333
|
-
export interface ChecklistItemRow {
|
|
334
|
-
id: string;
|
|
335
|
-
task_id: string;
|
|
336
|
-
position: number;
|
|
337
|
-
text: string;
|
|
338
|
-
checked: number;
|
|
339
|
-
created_at: string;
|
|
340
|
-
updated_at: string;
|
|
341
|
-
}
|
|
342
|
-
export interface CreateChecklistItemInput {
|
|
343
|
-
task_id: string;
|
|
344
|
-
text: string;
|
|
345
|
-
position?: number;
|
|
346
|
-
}
|
|
347
|
-
export interface TaskWithRelations extends Task {
|
|
348
|
-
subtasks: Task[];
|
|
349
|
-
dependencies: Task[];
|
|
350
|
-
blocked_by: Task[];
|
|
351
|
-
comments: TaskComment[];
|
|
352
|
-
parent: Task | null;
|
|
353
|
-
checklist: ChecklistItem[];
|
|
354
|
-
}
|
|
355
|
-
export interface CreateTaskInput {
|
|
356
|
-
title: string;
|
|
357
|
-
description?: string;
|
|
358
|
-
project_id?: string;
|
|
359
|
-
parent_id?: string;
|
|
360
|
-
plan_id?: string;
|
|
361
|
-
task_list_id?: string;
|
|
362
|
-
cycle_id?: string;
|
|
363
|
-
status?: TaskStatus;
|
|
364
|
-
priority?: TaskPriority;
|
|
365
|
-
agent_id?: string;
|
|
366
|
-
assigned_to?: string;
|
|
367
|
-
session_id?: string;
|
|
368
|
-
working_dir?: string;
|
|
369
|
-
tags?: string[];
|
|
370
|
-
metadata?: Record<string, unknown>;
|
|
371
|
-
due_at?: string;
|
|
372
|
-
estimated_minutes?: number;
|
|
373
|
-
sla_minutes?: number;
|
|
374
|
-
confidence?: number;
|
|
375
|
-
retry_count?: number;
|
|
376
|
-
max_retries?: number;
|
|
377
|
-
retry_after?: string | null;
|
|
378
|
-
requires_approval?: boolean;
|
|
379
|
-
recurrence_rule?: string;
|
|
380
|
-
recurrence_parent_id?: string;
|
|
381
|
-
spawns_template_id?: string;
|
|
382
|
-
reason?: string;
|
|
383
|
-
spawned_from_session?: string;
|
|
384
|
-
assigned_by?: string;
|
|
385
|
-
assigned_from_project?: string;
|
|
386
|
-
task_type?: string;
|
|
387
|
-
}
|
|
388
|
-
export interface UpdateTaskInput {
|
|
389
|
-
title?: string;
|
|
390
|
-
description?: string;
|
|
391
|
-
status?: TaskStatus;
|
|
392
|
-
priority?: TaskPriority;
|
|
393
|
-
project_id?: string | null;
|
|
394
|
-
assigned_to?: string;
|
|
395
|
-
plan_id?: string;
|
|
396
|
-
task_list_id?: string;
|
|
397
|
-
cycle_id?: string | null;
|
|
398
|
-
tags?: string[];
|
|
399
|
-
metadata?: Record<string, unknown>;
|
|
400
|
-
due_at?: string | null;
|
|
401
|
-
estimated_minutes?: number;
|
|
402
|
-
sla_minutes?: number | null;
|
|
403
|
-
actual_minutes?: number;
|
|
404
|
-
completed_at?: string | null;
|
|
405
|
-
confidence?: number | null;
|
|
406
|
-
retry_count?: number;
|
|
407
|
-
max_retries?: number;
|
|
408
|
-
retry_after?: string | null;
|
|
409
|
-
requires_approval?: boolean;
|
|
410
|
-
approved_by?: string;
|
|
411
|
-
recurrence_rule?: string | null;
|
|
412
|
-
version: number;
|
|
413
|
-
task_type?: string | null;
|
|
414
|
-
}
|
|
415
|
-
export interface TaskFilter {
|
|
416
|
-
project_id?: string;
|
|
417
|
-
parent_id?: string | null;
|
|
418
|
-
plan_id?: string;
|
|
419
|
-
task_list_id?: string;
|
|
420
|
-
/** Filter to specific task IDs. When provided, only matching tasks are returned. */
|
|
421
|
-
ids?: string[];
|
|
422
|
-
status?: TaskStatus | TaskStatus[];
|
|
423
|
-
priority?: TaskPriority | TaskPriority[];
|
|
424
|
-
assigned_to?: string;
|
|
425
|
-
agent_id?: string;
|
|
426
|
-
session_id?: string;
|
|
427
|
-
tags?: string[];
|
|
428
|
-
has_recurrence?: boolean;
|
|
429
|
-
include_subtasks?: boolean;
|
|
430
|
-
task_type?: string | string[];
|
|
431
|
-
limit?: number;
|
|
432
|
-
offset?: number;
|
|
433
|
-
/** Opaque cursor from a prior list_tasks response — stable pagination that survives concurrent mutations */
|
|
434
|
-
cursor?: string;
|
|
435
|
-
/** When true, include archived tasks. Default: false (archived tasks excluded) */
|
|
436
|
-
include_archived?: boolean;
|
|
437
|
-
}
|
|
438
|
-
export interface TaskDependency {
|
|
439
|
-
task_id: string;
|
|
440
|
-
depends_on: string;
|
|
441
|
-
external_project_id?: string | null;
|
|
442
|
-
external_task_id?: string | null;
|
|
443
|
-
}
|
|
444
|
-
export interface TaskTimeLog {
|
|
445
|
-
id: string;
|
|
446
|
-
task_id: string;
|
|
447
|
-
run_id: string | null;
|
|
448
|
-
focus_session_id: string | null;
|
|
449
|
-
agent_id: string | null;
|
|
450
|
-
started_at: string | null;
|
|
451
|
-
ended_at: string | null;
|
|
452
|
-
minutes: number;
|
|
453
|
-
notes: string | null;
|
|
454
|
-
created_at: string;
|
|
455
|
-
}
|
|
456
|
-
export type FocusSessionStatus = "active" | "paused" | "completed" | "cancelled";
|
|
457
|
-
export interface FocusSession {
|
|
458
|
-
id: string;
|
|
459
|
-
task_id: string | null;
|
|
460
|
-
plan_id: string | null;
|
|
461
|
-
run_id: string | null;
|
|
462
|
-
agent_id: string | null;
|
|
463
|
-
title: string | null;
|
|
464
|
-
status: FocusSessionStatus;
|
|
465
|
-
started_at: string;
|
|
466
|
-
last_resumed_at: string | null;
|
|
467
|
-
paused_at: string | null;
|
|
468
|
-
ended_at: string | null;
|
|
469
|
-
actual_minutes: number;
|
|
470
|
-
idle_after_minutes: number | null;
|
|
471
|
-
notes: string | null;
|
|
472
|
-
metadata: Record<string, unknown>;
|
|
473
|
-
created_at: string;
|
|
474
|
-
updated_at: string;
|
|
475
|
-
}
|
|
476
|
-
export interface FocusSessionRow {
|
|
477
|
-
id: string;
|
|
478
|
-
task_id: string | null;
|
|
479
|
-
plan_id: string | null;
|
|
480
|
-
run_id: string | null;
|
|
481
|
-
agent_id: string | null;
|
|
482
|
-
title: string | null;
|
|
483
|
-
status: FocusSessionStatus;
|
|
484
|
-
started_at: string;
|
|
485
|
-
last_resumed_at: string | null;
|
|
486
|
-
paused_at: string | null;
|
|
487
|
-
ended_at: string | null;
|
|
488
|
-
actual_minutes: number;
|
|
489
|
-
idle_after_minutes: number | null;
|
|
490
|
-
notes: string | null;
|
|
491
|
-
metadata: string | null;
|
|
492
|
-
created_at: string;
|
|
493
|
-
updated_at: string;
|
|
494
|
-
}
|
|
495
|
-
export type BoardScope = "tasks" | "plans";
|
|
496
|
-
export interface BoardLane {
|
|
497
|
-
id: string;
|
|
498
|
-
name: string;
|
|
499
|
-
statuses: string[];
|
|
500
|
-
wip_limit: number | null;
|
|
501
|
-
position: number;
|
|
502
|
-
}
|
|
503
|
-
export interface TaskBoard {
|
|
504
|
-
id: string;
|
|
505
|
-
name: string;
|
|
506
|
-
scope: BoardScope;
|
|
507
|
-
project_id: string | null;
|
|
508
|
-
task_list_id: string | null;
|
|
509
|
-
plan_id: string | null;
|
|
510
|
-
agent_id: string | null;
|
|
511
|
-
lanes: BoardLane[];
|
|
512
|
-
filters: Record<string, unknown>;
|
|
513
|
-
created_at: string;
|
|
514
|
-
updated_at: string;
|
|
515
|
-
}
|
|
516
|
-
export interface TaskBoardRow {
|
|
517
|
-
id: string;
|
|
518
|
-
name: string;
|
|
519
|
-
scope: BoardScope;
|
|
520
|
-
project_id: string | null;
|
|
521
|
-
task_list_id: string | null;
|
|
522
|
-
plan_id: string | null;
|
|
523
|
-
agent_id: string | null;
|
|
524
|
-
lanes: string | null;
|
|
525
|
-
filters: string | null;
|
|
526
|
-
created_at: string;
|
|
527
|
-
updated_at: string;
|
|
528
|
-
}
|
|
529
|
-
export interface BoardCard {
|
|
530
|
-
id: string;
|
|
531
|
-
short_id: string | null;
|
|
532
|
-
title: string;
|
|
533
|
-
status: string;
|
|
534
|
-
priority: TaskPriority | null;
|
|
535
|
-
project_id: string | null;
|
|
536
|
-
plan_id: string | null;
|
|
537
|
-
task_list_id: string | null;
|
|
538
|
-
assigned_to: string | null;
|
|
539
|
-
blocked: boolean;
|
|
540
|
-
ready: boolean;
|
|
541
|
-
badges: string[];
|
|
542
|
-
updated_at: string;
|
|
543
|
-
}
|
|
544
|
-
export interface BoardLaneSnapshot {
|
|
545
|
-
lane: BoardLane;
|
|
546
|
-
count: number;
|
|
547
|
-
wip_limit: number | null;
|
|
548
|
-
wip_exceeded: boolean;
|
|
549
|
-
cards: BoardCard[];
|
|
550
|
-
}
|
|
551
|
-
export interface BoardSnapshot {
|
|
552
|
-
board: TaskBoard;
|
|
553
|
-
generated_at: string;
|
|
554
|
-
lanes: BoardLaneSnapshot[];
|
|
555
|
-
totals: {
|
|
556
|
-
cards: number;
|
|
557
|
-
blocked: number;
|
|
558
|
-
ready: number;
|
|
559
|
-
wip_exceeded_lanes: number;
|
|
560
|
-
};
|
|
561
|
-
keyboard: {
|
|
562
|
-
move_left: string;
|
|
563
|
-
move_right: string;
|
|
564
|
-
move_up: string;
|
|
565
|
-
move_down: string;
|
|
566
|
-
open: string;
|
|
567
|
-
quit: string;
|
|
568
|
-
};
|
|
569
|
-
}
|
|
570
|
-
export type CalendarEventKind = "task_due" | "task_sla" | "task_reminder" | "milestone" | "work_block" | "run" | "imported";
|
|
571
|
-
export interface LocalCalendarItem {
|
|
572
|
-
id: string;
|
|
573
|
-
kind: CalendarEventKind;
|
|
574
|
-
title: string;
|
|
575
|
-
description: string | null;
|
|
576
|
-
starts_at: string;
|
|
577
|
-
ends_at: string | null;
|
|
578
|
-
timezone: string | null;
|
|
579
|
-
project_id: string | null;
|
|
580
|
-
task_id: string | null;
|
|
581
|
-
plan_id: string | null;
|
|
582
|
-
run_id: string | null;
|
|
583
|
-
recurrence_rule: string | null;
|
|
584
|
-
metadata: Record<string, unknown>;
|
|
585
|
-
created_at: string;
|
|
586
|
-
updated_at: string;
|
|
587
|
-
}
|
|
588
|
-
export interface LocalCalendarItemRow {
|
|
589
|
-
id: string;
|
|
590
|
-
kind: CalendarEventKind;
|
|
591
|
-
title: string;
|
|
592
|
-
description: string | null;
|
|
593
|
-
starts_at: string;
|
|
594
|
-
ends_at: string | null;
|
|
595
|
-
timezone: string | null;
|
|
596
|
-
project_id: string | null;
|
|
597
|
-
task_id: string | null;
|
|
598
|
-
plan_id: string | null;
|
|
599
|
-
run_id: string | null;
|
|
600
|
-
recurrence_rule: string | null;
|
|
601
|
-
metadata: string | null;
|
|
602
|
-
created_at: string;
|
|
603
|
-
updated_at: string;
|
|
604
|
-
}
|
|
605
|
-
export interface CalendarEvent {
|
|
606
|
-
id: string;
|
|
607
|
-
kind: CalendarEventKind;
|
|
608
|
-
title: string;
|
|
609
|
-
description: string | null;
|
|
610
|
-
starts_at: string;
|
|
611
|
-
ends_at: string | null;
|
|
612
|
-
timezone: string | null;
|
|
613
|
-
project_id: string | null;
|
|
614
|
-
task_id: string | null;
|
|
615
|
-
plan_id: string | null;
|
|
616
|
-
run_id: string | null;
|
|
617
|
-
recurrence_rule: string | null;
|
|
618
|
-
source: "task" | "run" | "local";
|
|
619
|
-
badges: string[];
|
|
620
|
-
metadata: Record<string, unknown>;
|
|
621
|
-
}
|
|
622
|
-
export interface TaskWatcher {
|
|
623
|
-
id: string;
|
|
624
|
-
task_id: string;
|
|
625
|
-
agent_id: string;
|
|
626
|
-
created_at: string;
|
|
627
|
-
}
|
|
628
|
-
export interface TaskWatcherRow {
|
|
629
|
-
id: string;
|
|
630
|
-
task_id: string;
|
|
631
|
-
agent_id: string;
|
|
632
|
-
created_at: string;
|
|
633
|
-
}
|
|
634
|
-
export interface TaskComment {
|
|
635
|
-
id: string;
|
|
636
|
-
task_id: string;
|
|
637
|
-
agent_id: string | null;
|
|
638
|
-
session_id: string | null;
|
|
639
|
-
content: string;
|
|
640
|
-
type: 'comment' | 'progress' | 'note';
|
|
641
|
-
progress_pct: number | null;
|
|
642
|
-
created_at: string;
|
|
643
|
-
}
|
|
644
|
-
export interface CreateCommentInput {
|
|
645
|
-
task_id: string;
|
|
646
|
-
content: string;
|
|
647
|
-
agent_id?: string;
|
|
648
|
-
session_id?: string;
|
|
649
|
-
type?: 'comment' | 'progress' | 'note';
|
|
650
|
-
progress_pct?: number;
|
|
651
|
-
}
|
|
652
|
-
export interface Session {
|
|
653
|
-
id: string;
|
|
654
|
-
agent_id: string | null;
|
|
655
|
-
project_id: string | null;
|
|
656
|
-
working_dir: string | null;
|
|
657
|
-
started_at: string;
|
|
658
|
-
last_activity: string;
|
|
659
|
-
metadata: Record<string, unknown>;
|
|
660
|
-
}
|
|
661
|
-
export interface CreateSessionInput {
|
|
662
|
-
agent_id?: string;
|
|
663
|
-
project_id?: string;
|
|
664
|
-
working_dir?: string;
|
|
665
|
-
metadata?: Record<string, unknown>;
|
|
666
|
-
}
|
|
667
|
-
export interface TaskRow {
|
|
668
|
-
id: string;
|
|
669
|
-
short_id: string | null;
|
|
670
|
-
project_id: string | null;
|
|
671
|
-
parent_id: string | null;
|
|
672
|
-
plan_id: string | null;
|
|
673
|
-
task_list_id: string | null;
|
|
674
|
-
title: string;
|
|
675
|
-
description: string | null;
|
|
676
|
-
status: string;
|
|
677
|
-
priority: string;
|
|
678
|
-
agent_id: string | null;
|
|
679
|
-
assigned_to: string | null;
|
|
680
|
-
session_id: string | null;
|
|
681
|
-
working_dir: string | null;
|
|
682
|
-
tags: string | null;
|
|
683
|
-
metadata: string | null;
|
|
684
|
-
version: number;
|
|
685
|
-
locked_by: string | null;
|
|
686
|
-
locked_at: string | null;
|
|
687
|
-
created_at: string;
|
|
688
|
-
updated_at: string;
|
|
689
|
-
started_at: string | null;
|
|
690
|
-
completed_at: string | null;
|
|
691
|
-
due_at: string | null;
|
|
692
|
-
estimated_minutes: number | null;
|
|
693
|
-
requires_approval: number;
|
|
694
|
-
approved_by: string | null;
|
|
695
|
-
approved_at: string | null;
|
|
696
|
-
recurrence_rule: string | null;
|
|
697
|
-
recurrence_parent_id: string | null;
|
|
698
|
-
spawns_template_id: string | null;
|
|
699
|
-
confidence: number | null;
|
|
700
|
-
reason: string | null;
|
|
701
|
-
spawned_from_session: string | null;
|
|
702
|
-
assigned_by: string | null;
|
|
703
|
-
assigned_from_project: string | null;
|
|
704
|
-
task_type: string | null;
|
|
705
|
-
cost_tokens: number;
|
|
706
|
-
cost_usd: number;
|
|
707
|
-
delegated_from: string | null;
|
|
708
|
-
delegation_depth: number;
|
|
709
|
-
retry_count: number;
|
|
710
|
-
max_retries: number;
|
|
711
|
-
retry_after: string | null;
|
|
712
|
-
sla_minutes: number | null;
|
|
713
|
-
actual_minutes: number | null;
|
|
714
|
-
runner_id: string | null;
|
|
715
|
-
runner_started_at: string | null;
|
|
716
|
-
runner_completed_at: string | null;
|
|
717
|
-
current_step: string | null;
|
|
718
|
-
total_steps: number | null;
|
|
719
|
-
}
|
|
720
|
-
export interface SessionRow {
|
|
721
|
-
id: string;
|
|
722
|
-
agent_id: string | null;
|
|
723
|
-
project_id: string | null;
|
|
724
|
-
working_dir: string | null;
|
|
725
|
-
started_at: string;
|
|
726
|
-
last_activity: string;
|
|
727
|
-
metadata: string | null;
|
|
728
|
-
}
|
|
729
|
-
export interface LockResult {
|
|
730
|
-
success: boolean;
|
|
731
|
-
locked_by?: string;
|
|
732
|
-
locked_at?: string;
|
|
733
|
-
expires_at?: string;
|
|
734
|
-
error?: string;
|
|
735
|
-
}
|
|
736
|
-
export interface TaskHistory {
|
|
737
|
-
id: string;
|
|
738
|
-
task_id: string;
|
|
739
|
-
action: string;
|
|
740
|
-
field: string | null;
|
|
741
|
-
old_value: string | null;
|
|
742
|
-
new_value: string | null;
|
|
743
|
-
agent_id: string | null;
|
|
744
|
-
created_at: string;
|
|
745
|
-
}
|
|
746
|
-
export interface Webhook {
|
|
747
|
-
id: string;
|
|
748
|
-
url: string;
|
|
749
|
-
events: string[];
|
|
750
|
-
secret: string | null;
|
|
751
|
-
active: boolean;
|
|
752
|
-
project_id: string | null;
|
|
753
|
-
task_list_id: string | null;
|
|
754
|
-
agent_id: string | null;
|
|
755
|
-
task_id: string | null;
|
|
756
|
-
created_at: string;
|
|
757
|
-
}
|
|
758
|
-
export interface CreateWebhookInput {
|
|
759
|
-
url: string;
|
|
760
|
-
events?: string[];
|
|
761
|
-
secret?: string;
|
|
762
|
-
project_id?: string;
|
|
763
|
-
task_list_id?: string;
|
|
764
|
-
agent_id?: string;
|
|
765
|
-
task_id?: string;
|
|
766
|
-
}
|
|
767
|
-
export interface TemplateVariable {
|
|
768
|
-
name: string;
|
|
769
|
-
required: boolean;
|
|
770
|
-
default?: string;
|
|
771
|
-
description?: string;
|
|
772
|
-
}
|
|
773
|
-
export interface TaskTemplate {
|
|
774
|
-
id: string;
|
|
775
|
-
name: string;
|
|
776
|
-
title_pattern: string;
|
|
777
|
-
description: string | null;
|
|
778
|
-
priority: TaskPriority;
|
|
779
|
-
tags: string[];
|
|
780
|
-
variables: TemplateVariable[];
|
|
781
|
-
version: number;
|
|
782
|
-
project_id: string | null;
|
|
783
|
-
plan_id: string | null;
|
|
784
|
-
metadata: Record<string, unknown>;
|
|
785
|
-
created_at: string;
|
|
786
|
-
}
|
|
787
|
-
export interface CreateTemplateInput {
|
|
788
|
-
name: string;
|
|
789
|
-
title_pattern: string;
|
|
790
|
-
description?: string;
|
|
791
|
-
priority?: TaskPriority;
|
|
792
|
-
tags?: string[];
|
|
793
|
-
variables?: TemplateVariable[];
|
|
794
|
-
project_id?: string;
|
|
795
|
-
plan_id?: string;
|
|
796
|
-
metadata?: Record<string, unknown>;
|
|
797
|
-
tasks?: TemplateTaskInput[];
|
|
798
|
-
}
|
|
799
|
-
export interface TemplateTask {
|
|
800
|
-
id: string;
|
|
801
|
-
template_id: string;
|
|
802
|
-
position: number;
|
|
803
|
-
title_pattern: string;
|
|
804
|
-
description: string | null;
|
|
805
|
-
priority: TaskPriority;
|
|
806
|
-
tags: string[];
|
|
807
|
-
task_type: string | null;
|
|
808
|
-
condition: string | null;
|
|
809
|
-
include_template_id: string | null;
|
|
810
|
-
depends_on_positions: number[];
|
|
811
|
-
metadata: Record<string, unknown>;
|
|
812
|
-
created_at: string;
|
|
813
|
-
}
|
|
814
|
-
export interface TemplateTaskInput {
|
|
815
|
-
title_pattern: string;
|
|
816
|
-
description?: string;
|
|
817
|
-
priority?: TaskPriority;
|
|
818
|
-
tags?: string[];
|
|
819
|
-
task_type?: string;
|
|
820
|
-
condition?: string;
|
|
821
|
-
include_template_id?: string;
|
|
822
|
-
depends_on?: number[];
|
|
823
|
-
metadata?: Record<string, unknown>;
|
|
824
|
-
}
|
|
825
|
-
export interface TemplateWithTasks extends TaskTemplate {
|
|
826
|
-
tasks: TemplateTask[];
|
|
827
|
-
}
|
|
828
|
-
export interface TemplateVersion {
|
|
829
|
-
id: string;
|
|
830
|
-
template_id: string;
|
|
831
|
-
version: number;
|
|
832
|
-
snapshot: string;
|
|
833
|
-
created_at: string;
|
|
834
|
-
}
|
|
835
|
-
export declare class VersionConflictError extends Error {
|
|
836
|
-
taskId: string;
|
|
837
|
-
expectedVersion: number;
|
|
838
|
-
actualVersion: number;
|
|
839
|
-
static readonly code = "VERSION_CONFLICT";
|
|
840
|
-
static readonly suggestion = "Fetch the task with get_task to get the current version before updating.";
|
|
841
|
-
constructor(taskId: string, expectedVersion: number, actualVersion: number);
|
|
842
|
-
}
|
|
843
|
-
export declare class TaskNotFoundError extends Error {
|
|
844
|
-
taskId: string;
|
|
845
|
-
static readonly code = "TASK_NOT_FOUND";
|
|
846
|
-
static readonly suggestion = "Verify the task ID. Use list_tasks or search_tasks to find the correct ID.";
|
|
847
|
-
constructor(taskId: string);
|
|
848
|
-
}
|
|
849
|
-
export declare class ProjectNotFoundError extends Error {
|
|
850
|
-
projectId: string;
|
|
851
|
-
static readonly code = "PROJECT_NOT_FOUND";
|
|
852
|
-
static readonly suggestion = "Use list_projects to see available projects.";
|
|
853
|
-
constructor(projectId: string);
|
|
854
|
-
}
|
|
855
|
-
export declare class PlanNotFoundError extends Error {
|
|
856
|
-
planId: string;
|
|
857
|
-
static readonly code = "PLAN_NOT_FOUND";
|
|
858
|
-
static readonly suggestion = "Use list_plans to see available plans.";
|
|
859
|
-
constructor(planId: string);
|
|
860
|
-
}
|
|
861
|
-
export declare class LockError extends Error {
|
|
862
|
-
taskId: string;
|
|
863
|
-
lockedBy: string;
|
|
864
|
-
static readonly code = "LOCK_ERROR";
|
|
865
|
-
static readonly suggestion = "Wait for the lock to expire (30 min) or contact the lock holder.";
|
|
866
|
-
constructor(taskId: string, lockedBy: string);
|
|
867
|
-
}
|
|
868
|
-
export declare class AgentNotFoundError extends Error {
|
|
869
|
-
agentId: string;
|
|
870
|
-
static readonly code = "AGENT_NOT_FOUND";
|
|
871
|
-
static readonly suggestion = "Use register_agent to create the agent first, or list_agents to find existing ones.";
|
|
872
|
-
constructor(agentId: string);
|
|
873
|
-
}
|
|
874
|
-
export declare class TaskListNotFoundError extends Error {
|
|
875
|
-
taskListId: string;
|
|
876
|
-
static readonly code = "TASK_LIST_NOT_FOUND";
|
|
877
|
-
static readonly suggestion = "Use list_task_lists to see available lists.";
|
|
878
|
-
constructor(taskListId: string);
|
|
879
|
-
}
|
|
880
|
-
export declare class DependencyCycleError extends Error {
|
|
881
|
-
taskId: string;
|
|
882
|
-
dependsOn: string;
|
|
883
|
-
static readonly code = "DEPENDENCY_CYCLE";
|
|
884
|
-
static readonly suggestion = "Check the dependency chain with get_task to avoid circular references.";
|
|
885
|
-
constructor(taskId: string, dependsOn: string);
|
|
886
|
-
}
|
|
887
|
-
export declare class CompletionGuardError extends Error {
|
|
888
|
-
reason: string;
|
|
889
|
-
retryAfterSeconds?: number | undefined;
|
|
890
|
-
static readonly code = "COMPLETION_BLOCKED";
|
|
891
|
-
static readonly suggestion = "Wait for the cooldown period, then retry.";
|
|
892
|
-
constructor(reason: string, retryAfterSeconds?: number | undefined);
|
|
893
|
-
}
|
|
894
|
-
export declare const DISPATCH_STATUSES: readonly ["pending", "sent", "failed", "cancelled"];
|
|
895
|
-
export type DispatchStatus = (typeof DISPATCH_STATUSES)[number];
|
|
896
|
-
/** Parsed tmux target: session:window.pane (all parts optional except window) */
|
|
897
|
-
export interface TmuxTarget {
|
|
898
|
-
session: string | null;
|
|
899
|
-
window: string;
|
|
900
|
-
pane: string | null;
|
|
901
|
-
/** Original spec string, e.g. "main", "work:1", "work:1.0" */
|
|
902
|
-
raw: string;
|
|
903
|
-
}
|
|
904
|
-
export interface Dispatch {
|
|
905
|
-
id: string;
|
|
906
|
-
title: string | null;
|
|
907
|
-
target_window: string;
|
|
908
|
-
task_ids: string[];
|
|
909
|
-
task_list_id: string | null;
|
|
910
|
-
/** Pre-formatted message, or null to format at send time */
|
|
911
|
-
message: string | null;
|
|
912
|
-
/** Delay in ms between send and Enter. null = auto-calculated */
|
|
913
|
-
delay_ms: number | null;
|
|
914
|
-
scheduled_at: string | null;
|
|
915
|
-
status: DispatchStatus;
|
|
916
|
-
error: string | null;
|
|
917
|
-
created_at: string;
|
|
918
|
-
sent_at: string | null;
|
|
919
|
-
}
|
|
920
|
-
export interface DispatchRow {
|
|
921
|
-
id: string;
|
|
922
|
-
title: string | null;
|
|
923
|
-
target_window: string;
|
|
924
|
-
task_ids: string;
|
|
925
|
-
task_list_id: string | null;
|
|
926
|
-
message: string | null;
|
|
927
|
-
delay_ms: number | null;
|
|
928
|
-
scheduled_at: string | null;
|
|
929
|
-
status: string;
|
|
930
|
-
error: string | null;
|
|
931
|
-
created_at: string;
|
|
932
|
-
sent_at: string | null;
|
|
933
|
-
}
|
|
934
|
-
export interface DispatchLog {
|
|
935
|
-
id: string;
|
|
936
|
-
dispatch_id: string;
|
|
937
|
-
target_window: string;
|
|
938
|
-
message: string;
|
|
939
|
-
delay_ms: number;
|
|
940
|
-
status: "sent" | "failed";
|
|
941
|
-
error: string | null;
|
|
942
|
-
created_at: string;
|
|
943
|
-
}
|
|
944
|
-
export interface CreateDispatchInput {
|
|
945
|
-
title?: string;
|
|
946
|
-
target_window: string;
|
|
947
|
-
task_ids?: string[];
|
|
948
|
-
task_list_id?: string;
|
|
949
|
-
/** Pre-format the message. If omitted, formatted at send time from task_ids/task_list_id. */
|
|
950
|
-
message?: string;
|
|
951
|
-
/** Explicit delay in ms. If omitted, auto-calculated from message length. */
|
|
952
|
-
delay_ms?: number;
|
|
953
|
-
/** ISO string. If omitted, dispatch is immediate. */
|
|
954
|
-
scheduled_at?: string;
|
|
955
|
-
}
|
|
956
|
-
export interface ListDispatchesFilter {
|
|
957
|
-
status?: DispatchStatus | DispatchStatus[];
|
|
958
|
-
limit?: number;
|
|
959
|
-
offset?: number;
|
|
960
|
-
}
|
|
961
|
-
export declare class DispatchNotFoundError extends Error {
|
|
962
|
-
dispatchId: string;
|
|
963
|
-
static readonly code = "DISPATCH_NOT_FOUND";
|
|
964
|
-
static readonly suggestion = "Check the dispatch ID with list_dispatches.";
|
|
965
|
-
constructor(dispatchId: string);
|
|
966
|
-
}
|
|
967
|
-
/** Compact task representation returned by list endpoints */
|
|
968
|
-
export interface TaskSummary {
|
|
969
|
-
id: string;
|
|
970
|
-
short_id: string | null;
|
|
971
|
-
title: string;
|
|
972
|
-
description: string | null;
|
|
973
|
-
status: TaskStatus;
|
|
974
|
-
priority: TaskPriority;
|
|
975
|
-
project_id: string | null;
|
|
976
|
-
plan_id: string | null;
|
|
977
|
-
task_list_id: string | null;
|
|
978
|
-
agent_id: string | null;
|
|
979
|
-
assigned_to: string | null;
|
|
980
|
-
locked_by: string | null;
|
|
981
|
-
tags: string[];
|
|
982
|
-
version: number;
|
|
983
|
-
created_at: string;
|
|
984
|
-
updated_at: string;
|
|
985
|
-
completed_at: string | null;
|
|
986
|
-
due_at: string | null;
|
|
987
|
-
recurrence_rule: string | null;
|
|
988
|
-
}
|
|
989
|
-
/** Progress log entry for a task */
|
|
990
|
-
export interface ProgressEntry {
|
|
991
|
-
id: string;
|
|
992
|
-
task_id: string;
|
|
993
|
-
content: string;
|
|
994
|
-
type: "comment" | "progress" | "note";
|
|
995
|
-
progress_pct: number | null;
|
|
996
|
-
agent_id: string | null;
|
|
997
|
-
created_at: string;
|
|
998
|
-
}
|
|
999
|
-
/** Dashboard statistics */
|
|
1000
|
-
export interface DashboardStats {
|
|
1001
|
-
total_tasks: number;
|
|
1002
|
-
pending: number;
|
|
1003
|
-
in_progress: number;
|
|
1004
|
-
completed: number;
|
|
1005
|
-
failed: number;
|
|
1006
|
-
cancelled: number;
|
|
1007
|
-
projects: number;
|
|
1008
|
-
agents: number;
|
|
1009
|
-
stale_count?: number;
|
|
1010
|
-
overdue_recurring?: number;
|
|
1011
|
-
recurring_tasks?: number;
|
|
1012
|
-
}
|
|
1013
|
-
/** Task status summary response */
|
|
1014
|
-
export interface StatusSummaryResponse {
|
|
1015
|
-
pending: number;
|
|
1016
|
-
in_progress: number;
|
|
1017
|
-
completed: number;
|
|
1018
|
-
total: number;
|
|
1019
|
-
active_work: {
|
|
1020
|
-
id: string;
|
|
1021
|
-
short_id: string | null;
|
|
1022
|
-
title: string;
|
|
1023
|
-
priority: string;
|
|
1024
|
-
assigned_to: string | null;
|
|
1025
|
-
locked_by: string | null;
|
|
1026
|
-
updated_at: string;
|
|
1027
|
-
}[];
|
|
1028
|
-
next_task: TaskSummary | null;
|
|
1029
|
-
stale_count: number;
|
|
1030
|
-
overdue_recurring: number;
|
|
1031
|
-
}
|
|
1032
|
-
//# sourceMappingURL=index.d.ts.map
|