tracerkit 1.9.1 → 1.9.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
CHANGED
|
@@ -32,12 +32,6 @@ npx tracerkit init
|
|
|
32
32
|
|
|
33
33
|
Skills are installed globally to `~/.claude/skills/`, available in every project. No per-project setup needed.
|
|
34
34
|
|
|
35
|
-
To replace all existing skills with the latest versions:
|
|
36
|
-
|
|
37
|
-
```bash
|
|
38
|
-
npx tracerkit init --force
|
|
39
|
-
```
|
|
40
|
-
|
|
41
35
|
### Workflow
|
|
42
36
|
|
|
43
37
|
```
|
package/dist/bin.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { c as e, i as t, n, o as r, r as i, t as a } from "./uninstall-
|
|
2
|
+
import { c as e, i as t, n, o as r, r as i, t as a } from "./uninstall-CyVs_ZgH.js";
|
|
3
3
|
import { existsSync as o, mkdirSync as s, readFileSync as c, readdirSync as l, rmSync as u, unlinkSync as d, writeFileSync as f } from "node:fs";
|
|
4
4
|
import { dirname as p, join as m, resolve as h } from "node:path";
|
|
5
5
|
import { fileURLToPath as g } from "node:url";
|
|
@@ -142,7 +142,7 @@ var { version: M } = JSON.parse(c(h(p(g(import.meta.url)), "..", "package.json")
|
|
|
142
142
|
...t.map((e) => ` ${`${e.name} ${e.args}`.padEnd(N + 2)}${e.desc}`),
|
|
143
143
|
"",
|
|
144
144
|
"Options:",
|
|
145
|
-
" --force
|
|
145
|
+
" --force Overwrite modified files during update",
|
|
146
146
|
" --help, -h Show this help message",
|
|
147
147
|
" --version, -v Print version",
|
|
148
148
|
"",
|
|
@@ -172,10 +172,7 @@ function L(e) {
|
|
|
172
172
|
let t = e[0], o = e.slice(1);
|
|
173
173
|
switch (t) {
|
|
174
174
|
case "brief": return A(F(o, process.cwd()));
|
|
175
|
-
case "init":
|
|
176
|
-
let e = o.includes(r.force);
|
|
177
|
-
return i(F(o.filter((e) => e !== r.force)), { force: e });
|
|
178
|
-
}
|
|
175
|
+
case "init": return i(F(o));
|
|
179
176
|
case "update": {
|
|
180
177
|
let e = o.includes(r.force), t = n(F(o.filter((e) => e !== r.force)), { force: e });
|
|
181
178
|
return t.push("", "Updated to the latest TracerKit."), t.push("If using Claude Code, restart your session to load changes."), t;
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, r, s as i, t as a } from "./uninstall-
|
|
1
|
+
import { a as e, i as t, n, r, s as i, t as a } from "./uninstall-CyVs_ZgH.js";
|
|
2
2
|
export { t as COMMANDS, e as DEPRECATED_SKILLS, i as SKILL_NAMES, r as init, a as uninstall, n as update };
|
|
@@ -105,13 +105,10 @@ function x(t, r) {
|
|
|
105
105
|
}
|
|
106
106
|
//#endregion
|
|
107
107
|
//#region src/commands/init.ts
|
|
108
|
-
function S(t
|
|
109
|
-
let
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
}
|
|
113
|
-
let { copied: i } = y(t, d(t));
|
|
114
|
-
return i.map((e) => `✓ ${e}${r ? " (replaced)" : ""}`);
|
|
108
|
+
function S(t) {
|
|
109
|
+
for (let n of f) if (e(s(t, ".claude", "skills", n))) throw Error(`.claude/skills/${n}/ already exists — run \`tracerkit update\` to add new skills, or \`tracerkit update --force\` to replace all skills`);
|
|
110
|
+
let { copied: n } = y(t, d(t));
|
|
111
|
+
return n.map((e) => `✓ ${e}`);
|
|
115
112
|
}
|
|
116
113
|
//#endregion
|
|
117
114
|
//#region src/commands/update.ts
|