@kolbo/mcp 1.50.0 → 1.50.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.
- package/package.json +1 -1
- package/src/apps/index.js +1 -0
- package/src/index.js +10 -1
package/package.json
CHANGED
package/src/apps/index.js
CHANGED
package/src/index.js
CHANGED
|
@@ -161,7 +161,16 @@ async function main() {
|
|
|
161
161
|
await server.connect(transport);
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
|
|
164
|
+
// Widget plumbing for HOST developers embedding Kolbo widgets themselves
|
|
165
|
+
// (e.g. kolbo-api's Kobi Act) — everything else in ./apps stays internal.
|
|
166
|
+
// UI: tool-name-agnostic resource URI map. TOOL_WIDGETS: tool name -> URI, so
|
|
167
|
+
// a host can resolve which widget a given tool call carries without deep-
|
|
168
|
+
// requiring internals. uiMeta/widgetHtml: same helpers registerApps() uses
|
|
169
|
+
// internally, re-exported so a host never has to re-derive them. Additive
|
|
170
|
+
// only — existing consumers (claude.ai, Desktop, npx) are unaffected.
|
|
171
|
+
const { UI, TOOL_WIDGETS, uiMeta, widgetHtml } = require('./apps');
|
|
172
|
+
|
|
173
|
+
module.exports = { main, createServer, UI, TOOL_WIDGETS, uiMeta, widgetHtml };
|
|
165
174
|
|
|
166
175
|
// Auto-run when invoked directly (e.g. `node src/index.js` or via the published
|
|
167
176
|
// bin/kolbo-mcp.js wrapper). Consumers that `require()` this module to embed it
|