mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Keep merged agent files within size limits
Signed-off-by: kenny lopez <klopez4212@gmail.com>
This commit is contained in:
@@ -48,7 +48,6 @@ fn returns_none_for_unknown_commands() {
|
||||
fn default_agent_command_resolves_bundled_buzz_agent() {
|
||||
// The default must be bundled buzz-agent, never bare `goose` on a stock Windows install.
|
||||
assert_eq!(default_agent_command(), "buzz-agent");
|
||||
// And buzz-agent takes no `acp` arg — confirm no arg leakage from the default.
|
||||
assert_eq!(
|
||||
normalize_agent_args(&default_agent_command(), vec!["acp".into()]),
|
||||
Vec::<String>::new()
|
||||
|
||||
@@ -774,8 +774,7 @@ export type AgentPersona = {
|
||||
shared: boolean;
|
||||
/** Team ID if this persona was imported from a team directory. Team personas are non-editable. */
|
||||
sourceTeam?: string | null;
|
||||
/** Environment variables injected for agents created from this persona.
|
||||
* Layered as: desktop parent env < persona envVars < agent envVars. */
|
||||
/** Agent environment variables, layered after desktop parent and persona values. */
|
||||
envVars: Record<string, string>;
|
||||
/** NIP-AP behavioral defaults (wire shape). Null/empty = unset. */
|
||||
respondTo: RespondToMode | null;
|
||||
@@ -786,9 +785,8 @@ export type AgentPersona = {
|
||||
};
|
||||
|
||||
/**
|
||||
* NIP-AP behavioral group for a definition, sent as one group: absent = don't
|
||||
* touch the stored behavior group (legacy callers), present = replace the fields as a
|
||||
* unit. Mirrors `PersonaBehaviorRequest`.
|
||||
* NIP-AP behavioral group for a definition: absent preserves the stored group
|
||||
* for legacy callers; present replaces it as a unit. Mirrors `PersonaBehaviorRequest`.
|
||||
*/
|
||||
export type PersonaBehaviorInput = {
|
||||
respondTo?: RespondToMode;
|
||||
|
||||
Reference in New Issue
Block a user