// dist/src/sdk/vercel.js
function createVercelAiTools(client) {
  return {
    honeycomb_recall: {
      description: "Recall relevant memories from Honeycomb for a query.",
      parameters: {
        type: "object",
        properties: {
          query: { type: "string", description: "The text to recall memories for." },
          limit: { type: "number", description: "Max results to return." }
        },
        required: ["query"],
        additionalProperties: false
      },
      async execute(args) {
        const query = String(args.query ?? "");
        const limit = typeof args.limit === "number" ? args.limit : void 0;
        return await client.recall(query, limit !== void 0 ? { limit } : void 0);
      }
    },
    honeycomb_remember: {
      description: "Store a memory in Honeycomb.",
      parameters: {
        type: "object",
        properties: {
          text: { type: "string", description: "The memory text to store." },
          path: { type: "string", description: "Optional memory path to store under." }
        },
        required: ["text"],
        additionalProperties: false
      },
      async execute(args) {
        const text = String(args.text ?? "");
        const path = typeof args.path === "string" ? args.path : void 0;
        await client.remember(text, path !== void 0 ? { path } : void 0);
        return { ok: true };
      }
    }
  };
}
export {
  createVercelAiTools
};
