Commit Graph
17223 Commits
Author SHA1 Message Date
Jaayden Halko 9f984f9c82 refactor(site/src/pages/AgentsPage/components): render project actions inside the chat input 2026-10-15 22:09:17 +00:00
Jaayden Halko 9afe083d7b fix(site/src/pages/AgentsPage/components): reset automatic use on each SKILL.md import 2026-10-15 22:09:17 +00:00
Jaayden Halko 31ec59799f feat(site/src/pages/AgentsPage): show project skill actions above project chat composers 2026-10-15 22:09:17 +00:00
Jaayden Halko a514af37ca feat(site/src/pages/AgentsPage): add action and automatic-use switches to project skills 2026-10-15 22:09:17 +00:00
Jaayden Halko 21d290386d Merge branch 'chat-project-skills/skill-chips-transcript' into chat-project-skills/settings-api 2026-10-15 20:59:21 +00:00
Jaayden Halko cd94c67368 test(coderd/x/chatd): drop a mock fetch case the turn tests already cover 2026-10-15 20:58:43 +00:00
Jaayden Halko f10b07a435 feat: add skill action and automatic-use settings
Skills gain two independent settings. action marks a project skill as a
one-click action above project composers; a check constraint keeps it on
project skills, and personal and organization routes reject the field.
model_invocable controls whether agents see and load a skill on their
own: skills with it off are left out of <available-skills> and read_skill,
but structured skill invocations still load them.
2026-10-15 20:55:33 +00:00
Jaayden Halko 830a9acd31 feat: render skill invocations in the transcript and edit flow 2026-10-15 20:46:57 +00:00
Jaayden Halko 16d5d85ebd feat(site/src): insert skills as chips in the composer 2026-10-15 20:44:48 +00:00
Jaayden Halko c2d7bc972a Merge branch 'chat-project-skills/project-skills-details' into chat-project-skills/invocation-api 2026-10-15 19:20:41 +00:00
Jaayden Halko 76bfc9d122 Merge branch 'chat-project-skills/project-skills-dialog' into chat-project-skills/project-skills-details 2026-10-15 19:20:10 +00:00
Jaayden Halko 6c0775846c fix(site/src/pages/AgentsPage/components/ProjectPage): keep New disabled while project skills load 2026-10-15 19:20:04 +00:00
Jaayden Halko 0cdc313b46 Merge branch 'chat-project-skills/project-skills-details' into chat-project-skills/invocation-api 2026-10-15 18:25:54 +00:00
Jaayden Halko bd2a6d9e48 fix(site/src/pages/AgentsPage/components/ProjectPage): wait for the skill permission check before opening 2026-10-15 18:23:08 +00:00
Jaayden Halko fb91fda739 test(site/src/pages/AgentsPage/components/ProjectPage): cover cancelled skill refetches on save and the skill cap 2026-10-15 18:21:55 +00:00
Jaayden Halko 492e6340a0 Merge branch 'chat-project-skills/project-skills-dialog' into chat-project-skills/project-skills-details
# Conflicts:
#	site/src/api/queries/chatProjectSkills.ts
2026-10-15 18:20:05 +00:00
Jaayden Halko 316ad1e050 fix(site/src/pages/AgentsPage/components/ProjectPage): cancel stale skill refetches on save and respect the skill cap 2026-10-15 18:19:51 +00:00
Jaayden Halko a3a6cdbd2c docs: keep the shared skill name docs variant-neutral 2026-10-15 18:18:50 +00:00
Jaayden Halko 78f6a193a1 Merge branch 'chat-project-skills/skill-editor-form' into chat-project-skills/project-skills-dialog
# Conflicts:
#	site/src/pages/AgentsPage/components/SkillsTable.tsx
#	site/src/pages/AgentsPage/components/SkillsTableView.tsx
2026-10-15 18:17:29 +00:00
Jaayden Halko 553df7e1b5 refactor(site/src/pages/AgentsPage/components): drop comments that restate skill helpers 2026-10-15 18:17:17 +00:00
Jaayden Halko 732d052599 Merge branch 'chat-project-skills/project-skills-details' into chat-project-skills/invocation-api 2026-10-15 17:24:01 +00:00
Jaayden Halko 06834726e2 test(site/src/pages/AgentsPage/components/ProjectPage): cover skill detail eviction and download 404 refreshes 2026-10-15 17:21:04 +00:00
Jaayden Halko f0a09ce64f fix: bound skill invocations per message 2026-10-15 17:20:18 +00:00
Jaayden Halko 2890acfa7c fix(site/src/pages/AgentsPage/components/ProjectPage): surface skill permission check failures 2026-10-15 17:19:08 +00:00
Jaayden Halko f3a7564b9b Merge branch 'chat-project-skills/project-skills-dialog' into chat-project-skills/project-skills-details 2026-10-15 17:17:08 +00:00
Jaayden Halko 91be0f43a1 Merge branch 'chat-project-skills/skill-editor-form' into chat-project-skills/project-skills-dialog 2026-10-15 17:16:58 +00:00
Jaayden Halko ff7f8d8d52 fix(site/src/pages/AgentsPage/components/ProjectPage): drop stale skill details after deletes and refresh after download 404s 2026-10-15 17:16:57 +00:00
Jaayden Halko 85fcc3733c refactor(site/src/pages/AgentsPage/components): drop a JSDoc that restates the readOnly prop 2026-10-15 17:15:14 +00:00
Jaayden Halko 358cb8612b Merge branch 'chat-project-skills/project-skills-details' into chat-project-skills/invocation-api 2026-10-15 16:46:07 +00:00
Jaayden Halko f4123101f3 test(site/src/pages/AgentsPage/components/ProjectPage): cover dialog downloads, toggles, refetches and deleted skills 2026-10-15 16:44:29 +00:00
Jaayden Halko fc6f82d82f test(site/src/pages/AgentsPage/components/ProjectPage): move download and toggle tests to the Details row PR 2026-10-15 16:44:29 +00:00
Jaayden Halko ffc6165fd4 Merge branch 'chat-project-skills/project-skills-dialog' into chat-project-skills/project-skills-details 2026-10-15 16:44:29 +00:00
Jaayden Halko 43b64fc7b3 fix(site/src/pages/AgentsPage/components/ProjectPage): keep skill edits through refetches and handle deleted skills 2026-10-15 16:42:59 +00:00
Jaayden Halko 43457225a6 test(coderd): cover skill invocation rejection on message edit 2026-10-15 16:38:59 +00:00
Jaayden Halko dd7a120600 Merge branch 'chat-project-skills/skill-editor-form' into chat-project-skills/project-skills-dialog 2026-10-15 16:11:42 +00:00
Jaayden Halko e1a44297eb fix(site/src/pages/AgentsPage/components): keep the edited skill name focusable and cover submit settlement 2026-10-15 16:11:34 +00:00
Jaayden Halko f8c6ca7ab5 feat: send skill invocations as structured message parts
Add a skill-invocation chat input and message part. chatd loads the
invoked skill body with the chat owner's permissions when a message is
created, sent, or edited, stores it on the part, and renders it into
the user's prompt inside <invoked-skill>. Unavailable skills reject the
request with a 400. The stored body is internal and never returned by
the API.
2026-10-15 16:05:25 +00:00
Jaayden Halko d8b9163ff0 feat: manage project skills from the project page
Add a Skills row to the project Details panel that opens
ProjectSkillsDialog, with stories for the dialog and the panel, and
document where project skills are managed.
2026-10-15 15:33:41 +00:00
Jaayden Halko 3a6e22bd81 feat(site): add the project skills dialog
Add API methods and query factories to read, create, update, and delete
chat project skills, a projectSkillsScope for the shared skill helpers,
and ProjectSkillsDialog, which lists a project's skills and edits them
with SkillEditorForm.
2026-10-15 15:32:04 +00:00
Jaayden Halko a14b4950d4 refactor(site/src/pages/AgentsPage): extract SkillEditorForm and shared skill helpers
Split the form body of SkillEditor into SkillEditorForm, settle saves
through a mutate callback so the editor stays locked until the request
finishes, move the read-only enabled indicator into SkillEnabledSwitch,
and share the empty and loaded form value helpers in utils/skills.ts.
2026-10-15 15:29:10 +00:00
Jaayden Halko 7b6c3e359f test(site/src/pages/AgentsPage/components): restore Range geometry stub after each test 2026-10-15 13:39:33 +00:00
Jaayden Halko 549a030c0a fix(site/src/pages/AgentsPage): keep inherited project skills pending in the composer 2026-10-15 12:36:40 +00:00
Jaayden Halko 26deda51c4 fix(site/src/pages/AgentsPage): use the root chat's project for subagent chat skills 2026-10-15 11:58:56 +00:00
Jaayden Halko 2a72a92635 test(site/src/pages/AgentsPage/components): assert the project skills request instead of menu markup 2026-10-15 11:56:50 +00:00
Jaayden Halko 681b37465f test: cover project skill loader and gating gaps
Cover the project-only skill tool check in the integration test, the
project skill body loader's not-found mapping, and the chat-projects
experiment gate in the composer.
2026-10-15 11:25:21 +00:00
Jaayden Halko 5533023731 refactor(site/src/pages/AgentsPage/components): clarify skill source naming in the composer 2026-10-15 10:20:29 +00:00
Jaayden Halko 23a5168f78 refactor(site/src/pages/AgentsPage): name stored skill source flags and resolve emptiness in the hook 2026-10-15 10:20:29 +00:00
Jaayden Halko a3a2f5d350 refactor(site/src/pages/AgentsPage/components/ChatMessageInput): simplify skill group offsets 2026-10-15 10:20:28 +00:00
Jaayden Halko 009432c5d7 refactor(site/src/pages/AgentsPage): share stored skill source loading in the slash menu
Organization and project skills load through one hook, and the menu
renders its skill groups from one ordered list. Adds project loading and
error stories.
2026-10-15 10:20:28 +00:00
Jaayden Halko 27c808d8cb feat(site): list project skills in the chat slash menu
The "/" menu offers the skills of the chat's project, next to personal,
organization and workspace skills, and /clear and /compact defer to a
project skill with the same name. Documents project skills.
2026-10-15 10:20:28 +00:00