drafted 1.10.0 → 1.10.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/cli/drafted.mjs +4 -1
- package/package.json +1 -1
package/cli/drafted.mjs
CHANGED
|
@@ -1300,7 +1300,10 @@ function runSkillSetup(dir) {
|
|
|
1300
1300
|
if (!setup.length) return { ok: true, skipped: true, ran: [] };
|
|
1301
1301
|
const ran = [];
|
|
1302
1302
|
for (const cmd of setup) {
|
|
1303
|
-
|
|
1303
|
+
// Route the subprocess's stdout+stderr to OUR stderr (fd 2), never our stdout —
|
|
1304
|
+
// so `skill setup --format json` (and sync, which calls this) emit ONLY the
|
|
1305
|
+
// result JSON on stdout. Build noise (npm/tsup) stays visible on stderr.
|
|
1306
|
+
try { execSync(cmd, { cwd: dir, stdio: ['ignore', 2, 2] }); ran.push(cmd); }
|
|
1304
1307
|
catch (e) { return { ok: false, failed: cmd, ran, error: String((e && e.message) || e) }; }
|
|
1305
1308
|
}
|
|
1306
1309
|
return { ok: true, ran };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "drafted",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.1",
|
|
4
4
|
"description": "Drafted — visual thinking surface for humans and AI agents. Renders HTML, markdown, images, and code as frames on a zoomable canvas, with MCP tools for AI agents and real-time sync for humans.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|