aiblueprint-cli 1.4.64 → 1.4.66
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/README.md +2 -2
- package/dist/cli.js +5 -4
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -77,8 +77,8 @@ npx aiblueprint-cli@latest agents symlink
|
|
|
77
77
|
# Centralize global skills and agents in ~/.agents
|
|
78
78
|
npx aiblueprint-cli@latest agents unify
|
|
79
79
|
|
|
80
|
-
# Unify
|
|
81
|
-
npx aiblueprint-cli@latest agents unify
|
|
80
|
+
# Unify project-local .claude/.codex/.cursor config into .agents
|
|
81
|
+
npx aiblueprint-cli@latest agents unify projects
|
|
82
82
|
|
|
83
83
|
# Recover sessions from saved configs and backups
|
|
84
84
|
npx aiblueprint-cli@latest agents config unify sessions
|
package/dist/cli.js
CHANGED
|
@@ -38757,12 +38757,13 @@ function registerAgentsCommands(cmd) {
|
|
|
38757
38757
|
codexFolder: parentOptions.codexFolder
|
|
38758
38758
|
});
|
|
38759
38759
|
});
|
|
38760
|
-
cmd.command("unify [scope]").description("Unify agent configuration into .agents (scope: global or repository; default: global)").action((scope, options, command) => {
|
|
38760
|
+
cmd.command("unify [scope]").description("Unify agent configuration into .agents (scope: global or projects/repository; default: global)").action((scope, options, command) => {
|
|
38761
38761
|
const parentOptions = command.parent.opts();
|
|
38762
|
-
const
|
|
38762
|
+
const requestedScope = scope ?? "global";
|
|
38763
|
+
const selectedScope = requestedScope === "projects" || requestedScope === "project" ? "repository" : requestedScope;
|
|
38763
38764
|
if (selectedScope !== "global" && selectedScope !== "repository") {
|
|
38764
|
-
console.error(source_default.red(`Invalid unify scope: ${
|
|
38765
|
-
console.error(source_default.gray("Use `global` or `repository`."));
|
|
38765
|
+
console.error(source_default.red(`Invalid unify scope: ${requestedScope}`));
|
|
38766
|
+
console.error(source_default.gray("Use `global`, `projects`, or `repository`."));
|
|
38766
38767
|
process.exitCode = 1;
|
|
38767
38768
|
return;
|
|
38768
38769
|
}
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aiblueprint-cli",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.66",
|
|
4
4
|
"description": "AIBlueprint CLI for setting up AI coding configurations",
|
|
5
5
|
"author": "AIBlueprint",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "https://github.com/Melvynx/aiblueprint.git"
|
|
9
|
+
"url": "git+https://github.com/Melvynx/aiblueprint.git"
|
|
10
10
|
},
|
|
11
11
|
"type": "module",
|
|
12
12
|
"bin": {
|
|
13
|
-
"aiblueprint": "
|
|
13
|
+
"aiblueprint": "dist/cli.js"
|
|
14
14
|
},
|
|
15
15
|
"scripts": {
|
|
16
16
|
"build": "bun build src/cli.ts --outdir dist --target node && chmod +x dist/cli.js",
|