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
7185272
chore: initialize BAML rewrite
none23 Aug 14, 2026
fce541f
feat: add native Parakeet CUDA probe
none23 Aug 14, 2026
d5dbecd
docs: record CUDA driver blocker
none23 Aug 14, 2026
a187b7b
fix: enforce native CUDA inference
none23 Aug 14, 2026
24f6801
feat: define typed BAML workflow
none23 Aug 14, 2026
9a82b22
feat: add single-owner CUDA daemon
none23 Aug 14, 2026
34a2f8d
feat: preserve lw and Sway workflows
none23 Aug 14, 2026
b66c6a3
feat: port transcript cleanup workflow
none23 Aug 14, 2026
b61450c
build: package native runtime
none23 Aug 14, 2026
b9afa6c
refactor: remove legacy Python application
none23 Aug 14, 2026
b6e9183
fix: stop legacy model during install
none23 Aug 14, 2026
732fb7f
fix: package ONNX Runtime CUDA providers
none23 Aug 14, 2026
ef1ce6d
docs: make model selection automatic
none23 Aug 14, 2026
1c542cd
feat: select Parakeet runtime automatically
none23 Aug 14, 2026
7ea43e9
fix: make legacy CUDA setting automatic
none23 Aug 14, 2026
5b5fedf
feat: install on CPU-only systems
none23 Aug 14, 2026
7024ff3
fix: preserve daemon logs during preload
none23 Aug 14, 2026
128c272
docs: describe automatic CPU fallback
none23 Aug 14, 2026
95eb131
refactor: make BAML own command execution
none23 Aug 15, 2026
5a5f556
refactor: move transcript delivery into BAML
none23 Aug 15, 2026
c860694
refactor: move recording lifecycle into BAML
none23 Aug 15, 2026
71b3054
refactor: move transcript cleanup into BAML
none23 Aug 15, 2026
3924dde
refactor: move model service into BAML
none23 Aug 15, 2026
1b069e3
fix: stage installation artifacts atomically
none23 Aug 15, 2026
13ee8f3
build: stop tracking generated BAML SDK
none23 Aug 15, 2026
f5502da
docs: remove rewrite scratchpad
none23 Aug 15, 2026
a3b9642
docs: explain Neovim integration removal
none23 Aug 15, 2026
68cfba0
docs: make README user-focused
none23 Aug 15, 2026
520f6e8
chore: add fast pre-commit checks
none23 Aug 15, 2026
0aebb1e
ci: validate BAML and native build
none23 Aug 15, 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
341 changes: 341 additions & 0 deletions .agents/skills/baml-core/SKILL.md

Large diffs are not rendered by default.

341 changes: 341 additions & 0 deletions .claude/skills/baml-core/SKILL.md

Large diffs are not rendered by default.

95 changes: 95 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
name: CI

on:
pull_request:
push:
branches:
- main

permissions:
contents: read

concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
quality:
name: BAML and native build
runs-on: ubuntu-latest
timeout-minutes: 30
env:
BAML_VERSION: 0.16.0
BAML_WRAPPER_VERSION: 0.2.4
BAML_WRAPPER_SHA256: a4666f8e0e72926feaa2641efef07f9e9d2f1432d96ccd4c8e31151ea27e4862

steps:
- name: Check out repository
uses: actions/checkout@v6

- name: Install system tools
run: sudo apt-get update && sudo apt-get install --yes shellcheck

- name: Install BAML
shell: bash
run: |
lw_baml_archive="baml-wrapper-no-self-update-${BAML_WRAPPER_VERSION}-x86_64-unknown-linux-gnu.tar.gz"
lw_baml_url="https://github.com/BoundaryML/baml/releases/download/baml-wrapper-${BAML_WRAPPER_VERSION}/${lw_baml_archive}"
lw_baml_dir="${RUNNER_TEMP}/baml"

curl --fail --location --show-error --silent \
--output "${RUNNER_TEMP}/${lw_baml_archive}" \
"${lw_baml_url}"
echo "${BAML_WRAPPER_SHA256} ${RUNNER_TEMP}/${lw_baml_archive}" | sha256sum --check
mkdir -p "${lw_baml_dir}"
tar -xzf "${RUNNER_TEMP}/${lw_baml_archive}" -C "${lw_baml_dir}"
echo "${lw_baml_dir}/bin" >> "${GITHUB_PATH}"

- name: Install BAML toolchain
run: baml toolchain install "${BAML_VERSION}"

- name: Report tool versions
run: |
baml --version
rustc --version
cargo --version
shellcheck --version

- name: Check BAML formatting
run: |
baml fmt
git diff --exit-code -- baml_src

- name: Check and test BAML
run: |
baml check -F display_all_warnings
baml test --no-profile

- name: Generate Rust SDK
shell: bash
run: |
if ! baml generate -q >"${RUNNER_TEMP}/baml-generate.log" 2>&1; then
cat "${RUNNER_TEMP}/baml-generate.log"
exit 1
fi

- name: Check Rust formatting
run: cargo fmt -- --check

- name: Lint Rust
run: cargo clippy --locked --all-targets --all-features -- -D warnings

- name: Test Rust
run: cargo test --locked --all-targets

- name: Build release
run: |
cargo build --release --locked
test -f target/release/lw
test -f target/release/libonnxruntime_providers_shared.so
test -f target/release/libonnxruntime_providers_cuda.so

- name: Check shell scripts
run: |
shellcheck install.sh integrations/sway/local-wisper.sh
bash -n install.sh integrations/sway/local-wisper.sh
12 changes: 3 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
# Python cache/artifacts
target/
/baml_sdk/
*.wav
__pycache__/
*.py[cod]
*.pyo

# Virtual environments
.venv/
venv/

# Local runtime outputs
wisper_recording_*.wav

# OS/editor noise
.DS_Store
*.swp
*.swo
28 changes: 28 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
repos:
- repo: local
hooks:
- id: baml-format
name: BAML format
entry: baml fmt
language: system
files: ^baml_src/.*\.baml$

- id: baml-check
name: BAML check
entry: baml check -F display_all_warnings
language: system
pass_filenames: false
files: ^(baml\.toml|baml_src/.*\.baml)$

- id: rust-format
name: Rust format
entry: cargo fmt
language: system
pass_filenames: false
files: ^(Cargo\.(lock|toml)|src/.*\.rs)$

- id: shellcheck
name: ShellCheck
entry: shellcheck
language: system
files: ^(install\.sh|integrations/.*\.sh)$
Loading