@longtable/setup 0.1.21 → 0.1.22
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/onboarding.js +3 -0
- package/dist/persistence.js +8 -1
- package/dist/types.d.ts +2 -0
- package/package.json +3 -3
package/dist/onboarding.js
CHANGED
|
@@ -101,6 +101,9 @@ export function createPersistedSetupOutput(answers, provider, flow = "quickstart
|
|
|
101
101
|
: {}),
|
|
102
102
|
...(profileSeed.panelPreference
|
|
103
103
|
? { panelPreference: profileSeed.panelPreference }
|
|
104
|
+
: {}),
|
|
105
|
+
...(profileSeed.checkpointUiMode
|
|
106
|
+
? { checkpointUiMode: profileSeed.checkpointUiMode }
|
|
104
107
|
: {})
|
|
105
108
|
};
|
|
106
109
|
if (profileSeed.humanAuthorshipSignal) {
|
package/dist/persistence.js
CHANGED
|
@@ -34,6 +34,9 @@ export function renderSetupSummary(output) {
|
|
|
34
34
|
if (output.profileSeed.panelPreference) {
|
|
35
35
|
lines.push(`panel preference: ${output.profileSeed.panelPreference}`);
|
|
36
36
|
}
|
|
37
|
+
if (output.profileSeed.checkpointUiMode) {
|
|
38
|
+
lines.push(`checkpoint UI: ${output.profileSeed.checkpointUiMode}`);
|
|
39
|
+
}
|
|
37
40
|
return lines.join("\n");
|
|
38
41
|
}
|
|
39
42
|
export function resolveDefaultSetupPath(customPath) {
|
|
@@ -108,6 +111,9 @@ function renderCodexRuntimeConfig(output, setupPath) {
|
|
|
108
111
|
...(output.profileSeed.panelPreference
|
|
109
112
|
? [`panel_preference = "${output.profileSeed.panelPreference}"`]
|
|
110
113
|
: []),
|
|
114
|
+
...(output.profileSeed.checkpointUiMode
|
|
115
|
+
? [`checkpoint_ui = "${output.profileSeed.checkpointUiMode}"`]
|
|
116
|
+
: []),
|
|
111
117
|
"",
|
|
112
118
|
"[longtable.runtime_guidance]",
|
|
113
119
|
`ask_at_least_two_questions_in_explore = ${runtimeGuidance.askAtLeastTwoQuestionsInExplore}`,
|
|
@@ -132,7 +138,8 @@ function renderClaudeRuntimeConfig(output, setupPath) {
|
|
|
132
138
|
? output.profileSeed.currentProjectType
|
|
133
139
|
: undefined,
|
|
134
140
|
weakestDomain: output.profileSeed.weakestDomain,
|
|
135
|
-
panelPreference: output.profileSeed.panelPreference
|
|
141
|
+
panelPreference: output.profileSeed.panelPreference,
|
|
142
|
+
checkpointUiMode: output.profileSeed.checkpointUiMode
|
|
136
143
|
},
|
|
137
144
|
runtimeGuidance
|
|
138
145
|
}, null, 2);
|
package/dist/types.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export interface SetupQuestion {
|
|
|
13
13
|
choices?: SetupChoice[];
|
|
14
14
|
}
|
|
15
15
|
export type SetupFlow = "quickstart" | "interview";
|
|
16
|
+
export type CheckpointUiMode = "off" | "interactive" | "strong";
|
|
16
17
|
export interface SetupAnswers {
|
|
17
18
|
field?: string;
|
|
18
19
|
careerStage?: string;
|
|
@@ -23,6 +24,7 @@ export interface SetupAnswers {
|
|
|
23
24
|
preferredEntryMode?: Exclude<InteractionMode, "submit">;
|
|
24
25
|
weakestDomain?: Extract<keyof ResearcherConfidenceByDomain, string>;
|
|
25
26
|
panelPreference?: "synthesis_only" | "show_on_conflict" | "always_visible";
|
|
27
|
+
checkpointUiMode?: CheckpointUiMode;
|
|
26
28
|
}
|
|
27
29
|
export interface ResearcherProfileSeed extends SetupAnswers {
|
|
28
30
|
aiAutonomyPreference: "low" | "balanced" | "high";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@longtable/setup",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.22",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Researcher onboarding and setup flows for LongTable",
|
|
6
6
|
"type": "module",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@longtable/core": "0.1.
|
|
27
|
-
"@longtable/memory": "0.1.
|
|
26
|
+
"@longtable/core": "0.1.22",
|
|
27
|
+
"@longtable/memory": "0.1.22"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/node": "^22.0.0",
|