- Add intelligent-router.sh hook for automatic agent routing - Add AUTO-TRIGGER-SUMMARY.md documentation - Add FINAL-INTEGRATION-SUMMARY.md documentation - Complete Prometheus integration (6 commands + 4 tools) - Complete Dexto integration (12 commands + 5 tools) - Enhanced Ralph with access to all agents - Fix /clawd command (removed disable-model-invocation) - Update hooks.json to v5 with intelligent routing - 291 total skills now available - All 21 commands with automatic routing 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
28 lines
678 B
Markdown
28 lines
678 B
Markdown
# @dexto/analytics
|
|
|
|
Shared analytics utilities for Dexto CLI and WebUI.
|
|
|
|
## What's included
|
|
|
|
- **constants.ts**: PostHog configuration (keys, host, analytics disabled check)
|
|
- **state.ts**: Analytics state management (distinct ID persistence)
|
|
|
|
## Usage
|
|
|
|
```typescript
|
|
import { loadState, isAnalyticsDisabled, DEFAULT_POSTHOG_KEY } from '@dexto/analytics';
|
|
|
|
// Check if analytics is disabled
|
|
if (isAnalyticsDisabled()) {
|
|
// Skip analytics
|
|
}
|
|
|
|
// Load analytics state (distinct ID)
|
|
const state = await loadState();
|
|
console.log(state.distinctId);
|
|
```
|
|
|
|
## Note
|
|
|
|
This is an internal package used by `@dexto/cli` and `@dexto/webui`. It is marked as private and not published to npm.
|