@dudousxd/nestjs-agent-opencode 0.1.0 → 0.1.1

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.
@@ -602,8 +602,11 @@ declare class OpenCodeMcpEndpoint {
602
602
  */
603
603
  interface OpenCodeToolsOptions {
604
604
  /**
605
- * The URL OpenCode reaches that endpoint at — from where OpenCode runs (a sandbox reaches the app
606
- * at an internal address), e.g. `http://app.internal:3000/agent/opencode/mcp`.
605
+ * The URL the OpenCode server calls that endpoint at, passed to it verbatim (no default, nothing
606
+ * derived). It is resolved from where OpenCode runs, not from the app: e.g.
607
+ * `http://127.0.0.1:3000/agent/opencode/mcp` on the same machine, the app's Compose service or
608
+ * Kubernetes Service name otherwise. `/agent` is `AgentModule`'s `path`; it must reach a process
609
+ * that mounts controllers (not `surface: 'engine'`).
607
610
  */
608
611
  url: string;
609
612
  /** The MCP server's name in OpenCode; its tools are `<server>.<tool>` / `<server>_<tool>`. Default `'aviary'`. */
@@ -602,8 +602,11 @@ declare class OpenCodeMcpEndpoint {
602
602
  */
603
603
  interface OpenCodeToolsOptions {
604
604
  /**
605
- * The URL OpenCode reaches that endpoint at — from where OpenCode runs (a sandbox reaches the app
606
- * at an internal address), e.g. `http://app.internal:3000/agent/opencode/mcp`.
605
+ * The URL the OpenCode server calls that endpoint at, passed to it verbatim (no default, nothing
606
+ * derived). It is resolved from where OpenCode runs, not from the app: e.g.
607
+ * `http://127.0.0.1:3000/agent/opencode/mcp` on the same machine, the app's Compose service or
608
+ * Kubernetes Service name otherwise. `/agent` is `AgentModule`'s `path`; it must reach a process
609
+ * that mounts controllers (not `surface: 'engine'`).
607
610
  */
608
611
  url: string;
609
612
  /** The MCP server's name in OpenCode; its tools are `<server>.<tool>` / `<server>_<tool>`. Default `'aviary'`. */