Skip to content

chore(manifest): declare catalog-serve bin - #10

Merged
andrei-hasna merged 2 commits into
mainfrom
e3bb2e4d
Aug 16, 2026
Merged

chore(manifest): declare catalog-serve bin#10
andrei-hasna merged 2 commits into
mainfrom
e3bb2e4d

Conversation

@andrei-hasna

@andrei-hasna andrei-hasna commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

Lane e3bb2e4d (four-surface drain, wave 594efd1f). Manifest-only change.

Evidence (read-only sweep of default branch):

  • src/server/index.ts is a runnable Bun HTTP server: shebang #!/usr/bin/env bun, startCatalogServer() via Bun.serve, import.meta.main entry.
  • The ./server export already declares dist/server/index.js, so the built artifact is part of the package's declared surface; only the bin was missing.
  • No catalog-serve bin existed; the four-surface set is CLI + MCP + serve (SDK not applicable — library-shaped package with ./server, ./contracts, ./store, ./seed, ./site, ./ingest exports).

Declares catalog-serve: dist/server/index.js. No code changed.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

Evidence: src/server/index.ts is a runnable Bun server (shebang, import.meta.main, startCatalogServer); the ./server export already declares dist/server/index.js. Declaring the bin completes the four-surface set without code changes.

Agent: agent-chief-finance
The contract-manifest parity test requires hasna.contract.json bins to
match package.json bin keys exactly; the package.json side already
declared catalog-serve, leaving the manifest entry missing and CI red.

Agent: aemilianus
@andrei-hasna
andrei-hasna merged commit efb984d into main Aug 16, 2026
2 checks passed
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