repoburg 1.3.319 → 1.3.320

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.
Files changed (192) hide show
  1. package/agent-pane/backend/dist/index.js +156 -100
  2. package/agent-pane/backend/dist/server.js +156 -100
  3. package/backend/dist/src/agent-runtime/agent-runtime-event-emitter.d.ts +2 -1
  4. package/backend/dist/src/agent-runtime/agent-runtime-event-emitter.js +10 -0
  5. package/backend/dist/src/agent-runtime/agent-runtime-event-emitter.js.map +1 -1
  6. package/backend/dist/src/agent-runtime/agent-runtime.types.d.ts +12 -1
  7. package/backend/dist/src/ai-actions/ai-action-batch.service.js +6 -3
  8. package/backend/dist/src/ai-actions/ai-action-batch.service.js.map +1 -1
  9. package/backend/dist/src/app.module.js +2 -9
  10. package/backend/dist/src/app.module.js.map +1 -1
  11. package/backend/dist/src/application-state/application-state.service.d.ts +3 -4
  12. package/backend/dist/src/application-state/application-state.service.js +21 -25
  13. package/backend/dist/src/application-state/application-state.service.js.map +1 -1
  14. package/backend/dist/src/context-generation/context-generation.service.js +3 -0
  15. package/backend/dist/src/context-generation/context-generation.service.js.map +1 -1
  16. package/backend/dist/src/context-generation/project-guidance.d.ts +12 -0
  17. package/backend/dist/src/context-generation/project-guidance.js +103 -0
  18. package/backend/dist/src/context-generation/project-guidance.js.map +1 -0
  19. package/backend/dist/src/core-entities/mcp-config.entity.d.ts +3 -1
  20. package/backend/dist/src/core-entities/mcp-config.entity.js +17 -1
  21. package/backend/dist/src/core-entities/mcp-config.entity.js.map +1 -1
  22. package/backend/dist/src/global-config/dto/update-global-config.dto.d.ts +2 -0
  23. package/backend/dist/src/global-config/dto/update-global-config.dto.js +12 -0
  24. package/backend/dist/src/global-config/dto/update-global-config.dto.js.map +1 -1
  25. package/backend/dist/src/global-config/global-config.service.d.ts +2 -0
  26. package/backend/dist/src/global-config/global-config.service.js.map +1 -1
  27. package/backend/dist/src/interactive-chat/auto-compact.service.d.ts +34 -0
  28. package/backend/dist/src/interactive-chat/auto-compact.service.js +259 -0
  29. package/backend/dist/src/interactive-chat/auto-compact.service.js.map +1 -0
  30. package/backend/dist/src/interactive-chat/chat.module.js +2 -5
  31. package/backend/dist/src/interactive-chat/chat.module.js.map +1 -1
  32. package/backend/dist/src/interactive-chat/chat.service.d.ts +12 -4
  33. package/backend/dist/src/interactive-chat/chat.service.js +102 -39
  34. package/backend/dist/src/interactive-chat/chat.service.js.map +1 -1
  35. package/backend/dist/src/llm-orchestration/action-handlers/execute-code.handler.d.ts +1 -1
  36. package/backend/dist/src/llm-orchestration/action-handlers/execute-code.handler.js +8 -2
  37. package/backend/dist/src/llm-orchestration/action-handlers/execute-code.handler.js.map +1 -1
  38. package/backend/dist/src/llm-orchestration/action-handlers/mcp-tool-action.handler.d.ts +5 -2
  39. package/backend/dist/src/llm-orchestration/action-handlers/mcp-tool-action.handler.js +50 -17
  40. package/backend/dist/src/llm-orchestration/action-handlers/mcp-tool-action.handler.js.map +1 -1
  41. package/backend/dist/src/llm-orchestration/action-handlers/run-command.handler.js +9 -1
  42. package/backend/dist/src/llm-orchestration/action-handlers/run-command.handler.js.map +1 -1
  43. package/backend/dist/src/llm-orchestration/hooks/follow-up-post-execution.hook.js +8 -0
  44. package/backend/dist/src/llm-orchestration/hooks/follow-up-post-execution.hook.js.map +1 -1
  45. package/backend/dist/src/llm-orchestration/hooks/yolo-mode-post-execution.hook.js +2 -1
  46. package/backend/dist/src/llm-orchestration/hooks/yolo-mode-post-execution.hook.js.map +1 -1
  47. package/backend/dist/src/llm-orchestration/llm-orchestration.interfaces.d.ts +2 -0
  48. package/backend/dist/src/llm-orchestration/llm-orchestration.interfaces.js.map +1 -1
  49. package/backend/dist/src/llm-orchestration/llm-orchestration.module.js +0 -2
  50. package/backend/dist/src/llm-orchestration/llm-orchestration.module.js.map +1 -1
  51. package/backend/dist/src/llm-orchestration/llm-turn-processor.service.d.ts +8 -1
  52. package/backend/dist/src/llm-orchestration/llm-turn-processor.service.js +237 -194
  53. package/backend/dist/src/llm-orchestration/llm-turn-processor.service.js.map +1 -1
  54. package/backend/dist/src/llm-orchestration/turn-execution-plan.d.ts +18 -0
  55. package/backend/dist/src/llm-orchestration/turn-execution-plan.js +53 -0
  56. package/backend/dist/src/llm-orchestration/turn-execution-plan.js.map +1 -0
  57. package/backend/dist/src/llm-provider/ollama-llm.provider.d.ts +1 -0
  58. package/backend/dist/src/llm-provider/ollama-llm.provider.js +21 -5
  59. package/backend/dist/src/llm-provider/ollama-llm.provider.js.map +1 -1
  60. package/backend/dist/src/llm-provider/openrouter-llm.provider.d.ts +3 -0
  61. package/backend/dist/src/llm-provider/openrouter-llm.provider.js +8 -0
  62. package/backend/dist/src/llm-provider/openrouter-llm.provider.js.map +1 -1
  63. package/backend/dist/src/llm-responses/llm-responses.module.js +0 -4
  64. package/backend/dist/src/llm-responses/llm-responses.module.js.map +1 -1
  65. package/backend/dist/src/llm-responses/llm-responses.service.d.ts +12 -4
  66. package/backend/dist/src/llm-responses/llm-responses.service.js +4 -45
  67. package/backend/dist/src/llm-responses/llm-responses.service.js.map +1 -1
  68. package/backend/dist/src/main.js +4 -0
  69. package/backend/dist/src/main.js.map +1 -1
  70. package/backend/dist/src/mcp/marketplace/dto/initiate-connect.dto.d.ts +3 -1
  71. package/backend/dist/src/mcp/marketplace/dto/initiate-connect.dto.js +19 -0
  72. package/backend/dist/src/mcp/marketplace/dto/initiate-connect.dto.js.map +1 -1
  73. package/backend/dist/src/mcp/marketplace/marketplace.controller.js +7 -0
  74. package/backend/dist/src/mcp/marketplace/marketplace.controller.js.map +1 -1
  75. package/backend/dist/src/mcp/marketplace/marketplace.service.d.ts +9 -0
  76. package/backend/dist/src/mcp/marketplace/marketplace.service.js +68 -13
  77. package/backend/dist/src/mcp/marketplace/marketplace.service.js.map +1 -1
  78. package/backend/dist/src/mcp/marketplace/oauth-provider.d.ts +3 -0
  79. package/backend/dist/src/mcp/marketplace/oauth-provider.js.map +1 -1
  80. package/backend/dist/src/mcp/mcp-result.d.ts +12 -0
  81. package/backend/dist/src/mcp/mcp-result.js +125 -0
  82. package/backend/dist/src/mcp/mcp-result.js.map +1 -0
  83. package/backend/dist/src/mcp/mcp.service.d.ts +33 -1
  84. package/backend/dist/src/mcp/mcp.service.js +364 -79
  85. package/backend/dist/src/mcp/mcp.service.js.map +1 -1
  86. package/backend/dist/src/metadata-store/schemas/metadata-schemas.d.ts +3 -1
  87. package/backend/dist/src/metadata-store/schemas/metadata-schemas.js +11 -1
  88. package/backend/dist/src/metadata-store/schemas/metadata-schemas.js.map +1 -1
  89. package/backend/dist/src/seeding/data/shared/project-guidance-section.d.ts +1 -0
  90. package/backend/dist/src/seeding/data/shared/project-guidance-section.js +22 -0
  91. package/backend/dist/src/seeding/data/shared/project-guidance-section.js.map +1 -0
  92. package/backend/dist/src/seeding/data/system-prompts/default_native_tool_agent.d.ts +1 -1
  93. package/backend/dist/src/seeding/data/system-prompts/default_native_tool_agent.js +10 -38
  94. package/backend/dist/src/seeding/data/system-prompts/default_native_tool_agent.js.map +1 -1
  95. package/backend/dist/src/seeding/data/system-prompts/explore-codebase-agent.d.ts +1 -1
  96. package/backend/dist/src/seeding/data/system-prompts/explore-codebase-agent.js +3 -1
  97. package/backend/dist/src/seeding/data/system-prompts/explore-codebase-agent.js.map +1 -1
  98. package/backend/dist/src/seeding/data/system-prompts/general-purpose-agent.d.ts +1 -1
  99. package/backend/dist/src/seeding/data/system-prompts/general-purpose-agent.js +3 -1
  100. package/backend/dist/src/seeding/data/system-prompts/general-purpose-agent.js.map +1 -1
  101. package/backend/dist/src/session-cancellation/session-cancellation.module.d.ts +2 -0
  102. package/backend/dist/src/{message-bus/message-bus.module.js → session-cancellation/session-cancellation.module.js} +10 -11
  103. package/backend/dist/src/session-cancellation/session-cancellation.module.js.map +1 -0
  104. package/backend/dist/src/session-cancellation/session-cancellation.service.d.ts +13 -0
  105. package/backend/dist/src/session-cancellation/session-cancellation.service.js +75 -0
  106. package/backend/dist/src/session-cancellation/session-cancellation.service.js.map +1 -0
  107. package/backend/dist/src/session-inputs/session-inputs.service.js +3 -1
  108. package/backend/dist/src/session-inputs/session-inputs.service.js.map +1 -1
  109. package/backend/dist/src/sessions/sessions.module.js +0 -2
  110. package/backend/dist/src/sessions/sessions.module.js.map +1 -1
  111. package/backend/dist/src/sessions/sessions.service.d.ts +1 -3
  112. package/backend/dist/src/sessions/sessions.service.js +1 -5
  113. package/backend/dist/src/sessions/sessions.service.js.map +1 -1
  114. package/backend/dist/src/tool-hooks/hook-runtime.d.ts +1 -1
  115. package/backend/dist/src/tool-hooks/hook-runtime.js +17 -16
  116. package/backend/dist/src/tool-hooks/hook-runtime.js.map +1 -1
  117. package/backend/dist/src/utils/spawn-with-kill.d.ts +2 -0
  118. package/backend/dist/src/utils/spawn-with-kill.js +18 -3
  119. package/backend/dist/src/utils/spawn-with-kill.js.map +1 -1
  120. package/backend/dist/tsconfig.build.tsbuildinfo +1 -1
  121. package/daemon/dist/index.js +1 -17
  122. package/package.json +2 -8
  123. package/platform-cli.js +0 -316
  124. package/tabtape/extension/dist/build-info.json +3 -3
  125. package/tabtape/extension/dist/manifest.json +1 -1
  126. package/tabtape/ui/dist/build-info.json +3 -3
  127. package/backend/dist/src/llm-responses/dto/submit-llm-response.dto.d.ts +0 -9
  128. package/backend/dist/src/llm-responses/dto/submit-llm-response.dto.js +0 -80
  129. package/backend/dist/src/llm-responses/dto/submit-llm-response.dto.js.map +0 -1
  130. package/backend/dist/src/llm-responses/llm-responses.controller.d.ts +0 -8
  131. package/backend/dist/src/llm-responses/llm-responses.controller.js +0 -51
  132. package/backend/dist/src/llm-responses/llm-responses.controller.js.map +0 -1
  133. package/backend/dist/src/mcp-server/mcp-internal.controller.d.ts +0 -12
  134. package/backend/dist/src/mcp-server/mcp-internal.controller.js +0 -50
  135. package/backend/dist/src/mcp-server/mcp-internal.controller.js.map +0 -1
  136. package/backend/dist/src/mcp-server/mcp-server.bootstrap.d.ts +0 -2
  137. package/backend/dist/src/mcp-server/mcp-server.bootstrap.js +0 -166
  138. package/backend/dist/src/mcp-server/mcp-server.bootstrap.js.map +0 -1
  139. package/backend/dist/src/mcp-server/mcp-server.constants.d.ts +0 -8
  140. package/backend/dist/src/mcp-server/mcp-server.constants.js +0 -12
  141. package/backend/dist/src/mcp-server/mcp-server.constants.js.map +0 -1
  142. package/backend/dist/src/mcp-server/mcp-server.controller.d.ts +0 -19
  143. package/backend/dist/src/mcp-server/mcp-server.controller.js +0 -72
  144. package/backend/dist/src/mcp-server/mcp-server.controller.js.map +0 -1
  145. package/backend/dist/src/mcp-server/mcp-server.module.d.ts +0 -2
  146. package/backend/dist/src/mcp-server/mcp-server.module.js +0 -29
  147. package/backend/dist/src/mcp-server/mcp-server.module.js.map +0 -1
  148. package/backend/dist/src/mcp-server/mcp-server.process.service.d.ts +0 -23
  149. package/backend/dist/src/mcp-server/mcp-server.process.service.js +0 -130
  150. package/backend/dist/src/mcp-server/mcp-server.process.service.js.map +0 -1
  151. package/backend/dist/src/mcp-server/mcp-server.service.d.ts +0 -34
  152. package/backend/dist/src/mcp-server/mcp-server.service.js +0 -260
  153. package/backend/dist/src/mcp-server/mcp-server.service.js.map +0 -1
  154. package/backend/dist/src/message-bus/dto/submit-message.dto.d.ts +0 -4
  155. package/backend/dist/src/message-bus/dto/submit-message.dto.js +0 -22
  156. package/backend/dist/src/message-bus/dto/submit-message.dto.js.map +0 -1
  157. package/backend/dist/src/message-bus/message-bus.controller.d.ts +0 -13
  158. package/backend/dist/src/message-bus/message-bus.controller.js +0 -50
  159. package/backend/dist/src/message-bus/message-bus.controller.js.map +0 -1
  160. package/backend/dist/src/message-bus/message-bus.module.d.ts +0 -2
  161. package/backend/dist/src/message-bus/message-bus.module.js.map +0 -1
  162. package/backend/dist/src/message-bus/message-bus.service.d.ts +0 -7
  163. package/backend/dist/src/message-bus/message-bus.service.js +0 -32
  164. package/backend/dist/src/message-bus/message-bus.service.js.map +0 -1
  165. package/backend/dist/src/visual-editor/visual-editor.controller.d.ts +0 -14
  166. package/backend/dist/src/visual-editor/visual-editor.controller.js +0 -101
  167. package/backend/dist/src/visual-editor/visual-editor.controller.js.map +0 -1
  168. package/backend/dist/src/visual-editor/visual-editor.dto.d.ts +0 -5
  169. package/backend/dist/src/visual-editor/visual-editor.dto.js +0 -32
  170. package/backend/dist/src/visual-editor/visual-editor.dto.js.map +0 -1
  171. package/backend/dist/src/visual-editor/visual-editor.module.d.ts +0 -2
  172. package/backend/dist/src/visual-editor/visual-editor.module.js +0 -24
  173. package/backend/dist/src/visual-editor/visual-editor.module.js.map +0 -1
  174. package/daemon/dist/mcp-gateway.js +0 -401
  175. package/daemon/dist/mcp-gateway.spec.js +0 -295
  176. package/visual-editor-proxy/client/dist/main.js +0 -89
  177. package/visual-editor-proxy/client/tsconfig.json +0 -14
  178. package/visual-editor-proxy/dist/client/src/inspector.d.ts +0 -9
  179. package/visual-editor-proxy/dist/client/src/inspector.js +0 -96
  180. package/visual-editor-proxy/dist/client/src/inspector.js.map +0 -1
  181. package/visual-editor-proxy/dist/client/src/main.d.ts +0 -6
  182. package/visual-editor-proxy/dist/client/src/main.js +0 -108
  183. package/visual-editor-proxy/dist/client/src/main.js.map +0 -1
  184. package/visual-editor-proxy/dist/client/src/ui.d.ts +0 -6
  185. package/visual-editor-proxy/dist/client/src/ui.js +0 -153
  186. package/visual-editor-proxy/dist/client/src/ui.js.map +0 -1
  187. package/visual-editor-proxy/dist/src/main.d.ts +0 -1
  188. package/visual-editor-proxy/dist/src/main.js +0 -61
  189. package/visual-editor-proxy/dist/src/main.js.map +0 -1
  190. package/visual-editor-proxy/dist/tsconfig.tsbuildinfo +0 -1
  191. package/visual-editor-proxy/package.json +0 -21
  192. package/visual-editor-proxy/tsconfig.json +0 -21
