feat(launcher): create menu pages - #5411
Conversation
… menu, and creation flow Skills are markdown documents (new document sub type 'skill', mirroring the task/snippet subtypes) containing instructions that AI reads and follows when a skill is referenced in an AI input. Backend: - Add 'skill' to document_sub_type enum + macrodb migration, and thread it through every subtype match site (models, soup, graphql, notifications, properties entity-type mapping, search indexing). - New POST /documents/create_skill endpoint mirroring create_snippet. - New skills crate (hexagonal): SkillService domain service, SkillSearcher port, search-service outbound adapter (access-aware name search filtered to the skill sub type), and a SearchSkills AI tool wired into ai_tools (subagent + MCP toolsets) via SkillToolContext. Frontend: - '/' in AI markdown areas opens a skills typeahead (skillsPlugin + SkillsMenu, reusing the mentions menu components); selecting a skill inserts an m-document-mention node with blockName 'skill'. - Skill creation via the create menu with hotkey C+L (Launcher block, create.skill hotkey tokens, createSkill util + storage client method). - 'skill' block alias, entity types/guards, quick-access bucket fed by a live soup query, entity icons, and SearchSkills tool renderer. Generated: openapi/orval schemas, zod, graphql SDL + typegen, DCS tool schemas, SDK (createSkill wrapper), sqlx query cache, dep closures.
… view - New ListSkills tool in the skills crate, backed by a soup-service lister adapter (access-aware, dst=skill, most recently updated first) - SkillServiceImpl now composes a searcher and a lister; tool contexts wire the soup service in - doc-skill filter (Type dropdown in the documents view) and skill exclusion from the plain-markdown filter - Skills tab in the agents view with preset, empty state, and a New skill create option
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
bro |
|
I think this will need to be a specific component. having the searchable input means that hitting C->D does not even work. It sort of does but it does not close this menu which blows chunks. I think C should still open something the is a specific Launcher (not just command menu) and that thing should be a list not a grid. The hot keys should still work. Maybe there is an opt in input for searching If we need it. It should also have the swaggy animated block icons. |
7e7dd91 to
bad1b2f
Compare
069a749 to
54c2ed0
Compare
26fb0fc to
bace444
Compare
No description provided.