Skip to content

feat(jerry-term): Phase 3 Slice 1 — Project Scaffold - #10

Closed
SarkarShubhdeep wants to merge 1 commit into
developmentfrom
phase3/jerry-term
Closed

feat(jerry-term): Phase 3 Slice 1 — Project Scaffold#10
SarkarShubhdeep wants to merge 1 commit into
developmentfrom
phase3/jerry-term

Conversation

@SarkarShubhdeep

Copy link
Copy Markdown
Collaborator

Summary

  • Scaffold packages/jerry-term/ as the first tsup-bundled, publishable CLI in the monorepo
  • Configure bundling to inline @mieweb/jerry-agent-runtime (and other workspace packages) so published package has zero unpublished deps
  • Add minimal --version entry point to verify acceptance criteria

Changes

  • packages/jerry-term/ — new package with tsup build, bin entry, React/Ink deps pre-installed
  • docs/plans/phase-3.md — mark Slice 1 as Done
  • pnpm-lock.yaml — updated with new dependencies (ink, tsup, etc.)

Acceptance Criteria

  • pnpm --filter jerry-term build succeeds
  • dist/index.js contains bundled createLocalRuntime (grep confirmed)
  • pnpm --filter jerry-term typecheck passes
  • npm link && jerry-term --version prints jerry-term v0.1.0

Test Plan

  1. pnpm install && pnpm --filter jerry-term build
  2. rg "createLocalRuntime" packages/jerry-term/dist/index.js → should match
  3. cd packages/jerry-term && npm link && jerry-term --version

Dependencies

  • Depends on: Phase 2 complete (agent-runtime, tools packages)
  • Blocks: Slice 2 (Bridge Layer)

Made with Cursor

Add packages/jerry-term/ as a publishable tsup-bundled CLI with:
- Bundled @mieweb/jerry-agent-runtime via noExternal config
- Minimal --version entry point for acceptance verification
- React/Ink dependencies pre-installed for later slices

Verified: build produces dist/ with createLocalRuntime inlined,
typecheck passes, npm link + jerry-term --version works.

Co-authored-by: Cursor <cursoragent@cursor.com>
@SarkarShubhdeep

Copy link
Copy Markdown
Collaborator Author

Closing in favor of a single combined PR at jerry-term MVP completion.

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