Commit Graph

2 Commits

Author SHA1 Message Date
ajspig 699c99368d
feat(harness-plugin-core): simplify telemetry headers and HOME-first config path (#1124)
* feat(harness-plugin-core): simplify telemetry headers and HOME-first config path

- Identity is three headers: X-Honcho-Host `name/version (platform)`,
  X-Honcho-Plugin `name/version`, X-Honcho-Agent-Model. X-Honcho-Runtime is
  dropped. TelemetryIdentity gains `plugin` and `platform`.
- configPath() resolves env.HOME (then USERPROFILE) before os.homedir(), since
  Bun's homedir() ignores in-process HOME changes and plugin tests were hitting
  the real ~/.honcho/config.json.
- Extensionless internal imports so consumers no longer need
  allowImportingTsExtensions to type-check against the source exports.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* chore: minor nits

---------

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-03 17:19:15 -04:00
ajspig b573a84806
Harness core (#1110)
* chore: scaffold @honcho-ai/harness-core

* feat(harness-core): resolve shared root config

* feat(harness-core): send client identity headers on SDK requests

* feat(harness-core): drop cloud vs custom api header

* feat(harness-core): migrating v0 config to schema v1 on read

* chore(harness-core): clean up

* feat(config): describe oauth and host overrides in the v1 schema

* chore: rename to harness-plugin-core

* feat(harness-plugin-core): update telemetry headers on a live client.
2026-09-02 17:56:09 -04:00