feat: Add intelligent auto-router and enhanced integrations
- 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>
This commit is contained in:
72
dexto/packages/core/src/approval/index.ts
Normal file
72
dexto/packages/core/src/approval/index.ts
Normal file
@@ -0,0 +1,72 @@
|
||||
// ============================================================================
|
||||
// USER APPROVAL SYSTEM - Public API
|
||||
// ============================================================================
|
||||
|
||||
// Types
|
||||
export type {
|
||||
ApprovalHandler,
|
||||
ApprovalRequest,
|
||||
ApprovalResponse,
|
||||
ApprovalRequestDetails,
|
||||
ElicitationMetadata,
|
||||
ElicitationRequest,
|
||||
ElicitationResponse,
|
||||
ElicitationResponseData,
|
||||
CustomApprovalMetadata,
|
||||
CustomApprovalRequest,
|
||||
CustomApprovalResponse,
|
||||
CustomApprovalResponseData,
|
||||
BaseApprovalRequest,
|
||||
BaseApprovalResponse,
|
||||
} from './types.js';
|
||||
|
||||
// Internal types - not exported to avoid naming conflicts with tools module
|
||||
// ToolConfirmationMetadata, ToolConfirmationRequest, ToolConfirmationResponse, ToolConfirmationResponseData
|
||||
|
||||
export { ApprovalType, ApprovalStatus, DenialReason } from './types.js';
|
||||
|
||||
// Schemas
|
||||
export {
|
||||
ApprovalTypeSchema,
|
||||
ApprovalStatusSchema,
|
||||
DenialReasonSchema,
|
||||
ToolConfirmationMetadataSchema,
|
||||
ElicitationMetadataSchema,
|
||||
CustomApprovalMetadataSchema,
|
||||
BaseApprovalRequestSchema,
|
||||
ToolConfirmationRequestSchema,
|
||||
ElicitationRequestSchema,
|
||||
CustomApprovalRequestSchema,
|
||||
ApprovalRequestSchema,
|
||||
ToolConfirmationResponseDataSchema,
|
||||
ElicitationResponseDataSchema,
|
||||
CustomApprovalResponseDataSchema,
|
||||
BaseApprovalResponseSchema,
|
||||
ToolConfirmationResponseSchema,
|
||||
ElicitationResponseSchema,
|
||||
CustomApprovalResponseSchema,
|
||||
ApprovalResponseSchema,
|
||||
ApprovalRequestDetailsSchema,
|
||||
} from './schemas.js';
|
||||
|
||||
export type {
|
||||
ValidatedApprovalRequest,
|
||||
ValidatedApprovalResponse,
|
||||
ValidatedToolConfirmationRequest,
|
||||
ValidatedElicitationRequest,
|
||||
ValidatedCustomApprovalRequest,
|
||||
} from './schemas.js';
|
||||
|
||||
// Error codes and errors
|
||||
export { ApprovalErrorCode } from './error-codes.js';
|
||||
export { ApprovalError } from './errors.js';
|
||||
export type {
|
||||
ApprovalValidationContext,
|
||||
ApprovalTimeoutContext,
|
||||
ApprovalCancellationContext,
|
||||
ElicitationValidationContext,
|
||||
} from './errors.js';
|
||||
|
||||
// Manager
|
||||
export { ApprovalManager } from './manager.js';
|
||||
export type { ApprovalManagerConfig } from './manager.js';
|
||||
Reference in New Issue
Block a user