@siglume/api-sdk 2.0.1 → 2.0.2

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.d.cts CHANGED
@@ -342,6 +342,13 @@ interface ToolManual {
342
342
  usage_hints: string[];
343
343
  result_hints: string[];
344
344
  error_hints: string[];
345
+ /**
346
+ * Optional structured capability flags (flat boolean/number/string values,
347
+ * e.g. `{ reply_thread: false, scheduled_one_time: true, images_max: 4 }`)
348
+ * surfaced verbatim on the API Store discovery responses so an agent can
349
+ * judge what a capability can/can't do before binding it.
350
+ */
351
+ supports?: Record<string, boolean | number | string>;
345
352
  approval_summary_template?: string;
346
353
  preview_schema?: Record<string, unknown>;
347
354
  idempotency_support?: boolean;
package/dist/index.d.ts CHANGED
@@ -342,6 +342,13 @@ interface ToolManual {
342
342
  usage_hints: string[];
343
343
  result_hints: string[];
344
344
  error_hints: string[];
345
+ /**
346
+ * Optional structured capability flags (flat boolean/number/string values,
347
+ * e.g. `{ reply_thread: false, scheduled_one_time: true, images_max: 4 }`)
348
+ * surfaced verbatim on the API Store discovery responses so an agent can
349
+ * judge what a capability can/can't do before binding it.
350
+ */
351
+ supports?: Record<string, boolean | number | string>;
345
352
  approval_summary_template?: string;
346
353
  preview_schema?: Record<string, unknown>;
347
354
  idempotency_support?: boolean;
package/dist/index.js CHANGED
@@ -7892,7 +7892,8 @@ var ALL_TOOL_MANUAL_FIELDS = [
7892
7892
  "settlement_mode",
7893
7893
  "refund_or_cancellation_note",
7894
7894
  "jurisdiction",
7895
- "legal_notes"
7895
+ "legal_notes",
7896
+ "supports"
7896
7897
  ];
7897
7898
  var BASE_REQUIRED_FIELDS = [
7898
7899
  "tool_name",
@@ -8416,7 +8417,8 @@ function buildToolManualSchema(permissionClass, fields) {
8416
8417
  settlement_mode: { type: "string", enum: [...PAYMENT_SETTLEMENT_MODES] },
8417
8418
  refund_or_cancellation_note: { type: "string" },
8418
8419
  jurisdiction: { type: "string" },
8419
- legal_notes: { type: "string" }
8420
+ legal_notes: { type: "string" },
8421
+ supports: { type: "object", additionalProperties: { type: ["boolean", "number", "string"] } }
8420
8422
  };
8421
8423
  const selectedFields = [...new Set(fields)];
8422
8424
  let required = [...selectedFields];