-
Notifications
You must be signed in to change notification settings - Fork 50
new tool for apps dynamic documentation #183
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
base: master
Are you sure you want to change the base?
new tool for apps dynamic documentation #183
Conversation
- Switch from BaseMondayAppsTool to BaseMondayApiTool for consistency - Extract GraphQL query to separate file (get-app-development-context.graphql.ts) - Simplify response handling by using mondayApi.request directly - Update query to use ask_developer_docs endpoint
- Remove appDevelopmentAssistantTools from allMondayAppsTools (incompatible base class) - Add GetAppDevelopmentContextTool to allGraphqlApiTools (extends BaseMondayApiTool) - Remove unused APP_DEVELOPMENT_ASSISTANT enum value
| return `Search monday.com apps documentation using AI-powered semantic search. | ||
| This tool provides accurate, contextual answers about: | ||
| - Building app features (board views, item views, dashboard widgets, custom columns) | ||
| - OAuth scopes and permissions (boards:read, boards:write, users:read, etc.) | ||
| - monday.com SDK reference and usage examples | ||
| - monday-code deployment instructions (including 'mapps code:push') | ||
| - Connecting deployments to app features (mapps app-features:build) | ||
| - monday-code deployment and integration | ||
| - Vibe Design System components and styling | ||
| - Best practices for performance, security, and error handling | ||
| - Troubleshooting common issues | ||
| - CLI commands reference | ||
| - Workflow blocks, custom triggers, and automation actions | ||
| - Custom objects and data schemas | ||
| - Best practices, troubleshooting, and common patterns | ||
| Use this tool when you need to: | ||
| - Help users build or modify monday.com apps | ||
| - Determine which OAuth scopes an app needs based on its functionality | ||
| - Guide users through deploying to monday-code | ||
| - Connect deployed code to app features | ||
| - Provide SDK usage examples and patterns | ||
| - Build UIs with Vibe components | ||
| - Create workflow automations with custom triggers/actions | ||
| - Implement custom objects and relationships | ||
| - Troubleshoot app development issues | ||
| The context includes code examples for: | ||
| - Board views, item views, dashboard widgets | ||
| - Custom columns and integrations | ||
| - Vibe components (Button, TextField, Dropdown, Modal, Toast, etc.) | ||
| - Workflow blocks with input/output field definitions | ||
| - Custom objects with schemas and CRUD operations | ||
| - API calls, storage, and webhooks | ||
| - OAuth scope configuration via manifest | ||
| - Deployment and connecting features to deployments`; | ||
| Use this when you need specific information from the official monday.com apps documentation. | ||
| Provide a clear question or topic in the query parameter for best results.`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didn't we shorten it too much?
| .optional() | ||
| .describe( | ||
| 'Optional specific topic to focus on within the context (e.g., "board views", "custom columns", "integrations", "OAuth", "storage API")', | ||
| 'The question or topic to search in the monday.com apps documentation. Be specific for better results. Examples: "How do I create a board view?", "What OAuth scopes do I need for reading boards?", "How to deploy to monday-code?", "Vibe Button component usage"', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we really know how to answer
Vibe Button component usage?
| } | ||
|
|
||
| export class GetAppDevelopmentContextTool extends BaseMondayAppsTool< | ||
| export class GetAppDevelopmentContextTool extends BaseMondayApiTool< |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doesnt this change means you won't get this tool when using mode --apps???
| CreateWidgetTool, | ||
| BoardInsightsTool, | ||
| SearchTool, | ||
| // App Development Assistant (uses BaseMondayApiTool) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove comment...
| BoardInsightsTool, | ||
| SearchTool, | ||
| // App Development Assistant (uses BaseMondayApiTool) | ||
| GetAppDevelopmentContextTool, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But this is not good that it's here :(
f276950 to
a51fccb
Compare
- Add MONDAY_API_GRAPHQL endpoint (api.monday.com/v2) for platform queries - Update executeGraphQLQuery to use the correct endpoint - Fix 404 error when calling ask_developer_docs
Using new query for getting apps documentation for ai assisted tool