bloom-launch 0.3.0__tar.gz → 0.3.1__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.
Files changed (89) hide show
  1. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/.github/workflows/release.yml +2 -2
  2. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/PKG-INFO +11 -9
  3. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/README.md +10 -8
  4. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/docs/alpha-release-contract.md +8 -8
  5. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/docs/code-harness-compatibility/copilot-1.0.112.md +5 -5
  6. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/docs/connections.md +1 -1
  7. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/docs/installation.md +8 -8
  8. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/docs/quick-launch.md +4 -3
  9. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/docs/releasing.md +15 -15
  10. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/pyproject.toml +1 -1
  11. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/scripts/check_artifacts.py +1 -1
  12. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/scripts/verify_release_candidate.py +2 -2
  13. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/src/bloom_cli/cli.py +17 -0
  14. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/src/bloom_cli/launch.py +27 -31
  15. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/src/bloom_cli/settings.py +49 -0
  16. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/src/bloom_cli/wrappers.py +5 -4
  17. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/tests/test_artifacts.py +2 -2
  18. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/tests/test_cli_forwarding.py +14 -0
  19. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/tests/test_copilot_launch.py +44 -19
  20. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/tests/test_release_workflow.py +5 -5
  21. bloom_launch-0.3.1/tests/test_show_config.py +109 -0
  22. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/uv.lock +1 -1
  23. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/.github/workflows/local-checks.yml +0 -0
  24. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/.gitignore +0 -0
  25. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/CONTEXT.md +0 -0
  26. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/LICENSE +0 -0
  27. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/docs/adapter-contract.md +0 -0
  28. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/docs/adr/0001-authorization-is-not-qualification.md +0 -0
  29. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/docs/adr/0002-persistent-native-profiles.md +0 -0
  30. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/docs/adr/0003-credential-and-process-ownership.md +0 -0
  31. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/docs/ci-efficiency-decisions.md +0 -0
  32. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/docs/code-harness-compatibility/codex-0.167.2.md +0 -0
  33. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/docs/demo-goal.md +0 -0
  34. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/docs/development.md +0 -0
  35. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/docs/headless.md +0 -0
  36. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/docs/local-testing.md +0 -0
  37. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/docs/models.md +0 -0
  38. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/docs/multi-harness-engineering-requirements.md +0 -0
  39. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/docs/opencode-bootstrap-compatibility.md +0 -0
  40. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/docs/opencode-demo.md +0 -0
  41. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/docs/qualification.md +0 -0
  42. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/docs/superpowers/plans/2026-11-04-ci-efficiency.md +0 -0
  43. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/docs/superpowers/plans/2026-11-04-coderabbit-followup.md +0 -0
  44. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/docs/superpowers/plans/2026-11-05-demo-goal.md +0 -0
  45. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/docs/superpowers/plans/2026-11-05-opencode-demo.md +0 -0
  46. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/docs/superpowers/plans/2026-11-11-agent-id.md +0 -0
  47. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/docs/superpowers/plans/2026-11-12-agent-id-default.md +0 -0
  48. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/docs/superpowers/plans/2026-11-12-codex-launch-spike.md +0 -0
  49. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/docs/superpowers/plans/2026-11-12-session-id.md +0 -0
  50. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/docs/superpowers/specs/2026-11-04-ci-efficiency-design.md +0 -0
  51. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/docs/superpowers/specs/2026-11-04-coderabbit-followup-design.md +0 -0
  52. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/docs/superpowers/specs/2026-11-05-demo-goal-design.md +0 -0
  53. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/docs/superpowers/specs/2026-11-05-opencode-demo-design.md +0 -0
  54. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/scripts/check_local_install.sh +0 -0
  55. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/scripts/diagnose_discovery.py +0 -0
  56. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/src/bloom_cli/__init__.py +0 -0
  57. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/src/bloom_cli/__main__.py +0 -0
  58. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/src/bloom_cli/contract.py +0 -0
  59. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/src/bloom_cli/discovery.py +0 -0
  60. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/src/bloom_cli/labels.py +0 -0
  61. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/src/bloom_cli/model_metadata.py +0 -0
  62. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/src/bloom_cli/process.py +0 -0
  63. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/src/bloom_cli/progress.py +0 -0
  64. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/src/bloom_cli/urls.py +0 -0
  65. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/tests/conftest.py +0 -0
  66. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/tests/installed_connection_probe.py +0 -0
  67. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/tests/job_control.py +0 -0
  68. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/tests/job_control_probe.py +0 -0
  69. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/tests/native_smoke_support.py +0 -0
  70. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/tests/pty_driver.py +0 -0
  71. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/tests/test_ci_workflow.py +0 -0
  72. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/tests/test_codex_compatibility.py +0 -0
  73. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/tests/test_codex_launch.py +0 -0
  74. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/tests/test_discovery_diagnostic.py +0 -0
  75. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/tests/test_install_script.py +0 -0
  76. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/tests/test_installed_launch.py +0 -0
  77. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/tests/test_job_control.py +0 -0
  78. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/tests/test_launch_progress.py +0 -0
  79. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/tests/test_model_labels.py +0 -0
  80. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/tests/test_model_limits.py +0 -0
  81. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/tests/test_model_metadata.py +0 -0
  82. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/tests/test_native_smoke.py +0 -0
  83. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/tests/test_process.py +0 -0
  84. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/tests/test_progress.py +0 -0
  85. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/tests/test_secret_validation.py +0 -0
  86. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/tests/test_thin_launch.py +0 -0
  87. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/tests/test_urls.py +0 -0
  88. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/tests/test_wrappers.py +0 -0
  89. {bloom_launch-0.3.0 → bloom_launch-0.3.1}/tests/thin_job_control_probe.py +0 -0
@@ -76,7 +76,7 @@ jobs:
76
76
 
77
77
  root = Path(os.environ["CANDIDATE_DIR"])
78
78
  dist = root / "dist"
