tracetoon 1.0.0-rc.38 → 1.0.0-rc.40

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/bin/tracetoon.js CHANGED
@@ -65,6 +65,14 @@ if (existsSync(path.join(skill, 'SKILL.md'))) {
65
65
  if (!env.TRACETOON_ASSETS) env.TRACETOON_ASSETS = path.join(skill, 'assets');
66
66
  }
67
67
 
68
+ // Tell the runtime npm started it, so it suggests the same command and leaves
69
+ // updates to npm or to the plugin that pins this version.
70
+ if (!env.TRACETOON_LAUNCHER) {
71
+ const own = require(path.join(__dirname, '..', 'package.json')).version;
72
+ const viaNpx = /[\\/]_npx[\\/]/.test(__dirname);
73
+ env.TRACETOON_LAUNCHER = (viaNpx ? 'npx:' : 'npm:') + own;
74
+ }
75
+
68
76
  const child = spawn(binary, process.argv.slice(2), { stdio: 'inherit', env });
69
77
  const forward = ['SIGINT', 'SIGTERM', 'SIGHUP'];
70
78
  const relay = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tracetoon",
3
- "version": "1.0.0-rc.38",
3
+ "version": "1.0.0-rc.40",
4
4
  "description": "Pull request descriptions written from your AI coding agent’s session logs, with every claim checked against the evidence. Better PRs at lower cost. Run: npx tracetoon@latest setup",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://tracetoon.ai",
@@ -30,10 +30,10 @@
30
30
  "node": ">=18"
31
31
  },
32
32
  "optionalDependencies": {
33
- "@tracetoon/cli-linux-x64": "1.0.0-rc.38",
34
- "@tracetoon/cli-linux-arm64": "1.0.0-rc.38",
35
- "@tracetoon/cli-darwin-x64": "1.0.0-rc.38",
36
- "@tracetoon/cli-darwin-arm64": "1.0.0-rc.38",
37
- "@tracetoon/cli-win32-x64": "1.0.0-rc.38"
33
+ "@tracetoon/cli-linux-x64": "1.0.0-rc.40",
34
+ "@tracetoon/cli-linux-arm64": "1.0.0-rc.40",
35
+ "@tracetoon/cli-darwin-x64": "1.0.0-rc.40",
36
+ "@tracetoon/cli-darwin-arm64": "1.0.0-rc.40",
37
+ "@tracetoon/cli-win32-x64": "1.0.0-rc.40"
38
38
  }
39
39
  }
@@ -19,6 +19,7 @@ or updates the PR.
19
19
 
20
20
  ## The tool
21
21
 
22
+ <!-- runtime:start -->
22
23
  The launcher is `bin/tracetoon` in this skill's folder (the folder containing
23
24
  this file). On Windows use `bin\tracetoon.cmd`. Below, `tracetoon` means that
24
25
  path. Run it from inside the user's repository. Every command accepts `--json`.
@@ -27,7 +28,9 @@ If the launcher exits with code **3**, no runtime was found. Ask the user whethe
27
28
  to download the prebuilt binary from the Tracetoon GitHub release. If yes,
28
29
  re-run with the environment variable `TRACETOON_ALLOW_DOWNLOAD=1`. If no, follow
29
30
  [references/manual-mode.md](references/manual-mode.md).
31
+ <!-- runtime:end -->
30
32
 
33
+ <!-- update:start -->
31
34
  ## Updating Tracetoon
32
35
 
33
36
  Only when the user asks to update or upgrade Tracetoon, or a session notice says
@@ -48,6 +51,7 @@ auto-update is off by default for third-party marketplaces), a source checkout
48
51
  with `git pull`, and the binary comes from the installer. `tracetoon update --to <version>` rolls back.
49
52
  `tracetoon config set autoUpdate off|notify|install` controls the session
50
53
  notice and background installs; change it only when the user asks.
54
+ <!-- update:end -->
51
55
 
52
56
  ## When this skill is used
53
57
 
@@ -1 +1 @@
1
- 1.0.0-rc.38
1
+ 1.0.0-rc.40
@@ -1,7 +1,7 @@
1
1
  {
2
- "version": "1.0.0-rc.38",
3
- "buildId": "9a5692cd890ea5cfa00c89091672b1ddf41963214aec4594f19caf399e14888f",
4
- "revision": "ae3ee063fda151ac8c5ad6f8b5fd8b94ac22f987",
2
+ "version": "1.0.0-rc.40",
3
+ "buildId": "0c480515d800ce2bfd6e4c7ad403e3b9cb65e123ebd0af1918b81bc93adb741e",
4
+ "revision": "58e758dd1a63afde73aa7c6722bd701a26b1e37f",
5
5
  "protocol": 2,
6
6
  "dependencies": [
7
7
  {