tracerkit 1.3.3 → 1.3.5

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 (3) hide show
  1. package/README.md +13 -11
  2. package/dist/bin.js +14 -13
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  # TracerKit
4
4
 
5
+ <img src="./tracerkit.png" alt="TracerKit" width="100%" />
6
+
5
7
  [![CI](https://github.com/helderberto/tracerkit/actions/workflows/ci.yml/badge.svg)](https://github.com/helderberto/tracerkit/actions/workflows/ci.yml)
6
8
  [![npm version](https://img.shields.io/npm/v/tracerkit)](https://www.npmjs.com/package/tracerkit)
7
9
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
@@ -34,17 +36,17 @@ Open Claude Code in any project and start using:
34
36
 
35
37
  ### 3. CLI Reference
36
38
 
37
- | Command | Description |
38
- | ------------------------------ | ---------------------------------------------- |
39
- | `tracerkit init` | Install skills to `~/.claude/skills/` |
40
- | `tracerkit init <path>` | Install skills to a specific project directory |
41
- | `tracerkit update` | Refresh to latest version, skip modified files |
42
- | `tracerkit update --force` | Replace modified files with latest versions |
43
- | `tracerkit update --overwrite` | Alias for `--force` (avoids npx flag conflict) |
44
- | `tracerkit uninstall` | Remove TracerKit skills, keep user artifacts |
45
- | `tracerkit --version` | Print version |
46
-
47
- All commands default to the home directory. Pass a path or use `--global` explicitly to target `~/`.
39
+ | Command | Description |
40
+ | -------------------------- | ---------------------------------------------- |
41
+ | `tracerkit init` | Install skills to `~/.claude/skills/` |
42
+ | `tracerkit init <path>` | Install skills to a specific project directory |
43
+ | `tracerkit update` | Refresh to latest version, skip modified files |
44
+ | `tracerkit update --force` | Replace modified files with latest versions |
45
+ | `tracerkit uninstall` | Remove TracerKit skills, keep user artifacts |
46
+ | `tracerkit --version` | Print version |
47
+ | `tracerkit --help` | Show help message |
48
+
49
+ All commands default to the home directory. Pass a path to target a specific project.
48
50
 
49
51
  <details>
50
52
  <summary>Per-project usage</summary>
package/dist/bin.js CHANGED
@@ -7,29 +7,30 @@ var a = [
7
7
  "Usage: tracerkit <command> [path]",
8
8
  "",
9
9
  "Commands:",
10
- " init [path] Install skills (default: current directory)",
11
- " update [path] Refresh files from latest version, skip modified files",
12
- " uninstall [path] Remove TracerKit skills, keep user artifacts",
10
+ " init [path] Install skills to ~/.claude/skills/ (or [path] if given)",
11
+ " update [path] Refresh unchanged files from latest version, skip modified",
12
+ " uninstall [path] Remove TracerKit skill directories, keep prds/ and plans/",
13
13
  "",
14
14
  "Options:",
15
- " --force Replace modified files with latest versions",
16
- " --overwrite Alias for --force (avoids npx flag conflict)",
17
- " --global Target home directory instead of current directory",
18
- " --version, -v Print version"
15
+ " --force Overwrite modified files during update",
16
+ " --help, -h Show this help message",
17
+ " --version, -v Print version",
18
+ "",
19
+ "All commands default to the home directory when no path is given."
19
20
  ];
20
21
  function o(e) {
21
- let t = e.includes("--global"), n = e.find((e) => !e.startsWith("-"));
22
- if (t && n) throw Error("Cannot use --global with a path argument");
23
- return t ? i() : n ? r(n) : process.cwd();
22
+ let t = e.find((e) => !e.startsWith("-"));
23
+ return t ? r(t) : i();
24
24
  }
25
25
  function s(r) {
26
- if (r.includes("--version") || r.includes("-v")) return ["tracerkit/1.3.3"];
26
+ if (r.includes("--help") || r.includes("-h")) return a;
27
+ if (r.includes("--version") || r.includes("-v")) return ["tracerkit/1.3.5"];
27
28
  let i = r[0], s = r.slice(1);
28
29
  switch (i) {
29
30
  case "init": return t(o(s));
30
31
  case "update": {
31
- let t = s.includes("--force") || s.includes("--overwrite"), n = e(o(s.filter((e) => e !== "--force" && e !== "--overwrite")), { force: t });
32
- return n.push("", "Updated to tracerkit/1.3.3"), n.push("If using Claude Code, restart your session to load changes."), n;
32
+ let t = s.includes("--force"), n = e(o(s.filter((e) => e !== "--force")), { force: t });
33
+ return n.push("", "Updated to tracerkit/1.3.5"), n.push("If using Claude Code, restart your session to load changes."), n;
33
34
  }
34
35
  case "uninstall": return n(o(s));
35
36
  default: return a;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tracerkit",
3
- "version": "1.3.3",
3
+ "version": "1.3.5",
4
4
  "description": "Stack-agnostic spec-driven workflow for AI coding assistants",
5
5
  "license": "MIT",
6
6
  "author": {