Commit Graph

8 Commits

Author SHA1 Message Date
kashorin e9c3d81616 docs: migrate example projects to the 0.3 model 2026-10-07 20:45:22 +08:00
Mikee Ai b326e81b86 feat(credentials): add a platform Store and select it in every example
All eight example Profiles selected `@hypit/credential-store-os`, which opens
only on macOS and Windows, so the flagship examples could not authenticate on
Linux without the reader editing the Profile first. Selecting the portable file
Store instead would have moved the problem the other way, storing an unencrypted
document on hosts that have a locked keychain to offer.

`@hypit/credential-store-platform` answers to the name `platform` everywhere and
keeps each credential where its platform keeps credentials: the user's keychain
or Credential Locker where one exists, and an owner-private file where none does.
It delegates rather than reimplements, so the backing store keeps its own rules
and either can still be selected by name. Its file fallback uses the same default
directory as `@hypit/credential-store-file`, so a host without a locker finds the
credential it already stored when a Profile switches between them.

`file`, `os` and `env` remain selectable, and nothing migrates between stores: the
choice is made once per host.
2026-09-16 21:07:56 -04:00
kashorin 293ccd177d refactor(runtime): model shared limits as capacity, not queues 2026-09-04 21:12:22 +08:00
kashorin 2db4f1ba37 chore(examples): name Endpoint instances like the starter profile
The example profiles named every Endpoint instance after the project
(hypihub.hypit-podcast, media.football-ranking, ...), which reads as if
each project had its own HypiHub. An Endpoint is where work runs and whose
account it uses, not which video it serves, and the credential behind
HypiHub is the machine-wide hypihub.oauth entry regardless of the name.
Use the same instance names as `hypit runtime init` and the Skill:
hypihub.default, media.local, hyperframes.local, kie.default,
whisperx.local. Only the keys change.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-04 01:50:25 +08:00
kashorin 64fc5a25b9 fix(examples): make every example Run plan again
The examples had drifted from the packages they import:

- gpt:Image publishes its picture under the `.image` port, but every
  Reference, StillVideo source, emoji placeholder/icon and ranking Item
  icon edge still named the bare element id, so plan stopped at
  "cannot resolve" or "has the wrong Type". The gpt-image README carried
  the same stale form; it now matches the package's own example.
- The four interview sources used <gpt:Image> without importing
  @hypit/gpt-image.
- The three HypiHub-first profiles (interview, podcast, ranking-football)
  bound whisperx-alignment twice, to HypiHub and to the local WhisperX
  Provider, which the registry reports as ambiguous. The local Endpoint is
  removed there; the KIE-based ranking sub-projects keep it because it is
  their only alignment Provider.

All 25 example Runs now plan with their Runtime Profiles, with no
ambiguous or unresolved capability.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-04 01:35:11 +08:00
kashorin cb0b061e5c feat(runtime): establish honest starter environment 2026-09-03 22:36:29 +08:00
rpone ca85c56368 feat(examples): use MiMo VoiceDesign voices 2026-09-03 00:26:02 +08:00
rpone d52173bee8 feat: add README video examples 2026-09-02 18:50:35 +08:00