Files
alt-glitch 1fadfed3f1 fix(shared): the gateway client's terminal-failure hook names its own line; test the default path
Review of the move:

- `isTerminalConnectFailure` becomes `terminalConnectFailure`, which returns the line to report.
  The shared client no longer parses Ink's `gateway unavailable:` format; Ink's subclass does, and
  logs the same line as before.
- apps/shared/src/node/gateway-client.test.ts runs the client with only `connect` (no Ink
  options): it dials the grant with its subprotocols, reads runtime.describe before readiness,
  creates a `source: tui` session, rejects a pending request with the English close text, and
  redials through `connect(false, true)`.
- Docs say sessions are created with `source: "tui"` and that `hermes gateway attach` comes with
  #142159; option and file comments are corrected (connection fields, `text`, prompt-history's
  HERMES_HOME, the i18n and helper comments that named the old files).
- Duplicate `@hermes/shared/gateway-types` imports are merged, and apps/shared/tsconfig.json keeps
  its original formatting.
2026-11-06 11:14:34 -05:00

7 lines
123 B
JSON

{
"extends": "./tsconfig.json",
"compilerOptions": { "types": ["node"] },
"include": ["src/node"],
"exclude": []
}