@adaptabletools/adaptable-mcp 0.1.0 → 1.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/README.md +0 -2
- package/data/manifest.snapshot.json +3 -3
- package/dist/skills/adaptable-debug/SKILL.md +3 -3
- package/dist/skills/adaptable-debug/VERSION.md +1 -1
- package/dist/skills/adaptable-debug/references/_shared/agents-snippet.md +1 -1
- package/dist/skills/adaptable-debug/references/_shared/capabilities.md +1 -1
- package/dist/skills/adaptable-debug/references/_shared/grounding.md +1 -1
- package/dist/skills/adaptable-dev/VERSION.md +1 -1
- package/dist/skills/adaptable-dev/references/_shared/agents-snippet.md +1 -1
- package/dist/skills/adaptable-dev/references/_shared/capabilities.md +1 -1
- package/dist/skills/adaptable-dev/references/_shared/grounding.md +1 -1
- package/dist/skills/adaptable-setup/SKILL.md +4 -4
- package/dist/skills/adaptable-setup/VERSION.md +1 -1
- package/dist/skills/adaptable-setup/references/_shared/agents-snippet.md +1 -1
- package/dist/skills/adaptable-setup/references/_shared/capabilities.md +1 -1
- package/dist/skills/adaptable-setup/references/_shared/grounding.md +1 -1
- package/dist/skills/adaptable-upgrade/SKILL.md +5 -5
- package/dist/skills/adaptable-upgrade/VERSION.md +1 -1
- package/dist/skills/adaptable-upgrade/references/_shared/agents-snippet.md +1 -1
- package/dist/skills/adaptable-upgrade/references/_shared/capabilities.md +1 -1
- package/dist/skills/adaptable-upgrade/references/_shared/grounding.md +1 -1
- package/dist/skills/adaptable-upgrade/references/apply-order.md +4 -4
- package/dist/skills/adaptable-upgrade/scripts/adaptable.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,8 +9,6 @@ The agent still writes the code; this package looks things up and checks them. T
|
|
|
9
9
|
|
|
10
10
|
Requires Node 20+. Full guide: [getting-started-ai-cli](https://www.adaptabletools.com/docs/getting-started-ai-cli).
|
|
11
11
|
|
|
12
|
-
> This package is being rebuilt. The commands below describe the target contract; the published `canary` line fills them in milestone by milestone, and `adaptable --help` lists what the installed version supports.
|
|
13
|
-
|
|
14
12
|
## Skills first
|
|
15
13
|
|
|
16
14
|
Install the AdapTable Agent Skills into a project; they tell the agent when to run the CLI and how to read its output:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 2,
|
|
3
|
-
"adaptableVersion": "24.0.0
|
|
3
|
+
"adaptableVersion": "24.0.0",
|
|
4
4
|
"major": 24,
|
|
5
5
|
"agGridPeer": ">=36.2.0",
|
|
6
6
|
"agGridPairings": [
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
"requiredAgGrid": ">=36.2.0"
|
|
149
149
|
},
|
|
150
150
|
"skills": {
|
|
151
|
-
"version": "0.1.0
|
|
151
|
+
"version": "0.1.0"
|
|
152
152
|
},
|
|
153
153
|
"cli": {
|
|
154
154
|
"minVersion": "0.1.0"
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
"vue"
|
|
161
161
|
],
|
|
162
162
|
"baseUrl": "https://www.adaptabletools.com",
|
|
163
|
-
"builtAt": "2026-10-
|
|
163
|
+
"builtAt": "2026-10-30T11:25:44.075Z",
|
|
164
164
|
"pageCount": 1191,
|
|
165
165
|
"files": {
|
|
166
166
|
"llmsTxt": {
|
|
@@ -67,8 +67,8 @@ instance list is empty, the problem is mounting, not State (symptoms.md).
|
|
|
67
67
|
## Phase 4 — Validate what you collected
|
|
68
68
|
|
|
69
69
|
```bash
|
|
70
|
-
npx -y @adaptabletools/adaptable-mcp@^
|
|
71
|
-
npx -y @adaptabletools/adaptable-mcp@^
|
|
70
|
+
npx -y @adaptabletools/adaptable-mcp@^1 check state persistent.json --columns columns.json --kind persistent
|
|
71
|
+
npx -y @adaptabletools/adaptable-mcp@^1 check expression "<suspect rule>" --module <Module> --columns columns.json
|
|
72
72
|
```
|
|
73
73
|
|
|
74
74
|
A persisted State that fails explains most "impossible" behaviour in one
|
|
@@ -126,7 +126,7 @@ snippet with keys stripped; the logs.
|
|
|
126
126
|
**Ask** before including any row-data values. The default is scrubbed:
|
|
127
127
|
|
|
128
128
|
```bash
|
|
129
|
-
npx -y @adaptabletools/adaptable-mcp@^
|
|
129
|
+
npx -y @adaptabletools/adaptable-mcp@^1 anonymise <bundle file> --out anonymised.json
|
|
130
130
|
```
|
|
131
131
|
|
|
132
132
|
Try to reproduce the symptom in the public support template linked from
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
1.0.0
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
<!-- BEGIN:adaptable-agent-rules -->
|
|
2
|
-
AdapTable (`@adaptabletools/*`) is used in this project. Its Options, State shapes, API and AdapTableQL change between majors, so do not rely on recalled knowledge. Before writing or changing AdapTable code use the `adaptable-dev` skill; for first-time integration `adaptable-setup`; for a misbehaving running grid `adaptable-debug`; for version upgrades `adaptable-upgrade`. Validate State, expressions and setup with `npx -y @adaptabletools/adaptable-mcp@^
|
|
2
|
+
AdapTable (`@adaptabletools/*`) is used in this project. Its Options, State shapes, API and AdapTableQL change between majors, so do not rely on recalled knowledge. Before writing or changing AdapTable code use the `adaptable-dev` skill; for first-time integration `adaptable-setup`; for a misbehaving running grid `adaptable-debug`; for version upgrades `adaptable-upgrade`. Validate State, expressions and setup with `npx -y @adaptabletools/adaptable-mcp@^1 check …` (or the `check_*` MCP tools when configured); read the docs for the installed version with `npx -y @adaptabletools/adaptable-mcp@^1 docs search "<topic>"`. The columnDefs, gridOptions and AG Grid modules of an AdapTable grid are covered by these skills too; consult the `ag-dev` / `ag-update` skills or AG Grid's documentation only for what the AdapTable docs and checks do not cover.
|
|
3
3
|
<!-- END:adaptable-agent-rules -->
|
|
@@ -29,7 +29,7 @@ Every capability of `@adaptabletools/adaptable-mcp` (response schema 1) has a CL
|
|
|
29
29
|
|
|
30
30
|
## Choosing a binding
|
|
31
31
|
|
|
32
|
-
- Prefer the MCP tool when the harness has the `adaptable` MCP server configured. Otherwise run the CLI command as `npx -y @adaptabletools/adaptable-mcp@^
|
|
32
|
+
- Prefer the MCP tool when the harness has the `adaptable` MCP server configured. Otherwise run the CLI command as `npx -y @adaptabletools/adaptable-mcp@^1 <command> [options]`; add `--json` to read fields instead of Markdown.
|
|
33
33
|
- If neither binding exists for what you need — the capability is not in this table, not in `adaptable --capabilities`, or not in the MCP tool list — say so and fall back to the docs (see `docs-protocol.md`). Never improvise the result a missing capability would have produced.
|
|
34
34
|
- All bindings return the same envelope: `ok`, `data`, `issues`, `warnings`, and on failure `error { code, message, hint }`. CLI exit codes: `0` ok, `1` findings, `2` usage, `3` environment.
|
|
35
35
|
- Skill scripts cannot reach the agent's MCP session: a script only ever runs the CLI. When the CLI is unavailable, the agent performs the fallback itself.
|
|
@@ -7,7 +7,7 @@ or diagnosing anything, establish what is actually installed.
|
|
|
7
7
|
## 1. Detect the project
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npx -y @adaptabletools/adaptable-mcp@^
|
|
10
|
+
npx -y @adaptabletools/adaptable-mcp@^1 detect --json
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
(or the `detect_environment` MCP tool when the `adaptable` MCP server is
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
1.0.0
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
<!-- BEGIN:adaptable-agent-rules -->
|
|
2
|
-
AdapTable (`@adaptabletools/*`) is used in this project. Its Options, State shapes, API and AdapTableQL change between majors, so do not rely on recalled knowledge. Before writing or changing AdapTable code use the `adaptable-dev` skill; for first-time integration `adaptable-setup`; for a misbehaving running grid `adaptable-debug`; for version upgrades `adaptable-upgrade`. Validate State, expressions and setup with `npx -y @adaptabletools/adaptable-mcp@^
|
|
2
|
+
AdapTable (`@adaptabletools/*`) is used in this project. Its Options, State shapes, API and AdapTableQL change between majors, so do not rely on recalled knowledge. Before writing or changing AdapTable code use the `adaptable-dev` skill; for first-time integration `adaptable-setup`; for a misbehaving running grid `adaptable-debug`; for version upgrades `adaptable-upgrade`. Validate State, expressions and setup with `npx -y @adaptabletools/adaptable-mcp@^1 check …` (or the `check_*` MCP tools when configured); read the docs for the installed version with `npx -y @adaptabletools/adaptable-mcp@^1 docs search "<topic>"`. The columnDefs, gridOptions and AG Grid modules of an AdapTable grid are covered by these skills too; consult the `ag-dev` / `ag-update` skills or AG Grid's documentation only for what the AdapTable docs and checks do not cover.
|
|
3
3
|
<!-- END:adaptable-agent-rules -->
|
|
@@ -29,7 +29,7 @@ Every capability of `@adaptabletools/adaptable-mcp` (response schema 1) has a CL
|
|
|
29
29
|
|
|
30
30
|
## Choosing a binding
|
|
31
31
|
|
|
32
|
-
- Prefer the MCP tool when the harness has the `adaptable` MCP server configured. Otherwise run the CLI command as `npx -y @adaptabletools/adaptable-mcp@^
|
|
32
|
+
- Prefer the MCP tool when the harness has the `adaptable` MCP server configured. Otherwise run the CLI command as `npx -y @adaptabletools/adaptable-mcp@^1 <command> [options]`; add `--json` to read fields instead of Markdown.
|
|
33
33
|
- If neither binding exists for what you need — the capability is not in this table, not in `adaptable --capabilities`, or not in the MCP tool list — say so and fall back to the docs (see `docs-protocol.md`). Never improvise the result a missing capability would have produced.
|
|
34
34
|
- All bindings return the same envelope: `ok`, `data`, `issues`, `warnings`, and on failure `error { code, message, hint }`. CLI exit codes: `0` ok, `1` findings, `2` usage, `3` environment.
|
|
35
35
|
- Skill scripts cannot reach the agent's MCP session: a script only ever runs the CLI. When the CLI is unavailable, the agent performs the fallback itself.
|
|
@@ -7,7 +7,7 @@ or diagnosing anything, establish what is actually installed.
|
|
|
7
7
|
## 1. Detect the project
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npx -y @adaptabletools/adaptable-mcp@^
|
|
10
|
+
npx -y @adaptabletools/adaptable-mcp@^1 detect --json
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
(or the `detect_environment` MCP tool when the `adaptable` MCP server is
|
|
@@ -48,7 +48,7 @@ no obvious unique column. One round of questions, then proceed.
|
|
|
48
48
|
## Phase 3 — Shell (path C only)
|
|
49
49
|
|
|
50
50
|
```bash
|
|
51
|
-
npx -y @adaptabletools/adaptable-mcp@^
|
|
51
|
+
npx -y @adaptabletools/adaptable-mcp@^1 scaffold --dry-run --framework <framework> --out <dir> [--data <file> | --sample <file.json> | --source-url <url>]
|
|
52
52
|
```
|
|
53
53
|
|
|
54
54
|
Pass the data source agreed in Phase 2 (without it the dry run previews the
|
|
@@ -72,7 +72,7 @@ re-run `detect` in the new folder.
|
|
|
72
72
|
3. Migrate ColDef-owned layout and styling:
|
|
73
73
|
|
|
74
74
|
```bash
|
|
75
|
-
npx -y @adaptabletools/adaptable-mcp@^
|
|
75
|
+
npx -y @adaptabletools/adaptable-mcp@^1 convert coldefs <columnDefs file>
|
|
76
76
|
```
|
|
77
77
|
|
|
78
78
|
It returns a Layout for the new Initial State, a `remove[]` list of
|
|
@@ -112,7 +112,7 @@ re-run `detect` in the new folder.
|
|
|
112
112
|
### Paths B/C — scaffold the overlay
|
|
113
113
|
|
|
114
114
|
```bash
|
|
115
|
-
npx -y @adaptabletools/adaptable-mcp@^
|
|
115
|
+
npx -y @adaptabletools/adaptable-mcp@^1 scaffold --dry-run --out <dir> [--data <file> | --sample <file.json> | --source-url <url>]
|
|
116
116
|
```
|
|
117
117
|
|
|
118
118
|
**Gate — columns and primary key.** **Show** the inferred columns (field,
|
|
@@ -145,7 +145,7 @@ confirmed columns (column ids and Scopes change; shapes come from the demo),
|
|
|
145
145
|
and validate the merged Initial State:
|
|
146
146
|
|
|
147
147
|
```bash
|
|
148
|
-
npx -y @adaptabletools/adaptable-mcp@^
|
|
148
|
+
npx -y @adaptabletools/adaptable-mcp@^1 check state <adaptableOptions file> --columns <columnDefs file>
|
|
149
149
|
```
|
|
150
150
|
|
|
151
151
|
**Ask** which suggestions to include (default: none — a clean minimal grid
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
1.0.0
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
<!-- BEGIN:adaptable-agent-rules -->
|
|
2
|
-
AdapTable (`@adaptabletools/*`) is used in this project. Its Options, State shapes, API and AdapTableQL change between majors, so do not rely on recalled knowledge. Before writing or changing AdapTable code use the `adaptable-dev` skill; for first-time integration `adaptable-setup`; for a misbehaving running grid `adaptable-debug`; for version upgrades `adaptable-upgrade`. Validate State, expressions and setup with `npx -y @adaptabletools/adaptable-mcp@^
|
|
2
|
+
AdapTable (`@adaptabletools/*`) is used in this project. Its Options, State shapes, API and AdapTableQL change between majors, so do not rely on recalled knowledge. Before writing or changing AdapTable code use the `adaptable-dev` skill; for first-time integration `adaptable-setup`; for a misbehaving running grid `adaptable-debug`; for version upgrades `adaptable-upgrade`. Validate State, expressions and setup with `npx -y @adaptabletools/adaptable-mcp@^1 check …` (or the `check_*` MCP tools when configured); read the docs for the installed version with `npx -y @adaptabletools/adaptable-mcp@^1 docs search "<topic>"`. The columnDefs, gridOptions and AG Grid modules of an AdapTable grid are covered by these skills too; consult the `ag-dev` / `ag-update` skills or AG Grid's documentation only for what the AdapTable docs and checks do not cover.
|
|
3
3
|
<!-- END:adaptable-agent-rules -->
|
|
@@ -29,7 +29,7 @@ Every capability of `@adaptabletools/adaptable-mcp` (response schema 1) has a CL
|
|
|
29
29
|
|
|
30
30
|
## Choosing a binding
|
|
31
31
|
|
|
32
|
-
- Prefer the MCP tool when the harness has the `adaptable` MCP server configured. Otherwise run the CLI command as `npx -y @adaptabletools/adaptable-mcp@^
|
|
32
|
+
- Prefer the MCP tool when the harness has the `adaptable` MCP server configured. Otherwise run the CLI command as `npx -y @adaptabletools/adaptable-mcp@^1 <command> [options]`; add `--json` to read fields instead of Markdown.
|
|
33
33
|
- If neither binding exists for what you need — the capability is not in this table, not in `adaptable --capabilities`, or not in the MCP tool list — say so and fall back to the docs (see `docs-protocol.md`). Never improvise the result a missing capability would have produced.
|
|
34
34
|
- All bindings return the same envelope: `ok`, `data`, `issues`, `warnings`, and on failure `error { code, message, hint }`. CLI exit codes: `0` ok, `1` findings, `2` usage, `3` environment.
|
|
35
35
|
- Skill scripts cannot reach the agent's MCP session: a script only ever runs the CLI. When the CLI is unavailable, the agent performs the fallback itself.
|
|
@@ -7,7 +7,7 @@ or diagnosing anything, establish what is actually installed.
|
|
|
7
7
|
## 1. Detect the project
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npx -y @adaptabletools/adaptable-mcp@^
|
|
10
|
+
npx -y @adaptabletools/adaptable-mcp@^1 detect --json
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
(or the `detect_environment` MCP tool when the `adaptable` MCP server is
|
|
@@ -61,7 +61,7 @@ silently — a stale SCOPE from another target poisons every later phase.
|
|
|
61
61
|
### Phase 3 — Scope → `ADAPTABLE_UPGRADE_SCOPE.md`
|
|
62
62
|
|
|
63
63
|
```bash
|
|
64
|
-
npx -y @adaptabletools/adaptable-mcp@^
|
|
64
|
+
npx -y @adaptabletools/adaptable-mcp@^1 detect --all-projects --json
|
|
65
65
|
```
|
|
66
66
|
|
|
67
67
|
Record per project: path, framework and wrapper package, AdapTable range and
|
|
@@ -79,8 +79,8 @@ run against such a project.
|
|
|
79
79
|
manifest reports:
|
|
80
80
|
|
|
81
81
|
```bash
|
|
82
|
-
npx -y @adaptabletools/adaptable-mcp@^
|
|
83
|
-
npx -y @adaptabletools/adaptable-mcp@^
|
|
82
|
+
npx -y @adaptabletools/adaptable-mcp@^1 compat --adaptable <target>
|
|
83
|
+
npx -y @adaptabletools/adaptable-mcp@^1 compat --adaptable <target> --ag-grid <installed AG Grid major>
|
|
84
84
|
```
|
|
85
85
|
|
|
86
86
|
`compat` returns the target's AG Grid pairing, wrapper packages and
|
|
@@ -134,7 +134,7 @@ index) is the CLI's own chrome: read it, act on the warnings, leave it out
|
|
|
134
134
|
of the plan.
|
|
135
135
|
|
|
136
136
|
```bash
|
|
137
|
-
npx -y @adaptabletools/adaptable-mcp@^
|
|
137
|
+
npx -y @adaptabletools/adaptable-mcp@^1 changes --from <current> --to <target> \
|
|
138
138
|
--repo <repository root> --projects <project folders from SCOPE> --with-docs
|
|
139
139
|
```
|
|
140
140
|
|
|
@@ -159,7 +159,7 @@ Then, for every file in each project's `initialStateLiterals`:
|
|
|
159
159
|
|
|
160
160
|
```bash
|
|
161
161
|
mkdir -p ADAPTABLE_UPGRADE_STATE
|
|
162
|
-
npx -y @adaptabletools/adaptable-mcp@^
|
|
162
|
+
npx -y @adaptabletools/adaptable-mcp@^1 migrate state <project>/<file> --from <current> --to <target> \
|
|
163
163
|
--kind initial --columns <project>/<columnDefs file> --out ADAPTABLE_UPGRADE_STATE/<project>--<file>.json \
|
|
164
164
|
> ADAPTABLE_UPGRADE_STATE/<project>--<file>.md
|
|
165
165
|
```
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
1.0.0
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
<!-- BEGIN:adaptable-agent-rules -->
|
|
2
|
-
AdapTable (`@adaptabletools/*`) is used in this project. Its Options, State shapes, API and AdapTableQL change between majors, so do not rely on recalled knowledge. Before writing or changing AdapTable code use the `adaptable-dev` skill; for first-time integration `adaptable-setup`; for a misbehaving running grid `adaptable-debug`; for version upgrades `adaptable-upgrade`. Validate State, expressions and setup with `npx -y @adaptabletools/adaptable-mcp@^
|
|
2
|
+
AdapTable (`@adaptabletools/*`) is used in this project. Its Options, State shapes, API and AdapTableQL change between majors, so do not rely on recalled knowledge. Before writing or changing AdapTable code use the `adaptable-dev` skill; for first-time integration `adaptable-setup`; for a misbehaving running grid `adaptable-debug`; for version upgrades `adaptable-upgrade`. Validate State, expressions and setup with `npx -y @adaptabletools/adaptable-mcp@^1 check …` (or the `check_*` MCP tools when configured); read the docs for the installed version with `npx -y @adaptabletools/adaptable-mcp@^1 docs search "<topic>"`. The columnDefs, gridOptions and AG Grid modules of an AdapTable grid are covered by these skills too; consult the `ag-dev` / `ag-update` skills or AG Grid's documentation only for what the AdapTable docs and checks do not cover.
|
|
3
3
|
<!-- END:adaptable-agent-rules -->
|
|
@@ -29,7 +29,7 @@ Every capability of `@adaptabletools/adaptable-mcp` (response schema 1) has a CL
|
|
|
29
29
|
|
|
30
30
|
## Choosing a binding
|
|
31
31
|
|
|
32
|
-
- Prefer the MCP tool when the harness has the `adaptable` MCP server configured. Otherwise run the CLI command as `npx -y @adaptabletools/adaptable-mcp@^
|
|
32
|
+
- Prefer the MCP tool when the harness has the `adaptable` MCP server configured. Otherwise run the CLI command as `npx -y @adaptabletools/adaptable-mcp@^1 <command> [options]`; add `--json` to read fields instead of Markdown.
|
|
33
33
|
- If neither binding exists for what you need — the capability is not in this table, not in `adaptable --capabilities`, or not in the MCP tool list — say so and fall back to the docs (see `docs-protocol.md`). Never improvise the result a missing capability would have produced.
|
|
34
34
|
- All bindings return the same envelope: `ok`, `data`, `issues`, `warnings`, and on failure `error { code, message, hint }`. CLI exit codes: `0` ok, `1` findings, `2` usage, `3` environment.
|
|
35
35
|
- Skill scripts cannot reach the agent's MCP session: a script only ever runs the CLI. When the CLI is unavailable, the agent performs the fallback itself.
|
|
@@ -7,7 +7,7 @@ or diagnosing anything, establish what is actually installed.
|
|
|
7
7
|
## 1. Detect the project
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npx -y @adaptabletools/adaptable-mcp@^
|
|
10
|
+
npx -y @adaptabletools/adaptable-mcp@^1 detect --json
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
(or the `detect_environment` MCP tool when the `adaptable` MCP server is
|
|
@@ -68,7 +68,7 @@ say so in the report.
|
|
|
68
68
|
payload, a test — are not reached by State migration. Rewrite each one:
|
|
69
69
|
|
|
70
70
|
```bash
|
|
71
|
-
npx -y @adaptabletools/adaptable-mcp@^
|
|
71
|
+
npx -y @adaptabletools/adaptable-mcp@^1 migrate expression "<expression>" --from <n> --to <m> --module <Module> --columns <columnDefs file>
|
|
72
72
|
```
|
|
73
73
|
|
|
74
74
|
The output carries `original`, `migrated`, `changed` and, for targets 24
|
|
@@ -96,9 +96,9 @@ The validation loop applies (three rounds at most, then the remaining
|
|
|
96
96
|
issues verbatim):
|
|
97
97
|
|
|
98
98
|
```bash
|
|
99
|
-
npx -y @adaptabletools/adaptable-mcp@^
|
|
100
|
-
npx -y @adaptabletools/adaptable-mcp@^
|
|
101
|
-
npx -y @adaptabletools/adaptable-mcp@^
|
|
99
|
+
npx -y @adaptabletools/adaptable-mcp@^1 check state <file with the literal> --major <target> --columns <columnDefs file>
|
|
100
|
+
npx -y @adaptabletools/adaptable-mcp@^1 check expression "<rewritten string>" --module <Module> --columns <columnDefs file>
|
|
101
|
+
npx -y @adaptabletools/adaptable-mcp@^1 check setup
|
|
102
102
|
```
|
|
103
103
|
|
|
104
104
|
- `check state` on every rewritten literal — the shape against the target
|
|
@@ -11,7 +11,7 @@ import { spawnSync } from 'node:child_process';
|
|
|
11
11
|
|
|
12
12
|
const windows = process.platform === 'win32';
|
|
13
13
|
const override = process.env.ADAPTABLE_CLI?.trim();
|
|
14
|
-
const [command, ...lead] = override ? override.split(/\s+/) : [windows ? 'npx.cmd' : 'npx', '-y', '@adaptabletools/adaptable-mcp@^
|
|
14
|
+
const [command, ...lead] = override ? override.split(/\s+/) : [windows ? 'npx.cmd' : 'npx', '-y', '@adaptabletools/adaptable-mcp@^1'];
|
|
15
15
|
const result = spawnSync(command, [...lead, ...process.argv.slice(2)], {
|
|
16
16
|
stdio: 'inherit',
|
|
17
17
|
shell: windows,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaptabletools/adaptable-mcp",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "AdapTable CLI and MCP server for coding agents: version-matched docs, State and AdapTableQL checks, migration, scaffolding",
|
|
5
5
|
"homepage": "https://www.adaptabletools.com/",
|
|
6
6
|
"license": "contact sales@adaptabletools.com for details",
|