joycraft 0.7.15 → 0.7.16
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-JYPBXPGD.js → chunk-35RQLGKM.js} +1034 -57
- package/dist/chunk-35RQLGKM.js.map +1 -0
- package/dist/{chunk-PR4QDKPL.js → chunk-GTP7Z52K.js} +213 -26
- package/dist/chunk-GTP7Z52K.js.map +1 -0
- package/dist/cli.js +6 -6
- package/dist/{init-S5JU5BHL.js → init-MUB5CC6L.js} +3 -3
- package/dist/{init-autofix-WSKUT2HN.js → init-autofix-2DMBO4QN.js} +2 -2
- package/dist/joycraft-release.json +1 -1
- package/dist/{update-HNTXCEKB.js → update-LFLQTPUA.js} +3 -3
- package/dist/{upgrade-LZOND7OZ.js → upgrade-L5WERK4X.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-JYPBXPGD.js.map +0 -1
- package/dist/chunk-PR4QDKPL.js.map +0 -1
- /package/dist/{init-S5JU5BHL.js.map → init-MUB5CC6L.js.map} +0 -0
- /package/dist/{init-autofix-WSKUT2HN.js.map → init-autofix-2DMBO4QN.js.map} +0 -0
- /package/dist/{update-HNTXCEKB.js.map → update-LFLQTPUA.js.map} +0 -0
- /package/dist/{upgrade-LZOND7OZ.js.map → upgrade-L5WERK4X.js.map} +0 -0
package/dist/cli.js
CHANGED
|
@@ -272,7 +272,7 @@ var GITIGNORE_OPTION_DESC = `Gitignore profile: 'shared' (commit skills) or 'pri
|
|
|
272
272
|
var program = new Command();
|
|
273
273
|
program.name("joycraft").description("Scaffold and upgrade AI development harnesses").version(pkg.version, "-v, --version");
|
|
274
274
|
program.command("update").description("Safely install or update Joycraft in a project").argument("[dir]", "Target directory", ".").option("--harnesses <list>", "Harnesses to install (comma or space separated)").option("--yes", "Apply safe updates without prompting").option("--non-interactive", "Never prompt; apply safe actions only").option("--replace-customized <paths...>", "Explicitly replace these customized paths").option("--repair <paths...>", "Explicitly restore these missing managed files").option("--gitignore <profile>", GITIGNORE_OPTION_DESC).option("--json", "Print a structured JSON outcome").option("--recover", "Recover the interrupted update transaction").option("--rollback", "Rollback the last successful update").option("--preview", "Show planned changes without applying them").option("--auto-safe", "Require local opt-in and verified automatic-update safety").action(async (dir, opts) => {
|
|
275
|
-
const { update, formatUpdateOutcome } = await import("./update-
|
|
275
|
+
const { update, formatUpdateOutcome } = await import("./update-LFLQTPUA.js");
|
|
276
276
|
try {
|
|
277
277
|
let verifiedArtifact;
|
|
278
278
|
if (opts.autoSafe) {
|
|
@@ -319,7 +319,7 @@ program.command("update").description("Safely install or update Joycraft in a pr
|
|
|
319
319
|
}
|
|
320
320
|
});
|
|
321
321
|
program.command("init").description("Scaffold the Joycraft harness into the current project").argument("[dir]", "Target directory", ".").option("--force", "Overwrite existing files").option("--harnesses <list>", "Harnesses to install (comma or space separated)").option("--yes", "Apply safe updates without prompting").option("--non-interactive", "Never prompt; apply safe actions only").option("--replace-customized <paths...>", "Explicitly replace these customized paths").option("--gitignore <profile>", GITIGNORE_OPTION_DESC).option("--json", "Print a structured JSON outcome").action(async (dir, opts) => {
|
|
322
|
-
const { init, formatInitOutcome } = await import("./init-
|
|
322
|
+
const { init, formatInitOutcome } = await import("./init-MUB5CC6L.js");
|
|
323
323
|
try {
|
|
324
324
|
const result = await init(dir, {
|
|
325
325
|
force: opts.force ?? false,
|
|
@@ -343,14 +343,14 @@ program.command("init").description("Scaffold the Joycraft harness into the curr
|
|
|
343
343
|
}
|
|
344
344
|
});
|
|
345
345
|
program.command("upgrade").description("Upgrade installed Joycraft templates and skills to latest").argument("[dir]", "Target directory", ".").option("--yes", "Apply safe updates and preserve customizations without prompting").option("--non-interactive", "Never prompt; apply safe actions only").option("--harnesses <list>", "Harnesses to update (comma or space separated)").option("--replace-customized <paths...>", "Explicitly replace these customized paths").option("--gitignore <profile>", GITIGNORE_OPTION_DESC).option("--json", "Print a structured JSON outcome").action(async (dir, opts) => {
|
|
346
|
-
const { upgrade } = await import("./upgrade-
|
|
346
|
+
const { upgrade } = await import("./upgrade-L5WERK4X.js");
|
|
347
347
|
try {
|
|
348
348
|
const result = await upgrade(dir, { yes: opts.yes ?? false, nonInteractive: opts.nonInteractive ?? false, harnesses: opts.harnesses, replaceCustomized: opts.replaceCustomized, gitignore: opts.gitignore, json: opts.json });
|
|
349
349
|
if (!opts.json) {
|
|
350
|
-
const { formatUpdateOutcome } = await import("./update-
|
|
350
|
+
const { formatUpdateOutcome } = await import("./update-LFLQTPUA.js");
|
|
351
351
|
console.log(formatUpdateOutcome(result, false));
|
|
352
352
|
} else {
|
|
353
|
-
const { formatUpdateOutcome } = await import("./update-
|
|
353
|
+
const { formatUpdateOutcome } = await import("./update-LFLQTPUA.js");
|
|
354
354
|
console.log(formatUpdateOutcome(result, true));
|
|
355
355
|
}
|
|
356
356
|
process.exitCode = result.exitCode;
|
|
@@ -408,7 +408,7 @@ program.command("check").description("Check for a newer Joycraft release using l
|
|
|
408
408
|
}
|
|
409
409
|
});
|
|
410
410
|
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) => {
|
|
411
|
-
const { initAutofix } = await import("./init-autofix-
|
|
411
|
+
const { initAutofix } = await import("./init-autofix-2DMBO4QN.js");
|
|
412
412
|
await initAutofix(dir, opts);
|
|
413
413
|
});
|
|
414
414
|
program.command("check-version").description("Check if a newer version of Joycraft is available").action(async () => {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import {
|
|
3
3
|
formatUpdateOutcome,
|
|
4
4
|
update
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-GTP7Z52K.js";
|
|
6
|
+
import "./chunk-35RQLGKM.js";
|
|
7
7
|
import "./chunk-OMFGDJW4.js";
|
|
8
8
|
import {
|
|
9
9
|
PRIVATE_DIRS_DISPLAY
|
|
@@ -57,4 +57,4 @@ export {
|
|
|
57
57
|
formatInitOutcome,
|
|
58
58
|
init
|
|
59
59
|
};
|
|
60
|
-
//# sourceMappingURL=init-
|
|
60
|
+
//# sourceMappingURL=init-MUB5CC6L.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
TEMPLATES
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-35RQLGKM.js";
|
|
5
5
|
import {
|
|
6
6
|
LEGACY_VERSION_FILE,
|
|
7
7
|
STATE_PATH
|
|
@@ -119,4 +119,4 @@ function printSummary(result, dryRun, scenariosRepo) {
|
|
|
119
119
|
export {
|
|
120
120
|
initAutofix
|
|
121
121
|
};
|
|
122
|
-
//# sourceMappingURL=init-autofix-
|
|
122
|
+
//# sourceMappingURL=init-autofix-2DMBO4QN.js.map
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
formatUpdateOutcome,
|
|
4
4
|
update,
|
|
5
5
|
updateStatusExitCode
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-GTP7Z52K.js";
|
|
7
|
+
import "./chunk-35RQLGKM.js";
|
|
8
8
|
import "./chunk-OMFGDJW4.js";
|
|
9
9
|
import "./chunk-Z5JFEGWG.js";
|
|
10
10
|
import "./chunk-KKDKC4FM.js";
|
|
@@ -16,4 +16,4 @@ export {
|
|
|
16
16
|
update,
|
|
17
17
|
updateStatusExitCode
|
|
18
18
|
};
|
|
19
|
-
//# sourceMappingURL=update-
|
|
19
|
+
//# sourceMappingURL=update-LFLQTPUA.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
update
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-GTP7Z52K.js";
|
|
5
|
+
import "./chunk-35RQLGKM.js";
|
|
6
6
|
import "./chunk-OMFGDJW4.js";
|
|
7
7
|
import "./chunk-Z5JFEGWG.js";
|
|
8
8
|
import "./chunk-KKDKC4FM.js";
|
|
@@ -25,4 +25,4 @@ async function upgrade(dir, opts = {}) {
|
|
|
25
25
|
export {
|
|
26
26
|
upgrade
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=upgrade-
|
|
28
|
+
//# sourceMappingURL=upgrade-L5WERK4X.js.map
|