@@ -14,7 +14,6 @@ const services_1 = __importDefault(require("./api/services"));
14
14
  const agents_1 = require("./api/agents");
15
15
  const auth_1 = __importDefault(require("./api/auth"));
16
16
  const registry_1 = __importDefault(require("./api/registry"));
17
- const mcp_gateway_1 = require("./mcp-gateway");
18
17
  const agentPane_1 = require("./agentPane");
19
18
  const routes_1 = require("./remote/routes");
20
19
  const checkRemoteAuth_1 = require("./middleware/checkRemoteAuth");
@@ -105,20 +104,6 @@ async function main() {
105
104
  // in prod): ../../recorder/dist — router.ts sits one level deeper, so its
106
105
  // own __dirname would resolve one directory short.
107
106
  app.use('/recorder', (0, router_1.createRecorderRouter)({ distPath: (0, router_1.resolveRecorderDist)(__dirname) }));
108
- // MCP Gateway — single MCP entry point managing all instances (streamableHttp).
109
- app.post('/mcp', (req, res) => mcp_gateway_1.mcpGateway.handleExpressRequest(req, res));
110
- app.get('/mcp', (req, res) => mcp_gateway_1.mcpGateway.handleExpressRequest(req, res));
111
- app.delete('/mcp', (req, res) => mcp_gateway_1.mcpGateway.handleExpressRequest(req, res));
112
- // MCP Gateway info endpoint for the management UI.
113
- app.get('/mcp-gateway-info', async (req, res) => {
114
- try {
115
- const info = await mcp_gateway_1.mcpGateway.getGatewayInfo();
116
- res.json(info);
117
- }
118
- catch (err) {
119
- res.status(500).json({ error: err.message });
120
- }
121
- });
122
107
  app.get('/health', (req, res) => {
123
108
  res.status(200).json({ status: 'ok' });
124
109
  });
@@ -177,7 +162,7 @@ async function main() {
177
162
  console.error('[agentPane] auto-resume failed to start:', err);
178
163
  }
179
164
  });
