hermes-agent/apps/desktop/product-identity.d.cts
ethernet b37acb8389 feat(release): dynamic R2-owned channels and preview retirement (rounds 1-2)
Checkpoint before round-3 reduction (two-tier retirement derived from
product identity). Includes:

- R2 channel protocol (release_channels.py, channel-protocol.ts): records,
  builds, manifests, retired channels with pinned destinationHead and
  receiverProtocol; fail-closed readers in both languages
- One shared native manifest/feed writer (scripts/bundles/channel_artifacts.py)
- Scoped/disposable R2 publication, fork isolation before credential
  access, canary bootstrap verification of its own promoted outputs
- Channel source CLI: typed SourceTarget, source-channel resolution,
  retirement downgrade refusal
- Desktop channel resolver/strategy, install-stamp/build-stamp receiver
  ownership (stable-owned S/T candidates), single-flight updater operation
- Cross-package retirement machinery (receiver/host/preservation/
  compatibility/connections/dialog/discovery, backup_migration strict
  snapshots with retained-link inventory, empty-dir preservation,
  connection-collision resolution, URL-credential rejection)
- Native install harness (tests/install/channel-retirement-*) and
  install-e2e retirement jobs
- checkout-source.test.ts transport shim now covers build_opener().open
  (was silently hitting the real network in CI)

Removed secondary certification protocol (channel_qualification.py) per
approved round-2 plan. All focused suites green at checkpoint; native
cross-package journeys unverified (to be deleted in round 3).
2026-09-14 10:26:36 -04:00

35 lines
1.4 KiB
TypeScript

interface ProductIdentity {
/** True when this artifact is Hermes Light (remote-only client). */
light: boolean
/** True for a Store-submission build (Windows Store packaging identity). */
store: boolean
/** Display name. e.g. "Hermes Light" */
displayName: string
/** OS-level app identity. e.g. "com.nousresearch.hermes-light" */
appId: string
/** app name in pascal case. e.g. "HermesLight" */
appNamePascal: string
/** Artifact prefix stays compatible with release archive consumers. */
artifactNamePascal: string
/** Windows GUI executable stem; not the payload CLI launcher path. */
windowsExecutableName: string
/** Exposed payload CLI command. */
cliName: string
/** OS-level app identity w/ org prefix. e.g. "NousResearch.HermesLight" */
msixAppIdWithOrg: string
/** R2 identity token on channel builds; absent on legacy products. */
readonly token?: string
/** Channel subscription for channel builds; legacy electron-updater label otherwise. Stable tags:
* "latest" | "light"; canary tags: "canary" | "light-canary". Null
* for Store and commit builds (no release feed). */
readonly channel: string | null
/** Store-submission MSIX packaging identity. Present only when `store`. */
storeMsix?: {
identityName: string
publisher: string
publisherDisplayName: string
}
}
declare const identity: ProductIdentity
export = identity