@longtable/cli 0.1.23 → 0.1.24
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/dist/cli.js +1 -1
- package/dist/debate.js +1 -1
- package/dist/panel.js +1 -1
- package/dist/project-session.js +16 -2
- package/package.json +7 -7
package/dist/cli.js
CHANGED
|
@@ -42,7 +42,7 @@ const ANSI = {
|
|
|
42
42
|
green: "\u001B[32m"
|
|
43
43
|
};
|
|
44
44
|
const LONGTABLE_MCP_SERVER_NAME = "longtable-state";
|
|
45
|
-
const LONGTABLE_MCP_PACKAGE_VERSION = "0.1.
|
|
45
|
+
const LONGTABLE_MCP_PACKAGE_VERSION = "0.1.24";
|
|
46
46
|
const LONGTABLE_MCP_MARKER_START = "# LongTable state MCP START";
|
|
47
47
|
const LONGTABLE_MCP_MARKER_END = "# LongTable state MCP END";
|
|
48
48
|
function style(text, prefix) {
|
package/dist/debate.js
CHANGED
|
@@ -236,7 +236,7 @@ export function createTeamDebateQuestionRecord(run, provider) {
|
|
|
236
236
|
],
|
|
237
237
|
preferredSurfaces: provider === "claude"
|
|
238
238
|
? ["native_structured", "numbered"]
|
|
239
|
-
: ["
|
|
239
|
+
: ["mcp_elicitation", "numbered"]
|
|
240
240
|
}
|
|
241
241
|
};
|
|
242
242
|
}
|
package/dist/panel.js
CHANGED
|
@@ -145,7 +145,7 @@ export function createPlannedPanelQuestionRecord(plan, provider) {
|
|
|
145
145
|
],
|
|
146
146
|
preferredSurfaces: provider === "claude"
|
|
147
147
|
? ["native_structured", "numbered"]
|
|
148
|
-
: ["
|
|
148
|
+
: ["mcp_elicitation", "numbered"]
|
|
149
149
|
}
|
|
150
150
|
};
|
|
151
151
|
}
|
package/dist/project-session.js
CHANGED
|
@@ -473,6 +473,9 @@ function questionTitleForCheckpoint(family, checkpointKey) {
|
|
|
473
473
|
if (checkpointKey === "tacit_assumption_probe") {
|
|
474
474
|
return "Tacit-assumption checkpoint";
|
|
475
475
|
}
|
|
476
|
+
if (checkpointKey === "panel_disagreement_resolution") {
|
|
477
|
+
return "Panel-disagreement checkpoint";
|
|
478
|
+
}
|
|
476
479
|
switch (family) {
|
|
477
480
|
case "meta_decision":
|
|
478
481
|
return "Meta-decision checkpoint";
|
|
@@ -499,6 +502,9 @@ function questionTextForCheckpoint(family, prompt, checkpointKey) {
|
|
|
499
502
|
if (checkpointKey === "tacit_assumption_probe") {
|
|
500
503
|
return "What tacit assumption should LongTable surface before treating this direction as acceptable?";
|
|
501
504
|
}
|
|
505
|
+
if (checkpointKey === "panel_disagreement_resolution") {
|
|
506
|
+
return "How should LongTable handle the unresolved panel disagreement before turning it into one synthesis?";
|
|
507
|
+
}
|
|
502
508
|
switch (family) {
|
|
503
509
|
case "meta_decision":
|
|
504
510
|
return "What should LongTable do before treating this platform decision as settled?";
|
|
@@ -533,6 +539,14 @@ function optionsForCheckpointTrigger(family, checkpointKey) {
|
|
|
533
539
|
{ value: "defer", label: "Keep the assumption open", description: "Do not treat this framing as settled yet." }
|
|
534
540
|
];
|
|
535
541
|
}
|
|
542
|
+
if (checkpointKey === "panel_disagreement_resolution") {
|
|
543
|
+
return [
|
|
544
|
+
{ value: "surface_disagreement", label: "Surface disagreement first", description: "Show the role conflict before choosing a synthesis." },
|
|
545
|
+
{ value: "compare_frames", label: "Compare candidate framings", description: "Keep alternatives visible before selecting one frame." },
|
|
546
|
+
{ value: "proceed_with_trace", label: "Proceed with an explicit trace", description: "Choose a synthesis, but record the unresolved disagreement." },
|
|
547
|
+
{ value: "defer", label: "Keep disagreement open", description: "Do not collapse the disagreement into one conclusion yet." }
|
|
548
|
+
];
|
|
549
|
+
}
|
|
536
550
|
if (family === "evidence") {
|
|
537
551
|
return [
|
|
538
552
|
{ value: "verify", label: "Verify evidence first", description: "Check whether the source supports the specific claim." },
|
|
@@ -728,7 +742,7 @@ export async function createWorkspaceClarificationCard(options) {
|
|
|
728
742
|
const createdAt = nowIso();
|
|
729
743
|
const preferredSurfaces = options.provider === "claude"
|
|
730
744
|
? ["native_structured", "terminal_selector", "numbered"]
|
|
731
|
-
: ["
|
|
745
|
+
: ["mcp_elicitation", "terminal_selector", "numbered"];
|
|
732
746
|
const questions = buildClarificationQuestionSpecs(options.prompt).map((spec) => ({
|
|
733
747
|
id: createId("question_record"),
|
|
734
748
|
createdAt,
|
|
@@ -788,7 +802,7 @@ export async function createWorkspaceQuestion(options) {
|
|
|
788
802
|
],
|
|
789
803
|
preferredSurfaces: options.provider === "claude"
|
|
790
804
|
? ["native_structured", "numbered"]
|
|
791
|
-
: ["
|
|
805
|
+
: ["mcp_elicitation", "numbered"]
|
|
792
806
|
}
|
|
793
807
|
};
|
|
794
808
|
const updated = appendQuestionRecords(state, [question]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@longtable/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.24",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Researcher-facing LongTable CLI",
|
|
6
6
|
"type": "module",
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@longtable/checkpoints": "0.1.
|
|
32
|
-
"@longtable/core": "0.1.
|
|
33
|
-
"@longtable/memory": "0.1.
|
|
34
|
-
"@longtable/provider-claude": "0.1.
|
|
35
|
-
"@longtable/provider-codex": "0.1.
|
|
36
|
-
"@longtable/setup": "0.1.
|
|
31
|
+
"@longtable/checkpoints": "0.1.24",
|
|
32
|
+
"@longtable/core": "0.1.24",
|
|
33
|
+
"@longtable/memory": "0.1.24",
|
|
34
|
+
"@longtable/provider-claude": "0.1.24",
|
|
35
|
+
"@longtable/provider-codex": "0.1.24",
|
|
36
|
+
"@longtable/setup": "0.1.24"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@types/node": "^22.10.1",
|