180
- // Clean up MCP gateway sessions and the embedded agent-pane on shutdown.
165
+ // Shut down the embedded agent-pane and tabtape.
181
166
  const shutdown = async () => {
182
167
  if (pane) {
183
168
  try {
@@ -188,7 +173,6 @@ async function main() {
188
173
  console.error('[agentPane] shutdown failed:', err);
189
174
  }
190
175
  }
191
- await mcp_gateway_1.mcpGateway.closeAllSessions();
192
176
  if (tabtape) {
193
177
  try {
194
178
  await tabtape.close();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repoburg",
3
- "version": "1.3.319",
3
+ "version": "1.3.320",
4
4
  "description": "A local AI-powered software developer assistant that runs on your own machine.",
5
5
  "author": "Celal Ertug",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -12,7 +12,6 @@
12
12
  "backend",
13
13
  "website2",
14
14
  "daemon",
15
- "visual-editor-proxy",
16
15
  "recorder"
17
16
  ],
18
17
  "bin": {
@@ -47,11 +46,6 @@
47
46
  "tabtape/extension/dist",
48
47
  "tabtape/ui/dist",
49
48
  "tabtape/playwright",
50
- "visual-editor-proxy/dist",
51
- "visual-editor-proxy/client/dist",
52
- "visual-editor-proxy/client/tsconfig.json",
53
- "visual-editor-proxy/package.json",
54
- "visual-editor-proxy/tsconfig.json",
55
49
  "!**/*.md"
56
50
  ],
57
51
  "overrides": {
@@ -82,7 +76,7 @@
82
76
  "runtime:release": "runtime/release.sh",
83
77
  "jaeger:start": "docker run -d --rm --name jaeger -e COLLECTOR_OTLP_ENABLED=true -p 16686:16686 -p 4318:4318 jaegertracing/all-in-one:latest",
84
78
  "jaeger:stop": "docker stop jaeger",
85
- "lo:build": "npm run build -w backend && npm run build -w website2 && (cd agent-pane/backend && npm run build) && (cd agent-pane/frontend && npm run build) && npm run build -w recorder && npm run build -w visual-editor-proxy && npm run tabtape:build && npm run build -w daemon && cd frontend && npm run build",
79
+ "lo:build": "npm run build -w backend && npm run build -w website2 && (cd agent-pane/backend && npm run build) && (cd agent-pane/frontend && npm run build) && npm run build -w recorder && npm run tabtape:build && npm run build -w daemon && cd frontend && npm run build",
86
80
  "lo:publish": "npm publish",
87
81
  "release": "npm version patch --no-git-tag-version && npm publish"
88
82
  },
package/platform-cli.js CHANGED
@@ -5,8 +5,6 @@ const axios = require('axios');
5
5
  const path = require('path');
6
6
  const fs = require('fs/promises');
7
7
  const packageJson = require('./package.json');
8
- const { spawn, spawnSync } = require('child_process');
9
- const os = require('os');
10
8
 
11
9
  const DAEMON_BASE_URL = 'http://localhost:9998';
12
10
 
@@ -186,58 +184,6 @@ program
186
184
  }
187
185
  });
