@creature-ai/sdk 0.1.8 → 0.1.9
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/dist/server/index.d.ts
CHANGED
|
@@ -514,7 +514,7 @@ declare class App {
|
|
|
514
514
|
* Note: This returns a configuration callback. The implementation
|
|
515
515
|
* is inline to avoid circular dependencies.
|
|
516
516
|
*/
|
|
517
|
-
toVercelMcp(options?: VercelMcpOptions): (server: any
|
|
517
|
+
toVercelMcp(options?: VercelMcpOptions): (server: any) => void;
|
|
518
518
|
/**
|
|
519
519
|
* Create an AWS Lambda handler.
|
|
520
520
|
*
|
package/dist/server/index.js
CHANGED
|
@@ -14139,7 +14139,7 @@ var App = class {
|
|
|
14139
14139
|
createServerlessConfig(options) {
|
|
14140
14140
|
const { stateAdapter, realtimeAdapter } = options || {};
|
|
14141
14141
|
const app = this;
|
|
14142
|
-
return function mcpConfig(server
|
|
14142
|
+
return function mcpConfig(server) {
|
|
14143
14143
|
for (const [name, definition] of app.tools) {
|
|
14144
14144
|
const { config: toolConfig, handler } = definition;
|
|
14145
14145
|
const inputSchema = toolConfig.input || z2.object({});
|