feat: add structured prompt invocation backend

- parse prompt tools metadata and carry structured promptInvocation payloads
- store prompt invocation metadata on trigger messages for replay-safe reruns
- route prompt agents through per-turn plan or Copilot agent overrides
- restrict prompt-scoped tools in sidecar session configuration
- auto-rescan project customization files with debounced watchers
- document the new customization watcher and prompt invocation flow

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
David Kaya
2026-04-02 11:41:18 +02:00
co-authored by Copilot
parent aa7830f01a
commit 5d69d9d855
21 changed files with 900 additions and 47 deletions
+4
View File
@@ -99,6 +99,9 @@ Focus on repository documentation only.
name: explain-selected-code
agent: agent
description: Generate a clear explanation
tools:
- view
- glob
---
Explain the following code:
\${input:code:Paste your code here}
@@ -177,6 +180,7 @@ Audience: \${input:audience:Who is this for?}
name: 'explain-selected-code',
description: 'Generate a clear explanation',
agent: 'agent',
tools: ['view', 'glob'],
template: 'Explain the following code:\n${input:code:Paste your code here}\nAudience: ${input:audience:Who is this for?}',
variables: [
{ name: 'code', placeholder: 'Paste your code here' },