Peter Steinberger
|
b1117d9862
|
refactor: extract gateway client package (#87797)
* refactor: extract gateway client package
* chore: drop generated gateway package artifacts
* refactor: move gateway protocol package
* refactor: remove old gateway protocol tree
* test: keep auth compat split in run mode
* test: expose gateway wrapper options for internals
* fix: watch moved gateway package sources
* test: normalize slash command import guard
* chore: teach knip gateway package entries
* ci: route gateway client package checks
* fix: reuse ipaddr for gateway client hosts
* fix: sync gateway protocol usage schema
|
2026-05-29 02:23:42 +01:00 |
|
Peter Steinberger
|
abb85ccc86
|
fix(cli): validate timeout and banner TTY state
Fixes two CLI edge cases found by clawpatch.
- `emitCliBanner` now honors injected TTY state before writing to stdout.
- Nodes RPC timeout handling now rejects malformed `--timeout` values with the existing timeout parser instead of forwarding `NaN` into gateway transport calls.
Proof:
- `node scripts/run-vitest.mjs src/cli/banner.test.ts src/cli/nodes-cli/register.invoke.approval-transport-timeout.test.ts`
- `pnpm exec oxfmt --check --threads=1 src/cli/banner.ts src/cli/banner.test.ts src/cli/nodes-cli/rpc.runtime.ts src/cli/nodes-cli/register.invoke.approval-transport-timeout.test.ts`
- `.agents/skills/autoreview/scripts/autoreview --mode branch --base origin/main`
- Real CLI proof: `pnpm openclaw nodes list --timeout nope --json` exits 1 with `Invalid --timeout`.
- Runtime banner proof: injected `isTty:false` with `stdout.isTTY=true` produced `writes=0`, `emitted=false`.
|
2026-05-26 21:08:11 +01:00 |
|
Josh Avant
|
e1c1c57242
|
Fix node approval scope requests (#84392)
* fix(cli): request node approval scopes
* docs(changelog): note node approval scope fix
|
2026-05-19 21:47:10 -05:00 |
|
Vincent Koc
|
0f7d9c9570
|
fix(runtime): split approval and gateway client seams
|
2026-04-11 18:36:48 +01:00 |
|
Shakker
|
36c8282795
|
refactor: lazy load cli gateway helper runtimes
|
2026-04-04 01:07:28 +09:00 |
|