@yaklabs-ai/plugin-sdk 0.13.3 → 0.13.5

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.
@@ -237,45 +237,24 @@ var uriTextEditPayloadArms = z3.union([
237
237
  // packages/herd-uri/dist/schema/to-json-schema.js
238
238
  import { z as z4 } from "zod";
239
239
 
240
- // packages/herd-agent/dist/core/tools/tool-parameters.js
241
- import { z as z5 } from "zod";
242
- var URI_PAYLOAD_MARKER = "x-kay-uri-payload";
243
- var uriPayloadSchema = z5.union([
244
- z5.string(),
245
- z5.record(z5.string(), z5.unknown()),
246
- z5.array(z5.unknown()),
247
- z5.number(),
248
- z5.boolean(),
249
- z5.null()
250
- ]).meta({ [URI_PAYLOAD_MARKER]: true });
251
-
252
- // packages/herd-agent/dist/core/tools/uri/hint-tiers.js
253
- var FIELD_LIMIT_CHARS = 220;
254
- var FLOW_LABEL_LIMIT_CHARS = 80;
255
- var FLOW_WHEN_LIMIT_CHARS = 120;
256
- var HELP_URI_LIMIT_CHARS = 140;
257
- var LIST_LIMIT = 8;
258
- var LIST_ITEM_LIMIT_CHARS = 60;
240
+ // packages/plugin-primitives/dist/uri-hint-limits.js
259
241
  var URI_HINT_FIELD_LIMITS = {
260
- /** Max chars for `agentHint.summary` (and, today, each flow's `example`). */
261
- summary: FIELD_LIMIT_CHARS,
242
+ /** Max chars for `agentHint.summary`. */
243
+ summary: 220,
262
244
  /** Max chars for a `commonFlows[].label`. */
263
- flowLabel: FLOW_LABEL_LIMIT_CHARS,
245
+ flowLabel: 80,
264
246
  /** Max chars for a `commonFlows[].when`. */
265
- flowWhen: FLOW_WHEN_LIMIT_CHARS,
247
+ flowWhen: 120,
266
248
  /** Max chars for a `commonFlows[].example`. */
267
- flowExample: FIELD_LIMIT_CHARS,
249
+ flowExample: 220,
268
250
  /** Max chars for `agentHint.helpUri`. */
269
- helpUri: HELP_URI_LIMIT_CHARS,
251
+ helpUri: 140,
270
252
  /** Max entries in `triggers.keywords` / `triggers.patterns`. */
271
- triggerListItems: LIST_LIMIT,
253
+ triggerListItems: 8,
272
254
  /** Max chars for one `triggers.keywords` / `triggers.patterns` entry. */
273
- triggerItem: LIST_ITEM_LIMIT_CHARS
255
+ triggerItem: 60
274
256
  };
275
257
 
276
- // packages/herd-agent/dist/core/tools/produced-resources.js
277
- var DECLARATIONS = Symbol.for("herd.producedResources.declarations");
278
-
279
258
  // packages/plugin-sdk/dist/disclosure/disclosure-conformance.js
280
259
  var PLUGIN_DISCLOSURE_RULES = [
281
260
  // (a) the agentHint a module must ship to be discoverable at all