cloudaxe-opencode/packages/opencode
Kit Langton 009d77c9d8 refactor(format): make formatting explicit instead of bus-driven
Replace the implicit Bus.subscribe(File.Event.Edited) formatter with
an explicit Format.run(filepath) call in write/edit/apply_patch tools.

This ensures formatting completes before FileTime stamps and LSP
diagnostics run, rather than relying on the bus to block on subscribers.

- Add Format.run() to the Effect service interface and legacy adapter
- Call Format.run() in write, edit, and apply_patch tools after writes
- Remove Bus subscription from Format layer
2026-03-18 22:09:14 -04:00
..
bin cache platform binary in postinstall for faster startup (#14467) 2026-02-20 12:19:17 -06:00
migration chore: generate 2026-03-13 10:19:52 +00:00
script refactor(snapshot): effectify SnapshotService (#17878) 2026-03-17 21:04:16 -04:00
specs refactor(effect): unify service namespaces and align naming (#18093) 2026-03-18 13:34:36 -04:00
src refactor(format): make formatting explicit instead of bus-driven 2026-03-18 22:09:14 -04:00
test feat(bus): migrate Bus to Effect service with PubSub internals 2026-03-18 21:36:04 -04:00
.gitignore get rid of models.dev macro 2026-01-24 12:27:13 -05:00
AGENTS.md refactor(effect): unify service namespaces and align naming (#18093) 2026-03-18 13:34:36 -04:00
BUN_SHELL_MIGRATION_PLAN.md sync 2026-02-25 01:48:10 -05:00
bunfig.toml fix(test): move timeout config to CLI flag (#13494) 2026-02-13 10:20:02 -05:00
Dockerfile add ARM64 Docker image support (#5483) 2025-12-13 13:01:59 -06:00
drizzle.config.ts sqlite again (#10597) 2026-02-14 04:19:02 +00:00
package.json fix: restore recent test regressions and upgrade effect beta (#18158) 2026-03-19 09:54:01 +10:00
parsers-config.ts fix(opencode): fix Clojure syntax highlighting (#13453) 2026-02-18 00:18:18 -06:00
README.md
sst-env.d.ts zen: update sst version 2026-02-18 13:54:23 -05:00
tsconfig.json chore: generate 2026-03-10 16:56:30 +00:00

js

To install dependencies:

bun install

To run:

bun run index.ts

This project was created using bun init in bun v1.2.12. Bun is a fast all-in-one JavaScript runtime.