Repository navigation
v1.0.9 — Agents pick the right kind
The docs your coding agent reads now say which kind to author for a task, not just what each kind is. An MCP server gets prompts and resources where they fit, instead of only tools. The guides also describe deploys to the Xano Engine correctly. Nothing changes at runtime.
npm install @xano/sdk@1.0.9Agents are told which kind fits each task
llms/object-kinds.md has a new "Choosing a kind" section. For each group of kinds that get confused, it says which one fits and why:
defineFunctionfor logic other code calls, aqueryfor HTTP, atoolfor AI callers.taskfor a timer, an asyncs.function.runfor work a request doesn't wait for,tableTriggerfor side effects of a row change (it fires on every write to the table).middlewarefor steps shared across many objects, anaddonfor related rows.agent(),mcpServer()orknowledge()depending on who runs the AI.s.realtime.publishfor server push.- A lambda only after native filters and expressions;
microserviceands.api.requestfor outside code. testsor aworkflowTest.
MCP servers get prompts and resources, not just tools
llms/kinds-agent-mcp.md now opens with who drives each MCP primitive. The model calls a tool(). The client app attaches a resource() by uri. The user picks a prompt() by name. Data the model has to fetch on its own mid-task stays a tool. The mcpServer() type docs say the same, and a prompt message's content is documented as accepting an MCP content block.
The deploy guides match the Xano Engine default
guides/cli.md and guides/deploying.md now say that a bare deploy goes to the Xano Engine, not a new ephemeral. They also say to cut releases from an ephemeral (deploy --ephemeral), because release create can't cut from the Engine.