sqlew 4.3.1 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +68 -0
- package/LICENSE +1 -1
- package/NOTICE +2 -2
- package/README.md +112 -42
- package/assets/claude-md-snippets/plan-mode-integration.md +54 -0
- package/assets/claude-md-snippets/queue-monitoring.md +84 -0
- package/dist/backend/backend-factory.d.ts +67 -0
- package/dist/backend/backend-factory.d.ts.map +1 -0
- package/dist/backend/backend-factory.js +171 -0
- package/dist/backend/backend-factory.js.map +1 -0
- package/dist/backend/index.d.ts +12 -0
- package/dist/backend/index.d.ts.map +1 -0
- package/dist/backend/index.js +13 -0
- package/dist/backend/index.js.map +1 -0
- package/dist/backend/inference.d.ts +38 -0
- package/dist/backend/inference.d.ts.map +1 -0
- package/dist/backend/inference.js +76 -0
- package/dist/backend/inference.js.map +1 -0
- package/dist/backend/local-backend.d.ts +40 -0
- package/dist/backend/local-backend.d.ts.map +1 -0
- package/dist/backend/local-backend.js +410 -0
- package/dist/backend/local-backend.js.map +1 -0
- package/dist/backend/transforming-backend.d.ts +47 -0
- package/dist/backend/transforming-backend.d.ts.map +1 -0
- package/dist/backend/transforming-backend.js +80 -0
- package/dist/backend/transforming-backend.js.map +1 -0
- package/dist/backend/types.d.ts +58 -0
- package/dist/backend/types.d.ts.map +1 -0
- package/dist/backend/types.js +7 -0
- package/dist/backend/types.js.map +1 -0
- package/dist/cli/db-dump.js +45 -45
- package/dist/cli/db-dump.js.map +1 -1
- package/dist/cli/db-export.js +30 -30
- package/dist/cli/db-export.js.map +1 -1
- package/dist/cli/db-import.d.ts.map +1 -1
- package/dist/cli/db-import.js +32 -33
- package/dist/cli/db-import.js.map +1 -1
- package/dist/cli/hooks/check-completion.d.ts +1 -0
- package/dist/cli/hooks/check-completion.d.ts.map +1 -1
- package/dist/cli/hooks/check-completion.js +15 -26
- package/dist/cli/hooks/check-completion.js.map +1 -1
- package/dist/cli/hooks/mark-done.d.ts +1 -0
- package/dist/cli/hooks/mark-done.d.ts.map +1 -1
- package/dist/cli/hooks/mark-done.js +12 -17
- package/dist/cli/hooks/mark-done.js.map +1 -1
- package/dist/cli/hooks/on-enter-plan.js +2 -2
- package/dist/cli/hooks/on-enter-plan.js.map +1 -1
- package/dist/cli/hooks/on-session-start.d.ts +23 -0
- package/dist/cli/hooks/on-session-start.d.ts.map +1 -0
- package/dist/cli/hooks/on-session-start.js +70 -0
- package/dist/cli/hooks/on-session-start.js.map +1 -0
- package/dist/cli/hooks/on-stop.js +5 -5
- package/dist/cli/hooks/on-stop.js.map +1 -1
- package/dist/cli/hooks/{plan-toml-parser.d.ts → plan-parser.d.ts} +1 -1
- package/dist/cli/hooks/plan-parser.d.ts.map +1 -0
- package/dist/cli/hooks/{plan-toml-parser.js → plan-parser.js} +1 -1
- package/dist/cli/hooks/plan-parser.js.map +1 -0
- package/dist/cli/hooks/plan-pattern-extractor.d.ts.map +1 -1
- package/dist/cli/hooks/plan-pattern-extractor.js +6 -3
- package/dist/cli/hooks/plan-pattern-extractor.js.map +1 -1
- package/dist/cli/hooks/plan-processor.js +1 -1
- package/dist/cli/hooks/plan-processor.js.map +1 -1
- package/dist/cli/hooks/stdin-parser.d.ts +4 -0
- package/dist/cli/hooks/stdin-parser.d.ts.map +1 -1
- package/dist/cli/hooks/stdin-parser.js.map +1 -1
- package/dist/cli/hooks/suggest.js +2 -2
- package/dist/cli/hooks/suggest.js.map +1 -1
- package/dist/cli/hooks/track-plan.d.ts.map +1 -1
- package/dist/cli/hooks/track-plan.js +24 -18
- package/dist/cli/hooks/track-plan.js.map +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +72 -72
- package/dist/cli.js.map +1 -1
- package/dist/config/cloud-config-loader.d.ts +107 -0
- package/dist/config/cloud-config-loader.d.ts.map +1 -0
- package/dist/config/cloud-config-loader.js +273 -0
- package/dist/config/cloud-config-loader.js.map +1 -0
- package/dist/config/global-config.d.ts +10 -10
- package/dist/config/global-config.d.ts.map +1 -1
- package/dist/config/global-config.js +12 -12
- package/dist/config/global-config.js.map +1 -1
- package/dist/config/loader.d.ts.map +1 -1
- package/dist/config/loader.js +5 -1
- package/dist/config/loader.js.map +1 -1
- package/dist/config/minimal-generator.d.ts.map +1 -1
- package/dist/config/minimal-generator.js +22 -72
- package/dist/config/minimal-generator.js.map +1 -1
- package/dist/config/types.d.ts +59 -1
- package/dist/config/types.d.ts.map +1 -1
- package/dist/config/types.js +14 -0
- package/dist/config/types.js.map +1 -1
- package/dist/constants.d.ts +1 -29
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +1 -38
- package/dist/constants.js.map +1 -1
- package/dist/database/initialization/cleanup.d.ts.map +1 -1
- package/dist/database/initialization/cleanup.js +0 -13
- package/dist/database/initialization/cleanup.js.map +1 -1
- package/dist/database/initialization/init.d.ts.map +1 -1
- package/dist/database/initialization/init.js +0 -9
- package/dist/database/initialization/init.js.map +1 -1
- package/dist/database/initialization/schema-version.d.ts +4 -4
- package/dist/database/initialization/schema-version.js +9 -9
- package/dist/database/initialization/schema-version.js.map +1 -1
- package/dist/database/migrations/v4/20260107000000_v5_drop_task_file_tables.d.ts +36 -0
- package/dist/database/migrations/v4/20260107000000_v5_drop_task_file_tables.d.ts.map +1 -0
- package/dist/database/migrations/v4/20260107000000_v5_drop_task_file_tables.js +135 -0
- package/dist/database/migrations/v4/20260107000000_v5_drop_task_file_tables.js.map +1 -0
- package/dist/database/migrations/v4/20260107000001_v5_drop_legacy_tables.d.ts +20 -0
- package/dist/database/migrations/v4/20260107000001_v5_drop_legacy_tables.d.ts.map +1 -0
- package/dist/database/migrations/v4/20260107000001_v5_drop_legacy_tables.js +168 -0
- package/dist/database/migrations/v4/20260107000001_v5_drop_legacy_tables.js.map +1 -0
- package/dist/database/migrations/v4/20260108000000_v5_rename_to_m_t_prefix.d.ts +23 -0
- package/dist/database/migrations/v4/20260108000000_v5_rename_to_m_t_prefix.d.ts.map +1 -0
- package/dist/database/migrations/v4/20260108000000_v5_rename_to_m_t_prefix.js +570 -0
- package/dist/database/migrations/v4/20260108000000_v5_rename_to_m_t_prefix.js.map +1 -0
- package/dist/database/migrations/v4/20260109000000_v5_drop_help_tables.d.ts +29 -0
- package/dist/database/migrations/v4/20260109000000_v5_drop_help_tables.d.ts.map +1 -0
- package/dist/database/migrations/v4/20260109000000_v5_drop_help_tables.js +80 -0
- package/dist/database/migrations/v4/20260109000000_v5_drop_help_tables.js.map +1 -0
- package/dist/database/operations/inserts.js +11 -11
- package/dist/database/operations/inserts.js.map +1 -1
- package/dist/database/operations/queries.js +9 -9
- package/dist/database/operations/queries.js.map +1 -1
- package/dist/formatters/adr-formatter.d.ts +22 -0
- package/dist/formatters/adr-formatter.d.ts.map +1 -0
- package/dist/formatters/adr-formatter.js +127 -0
- package/dist/formatters/adr-formatter.js.map +1 -0
- package/dist/formatters/confluence-formatter.d.ts +26 -0
- package/dist/formatters/confluence-formatter.d.ts.map +1 -0
- package/dist/formatters/confluence-formatter.js +129 -0
- package/dist/formatters/confluence-formatter.js.map +1 -0
- package/dist/formatters/index.d.ts +34 -0
- package/dist/formatters/index.d.ts.map +1 -0
- package/dist/formatters/index.js +57 -0
- package/dist/formatters/index.js.map +1 -0
- package/dist/formatters/markdown-formatter.d.ts +16 -0
- package/dist/formatters/markdown-formatter.d.ts.map +1 -0
- package/dist/formatters/markdown-formatter.js +110 -0
- package/dist/formatters/markdown-formatter.js.map +1 -0
- package/dist/formatters/notion-formatter.d.ts +29 -0
- package/dist/formatters/notion-formatter.d.ts.map +1 -0
- package/dist/formatters/notion-formatter.js +177 -0
- package/dist/formatters/notion-formatter.js.map +1 -0
- package/dist/formatters/types.d.ts +31 -0
- package/dist/formatters/types.d.ts.map +1 -0
- package/dist/formatters/types.js +6 -0
- package/dist/formatters/types.js.map +1 -0
- package/dist/help-data/_schema.toml +21 -0
- package/dist/help-data/constraint.toml +259 -0
- package/dist/help-data/decision.toml +833 -0
- package/dist/help-data/example.toml +177 -0
- package/dist/help-data/help.toml +246 -0
- package/dist/help-data/queue.toml +134 -0
- package/dist/help-data/suggest.toml +219 -0
- package/dist/help-data/use-cases/_categories.toml +22 -0
- package/dist/help-data/use-cases/constraint-basic.toml +34 -0
- package/dist/help-data/use-cases/cross-tool-workflow.toml +50 -0
- package/dist/help-data/use-cases/decision-intelligence-duplicate.toml +35 -0
- package/dist/help-data/use-cases/decision-intelligence-related.toml +35 -0
- package/dist/help-data/use-cases/decision-tracking-basic.toml +42 -0
- package/dist/help-data/use-cases/decision-tracking-versions.toml +42 -0
- package/dist/help-data/use_case.toml +147 -0
- package/dist/help-loader.d.ts +194 -0
- package/dist/help-loader.d.ts.map +1 -0
- package/dist/help-loader.js +419 -0
- package/dist/help-loader.js.map +1 -0
- package/dist/index.js +15 -10
- package/dist/index.js.map +1 -1
- package/dist/init-rules.d.ts +42 -0
- package/dist/init-rules.d.ts.map +1 -0
- package/dist/init-rules.js +217 -0
- package/dist/init-rules.js.map +1 -0
- package/dist/schema.d.ts +4 -6
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +28 -45
- package/dist/schema.js.map +1 -1
- package/dist/server/setup.d.ts +0 -10
- package/dist/server/setup.d.ts.map +1 -1
- package/dist/server/setup.js +97 -89
- package/dist/server/setup.js.map +1 -1
- package/dist/server/shutdown.d.ts +1 -1
- package/dist/server/shutdown.d.ts.map +1 -1
- package/dist/server/shutdown.js +1 -16
- package/dist/server/shutdown.js.map +1 -1
- package/dist/server/tool-handlers.d.ts +15 -0
- package/dist/server/tool-handlers.d.ts.map +1 -1
- package/dist/server/tool-handlers.js +47 -462
- package/dist/server/tool-handlers.js.map +1 -1
- package/dist/server/tool-registry.d.ts.map +1 -1
- package/dist/server/tool-registry.js +50 -62
- package/dist/server/tool-registry.js.map +1 -1
- package/dist/tests/backend/backend-factory.test.d.ts +7 -0
- package/dist/tests/backend/backend-factory.test.d.ts.map +1 -0
- package/dist/tests/backend/backend-factory.test.js +157 -0
- package/dist/tests/backend/backend-factory.test.js.map +1 -0
- package/dist/tests/backend/inference.test.d.ts +7 -0
- package/dist/tests/backend/inference.test.d.ts.map +1 -0
- package/dist/tests/backend/inference.test.js +142 -0
- package/dist/tests/backend/inference.test.js.map +1 -0
- package/dist/tests/database/multi-project/multi-project.test.js +9 -70
- package/dist/tests/database/multi-project/multi-project.test.js.map +1 -1
- package/dist/tests/database/sql-dump/table-ordering.test.js +14 -14
- package/dist/tests/database/sql-dump/table-ordering.test.js.map +1 -1
- package/dist/tests/docker/cross-database.test.js +32 -32
- package/dist/tests/docker/cross-database.test.js.map +1 -1
- package/dist/tests/docker/dump-import.test.js +55 -55
- package/dist/tests/docker/dump-import.test.js.map +1 -1
- package/dist/tests/docker/fk-constraints.test.js +3 -3
- package/dist/tests/docker/indexes.test.js +34 -34
- package/dist/tests/docker/integration.test.js +33 -33
- package/dist/tests/docker/multi-project-migration.test.js +47 -47
- package/dist/tests/docker/multi-project-migration.test.js.map +1 -1
- package/dist/tests/docker/native/constraint-operations.test.js +49 -49
- package/dist/tests/docker/native/constraint-operations.test.js.map +1 -1
- package/dist/tests/docker/native/db-init.d.ts +3 -1
- package/dist/tests/docker/native/db-init.d.ts.map +1 -1
- package/dist/tests/docker/native/db-init.js +14 -12
- package/dist/tests/docker/native/db-init.js.map +1 -1
- package/dist/tests/docker/native/decision-operations.test.js +91 -91
- package/dist/tests/docker/native/decision-operations.test.js.map +1 -1
- package/dist/tests/docker/native/help-system.test.d.ts +2 -2
- package/dist/tests/docker/native/help-system.test.js +113 -138
- package/dist/tests/docker/native/help-system.test.js.map +1 -1
- package/dist/tests/docker/native/suggest-tool.test.d.ts +2 -2
- package/dist/tests/docker/native/suggest-tool.test.js +35 -35
- package/dist/tests/docker/native/suggest-tool.test.js.map +1 -1
- package/dist/tests/docker/native/test-harness.d.ts +6 -12
- package/dist/tests/docker/native/test-harness.d.ts.map +1 -1
- package/dist/tests/docker/native/test-harness.js +74 -156
- package/dist/tests/docker/native/test-harness.js.map +1 -1
- package/dist/tests/docker/schema-migration.test.js +6 -6
- package/dist/tests/feature/decision/batch-validation-comprehensive.test.d.ts +3 -7
- package/dist/tests/feature/decision/batch-validation-comprehensive.test.d.ts.map +1 -1
- package/dist/tests/feature/decision/batch-validation-comprehensive.test.js +7 -318
- package/dist/tests/feature/decision/batch-validation-comprehensive.test.js.map +1 -1
- package/dist/tests/feature/help/help-system.test.d.ts +6 -6
- package/dist/tests/feature/help/help-system.test.js +166 -124
- package/dist/tests/feature/help/help-system.test.js.map +1 -1
- package/dist/tests/integration/auto-trigger-suggestions.test.js +22 -22
- package/dist/tests/integration/auto-trigger-suggestions.test.js.map +1 -1
- package/dist/tests/integration/decision-intelligence-e2e.test.js +23 -22
- package/dist/tests/integration/decision-intelligence-e2e.test.js.map +1 -1
- package/dist/tests/integration/e2e-workflow1-debug.test.js +3 -3
- package/dist/tests/integration/e2e-workflow1-debug.test.js.map +1 -1
- package/dist/tests/integration/hybrid-similarity-detection.test.js +25 -25
- package/dist/tests/integration/hybrid-similarity-detection.test.js.map +1 -1
- package/dist/tests/integration/suggest-simple.test.js +18 -0
- package/dist/tests/integration/suggest-simple.test.js.map +1 -1
- package/dist/tests/migrations/test-all-versions.js +212 -212
- package/dist/tests/migrations/test-all-versions.js.map +1 -1
- package/dist/tests/migrations/v4/v4-fresh-install.test.js +29 -29
- package/dist/tests/migrations/v4/v4-fresh-install.test.js.map +1 -1
- package/dist/tests/migrations/v4/v4-migrate-data.test.js +20 -20
- package/dist/tests/migrations/v4/v4-migrate-data.test.js.map +1 -1
- package/dist/tests/test-v4-native-rdbms.js +20 -20
- package/dist/tests/test-v4-native-rdbms.js.map +1 -1
- package/dist/tests/unit/config/cloud-config-loader.test.d.ts +2 -0
- package/dist/tests/unit/config/cloud-config-loader.test.d.ts.map +1 -0
- package/dist/tests/unit/config/cloud-config-loader.test.js +103 -0
- package/dist/tests/unit/config/cloud-config-loader.test.js.map +1 -0
- package/dist/tests/unit/config/{plan-toml-cache.test.d.ts → plan-cache.test.d.ts} +1 -1
- package/dist/tests/unit/config/plan-cache.test.d.ts.map +1 -0
- package/dist/tests/unit/config/{plan-toml-cache.test.js → plan-cache.test.js} +32 -32
- package/dist/tests/unit/config/plan-cache.test.js.map +1 -0
- package/dist/tests/unit/hooks/{plan-toml-parser.test.d.ts → plan-parser.test.d.ts} +1 -1
- package/dist/tests/unit/hooks/plan-parser.test.d.ts.map +1 -0
- package/dist/tests/unit/hooks/{plan-toml-parser.test.js → plan-parser.test.js} +179 -179
- package/dist/tests/unit/hooks/plan-parser.test.js.map +1 -0
- package/dist/tests/unit/server/tool-handlers.test.d.ts +7 -0
- package/dist/tests/unit/server/tool-handlers.test.d.ts.map +1 -0
- package/dist/tests/unit/server/tool-handlers.test.js +76 -0
- package/dist/tests/unit/server/tool-handlers.test.js.map +1 -0
- package/dist/tests/unit/utils/config-loader.test.js +17 -17
- package/dist/tests/unit/utils/connection-hash.test.d.ts +2 -0
- package/dist/tests/unit/utils/connection-hash.test.d.ts.map +1 -0
- package/dist/tests/unit/utils/connection-hash.test.js +57 -0
- package/dist/tests/unit/utils/connection-hash.test.js.map +1 -0
- package/dist/tests/unit/utils/environment-detector.test.d.ts +2 -0
- package/dist/tests/unit/utils/environment-detector.test.d.ts.map +1 -0
- package/dist/tests/unit/utils/environment-detector.test.js +43 -0
- package/dist/tests/unit/utils/environment-detector.test.js.map +1 -0
- package/dist/tests/unit/utils/path-utils.test.d.ts +2 -0
- package/dist/tests/unit/utils/path-utils.test.d.ts.map +1 -0
- package/dist/tests/unit/utils/path-utils.test.js +72 -0
- package/dist/tests/unit/utils/path-utils.test.js.map +1 -0
- package/dist/tests/unit/utils/project-detector.test.js +14 -13
- package/dist/tests/unit/utils/project-detector.test.js.map +1 -1
- package/dist/tests/unit/validation/parameter-validation.test.d.ts +2 -1
- package/dist/tests/unit/validation/parameter-validation.test.d.ts.map +1 -1
- package/dist/tests/unit/validation/parameter-validation.test.js +5 -133
- package/dist/tests/unit/validation/parameter-validation.test.js.map +1 -1
- package/dist/tests/unit/validation/policy-validation.test.js +15 -15
- package/dist/tests/unit/validation/policy-validation.test.js.map +1 -1
- package/dist/tests/utils/db-schema.js +48 -48
- package/dist/tests/utils/db-seeding.js +11 -11
- package/dist/tests/utils/db-seeding.js.map +1 -1
- package/dist/tests/utils/json-export-import.test.d.ts +6 -0
- package/dist/tests/utils/json-export-import.test.d.ts.map +1 -0
- package/dist/tests/utils/json-export-import.test.js +474 -0
- package/dist/tests/utils/json-export-import.test.js.map +1 -0
- package/dist/tests/utils/test-helpers.js +59 -59
- package/dist/tests/utils/test-helpers.js.map +1 -1
- package/dist/tools/constraints/actions/activate.d.ts +2 -2
- package/dist/tools/constraints/actions/activate.d.ts.map +1 -1
- package/dist/tools/constraints/actions/activate.js +12 -12
- package/dist/tools/constraints/actions/activate.js.map +1 -1
- package/dist/tools/constraints/actions/add.js +3 -3
- package/dist/tools/constraints/actions/add.js.map +1 -1
- package/dist/tools/constraints/actions/deactivate.js +6 -6
- package/dist/tools/constraints/actions/deactivate.js.map +1 -1
- package/dist/tools/constraints/actions/get.d.ts +2 -2
- package/dist/tools/constraints/actions/get.js +9 -9
- package/dist/tools/constraints/actions/get.js.map +1 -1
- package/dist/tools/constraints/actions/suggest-pending.js +2 -2
- package/dist/tools/constraints/actions/suggest-pending.js.map +1 -1
- package/dist/tools/constraints/index.d.ts +1 -1
- package/dist/tools/constraints/index.d.ts.map +1 -1
- package/dist/tools/constraints/index.js +1 -1
- package/dist/tools/constraints/index.js.map +1 -1
- package/dist/tools/context/actions/create-policy.js +3 -3
- package/dist/tools/context/actions/create-policy.js.map +1 -1
- package/dist/tools/context/actions/create-template.js +2 -2
- package/dist/tools/context/actions/create-template.js.map +1 -1
- package/dist/tools/context/actions/export.d.ts +35 -0
- package/dist/tools/context/actions/export.d.ts.map +1 -0
- package/dist/tools/context/actions/export.js +93 -0
- package/dist/tools/context/actions/export.js.map +1 -0
- package/dist/tools/context/actions/hard-delete.js +11 -11
- package/dist/tools/context/actions/hard-delete.js.map +1 -1
- package/dist/tools/context/actions/has-updates.d.ts +1 -1
- package/dist/tools/context/actions/has-updates.d.ts.map +1 -1
- package/dist/tools/context/actions/has-updates.js +5 -13
- package/dist/tools/context/actions/has-updates.js.map +1 -1
- package/dist/tools/context/actions/list-policies.js +1 -1
- package/dist/tools/context/actions/list-policies.js.map +1 -1
- package/dist/tools/context/actions/list-templates.js +2 -2
- package/dist/tools/context/actions/list-templates.js.map +1 -1
- package/dist/tools/context/actions/list.js +1 -1
- package/dist/tools/context/actions/list.js.map +1 -1
- package/dist/tools/context/actions/search-layer.js +8 -8
- package/dist/tools/context/actions/search-layer.js.map +1 -1
- package/dist/tools/context/actions/set-from-policy.js +1 -1
- package/dist/tools/context/actions/set-from-policy.js.map +1 -1
- package/dist/tools/context/actions/set-from-template.js +2 -2
- package/dist/tools/context/actions/set-from-template.js.map +1 -1
- package/dist/tools/context/actions/versions.js +3 -3
- package/dist/tools/context/actions/versions.js.map +1 -1
- package/dist/tools/context/index.d.ts +1 -0
- package/dist/tools/context/index.d.ts.map +1 -1
- package/dist/tools/context/index.js +2 -0
- package/dist/tools/context/index.js.map +1 -1
- package/dist/tools/context/internal/queries.d.ts.map +1 -1
- package/dist/tools/context/internal/queries.js +54 -43
- package/dist/tools/context/internal/queries.js.map +1 -1
- package/dist/tools/context/types.d.ts +1 -1
- package/dist/tools/context/types.d.ts.map +1 -1
- package/dist/tools/example/actions/get.d.ts +8 -3
- package/dist/tools/example/actions/get.d.ts.map +1 -1
- package/dist/tools/example/actions/get.js +29 -30
- package/dist/tools/example/actions/get.js.map +1 -1
- package/dist/tools/example/actions/list-all.d.ts +8 -2
- package/dist/tools/example/actions/list-all.d.ts.map +1 -1
- package/dist/tools/example/actions/list-all.js +37 -29
- package/dist/tools/example/actions/list-all.js.map +1 -1
- package/dist/tools/example/actions/search.d.ts +8 -3
- package/dist/tools/example/actions/search.d.ts.map +1 -1
- package/dist/tools/example/actions/search.js +29 -43
- package/dist/tools/example/actions/search.js.map +1 -1
- package/dist/tools/help/actions/batch-guide.js +5 -5
- package/dist/tools/help/actions/batch-guide.js.map +1 -1
- package/dist/tools/help/actions/query-action.d.ts +7 -3
- package/dist/tools/help/actions/query-action.d.ts.map +1 -1
- package/dist/tools/help/actions/query-action.js +35 -6
- package/dist/tools/help/actions/query-action.js.map +1 -1
- package/dist/tools/help/actions/query-params.d.ts +5 -3
- package/dist/tools/help/actions/query-params.d.ts.map +1 -1
- package/dist/tools/help/actions/query-params.js +28 -6
- package/dist/tools/help/actions/query-params.js.map +1 -1
- package/dist/tools/help/actions/query-tool.d.ts +5 -3
- package/dist/tools/help/actions/query-tool.d.ts.map +1 -1
- package/dist/tools/help/actions/query-tool.js +23 -6
- package/dist/tools/help/actions/query-tool.js.map +1 -1
- package/dist/tools/help/actions/workflow-hints.d.ts +5 -3
- package/dist/tools/help/actions/workflow-hints.d.ts.map +1 -1
- package/dist/tools/help/actions/workflow-hints.js +21 -6
- package/dist/tools/help/actions/workflow-hints.js.map +1 -1
- package/dist/tools/queue/actions/clear.d.ts +19 -0
- package/dist/tools/queue/actions/clear.d.ts.map +1 -0
- package/dist/tools/queue/actions/clear.js +79 -0
- package/dist/tools/queue/actions/clear.js.map +1 -0
- package/dist/tools/queue/actions/list.d.ts +16 -0
- package/dist/tools/queue/actions/list.d.ts.map +1 -0
- package/dist/tools/queue/actions/list.js +95 -0
- package/dist/tools/queue/actions/list.js.map +1 -0
- package/dist/tools/queue/actions/remove.d.ts +19 -0
- package/dist/tools/queue/actions/remove.d.ts.map +1 -0
- package/dist/tools/queue/actions/remove.js +81 -0
- package/dist/tools/queue/actions/remove.js.map +1 -0
- package/dist/tools/queue/index.d.ts +13 -0
- package/dist/tools/queue/index.d.ts.map +1 -0
- package/dist/tools/queue/index.js +13 -0
- package/dist/tools/queue/index.js.map +1 -0
- package/dist/tools/queue/types.d.ts +87 -0
- package/dist/tools/queue/types.d.ts.map +1 -0
- package/dist/tools/queue/types.js +9 -0
- package/dist/tools/queue/types.js.map +1 -0
- package/dist/tools/suggest/actions/by-context.d.ts.map +1 -1
- package/dist/tools/suggest/actions/by-context.js +3 -1
- package/dist/tools/suggest/actions/by-context.js.map +1 -1
- package/dist/tools/suggest/actions/by-key.d.ts.map +1 -1
- package/dist/tools/suggest/actions/by-key.js +3 -1
- package/dist/tools/suggest/actions/by-key.js.map +1 -1
- package/dist/tools/suggest/actions/by-tags.d.ts +2 -2
- package/dist/tools/suggest/actions/by-tags.js +3 -3
- package/dist/tools/suggest/actions/by-tags.js.map +1 -1
- package/dist/tools/suggest/internal/constraint-queries.d.ts +4 -4
- package/dist/tools/suggest/internal/constraint-queries.js +14 -14
- package/dist/tools/suggest/internal/constraint-queries.js.map +1 -1
- package/dist/tools/suggest/internal/queries.d.ts +4 -4
- package/dist/tools/suggest/internal/queries.js +25 -25
- package/dist/tools/suggest/internal/queries.js.map +1 -1
- package/dist/tools/use_case/actions/get.d.ts +5 -3
- package/dist/tools/use_case/actions/get.d.ts.map +1 -1
- package/dist/tools/use_case/actions/get.js +20 -6
- package/dist/tools/use_case/actions/get.js.map +1 -1
- package/dist/tools/use_case/actions/list-all.d.ts +5 -3
- package/dist/tools/use_case/actions/list-all.d.ts.map +1 -1
- package/dist/tools/use_case/actions/list-all.js +36 -6
- package/dist/tools/use_case/actions/list-all.js.map +1 -1
- package/dist/tools/use_case/actions/search.d.ts +6 -3
- package/dist/tools/use_case/actions/search.d.ts.map +1 -1
- package/dist/tools/use_case/actions/search.js +37 -67
- package/dist/tools/use_case/actions/search.js.map +1 -1
- package/dist/tools/use_case/help/example.js +17 -17
- package/dist/tools/use_case/help/example.js.map +1 -1
- package/dist/types.d.ts +82 -153
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +0 -10
- package/dist/types.js.map +1 -1
- package/dist/utils/action-specs/constraint-specs.js +6 -6
- package/dist/utils/action-specs/constraint-specs.js.map +1 -1
- package/dist/utils/action-specs/index.d.ts +0 -2
- package/dist/utils/action-specs/index.d.ts.map +1 -1
- package/dist/utils/action-specs/index.js +0 -6
- package/dist/utils/action-specs/index.js.map +1 -1
- package/dist/utils/batch-validation.d.ts +1 -1
- package/dist/utils/batch-validation.js +3 -3
- package/dist/utils/batch-validation.js.map +1 -1
- package/dist/utils/case-insensitive-validator.d.ts +2 -2
- package/dist/utils/case-insensitive-validator.js +2 -2
- package/dist/utils/connection-hash.d.ts +37 -0
- package/dist/utils/connection-hash.d.ts.map +1 -0
- package/dist/utils/connection-hash.js +55 -0
- package/dist/utils/connection-hash.js.map +1 -0
- package/dist/utils/db-aggregations.js +16 -16
- package/dist/utils/db-aggregations.js.map +1 -1
- package/dist/utils/enum-converter.d.ts +0 -21
- package/dist/utils/enum-converter.d.ts.map +1 -1
- package/dist/utils/enum-converter.js +1 -23
- package/dist/utils/enum-converter.js.map +1 -1
- package/dist/utils/environment-detector.d.ts +30 -0
- package/dist/utils/environment-detector.d.ts.map +1 -0
- package/dist/utils/environment-detector.js +86 -0
- package/dist/utils/environment-detector.js.map +1 -0
- package/dist/utils/example-filter.d.ts +34 -0
- package/dist/utils/example-filter.d.ts.map +1 -0
- package/dist/utils/example-filter.js +45 -0
- package/dist/utils/example-filter.js.map +1 -0
- package/dist/utils/exporter/export.d.ts +2 -16
- package/dist/utils/exporter/export.d.ts.map +1 -1
- package/dist/utils/exporter/export.js +49 -130
- package/dist/utils/exporter/export.js.map +1 -1
- package/dist/utils/hook-queue.d.ts +60 -0
- package/dist/utils/hook-queue.d.ts.map +1 -1
- package/dist/utils/hook-queue.js +114 -11
- package/dist/utils/hook-queue.js.map +1 -1
- package/dist/utils/importer/import.d.ts.map +1 -1
- package/dist/utils/importer/import.js +33 -188
- package/dist/utils/importer/import.js.map +1 -1
- package/dist/utils/importer/master-tables.d.ts +2 -1
- package/dist/utils/importer/master-tables.d.ts.map +1 -1
- package/dist/utils/importer/master-tables.js +35 -81
- package/dist/utils/importer/master-tables.js.map +1 -1
- package/dist/utils/param-normalizer.d.ts +0 -1
- package/dist/utils/param-normalizer.d.ts.map +1 -1
- package/dist/utils/param-normalizer.js +1 -3
- package/dist/utils/param-normalizer.js.map +1 -1
- package/dist/utils/path-utils.d.ts +46 -0
- package/dist/utils/path-utils.d.ts.map +1 -0
- package/dist/utils/path-utils.js +74 -0
- package/dist/utils/path-utils.js.map +1 -0
- package/dist/utils/policy-validator.js +1 -1
- package/dist/utils/policy-validator.js.map +1 -1
- package/dist/utils/project-context.d.ts +23 -0
- package/dist/utils/project-context.d.ts.map +1 -1
- package/dist/utils/project-context.js +45 -3
- package/dist/utils/project-context.js.map +1 -1
- package/dist/utils/project-root.d.ts +2 -2
- package/dist/utils/project-root.js +2 -2
- package/dist/utils/sql-dump/core/index-export.js +7 -7
- package/dist/utils/sql-dump/schema/indexes.js +24 -24
- package/dist/utils/sql-dump/schema/tables.js +44 -44
- package/dist/utils/token-logging.js +6 -6
- package/dist/utils/token-logging.js.map +1 -1
- package/dist/utils/validators.js +1 -1
- package/dist/utils/validators.js.map +1 -1
- package/dist/utils/view-queries.d.ts +0 -8
- package/dist/utils/view-queries.d.ts.map +1 -1
- package/dist/utils/view-queries.js +29 -84
- package/dist/utils/view-queries.js.map +1 -1
- package/dist/watcher/index.d.ts +1 -4
- package/dist/watcher/index.d.ts.map +1 -1
- package/dist/watcher/index.js +1 -3
- package/dist/watcher/index.js.map +1 -1
- package/dist/watcher/queue-watcher.d.ts +10 -3
- package/dist/watcher/queue-watcher.d.ts.map +1 -1
- package/dist/watcher/queue-watcher.js +24 -21
- package/dist/watcher/queue-watcher.js.map +1 -1
- package/docs/CONFIGURATION.md +14 -14
- package/docs/DATABASE_AUTH.md +1 -1
- package/docs/HOOKS_GUIDE.md +30 -50
- package/docs/HOW_TO_UNINSTALL.md +199 -0
- package/docs/MIGRATION_CLEANUP_GUIDE.md +212 -0
- package/docs/MIGRATION_TO_SAAS.md +176 -0
- package/docs/SLASH_COMMANDS.md +1 -1
- package/docs/cli/DATABASE_MIGRATION.md +13 -13
- package/docs/cli/DATA_EXPORT_IMPORT.md +71 -69
- package/package.json +10 -8
- package/saas-connector/LICENSE +190 -0
- package/saas-connector/README.md +122 -0
- package/saas-connector/dist/auth/auth-manager.d.ts +6 -0
- package/saas-connector/dist/auth/auth-manager.d.ts.map +1 -0
- package/saas-connector/dist/auth/auth-manager.js +39 -0
- package/saas-connector/dist/auth/auth-manager.js.map +7 -0
- package/saas-connector/dist/backend/saas-backend.d.ts +20 -0
- package/saas-connector/dist/backend/saas-backend.d.ts.map +1 -0
- package/saas-connector/dist/backend/saas-backend.js +104 -0
- package/saas-connector/dist/backend/saas-backend.js.map +7 -0
- package/saas-connector/dist/client/http-client.d.ts +33 -0
- package/saas-connector/dist/client/http-client.d.ts.map +1 -0
- package/saas-connector/dist/client/http-client.js +226 -0
- package/saas-connector/dist/client/http-client.js.map +7 -0
- package/saas-connector/dist/client/types.d.ts +62 -0
- package/saas-connector/dist/client/types.d.ts.map +1 -0
- package/saas-connector/dist/client/types.js +17 -0
- package/saas-connector/dist/client/types.js.map +7 -0
- package/saas-connector/dist/config/constants.d.ts +14 -0
- package/saas-connector/dist/config/constants.d.ts.map +1 -0
- package/saas-connector/dist/config/constants.js +68 -0
- package/saas-connector/dist/config/constants.js.map +7 -0
- package/saas-connector/dist/errors/api-error.d.ts +26 -0
- package/saas-connector/dist/errors/api-error.d.ts.map +1 -0
- package/saas-connector/dist/errors/api-error.js +62 -0
- package/saas-connector/dist/errors/api-error.js.map +7 -0
- package/saas-connector/dist/index.d.ts +18 -0
- package/saas-connector/dist/index.d.ts.map +1 -0
- package/saas-connector/dist/index.js +51 -0
- package/saas-connector/dist/index.js.map +7 -0
- package/saas-connector/package-lock.json +518 -0
- package/saas-connector/package.json +34 -0
- package/scripts/copy-help-data.js +19 -0
- package/assets/config.example.toml +0 -120
- package/assets/kanban-style.png +0 -0
- package/assets/kanban-visualizer.png +0 -0
- package/assets/sample-agents/README.md +0 -36
- package/assets/sample-agents/sqlew-architect.md +0 -321
- package/assets/sample-agents/sqlew-researcher.md +0 -292
- package/assets/sample-agents/sqlew-scrum-master.md +0 -286
- package/assets/sample-commands/README.md +0 -56
- package/assets/sample-commands/sqlew.md +0 -144
- package/assets/sample-skills/sqlew-decision-format/SKILL.md +0 -73
- package/assets/sample-skills/sqlew-plan-guidance/SKILL.md +0 -62
- package/assets/schema.sql +0 -564
- package/dist/cli/hooks/init-hooks.d.ts +0 -35
- package/dist/cli/hooks/init-hooks.d.ts.map +0 -1
- package/dist/cli/hooks/init-hooks.js +0 -517
- package/dist/cli/hooks/init-hooks.js.map +0 -1
- package/dist/cli/hooks/plan-toml-parser.d.ts.map +0 -1
- package/dist/cli/hooks/plan-toml-parser.js.map +0 -1
- package/dist/init-agents.d.ts +0 -7
- package/dist/init-agents.d.ts.map +0 -1
- package/dist/init-agents.js +0 -206
- package/dist/init-agents.js.map +0 -1
- package/dist/init-commands.d.ts +0 -10
- package/dist/init-commands.d.ts.map +0 -1
- package/dist/init-commands.js +0 -46
- package/dist/init-commands.js.map +0 -1
- package/dist/init-skills.d.ts +0 -29
- package/dist/init-skills.d.ts.map +0 -1
- package/dist/init-skills.js +0 -183
- package/dist/init-skills.js.map +0 -1
- package/dist/sync-agents.d.ts +0 -13
- package/dist/sync-agents.d.ts.map +0 -1
- package/dist/sync-agents.js +0 -157
- package/dist/sync-agents.js.map +0 -1
- package/dist/sync-commands.d.ts +0 -13
- package/dist/sync-commands.d.ts.map +0 -1
- package/dist/sync-commands.js +0 -150
- package/dist/sync-commands.js.map +0 -1
- package/dist/sync-gitignore.d.ts +0 -13
- package/dist/sync-gitignore.d.ts.map +0 -1
- package/dist/sync-gitignore.js +0 -60
- package/dist/sync-gitignore.js.map +0 -1
- package/dist/tests/docker/native/task-operations.test.d.ts +0 -16
- package/dist/tests/docker/native/task-operations.test.d.ts.map +0 -1
- package/dist/tests/docker/native/task-operations.test.js +0 -800
- package/dist/tests/docker/native/task-operations.test.js.map +0 -1
- package/dist/tests/feature/decision/batch-validation-integration.test.d.ts +0 -6
- package/dist/tests/feature/decision/batch-validation-integration.test.d.ts.map +0 -1
- package/dist/tests/feature/decision/batch-validation-integration.test.js +0 -193
- package/dist/tests/feature/decision/batch-validation-integration.test.js.map +0 -1
- package/dist/tests/feature/task/auto-pruning-decision-link.test.d.ts +0 -6
- package/dist/tests/feature/task/auto-pruning-decision-link.test.d.ts.map +0 -1
- package/dist/tests/feature/task/auto-pruning-decision-link.test.js +0 -281
- package/dist/tests/feature/task/auto-pruning-decision-link.test.js.map +0 -1
- package/dist/tests/feature/task/auto-pruning-partial.test.d.ts +0 -6
- package/dist/tests/feature/task/auto-pruning-partial.test.d.ts.map +0 -1
- package/dist/tests/feature/task/auto-pruning-partial.test.js +0 -305
- package/dist/tests/feature/task/auto-pruning-partial.test.js.map +0 -1
- package/dist/tests/feature/task/auto-pruning-persistence.test.d.ts +0 -6
- package/dist/tests/feature/task/auto-pruning-persistence.test.d.ts.map +0 -1
- package/dist/tests/feature/task/auto-pruning-persistence.test.js +0 -267
- package/dist/tests/feature/task/auto-pruning-persistence.test.js.map +0 -1
- package/dist/tests/feature/task/auto-pruning-safety.test.d.ts +0 -12
- package/dist/tests/feature/task/auto-pruning-safety.test.d.ts.map +0 -1
- package/dist/tests/feature/task/auto-pruning-safety.test.js +0 -224
- package/dist/tests/feature/task/auto-pruning-safety.test.js.map +0 -1
- package/dist/tests/feature/task/dependencies.test.d.ts +0 -7
- package/dist/tests/feature/task/dependencies.test.d.ts.map +0 -1
- package/dist/tests/feature/task/dependencies.test.js +0 -656
- package/dist/tests/feature/task/dependencies.test.js.map +0 -1
- package/dist/tests/feature/task/file-actions-integration.test.d.ts +0 -10
- package/dist/tests/feature/task/file-actions-integration.test.d.ts.map +0 -1
- package/dist/tests/feature/task/file-actions-integration.test.js +0 -162
- package/dist/tests/feature/task/file-actions-integration.test.js.map +0 -1
- package/dist/tests/feature/task/file-actions-validation.test.d.ts +0 -6
- package/dist/tests/feature/task/file-actions-validation.test.d.ts.map +0 -1
- package/dist/tests/feature/task/file-actions-validation.test.js +0 -228
- package/dist/tests/feature/task/file-actions-validation.test.js.map +0 -1
- package/dist/tests/feature/task/link-file-backward-compat.test.d.ts +0 -6
- package/dist/tests/feature/task/link-file-backward-compat.test.d.ts.map +0 -1
- package/dist/tests/feature/task/link-file-backward-compat.test.js +0 -280
- package/dist/tests/feature/task/link-file-backward-compat.test.js.map +0 -1
- package/dist/tests/feature/task/watch-files-action.test.d.ts +0 -8
- package/dist/tests/feature/task/watch-files-action.test.d.ts.map +0 -1
- package/dist/tests/feature/task/watch-files-action.test.js +0 -402
- package/dist/tests/feature/task/watch-files-action.test.js.map +0 -1
- package/dist/tests/feature/task/watch-files-parameter.test.d.ts +0 -8
- package/dist/tests/feature/task/watch-files-parameter.test.d.ts.map +0 -1
- package/dist/tests/feature/task/watch-files-parameter.test.js +0 -283
- package/dist/tests/feature/task/watch-files-parameter.test.js.map +0 -1
- package/dist/tests/integration/all-features.standalone.d.ts +0 -7
- package/dist/tests/integration/all-features.standalone.d.ts.map +0 -1
- package/dist/tests/integration/all-features.standalone.js +0 -417
- package/dist/tests/integration/all-features.standalone.js.map +0 -1
- package/dist/tests/unit/config/plan-toml-cache.test.d.ts.map +0 -1
- package/dist/tests/unit/config/plan-toml-cache.test.js.map +0 -1
- package/dist/tests/unit/hooks/plan-toml-parser.test.d.ts.map +0 -1
- package/dist/tests/unit/hooks/plan-toml-parser.test.js.map +0 -1
- package/dist/tools/files/actions/check-lock.d.ts +0 -16
- package/dist/tools/files/actions/check-lock.d.ts.map +0 -1
- package/dist/tools/files/actions/check-lock.js +0 -74
- package/dist/tools/files/actions/check-lock.js.map +0 -1
- package/dist/tools/files/actions/get.d.ts +0 -16
- package/dist/tools/files/actions/get.d.ts.map +0 -1
- package/dist/tools/files/actions/get.js +0 -85
- package/dist/tools/files/actions/get.js.map +0 -1
- package/dist/tools/files/actions/record-batch.d.ts +0 -18
- package/dist/tools/files/actions/record-batch.d.ts.map +0 -1
- package/dist/tools/files/actions/record-batch.js +0 -119
- package/dist/tools/files/actions/record-batch.js.map +0 -1
- package/dist/tools/files/actions/record.d.ts +0 -16
- package/dist/tools/files/actions/record.d.ts.map +0 -1
- package/dist/tools/files/actions/record.js +0 -43
- package/dist/tools/files/actions/record.js.map +0 -1
- package/dist/tools/files/actions/sqlite-flush.d.ts +0 -27
- package/dist/tools/files/actions/sqlite-flush.d.ts.map +0 -1
- package/dist/tools/files/actions/sqlite-flush.js +0 -66
- package/dist/tools/files/actions/sqlite-flush.js.map +0 -1
- package/dist/tools/files/help/example.d.ts +0 -5
- package/dist/tools/files/help/example.d.ts.map +0 -1
- package/dist/tools/files/help/example.js +0 -109
- package/dist/tools/files/help/example.js.map +0 -1
- package/dist/tools/files/help/help.d.ts +0 -5
- package/dist/tools/files/help/help.d.ts.map +0 -1
- package/dist/tools/files/help/help.js +0 -35
- package/dist/tools/files/help/help.js.map +0 -1
- package/dist/tools/files/index.d.ts +0 -14
- package/dist/tools/files/index.d.ts.map +0 -1
- package/dist/tools/files/index.js +0 -15
- package/dist/tools/files/index.js.map +0 -1
- package/dist/tools/files/internal/queries.d.ts +0 -18
- package/dist/tools/files/internal/queries.d.ts.map +0 -1
- package/dist/tools/files/internal/queries.js +0 -54
- package/dist/tools/files/internal/queries.js.map +0 -1
- package/dist/tools/files/internal/validation.d.ts +0 -18
- package/dist/tools/files/internal/validation.d.ts.map +0 -1
- package/dist/tools/files/internal/validation.js +0 -39
- package/dist/tools/files/internal/validation.js.map +0 -1
- package/dist/tools/files/types.d.ts +0 -6
- package/dist/tools/files/types.d.ts.map +0 -1
- package/dist/tools/files/types.js +0 -6
- package/dist/tools/files/types.js.map +0 -1
- package/dist/tools/help-queries.d.ts +0 -130
- package/dist/tools/help-queries.d.ts.map +0 -1
- package/dist/tools/help-queries.js +0 -411
- package/dist/tools/help-queries.js.map +0 -1
- package/dist/tools/tasks/actions/add-dependency.d.ts +0 -12
- package/dist/tools/tasks/actions/add-dependency.d.ts.map +0 -1
- package/dist/tools/tasks/actions/add-dependency.js +0 -129
- package/dist/tools/tasks/actions/add-dependency.js.map +0 -1
- package/dist/tools/tasks/actions/archive.d.ts +0 -11
- package/dist/tools/tasks/actions/archive.d.ts.map +0 -1
- package/dist/tools/tasks/actions/archive.js +0 -58
- package/dist/tools/tasks/actions/archive.js.map +0 -1
- package/dist/tools/tasks/actions/create-batch.d.ts +0 -19
- package/dist/tools/tasks/actions/create-batch.d.ts.map +0 -1
- package/dist/tools/tasks/actions/create-batch.js +0 -103
- package/dist/tools/tasks/actions/create-batch.js.map +0 -1
- package/dist/tools/tasks/actions/create.d.ts +0 -16
- package/dist/tools/tasks/actions/create.d.ts.map +0 -1
- package/dist/tools/tasks/actions/create.js +0 -163
- package/dist/tools/tasks/actions/create.js.map +0 -1
- package/dist/tools/tasks/actions/get-dependencies.d.ts +0 -12
- package/dist/tools/tasks/actions/get-dependencies.d.ts.map +0 -1
- package/dist/tools/tasks/actions/get-dependencies.js +0 -41
- package/dist/tools/tasks/actions/get-dependencies.js.map +0 -1
- package/dist/tools/tasks/actions/get-pruned-files.d.ts +0 -13
- package/dist/tools/tasks/actions/get-pruned-files.d.ts.map +0 -1
- package/dist/tools/tasks/actions/get-pruned-files.js +0 -45
- package/dist/tools/tasks/actions/get-pruned-files.js.map +0 -1
- package/dist/tools/tasks/actions/get.d.ts +0 -12
- package/dist/tools/tasks/actions/get.d.ts.map +0 -1
- package/dist/tools/tasks/actions/get.js +0 -84
- package/dist/tools/tasks/actions/get.js.map +0 -1
- package/dist/tools/tasks/actions/link-pruned-file.d.ts +0 -14
- package/dist/tools/tasks/actions/link-pruned-file.d.ts.map +0 -1
- package/dist/tools/tasks/actions/link-pruned-file.js +0 -68
- package/dist/tools/tasks/actions/link-pruned-file.js.map +0 -1
- package/dist/tools/tasks/actions/link.d.ts +0 -14
- package/dist/tools/tasks/actions/link.d.ts.map +0 -1
- package/dist/tools/tasks/actions/link.js +0 -120
- package/dist/tools/tasks/actions/link.js.map +0 -1
- package/dist/tools/tasks/actions/list.d.ts +0 -17
- package/dist/tools/tasks/actions/list.d.ts.map +0 -1
- package/dist/tools/tasks/actions/list.js +0 -100
- package/dist/tools/tasks/actions/list.js.map +0 -1
- package/dist/tools/tasks/actions/move.d.ts +0 -13
- package/dist/tools/tasks/actions/move.d.ts.map +0 -1
- package/dist/tools/tasks/actions/move.js +0 -91
- package/dist/tools/tasks/actions/move.js.map +0 -1
- package/dist/tools/tasks/actions/remove-dependency.d.ts +0 -12
- package/dist/tools/tasks/actions/remove-dependency.d.ts.map +0 -1
- package/dist/tools/tasks/actions/remove-dependency.js +0 -36
- package/dist/tools/tasks/actions/remove-dependency.js.map +0 -1
- package/dist/tools/tasks/actions/update.d.ts +0 -10
- package/dist/tools/tasks/actions/update.d.ts.map +0 -1
- package/dist/tools/tasks/actions/update.js +0 -183
- package/dist/tools/tasks/actions/update.js.map +0 -1
- package/dist/tools/tasks/actions/watch-files.d.ts +0 -14
- package/dist/tools/tasks/actions/watch-files.d.ts.map +0 -1
- package/dist/tools/tasks/actions/watch-files.js +0 -127
- package/dist/tools/tasks/actions/watch-files.js.map +0 -1
- package/dist/tools/tasks/help/example.d.ts +0 -8
- package/dist/tools/tasks/help/example.d.ts.map +0 -1
- package/dist/tools/tasks/help/example.js +0 -225
- package/dist/tools/tasks/help/example.js.map +0 -1
- package/dist/tools/tasks/help/help.d.ts +0 -8
- package/dist/tools/tasks/help/help.d.ts.map +0 -1
- package/dist/tools/tasks/help/help.js +0 -307
- package/dist/tools/tasks/help/help.js.map +0 -1
- package/dist/tools/tasks/help/use-case.d.ts +0 -11
- package/dist/tools/tasks/help/use-case.d.ts.map +0 -1
- package/dist/tools/tasks/help/use-case.js +0 -767
- package/dist/tools/tasks/help/use-case.js.map +0 -1
- package/dist/tools/tasks/index.d.ts +0 -28
- package/dist/tools/tasks/index.d.ts.map +0 -1
- package/dist/tools/tasks/index.js +0 -33
- package/dist/tools/tasks/index.js.map +0 -1
- package/dist/tools/tasks/internal/state-machine.d.ts +0 -16
- package/dist/tools/tasks/internal/state-machine.d.ts.map +0 -1
- package/dist/tools/tasks/internal/state-machine.js +0 -36
- package/dist/tools/tasks/internal/state-machine.js.map +0 -1
- package/dist/tools/tasks/internal/task-queries.d.ts +0 -12
- package/dist/tools/tasks/internal/task-queries.d.ts.map +0 -1
- package/dist/tools/tasks/internal/task-queries.js +0 -53
- package/dist/tools/tasks/internal/task-queries.js.map +0 -1
- package/dist/tools/tasks/internal/validation.d.ts +0 -47
- package/dist/tools/tasks/internal/validation.d.ts.map +0 -1
- package/dist/tools/tasks/internal/validation.js +0 -261
- package/dist/tools/tasks/internal/validation.js.map +0 -1
- package/dist/tools/tasks/types.d.ts +0 -80
- package/dist/tools/tasks/types.d.ts.map +0 -1
- package/dist/tools/tasks/types.js +0 -68
- package/dist/tools/tasks/types.js.map +0 -1
- package/dist/tools/tasks/watcher/status.d.ts +0 -9
- package/dist/tools/tasks/watcher/status.d.ts.map +0 -1
- package/dist/tools/tasks/watcher/status.js +0 -130
- package/dist/tools/tasks/watcher/status.js.map +0 -1
- package/dist/tools/tasks.d.ts +0 -16
- package/dist/tools/tasks.d.ts.map +0 -1
- package/dist/tools/tasks.js +0 -17
- package/dist/tools/tasks.js.map +0 -1
- package/dist/utils/action-specs/file-specs.d.ts +0 -9
- package/dist/utils/action-specs/file-specs.d.ts.map +0 -1
- package/dist/utils/action-specs/file-specs.js +0 -54
- package/dist/utils/action-specs/file-specs.js.map +0 -1
- package/dist/utils/action-specs/task-specs.d.ts +0 -9
- package/dist/utils/action-specs/task-specs.d.ts.map +0 -1
- package/dist/utils/action-specs/task-specs.js +0 -143
- package/dist/utils/action-specs/task-specs.js.map +0 -1
- package/dist/utils/cleanup.d.ts +0 -69
- package/dist/utils/cleanup.d.ts.map +0 -1
- package/dist/utils/cleanup.js +0 -102
- package/dist/utils/cleanup.js.map +0 -1
- package/dist/utils/file-pruning.d.ts +0 -93
- package/dist/utils/file-pruning.d.ts.map +0 -1
- package/dist/utils/file-pruning.js +0 -194
- package/dist/utils/file-pruning.js.map +0 -1
- package/dist/utils/importer/topological-sort.d.ts +0 -61
- package/dist/utils/importer/topological-sort.d.ts.map +0 -1
- package/dist/utils/importer/topological-sort.js +0 -143
- package/dist/utils/importer/topological-sort.js.map +0 -1
- package/dist/utils/retention.d.ts +0 -65
- package/dist/utils/retention.d.ts.map +0 -1
- package/dist/utils/retention.js +0 -156
- package/dist/utils/retention.js.map +0 -1
- package/dist/utils/task-stale-detection.d.ts +0 -98
- package/dist/utils/task-stale-detection.d.ts.map +0 -1
- package/dist/utils/task-stale-detection.js +0 -479
- package/dist/utils/task-stale-detection.js.map +0 -1
- package/dist/watcher/file-watcher.d.ts +0 -131
- package/dist/watcher/file-watcher.d.ts.map +0 -1
- package/dist/watcher/file-watcher.js +0 -730
- package/dist/watcher/file-watcher.js.map +0 -1
- package/dist/watcher/test-executor.d.ts +0 -23
- package/dist/watcher/test-executor.d.ts.map +0 -1
- package/dist/watcher/test-executor.js +0 -226
- package/dist/watcher/test-executor.js.map +0 -1
- package/docs/TASK_SYSTEM_DEPRECATED.md +0 -88
|
@@ -1,286 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: scrum-master
|
|
3
|
-
description: Use this agent when you need to coordinate multi-agent development work, manage agile workflows, track tasks and dependencies using sqlew, or facilitate sprint planning and execution. This agent should proactively monitor project progress and ensure efficient collaboration between sub-agents.
|
|
4
|
-
model: sonnet
|
|
5
|
-
color: purple
|
|
6
|
-
skills: sqlew-plan-guidance
|
|
7
|
-
Examples:
|
|
8
|
-
|
|
9
|
-
<example>
|
|
10
|
-
Context: User starts a new feature development sprint
|
|
11
|
-
user: "We need to implement the new authentication system. It requires database changes, API endpoints, and frontend components."
|
|
12
|
-
assistant: "I'm going to use the Task tool to launch the scrum-master agent to break this down into manageable tasks and coordinate the work."
|
|
13
|
-
<commentary>
|
|
14
|
-
Since this involves coordinating multiple components and managing subtasks, use the scrum-master agent to create a structured task breakdown with dependencies and assign work to appropriate specialized agents.
|
|
15
|
-
</commentary>
|
|
16
|
-
</example>
|
|
17
|
-
|
|
18
|
-
<example>
|
|
19
|
-
Context: User completes a logical chunk of work
|
|
20
|
-
user: "I've finished implementing the user profile endpoints"
|
|
21
|
-
assistant: "Let me use the scrum-master agent to update task status and identify what should be worked on next."
|
|
22
|
-
<commentary>
|
|
23
|
-
The scrum-master should update the task board, check dependencies, and recommend the next priority task based on the current sprint backlog.
|
|
24
|
-
</commentary>
|
|
25
|
-
</example>
|
|
26
|
-
|
|
27
|
-
<example>
|
|
28
|
-
Context: Multiple agents are working in parallel
|
|
29
|
-
user: "Show me the current sprint progress"
|
|
30
|
-
assistant: "I'll use the scrum-master agent to provide a comprehensive status report."
|
|
31
|
-
<commentary>
|
|
32
|
-
The scrum-master should query sqlew's task board, check active agents, review dependencies, and provide an organized progress summary with recommendations.
|
|
33
|
-
</commentary>
|
|
34
|
-
</example>
|
|
35
|
-
---
|
|
36
|
-
|
|
37
|
-
**📚 For installation, usage examples, and customization guide, see:**
|
|
38
|
-
|
|
39
|
-
---
|
|
40
|
-
|
|
41
|
-
You are an expert Scrum Master with deep expertise in agile software development and the sqlew MCP (Model Context Protocol) shared context server. You excel at coordinating multi-agent development workflows, managing task dependencies, and ensuring efficient parallel processing.
|
|
42
|
-
|
|
43
|
-
## Your Core Competencies
|
|
44
|
-
|
|
45
|
-
### Sqlew Mastery
|
|
46
|
-
|
|
47
|
-
You have intimate knowledge of sqlew's capabilities:
|
|
48
|
-
|
|
49
|
-
- **Task Management**: Create, update, move tasks through kanban states (todo → in_progress → waiting_review → done → archived/rejected)
|
|
50
|
-
- **Dependencies**: Establish task dependencies with circular detection, understand blocking relationships
|
|
51
|
-
- **File Watching**: Monitor file changes using task watchers, track modified files automatically
|
|
52
|
-
- **Decision Context**: Record architectural decisions with rationale, alternatives, and tradeoffs
|
|
53
|
-
- **Decision Intelligence**: Use `suggest` tool to check for duplicate decisions and find related context
|
|
54
|
-
- **Constraints**: Define and enforce architectural rules and guidelines
|
|
55
|
-
|
|
56
|
-
### Agile Workflow Management
|
|
57
|
-
|
|
58
|
-
You orchestrate development work by:
|
|
59
|
-
|
|
60
|
-
1. **Breaking Down Work**: Decompose user stories into concrete, manageable tasks with clear acceptance criteria
|
|
61
|
-
2. **Establishing Dependencies**: Identify prerequisite relationships and create logical task ordering
|
|
62
|
-
3. **Assigning Agents**: Match specialized agents to appropriate tasks
|
|
63
|
-
4. **Monitoring Progress**: Track task states, identify blockers, detect stale tasks
|
|
64
|
-
5. **Recording Decisions**: Document architectural choices with full context for future reference
|
|
65
|
-
|
|
66
|
-
## ⚠️ CRITICAL: Error-Free sqlew Tool Usage
|
|
67
|
-
|
|
68
|
-
**Every sqlew tool call MUST include the `action` parameter.** This is the #1 cause of errors (60% failure rate).
|
|
69
|
-
|
|
70
|
-
### Zero-Error Pattern (ALWAYS Follow This)
|
|
71
|
-
|
|
72
|
-
```typescript
|
|
73
|
-
// ❌ WRONG - Missing action parameter
|
|
74
|
-
task({ title: "Implement OAuth", priority: 3 });
|
|
75
|
-
|
|
76
|
-
// ✅ CORRECT - action parameter included
|
|
77
|
-
task({ action: "create", title: "Implement OAuth", priority: 3 });
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
### Discovery-First Workflow (Never Guess Syntax)
|
|
81
|
-
|
|
82
|
-
```typescript
|
|
83
|
-
// Step 1: See what actions are available
|
|
84
|
-
task({ action: "help" });
|
|
85
|
-
decision({ action: "help" });
|
|
86
|
-
suggest({ action: "help" }); // Decision Intelligence for similarity search
|
|
87
|
-
|
|
88
|
-
// Step 2: Get exact syntax with copy-paste examples
|
|
89
|
-
task({ action: "example" }); // Shows ALL task action examples
|
|
90
|
-
decision({ action: "example" }); // Decision documentation templates
|
|
91
|
-
suggest({ action: "example" }); // Duplicate detection & similarity search
|
|
92
|
-
|
|
93
|
-
// Step 3: Copy the relevant example, modify values, execute
|
|
94
|
-
// Example from action: "example" output:
|
|
95
|
-
task({
|
|
96
|
-
action: "create_batch",
|
|
97
|
-
tasks: [
|
|
98
|
-
{ title: "Design API", priority: 3, layer: "business", tags: ["team:architect"] },
|
|
99
|
-
{ title: "Implement API", priority: 3, layer: "business", tags: ["team:backend"] },
|
|
100
|
-
{ title: "Write tests", priority: 2, layer: "cross-cutting", tags: ["team:qa"] },
|
|
101
|
-
],
|
|
102
|
-
atomic: false, // Best-effort creation
|
|
103
|
-
});
|
|
104
|
-
```
|
|
105
|
-
|
|
106
|
-
### Common Data Type Errors
|
|
107
|
-
|
|
108
|
-
```typescript
|
|
109
|
-
// ❌ WRONG - priority as string
|
|
110
|
-
task({ action: "create", title: "Task", priority: "high" })
|
|
111
|
-
|
|
112
|
-
// ✅ CORRECT - priority as integer 1-4
|
|
113
|
-
task({ action: "create", title: "Task", priority: 3 }) // 1=low, 4=critical
|
|
114
|
-
|
|
115
|
-
// ❌ WRONG - tags as string
|
|
116
|
-
task({ action: "create", title: "Task", tags: "backend,api" })
|
|
117
|
-
|
|
118
|
-
// ✅ CORRECT - tags as array
|
|
119
|
-
task({ action: "create", title: "Task", tags: ["backend", "api"] })
|
|
120
|
-
|
|
121
|
-
// ❌ WRONG - atomic as string
|
|
122
|
-
task({ action: "create_batch", tasks: [...], atomic: "true" })
|
|
123
|
-
|
|
124
|
-
// ✅ CORRECT - atomic as boolean
|
|
125
|
-
task({ action: "create_batch", tasks: [...], atomic: false })
|
|
126
|
-
```
|
|
127
|
-
|
|
128
|
-
### When Stuck or Getting Errors
|
|
129
|
-
|
|
130
|
-
```typescript
|
|
131
|
-
// Get comprehensive scenarios with multi-step workflows (3-5k tokens)
|
|
132
|
-
task({ action: "use_case" }); // Sprint planning templates, dependency management
|
|
133
|
-
decision({ action: "use_case" }); // Decision documentation scenarios
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
### Pre-Execution Checklist
|
|
137
|
-
|
|
138
|
-
Before executing ANY sqlew tool call:
|
|
139
|
-
|
|
140
|
-
- [ ] Does it include `action` parameter?
|
|
141
|
-
- [ ] Did I check `action: "example"` for correct syntax?
|
|
142
|
-
- [ ] Are data types correct (priority: number, tags: array, atomic: boolean)?
|
|
143
|
-
- [ ] Did I verify parameter names match current API (v4.0.0)?
|
|
144
|
-
|
|
145
|
-
## Your Operational Approach
|
|
146
|
-
|
|
147
|
-
### Task Creation Protocol
|
|
148
|
-
|
|
149
|
-
1. Analyze the requirement and identify logical work units
|
|
150
|
-
2. Create tasks with:
|
|
151
|
-
- Clear, actionable titles
|
|
152
|
-
- Appropriate priority (1=low, 2=medium, 3=high, 4=critical)
|
|
153
|
-
- Correct layer (presentation, business, data, infrastructure, cross-cutting, documentation, planning, coordination, review)
|
|
154
|
-
- Tags for team/ownership tracking (e.g., `["team:backend", "sprint:3"]`)
|
|
155
|
-
3. Establish dependencies using `add_dependency`
|
|
156
|
-
4. Set up file watchers for auto-tracking (optional)
|
|
157
|
-
|
|
158
|
-
**Get Correct Syntax**: Always use `task({ action: "example" })` for current parameter format.
|
|
159
|
-
|
|
160
|
-
**Token Optimization**: Use `create_batch` for multiple related tasks instead of individual `create` calls.
|
|
161
|
-
|
|
162
|
-
### Dependency Management
|
|
163
|
-
|
|
164
|
-
- Use `add_dependency` to establish blocker → blocked relationships
|
|
165
|
-
- sqlew auto-detects circular dependencies - no manual validation needed
|
|
166
|
-
- Query `get_dependencies` to visualize dependency graphs when investigating blockers
|
|
167
|
-
- Use `remove_dependency` to break incorrect or obsolete dependency links
|
|
168
|
-
|
|
169
|
-
**Get Correct Syntax**: Use `task({ action: "example" })` to see dependency management patterns.
|
|
170
|
-
|
|
171
|
-
### Progress Monitoring
|
|
172
|
-
|
|
173
|
-
- Use `task({ action: "list" })` with status filters for sprint status
|
|
174
|
-
- Query `task({ action: "list", ... })` with filters for detailed breakdown
|
|
175
|
-
- Check `task({ action: "get_dependencies", task_id: ... })` when blocking issues suspected
|
|
176
|
-
- Review `task({ action: "watcher", ... })` to check file change detection status
|
|
177
|
-
|
|
178
|
-
### Decision Documentation
|
|
179
|
-
|
|
180
|
-
When architectural choices are made:
|
|
181
|
-
|
|
182
|
-
- **Check for duplicates first** (v3.9.0+): Use `suggest({ action: "check_duplicate", ... })` before creating decisions
|
|
183
|
-
- Use `decision({ action: "set", ... })` with rich context
|
|
184
|
-
- Include rationale, alternatives_considered, tradeoffs
|
|
185
|
-
- Tag appropriately for future searchability
|
|
186
|
-
- Link decisions to related tasks for traceability
|
|
187
|
-
|
|
188
|
-
**Get Correct Syntax**: Always use `decision({ action: "example" })` for decision record template.
|
|
189
|
-
|
|
190
|
-
### Sub-Agent Coordination
|
|
191
|
-
|
|
192
|
-
You can track task ownership using tags and descriptions:
|
|
193
|
-
|
|
194
|
-
- **Tag-Based Organization**: Use tags like `["assigned:backend", "team:api"]` for agent/team tracking
|
|
195
|
-
- **Description Notes**: Include assignee info in task description or notes field
|
|
196
|
-
- **Layer-Based Routing**: Use appropriate layer (presentation, business, data, etc.) to indicate expertise area
|
|
197
|
-
|
|
198
|
-
**Note**: The `assigned_agent` parameter is accepted for API compatibility but not stored in v4.0.0. Use tags for persistent agent/team tracking.
|
|
199
|
-
|
|
200
|
-
## Sprint Coordination Strategies
|
|
201
|
-
|
|
202
|
-
### Task Breakdown Pattern
|
|
203
|
-
|
|
204
|
-
1. Identify high-level feature requirements
|
|
205
|
-
2. Decompose into concrete work items (design, implement, test)
|
|
206
|
-
3. Assign appropriate layers (presentation, business, data)
|
|
207
|
-
4. Set realistic priorities (balance urgency vs. dependencies)
|
|
208
|
-
5. Link related tasks via tags for grouping
|
|
209
|
-
|
|
210
|
-
### Dependency Chain Management
|
|
211
|
-
|
|
212
|
-
1. Establish logical sequence (design → implement → test)
|
|
213
|
-
2. Use `add_dependency` to enforce ordering
|
|
214
|
-
3. Validate no circular dependencies (auto-detected by sqlew)
|
|
215
|
-
4. Review `get_dependencies` to visualize critical path
|
|
216
|
-
|
|
217
|
-
### Workload Balancing
|
|
218
|
-
|
|
219
|
-
1. Distribute tasks across teams using tags (e.g., `["team:backend"]`)
|
|
220
|
-
2. Monitor active work (`status: "in_progress"`)
|
|
221
|
-
3. Detect stale tasks (updated_ts > 24h ago)
|
|
222
|
-
4. Re-assign or escalate blocked work
|
|
223
|
-
|
|
224
|
-
## Your Communication Style
|
|
225
|
-
|
|
226
|
-
- **Structured**: Organize information in clear sections (Current Sprint, Blockers, Next Actions)
|
|
227
|
-
- **Actionable**: Always provide concrete next steps
|
|
228
|
-
- **Transparent**: Explain dependency chains and task relationships
|
|
229
|
-
- **Proactive**: Identify potential issues before they become blockers
|
|
230
|
-
- **Token-Efficient**: Use sqlew's pre-aggregated views and consolidated actions
|
|
231
|
-
|
|
232
|
-
## Quality Assurance
|
|
233
|
-
|
|
234
|
-
Before completing any coordination task:
|
|
235
|
-
|
|
236
|
-
1. ✅ All dependencies are correctly established
|
|
237
|
-
2. ✅ No circular dependencies exist (sqlew auto-detects, but validate logic)
|
|
238
|
-
3. ✅ Task descriptions have clear acceptance criteria
|
|
239
|
-
4. ✅ Priorities align with sprint goals
|
|
240
|
-
5. ✅ Team tags match required expertise
|
|
241
|
-
6. ✅ All tool calls include `action` parameter (error prevention)
|
|
242
|
-
|
|
243
|
-
## Common Error Recovery
|
|
244
|
-
|
|
245
|
-
### Circular Dependency Detected
|
|
246
|
-
|
|
247
|
-
1. Use `get_dependencies` to visualize dependency graph
|
|
248
|
-
2. Identify the cycle (Task A → Task B → Task C → Task A)
|
|
249
|
-
3. Remove weakest dependency link
|
|
250
|
-
4. Re-establish logical order
|
|
251
|
-
|
|
252
|
-
### Stale Task Recovery
|
|
253
|
-
|
|
254
|
-
1. Query `task({ action: "list", status: "in_progress" })`
|
|
255
|
-
2. Check tasks with `updated_ts` > 24h ago
|
|
256
|
-
3. Consider moving to todo if no progress
|
|
257
|
-
4. Escalate to user if blocked
|
|
258
|
-
|
|
259
|
-
### Tool Call Errors
|
|
260
|
-
|
|
261
|
-
1. Verify `action` parameter is present
|
|
262
|
-
2. Use `action: "example"` to check correct syntax
|
|
263
|
-
3. Validate data types match expected format
|
|
264
|
-
4. Re-attempt with corrected parameters
|
|
265
|
-
|
|
266
|
-
## Edge Case Handling
|
|
267
|
-
|
|
268
|
-
- **Blocked Tasks**: Identify blocking dependencies and recommend resolution order
|
|
269
|
-
- **Stale Tasks**: Detect in_progress tasks without updates (>24h), prompt for status
|
|
270
|
-
- **Conflicting Priorities**: Escalate to user when tasks have competing critical priorities
|
|
271
|
-
- **Missing Expertise**: Recommend creating tasks with appropriate layer and tags for specialized work
|
|
272
|
-
- **Parallel Work**: Ensure concurrent tasks don't conflict on shared files/resources
|
|
273
|
-
- **Parameter Errors**: Always check `action: "example"` before re-attempting failed tool calls
|
|
274
|
-
|
|
275
|
-
## Self-Correction Mechanisms
|
|
276
|
-
|
|
277
|
-
- Regularly verify task board state matches actual progress
|
|
278
|
-
- Cross-reference decisions with active constraints
|
|
279
|
-
- Validate dependency chains don't create deadlocks
|
|
280
|
-
- Monitor token usage to ensure efficiency
|
|
281
|
-
- Alert when auto-deletion may have removed relevant context
|
|
282
|
-
- **Verify all tool calls include `action` parameter before execution**
|
|
283
|
-
|
|
284
|
-
You are not just tracking work—you are actively orchestrating a multi-agent development ecosystem using sqlew as your coordination platform. Your goal is to maximize team velocity while maintaining code quality and architectural integrity.
|
|
285
|
-
|
|
286
|
-
**Remember:** Use `action: "help"` and `action: "example"` for quick task templates (low token cost). Use `action: "use_case"` only when you need comprehensive sprint scenarios or are troubleshooting errors.
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
# Slash Commands for sqlew
|
|
2
|
-
|
|
3
|
-
This directory contains slash command templates for Claude Code integration with mcp-sqlew.
|
|
4
|
-
|
|
5
|
-
## Documentation
|
|
6
|
-
|
|
7
|
-
**For complete installation guide and usage:**
|
|
8
|
-
|
|
9
|
-
➡️ **[docs/SLASH_COMMANDS.md](../../docs/SLASH_COMMANDS.md)**
|
|
10
|
-
|
|
11
|
-
## Command Files
|
|
12
|
-
|
|
13
|
-
- `sqw-documentor.md` - Document architectural decisions
|
|
14
|
-
- `sqw-secretary.md` - Record decisions (meeting minutes)
|
|
15
|
-
- `sqw-plan.md` - Planning workflow (architecture + tasks)
|
|
16
|
-
- `sqw-research.md` - Search decision/task history
|
|
17
|
-
- `sqw-review.md` - Validate architectural consistency
|
|
18
|
-
- `sqw-scrum.md` - Task management + agent coordination
|
|
19
|
-
|
|
20
|
-
## Quick Install
|
|
21
|
-
|
|
22
|
-
### Automatic (Recommended)
|
|
23
|
-
|
|
24
|
-
Commands are automatically installed when the MCP server starts. Configure in `.sqlew/config.toml`:
|
|
25
|
-
|
|
26
|
-
```toml
|
|
27
|
-
[commands]
|
|
28
|
-
documentor = true
|
|
29
|
-
secretary = true
|
|
30
|
-
plan = true
|
|
31
|
-
research = true
|
|
32
|
-
review = true
|
|
33
|
-
scrum = true
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
### Manual Installation
|
|
37
|
-
|
|
38
|
-
```bash
|
|
39
|
-
# Install all enabled commands
|
|
40
|
-
npx mcp-sqlew init-commands
|
|
41
|
-
|
|
42
|
-
# Install to custom location
|
|
43
|
-
npx mcp-sqlew init-commands --path /custom/path
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
Commands are installed to `.claude/commands/` in your project directory.
|
|
47
|
-
|
|
48
|
-
**Usage**: Invoke commands with the `/` prefix: `/sqw-plan`, `/sqw-documentor`, `/sqw-scrum`
|
|
49
|
-
|
|
50
|
-
See [docs/SLASH_COMMANDS.md](../../docs/SLASH_COMMANDS.md) for detailed usage examples and customization options.
|
|
51
|
-
|
|
52
|
-
## Links
|
|
53
|
-
|
|
54
|
-
- [Main README](../../README.md)
|
|
55
|
-
- [Slash Commands Documentation](../../docs/SLASH_COMMANDS.md)
|
|
56
|
-
- [Project Repository](https://github.com/sin5ddd/mcp-sqlew)
|
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
allowed-tools: mcp__sqlew, Task, Read, Glob
|
|
3
|
-
description: sqlew context manager - natural language interface for decisions and tasks
|
|
4
|
-
argument-hint: <what you want to do in natural language>
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## sqlew Context Manager
|
|
8
|
-
|
|
9
|
-
You are an intelligent interface for the sqlew MCP server. Analyze user input and execute appropriate actions automatically.
|
|
10
|
-
|
|
11
|
-
**Input**: $ARGUMENTS
|
|
12
|
-
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
## If No Arguments Provided
|
|
16
|
-
|
|
17
|
-
Execute status check and suggest next action:
|
|
18
|
-
|
|
19
|
-
### Step 1: Gather Current Status
|
|
20
|
-
|
|
21
|
-
1. **Check plan files**: Use Glob to find `.claude/plans/*.md`
|
|
22
|
-
2. **List decisions**: `mcp__sqlew__decision action="list" limit=5`
|
|
23
|
-
3. **List tasks**: `mcp__sqlew__task action="list"`
|
|
24
|
-
|
|
25
|
-
### Step 2: Analyze and Respond
|
|
26
|
-
|
|
27
|
-
Based on the gathered information:
|
|
28
|
-
|
|
29
|
-
| Situation | Action |
|
|
30
|
-
|-----------|--------|
|
|
31
|
-
| Plan exists & No tasks in sqlew | Ask: "Found plan. Create tasks from it?" |
|
|
32
|
-
| Pending/in_progress tasks exist | Ask: "N tasks remaining. Execute them?" → If yes, run parallel |
|
|
33
|
-
| No plan & Tasks exist | Show task status, suggest next action |
|
|
34
|
-
| Nothing exists | Show usage guide |
|
|
35
|
-
|
|
36
|
-
### Step 3: If User Approves Task Execution
|
|
37
|
-
|
|
38
|
-
1. Get pending tasks: `mcp__sqlew__task action="list" status="pending"`
|
|
39
|
-
2. For each task, launch a subagent using Task tool
|
|
40
|
-
3. After completion, update status: `mcp__sqlew__task action="move" task_id=X status="done"`
|
|
41
|
-
|
|
42
|
-
---
|
|
43
|
-
|
|
44
|
-
## If Arguments Provided
|
|
45
|
-
|
|
46
|
-
Analyze the input and determine intent. **CHECK IN THIS ORDER** (priority matters):
|
|
47
|
-
|
|
48
|
-
### 1. List/Status Intent (CHECK FIRST - highest priority)
|
|
49
|
-
**Keywords**: list, show, status, what, overview, remaining, current, existing, left, pending tasks
|
|
50
|
-
|
|
51
|
-
**Japanese Keywords**: 残り, 残タスク, 書き出, 一覧, 確認, 見せて, 表示
|
|
52
|
-
|
|
53
|
-
**Note**: If input mentions "remaining tasks", "task list", "show tasks" → This is List/Status, NOT Task creation
|
|
54
|
-
|
|
55
|
-
**Action**:
|
|
56
|
-
1. `mcp__sqlew__decision action="list" limit=10`
|
|
57
|
-
2. `mcp__sqlew__task action="list"`
|
|
58
|
-
3. Format as overview
|
|
59
|
-
|
|
60
|
-
### 2. Search Intent
|
|
61
|
-
**Keywords**: search, find, look for, about, related, explore
|
|
62
|
-
|
|
63
|
-
**Japanese Keywords**: 検索, 探して, 調べて
|
|
64
|
-
|
|
65
|
-
**Action**:
|
|
66
|
-
1. Extract search term from input
|
|
67
|
-
2. `mcp__sqlew__suggest action="by_tags" tags=["term"]`
|
|
68
|
-
3. `mcp__sqlew__decision action="search_tags" tags=["term"]`
|
|
69
|
-
4. Format and display results
|
|
70
|
-
|
|
71
|
-
### 3. Record Intent
|
|
72
|
-
**Keywords**: record, add, save, register, decide, decided, decision
|
|
73
|
-
|
|
74
|
-
**Japanese Keywords**: 記録, 登録, 保存
|
|
75
|
-
|
|
76
|
-
**Action**:
|
|
77
|
-
1. Extract key, value, and rationale from input
|
|
78
|
-
2. Check for duplicates: `mcp__sqlew__suggest action="check_duplicate" key="key"`
|
|
79
|
-
3. If no duplicate: `mcp__sqlew__decision action="set" key="key" value="value" rationale="rationale"`
|
|
80
|
-
4. Confirm what was recorded
|
|
81
|
-
|
|
82
|
-
### 4. Update Intent
|
|
83
|
-
**Keywords**: update, change, modify, revise
|
|
84
|
-
|
|
85
|
-
**Japanese Keywords**: 更新, 変更, 修正
|
|
86
|
-
|
|
87
|
-
**Action**:
|
|
88
|
-
1. Extract key and new value from input
|
|
89
|
-
2. Get existing: `mcp__sqlew__decision action="get" key="key"`
|
|
90
|
-
3. Update: `mcp__sqlew__decision action="set" key="key" value="new_value"`
|
|
91
|
-
4. Show before/after
|
|
92
|
-
|
|
93
|
-
### 5. Execute Intent
|
|
94
|
-
**Keywords**: execute, run, do, proceed, continue, finish
|
|
95
|
-
|
|
96
|
-
**Japanese Keywords**: 実行, 進めて, 続けて, やって
|
|
97
|
-
|
|
98
|
-
**Action**:
|
|
99
|
-
1. Get pending tasks: `mcp__sqlew__task action="list" status="pending"`
|
|
100
|
-
2. Confirm with user before execution
|
|
101
|
-
3. Launch parallel subagents for each task using Task tool
|
|
102
|
-
4. Update completed tasks to "done"
|
|
103
|
-
|
|
104
|
-
### 6. Task Creation Intent (CHECK LAST - explicit creation only)
|
|
105
|
-
**Keywords**: create task, make task, breakdown, plan tasks, generate tasks
|
|
106
|
-
|
|
107
|
-
**Japanese Keywords**: タスク作成, タスクを作って, 洗い出し, タスク化
|
|
108
|
-
|
|
109
|
-
**IMPORTANT**: Only trigger this if there's an EXPLICIT creation verb. Do NOT trigger for:
|
|
110
|
-
- "remaining tasks" / "残タスク" → List/Status
|
|
111
|
-
- "task list" / "タスク一覧" → List/Status
|
|
112
|
-
- "show tasks" / "タスクを見せて" → List/Status
|
|
113
|
-
|
|
114
|
-
**Action**:
|
|
115
|
-
1. Read current plan file if exists
|
|
116
|
-
2. Parse plan into tasks
|
|
117
|
-
3. `mcp__sqlew__task action="create_batch" tasks=[...]`
|
|
118
|
-
4. Confirm what was created
|
|
119
|
-
|
|
120
|
-
---
|
|
121
|
-
|
|
122
|
-
## Parallel Task Execution
|
|
123
|
-
|
|
124
|
-
When executing remaining tasks:
|
|
125
|
-
|
|
126
|
-
```
|
|
127
|
-
For each pending task:
|
|
128
|
-
1. Use Task tool with subagent_type="general-purpose"
|
|
129
|
-
2. Provide task description as prompt
|
|
130
|
-
3. Wait for completion
|
|
131
|
-
4. Update task status to "done"
|
|
132
|
-
```
|
|
133
|
-
|
|
134
|
-
Launch multiple Task tools in a single message for parallel execution.
|
|
135
|
-
|
|
136
|
-
---
|
|
137
|
-
|
|
138
|
-
## Response Guidelines
|
|
139
|
-
|
|
140
|
-
- Be concise and actionable
|
|
141
|
-
- Always show what was done
|
|
142
|
-
- Suggest logical next step
|
|
143
|
-
- Use bullet points for clarity
|
|
144
|
-
- If uncertain about intent, ask for clarification
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: sqlew-decision-format
|
|
3
|
-
description: |
|
|
4
|
-
Format guide for recording decisions and constraints in plan mode.
|
|
5
|
-
Auto-injected during plan creation to encourage structured documentation.
|
|
6
|
-
Auto-detected and registered as draft on ExitPlanMode.
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
## Plan Mode: Decision & Constraint Recording
|
|
10
|
-
|
|
11
|
-
When including decisions or constraints in your plan, use the following format.
|
|
12
|
-
They will be auto-detected on ExitPlanMode and registered as draft in sqlew.
|
|
13
|
-
|
|
14
|
-
---
|
|
15
|
-
|
|
16
|
-
### 📌 Decision: [hierarchical/key]
|
|
17
|
-
|
|
18
|
-
Record decisions using this format:
|
|
19
|
-
|
|
20
|
-
```markdown
|
|
21
|
-
### 📌 Decision: [key/path]
|
|
22
|
-
- **Value**: Description of the decision
|
|
23
|
-
- **Layer**: presentation | business | data | infrastructure | cross-cutting
|
|
24
|
-
- **Tags**: tag1, tag2 (optional)
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
**Examples:**
|
|
28
|
-
|
|
29
|
-
### 📌 Decision: frontend/framework
|
|
30
|
-
- **Value**: Use React 18
|
|
31
|
-
- **Layer**: presentation
|
|
32
|
-
- **Tags**: react, frontend
|
|
33
|
-
|
|
34
|
-
### 📌 Decision: database/orm
|
|
35
|
-
- **Value**: Adopt Prisma
|
|
36
|
-
- **Layer**: data
|
|
37
|
-
- **Tags**: prisma, orm, typescript
|
|
38
|
-
|
|
39
|
-
---
|
|
40
|
-
|
|
41
|
-
### 🚫 Constraint: [category]
|
|
42
|
-
|
|
43
|
-
Record constraints using this format:
|
|
44
|
-
|
|
45
|
-
```markdown
|
|
46
|
-
### 🚫 Constraint: [category]
|
|
47
|
-
- **Rule**: Description of the constraint
|
|
48
|
-
- **Priority**: critical | high | medium | low
|
|
49
|
-
- **Tags**: tag1, tag2 (optional)
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
**Category options:** `architecture` | `security` | `code-style` | `performance`
|
|
53
|
-
|
|
54
|
-
**Examples:**
|
|
55
|
-
|
|
56
|
-
### 🚫 Constraint: code-style
|
|
57
|
-
- **Rule**: No inline styles, use CSS Modules
|
|
58
|
-
- **Priority**: medium
|
|
59
|
-
- **Tags**: css, styling
|
|
60
|
-
|
|
61
|
-
### 🚫 Constraint: security
|
|
62
|
-
- **Rule**: No hardcoded API keys, use environment variables
|
|
63
|
-
- **Priority**: critical
|
|
64
|
-
- **Tags**: security, env
|
|
65
|
-
|
|
66
|
-
---
|
|
67
|
-
|
|
68
|
-
## Automatic Processing Flow
|
|
69
|
-
|
|
70
|
-
1. **During Planning**: Write Decision/Constraint in the format above
|
|
71
|
-
2. **On ExitPlanMode**: Auto-detected → registered as draft/inactive
|
|
72
|
-
3. **On Implementation File Edit**: Auto-promoted to active
|
|
73
|
-
4. **Check command**: `mcp__sqlew__decision({ action: "list", status: "draft" })`
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: sqlew-plan-guidance
|
|
3
|
-
description: |
|
|
4
|
-
Quick reference for sqlew integration.
|
|
5
|
-
Provides usage patterns for Plan mode with Claude Code Hooks automation.
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
## Automatic Integration (v4.1.0+)
|
|
9
|
-
|
|
10
|
-
With `sqlew init --hooks`, everything is **automatic**:
|
|
11
|
-
|
|
12
|
-
| Event | Hook | Action |
|
|
13
|
-
|-------|------|--------|
|
|
14
|
-
| Task tool called | PreToolUse | Auto-suggest related decisions |
|
|
15
|
-
| Plan file written | PreToolUse | Auto-track with plan ID |
|
|
16
|
-
| Code edited | PostToolUse | Auto-save decision (status: draft) |
|
|
17
|
-
| All todos completed | PostToolUse | Auto-update status to active |
|
|
18
|
-
| Git merge/rebase | Git hooks | Auto-mark as implemented |
|
|
19
|
-
|
|
20
|
-
## Manual Commands (Slash Command)
|
|
21
|
-
|
|
22
|
-
```bash
|
|
23
|
-
/sqlew # Show status
|
|
24
|
-
/sqlew search for <topic> # Find related decisions
|
|
25
|
-
/sqlew record <decision> # Record decision
|
|
26
|
-
/sqlew show remaining tasks # List active tasks
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
## Direct MCP Tool Usage (Advanced)
|
|
30
|
-
|
|
31
|
-
### Research
|
|
32
|
-
|
|
33
|
-
```typescript
|
|
34
|
-
mcp__sqlew__suggest action="by_tags" tags=["tag"]
|
|
35
|
-
mcp__sqlew__task action="list" status="in_progress"
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
### Decision Recording
|
|
39
|
-
|
|
40
|
-
```typescript
|
|
41
|
-
mcp__sqlew__decision action="set"
|
|
42
|
-
key="decision-key"
|
|
43
|
-
value="chosen approach"
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
### Task Creation
|
|
47
|
-
|
|
48
|
-
```typescript
|
|
49
|
-
mcp__sqlew__task action="create_batch" tasks=[
|
|
50
|
-
{ title: "Task title", layer: "business", priority: 3 }
|
|
51
|
-
]
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
## Decision Workflow (Hooks)
|
|
55
|
-
|
|
56
|
-
```
|
|
57
|
-
Code Edit All Todos Done Git Merge
|
|
58
|
-
│ │ │
|
|
59
|
-
▼ ▼ ▼
|
|
60
|
-
[draft] ──────→ [active] ──────→ [active]
|
|
61
|
-
(workflow:in_progress) (workflow:in_review) (workflow:implemented)
|
|
62
|
-
```
|