@napplet/sdk 0.33.0 → 0.34.0
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/README.md +76 -5
- package/dist/catalog.d.ts +19 -0
- package/dist/catalog.js +12 -0
- package/dist/catalog.js.map +1 -0
- package/dist/chunk-MCNFHE4N.js +174 -0
- package/dist/chunk-MCNFHE4N.js.map +1 -0
- package/dist/chunk-R7GJ3BVP.js +130 -0
- package/dist/chunk-R7GJ3BVP.js.map +1 -0
- package/dist/chunk-UDBXYHRC.js +34 -0
- package/dist/chunk-UDBXYHRC.js.map +1 -0
- package/dist/chunk-VL2MIOWA.js +17 -0
- package/dist/chunk-VL2MIOWA.js.map +1 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +116 -7
- package/dist/index.js.map +1 -1
- package/dist/navigation.d.ts +13 -0
- package/dist/navigation.js +16 -0
- package/dist/navigation.js.map +1 -0
- package/dist/soulseek.d.ts +14 -0
- package/dist/soulseek.js +68 -0
- package/dist/soulseek.js.map +1 -0
- package/dist/torrent.d.ts +13 -0
- package/dist/torrent.js +88 -0
- package/dist/torrent.js.map +1 -0
- package/package.json +19 -3
package/dist/index.js
CHANGED
|
@@ -1,15 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
gamepad
|
|
3
3
|
} from "./chunk-GF2NV43T.js";
|
|
4
|
+
import {
|
|
5
|
+
navigation
|
|
6
|
+
} from "./chunk-UDBXYHRC.js";
|
|
4
7
|
import {
|
|
5
8
|
llm
|
|
6
9
|
} from "./chunk-QERM5A7T.js";
|
|
7
|
-
import {
|
|
8
|
-
requireDomain
|
|
9
|
-
} from "./chunk-IQSY6FJF.js";
|
|
10
10
|
import {
|
|
11
11
|
blossom
|
|
12
12
|
} from "./chunk-W3KIVQ6X.js";
|
|
13
|
+
import {
|
|
14
|
+
catalog
|
|
15
|
+
} from "./chunk-VL2MIOWA.js";
|
|
16
|
+
import {
|
|
17
|
+
torrent
|
|
18
|
+
} from "./chunk-MCNFHE4N.js";
|
|
19
|
+
import {
|
|
20
|
+
soulseek
|
|
21
|
+
} from "./chunk-R7GJ3BVP.js";
|
|
22
|
+
import {
|
|
23
|
+
requireDomain
|
|
24
|
+
} from "./chunk-IQSY6FJF.js";
|
|
13
25
|
|
|
14
26
|
// src/relay.ts
|
|
15
27
|
var relay = {
|
|
@@ -1432,8 +1444,33 @@ import {
|
|
|
1432
1444
|
} from "@napplet/nap/dm";
|
|
1433
1445
|
import { shellReady, shellSupports, shellOnReady, installShellShim, DOMAIN as DOMAIN25 } from "@napplet/nap/shell";
|
|
1434
1446
|
import { DOMAIN as DOMAIN26, installGamepadShim, gamepadGetGamepads, gamepadAvailable, gamepadFocused, gamepadOnChange } from "@napplet/nap/gamepad";
|
|
1447
|
+
import { DOMAIN as DOMAIN27, installNavigationShim, navigationReport, navigationGet } from "@napplet/nap/navigation";
|
|
1448
|
+
import {
|
|
1449
|
+
DOMAIN as DOMAIN28,
|
|
1450
|
+
installTorrentShim,
|
|
1451
|
+
torrentCapabilities,
|
|
1452
|
+
torrentPickFiles,
|
|
1453
|
+
torrentAdd,
|
|
1454
|
+
torrentStatus,
|
|
1455
|
+
torrentJobs,
|
|
1456
|
+
torrentFiles,
|
|
1457
|
+
torrentSelectFiles,
|
|
1458
|
+
torrentPause,
|
|
1459
|
+
torrentResume,
|
|
1460
|
+
torrentRemove,
|
|
1461
|
+
torrentMetadata,
|
|
1462
|
+
torrentRead,
|
|
1463
|
+
torrentExportMetainfo,
|
|
1464
|
+
torrentSaveFile,
|
|
1465
|
+
torrentOpenFile,
|
|
1466
|
+
torrentCancel,
|
|
1467
|
+
torrentUpdate,
|
|
1468
|
+
torrentOnState,
|
|
1469
|
+
torrentOnProgress,
|
|
1470
|
+
torrentOnError
|
|
1471
|
+
} from "@napplet/nap/torrent";
|
|
1435
1472
|
import {
|
|
1436
|
-
DOMAIN as
|
|
1473
|
+
DOMAIN as DOMAIN29,
|
|
1437
1474
|
LLM_ERROR_CODES,
|
|
1438
1475
|
installLlmShim,
|
|
1439
1476
|
isLlmFailure,
|
|
@@ -1444,7 +1481,7 @@ import {
|
|
|
1444
1481
|
llmText,
|
|
1445
1482
|
llmToolCalls
|
|
1446
1483
|
} from "@napplet/nap/llm";
|
|
1447
|
-
import { DOMAIN as
|
|
1484
|
+
import { DOMAIN as DOMAIN30, installBlossomShim } from "@napplet/nap/blossom";
|
|
1448
1485
|
import {
|
|
1449
1486
|
blossomCheck,
|
|
1450
1487
|
blossomGet,
|
|
@@ -1462,6 +1499,27 @@ import {
|
|
|
1462
1499
|
blossomParseUri,
|
|
1463
1500
|
blossomFormatUri
|
|
1464
1501
|
} from "@napplet/nap/blossom/sdk";
|
|
1502
|
+
import { DOMAIN as DOMAIN31, installCatalogShim, catalogGet } from "@napplet/nap/catalog";
|
|
1503
|
+
import {
|
|
1504
|
+
DOMAIN as DOMAIN32,
|
|
1505
|
+
SOULSEEK_ERROR_CODES,
|
|
1506
|
+
installSoulseekShim,
|
|
1507
|
+
isSoulseekFailure,
|
|
1508
|
+
soulseekInfo,
|
|
1509
|
+
soulseekSearch,
|
|
1510
|
+
soulseekBrowse,
|
|
1511
|
+
soulseekResults,
|
|
1512
|
+
soulseekStop,
|
|
1513
|
+
soulseekDownload,
|
|
1514
|
+
soulseekTransfers,
|
|
1515
|
+
soulseekStatus,
|
|
1516
|
+
soulseekPause,
|
|
1517
|
+
soulseekResume,
|
|
1518
|
+
soulseekCancel,
|
|
1519
|
+
soulseekRead,
|
|
1520
|
+
soulseekSave,
|
|
1521
|
+
soulseekRelease
|
|
1522
|
+
} from "@napplet/nap/soulseek";
|
|
1465
1523
|
|
|
1466
1524
|
// src/shell.ts
|
|
1467
1525
|
var shell = {
|
|
@@ -1474,7 +1532,8 @@ var shell = {
|
|
|
1474
1532
|
};
|
|
1475
1533
|
export {
|
|
1476
1534
|
DOMAIN16 as BLE_DOMAIN,
|
|
1477
|
-
|
|
1535
|
+
DOMAIN30 as BLOSSOM_DOMAIN,
|
|
1536
|
+
DOMAIN31 as CATALOG_DOMAIN,
|
|
1478
1537
|
DOMAIN21 as COMMON_DOMAIN,
|
|
1479
1538
|
DOMAIN10 as CONFIG_DOMAIN,
|
|
1480
1539
|
DOMAIN19 as COUNT_DOMAIN,
|
|
@@ -1489,18 +1548,22 @@ export {
|
|
|
1489
1548
|
DOMAIN7 as KEYS_DOMAIN,
|
|
1490
1549
|
DOMAIN18 as LINK_DOMAIN,
|
|
1491
1550
|
DOMAIN20 as LISTS_DOMAIN,
|
|
1492
|
-
|
|
1551
|
+
DOMAIN29 as LLM_DOMAIN,
|
|
1493
1552
|
LLM_ERROR_CODES,
|
|
1494
1553
|
DOMAIN8 as MEDIA_DOMAIN,
|
|
1495
1554
|
NAP_DOMAINS,
|
|
1555
|
+
DOMAIN27 as NAVIGATION_DOMAIN,
|
|
1496
1556
|
DOMAIN9 as NOTIFY_DOMAIN,
|
|
1497
1557
|
DOMAIN13 as OUTBOX_DOMAIN,
|
|
1498
1558
|
DOMAIN as RELAY_DOMAIN,
|
|
1499
1559
|
DOMAIN11 as RESOURCE_DOMAIN,
|
|
1500
1560
|
DOMAIN22 as SERIAL_DOMAIN,
|
|
1501
1561
|
DOMAIN25 as SHELL_DOMAIN,
|
|
1562
|
+
DOMAIN32 as SOULSEEK_DOMAIN,
|
|
1563
|
+
SOULSEEK_ERROR_CODES,
|
|
1502
1564
|
DOMAIN3 as STORAGE_DOMAIN,
|
|
1503
1565
|
DOMAIN6 as THEME_DOMAIN,
|
|
1566
|
+
DOMAIN28 as TORRENT_DOMAIN,
|
|
1504
1567
|
DOMAIN14 as UPLOAD_DOMAIN,
|
|
1505
1568
|
DOMAIN17 as WEBRTC_DOMAIN,
|
|
1506
1569
|
ble,
|
|
@@ -1528,6 +1591,8 @@ export {
|
|
|
1528
1591
|
blossomReorderServers,
|
|
1529
1592
|
blossomServers,
|
|
1530
1593
|
blossomUpload,
|
|
1594
|
+
catalog,
|
|
1595
|
+
catalogGet,
|
|
1531
1596
|
common,
|
|
1532
1597
|
commonDecodeNip19,
|
|
1533
1598
|
commonEncodeNip19,
|
|
@@ -1601,6 +1666,7 @@ export {
|
|
|
1601
1666
|
incOn,
|
|
1602
1667
|
installBleShim,
|
|
1603
1668
|
installBlossomShim,
|
|
1669
|
+
installCatalogShim,
|
|
1604
1670
|
installCommonShim,
|
|
1605
1671
|
installConfigShim,
|
|
1606
1672
|
installCountShim,
|
|
@@ -1617,14 +1683,17 @@ export {
|
|
|
1617
1683
|
installListsShim,
|
|
1618
1684
|
installLlmShim,
|
|
1619
1685
|
installMediaShim,
|
|
1686
|
+
installNavigationShim,
|
|
1620
1687
|
installNotifyShim,
|
|
1621
1688
|
installOutboxShim,
|
|
1622
1689
|
installRelayShim,
|
|
1623
1690
|
installResourceShim,
|
|
1624
1691
|
installSerialShim,
|
|
1625
1692
|
installShellShim,
|
|
1693
|
+
installSoulseekShim,
|
|
1626
1694
|
installStorageShim,
|
|
1627
1695
|
installThemeShim,
|
|
1696
|
+
installTorrentShim,
|
|
1628
1697
|
installUploadShim,
|
|
1629
1698
|
installWebrtcShim,
|
|
1630
1699
|
intent,
|
|
@@ -1635,6 +1704,7 @@ export {
|
|
|
1635
1704
|
intentOnDelivery,
|
|
1636
1705
|
intentOpen,
|
|
1637
1706
|
isLlmFailure,
|
|
1707
|
+
isSoulseekFailure,
|
|
1638
1708
|
keys,
|
|
1639
1709
|
keysOnAction,
|
|
1640
1710
|
keysRegister,
|
|
@@ -1664,6 +1734,9 @@ export {
|
|
|
1664
1734
|
mediaReportState,
|
|
1665
1735
|
mediaSendCommand,
|
|
1666
1736
|
mediaUpdateSession,
|
|
1737
|
+
navigation,
|
|
1738
|
+
navigationGet,
|
|
1739
|
+
navigationReport,
|
|
1667
1740
|
notify,
|
|
1668
1741
|
notifyBadge,
|
|
1669
1742
|
notifyDismiss,
|
|
@@ -1699,6 +1772,21 @@ export {
|
|
|
1699
1772
|
shellOnReady,
|
|
1700
1773
|
shellReady,
|
|
1701
1774
|
shellSupports,
|
|
1775
|
+
soulseek,
|
|
1776
|
+
soulseekBrowse,
|
|
1777
|
+
soulseekCancel,
|
|
1778
|
+
soulseekDownload,
|
|
1779
|
+
soulseekInfo,
|
|
1780
|
+
soulseekPause,
|
|
1781
|
+
soulseekRead,
|
|
1782
|
+
soulseekRelease,
|
|
1783
|
+
soulseekResults,
|
|
1784
|
+
soulseekResume,
|
|
1785
|
+
soulseekSave,
|
|
1786
|
+
soulseekSearch,
|
|
1787
|
+
soulseekStatus,
|
|
1788
|
+
soulseekStop,
|
|
1789
|
+
soulseekTransfers,
|
|
1702
1790
|
storage,
|
|
1703
1791
|
storageGetItem,
|
|
1704
1792
|
storageInstanceGetItem,
|
|
@@ -1710,6 +1798,27 @@ export {
|
|
|
1710
1798
|
storageSetItem,
|
|
1711
1799
|
themeGet,
|
|
1712
1800
|
themeOnChanged,
|
|
1801
|
+
torrent,
|
|
1802
|
+
torrentAdd,
|
|
1803
|
+
torrentCancel,
|
|
1804
|
+
torrentCapabilities,
|
|
1805
|
+
torrentExportMetainfo,
|
|
1806
|
+
torrentFiles,
|
|
1807
|
+
torrentJobs,
|
|
1808
|
+
torrentMetadata,
|
|
1809
|
+
torrentOnError,
|
|
1810
|
+
torrentOnProgress,
|
|
1811
|
+
torrentOnState,
|
|
1812
|
+
torrentOpenFile,
|
|
1813
|
+
torrentPause,
|
|
1814
|
+
torrentPickFiles,
|
|
1815
|
+
torrentRead,
|
|
1816
|
+
torrentRemove,
|
|
1817
|
+
torrentResume,
|
|
1818
|
+
torrentSaveFile,
|
|
1819
|
+
torrentSelectFiles,
|
|
1820
|
+
torrentStatus,
|
|
1821
|
+
torrentUpdate,
|
|
1713
1822
|
upload,
|
|
1714
1823
|
uploadFile,
|
|
1715
1824
|
uploadInfo,
|