Commit Graph

5148 Commits

Author SHA1 Message Date
dileepyavan 77a5f2e4a8 Disable Responses API reasoning summaries (#323639)
* Add Responses API cache control markers

* Refactoring code

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Gate Responses API cache breakpoints by model support

* Disable Responses API reasoning summaries

* reverting cache commits

* Remove Responses API cache breakpoint handling

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-06-30 00:30:58 +00:00
dependabot[bot] e0f1be7098 build(deps): bump protobufjs, @opentelemetry/exporter-logs-otlp-grpc, @opentelemetry/exporter-logs-otlp-http, @opentelemetry/exporter-logs-otlp-proto, @opentelemetry/exporter-metrics-otlp-grpc, @opentelemetry/exporter-metrics-otlp-http, @opentelemetry/exporter-metrics-otlp-proto, @opentelemetry/exporter-trace-otlp-grpc, @opentelemetry/exporter-trace-otlp-http and @opentelemetry/exporter-trace-otlp-proto in /extensions/copilot (#323447)
build(deps): bump protobufjs, @opentelemetry/exporter-logs-otlp-grpc, @opentelemetry/exporter-logs-otlp-http, @opentelemetry/exporter-logs-otlp-proto, @opentelemetry/exporter-metrics-otlp-grpc, @opentelemetry/exporter-metrics-otlp-http, @opentelemetry/exporter-metrics-otlp-proto, @opentelemetry/exporter-trace-otlp-grpc, @opentelemetry/exporter-trace-otlp-http and @opentelemetry/exporter-trace-otlp-proto

Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) to 7.6.4 and updates ancestor dependencies [protobufjs](https://github.com/protobufjs/protobuf.js), [@opentelemetry/exporter-logs-otlp-grpc](https://github.com/open-telemetry/opentelemetry-js), [@opentelemetry/exporter-logs-otlp-http](https://github.com/open-telemetry/opentelemetry-js), [@opentelemetry/exporter-logs-otlp-proto](https://github.com/open-telemetry/opentelemetry-js), [@opentelemetry/exporter-metrics-otlp-grpc](https://github.com/open-telemetry/opentelemetry-js), [@opentelemetry/exporter-metrics-otlp-http](https://github.com/open-telemetry/opentelemetry-js), [@opentelemetry/exporter-metrics-otlp-proto](https://github.com/open-telemetry/opentelemetry-js), [@opentelemetry/exporter-trace-otlp-grpc](https://github.com/open-telemetry/opentelemetry-js), [@opentelemetry/exporter-trace-otlp-http](https://github.com/open-telemetry/opentelemetry-js) and [@opentelemetry/exporter-trace-otlp-proto](https://github.com/open-telemetry/opentelemetry-js). These dependencies need to be updated together.


Updates `protobufjs` from 7.5.8 to 7.6.4
- [Release notes](https://github.com/protobufjs/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/protobufjs-v7.6.4/CHANGELOG.md)
- [Commits](https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.5.8...protobufjs-v7.6.4)

Updates `@opentelemetry/exporter-logs-otlp-grpc` from 0.214.0 to 0.219.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/experimental/v0.214.0...experimental/v0.219.0)

Updates `@opentelemetry/exporter-logs-otlp-http` from 0.214.0 to 0.219.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/experimental/v0.214.0...experimental/v0.219.0)

Updates `@opentelemetry/exporter-logs-otlp-proto` from 0.214.0 to 0.219.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/experimental/v0.214.0...experimental/v0.219.0)

Updates `@opentelemetry/exporter-metrics-otlp-grpc` from 0.214.0 to 0.219.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/experimental/v0.214.0...experimental/v0.219.0)

Updates `@opentelemetry/exporter-metrics-otlp-http` from 0.214.0 to 0.219.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/experimental/v0.214.0...experimental/v0.219.0)

