@xynogen/pix-skills 0.6.3 → 0.6.4
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 +1 -1
- package/src/index.test.ts +11 -0
- package/src/index.ts +1 -0
package/package.json
CHANGED
package/src/index.test.ts
CHANGED
|
@@ -121,6 +121,17 @@ describe("formatCollapsedSkillResult", () => {
|
|
|
121
121
|
});
|
|
122
122
|
|
|
123
123
|
describe("skill renderer", () => {
|
|
124
|
+
it("uses the self-rendered shell so the compact status mark has no box padding", () => {
|
|
125
|
+
let registered: Record<string, unknown> = {};
|
|
126
|
+
registerSkills({
|
|
127
|
+
registerTool(tool: unknown) {
|
|
128
|
+
registered = tool as Record<string, unknown>;
|
|
129
|
+
},
|
|
130
|
+
on() {},
|
|
131
|
+
} as never);
|
|
132
|
+
expect(registered.renderShell).toBe("self");
|
|
133
|
+
});
|
|
134
|
+
|
|
124
135
|
it("restores the normal result when an elapsed card is expanded", () => {
|
|
125
136
|
let registered: Record<string, unknown> = {};
|
|
126
137
|
registerSkills({
|
package/src/index.ts
CHANGED
|
@@ -409,6 +409,7 @@ function registerSkillLoader(pi: ExtensionAPI): void {
|
|
|
409
409
|
pi.registerTool({
|
|
410
410
|
name: "read_skills",
|
|
411
411
|
label: "Read Skills",
|
|
412
|
+
renderShell: "self",
|
|
412
413
|
description:
|
|
413
414
|
"Browse skills and access conventional bundle resources. References can be read into context; scripts/assets must be copied to a project-relative output path before use.",
|
|
414
415
|
promptSnippet: "Browse and load bundled skill instructions",
|