-
Notifications
You must be signed in to change notification settings - Fork 86
Triggers #1468
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Triggers #1468
Conversation
🦋 Changeset detectedLatest commit: fd6c74e The changes in this PR will be included in the next version bump. This PR includes changesets to release 10 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Claude finished @amikofalvy's task —— View job Staff Engineer Review: Triggers Feature ImplementationI've completed a comprehensive review of this substantial triggers feature implementation. This adds webhook-based agent invocation capabilities with authentication, payload transformation, and audit logging. Below are my key findings and recommendations. 🎯 Feature OverviewThe implementation successfully delivers a webhook trigger system allowing external services to invoke agents. The feature includes input validation, payload transformation, multiple authentication methods, and comprehensive audit logging. The PRD indicates ~70% completion with core infrastructure complete but missing agent invocation integration.
|
- Added triggers table with fields: id, tenantId, projectId, agentId, name, description, enabled, inputSchema, outputTransform, messageTemplate, authentication, signingSecret, timestamps - Added trigger_invocations table with fields: id, tenantId, projectId, agentId, triggerId, conversationId, status, requestPayload, transformedPayload, errorMessage, createdAt - Added foreign key constraints with cascade delete - Updated prd.json with real user stories from ralph/prd.json Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
- Marked US-001 and US-002 as complete in prd.json - Added iteration 4 details to progress.txt with implementation summary Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
- Added TriggerAuthenticationSchema with discriminated union for api_key, basic_auth, bearer_token, none - Added TriggerOutputTransformSchema with jmespath and objectTransformation fields - Added TriggerInvocationStatusEnum with pending, success, failed values - Added TriggerSelectSchema, TriggerInsertSchema, TriggerUpdateSchema - Added TriggerApiSelectSchema, TriggerApiInsertSchema, TriggerApiUpdateSchema - Added TriggerInvocationSelectSchema, TriggerInvocationInsertSchema, TriggerInvocationUpdateSchema - Added TriggerInvocationApiSelectSchema, TriggerInvocationApiInsertSchema, TriggerInvocationApiUpdateSchema - All schemas follow existing pattern with agent-scoped API schemas - Typecheck passes Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
- Created triggers.ts with CRUD operations: getTriggerById, listTriggers, listTriggersPaginated, createTrigger, updateTrigger, deleteTrigger - Created triggerInvocations.ts with operations: getTriggerInvocationById, listTriggerInvocationsPaginated (with status and date filtering), createTriggerInvocation, updateTriggerInvocationStatus - All functions follow agent-scoped pattern with curried database client - Exported from data-access/index.ts - Added TriggerSelect, TriggerInsert, TriggerUpdate types to entities.ts - Added TriggerInvocationSelect, TriggerInvocationInsert, TriggerInvocationUpdate types to entities.ts - Typecheck passes Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
- 6/26 user stories completed (23%) - Core database and data access foundation complete - Ready for webhook endpoint implementation Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
Implements authentication verification, signing secret verification, and message template interpolation for trigger webhooks. Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
|
🔎💬 Inkeep AI search and chat service is syncing content for source 'Inkeep Agent Framework Docs' |
No description provided.