@axiomatic-labs/claudeflow 2.49.21 → 2.49.22

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.
Files changed (2) hide show
  1. package/lib/install.js +4 -4
  2. package/package.json +1 -1
package/lib/install.js CHANGED
@@ -27,7 +27,7 @@ const PER_PROJECT_CONFIGS = ['brand.json', 'risk-signals.json', 'test-context.js
27
27
  // Paths appended to the project's .gitignore (add-if-absent). These hold TEST credentials / Playwright
28
28
  // storage state — they must NEVER be committed. test-context.json is per-project runtime state; .auth/
29
29
  // holds storageState files the orchestrator seeds for auth-gated functional verification.
30
- const GITIGNORE_LINES = ['.claudeflow/test-context.json', '.claudeflow/.auth/', '.claudeflow/telemetry/', '.claudeflow/certification/', '.claudeflow/tools/'];
30
+ const GITIGNORE_LINES = ['__pycache__/', '*.pyc', '.claudeflow/test-context.json', '.claudeflow/.auth/', '.claudeflow/telemetry/', '.claudeflow/certification/', '.claudeflow/tools/'];
31
31
  const SHARED_CONFIGS = ['playbook-map.json', 'agent-map.json']; // always refreshed (shared system)
32
32
  const CODEX_DOCS = ['claudeflow-codex-migration.md', 'codexflow-codex-native-workflow.md', 'codexflow-local-actions.md'];
33
33
 
@@ -536,8 +536,8 @@ function mergeMcp(cwd, baseServers) {
536
536
  return added;
537
537
  }
538
538
 
539
- // Append the claudeflow runtime-state paths to the project's .gitignore, ADD-IF-ABSENT. These hold TEST
540
- // credentials / Playwright storage state and must never be committed. Create the file if missing; else
539
+ // Append the claudeflow runtime/cache paths to the project's .gitignore, ADD-IF-ABSENT. These hold TEST
540
+ // credentials / Playwright storage state and Python hook bytecode; they must never be committed. Create the file if missing; else
541
541
  // append only the lines NOT already present as an EXACT line (a `Set.has()` on the trimmed existing lines —
542
542
  // not a gitignore-semantics evaluation: a broader rule like `.claudeflow/` that would already cover these is
543
543
  // NOT detected, so the exact line is still appended. That is harmless — a redundant, more-specific ignore —
@@ -550,7 +550,7 @@ function mergeGitignore(cwd, lines) {
550
550
  const present = new Set(cur.split('\n').map(l => l.trim()).filter(Boolean));
551
551
  const toAdd = lines.filter(l => !present.has(l));
552
552
  if (!toAdd.length) return 0;
553
- const header = '\n# claudeflow test-contextTEST credentials / auth storage state, NEVER commit\n';
553
+ const header = '\n# claudeflow runtime/cachenever commit\n';
554
554
  const body = (cur && !cur.endsWith('\n') ? '\n' : '') + (cur ? header : header.trimStart()) + toAdd.join('\n') + '\n';
555
555
  fs.writeFileSync(gp, cur + body);
556
556
  return toAdd.length;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axiomatic-labs/claudeflow",
3
- "version": "2.49.21",
3
+ "version": "2.49.22",
4
4
  "description": "Claudeflow — AI-powered development toolkit for Claude Code and Codex. Skills, agents, hooks, and quality gates that ship production apps.",
5
5
  "bin": {
6
6
  "claudeflow": "./bin/cli.js"