MCPcopy Create free account
hub / github.com/apache/maka / backgroundTaskRefError

Function backgroundTaskRefError

packages/runtime/src/shell-run-manager.ts:105–109  ·  view source on GitHub ↗

* The model reads BACKGROUND_TASK_REF_HELP; an operator reads the * `cause`. Dropping the rejected string outright would have made three call * sites indistinguishable in a log, so it travels the way `builtin-tools.ts` * carries its worker-protocol violations: out of the transcript, in ev

(ref: string)

Source from the content-addressed store, hash-verified

103 * stack.
104 */
105function backgroundTaskRefError(ref: string): Error {
106 return new Error(BACKGROUND_TASK_REF_HELP, {
107 cause: new Error(`Unsupported runtime background task ref: ${ref}`),
108 });
109}
110type DriverExit =
111 | { mode: 'pipes'; value: PipeProcessExit }
112 | { mode: 'pty'; value: PtyProcessExit };

Callers 3

writeStdinMethod · 0.85
stopBackgroundTaskMethod · 0.85
resourceDetailMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected