@nextclaw/nextclaw-narp-runtime-opencode 0.1.12 → 0.1.13-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,7 +14,6 @@ var OpencodeAcpRuntime = class {
14
14
  startupTimeoutMs: config.startupTimeoutMs,
15
15
  probeTimeoutMs: config.startupTimeoutMs,
16
16
  requestTimeoutMs: config.requestTimeoutMs,
17
- sessionId: config.sessionId,
18
17
  resolveProviderRoute: () => this.config.providerRoute
19
18
  });
20
19
  }
@@ -1 +1 @@
1
- {"version":3,"file":"opencode-acp-runtime.service.js","names":[],"sources":["../../src/services/opencode-acp-runtime.service.ts"],"sourcesContent":["import type {\n NcpAgentRunInput,\n NcpAgentRunOptions,\n NcpAgentRuntime,\n NcpEndpointEvent,\n} from \"@nextclaw/ncp\";\nimport { StdioRuntimeNcpAgentRuntime } from \"@nextclaw/nextclaw-ncp-runtime-stdio-client\";\nimport type { OpencodeAcpRuntimeConfig } from \"@opencode-narp/types/opencode-narp-runtime.types.js\";\n\nexport class OpencodeAcpRuntime implements NcpAgentRuntime {\n private readonly runtime: StdioRuntimeNcpAgentRuntime;\n\n constructor(private readonly config: OpencodeAcpRuntimeConfig) {\n this.runtime = new StdioRuntimeNcpAgentRuntime({\n wireDialect: \"acp\",\n processScope: \"per-session\",\n command: config.command,\n args: config.args,\n cwd: config.cwd,\n env: config.env,\n startupTimeoutMs: config.startupTimeoutMs,\n probeTimeoutMs: config.startupTimeoutMs,\n requestTimeoutMs: config.requestTimeoutMs,\n sessionId: config.sessionId,\n resolveProviderRoute: () => this.config.providerRoute,\n });\n }\n\n run = async function* (\n this: OpencodeAcpRuntime,\n input: NcpAgentRunInput,\n options?: NcpAgentRunOptions,\n ): AsyncGenerator<NcpEndpointEvent> {\n yield* this.runtime.run(input, options);\n };\n\n dispose = async (): Promise<void> => {\n await this.runtime.dispose();\n };\n}\n"],"mappings":";;AASA,IAAa,qBAAb,MAA2D;CACzD;CAEA,YAAY,QAAmD;AAAlC,OAAA,SAAA;AAC3B,OAAK,UAAU,IAAI,4BAA4B;GAC7C,aAAa;GACb,cAAc;GACd,SAAS,OAAO;GAChB,MAAM,OAAO;GACb,KAAK,OAAO;GACZ,KAAK,OAAO;GACZ,kBAAkB,OAAO;GACzB,gBAAgB,OAAO;GACvB,kBAAkB,OAAO;GACzB,WAAW,OAAO;GAClB,4BAA4B,KAAK,OAAO;GACzC,CAAC;;CAGJ,MAAM,iBAEJ,OACA,SACkC;AAClC,SAAO,KAAK,QAAQ,IAAI,OAAO,QAAQ;;CAGzC,UAAU,YAA2B;AACnC,QAAM,KAAK,QAAQ,SAAS"}
1
+ {"version":3,"file":"opencode-acp-runtime.service.js","names":[],"sources":["../../src/services/opencode-acp-runtime.service.ts"],"sourcesContent":["import type {\n NcpAgentRunInput,\n NcpAgentRunOptions,\n NcpAgentRuntime,\n NcpEndpointEvent,\n} from \"@nextclaw/ncp\";\nimport { StdioRuntimeNcpAgentRuntime } from \"@nextclaw/nextclaw-ncp-runtime-stdio-client\";\nimport type { OpencodeAcpRuntimeConfig } from \"@opencode-narp/types/opencode-narp-runtime.types.js\";\n\nexport class OpencodeAcpRuntime implements NcpAgentRuntime {\n private readonly runtime: StdioRuntimeNcpAgentRuntime;\n\n constructor(private readonly config: OpencodeAcpRuntimeConfig) {\n this.runtime = new StdioRuntimeNcpAgentRuntime({\n wireDialect: \"acp\",\n processScope: \"per-session\",\n command: config.command,\n args: config.args,\n cwd: config.cwd,\n env: config.env,\n startupTimeoutMs: config.startupTimeoutMs,\n probeTimeoutMs: config.startupTimeoutMs,\n requestTimeoutMs: config.requestTimeoutMs,\n resolveProviderRoute: () => this.config.providerRoute,\n });\n }\n\n run = async function* (\n this: OpencodeAcpRuntime,\n input: NcpAgentRunInput,\n options?: NcpAgentRunOptions,\n ): AsyncGenerator<NcpEndpointEvent> {\n yield* this.runtime.run(input, options);\n };\n\n dispose = async (): Promise<void> => {\n await this.runtime.dispose();\n };\n}\n"],"mappings":";;AASA,IAAa,qBAAb,MAA2D;CACzD;CAEA,YAAY,QAAmD;AAAlC,OAAA,SAAA;AAC3B,OAAK,UAAU,IAAI,4BAA4B;GAC7C,aAAa;GACb,cAAc;GACd,SAAS,OAAO;GAChB,MAAM,OAAO;GACb,KAAK,OAAO;GACZ,KAAK,OAAO;GACZ,kBAAkB,OAAO;GACzB,gBAAgB,OAAO;GACvB,kBAAkB,OAAO;GACzB,4BAA4B,KAAK,OAAO;GACzC,CAAC;;CAGJ,MAAM,iBAEJ,OACA,SACkC;AAClC,SAAO,KAAK,QAAQ,IAAI,OAAO,QAAQ;;CAGzC,UAAU,YAA2B;AACnC,QAAM,KAAK,QAAQ,SAAS"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextclaw/nextclaw-narp-runtime-opencode",
3
- "version": "0.1.12",
3
+ "version": "0.1.13-beta.0",
4
4
  "private": false,
5
5
  "description": "NARP stdio launcher for the OpenCode runtime.",
6
6
  "type": "module",
@@ -19,9 +19,9 @@
19
19
  "README.md"
20
20
  ],
21
21
  "dependencies": {
22
- "@nextclaw/ncp": "0.6.3",
23
- "@nextclaw/nextclaw-narp-stdio-runtime-wrapper": "0.2.13",
24
- "@nextclaw/nextclaw-ncp-runtime-stdio-client": "0.2.13"
22
+ "@nextclaw/ncp": "0.6.4-beta.0",
23
+ "@nextclaw/nextclaw-narp-stdio-runtime-wrapper": "0.2.14-beta.0",
24
+ "@nextclaw/nextclaw-ncp-runtime-stdio-client": "0.2.14-beta.0"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/node": "^20.17.6",