From 84e9707779630653029dc7356e8db655ec4a25b8 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 1 Feb 2026 17:07:31 +0000 Subject: [PATCH 1/2] Initial plan From bb79cdc91ef20980610239b566ff436764ed11bc Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 1 Feb 2026 17:09:04 +0000 Subject: [PATCH 2/2] Correct auth session acquisition documentation in providers.md Co-authored-by: blindzero <13959569+blindzero@users.noreply.github.com> --- docs/reference/providers.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/providers.md b/docs/reference/providers.md index 48429742..5a92b2c3 100644 --- a/docs/reference/providers.md +++ b/docs/reference/providers.md @@ -20,7 +20,7 @@ sidebar_label: Providers ## Choosing a provider - Match the **capabilities required by your steps** to the provider’s `GetCapabilities()` output. -- Providers handle authentication/session acquisition via `Context.AcquireAuthSession(...)` (host-controlled). +- Steps acquire auth sessions via `Context.AcquireAuthSession(...)` and pass them to provider methods that accept an optional `AuthSession` parameter (host-controlled). - In workflows, steps select a provider by **alias** (defaults to `Identity` if omitted). Related: @@ -36,5 +36,5 @@ Related: - Minimal checklist: - Implement provider contracts (only what you need) - Advertise deterministic capabilities (`GetCapabilities()`) - - Acquire sessions via host context (no prompts inside providers) + - Accept optional `AuthSession` parameter in methods that require authentication (sessions acquired by steps via host context; no prompts inside providers) - Add unit tests + contract tests (no live calls in CI)