Commit Graph
2 Commits
Author SHA1 Message Date
sjw1231 d93a16ac33 refactor(experimental): import HarnessError from dsh-error
Every HarnessError import this branch adds now comes from the
dependency-free @deepseek-ai/dsh-error package, declared as a peer and
dev dependency with its tsconfig reference; dsh-llm peers added only for
the base class are dropped, and the dependency policy classifies the
dsh-error export once.

Refs #7869
2026-11-09 15:03:41 +08:00
sjw1231 546237ff56 feat(browser-use-runtime): add BrowserSessionError for browser ownership failures
Foreign-Session tools, a reserved attached browser, a non-live owner, a
closing Session browser, and failed cleanup now throw
BrowserSessionError with a closed BROWSER_* code. A browser MCP call
without an Agent throws ToolContextUnavailableError, and a non-Error
abort reason becomes AbortError / ABORTED.

Refs #7869
2026-11-09 14:51:45 +08:00