@astralform/js 6.0.1 → 6.0.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/dist/index.cjs CHANGED
@@ -2259,6 +2259,13 @@ function planRestore(args) {
2259
2259
  content: msgs[i]?.content,
2260
2260
  messageId: msgs[i]?.id
2261
2261
  }));
2262
+ if (jobs.length === 0) {
2263
+ return userMessages.map((m) => ({
2264
+ kind: "steer",
2265
+ content: m.content,
2266
+ messageId: m.id
2267
+ }));
2268
+ }
2262
2269
  const firstLinked = jobs.findIndex((j) => linkOf(j) !== void 0);
2263
2270
  if (firstLinked === -1) {
2264
2271
  return positional(jobs, userMessages);