@runeya/runeya 2.0.133 → 2.0.134

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.
@@ -3,9 +3,9 @@ import {
3
3
  startClaudeCodeSession,
4
4
  startCliSession,
5
5
  startCodexSession
6
- } from "./chunk-JHJHU6UX.js";
6
+ } from "./chunk-M3UUGW5Z.js";
7
7
  import "./chunk-I7JHF5FE.js";
8
- import "./chunk-TG44C7QT.js";
8
+ import "./chunk-GISLEYNE.js";
9
9
  import "./chunk-MD3VW4HQ.js";
10
10
  import "./chunk-7JAJSV4L.js";
11
11
  import "./chunk-BDQOBEZ3.js";
@@ -18,4 +18,4 @@ export {
18
18
  startCliSession,
19
19
  startCodexSession
20
20
  };
21
- //# sourceMappingURL=chat-37VHPDPJ.js.map
21
+ //# sourceMappingURL=chat-IQBWQCTK.js.map
@@ -2037,7 +2037,7 @@ async function runCompanionForTurn(conversationId) {
2037
2037
  if (!hasNew) {
2038
2038
  return skip(conversationId, "nothingNew", `rien de neuf \xE0 relire (${messageCount} messages)`);
2039
2039
  }
2040
- const { startCliSession } = await import("./chat-37VHPDPJ.js");
2040
+ const { startCliSession } = await import("./chat-IQBWQCTK.js");
2041
2041
  const companionConv = await ensureCompanionConversation(conv);
2042
2042
  const isFirstTurn = (companionConv.messages?.length ?? 0) === 0;
2043
2043
  const exchange = formatExchange(conv.messages, from);
@@ -2152,7 +2152,7 @@ async function deliverToMainConversation(conv, message) {
2152
2152
  async function attemptDelivery(conv, message) {
2153
2153
  if (await writeToLivePty(conv.id, message)) return "pty";
2154
2154
  try {
2155
- const { startCliSession } = await import("./chat-37VHPDPJ.js");
2155
+ const { startCliSession } = await import("./chat-IQBWQCTK.js");
2156
2156
  await startCliSession(conv.runner, conv.id, message, { jwt: await signJwt() });
2157
2157
  return "headless";
2158
2158
  } catch (err) {
@@ -2317,4 +2317,4 @@ export {
2317
2317
  runCompanionNow,
2318
2318
  initCompanion
2319
2319
  };
2320
- //# sourceMappingURL=chunk-TG44C7QT.js.map
2320
+ //# sourceMappingURL=chunk-GISLEYNE.js.map
@@ -30,7 +30,7 @@ import {
30
30
  runCompanionNow,
31
31
  syncConversationFromClaudeTranscript,
32
32
  verifyJwt
33
- } from "./chunk-TG44C7QT.js";
33
+ } from "./chunk-GISLEYNE.js";
34
34
  import {
35
35
  StoreDiskCoordinator,
36
36
  agentManager,
@@ -5881,6 +5881,8 @@ async function runClaudeViaPty(params) {
5881
5881
  } else {
5882
5882
  fail(new Error("Claude PTY ended before producing an end token"));
5883
5883
  }
5884
+ }, (err) => {
5885
+ fail(err instanceof Error ? err : new Error(String(err)));
5884
5886
  });
5885
5887
  });
5886
5888
  }
@@ -8429,4 +8431,4 @@ export {
8429
8431
  startCliSession,
8430
8432
  chatRouter
8431
8433
  };
8432
- //# sourceMappingURL=chunk-JHJHU6UX.js.map
8434
+ //# sourceMappingURL=chunk-M3UUGW5Z.js.map