@hearthscale/app 0.2.0 → 0.2.1
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.ts +13 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -93,6 +93,9 @@ interface CompanionOption {
|
|
|
93
93
|
interface HubCandidate {
|
|
94
94
|
/** The model id the pull makes, with the projector a lone one picks. */
|
|
95
95
|
id: string;
|
|
96
|
+
/** The name the pulled model goes by where no other model of the
|
|
97
|
+
* library shares it, as `CatalogModel.label` names it. */
|
|
98
|
+
name: string;
|
|
96
99
|
path: string;
|
|
97
100
|
quantization: string;
|
|
98
101
|
/** Every byte the pull writes for this file, its set and its projector. */
|
|
@@ -143,9 +146,10 @@ interface HubCandidate {
|
|
|
143
146
|
/** `GET /control/discover?task=&q=&sort=` answers the repositories of one
|
|
144
147
|
* task that `q` matches, or with no `q` the whole set, at most 30, as
|
|
145
148
|
* `HubRepository[]`; and `GET /control/discover/{owner}/{repo}` one
|
|
146
|
-
* repository as `HubListing`: the files a runtime of the Server runs,
|
|
147
|
-
*
|
|
148
|
-
*
|
|
149
|
+
* repository as `HubListing`: the files a runtime of the Server runs, how
|
|
150
|
+
* many files it publishes in all, so a repository whose listing yields
|
|
151
|
+
* no candidate is one no runtime there runs, and every file a pull of
|
|
152
|
+
* another repository's model can name as a companion. Both read Hugging
|
|
149
153
|
* Face on a person's act and on nothing else, and with no token, so they
|
|
150
154
|
* reach the public repositories alone; the Server's own window reads the
|
|
151
155
|
* same answers from `/local/discover`, with the token the person stored. */
|
|
@@ -154,6 +158,7 @@ interface HubListing {
|
|
|
154
158
|
model: HubRepository;
|
|
155
159
|
files: number;
|
|
156
160
|
candidates: HubCandidate[];
|
|
161
|
+
companions: CompanionOption[];
|
|
157
162
|
capabilities: {
|
|
158
163
|
vision: boolean;
|
|
159
164
|
tools: boolean;
|
|
@@ -3431,6 +3436,11 @@ interface HostSlot {
|
|
|
3431
3436
|
* them, becomes the tab's. */
|
|
3432
3437
|
session?: string | null;
|
|
3433
3438
|
project?: string;
|
|
3439
|
+
/** On a `chat` or `composer` slot: false draws the composer with no
|
|
3440
|
+
* model picker, for an app whose models are chosen only on its page in
|
|
3441
|
+
* Settings; the rest of the composer's footer keeps its place. Absent,
|
|
3442
|
+
* the composer shows the picker. */
|
|
3443
|
+
modelPicker?: boolean;
|
|
3434
3444
|
/** On a `terminal` slot: the folder its shell starts in, inside a folder
|
|
3435
3445
|
* the person gave the view's app. The slot's id, letters, digits, `-`
|
|
3436
3446
|
* and `_`, names the shell in the view's tab: the same id takes up the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hearthscale/app",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "The types a Hearthscale app's backend and views import: the backend's exports and context, the view's host methods, extensions and slots; and the typed call of a view's requests.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|