@elisym/sdk 0.25.4 → 0.25.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.
package/dist/index.d.cts CHANGED
@@ -417,18 +417,20 @@ interface CapabilityCard {
417
417
  /**
418
418
  * MIME the capability expects as a file input (from a dynamic-script skill's
419
419
  * `input_mime`). Discovery hint only; the provider still content-sniffs the
420
- * actual file. Its presence means the capability needs a file input - which
421
- * the web app cannot send (no iroh transport), so the web app blocks the Buy
422
- * button. `*` = any file, `image/*` = any image, `image/png` = exact.
420
+ * actual file. Its presence means the capability accepts a file input (the web
421
+ * app sends it over encrypted Blossom; the MCP/CLI over iroh), so clients show a
422
+ * file picker. `*` = any file, `image/*` = any image, `image/png` = exact.
423
423
  */
424
424
  inputMime?: string;
425
425
  /** MIME of a file result the capability produces (from `output_mime`). */
426
426
  outputMime?: string;
427
427
  /**
428
- * Whether a file-input capability ALSO accepts a text prompt (from `input_text`):
429
- * `'none'` = file only, `'optional'` = file + optional note, `'required'` = both.
430
- * Discovery hint; the web app shows/hides its text box accordingly. Only meaningful
431
- * with `inputMime`. Untrusted - gate on it, never render the raw value.
428
+ * How a file-input capability treats the text prompt (from `input_text`):
429
+ * `'none'` = file only, `'optional'` = file optional + instruction required (a
430
+ * generate-or-edit skill), `'required'` = file + text both required. Omitted =
431
+ * file required + optional note. Discovery hint; the web app shows/hides/gates its
432
+ * text box and file picker accordingly. Only meaningful with `inputMime`.
433
+ * Untrusted - gate on it, never render the raw value.
432
434
  */
433
435
  inputText?: 'required' | 'optional' | 'none';
434
436
  }
package/dist/index.d.ts CHANGED
@@ -417,18 +417,20 @@ interface CapabilityCard {
417
417
  /**
418
418
  * MIME the capability expects as a file input (from a dynamic-script skill's
419
419
  * `input_mime`). Discovery hint only; the provider still content-sniffs the
420
- * actual file. Its presence means the capability needs a file input - which
421
- * the web app cannot send (no iroh transport), so the web app blocks the Buy
422
- * button. `*` = any file, `image/*` = any image, `image/png` = exact.
420
+ * actual file. Its presence means the capability accepts a file input (the web
421
+ * app sends it over encrypted Blossom; the MCP/CLI over iroh), so clients show a
422
+ * file picker. `*` = any file, `image/*` = any image, `image/png` = exact.
423
423
  */
424
424
  inputMime?: string;
425
425
  /** MIME of a file result the capability produces (from `output_mime`). */
426
426
  outputMime?: string;
427
427
  /**
428
- * Whether a file-input capability ALSO accepts a text prompt (from `input_text`):
429
- * `'none'` = file only, `'optional'` = file + optional note, `'required'` = both.
430
- * Discovery hint; the web app shows/hides its text box accordingly. Only meaningful
431
- * with `inputMime`. Untrusted - gate on it, never render the raw value.
428
+ * How a file-input capability treats the text prompt (from `input_text`):
429
+ * `'none'` = file only, `'optional'` = file optional + instruction required (a
430
+ * generate-or-edit skill), `'required'` = file + text both required. Omitted =
431
+ * file required + optional note. Discovery hint; the web app shows/hides/gates its
432
+ * text box and file picker accordingly. Only meaningful with `inputMime`.
433
+ * Untrusted - gate on it, never render the raw value.
432
434
  */
433
435
  inputText?: 'required' | 'optional' | 'none';
434
436
  }
package/dist/index.js CHANGED
@@ -9,6 +9,8 @@ import * as nip44 from 'nostr-tools/nip44';
9
9
 
10
10
  // src/constants.ts
11
11
  var RELAYS = [
12
+ // Dedicated elisym relay (self-hosted) first, public relays as fallback.
13
+ "wss://relay.elisym.network",
12
14
  "wss://relay.damus.io",
13
15
  "wss://nos.lol",
14
16
  "wss://relay.nostr.band",