docs: reserve seam for complete capabilities
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Code-execution seam for running one model-written program against host async bindings.
|
||||
* Service Definition for the code-execution capability seam that runs one model-written program against host async bindings.
|
||||
* Runtimes know nothing about tools or sessions; consumers own those concerns.
|
||||
* @module @deepseek-ai/dsh-code-runtime
|
||||
*/
|
||||
@@ -96,7 +96,7 @@ declare module 'cordis' {
|
||||
|
||||
/**
|
||||
* Registers one `ctx.codeRuntime` implementation. Program, budget, abort, and substrate
|
||||
* failures resolve in {@link CodeRunResult}; only seam misuse rejects. Implementations bridge
|
||||
* failures resolve in {@link CodeRunResult}; only Service Definition contract misuse rejects. Implementations bridge
|
||||
* structured-cloneable bindings, materialize each declared namespace rejection
|
||||
* class, treat programs as hostile peers, isolate runs from one another, and
|
||||
* terminate and await in-flight runs during disposal.
|
||||
@@ -127,7 +127,7 @@ export abstract class CodeRuntime extends Service {
|
||||
/**
|
||||
* Execute one program against the request's bindings and capture what it
|
||||
* emitted. See the class doc for the resolution contract (error is a result
|
||||
* field; rejection means seam misuse only).
|
||||
* field; rejection means Service Definition contract misuse only).
|
||||
* @param request - the program, its bindings, and the abort signal; the
|
||||
* request carries everything the runtime acts on, with no hidden defaults.
|
||||
* @returns the run's outcome: completion value (when transferable), the
|
||||
|
||||
Reference in New Issue
Block a user