Skip to content

fix(example): compile the release consumer from the registry - #25

Merged
erwinmsmith merged 1 commit into
mainfrom
fix/release-consumer-example
Aug 14, 2026
Merged

fix(example): compile the release consumer from the registry#25
erwinmsmith merged 1 commit into
mainfrom
fix/release-consumer-example

Conversation

@erwinmsmith

Copy link
Copy Markdown
Contributor

Problem

docs/guides/releases.md requires verifying each release with a clean temporary consumer that installs exact versions from the registry, compiles, and runs tests. Doing that with examples/release-agent fails today:

  • package-tour.ts imports @codesoul-co/hypha-serving-cache and @codesoul-co/hypha-testing, but the example manifest only declares hypha-domain and hypha-kernel;
  • three map callbacks rely on implicit any under the example's strict tsconfig.

Change

  • Declare the complete 15-package @codesoul-co/hypha-* 1.0.1 release line in the example manifest.
  • Annotate the three callbacks in package-tour.ts.

Verification (clean consumer from the registry)

npm install   # resolves every @codesoul-co/hypha-* package from registry.npmjs.org
npm run compile-agent
npm test

The release guide requires verifying every release with a clean consumer
that installs exact versions from the registry and compiles. The example
currently fails that check:

- package-tour.ts imports @codesoul-co/hypha-serving-cache and
  @codesoul-co/hypha-testing, but the manifest only declares domain and
  kernel;
- three map callbacks rely on implicit any under the strict tsconfig.

Declare the full 15-package release line and annotate the callbacks.
@erwinmsmith
erwinmsmith merged commit bbeeffe into main Aug 14, 2026
4 checks passed
@erwinmsmith
erwinmsmith deleted the fix/release-consumer-example branch August 14, 2026 04:42
erwinmsmith added a commit to erwinmsmith/THETA-Agent that referenced this pull request Aug 14, 2026
Hypha is no longer a local third_party checkout. THETA-Agent now depends
on the published @codesoul-co/hypha-* npm release line (1.0.1) exactly as
Hypha's official release guidance prescribes; THETA remains the single
third_party upstream checkout.

- manifests: replace all file:third_party/Hypha dependencies with
  @codesoul-co/hypha-*@1.0.1 and drop the hypha:install/hypha:build steps
- imports: rename every @hypha/* import across agent, tools, domain to the
  published package names
- skills: load Hypha built-in skills from the shipped
  resolveBuiltinSkillsDirectory() data of @codesoul-co/hypha-skills instead
  of a source checkout
- doctor: replace hypha.lock/hypha.build checks with hypha.packages, which
  verifies the installed release line, package entries, and shipped built-ins
- upstreams: config/upstreams.lock.json now pins only THETA
- tooling: allow better-sqlite3 postinstall for pnpm; update repository
  validation, README, architecture and CLI docs accordingly

Hypha-side fixes released upstream and consumed here:
- CodeSoul-co/Hypha#22 ships built-in skills in the hypha-skills tarball
- CodeSoul-co/Hypha#23 resolves the npm audit failures
- CodeSoul-co/Hypha#24 prepares and publishes @codesoul-co/hypha-* 1.0.1
- CodeSoul-co/Hypha#25 makes the official consumer example compile from
  the registry

Verified: build, test:registries, test:providers, test:docs, test:python,
validate, doctor, governed demo, REPL, and the HTTP API all pass without a
Hypha checkout.
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