* Fixes for external ingest
- Make sure we use relative paths
- Add command to clear
- Avoid requests if the index is already up to date
* Small cleanup
* Initial plan
* Add GraphQL-based partner agent detection with caching
- Add GraphQL queries for fetching assignable actors (suggestedActors and assignableUsers APIs)
- Add getAssignableActors method to IOctoKitService interface
- Implement dynamic partner agent detection in CopilotCloudSessionsProvider
- Add caching mechanism to avoid repeated API calls
- Update known Copilot agent logins based on spec
- Fall back to hardcoded list when API is unavailable
Co-authored-by: joshspicer <23246594+joshspicer@users.noreply.github.com>
* Fix MockOctoKitService to include getAssignableActors method
Co-authored-by: joshspicer <23246594+joshspicer@users.noreply.github.com>
* Use HARDCODED_PARTNER_AGENTS `at` values for partner agents
- Create COPILOT_AGENT_METADATA mapping for known Copilot agent logins
- Look up `at` values from HARDCODED_PARTNER_AGENTS when available
- Preserve the `at` field structure from the hardcoded list
Co-authored-by: joshspicer <23246594+joshspicer@users.noreply.github.com>
* Remove COPILOT_AGENT_METADATA and use HARDCODED_PARTNER_AGENTS directly
- Delete COPILOT_AGENT_METADATA mapping
- Simplify getAvailablePartnerAgents to check HARDCODED_PARTNER_AGENTS directly
- Check if agent ID or name matches assignable actors
- Preserve all fields from HARDCODED_PARTNER_AGENTS including `at` values
Co-authored-by: joshspicer <23246594+joshspicer@users.noreply.github.com>
* polish
* Update src/extension/chatSessions/vscode-node/copilotCloudSessionsProvider.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix auth
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* First Cut of Validating token endpoint payload
To help us get to the bottom of https://github.com/microsoft/vscode/issues/283560
* Include required properties fallback
* fix chat lib tests
* Fix other tests
* feat: first pass at adding context editing support for Anthropic Messages API
* feat: implement context editing configuration for Anthropic Messages API
* update context editing configuration for Anthropic Messages API to use team internal settings
* fix: update context editing configuration to use team internal settings
* fix: add missing newline at end of package.json
* fix: disable context editing for Anthropic Messages API
* fix: remove unnecessary context editing settings for Anthropic Messages API
* Update src/platform/networking/common/anthropic.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update src/platform/configuration/common/configurationService.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* ghost: refactor: reference command name instead of inlining it
* ghost: refactor: use `handleEndOfLifetime` to send 'accepted' telemetry
* ghost: refactor: set copilotCompletion as a property on the object instead of accessing it from command arguments
* ghost: fix a type
* ghost: fix origins for exceptions
* ghost: type annotate items
* ghost: nicer name for a fn
* nes: long: respect old setting if coming from exp
* nes: rename public setting for cursor jump and fixes
make it bool-valued, and respect old exp config and backward-compat value
* nes: support patch-based model response format
* nes: support <NO_EDIT> response and update post-script in user message
* fix off by one
model uses 0-based line numbers, so we should convert to 1-based for LineRange
* make a method private