@captainsafia/stitch 1.0.0-preview.00492d9 → 1.0.0-preview.2dc3663

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.js CHANGED
@@ -1895,7 +1895,7 @@ var require_commander = __commonJS((exports) => {
1895
1895
  var require_package = __commonJS((exports, module) => {
1896
1896
  module.exports = {
1897
1897
  name: "@captainsafia/stitch",
1898
- version: "1.0.0-preview.00492d9",
1898
+ version: "1.0.0-preview.2dc3663",
1899
1899
  type: "module",
1900
1900
  description: "A local-first CLI for recording intent and binding it to git commits/diffs",
1901
1901
  main: "dist/api.js",
@@ -4619,7 +4619,7 @@ program2.command("blame").description("Show stitch attribution for each line in
4619
4619
  __callDispose(__stack, _err, _hasErr);
4620
4620
  }
4621
4621
  });
4622
- program2.command("update").description("Update stitch to the latest version").option("-t, --target <version>", "Install a specific version").option("-p, --preview", "Install the latest preview version").option("-y, --yes", "Skip confirmation prompt").action(async (options) => {
4622
+ program2.command("update").description("Update stitch to the latest version").allowExcessArguments(false).option("-t, --target <version>", "Install a specific version").option("-p, --preview", "Install the latest preview version").option("-y, --yes", "Skip confirmation prompt").action(async (options) => {
4623
4623
  try {
4624
4624
  const current = packageJson.version;
4625
4625
  const installMethod = detectInstallMethod();
@@ -4672,9 +4672,6 @@ program2.command("update").description("Update stitch to the latest version").op
4672
4672
  if (result.success) {
4673
4673
  console.log("");
4674
4674
  console.log(renderSuccess(`Updated stitch from v${current} to v${targetVersion}`));
4675
- if (installMethod === "binary") {
4676
- console.log("Please restart your terminal for changes to take effect.");
4677
- }
4678
4675
  } else {
4679
4676
  console.error("");
4680
4677
  console.error(`Error: Update failed: ${result.error}`);
package/dist/mcp.js CHANGED
@@ -6494,7 +6494,7 @@ var require_dist = __commonJS((exports, module) => {
6494
6494
  var require_package = __commonJS((exports, module) => {
6495
6495
  module.exports = {
6496
6496
  name: "@captainsafia/stitch",
6497
- version: "1.0.0-preview.00492d9",
6497
+ version: "1.0.0-preview.2dc3663",
6498
6498
  type: "module",
6499
6499
  description: "A local-first CLI for recording intent and binding it to git commits/diffs",
6500
6500
  main: "dist/api.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@captainsafia/stitch",
3
- "version": "1.0.0-preview.00492d9",
3
+ "version": "1.0.0-preview.2dc3663",
4
4
  "type": "module",
5
5
  "description": "A local-first CLI for recording intent and binding it to git commits/diffs",
6
6
  "main": "dist/api.js",