maweibin
586107002a
fix(runtime): throw typed ExitError instead of generic Error for simulated exit ( #97796 ) ( #97803 )
...
createNonExitingRuntime.exit() threw a generic Error, making it
impossible for upstream try-catch to distinguish a simulated process
exit from a real runtime crash. Added an ExitError class (internal-only,
not exported from SDK) that callers can check via instanceof.
ExitError is kept internal to avoid expanding the public plugin SDK
API surface without maintainer approval. Tests import directly from
./runtime.js.
Fixes #97796 .
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-07-06 16:07:32 +00:00
Peter Steinberger
c1aa424d6b
docs: document src root entry helpers
2026-06-04 02:45:34 -04:00
Peter Steinberger
de1dfab03e
refactor: move terminal core into package ( #88279 )
...
* refactor: move terminal core into package
* refactor: move terminal module files
* fix: clean terminal package CI followups
* test: update lint suppression allowlist
* fix: ship terminal core runtime aliases
2026-05-30 11:07:45 +02:00
Peter Steinberger
2b6e08bbfa
refactor: remove confirmed dead helpers
2026-04-06 16:13:26 +01:00
Peter Steinberger
4ee41cc6f3
refactor(cli): separate json payload output from logging
2026-03-22 23:19:17 +00:00
Charles Dusek
81b498b2b6
fix(cli): keep JSON payloads on stdout when logs route to stderr
2026-03-22 15:43:48 -07:00
Charles Dusek
5bba1b45bc
fix(cli): bypass patched console.log for JSON payloads in --json mode
2026-03-22 15:43:48 -07:00
cpojer
262b7a157a
chore: chore: Fix types in tests 12/N.
2026-02-17 11:22:49 +09:00
Peter Steinberger
8df83d1835
refactor(core): extract shared runtime and wizard schemas
2026-02-16 17:06:40 +00:00
Peter Steinberger
994bcbf670
refactor: clarify restoreTerminalState stdin resume option
2026-02-14 20:47:00 +01:00
Vincent Koc
a042b32d2f
fix: Docker installation keeps hanging on MacOS ( #12972 )
...
* Onboarding: avoid stdin resume after wizard finish
* Changelog: remove Docker hang entry from PR
* Terminal: make stdin resume behavior explicit at call sites
* CI: rerun format check
* Onboarding: restore terminal before cancel exit
* test(onboard): align restoreTerminalState expectation
* chore(format): align onboarding restore test with updated oxfmt config
* chore(format): enforce updated oxfmt on restore test
* chore(format): apply updated oxfmt spacing to restore test
* fix: avoid stdin resume after onboarding (#12972 ) (thanks @vincentkoc)
---------
Co-authored-by: Peter Steinberger <steipete@gmail.com >
2026-02-14 19:46:07 +01:00
Peter Steinberger
54a242eaad
perf(test): gate monitor runtime logs during vitest
2026-02-14 01:14:56 +00:00
Shakker
157d6d2db7
CLI: restore terminal state on exit
2026-02-03 06:10:19 +00:00
Peter Steinberger
afb877a96b
perf: speed up memory batch polling
2026-01-18 03:55:14 +00:00
Peter Steinberger
e5f677803f
chore: format to 2-space and bump changelog
2025-11-26 00:53:53 +01:00
Peter Steinberger
b8b0873c1e
Extract auto-reply helpers into modules
2025-11-25 02:16:54 +01:00