oh-my-claude-sisyphus 3.5.6 → 3.5.7
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 +58 -343
- package/commands/omc-setup.md +51 -0
- package/dist/__tests__/analytics/tokscale-adapter.test.d.ts +2 -0
- package/dist/__tests__/analytics/tokscale-adapter.test.d.ts.map +1 -0
- package/dist/__tests__/analytics/tokscale-adapter.test.js +79 -0
- package/dist/__tests__/analytics/tokscale-adapter.test.js.map +1 -0
- package/dist/analytics/cost-estimator.d.ts +14 -0
- package/dist/analytics/cost-estimator.d.ts.map +1 -1
- package/dist/analytics/cost-estimator.js +65 -0
- package/dist/analytics/cost-estimator.js.map +1 -1
- package/dist/analytics/index.d.ts +1 -0
- package/dist/analytics/index.d.ts.map +1 -1
- package/dist/analytics/index.js +4 -0
- package/dist/analytics/index.js.map +1 -1
- package/dist/analytics/query-engine.d.ts +3 -0
- package/dist/analytics/query-engine.d.ts.map +1 -1
- package/dist/analytics/query-engine.js +87 -0
- package/dist/analytics/query-engine.js.map +1 -1
- package/dist/analytics/token-tracker.d.ts +3 -0
- package/dist/analytics/token-tracker.d.ts.map +1 -1
- package/dist/analytics/token-tracker.js +89 -0
- package/dist/analytics/token-tracker.js.map +1 -1
- package/dist/analytics/tokscale-adapter.d.ts +71 -0
- package/dist/analytics/tokscale-adapter.d.ts.map +1 -0
- package/dist/analytics/tokscale-adapter.js +223 -0
- package/dist/analytics/tokscale-adapter.js.map +1 -0
- package/dist/analytics/types.d.ts +17 -0
- package/dist/analytics/types.d.ts.map +1 -1
- package/dist/analytics/types.js +5 -0
- package/dist/analytics/types.js.map +1 -1
- package/dist/cli/analytics.js +35 -0
- package/dist/cli/analytics.js.map +1 -1
- package/dist/cli/commands/agents.d.ts.map +1 -1
- package/dist/cli/commands/agents.js +4 -2
- package/dist/cli/commands/agents.js.map +1 -1
- package/dist/cli/commands/stats.d.ts.map +1 -1
- package/dist/cli/commands/stats.js +6 -1
- package/dist/cli/commands/stats.js.map +1 -1
- package/dist/cli/index.js +95 -35
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/utils/tokscale-launcher.d.ts +18 -0
- package/dist/cli/utils/tokscale-launcher.d.ts.map +1 -0
- package/dist/cli/utils/tokscale-launcher.js +64 -0
- package/dist/cli/utils/tokscale-launcher.js.map +1 -0
- package/dist/features/auto-update.js +5 -5
- package/dist/features/auto-update.js.map +1 -1
- package/dist/hud/types.d.ts +6 -2
- package/dist/hud/types.d.ts.map +1 -1
- package/dist/hud/types.js.map +1 -1
- package/dist/hud/usage-api.d.ts.map +1 -1
- package/dist/hud/usage-api.js +13 -1
- package/dist/hud/usage-api.js.map +1 -1
- package/docs/ARCHITECTURE.md +80 -397
- package/docs/FEATURES.md +396 -1981
- package/docs/MIGRATION.md +4 -4
- package/docs/REFERENCE.md +545 -0
- package/docs/SYNC-SYSTEM.md +6 -6
- package/package.json +2 -1
- package/scripts/sync-metadata.ts +2 -2
- package/skills/omc-setup/SKILL.md +51 -0
- package/docs/FULL-README.md +0 -1001
|
@@ -266,6 +266,45 @@ echo "Default execution mode set to: USER_CHOICE"
|
|
|
266
266
|
|
|
267
267
|
**Note**: This preference ONLY affects generic keywords ("fast", "parallel"). Explicit keywords ("ulw", "eco") always override this preference.
|
|
268
268
|
|
|
269
|
+
## Step 3.8: Install CLI Analytics Tools (Optional)
|
|
270
|
+
|
|
271
|
+
The OMC CLI provides standalone token analytics commands (`omc stats`, `omc agents`, `omc tui`).
|
|
272
|
+
|
|
273
|
+
Ask user: "Would you like to install the OMC CLI for standalone analytics? (Recommended for tracking token usage and costs)"
|
|
274
|
+
|
|
275
|
+
**Options:**
|
|
276
|
+
1. **Yes (Recommended)** - Install CLI tools globally for `omc stats`, `omc agents`, etc.
|
|
277
|
+
2. **No** - Skip CLI installation, use only plugin skills
|
|
278
|
+
|
|
279
|
+
### If User Chooses YES:
|
|
280
|
+
|
|
281
|
+
```bash
|
|
282
|
+
# Check for bun (preferred) or npm
|
|
283
|
+
if command -v bun &> /dev/null; then
|
|
284
|
+
echo "Installing OMC CLI via bun..."
|
|
285
|
+
bun install -g oh-my-claudecode
|
|
286
|
+
elif command -v npm &> /dev/null; then
|
|
287
|
+
echo "Installing OMC CLI via npm..."
|
|
288
|
+
npm install -g oh-my-claudecode
|
|
289
|
+
else
|
|
290
|
+
echo "ERROR: Neither bun nor npm found. Please install Node.js or Bun first."
|
|
291
|
+
exit 1
|
|
292
|
+
fi
|
|
293
|
+
|
|
294
|
+
# Verify installation
|
|
295
|
+
if command -v omc &> /dev/null; then
|
|
296
|
+
echo "✓ OMC CLI installed successfully!"
|
|
297
|
+
echo " Try: omc stats, omc agents, omc tui"
|
|
298
|
+
else
|
|
299
|
+
echo "⚠ CLI installed but 'omc' not in PATH."
|
|
300
|
+
echo " You may need to restart your terminal or add npm/bun global bin to PATH."
|
|
301
|
+
fi
|
|
302
|
+
```
|
|
303
|
+
|
|
304
|
+
### If User Chooses NO:
|
|
305
|
+
|
|
306
|
+
Skip this step. User can install later with `npm install -g oh-my-claudecode`.
|
|
307
|
+
|
|
269
308
|
## Step 4: Verify Plugin Installation
|
|
270
309
|
|
|
271
310
|
```bash
|
|
@@ -329,6 +368,12 @@ Run /oh-my-claudecode:mcp-setup to add tools like web search, GitHub, etc.
|
|
|
329
368
|
HUD STATUSLINE:
|
|
330
369
|
The status bar now shows OMC state. Restart Claude Code to see it.
|
|
331
370
|
|
|
371
|
+
CLI ANALYTICS (if installed):
|
|
372
|
+
- omc - Full dashboard (stats + agents + cost)
|
|
373
|
+
- omc stats - View token usage and costs
|
|
374
|
+
- omc agents - See agent breakdown by cost
|
|
375
|
+
- omc tui - Launch interactive TUI dashboard
|
|
376
|
+
|
|
332
377
|
That's it! Just use Claude Code normally.
|
|
333
378
|
```
|
|
334
379
|
|
|
@@ -359,6 +404,12 @@ MAGIC KEYWORDS (power-user shortcuts):
|
|
|
359
404
|
HUD STATUSLINE:
|
|
360
405
|
The status bar now shows OMC state. Restart Claude Code to see it.
|
|
361
406
|
|
|
407
|
+
CLI ANALYTICS (if installed):
|
|
408
|
+
- omc - Full dashboard (stats + agents + cost)
|
|
409
|
+
- omc stats - View token usage and costs
|
|
410
|
+
- omc agents - See agent breakdown by cost
|
|
411
|
+
- omc tui - Launch interactive TUI dashboard
|
|
412
|
+
|
|
362
413
|
Your workflow won't break - it just got easier!
|
|
363
414
|
```
|
|
364
415
|
|