sqlew 4.0.4 → 4.1.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 +1805 -1762
- package/LICENSE +177 -39
- package/NOTICE +24 -0
- package/README.md +409 -390
- package/assets/claude-md-snippets/plan-mode-integration.md +17 -6
- package/assets/config.example.toml +282 -284
- package/assets/sample-agents/README.md +36 -40
- package/assets/sample-agents/sqlew-architect.md +321 -322
- package/assets/sample-agents/sqlew-researcher.md +292 -293
- package/assets/sample-agents/sqlew-scrum-master.md +286 -287
- package/assets/sample-commands/README.md +56 -57
- package/assets/sample-skills/sqlew-plan-guidance/SKILL.md +33 -26
- package/dist/cli/hooks/check-completion.d.ts +19 -0
- package/dist/cli/hooks/check-completion.d.ts.map +1 -0
- package/dist/cli/hooks/check-completion.js +104 -0
- package/dist/cli/hooks/check-completion.js.map +1 -0
- package/dist/cli/hooks/init-hooks.d.ts +35 -0
- package/dist/cli/hooks/init-hooks.d.ts.map +1 -0
- package/dist/cli/hooks/init-hooks.js +425 -0
- package/dist/cli/hooks/init-hooks.js.map +1 -0
- package/dist/cli/hooks/mark-done.d.ts +25 -0
- package/dist/cli/hooks/mark-done.d.ts.map +1 -0
- package/dist/cli/hooks/mark-done.js +128 -0
- package/dist/cli/hooks/mark-done.js.map +1 -0
- package/dist/cli/hooks/plan-id-utils.d.ts +83 -0
- package/dist/cli/hooks/plan-id-utils.d.ts.map +1 -0
- package/dist/cli/hooks/plan-id-utils.js +183 -0
- package/dist/cli/hooks/plan-id-utils.js.map +1 -0
- package/dist/cli/hooks/save.d.ts +23 -0
- package/dist/cli/hooks/save.d.ts.map +1 -0
- package/dist/cli/hooks/save.js +90 -0
- package/dist/cli/hooks/save.js.map +1 -0
- package/dist/cli/hooks/stdin-parser.d.ts +139 -0
- package/dist/cli/hooks/stdin-parser.d.ts.map +1 -0
- package/dist/cli/hooks/stdin-parser.js +127 -0
- package/dist/cli/hooks/stdin-parser.js.map +1 -0
- package/dist/cli/hooks/suggest.d.ts +19 -0
- package/dist/cli/hooks/suggest.d.ts.map +1 -0
- package/dist/cli/hooks/suggest.js +157 -0
- package/dist/cli/hooks/suggest.js.map +1 -0
- package/dist/cli/hooks/track-plan.d.ts +36 -0
- package/dist/cli/hooks/track-plan.d.ts.map +1 -0
- package/dist/cli/hooks/track-plan.js +152 -0
- package/dist/cli/hooks/track-plan.js.map +1 -0
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +56 -16
- package/dist/cli.js.map +1 -1
- package/dist/config/global-config.d.ts +187 -0
- package/dist/config/global-config.d.ts.map +1 -0
- package/dist/config/global-config.js +206 -0
- package/dist/config/global-config.js.map +1 -0
- package/dist/config/loader.d.ts +42 -0
- package/dist/config/loader.d.ts.map +1 -1
- package/dist/config/loader.js +96 -0
- package/dist/config/loader.js.map +1 -1
- package/dist/constants.d.ts +4 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +10 -0
- package/dist/constants.js.map +1 -1
- package/dist/database/operations/queries.d.ts.map +1 -1
- package/dist/database/operations/queries.js +11 -2
- package/dist/database/operations/queries.js.map +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/init-agents.js +0 -1
- package/dist/init-agents.js.map +1 -1
- package/dist/init-skills.d.ts +4 -3
- package/dist/init-skills.d.ts.map +1 -1
- package/dist/init-skills.js +10 -3
- package/dist/init-skills.js.map +1 -1
- package/dist/server/setup.d.ts +8 -0
- package/dist/server/setup.d.ts.map +1 -1
- package/dist/server/setup.js +141 -21
- package/dist/server/setup.js.map +1 -1
- package/dist/sync-agents.d.ts.map +1 -1
- package/dist/sync-agents.js +48 -3
- package/dist/sync-agents.js.map +1 -1
- package/dist/sync-commands.d.ts.map +1 -1
- package/dist/sync-commands.js +43 -3
- package/dist/sync-commands.js.map +1 -1
- package/dist/tools/constraints/actions/get.d.ts.map +1 -1
- package/dist/tools/constraints/actions/get.js +5 -8
- package/dist/tools/constraints/actions/get.js.map +1 -1
- package/dist/tools/constraints/help/help.d.ts.map +1 -1
- package/dist/tools/constraints/help/help.js +1 -6
- package/dist/tools/constraints/help/help.js.map +1 -1
- package/dist/tools/context/actions/get.d.ts.map +1 -1
- package/dist/tools/context/actions/get.js.map +1 -1
- package/dist/tools/context/actions/search-layer.d.ts.map +1 -1
- package/dist/tools/context/actions/search-layer.js +5 -3
- package/dist/tools/context/actions/search-layer.js.map +1 -1
- package/dist/tools/context/actions/set-from-policy.d.ts +2 -1
- package/dist/tools/context/actions/set-from-policy.d.ts.map +1 -1
- package/dist/tools/context/actions/set-from-policy.js.map +1 -1
- package/dist/tools/context/help/help.d.ts.map +1 -1
- package/dist/tools/context/help/help.js +1 -7
- package/dist/tools/context/help/help.js.map +1 -1
- package/dist/tools/context/internal/queries.d.ts.map +1 -1
- package/dist/tools/context/internal/queries.js +5 -2
- 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/files/actions/get.d.ts.map +1 -1
- package/dist/tools/files/actions/get.js +4 -6
- package/dist/tools/files/actions/get.js.map +1 -1
- package/dist/tools/files/help/help.d.ts.map +1 -1
- package/dist/tools/files/help/help.js +1 -6
- package/dist/tools/files/help/help.js.map +1 -1
- package/dist/tools/suggest/help/constraint-help.d.ts.map +1 -1
- package/dist/tools/suggest/help/constraint-help.js +0 -2
- package/dist/tools/suggest/help/constraint-help.js.map +1 -1
- package/dist/tools/suggest/internal/constraint-queries.d.ts.map +1 -1
- package/dist/tools/suggest/internal/constraint-queries.js +12 -5
- package/dist/tools/suggest/internal/constraint-queries.js.map +1 -1
- package/dist/tools/suggest/internal/queries.js +2 -2
- package/dist/tools/suggest/internal/queries.js.map +1 -1
- package/dist/tools/tasks/help/help.d.ts.map +1 -1
- package/dist/tools/tasks/help/help.js +0 -6
- package/dist/tools/tasks/help/help.js.map +1 -1
- package/dist/tools/tasks/help/use-case.d.ts.map +1 -1
- package/dist/tools/tasks/help/use-case.js +0 -1
- package/dist/tools/tasks/help/use-case.js.map +1 -1
- package/dist/tools/tasks/watcher/status.d.ts.map +1 -1
- package/dist/tools/tasks/watcher/status.js +5 -1
- package/dist/tools/tasks/watcher/status.js.map +1 -1
- package/dist/types/decision/params.d.ts +7 -6
- package/dist/types/decision/params.d.ts.map +1 -1
- package/dist/types/decision/templates.d.ts +3 -2
- package/dist/types/decision/templates.d.ts.map +1 -1
- package/dist/types/view-entities.d.ts +2 -1
- package/dist/types/view-entities.d.ts.map +1 -1
- package/dist/types.d.ts +19 -11
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +4 -1
- package/dist/types.js.map +1 -1
- package/dist/utils/enum-converter.d.ts +72 -0
- package/dist/utils/enum-converter.d.ts.map +1 -0
- package/dist/utils/enum-converter.js +76 -0
- package/dist/utils/enum-converter.js.map +1 -0
- package/dist/utils/hook-queue.d.ts +81 -0
- package/dist/utils/hook-queue.d.ts.map +1 -0
- package/dist/utils/hook-queue.js +156 -0
- package/dist/utils/hook-queue.js.map +1 -0
- package/dist/utils/project-root.d.ts +9 -2
- package/dist/utils/project-root.d.ts.map +1 -1
- package/dist/utils/project-root.js +16 -2
- package/dist/utils/project-root.js.map +1 -1
- package/dist/utils/tag-parser.d.ts.map +1 -1
- package/dist/utils/tag-parser.js +6 -0
- package/dist/utils/tag-parser.js.map +1 -1
- package/dist/utils/validators.d.ts +1 -1
- package/dist/utils/validators.d.ts.map +1 -1
- package/dist/utils/validators.js +1 -1
- package/dist/utils/validators.js.map +1 -1
- package/dist/utils/vcs-adapter.d.ts +44 -0
- package/dist/utils/vcs-adapter.d.ts.map +1 -1
- package/dist/utils/vcs-adapter.js +88 -0
- package/dist/utils/vcs-adapter.js.map +1 -1
- package/dist/utils/view-queries.d.ts.map +1 -1
- package/dist/utils/view-queries.js +9 -19
- package/dist/utils/view-queries.js.map +1 -1
- package/dist/watcher/base-watcher.d.ts +69 -0
- package/dist/watcher/base-watcher.d.ts.map +1 -0
- package/dist/watcher/base-watcher.js +130 -0
- package/dist/watcher/base-watcher.js.map +1 -0
- package/dist/watcher/index.d.ts +3 -0
- package/dist/watcher/index.d.ts.map +1 -1
- package/dist/watcher/index.js +2 -0
- package/dist/watcher/index.js.map +1 -1
- package/dist/watcher/queue-watcher.d.ts +64 -0
- package/dist/watcher/queue-watcher.d.ts.map +1 -0
- package/dist/watcher/queue-watcher.js +187 -0
- package/dist/watcher/queue-watcher.js.map +1 -0
- package/docs/ADR_CONCEPTS.md +140 -0
- package/docs/CONFIGURATION.md +922 -925
- package/docs/CROSS_DATABASE.md +153 -0
- package/docs/DATABASE_AUTH.md +70 -356
- package/docs/HOOKS_GUIDE.md +159 -0
- package/docs/SLASH_COMMANDS.md +329 -337
- package/docs/TASK_SYSTEM_DEPRECATED.md +88 -0
- package/docs/changelogs/CHANGELOG_ARCHIVE_v3.4_and_older.md +293 -296
- package/docs/cli/DATA_EXPORT_IMPORT.md +699 -700
- package/docs/cli/README.md +276 -277
- package/package.json +123 -119
- package/docs/ACCEPTANCE_CRITERIA.md +0 -625
- package/docs/AI_AGENT_GUIDE.md +0 -198
- package/docs/ARCHITECTURE.md +0 -167
- package/docs/AUTO_FILE_TRACKING.md +0 -841
- package/docs/BATCH_VALIDATION.md +0 -617
- package/docs/BEST_PRACTICES.md +0 -168
- package/docs/CONSTRAINT_INTELLIGENCE.md +0 -339
- package/docs/DECISION_CONTEXT.md +0 -675
- package/docs/DECISION_INTELLIGENCE.md +0 -605
- package/docs/GIT_AWARE_AUTO_COMPLETE.md +0 -646
- package/docs/MIGRATION_GUIDE_V3.9.0.md +0 -371
- package/docs/SHARED_CONCEPTS.md +0 -225
- package/docs/SPECIALIZED_AGENTS.md +0 -126
- package/docs/TASK_ACTIONS.md +0 -1177
- package/docs/TASK_OVERVIEW.md +0 -452
- package/docs/TASK_PRUNING.md +0 -594
- package/docs/TOOL_REFERENCE.md +0 -1077
- package/docs/TOOL_SELECTION.md +0 -83
- package/docs/WORKFLOWS.md +0 -941
package/package.json
CHANGED
|
@@ -1,119 +1,123 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "sqlew",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"type": "module",
|
|
7
|
-
"bin": {
|
|
8
|
-
"sqlew": "dist/index.js",
|
|
9
|
-
"sqlew-init-commands": "dist/init-commands.js"
|
|
10
|
-
},
|
|
11
|
-
"files": [
|
|
12
|
-
"dist/",
|
|
13
|
-
"scripts/",
|
|
14
|
-
"assets/",
|
|
15
|
-
"docs/",
|
|
16
|
-
"README.md",
|
|
17
|
-
"LICENSE",
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
],
|
|
22
|
-
"scripts": {
|
|
23
|
-
"build": "tsc",
|
|
24
|
-
"start": "node dist/index.js",
|
|
25
|
-
"cli": "node dist/cli.js",
|
|
26
|
-
"inspector": "npx @modelcontextprotocol/inspector node dist/index.js",
|
|
27
|
-
"dev": "tsc --watch",
|
|
28
|
-
"clean": "rimraf dist",
|
|
29
|
-
"rebuild": "npm run clean && npm run build",
|
|
30
|
-
"test": "node --test --test-force-exit --import tsx \"src/tests/unit/**/*.test.ts\" \"src/tests/feature/decision/**/*.test.ts\" \"src/tests/feature/task/**/*.test.ts\" \"src/tests/feature/help/**/*.test.ts\" \"src/tests/database/connection/**/*.test.ts\" \"src/tests/database/multi-project/**/*.test.ts\" \"src/tests/database/sql-dump/**/*.test.ts\" \"src/tests/integration/**/*.test.ts\" | node scripts/filter-test-output.js",
|
|
31
|
-
"test:verbose": "node --test --experimental-test-coverage --test-force-exit --import tsx \"src/tests/unit/**/*.test.ts\" \"src/tests/feature/decision/**/*.test.ts\" \"src/tests/feature/task/**/*.test.ts\" \"src/tests/feature/help/**/*.test.ts\" \"src/tests/database/connection/**/*.test.ts\" \"src/tests/database/multi-project/**/*.test.ts\" \"src/tests/database/sql-dump/**/*.test.ts\" \"src/tests/integration/**/*.test.ts\"",
|
|
32
|
-
"test:ci": "npm run build && npm test",
|
|
33
|
-
"test:vcs": "node --test --test-force-exit --import tsx \"src/tests/feature/vcs/**/*.test.ts\" | node scripts/filter-test-output.js",
|
|
34
|
-
"test:vcs:verbose": "node --test --test-force-exit --import tsx \"src/tests/feature/vcs/**/*.test.ts\"",
|
|
35
|
-
"test:all": "node --test --test-force-exit --import tsx \"src/tests/**/*.test.ts\" | node scripts/filter-test-output.js",
|
|
36
|
-
"test:all:verbose": "node --test --experimental-test-coverage --test-force-exit --import tsx \"src/tests/**/*.test.ts\"",
|
|
37
|
-
"test:unit": "node --test --test-force-exit --import tsx \"src/tests/unit/**/*.test.ts\" | node scripts/filter-test-output.js",
|
|
38
|
-
"test:unit:verbose": "node --test --test-force-exit --import tsx \"src/tests/unit/**/*.test.ts\"",
|
|
39
|
-
"test:feature": "node --test --test-force-exit --import tsx \"src/tests/feature/**/*.test.ts\" | node scripts/filter-test-output.js",
|
|
40
|
-
"test:feature:verbose": "node --test --test-force-exit --import tsx \"src/tests/feature/**/*.test.ts\"",
|
|
41
|
-
"test:database": "node --test --test-force-exit --import tsx \"src/tests/database/connection/**/*.test.ts\" \"src/tests/database/multi-project/**/*.test.ts\" \"src/tests/database/sql-dump/**/*.test.ts\" | node scripts/filter-test-output.js",
|
|
42
|
-
"test:database:verbose": "node --test --test-force-exit --import tsx \"src/tests/database/connection/**/*.test.ts\" \"src/tests/database/multi-project/**/*.test.ts\" \"src/tests/database/sql-dump/**/*.test.ts\"",
|
|
43
|
-
"test:integration": "node --test --test-force-exit --import tsx \"src/tests/integration/**/*.test.ts\" | node scripts/filter-test-output.js",
|
|
44
|
-
"test:integration:verbose": "node --test --test-force-exit --import tsx \"src/tests/integration/**/*.test.ts\"",
|
|
45
|
-
"test:decision": "node --test --test-force-exit --import tsx \"src/tests/feature/decision/**/*.test.ts\" | node scripts/filter-test-output.js",
|
|
46
|
-
"test:decision:verbose": "node --test --test-force-exit --import tsx \"src/tests/feature/decision/**/*.test.ts\"",
|
|
47
|
-
"test:task": "node --test --test-force-exit --import tsx \"src/tests/feature/task/**/*.test.ts\" | node scripts/filter-test-output.js",
|
|
48
|
-
"test:task:verbose": "node --test --test-force-exit --import tsx \"src/tests/feature/task/**/*.test.ts\"",
|
|
49
|
-
"test:migrations": "echo 'v4 migration tests not yet implemented - use test:native for RDBMS migration tests'",
|
|
50
|
-
"test:migrations:verbose": "echo 'v4 migration tests not yet implemented - use test:native:verbose for RDBMS migration tests'",
|
|
51
|
-
"test:sql-dump": "node --test --test-force-exit --import tsx \"src/tests/database/sql-dump/**/*.test.ts\" | node scripts/filter-test-output.js",
|
|
52
|
-
"test:sql-dump:verbose": "node --test --test-force-exit --import tsx \"src/tests/database/sql-dump/**/*.test.ts\"",
|
|
53
|
-
"test:all-features": "npm run build && node dist/tests/integration/all-features.standalone.js",
|
|
54
|
-
"test:docker": "npm run build && node --test --test-force-exit dist/tests/docker/**/*.test.js",
|
|
55
|
-
"test:native": "npm run build && node --test --test-concurrency=1 --test-force-exit dist/tests/docker/native/**/*.test.js | node scripts/filter-test-output.js",
|
|
56
|
-
"test:native:verbose": "npm run build && node --test --test-concurrency=1 --test-force-exit dist/tests/docker/native/**/*.test.js",
|
|
57
|
-
"test:migration-upgrade-paths": "echo 'v3 migration tests moved to v3 subdirectory - use test:native for v4 RDBMS tests'",
|
|
58
|
-
"test:migration-idempotency": "echo 'v3 migration tests moved to v3 subdirectory - use test:native for v4 RDBMS tests'",
|
|
59
|
-
"test:migrations:all": "npm run build && node dist/tests/migrations/test-all-versions-real.js",
|
|
60
|
-
"test:migrations:ci": "npm run build && node dist/tests/migrations/test-all-versions-real.js",
|
|
61
|
-
"prepare": "husky",
|
|
62
|
-
"prepublishOnly": "npm run rebuild",
|
|
63
|
-
"knex": "npx tsx node_modules/knex/bin/cli.js --knexfile src/knexfile.ts",
|
|
64
|
-
"migrate:make": "npm run knex migrate:make",
|
|
65
|
-
"migrate:latest": "npm run knex migrate:latest",
|
|
66
|
-
"migrate:rollback": "npm run knex migrate:rollback",
|
|
67
|
-
"migrate:rollback:all": "npm run knex migrate:rollback --all",
|
|
68
|
-
"migrate:status": "npm run knex migrate:status",
|
|
69
|
-
"seed:make": "npm run knex seed:make",
|
|
70
|
-
"seed:run": "npm run knex seed:run",
|
|
71
|
-
"db:dump": "node dist/cli.js db:dump",
|
|
72
|
-
"db:export": "node dist/cli.js db:export",
|
|
73
|
-
"db:import": "node dist/cli.js db:import"
|
|
74
|
-
},
|
|
75
|
-
"engines": {
|
|
76
|
-
"node": ">=20.0.0"
|
|
77
|
-
},
|
|
78
|
-
"repository": {
|
|
79
|
-
"type": "git",
|
|
80
|
-
"url": "git+https://github.com/sin5ddd/mcp-sqlew.git"
|
|
81
|
-
},
|
|
82
|
-
"bugs": {
|
|
83
|
-
"url": "https://github.com/sin5ddd/mcp-sqlew/issues"
|
|
84
|
-
},
|
|
85
|
-
"homepage": "https://github.com/sin5ddd/mcp-sqlew#readme",
|
|
86
|
-
"keywords": [
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
|
|
119
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "sqlew",
|
|
3
|
+
"description": "Automated ADR (Architecture Decision Records) for Claude Code - MCP server with SQL-backed decision repository",
|
|
4
|
+
"version": "4.1.0",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"bin": {
|
|
8
|
+
"sqlew": "dist/index.js",
|
|
9
|
+
"sqlew-init-commands": "dist/init-commands.js"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"dist/",
|
|
13
|
+
"scripts/",
|
|
14
|
+
"assets/",
|
|
15
|
+
"docs/",
|
|
16
|
+
"README.md",
|
|
17
|
+
"LICENSE",
|
|
18
|
+
"NOTICE",
|
|
19
|
+
"CHANGELOG.md",
|
|
20
|
+
"MIGRATION_v2.md"
|
|
21
|
+
],
|
|
22
|
+
"scripts": {
|
|
23
|
+
"build": "tsc",
|
|
24
|
+
"start": "node dist/index.js",
|
|
25
|
+
"cli": "node dist/cli.js",
|
|
26
|
+
"inspector": "npx @modelcontextprotocol/inspector node dist/index.js",
|
|
27
|
+
"dev": "tsc --watch",
|
|
28
|
+
"clean": "rimraf dist",
|
|
29
|
+
"rebuild": "npm run clean && npm run build",
|
|
30
|
+
"test": "node --test --test-force-exit --import tsx \"src/tests/unit/**/*.test.ts\" \"src/tests/feature/decision/**/*.test.ts\" \"src/tests/feature/task/**/*.test.ts\" \"src/tests/feature/help/**/*.test.ts\" \"src/tests/database/connection/**/*.test.ts\" \"src/tests/database/multi-project/**/*.test.ts\" \"src/tests/database/sql-dump/**/*.test.ts\" \"src/tests/integration/**/*.test.ts\" | node scripts/filter-test-output.js",
|
|
31
|
+
"test:verbose": "node --test --experimental-test-coverage --test-force-exit --import tsx \"src/tests/unit/**/*.test.ts\" \"src/tests/feature/decision/**/*.test.ts\" \"src/tests/feature/task/**/*.test.ts\" \"src/tests/feature/help/**/*.test.ts\" \"src/tests/database/connection/**/*.test.ts\" \"src/tests/database/multi-project/**/*.test.ts\" \"src/tests/database/sql-dump/**/*.test.ts\" \"src/tests/integration/**/*.test.ts\"",
|
|
32
|
+
"test:ci": "npm run build && npm test",
|
|
33
|
+
"test:vcs": "node --test --test-force-exit --import tsx \"src/tests/feature/vcs/**/*.test.ts\" | node scripts/filter-test-output.js",
|
|
34
|
+
"test:vcs:verbose": "node --test --test-force-exit --import tsx \"src/tests/feature/vcs/**/*.test.ts\"",
|
|
35
|
+
"test:all": "node --test --test-force-exit --import tsx \"src/tests/**/*.test.ts\" | node scripts/filter-test-output.js",
|
|
36
|
+
"test:all:verbose": "node --test --experimental-test-coverage --test-force-exit --import tsx \"src/tests/**/*.test.ts\"",
|
|
37
|
+
"test:unit": "node --test --test-force-exit --import tsx \"src/tests/unit/**/*.test.ts\" | node scripts/filter-test-output.js",
|
|
38
|
+
"test:unit:verbose": "node --test --test-force-exit --import tsx \"src/tests/unit/**/*.test.ts\"",
|
|
39
|
+
"test:feature": "node --test --test-force-exit --import tsx \"src/tests/feature/**/*.test.ts\" | node scripts/filter-test-output.js",
|
|
40
|
+
"test:feature:verbose": "node --test --test-force-exit --import tsx \"src/tests/feature/**/*.test.ts\"",
|
|
41
|
+
"test:database": "node --test --test-force-exit --import tsx \"src/tests/database/connection/**/*.test.ts\" \"src/tests/database/multi-project/**/*.test.ts\" \"src/tests/database/sql-dump/**/*.test.ts\" | node scripts/filter-test-output.js",
|
|
42
|
+
"test:database:verbose": "node --test --test-force-exit --import tsx \"src/tests/database/connection/**/*.test.ts\" \"src/tests/database/multi-project/**/*.test.ts\" \"src/tests/database/sql-dump/**/*.test.ts\"",
|
|
43
|
+
"test:integration": "node --test --test-force-exit --import tsx \"src/tests/integration/**/*.test.ts\" | node scripts/filter-test-output.js",
|
|
44
|
+
"test:integration:verbose": "node --test --test-force-exit --import tsx \"src/tests/integration/**/*.test.ts\"",
|
|
45
|
+
"test:decision": "node --test --test-force-exit --import tsx \"src/tests/feature/decision/**/*.test.ts\" | node scripts/filter-test-output.js",
|
|
46
|
+
"test:decision:verbose": "node --test --test-force-exit --import tsx \"src/tests/feature/decision/**/*.test.ts\"",
|
|
47
|
+
"test:task": "node --test --test-force-exit --import tsx \"src/tests/feature/task/**/*.test.ts\" | node scripts/filter-test-output.js",
|
|
48
|
+
"test:task:verbose": "node --test --test-force-exit --import tsx \"src/tests/feature/task/**/*.test.ts\"",
|
|
49
|
+
"test:migrations": "echo 'v4 migration tests not yet implemented - use test:native for RDBMS migration tests'",
|
|
50
|
+
"test:migrations:verbose": "echo 'v4 migration tests not yet implemented - use test:native:verbose for RDBMS migration tests'",
|
|
51
|
+
"test:sql-dump": "node --test --test-force-exit --import tsx \"src/tests/database/sql-dump/**/*.test.ts\" | node scripts/filter-test-output.js",
|
|
52
|
+
"test:sql-dump:verbose": "node --test --test-force-exit --import tsx \"src/tests/database/sql-dump/**/*.test.ts\"",
|
|
53
|
+
"test:all-features": "npm run build && node dist/tests/integration/all-features.standalone.js",
|
|
54
|
+
"test:docker": "npm run build && node --test --test-force-exit dist/tests/docker/**/*.test.js",
|
|
55
|
+
"test:native": "npm run build && node --test --test-concurrency=1 --test-force-exit dist/tests/docker/native/**/*.test.js | node scripts/filter-test-output.js",
|
|
56
|
+
"test:native:verbose": "npm run build && node --test --test-concurrency=1 --test-force-exit dist/tests/docker/native/**/*.test.js",
|
|
57
|
+
"test:migration-upgrade-paths": "echo 'v3 migration tests moved to v3 subdirectory - use test:native for v4 RDBMS tests'",
|
|
58
|
+
"test:migration-idempotency": "echo 'v3 migration tests moved to v3 subdirectory - use test:native for v4 RDBMS tests'",
|
|
59
|
+
"test:migrations:all": "npm run build && node dist/tests/migrations/test-all-versions-real.js",
|
|
60
|
+
"test:migrations:ci": "npm run build && node dist/tests/migrations/test-all-versions-real.js",
|
|
61
|
+
"prepare": "husky",
|
|
62
|
+
"prepublishOnly": "npm run rebuild",
|
|
63
|
+
"knex": "npx tsx node_modules/knex/bin/cli.js --knexfile src/knexfile.ts",
|
|
64
|
+
"migrate:make": "npm run knex migrate:make",
|
|
65
|
+
"migrate:latest": "npm run knex migrate:latest",
|
|
66
|
+
"migrate:rollback": "npm run knex migrate:rollback",
|
|
67
|
+
"migrate:rollback:all": "npm run knex migrate:rollback --all",
|
|
68
|
+
"migrate:status": "npm run knex migrate:status",
|
|
69
|
+
"seed:make": "npm run knex seed:make",
|
|
70
|
+
"seed:run": "npm run knex seed:run",
|
|
71
|
+
"db:dump": "node dist/cli.js db:dump",
|
|
72
|
+
"db:export": "node dist/cli.js db:export",
|
|
73
|
+
"db:import": "node dist/cli.js db:import"
|
|
74
|
+
},
|
|
75
|
+
"engines": {
|
|
76
|
+
"node": ">=20.0.0"
|
|
77
|
+
},
|
|
78
|
+
"repository": {
|
|
79
|
+
"type": "git",
|
|
80
|
+
"url": "git+https://github.com/sin5ddd/mcp-sqlew.git"
|
|
81
|
+
},
|
|
82
|
+
"bugs": {
|
|
83
|
+
"url": "https://github.com/sin5ddd/mcp-sqlew/issues"
|
|
84
|
+
},
|
|
85
|
+
"homepage": "https://github.com/sin5ddd/mcp-sqlew#readme",
|
|
86
|
+
"keywords": [
|
|
87
|
+
"adr",
|
|
88
|
+
"architecture-decision-record",
|
|
89
|
+
"mcp",
|
|
90
|
+
"mcp-server",
|
|
91
|
+
"model-context-protocol",
|
|
92
|
+
"ai-agents",
|
|
93
|
+
"claude-code",
|
|
94
|
+
"architectural-decisions",
|
|
95
|
+
"decision-management",
|
|
96
|
+
"sqlite",
|
|
97
|
+
"postgresql",
|
|
98
|
+
"mysql",
|
|
99
|
+
"token-efficiency"
|
|
100
|
+
],
|
|
101
|
+
"author": "sin5ddd",
|
|
102
|
+
"license": "Apache-2.0",
|
|
103
|
+
"dependencies": {
|
|
104
|
+
"@modelcontextprotocol/sdk": "^1.21.1",
|
|
105
|
+
"better-sqlite3": "^12.4.1",
|
|
106
|
+
"chokidar": "^4.0.3",
|
|
107
|
+
"ignore": "^7.0.5",
|
|
108
|
+
"knex": "^3.1.0",
|
|
109
|
+
"knex-schema-inspector": "^3.1.0",
|
|
110
|
+
"mysql2": "^3.15.3",
|
|
111
|
+
"pg": "^8.16.3",
|
|
112
|
+
"smol-toml": "^1.4.2"
|
|
113
|
+
},
|
|
114
|
+
"devDependencies": {
|
|
115
|
+
"@types/better-sqlite3": "^7.6.0",
|
|
116
|
+
"@types/knex": "^0.15.2",
|
|
117
|
+
"@types/node": "^20.0.0",
|
|
118
|
+
"husky": "^9.1.7",
|
|
119
|
+
"rimraf": "^6.1.0",
|
|
120
|
+
"tsx": "^4.20.6",
|
|
121
|
+
"typescript": "^5.0.0"
|
|
122
|
+
}
|
|
123
|
+
}
|