@gr8ful/spf 0.9.0 → 0.9.1
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/interview.js +8 -1
- package/package.json +1 -1
package/dist/cli/interview.js
CHANGED
|
@@ -97,7 +97,14 @@ export async function runInterview(asker, ctx) {
|
|
|
97
97
|
if (!ctx.claudeOnPath) {
|
|
98
98
|
asker.note("warning: `claude` was not found on PATH — install it (or set a launch command below) before running spf.");
|
|
99
99
|
}
|
|
100
|
-
|
|
100
|
+
// Kept short on purpose: TextPromptView renders the label and the
|
|
101
|
+
// live-growing input on one unwrapped terminal row, so a long label
|
|
102
|
+
// desyncs Ink's redraw math the moment label+input exceeds the terminal
|
|
103
|
+
// width (reproduced live: a ~195-char label here produced garbled,
|
|
104
|
+
// overlapping keystrokes). Put anything beyond a one-line question in a
|
|
105
|
+
// note() instead — printed once, never re-rendered.
|
|
106
|
+
asker.note('e.g. "ollama launch claude --model {model}" to route through a wrapper — {model} substitutes per-agent, written to spf.config.yaml\'s env.SPF_CLAUDE_CMD');
|
|
107
|
+
const launchCommand = await asker.text("Launch command for the `claude` CLI", { default: "claude" });
|
|
101
108
|
if (launchCommand !== "claude")
|
|
102
109
|
configEnv["SPF_CLAUDE_CMD"] = launchCommand;
|
|
103
110
|
const model = await asker.select("Model (Claude Code's own vocabulary — not provider/model-id)", [
|