Updates `@opentelemetry/exporter-metrics-otlp-proto` from 0.214.0 to 0.219.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/experimental/v0.214.0...experimental/v0.219.0)

Updates `@opentelemetry/exporter-trace-otlp-grpc` from 0.214.0 to 0.219.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/experimental/v0.214.0...experimental/v0.219.0)

Updates `@opentelemetry/exporter-trace-otlp-http` from 0.214.0 to 0.219.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/experimental/v0.214.0...experimental/v0.219.0)

Updates `@opentelemetry/exporter-trace-otlp-proto` from 0.214.0 to 0.219.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/experimental/v0.214.0...experimental/v0.219.0)

---
updated-dependencies:
- dependency-name: "@opentelemetry/exporter-logs-otlp-grpc"
  dependency-version: 0.219.0
  dependency-type: direct:production
- dependency-name: "@opentelemetry/exporter-logs-otlp-http"
  dependency-version: 0.219.0
  dependency-type: direct:production
- dependency-name: "@opentelemetry/exporter-logs-otlp-proto"
  dependency-version: 0.219.0
  dependency-type: direct:production
- dependency-name: "@opentelemetry/exporter-metrics-otlp-grpc"
  dependency-version: 0.219.0
  dependency-type: direct:production
- dependency-name: "@opentelemetry/exporter-metrics-otlp-http"
  dependency-version: 0.219.0
  dependency-type: direct:production
- dependency-name: "@opentelemetry/exporter-metrics-otlp-proto"
  dependency-version: 0.219.0
  dependency-type: direct:production
- dependency-name: "@opentelemetry/exporter-trace-otlp-grpc"
  dependency-version: 0.219.0
  dependency-type: direct:production
- dependency-name: "@opentelemetry/exporter-trace-otlp-http"
  dependency-version: 0.219.0
  dependency-type: direct:production
- dependency-name: "@opentelemetry/exporter-trace-otlp-proto"
  dependency-version: 0.219.0
  dependency-type: direct:production
- dependency-name: protobufjs
  dependency-version: 7.6.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-29 14:03:04 -07:00
