Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
ef030a7
feat(desktop): add global agent configuration defaults layer
Jul 1, 2026
f6a29d9
fix(desktop): resolve readiness/spawn divergence and isMissing for gl…
Jul 1, 2026
1777a0e
fix(desktop): restore live-persona-first deploy resolver; fix inherit…
Jul 1, 2026
8cbf953
fix(desktop): always emit all GlobalAgentConfig fields; move card to …
Jul 2, 2026
ab758d5
feat(desktop): add field-focused deep-link from ConfigNudgeCard
Jul 2, 2026
aa31d72
fix(agents): fix env-key focus via ref map + async-safe one-shot guard
Jul 2, 2026
b986290
feat(desktop): surface agent defaults first and add live model discovery
Jul 2, 2026
05559f8
feat(desktop): global-aware required-field markers and setup-listener…
Jul 2, 2026
b521205
fix(desktop): route auto-respawn through normal start path and derive…
Jul 2, 2026
e117dbb
fix(desktop): split requiredEnvKeys from missingEnvKeys in computeLoc…
Jul 2, 2026
ba61e57
fix(agents): make useGlobalAgentConfig a singleton via TanStack Query
Jul 2, 2026
9437b71
fix(agents): suppress managed provider key's locked row in PersonaDialog
Jul 2, 2026
ee468e6
fix(agents): seed shared query cache on settings card load and save
Jul 2, 2026
49e7d97
test(e2e): guard Advanced-setup toggle against Fix 3 auto-open
Jul 2, 2026
d3f656f
feat(agents): add tier-1 buzz-agent model-tuning fields to Create/Edi…
wpfleger96 Jul 6, 2026
0b84a73
fix(agents): wire global config into PersonaDialog + provider-default…
Jul 6, 2026
c7612ba
test(agents): update E2E screenshots + add unit coverage for provider…
Jul 6, 2026
d25b318
fix(agents): give global-config settings card distinct DOM ids for mo…
Jul 6, 2026
ffc13e6
test(agents): update persona-env-vars E2E spec for branch behavior ch…
Jul 6, 2026
8b8ce93
test(e2e): add global-agent-config screenshot spec (5 surfaces)
Jul 7, 2026
08ea839
chore(desktop): bump EditAgentDialog.tsx file-size override for rebas…
Jul 7, 2026
c38d195
fix(desktop): correct EditAgentDialog normalized-field focus IDs and …
Jul 7, 2026
837adac
feat(desktop): surface baked build env in global agent config card
Jul 8, 2026
7beb80b
fix(desktop): thread GlobalAgentConfig through spawn_config_hash afte…
Jul 8, 2026
6c605dd
fix(desktop): address Thufir review findings on global-config + baked…
Jul 8, 2026
01c6320
fix(desktop): cargo fmt runtime.rs + AgentInstanceEditDialog.tsx file…
Jul 8, 2026
32107dc
test(desktop): update agentDialogRouting contract test for initialFoc…
Jul 8, 2026
d8fd5ba
fix(desktop): narrow providerValid save-gate in instance-edit dialog
Jul 8, 2026
bbf89d7
fix(desktop): close runtime-switch hole in providerValid save-gate
Jul 8, 2026
24cdecb
fix(desktop): snapshot original runtime for provider gate
wpfleger96 Jul 8, 2026
505e96a
fix(desktop): surface required keys and tuning fields in agent dialogs
Jul 8, 2026
0ac4cf6
fix(desktop): make required-credential gate global-env-aware in Edit …
Jul 8, 2026
64c1924
fix(desktop): reconcile auto_restart_on_config_change rebase additions
Jul 8, 2026
d56a72a
fix(agents): use effectiveProvider chain + missingNormalizedFields in…
Jul 8, 2026
25134d3
fix(agents): seed inherit-global option in template model dropdown fo…
Jul 8, 2026
2620314
chore(desktop): bump readiness.rs file-size override after rebase ont…
Jul 8, 2026
bdaa5b1
fix(agents): unify provider credential config table, drop dedicated a…
Jul 8, 2026
ba383eb
chore(agents): delete dead ProviderApiKeyConfig type, getProviderApiK…
Jul 8, 2026
67562d9
fix(agents): add last_error_code to ManagedAgentRecord test initializers
Jul 8, 2026
e660e14
chore(agents): fix test compile errors after rebase onto #1667
Jul 9, 2026
b4f4df2
fix(agents): update E2E specs to use required-row value input for cre…
Jul 9, 2026
fd9bb42
fix(agents): fix E2E spec regressions after #1667 rebase
Jul 9, 2026
34a35ff
feat(agents): provider- and model-aware thinking/effort dropdown
Jul 9, 2026
0cd8bdb
fix(agents): fix thinking/effort dropdown correctness issues
Jul 9, 2026
db9d3bd
chore(desktop): bump readiness.rs file-size override after rebase ont…
Jul 9, 2026
1b6483a
fix(desktop): add restart-needed messaging to global agent defaults s…
wpfleger96 Jul 10, 2026
97436eb
fix(agents): pass useMesh through AgentDialog to unblock submit on re…
Jul 10, 2026
85a85f1
fix(agents): validate global provider/model at IPC boundary
Jul 10, 2026
b0fc2ae
refactor(agents): Phase 2 — effort-table sync guard + rec-5 cleanups
Jul 10, 2026
ba79d41
fix(agents): mesh bypass, Anthropic production helper, effort label, …
Jul 10, 2026
bd07b1a
chore(agents): gate test-only imports behind #[cfg(test)]
Jul 10, 2026
e85afd6
style(desktop): rustfmt agents.rs import block
Jul 10, 2026
a02347d
fix(agents): strip goose- catalog prefix for effort routing; merge gl…
Jul 10, 2026
c51f477
fix(agents): fix credential gate empty-local shadow + edit discovery …
Jul 10, 2026
f7e3464
fix(agents): fix EnvVarsEditor required-row display for explicit-empt…
Jul 10, 2026
76c562e
fix(agents): strip arbitrary endpoint prefix via first-family-token s…
Jul 10, 2026
eb939e0
fix(agents): align Rust strip_catalog_prefix with TS first-family-tok…
Jul 10, 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
316 changes: 299 additions & 17 deletions crates/buzz-agent/src/config.rs

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions desktop/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ export default defineConfig({
"**/buzz-theme-screenshots.spec.ts",
"**/channel-sort.spec.ts",
"**/identity-lost.spec.ts",
"**/global-agent-config-screenshots.spec.ts",
],
use: {
...devices["Desktop Chrome"],
Expand Down
52 changes: 45 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 @@ -108,7 +110,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 @@ -132,7 +136,11 @@ const overrides = new Map([
// host/credential match arms + 30+ readiness tests for provider aliases,
// missing-host, and DATABRICKS_MODEL fallback. Load-bearing correctness fix.
// #1613 augmented-PATH readiness probes grew the file +3 past the prior cap.
["src-tauri/src/managed_agents/readiness.rs", 1549],
// +16: resolve_effective_agent_env + global-config readiness wiring (#1448).
// +1 rebase merge: GlobalAgentConfig import added alongside AcpAvailabilityStatus.
// +2 rebase onto #1667: behavioral quad fields in PersonaRecord/ManagedAgentRecord.
// +3 rebase onto main (#1568 + #1613): identity-import-keyring + augmented-PATH probes.
["src-tauri/src/managed_agents/readiness.rs", 1565],
// 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 @@ -156,16 +164,22 @@ const overrides = new Map([
// mention-alias fix: profile wrappers (RawProfile/RawUserProfileSummary types,
// getProfile/updateProfile/getUserProfile/getUsersBatch/searchUsers) moved to
// tauriProfiles.ts; limit ratcheted down 1360 → 1241 to bank the headroom.
["src/shared/api/tauri.ts", 1241],
// baked-env fold-in: getBakedBuildEnv + BakedEnvEntry type adds ~28 lines.
["src/shared/api/tauri.ts", 1271],
// 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 @@ -226,7 +240,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 @@ -285,6 +300,10 @@ const overrides = new Map([
// +8: harness_override thread-through in update_managed_agent so a deliberate
// Custom pin routes to update_time_agent_command_override (comment + call).
["src-tauri/src/commands/agent_models.rs", 1079],
// global-agent-config: get_agent_config_surface / write_agent_config_field /
// put_agent_session_config commands + GlobalAgentConfig serde types. New file
// in this PR; queued to split with the command module refactor.
["src-tauri/src/commands/agent_config.rs", 1002],
// draft-persistence predicate: submit-time `loadDraft` check + inline comment
// + deps-array entry in submitMessage closes the never-persisted-boundary
// defect (Thufir Pass-3 finding). Load-bearing correctness fix; queued to
Expand All @@ -300,6 +319,25 @@ 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.
// +23 rebase onto #1667: behavioral quad fields (respond_to/parallelism/toolsets)
// plumbed through AgentInstanceEditDialog from PersonaAdvancedFields.
// +2 provider-aware effort: model/provider props threaded to BuzzAgentModelTuningFields.
["src/features/agents/ui/AgentInstanceEditDialog.tsx", 1165],
]);

await runFileSizeCheck({
Expand Down
Loading
Loading