@xynogen/pix-skills 0.11.0 → 0.11.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/package.json +3 -3
- package/skills/commit.md +1 -0
- package/src/picker.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xynogen/pix-skills",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.2",
|
|
4
4
|
"description": "Pi extension — agent skill loader (skill tool + skills bundle)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.ts",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@xynogen/pix-gate": "^0.5.0",
|
|
50
|
-
"@xynogen/pix-pretty": "^3.0.
|
|
51
|
-
"@xynogen/pix-runtime": "^0.22.
|
|
50
|
+
"@xynogen/pix-pretty": "^3.0.2",
|
|
51
|
+
"@xynogen/pix-runtime": "^0.22.2"
|
|
52
52
|
}
|
|
53
53
|
}
|
package/skills/commit.md
CHANGED
|
@@ -21,6 +21,7 @@ Invocation is permission: commit without asking again. Never commit secrets, bin
|
|
|
21
21
|
- Untracked/generated files: add clear ignore candidates (build dirs, caches, logs, temp, editor/OS junk, local env) to `.gitignore`. If unsure whether to ignore or commit, ask first.
|
|
22
22
|
- Secret in an untracked or ignored file (e.g. `.env`) → never stage it, ignore it, commit the rest, and name the file and key name (never the value) in your final message so the user can rotate it if it was ever exposed.
|
|
23
23
|
- Secret, binary, debug print, or unrelated edit in a tracked or staged diff → stop, commit nothing, and report it with `file:line`.
|
|
24
|
+
- Before staging, bump every changed publishable package whose version is already on npm (`feat` → minor, `fix`/`perf` → patch; minor/major need user approval). An unpublished bump needs no second bump. Update dependent package ranges, aggregator pins, and the lockfile in the same commit; run the repo's required checks after the bumps.
|
|
24
25
|
2. **Group** — One commit per logical change, clustered by module and function. Never mix `feat` with an unrelated `fix`. Stage with `git add <paths>` (`-p` for partial hunks).
|
|
25
26
|
3. **Compose** — `<type>(<scope>): <subject>`
|
|
26
27
|
- type: `feat` new capability · `fix` bug fix · `refactor` no behavior change · `perf` speed/memory · `docs` documentation · `test` tests only · `build` build system/deps · `ci` CI/CD config · `style` formatting only · `chore` tooling/misc · `revert` undo a commit.
|
package/src/picker.ts
CHANGED
|
@@ -158,7 +158,7 @@ export class SkillPicker {
|
|
|
158
158
|
this.invalidate();
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
render(width: number): string[] {
|
|
161
|
+
render(width: number): readonly string[] {
|
|
162
162
|
if (this.cachedLines && this.cachedWidth === width) return this.cachedLines;
|
|
163
163
|
const theme = this.opts.theme;
|
|
164
164
|
const inner = modalWidth(width) - 4;
|