188
186
 
189
- program
190
- .command('start-live')
191
- .description('Start the Visual Editor proxy for a live frontend application.')
192
- .requiredOption('-u, --url <url>', 'The URL of the target application (e.g., http://localhost:5173)')
193
- .action(async (options) => {
194
- const { default: chalk } = await import('chalk');
195
-
196
- // 1. Get active backend port from daemon
197
- let backendPort;
198
- try {
199
- const response = await axios.get(`${DAEMON_BASE_URL}/registry/get-active-port`);
200
- backendPort = response.data.port;
201
- if (!backendPort) {
202
- // This will be caught by the catch block
203
- throw new Error('No active port returned from daemon.');
204
- }
205
- console.log(chalk.green(`✓ Found active Repoburg backend on port ${backendPort}`));
206
- } catch (error) {
207
- console.error(chalk.red('Could not find an active Repoburg backend service.'));
208
- console.error(chalk.yellow('Please start a service first with `repoburg start`.'));
209
- process.exit(1);
210
- }
211
-
212
- // 2. Spawn the proxy server process
213
- const proxyPath = path.resolve(__dirname, 'visual-editor-proxy');
214
- console.log(chalk.cyan(`Starting Visual Editor proxy for: ${options.url}`));
215
-
216
- // The proxy's `npm start` (node dist/src/main.js), run with this
217
- // node: the Repoburg runtime has no npm or node in PATH.
218
- const child = spawn(process.execPath, [path.join(proxyPath, 'dist', 'src', 'main.js')], {
219
- cwd: proxyPath,
220
- stdio: 'inherit', // Pipe output to the parent terminal
221
- env: {
222
- ...process.env,
223
- TARGET_URL: options.url,
224
- BACKEND_PORT: backendPort,
225
- }
226
- });
227
-
228
- child.on('error', (error) => {
229
- console.error(chalk.red(`Failed to start Visual Editor proxy:`));
230
- console.error(error);
231
- process.exit(1);
232
- });
233
-
234
- child.on('exit', (code, signal) => {
235
- if (code !== 0) {
236
- console.log(chalk.yellow(`Visual Editor proxy process exited with code ${code} and signal ${signal}`));
237
- }
238
- });
239
- });
240
-
241
187
  program
