engine7 7.1.62 → 7.1.63

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/cli.mjs +4 -1
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -19731,7 +19731,10 @@ function parseCcRunArgs(argv) {
19731
19731
  return v;
19732
19732
  };
19733
19733
  if (a === "-p" || a === "--print") {
19734
- args.prompt = takeValue();
19734
+ const next = argv[i + 1];
19735
+ if (next !== void 0 && !next.startsWith("-")) {
19736
+ args.prompt = takeValue();
19737
+ }
19735
19738
  hasPrompt = true;
19736
19739
  } else if (a === "--output-format") {
19737
19740
  const v = takeValue();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "engine7",
3
- "version": "7.1.62",
3
+ "version": "7.1.63",
4
4
  "type": "module",
5
5
  "description": "Engine 7 — 给助手一个家 / A home for your AI assistant",
6
6
  "main": "dist/main.mjs",