@longtable/provider-claude 0.1.24 → 0.1.26

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -93,11 +93,11 @@ export function renderStructuredQuestionRecord(record) {
93
93
  title: record.prompt.title,
94
94
  instructions: [
95
95
  record.prompt.question,
96
- ...record.prompt.rationale.map((entry) => `Why now: ${entry}`),
96
+ record.prompt.displayReason ? `Decision context: ${record.prompt.displayReason}` : undefined,
97
97
  `Question id: ${record.id}`,
98
98
  `Checkpoint: ${record.prompt.checkpointKey ?? "manual"}`,
99
99
  `Required: ${record.prompt.required ? "yes" : "no"}`
100
- ].join(" "),
100
+ ].filter(Boolean).join(" "),
101
101
  choices
102
102
  };
103
103
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longtable/provider-claude",
3
- "version": "0.1.24",
3
+ "version": "0.1.26",
4
4
  "private": false,
5
5
  "description": "Claude adapter surface for LongTable",
6
6
  "type": "module",
@@ -21,9 +21,9 @@
21
21
  "typecheck": "tsc -p tsconfig.json --noEmit"
22
22
  },
23
23
  "dependencies": {
24
- "@longtable/checkpoints": "0.1.24",
25
- "@longtable/core": "0.1.24",
26
- "@longtable/setup": "0.1.24"
24
+ "@longtable/checkpoints": "0.1.26",
25
+ "@longtable/core": "0.1.26",
26
+ "@longtable/setup": "0.1.26"
27
27
  },
28
28
  "devDependencies": {
29
29
  "typescript": "^5.6.0"