GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — opencode/packages/effect-drizzle-sqlite/AGENTS.md at dev · madflow/opencode

Expand file tree

/

AGENTS.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
19 lines (15 loc) · 1.33 KB
/

AGENTS.md

Copy path

File metadata and controls

19 lines (15 loc) · 1.33 KB
Raw
Copy raw file
Download raw file
Edit and raw actions

Effect Drizzle SQLite

This package vendors a Drizzle Effect SQLite adapter for this repo.

  • Keep this package generic: Drizzle + Effect + SQLite only.
  • Do not add opencode-specific tables, paths, migrations, post-commit hooks, or domain storage APIs here.
  • Runtime code should depend on generic effect/unstable/sql/SqlClient, not a specific SQLite driver.
  • Concrete SQLite clients such as @effect/sql-sqlite-bun belong in tests or examples unless this package intentionally adds a driver-specific helper.
  • Preserve Drizzle adapter naming and behavior where possible so this can be replaced by upstream drizzle-orm/effect-sqlite later.
  • If touching copied Drizzle internals, compare with current [email protected] declarations and runtime JS.
  • If touching Effect APIs, verify against /Users/kit/code/open-source/effect-smol.

Useful entry points:

  • src/effect-sqlite/driver.ts: creates the Effect-backed Drizzle database with make and makeWithDefaults.
  • src/effect-sqlite/session.ts: adapts generic Effect SqlClient execution and transactions to Drizzle SQLite sessions.
  • src/sqlite-core/effect/*: Effect-yieldable SQLite query builders.
  • src/internal/drizzle-utils.ts: local typed shims for Drizzle runtime internals that RC2 does not expose in declarations.
  • examples/basic.ts: minimal usage example with Bun SQLite.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.