reasonix 0.4.27 → 0.4.28

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/index.js CHANGED
@@ -8396,8 +8396,7 @@ async function codeCommand(opts = {}) {
8396
8396
  );
8397
8397
  await chatCommand({
8398
8398
  model: opts.model ?? "deepseek-reasoner",
8399
- harvest: true,
8400
- // smart preset's harvest setting, always on for code
8399
+ harvest: opts.harvest ?? false,
8401
8400
  system: codeSystemPrompt2(rootDir),
8402
8401
  transcript: opts.transcript,
8403
8402
  session,
@@ -9517,15 +9516,19 @@ program.command("setup").description("Interactive wizard \u2014 API key, preset,
9517
9516
  await setupCommand({});
9518
9517
  });
9519
9518
  program.command("code [dir]").description(
9520
- "Code-editing chat \u2014 filesystem MCP auto-bridged at <dir> (default: cwd), coding system prompt, smart preset. Model proposes SEARCH/REPLACE blocks; Reasonix applies them to disk."
9521
- ).option("-m, --model <id>", "Override default reasoner model").option("--no-session", "Disable session persistence for this run").option("-r, --resume", "Skip the session picker \u2014 always continue prior messages").option("-n, --new", "Skip the session picker \u2014 always wipe prior messages and start fresh").option("--transcript <path>", "Write a JSONL transcript to this path").action(async (dir, opts) => {
9519
+ "Code-editing chat \u2014 filesystem tools rooted at <dir> (default: cwd), coding system prompt, deepseek-reasoner. Model proposes SEARCH/REPLACE blocks; Reasonix applies them to disk."
9520
+ ).option("-m, --model <id>", "Override default reasoner model").option("--no-session", "Disable session persistence for this run").option("-r, --resume", "Skip the session picker \u2014 always continue prior messages").option("-n, --new", "Skip the session picker \u2014 always wipe prior messages and start fresh").option("--transcript <path>", "Write a JSONL transcript to this path").option(
9521
+ "--harvest",
9522
+ "Extract typed plan state from R1 reasoning (Pillar 2). Adds ~10-15% cost per turn. Off by default in code mode."
9523
+ ).action(async (dir, opts) => {
9522
9524
  await codeCommand({
9523
9525
  dir,
9524
9526
  model: opts.model,
9525
9527
  noSession: opts.session === false,
9526
9528
  transcript: opts.transcript,
9527
9529
  forceResume: !!opts.resume,
9528
- forceNew: !!opts.new
9530
+ forceNew: !!opts.new,
9531
+ harvest: !!opts.harvest
9529
9532
  });
9530
9533
  });
9531
9534
  program.command("chat").description("Interactive Ink TUI with live cache/cost panel.").option("-m, --model <id>", "DeepSeek model id (overrides preset)").option("-s, --system <prompt>", "System prompt (pinned in the immutable prefix)", DEFAULT_SYSTEM).option("--transcript <path>", "Write a JSONL transcript to this path").option(