claude-skills-manager 1.1.2 → 1.1.3
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/CLAUDE.md +11 -16
- package/lib/platform.js +6 -3
- package/package.json +1 -1
package/CLAUDE.md
CHANGED
|
@@ -18,11 +18,9 @@ cannot afford to lose.
|
|
|
18
18
|
**That is the whole cold start.** Open a feature document when you are about to touch that
|
|
19
19
|
feature, never to find out what happened last.
|
|
20
20
|
|
|
21
|
-
**
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
`git clone` has them on disk. Read them there and carry on. **Nothing in the app depends on them**,
|
|
25
|
-
so their absence breaks nothing except this file's first instruction.
|
|
21
|
+
**No `docs/` folder here?** This copy came from the published package, which ships the app without
|
|
22
|
+
them. They are at <https://github.com/npd1987/claude-skills-manager/tree/main/docs>, a `git clone`
|
|
23
|
+
has them on disk, and nothing in the app depends on them.
|
|
26
24
|
|
|
27
25
|
| What you want | Where it is |
|
|
28
26
|
| :--- | :--- |
|
|
@@ -54,6 +52,7 @@ lib/projects.js finds project folders, remembers ones added by hand
|
|
|
54
52
|
lib/settings.js reads/writes skillOverrides: backups, atomic writes
|
|
55
53
|
lib/frontmatter.js SKILL.md frontmatter parser
|
|
56
54
|
lib/paths.js every path the app touches, plus legacy-data migration
|
|
55
|
+
lib/prefs.js the preferences file: update consent, launch mode, window shape
|
|
57
56
|
lib/platform.js every difference between Windows, macOS and Linux
|
|
58
57
|
lib/shortcut.js desktop shortcuts on the three platforms
|
|
59
58
|
lib/fork.js making and managing someone's own copy of the app
|
|
@@ -134,9 +133,8 @@ Windows and macOS are case-insensitive; Linux is not, and lowercasing there
|
|
|
134
133
|
silently merges two genuinely different folders into one.
|
|
135
134
|
|
|
136
135
|
**The live-instance record is per install.** `lib/paths.js` keys the session file
|
|
137
|
-
by a hash of the install directory.
|
|
138
|
-
|
|
139
|
-
the user made without a word.
|
|
136
|
+
by a hash of the install directory. Shared, a modified copy hands you the
|
|
137
|
+
original's window and silently discards the user's work.
|
|
140
138
|
|
|
141
139
|
**Project settings go in `.claude/settings.local.json`.** The gitignored one, so
|
|
142
140
|
the app never dirties a file the user's repo shares with other people.
|
|
@@ -164,14 +162,11 @@ Node 18+. `server.js` uses global `fetch` and `AbortSignal.timeout`.
|
|
|
164
162
|
`skillOverrides` plus its own frontmatter, so `disable-model-invocation: true`
|
|
165
163
|
rules out *Auto* and *Name only* no matter what the settings file says. See
|
|
166
164
|
`lib/skills.js`.
|
|
167
|
-
- **Both themes are written out, and neither is the other one reused.** The
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
under `:root[data-theme="light"]` for anyone who has chosen. Collapsing that
|
|
173
|
-
into one costs either a flash of the wrong theme on load or an override the
|
|
174
|
-
user cannot undo. Check any new colour against both.
|
|
165
|
+
- **Both themes are written out, and neither is the other one reused.** The light
|
|
166
|
+
values are declared twice in `public/styles.css` on purpose, and collapsing
|
|
167
|
+
that costs either a flash of the wrong theme or an override the user cannot
|
|
168
|
+
undo. **Check any new colour against both.** The reasoning is in
|
|
169
|
+
docs/DECISIONS.md, *Both themes are written out*.
|
|
175
170
|
- **The sidebar holds states, not settings.** Anything that is genuinely a
|
|
176
171
|
setting belongs in the Settings dialog. Default Claude mode being on, and this
|
|
177
172
|
being someone's own copy, stay in the sidebar as banners because they are
|
package/lib/platform.js
CHANGED
|
@@ -39,9 +39,12 @@ function samePath(a, b) {
|
|
|
39
39
|
*/
|
|
40
40
|
function detached(cmd, args, env) {
|
|
41
41
|
try {
|
|
42
|
-
// windowsHide
|
|
43
|
-
//
|
|
44
|
-
|
|
42
|
+
// Deliberately not windowsHide. It is not the no-op on a GUI program that
|
|
43
|
+
// it looks like: Node passes it as the child's initial show state, and
|
|
44
|
+
// explorer.exe hands that straight to the folder window it opens, so
|
|
45
|
+
// reveal() spawned a real but invisible window and the click did nothing.
|
|
46
|
+
// The console helper that wants hiding is hidden(), below.
|
|
47
|
+
const options = { detached: true, stdio: 'ignore' };
|
|
45
48
|
// Arguments carrying a window title would have to survive two levels of
|
|
46
49
|
// quoting; the environment carries it verbatim.
|
|
47
50
|
if (env) options.env = { ...process.env, ...env };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-skills-manager",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"displayName": "Claude Skills",
|
|
5
5
|
"description": "A small local web app for your Claude Code skills. See what you have installed and turn each one on, off, or slash-only without hand-editing settings.json",
|
|
6
6
|
"keywords": [
|