fix(runtime): separate packaged JSON-RPC resolution
This commit is contained in:
11
packages/examples/jsonrpc-demo/src/packaged-bin.ts
Normal file
11
packages/examples/jsonrpc-demo/src/packaged-bin.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env node
|
||||
/**
|
||||
* Closed-runtime JSON-RPC agent bin. Bare plugins resolve from the installed
|
||||
* runtime closure while relative plugins remain configuration-relative.
|
||||
*
|
||||
* @module @deepseek-ai/dsh-jsonrpc-demo/packaged-bin
|
||||
*/
|
||||
|
||||
import { runJsonrpcAgent } from './runner.ts'
|
||||
|
||||
await runJsonrpcAgent(import.meta.url)
|
||||
Reference in New Issue
Block a user