pi-mono/packages/coding-agent/src/core
David Brailovsky fddc968b96
fix(coding-agent): mark native providers with stored credentials as configured on registration (#10190)
registerNativeProvider() did not update the auth snapshot, so the provider
stayed unconfigured until an async refresh saved a snapshot that included it.
At startup that refresh can resolve before its result is saved, so initial
model selection saw the provider as unconfigured and fell back to another
provider or warned that no models are available.

Share registerProvider's provisional entry through markProvisionallyConfigured()
so native providers with a stored credential or a models.json apiKey are
configured immediately.

fixes #9962
2026-09-29 22:16:56 +02:00
..
compaction feat(coding-agent): report codemode classifier and nested tool usage in session cost 2026-09-29 16:21:39 +02:00
export-html feat(coding-agent): codemode and MCP 2026-09-29 09:12:50 +02:00
extensions refactor(coding-agent): resolve built-in extensions as builtin:<name> paths (#10159) 2026-09-29 10:51:01 +02:00
tools feat(coding-agent): return up to 1 MiB of bash output to codemode scripts 2026-09-29 18:06:50 +02:00
agent-session-runtime.ts fix(coding-agent): save new session file at the first user message 2026-09-25 16:27:51 +02:00
agent-session-services.ts feat(coding-agent): Virtual models (#10035) 2026-09-28 23:30:45 +02:00
agent-session.ts feat(coding-agent): report codemode classifier and nested tool usage in session cost 2026-09-29 16:21:39 +02:00
auth-guidance.ts chore(ts): use source import extensions 2026-05-20 00:04:03 +02:00
auth-storage.ts fix(coding-agent): preserve managed state file permissions 2026-08-22 01:19:25 +02:00
bash-executor.ts chore(ts): use source import extensions 2026-05-20 00:04:03 +02:00
bug-report-upload.ts feat(coding-agent): add bug reporting 2026-09-19 17:55:49 +02:00
bug-report.ts feat(ai,coding-agent): add alternative sign in for the openai provider 2026-09-29 17:16:15 +02:00
cache-stats.ts feat(coding-agent): add prompt cache warming (#9668) 2026-09-19 21:18:15 +02:00
cache-warmer.ts fix(coding-agent): skip late cache warming refreshes 2026-09-20 15:53:22 +02:00
crash-log.ts refactor(coding-agent): resolve built-in extensions as builtin:<name> paths (#10159) 2026-09-29 10:51:01 +02:00
defaults.ts fix(coding-agent): keep model and thinking level changes session scoped (#8356) 2026-08-19 16:48:29 +02:00
diagnostics.ts refactor(coding-agent): unify SkillWarning and ResourceDiagnostic 2026-01-24 00:45:01 +01:00
event-bus.ts Fix event bus async error handling, clear pending messages on session switch, improve SDK docs 2026-01-04 22:04:50 +01:00
exec.ts chore(ts): use source import extensions 2026-05-20 00:04:03 +02:00
experimental.ts feat(coding-agent): prefer strict sampling for built-in tools by default 2026-09-05 23:54:20 +02:00
footer-data-provider.ts docs(coding-agent): clarify custom footer usage APIs (#8482) 2026-08-23 23:34:08 +02:00
http-dispatcher.ts fix(coding-agent): tunnel proxied HTTP requests 2026-09-02 09:23:23 +02:00
index.ts fix(coding-agent): keep prompt and tool state across context handlers (#9846) 2026-09-21 17:14:22 +02:00
keybindings.ts fix(coding-agent,tui): paste Finder file paths instead of icons (#10136) 2026-09-28 20:59:29 +01:00
mcp-servers.ts feat(coding-agent): codemode and MCP 2026-09-29 09:12:50 +02:00
messages.ts Mid conversation system messages (#9548) 2026-09-16 15:54:07 +02:00
model-config.ts feat(ai,coding-agent): add image input limits (closes #9631) 2026-09-20 22:59:16 +02:00
model-registry.ts feat(coding-agent): codemode and MCP 2026-09-29 09:12:50 +02:00
model-resolver.ts feat(ai,coding-agent): add GPT-6.1 Sol and make it the Codex default 2026-09-29 19:43:27 +02:00
model-runtime.ts fix(coding-agent): mark native providers with stored credentials as configured on registration (#10190) 2026-09-29 22:16:56 +02:00
models-store.ts fix(coding-agent): normalize UTF-8 BOMs in text inputs 2026-08-19 14:11:02 +02:00
nested-tool-calls.ts feat(coding-agent): report codemode classifier and nested tool usage in session cost 2026-09-29 16:21:39 +02:00
output-guard.ts fix(coding-agent): retry RPC stdout backpressure 2026-05-24 22:59:35 +02:00
package-manager.ts refactor(coding-agent): resolve built-in extensions as builtin:<name> paths (#10159) 2026-09-29 10:51:01 +02:00
pi-manifest.ts fix(coding-agent): normalize UTF-8 BOMs in text inputs 2026-08-19 14:11:02 +02:00
project-trust.ts fix(coding-agent): use APP_NAME in user-facing messages (#8067) 2026-08-14 11:26:20 +02:00
prompt-templates.ts fix(coding-agent): report invalid prompt frontmatter (#9830) 2026-09-21 15:22:17 +02:00
provider-attribution.ts fix(coding-agent): remove Vercel AI Gateway attribution 2026-07-03 15:14:01 +02:00
provider-composer.ts feat(ai,coding-agent): unify image and classifier model infrastructure (#9948) 2026-09-23 17:41:19 +02:00
radius.ts feat(coding-agent): add bug reporting 2026-09-19 17:55:49 +02:00
remote-catalog-provider.ts feat(ai,coding-agent): unify image and classifier model infrastructure (#9948) 2026-09-23 17:41:19 +02:00
resolve-config-value.ts fix(coding-agent): run legacy WSL bash commands via stdin 2026-06-19 15:08:25 +02:00
resource-loader.ts fix(extensions): show warning when replaceable builtin replaced (#10174) 2026-09-29 16:37:51 +02:00
runtime-credentials.ts fix(coding-agent): make model refresh cancellation caller-owned 2026-08-04 00:03:52 +02:00
sdk.ts feat(coding-agent): support +name/-name in defaultTools 2026-09-29 14:02:57 +02:00
session-cwd.ts fix(coding-agent): handle missing session cwd 2026-04-05 21:24:32 +02:00
session-export.ts feat(coding-agent): add bug reporting 2026-09-19 17:55:49 +02:00
session-manager.ts fix(tui,coding-agent): reduce render cost of theme changes and streaming 2026-09-29 08:23:46 +02:00
settings-diagnostics.ts fix(coding-agent): report settings diagnostic paths 2026-08-19 13:07:53 +02:00
settings-manager.ts feat(ai,coding-agent): add alternative sign in for the openai provider 2026-09-29 17:16:15 +02:00
skills.ts fix(coding-agent): keep skills available with bash-only tools (#8552) 2026-09-03 11:08:26 +02:00
slash-commands.ts feat(coding-agent): add bug reporting 2026-09-19 17:55:49 +02:00
source-info.ts refactor(coding-agent): resolve built-in extensions as builtin:<name> paths (#10159) 2026-09-29 10:51:01 +02:00
system-prompt.ts feat(coding-agent): codemode and MCP 2026-09-29 09:12:50 +02:00
telemetry.ts chore(ts): use source import extensions 2026-05-20 00:04:03 +02:00
timings.ts fix(coding-agent): preserve extension timing measurements 2026-06-25 02:07:32 -05:00
trust-manager.ts feat(coding-agent): codemode and MCP 2026-09-29 09:12:50 +02:00
usage-totals.ts feat(coding-agent): report codemode classifier and nested tool usage in session cost 2026-09-29 16:21:39 +02:00
virtual-models.ts feat(coding-agent): Virtual models (#10035) 2026-09-28 23:30:45 +02:00