joycraft 0.6.4 → 0.6.5
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-2MAUVQAV.js → chunk-74U6FQUQ.js} +7 -7
- package/dist/chunk-74U6FQUQ.js.map +1 -0
- package/dist/cli.js +3 -3
- package/dist/{init-KUU6HNXS.js → init-RYO6QGAY.js} +2 -2
- package/dist/{init-autofix-R2YAN4Q4.js → init-autofix-LAJ2RQRR.js} +2 -2
- package/dist/{upgrade-QRVIXXBW.js → upgrade-TIHWRVGE.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-2MAUVQAV.js.map +0 -1
- /package/dist/{init-KUU6HNXS.js.map → init-RYO6QGAY.js.map} +0 -0
- /package/dist/{init-autofix-R2YAN4Q4.js.map → init-autofix-LAJ2RQRR.js.map} +0 -0
- /package/dist/{upgrade-QRVIXXBW.js.map → upgrade-TIHWRVGE.js.map} +0 -0
package/dist/cli.js
CHANGED
|
@@ -10,15 +10,15 @@ var pkg = JSON.parse(readFileSync(join(__dirname, "..", "package.json"), "utf-8"
|
|
|
10
10
|
var program = new Command();
|
|
11
11
|
program.name("joycraft").description("Scaffold and upgrade AI development harnesses").version(pkg.version, "-v, --version");
|
|
12
12
|
program.command("init").description("Scaffold the Joycraft harness into the current project").argument("[dir]", "Target directory", ".").option("--force", "Overwrite existing files").action(async (dir, opts) => {
|
|
13
|
-
const { init } = await import("./init-
|
|
13
|
+
const { init } = await import("./init-RYO6QGAY.js");
|
|
14
14
|
await init(dir, { force: opts.force ?? false });
|
|
15
15
|
});
|
|
16
16
|
program.command("upgrade").description("Upgrade installed Joycraft templates and skills to latest").argument("[dir]", "Target directory", ".").option("--yes", "Auto-accept all updates").action(async (dir, opts) => {
|
|
17
|
-
const { upgrade } = await import("./upgrade-
|
|
17
|
+
const { upgrade } = await import("./upgrade-TIHWRVGE.js");
|
|
18
18
|
await upgrade(dir, { yes: opts.yes ?? false });
|
|
19
19
|
});
|
|
20
20
|
program.command("init-autofix").description("Set up the Level 5 auto-fix loop with holdout scenarios").argument("[dir]", "Target directory", ".").option("--scenarios-repo <name>", "Name for scenarios repo").option("--app-id <id>", "GitHub App ID for Joycraft Autofix").option("--force", "Overwrite existing workflow files").option("--dry-run", "Show what would be created without creating it").action(async (dir, opts) => {
|
|
21
|
-
const { initAutofix } = await import("./init-autofix-
|
|
21
|
+
const { initAutofix } = await import("./init-autofix-LAJ2RQRR.js");
|
|
22
22
|
await initAutofix(dir, opts);
|
|
23
23
|
});
|
|
24
24
|
program.command("check-version").description("Check if a newer version of Joycraft is available").action(async () => {
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
PI_SKILLS,
|
|
13
13
|
SKILLS,
|
|
14
14
|
TEMPLATES
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-74U6FQUQ.js";
|
|
16
16
|
|
|
17
17
|
// src/init.ts
|
|
18
18
|
import { mkdirSync as mkdirSync2, existsSync as existsSync4, writeFileSync as writeFileSync2, readFileSync as readFileSync3, readdirSync as readdirSync2, statSync, chmodSync } from "fs";
|
|
@@ -974,4 +974,4 @@ function printSummary(result, stack, existingSkills = [], isPi = false) {
|
|
|
974
974
|
export {
|
|
975
975
|
init
|
|
976
976
|
};
|
|
977
|
-
//# sourceMappingURL=init-
|
|
977
|
+
//# sourceMappingURL=init-RYO6QGAY.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
TEMPLATES
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-74U6FQUQ.js";
|
|
5
5
|
|
|
6
6
|
// src/init-autofix.ts
|
|
7
7
|
import { mkdirSync, existsSync, writeFileSync } from "fs";
|
|
@@ -111,4 +111,4 @@ function printSummary(result, dryRun, scenariosRepo) {
|
|
|
111
111
|
export {
|
|
112
112
|
initAutofix
|
|
113
113
|
};
|
|
114
|
-
//# sourceMappingURL=init-autofix-
|
|
114
|
+
//# sourceMappingURL=init-autofix-LAJ2RQRR.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
PI_SKILLS,
|
|
14
14
|
SKILLS,
|
|
15
15
|
TEMPLATES
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-74U6FQUQ.js";
|
|
17
17
|
|
|
18
18
|
// src/upgrade.ts
|
|
19
19
|
import { existsSync as existsSync2, readFileSync, writeFileSync, mkdirSync as mkdirSync2, rmSync as rmSync2 } from "fs";
|
|
@@ -435,4 +435,4 @@ Upgrade complete: ${parts.join(", ")}.`);
|
|
|
435
435
|
export {
|
|
436
436
|
upgrade
|
|
437
437
|
};
|
|
438
|
-
//# sourceMappingURL=upgrade-
|
|
438
|
+
//# sourceMappingURL=upgrade-TIHWRVGE.js.map
|