@fnclaude/cli 0.7.5 → 0.7.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fnclaude/cli",
3
- "version": "0.7.5",
3
+ "version": "0.7.6",
4
4
  "description": "fnclaude CLI implementation (TypeScript rewrite, in progress)",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -106,6 +106,12 @@ export function preserveArgs(
106
106
  while (i < origArgs.length) {
107
107
  const tok = origArgs[i] as string;
108
108
 
109
+ // `--` separates flags from the original session's initial prompt
110
+ // (everything after is the prompt body). Carrying it across a
111
+ // relaunch shadows the transfer's @summary file or re-prompts after
112
+ // --resume on restart — drop the separator and the entire tail.
113
+ if (tok === '--') break;
114
+
109
115
  // Equals-form (--flag=value): match by the flag-prefix-before-= part.
110
116
  if (deny !== null) {
111
117
  const eq = tok.indexOf('=');