@longtable/mcp 0.1.50 → 0.1.52
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 +6 -3
- package/dist/server.js +8 -8
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# @longtable/mcp
|
|
2
2
|
|
|
3
|
-
MCP transport for LongTable workspace state, `$longtable-
|
|
3
|
+
MCP transport for LongTable workspace state, `$longtable-start`,
|
|
4
|
+
`$longtable-interview`, and
|
|
4
5
|
Researcher Checkpoints.
|
|
5
6
|
|
|
6
7
|
This package does not own LongTable state. It exposes structured tools over the
|
|
@@ -15,7 +16,7 @@ longtable-state
|
|
|
15
16
|
Run:
|
|
16
17
|
|
|
17
18
|
```bash
|
|
18
|
-
npx -y @longtable/mcp@0.1.
|
|
19
|
+
npx -y @longtable/mcp@0.1.52
|
|
19
20
|
```
|
|
20
21
|
|
|
21
22
|
Self-test:
|
|
@@ -33,7 +34,9 @@ longtable mcp install --provider codex --checkpoint-ui strong --write
|
|
|
33
34
|
If MCP elicitation is unavailable or not approved, the server returns the same
|
|
34
35
|
pending `QuestionRecord` as a numbered fallback.
|
|
35
36
|
|
|
36
|
-
Provider guidance should use interview tools for `$longtable-
|
|
37
|
+
Provider guidance should use interview tools for `$longtable-start`.
|
|
38
|
+
`$longtable-interview` is post-start and should route back to
|
|
39
|
+
`$longtable-start` when no usable Research Specification exists:
|
|
37
40
|
|
|
38
41
|
- `create_workspace`
|
|
39
42
|
- `begin_interview`
|
package/dist/server.js
CHANGED
|
@@ -381,14 +381,14 @@ async function beginInterviewHook(context, options) {
|
|
|
381
381
|
turns: [],
|
|
382
382
|
qualityNotes: [],
|
|
383
383
|
rationale: [
|
|
384
|
-
"Official LongTable research start surface is provider-native `$longtable-
|
|
384
|
+
"Official LongTable research start surface is provider-native `$longtable-start`, not the CLI start questionnaire."
|
|
385
385
|
]
|
|
386
386
|
};
|
|
387
387
|
const updated = upsertInterviewHook(state, hook);
|
|
388
388
|
updated.workingState = {
|
|
389
389
|
...updated.workingState,
|
|
390
390
|
activeInterviewHookId: hook.id,
|
|
391
|
-
interviewSurface: "$longtable-
|
|
391
|
+
interviewSurface: "$longtable-start",
|
|
392
392
|
...(options.openingQuestion ? { interviewOpeningQuestion: options.openingQuestion } : {}),
|
|
393
393
|
...(options.seedAnswer ? { interviewSeedAnswer: options.seedAnswer } : {})
|
|
394
394
|
};
|
|
@@ -502,7 +502,7 @@ async function summarizeInterviewHook(context, options) {
|
|
|
502
502
|
updated.narrativeTraces.push({
|
|
503
503
|
id: createId("narrative_trace"),
|
|
504
504
|
timestamp,
|
|
505
|
-
source: "$longtable-
|
|
505
|
+
source: "$longtable-start",
|
|
506
506
|
traceType: "judgment",
|
|
507
507
|
summary: `First Research Shape: ${shape.handle}.`,
|
|
508
508
|
visibility: "explicit",
|
|
@@ -615,7 +615,7 @@ async function summarizeResearchSpecificationHook(context, options) {
|
|
|
615
615
|
updated.narrativeTraces.push({
|
|
616
616
|
id: createId("narrative_trace"),
|
|
617
617
|
timestamp,
|
|
618
|
-
source: "$longtable-
|
|
618
|
+
source: "$longtable-start",
|
|
619
619
|
traceType: "judgment",
|
|
620
620
|
summary: `Research Specification draft: ${specification.title}.`,
|
|
621
621
|
visibility: "explicit",
|
|
@@ -660,7 +660,7 @@ async function cancelInterviewHook(context, options) {
|
|
|
660
660
|
{
|
|
661
661
|
id: createId("narrative_trace"),
|
|
662
662
|
timestamp,
|
|
663
|
-
source: "$longtable-
|
|
663
|
+
source: "$longtable-start",
|
|
664
664
|
traceType: "judgment",
|
|
665
665
|
summary: options.reason?.trim()
|
|
666
666
|
? `LongTable interview cancelled: ${options.reason.trim()}.`
|
|
@@ -1099,7 +1099,7 @@ export function createLongTableMcpServer() {
|
|
|
1099
1099
|
});
|
|
1100
1100
|
server.registerTool("create_workspace", {
|
|
1101
1101
|
title: "Create LongTable Workspace",
|
|
1102
|
-
description: "Create a .longtable workspace in the current folder for provider-native $longtable-
|
|
1102
|
+
description: "Create a .longtable workspace in the current folder for provider-native $longtable-start.",
|
|
1103
1103
|
inputSchema: cwdSchema.extend({
|
|
1104
1104
|
projectName: z.string().optional(),
|
|
1105
1105
|
projectPath: z.string().optional(),
|
|
@@ -1143,7 +1143,7 @@ export function createLongTableMcpServer() {
|
|
|
1143
1143
|
});
|
|
1144
1144
|
server.registerTool("begin_interview", {
|
|
1145
1145
|
title: "Begin LongTable Interview",
|
|
1146
|
-
description: "Create or resume the active $longtable-
|
|
1146
|
+
description: "Create or resume the active $longtable-start hook in an existing workspace.",
|
|
1147
1147
|
inputSchema: cwdSchema.extend({
|
|
1148
1148
|
openingQuestion: z.string().optional(),
|
|
1149
1149
|
seedAnswer: z.string().optional(),
|
|
@@ -1418,7 +1418,7 @@ export function createLongTableMcpServer() {
|
|
|
1418
1418
|
});
|
|
1419
1419
|
server.registerTool("cancel_interview", {
|
|
1420
1420
|
title: "Cancel LongTable Interview",
|
|
1421
|
-
description: "Explicitly cancel the active $longtable-
|
|
1421
|
+
description: "Explicitly cancel the active $longtable-start hook without confirming a First Research Shape.",
|
|
1422
1422
|
inputSchema: cwdSchema.extend({
|
|
1423
1423
|
hookId: z.string().optional(),
|
|
1424
1424
|
reason: z.string().optional()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@longtable/mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.52",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "LongTable MCP transport for workspace state and Researcher Checkpoints",
|
|
6
6
|
"type": "module",
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
"self-test": "node ./dist/server.js --self-test"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@longtable/checkpoints": "0.1.
|
|
30
|
-
"@longtable/cli": "0.1.
|
|
31
|
-
"@longtable/core": "0.1.
|
|
32
|
-
"@longtable/provider-claude": "0.1.
|
|
33
|
-
"@longtable/provider-codex": "0.1.
|
|
34
|
-
"@longtable/setup": "0.1.
|
|
29
|
+
"@longtable/checkpoints": "0.1.52",
|
|
30
|
+
"@longtable/cli": "0.1.52",
|
|
31
|
+
"@longtable/core": "0.1.52",
|
|
32
|
+
"@longtable/provider-claude": "0.1.52",
|
|
33
|
+
"@longtable/provider-codex": "0.1.52",
|
|
34
|
+
"@longtable/setup": "0.1.52",
|
|
35
35
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
36
36
|
"zod": "^4.0.0"
|
|
37
37
|
},
|