claude-prism 0.2.0 → 0.2.1

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/bin/cli.mjs +10 -0
  2. package/package.json +1 -1
package/bin/cli.mjs CHANGED
@@ -146,6 +146,15 @@ switch (command) {
146
146
  }
147
147
 
148
148
  case 'update': {
149
+ if (hasFlag('global')) {
150
+ console.log('🌈 claude-prism update --global\n');
151
+ initGlobal();
152
+ console.log('āœ… Global commands updated');
153
+ console.log('āœ… OMC skill updated');
154
+ console.log('\n🌈 Global prism updated to latest.');
155
+ break;
156
+ }
157
+
149
158
  console.log('🌈 claude-prism update\n');
150
159
  await update(cwd);
151
160
  console.log('āœ… Rules updated');
@@ -166,6 +175,7 @@ Usage:
166
175
  prism stats Show installation summary
167
176
  prism reset Clear hook state (edit counters, etc.)
168
177
  prism update Re-install using current config
178
+ prism update --global Update global commands + OMC skill
169
179
  prism uninstall Remove prism from current project
170
180
  prism uninstall --global Remove global commands + OMC skill
171
181
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-prism",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "AI coding problem decomposition tool — Understand, Decompose, Execute, Checkpoint.",
5
5
  "type": "module",
6
6
  "bin": {