prizmkit 1.0.126 → 1.0.127

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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "frameworkVersion": "1.0.126",
3
- "bundledAt": "2026-03-28T02:42:16.988Z",
4
- "bundledFrom": "78687d9"
2
+ "frameworkVersion": "1.0.127",
3
+ "bundledAt": "2026-03-28T02:54:00.694Z",
4
+ "bundledFrom": "23e9a2d"
5
5
  }
@@ -43,6 +43,10 @@ try:
43
43
  with open('.prizmkit/config.json') as f:
44
44
  d = json.load(f)
45
45
  v = d.get('ai_cli', '')
46
+ if not v:
47
+ p = d.get('platform', '')
48
+ if p == 'claude': v = 'claude'
49
+ elif p == 'codebuddy': v = 'cbc'
46
50
  if v: print(v)
47
51
  except: pass
48
52
  " 2>/dev/null || true)
@@ -50,20 +54,20 @@ except: pass
50
54
  _raw_cli="$_config_ai_cli"
51
55
  elif [[ -n "${CODEBUDDY_CLI:-}" ]]; then
52
56
  _raw_cli="$CODEBUDDY_CLI"
53
- elif command -v cbc &>/dev/null; then
54
- _raw_cli="cbc"
55
57
  elif command -v claude &>/dev/null; then
56
58
  _raw_cli="claude"
59
+ elif command -v cbc &>/dev/null; then
60
+ _raw_cli="cbc"
57
61
  else
58
62
  echo "ERROR: No AI CLI found. Install CodeBuddy (cbc) or Claude Code (claude)." >&2
59
63
  exit 1
60
64
  fi
61
65
  elif [[ -n "${CODEBUDDY_CLI:-}" ]]; then
62
66
  _raw_cli="$CODEBUDDY_CLI"
63
- elif command -v cbc &>/dev/null; then
64
- _raw_cli="cbc"
65
67
  elif command -v claude &>/dev/null; then
66
68
  _raw_cli="claude"
69
+ elif command -v cbc &>/dev/null; then
70
+ _raw_cli="cbc"
67
71
  else
68
72
  echo "ERROR: No AI CLI found. Install CodeBuddy (cbc) or Claude Code (claude)." >&2
69
73
  exit 1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prizmkit",
3
- "version": "1.0.126",
3
+ "version": "1.0.127",
4
4
  "description": "Create a new PrizmKit-powered project with clean initialization — no framework dev files, just what you need.",
5
5
  "type": "module",
6
6
  "bin": {