242
188
  .command('stop <name>')
243
189
  .alias('st')
@@ -521,266 +467,4 @@ program
521
467
  }
522
468
  });
523
469
 
524
- // ===== Tunnel Commands =====
525
-
526
- const TUNNEL_CONFIG_DIR = path.join(os.homedir(), '.config', 'tunnel-client');
527
- const DEFAULT_MCP_URL = 'http://localhost:9998/mcp';
528
- const TUNNEL_CLIENT_INSTALL_URL = 'https://github.com/openai/tunnel-client/releases/latest';
529
-
530
- const getTunnelConfigPath = (profile) => path.join(TUNNEL_CONFIG_DIR, `${profile}.yaml`);
531
-
532
- const generateTunnelYaml = (tunnelId, apiKeyRef, mcpUrl) => {
533
- return `config_version: 1
534
- control_plane:
535
- base_url: "https://api.openai.com"
536
-
537
- tunnel_id: "${tunnelId}"
538
- api_key: "${apiKeyRef}"
539
- health:
540
- listen_addr: "127.0.0.1:8080"
541
- admin_ui:
542
- open_browser: false
543
- log:
544
- level: info
545
- format: json
546
- mcp:
547
- server_urls:
548
- - channel: main
549
- url: "${mcpUrl}"
550
- `;
551
- };
552
-
553
- /** Checks if the tunnel-client binary is on PATH. */
554
- const validateTunnelBinary = () => {
555
- const result = spawnSync('tunnel-client', ['--version'], { stdio: 'pipe' });
556
- return !result.error;
557
- };
558
-
559
- const tunnelCmd = program.command('tunnel').description('Manage MCP tunnel profiles for ChatGPT/OpenAI connectivity.');
560
-
561
- tunnelCmd
562
- .command('create')
563
- .description('Create a new tunnel profile.')
564
- .requiredOption('-p, --profile <name>', 'Profile name')
565
- .option('-t, --tunnel-id <id>', 'Tunnel ID from OpenAI Platform')
566
- .option('-k, --api-key <key>', 'API key (defaults to CONTROL_PLANE_API_KEY env var)')
567
- .option('-m, --mcp-url <url>', 'MCP server URL', DEFAULT_MCP_URL)
568
- .action(async (options) => {
569
- const { default: chalk } = await import('chalk');
570
-
571
- if (!options.tunnelId) {
572
- console.error(chalk.red('Missing required option: --tunnel-id.'));
573
- console.error(chalk.gray('Get your tunnel ID from https://platform.openai.com/settings/organization/tunnels'));
574
- process.exit(1);
575
- }
576
-
577
- const apiKeyRef = options.apiKey
578
- ? options.apiKey
579
- : process.env.CONTROL_PLANE_API_KEY
580
- ? 'env:CONTROL_PLANE_API_KEY'
581
- : null;
582
-
583
- if (!apiKeyRef) {
584
- console.error(chalk.red('Missing API key.'));
585
- console.error(chalk.yellow('Set the CONTROL_PLANE_API_KEY env var or use --api-key.'));
586
- console.error(chalk.gray('Create a key at https://platform.openai.com/settings/organization/api-keys'));
587
- process.exit(1);
588
- }
589
-
590
- const configPath = getTunnelConfigPath(options.profile);
591
-
592
- // Warn if overwriting an existing profile.
593
- try {
594
- await fs.access(configPath);
595
- console.log(chalk.yellow(`Warning: Profile '${options.profile}' already exists. Overwriting.`));
596
- } catch {
597
- // File doesn't exist — fine.
598
- }
599
-
600
- await fs.mkdir(TUNNEL_CONFIG_DIR, { recursive: true });
601
- const yaml = generateTunnelYaml(options.tunnelId, apiKeyRef, options.mcpUrl);
602
- await fs.writeFile(configPath, yaml, 'utf-8');
603
-
604
- console.log(chalk.green(`\u2713 Tunnel profile '${options.profile}' created.`));
605
- console.log(chalk.gray(` Config: ${configPath}`));
606
- console.log(chalk.cyan(` Run with: repoburg tunnel run --profile ${options.profile}`));
607
- });
608
-
609
- tunnelCmd
610
- .command('delete <profile>')
611
- .description('Delete a tunnel profile.')
612
- .action(async (profile) => {
613
- const { default: chalk } = await import('chalk');
614
- const configPath = getTunnelConfigPath(profile);
615
-
616
- try {
617
- await fs.access(configPath);
618
- } catch {
619
- console.error(chalk.red(`Tunnel profile '${profile}' not found.`));
620
- console.error(chalk.gray(` Expected at: ${configPath}`));
621
- process.exit(1);
622
- }
623
-
624
- await fs.unlink(configPath);
625
- console.log(chalk.green(`\u2713 Tunnel profile '${profile}' deleted.`));
626
- });
627
-
628
- tunnelCmd
629
- .command('run <profile>')
630
- .description('Run a tunnel profile (connects to ChatGPT/OpenAI).')
631
- .action(async (profile) => {
632
- const { default: chalk } = await import('chalk');
633
-
634
- if (!validateTunnelBinary()) {
635
- console.error(chalk.red('tunnel-client not found on PATH.'));
636
- console.error(chalk.yellow(`Install it from ${TUNNEL_CLIENT_INSTALL_URL}`));
637
- process.exit(1);
638
- }
639
-
640
- const configPath = getTunnelConfigPath(profile);
641
-
642
- let configContent;
643
- try {
644
- configContent = await fs.readFile(configPath, 'utf-8');
645
- } catch {
646
- console.error(chalk.red(`Tunnel profile '${profile}' not found.`));
647
- console.error(chalk.yellow(`Create one with: repoburg tunnel create --profile ${profile} --tunnel-id <id>`));
648
- process.exit(1);
649
- }
650
-
651
- // Validate tunnel_id is present and non-empty.
652
- const tunnelIdMatch = configContent.match(/tunnel_id:\s*"?([^\s"]+)"?/);
653
- if (!tunnelIdMatch || !tunnelIdMatch[1]) {
654
- console.error(chalk.red(`Config error: tunnel_id is missing or empty in profile '${profile}'.`));
655
- console.error(chalk.yellow(`Recreate with: repoburg tunnel create --profile ${profile} --tunnel-id <id>`));
656
- process.exit(1);
657
- }
658
-
659
- // Validate api_key is present and non-empty.
660
- const apiKeyMatch = configContent.match(/api_key:\s*"?([^\s"]+)"?/);
661
- if (!apiKeyMatch || !apiKeyMatch[1]) {
662
- console.error(chalk.red(`Config error: api_key is missing or empty in profile '${profile}'.`));
663
- console.error(chalk.yellow(`Recreate with: repoburg tunnel create --profile ${profile} --tunnel-id <id>`));
664
- process.exit(1);
665
- }
666
-
667
- // If api_key references an env var, verify it's set.
668
- if (apiKeyMatch[1].startsWith('env:')) {
669
- const envVarName = apiKeyMatch[1].slice(4);
670
- if (!process.env[envVarName]) {
671
- console.error(chalk.red(`${envVarName} environment variable is not set.`));
672
- console.error(chalk.yellow(`Export it first: export ${envVarName}=sk-...`));
673
- process.exit(1);
674
- }
675
- }
676
-
677
- console.log(chalk.cyan(`Starting tunnel-client with profile '${profile}'...`));
678
- console.log(chalk.gray(` Config: ${configPath}`));
679
-
680
- const child = spawn('tunnel-client', ['run', '--profile', profile], {
681
- stdio: 'inherit',
682
- shell: true,
683
- env: { ...process.env },
684
- });
685
-
686
- child.on('error', (error) => {
687
- console.error(chalk.red('Failed to start tunnel-client:'), error.message);
688
- process.exit(1);
689
- });
690
-
691
- child.on('exit', (code) => {
692
- if (code !== 0) {
693
- console.log(chalk.yellow(`tunnel-client exited with code ${code}`));
694
- }
695
- process.exit(code || 0);
696
- });
697
- });
698
-
699
- tunnelCmd
700
- .command('list')
701
- .description('List all tunnel profiles.')
702
- .action(async () => {
703
- const { default: chalk } = await import('chalk');
704
- const Table = require('cli-table3');
705
-
706
- let files;
707
- try {
708
- files = await fs.readdir(TUNNEL_CONFIG_DIR);
709
- } catch {
710
- console.log(chalk.yellow('No tunnel profiles found.'));
711
- console.log(chalk.gray('Create one with: repoburg tunnel create --profile <name> --tunnel-id <id>'));
712
- return;
713
- }
714
-
715
- const yamlFiles = files.filter(f => f.endsWith('.yaml'));
716
- if (yamlFiles.length === 0) {
717
- console.log(chalk.yellow('No tunnel profiles found.'));
718
- console.log(chalk.gray('Create one with: repoburg tunnel create --profile <name> --tunnel-id <id>'));
719
- return;
720
- }
721
-
722
- const table = new Table({
723
- head: ['PROFILE', 'TUNNEL_ID', 'MCP_URL'].map(h => chalk.cyan(h)),
724
- colWidths: [20, 35, 40]
725
- });
726
-
727
- for (const file of yamlFiles) {
728
- const profileName = file.replace(/\.yaml$/, '');
729
- const configPath = path.join(TUNNEL_CONFIG_DIR, file);
730
- try {
731
- const content = await fs.readFile(configPath, 'utf-8');
732
- const tunnelIdMatch = content.match(/(?:^|\s)tunnel_id:\s*"?([^\s"]+)"?/);
733
- const urlMatch = content.match(/(?:^|\s)url:\s*"?([^\s"]+)"?/);
734
- table.push([
735
- profileName,
736
- tunnelIdMatch ? tunnelIdMatch[1] : chalk.gray('(missing)'),
737
- urlMatch ? urlMatch[1] : chalk.gray('(missing)'),
738
- ]);
739
- } catch {
740
- table.push([profileName, chalk.red('(read error)'), '-']);
741
- }
742
- }
743
-
744
- console.log(table.toString());
745
- });
746
-
747
- tunnelCmd
748
- .command('doctor <profile>')
749
- .description('Run tunnel-client doctor on a profile.')
750
- .action(async (profile) => {
751
- const { default: chalk } = await import('chalk');
752
-
753
- if (!validateTunnelBinary()) {
754
- console.error(chalk.red('tunnel-client not found on PATH.'));
755
- console.error(chalk.yellow(`Install it from ${TUNNEL_CLIENT_INSTALL_URL}`));
756
- process.exit(1);
757
- }
758
-
759
- const configPath = getTunnelConfigPath(profile);
760
- try {
761
- await fs.access(configPath);
762
- } catch {
763
- console.error(chalk.red(`Tunnel profile '${profile}' not found.`));
764
- console.error(chalk.yellow(`Create one with: repoburg tunnel create --profile ${profile} --tunnel-id <id>`));
765
- process.exit(1);
766
- }
767
-
768
- console.log(chalk.cyan(`Running tunnel-client doctor for profile '${profile}'...`));
769
-
770
- const child = spawn('tunnel-client', ['doctor', '--profile', profile, '--explain'], {
771
- stdio: 'inherit',
772
- shell: true,
773
- env: { ...process.env },
774
- });
775
-
776
- child.on('error', (error) => {
777
- console.error(chalk.red('Failed to run tunnel-client doctor:'), error.message);
778
- process.exit(1);
779
- });
780
-
781
- child.on('exit', (code) => {
782
- process.exit(code || 0);
783
- });
784
- });
785
-
786
470
  program.parse(process.argv);
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "tree": "3f01773d2dfcfcfee7b73a8c7d7497c15ad692bc",
3
- "commit": "1c5fa6f7d8cc170deaec0dbf39eb3a65f7bbc53c",
3
+ "commit": "a262e7ec167082532541c6b7012942d9e365e025",
4
4
  "dirty": false,
