@longtable/mcp 0.1.44 → 0.1.45

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.
@@ -34,6 +34,8 @@ export function renderResearchSpecificationPreview(specification) {
34
34
  `${korean ? "이론 앵커" : "Theory anchors"}: ${compactList(specification.theoryAndFraming.anchors)}`,
35
35
  `${korean ? "코딩 규칙" : "Coding rules"}: ${compactList(specification.measurementCoding.codingRules)}`,
36
36
  `${korean ? "분석 옵션" : "Analysis options"}: ${compactList(specification.methodAnalysis.analysisOptions)}`,
37
+ `${korean ? "Corpus and Access Plan" : "Corpus and Access Plan"}: ${compactList(specification.evidenceAccess.accessRequirements ?? [])}`,
38
+ `${korean ? "근거 기준" : "Evidence standards"}: ${compactList(specification.evidenceAccess.evidenceStandards ?? [])}`,
37
39
  specification.epistemicAlignment.conflictResolutionRule
38
40
  ? `${korean ? "충돌 조정" : "Conflict rule"}: ${specification.epistemicAlignment.conflictResolutionRule}`
39
41
  : undefined,
@@ -43,6 +45,22 @@ export function renderResearchSpecificationPreview(specification) {
43
45
  ].filter(Boolean);
44
46
  return lines.join("\n");
45
47
  }
48
+ function renderResearchSpecificationDecisionContext(specification) {
49
+ const korean = usesKorean(specification);
50
+ const lines = [
51
+ korean ? "Research Specification Preview" : "Research Specification Preview",
52
+ `${korean ? "제목" : "Title"}: ${specification.title}`,
53
+ `${korean ? "목적" : "Purpose"}: ${specification.researchDirection.purpose}`,
54
+ `${korean ? "핵심 construct" : "Core constructs"}: ${compactList(specification.constructOntology.coreConstructs, 2)}`,
55
+ `${korean ? "접근 계획" : "Access plan"}: ${compactList(specification.evidenceAccess.accessRequirements ?? [], 1)}`,
56
+ `${korean ? "열린 질문" : "Open questions"}: ${compactList(specification.openQuestions, 1)}`,
57
+ `${korean ? "다음 행동" : "Next actions"}: ${compactList(specification.nextActions, 1)}`,
58
+ korean
59
+ ? "전체 명세는 tool output과 저장 후 CURRENT.md에서 확인합니다."
60
+ : "The full specification remains in the tool output and, after saving, CURRENT.md."
61
+ ];
62
+ return lines.join("\n");
63
+ }
46
64
  function baseOptions(specification) {
47
65
  const korean = usesKorean(specification);
48
66
  return [
@@ -81,6 +99,7 @@ function baseOptions(specification) {
81
99
  export function buildResearchSpecificationQuestion(specification) {
82
100
  const korean = usesKorean(specification);
83
101
  const preview = renderResearchSpecificationPreview(specification);
102
+ const decisionContext = renderResearchSpecificationDecisionContext(specification);
84
103
  return {
85
104
  prompt: preview,
86
105
  title: korean ? "Research Specification 확인" : "Research Specification Confirmation",
@@ -90,8 +109,8 @@ export function buildResearchSpecificationQuestion(specification) {
90
109
  checkpointKey: "research_specification_confirmation",
91
110
  options: baseOptions(specification),
92
111
  displayReason: korean
93
- ? `${preview}\n\n인터뷰가 단순한 방향 요약을 넘어 연구 명세를 만들 만큼 구체화되었습니다. 저장 전에 범위, construct, 이론, 코딩, 방법, 접근, 정렬을 명시적으로 확인해야 합니다.`
94
- : `${preview}\n\nThe interview has moved beyond a short direction summary into a research specification. Scope, constructs, theory, coding, method, access, and epistemic alignment should be explicit before saving.`
112
+ ? `${decisionContext}\n\n인터뷰가 연구 명세를 만들 만큼 구체화되었습니다. 저장 핵심 범위와 다음 행동만 UI에서 확인합니다.`
113
+ : `${decisionContext}\n\nThe interview is ready for a research specification. The UI shows only the core scope and next action before saving.`
95
114
  };
96
115
  }
97
116
  export function researchSpecificationAnswerConfirms(answer) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longtable/mcp",
3
- "version": "0.1.44",
3
+ "version": "0.1.45",
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.44",
30
- "@longtable/cli": "0.1.44",
31
- "@longtable/core": "0.1.44",
32
- "@longtable/provider-claude": "0.1.44",
33
- "@longtable/provider-codex": "0.1.44",
34
- "@longtable/setup": "0.1.44",
29
+ "@longtable/checkpoints": "0.1.45",
30
+ "@longtable/cli": "0.1.45",
31
+ "@longtable/core": "0.1.45",
32
+ "@longtable/provider-claude": "0.1.45",
33
+ "@longtable/provider-codex": "0.1.45",
34
+ "@longtable/setup": "0.1.45",
35
35
  "@modelcontextprotocol/sdk": "^1.29.0",
36
36
  "zod": "^4.0.0"
37
37
  },