- 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>
39 lines
1.2 KiB
TypeScript
39 lines
1.2 KiB
TypeScript
// WebUI analytics event definitions for PostHog.
|
|
// These events track user activation, retention, and feature usage.
|
|
//
|
|
// All events use unified names (dexto_*) with a `source` property to
|
|
// distinguish CLI vs WebUI. This enables simpler PostHog dashboards.
|
|
|
|
import type { SharedAnalyticsEventMap, FileAttachedEvent } from '@dexto/analytics';
|
|
|
|
/**
|
|
* Base context automatically included with every WebUI event.
|
|
* Populated by the AnalyticsProvider.
|
|
*/
|
|
export interface BaseEventContext {
|
|
app?: 'dexto-webui';
|
|
app_version?: string;
|
|
browser?: string;
|
|
browser_version?: string;
|
|
os?: string;
|
|
screen_width?: number;
|
|
screen_height?: number;
|
|
session_id?: string;
|
|
}
|
|
|
|
/**
|
|
* WebUI analytics event map extending shared events with WebUI-specific events.
|
|
*
|
|
* IMPORTANT: If an event is also tracked by CLI, move it to SharedAnalyticsEventMap
|
|
* in @dexto/analytics to avoid duplication.
|
|
*/
|
|
export interface WebUIAnalyticsEventMap extends SharedAnalyticsEventMap {
|
|
// WebUI-specific events (not supported by CLI)
|
|
dexto_file_attached: FileAttachedEvent;
|
|
}
|
|
|
|
export type WebUIAnalyticsEventName = keyof WebUIAnalyticsEventMap;
|
|
|
|
export type WebUIAnalyticsEventPayload<Name extends WebUIAnalyticsEventName> =
|
|
WebUIAnalyticsEventMap[Name];
|