Skip to content

Commit 76ad33d

Browse files
feat: Add protocol, launch etc arguments to attach axon grpc, persist them in the db (#8564)
1 parent ddccee2 commit 76ad33d

3 files changed

Lines changed: 18 additions & 6 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 109
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-278ae77dcf804cd28eda8546ee0bc6ac95f02cdf571e89f257166913b7f4099a.yml
3-
openapi_spec_hash: a29714be5cdaad5ed4f05bd45a5377a1
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-2b3cbb2a02e1e261f8d057e6ed0f10d109c8a19ddc95b87438dd2dab0f07f894.yml
3+
openapi_spec_hash: a7730acfaa14d18dc3c0258841efc150
44
config_hash: ecb1ff09d29b565ed1452b5e0362e64d

src/runloop_api_client/types/shared/broker_mount.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,16 @@ class BrokerMount(BaseModel):
1515
type: Literal["broker_mount"]
1616

1717
agent_binary: Optional[str] = None
18-
"""Binary to launch the agent (e.g., 'opencode'). Used by ACP broker."""
18+
"""Binary to launch the agent (e.g., 'opencode').
19+
20+
Used by protocols that launch a subprocess (acp, claude_json, codex_app_server).
21+
"""
1922

2023
launch_args: Optional[List[str]] = None
21-
"""Arguments to pass to the agent command (e.g., ['acp']). Used by ACP broker."""
24+
"""Arguments to pass to the agent command (e.g., ['acp']).
25+
26+
Used by protocols that launch a subprocess (acp, claude_json, codex_app_server).
27+
"""
2228

2329
protocol: Optional[Literal["acp", "claude_json", "codex_app_server"]] = None
2430
"""The protocol used by the broker to deliver events to the agent."""

src/runloop_api_client/types/shared_params/broker_mount.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,16 @@ class BrokerMount(TypedDict, total=False):
1717
type: Required[Literal["broker_mount"]]
1818

1919
agent_binary: Optional[str]
20-
"""Binary to launch the agent (e.g., 'opencode'). Used by ACP broker."""
20+
"""Binary to launch the agent (e.g., 'opencode').
21+
22+
Used by protocols that launch a subprocess (acp, claude_json, codex_app_server).
23+
"""
2124

2225
launch_args: Optional[SequenceNotStr[str]]
23-
"""Arguments to pass to the agent command (e.g., ['acp']). Used by ACP broker."""
26+
"""Arguments to pass to the agent command (e.g., ['acp']).
27+
28+
Used by protocols that launch a subprocess (acp, claude_json, codex_app_server).
29+
"""
2430

2531
protocol: Optional[Literal["acp", "claude_json", "codex_app_server"]]
2632
"""The protocol used by the broker to deliver events to the agent."""

0 commit comments

Comments
 (0)