Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
1cc8bf9
Add the Rust channel spike
Melow-code Oct 2, 2026
872d631
Port the config module to Rust
Melow-code Oct 2, 2026
40e64cb
Port the token file loader to Rust
Melow-code Oct 2, 2026
e7e3ddd
Port request authentication to Rust
Melow-code Oct 2, 2026
fb157d4
Port the SQLite storage to Rust
Melow-code Oct 2, 2026
8848d29
Add the protocol text and content sanitizing in Rust
Melow-code Oct 2, 2026
64f9e18
Port the Codex session registry to Rust
Melow-code Oct 2, 2026
d03462d
Port the message bus to Rust with the v2 security checks
Melow-code Oct 2, 2026
980b046
wip rust refactor
Melow-code Oct 2, 2026
3c2dd07
Replace the single global lead with teams
claude Oct 2, 2026
f671056
Close the identity holes found by attack tests
claude Oct 2, 2026
b4c7003
Tie Codex mailboxes to the session id that Codex sends
claude Oct 2, 2026
14c5987
Give each OpenCode session its own mailbox
claude Oct 2, 2026
756965f
Check the reader's identity on every mailbox read
claude Oct 2, 2026
f03609b
Sign the session that a request acts for
claude Oct 2, 2026
9deb217
Add the real Codex and OpenCode wake dispatchers
claude Oct 2, 2026
acf7868
Add the HTTP layer of the daemon
claude Oct 2, 2026
30949a0
Serve the MCP tools over HTTP
claude Oct 2, 2026
2722ba4
Add the inband daemon command
claude Oct 2, 2026
6cf01ff
Add a CI workflow for the Rust crate
claude Oct 2, 2026
a93758b
Shrink tool results: compact JSON, and TOON for ping
claude Oct 2, 2026
fb798a0
Add the client side: hooks, team commands, Claude shim, OpenCode plugin
claude Oct 2, 2026
3429c9f
Add the installer and the release builds
claude Oct 2, 2026
f4b43d0
Make the Rust binary the whole project
claude Oct 2, 2026
446283e
Remove the v1 OpenCode MCP entry from opencode.jsonc too
claude Oct 2, 2026
a3c2770
Serve Codex through the shim: no token in its environment
claude Oct 2, 2026
33ce2de
Rewrite the comments as Doxygen blocks in ASD-STE100 English
claude Oct 2, 2026
7b890f6
Rewrite the doc comments as idiomatic rustdoc
claude Oct 2, 2026
7a9a906
Refuse and report changed InBand instruction files
claude Oct 2, 2026
920de7d
Rename the CI job to test
Melow-code Oct 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 17 additions & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,34 @@ name: CI

on:
push:
branches: [main]
pull_request:

permissions:
contents: read

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5

- uses: oven-sh/setup-bun@v2
with:
bun-version: latest

- name: Install dependencies
run: bun install --frozen-lockfile
# rustup is preinstalled on the runner and reads rust-toolchain.toml.
- name: Install the pinned toolchain
run: rustup show active-toolchain || rustup toolchain install

- name: Audit dependencies
run: bun audit
- name: Format
run: cargo fmt --check

- name: Type check
run: bun run typecheck
- name: Lint
run: cargo clippy --all-targets --locked -- -D warnings

- name: Test
run: bun test
run: cargo test --locked

- name: Check the install script parses
run: bash -n install.sh
- name: Shell syntax
run: sh -n install.sh

- name: Check the hooks parse
run: for f in hooks/*.sh; do bash -n "$f"; done

- name: Check publish hygiene
run: bun run prepublish:security

- name: Check package contents
run: bun pm pack --dry-run
- name: Audit dependencies
run: |
cargo install cargo-audit --locked
cargo audit --deny warnings
67 changes: 67 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: Release

# A tag v* builds static Linux binaries (musl), so they run on any distribution, the Raspberry Pi
# included, and attaches them with their SHA-256 sums to the GitHub release of the tag.
on:
push:
tags: ["v*"]

permissions:
contents: read

jobs:
build:
strategy:
matrix:
include:
- runner: ubuntu-24.04
arch: x86_64
- runner: ubuntu-24.04-arm
arch: aarch64
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@v5

- name: Install the toolchain and musl
run: |
sudo apt-get update
sudo apt-get install -y musl-tools
rustup show active-toolchain || rustup toolchain install
rustup target add ${{ matrix.arch }}-unknown-linux-musl

- name: Test
run: cargo test --locked

- name: Build
run: |
cargo build --release --locked --target ${{ matrix.arch }}-unknown-linux-musl
bin=target/${{ matrix.arch }}-unknown-linux-musl/release/inband
"$bin" --version
tar -czf inband-${{ matrix.arch }}-linux.tar.gz -C "$(dirname "$bin")" inband

- uses: actions/upload-artifact@v4
with:
name: inband-${{ matrix.arch }}
path: inband-${{ matrix.arch }}-linux.tar.gz
if-no-files-found: error

release:
needs: build
runs-on: ubuntu-24.04
permissions:
contents: write
steps:
- uses: actions/download-artifact@v4
with:
merge-multiple: true

- name: Publish
env:
GH_TOKEN: ${{ github.token }}
TAG: ${{ github.ref_name }}
run: |
sha256sum inband-*-linux.tar.gz > SHA256SUMS
cat SHA256SUMS
gh release view "$TAG" --repo "$GITHUB_REPOSITORY" >/dev/null 2>&1 \
|| gh release create "$TAG" --repo "$GITHUB_REPOSITORY" --title "$TAG" --generate-notes
gh release upload "$TAG" inband-*-linux.tar.gz SHA256SUMS --repo "$GITHUB_REPOSITORY" --clobber
16 changes: 3 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,23 +1,13 @@
# Runtime database: holds every message exchanged between agents. Never commit.
bridge.db
bridge.db-shm
bridge.db-wal
*.db
*.db-shm
*.db-wal

# Local configuration: absolute paths and machine-specific wake targets.
# Copy config.example.json to config.json and edit it.
# Local configuration and secrets.
config.json
tokens.env
*.env
!.env.example
*.bak

# Local snapshots taken before refactors.
backups/

# Dependencies and build output.
node_modules/
dist/
*.log
# Build output.
/target/
Loading
Loading