@fungi.computer/parakeet 0.17.5 → 0.17.7

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.
@@ -92,8 +92,7 @@ function groupDuration(tools) {
92
92
  /**
93
93
  * A failure is recovered when the Agent got past it: the next call of the same
94
94
  * kind that did not itself fail (chained through further failures) completed
95
- * and retried the same target. A script is retried by the next script; any
96
- * other call needs the same command or a shared path. Other kinds never
95
+ * and retried the same target: the same command or script, or a shared path. Other kinds never
97
96
  * recover it, so a read of a file does not undo a failed edit of that file.
98
97
  */
99
98
  function recoveredBy(calls, index) {
@@ -105,8 +104,7 @@ function recoveredBy(calls, index) {
105
104
  .find((other) => other.kind === call.kind && other.status !== "error");
106
105
  if (next?.status !== "completed")
107
106
  return false;
108
- return (call.kind === "code" ||
109
- next.label === call.label ||
107
+ return (next.label === call.label ||
110
108
  next.paths.some((path) => call.paths.includes(path)));
111
109
  }
112
110
  /** Build one group from a non-empty run of consecutive calls. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fungi.computer/parakeet",
3
- "version": "0.17.5",
3
+ "version": "0.17.7",
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.28.1",
71
+ "@fungi.computer/agar": "0.28.2",
72
72
  "@fungi.computer/bird-dog": "0.3.8",
73
73
  "@fungi.computer/cairn": "0.1.0",
74
74
  "@fungi.computer/caps": "0.13.0",
75
75
  "@fungi.computer/gills": "0.4.0",
76
76
  "@fungi.computer/knapsack": "0.4.27",
77
77
  "@fungi.computer/mule": "0.3.0",
78
- "@fungi.computer/shiitake": "0.22.7",
78
+ "@fungi.computer/shiitake": "0.22.8",
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",