Commit 890b1a7
docs: add steering and queueing guide (#714)
* docs: add steering and queueing guide
Add a comprehensive guide covering the two message delivery modes
available through the SDK:
- Steering (immediate mode): inject messages into the current agent
turn for real-time course correction
- Queueing (enqueue mode): buffer messages for sequential processing
after the current turn completes
Includes code examples for all four SDK languages (Node.js, Python,
Go, .NET), a sequence diagram, API reference, UI building patterns,
and best practices.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix: correct Python permission handler in steering guide
Fix all 3 Python snippets to use the correct signature:
- 2-arg lambda (req, inv) matching PermissionHandlerFn typedef
- Return PermissionRequestResult dataclass instead of plain dict
- Add 'from copilot.types import PermissionRequestResult' import
The previous pattern (lambda req: {"kind": "approved"}) would fail
at runtime: TypeError from wrong arg count, and AttributeError from
dict lacking .kind attribute access.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix: correct Python permission handler in skills and custom-agents guides
Same fix as the steering guide — use correct 2-arg signature and
PermissionRequestResult dataclass return type.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 396e8b3 commit 890b1a7
File tree
3 files changed
+510
-2
lines changed- docs/guides
3 files changed
+510
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| |||
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
90 | | - | |
| 91 | + | |
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
57 | | - | |
| 58 | + | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| |||
0 commit comments