Skip to content

Commit 1d0a155

Browse files
docs: promote Commands and UI Elicitation to top-level sections in .NET README
Matches Go and Python README structure where these are ## (h2) sections rather than ### (h3) subsections. Closes documentation gap flagged by SDK Consistency Review Agent.
1 parent 8543adb commit 1d0a155

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dotnet/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ var safeLookup = AIFunctionFactory.Create(
488488
});
489489
```
490490

491-
### Commands
491+
## Commands
492492

493493
Register slash commands so that users of the CLI's TUI can invoke custom actions via `/commandName`. Each command has a `Name`, optional `Description`, and a `Handler` called when the user executes it.
494494

@@ -517,7 +517,7 @@ When the user types `/deploy staging` in the CLI, the SDK receives a `command.ex
517517

518518
Commands are sent to the CLI on both `CreateSessionAsync` and `ResumeSessionAsync`, so you can update the command set when resuming.
519519

520-
### UI Elicitation
520+
## UI Elicitation
521521

522522
When the session has elicitation support — either from the CLI's TUI or from another client that registered an `OnElicitationRequest` handler (see [Elicitation Requests](#elicitation-requests)) — the SDK can request interactive form dialogs from the user. The `session.Ui` object provides convenience methods built on a single generic elicitation RPC.
523523

0 commit comments

Comments
 (0)