Thanks for helping. Bug reports, price updates and pull requests are all welcome.
Contributions are accepted under the Developer Certificate of Origin (DCO), not a CLA. Every commit must carry a sign-off line that matches its author:
Signed-off-by: Your Name <you@example.com>
git commit -s adds it. CI rejects commits without one. To fix a branch:
git rebase --signoff main and force-push.
By signing off you certify the DCO 1.1: that you wrote the change or have the right to submit it under the license of the part of the repository it touches.
- Everything outside
ee/is Apache-2.0 (LICENSE). ee/is underLICENSE-EE.- Code outside
ee/must never import fromee/; CI checks this. Capture, the local ledger, the command line, upload, the server and the dashboard must work with no license present.ee/plugs in through the server's extension points (extensions,migrationsandhostinginapps/server/src/run.ts). - Running Sessionly as a service for many organisations (signing up, signing in with Google or
GitHub,
SESSIONLY_HOSTED=true) isee/src/hosted, underLICENSE-EE.
cargo fmt --check && cargo clippy --all-targets -- -D warnings && cargo test
pnpm install
pnpm typecheck && pnpm test && pnpm buildThe documentation is the pages in docs-site/, published at
docs.sessionly.dev. A change to what a command, a setting or an
endpoint does comes with the change to its page. docs-site/README.md says how to preview the
site; README.md stays short and points there.
A release is made by pushing a tag: set version in crates/sessionly/Cargo.toml, commit
(with the updated Cargo.lock), and push the tag v<version> on that commit. The Release
workflow builds the Linux and macOS binaries and publishes them with SHA256SUMS; it stops if
the tag and the version disagree. Run by hand from the Actions page, the workflow builds the
same archives without publishing, which is a way to try the build.
A published archive is never replaced: the script that sessionly install --repo writes into
other people's repositories carries its checksum. A fix is a new version.
The GitHub Action has its own version, version in action/package.json. Bump it, and
CURRENT_ACTION in apps/server/src/pulls.ts to the same value, with every change to what a
report contains. A test fails when the two differ.
Model prices live in crates/sessionly/src/pricing.rs. Never guess one: a model without a
published price stays out of the table, and its requests are reported as unpriced.