@unityclaw/skills 1.0.0 → 1.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/dist/{chunk-KHQZYC3Y.js → chunk-4GBZWV4P.js} +8 -5
- package/dist/cli.cjs +8 -5
- package/dist/cli.js +1 -1
- package/dist/index.cjs +8 -5
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -131,13 +131,16 @@ Installing ${skillsToInstall.length} skill(s):
|
|
|
131
131
|
\u2728 Done! Skills installed to: ${targetDir}`);
|
|
132
132
|
}
|
|
133
133
|
async function executeSkill(skillCommand) {
|
|
134
|
-
const
|
|
135
|
-
|
|
134
|
+
const args = [
|
|
135
|
+
"--print",
|
|
136
|
+
"--dangerously-skip-permissions",
|
|
137
|
+
skillCommand
|
|
138
|
+
];
|
|
139
|
+
console.log(`Executing: claude ${args.join(" ")}
|
|
136
140
|
`);
|
|
137
141
|
return new Promise((resolve, reject) => {
|
|
138
|
-
const child = spawn("claude",
|
|
139
|
-
stdio: "inherit"
|
|
140
|
-
shell: true
|
|
142
|
+
const child = spawn("claude", args, {
|
|
143
|
+
stdio: "inherit"
|
|
141
144
|
});
|
|
142
145
|
child.on("close", (code) => {
|
|
143
146
|
if (code === 0) {
|
package/dist/cli.cjs
CHANGED
|
@@ -154,13 +154,16 @@ Installing ${skillsToInstall.length} skill(s):
|
|
|
154
154
|
\u2728 Done! Skills installed to: ${targetDir}`);
|
|
155
155
|
}
|
|
156
156
|
async function executeSkill(skillCommand) {
|
|
157
|
-
const
|
|
158
|
-
|
|
157
|
+
const args2 = [
|
|
158
|
+
"--print",
|
|
159
|
+
"--dangerously-skip-permissions",
|
|
160
|
+
skillCommand
|
|
161
|
+
];
|
|
162
|
+
console.log(`Executing: claude ${args2.join(" ")}
|
|
159
163
|
`);
|
|
160
164
|
return new Promise((resolve, reject) => {
|
|
161
|
-
const child = (0, import_child_process.spawn)("claude",
|
|
162
|
-
stdio: "inherit"
|
|
163
|
-
shell: true
|
|
165
|
+
const child = (0, import_child_process.spawn)("claude", args2, {
|
|
166
|
+
stdio: "inherit"
|
|
164
167
|
});
|
|
165
168
|
child.on("close", (code) => {
|
|
166
169
|
if (code === 0) {
|
package/dist/cli.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -165,13 +165,16 @@ Installing ${skillsToInstall.length} skill(s):
|
|
|
165
165
|
\u2728 Done! Skills installed to: ${targetDir}`);
|
|
166
166
|
}
|
|
167
167
|
async function executeSkill(skillCommand) {
|
|
168
|
-
const
|
|
169
|
-
|
|
168
|
+
const args = [
|
|
169
|
+
"--print",
|
|
170
|
+
"--dangerously-skip-permissions",
|
|
171
|
+
skillCommand
|
|
172
|
+
];
|
|
173
|
+
console.log(`Executing: claude ${args.join(" ")}
|
|
170
174
|
`);
|
|
171
175
|
return new Promise((resolve, reject) => {
|
|
172
|
-
const child = (0, import_child_process.spawn)("claude",
|
|
173
|
-
stdio: "inherit"
|
|
174
|
-
shell: true
|
|
176
|
+
const child = (0, import_child_process.spawn)("claude", args, {
|
|
177
|
+
stdio: "inherit"
|
|
175
178
|
});
|
|
176
179
|
child.on("close", (code) => {
|
|
177
180
|
if (code === 0) {
|
package/dist/index.js
CHANGED
package/package.json
CHANGED