Skip to content

chore(agents-md): monorepo milestone — root trampoline documented#74

Merged
BYK merged 1 commit intomainfrom
chore/monorepo-milestone
Apr 17, 2026
Merged

chore(agents-md): monorepo milestone — root trampoline documented#74
BYK merged 1 commit intomainfrom
chore/monorepo-milestone

Conversation

@BYK
Copy link
Copy Markdown
Owner

@BYK BYK commented Apr 17, 2026

Summary

Updates the curator-managed AGENTS.md monorepo architecture entry to document the root trampoline requirement discovered in PR #73.

This also serves as the milestone marker for the completed Phase 1 work:

What shipped (PRs #70#73)

  1. Monorepo structurepackages/core/ (@loreai/core) + packages/opencode/ (opencode-lore)
  2. SQLite driver abstraction#db/driver subpath imports swap bun:sqlitenode:sqlite at runtime
  3. Zero Bun-specific APIsBun.CryptoHasher and Bun.file replaced with node:crypto and node:fs
  4. Root trampolinemain/exports in root package.json point to the OpenCode plugin so file:/// loading works
  5. 358 tests pass, both packages typecheck clean

What's next (Phase 2+)

  • esbuild build scripts for bundled publish
  • Host abstraction (LoreMessage/LorePart, LLMClient interface)
  • Pi extension package (@loreai/pi)
  • Release pipeline (dual-publish under @loreai scope)

Curator updated the architecture entry to note that root package.json
MUST have main/exports pointing to packages/opencode/src/index.ts —
the trampoline is required for OpenCode's file:/// plugin loader.
@BYK BYK enabled auto-merge (squash) April 17, 2026 10:35
@BYK BYK merged commit b789a93 into main Apr 17, 2026
1 check passed
@BYK BYK deleted the chore/monorepo-milestone branch April 17, 2026 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant