@longtable/provider-codex 0.1.49 → 0.1.50

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 +6 -1
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -93,7 +93,12 @@ export function questionRecordToNumberedCheckpointSpec(record) {
93
93
  `Required: ${record.prompt.required ? "yes" : "no"}`
94
94
  ].filter(Boolean).join("\n"),
95
95
  options,
96
- allowRationale: true
96
+ allowRationale: true,
97
+ selectionMode: record.prompt.type === "multi_choice"
98
+ ? "multi"
99
+ : record.prompt.type === "free_text"
100
+ ? "free_text"
101
+ : "single"
97
102
  };
98
103
  }
99
104
  export function renderQuestionRecordPrompt(record) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longtable/provider-codex",
3
- "version": "0.1.49",
3
+ "version": "0.1.50",
4
4
  "private": false,
5
5
  "description": "Codex adapter surface for LongTable",
6
6
  "type": "module",
@@ -15,9 +15,9 @@
15
15
  "typecheck": "tsc -p tsconfig.json --noEmit"
16
16
  },
17
17
  "dependencies": {
18
- "@longtable/checkpoints": "0.1.49",
19
- "@longtable/core": "0.1.49",
20
- "@longtable/setup": "0.1.49"
18
+ "@longtable/checkpoints": "0.1.50",
19
+ "@longtable/core": "0.1.50",
20
+ "@longtable/setup": "0.1.50"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@types/node": "^22.10.1",