@fungi.computer/parakeet 0.16.12 → 0.17.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.
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { failureMessage } from "@fungi.computer/agar/errors";
|
|
1
2
|
import { openAppAgent } from "@fungi.computer/agar/agents";
|
|
2
3
|
import { seedSessionQuery } from "./headless.js";
|
|
3
4
|
import { createShiitakeClient, } from "@fungi.computer/shiitake/client";
|
|
@@ -183,9 +184,13 @@ export function createConversationOpeningOwner(options) {
|
|
|
183
184
|
if (isCurrent(opening)) {
|
|
184
185
|
pending = null;
|
|
185
186
|
options.onPending(null);
|
|
186
|
-
options.onError(
|
|
187
|
-
?
|
|
188
|
-
|
|
187
|
+
options.onError(`${failureMessage("Could not open this Session", cause)} ${current
|
|
188
|
+
? fromOpenRequest
|
|
189
|
+
? "The current conversation remains open."
|
|
190
|
+
: "The previous conversation remains open."
|
|
191
|
+
: fromOpenRequest
|
|
192
|
+
? "Choose another Session from the list."
|
|
193
|
+
: "Try opening it again."}`);
|
|
189
194
|
}
|
|
190
195
|
}
|
|
191
196
|
})();
|
|
@@ -82,7 +82,13 @@ function connectedToolCard(view, now) {
|
|
|
82
82
|
: ""),
|
|
83
83
|
},
|
|
84
84
|
],
|
|
85
|
-
|
|
85
|
+
// Nothing backs "can be undone" for an App write, so only a warning shows.
|
|
86
|
+
details: entries([
|
|
87
|
+
...(record.reversibility === "irreversible-external"
|
|
88
|
+
? [undoDetail(view)]
|
|
89
|
+
: []),
|
|
90
|
+
...recordDetails(view, now),
|
|
91
|
+
]),
|
|
86
92
|
},
|
|
87
93
|
};
|
|
88
94
|
}
|
package/dist/use-decision.js
CHANGED
|
@@ -8,7 +8,8 @@ function visibleState(held, snapshot) {
|
|
|
8
8
|
? {
|
|
9
9
|
...held,
|
|
10
10
|
phase: "refused",
|
|
11
|
-
refusal: snapshot.failure ??
|
|
11
|
+
refusal: snapshot.failure ??
|
|
12
|
+
"The host marked the answer failed and gave no reason.",
|
|
12
13
|
}
|
|
13
14
|
: { ...held, phase: "sending" };
|
|
14
15
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fungi.computer/parakeet",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.1",
|
|
4
4
|
"author": "Levi <levi@technomancy.dev>",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Standalone React composer for a typed Shiitake Session",
|
|
@@ -68,14 +68,14 @@
|
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
70
|
"@earendil-works/pi-ai": "1.5.2",
|
|
71
|
-
"@fungi.computer/agar": "0.
|
|
71
|
+
"@fungi.computer/agar": "0.27.1",
|
|
72
72
|
"@fungi.computer/bird-dog": "0.3.8",
|
|
73
73
|
"@fungi.computer/cairn": "0.1.0",
|
|
74
74
|
"@fungi.computer/caps": "0.12.8",
|
|
75
75
|
"@fungi.computer/gills": "0.4.0",
|
|
76
|
-
"@fungi.computer/knapsack": "0.4.
|
|
76
|
+
"@fungi.computer/knapsack": "0.4.26",
|
|
77
77
|
"@fungi.computer/mule": "0.3.0",
|
|
78
|
-
"@fungi.computer/shiitake": "0.22.
|
|
78
|
+
"@fungi.computer/shiitake": "0.22.3",
|
|
79
79
|
"@fungi.computer/sigils": "0.3.2",
|
|
80
80
|
"@fungi.computer/sprite": "0.2.2",
|
|
81
81
|
"@fungi.computer/sprite-zdog": "0.3.2",
|