bloom-launch 0.3.0__tar.gz → 0.4.0__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.
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/.github/workflows/release.yml +2 -2
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/PKG-INFO +15 -10
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/README.md +14 -9
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/docs/adapter-contract.md +6 -1
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/docs/alpha-release-contract.md +8 -8
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/docs/code-harness-compatibility/copilot-1.0.112.md +5 -5
- bloom_launch-0.4.0/docs/code-harness-compatibility/opencode-2.3.2.md +65 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/docs/connections.md +1 -1
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/docs/installation.md +9 -9
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/docs/quick-launch.md +4 -3
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/docs/releasing.md +15 -15
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/pyproject.toml +1 -1
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/scripts/check_artifacts.py +1 -1
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/scripts/verify_release_candidate.py +2 -2
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/src/bloom_cli/cli.py +17 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/src/bloom_cli/launch.py +65 -34
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/src/bloom_cli/settings.py +49 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/src/bloom_cli/wrappers.py +34 -7
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/tests/installed_connection_probe.py +4 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/tests/native_smoke_support.py +4 -1
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/tests/test_artifacts.py +2 -2
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/tests/test_cli_forwarding.py +17 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/tests/test_copilot_launch.py +44 -19
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/tests/test_model_limits.py +1 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/tests/test_native_smoke.py +6 -2
- bloom_launch-0.4.0/tests/test_opencode_launch.py +180 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/tests/test_release_workflow.py +5 -5
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/tests/test_secret_validation.py +1 -0
- bloom_launch-0.4.0/tests/test_show_config.py +109 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/tests/test_thin_launch.py +4 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/tests/thin_job_control_probe.py +1 -1
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/uv.lock +1 -1
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/.github/workflows/local-checks.yml +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/.gitignore +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/CONTEXT.md +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/LICENSE +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/docs/adr/0001-authorization-is-not-qualification.md +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/docs/adr/0002-persistent-native-profiles.md +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/docs/adr/0003-credential-and-process-ownership.md +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/docs/ci-efficiency-decisions.md +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/docs/code-harness-compatibility/codex-0.167.2.md +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/docs/demo-goal.md +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/docs/development.md +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/docs/headless.md +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/docs/local-testing.md +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/docs/models.md +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/docs/multi-harness-engineering-requirements.md +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/docs/opencode-bootstrap-compatibility.md +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/docs/opencode-demo.md +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/docs/qualification.md +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/docs/superpowers/plans/2026-11-04-ci-efficiency.md +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/docs/superpowers/plans/2026-11-04-coderabbit-followup.md +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/docs/superpowers/plans/2026-11-05-demo-goal.md +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/docs/superpowers/plans/2026-11-05-opencode-demo.md +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/docs/superpowers/plans/2026-11-11-agent-id.md +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/docs/superpowers/plans/2026-11-12-agent-id-default.md +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/docs/superpowers/plans/2026-11-12-codex-launch-spike.md +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/docs/superpowers/plans/2026-11-12-session-id.md +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/docs/superpowers/specs/2026-11-04-ci-efficiency-design.md +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/docs/superpowers/specs/2026-11-04-coderabbit-followup-design.md +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/docs/superpowers/specs/2026-11-05-demo-goal-design.md +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/docs/superpowers/specs/2026-11-05-opencode-demo-design.md +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/scripts/check_local_install.sh +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/scripts/diagnose_discovery.py +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/src/bloom_cli/__init__.py +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/src/bloom_cli/__main__.py +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/src/bloom_cli/contract.py +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/src/bloom_cli/discovery.py +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/src/bloom_cli/labels.py +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/src/bloom_cli/model_metadata.py +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/src/bloom_cli/process.py +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/src/bloom_cli/progress.py +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/src/bloom_cli/urls.py +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/tests/conftest.py +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/tests/job_control.py +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/tests/job_control_probe.py +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/tests/pty_driver.py +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/tests/test_ci_workflow.py +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/tests/test_codex_compatibility.py +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/tests/test_codex_launch.py +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/tests/test_discovery_diagnostic.py +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/tests/test_install_script.py +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/tests/test_installed_launch.py +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/tests/test_job_control.py +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/tests/test_launch_progress.py +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/tests/test_model_labels.py +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/tests/test_model_metadata.py +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/tests/test_process.py +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/tests/test_progress.py +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/tests/test_urls.py +0 -0
- {bloom_launch-0.3.0 → bloom_launch-0.4.0}/tests/test_wrappers.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.
|
|
79
|
+
names = {"bloom_launch-0.4.0-py3-none-any.whl", "bloom_launch-0.4.0.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.
|
|
147
|
+
names = ("bloom_launch-0.4.0-py3-none-any.whl", "bloom_launch-0.4.0.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
|
+
Version: 0.4.0
|
|
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
|
|
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 `1.x` or `2.3.2+` (`2.x`) 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.
|
|
32
|
-
The selected source version is `0.
|
|
31
|
+
These instructions describe `0.4.0`; if not yet available on PyPI, collaborators can use a source checkout.
|
|
32
|
+
The selected source version is `0.4.0`.
|
|
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.
|
|
37
|
+
uv tool install 'bloom-launch==0.4.0'
|
|
38
38
|
# Or:
|
|
39
|
-
pipx install 'bloom-launch==0.
|
|
39
|
+
pipx install 'bloom-launch==0.4.0'
|
|
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.
|
|
43
|
+
Use a checkout whose project metadata and lockfile both specify `0.4.0` 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
|
|
@@ -90,12 +91,13 @@ Use `--` when you want to mark the start of native arguments clearly. Bloom send
|
|
|
90
91
|
bloom launch claude -- --verbose
|
|
91
92
|
```
|
|
92
93
|
|
|
93
|
-
Bloom keeps `--model` for its own gateway model selection. Bloom also keeps Claude Code's `--settings` option for its private settings file.
|
|
94
|
+
Bloom keeps `--model` for its own gateway model selection. Bloom also keeps Claude Code's `--settings` option for its private settings file, and OpenCode's `-m`, `--server`, and `--standalone` options.
|
|
94
95
|
|
|
95
96
|
| Argument | Purpose |
|
|
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,10 @@ 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`.
|
|
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.
|
|
121
|
+
OpenCode `1.x` or `2.3.2` or later `2.x` is required. Bloom checks `opencode --version` before launch.
|
|
122
|
+
On OpenCode `2.x`, Bloom adds `--standalone`, so the launch uses a private OpenCode server. It does not use or change the shared OpenCode background service, and plain `opencode` keeps its normal connection.
|
|
123
|
+
OpenCode commands that cannot use a private server (for example `service`, `serve`, `pair`, `upgrade`, or `acp`) stop with an `Unrecognized flag: --standalone` error. Run them with plain `opencode`.
|
|
119
124
|
|
|
120
125
|
`--config` prompts for a replacement vkey, displays model choices, and prompts for an agent ID.
|
|
121
126
|
Bloom saves the vkey, agent ID, and current harness's model atomically after discovery, selection, and native preparation succeed.
|
|
@@ -137,7 +142,7 @@ Bloom saves the vkey, agent ID, and harness defaults in the global `$HOME/.confi
|
|
|
137
142
|
**This file contains a secret. Do not paste or share its contents.**
|
|
138
143
|
Never put a vkey in command arguments, a URL, a project file, or an error report.
|
|
139
144
|
When an agent ID exists, Bloom configures `X-Bloom-Agent-ID` for Claude Code, Codex, and OpenCode.
|
|
140
|
-
|
|
145
|
+
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
146
|
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
147
|
`--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
148
|
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
|
|
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 `1.x` or `2.3.2+` (`2.x`) 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.
|
|
17
|
-
The selected source version is `0.
|
|
16
|
+
These instructions describe `0.4.0`; if not yet available on PyPI, collaborators can use a source checkout.
|
|
17
|
+
The selected source version is `0.4.0`.
|
|
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.
|
|
22
|
+
uv tool install 'bloom-launch==0.4.0'
|
|
23
23
|
# Or:
|
|
24
|
-
pipx install 'bloom-launch==0.
|
|
24
|
+
pipx install 'bloom-launch==0.4.0'
|
|
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.
|
|
28
|
+
Use a checkout whose project metadata and lockfile both specify `0.4.0` 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
|
|
@@ -75,12 +76,13 @@ Use `--` when you want to mark the start of native arguments clearly. Bloom send
|
|
|
75
76
|
bloom launch claude -- --verbose
|
|
76
77
|
```
|
|
77
78
|
|
|
78
|
-
Bloom keeps `--model` for its own gateway model selection. Bloom also keeps Claude Code's `--settings` option for its private settings file.
|
|
79
|
+
Bloom keeps `--model` for its own gateway model selection. Bloom also keeps Claude Code's `--settings` option for its private settings file, and OpenCode's `-m`, `--server`, and `--standalone` options.
|
|
79
80
|
|
|
80
81
|
| Argument | Purpose |
|
|
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,10 @@ 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`.
|
|
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.
|
|
106
|
+
OpenCode `1.x` or `2.3.2` or later `2.x` is required. Bloom checks `opencode --version` before launch.
|
|
107
|
+
On OpenCode `2.x`, Bloom adds `--standalone`, so the launch uses a private OpenCode server. It does not use or change the shared OpenCode background service, and plain `opencode` keeps its normal connection.
|
|
108
|
+
OpenCode commands that cannot use a private server (for example `service`, `serve`, `pair`, `upgrade`, or `acp`) stop with an `Unrecognized flag: --standalone` error. Run them with plain `opencode`.
|
|
104
109
|
|
|
105
110
|
`--config` prompts for a replacement vkey, displays model choices, and prompts for an agent ID.
|
|
106
111
|
Bloom saves the vkey, agent ID, and current harness's model atomically after discovery, selection, and native preparation succeed.
|
|
@@ -122,7 +127,7 @@ Bloom saves the vkey, agent ID, and harness defaults in the global `$HOME/.confi
|
|
|
122
127
|
**This file contains a secret. Do not paste or share its contents.**
|
|
123
128
|
Never put a vkey in command arguments, a URL, a project file, or an error report.
|
|
124
129
|
When an agent ID exists, Bloom configures `X-Bloom-Agent-ID` for Claude Code, Codex, and OpenCode.
|
|
125
|
-
|
|
130
|
+
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
131
|
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
132
|
`--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
133
|
Session IDs use the same printable-ASCII validation as agent IDs. Blank or invalid values are rejected.
|
|
@@ -15,8 +15,13 @@ UUID prefix removal affects picker labels only. Wrappers receive exact model IDs
|
|
|
15
15
|
No qualification registry, native assessment, or separate candidate route remains.
|
|
16
16
|
|
|
17
17
|
Claude uses a private settings overlay with endpoint, bearer, cleared competing connection inputs, and model defaults.
|
|
18
|
-
OpenCode uses `OPENCODE_CONFIG_CONTENT`, provider `bloom`, `/v1`, and the exact native selector `bloom/EXACT_ID`.
|
|
18
|
+
OpenCode uses `OPENCODE_CONFIG_CONTENT`, provider `bloom`, `/v1`, and the exact native selector `bloom/EXACT_ID` as `model` and `small_model`.
|
|
19
19
|
The OpenCode wrapper preserves unrelated inherited inline JSON fields and nested siblings.
|
|
20
|
+
`launch.py` checks `opencode --version`. OpenCode `1.x` starts as `--model bloom/EXACT_ID`.
|
|
21
|
+
OpenCode `2.3.2` or later `2.x` has no root `--model` and reads inline configuration in its server, so it starts with `--standalone` and takes the model from inline configuration.
|
|
22
|
+
Without `--standalone`, OpenCode 2.x would use the shared background service, which never sees the child-only configuration, or start one that keeps it, including the vkey.
|
|
23
|
+
Bloom adds `--standalone=true` to every OpenCode 2.x launch. The explicit value matters: a bare `--standalone` takes a following `false`, `0`, `no`, or `off` (for example a directory name) as its value. Commands that reject it (for example `service`, `serve`, `pair`, `upgrade`, `acp`) stop at OpenCode's flag check before they run, so the inline credentials never reach them.
|
|
24
|
+
See [OpenCode 2.3.2 compatibility](code-harness-compatibility/opencode-2.3.2.md).
|
|
20
25
|
The native harness owns every other configuration source, plugin, permission, and history entry.
|
|
21
26
|
|
|
22
27
|
Before handoff, the wrapper or caller cleans an abandoned plan.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
# `0.
|
|
1
|
+
# `0.4.0` macOS-first public release contract
|
|
2
2
|
|
|
3
|
-
This contract describes the selected `bloom-launch==0.
|
|
3
|
+
This contract describes the selected `bloom-launch==0.4.0` 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.
|
|
6
|
+
`0.4.0` 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.
|
|
92
|
-
- Require the owner-
|
|
91
|
+
- Align distribution `bloom-launch`, selected version `0.4.0`, command `bloom`, and Python requirement `>=3.12` throughout the candidate.
|
|
92
|
+
- Require the owner-authorized root package version update in `uv.lock` to `0.4.0` 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-
|
|
116
|
-
Fresh locked installation passed and the installed source command reports `0.
|
|
115
|
+
The owner-authorized root lockfile version matches the project at `0.4.0`, with no dependency-entry changes.
|
|
116
|
+
Fresh locked installation passed and the installed source command reports `0.4.0`.
|
|
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.
|
|
137
|
+
The artifact contains `manifest.json`, `dist/bloom_launch-0.4.0-py3-none-any.whl`, and `dist/bloom_launch-0.4.0.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.
|
{bloom_launch-0.3.0 → bloom_launch-0.4.0}/docs/code-harness-compatibility/copilot-1.0.112.md
RENAMED
|
@@ -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
|
|
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
|
-
-
|
|
66
|
-
-
|
|
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
|
|
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.
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# OpenCode 2.3.2 Compatibility Evidence
|
|
2
|
+
|
|
3
|
+
Status: loopback adapter evidence and one live staging `run` recorded on 2026-11-19. This is not full interactive qualification.
|
|
4
|
+
|
|
5
|
+
## Baseline
|
|
6
|
+
|
|
7
|
+
- Executable: `opencode` (Homebrew stable)
|
|
8
|
+
- Reported version: `opencode v2.3.2`
|
|
9
|
+
- Host: macOS Apple Silicon
|
|
10
|
+
- Tested native surfaces: the interactive TUI (no subcommand) and `run`
|
|
11
|
+
|
|
12
|
+
## Changes From OpenCode 1.x
|
|
13
|
+
|
|
14
|
+
- The root command has no `--model` option. `opencode --model ...` stops with `Unrecognized flag: --model in command opencode`. Only `run` and `mini` accept `--model`/`-m`.
|
|
15
|
+
- OpenCode is client/server. By default the TUI and `run` connect to a shared background service (`opencode serve --service`, discovered through `$XDG_STATE_HOME/opencode/service.json`) or start one.
|
|
16
|
+
- The server reads `OPENCODE_CONFIG_CONTENT`. A running background service never sees the child-only value, and a service started by the launch could keep it after the launch ends.
|
|
17
|
+
- `--standalone` runs a private server for that invocation. It starts `opencode serve --stdio --port 0` as a child that listens on a loopback port and inherits the child environment.
|
|
18
|
+
- `--standalone` is a boolean flag. A bare `--standalone` takes a following `false`, `0`, `no`, or `off` as its value; `opencode --standalone false debug config` used the shared service. `--standalone=true` keeps the next word as a normal argument. A second `--standalone` or `--no-standalone` stops with `Invalid value for flag --standalone: "2 occurrences"`.
|
|
19
|
+
- Support for `--standalone` is per leaf command. The root command, `run`, `mini`, `models`, `stats`, `api`, `reload`, every `session` and `auth` command, `debug agents`, `debug config`, `mcp list`/`auth`/`logout`, and `plugin list`/`check`/`update` accept it. `upgrade`/`update`, `uninstall`, `acp`, `pair`, `serve`, every `service` command, `debug heap-dump`/`paths`, `mcp add`, and `plugin add`/`remove` reject it at flag parsing, before the command runs.
|
|
20
|
+
- Without `--standalone`, a command that needs a server starts the shared service when none is running. `service start`, `debug config`, `pair`, and `models` each started a detached `opencode serve --service` (parent pid 1) whose environment held the caller's `OPENCODE_CONFIG_CONTENT`. That process outlives the caller.
|
|
21
|
+
- OpenCode 1.x configuration fields are still accepted. `provider`, `model`, and `small_model` keep working. `small_model` becomes the title agent's model.
|
|
22
|
+
- Inline configuration is merged after global, `OPENCODE_CONFIG`, and project configuration, and before managed system preferences. It overrides a personal or project `model`.
|
|
23
|
+
- The TUI picks its model in this order: CLI argument, the last configuration document with `model`, then recent models.
|
|
24
|
+
- `@ai-sdk/openai-compatible` is built in. No package download is needed.
|
|
25
|
+
|
|
26
|
+
## Adapter Mapping
|
|
27
|
+
|
|
28
|
+
`launch.py` runs `opencode --version` before any vkey prompt:
|
|
29
|
+
|
|
30
|
+
- `1.x`: argv prefix `--model bloom/<selected Bloom model>` (unchanged from earlier releases).
|
|
31
|
+
- `2.3.2` or later `2.x`: argv prefix `--standalone=true` for every command. Commands that reject the flag stop with `Unrecognized flag: --standalone` before they run, so Bloom's inline credentials never reach a shared service.
|
|
32
|
+
- Empty or unparsable output, `0.x` (including `0.0.0-<channel>-<n>` preview builds), `2.x` below `2.3.2` (including `2.3.2` prereleases such as `2.3.2-rc.1`), and other majors: refuse.
|
|
33
|
+
|
|
34
|
+
The inline configuration is the same for both majors:
|
|
35
|
+
|
|
36
|
+
```text
|
|
37
|
+
OPENCODE_CONFIG_CONTENT = inherited inline JSON plus
|
|
38
|
+
model = small_model = "bloom/<selected Bloom model>"
|
|
39
|
+
provider.bloom.npm = "@ai-sdk/openai-compatible"
|
|
40
|
+
provider.bloom.options.baseURL = "<Bloom base URL>/v1"
|
|
41
|
+
provider.bloom.options.apiKey = <selected Bloom vkey>
|
|
42
|
+
provider.bloom.options.headers = X-Bloom-Agent-ID / X-Bloom-Session-ID when set
|
|
43
|
+
provider.bloom.models["<selected Bloom model>"]
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Native Argument Policy
|
|
47
|
+
|
|
48
|
+
The adapter forwards other native arguments in their original order. It reserves:
|
|
49
|
+
|
|
50
|
+
- `--model` and `-m`, which would select another model
|
|
51
|
+
- `--server`, which would connect to another server instead of the private one
|
|
52
|
+
- `--standalone`, which Bloom already adds
|
|
53
|
+
|
|
54
|
+
## Evidence
|
|
55
|
+
|
|
56
|
+
- Sandboxed loopback probe (`tests/test_native_smoke.py`, isolated HOME/XDG, fake vkey): `opencode --standalone run` exited `0` and sent two `POST /v1/chat/completions` requests with the selected model and `Authorization: Bearer <fake vkey>`. Project instructions were loaded, an inherited inline `bash` deny removed the `bash` tool, and a personal `model` in the global configuration was overridden.
|
|
57
|
+
- TUI through `bloom launch opencode` in a PTY against a loopback recorder: OpenCode started without a flag error, and the typed prompt reached `POST /v1/chat/completions` with the selected model, the fake vkey, and `X-Bloom-Agent-ID`.
|
|
58
|
+
- Live `run` against `https://stage-gateway.bloomfactory.ai` with an allowed Anthropic model returned a normal answer.
|
|
59
|
+
- The shared background service kept the same process and an unchanged `service.json` during every check. No new background service was started.
|
|
60
|
+
|
|
61
|
+
## Limits
|
|
62
|
+
|
|
63
|
+
- A continued session keeps its earlier model. `bloom launch opencode run --continue` on a session created with another provider sent the request to that provider, not to Bloom. The TUI's `--continue` and `--session` behave the same way. On `run` and `mini`, adding `--model bloom/<id>` routed the continued session to Bloom.
|
|
64
|
+
- OpenCode 1.x was not re-tested for this change. Its argv is unchanged.
|
|
65
|
+
- The sandboxed probe needs loopback inbound access, because the private server listens on a loopback port.
|
|
@@ -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`.
|
|
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).
|
|
@@ -3,32 +3,32 @@
|
|
|
3
3
|
## Requirements
|
|
4
4
|
|
|
5
5
|
- Python 3.12 or later.
|
|
6
|
-
- Claude Code, Codex CLI `0.167.2`, or OpenCode already installed and available on `PATH`.
|
|
6
|
+
- Claude Code, Codex CLI `0.167.2`, or OpenCode `1.x` or `2.3.2+` (`2.x`) already installed and available on `PATH`.
|
|
7
7
|
- An interactive terminal for hidden vkey input during setup.
|
|
8
8
|
|
|
9
9
|
macOS is the primary platform. Bloom does not install, upgrade, or repair the Coding Harness.
|
|
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.
|
|
13
|
+
## Install `0.4.0`
|
|
14
14
|
|
|
15
|
-
These instructions describe `0.
|
|
15
|
+
These instructions describe `0.4.0`; 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.
|
|
19
|
+
uv tool install 'bloom-launch==0.4.0'
|
|
20
20
|
# Or:
|
|
21
|
-
pipx install 'bloom-launch==0.
|
|
21
|
+
pipx install 'bloom-launch==0.4.0'
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
The selected source metadata is `0.
|
|
24
|
+
The selected source metadata is `0.4.0`. 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.
|
|
31
|
+
Before using the commands below, confirm that project metadata and the owner-updated root lockfile both specify `0.4.0`.
|
|
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.
|
|
46
|
+
The source checkout implements the `0.4.0` 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`.
|
|
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.
|
|
4
|
+
If `0.4.0` 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
|
|
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
|
-
|
|
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.
|
|
1
|
+
# Manual `0.3.1` release
|
|
2
2
|
|
|
3
|
-
The selected candidate version is `bloom-launch==0.3.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
112
|
-
dist/bloom_launch-0.3.
|
|
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.
|
|
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.
|
|
175
|
-
"$CANDIDATE/dist/bloom_launch-0.3.
|
|
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.
|
|
187
|
-
"$CANDIDATE/dist/bloom_launch-0.3.
|
|
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.
|
|
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
|
|
|
@@ -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.
|
|
58
|
+
require(name == "bloom-launch" and version == "0.4.0")
|
|
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.
|
|
10
|
-
SDIST = "bloom_launch-0.
|
|
9
|
+
WHEEL = "bloom_launch-0.4.0-py3-none-any.whl"
|
|
10
|
+
SDIST = "bloom_launch-0.4.0.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())
|