pith-ui 0.2.0-app.1 → 0.2.0-app.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/API.md +261 -261
- package/APP-API.md +123 -119
- package/APP.md +6 -2
- package/dist/app/settings.d.ts.map +1 -1
- package/dist/app/settings.js +12 -8
- package/dist/app/settings.js.map +1 -1
- package/dist/app/workspace.d.ts +4 -0
- package/dist/app/workspace.d.ts.map +1 -1
- package/dist/app/workspace.js +27 -16
- package/dist/app/workspace.js.map +1 -1
- package/package.json +1 -1
package/APP-API.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Application API reference
|
|
2
2
|
|
|
3
|
-
Generated for `pith-ui@0.2.0-app.
|
|
3
|
+
Generated for `pith-ui@0.2.0-app.2` by `node scripts/api-docs.ts` from TypeScript declaration emit. Do not edit this file by hand. The installed `dist/app/index.d.ts` is authoritative. This reference indexes all 101 direct `pith-ui/app` exports and 17 supporting types reachable from their signatures.
|
|
4
4
|
|
|
5
5
|
Read [APP.md](./APP.md) for the approved consumption contract, ownership and lifecycle rules. Pith Desk imports only `pith-ui/app` and `pith-ui/styles.css`; the separate general [API.md](./API.md) does not expand that boundary.
|
|
6
6
|
|
|
@@ -140,7 +140,7 @@ Regenerate: `node scripts/api-docs.ts`. Verify both references and the contract
|
|
|
140
140
|
|
|
141
141
|
### AppArtifactsState
|
|
142
142
|
|
|
143
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
143
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/files.ts#L38)
|
|
144
144
|
|
|
145
145
|
```ts
|
|
146
146
|
export interface AppArtifactsState {
|
|
@@ -158,7 +158,7 @@ export interface AppArtifactsState {
|
|
|
158
158
|
|
|
159
159
|
### AppFileAction
|
|
160
160
|
|
|
161
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
161
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/files.ts#L8)
|
|
162
162
|
|
|
163
163
|
```ts
|
|
164
164
|
export type AppFileAction = 'open' | 'reveal' | 'copy' | 'copy-path';
|
|
@@ -166,7 +166,7 @@ export type AppFileAction = 'open' | 'reveal' | 'copy' | 'copy-path';
|
|
|
166
166
|
|
|
167
167
|
### AppFileOwner
|
|
168
168
|
|
|
169
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
169
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/files.ts#L10)
|
|
170
170
|
|
|
171
171
|
```ts
|
|
172
172
|
export interface AppFileOwner {
|
|
@@ -177,7 +177,7 @@ export interface AppFileOwner {
|
|
|
177
177
|
|
|
178
178
|
### AppFilePreviewState
|
|
179
179
|
|
|
180
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
180
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/files.ts#L13)
|
|
181
181
|
|
|
182
182
|
```ts
|
|
183
183
|
export interface AppFilePreviewState {
|
|
@@ -193,7 +193,7 @@ export interface AppFilePreviewState {
|
|
|
193
193
|
|
|
194
194
|
### AppFileTarget
|
|
195
195
|
|
|
196
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
196
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/files.ts#L11)
|
|
197
197
|
|
|
198
198
|
```ts
|
|
199
199
|
export interface AppFileTarget {
|
|
@@ -207,7 +207,7 @@ Referenced types and APIs: [`AppFileOwner`](#appfileowner).
|
|
|
207
207
|
|
|
208
208
|
### ArtifactsCallbacks
|
|
209
209
|
|
|
210
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
210
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/files.ts#L46)
|
|
211
211
|
|
|
212
212
|
```ts
|
|
213
213
|
export interface ArtifactsCallbacks {
|
|
@@ -220,7 +220,7 @@ Referenced types and APIs: [`AppFileAction`](#appfileaction), [`AppFileTarget`](
|
|
|
220
220
|
|
|
221
221
|
### FileActionResult
|
|
222
222
|
|
|
223
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
223
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/files.ts#L9)
|
|
224
224
|
|
|
225
225
|
```ts
|
|
226
226
|
export type FileActionResult = void | ActionResult | Promise<void | ActionResult>;
|
|
@@ -230,7 +230,7 @@ Referenced types and APIs: [`ActionResult`](#actionresult).
|
|
|
230
230
|
|
|
231
231
|
### FileCapabilities
|
|
232
232
|
|
|
233
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
233
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/files.ts#L12)
|
|
234
234
|
|
|
235
235
|
```ts
|
|
236
236
|
export interface FileCapabilities {
|
|
@@ -242,7 +242,7 @@ export interface FileCapabilities {
|
|
|
242
242
|
|
|
243
243
|
### FilePreviewCallbacks
|
|
244
244
|
|
|
245
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
245
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/files.ts#L26)
|
|
246
246
|
|
|
247
247
|
```ts
|
|
248
248
|
export interface FilePreviewCallbacks {
|
|
@@ -256,7 +256,7 @@ Referenced types and APIs: [`AppFileAction`](#appfileaction), [`AppFileTarget`](
|
|
|
256
256
|
|
|
257
257
|
### FilePreviewInput
|
|
258
258
|
|
|
259
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
259
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/files.ts#L22)
|
|
260
260
|
|
|
261
261
|
```ts
|
|
262
262
|
export interface FilePreviewInput extends AppFileTarget {
|
|
@@ -269,7 +269,7 @@ Referenced types and APIs: [`AppFilePreviewState`](#appfilepreviewstate), [`AppF
|
|
|
269
269
|
|
|
270
270
|
### FilePreviewSession
|
|
271
271
|
|
|
272
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
272
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/files.ts#L31)
|
|
273
273
|
|
|
274
274
|
```ts
|
|
275
275
|
export interface FilePreviewSession {
|
|
@@ -285,7 +285,7 @@ Referenced types and APIs: [`AppFilePreviewState`](#appfilepreviewstate).
|
|
|
285
285
|
|
|
286
286
|
### FilesScene
|
|
287
287
|
|
|
288
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
288
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/files.ts#L50)
|
|
289
289
|
|
|
290
290
|
```ts
|
|
291
291
|
export interface FilesScene {
|
|
@@ -301,7 +301,7 @@ Referenced types and APIs: [`AppArtifactsState`](#appartifactsstate), [`Artifact
|
|
|
301
301
|
|
|
302
302
|
### createApplication
|
|
303
303
|
|
|
304
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
304
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/index.ts#L58)
|
|
305
305
|
|
|
306
306
|
```ts
|
|
307
307
|
/** The only DOM argument is the application mount. Scenes return semantic ports. */
|
|
@@ -314,7 +314,7 @@ Related gallery: [application-reference](https://minifish-org.github.io/pith-ui/
|
|
|
314
314
|
|
|
315
315
|
### Application
|
|
316
316
|
|
|
317
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
317
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/index.ts#L40)
|
|
318
318
|
|
|
319
319
|
```ts
|
|
320
320
|
export interface Application {
|
|
@@ -336,7 +336,7 @@ Referenced types and APIs: [`ActionResult`](#actionresult), [`Appearance`](#appe
|
|
|
336
336
|
|
|
337
337
|
### ApplicationBrand
|
|
338
338
|
|
|
339
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
339
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/index.ts#L22)
|
|
340
340
|
|
|
341
341
|
```ts
|
|
342
342
|
export interface ApplicationBrand {
|
|
@@ -352,7 +352,7 @@ export interface ApplicationBrand {
|
|
|
352
352
|
|
|
353
353
|
### ApplicationHost
|
|
354
354
|
|
|
355
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
355
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/index.ts#L27)
|
|
356
356
|
|
|
357
357
|
```ts
|
|
358
358
|
export interface ApplicationHost {
|
|
@@ -365,7 +365,7 @@ Referenced types and APIs: [`HostResult`](#hostresult).
|
|
|
365
365
|
|
|
366
366
|
### ApplicationOptions
|
|
367
367
|
|
|
368
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
368
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/index.ts#L32)
|
|
369
369
|
|
|
370
370
|
```ts
|
|
371
371
|
export interface ApplicationOptions {
|
|
@@ -382,7 +382,7 @@ Referenced types and APIs: [`Appearance`](#appearance), [`ApplicationBrand`](#ap
|
|
|
382
382
|
|
|
383
383
|
### ApplicationState
|
|
384
384
|
|
|
385
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
385
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/index.ts#L31)
|
|
386
386
|
|
|
387
387
|
```ts
|
|
388
388
|
export interface ApplicationState {
|
|
@@ -395,7 +395,7 @@ Referenced types and APIs: [`Appearance`](#appearance).
|
|
|
395
395
|
|
|
396
396
|
### AppResourceEditorState
|
|
397
397
|
|
|
398
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
398
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/resources.ts#L52)
|
|
399
399
|
|
|
400
400
|
```ts
|
|
401
401
|
export interface AppResourceEditorState {
|
|
@@ -416,7 +416,7 @@ Referenced types and APIs: [`AppResourceKind`](#appresourcekind).
|
|
|
416
416
|
|
|
417
417
|
### AppResourceEntry
|
|
418
418
|
|
|
419
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
419
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/resources.ts#L13)
|
|
420
420
|
|
|
421
421
|
```ts
|
|
422
422
|
export interface AppResourceEntry {
|
|
@@ -429,7 +429,7 @@ export interface AppResourceEntry {
|
|
|
429
429
|
|
|
430
430
|
### AppResourceKind
|
|
431
431
|
|
|
432
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
432
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/resources.ts#L11)
|
|
433
433
|
|
|
434
434
|
```ts
|
|
435
435
|
export type AppResourceKind = 'instructions' | 'skill' | 'template';
|
|
@@ -437,7 +437,7 @@ export type AppResourceKind = 'instructions' | 'skill' | 'template';
|
|
|
437
437
|
|
|
438
438
|
### AppResourceTarget
|
|
439
439
|
|
|
440
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
440
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/resources.ts#L19)
|
|
441
441
|
|
|
442
442
|
```ts
|
|
443
443
|
export interface AppResourceTarget {
|
|
@@ -452,7 +452,7 @@ Referenced types and APIs: [`AppResourceKind`](#appresourcekind).
|
|
|
452
452
|
|
|
453
453
|
### ResourceActionResult
|
|
454
454
|
|
|
455
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
455
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/resources.ts#L12)
|
|
456
456
|
|
|
457
457
|
```ts
|
|
458
458
|
export type ResourceActionResult = void | ActionResult | Promise<void | ActionResult>;
|
|
@@ -462,7 +462,7 @@ Referenced types and APIs: [`ActionResult`](#actionresult).
|
|
|
462
462
|
|
|
463
463
|
### ResourceEditorCallbacks
|
|
464
464
|
|
|
465
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
465
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/resources.ts#L64)
|
|
466
466
|
|
|
467
467
|
```ts
|
|
468
468
|
export interface ResourceEditorCallbacks {
|
|
@@ -476,7 +476,7 @@ Referenced types and APIs: [`ActionResult`](#actionresult), [`AppResourceTarget`
|
|
|
476
476
|
|
|
477
477
|
### ResourceEditorSession
|
|
478
478
|
|
|
479
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
479
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/resources.ts#L69)
|
|
480
480
|
|
|
481
481
|
```ts
|
|
482
482
|
export interface ResourceEditorSession {
|
|
@@ -493,7 +493,7 @@ Referenced types and APIs: [`AppResourceEditorState`](#appresourceeditorstate),
|
|
|
493
493
|
|
|
494
494
|
### ResourcesCallbacks
|
|
495
495
|
|
|
496
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
496
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/resources.ts#L36)
|
|
497
497
|
|
|
498
498
|
```ts
|
|
499
499
|
export interface ResourcesCallbacks {
|
|
@@ -510,7 +510,7 @@ Referenced types and APIs: [`AppResourceKind`](#appresourcekind), [`AppResourceT
|
|
|
510
510
|
|
|
511
511
|
### ResourcesScene
|
|
512
512
|
|
|
513
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
513
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/resources.ts#L77)
|
|
514
514
|
|
|
515
515
|
```ts
|
|
516
516
|
export interface ResourcesScene {
|
|
@@ -530,7 +530,7 @@ Referenced types and APIs: [`AppResourceEditorState`](#appresourceeditorstate),
|
|
|
530
530
|
|
|
531
531
|
### ResourcesSession
|
|
532
532
|
|
|
533
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
533
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/resources.ts#L44)
|
|
534
534
|
|
|
535
535
|
```ts
|
|
536
536
|
export interface ResourcesSession {
|
|
@@ -547,7 +547,7 @@ Referenced types and APIs: [`ResourcesState`](#resourcesstate).
|
|
|
547
547
|
|
|
548
548
|
### ResourcesState
|
|
549
549
|
|
|
550
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
550
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/resources.ts#L25)
|
|
551
551
|
|
|
552
552
|
```ts
|
|
553
553
|
export interface ResourcesState {
|
|
@@ -571,7 +571,7 @@ Referenced types and APIs: [`AppResourceEntry`](#appresourceentry).
|
|
|
571
571
|
|
|
572
572
|
### LoadingSession
|
|
573
573
|
|
|
574
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
574
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/session.ts#L5)
|
|
575
575
|
|
|
576
576
|
```ts
|
|
577
577
|
export interface LoadingSession {
|
|
@@ -587,7 +587,7 @@ Referenced types and APIs: [`LoadingState`](#loadingstate).
|
|
|
587
587
|
|
|
588
588
|
### LoadingState
|
|
589
589
|
|
|
590
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
590
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/session.ts#L4)
|
|
591
591
|
|
|
592
592
|
```ts
|
|
593
593
|
export interface LoadingState {
|
|
@@ -597,7 +597,7 @@ export interface LoadingState {
|
|
|
597
597
|
|
|
598
598
|
### CustomConnectionCallbacks
|
|
599
599
|
|
|
600
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
600
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/settings.ts#L68)
|
|
601
601
|
|
|
602
602
|
```ts
|
|
603
603
|
export interface CustomConnectionCallbacks {
|
|
@@ -610,7 +610,7 @@ Referenced types and APIs: [`CustomConnectionDraft`](#customconnectiondraft), [`
|
|
|
610
610
|
|
|
611
611
|
### CustomConnectionSession
|
|
612
612
|
|
|
613
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
613
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/settings.ts#L69)
|
|
614
614
|
|
|
615
615
|
```ts
|
|
616
616
|
export interface CustomConnectionSession extends SettingsViewSession<CustomConnectionState> {
|
|
@@ -623,7 +623,7 @@ Referenced types and APIs: [`CustomConnectionDraft`](#customconnectiondraft), [`
|
|
|
623
623
|
|
|
624
624
|
### MCPCallbacks
|
|
625
625
|
|
|
626
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
626
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/settings.ts#L52)
|
|
627
627
|
|
|
628
628
|
```ts
|
|
629
629
|
export interface MCPCallbacks {
|
|
@@ -639,7 +639,7 @@ Referenced types and APIs: [`HostResult`](#hostresult), [`MCPConnectionAction`](
|
|
|
639
639
|
|
|
640
640
|
### MCPSession
|
|
641
641
|
|
|
642
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
642
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/settings.ts#L59)
|
|
643
643
|
|
|
644
644
|
```ts
|
|
645
645
|
export interface MCPSession extends SettingsViewSession<MCPConnectionsState> {
|
|
@@ -655,7 +655,7 @@ Referenced types and APIs: [`MCPConnectionDraft`](#mcpconnectiondraft), [`MCPCon
|
|
|
655
655
|
|
|
656
656
|
### ModelCallbacks
|
|
657
657
|
|
|
658
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
658
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/settings.ts#L66)
|
|
659
659
|
|
|
660
660
|
```ts
|
|
661
661
|
export interface ModelCallbacks {
|
|
@@ -668,7 +668,7 @@ Referenced types and APIs: [`ModelSelection`](#modelselection), [`Submission`](#
|
|
|
668
668
|
|
|
669
669
|
### ModelSession
|
|
670
670
|
|
|
671
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
671
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/settings.ts#L67)
|
|
672
672
|
|
|
673
673
|
```ts
|
|
674
674
|
export interface ModelSession extends SettingsViewSession<ModelPickerState> {
|
|
@@ -682,7 +682,7 @@ Referenced types and APIs: [`ModelPickerState`](#modelpickerstate), [`ModelSelec
|
|
|
682
682
|
|
|
683
683
|
### ProviderLoginCallbacks
|
|
684
684
|
|
|
685
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
685
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/settings.ts#L70)
|
|
686
686
|
|
|
687
687
|
```ts
|
|
688
688
|
export interface ProviderLoginCallbacks {
|
|
@@ -696,7 +696,7 @@ Referenced types and APIs: [`HostResult`](#hostresult).
|
|
|
696
696
|
|
|
697
697
|
### ProviderLoginSession
|
|
698
698
|
|
|
699
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
699
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/settings.ts#L71)
|
|
700
700
|
|
|
701
701
|
```ts
|
|
702
702
|
export interface ProviderLoginSession extends SettingsViewSession<ProviderLoginState> {
|
|
@@ -707,7 +707,7 @@ Referenced types and APIs: [`ProviderLoginState`](#providerloginstate), [`Settin
|
|
|
707
707
|
|
|
708
708
|
### SettingsCallbacks
|
|
709
709
|
|
|
710
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
710
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/settings.ts#L28)
|
|
711
711
|
|
|
712
712
|
```ts
|
|
713
713
|
export interface SettingsCallbacks {
|
|
@@ -730,7 +730,7 @@ Referenced types and APIs: [`Appearance`](#appearance), [`HostResult`](#hostresu
|
|
|
730
730
|
|
|
731
731
|
### SettingsCredential
|
|
732
732
|
|
|
733
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
733
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/settings.ts#L26)
|
|
734
734
|
|
|
735
735
|
```ts
|
|
736
736
|
export interface SettingsCredential extends Omit<SettingsCredentialView, 'actions'> {
|
|
@@ -742,7 +742,7 @@ Referenced types and APIs: [`ProviderActionsState`](#provideractionsstate), [`Se
|
|
|
742
742
|
|
|
743
743
|
### SettingsScene
|
|
744
744
|
|
|
745
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
745
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/settings.ts#L72)
|
|
746
746
|
|
|
747
747
|
```ts
|
|
748
748
|
export interface SettingsScene {
|
|
@@ -764,7 +764,7 @@ Referenced types and APIs: [`CustomConnectionCallbacks`](#customconnectioncallba
|
|
|
764
764
|
|
|
765
765
|
### SettingsSession
|
|
766
766
|
|
|
767
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
767
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/settings.ts#L42)
|
|
768
768
|
|
|
769
769
|
```ts
|
|
770
770
|
export interface SettingsSession extends SettingsViewSession<SettingsPanelState> {
|
|
@@ -790,7 +790,7 @@ Referenced types and APIs: [`SettingsCredential`](#settingscredential), [`Settin
|
|
|
790
790
|
|
|
791
791
|
### UpdateAction
|
|
792
792
|
|
|
793
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
793
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/settings.ts#L27)
|
|
794
794
|
|
|
795
795
|
```ts
|
|
796
796
|
export type UpdateAction = 'check' | 'install';
|
|
@@ -798,7 +798,7 @@ export type UpdateAction = 'check' | 'install';
|
|
|
798
798
|
|
|
799
799
|
### ApplicationConversation
|
|
800
800
|
|
|
801
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
801
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/workspace.ts#L22)
|
|
802
802
|
|
|
803
803
|
```ts
|
|
804
804
|
export interface ApplicationConversation {
|
|
@@ -819,7 +819,7 @@ Referenced types and APIs: [`NavigationStatus`](#navigationstatus).
|
|
|
819
819
|
|
|
820
820
|
### ApplicationWorkspace
|
|
821
821
|
|
|
822
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
822
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/workspace.ts#L26)
|
|
823
823
|
|
|
824
824
|
```ts
|
|
825
825
|
export interface ApplicationWorkspace {
|
|
@@ -836,7 +836,7 @@ Referenced types and APIs: [`ApplicationConversation`](#applicationconversation)
|
|
|
836
836
|
|
|
837
837
|
### ConfirmationState
|
|
838
838
|
|
|
839
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
839
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/workspace.ts#L79)
|
|
840
840
|
|
|
841
841
|
```ts
|
|
842
842
|
export interface ConfirmationState {
|
|
@@ -855,7 +855,7 @@ export interface ConfirmationState {
|
|
|
855
855
|
|
|
856
856
|
### ConversationNavigationAction
|
|
857
857
|
|
|
858
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
858
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/workspace.ts#L35)
|
|
859
859
|
|
|
860
860
|
```ts
|
|
861
861
|
export type ConversationNavigationAction = 'rename' | 'history' | 'export' | 'delete';
|
|
@@ -863,7 +863,7 @@ export type ConversationNavigationAction = 'rename' | 'history' | 'export' | 'de
|
|
|
863
863
|
|
|
864
864
|
### ConversationState
|
|
865
865
|
|
|
866
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
866
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/workspace.ts#L32)
|
|
867
867
|
|
|
868
868
|
```ts
|
|
869
869
|
export interface ConversationState {
|
|
@@ -877,7 +877,7 @@ Referenced types and APIs: [`ConversationMessage`](#conversationmessage).
|
|
|
877
877
|
|
|
878
878
|
### ImageTarget
|
|
879
879
|
|
|
880
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
880
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/workspace.ts#L33)
|
|
881
881
|
|
|
882
882
|
```ts
|
|
883
883
|
export interface ImageTarget {
|
|
@@ -889,7 +889,7 @@ export interface ImageTarget {
|
|
|
889
889
|
|
|
890
890
|
### MessageEditorSession
|
|
891
891
|
|
|
892
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
892
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/workspace.ts#L78)
|
|
893
893
|
|
|
894
894
|
```ts
|
|
895
895
|
export interface MessageEditorSession extends SceneSession<MessageEditorState> {
|
|
@@ -903,7 +903,7 @@ Referenced types and APIs: [`MessageEditorState`](#messageeditorstate), [`SceneS
|
|
|
903
903
|
|
|
904
904
|
### MessageEditorState
|
|
905
905
|
|
|
906
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
906
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/workspace.ts#L73)
|
|
907
907
|
|
|
908
908
|
```ts
|
|
909
909
|
export interface MessageEditorState {
|
|
@@ -921,7 +921,7 @@ export interface MessageEditorState {
|
|
|
921
921
|
|
|
922
922
|
### NavigationState
|
|
923
923
|
|
|
924
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
924
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/workspace.ts#L31)
|
|
925
925
|
|
|
926
926
|
```ts
|
|
927
927
|
export interface NavigationState {
|
|
@@ -935,7 +935,7 @@ Referenced types and APIs: [`ApplicationWorkspace`](#applicationworkspace).
|
|
|
935
935
|
|
|
936
936
|
### NavigationStatus
|
|
937
937
|
|
|
938
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
938
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/workspace.ts#L21)
|
|
939
939
|
|
|
940
940
|
```ts
|
|
941
941
|
export interface NavigationStatus {
|
|
@@ -945,7 +945,7 @@ export interface NavigationStatus {
|
|
|
945
945
|
|
|
946
946
|
### SceneSession
|
|
947
947
|
|
|
948
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
948
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/workspace.ts#L66)
|
|
949
949
|
|
|
950
950
|
```ts
|
|
951
951
|
export interface SceneSession<State> {
|
|
@@ -959,7 +959,7 @@ export interface SceneSession<State> {
|
|
|
959
959
|
|
|
960
960
|
### WorkspaceAction
|
|
961
961
|
|
|
962
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
962
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/workspace.ts#L34)
|
|
963
963
|
|
|
964
964
|
```ts
|
|
965
965
|
export type WorkspaceAction = 'workspace' | 'resources' | 'connections' | 'settings' | 'model' | 'compact' | 'continue' | 'diagnostics';
|
|
@@ -967,10 +967,13 @@ export type WorkspaceAction = 'workspace' | 'resources' | 'connections' | 'setti
|
|
|
967
967
|
|
|
968
968
|
### WorkspaceAvailability
|
|
969
969
|
|
|
970
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
970
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/workspace.ts#L84)
|
|
971
971
|
|
|
972
972
|
```ts
|
|
973
973
|
export interface WorkspaceAvailability {
|
|
974
|
+
/** A host mutation blocks actions in every scope. A running task is scoped below. */
|
|
975
|
+
readonly busy?: boolean;
|
|
976
|
+
/** Global actions only; unrelated inactive targets keep their own availability. */
|
|
974
977
|
readonly global?: boolean;
|
|
975
978
|
readonly active?: boolean;
|
|
976
979
|
readonly conversations?: readonly string[];
|
|
@@ -980,7 +983,7 @@ export interface WorkspaceAvailability {
|
|
|
980
983
|
|
|
981
984
|
### WorkspaceCallbacks
|
|
982
985
|
|
|
983
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
986
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/workspace.ts#L36)
|
|
984
987
|
|
|
985
988
|
```ts
|
|
986
989
|
export interface WorkspaceCallbacks {
|
|
@@ -1008,6 +1011,7 @@ export interface WorkspaceCallbacks {
|
|
|
1008
1011
|
onDropReferences?(input: {
|
|
1009
1012
|
readonly paths: readonly string[];
|
|
1010
1013
|
readonly uris?: string;
|
|
1014
|
+
readonly hasUnidentifiedFiles: boolean;
|
|
1011
1015
|
}): void;
|
|
1012
1016
|
onPermissionChange?(value: string): void;
|
|
1013
1017
|
onApproval?(id: string, action: 'deny' | 'always' | 'allow'): void;
|
|
@@ -1022,7 +1026,7 @@ Referenced types and APIs: [`ConversationAction`](#conversationaction), [`Conver
|
|
|
1022
1026
|
|
|
1023
1027
|
### WorkspaceScene
|
|
1024
1028
|
|
|
1025
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1029
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/workspace.ts#L91)
|
|
1026
1030
|
|
|
1027
1031
|
```ts
|
|
1028
1032
|
export interface WorkspaceScene {
|
|
@@ -1128,7 +1132,7 @@ Referenced types and APIs: [`ActionResult`](#actionresult), [`ApprovalPanelState
|
|
|
1128
1132
|
|
|
1129
1133
|
### AttachmentsState
|
|
1130
1134
|
|
|
1131
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1135
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/composer.ts#L66)
|
|
1132
1136
|
|
|
1133
1137
|
```ts
|
|
1134
1138
|
export interface AttachmentsState {
|
|
@@ -1141,7 +1145,7 @@ Referenced types and APIs: [`AttachmentItem`](#attachmentitem).
|
|
|
1141
1145
|
|
|
1142
1146
|
### PendingMessagesState
|
|
1143
1147
|
|
|
1144
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1148
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/composer.ts#L7)
|
|
1145
1149
|
|
|
1146
1150
|
```ts
|
|
1147
1151
|
export interface PendingMessagesState {
|
|
@@ -1155,7 +1159,7 @@ Referenced types and APIs: [`PendingMessage`](#pendingmessage).
|
|
|
1155
1159
|
|
|
1156
1160
|
### ConversationAction
|
|
1157
1161
|
|
|
1158
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1162
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/content/conversation-view.ts#L26)
|
|
1159
1163
|
|
|
1160
1164
|
```ts
|
|
1161
1165
|
export interface ConversationAction {
|
|
@@ -1167,7 +1171,7 @@ export interface ConversationAction {
|
|
|
1167
1171
|
|
|
1168
1172
|
### ConversationActionAvailability
|
|
1169
1173
|
|
|
1170
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1174
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/content/conversation-view.ts#L27)
|
|
1171
1175
|
|
|
1172
1176
|
```ts
|
|
1173
1177
|
export interface ConversationActionAvailability {
|
|
@@ -1179,7 +1183,7 @@ export interface ConversationActionAvailability {
|
|
|
1179
1183
|
|
|
1180
1184
|
### ConversationMessage
|
|
1181
1185
|
|
|
1182
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1186
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/content/conversation-view.ts#L8)
|
|
1183
1187
|
|
|
1184
1188
|
```ts
|
|
1185
1189
|
/** UI data only. Hosts decide copy/edit/branch eligibility and resolve images. */
|
|
@@ -1213,7 +1217,7 @@ export interface ConversationMessage {
|
|
|
1213
1217
|
|
|
1214
1218
|
### WelcomeState
|
|
1215
1219
|
|
|
1216
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1220
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/content/welcome.ts#L5)
|
|
1217
1221
|
|
|
1218
1222
|
```ts
|
|
1219
1223
|
export interface WelcomeState {
|
|
@@ -1229,7 +1233,7 @@ export interface WelcomeState {
|
|
|
1229
1233
|
|
|
1230
1234
|
### ActionResult
|
|
1231
1235
|
|
|
1232
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1236
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/core.ts#L8)
|
|
1233
1237
|
|
|
1234
1238
|
```ts
|
|
1235
1239
|
export type ActionResult = {
|
|
@@ -1242,7 +1246,7 @@ export type ActionResult = {
|
|
|
1242
1246
|
|
|
1243
1247
|
### CompletionNoticeDisplay
|
|
1244
1248
|
|
|
1245
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1249
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/files/systems.ts#L112)
|
|
1246
1250
|
|
|
1247
1251
|
```ts
|
|
1248
1252
|
export interface CompletionNoticeDisplay {
|
|
@@ -1255,7 +1259,7 @@ export interface CompletionNoticeDisplay {
|
|
|
1255
1259
|
|
|
1256
1260
|
### CostLedgerState
|
|
1257
1261
|
|
|
1258
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1262
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/files/systems.ts#L23)
|
|
1259
1263
|
|
|
1260
1264
|
```ts
|
|
1261
1265
|
export interface CostLedgerState {
|
|
@@ -1268,7 +1272,7 @@ Referenced types and APIs: [`CostRequestDisplay`](#costrequestdisplay).
|
|
|
1268
1272
|
|
|
1269
1273
|
### formatCost
|
|
1270
1274
|
|
|
1271
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1275
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/files/systems.ts#L10)
|
|
1272
1276
|
|
|
1273
1277
|
```ts
|
|
1274
1278
|
export declare function formatCost(cost: CostSummaryDisplay | undefined, latestTask?: boolean): string;
|
|
@@ -1278,7 +1282,7 @@ Referenced types and APIs: [`CostSummaryDisplay`](#costsummarydisplay).
|
|
|
1278
1282
|
|
|
1279
1283
|
### UpdatePanelState
|
|
1280
1284
|
|
|
1281
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1285
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/files/systems.ts#L77)
|
|
1282
1286
|
|
|
1283
1287
|
```ts
|
|
1284
1288
|
export interface UpdatePanelState {
|
|
@@ -1293,7 +1297,7 @@ export interface UpdatePanelState {
|
|
|
1293
1297
|
|
|
1294
1298
|
### ProviderAction
|
|
1295
1299
|
|
|
1296
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1300
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/actions.ts#L8)
|
|
1297
1301
|
|
|
1298
1302
|
```ts
|
|
1299
1303
|
export type ProviderAction = 'login' | 'logout' | 'custom' | 'remove-connection';
|
|
@@ -1301,7 +1305,7 @@ export type ProviderAction = 'login' | 'logout' | 'custom' | 'remove-connection'
|
|
|
1301
1305
|
|
|
1302
1306
|
### ProviderActionsState
|
|
1303
1307
|
|
|
1304
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1308
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/actions.ts#L5)
|
|
1305
1309
|
|
|
1306
1310
|
```ts
|
|
1307
1311
|
export interface ProviderActionsState {
|
|
@@ -1315,7 +1319,7 @@ export interface ProviderActionsState {
|
|
|
1315
1319
|
|
|
1316
1320
|
### ProviderActionTarget
|
|
1317
1321
|
|
|
1318
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1322
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/actions.ts#L10)
|
|
1319
1323
|
|
|
1320
1324
|
```ts
|
|
1321
1325
|
export interface ProviderActionTarget {
|
|
@@ -1325,7 +1329,7 @@ export interface ProviderActionTarget {
|
|
|
1325
1329
|
|
|
1326
1330
|
### CustomConnectionDraft
|
|
1327
1331
|
|
|
1328
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1332
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/custom-connection.ts#L8)
|
|
1329
1333
|
|
|
1330
1334
|
```ts
|
|
1331
1335
|
export interface CustomConnectionDraft {
|
|
@@ -1341,7 +1345,7 @@ Referenced types and APIs: [`CustomModelDraft`](#custommodeldraft).
|
|
|
1341
1345
|
|
|
1342
1346
|
### CustomConnectionState
|
|
1343
1347
|
|
|
1344
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1348
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/custom-connection.ts#L6)
|
|
1345
1349
|
|
|
1346
1350
|
```ts
|
|
1347
1351
|
export interface CustomConnectionState {
|
|
@@ -1359,7 +1363,7 @@ Referenced types and APIs: [`CustomModelValue`](#custommodelvalue).
|
|
|
1359
1363
|
|
|
1360
1364
|
### BranchHistoryState
|
|
1361
1365
|
|
|
1362
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1366
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/history.ts#L6)
|
|
1363
1367
|
|
|
1364
1368
|
```ts
|
|
1365
1369
|
export interface BranchHistoryState {
|
|
@@ -1373,7 +1377,7 @@ Referenced types and APIs: [`BranchHistoryNode`](#branchhistorynode).
|
|
|
1373
1377
|
|
|
1374
1378
|
### ModelSelection
|
|
1375
1379
|
|
|
1376
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1380
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/model-editor.ts#L25)
|
|
1377
1381
|
|
|
1378
1382
|
```ts
|
|
1379
1383
|
export interface ModelSelection {
|
|
@@ -1385,7 +1389,7 @@ export interface ModelSelection {
|
|
|
1385
1389
|
|
|
1386
1390
|
### thinkingLabel
|
|
1387
1391
|
|
|
1388
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1392
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/model-editor.ts#L35)
|
|
1389
1393
|
|
|
1390
1394
|
```ts
|
|
1391
1395
|
export declare function thinkingLabel(level: string): string;
|
|
@@ -1393,7 +1397,7 @@ export declare function thinkingLabel(level: string): string;
|
|
|
1393
1397
|
|
|
1394
1398
|
### MCPConnectionAction
|
|
1395
1399
|
|
|
1396
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1400
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/panels.ts#L198)
|
|
1397
1401
|
|
|
1398
1402
|
```ts
|
|
1399
1403
|
export type MCPConnectionAction = 'mcp-login' | 'mcp-logout' | 'mcp-edit' | 'mcp-toggle' | 'mcp-remove';
|
|
@@ -1401,7 +1405,7 @@ export type MCPConnectionAction = 'mcp-login' | 'mcp-logout' | 'mcp-edit' | 'mcp
|
|
|
1401
1405
|
|
|
1402
1406
|
### MCPConnectionDraft
|
|
1403
1407
|
|
|
1404
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1408
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/panels.ts#L143)
|
|
1405
1409
|
|
|
1406
1410
|
```ts
|
|
1407
1411
|
export interface MCPConnectionDraft {
|
|
@@ -1423,7 +1427,7 @@ export interface MCPConnectionDraft {
|
|
|
1423
1427
|
|
|
1424
1428
|
### MCPConnectionItem
|
|
1425
1429
|
|
|
1426
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1430
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/panels.ts#L193)
|
|
1427
1431
|
|
|
1428
1432
|
```ts
|
|
1429
1433
|
export interface MCPConnectionItem {
|
|
@@ -1445,7 +1449,7 @@ export interface MCPConnectionItem {
|
|
|
1445
1449
|
|
|
1446
1450
|
### MCPConnectionsState
|
|
1447
1451
|
|
|
1448
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1452
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/panels.ts#L144)
|
|
1449
1453
|
|
|
1450
1454
|
```ts
|
|
1451
1455
|
export interface MCPConnectionsState extends FormFeedback {
|
|
@@ -1457,7 +1461,7 @@ Referenced types and APIs: [`FormFeedback`](#formfeedback).
|
|
|
1457
1461
|
|
|
1458
1462
|
### MCPConnectionTarget
|
|
1459
1463
|
|
|
1460
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1464
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/panels.ts#L199)
|
|
1461
1465
|
|
|
1462
1466
|
```ts
|
|
1463
1467
|
export interface MCPConnectionTarget {
|
|
@@ -1467,7 +1471,7 @@ export interface MCPConnectionTarget {
|
|
|
1467
1471
|
|
|
1468
1472
|
### MCPEditorValue
|
|
1469
1473
|
|
|
1470
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1474
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/panels.ts#L142)
|
|
1471
1475
|
|
|
1472
1476
|
```ts
|
|
1473
1477
|
export interface MCPEditorValue {
|
|
@@ -1487,7 +1491,7 @@ export interface MCPEditorValue {
|
|
|
1487
1491
|
|
|
1488
1492
|
### ModelPickerState
|
|
1489
1493
|
|
|
1490
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1494
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/panels.ts#L180)
|
|
1491
1495
|
|
|
1492
1496
|
```ts
|
|
1493
1497
|
export interface ModelPickerState extends FormFeedback {
|
|
@@ -1500,7 +1504,7 @@ Referenced types and APIs: [`FormFeedback`](#formfeedback), [`ModelEditorState`]
|
|
|
1500
1504
|
|
|
1501
1505
|
### SettingsDraft
|
|
1502
1506
|
|
|
1503
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1507
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/panels.ts#L42)
|
|
1504
1508
|
|
|
1505
1509
|
```ts
|
|
1506
1510
|
export interface SettingsDraft {
|
|
@@ -1512,7 +1516,7 @@ export interface SettingsDraft {
|
|
|
1512
1516
|
|
|
1513
1517
|
### SettingsPanelState
|
|
1514
1518
|
|
|
1515
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1519
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/panels.ts#L40)
|
|
1516
1520
|
|
|
1517
1521
|
```ts
|
|
1518
1522
|
export interface SettingsPanelState extends FormFeedback {
|
|
@@ -1536,7 +1540,7 @@ Referenced types and APIs: [`FormFeedback`](#formfeedback).
|
|
|
1536
1540
|
|
|
1537
1541
|
### SettingsProviderOption
|
|
1538
1542
|
|
|
1539
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1543
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/panels.ts#L43)
|
|
1540
1544
|
|
|
1541
1545
|
```ts
|
|
1542
1546
|
export interface SettingsProviderOption {
|
|
@@ -1549,7 +1553,7 @@ export interface SettingsProviderOption {
|
|
|
1549
1553
|
|
|
1550
1554
|
### ProviderLoginState
|
|
1551
1555
|
|
|
1552
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1556
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/provider-login.ts#L7)
|
|
1553
1557
|
|
|
1554
1558
|
```ts
|
|
1555
1559
|
export interface ProviderLoginState {
|
|
@@ -1570,7 +1574,7 @@ export interface ProviderLoginState {
|
|
|
1570
1574
|
|
|
1571
1575
|
### ResourceDraft
|
|
1572
1576
|
|
|
1573
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1577
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/resource-editor.ts#L6)
|
|
1574
1578
|
|
|
1575
1579
|
```ts
|
|
1576
1580
|
export interface ResourceDraft {
|
|
@@ -1581,7 +1585,7 @@ export interface ResourceDraft {
|
|
|
1581
1585
|
|
|
1582
1586
|
### RenameConversationDraft
|
|
1583
1587
|
|
|
1584
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1588
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/navigation/navigation.ts#L83)
|
|
1585
1589
|
|
|
1586
1590
|
```ts
|
|
1587
1591
|
export interface RenameConversationDraft {
|
|
@@ -1592,7 +1596,7 @@ export interface RenameConversationDraft {
|
|
|
1592
1596
|
|
|
1593
1597
|
### RenameConversationState
|
|
1594
1598
|
|
|
1595
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1599
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/navigation/navigation.ts#L82)
|
|
1596
1600
|
|
|
1597
1601
|
```ts
|
|
1598
1602
|
export interface RenameConversationState {
|
|
@@ -1605,7 +1609,7 @@ export interface RenameConversationState {
|
|
|
1605
1609
|
|
|
1606
1610
|
### WorkspacePickerState
|
|
1607
1611
|
|
|
1608
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1612
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/navigation/navigation.ts#L130)
|
|
1609
1613
|
|
|
1610
1614
|
```ts
|
|
1611
1615
|
export interface WorkspacePickerState {
|
|
@@ -1621,7 +1625,7 @@ export interface WorkspacePickerState {
|
|
|
1621
1625
|
|
|
1622
1626
|
### ApprovalPanelState
|
|
1623
1627
|
|
|
1624
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1628
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/tasks/approval.ts#L7)
|
|
1625
1629
|
|
|
1626
1630
|
```ts
|
|
1627
1631
|
export interface ApprovalPanelState {
|
|
@@ -1634,7 +1638,7 @@ Referenced types and APIs: [`ApprovalView`](#approvalview).
|
|
|
1634
1638
|
|
|
1635
1639
|
### FullAccessState
|
|
1636
1640
|
|
|
1637
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1641
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/tasks/permission.ts#L7)
|
|
1638
1642
|
|
|
1639
1643
|
```ts
|
|
1640
1644
|
export interface FullAccessState {
|
|
@@ -1646,7 +1650,7 @@ export interface FullAccessState {
|
|
|
1646
1650
|
|
|
1647
1651
|
### PermissionControlState
|
|
1648
1652
|
|
|
1649
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1653
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/tasks/permission.ts#L39)
|
|
1650
1654
|
|
|
1651
1655
|
```ts
|
|
1652
1656
|
export interface PermissionControlState {
|
|
@@ -1658,7 +1662,7 @@ export interface PermissionControlState {
|
|
|
1658
1662
|
|
|
1659
1663
|
### TaskFailureState
|
|
1660
1664
|
|
|
1661
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1665
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/tasks/permission.ts#L18)
|
|
1662
1666
|
|
|
1663
1667
|
```ts
|
|
1664
1668
|
export interface TaskFailureState {
|
|
@@ -1672,7 +1676,7 @@ export interface TaskFailureState {
|
|
|
1672
1676
|
|
|
1673
1677
|
### RuntimePanelState
|
|
1674
1678
|
|
|
1675
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1679
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/tasks/runtime.ts#L5)
|
|
1676
1680
|
|
|
1677
1681
|
```ts
|
|
1678
1682
|
export interface RuntimePanelState {
|
|
@@ -1697,7 +1701,7 @@ export interface RuntimePanelState {
|
|
|
1697
1701
|
|
|
1698
1702
|
### Appearance
|
|
1699
1703
|
|
|
1700
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1704
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/theme.ts#L1)
|
|
1701
1705
|
|
|
1702
1706
|
```ts
|
|
1703
1707
|
export type Appearance = 'light' | 'dark' | 'system';
|
|
@@ -1705,7 +1709,7 @@ export type Appearance = 'light' | 'dark' | 'system';
|
|
|
1705
1709
|
|
|
1706
1710
|
### ComposerViewState
|
|
1707
1711
|
|
|
1708
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1712
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/workspace.ts#L9)
|
|
1709
1713
|
|
|
1710
1714
|
```ts
|
|
1711
1715
|
export interface ComposerViewState {
|
|
@@ -1732,7 +1736,7 @@ export interface ComposerViewState {
|
|
|
1732
1736
|
|
|
1733
1737
|
### WorkspaceShellState
|
|
1734
1738
|
|
|
1735
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1739
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/workspace.ts#L120)
|
|
1736
1740
|
|
|
1737
1741
|
```ts
|
|
1738
1742
|
export interface WorkspaceShellState {
|
|
@@ -1755,7 +1759,7 @@ export interface WorkspaceShellState {
|
|
|
1755
1759
|
|
|
1756
1760
|
### HostResult
|
|
1757
1761
|
|
|
1758
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1762
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/internal.ts#L12)
|
|
1759
1763
|
|
|
1760
1764
|
```ts
|
|
1761
1765
|
export type HostResult = void | ActionResult | Promise<void | ActionResult>;
|
|
@@ -1765,7 +1769,7 @@ Referenced types and APIs: [`ActionResult`](#actionresult).
|
|
|
1765
1769
|
|
|
1766
1770
|
### SettingsViewSession
|
|
1767
1771
|
|
|
1768
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1772
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/settings.ts#L19)
|
|
1769
1773
|
|
|
1770
1774
|
```ts
|
|
1771
1775
|
/** Session methods address one owned opening, never a later use of its window. */
|
|
@@ -1780,7 +1784,7 @@ export interface SettingsViewSession<State> {
|
|
|
1780
1784
|
|
|
1781
1785
|
### Submission
|
|
1782
1786
|
|
|
1783
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1787
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/app/settings.ts#L16)
|
|
1784
1788
|
|
|
1785
1789
|
```ts
|
|
1786
1790
|
type Submission<Value> = (value: Value) => ActionResult | Promise<ActionResult>;
|
|
@@ -1790,7 +1794,7 @@ Referenced types and APIs: [`ActionResult`](#actionresult).
|
|
|
1790
1794
|
|
|
1791
1795
|
### AttachmentItem
|
|
1792
1796
|
|
|
1793
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1797
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/composer.ts#L55)
|
|
1794
1798
|
|
|
1795
1799
|
```ts
|
|
1796
1800
|
export interface AttachmentItem {
|
|
@@ -1802,7 +1806,7 @@ export interface AttachmentItem {
|
|
|
1802
1806
|
|
|
1803
1807
|
### PendingMessage
|
|
1804
1808
|
|
|
1805
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1809
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/composer.ts#L6)
|
|
1806
1810
|
|
|
1807
1811
|
```ts
|
|
1808
1812
|
export interface PendingMessage {
|
|
@@ -1815,7 +1819,7 @@ export interface PendingMessage {
|
|
|
1815
1819
|
|
|
1816
1820
|
### LocalContentLink
|
|
1817
1821
|
|
|
1818
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1822
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/content/markdown.ts#L5)
|
|
1819
1823
|
|
|
1820
1824
|
```ts
|
|
1821
1825
|
export interface LocalContentLink {
|
|
@@ -1826,7 +1830,7 @@ export interface LocalContentLink {
|
|
|
1826
1830
|
|
|
1827
1831
|
### CostRequestDisplay
|
|
1828
1832
|
|
|
1829
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1833
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/files/systems.ts#L18)
|
|
1830
1834
|
|
|
1831
1835
|
```ts
|
|
1832
1836
|
export interface CostRequestDisplay {
|
|
@@ -1856,7 +1860,7 @@ export interface CostRequestDisplay {
|
|
|
1856
1860
|
|
|
1857
1861
|
### CostSummaryDisplay
|
|
1858
1862
|
|
|
1859
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1863
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/files/systems.ts#L9)
|
|
1860
1864
|
|
|
1861
1865
|
```ts
|
|
1862
1866
|
export interface CostSummaryDisplay {
|
|
@@ -1872,7 +1876,7 @@ export interface CostSummaryDisplay {
|
|
|
1872
1876
|
|
|
1873
1877
|
### CustomModelDraft
|
|
1874
1878
|
|
|
1875
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1879
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/custom-connection.ts#L7)
|
|
1876
1880
|
|
|
1877
1881
|
```ts
|
|
1878
1882
|
export interface CustomModelDraft {
|
|
@@ -1894,7 +1898,7 @@ export interface CustomModelDraft {
|
|
|
1894
1898
|
|
|
1895
1899
|
### CustomModelValue
|
|
1896
1900
|
|
|
1897
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1901
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/custom-connection.ts#L5)
|
|
1898
1902
|
|
|
1899
1903
|
```ts
|
|
1900
1904
|
export interface CustomModelValue {
|
|
@@ -1915,7 +1919,7 @@ export interface CustomModelValue {
|
|
|
1915
1919
|
|
|
1916
1920
|
### BranchHistoryNode
|
|
1917
1921
|
|
|
1918
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1922
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/history.ts#L5)
|
|
1919
1923
|
|
|
1920
1924
|
```ts
|
|
1921
1925
|
export interface BranchHistoryNode {
|
|
@@ -1928,7 +1932,7 @@ export interface BranchHistoryNode {
|
|
|
1928
1932
|
|
|
1929
1933
|
### ModelEditorState
|
|
1930
1934
|
|
|
1931
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1935
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/model-editor.ts#L19)
|
|
1932
1936
|
|
|
1933
1937
|
```ts
|
|
1934
1938
|
export interface ModelEditorState {
|
|
@@ -1943,7 +1947,7 @@ Referenced types and APIs: [`ModelOption`](#modeloption), [`ModelProviderOption`
|
|
|
1943
1947
|
|
|
1944
1948
|
### ModelOption
|
|
1945
1949
|
|
|
1946
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1950
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/model-editor.ts#L10)
|
|
1947
1951
|
|
|
1948
1952
|
```ts
|
|
1949
1953
|
export interface ModelOption {
|
|
@@ -1959,7 +1963,7 @@ export interface ModelOption {
|
|
|
1959
1963
|
|
|
1960
1964
|
### ModelProviderOption
|
|
1961
1965
|
|
|
1962
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1966
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/model-editor.ts#L4)
|
|
1963
1967
|
|
|
1964
1968
|
```ts
|
|
1965
1969
|
export interface ModelProviderOption {
|
|
@@ -1972,7 +1976,7 @@ export interface ModelProviderOption {
|
|
|
1972
1976
|
|
|
1973
1977
|
### FormFeedback
|
|
1974
1978
|
|
|
1975
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1979
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/panels.ts#L10)
|
|
1976
1980
|
|
|
1977
1981
|
```ts
|
|
1978
1982
|
export interface FormFeedback {
|
|
@@ -1983,7 +1987,7 @@ export interface FormFeedback {
|
|
|
1983
1987
|
|
|
1984
1988
|
### SettingsCredentialView
|
|
1985
1989
|
|
|
1986
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1990
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/panels.ts#L44)
|
|
1987
1991
|
|
|
1988
1992
|
```ts
|
|
1989
1993
|
export interface SettingsCredentialView {
|
|
@@ -1999,7 +2003,7 @@ export interface SettingsCredentialView {
|
|
|
1999
2003
|
|
|
2000
2004
|
### ApprovalView
|
|
2001
2005
|
|
|
2002
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2006
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/tasks/approval.ts#L6)
|
|
2003
2007
|
|
|
2004
2008
|
```ts
|
|
2005
2009
|
export interface ApprovalView {
|