skill-creator 1.5.2 → 2.0.1
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/CHANGELOG.md +89 -0
- package/LICENSE +21 -0
- package/README.md +248 -345
- package/dist/cli.js +51209 -0
- package/dist/cli.js.map +7 -0
- package/dist/daemon.js +52243 -0
- package/dist/daemon.js.map +7 -0
- package/dist/package.json +5 -0
- package/dist/webui/_app/immutable/assets/0.0XN00VKF.css +2 -0
- package/dist/webui/_app/immutable/assets/ProviderView.DEH95hqa.css +1 -0
- package/dist/webui/_app/immutable/assets/inter-cyrillic-ext-wght-normal.BOeWTOD4.woff2 +0 -0
- package/dist/webui/_app/immutable/assets/inter-cyrillic-wght-normal.DqGufNeO.woff2 +0 -0
- package/dist/webui/_app/immutable/assets/inter-greek-ext-wght-normal.DlzME5K_.woff2 +0 -0
- package/dist/webui/_app/immutable/assets/inter-greek-wght-normal.CkhJZR-_.woff2 +0 -0
- package/dist/webui/_app/immutable/assets/inter-latin-ext-wght-normal.DO1Apj_S.woff2 +0 -0
- package/dist/webui/_app/immutable/assets/inter-latin-wght-normal.Dx4kXJAl.woff2 +0 -0
- package/dist/webui/_app/immutable/assets/inter-vietnamese-wght-normal.CBcvBZtf.woff2 +0 -0
- package/dist/webui/_app/immutable/assets/shell.U4CQV8re.css +1 -0
- package/dist/webui/_app/immutable/chunks/0umLG1IN.js +1 -0
- package/dist/webui/_app/immutable/chunks/B0pe_B_o.js +1 -0
- package/dist/webui/_app/immutable/chunks/BEPs9Z9s.js +1 -0
- package/dist/webui/_app/immutable/chunks/BEsyQXpe.js +1 -0
- package/dist/webui/_app/immutable/chunks/BIfnT_mK.js +1 -0
- package/dist/webui/_app/immutable/chunks/BQ8kO0xi.js +2 -0
- package/dist/webui/_app/immutable/chunks/BYNWtKcf.js +259 -0
- package/dist/webui/_app/immutable/chunks/BZ2Jwl6O.js +1 -0
- package/dist/webui/_app/immutable/chunks/Bg2k7op5.js +1 -0
- package/dist/webui/_app/immutable/chunks/Bjy-W4x2.js +81 -0
- package/dist/webui/_app/immutable/chunks/BkEnd9_Z.js +1 -0
- package/dist/webui/_app/immutable/chunks/BoMQFGOq.js +52 -0
- package/dist/webui/_app/immutable/chunks/Bs27XW8_.js +1 -0
- package/dist/webui/_app/immutable/chunks/C3mlWJXx.js +1 -0
- package/dist/webui/_app/immutable/chunks/CGrKeCdk.js +8 -0
- package/dist/webui/_app/immutable/chunks/CIFG41pU.js +1 -0
- package/dist/webui/_app/immutable/chunks/CNPsST_i.js +1 -0
- package/dist/webui/_app/immutable/chunks/COoMyR0G.js +1 -0
- package/dist/webui/_app/immutable/chunks/CQD9uzpA.js +1 -0
- package/dist/webui/_app/immutable/chunks/CeR4do8T.js +1 -0
- package/dist/webui/_app/immutable/chunks/Ckw1quWt.js +1 -0
- package/dist/webui/_app/immutable/chunks/CmCJ0SKP.js +3 -0
- package/dist/webui/_app/immutable/chunks/CqzSRtkf.js +1 -0
- package/dist/webui/_app/immutable/chunks/CsaIfA9E.js +1 -0
- package/dist/webui/_app/immutable/chunks/D-Jy42mM.js +1 -0
- package/dist/webui/_app/immutable/chunks/D-V0xBeS.js +1 -0
- package/dist/webui/_app/immutable/chunks/D8Der6oM.js +1 -0
- package/dist/webui/_app/immutable/chunks/DPrjly2t.js +1 -0
- package/dist/webui/_app/immutable/chunks/DZ_Kltd5.js +1 -0
- package/dist/webui/_app/immutable/chunks/DecrR9TK.js +1 -0
- package/dist/webui/_app/immutable/chunks/Dl8eQ129.js +5 -0
- package/dist/webui/_app/immutable/chunks/Dnkino9G.js +1 -0
- package/dist/webui/_app/immutable/chunks/FuwccWbx.js +1 -0
- package/dist/webui/_app/immutable/chunks/HclGiUj8.js +1 -0
- package/dist/webui/_app/immutable/chunks/J36u8XLO.js +1 -0
- package/dist/webui/_app/immutable/chunks/JcDjicYT.js +1 -0
- package/dist/webui/_app/immutable/chunks/O2CEZ91h.js +1 -0
- package/dist/webui/_app/immutable/chunks/UeEccMjN.js +1 -0
- package/dist/webui/_app/immutable/chunks/Y--VMh3y.js +1 -0
- package/dist/webui/_app/immutable/chunks/gkPAnPzC.js +3 -0
- package/dist/webui/_app/immutable/chunks/r1y9r7sj.js +2 -0
- package/dist/webui/_app/immutable/chunks/s48N5eaK.js +67 -0
- package/dist/webui/_app/immutable/chunks/xihTtKlq.js +1 -0
- package/dist/webui/_app/immutable/entry/app.BisiObvX.js +2 -0
- package/dist/webui/_app/immutable/entry/start.uEYh5tXy.js +1 -0
- package/dist/webui/_app/immutable/nodes/0.C8yGM2gr.js +231 -0
- package/dist/webui/_app/immutable/nodes/1.BUJKZ337.js +1 -0
- package/dist/webui/_app/immutable/nodes/2.Db-aM2Oa.js +1 -0
- package/dist/webui/_app/immutable/nodes/3.DCVfhckZ.js +1 -0
- package/dist/webui/_app/version.json +1 -0
- package/dist/webui/icons/app-icon/darwin-dark.icns +0 -0
- package/dist/webui/icons/app-icon/darwin-light.icns +0 -0
- package/dist/webui/icons/app-icon/win32-dark.ico +0 -0
- package/dist/webui/icons/app-icon/win32-light.ico +0 -0
- package/dist/webui/icons/app-icon.icns +0 -0
- package/dist/webui/icons/app-icon.ico +0 -0
- package/dist/webui/icons/app-icon.json +84 -0
- package/dist/webui/icons/app-icon.png +0 -0
- package/dist/webui/icons/flat-symbol.png +0 -0
- package/dist/webui/icons/linux/128x128/app-icon.png +0 -0
- package/dist/webui/icons/linux/16x16/app-icon.png +0 -0
- package/dist/webui/icons/linux/256x256/app-icon.png +0 -0
- package/dist/webui/icons/linux/32x32/app-icon.png +0 -0
- package/dist/webui/icons/linux/48x48/app-icon.png +0 -0
- package/dist/webui/icons/linux/512x512/app-icon.png +0 -0
- package/dist/webui/icons/linux/64x64/app-icon.png +0 -0
- package/dist/webui/icons/monochrome-mini.png +0 -0
- package/dist/webui/index.html +62 -0
- package/dist/webui/robots.txt +3 -0
- package/package.json +99 -73
- package/dist/buildIndex-B_9ABRtx.mjs +0 -2
- package/dist/buildIndex-B_9ABRtx.mjs.map +0 -1
- package/dist/buildIndex-Cea97e0l.mjs +0 -1
- package/dist/cli.d.mts +0 -1016
- package/dist/cli.d.mts.map +0 -1
- package/dist/cli.mjs +0 -20
- package/dist/cli.mjs.map +0 -1
- package/dist/contentManager-CoVTiSDT.mjs +0 -13
- package/dist/contentManager-CoVTiSDT.mjs.map +0 -1
- package/dist/contentManager-CwquwC1s.mjs +0 -1
- package/dist/context7-BejCCqkm.mjs +0 -1
- package/dist/context7-BxMpyQiW.mjs +0 -2
- package/dist/context7-BxMpyQiW.mjs.map +0 -1
- package/dist/index.d.mts +0 -2158
- package/dist/index.d.mts.map +0 -1
- package/dist/index.mjs +0 -2
- package/dist/index.mjs.map +0 -1
- package/dist/listContext7-DHj9AL-z.mjs +0 -2
- package/dist/listContext7-DHj9AL-z.mjs.map +0 -1
- package/dist/package-CFJazwTO.mjs +0 -2
- package/dist/package-CFJazwTO.mjs.map +0 -1
- package/dist/referenceSearchUtils-DZgupMZp.mjs +0 -2
- package/dist/referenceSearchUtils-DZgupMZp.mjs.map +0 -1
- package/dist/removeContext7-BZtL4_CJ.mjs +0 -3
- package/dist/removeContext7-BZtL4_CJ.mjs.map +0 -1
- package/dist/removeSkill-Bat_plVG.mjs +0 -5
- package/dist/removeSkill-Bat_plVG.mjs.map +0 -1
- package/dist/removeSkill-DjDZjhJU.mjs +0 -1
- package/dist/runScript-CSKqb831.mjs +0 -13
- package/dist/runScript-CSKqb831.mjs.map +0 -1
- package/dist/scopeSelection-BWteJQSv.mjs +0 -2
- package/dist/scopeSelection-BWteJQSv.mjs.map +0 -1
- package/dist/searchQuality-DVdHmamh.mjs +0 -2
- package/dist/searchQuality-DVdHmamh.mjs.map +0 -1
- package/dist/search_format-RyjXACJa.mjs +0 -5
- package/dist/search_format-RyjXACJa.mjs.map +0 -1
- package/dist/shared-DsVh4gOV.mjs +0 -2
- package/dist/shared-DsVh4gOV.mjs.map +0 -1
- package/dist/skillCreator-BomXoqdw.mjs +0 -2
- package/dist/skillCreator-BomXoqdw.mjs.map +0 -1
- package/dist/skillMdManager-DGBZ6M5J.mjs +0 -7
- package/dist/skillMdManager-DGBZ6M5J.mjs.map +0 -1
- package/dist/sqliteVectorSearchAdapter-56kZjbUT.mjs +0 -28
- package/dist/sqliteVectorSearchAdapter-56kZjbUT.mjs.map +0 -1
- package/dist/sqliteVectorSearchAdapter-DNkyKuZs.mjs +0 -1
- package/dist/unifiedSearch-CLdazMYU.mjs +0 -4
- package/dist/unifiedSearch-CLdazMYU.mjs.map +0 -1
- package/dist/unifiedSearch-DCFPrtzZ.mjs +0 -1
- package/templates/SKILL.md +0 -56
- package/templates/SKILL.zh-CN.md +0 -339
- package/templates/skill-creator.md +0 -130
- package/templates/skill-creator.zh-CN.md +0 -133
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 2.0.1 (2026-09-15)
|
|
4
|
+
|
|
5
|
+
Hotfix for the native file picker shipped in 2.0.0.
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- **Native file picker never opened (macOS)** — the `@xmorse/rfd` async dialog
|
|
10
|
+
panics off the main thread in non-GUI host processes, leaving the RPC promise
|
|
11
|
+
pending forever: the attach buttons went dead with no dialog, no error, and no
|
|
12
|
+
way to recover without a restart. The picker now runs the synchronous dialog
|
|
13
|
+
in a dedicated child process (main-thread-safe, panic-isolated, watchdog at
|
|
14
|
+
10 minutes). Verified live: dialog opens and returns real paths, and picker
|
|
15
|
+
failures now surface a toast instead of failing silently.
|
|
16
|
+
- Concurrent picker requests from a second client get a typed
|
|
17
|
+
"dialog is already open" rejection instead of queueing invisibly.
|
|
18
|
+
|
|
19
|
+
## 2.0.0 (2026-09-14)
|
|
20
|
+
|
|
21
|
+
A major rewrite of the Skill Creator experience: model configuration rebuilt around
|
|
22
|
+
route tabs, the agent panel redesigned on the dsh-webui design grammar, session
|
|
23
|
+
management with automatic cleanup, and native file picking — reviewed through six
|
|
24
|
+
independent codex review rounds (final PASS 9.6/10).
|
|
25
|
+
|
|
26
|
+
### Highlights
|
|
27
|
+
|
|
28
|
+
- **Model routes as tabs** — every provider endpoint is a self-contained tab
|
|
29
|
+
(identity/icon, credential, endpoint, models, remove). Adding from the catalog
|
|
30
|
+
creates the route immediately; duplicates number themselves (`zai-2`,
|
|
31
|
+
`Z.ai (1)`). Per-model configuration: modelId with cross-provider completion
|
|
32
|
+
(namespace IDs filtered), auto-generated display name, reasoning efforts
|
|
33
|
+
(tags with standard-tier completion, default `low/high/max`), context window and
|
|
34
|
+
max output tokens with shorthand input (`0.5M`, `253k`), input/output type
|
|
35
|
+
chips with models.dev-sourced defaults, and one-click connection testing across
|
|
36
|
+
all nine wire protocols.
|
|
37
|
+
- **Agent panel, redesigned** — dsh-webui disclosure-row grammar, full-width
|
|
38
|
+
assistant messages, right-aligned user bubbles, thinking/tool/todo rows,
|
|
39
|
+
context meter with per-model capacity, turn pills, `/compact` slash menu, `$`
|
|
40
|
+
skill-name completion, per-role lazy session creation, draft data isolated per
|
|
41
|
+
session, resizable panel (320–720px), narrow-screen drawer overlay, and
|
|
42
|
+
collapse-without-destroy semantics.
|
|
43
|
+
- **Session management** — Settings → Sessions lists sessions by date with
|
|
44
|
+
per-row delete (kernel-only rows marked and protected), a configurable
|
|
45
|
+
retention policy (`sessionCleanupDays`, default 30) enforced at boot, and a
|
|
46
|
+
Clean-now action. Product transcripts only; `$DSH_HOME` kernel logs are never
|
|
47
|
+
touched.
|
|
48
|
+
- **Native file & image picking** — attachment buttons wake the OS-native file
|
|
49
|
+
dialog via `@xmorse/rfd` on the daemon side; real paths flow through prompt
|
|
50
|
+
attachments with daemon-side size guards. jSquash powers server-side thumbnail
|
|
51
|
+
previews.
|
|
52
|
+
- **Schema-gated firehose** — every DSH kernel event is validated at the daemon
|
|
53
|
+
boundary (Zod safeParse per event type); malformed payloads are dropped with
|
|
54
|
+
bounded diagnostics and never pollute frame sequencing. Assistant reasoning is
|
|
55
|
+
persisted durably and replays identically after restart.
|
|
56
|
+
|
|
57
|
+
### Breaking
|
|
58
|
+
|
|
59
|
+
- Persisted state is re-narrowed on load per the no-compatibility policy:
|
|
60
|
+
unknown fields in `workspaces.json` / steward stores are discarded by
|
|
61
|
+
safeParse (data is not migrated or rewritten). Backup `~/.skill-creator`
|
|
62
|
+
before upgrading if you need to roll back.
|
|
63
|
+
- CLI and daemon versions must match; a version mismatch replaces the daemon.
|
|
64
|
+
- Minimum Node.js is now `>=24.0.0` (DSH kernel persistence uses `node:zlib` zstd).
|
|
65
|
+
|
|
66
|
+
### Security
|
|
67
|
+
|
|
68
|
+
- The settings view now returns the stored API key (`providers[].apiKey`,
|
|
69
|
+
password-masked in the UI with an eye toggle) per product decision
|
|
70
|
+
2026-09-13 — the loopback+token surface remains single-user local. Run/audit
|
|
71
|
+
payloads keep structural credential redaction.
|
|
72
|
+
|
|
73
|
+
### Fixed
|
|
74
|
+
|
|
75
|
+
- Credentials are written to the kernel's version-1 `refs` layout (flat
|
|
76
|
+
top-level keys no longer break the next DSH boot).
|
|
77
|
+
- Effort tags no longer delete themselves on click (label-click forwarding bug).
|
|
78
|
+
- Composer text no longer loses focus outline styling or clears on blur.
|
|
79
|
+
- Auto-compact now fires when `inputTokens ≥ contextWindow − maxOutputTokens`,
|
|
80
|
+
with a visible transcript marker.
|
|
81
|
+
|
|
82
|
+
### What's next
|
|
83
|
+
|
|
84
|
+
- Roles as subagents with `@`-summoning — see the [proposal](docs/research/2026-09-12-roles-as-subagents.md)
|
|
85
|
+
(three design decisions pending).
|
|
86
|
+
|
|
87
|
+
## 1.5.2 (2026-05-21)
|
|
88
|
+
|
|
89
|
+
See git history for the 1.x series.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Gaubee
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|