aiblueprint-cli 1.4.51 → 1.4.52
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 +17 -17
- package/dist/cli.js +22 -51
- package/package.json +4 -4
- /package/{ai-coding → agents-config}/.claude-plugin/plugin.json +0 -0
- /package/{ai-coding → agents-config}/agents/action.md +0 -0
- /package/{ai-coding → agents-config}/agents/explore-codebase.md +0 -0
- /package/{ai-coding → agents-config}/agents/explore-docs.md +0 -0
- /package/{ai-coding → agents-config}/agents/websearch.md +0 -0
- /package/{ai-coding → agents-config}/scripts/.claude/commands/fix-on-my-computer.md +0 -0
- /package/{ai-coding → agents-config}/scripts/CLAUDE.md +0 -0
- /package/{ai-coding → agents-config}/scripts/biome.json +0 -0
- /package/{ai-coding → agents-config}/scripts/bun.lockb +0 -0
- /package/{ai-coding → agents-config}/scripts/package.json +0 -0
- /package/{ai-coding → agents-config}/scripts/statusline/CLAUDE.md +0 -0
- /package/{ai-coding → agents-config}/scripts/statusline/README.md +0 -0
- /package/{ai-coding → agents-config}/scripts/statusline/__tests__/context.test.ts +0 -0
- /package/{ai-coding → agents-config}/scripts/statusline/__tests__/formatters.test.ts +0 -0
- /package/{ai-coding → agents-config}/scripts/statusline/__tests__/statusline.test.ts +0 -0
- /package/{ai-coding → agents-config}/scripts/statusline/data/.gitignore +0 -0
- /package/{ai-coding → agents-config}/scripts/statusline/data/.gitkeep +0 -0
- /package/{ai-coding → agents-config}/scripts/statusline/defaults.json +0 -0
- /package/{ai-coding → agents-config}/scripts/statusline/docs/ARCHITECTURE.md +0 -0
- /package/{ai-coding → agents-config}/scripts/statusline/fixtures/mock-transcript.jsonl +0 -0
- /package/{ai-coding → agents-config}/scripts/statusline/fixtures/test-input.json +0 -0
- /package/{ai-coding → agents-config}/scripts/statusline/src/index.ts +0 -0
- /package/{ai-coding → agents-config}/scripts/statusline/src/lib/config-types.ts +0 -0
- /package/{ai-coding → agents-config}/scripts/statusline/src/lib/config.ts +0 -0
- /package/{ai-coding → agents-config}/scripts/statusline/src/lib/context.ts +0 -0
- /package/{ai-coding → agents-config}/scripts/statusline/src/lib/formatters.ts +0 -0
- /package/{ai-coding → agents-config}/scripts/statusline/src/lib/git.ts +0 -0
- /package/{ai-coding → agents-config}/scripts/statusline/src/lib/menu-factories.ts +0 -0
- /package/{ai-coding → agents-config}/scripts/statusline/src/lib/presets.ts +0 -0
- /package/{ai-coding → agents-config}/scripts/statusline/src/lib/render-pure.ts +0 -0
- /package/{ai-coding → agents-config}/scripts/statusline/src/lib/types.ts +0 -0
- /package/{ai-coding → agents-config}/scripts/statusline/src/lib/utils.ts +0 -0
- /package/{ai-coding → agents-config}/scripts/statusline/src/tests/spend-v2.test.ts +0 -0
- /package/{ai-coding → agents-config}/scripts/statusline/statusline.config.json +0 -0
- /package/{ai-coding → agents-config}/scripts/statusline/test-with-fixtures.ts +0 -0
- /package/{ai-coding → agents-config}/scripts/statusline/test.ts +0 -0
- /package/{ai-coding → agents-config}/scripts/statusline/tsconfig.json +0 -0
- /package/{ai-coding → agents-config}/scripts/tsconfig.json +0 -0
- /package/{ai-coding → agents-config}/skills/apex/SKILL.md +0 -0
- /package/{ai-coding → agents-config}/skills/apex/scripts/setup-templates.sh +0 -0
- /package/{ai-coding → agents-config}/skills/apex/scripts/update-progress.sh +0 -0
- /package/{ai-coding → agents-config}/skills/apex/steps/step-00-init.md +0 -0
- /package/{ai-coding → agents-config}/skills/apex/steps/step-00b-branch.md +0 -0
- /package/{ai-coding → agents-config}/skills/apex/steps/step-00b-economy.md +0 -0
- /package/{ai-coding → agents-config}/skills/apex/steps/step-00b-interactive.md +0 -0
- /package/{ai-coding → agents-config}/skills/apex/steps/step-01-analyze.md +0 -0
- /package/{ai-coding → agents-config}/skills/apex/steps/step-02-plan.md +0 -0
- /package/{ai-coding → agents-config}/skills/apex/steps/step-03-execute.md +0 -0
- /package/{ai-coding → agents-config}/skills/apex/steps/step-04-validate.md +0 -0
- /package/{ai-coding → agents-config}/skills/apex/templates/00-context.md +0 -0
- /package/{ai-coding → agents-config}/skills/apex/templates/01-analyze.md +0 -0
- /package/{ai-coding → agents-config}/skills/apex/templates/02-plan.md +0 -0
- /package/{ai-coding → agents-config}/skills/apex/templates/03-execute.md +0 -0
- /package/{ai-coding → agents-config}/skills/apex/templates/04-validate.md +0 -0
- /package/{ai-coding → agents-config}/skills/apex/templates/README.md +0 -0
- /package/{ai-coding → agents-config}/skills/apex/templates/step-complete.md +0 -0
- /package/{ai-coding → agents-config}/skills/claude-memory/SKILL.md +0 -0
- /package/{ai-coding → agents-config}/skills/claude-memory/references/comprehensive-example.md +0 -0
- /package/{ai-coding → agents-config}/skills/claude-memory/references/optimize-guide.md +0 -0
- /package/{ai-coding → agents-config}/skills/claude-memory/references/project-patterns.md +0 -0
- /package/{ai-coding → agents-config}/skills/claude-memory/references/prompting-techniques.md +0 -0
- /package/{ai-coding → agents-config}/skills/claude-memory/references/rules-directory-guide.md +0 -0
- /package/{ai-coding → agents-config}/skills/claude-memory/references/section-templates.md +0 -0
- /package/{ai-coding → agents-config}/skills/codex-environment/SKILL.md +0 -0
- /package/{ai-coding → agents-config}/skills/commit/SKILL.md +0 -0
- /package/{ai-coding → agents-config}/skills/create-pr/SKILL.md +0 -0
- /package/{ai-coding → agents-config}/skills/fix-errors/SKILL.md +0 -0
- /package/{ai-coding → agents-config}/skills/fix-grammar/SKILL.md +0 -0
- /package/{ai-coding → agents-config}/skills/fix-pr-comments/SKILL.md +0 -0
- /package/{ai-coding → agents-config}/skills/merge/SKILL.md +0 -0
- /package/{ai-coding → agents-config}/skills/oneshot/SKILL.md +0 -0
- /package/{ai-coding → agents-config}/skills/prompt-creator/SKILL.md +0 -0
- /package/{ai-coding → agents-config}/skills/prompt-creator/references/anthropic-best-practices.md +0 -0
- /package/{ai-coding → agents-config}/skills/prompt-creator/references/anti-patterns.md +0 -0
- /package/{ai-coding → agents-config}/skills/prompt-creator/references/clarity-principles.md +0 -0
- /package/{ai-coding → agents-config}/skills/prompt-creator/references/context-management.md +0 -0
- /package/{ai-coding → agents-config}/skills/prompt-creator/references/few-shot-patterns.md +0 -0
- /package/{ai-coding → agents-config}/skills/prompt-creator/references/openai-best-practices.md +0 -0
- /package/{ai-coding → agents-config}/skills/prompt-creator/references/prompt-templates.md +0 -0
- /package/{ai-coding → agents-config}/skills/prompt-creator/references/reasoning-techniques.md +0 -0
- /package/{ai-coding → agents-config}/skills/prompt-creator/references/system-prompt-patterns.md +0 -0
- /package/{ai-coding → agents-config}/skills/prompt-creator/references/xml-structure.md +0 -0
- /package/{ai-coding → agents-config}/skills/ralph-loop/SKILL.md +0 -0
- /package/{ai-coding → agents-config}/skills/ralph-loop/scripts/setup.sh +0 -0
- /package/{ai-coding → agents-config}/skills/ralph-loop/steps/step-00-init.md +0 -0
- /package/{ai-coding → agents-config}/skills/ralph-loop/steps/step-01-interactive-prd.md +0 -0
- /package/{ai-coding → agents-config}/skills/ralph-loop/steps/step-02-create-stories.md +0 -0
- /package/{ai-coding → agents-config}/skills/ralph-loop/steps/step-03-finish.md +0 -0
- /package/{ai-coding → agents-config}/skills/skill-creator/LICENSE.txt +0 -0
- /package/{ai-coding → agents-config}/skills/skill-creator/SKILL.md +0 -0
- /package/{ai-coding → agents-config}/skills/skill-creator/package.json +0 -0
- /package/{ai-coding → agents-config}/skills/skill-creator/references/output-patterns.md +0 -0
- /package/{ai-coding → agents-config}/skills/skill-creator/references/progressive-disclosure-patterns.md +0 -0
- /package/{ai-coding → agents-config}/skills/skill-creator/references/prompting-integration.md +0 -0
- /package/{ai-coding → agents-config}/skills/skill-creator/references/real-world-examples.md +0 -0
- /package/{ai-coding → agents-config}/skills/skill-creator/references/script-patterns.md +0 -0
- /package/{ai-coding → agents-config}/skills/skill-creator/references/workflows.md +0 -0
- /package/{ai-coding → agents-config}/skills/skill-creator/references/xml-tag-guide.md +0 -0
- /package/{ai-coding → agents-config}/skills/skill-creator/scripts/init-skill.ts +0 -0
- /package/{ai-coding → agents-config}/skills/skill-creator/scripts/package-skill.ts +0 -0
- /package/{ai-coding → agents-config}/skills/skill-creator/scripts/validate.ts +0 -0
- /package/{ai-coding → agents-config}/skills/subagent-creator/SKILL.md +0 -0
- /package/{ai-coding → agents-config}/skills/subagent-creator/references/context-management.md +0 -0
- /package/{ai-coding → agents-config}/skills/subagent-creator/references/debugging-agents.md +0 -0
- /package/{ai-coding → agents-config}/skills/subagent-creator/references/error-handling-and-recovery.md +0 -0
- /package/{ai-coding → agents-config}/skills/subagent-creator/references/evaluation-and-testing.md +0 -0
- /package/{ai-coding → agents-config}/skills/subagent-creator/references/orchestration-patterns.md +0 -0
- /package/{ai-coding → agents-config}/skills/subagent-creator/references/subagents.md +0 -0
- /package/{ai-coding → agents-config}/skills/subagent-creator/references/writing-subagent-prompts.md +0 -0
- /package/{ai-coding → agents-config}/skills/ultrathink/SKILL.md +0 -0
- /package/{ai-coding → agents-config}/skills/workflow-apex-free/SKILL.md +0 -0
- /package/{ai-coding → agents-config}/skills/workflow-apex-free/scripts/setup-templates.sh +0 -0
- /package/{ai-coding → agents-config}/skills/workflow-apex-free/scripts/update-progress.sh +0 -0
- /package/{ai-coding → agents-config}/skills/workflow-apex-free/steps/step-00-init.md +0 -0
- /package/{ai-coding → agents-config}/skills/workflow-apex-free/steps/step-00b-branch.md +0 -0
- /package/{ai-coding → agents-config}/skills/workflow-apex-free/steps/step-00b-economy.md +0 -0
- /package/{ai-coding → agents-config}/skills/workflow-apex-free/steps/step-00b-interactive.md +0 -0
- /package/{ai-coding → agents-config}/skills/workflow-apex-free/steps/step-01-analyze.md +0 -0
- /package/{ai-coding → agents-config}/skills/workflow-apex-free/steps/step-02-plan.md +0 -0
- /package/{ai-coding → agents-config}/skills/workflow-apex-free/steps/step-03-execute.md +0 -0
- /package/{ai-coding → agents-config}/skills/workflow-apex-free/steps/step-04-validate.md +0 -0
- /package/{ai-coding → agents-config}/skills/workflow-apex-free/templates/00-context.md +0 -0
- /package/{ai-coding → agents-config}/skills/workflow-apex-free/templates/01-analyze.md +0 -0
- /package/{ai-coding → agents-config}/skills/workflow-apex-free/templates/02-plan.md +0 -0
- /package/{ai-coding → agents-config}/skills/workflow-apex-free/templates/03-execute.md +0 -0
- /package/{ai-coding → agents-config}/skills/workflow-apex-free/templates/04-validate.md +0 -0
- /package/{ai-coding → agents-config}/skills/workflow-apex-free/templates/README.md +0 -0
- /package/{ai-coding → agents-config}/skills/workflow-apex-free/templates/step-complete.md +0 -0
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ Supercharge Claude Code with security hooks, custom commands, intelligent status
|
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
10
|
# Run setup (no installation required)
|
|
11
|
-
npx aiblueprint-cli@latest
|
|
11
|
+
npx aiblueprint-cli@latest agents setup
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
## ✨ Features
|
|
@@ -32,7 +32,7 @@ npx aiblueprint-cli@latest ai-coding setup
|
|
|
32
32
|
|
|
33
33
|
```bash
|
|
34
34
|
# Run without installation
|
|
35
|
-
npx aiblueprint-cli@latest
|
|
35
|
+
npx aiblueprint-cli@latest agents setup
|
|
36
36
|
|
|
37
37
|
# Or install globally
|
|
38
38
|
npm install -g aiblueprint-cli
|
|
@@ -44,13 +44,13 @@ npm install -g aiblueprint-cli
|
|
|
44
44
|
|
|
45
45
|
```bash
|
|
46
46
|
# Interactive setup
|
|
47
|
-
npx aiblueprint-cli@latest
|
|
47
|
+
npx aiblueprint-cli@latest agents setup
|
|
48
48
|
|
|
49
49
|
# Install all features (no prompts)
|
|
50
|
-
npx aiblueprint-cli@latest
|
|
50
|
+
npx aiblueprint-cli@latest agents setup --skip
|
|
51
51
|
|
|
52
52
|
# Custom location
|
|
53
|
-
npx aiblueprint-cli@latest
|
|
53
|
+
npx aiblueprint-cli@latest agents setup --folder ~/.my-claude
|
|
54
54
|
```
|
|
55
55
|
|
|
56
56
|
### Statusline Scripts
|
|
@@ -59,16 +59,16 @@ Run utility scripts from anywhere:
|
|
|
59
59
|
|
|
60
60
|
```bash
|
|
61
61
|
# List available scripts
|
|
62
|
-
npx aiblueprint-cli@latest
|
|
62
|
+
npx aiblueprint-cli@latest agents statusline --list
|
|
63
63
|
|
|
64
64
|
# Today's spending report
|
|
65
|
-
npx aiblueprint-cli@latest
|
|
65
|
+
npx aiblueprint-cli@latest agents statusline spend:today
|
|
66
66
|
|
|
67
67
|
# Weekly usage analysis
|
|
68
|
-
npx aiblueprint-cli@latest
|
|
68
|
+
npx aiblueprint-cli@latest agents statusline weekly
|
|
69
69
|
|
|
70
70
|
# Configure statusline
|
|
71
|
-
npx aiblueprint-cli@latest
|
|
71
|
+
npx aiblueprint-cli@latest agents statusline config
|
|
72
72
|
```
|
|
73
73
|
|
|
74
74
|
**Available scripts:**
|
|
@@ -82,14 +82,14 @@ npx aiblueprint-cli@latest ai-coding statusline config
|
|
|
82
82
|
|
|
83
83
|
```bash
|
|
84
84
|
# Add specific hooks
|
|
85
|
-
npx aiblueprint-cli@latest
|
|
85
|
+
npx aiblueprint-cli@latest agents add hook post-edit-typescript
|
|
86
86
|
|
|
87
87
|
# Manage commands
|
|
88
|
-
npx aiblueprint-cli@latest
|
|
89
|
-
npx aiblueprint-cli@latest
|
|
88
|
+
npx aiblueprint-cli@latest agents add commands
|
|
89
|
+
npx aiblueprint-cli@latest agents add commands commit
|
|
90
90
|
|
|
91
91
|
# Create symlinks between tools
|
|
92
|
-
npx aiblueprint-cli@latest
|
|
92
|
+
npx aiblueprint-cli@latest agents symlink
|
|
93
93
|
```
|
|
94
94
|
|
|
95
95
|
## 📚 What You Get
|
|
@@ -174,10 +174,10 @@ Unlock advanced features at [mlv.sh/claude-cli](https://mlv.sh/claude-cli)
|
|
|
174
174
|
|
|
175
175
|
```bash
|
|
176
176
|
# Activate premium
|
|
177
|
-
npx aiblueprint-cli@latest
|
|
177
|
+
npx aiblueprint-cli@latest agents pro activate YOUR_TOKEN
|
|
178
178
|
|
|
179
179
|
# Setup premium configs
|
|
180
|
-
npx aiblueprint-cli@latest
|
|
180
|
+
npx aiblueprint-cli@latest agents pro setup
|
|
181
181
|
```
|
|
182
182
|
|
|
183
183
|
## 🛠️ Development
|
|
@@ -189,8 +189,8 @@ cd aiblueprint-cli
|
|
|
189
189
|
bun install
|
|
190
190
|
|
|
191
191
|
# Development mode
|
|
192
|
-
bun run dev
|
|
193
|
-
bun run dev
|
|
192
|
+
bun run dev agents setup
|
|
193
|
+
bun run dev agents statusline --list
|
|
194
194
|
|
|
195
195
|
# Run tests
|
|
196
196
|
bun run test:run
|
package/dist/cli.js
CHANGED
|
@@ -33142,7 +33142,7 @@ async function resolveConfigDir(repoPath) {
|
|
|
33142
33142
|
}
|
|
33143
33143
|
return null;
|
|
33144
33144
|
}
|
|
33145
|
-
var CONFIG_FOLDER_CANDIDATES = ["ai-coding", "claude-code-config", "ai-config"];
|
|
33145
|
+
var CONFIG_FOLDER_CANDIDATES = ["agents-config", "ai-coding", "claude-code-config", "ai-config"];
|
|
33146
33146
|
|
|
33147
33147
|
// src/lib/version.ts
|
|
33148
33148
|
import { readFileSync as readFileSync2 } from "fs";
|
|
@@ -33753,7 +33753,7 @@ async function setupCommand(params = {}) {
|
|
|
33753
33753
|
const sourceDir = await resolveConfigDir(repoPath);
|
|
33754
33754
|
if (!sourceDir) {
|
|
33755
33755
|
await cleanupRepository(repoPath);
|
|
33756
|
-
throw new Error("Configuration directory not found in cloned repository (looked for ai-coding/, claude-code-config/, and ai-config/)");
|
|
33756
|
+
throw new Error("Configuration directory not found in cloned repository (looked for agents-config/, ai-coding/, claude-code-config/, and ai-config/)");
|
|
33757
33757
|
}
|
|
33758
33758
|
s.stop("Repository cloned successfully");
|
|
33759
33759
|
if (options.shellShortcuts) {
|
|
@@ -35090,7 +35090,7 @@ import { promisify as promisify2 } from "util";
|
|
|
35090
35090
|
var execAsync2 = promisify2(exec3);
|
|
35091
35091
|
var PREMIUM_REPO = "Melvynx/aiblueprint-cli-premium";
|
|
35092
35092
|
var PREMIUM_BRANCH = "main";
|
|
35093
|
-
var CONFIG_FOLDER_CANDIDATES2 = ["ai-coding", "claude-code-config", "ai-config"];
|
|
35093
|
+
var CONFIG_FOLDER_CANDIDATES2 = ["agents-config", "ai-coding", "claude-code-config", "ai-config"];
|
|
35094
35094
|
function resolveBaseDir(relativePath, claudeDir, agentsDir) {
|
|
35095
35095
|
const firstSeg = relativePath.split(path13.sep)[0];
|
|
35096
35096
|
if (isAgentCategory(firstSeg)) {
|
|
@@ -35131,7 +35131,7 @@ async function cloneOrUpdateRepo(token) {
|
|
|
35131
35131
|
return candidatePath;
|
|
35132
35132
|
}
|
|
35133
35133
|
}
|
|
35134
|
-
throw new Error("Premium repo missing config folder (ai-coding or claude-code-config)");
|
|
35134
|
+
throw new Error("Premium repo missing config folder (agents-config, ai-coding, or claude-code-config)");
|
|
35135
35135
|
}
|
|
35136
35136
|
async function copyConfigFromCache(cacheConfigDir, claudeDir, agentsDir, onProgress) {
|
|
35137
35137
|
const walk = async (dir, baseDir = dir) => {
|
|
@@ -35218,7 +35218,7 @@ async function downloadDirectoryFromPrivateGitHub(repo, branch, dirPath, targetD
|
|
|
35218
35218
|
for (const file of files) {
|
|
35219
35219
|
const relativePath = dirPath ? `${dirPath}/${file.name}` : file.name;
|
|
35220
35220
|
const targetPath = path13.join(targetDir, file.name);
|
|
35221
|
-
const displayPath = relativePath.replace(/^(ai-coding|claude-code-config|ai-config)\//, "");
|
|
35221
|
+
const displayPath = relativePath.replace(/^(agents-config|ai-coding|claude-code-config|ai-config)\//, "");
|
|
35222
35222
|
if (file.type === "file") {
|
|
35223
35223
|
onProgress?.(displayPath, "file");
|
|
35224
35224
|
await downloadFromPrivateGitHub(repo, branch, relativePath, targetPath, githubToken);
|
|
@@ -35459,7 +35459,7 @@ async function proActivateCommand(userToken) {
|
|
|
35459
35459
|
M2.info(`Product: ${data.product.title}`);
|
|
35460
35460
|
M2.info(`Token saved to: ${tokenInfo.path}`);
|
|
35461
35461
|
M2.info(source_default.cyan(`
|
|
35462
|
-
\uD83D\uDCA1 Next step: Run 'npx aiblueprint-cli@latest
|
|
35462
|
+
\uD83D\uDCA1 Next step: Run 'npx aiblueprint-cli@latest agents pro setup' to install premium configs`));
|
|
35463
35463
|
trackEvent("pro-activate");
|
|
35464
35464
|
Se(source_default.green("✅ Activation complete!"));
|
|
35465
35465
|
} catch (error) {
|
|
@@ -35478,7 +35478,7 @@ async function proStatusCommand() {
|
|
|
35478
35478
|
const token = await getToken();
|
|
35479
35479
|
if (!token) {
|
|
35480
35480
|
M2.warn("No token found");
|
|
35481
|
-
M2.info("Run: npx aiblueprint-cli@latest
|
|
35481
|
+
M2.info("Run: npx aiblueprint-cli@latest agents pro activate <token>");
|
|
35482
35482
|
M2.info("Get your token at: https://mlv.sh/claude-cli");
|
|
35483
35483
|
Se(source_default.yellow("⚠️ Not activated"));
|
|
35484
35484
|
process.exit(0);
|
|
@@ -35502,7 +35502,7 @@ async function proSetupCommand(options = {}) {
|
|
|
35502
35502
|
const githubToken = await getToken();
|
|
35503
35503
|
if (!githubToken) {
|
|
35504
35504
|
M2.error("No token found");
|
|
35505
|
-
M2.info("Run: npx aiblueprint-cli@latest
|
|
35505
|
+
M2.info("Run: npx aiblueprint-cli@latest agents pro activate <token>");
|
|
35506
35506
|
Se(source_default.red("❌ Not activated"));
|
|
35507
35507
|
process.exit(1);
|
|
35508
35508
|
}
|
|
@@ -35572,7 +35572,7 @@ async function proUpdateCommand(options = {}) {
|
|
|
35572
35572
|
const githubToken = await getToken();
|
|
35573
35573
|
if (!githubToken) {
|
|
35574
35574
|
M2.error("No token found");
|
|
35575
|
-
M2.info("Run: npx aiblueprint-cli@latest
|
|
35575
|
+
M2.info("Run: npx aiblueprint-cli@latest agents pro activate <token>");
|
|
35576
35576
|
Se(source_default.red("❌ Not activated"));
|
|
35577
35577
|
process.exit(1);
|
|
35578
35578
|
}
|
|
@@ -35607,7 +35607,7 @@ import path16 from "path";
|
|
|
35607
35607
|
import crypto from "crypto";
|
|
35608
35608
|
var PREMIUM_REPO2 = "Melvynx/aiblueprint-cli-premium";
|
|
35609
35609
|
var PREMIUM_BRANCH2 = "main";
|
|
35610
|
-
var CONFIG_FOLDER_CANDIDATES3 = ["ai-coding", "claude-code-config", "ai-config"];
|
|
35610
|
+
var CONFIG_FOLDER_CANDIDATES3 = ["agents-config", "ai-coding", "claude-code-config", "ai-config"];
|
|
35611
35611
|
function computeFileSha(content) {
|
|
35612
35612
|
const size = content.length;
|
|
35613
35613
|
const header = `blob ${size}\x00`;
|
|
@@ -35631,8 +35631,8 @@ async function resolveRemoteConfigFolder(githubToken) {
|
|
|
35631
35631
|
return candidate;
|
|
35632
35632
|
}
|
|
35633
35633
|
}
|
|
35634
|
-
resolvedConfigFolder = "
|
|
35635
|
-
return "
|
|
35634
|
+
resolvedConfigFolder = "agents-config";
|
|
35635
|
+
return "agents-config";
|
|
35636
35636
|
}
|
|
35637
35637
|
async function listRemoteDirectory(dirPath, githubToken) {
|
|
35638
35638
|
const configFolder = await resolveRemoteConfigFolder(githubToken);
|
|
@@ -36080,7 +36080,7 @@ async function proSyncCommand(options = {}) {
|
|
|
36080
36080
|
const githubToken = await getToken();
|
|
36081
36081
|
if (!githubToken) {
|
|
36082
36082
|
M2.error("No token found");
|
|
36083
|
-
M2.info("Run: npx aiblueprint-cli@latest
|
|
36083
|
+
M2.info("Run: npx aiblueprint-cli@latest agents pro activate <token>");
|
|
36084
36084
|
Se(source_default.red("❌ Not activated"));
|
|
36085
36085
|
process.exit(1);
|
|
36086
36086
|
}
|
|
@@ -36745,7 +36745,7 @@ async function executeScript(scriptName, claudeDir) {
|
|
|
36745
36745
|
const scriptsDir = path23.join(claudeDir, "scripts");
|
|
36746
36746
|
if (!await import_fs_extra18.default.pathExists(scriptsDir)) {
|
|
36747
36747
|
console.error(source_default.red(`Scripts directory not found at ${scriptsDir}`));
|
|
36748
|
-
console.log(source_default.gray("Run: aiblueprint
|
|
36748
|
+
console.log(source_default.gray("Run: aiblueprint agents setup"));
|
|
36749
36749
|
return 1;
|
|
36750
36750
|
}
|
|
36751
36751
|
const packageJsonPath = path23.join(scriptsDir, "package.json");
|
|
@@ -36811,7 +36811,7 @@ var __dirname3 = dirname3(fileURLToPath3(import.meta.url));
|
|
|
36811
36811
|
var packageJson = JSON.parse(readFileSync3(join2(__dirname3, "../package.json"), "utf8"));
|
|
36812
36812
|
var program2 = new Command;
|
|
36813
36813
|
program2.name("aiblueprint").description("AIBlueprint CLI for setting up AI coding configurations").version(packageJson.version);
|
|
36814
|
-
function
|
|
36814
|
+
function registerAgentsCommands(cmd) {
|
|
36815
36815
|
cmd.option("-f, --folder <path>", "Specify custom Claude Code folder path (default: ~/.claude) - alias for --claudeCodeFolder").option("--claudeCodeFolder <path>", "Specify custom Claude Code folder path (default: ~/.claude)").option("--codexFolder <path>", "Specify custom Codex folder path (default: ~/.codex)").option("--openCodeFolder <path>", "Specify custom OpenCode folder path (default: ~/.config/opencode)").option("--factoryAiFolder <path>", "Specify custom FactoryAI folder path (default: ~/.factory)").option("--agentsFolder <path>", "Specify custom agents folder path (default: ~/.agents)").option("-s, --skip", "Skip interactive prompts and install all features");
|
|
36816
36816
|
cmd.command("setup").description("Setup AI coding configuration with AIBlueprint defaults").action((options, command) => {
|
|
36817
36817
|
const parentOptions = command.parent.opts();
|
|
@@ -36871,42 +36871,12 @@ function registerAiCodingCommands(cmd) {
|
|
|
36871
36871
|
});
|
|
36872
36872
|
});
|
|
36873
36873
|
}
|
|
36874
|
-
var
|
|
36875
|
-
|
|
36876
|
-
var
|
|
36877
|
-
|
|
36878
|
-
var
|
|
36879
|
-
|
|
36880
|
-
agentsProCmd.command("activate [token]").description("Activate AIBlueprint CLI Premium with your access token").action((token) => {
|
|
36881
|
-
proActivateCommand(token);
|
|
36882
|
-
});
|
|
36883
|
-
agentsProCmd.command("status").description("Check your Premium token status").action(() => {
|
|
36884
|
-
proStatusCommand();
|
|
36885
|
-
});
|
|
36886
|
-
agentsProCmd.command("setup").description("Install premium configurations into ~/.agents and symlink into ~/.claude").action((options, command) => {
|
|
36887
|
-
const parentOptions = command.parent.parent.opts();
|
|
36888
|
-
const claudeCodeFolder = parentOptions.claudeCodeFolder || parentOptions.folder;
|
|
36889
|
-
proSetupCommand({
|
|
36890
|
-
folder: claudeCodeFolder,
|
|
36891
|
-
agentsFolder: parentOptions.agentsFolder
|
|
36892
|
-
});
|
|
36893
|
-
});
|
|
36894
|
-
agentsProCmd.command("update").description("Update premium configurations").action((options, command) => {
|
|
36895
|
-
const parentOptions = command.parent.parent.opts();
|
|
36896
|
-
const claudeCodeFolder = parentOptions.claudeCodeFolder || parentOptions.folder;
|
|
36897
|
-
proUpdateCommand({
|
|
36898
|
-
folder: claudeCodeFolder,
|
|
36899
|
-
agentsFolder: parentOptions.agentsFolder
|
|
36900
|
-
});
|
|
36901
|
-
});
|
|
36902
|
-
agentsProCmd.command("sync").description("Sync premium configurations with selective update").action((options, command) => {
|
|
36903
|
-
const parentOptions = command.parent.parent.opts();
|
|
36904
|
-
const claudeCodeFolder = parentOptions.claudeCodeFolder || parentOptions.folder;
|
|
36905
|
-
proSyncCommand({
|
|
36906
|
-
folder: claudeCodeFolder,
|
|
36907
|
-
agentsFolder: parentOptions.agentsFolder
|
|
36908
|
-
});
|
|
36909
|
-
});
|
|
36874
|
+
var agentsCmd = program2.command("agents").description("AI coding configuration commands");
|
|
36875
|
+
registerAgentsCommands(agentsCmd);
|
|
36876
|
+
var aiCodingCmd = program2.command("ai-coding").description("Legacy alias for agents configuration commands");
|
|
36877
|
+
registerAgentsCommands(aiCodingCmd);
|
|
36878
|
+
var claudeCodeCmd = program2.command("claude-code").description("Legacy alias for agents configuration commands");
|
|
36879
|
+
registerAgentsCommands(claudeCodeCmd);
|
|
36910
36880
|
var openclawCmd = program2.command("openclaw").description("OpenClaw configuration commands").option("-f, --folder <path>", "Specify custom OpenClaw folder path (default: ~/.openclaw)");
|
|
36911
36881
|
var openclawProCmd = openclawCmd.command("pro").description("Manage OpenClaw Pro features");
|
|
36912
36882
|
openclawProCmd.command("activate [token]").description("Activate OpenClaw Pro with your access token").action((token) => {
|
|
@@ -36927,6 +36897,7 @@ openclawProCmd.command("update").description("Update OpenClaw Pro configurations
|
|
|
36927
36897
|
});
|
|
36928
36898
|
try {
|
|
36929
36899
|
const claudeDir = join2(homedir2(), ".claude");
|
|
36900
|
+
await registerDynamicScriptCommands(agentsCmd, claudeDir);
|
|
36930
36901
|
await registerDynamicScriptCommands(aiCodingCmd, claudeDir);
|
|
36931
36902
|
await registerDynamicScriptCommands(claudeCodeCmd, claudeDir);
|
|
36932
36903
|
} catch (error) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aiblueprint-cli",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.52",
|
|
4
4
|
"description": "AIBlueprint CLI for setting up AI coding configurations",
|
|
5
5
|
"author": "AIBlueprint",
|
|
6
6
|
"license": "MIT",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"scripts": {
|
|
16
16
|
"build": "bun build src/cli.ts --outdir dist --target node && chmod +x dist/cli.js",
|
|
17
17
|
"dev": "bun src/cli.ts",
|
|
18
|
-
"dev-test": "trash ./test-claude-config && bun src/cli.ts
|
|
18
|
+
"dev-test": "trash ./test-claude-config && bun src/cli.ts agents -f ./test-claude-config --skip setup",
|
|
19
19
|
"test": "vitest",
|
|
20
20
|
"test:ui": "vitest --ui",
|
|
21
21
|
"test:watch": "vitest --watch",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
},
|
|
48
48
|
"files": [
|
|
49
49
|
"dist",
|
|
50
|
-
"
|
|
50
|
+
"agents-config"
|
|
51
51
|
],
|
|
52
52
|
"keywords": [
|
|
53
53
|
"claude",
|
|
54
|
-
"
|
|
54
|
+
"agents",
|
|
55
55
|
"claude-code",
|
|
56
56
|
"aiblueprint",
|
|
57
57
|
"developer-tools"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{ai-coding → agents-config}/skills/claude-memory/references/comprehensive-example.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{ai-coding → agents-config}/skills/claude-memory/references/prompting-techniques.md
RENAMED
|
File without changes
|
/package/{ai-coding → agents-config}/skills/claude-memory/references/rules-directory-guide.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{ai-coding → agents-config}/skills/prompt-creator/references/anthropic-best-practices.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{ai-coding → agents-config}/skills/prompt-creator/references/openai-best-practices.md
RENAMED
|
File without changes
|
|
File without changes
|
/package/{ai-coding → agents-config}/skills/prompt-creator/references/reasoning-techniques.md
RENAMED
|
File without changes
|
/package/{ai-coding → agents-config}/skills/prompt-creator/references/system-prompt-patterns.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{ai-coding → agents-config}/skills/skill-creator/references/prompting-integration.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{ai-coding → agents-config}/skills/subagent-creator/references/context-management.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{ai-coding → agents-config}/skills/subagent-creator/references/evaluation-and-testing.md
RENAMED
|
File without changes
|
/package/{ai-coding → agents-config}/skills/subagent-creator/references/orchestration-patterns.md
RENAMED
|
File without changes
|
|
File without changes
|
/package/{ai-coding → agents-config}/skills/subagent-creator/references/writing-subagent-prompts.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{ai-coding → agents-config}/skills/workflow-apex-free/steps/step-00b-interactive.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|