Skip to content

DNP - Feature Branch ACF support#627

Draft
heyitsaamir wants to merge 4 commits into
mainfrom
agent365-feature
Draft

DNP - Feature Branch ACF support#627
heyitsaamir wants to merge 4 commits into
mainfrom
agent365-feature

Conversation

@heyitsaamir

@heyitsaamir heyitsaamir commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

Feature branch for Agent 365 / ACF support.

This is the base PR in the stack — do not merge independently.

Copilot AI review requested due to automatic review settings June 26, 2026 04:23
@heyitsaamir

Copy link
Copy Markdown
Collaborator Author

@heyitsaamir heyitsaamir changed the title Add agent-365 feature branch placeholder DNP - Feature Branch ACF support Jun 26, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a placeholder README for the new examples/agent-365 area, establishing a minimal entry point describing the intended scenario support.

Changes:

  • Added examples/agent-365/README.md with a short description for the Agent 365 example area.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread examples/agent-365/README.md Outdated
@@ -0,0 +1 @@
# Agent 365 Feature\n\nACF support for Agent 365 scenarios.
Comment thread examples/agent-365/README.md Outdated
@@ -0,0 +1 @@
# Agent 365 Feature\n\nACF support for Agent 365 scenarios.
@heyitsaamir heyitsaamir marked this pull request as draft June 26, 2026 04:53
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@heyitsaamir heyitsaamir force-pushed the agent365-feature branch 2 times, most recently from 8605047 to fa31741 Compare July 7, 2026 18:49
Adds `RequestOptions` to all API methods that support agentic identity
and/or service URL override:

- `RequestOptions<K>` type — `Pick<{ agenticIdentity?, serviceUrl? },
K>`
- `agenticIdentityExtension(options)` — converts options to HTTP config
extensions
- `resolveServiceUrl(defaultUrl, options)` — per-call service URL
override
- Updated API methods: `activities` (create, update, createTargeted,
updateTargeted, delete, getMembers), `members`, `meetings`, `reactions`,
`teams`
- Targeted methods accept `RequestOptions<'serviceUrl'>` only (no
agenticIdentity)

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Comment thread packages/api/src/clients/request-options.ts Fixed
heyitsaamir and others added 2 commits July 7, 2026 13:27
Wires agentic identity into the app-layer send/reply helpers (mirrors
Python PR #480):

- `app.send(conversationId, activity, options?)` accepts
`RequestOptions`
- `app.reply()` supports options via `isRequestOptions` type guard
- `app.getAgenticIdentity(appId, userId, opts?)` factory method
- `ActivitySender` refactored to accept pre-built `Client`; merges
`agenticIdentity` and `serviceUrl` into all API calls
- Per-turn `ActivitySender` in `$process` with identity from
`activity.recipient`
- `IActivitySender` interface extended with `readonly agenticIdentity?`
- `ActivityContext.send()` simplified — delegates to sender directly
- `examples/agent365/` — reactive echo + proactive send sample

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Resolve conflicts from main's class refactor (PR #633):
- Add flattened methods to ConversationClient (createActivity, updateActivity, getMemberById)
- Add flattened methods to UserClient (getToken, exchangeToken, etc.)
- Keep our agentic auth additions (AuthProvider, RequestOptions, cloud)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants