bloom-launch 0.1.0a1__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 (146) hide show
  1. bloom_launch-0.1.0a1/.github/workflows/local-checks.yml +109 -0
  2. bloom_launch-0.1.0a1/.github/workflows/release.yml +91 -0
  3. bloom_launch-0.1.0a1/.gitignore +7 -0
  4. bloom_launch-0.1.0a1/CONTEXT.md +27 -0
  5. bloom_launch-0.1.0a1/LICENSE +201 -0
  6. bloom_launch-0.1.0a1/PKG-INFO +108 -0
  7. bloom_launch-0.1.0a1/README.md +93 -0
  8. bloom_launch-0.1.0a1/docs/adapter-contract.md +249 -0
  9. bloom_launch-0.1.0a1/docs/adr/0001-authorization-is-not-qualification.md +17 -0
  10. bloom_launch-0.1.0a1/docs/adr/0002-persistent-native-profiles.md +20 -0
  11. bloom_launch-0.1.0a1/docs/adr/0003-credential-and-process-ownership.md +18 -0
  12. bloom_launch-0.1.0a1/docs/alpha-release-contract.md +113 -0
  13. bloom_launch-0.1.0a1/docs/ci-efficiency-decisions.md +14 -0
  14. bloom_launch-0.1.0a1/docs/connections.md +104 -0
  15. bloom_launch-0.1.0a1/docs/demo-goal.md +7 -0
  16. bloom_launch-0.1.0a1/docs/development.md +99 -0
  17. bloom_launch-0.1.0a1/docs/headless.md +30 -0
  18. bloom_launch-0.1.0a1/docs/installation.md +69 -0
  19. bloom_launch-0.1.0a1/docs/local-testing.md +68 -0
  20. bloom_launch-0.1.0a1/docs/models.md +35 -0
  21. bloom_launch-0.1.0a1/docs/opencode-bootstrap-compatibility.md +187 -0
  22. bloom_launch-0.1.0a1/docs/opencode-demo.md +7 -0
  23. bloom_launch-0.1.0a1/docs/qualification.md +194 -0
  24. bloom_launch-0.1.0a1/docs/quick-launch.md +192 -0
  25. bloom_launch-0.1.0a1/docs/releasing.md +134 -0
  26. bloom_launch-0.1.0a1/docs/superpowers/plans/2026-11-04-ci-efficiency.md +6 -0
  27. bloom_launch-0.1.0a1/docs/superpowers/plans/2026-11-04-coderabbit-followup.md +6 -0
  28. bloom_launch-0.1.0a1/docs/superpowers/plans/2026-11-05-demo-goal.md +6 -0
  29. bloom_launch-0.1.0a1/docs/superpowers/plans/2026-11-05-opencode-demo.md +6 -0
  30. bloom_launch-0.1.0a1/docs/superpowers/specs/2026-11-04-ci-efficiency-design.md +6 -0
  31. bloom_launch-0.1.0a1/docs/superpowers/specs/2026-11-04-coderabbit-followup-design.md +6 -0
  32. bloom_launch-0.1.0a1/docs/superpowers/specs/2026-11-05-demo-goal-design.md +6 -0
  33. bloom_launch-0.1.0a1/docs/superpowers/specs/2026-11-05-opencode-demo-design.md +6 -0
  34. bloom_launch-0.1.0a1/pyproject.toml +39 -0
  35. bloom_launch-0.1.0a1/scripts/check_artifacts.py +162 -0
  36. bloom_launch-0.1.0a1/scripts/check_local_install.sh +44 -0
  37. bloom_launch-0.1.0a1/scripts/verify_release_candidate.py +81 -0
  38. bloom_launch-0.1.0a1/src/bloom_cli/__init__.py +1 -0
  39. bloom_launch-0.1.0a1/src/bloom_cli/__main__.py +3 -0
  40. bloom_launch-0.1.0a1/src/bloom_cli/adapters.py +205 -0
  41. bloom_launch-0.1.0a1/src/bloom_cli/authorization.py +50 -0
  42. bloom_launch-0.1.0a1/src/bloom_cli/claude.py +425 -0
  43. bloom_launch-0.1.0a1/src/bloom_cli/claude_profile.py +404 -0
  44. bloom_launch-0.1.0a1/src/bloom_cli/cli.py +380 -0
  45. bloom_launch-0.1.0a1/src/bloom_cli/command_capture.py +23 -0
  46. bloom_launch-0.1.0a1/src/bloom_cli/connections.py +287 -0
  47. bloom_launch-0.1.0a1/src/bloom_cli/contract.py +138 -0
  48. bloom_launch-0.1.0a1/src/bloom_cli/controls.py +110 -0
  49. bloom_launch-0.1.0a1/src/bloom_cli/credentials.py +193 -0
  50. bloom_launch-0.1.0a1/src/bloom_cli/demo.py +306 -0
  51. bloom_launch-0.1.0a1/src/bloom_cli/discovery.py +179 -0
  52. bloom_launch-0.1.0a1/src/bloom_cli/git_sources.py +119 -0
  53. bloom_launch-0.1.0a1/src/bloom_cli/native.py +189 -0
  54. bloom_launch-0.1.0a1/src/bloom_cli/opencode.py +275 -0
  55. bloom_launch-0.1.0a1/src/bloom_cli/opencode_bootstrap.py +322 -0
  56. bloom_launch-0.1.0a1/src/bloom_cli/opencode_demo.py +408 -0
  57. bloom_launch-0.1.0a1/src/bloom_cli/opencode_profile.py +463 -0
  58. bloom_launch-0.1.0a1/src/bloom_cli/owned_profile.py +211 -0
  59. bloom_launch-0.1.0a1/src/bloom_cli/process.py +367 -0
  60. bloom_launch-0.1.0a1/src/bloom_cli/qualification.py +25 -0
  61. bloom_launch-0.1.0a1/src/bloom_cli/quick_config.py +386 -0
  62. bloom_launch-0.1.0a1/src/bloom_cli/quick_launch.py +103 -0
  63. bloom_launch-0.1.0a1/tests/claude-2.1.312-grammar.json +38 -0
  64. bloom_launch-0.1.0a1/tests/claude-2.1.319-command-tip-state.json +8 -0
  65. bloom_launch-0.1.0a1/tests/claude-2.1.319-owned-state.json +70 -0
  66. bloom_launch-0.1.0a1/tests/claude_pty_probe.py +593 -0
  67. bloom_launch-0.1.0a1/tests/cli_diagnostics.py +57 -0
  68. bloom_launch-0.1.0a1/tests/cli_probe.py +94 -0
  69. bloom_launch-0.1.0a1/tests/composition.py +48 -0
  70. bloom_launch-0.1.0a1/tests/conftest.py +88 -0
  71. bloom_launch-0.1.0a1/tests/credential_store.py +17 -0
  72. bloom_launch-0.1.0a1/tests/discovery_support.py +28 -0
  73. bloom_launch-0.1.0a1/tests/installed_connection_probe.py +164 -0
  74. bloom_launch-0.1.0a1/tests/installed_demo_probe.py +353 -0
  75. bloom_launch-0.1.0a1/tests/installed_models_probe.py +100 -0
  76. bloom_launch-0.1.0a1/tests/installed_quick_probe.py +444 -0
  77. bloom_launch-0.1.0a1/tests/job_control.py +166 -0
  78. bloom_launch-0.1.0a1/tests/job_control_probe.py +300 -0
  79. bloom_launch-0.1.0a1/tests/native_claude_guard_diagnostic.py +87 -0
  80. bloom_launch-0.1.0a1/tests/native_claude_profile_probe.py +231 -0
  81. bloom_launch-0.1.0a1/tests/native_driver.py +45 -0
  82. bloom_launch-0.1.0a1/tests/native_opencode_profile_probe.py +448 -0
  83. bloom_launch-0.1.0a1/tests/native_stub.py +130 -0
  84. bloom_launch-0.1.0a1/tests/opencode_bootstrap_fixture.py +173 -0
  85. bloom_launch-0.1.0a1/tests/opencode_demo_probe.py +479 -0
  86. bloom_launch-0.1.0a1/tests/prepare_opencode_bootstrap.py +171 -0
  87. bloom_launch-0.1.0a1/tests/profile_support.py +126 -0
  88. bloom_launch-0.1.0a1/tests/pty_driver.py +151 -0
  89. bloom_launch-0.1.0a1/tests/quick_support.py +105 -0
  90. bloom_launch-0.1.0a1/tests/recorder.py +82 -0
  91. bloom_launch-0.1.0a1/tests/test_adapter_contract.py +314 -0
  92. bloom_launch-0.1.0a1/tests/test_artifacts.py +234 -0
  93. bloom_launch-0.1.0a1/tests/test_authorization.py +93 -0
  94. bloom_launch-0.1.0a1/tests/test_ci_workflow.py +224 -0
  95. bloom_launch-0.1.0a1/tests/test_claude.py +305 -0
  96. bloom_launch-0.1.0a1/tests/test_claude_automatic_commands.py +179 -0
  97. bloom_launch-0.1.0a1/tests/test_claude_inspection.py +404 -0
  98. bloom_launch-0.1.0a1/tests/test_claude_profile.py +1376 -0
  99. bloom_launch-0.1.0a1/tests/test_claude_version_policy.py +73 -0
  100. bloom_launch-0.1.0a1/tests/test_cli.py +1105 -0
  101. bloom_launch-0.1.0a1/tests/test_cli_diagnostics.py +371 -0
  102. bloom_launch-0.1.0a1/tests/test_command_capture.py +31 -0
  103. bloom_launch-0.1.0a1/tests/test_composition_diagnostics.py +133 -0
  104. bloom_launch-0.1.0a1/tests/test_composition_rescue.py +208 -0
  105. bloom_launch-0.1.0a1/tests/test_connected_discovery.py +166 -0
  106. bloom_launch-0.1.0a1/tests/test_connected_models.py +162 -0
  107. bloom_launch-0.1.0a1/tests/test_connections.py +174 -0
  108. bloom_launch-0.1.0a1/tests/test_credentials.py +396 -0
  109. bloom_launch-0.1.0a1/tests/test_demo.py +631 -0
  110. bloom_launch-0.1.0a1/tests/test_discovery.py +208 -0
  111. bloom_launch-0.1.0a1/tests/test_discovery_output.py +103 -0
  112. bloom_launch-0.1.0a1/tests/test_fixture_isolation.py +69 -0
  113. bloom_launch-0.1.0a1/tests/test_git_sources.py +145 -0
  114. bloom_launch-0.1.0a1/tests/test_install_script.py +24 -0
  115. bloom_launch-0.1.0a1/tests/test_installed_demo_probe.py +141 -0
  116. bloom_launch-0.1.0a1/tests/test_installed_quick_probe.py +52 -0
  117. bloom_launch-0.1.0a1/tests/test_job_control.py +197 -0
  118. bloom_launch-0.1.0a1/tests/test_launch_controls.py +159 -0
  119. bloom_launch-0.1.0a1/tests/test_models.py +263 -0
  120. bloom_launch-0.1.0a1/tests/test_native_recorders.py +231 -0
  121. bloom_launch-0.1.0a1/tests/test_native_version.py +457 -0
  122. bloom_launch-0.1.0a1/tests/test_opencode.py +309 -0
  123. bloom_launch-0.1.0a1/tests/test_opencode_bootstrap.py +780 -0
  124. bloom_launch-0.1.0a1/tests/test_opencode_demo.py +856 -0
  125. bloom_launch-0.1.0a1/tests/test_opencode_demo_probe.py +776 -0
  126. bloom_launch-0.1.0a1/tests/test_opencode_git_scope.py +255 -0
  127. bloom_launch-0.1.0a1/tests/test_opencode_inspection.py +83 -0
  128. bloom_launch-0.1.0a1/tests/test_opencode_profile.py +836 -0
  129. bloom_launch-0.1.0a1/tests/test_opencode_version_policy.py +192 -0
  130. bloom_launch-0.1.0a1/tests/test_owned_profile.py +112 -0
  131. bloom_launch-0.1.0a1/tests/test_process.py +502 -0
  132. bloom_launch-0.1.0a1/tests/test_profile_git_selection.py +85 -0
  133. bloom_launch-0.1.0a1/tests/test_project_environment.py +185 -0
  134. bloom_launch-0.1.0a1/tests/test_qualification.py +119 -0
  135. bloom_launch-0.1.0a1/tests/test_quick_claude.py +189 -0
  136. bloom_launch-0.1.0a1/tests/test_quick_concurrency.py +135 -0
  137. bloom_launch-0.1.0a1/tests/test_quick_config.py +195 -0
  138. bloom_launch-0.1.0a1/tests/test_quick_model_labels.py +137 -0
  139. bloom_launch-0.1.0a1/tests/test_quick_opencode.py +260 -0
  140. bloom_launch-0.1.0a1/tests/test_quick_reconfigure.py +408 -0
  141. bloom_launch-0.1.0a1/tests/test_quick_shared.py +179 -0
  142. bloom_launch-0.1.0a1/tests/test_quick_transactions.py +450 -0
  143. bloom_launch-0.1.0a1/tests/test_recorder.py +61 -0
  144. bloom_launch-0.1.0a1/tests/test_release_workflow.py +402 -0
  145. bloom_launch-0.1.0a1/tests/test_repeat_choices.py +158 -0
  146. bloom_launch-0.1.0a1/uv.lock +369 -0
@@ -0,0 +1,109 @@
1
+ name: Local package checks (unreleased)
2
+
3
+ on:
4
+ push:
5
+ branches: [staging]
6
+ pull_request:
7
+ types: [opened, synchronize, reopened, ready_for_review, converted_to_draft, closed]
8
+ workflow_dispatch:
9
+ inputs:
10
+ report_linux:
11
+ description: Run best-effort Linux P2 checks (not a release gate)
12
+ type: boolean
13
+ default: false
14
+
15
+ permissions:
16
+ contents: read
17
+
18
+ concurrency:
19
+ group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event_name == 'workflow_dispatch' && github.run_id || github.event.number || github.ref }}
20
+ cancel-in-progress: ${{ github.event_name != 'workflow_dispatch' }}
21
+
22
+ jobs:
23
+ macos:
24
+ name: macOS P1 / Python ${{ matrix.python }}
25
+ if: ${{ github.event_name != 'pull_request' || (github.event.pull_request.state == 'open' && !github.event.pull_request.draft) }}
26
+ runs-on: macos-15
27
+ timeout-minutes: ${{ github.event_name == 'workflow_dispatch' && 20 || 10 }}
28
+ strategy:
29
+ fail-fast: ${{ github.event_name != 'workflow_dispatch' }}
30
+ matrix:
31
+ python: ['3.12', '3.13', '3.14']
32
+ env:
33
+ BLOOM_RUN_NATIVE_PROBES: '0'
34
+ PYTHON_KEYRING_BACKEND: keyring.backends.fail.Keyring
35
+ steps:
36
+ - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
37
+ with:
38
+ persist-credentials: false
39
+ - uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
40
+ with:
41
+ version: '0.11.15'
42
+ python-version: ${{ matrix.python }}
43
+ enable-cache: false
44
+ - name: Locked install, lint, default tests, build and metadata
45
+ shell: bash
46
+ run: |
47
+ shasum -a 256 uv.lock > "$RUNNER_TEMP/uv-lock.sha256"
48
+ uv sync --locked
49
+ uv run ruff check .
50
+ uv run pytest -q
51
+ uv build
52
+ uv run --no-sync python scripts/check_artifacts.py
53
+ shasum -a 256 -c "$RUNNER_TEMP/uv-lock.sha256"
54
+ - name: Isolated wheel installation and synthetic composition (uv-tool and pipx)
55
+ shell: bash
56
+ run: |
57
+ wheels=("$PWD"/dist/bloom_launch-*-py3-none-any.whl)
58
+ if [[ ${#wheels[@]} -ne 1 || ! -f "${wheels[0]}" ]]; then
59
+ printf 'Expected exactly one built bloom_launch-*-py3-none-any.whl in dist.\n' >&2
60
+ exit 1
61
+ fi
62
+ bash scripts/check_local_install.sh \
63
+ "${wheels[0]}" \
64
+ "$RUNNER_TEMP/bloom-install" "$PWD/.venv/bin/python"
65
+
66
+ linux-report:
67
+ name: Linux P2 / optional reporting only
68
+ if: ${{ github.event_name == 'workflow_dispatch' && inputs.report_linux }}
69
+ continue-on-error: true
70
+ runs-on: ubuntu-24.04
71
+ timeout-minutes: 20
72
+ env:
73
+ BLOOM_RUN_NATIVE_PROBES: '0'
74
+ PYTHON_KEYRING_BACKEND: keyring.backends.fail.Keyring
75
+ steps:
76
+ - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
77
+ with:
78
+ persist-credentials: false
79
+ - uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
80
+ with:
81
+ version: '0.11.15'
82
+ python-version: '3.14'
83
+ enable-cache: false
84
+ - name: Best-effort portable package evidence
85
+ shell: bash
86
+ run: |
87
+ sha256sum uv.lock > "$RUNNER_TEMP/uv-lock.sha256"
88
+ uv sync --locked
89
+ uv run ruff check .
90
+ uv run pytest -q
91
+ uv build
92
+ uv run --no-sync python scripts/check_artifacts.py
93
+ sha256sum -c "$RUNNER_TEMP/uv-lock.sha256"
94
+ wheels=("$PWD"/dist/bloom_launch-*-py3-none-any.whl)
95
+ if [[ ${#wheels[@]} -ne 1 || ! -f "${wheels[0]}" ]]; then
96
+ printf 'Expected exactly one built bloom_launch-*-py3-none-any.whl in dist.\n' >&2
97
+ exit 1
98
+ fi
99
+ bash scripts/check_local_install.sh \
100
+ "${wheels[0]}" \
101
+ "$RUNNER_TEMP/bloom-install" "$PWD/.venv/bin/python"
102
+ - name: Report bounded outcome
103
+ if: always()
104
+ shell: bash
105
+ env:
106
+ CHECK_STATUS: ${{ job.status }}
107
+ run: |
108
+ printf 'Linux P2 checks: %s. Optional evidence only; no desktop store, native GUI or live qualification.\n' \
109
+ "$CHECK_STATUS" >> "$GITHUB_STEP_SUMMARY"
@@ -0,0 +1,91 @@
1
+ name: Alpha candidate for manual PyPI release
2
+
3
+ on:
4
+ workflow_dispatch:
5
+
6
+ permissions:
7
+ contents: read
8
+
9
+ jobs:
10
+ candidate:
11
+ name: macOS release candidate
12
+ runs-on: macos-15
13
+ timeout-minutes: 20
14
+ env:
15
+ BLOOM_RUN_NATIVE_PROBES: '0'
16
+ PYTHON_KEYRING_BACKEND: keyring.backends.fail.Keyring
17
+ steps:
18
+ - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
19
+ with:
20
+ ref: ${{ github.sha }}
21
+ persist-credentials: false
22
+ - uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
23
+ with:
24
+ version: '0.11.15'
25
+ python-version: '3.12'
26
+ enable-cache: false
27
+ - name: Initialize isolated candidate directory environment
28
+ id: initialize
29
+ shell: bash
30
+ run: |
31
+ set -euo pipefail
32
+ printf 'CANDIDATE_DIR=%s/bloom-release-candidate\n' "$RUNNER_TEMP" >> "$GITHUB_ENV"
33
+ - name: Build and check one candidate pair with required private policy
34
+ id: build
35
+ shell: bash
36
+ env:
37
+ BLOOM_RELEASE_FORBIDDEN_TERMS: ${{ secrets.BLOOM_RELEASE_FORBIDDEN_TERMS }}
38
+ run: |
39
+ set -euo pipefail
40
+ shasum -a 256 uv.lock > "$RUNNER_TEMP/release-lock.sha256"
41
+ uv sync --locked
42
+ uv run --no-sync ruff check .
43
+ uv run --no-sync pytest -q
44
+ mkdir "$CANDIDATE_DIR"
45
+ uv build --no-create-gitignore --out-dir "$CANDIDATE_DIR/dist"
46
+ uv run --no-sync python scripts/check_artifacts.py --dist-dir "$CANDIDATE_DIR/dist" --require-branding-policy
47
+ shasum -a 256 -c "$RUNNER_TEMP/release-lock.sha256"
48
+ uv --version
49
+ uv run --no-sync python --version
50
+ - name: Retain SHA256 receipt and source identity for approval
51
+ id: receipt
52
+ shell: bash
53
+ run: |
54
+ set -euo pipefail
55
+ python3 - <<'PY'
56
+ import hashlib
57
+ import json
58
+ import os
59
+ from pathlib import Path
60
+
61
+ root = Path(os.environ["CANDIDATE_DIR"])
62
+ dist = root / "dist"
63
+ names = {"bloom_launch-0.1.0a1-py3-none-any.whl", "bloom_launch-0.1.0a1.tar.gz"}
64
+ if (dist.is_symlink() or not dist.is_dir()
65
+ or {p.name for p in root.iterdir()} != {"dist"}
66
+ or {p.name for p in dist.iterdir()} != names
67
+ or any(p.is_symlink() or not p.is_file() for p in dist.iterdir())):
68
+ raise SystemExit("Invalid candidate inventory")
69
+ receipt = {
70
+ "source_sha": os.environ["GITHUB_SHA"],
71
+ "repository": os.environ["GITHUB_REPOSITORY"],
72
+ "run_id": os.environ["GITHUB_RUN_ID"],
73
+ "run_attempt": os.environ["GITHUB_RUN_ATTEMPT"],
74
+ "sha256": {name: hashlib.sha256((dist / name).read_bytes()).hexdigest()
75
+ for name in sorted(names)},
76
+ }
77
+ text = json.dumps(receipt, indent=2) + "\n"
78
+ (root / "manifest.json").write_text(text)
79
+ with open(os.environ["GITHUB_STEP_SUMMARY"], "a") as summary:
80
+ summary.write("## Candidate requiring exact-hash review\n\n```json\n" + text + "```\n")
81
+ summary.write("Review this run's hashes, exact-SHA macOS checks, private scan, "
82
+ "and authorized native acceptance before manual upload approval.\n")
83
+ PY
84
+ - name: Upload this run's checked candidate and receipt
85
+ id: upload
86
+ uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
87
+ with:
88
+ name: candidate-${{ github.sha }}-${{ github.run_attempt }}
89
+ path: ${{ env.CANDIDATE_DIR }}/
90
+ if-no-files-found: error
91
+ retention-days: 14
@@ -0,0 +1,7 @@
1
+ .venv/
2
+ .venv3.12/
3
+ __pycache__/
4
+ .pytest_cache/
5
+ .ruff_cache/
6
+ dist/
7
+ .superpowers/
@@ -0,0 +1,27 @@
1
+ # Bloom Launch
2
+
3
+ Bloom Launch connects a user's Coding Harness to Bloom for an Explicit Launch.
4
+ Launcher verification and harness-path qualification require distinct evidence.
5
+
6
+ ## Language
7
+
8
+ **Coding Harness**:
9
+ The user's coding-agent application that owns its conversation, tools, execution
10
+ permissions and development workflow. Bloom connects its model requests without
11
+ replacing that workflow.
12
+
13
+ **Explicit Launch**:
14
+ Starting a Coding Harness through Bloom for that invocation. Ordinary harness
15
+ invocation retains its existing connection behavior.
16
+
17
+ **Launch Verification**:
18
+ Evidence that Bloom Launch's connection, packaging and process-ownership behavior
19
+ meets its contract in the exercised environment. It does not establish a Qualified
20
+ Harness Path.
21
+ _Avoid_: Live qualification, supported model path
22
+
23
+ **Qualified Harness Path**:
24
+ A specific harness version, incoming protocol, provider/model and feature set
25
+ for which compatibility evidence has been recorded. Discovery or launcher-only
26
+ verification does not qualify the path.
27
+ _Avoid_: Discovered model, passing launcher check
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,108 @@
1
+ Metadata-Version: 2.5
2
+ Name: bloom-launch
3
+ Version: 0.1.0a1
4
+ Summary: Scoped launcher for native coding harnesses
5
+ License-Expression: Apache-2.0
6
+ License-File: LICENSE
7
+ Classifier: Development Status :: 3 - Alpha
8
+ Classifier: Environment :: Console
9
+ Classifier: Operating System :: MacOS
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python :: 3 :: Only
12
+ Requires-Python: >=3.12
13
+ Requires-Dist: keyring<26,>=25.6
14
+ Description-Content-Type: text/markdown
15
+
16
+ # Bloom Launch
17
+
18
+ Launch Claude Code or OpenCode through Bloom from your project directory.
19
+ Bloom remembers your gateway connection and a separate model default for each harness.
20
+ Native settings persist in dedicated Bloom profiles. Native permission controls remain active.
21
+
22
+ ## Install
23
+
24
+ Requirements: macOS, Python 3.12 or later, and an installed Claude Code or OpenCode executable on an absolute PATH entry.
25
+ Bloom does not install or upgrade either harness.
26
+
27
+ With [uv](https://docs.astral.sh/uv/getting-started/installation/):
28
+
29
+ ```sh
30
+ uv tool install --python 3.12 'bloom-launch==0.1.0a1'
31
+ ```
32
+
33
+ Or, with [pipx](https://pipx.pypa.io/stable/installation/):
34
+
35
+ ```sh
36
+ pipx install --python python3.12 'bloom-launch==0.1.0a1'
37
+ ```
38
+
39
+ These commands require version `0.1.0a1` to be available on PyPI.
40
+ The package name is `bloom-launch`. The installed command is `bloom`.
41
+ If your shell cannot find `bloom`, run `uv tool update-shell` or `pipx ensurepath` for your chosen installer.
42
+ Then open a new terminal.
43
+
44
+ ## First launch
45
+
46
+ Use a Bloom gateway key with specific allowed model IDs. Ask your Bloom administrator for access.
47
+ The tested alpha credential path uses `BLOOM_GATEWAY_KEY`.
48
+ Your secret manager can supply this variable. Alternatively, enter the key privately in the default macOS **zsh** terminal:
49
+
50
+ ```zsh
51
+ read -rs 'BLOOM_GATEWAY_KEY?Bloom gateway key: '
52
+ export BLOOM_GATEWAY_KEY
53
+ printf '\n'
54
+ ```
55
+
56
+ Then launch from your project:
57
+
58
+ ```sh
59
+ cd /absolute/path/to/project
60
+ bloom launch claude
61
+ # Or:
62
+ bloom launch opencode
63
+ ```
64
+
65
+ Select a numbered model on the first launch of each harness.
66
+ Complete native setup, project trust, and permission prompts normally.
67
+ Later launches reuse the saved default and recheck access. Keep the credential variable available in each new terminal.
68
+ Bloom saves an environment reference, not the key value.
69
+
70
+ A saved credential source takes precedence over an inherited `BLOOM_GATEWAY_KEY`.
71
+ Without a source, Bloom offers hidden input backed by OS storage. Real OS-storage acceptance remains unverified for this alpha.
72
+ `--config` always requests a new key for OS storage; it does not select the environment credential path.
73
+
74
+ ## Common commands
75
+
76
+ | Command | Purpose |
77
+ | --- | --- |
78
+ | `bloom --version` | Show the installed version |
79
+ | `bloom models` | List exact permitted IDs without inference or saved-state changes |
80
+ | `bloom launch claude` | Start Claude with its saved default |
81
+ | `bloom launch opencode` | Start OpenCode with its saved default |
82
+ | `bloom launch claude --model EXACT_ID` | Use another permitted model for this invocation |
83
+ | `bloom launch opencode --model EXACT_ID` | Use another permitted model for this invocation |
84
+
85
+ The default gateway is `https://gateway.bloomfactory.ai`. Add `--url ORIGIN` to select another gateway origin.
86
+ Use the full exact ID from `bloom models` for an override.
87
+ Listing does not save a prompted key. Launch setup saves the selected default.
88
+ OpenCode uses the main model for its small-model role unless you supply `--role small=EXACT_ID`.
89
+ Native model requests can incur provider charges.
90
+
91
+ ## Alpha limits and troubleshooting
92
+
93
+ - Native coding-session checks used macOS 15.7.9 arm64, Claude Code 2.1.319, OpenCode 1.19.0, and `openai/gpt-5.6-luna` through its exact granted ID.
94
+ - Claude's tested tool path uses native one-time manual approval when the server-side auto-review check is unavailable.
95
+ - Other versions can pass inspection within Claude `>=2.1.312,<3.0.0` and OpenCode `>=1.19.0,<2.0.0`. These ranges do not establish tested coding-session support.
96
+ - Linux is not a qualified alpha target. Windows is outside this release's scope.
97
+ - Profiles persist under `${XDG_CONFIG_HOME:-$HOME/.config}/bloom/{claude,opencode}`. Personal native profiles are not imported.
98
+ - Unsupported policy, login, provider, automatic-command, or extension controls can block launch. Preserve the profile after a refusal; do not delete settings or history to bypass inspection.
99
+ - `--profile` and `--endpoint` select a separate ordinary route that currently cannot launch. Use the quick-launch commands above.
100
+ - Configuration isolation is not a sandbox. Trusted same-user code can access runtime credentials.
101
+ - Discovery does not verify model health, routing identity, billing, or support for every native feature.
102
+
103
+ When reporting a problem, include `bloom --version`, the native version, macOS version, and the error category.
104
+ Do not include keys, authorization headers, or raw native configuration.
105
+
106
+ ## License
107
+
108
+ Bloom Launch uses the [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0).
@@ -0,0 +1,93 @@
1
+ # Bloom Launch
2
+
3
+ Launch Claude Code or OpenCode through Bloom from your project directory.
4
+ Bloom remembers your gateway connection and a separate model default for each harness.
5
+ Native settings persist in dedicated Bloom profiles. Native permission controls remain active.
6
+
7
+ ## Install
8
+
9
+ Requirements: macOS, Python 3.12 or later, and an installed Claude Code or OpenCode executable on an absolute PATH entry.
10
+ Bloom does not install or upgrade either harness.
11
+
12
+ With [uv](https://docs.astral.sh/uv/getting-started/installation/):
13
+
14
+ ```sh
15
+ uv tool install --python 3.12 'bloom-launch==0.1.0a1'
16
+ ```
17
+
18
+ Or, with [pipx](https://pipx.pypa.io/stable/installation/):
19
+
20
+ ```sh
21
+ pipx install --python python3.12 'bloom-launch==0.1.0a1'
22
+ ```
23
+
24
+ These commands require version `0.1.0a1` to be available on PyPI.
25
+ The package name is `bloom-launch`. The installed command is `bloom`.
26
+ If your shell cannot find `bloom`, run `uv tool update-shell` or `pipx ensurepath` for your chosen installer.
27
+ Then open a new terminal.
28
+
29
+ ## First launch
30
+
31
+ Use a Bloom gateway key with specific allowed model IDs. Ask your Bloom administrator for access.
32
+ The tested alpha credential path uses `BLOOM_GATEWAY_KEY`.
33
+ Your secret manager can supply this variable. Alternatively, enter the key privately in the default macOS **zsh** terminal:
34
+
35
+ ```zsh
36
+ read -rs 'BLOOM_GATEWAY_KEY?Bloom gateway key: '
37
+ export BLOOM_GATEWAY_KEY
38
+ printf '\n'
39
+ ```
40
+
41
+ Then launch from your project:
42
+
43
+ ```sh
44
+ cd /absolute/path/to/project
45
+ bloom launch claude
46
+ # Or:
47
+ bloom launch opencode
48
+ ```
49
+
50
+ Select a numbered model on the first launch of each harness.
51
+ Complete native setup, project trust, and permission prompts normally.
52
+ Later launches reuse the saved default and recheck access. Keep the credential variable available in each new terminal.
53
+ Bloom saves an environment reference, not the key value.
54
+
55
+ A saved credential source takes precedence over an inherited `BLOOM_GATEWAY_KEY`.
56
+ Without a source, Bloom offers hidden input backed by OS storage. Real OS-storage acceptance remains unverified for this alpha.
57
+ `--config` always requests a new key for OS storage; it does not select the environment credential path.
58
+
59
+ ## Common commands
60
+
61
+ | Command | Purpose |
62
+ | --- | --- |
63
+ | `bloom --version` | Show the installed version |
64
+ | `bloom models` | List exact permitted IDs without inference or saved-state changes |
65
+ | `bloom launch claude` | Start Claude with its saved default |
66
+ | `bloom launch opencode` | Start OpenCode with its saved default |
67
+ | `bloom launch claude --model EXACT_ID` | Use another permitted model for this invocation |
68
+ | `bloom launch opencode --model EXACT_ID` | Use another permitted model for this invocation |
69
+
70
+ The default gateway is `https://gateway.bloomfactory.ai`. Add `--url ORIGIN` to select another gateway origin.
71
+ Use the full exact ID from `bloom models` for an override.
72
+ Listing does not save a prompted key. Launch setup saves the selected default.
73
+ OpenCode uses the main model for its small-model role unless you supply `--role small=EXACT_ID`.
74
+ Native model requests can incur provider charges.
75
+
76
+ ## Alpha limits and troubleshooting
77
+
78
+ - Native coding-session checks used macOS 15.7.9 arm64, Claude Code 2.1.319, OpenCode 1.19.0, and `openai/gpt-5.6-luna` through its exact granted ID.
79
+ - Claude's tested tool path uses native one-time manual approval when the server-side auto-review check is unavailable.
80
+ - Other versions can pass inspection within Claude `>=2.1.312,<3.0.0` and OpenCode `>=1.19.0,<2.0.0`. These ranges do not establish tested coding-session support.
81
+ - Linux is not a qualified alpha target. Windows is outside this release's scope.
82
+ - Profiles persist under `${XDG_CONFIG_HOME:-$HOME/.config}/bloom/{claude,opencode}`. Personal native profiles are not imported.
83
+ - Unsupported policy, login, provider, automatic-command, or extension controls can block launch. Preserve the profile after a refusal; do not delete settings or history to bypass inspection.
84
+ - `--profile` and `--endpoint` select a separate ordinary route that currently cannot launch. Use the quick-launch commands above.
85
+ - Configuration isolation is not a sandbox. Trusted same-user code can access runtime credentials.
86
+ - Discovery does not verify model health, routing identity, billing, or support for every native feature.
87
+
88
+ When reporting a problem, include `bloom --version`, the native version, macOS version, and the error category.
89
+ Do not include keys, authorization headers, or raw native configuration.
90
+
91
+ ## License
92
+
93
+ Bloom Launch uses the [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0).