tracerkit 1.4.0 → 1.4.2
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/README.md +3 -12
- package/dist/bin.js +17 -15
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -186,8 +186,7 @@ AI: Feature Status Dashboard
|
|
|
186
186
|
|
|
187
187
|
All commands default to the home directory. Pass a path to target a specific project.
|
|
188
188
|
|
|
189
|
-
|
|
190
|
-
<summary>Configuration</summary>
|
|
189
|
+
## Configuration
|
|
191
190
|
|
|
192
191
|
Artifacts are stored under `.tracerkit/` by default. To customize paths, create `.tracerkit/config.json`:
|
|
193
192
|
|
|
@@ -203,10 +202,7 @@ Artifacts are stored under `.tracerkit/` by default. To customize paths, create
|
|
|
203
202
|
|
|
204
203
|
Any missing key falls back to its default. The file is optional — without it, all defaults apply. After changing config, run `tracerkit update` to regenerate skills with the new paths.
|
|
205
204
|
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
<details>
|
|
209
|
-
<summary>Metadata Lifecycle</summary>
|
|
205
|
+
## Metadata Lifecycle
|
|
210
206
|
|
|
211
207
|
Each PRD carries YAML frontmatter that tracks its position in the workflow. The skills update it automatically — you never need to edit it by hand.
|
|
212
208
|
|
|
@@ -257,10 +253,7 @@ completed: 2025-06-20T09:00:00Z
|
|
|
257
253
|
|
|
258
254
|
</details>
|
|
259
255
|
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
<details>
|
|
263
|
-
<summary>Compared to</summary>
|
|
256
|
+
## Compared to
|
|
264
257
|
|
|
265
258
|
**vs. [Spec Kit](https://github.com/github/spec-kit)** (GitHub) — Thorough but heavyweight. 5 phases, Python setup, rigid phase gates. TracerKit is 3 phases, zero deps, automated verification.
|
|
266
259
|
|
|
@@ -285,8 +278,6 @@ completed: 2025-06-20T09:00:00Z
|
|
|
285
278
|
|
|
286
279
|
</details>
|
|
287
280
|
|
|
288
|
-
</details>
|
|
289
|
-
|
|
290
281
|
## Contributing
|
|
291
282
|
|
|
292
283
|
1. Fork the repo and create a feature branch
|
package/dist/bin.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { n as e, r as t, t as n } from "./uninstall-C6vhDv_T.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { readFileSync as r } from "node:fs";
|
|
4
|
+
import { dirname as i, resolve as a } from "node:path";
|
|
5
|
+
import { fileURLToPath as o } from "node:url";
|
|
6
|
+
import { homedir as s } from "node:os";
|
|
5
7
|
//#region src/cli.ts
|
|
6
|
-
var a = [
|
|
8
|
+
var { version: c } = JSON.parse(r(a(i(o(import.meta.url)), "..", "package.json"), "utf8")), l = [
|
|
7
9
|
"Usage: tracerkit <command> [path]",
|
|
8
10
|
"",
|
|
9
11
|
"Commands:",
|
|
@@ -18,26 +20,26 @@ var a = [
|
|
|
18
20
|
"",
|
|
19
21
|
"All commands default to the home directory when no path is given."
|
|
20
22
|
];
|
|
21
|
-
function
|
|
23
|
+
function u(e) {
|
|
22
24
|
let t = e.find((e) => !e.startsWith("-"));
|
|
23
|
-
return t ?
|
|
25
|
+
return t ? a(t) : s();
|
|
24
26
|
}
|
|
25
|
-
function
|
|
26
|
-
if (r.includes("--help") || r.includes("-h")) return
|
|
27
|
-
if (r.includes("--version") || r.includes("-v")) return [
|
|
28
|
-
let i = r[0],
|
|
27
|
+
function d(r) {
|
|
28
|
+
if (r.includes("--help") || r.includes("-h")) return l;
|
|
29
|
+
if (r.includes("--version") || r.includes("-v")) return [`tracerkit/${c}`];
|
|
30
|
+
let i = r[0], a = r.slice(1);
|
|
29
31
|
switch (i) {
|
|
30
|
-
case "init": return t(
|
|
32
|
+
case "init": return t(u(a));
|
|
31
33
|
case "update": {
|
|
32
|
-
let t =
|
|
34
|
+
let t = a.includes("--force"), n = e(u(a.filter((e) => e !== "--force")), { force: t });
|
|
33
35
|
return n.push("", "Updated to the latest TracerKit."), n.push("If using Claude Code, restart your session to load changes."), n;
|
|
34
36
|
}
|
|
35
|
-
case "uninstall": return n(
|
|
36
|
-
default: return
|
|
37
|
+
case "uninstall": return n(u(a));
|
|
38
|
+
default: return l;
|
|
37
39
|
}
|
|
38
40
|
}
|
|
39
41
|
//#endregion
|
|
40
42
|
//#region src/bin.ts
|
|
41
|
-
var
|
|
42
|
-
for (let e of
|
|
43
|
+
var f = d(process.argv.slice(2));
|
|
44
|
+
for (let e of f) console.log(e);
|
|
43
45
|
//#endregion
|