Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
c223a80
feat(desktop): add global agent configuration defaults layer
Jul 1, 2026
a0bbebc
fix(desktop): resolve readiness/spawn divergence and isMissing for gl…
Jul 1, 2026
1ed7acb
fix(desktop): restore live-persona-first deploy resolver; fix inherit…
Jul 1, 2026
f79615e
fix(desktop): always emit all GlobalAgentConfig fields; move card to …
Jul 2, 2026
26d7a94
feat(desktop): add field-focused deep-link from ConfigNudgeCard
Jul 2, 2026
305c31e
fix(agents): fix env-key focus via ref map + async-safe one-shot guard
Jul 2, 2026
9bd7d4a
feat(desktop): surface agent defaults first and add live model discovery
Jul 2, 2026
13a4642
feat(desktop): global-aware required-field markers and setup-listener…
Jul 2, 2026
510990c
fix(desktop): route auto-respawn through normal start path and derive…
Jul 2, 2026
5c8eb97
fix(desktop): split requiredEnvKeys from missingEnvKeys in computeLoc…
Jul 2, 2026
aa6774d
fix(agents): make useGlobalAgentConfig a singleton via TanStack Query
Jul 2, 2026
14ff808
fix(agents): suppress managed provider key's locked row in PersonaDialog
Jul 2, 2026
33db943
fix(agents): auto-expand Advanced section when required env keys appear
Jul 2, 2026
0164159
fix(agents): seed shared query cache on settings card load and save
Jul 2, 2026
3bacca6
test(e2e): guard Advanced-setup toggle against Fix 3 auto-open
Jul 2, 2026
8b67335
feat(agents): add tier-1 buzz-agent model-tuning fields to Create/Edi…
wpfleger96 Jul 6, 2026
54c95d5
fix(agents): wire global config into PersonaDialog + provider-default…
Jul 6, 2026
39c4afd
test(agents): update E2E screenshots + add unit coverage for provider…
Jul 6, 2026
19ac845
fix(agents): give global-config settings card distinct DOM ids for mo…
Jul 6, 2026
24c26fd
test(agents): update persona-env-vars E2E spec for branch behavior ch…
Jul 6, 2026
f946c72
test(e2e): add global-agent-config screenshot spec (5 surfaces)
Jul 7, 2026
78fc7e6
chore(desktop): bump EditAgentDialog.tsx file-size override for rebas…
Jul 7, 2026
10fbf44
fix(desktop): correct EditAgentDialog normalized-field focus IDs and …
Jul 7, 2026
4a9b833
feat(desktop): surface baked build env in global agent config card
Jul 8, 2026
f7e348b
fix(desktop): thread GlobalAgentConfig through spawn_config_hash afte…
Jul 8, 2026
c1b8ad1
fix(desktop): address Thufir review findings on global-config + baked…
Jul 8, 2026
734b8da
fix(desktop): cargo fmt runtime.rs + AgentInstanceEditDialog.tsx file…
Jul 8, 2026
14d158b
test(desktop): update agentDialogRouting contract test for initialFoc…
Jul 8, 2026
97d8253
fix(desktop): narrow providerValid save-gate in instance-edit dialog
Jul 8, 2026
182c807
fix(desktop): close runtime-switch hole in providerValid save-gate
Jul 8, 2026
4c79365
fix(desktop): snapshot original runtime for provider gate
wpfleger96 Jul 8, 2026
f53b2fb
fix(desktop): surface required keys and tuning fields in agent dialogs
Jul 8, 2026
7a49de6
fix(desktop): make required-credential gate global-env-aware in Edit …
Jul 8, 2026
d4bf403
fix(desktop): reconcile auto_restart_on_config_change rebase additions
Jul 8, 2026
5f04ac4
fix(agents): use effectiveProvider chain + missingNormalizedFields in…
Jul 8, 2026
1105c24
fix(agents): seed inherit-global option in template model dropdown fo…
Jul 8, 2026
2685df8
chore(desktop): bump readiness.rs file-size override after rebase ont…
Jul 8, 2026
0924679
fix(agents): unify provider credential config table, drop dedicated a…
Jul 8, 2026
b930988
chore(agents): delete dead ProviderApiKeyConfig type, getProviderApiK…
Jul 8, 2026
aefde06
fix(agents): add last_error_code to ManagedAgentRecord test initializers
Jul 8, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions desktop/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ export default defineConfig({
"**/drafts-screenshots.spec.ts",
"**/buzz-theme-screenshots.spec.ts",
"**/channel-sort.spec.ts",
"**/global-agent-config-screenshots.spec.ts",
],
use: {
...devices["Desktop Chrome"],
Expand Down
43 changes: 36 additions & 7 deletions desktop/scripts/check-file-sizes.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ const overrides = new Map([
["src-tauri/src/archive/mod_tests.rs", 1208],
// unified-agent-model 1A.1: profile reconcile split to agents_profile.rs,
// ratcheting 1443 -> 1295. Queued to split further in the A2 fold.
["src-tauri/src/commands/agents.rs", 1295],
// global-agent-config: resolve_deploy_model_provider + visibility exports
// add ~40 lines on top of the 1A.1 ratchet. Queued to split.
["src-tauri/src/commands/agents.rs", 1340],
// #1418 read-path fix: get_thread_replies' blocker fix (shared TIMELINE_KINDS
// const + build_thread_replies_filter helper, mirroring the channel sibling so
// the two p-gate filters can't drift) plus two guard unit tests. The file was
Expand Down Expand Up @@ -105,7 +107,9 @@ const overrides = new Map([
// +1 for agent_pubkey field in setup payload (config-nudge card wire).
// persona-blank-fallback: resolve_effective_prompt_model_provider gains a
// record_provider param + applies persona_field_with_record_fallback. +5 lines.
["src-tauri/src/managed_agents/runtime.rs", 2213],
// global-agent-config: spawn_agent_child loads global config and merges as
// lowest env layer (+8 lines). Queued to split.
["src-tauri/src/managed_agents/runtime.rs", 2216],
// config-bridge setup-payload env-boundary fix adds readiness wiring in
// spawn_agent_child; load-bearing security fix, queued to split.
["src-tauri/src/managed_agents/config_bridge/reader.rs", 1016],
Expand All @@ -125,7 +129,9 @@ const overrides = new Map([
// Windows-CI portability: replaced POSIX true/false probes with current_exe()
// stand-in + present_binary_str()/static_commands() helpers (+29 lines).
// Tests now pass on windows-latest CI shard without POSIX shell utilities.
["src-tauri/src/managed_agents/readiness.rs", 1403],
// +16: resolve_effective_agent_env + global-config readiness wiring (#1448).
// +1 rebase merge: GlobalAgentConfig import added alongside AcpAvailabilityStatus.
["src-tauri/src/managed_agents/readiness.rs", 1408],
// applyWorkspace reposDir parameter plus the validateReposDir binding,
// threaded through Tauri invokes for configurable repos_dir, plus the
// harness-persona-sync `harnessOverride` create-input bit — load-bearing
Expand All @@ -142,16 +148,22 @@ const overrides = new Map([
// baked-env-required-badge: getBakedBuildEnvKeys wrapper adds ~16 lines. Queued to split.
// restart-badge: started the queued split — start/stopManagedAgent moved to
// tauriManagedAgents.ts; limit ratcheted down 1388 → 1380 to bank the headroom.
["src/shared/api/tauri.ts", 1380],
// baked-env fold-in: getBakedBuildEnv + BakedEnvEntry type adds ~28 lines.
["src/shared/api/tauri.ts", 1410],
// readiness-gate: PersonaDialog.tsx threads computeLocalModeGate +
// requiredCredentialEnvKeys + RequiredFieldLabel so the "New agent" dialog
// shows required markers and credential amber rows (parity with
// CreateAgentDialog). +23 lines of gate wiring. Queued to split.
// config-bridge-aware requirements: useRuntimeFileConfigQuery wiring adds
// ~16 lines. Queued to split.
// baked-env-required-badge: useBakedBuildEnvKeysQuery + bakedEnvKeys wiring
// + correct exclusion-semantics for requiredEnvKeys adds ~14 lines. Queued to split.
["src/features/agents/ui/PersonaDialog.tsx", 1046],
// + correct exclusion-semantics for requiredEnvKeys adds ~14 lines.
// +2 lines: filter managed provider key from requiredEnvKeys (suppress dead-input locked row).
// global-agent-config parity: wire useGlobalAgentConfig into PersonaDialog
// (Gap A: global-aware computeLocalModeGate + drop bare requiredCredentialEnvKeys;
// Gap B: hasAutoOpenedAdvancedRef auto-expand effect) + effective-provider
// save gate + Inherit/Select-a-provider label. Queued to split.
["src/features/agents/ui/PersonaDialog.tsx", 1080],
// harness-persona-sync feature growth, queued to split in the resolver-unify
// refactor followup. discovery.rs is dominated by the new test module
// (the effective_agent_command / divergent / create-time override matrix);
Expand Down Expand Up @@ -198,7 +210,8 @@ const overrides = new Map([
// props restored after 826d735fe removal (UserProfilePanel.tsx still needs them).
["src/features/profile/ui/UserProfilePanelSections.tsx", 1140],
// +14 for openEditAgent event subscription (config-nudge card "Open Edit Agent" action).
["src/features/profile/ui/UserProfilePanel.tsx", 1014],
// +11 for editAgentFocus state + initialFocus prop threading (deep-link granularity).
["src/features/profile/ui/UserProfilePanel.tsx", 1025],
// PersistBackend enum + marker-on-keyring-success plumbing and its three
// fail-closed regression tests (silent identity rotation on keyring outage).
// A small overage from load-bearing security plumbing on a file already at
Expand Down Expand Up @@ -268,6 +281,22 @@ const overrides = new Map([
// the ⌘K link-editor shortcut, mirroring the existing onEditLinkRef
// pattern. Queued to split with the rest of this list.
["src/features/messages/ui/MessageComposer.tsx", 1036],
// global-agent-config: model-tuning section (BuzzAgentModelTuningFields via
// EditAgentAdvancedFields) + providerValid gate + effectiveProvider derivation
// + globalProvider threading into getPersonaProviderOptions. All load-bearing
// feature logic; queued to split with the rest of this list.
["src/features/agents/ui/EditAgentDialog.tsx", 1088],
// global-agent-config rebase over #1639: AgentInstanceEditDialog (renamed from
// EditAgentDialog by #1639) gained initialFocus?/EditAgentFocusTarget prop
// threading from the deep-link focus feature, and isEditAgentProviderSaveValid
// extracted as a testable helper with originalRuntimeSupportsProvider to close
// the runtime-switch hole in Will's (b) providerValid gate narrowing.
// E2E-fix round: added globalProvider fallback to useRequiredCredentialState
// call site and buzz-agent auto-expand effect for model-tuning knob visibility.
// F1-fix: added globalEnvVars to useRequiredCredentialState so globally-satisfied
// credential keys are excluded from requiredEnvKeyMissing (display/gate parity).
// Feature logic, not generic debt. Approved override; still queued to split.
["src/features/agents/ui/AgentInstanceEditDialog.tsx", 1140],
]);

await runFileSizeCheck({
Expand Down
Loading
Loading