bonito-cli 0.7.3__tar.gz → 0.7.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/CLI_SPEC.md +1 -1
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/PKG-INFO +1 -1
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/__init__.py +1 -1
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/commands/agents.py +10 -3
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/pyproject.toml +1 -1
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/.gitignore +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/CHANGELOG.md +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/README.md +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/__main__.py +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/api.py +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/app.py +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/commands/__init__.py +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/commands/admin.py +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/commands/analytics.py +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/commands/approval.py +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/commands/audit.py +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/commands/auth.py +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/commands/chat.py +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/commands/compliance.py +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/commands/deploy.py +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/commands/deployments.py +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/commands/gateway.py +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/commands/groups.py +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/commands/init.py +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/commands/kb.py +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/commands/mcp.py +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/commands/memory.py +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/commands/models.py +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/commands/plan.py +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/commands/policies.py +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/commands/projects.py +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/commands/providers.py +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/commands/rbac.py +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/commands/routing.py +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/commands/scheduler.py +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/commands/secrets.py +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/commands/sso.py +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/config.py +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/examples/__init__.py +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/examples/enterprise.yaml +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/examples/multi-provider-failover.yaml +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/examples/quickstart.yaml +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/examples/support-agent.yaml +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/utils/__init__.py +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/utils/auth.py +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/utils/display.py +0 -0
- {bonito_cli-0.7.3 → bonito_cli-0.7.4}/bonito_cli/utils/feature_gate.py +0 -0
|
@@ -115,7 +115,7 @@ bonito agents create --project PROJECT_ID --name NAME [--description DESC] [--pr
|
|
|
115
115
|
bonito agents info AGENT_ID [--sessions] [--json]
|
|
116
116
|
bonito agents update AGENT_ID [--name NAME] [--description DESC] [--model MODEL] [--max-turns N] [--timeout SECS] [--rate-limit RPM] [--status STATUS] [--json]
|
|
117
117
|
bonito agents delete AGENT_ID [--force]
|
|
118
|
-
bonito agents execute AGENT_ID [MESSAGE] [--session SESSION_ID] [--json]
|
|
118
|
+
bonito agents execute AGENT_ID [MESSAGE] [--session SESSION_ID] [--parent-agent PARENT_AGENT_ID] [--json]
|
|
119
119
|
bonito agents sessions AGENT_ID [--limit N] [--json]
|
|
120
120
|
bonito agents messages AGENT_ID SESSION_ID [--json]
|
|
121
121
|
bonito agents connections AGENT_ID [--json]
|
|
@@ -310,19 +310,26 @@ def execute_agent(
|
|
|
310
310
|
agent_id: str = typer.Argument(..., help="Agent ID"),
|
|
311
311
|
message: Optional[str] = typer.Argument(None, help="Message to send"),
|
|
312
312
|
session_id: Optional[str] = typer.Option(None, "--session", "-s", help="Session ID (creates new if not provided)"),
|
|
313
|
+
parent_agent: Optional[str] = typer.Option(None, "--parent-agent", "-p", help="Parent (orchestrator) agent ID for Breadcrumbs tracing"),
|
|
313
314
|
json_output: bool = typer.Option(False, "--json", help="Output in JSON format"),
|
|
314
315
|
):
|
|
315
|
-
"""Execute an agent with a message.
|
|
316
|
+
"""Execute an agent with a message.
|
|
317
|
+
|
|
318
|
+
Use --parent-agent to declare that this call is being orchestrated by
|
|
319
|
+
another agent. The delegation will appear in Breadcrumbs.
|
|
320
|
+
"""
|
|
316
321
|
ensure_authenticated()
|
|
317
322
|
fmt = get_output_format(json_output)
|
|
318
|
-
|
|
323
|
+
|
|
319
324
|
# Get message if not provided
|
|
320
325
|
if not message:
|
|
321
326
|
message = Prompt.ask("Enter your message")
|
|
322
|
-
|
|
327
|
+
|
|
323
328
|
payload = {"message": message}
|
|
324
329
|
if session_id:
|
|
325
330
|
payload["session_id"] = session_id
|
|
331
|
+
if parent_agent:
|
|
332
|
+
payload["parent_agent_id"] = parent_agent
|
|
326
333
|
|
|
327
334
|
try:
|
|
328
335
|
with console.status(f"[bold green]Executing agent...", spinner="dots"):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|