Skip to content

Commit 974d52b

Browse files
feat(broker): plumb Pi protocol selection (#10256)
1 parent 0d5ca34 commit 974d52b

3 files changed

Lines changed: 12 additions & 8 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: 120
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai/runloop-3fbf64145b022650227fd83c53efcf2a514638e932efc2277490280fd81c083e.yml
3-
openapi_spec_hash: 4e673e5a85fc95f1c6dcc89d6a59d004
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai/runloop-655842d2f92e9a3525185c38986cfe40c08b4bab35d39384d519bc502f415904.yml
3+
openapi_spec_hash: fabc1067256c27f29fc1225c1ea871bf
44
config_hash: 6d102da8b9fcc3d0deb42d7a707e78c6

src/runloop_api_client/types/shared/broker_mount.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,18 @@ class BrokerMount(BaseModel):
1717
agent_binary: Optional[str] = None
1818
"""Binary to launch the agent (e.g., 'opencode').
1919
20-
Used by protocols that launch a subprocess (acp, claude_json, codex_json).
20+
Used by protocols that launch a subprocess (acp, claude_json, codex_json,
21+
pi_json).
2122
"""
2223

2324
launch_args: Optional[List[str]] = None
2425
"""Arguments to pass to the agent command (e.g., ['acp']).
2526
26-
Used by protocols that launch a subprocess (acp, claude_json, codex_json).
27+
Used by protocols that launch a subprocess (acp, claude_json, codex_json,
28+
pi_json).
2729
"""
2830

29-
protocol: Optional[Literal["acp", "claude_json", "codex_json"]] = None
31+
protocol: Optional[Literal["acp", "claude_json", "codex_json", "pi_json"]] = None
3032
"""The protocol used by the broker to deliver events to the agent."""
3133

3234
working_directory: Optional[str] = None

src/runloop_api_client/types/shared_params/broker_mount.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,18 @@ class BrokerMount(TypedDict, total=False):
1919
agent_binary: Optional[str]
2020
"""Binary to launch the agent (e.g., 'opencode').
2121
22-
Used by protocols that launch a subprocess (acp, claude_json, codex_json).
22+
Used by protocols that launch a subprocess (acp, claude_json, codex_json,
23+
pi_json).
2324
"""
2425

2526
launch_args: Optional[SequenceNotStr[str]]
2627
"""Arguments to pass to the agent command (e.g., ['acp']).
2728
28-
Used by protocols that launch a subprocess (acp, claude_json, codex_json).
29+
Used by protocols that launch a subprocess (acp, claude_json, codex_json,
30+
pi_json).
2931
"""
3032

31-
protocol: Optional[Literal["acp", "claude_json", "codex_json"]]
33+
protocol: Optional[Literal["acp", "claude_json", "codex_json", "pi_json"]]
3234
"""The protocol used by the broker to deliver events to the agent."""
3335

3436
working_directory: Optional[str]

0 commit comments

Comments
 (0)