@xynogen/pix-skills 0.11.1 → 0.11.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/package.json +2 -2
- package/skills/commit.md +1 -0
- package/src/index.ts +9 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xynogen/pix-skills",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.3",
|
|
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
|
|
50
|
+
"@xynogen/pix-pretty": "^3.4.0",
|
|
51
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/index.ts
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
14
|
import { dirname, isAbsolute, join, relative, resolve, win32 } from "node:path";
|
|
15
|
-
import { frameToolResult, moreLines } from "@xynogen/pix-pretty/frame";
|
|
15
|
+
import { bodyText, frameToolResult, moreLines } from "@xynogen/pix-pretty/frame";
|
|
16
16
|
import {
|
|
17
17
|
dotJoin,
|
|
18
18
|
hideCollapsedToolCall,
|
|
@@ -748,10 +748,15 @@ function registerSkillLoader(pi: ExtensionAPI): void {
|
|
|
748
748
|
return component;
|
|
749
749
|
}
|
|
750
750
|
if (details.mode === "search" && details.results) {
|
|
751
|
-
component.setText(
|
|
751
|
+
component.setText(
|
|
752
|
+
bodyText(formatRemoteSkillSearchSummary(details.query, details.results, theme), theme),
|
|
753
|
+
);
|
|
752
754
|
return options.isPartial ? component : frameToolResult(component, theme, false);
|
|
753
755
|
}
|
|
754
|
-
const body =
|
|
756
|
+
const body = bodyText(
|
|
757
|
+
formatSkillSummary(formatExpandedSkillResult(details, text ?? ""), theme),
|
|
758
|
+
theme,
|
|
759
|
+
);
|
|
755
760
|
// Long skill bodies collapse to a fading preview; ctrl+o shows the full text.
|
|
756
761
|
component.setText(
|
|
757
762
|
options.expanded
|
|
@@ -760,7 +765,7 @@ function registerSkillLoader(pi: ExtensionAPI): void {
|
|
|
760
765
|
);
|
|
761
766
|
return options.isPartial ? component : frameToolResult(component, theme, false);
|
|
762
767
|
}
|
|
763
|
-
component.setText(formatSkillSummary(text ?? "", theme));
|
|
768
|
+
component.setText(bodyText(formatSkillSummary(text ?? "", theme), theme));
|
|
764
769
|
return options.isPartial
|
|
765
770
|
? component
|
|
766
771
|
: frameToolResult(component, theme, renderCtx.isError === true);
|