Bhavya U 700f92779f Disable semantic_search on BYOK/custom endpoints (#323605)
chat: disable semantic_search on BYOK/custom endpoints

The semantic_search (codebase) tool relies on embeddings that require a
Copilot token source. On BYOK / custom (non-CAPI) endpoints those embeddings
are unavailable, and when the GitHub authentication provider is disabled the
embeddings lookup times out waiting for the provider and aborts the entire
chat turn instead of degrading gracefully.

Gate semantic_search off for non-CAPI endpoints alongside the specialized
subagents so it is never offered (even if manually enabled via the tool
picker) when it cannot work. Add tests covering the CAPI and BYOK cases.

Fixes #322525

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-29 20:25:30 +00:00
dependabot[bot] 56573d6930 build(deps): bump markdown-it from 14.1.1 to 14.2.0 in /extensions/copilot (#321789)
build(deps): bump markdown-it in /extensions/copilot

Bumps [markdown-it](https://github.com/markdown-it/markdown-it) from 14.1.1 to 14.2.0.
- [Changelog](https://github.com/markdown-it/markdown-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/markdown-it/markdown-it/compare/14.1.1...14.2.0)

---
updated-dependencies:
- dependency-name: markdown-it
  dependency-version: 14.2.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-29 11:45:31 -07:00
Christof Marti 3cc09c02ef Record proxy type (#323585) 2026-06-29 18:45:15 +00:00
dependabot[bot] 1ae64cf31d build(deps): bump js-yaml and @secretlint/formatter in /extensions/copilot (#323529)
build(deps): bump js-yaml and @secretlint/formatter

Bumps [js-yaml](https://github.com/nodeca/js-yaml) to 4.3.0 and updates ancestor dependency [@secretlint/formatter](https://github.com/secretlint/secretlint). These dependencies need to be updated together.


Updates `js-yaml` from 4.1.1 to 4.3.0
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/4.1.1...4.3.0)

Updates `@secretlint/formatter` from 10.1.1 to 10.2.2
- [Release notes](https://github.com/secretlint/secretlint/releases)
- [Commits](https://github.com/secretlint/secretlint/compare/v10.1.1...v10.2.2)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 4.3.0
  dependency-type: direct:development
- dependency-name: "@secretlint/formatter"
  dependency-version: 10.2.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-29 11:43:49 -07:00
Vritant Bhardwaj 398cd5b425 Merge pull request #323532 from microsoft/agents/investigate-unit-test-failure-root-cause
BYOK: support custom endpoint model options
2026-06-29 10:41:38 -07:00
Martin Aeschlimann ac174e660b customization UI: polish source folder pickers (#323527)
* customization UI: polish source folder pickers

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* update

* update

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-06-29 17:28:25 +00:00
vritant24 e3f25e9524 chat: test custom endpoint model options
- Prevents regressions where model-configured sampling values are lost before endpoint request construction.
- Verifies omission and precedence behavior because providers may reject generated defaults even when they accept explicit request values.
- Covers Chat Completions, Responses, and Messages so every supported custom endpoint API remains compatible.

(Commit message generated by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-29 10:27:42 -07:00
vritant24 4034ee46ad chat: support custom endpoint model options
- Allows custom endpoint models to replace Copilot sampling defaults so providers with fixed parameter requirements can accept requests.
- Supports explicit parameter omission, which lets model servers apply required defaults instead of receiving incompatible generated values.
- Preserves explicit per-request options and applies the same behavior across Chat Completions, Responses, and Messages APIs.

Fixes #321514

(Commit message generated by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-29 10:27:38 -07:00
Giuseppe Cianci 2deeac48d6 Merge pull request #323169 from microsoft/kimi-prompt
Add Kimi Prompt
2026-06-29 16:20:22 +02:00
Robo 4b6f5e55bb chore: bump electron@42.5.0 (#321629)
* chore: bump electron@42.4.0

* chore: apply temp dir workaround for short paths

* chore: use 24.15.x for CI node

* chore: update nodejs build

* chore: bump electron@42.5.0

* fix: unblock playwright install on node 24.17

Node 24.16+ made Readable pause()/resume() a no-op on destroyed streams
which makes yauzl 2.x / extract-zip 2.x and older playwright extraction
hang forever.

- extensions/copilot: add "yauzl": "^3.3.1" override (was missed by #318682)
  so electron and @vscode/vsce no longer resolve the broken yauzl 2.10, fixing the
  hung `npm ci` in the Copilot and Extract chat-lib pipelines.
- extensions/copilot: bump electron ^39.8.5 -> ^42.5.0 so its install
  script uses the native @electron-internal/extract-zip instead of extract-zip.
- bump @playwright/test ^1.56.1 -> ^1.61.1 so `playwright install`
  uses the fixed extractor, unblocking the "Download Electron and
  Playwright" step in all electron test pipelines.

* chore: update build

* agentHost: fix macOS sandbox smoke sentinel parsing

On macOS CI, the AgentHost sandbox smoke test resolves the shell to
/bin/sh, which uses the sentinel-based completion path. In that path, the
parser could consume the echoed sentinel command text
(`<<<COPILOT_SENTINEL_..._EXIT_$?>>>`) before the real numeric marker
arrived, causing a false `Exit code: -1` failure even though the command
later completed successfully.

Harden the sentinel parser to ignore echoed/non-numeric sentinel text
and use the latest complete numeric marker instead. Also force the
macOS AgentHost sandbox smoke test to use /bin/sh and assert that in the
suite log so local runs exercise the same path as CI.

Adds a regression test for echoed sentinel command text.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* chore: update screenshot baseline after playwright bump

* chore: bump distro

* chore: fix typecheck

* chore: bump distro

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-29 13:53:48 +00:00
vs-code-engineering[bot] 6387b615a0 Bump version to 1.128.0 (#323406)
* Bump version to 1.128.0

* signing commit

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Giuseppe Cianci <gcianci@microsoft.com>
2026-06-29 09:45:37 +00:00
Vijay Upadya e13c4c953d Update gemini3 prompt and tool call flags (#323364)
* Update gemini3 flags

* update package json default values
2026-06-28 21:07:45 +00:00
Ulugbek Abdullaev 4fc2b3348b NES: cache cross-file suggestions under the active document (#323150)
* NES: cache cross-file suggestions under the active document

When the model returns a Next Edit Suggestion for a document other than
the one being edited (cross-file NES), it was only cached under the target
document, so it could not be re-served until the user navigated there.
Also cache an `activeDoc (content + edit window) -> edit-in-target`
association so the suggestion can be re-served from cache while the cursor
is still in the active document.

A cross-file entry is served only while its target document is open and
byte-identical to the snapshot the edit's offsets index into; otherwise the
read path treats it as a cache miss and refetches, rather than serving a
misplaced edit or getting stuck re-serving a dead entry until the active
document changes. At stream end the active document is no longer cached as
"no edit" when a cross-file entry was just stored under the same key, which
would otherwise clobber it.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Dispose provider and documents in runCrossFileScenario

Tear down the NextEditProvider (which registers autoruns/watchers on
openDocuments) and both documents at the end of each cross-file scenario
run so the tests are self-contained and do not accumulate observers.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-27 17:02:55 +05:00
Zhichao Li e5ec5abcc6 fix: register otel protocol/serviceName/resourceAttributes/headers config keys to match package.json 2026-06-26 21:38:28 -07:00
Zhichao Li 7b0180b3c3 docs: update OTel user + agent-host docs for managed-settings precedence and new settings 2026-06-26 21:38:27 -07:00
Zhichao Li e9a25536d6 refactor: address PR review — policy precedence docs, grpc transport inference, prototype-pollution hardening 2026-06-26 21:38:26 -07:00
Zhichao Li 649467ab6d fix: align agentOTelEnv test config with widened otlpProtocol type 2026-06-26 21:38:25 -07:00
Zhichao Li 597760e9ba Merge remote-tracking branch 'origin/main' into zhichli/otelpolicy2 2026-06-26 21:38:24 -07:00
Zhichao Li 65bcc23a6d docs: remove internal OTel managed-settings planning notes 2026-06-26 16:58:47 -07:00
Zhichao Li 6410d9e8f5 docs: record serviceName/resourceAttributes/headers delivery in sprint 2026-06-26 16:04:32 -07:00
Zhichao Li bb524011b6 feat: deliver managed OTel headers to the Copilot Chat extension 2026-06-26 16:02:53 -07:00
Zhichao Li fce8c4fea1 feat: deliver managed OTel resourceAttributes to both surfaces 2026-06-26 15:54:59 -07:00
Zhichao Li ee15deed1c feat: deliver managed OTel serviceName to both surfaces 2026-06-26 15:44:01 -07:00
Zhichao Li 0fdb82fd27 docs: revise OTel managed-settings sprint plan for headers/resourceAttributes/serviceName
Records the runtime spike: the headless agent host resolves OTel from env only and
doesn't self-fetch managed telemetry, but build_resource reads OTEL_SERVICE_NAME /
OTEL_RESOURCE_ATTRIBUTES env. Revised plan delivers serviceName + resourceAttributes
to both surfaces (env for the host, programmatic for the extension) and headers to the
extension only; agent-host headers stay deferred (env would leak the token to tool
subprocesses).
2026-06-26 15:27:46 -07:00
Zhichao Li 4be6140abd docs: update OTel managed-settings plan/sprint for protocol parity 2026-06-26 13:39:17 -07:00
Zhichao Li bdbe1f0760 feat: honor managed OTLP protobuf wire protocol in copilot-chat extension 2026-06-26 13:38:08 -07:00
Paul 6d7542b870 Support subagent costs for local agent (#323175) 2026-06-26 20:18:27 +00:00
Osvaldo Ortega cbb3fec2b4 Show only cloud coding agent tasks in cloud sessions list (v2) (#323195)
* Show only cloud coding agent tasks in cloud sessions list (v2)

Two fixes to the Task API (v2) cloud sessions list, where local VS Code /
CLI / JetBrains sessions mirrored into Mission Control were leaking in and
settled tasks were stuck showing "In Progress".

- Filter the list to cloud coding agent tasks only. The owning surface is
  identified by the agent integration slug on a task's `agent_collaborators`
  (`copilot-developer` / `copilot-swe-agent` = cloud; `copilot-developer-cli`,
  `vscode-chat`, `jetbrains-chat` = local clients). Adds the exported pure
  helper `isCloudCodingAgentTask` and applies it in `fetchSessionList`.
  `agent_collaborators` is returned to first-party CAPI tokens but not yet
  modeled in `@vscode/copilot-api`, so a minimal local type is used.

- Carry the raw `AgentTaskState` across the backend seam and map it directly
  to `ChatSessionStatus` in the provider, so `idle` renders as Completed and
  `waiting_for_user` as NeedsInput instead of collapsing to InProgress.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Address review: guard malformed slugs and add status fallback

- isCloudCodingAgentTask: use a `typeof c.slug === 'string'` guard so null /
  non-string slugs in the untyped server payload can't reach `Set.has`.
- taskStateToChatSessionStatus: add a `default` branch returning InProgress so
  an unknown/forward-compat task state can't yield an invalid `undefined`
  status. Added tests for both.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-26 19:40:05 +00:00
Zhichao Li d0ba9fcdc4 docs: add OTel managed-settings sprint plan with completion notes 2026-06-26 11:43:03 -07:00
Zhichao Li 42a2f6b5b5 test: cover enterprise OTel policy precedence in resolveOTelConfig 2026-06-26 11:41:53 -07:00
Zhichao Li 74333cf4da feat: apply enterprise OTel policy precedence in copilot-chat extension 2026-06-26 11:39:43 -07:00
Vritant Bhardwaj 3c30cc5b03 Merge pull request #323176 from microsoft/agents/deprecate-ollama-byok-provider-b5806582
Deprecate internal Ollama BYOK provider in favor of the Offical Ollama extension
2026-06-26 11:31:09 -07:00
vs-code-engineering[bot] fc9a595992 fix: drop diagnostics with missing range at the language diagnostics boundary (fixes #323148) (#323153)
* fix: drop diagnostics with missing range at the language diagnostics boundary

Other extensions can publish vscode.Diagnostic entries whose `range` is
undefined (violating the non-nullable `range: Range` type via an `any` cast).
These reach copilot verbatim through `vscode.languages.getDiagnostics()` and
crash the many consumers that dereference `diagnostic.range` - notably the
`LintErrors.getData` telemetry path that scans every extension's diagnostics
via `getAllDiagnostics()`. Sanitize at the boundary service so every consumer
is protected once, and log dropped entries so the producer stays diagnosable.

Fixes microsoft/vscode#323148

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix: Copilot - Test lint — use strict equality for range null/undefined check

The eqeqeq ESLint rule (configured as 'warn', enforced with --max-warnings=0)
flagged `range != null` in _dropMalformedDiagnostics. Replace the loose
equality with an explicit strict check that preserves the original semantics
of dropping diagnostics whose range is either null or undefined.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: vs-code-engineering[bot] <122617954+vs-code-engineering[bot]@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-26 18:28:43 +00:00
Zhichao Li b2ca1ff9d5 docs: note policyReference type-match constraint and structured-encode location 2026-06-26 11:23:01 -07:00
Zhichao Li 1ae83f24a5 docs: add enterprise OTel managed-settings policy plan
High-level plan for VS Code enterprise control of Copilot agent-host OTel export via the cross-client telemetry managed-settings schema (matches CLI ManagedTelemetrySettings, copilot-agent-runtime #10735). Covers schema, ownership, precedence, security, delivery channels, suppressions, and touch points.
2026-06-26 11:07:36 -07:00
Vritant Bhardwaj 8482f9336c Merge branch 'main' into agents/deprecate-ollama-byok-provider-b5806582 2026-06-26 10:39:43 -07:00
Giuseppe Cianci 4ef42413b3 address ccr 2026-06-26 19:19:26 +02:00
Giuseppe Cianci e6ba4aaee8 use the right edit tool 2026-06-26 19:05:02 +02:00
Giuseppe Cianci a616d423c7 add kimi prompt 2026-06-26 18:46:53 +02:00
Ulugbek Abdullaev a97573159d Add Adhoc Request Sender Mode with Tag Highlighting (#323100)
* Agent Host changes for agents/adhoc-request-sender-mode-extension-55e2bb6f

* Remove unconfigured react-hooks/exhaustive-deps eslint directive

The eslint-disable directive referenced a rule that isn't registered in
this repo's ESLint config, which caused ESLint to error with
"Definition for rule 'react-hooks/exhaustive-deps' was not found" and
failed the Compile & Hygiene and Copilot - Test CI checks.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Coalesce adhoc tag-decoration rescans with requestAnimationFrame

Rescanning the whole editor text on every content change is wasteful for
bursty updates (e.g. a streamed response). Debounce the decoration update
to at most once per animation frame and cancel any pending frame during
cleanup so the callback can't run after the editor is disposed. The
initial scan stays synchronous so tags are highlighted immediately on mount.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Address PR feedback: dispose token source; validate adhoc request JSON

- adhocRequestSender: always dispose the per-send CancellationTokenSource
  in the finally block (separate from the current-send guard) so its
  cancellation listeners don't leak across repeated Send/Stop cycles.
- simulationMain: validate and normalize the adhoc request JSON before use
  so malformed input (missing/null/wrong-typed model/user/system) yields a
  focused error message instead of a thrown stack trace.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-26 20:36:56 +05:00
Christof Marti c0cc253a97 Sandbox only applies with default approvals (#317981) 2026-06-26 13:49:43 +00:00
Logan Ramos 6ae1b8eb97 If long context = default context. Show a single long context option in picker (#323116) 2026-06-26 12:44:45 +00:00
Christof Marti a91385696d Allow sandbox bypass in Copilot SDK (#317981) 2026-06-26 12:06:47 +02:00
Dmitriy Vasyura dd7a4b90b1 Show session types as disabled with Sign in button when user is offline (#321861) 2026-06-26 01:17:19 +02:00
Anthony Kim 8a9cd3dd36 Bump Copilot CLI package to 1.0.65 (#322747)
* Bump Copilot CLI package to stable 1.0.64

* Try to bump to 1.0.65 instead

* Remove stale Copilot sdk/worker materialization for 1.0.65

* Update Debian amd64 deps after excluding Copilot native executable

* Remove stale RPM x64 libstdc++ deps after Copilot CLI 1.0.65 packaging

* Prune Copilot SEA executable before CI packaging

* Exclude Copilot SEA executable from packaging stream

* SDK should be 1.0.4
2026-06-25 12:03:54 -07:00
Logan Ramos 0acd78faaf Hide long context for models which have the same cost regardless (#322950) 2026-06-25 14:22:00 +00:00
Ladislau Szomoru 1c80314e3b Engineering - update code owners (#322944) 2026-06-25 15:39:36 +02:00
Paul 4972ac9c09 Fix context size default + reload behaviour, add defensive fallbacks (#322882) 2026-06-25 01:34:40 -07:00