Skip to content

Commit 59ea107

Browse files
authored
refactor(agents): delete dead model-selection surface and consolidate compaction targets (#122474)
* refactor(agents): delete dead model-selection surface, consolidate compaction target assembly Removes production surface with zero live callers: buildConfiguredAllowlistKeys (orphaned since fallback allowlist filtering was split out), the retryTransientProviderRuntimeMiss resolveModelAsync option (its gateway startup prewarming caller was replaced by prepared runtime snapshots), the ignored useAsyncModelResolution plumbing (kept only as a deprecated no-op field on the plugin-SDK-shipped prepareSimpleCompletionModelForAgent), and dead facade re-exports (inferUniqueProviderFromCatalog, ThinkLevel, ModelRefStatus). Consolidates resolveEmbeddedCompactionTarget's five hand-built result sites into one assembleTarget helper owning the auth-profile-drop-on-provider-change rule; resolution precedence is unchanged and now pinned by new table-driven cases (unique-provider inference, ambiguous literal, profile-suffix preservation). Net -93 production LOC, -106 test LOC. * chore(sdk): regenerate plugin SDK API baseline after facade export removals
1 parent 8190c32 commit 59ea107

28 files changed

Lines changed: 99 additions & 298 deletions

‎docs/.generated/plugin-sdk-api-baseline/agent-harness-runtime.json‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎docs/.generated/plugin-sdk-api-baseline/agent-harness.json‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎docs/.generated/plugin-sdk-api-baseline/channel-core.json‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎docs/.generated/plugin-sdk-api-baseline/channel-entry-contract.json‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎docs/.generated/plugin-sdk-api-baseline/channel-message.json‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎docs/.generated/plugin-sdk-api-baseline/channel-outbound.json‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎docs/.generated/plugin-sdk-api-baseline/channel-plugin-common.json‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎docs/.generated/plugin-sdk-api-baseline/core.json‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎docs/.generated/plugin-sdk-api-baseline/discord.json‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎docs/.generated/plugin-sdk-api-baseline/inbound-reply-dispatch.json‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)