79
- names = {"bloom_launch-0.3.0-py3-none-any.whl", "bloom_launch-0.3.0.tar.gz"}
79
+ names = {"bloom_launch-0.3.1-py3-none-any.whl", "bloom_launch-0.3.1.tar.gz"}
80
80
  if (dist.is_symlink() or not dist.is_dir()
81
81
  or {p.name for p in root.iterdir()} != {"dist"}
82
82
  or {p.name for p in dist.iterdir()} != names
@@ -144,7 +144,7 @@ jobs:
144
144
  trusted = Path(os.environ["GITHUB_WORKSPACE"]) / "trusted"
145
145
  root = Path(os.environ["RUNNER_TEMP"]) / "bloom-release-candidate"
146
146
  verifier = runpy.run_path(str(trusted / "scripts/verify_release_candidate.py"))
147
- names = ("bloom_launch-0.3.0-py3-none-any.whl", "bloom_launch-0.3.0.tar.gz")
147
+ names = ("bloom_launch-0.3.1-py3-none-any.whl", "bloom_launch-0.3.1.tar.gz")
148
148
  expected = {
149
149
  "source_sha": os.environ["TRUSTED_WORKFLOW_SHA"],
150
150
  "repository": os.environ["GITHUB_REPOSITORY"],
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: bloom-launch
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Summary: Scoped launcher for native coding harnesses
5
5
  License-Expression: Apache-2.0
6
6
  License-File: LICENSE
@@ -22,25 +22,25 @@ Plain `claude`, `codex`, `copilot`, or `opencode` continues to use its normal co
22
22
 
23
23
  ## Install
24
24
 
25
- Requirements: Python **3.12 or later**, plus Claude Code, Codex CLI `0.167.2`, GitHub Copilot CLI `1.0.112`, or OpenCode already installed and available on `PATH`.
25
+ Requirements: Python **3.12 or later**, plus Claude Code, Codex CLI `0.167.2`, GitHub Copilot CLI `1.0.112+` (`1.x`), or OpenCode already installed and available on `PATH`.
26
26
  macOS is the primary platform. Bloom does not install or repair your Coding Harness.
27
27
  Codex and Copilot have structural adapter evidence only. Live Bloom, tool/history, and full interactive qualification remain unrecorded.
28
28
  The bundled Codex and Copilot commands do not establish a Qualified Harness Path or satisfy the release's native acceptance gate.
29
29
  Before launching, follow the [Claude Code installation instructions](https://docs.anthropic.com/en/docs/claude-code/overview), [Codex CLI installation instructions](https://developers.openai.com/codex/), [GitHub Copilot CLI installation instructions](https://docs.github.com/en/copilot/how-tos/set-up/install-copilot-cli), or [OpenCode installation instructions](https://opencode.ai/docs/installation/).
30
30
 
31
- These instructions describe `0.3.0`; if not yet available on PyPI, collaborators can use a source checkout.
32
- The selected source version is `0.3.0`.
31
+ These instructions describe `0.3.1`; if not yet available on PyPI, collaborators can use a source checkout.
32
+ The selected source version is `0.3.1`.
33
33
 
34
34
  When available on PyPI, install this exact version with either tool:
35
35
 
36
36
  ```sh
37
- uv tool install 'bloom-launch==0.3.0'
37
+ uv tool install 'bloom-launch==0.3.1'
38
38
  # Or:
39
- pipx install 'bloom-launch==0.3.0'
39
+ pipx install 'bloom-launch==0.3.1'
40
40
  ```
41
41
 
42
42
  Collaborators need access to the private [repository](https://github.com/Bloom-Factory-Engineering/bloom-cli) for a source checkout.
43
- Use a checkout whose project metadata and lockfile both specify `0.3.0` before running:
43
+ Use a checkout whose project metadata and lockfile both specify `0.3.1` before running:
44
44
 
45
45
  ```sh
46
46
  uv sync --locked --group dev
@@ -64,6 +64,7 @@ The published `0.1.0a1` lacks this behavior. For its setup, use the [historical
64
64
  ```sh
65
65
  bloom --help
66
66
  bloom --version
67
+ bloom --show-config
67
68
  bloom launch --help
68
69
  bloom launch claude
69
70
  bloom launch copilot
@@ -96,6 +97,7 @@ Bloom keeps `--model` for its own gateway model selection. Bloom also keeps Clau
96
97
  | --- | --- |
97
98
  | `-h`, `--help` | Show global help or `launch` help. |
98
99
  | `--version` | Show the package version. Use before `launch`. |
100
+ | `--show-config` | Print the saved launcher config and exit. Use it alone, without `launch`. A saved vkey is shown only as `saved`. |
99
101
  | `launch {claude,codex,copilot,opencode}` | Select the installed Coding Harness. |
100
102
  | `--config` | Replace the gateway vkey and the current harness's default model. |
101
103
  | `--model EXACT_GATEWAY_MODEL_ID` | Select an exact, full gateway model ID. |
@@ -115,7 +117,7 @@ The indicator stops before the picker, native handoff, or error output, includin
115
117
  Ordinary launches use the cached vkey and the harness's saved model for direct native handoff without launcher HTTP or progress output.
116
118
  First setup, `--config`, and explicit `--model` perform discovery and access checks before handoff.
117
119
  Each normalized gateway shares one vkey across all four harnesses. Each harness has a separate model default.
118
- Copilot CLI `1.0.112` sends agent and session headers through `COPILOT_PROVIDER_HEADERS`. Older `1.0.x` builds launch with a warning and without those headers.
120
+ Copilot CLI `1.0.112` or later `1.x` is required. It sends agent and session headers through `COPILOT_PROVIDER_HEADERS`. Versions newer than the tested `1.0.x` line print a warning and continue.
119
121
 
120
122
  `--config` prompts for a replacement vkey, displays model choices, and prompts for an agent ID.
121
123
  Bloom saves the vkey, agent ID, and current harness's model atomically after discovery, selection, and native preparation succeed.
@@ -137,7 +139,7 @@ Bloom saves the vkey, agent ID, and harness defaults in the global `$HOME/.confi
137
139
  **This file contains a secret. Do not paste or share its contents.**
138
140
  Never put a vkey in command arguments, a URL, a project file, or an error report.
139
141
  When an agent ID exists, Bloom configures `X-Bloom-Agent-ID` for Claude Code, Codex, and OpenCode.
140
- Claude does not use a default `bloom-launch-claude` value.
142
+ When no agent ID is saved, each harness uses its default (`bloom-launch-claude`, `bloom-launch-codex`, `bloom-launch-copilot`, or `bloom-launch-opencode`).
141
143
  The saved agent ID is shared across gateways and harnesses. A direct `--agent-id VALUE` override applies only to that launch and is not saved.
142
144
  `--session-id VALUE` is also transient and is forgotten when the harness exits. Bloom sends it as `X-Bloom-Session-ID`; omitting the flag sends no session header.
143
145
  Session IDs use the same printable-ASCII validation as agent IDs. Blank or invalid values are rejected.
@@ -7,25 +7,25 @@ Plain `claude`, `codex`, `copilot`, or `opencode` continues to use its normal co
7
7
 
8
8
  ## Install
9
9
 
10
- Requirements: Python **3.12 or later**, plus Claude Code, Codex CLI `0.167.2`, GitHub Copilot CLI `1.0.112`, or OpenCode already installed and available on `PATH`.
10
+ Requirements: Python **3.12 or later**, plus Claude Code, Codex CLI `0.167.2`, GitHub Copilot CLI `1.0.112+` (`1.x`), or OpenCode already installed and available on `PATH`.
11
11
  macOS is the primary platform. Bloom does not install or repair your Coding Harness.
12
12
  Codex and Copilot have structural adapter evidence only. Live Bloom, tool/history, and full interactive qualification remain unrecorded.
13
13
  The bundled Codex and Copilot commands do not establish a Qualified Harness Path or satisfy the release's native acceptance gate.
14
14
  Before launching, follow the [Claude Code installation instructions](https://docs.anthropic.com/en/docs/claude-code/overview), [Codex CLI installation instructions](https://developers.openai.com/codex/), [GitHub Copilot CLI installation instructions](https://docs.github.com/en/copilot/how-tos/set-up/install-copilot-cli), or [OpenCode installation instructions](https://opencode.ai/docs/installation/).
15
15
 
16
- These instructions describe `0.3.0`; if not yet available on PyPI, collaborators can use a source checkout.
17
- The selected source version is `0.3.0`.
16
+ These instructions describe `0.3.1`; if not yet available on PyPI, collaborators can use a source checkout.
17
+ The selected source version is `0.3.1`.
18
18
 
19
19
  When available on PyPI, install this exact version with either tool:
20
20
 
21
21
  ```sh
22
- uv tool install 'bloom-launch==0.3.0'
22
+ uv tool install 'bloom-launch==0.3.1'
23
23
  # Or:
24
- pipx install 'bloom-launch==0.3.0'
24
+ pipx install 'bloom-launch==0.3.1'
25
25
  ```
26
26
 
27
27
  Collaborators need access to the private [repository](https://github.com/Bloom-Factory-Engineering/bloom-cli) for a source checkout.
28
- Use a checkout whose project metadata and lockfile both specify `0.3.0` before running:
28
+ Use a checkout whose project metadata and lockfile both specify `0.3.1` before running:
29
29
 
30
30
  ```sh
31
31
  uv sync --locked --group dev
@@ -49,6 +49,7 @@ The published `0.1.0a1` lacks this behavior. For its setup, use the [historical
49
49
  ```sh
50
50
  bloom --help
51
51
  bloom --version
52
+ bloom --show-config
52
53
  bloom launch --help
53
54
  bloom launch claude
54
55
  bloom launch copilot
@@ -81,6 +82,7 @@ Bloom keeps `--model` for its own gateway model selection. Bloom also keeps Clau
81
82
  | --- | --- |
82
83
  | `-h`, `--help` | Show global help or `launch` help. |
83
84
  | `--version` | Show the package version. Use before `launch`. |
85
+ | `--show-config` | Print the saved launcher config and exit. Use it alone, without `launch`. A saved vkey is shown only as `saved`. |
84
86
  | `launch {claude,codex,copilot,opencode}` | Select the installed Coding Harness. |
85
87
  | `--config` | Replace the gateway vkey and the current harness's default model. |
86
88
  | `--model EXACT_GATEWAY_MODEL_ID` | Select an exact, full gateway model ID. |
@@ -100,7 +102,7 @@ The indicator stops before the picker, native handoff, or error output, includin
100
102
  Ordinary launches use the cached vkey and the harness's saved model for direct native handoff without launcher HTTP or progress output.
101
103
  First setup, `--config`, and explicit `--model` perform discovery and access checks before handoff.
102
104
  Each normalized gateway shares one vkey across all four harnesses. Each harness has a separate model default.
103
- Copilot CLI `1.0.112` sends agent and session headers through `COPILOT_PROVIDER_HEADERS`. Older `1.0.x` builds launch with a warning and without those headers.
105
+ Copilot CLI `1.0.112` or later `1.x` is required. It sends agent and session headers through `COPILOT_PROVIDER_HEADERS`. Versions newer than the tested `1.0.x` line print a warning and continue.
104
106
 
105
107
  `--config` prompts for a replacement vkey, displays model choices, and prompts for an agent ID.
106
108
  Bloom saves the vkey, agent ID, and current harness's model atomically after discovery, selection, and native preparation succeed.
@@ -122,7 +124,7 @@ Bloom saves the vkey, agent ID, and harness defaults in the global `$HOME/.confi
122
124
  **This file contains a secret. Do not paste or share its contents.**
123
125
  Never put a vkey in command arguments, a URL, a project file, or an error report.
124
126
  When an agent ID exists, Bloom configures `X-Bloom-Agent-ID` for Claude Code, Codex, and OpenCode.
125
- Claude does not use a default `bloom-launch-claude` value.
127
+ When no agent ID is saved, each harness uses its default (`bloom-launch-claude`, `bloom-launch-codex`, `bloom-launch-copilot`, or `bloom-launch-opencode`).
126
128
  The saved agent ID is shared across gateways and harnesses. A direct `--agent-id VALUE` override applies only to that launch and is not saved.
127
129
  `--session-id VALUE` is also transient and is forgotten when the harness exits. Bloom sends it as `X-Bloom-Session-ID`; omitting the flag sends no session header.
128
130
  Session IDs use the same printable-ASCII validation as agent IDs. Blank or invalid values are rejected.
@@ -1,9 +1,9 @@
1
- # `0.3.0` macOS-first public release contract
1
+ # `0.3.1` macOS-first public release contract
2
2
 
3
- This contract describes the selected `bloom-launch==0.3.0` release, with command `bloom` and Python 3.12 or later.
3
+ This contract describes the selected `bloom-launch==0.3.1` release, with command `bloom` and Python 3.12 or later.
4
4
  It retains the macOS-first boundary and separate release gates. It does not grant new publication approval or establish production readiness.
5
5
  The earlier `0.1.0a4` release-preparation check is historical. Publication of
6
- `0.3.0` remains a separate owner-authorized action.
6
+ `0.3.1` remains a separate owner-authorized action.
7
7
 
8
8
  ## HISTORICAL: `0.1.0a1` and `0.1.0a4` approvals
9
9
 
@@ -88,8 +88,8 @@ Personal-store access still requires separate authority. Synthetic checks use th
88
88
  ## Package and publication gates
89
89
 
90
90
  - Retain Apache-2.0. Include the license text and package license metadata.
91
- - Align distribution `bloom-launch`, selected version `0.2.0`, command `bloom`, and Python requirement `>=3.12` throughout the candidate.
92
- - Require the owner-supplied root package version update in `uv.lock` to `0.2.0` as part of the coordinated source commit.
91
+ - Align distribution `bloom-launch`, selected version `0.3.1`, command `bloom`, and Python requirement `>=3.12` throughout the candidate.
92
+ - Require the owner-supplied root package version update in `uv.lock` to `0.3.1` as part of the coordinated source commit.
93
93
  - Agents must not edit `uv.lock`. Preserve every dependency entry and the repository's lockfile prohibition.
94
94
  - Do not reuse the historical `0.1.0` to `0.1.0a1` lockfile exception for this candidate.
95
95
  - Confirm the owner step before claiming locked readiness. Preserve locked validation and subsequent lockfile immutability.
@@ -112,8 +112,8 @@ Personal-store access still requires separate authority. Synthetic checks use th
112
112
  - After publication, install the exact version from PyPI outside the checkout in a fresh isolated environment.
113
113
  - Verify version, help, and the agreed installed journey against that PyPI installation.
114
114
 
115
- The owner-supplied root lockfile version matches the project at `0.2.0`, with no dependency-entry changes.
116
- Fresh locked installation passed and the installed source command reports `0.2.0`.
115
+ The owner-supplied root lockfile version matches the project at `0.3.1`, with no dependency-entry changes.
116
+ Fresh locked installation passed and the installed source command reports `0.3.1`.
117
117
  Current artifacts remain provisional until exact-source, acceptance, scan, hash-approval, and publication gates pass.
118
118
  Historical license and source-distribution approvals do not supply exact-candidate upload approval.
119
119
  Original-native execution, paid calls, personal-store access, and repository-visibility changes retain their separate authority requirements.
@@ -134,7 +134,7 @@ The trusted checkout and candidate data have separate paths. The scanner never i
134
134
  Only its scan step receives `BLOOM_RELEASE_FORBIDDEN_TERMS`.
135
135
  Missing or invalid policy, or an unprotected trusted ref, fails closed before a checked candidate can be retained.
136
136
  Successful scanning preserves source/wheel/sdist parity, the exact distribution bytes, and the unchanged receipt.
137
- The artifact contains `manifest.json`, `dist/bloom_launch-0.2.0-py3-none-any.whl`, and `dist/bloom_launch-0.2.0.tar.gz`.
137
+ The artifact contains `manifest.json`, `dist/bloom_launch-0.3.1-py3-none-any.whl`, and `dist/bloom_launch-0.3.1.tar.gz`.
138
138
  This workflow does not trigger a PyPI upload, tag, merge, or service deployment.
139
139
 
140
140
  Administrator setup remains TBD and blocks release.
@@ -59,11 +59,11 @@ Against a local `127.0.0.1` recorder with `COPILOT_OFFLINE=true`:
59
59
 
60
60
  ## Version Gate
61
61
 
62
- Bloom pins GitHub Copilot CLI `1.0.112` as the header-capable release.
62
+ Bloom requires GitHub Copilot CLI `1.x` at or above the tested BYOK floor `1.0.112`.
63
63
 
64
- - `1.0.112`: launch with attribution headers
65
- - older `1.0.x` below `1.0.112`: launch without attribution headers and print a warning
66
- - other versions: refuse
64
+ - `1.0.112` and later `1.0.x`: launch with BYOK provider settings and attribution headers
65
+ - later `1.x` outside `1.0.x` (for example `1.1.0`): launch with a warning
66
+ - below `1.0.112`, empty version output, or major versions other than `1`: refuse
67
67
 
68
68
  ## Native Argument Policy
69
69
 
@@ -76,5 +76,5 @@ It reserves these Copilot controls because they can change the Bloom connection:
76
76
  ## Limits
77
77
 
78
78
  - This record is loopback/recorder evidence only. It is not live Bloom gateway qualification.
79
- - Attribution depends on `COPILOT_PROVIDER_HEADERS`. Older Copilot builds without that variable launch with a warning and without agent or session headers.
79
+ - Attribution depends on `COPILOT_PROVIDER_HEADERS`, available from the tested `1.0.112` floor.
80
80
  - Copilot CLI may still create session files under the user's Copilot home. Bloom does not manage those files.
@@ -34,6 +34,6 @@ The harness retains its normal HOME, configuration, permissions, plugins, and hi
34
34
  Bloom changes the connection for one invocation without inspecting native state to authorize launch.
35
35
  Plain `claude` or `opencode` retains its configured connection.
36
36
 
37
- When an agent ID exists, both harness wrappers send it as `X-Bloom-Agent-ID`. Claude has no default `bloom-launch-claude` agent ID. A direct `--agent-id VALUE` override applies to one launch and does not change `$HOME/.config/bloom/launcher.json`.
37
+ When an agent ID exists, both harness wrappers send it as `X-Bloom-Agent-ID`. When none is saved, each harness uses its default (`bloom-launch-claude`, `bloom-launch-codex`, or `bloom-launch-opencode`). A direct `--agent-id VALUE` override applies to one launch and does not change `$HOME/.config/bloom/launcher.json`.
38
38
 
39
39
  See the [README](../README.md#launch-and-arguments) and [engineering requirements](multi-harness-engineering-requirements.md).
@@ -10,25 +10,25 @@ macOS is the primary platform. Bloom does not install, upgrade, or repair the Co
10
10
  The Coding Harness retains its normal settings, permissions, plugins, and history.
11
11
  Install [Claude Code](https://docs.anthropic.com/en/docs/claude-code/overview), [Codex CLI](https://developers.openai.com/codex/), or [OpenCode](https://opencode.ai/docs/installation/) before using Bloom Launch.
12
12
 
13
- ## Install `0.3.0`
13
+ ## Install `0.3.1`
14
14
 
15
- These instructions describe `0.3.0`; if not yet available on PyPI, collaborators can use a source checkout.
15
+ These instructions describe `0.3.1`; if not yet available on PyPI, collaborators can use a source checkout.
16
16
  When available, choose either isolated installation tool:
17
17
 
18
18
  ```sh
19
- uv tool install 'bloom-launch==0.3.0'
19
+ uv tool install 'bloom-launch==0.3.1'
20
20
  # Or:
21
- pipx install 'bloom-launch==0.3.0'
21
+ pipx install 'bloom-launch==0.3.1'
22
22
  ```
23
23
 
24
- The selected source metadata is `0.3.0`. This does not establish publication or release approval.
24
+ The selected source metadata is `0.3.1`. This does not establish publication or release approval.
25
25
  The published `0.1.0a1` lacks the cached-vkey behavior described here.
26
26
  See its [historical PyPI instructions](https://pypi.org/project/bloom-launch/0.1.0a1/) for that version.
27
27
 
28
28
  ## Source checkout
29
29
 
30
30
  Collaborators need access to the private [repository](https://github.com/Bloom-Factory-Engineering/bloom-cli) to obtain a source checkout.
31
- Before using the commands below, confirm that project metadata and the owner-updated root lockfile both specify `0.3.0`.
31
+ Before using the commands below, confirm that project metadata and the owner-updated root lockfile both specify `0.3.1`.
32
32
  Agents must not edit `uv.lock` or bypass the locked install.
33
33
  Run from the checkout root:
34
34
 
@@ -43,7 +43,7 @@ uv run --no-sync bloom launch opencode
43
43
  ```
44
44
 
45
45
  In this checkout, prefix the documented `bloom` commands with `uv run --no-sync`.
46
- The source checkout implements the `0.3.0` behavior described in these documents.
46
+ The source checkout implements the `0.3.1` behavior described in these documents.
47
47
 
48
48
  ## Credentials and first launch
49
49
 
@@ -60,7 +60,7 @@ Existing model-only settings remain readable. The next successful launch prepara
60
60
 
61
61
  Use `--config` to replace the shared vkey, current harness's default model, and saved agent ID atomically.
62
62
  Use `--agent-id VALUE` to set an agent ID for one launch without saving it.
63
- When an agent ID exists, both harnesses receive `X-Bloom-Agent-ID`. Claude has no default `bloom-launch-claude` value.
63
+ When an agent ID exists, both harnesses receive `X-Bloom-Agent-ID`. When none is saved, each harness uses its default (`bloom-launch-claude`, `bloom-launch-codex`, or `bloom-launch-opencode`).
64
64
  Use `--session-id VALUE` to set a transient session ID for one launch. It is never saved, and both harnesses receive `X-Bloom-Session-ID` only when the value is present.
65
65
  Session IDs use the same printable-ASCII validation as agent IDs. An explicit blank value is rejected.
66
66
  Failed or cancelled replacement preserves the previous settings.
@@ -1,7 +1,7 @@
1
1
  # Launch behavior
2
2
 
3
3
  These instructions describe cached vkeys and configurable agent IDs.
4
- If `0.3.0` is not yet available on PyPI, collaborators can follow the [source-checkout installation](installation.md#source-checkout).
4
+ If `0.3.1` is not yet available on PyPI, collaborators can follow the [source-checkout installation](installation.md#source-checkout).
5
5
  In that checkout, use `uv run --no-sync bloom` instead of `bloom`.
6
6
 
7
7
  ## Commands
@@ -23,7 +23,8 @@ bloom launch claude --config --model EXACT_GATEWAY_MODEL_ID
23
23
  bloom launch opencode --base_url https://gateway.example.com/prefix/v1
24
24
  ```
25
25
 
26
- Global options are `-h`/`--help` and `--version`.
26
+ Global options are `-h`/`--help`, `--version`, and `--show-config`.
27
+ Use `--show-config` alone to print the saved launcher config.
27
28
  `launch` takes one positional harness: `claude`, `codex`, `copilot`, or `opencode`.
28
29
  Its options are `-h`/`--help`, `--config`, `--model EXACT_GATEWAY_MODEL_ID`, `--base_url BASE_URL`, and `--agent-id VALUE`.
29
30
  Use `--session-id VALUE` to set a per-launch session ID. Unknown arguments after the harness pass to that harness, and `--` starts an explicit native-argument suffix. Bloom reserves native connection controls. For Codex, these include `-m`, `--model`, `-c`, `--config`, `--profile`, `--oss`, `--local-provider`, and `--base_url`. For Copilot, these include `--model`, `-m`, `--provider`, `--provider-url`, and `--provider-base-url`. Codex uses Bloom's persistent `~/.config/bloom/codex` home for project trust state, while Bloom keeps connection values invocation-scoped. Copilot uses environment-only BYOK settings and does not rewrite `~/.copilot`.
@@ -75,7 +76,7 @@ Wildcard entries are filtered from mixed grant lists. Wildcard-only grants canno
75
76
 
76
77
  Bloom stores the optional agent ID globally in `$HOME/.config/bloom/launcher.json`, beside the gateway entries.
77
78
  When present, both Claude Code and OpenCode receive it in the `X-Bloom-Agent-ID` header.
78
- Claude has no default `bloom-launch-claude` value.
79
+ When no agent ID is saved, each harness uses its default (`bloom-launch-claude`, `bloom-launch-codex`, or `bloom-launch-opencode`).
79
80
  Use `--agent-id VALUE` for a one-launch override. Bloom does not save that override.
80
81
 
81
82
  ## Gateways and saved settings
@@ -1,6 +1,6 @@
1
- # Manual `0.3.0` release
1
+ # Manual `0.3.1` release
2
2
 
3
- The selected candidate version is `bloom-launch==0.3.0`, with command `bloom` and Python 3.12 or later.
3
+ The selected candidate version is `bloom-launch==0.3.1`, with command `bloom` and Python 3.12 or later.
4
4
  The release-preparation public PyPI metadata check returned 404 for this version. Publication remains pending.
5
5
  This procedure describes preparation and gates. It does not grant candidate approval or publication authority.
6
6
  GitHub Actions retains a candidate artifact only. A human approves the hashes and performs the upload locally.
@@ -8,16 +8,16 @@ This procedure does not authorize native execution, paid calls, credential-store
8
8
 
9
9
  ## Version consistency
10
10
 
11
- `pyproject.toml`, artifact scripts, release inventory, and matching release tests now select `0.3.0`.
11
+ `pyproject.toml`, artifact scripts, release inventory, and matching release tests now select `0.3.1`.
12
12
  The owner supplied the matching root package version update in `uv.lock`. Dependency entries remain unchanged.
13
- Fresh locked installation passed and the installed source command reports `0.3.0`.
13
+ Fresh locked installation passed and the installed source command reports `0.3.1`.
14
14
  Preserve every dependency entry. Agents must not edit `uv.lock`; the owner-supplied version change is part of the coordinated source commit.
15
- The historical `0.1.0` to `0.1.0a1` exception does not authorize an agent change for `0.3.0`.
15
+ The historical `0.1.0` to `0.1.0a1` exception does not authorize an agent change for `0.3.1`.
16
16
  Preserve locked validation and verify that candidate creation does not change the committed lockfile.
17
17
 
18
18
  Before creating a candidate:
19
19
 
20
- 1. Confirm the committed project and lockfile root versions both select `0.3.0`.
20
+ 1. Confirm the committed project and lockfile root versions both select `0.3.1`.
21
21
  2. Confirm agreement between project metadata, lockfile, artifact scripts, workflow inventory, release tests, and these documents.
22
22
  3. Verify the exact-version install instructions and supported arguments in the README.
23
23
  4. Verify that wheel and sdist descriptions match the README. PyPI displays the packaged description after upload.
@@ -30,7 +30,7 @@ Do not republish or overwrite `0.1.0a1`.
30
30
  The owner approved the macOS-first `0.1.0a1` alpha, Apache-2.0 licensing, and public distribution of its included Python source.
31
31
  The owner also approved manual exact-artifact publication while retaining the private repository on GitHub Team.
32
32
  The historical lockfile exception covered only the root version change from `0.1.0` to `0.1.0a1`.
33
- These historical approvals do not authorize a `0.3.0` upload or transfer acceptance of older artifacts.
33
+ These historical approvals do not authorize a `0.3.1` upload or transfer acceptance of older artifacts.
34
34
 
35
35
  ## Account and repository preparation
36
36
 
@@ -108,8 +108,8 @@ Download exactly that artifact into a fresh private directory. It contains:
108
108
 
109
109
  ```text
110
110
  manifest.json
111
- dist/bloom_launch-0.3.0-py3-none-any.whl
112
- dist/bloom_launch-0.3.0.tar.gz
111
+ dist/bloom_launch-0.3.1-py3-none-any.whl
112
+ dist/bloom_launch-0.3.1.tar.gz
113
113
  ```
114
114
 
115
115
  The manifest records both SHA256 hashes, source SHA, repository, run ID, and attempt.
@@ -121,7 +121,7 @@ Each new run or attempt creates a new candidate. Never substitute another run's
121
121
  The build backend's isolated dependency resolution is not locked by `uv.lock`.
122
122
  Builds are not promised to produce identical bytes across runs.
123
123
  README edits change wheel metadata and can change both artifact hashes even when runtime modules stay identical.
124
- Acceptance and hash approval for `0.1.0a1` do not transfer to `0.3.0`. Review the exact new candidate bytes.
124
+ Acceptance and hash approval for `0.1.0a1` do not transfer to `0.3.1`. Review the exact new candidate bytes.
125
125
 
126
126
  ## Review and exact-hash approval
127
127
 
@@ -171,8 +171,8 @@ Use the same `CANDIDATE` directory and release-record variables as above.
171
171
 
172
172
  ```sh
173
173
  uvx --from twine==7.0.0 twine check --strict \
174
- "$CANDIDATE/dist/bloom_launch-0.3.0-py3-none-any.whl" \
175
- "$CANDIDATE/dist/bloom_launch-0.3.0.tar.gz"
174
+ "$CANDIDATE/dist/bloom_launch-0.3.1-py3-none-any.whl" \
175
+ "$CANDIDATE/dist/bloom_launch-0.3.1.tar.gz"
176
176
 
177
177
  uv run --no-sync python scripts/verify_release_candidate.py "$CANDIDATE" \
178
178
  --source-sha "$SOURCE_SHA" \
@@ -183,8 +183,8 @@ env -u TWINE_PASSWORD -u TWINE_NON_INTERACTIVE \
183
183
  uvx --from twine==7.0.0 twine upload \
184
184
  --config-file /dev/null --repository-url https://upload.pypi.org/legacy/ \
185
185
  --username __token__ \
186
- "$CANDIDATE/dist/bloom_launch-0.3.0-py3-none-any.whl" \
187
- "$CANDIDATE/dist/bloom_launch-0.3.0.tar.gz"
186
+ "$CANDIDATE/dist/bloom_launch-0.3.1-py3-none-any.whl" \
187
+ "$CANDIDATE/dist/bloom_launch-0.3.1.tar.gz"
188
188
  ```
189
189
 
190
190
  Enter the API token, including its prefix, at Twine's hidden prompt. Do not use the account password.
@@ -196,7 +196,7 @@ This manual token upload does not provide a Trusted Publishing attestation.
196
196
  ## Post-upload verification and recovery
197
197
 
198
198
  Compare PyPI's filenames and SHA256 values with the approved receipt. Retain the upload result.
199
- Install `bloom-launch==0.3.0` from PyPI outside the checkout in fresh isolated uv-tool and pipx environments.
199
+ Install `bloom-launch==0.3.1` from PyPI outside the checkout in fresh isolated uv-tool and pipx environments.
200
200
  Verify version, help, and the agreed installed-user journey. Record the final receipt and remaining evidence limits.
201
201
  Obtain separate authority for repeated native execution, paid calls, or credential-store access.
202
202
 
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "bloom-launch"
7
- version = "0.3.0"
7
+ version = "0.3.1"
8
8
  description = "Scoped launcher for native coding harnesses"
9
9
  readme = "README.md"
10
10
  license = "Apache-2.0"
@@ -55,7 +55,7 @@ def safe_path(name):
55
55
  def validate(root, dist, terms):
56
56
  project = tomllib.loads((root / "pyproject.toml").read_text())["project"]
57
57
  name, version = project["name"], project["version"]
58
- require(name == "bloom-launch" and version == "0.3.0")
58
+ require(name == "bloom-launch" and version == "0.3.1")
59
59
  require(project["license"] == "Apache-2.0" and project["license-files"] == ["LICENSE"])
60
60
  license_bytes = (root / "LICENSE").read_bytes()
61
61
  readme_bytes = (root / project["readme"]).read_bytes()
@@ -6,8 +6,8 @@ import json
6
6
  import re
7
7
  from pathlib import Path
8
8
 
9
- WHEEL = "bloom_launch-0.3.0-py3-none-any.whl"
10
- SDIST = "bloom_launch-0.3.0.tar.gz"
9
+ WHEEL = "bloom_launch-0.3.1-py3-none-any.whl"
10
+ SDIST = "bloom_launch-0.3.1.tar.gz"
11
11
 
12
12
 
13
13
  def unique_fields(pairs):
@@ -7,6 +7,7 @@ from typing import NoReturn
7
7
 
8
8
  from .contract import LaunchError
9
9
  from .launch import launch
10
+ from .settings import describe_settings, launcher_settings_path, load_settings
10
11
  from .urls import DEFAULT_BASE_URL
11
12
  from .wrappers import validate_native_args
12
13
 
@@ -20,6 +21,8 @@ def main(argv: list[str] | None = None) -> int:
20
21
  parser = _Parser(prog="bloom", allow_abbrev=False,
21
22
  description="Connect an installed coding harness to Bloom.")
22
23
  parser.add_argument("--version", action="version", version=version("bloom-launch"))
24
+ parser.add_argument("--show-config", action="store_true",
25
+ help="Print saved launcher config and exit")
23
26
  commands = parser.add_subparsers(dest="command", required=True)
24
27
  command = commands.add_parser("launch", allow_abbrev=False)
25
28
  command.add_argument("harness", choices=("claude", "codex", "copilot", "opencode"))
@@ -29,6 +32,10 @@ def main(argv: list[str] | None = None) -> int:
29
32
  command.add_argument("--agent-id")
30
33
  command.add_argument("--session-id")
31
34
  argv = list(sys.argv[1:] if argv is None else argv)
35
+ if argv[:1] == ["--show-config"]:
36
+ if argv != ["--show-config"]:
37
+ parser.error("Invalid command arguments; see --help")
38
+ return _show_config()
32
39
  explicit_native_args = ()
33
40
  if "--" in argv:
34
41
  boundary = argv.index("--")
@@ -81,5 +88,15 @@ def main(argv: list[str] | None = None) -> int:
81
88
  return 2
82
89
 
83
90
 
91
+ def _show_config() -> int:
92
+ try:
93
+ text = describe_settings(load_settings(launcher_settings_path()))
94
+ except LaunchError as error:
95
+ print(f"bloom: {error}", file=sys.stderr)
96
+ return 2
97
+ print(text)
98
+ return 0
99
+
100
+
84
101
  if __name__ == "__main__":
85
102
  raise SystemExit(main())
@@ -17,7 +17,7 @@ from .labels import model_label
17
17
  from .model_metadata import fetch_input_limits
18
18
  from .process import run_launch
19
19
  from .progress import fetching_models
20
- from .settings import GatewaySettings, load_settings, save_selection
20
+ from .settings import GatewaySettings, launcher_settings_path, load_settings, save_selection
21
21
  from .urls import normalize_base_url
22
22
  from .wrappers import prepare_claude, prepare_codex, prepare_copilot, prepare_opencode
23
23
 
@@ -27,8 +27,8 @@ _DEFAULT_AGENT_IDS = {
27
27
  "copilot": "bloom-launch-copilot",
28
28
  "opencode": "bloom-launch-opencode",
29
29
  }
30
- _COPILOT_PINNED_VERSION = "1.0.112"
31
- _COPILOT_HEADERS_SINCE = (1, 0, 112)
30
+ _COPILOT_MIN_VERSION = (1, 0, 112)
31
+ _COPILOT_MIN_VERSION_TEXT = ".".join(str(part) for part in _COPILOT_MIN_VERSION)
32
32
 
33
33
 
34
34
  def prompt_vkey() -> Secret:
@@ -62,28 +62,37 @@ def _validate_codex_version(executable: Path) -> None:
62
62
  raise LaunchError("Codex CLI 0.167.2 is required for this launch")
63
63
 
64
64
 
65
- def _validate_copilot_version(executable: Path) -> tuple[str, bool]:
66
- """Return the reported version and whether custom provider headers are supported."""
65
+ def _validate_copilot_version(executable: Path) -> str | None:
66
+ """Accept Copilot CLI 1.x at or above the tested BYOK floor. Warn outside 1.0.x."""
67
67
  try:
68
68
  result = subprocess.run((str(executable), "--version"), capture_output=True,
69
69
  text=True, check=True, timeout=5)
70
70
  except (OSError, subprocess.SubprocessError):
71
71
  raise LaunchError(
72
72
  f"Cannot verify Copilot CLI version; install GitHub Copilot CLI "
73
- f"{_COPILOT_PINNED_VERSION}") from None
74
- match = re.fullmatch(r"GitHub Copilot CLI (\d+)\.(\d+)\.(\d+)\.?",
75
- result.stdout.strip().splitlines()[0].strip())
73
+ f"{_COPILOT_MIN_VERSION_TEXT} or later 1.x") from None
74
+ lines = [line.strip() for line in result.stdout.splitlines() if line.strip()]
75
+ if not lines:
76
+ raise LaunchError(
77
+ f"Unsupported Copilot CLI version; install GitHub Copilot CLI "
78
+ f"{_COPILOT_MIN_VERSION_TEXT} or later 1.x")
79
+ match = re.fullmatch(r"GitHub Copilot CLI (\d+)\.(\d+)\.(\d+)\.?", lines[0])
76
80
  if match is None:
77
81
  raise LaunchError(
78
82
  f"Unsupported Copilot CLI version; install GitHub Copilot CLI "
79
- f"{_COPILOT_PINNED_VERSION}")
83
+ f"{_COPILOT_MIN_VERSION_TEXT} or later 1.x")
80
84
  version = tuple(int(part) for part in match.groups())
81
85
  version_text = ".".join(str(part) for part in version)
82
- if version[0] != 1 or version[1] != 0 or version[2] > _COPILOT_HEADERS_SINCE[2]:
86
+ if version[0] != 1 or version < _COPILOT_MIN_VERSION:
83
87
  raise LaunchError(
84
88
  f"Unsupported Copilot CLI version {version_text}; install GitHub Copilot CLI "
85
- f"{_COPILOT_PINNED_VERSION}")
86
- return version_text, version >= _COPILOT_HEADERS_SINCE
89
+ f"{_COPILOT_MIN_VERSION_TEXT} or later 1.x")
90
+ if version[1] > 0:
91
+ return (
92
+ f"bloom: Copilot CLI {version_text} is newer than the tested 1.0.x line; "
93
+ "continuing launch"
94
+ )
95
+ return None
87
96
 
88
97
 
89
98
  def launch(harness: str, *, base_url: str, model: str | None = None, reset: bool = False,
@@ -96,19 +105,13 @@ def launch(harness: str, *, base_url: str, model: str | None = None, reset: bool
96
105
  executable = shutil.which(harness, path=environment.get("PATH", os.defpath))
97
106
  if executable is None:
98
107
  raise LaunchError("Harness executable not found; install it and check PATH")
99
- copilot_headers = True
100
- copilot_version = _COPILOT_PINNED_VERSION
101
108
  if harness == "codex":
102
109
  _validate_codex_version(Path(executable))
103
110
  elif harness == "copilot":
104
- copilot_version, copilot_headers = _validate_copilot_version(Path(executable))
105
- if not copilot_headers:
106
- print(
107
- f"bloom: Copilot CLI {copilot_version} cannot send agent/session headers; "
108
- "attribution is off for this launch",
109
- file=sys.stderr,
110
- )
111
- path = Path(environment.get("HOME", str(Path.home()))) / ".config/bloom/launcher.json"
111
+ warning = _validate_copilot_version(Path(executable))
112
+ if warning is not None:
113
+ print(warning, file=sys.stderr)
114
+ path = launcher_settings_path(environment)
112
115
  all_settings = load_settings(path)
113
116
  settings = cast(GatewaySettings, all_settings.get(base_url, {}))
114
117
  saved_agent_id = cast(str | None, all_settings.get("agent_id"))
@@ -186,15 +189,8 @@ def launch(harness: str, *, base_url: str, model: str | None = None, reset: bool
186
189
  resolved_agent_id, direct_session_id)
187
190
  prepare = {"claude": prepare_claude, "codex": prepare_codex,
188
191
  "copilot": prepare_copilot, "opencode": prepare_opencode}[harness]
189
- prepare_kwargs = {
190
- "executable": Path(executable).absolute(),
191
- "cwd": cwd,
192
- "environment": environment,
193
- "native_args": native_args,
194
- }
195
- if harness == "copilot":
196
- prepare_kwargs["headers_supported"] = copilot_headers
197
- plan = prepare(connection, **prepare_kwargs)
192
+ plan = prepare(connection, executable=Path(executable).absolute(), cwd=cwd,
193
+ environment=environment, native_args=native_args)
198
194
  required_save = prompted or reset or not usable
199
195
  new_limit = fresh_limits.get(selected)
200
196
  try: