la-machina-engine 0.20.0 → 0.20.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/dist/index.cjs +9 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -9227,11 +9227,16 @@ function createDescribeServiceTool(opts) {
|
|
|
9227
9227
|
*/
|
|
9228
9228
|
path: import_zod24.z.string().min(1).optional(),
|
|
9229
9229
|
/**
|
|
9230
|
-
* Plan 054 — defaults to 8, capped at
|
|
9231
|
-
*
|
|
9232
|
-
*
|
|
9230
|
+
* Plan 054 — defaults to 8, capped at MAX_SEARCH_LIMIT.
|
|
9231
|
+
* Plan 054 review fix LOW — Zod no longer hard-rejects
|
|
9232
|
+
* values above the cap. A model that picks `limit: 100`
|
|
9233
|
+
* shouldn't waste a turn on a validation error; the
|
|
9234
|
+
* runtime `Math.min` clamp below is the authority and
|
|
9235
|
+
* silently bounds to 20. Schema still rejects non-int /
|
|
9236
|
+
* non-positive values so we don't silently round a sloppy
|
|
9237
|
+
* float or treat negatives as the default.
|
|
9233
9238
|
*/
|
|
9234
|
-
limit: import_zod24.z.number().int().min(1).
|
|
9239
|
+
limit: import_zod24.z.number().int().min(1).optional()
|
|
9235
9240
|
});
|
|
9236
9241
|
const description = `Look up endpoints on one configured API service.
|
|
9237
9242
|
1. Search: DescribeService({ service, query }) returns compact ranked matches with method, path, description, and a relevance score. Use this for broad services where only one endpoint slice is needed. Add { method } to filter.
|