5
- "repoburgVersion": "1.3.319",
6
- "builtAt": "2026-11-16T07:49:48.101Z"
5
+ "repoburgVersion": "1.3.320",
6
+ "builtAt": "2026-11-17T03:05:58.206Z"
7
7
  }
@@ -58,5 +58,5 @@
58
58
  ]
59
59
  }
60
60
  ],
61
- "version_name": "0.6.0 (repoburg 1.3.319, 1c5fa6f)"
61
+ "version_name": "0.6.0 (repoburg 1.3.320, a262e7e)"
62
62
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "tree": "3f01773d2dfcfcfee7b73a8c7d7497c15ad692bc",
3
- "commit": "1c5fa6f7d8cc170deaec0dbf39eb3a65f7bbc53c",
3
+ "commit": "a262e7ec167082532541c6b7012942d9e365e025",
4
4
  "dirty": false,
5
- "repoburgVersion": "1.3.319",
6
- "builtAt": "2026-11-16T07:49:48.101Z"
5
+ "repoburgVersion": "1.3.320",
6
+ "builtAt": "2026-11-17T03:05:58.206Z"
7
7
  }
@@ -1,9 +0,0 @@
1
- export declare class SubmitLlmResponseDto {
2
- raw_llm_response: string;
3
- inputId: string;
4
- execution_strategy?: string;
5
- input_token_count?: number;
6
- output_token_count?: number;
7
- cached_token_count?: number;
8
- tool_calls?: any[];
9
- }
@@ -1,80 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.SubmitLlmResponseDto = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const swagger_1 = require("@nestjs/swagger");
15
- class SubmitLlmResponseDto {
16
- }
17
- exports.SubmitLlmResponseDto = SubmitLlmResponseDto;
18
- __decorate([
19
- (0, swagger_1.ApiProperty)({
20
- description: 'Raw LLM response text to be parsed and orchestrated',
21
- }),
22
- (0, class_validator_1.IsString)(),
23
- (0, class_validator_1.IsNotEmpty)(),
24
- __metadata("design:type", String)
25
- ], SubmitLlmResponseDto.prototype, "raw_llm_response", void 0);
26
- __decorate([
27
- (0, swagger_1.ApiProperty)({
28
- description: 'UUID of existing SessionInput to attach response to',
29
- format: 'uuid',
30
- }),
31
- (0, class_validator_1.IsUUID)(),
32
- __metadata("design:type", String)
33
- ], SubmitLlmResponseDto.prototype, "inputId", void 0);
34
- __decorate([
35
- (0, swagger_1.ApiPropertyOptional)({
36
- description: 'Execution strategy',
37
- enum: ['review_first', 'apply_revert'],
38
- }),
39
- (0, class_validator_1.IsOptional)(),
40
- (0, class_validator_1.IsString)(),
41
- (0, class_validator_1.IsNotEmpty)(),
42
- __metadata("design:type", String)
43
- ], SubmitLlmResponseDto.prototype, "execution_strategy", void 0);
44
- __decorate([
45
- (0, swagger_1.ApiPropertyOptional)({
46
- description: 'Number of input tokens used',
47
- minimum: 0,
48
- }),
49
- (0, class_validator_1.IsOptional)(),
50
- (0, class_validator_1.IsInt)(),
51
- __metadata("design:type", Number)
52
- ], SubmitLlmResponseDto.prototype, "input_token_count", void 0);
53
- __decorate([
54
- (0, swagger_1.ApiPropertyOptional)({
55
- description: 'Number of output tokens generated',
56
- minimum: 0,
57
- }),
58
- (0, class_validator_1.IsOptional)(),
59
- (0, class_validator_1.IsInt)(),
60
- __metadata("design:type", Number)
61
- ], SubmitLlmResponseDto.prototype, "output_token_count", void 0);
62
- __decorate([
63
- (0, swagger_1.ApiPropertyOptional)({
64
- description: 'Number of cached tokens used',
65
- minimum: 0,
66
- }),
67
- (0, class_validator_1.IsOptional)(),
68
- (0, class_validator_1.IsInt)(),
69
- __metadata("design:type", Number)
70
- ], SubmitLlmResponseDto.prototype, "cached_token_count", void 0);
71
- __decorate([
72
- (0, swagger_1.ApiPropertyOptional)({
73
- description: 'Native tool calls from LLM response (array of tool call objects)',
74
- }),
75
- (0, class_validator_1.IsOptional)(),
76
- (0, class_validator_1.IsArray)(),
77
- (0, class_validator_1.IsObject)({ each: true }),
78
- __metadata("design:type", Array)
79
- ], SubmitLlmResponseDto.prototype, "tool_calls", void 0);
80
- //# sourceMappingURL=submit-llm-response.dto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"submit-llm-response.dto.js","sourceRoot":"","sources":["../../../../src/llm-responses/dto/submit-llm-response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAQyB;AACzB,6CAAmE;AAEnE,MAAa,oBAAoB;CAwDhC;AAxDD,oDAwDC;AAlDC;IALC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,qDAAqD;KACnE,CAAC;IACD,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8DACY;AAOzB;IALC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,qDAAqD;QAClE,MAAM,EAAE,MAAM;KACf,CAAC;IACD,IAAA,wBAAM,GAAE;;qDACO;AAShB;IAPC,IAAA,6BAAmB,EAAC;QACnB,WAAW,EAAE,oBAAoB;QACjC,IAAI,EAAE,CAAC,cAAc,EAAE,cAAc,CAAC;KACvC,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gEACe;AAQ5B;IANC,IAAA,6BAAmB,EAAC;QACnB,WAAW,EAAE,6BAA6B;QAC1C,OAAO,EAAE,CAAC;KACX,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;+DACmB;AAQ3B;IANC,IAAA,6BAAmB,EAAC;QACnB,WAAW,EAAE,mCAAmC;QAChD,OAAO,EAAE,CAAC;KACX,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;gEACoB;AAQ5B;IANC,IAAA,6BAAmB,EAAC;QACnB,WAAW,EAAE,8BAA8B;QAC3C,OAAO,EAAE,CAAC;KACX,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;gEACoB;AAS5B;IAPC,IAAA,6BAAmB,EAAC;QACnB,WAAW,EACT,kEAAkE;KACrE,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;wDACN"}
@@ -1,8 +0,0 @@
1
- import { LlmResponsesService } from './llm-responses.service';
2
- import { SubmitLlmResponseDto } from './dto/submit-llm-response.dto';
3
- import { SessionInput } from '../core-entities';
4
- export declare class LlmResponsesController {
5
- private readonly llmResponsesService;
6
- constructor(llmResponsesService: LlmResponsesService);
7
- submit(dto: SubmitLlmResponseDto): Promise<SessionInput>;
8
- }
@@ -1,51 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- var __param = (this && this.__param) || function (paramIndex, decorator) {
12
- return function (target, key) { decorator(target, key, paramIndex); }
13
- };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.LlmResponsesController = void 0;
16
- const common_1 = require("@nestjs/common");
17
- const swagger_1 = require("@nestjs/swagger");
18
- const llm_responses_service_1 = require("./llm-responses.service");
19
- const submit_llm_response_dto_1 = require("./dto/submit-llm-response.dto");
20
- const core_entities_1 = require("../core-entities");
21
- let LlmResponsesController = class LlmResponsesController {
22
- constructor(llmResponsesService) {
23
- this.llmResponsesService = llmResponsesService;
24
- }
25
- async submit(dto) {
26
- return this.llmResponsesService.submit(dto);
27
- }
28
- };
29
- exports.LlmResponsesController = LlmResponsesController;
30
- __decorate([
31
- (0, common_1.Post)('submit'),
32
- (0, common_1.HttpCode)(common_1.HttpStatus.OK),
33
- (0, swagger_1.ApiOperation)({
34
- summary: 'Submit LLM response from integrated provider for orchestration',
35
- }),
36
- (0, swagger_1.ApiResponse)({
37
- status: 200,
38
- description: 'Response processed and actions created',
39
- type: core_entities_1.SessionInput,
40
- }),
41
- __param(0, (0, common_1.Body)()),
42
- __metadata("design:type", Function),
43
- __metadata("design:paramtypes", [submit_llm_response_dto_1.SubmitLlmResponseDto]),
44
- __metadata("design:returntype", Promise)
45
- ], LlmResponsesController.prototype, "submit", null);
46
- exports.LlmResponsesController = LlmResponsesController = __decorate([
47
- (0, swagger_1.ApiTags)('llm-responses'),
48
- (0, common_1.Controller)('llm-responses'),
49
- __metadata("design:paramtypes", [llm_responses_service_1.LlmResponsesService])
50
- ], LlmResponsesController);
51
- //# sourceMappingURL=llm-responses.controller.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"llm-responses.controller.js","sourceRoot":"","sources":["../../../src/llm-responses/llm-responses.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAA8E;AAC9E,6CAAqE;AACrE,mEAA8D;AAC9D,2EAAqE;AACrE,oDAAgD;AAIzC,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;IACjC,YAA6B,mBAAwC;QAAxC,wBAAmB,GAAnB,mBAAmB,CAAqB;IAAG,CAAC;IAYnE,AAAN,KAAK,CAAC,MAAM,CAAS,GAAyB;QAC5C,OAAO,IAAI,CAAC,mBAAmB,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IAC9C,CAAC;CACF,CAAA;AAhBY,wDAAsB;AAa3B;IAVL,IAAA,aAAI,EAAC,QAAQ,CAAC;IACd,IAAA,iBAAQ,EAAC,mBAAU,CAAC,EAAE,CAAC;IACvB,IAAA,sBAAY,EAAC;QACZ,OAAO,EAAE,gEAAgE;KAC1E,CAAC;IACD,IAAA,qBAAW,EAAC;QACX,MAAM,EAAE,GAAG;QACX,WAAW,EAAE,wCAAwC;QACrD,IAAI,EAAE,4BAAY;KACnB,CAAC;IACY,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAM,8CAAoB;;oDAE7C;iCAfU,sBAAsB;IAFlC,IAAA,iBAAO,EAAC,eAAe,CAAC;IACxB,IAAA,mBAAU,EAAC,eAAe,CAAC;qCAEwB,2CAAmB;GAD1D,sBAAsB,CAgBlC"}
@@ -1,12 +0,0 @@
1
- import { McpServerService, ExposedToolInfo } from './mcp-server.service';
2
- import { ActionExecutionResult } from '../llm-orchestration/llm-orchestration.interfaces';
3
- export declare class McpInternalController {
4
- private readonly mcpServerService;
5
- private readonly logger;
6
- constructor(mcpServerService: McpServerService);
7
- getTools(): Promise<ExposedToolInfo[]>;
8
- executeTool(body: {
9
- tool_name: string;
10
- arguments: Record<string, unknown>;
11
- }): Promise<ActionExecutionResult>;
12
- }