@fungi.computer/parakeet 0.9.1 → 0.10.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 +4 -5
- package/dist/components/ChatComposer.d.ts +2 -0
- package/dist/components/ChatComposer.js +9 -7
- package/dist/components/RunFailureNotice.d.ts +1 -1
- package/dist/components/RunFailureNotice.js +20 -4
- package/dist/components/TimelineItem.js +15 -2
- package/dist/core/build-timeline.js +6 -3
- package/dist/host-facts.d.ts +35 -0
- package/dist/host-facts.js +16 -0
- package/dist/index.d.ts +1 -0
- package/dist/parakeet.d.ts +7 -2
- package/dist/parakeet.js +71 -44
- package/dist/styles.css +484 -37
- package/docs/api/index.md +32 -0
- package/package.json +9 -9
package/docs/api/index.md
CHANGED
|
@@ -531,6 +531,36 @@ Renderer-neutral presentation of one tool call and its joined result.
|
|
|
531
531
|
|
|
532
532
|
---
|
|
533
533
|
|
|
534
|
+
### ParakeetModelSetup
|
|
535
|
+
|
|
536
|
+
```ts
|
|
537
|
+
type ParakeetModelSetup = Readonly<{
|
|
538
|
+
state: "ready" | "missing" | "unknown";
|
|
539
|
+
fix: Readonly<{
|
|
540
|
+
label: string;
|
|
541
|
+
onSelect: () => void;
|
|
542
|
+
}>;
|
|
543
|
+
}>;
|
|
544
|
+
```
|
|
545
|
+
|
|
546
|
+
Whether a model is connected, with the one fix the host offers.
|
|
547
|
+
|
|
548
|
+
---
|
|
549
|
+
|
|
550
|
+
### ParakeetHostFacts
|
|
551
|
+
|
|
552
|
+
```ts
|
|
553
|
+
type ParakeetHostFacts = Readonly<{
|
|
554
|
+
modelSetup?: ParakeetModelSetup;
|
|
555
|
+
billing?: boolean;
|
|
556
|
+
starters?: readonly string[];
|
|
557
|
+
}>;
|
|
558
|
+
```
|
|
559
|
+
|
|
560
|
+
What the host knows that the conversation needs to speak plainly.
|
|
561
|
+
|
|
562
|
+
---
|
|
563
|
+
|
|
534
564
|
### ParakeetVisitor
|
|
535
565
|
|
|
536
566
|
```ts
|
|
@@ -561,6 +591,7 @@ type ParakeetProps = Readonly<{
|
|
|
561
591
|
onLink?: (href) => boolean;
|
|
562
592
|
onOpen?: (target) => void;
|
|
563
593
|
empty?: ReactNode;
|
|
594
|
+
hostFacts?: ParakeetHostFacts;
|
|
564
595
|
commands?: ParakeetCommandRuntime;
|
|
565
596
|
}>;
|
|
566
597
|
```
|
|
@@ -583,6 +614,7 @@ type ParakeetViewProps = Readonly<{
|
|
|
583
614
|
onLink?: (href) => boolean;
|
|
584
615
|
onOpen?: (target) => void;
|
|
585
616
|
empty?: ReactNode;
|
|
617
|
+
hostFacts?: ParakeetHostFacts;
|
|
586
618
|
commands?: ParakeetCommandRuntime;
|
|
587
619
|
}>;
|
|
588
620
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fungi.computer/parakeet",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"author": "Levi <levi@technomancy.dev>",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Standalone React composer for a typed Shiitake Session",
|
|
@@ -60,16 +60,16 @@
|
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
62
|
"@earendil-works/pi-ai": "1.3.0",
|
|
63
|
-
"@fungi.computer/agar": "0.
|
|
64
|
-
"@fungi.computer/bird-dog": "0.3.
|
|
63
|
+
"@fungi.computer/agar": "0.9.0",
|
|
64
|
+
"@fungi.computer/bird-dog": "0.3.6",
|
|
65
65
|
"@fungi.computer/cairn": "0.1.0",
|
|
66
|
-
"@fungi.computer/caps": "0.
|
|
67
|
-
"@fungi.computer/gills": "0.
|
|
68
|
-
"@fungi.computer/knapsack": "0.4.
|
|
69
|
-
"@fungi.computer/shiitake": "0.12.
|
|
66
|
+
"@fungi.computer/caps": "0.9.0",
|
|
67
|
+
"@fungi.computer/gills": "0.3.0",
|
|
68
|
+
"@fungi.computer/knapsack": "0.4.9",
|
|
69
|
+
"@fungi.computer/shiitake": "0.12.3",
|
|
70
70
|
"@fungi.computer/sigils": "0.3.0",
|
|
71
|
-
"@fungi.computer/sprite": "0.2.
|
|
72
|
-
"@fungi.computer/sprite-zdog": "0.3.
|
|
71
|
+
"@fungi.computer/sprite": "0.2.2",
|
|
72
|
+
"@fungi.computer/sprite-zdog": "0.3.2",
|
|
73
73
|
"@fungi.computer/whistle": "0.3.0",
|
|
74
74
|
"@tanstack/markdown": "0.0.12",
|
|
75
75
|
"@tanstack/react-virtual": "3.14.10",
|