@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/agent-store.cjs +2 -0
- package/dist/agent-store.cjs.map +1 -1
- package/dist/agent-store.js +2 -0
- package/dist/agent-store.js.map +1 -1
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -7
- package/dist/index.d.ts +9 -7
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/node.cjs.map +1 -1
- package/dist/node.js.map +1 -1
- package/dist/skills.cjs.map +1 -1
- package/dist/skills.d.cts +9 -7
- package/dist/skills.d.ts +9 -7
- package/dist/skills.js.map +1 -1
- package/package.json +1 -1
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
|
|
421
|
-
*
|
|
422
|
-
*
|
|
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
|
-
*
|
|
429
|
-
* `'none'` = file only, `'optional'` = file +
|
|
430
|
-
*
|
|
431
|
-
*
|
|
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
|
|
421
|
-
*
|
|
422
|
-
*
|
|
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
|
-
*
|
|
429
|
-
* `'none'` = file only, `'optional'` = file +
|
|
430
|
-
*
|
|
431
|
-
*
|
|
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",
|