joycraft 0.6.8 → 0.6.9
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-PGKFL3PW.js → chunk-W6AHAE7X.js} +9 -9
- package/dist/{chunk-PGKFL3PW.js.map → chunk-W6AHAE7X.js.map} +1 -1
- package/dist/cli.js +3 -3
- package/dist/{init-3A5XYVKQ.js → init-35PB3SOQ.js} +2 -2
- package/dist/{init-autofix-O5MGQZ2I.js → init-autofix-3QKXF5UX.js} +2 -2
- package/dist/{upgrade-EZSIL2M2.js → upgrade-G7PYJXEE.js} +2 -2
- package/package.json +1 -1
- /package/dist/{init-3A5XYVKQ.js.map → init-35PB3SOQ.js.map} +0 -0
- /package/dist/{init-autofix-O5MGQZ2I.js.map → init-autofix-3QKXF5UX.js.map} +0 -0
- /package/dist/{upgrade-EZSIL2M2.js.map → upgrade-G7PYJXEE.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-35PB3SOQ.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-G7PYJXEE.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-3QKXF5UX.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 () => {
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
PI_SKILLS,
|
|
12
12
|
SKILLS,
|
|
13
13
|
TEMPLATES
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-W6AHAE7X.js";
|
|
15
15
|
import {
|
|
16
16
|
STATE_PATH,
|
|
17
17
|
hashContent,
|
|
@@ -983,4 +983,4 @@ function printSummary(result, stack, existingSkills = [], isPi = false) {
|
|
|
983
983
|
export {
|
|
984
984
|
init
|
|
985
985
|
};
|
|
986
|
-
//# sourceMappingURL=init-
|
|
986
|
+
//# sourceMappingURL=init-35PB3SOQ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
TEMPLATES
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-W6AHAE7X.js";
|
|
5
5
|
import {
|
|
6
6
|
LEGACY_VERSION_FILE,
|
|
7
7
|
STATE_PATH
|
|
@@ -116,4 +116,4 @@ function printSummary(result, dryRun, scenariosRepo) {
|
|
|
116
116
|
export {
|
|
117
117
|
initAutofix
|
|
118
118
|
};
|
|
119
|
-
//# sourceMappingURL=init-autofix-
|
|
119
|
+
//# sourceMappingURL=init-autofix-3QKXF5UX.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
PI_SKILLS,
|
|
12
12
|
SKILLS,
|
|
13
13
|
TEMPLATES
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-W6AHAE7X.js";
|
|
15
15
|
import {
|
|
16
16
|
LEGACY_VERSION_FILE,
|
|
17
17
|
STATE_PATH,
|
|
@@ -506,4 +506,4 @@ Upgrade complete: ${parts.join(", ")}.`);
|
|
|
506
506
|
export {
|
|
507
507
|
upgrade
|
|
508
508
|
};
|
|
509
|
-
//# sourceMappingURL=upgrade-
|
|
509
|
+
//# sourceMappingURL=upgrade-G7PYJXEE.js.map
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|