GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — [FEATURE]: SDK invocation accounting boundary for background-shell continuations · Issue #59953 · anomalyco/opencode Open DescriptionFeature hasn't been suggested before.
Describe the enhancement you want to requestProvide a supported SDK boundary for attributing and finalizing model usage for one caller invocation when native background shells can later resume the same session. We integrate OpenCode into NVIDIA NeMo Fabric and need to distinguish an idle root execution from an invocation whose attributable model work is complete. Native background execution is intentional; this request concerns lifecycle and attribution support, not incorrect token values. Version and evidenceVerified with In the v2.0.23 shell completion path, a completed background job posts a synthetic input into its session. That notification can wake another model turn after an embedding caller has received its initial result. The public Reproduction and current downstream handlingA controlled real-SDK regression uses a local mock OpenAI-compatible streaming endpoint with known usage:
The regression stops the embedded SDK after the result; it does not claim to measure a subsequent post-result model request. The future-wakeup concern follows the native completion path above. An end-to-end Harbor task also reaches this background-shell guard while completing successfully. NeMo-Fabric#525 retains partial observations without presenting them as complete totals. Requested contractA supported capability that lets an embedding establish an unambiguous invocation boundary, either by fencing/deferring future model continuations without killing background services, or by attributing continuations to a stable invocation identity and exposing when its usage is final. Please advise if an existing supported API already provides this contract. The boundary should handle a shell exiting after the initial root result, completion racing with interruption, and a subsequent invocation on the same warm runtime. An authoritative idle check or canceling one already-queued inbox entry alone does not cover a future completion notification. Waiting indefinitely or terminating a task's long-running server is not a usable workaround. Until a boundary is established, unknown complete counters are the truthful downstream behavior. Related: #56115 requests plugin inbox cancellation/busy queries; #36348 covers shell restart semantics. This request is specifically about a live embedding's invocation ownership and completion. Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |