@runeya/runeya 2.0.159 → 2.0.161

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.
Files changed (179) hide show
  1. package/agent/index.js +109 -21
  2. package/agent/index.js.map +1 -1
  3. package/agent-manager-KMVSAAEZ.js +13 -0
  4. package/chat-2XMACPWG.js +28 -0
  5. package/{chunk-UYOJZ34Z.js → chunk-7QWHH56G.js} +2 -2
  6. package/{chunk-KNWWJND3.js → chunk-AKBRIK4Z.js} +4 -4
  7. package/{chunk-C3KBWZ24.js → chunk-CM5OCVUF.js} +4 -4
  8. package/{chunk-KWKSPNGO.js → chunk-DFUOLMOH.js} +5 -5
  9. package/{chunk-JJTSWJXV.js → chunk-EONEQJPD.js} +5 -5
  10. package/{chunk-ZW4GRZRF.js → chunk-ETVH3KQN.js} +6 -6
  11. package/{chunk-V7BOVXZI.js → chunk-KPWYNT4N.js} +215 -24
  12. package/chunk-KPWYNT4N.js.map +1 -0
  13. package/{chunk-GJ5KN2LL.js → chunk-L5M653DB.js} +6 -6
  14. package/{chunk-LY4HARY5.js → chunk-LQSGSTGA.js} +30 -5
  15. package/chunk-LQSGSTGA.js.map +1 -0
  16. package/{chunk-ZZZQMQWF.js → chunk-VMRDER22.js} +5 -5
  17. package/chunk-VMRDER22.js.map +1 -0
  18. package/{chunk-YEZOV6GP.js → chunk-YRX375BB.js} +2 -2
  19. package/{chunk-YEFYRGSP.js → chunk-Z3HMLODE.js} +2 -2
  20. package/{chunk-GPSTFDKW.js → chunk-ZULN5CM7.js} +35 -19
  21. package/chunk-ZULN5CM7.js.map +1 -0
  22. package/{companion-CGBD5O6Y.js → companion-UNWSLQCL.js} +17 -9
  23. package/{desktop-installer-page-54PKY3L3.js → desktop-installer-page-N4JMRAAJ.js} +3 -3
  24. package/{desktop-launcher-2DWKSS6V.js → desktop-launcher-O7LFXEYZ.js} +3 -3
  25. package/{environment-resolver-E7JDNTRO.js → environment-resolver-S3QD7UJH.js} +6 -6
  26. package/{external-5I5BUT44.js → external-5XDY2FMV.js} +3 -3
  27. package/index.js +12 -12
  28. package/{install-gate-W5D4ZOZK.js → install-gate-MXRFIBIH.js} +2 -2
  29. package/mcp-server/external.js +19 -7
  30. package/mcp-server/external.js.map +1 -1
  31. package/mcp-server/index.js +19 -7
  32. package/mcp-server/index.js.map +1 -1
  33. package/package.json +1 -1
  34. package/{project-store-67M34SNQ.js → project-store-HHMB2DIU.js} +7 -7
  35. package/settings-manager-SK7BDCQO.js +10 -0
  36. package/{src-UZX6XOIK.js → src-4XOEKUXK.js} +93 -20
  37. package/src-4XOEKUXK.js.map +1 -0
  38. package/{src-FTYC7P2P.js → src-LBTF5RDR.js} +12 -2
  39. package/{vault-resolver-5Q25S6NI.js → vault-resolver-DL5FWIGZ.js} +3 -3
  40. package/web/assets/{AgentScalarChatInterface.vue-DLtiWyFa.js → AgentScalarChatInterface.vue-etW3mnd1.js} +1 -1
  41. package/web/assets/{AgentTerminalPage-Ds4QAs67.js → AgentTerminalPage-Dh83ycPn.js} +1 -1
  42. package/web/assets/{AiChatModals-Ccx5-MPb.js → AiChatModals-DTs6OZSs.js} +2 -2
  43. package/web/assets/AppLayout-B6ReNlOU.css +1 -0
  44. package/web/assets/AppLayout-CwB1l3Vb.js +1 -0
  45. package/web/assets/{AuditPage-TlsfnK1U.js → AuditPage-QPdOUywL.js} +1 -1
  46. package/web/assets/{CloudAccountPage-BuFn-iaB.js → CloudAccountPage-BWVb4iPv.js} +1 -1
  47. package/web/assets/CloudMessagingPage-Bg-aaqUf.js +2 -0
  48. package/web/assets/CloudMessagingPage-wkdPo1JF.css +1 -0
  49. package/web/assets/{DashboardPage-FvNuC_e4.css → DashboardPage-Ht7Kj7_3.css} +1 -1
  50. package/web/assets/DashboardPage-snCaKXLs.js +1 -0
  51. package/web/assets/{DirectoryPickerDialog-X6P-Gl27.js → DirectoryPickerDialog-CKxs9rTw.js} +1 -1
  52. package/web/assets/{EnvironmentForm-CNxgYejU.js → EnvironmentForm-BjKuAeOj.js} +1 -1
  53. package/web/assets/{EnvironmentFormPage-Cu9tmfeS.js → EnvironmentFormPage-YR8fZKKD.js} +1 -1
  54. package/web/assets/{EnvironmentListPage-RJc8Noj0.js → EnvironmentListPage-C5Kj66vC.js} +1 -1
  55. package/web/assets/KanbanListPage-J8DbN3Hv.js +1 -0
  56. package/web/assets/{KnowledgeListPage-8asAbOWR.js → KnowledgeListPage-DRpO8YZ4.js} +1 -1
  57. package/web/assets/{KnowledgePagePage-CH8ErT7E.js → KnowledgePagePage-BHEr4Xfn.js} +1 -1
  58. package/web/assets/{LaunchProjectPage-Cj4zIh-L.js → LaunchProjectPage-D-zYIjr7.js} +1 -1
  59. package/web/assets/LaunchServicesPage-CLLd5AzZ.css +1 -0
  60. package/web/assets/LaunchServicesPage-MRCIeRiY.js +1 -0
  61. package/web/assets/{LaunchShell-BHRT0Iyo.js → LaunchShell-C5FAxnby.js} +1 -1
  62. package/web/assets/LogViewer-CQHmfDoF.js +3 -0
  63. package/web/assets/{OrgKeyPrompt-U4dh8VYn.js → OrgKeyPrompt-BQKwtCi8.js} +1 -1
  64. package/web/assets/{ProcessControls-DR2mGg4A.js → ProcessControls-ZXn46KaG.js} +1 -1
  65. package/web/assets/{ProcessDetailPage-UdlOtobk.js → ProcessDetailPage-CxUIZdYD.js} +1 -1
  66. package/web/assets/{ProjectCreateDialog-JJ_UgVSV.js → ProjectCreateDialog-D7ICHis_.js} +1 -1
  67. package/web/assets/{ProjectLocationGate-RpWuVQOx.js → ProjectLocationGate-DaydC4Al.js} +1 -1
  68. package/web/assets/{ProjectPublishDialog-DXBAZVgF.js → ProjectPublishDialog-DJciFYAy.js} +1 -1
  69. package/web/assets/{RandomJobTestPage-BTyZOdQT.js → RandomJobTestPage-Z6KRAel5.js} +1 -1
  70. package/web/assets/{ScenarioEditorPage-DO5s-Rb3.js → ScenarioEditorPage-CIdJOaD5.js} +1 -1
  71. package/web/assets/{SendToChatDialog-jghvXDZk.js → SendToChatDialog-nuYnmkzv.js} +1 -1
  72. package/web/assets/{ServiceControlsBar-Bjv9tyyt.js → ServiceControlsBar-DY32o-Af.js} +1 -1
  73. package/web/assets/ServiceDetailPage-Bo0RbO68.js +2 -0
  74. package/web/assets/{ServiceDetailPage-DuXvqXk4.css → ServiceDetailPage-DeFYSzgW.css} +1 -1
  75. package/web/assets/{ServiceFormPage-CCXaIoow.js → ServiceFormPage-ON8Z-pZI.js} +1 -1
  76. package/web/assets/{SettingsPage-x-Rev6ea.css → SettingsPage--4bn5SJe.css} +1 -1
  77. package/web/assets/{SettingsPage-s-668z6W.js → SettingsPage-B4bb_RX8.js} +39 -39
  78. package/web/assets/{UnlockPage-BNdzhO5C.js → UnlockPage-BpDaetaW.js} +1 -1
  79. package/web/assets/{VaultMigrationPage-RWmGEMLC.js → VaultMigrationPage-Dfx8GyOz.js} +1 -1
  80. package/web/assets/{VersionBadge-Crpf2R7o.js → VersionBadge-m9nhvQ5-.js} +1 -1
  81. package/web/assets/{WikiPage-BlemtaAo.js → WikiPage-4x7K-5Bo.js} +1 -1
  82. package/web/assets/WikiView-DM6pEq8b.js +1 -0
  83. package/web/assets/{add-scalar-classes-B5tjvEi-.js → add-scalar-classes--DG4NWe_.js} +2 -2
  84. package/web/assets/{agent.store-5ggNQfb3.js → agent.store-8bOZrLAt.js} +1 -1
  85. package/web/assets/auth-jafH3dJw.js +2 -0
  86. package/web/assets/cloud-chat.store-Bp1XonpA.js +1 -0
  87. package/web/assets/cloud-client-B3DToIKA.js +2 -0
  88. package/web/assets/{cloud-session-CHtF1SMt.js → cloud-session-BJMiZl1L.js} +2 -2
  89. package/web/assets/dist-DWtN-uEL.js +1 -0
  90. package/web/assets/i18n-Bs26NR1U.js +17 -0
  91. package/web/assets/index-CSsNTonn.css +1 -0
  92. package/web/assets/index-CtEiOd8i.js +50 -0
  93. package/web/assets/knowledge-host-DTQp5c1h.js +7 -0
  94. package/web/assets/knowledge-host-Dcy_zpf6.css +1 -0
  95. package/web/assets/{modal-Bomcd8xq.js → modal-CiY8ERvc.js} +1 -1
  96. package/web/assets/{notification.store-C8qNYGB5.js → notification.store-DlH5Z0uW.js} +1 -1
  97. package/web/assets/pdf-BHDyQiZ-.js +54 -0
  98. package/web/assets/pdf.worker.min-CuFqICzs.js +51 -0
  99. package/web/assets/process-C53v1rNU.js +1 -0
  100. package/web/assets/{project-launch.store-DBuxvZJr.js → project-launch.store-CRRQz62M.js} +1 -1
  101. package/web/assets/{project.store-CXP-Oq1W.js → project.store-uZ-E8Iyd.js} +1 -1
  102. package/web/assets/scenario.store-Dsr1cuTQ.js +7 -0
  103. package/web/assets/{service.store-oNOqRX_s.js → service.store-CxwwBg0W.js} +1 -1
  104. package/web/assets/{settings-scope-EYddCMQs.js → settings-scope-BhQL13E6.js} +1 -1
  105. package/web/assets/{settings.store-Dbe4N-TD.js → settings.store-Bg_bUstn.js} +1 -1
  106. package/web/assets/src-C1M5hNGI.css +1 -0
  107. package/web/assets/{src-BMnPg9V0.js → src-C1pDBhwJ.js} +89 -24
  108. package/web/assets/src-D_HTzAKM.js +185 -0
  109. package/web/assets/src-DwxqtlGt.js +1 -0
  110. package/web/assets/src-ZDBDx6hs.css +1 -0
  111. package/web/assets/src-dOj6pCsH.css +1 -0
  112. package/web/assets/{trpc-CFd5DIpB.js → trpc-YQ_qR96O.js} +3 -3
  113. package/web/assets/useEnvVarAutocomplete-DE9sgFEm.js +1 -0
  114. package/web/assets/{useProjectCatalog-DT8MiHr7.js → useProjectCatalog-pcCLzt40.js} +1 -1
  115. package/web/assets/{useProjectCloudOrg-BgBNXoL1.js → useProjectCloudOrg-B8ovW8Yy.js} +1 -1
  116. package/web/assets/{useServiceUrlHost-CzDrWXfO.js → useServiceUrlHost-DH_Vsryh.js} +1 -1
  117. package/web/assets/w3c-keyname-BOAvb0qz.js +1 -0
  118. package/web/index.html +28 -18
  119. package/agent-manager-NR24TCUQ.js +0 -13
  120. package/chat-MRS24DL3.js +0 -28
  121. package/chunk-GPSTFDKW.js.map +0 -1
  122. package/chunk-LY4HARY5.js.map +0 -1
  123. package/chunk-V7BOVXZI.js.map +0 -1
  124. package/chunk-ZZZQMQWF.js.map +0 -1
  125. package/settings-manager-M5RS5WRM.js +0 -10
  126. package/src-UZX6XOIK.js.map +0 -1
  127. package/web/assets/AppLayout--wQ4AU4i.js +0 -1
  128. package/web/assets/AppLayout-Pi8OZrHN.css +0 -1
  129. package/web/assets/CloudMessagingPage-BcOTKWP1.js +0 -2
  130. package/web/assets/CloudMessagingPage-grbGyoki.css +0 -1
  131. package/web/assets/DashboardPage-BLw_tc_p.js +0 -1
  132. package/web/assets/KanbanBoardPage-CfeFN-sn.js +0 -4
  133. package/web/assets/KanbanBoardPage-Cy1VPXZs.css +0 -1
  134. package/web/assets/KanbanListPage-Bvf_6sKr.js +0 -1
  135. package/web/assets/LaunchServicesPage-C5yBRgjj.js +0 -1
  136. package/web/assets/LaunchServicesPage-h5o3zLcy.css +0 -1
  137. package/web/assets/LogViewer-B-iEIEx5.js +0 -3
  138. package/web/assets/ServiceDetailPage-DHYpDCfp.js +0 -2
  139. package/web/assets/WikiView-Du6Adpd-.js +0 -1
  140. package/web/assets/auth-ArDkSMsT.js +0 -2
  141. package/web/assets/cloud-chat.store-XJxdooyL.js +0 -1
  142. package/web/assets/cloud-client-CMfTrHgZ.js +0 -2
  143. package/web/assets/composables-CCbqJqnd.js +0 -1
  144. package/web/assets/dist-CjS_rxe9.js +0 -1
  145. package/web/assets/i18n-f_6x1GJ8.js +0 -17
  146. package/web/assets/index-DiXnhxxp.css +0 -1
  147. package/web/assets/index-Z4n9BqGD.js +0 -297
  148. package/web/assets/knowledge-host-D3fiBt2z.css +0 -1
  149. package/web/assets/knowledge-host-DeJwAH8b.js +0 -7
  150. package/web/assets/process-BWkHpZOM.js +0 -1
  151. package/web/assets/scenario-run-overrides-BqTAaZZz.js +0 -1
  152. package/web/assets/scenario.store-B6TiJlpU.js +0 -7
  153. package/web/assets/shared-sse-Dcj_cNvF.js +0 -1
  154. package/web/assets/src-B-YFvUDL.css +0 -1
  155. package/web/assets/src-BY3QUJ9Z.css +0 -1
  156. package/web/assets/src-Cpewe6v-.js +0 -1
  157. package/web/assets/useCloudOrg-_oj_ijeT.js +0 -1
  158. package/web/assets/useEnvVarAutocomplete-IIpGvDLc.js +0 -1
  159. /package/{agent-manager-NR24TCUQ.js.map → agent-manager-KMVSAAEZ.js.map} +0 -0
  160. /package/{chat-MRS24DL3.js.map → chat-2XMACPWG.js.map} +0 -0
  161. /package/{chunk-UYOJZ34Z.js.map → chunk-7QWHH56G.js.map} +0 -0
  162. /package/{chunk-KNWWJND3.js.map → chunk-AKBRIK4Z.js.map} +0 -0
  163. /package/{chunk-C3KBWZ24.js.map → chunk-CM5OCVUF.js.map} +0 -0
  164. /package/{chunk-KWKSPNGO.js.map → chunk-DFUOLMOH.js.map} +0 -0
  165. /package/{chunk-JJTSWJXV.js.map → chunk-EONEQJPD.js.map} +0 -0
  166. /package/{chunk-ZW4GRZRF.js.map → chunk-ETVH3KQN.js.map} +0 -0
  167. /package/{chunk-GJ5KN2LL.js.map → chunk-L5M653DB.js.map} +0 -0
  168. /package/{chunk-YEZOV6GP.js.map → chunk-YRX375BB.js.map} +0 -0
  169. /package/{chunk-YEFYRGSP.js.map → chunk-Z3HMLODE.js.map} +0 -0
  170. /package/{companion-CGBD5O6Y.js.map → companion-UNWSLQCL.js.map} +0 -0
  171. /package/{desktop-installer-page-54PKY3L3.js.map → desktop-installer-page-N4JMRAAJ.js.map} +0 -0
  172. /package/{desktop-launcher-2DWKSS6V.js.map → desktop-launcher-O7LFXEYZ.js.map} +0 -0
  173. /package/{environment-resolver-E7JDNTRO.js.map → environment-resolver-S3QD7UJH.js.map} +0 -0
  174. /package/{external-5I5BUT44.js.map → external-5XDY2FMV.js.map} +0 -0
  175. /package/{install-gate-W5D4ZOZK.js.map → install-gate-MXRFIBIH.js.map} +0 -0
  176. /package/{project-store-67M34SNQ.js.map → project-store-HHMB2DIU.js.map} +0 -0
  177. /package/{settings-manager-M5RS5WRM.js.map → settings-manager-SK7BDCQO.js.map} +0 -0
  178. /package/{src-FTYC7P2P.js.map → src-LBTF5RDR.js.map} +0 -0
  179. /package/{vault-resolver-5Q25S6NI.js.map → vault-resolver-DL5FWIGZ.js.map} +0 -0
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  COMPANION_SIGNATURE,
3
+ DRAFT_WAIT_MAX_MS,
3
4
  MAX_CONSECUTIVE_RELAUNCHES,
4
5
  MAX_EXCHANGE_CHARS,
5
6
  answerOfTurn,
@@ -15,6 +16,7 @@ import {
15
16
  companionSystemNote,
16
17
  companionThinkingIds,
17
18
  deliverToMainConversation,
19
+ discardFinding,
18
20
  filesWrittenByAgent,
19
21
  flattenForPty,
20
22
  forgetCompanionSkip,
@@ -27,24 +29,27 @@ import {
27
29
  lastCompanionDelivery,
28
30
  lastCompanionSkip,
29
31
  onCompanionThinkingChanged,
32
+ pendingFindings,
30
33
  relayableMessage,
31
34
  resetRelaunches,
32
35
  reviewWindow,
33
36
  runCompanionNow,
37
+ sendFindingNow,
34
38
  stopCompanion,
35
39
  takeRelaunchSlot
36
- } from "./chunk-V7BOVXZI.js";
37
- import "./chunk-ZW4GRZRF.js";
38
- import "./chunk-GJ5KN2LL.js";
39
- import "./chunk-KWKSPNGO.js";
40
- import "./chunk-KNWWJND3.js";
40
+ } from "./chunk-KPWYNT4N.js";
41
+ import "./chunk-ETVH3KQN.js";
42
+ import "./chunk-L5M653DB.js";
43
+ import "./chunk-DFUOLMOH.js";
44
+ import "./chunk-AKBRIK4Z.js";
41
45
  import "./chunk-OZBSOSAS.js";
42
- import "./chunk-YEZOV6GP.js";
46
+ import "./chunk-YRX375BB.js";
43
47
  import "./chunk-MD3VW4HQ.js";
44
- import "./chunk-UYOJZ34Z.js";
45
- import "./chunk-LY4HARY5.js";
48
+ import "./chunk-7QWHH56G.js";
49
+ import "./chunk-LQSGSTGA.js";
46
50
  export {
47
51
  COMPANION_SIGNATURE,
52
+ DRAFT_WAIT_MAX_MS,
48
53
  MAX_CONSECUTIVE_RELAUNCHES,
49
54
  MAX_EXCHANGE_CHARS,
50
55
  answerOfTurn,
@@ -60,6 +65,7 @@ export {
60
65
  companionSystemNote,
61
66
  companionThinkingIds,
62
67
  deliverToMainConversation,
68
+ discardFinding,
63
69
  filesWrittenByAgent,
64
70
  flattenForPty,
65
71
  forgetCompanionSkip,
@@ -72,11 +78,13 @@ export {
72
78
  lastCompanionDelivery,
73
79
  lastCompanionSkip,
74
80
  onCompanionThinkingChanged,
81
+ pendingFindings,
75
82
  relayableMessage,
76
83
  resetRelaunches,
77
84
  reviewWindow,
78
85
  runCompanionNow,
86
+ sendFindingNow,
79
87
  stopCompanion,
80
88
  takeRelaunchSlot
81
89
  };
82
- //# sourceMappingURL=companion-CGBD5O6Y.js.map
90
+ //# sourceMappingURL=companion-UNWSLQCL.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  launcherProblems
3
- } from "./chunk-YEFYRGSP.js";
3
+ } from "./chunk-Z3HMLODE.js";
4
4
  import {
5
5
  shellArg,
6
6
  whereToFind
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-C2BGNVBT.js";
12
12
  import {
13
13
  deriveLauncherIdentity
14
- } from "./chunk-LY4HARY5.js";
14
+ } from "./chunk-LQSGSTGA.js";
15
15
 
16
16
  // src/desktop-installer-page.ts
17
17
  import { createServer } from "http";
@@ -791,4 +791,4 @@ export {
791
791
  parseInstallRequest,
792
792
  runInstallerPage
793
793
  };
794
- //# sourceMappingURL=desktop-installer-page-54PKY3L3.js.map
794
+ //# sourceMappingURL=desktop-installer-page-N4JMRAAJ.js.map
@@ -14,12 +14,12 @@ import {
14
14
  uninstallDesktopLauncher,
15
15
  vbsQuote,
16
16
  windowsVbsScript
17
- } from "./chunk-YEFYRGSP.js";
17
+ } from "./chunk-Z3HMLODE.js";
18
18
  import {
19
19
  deriveLauncherIdentity,
20
20
  launcherIdFromName,
21
21
  slugifyLauncherName
22
- } from "./chunk-LY4HARY5.js";
22
+ } from "./chunk-LQSGSTGA.js";
23
23
  export {
24
24
  deriveLauncherIdentity as deriveIdentity,
25
25
  desktopExecQuote,
@@ -40,4 +40,4 @@ export {
40
40
  vbsQuote,
41
41
  windowsVbsScript
42
42
  };
43
- //# sourceMappingURL=desktop-launcher-2DWKSS6V.js.map
43
+ //# sourceMappingURL=desktop-launcher-O7LFXEYZ.js.map
@@ -3,16 +3,16 @@ import {
3
3
  describeVariables,
4
4
  environmentResolver,
5
5
  filterEnvForAi
6
- } from "./chunk-JJTSWJXV.js";
7
- import "./chunk-KNWWJND3.js";
6
+ } from "./chunk-EONEQJPD.js";
7
+ import "./chunk-AKBRIK4Z.js";
8
8
  import "./chunk-OZBSOSAS.js";
9
- import "./chunk-YEZOV6GP.js";
10
- import "./chunk-UYOJZ34Z.js";
11
- import "./chunk-LY4HARY5.js";
9
+ import "./chunk-YRX375BB.js";
10
+ import "./chunk-7QWHH56G.js";
11
+ import "./chunk-LQSGSTGA.js";
12
12
  export {
13
13
  HIDDEN_VALUES_NOTICE,
14
14
  describeVariables,
15
15
  environmentResolver,
16
16
  filterEnvForAi
17
17
  };
18
- //# sourceMappingURL=environment-resolver-E7JDNTRO.js.map
18
+ //# sourceMappingURL=environment-resolver-S3QD7UJH.js.map
@@ -5,8 +5,8 @@ import {
5
5
  callTrpc,
6
6
  runCapability,
7
7
  toRawParams
8
- } from "./chunk-ZZZQMQWF.js";
9
- import "./chunk-LY4HARY5.js";
8
+ } from "./chunk-VMRDER22.js";
9
+ import "./chunk-LQSGSTGA.js";
10
10
 
11
11
  // ../../packages/mcp-server/src/external.ts
12
12
  import { homedir } from "os";
@@ -384,4 +384,4 @@ async function runExternalMcp(opts) {
384
384
  export {
385
385
  runExternalMcp
386
386
  };
387
- //# sourceMappingURL=external-5I5BUT44.js.map
387
+ //# sourceMappingURL=external-5XDY2FMV.js.map
package/index.js CHANGED
@@ -86,10 +86,10 @@ for (const { flag, env: key } of ENV_FLAGS) {
86
86
  }
87
87
  if (args.includes("--debug")) process.env["RUNEYA_DEBUG"] = "1";
88
88
  async function runDesktopInstaller(required) {
89
- const { installDesktopLauncher, listDesktopLaunchers, uninstallDesktopLauncher, deriveIdentity } = await import("./desktop-launcher-2DWKSS6V.js");
89
+ const { installDesktopLauncher, listDesktopLaunchers, uninstallDesktopLauncher, deriveIdentity } = await import("./desktop-launcher-O7LFXEYZ.js");
90
90
  const { printInstallReport } = await import("./desktop-wizard-XIDDAG7L.js");
91
- const { runInstallerPage } = await import("./desktop-installer-page-54PKY3L3.js");
92
- const { createGlobalInstaller } = await import("./install-gate-W5D4ZOZK.js");
91
+ const { runInstallerPage } = await import("./desktop-installer-page-N4JMRAAJ.js");
92
+ const { createGlobalInstaller } = await import("./install-gate-MXRFIBIH.js");
93
93
  const current = { nodePath: process.execPath, cliEntry: fileURLToPath(import.meta.url) };
94
94
  const outcome = await runInstallerPage({
95
95
  openUrl: (url) => open(url),
@@ -112,7 +112,7 @@ async function runDesktopInstaller(required) {
112
112
  }
113
113
  var subCommand = args[0];
114
114
  if (subCommand === "install-desktop" || subCommand === "uninstall-desktop") {
115
- const { installDesktopLauncher, uninstallDesktopLauncher, deriveIdentity } = await import("./desktop-launcher-2DWKSS6V.js");
115
+ const { installDesktopLauncher, uninstallDesktopLauncher, deriveIdentity } = await import("./desktop-launcher-O7LFXEYZ.js");
116
116
  const { shouldOpenInstallPage, printInstallReport, printUninstallReport } = await import("./desktop-wizard-XIDDAG7L.js");
117
117
  const { parsePort } = await import("./free-port-5UNHDWGE.js");
118
118
  const rest = args.slice(1);
@@ -131,7 +131,7 @@ if (subCommand === "install-desktop" || subCommand === "uninstall-desktop") {
131
131
  const agentPort = parsePort(agentPortFlagRaw);
132
132
  const projectId = getFlagValue(["--project"]) ?? null;
133
133
  if (projectId !== null) {
134
- const { isLauncherProjectId } = await import("./src-FTYC7P2P.js");
134
+ const { isLauncherProjectId } = await import("./src-LBTF5RDR.js");
135
135
  if (!isLauncherProjectId(projectId)) {
136
136
  console.error(`Erreur : --project attend un id de projet (re\xE7u ${JSON.stringify(projectId)}).`);
137
137
  process.exit(1);
@@ -145,7 +145,7 @@ if (subCommand === "install-desktop" || subCommand === "uninstall-desktop") {
145
145
  }
146
146
  const { name, id } = deriveIdentity(displayName, workingDir);
147
147
  if (subCommand === "install-desktop") {
148
- const { createGlobalInstaller, SKIP_INSTALL_CHECK_ENV } = await import("./install-gate-W5D4ZOZK.js");
148
+ const { createGlobalInstaller, SKIP_INSTALL_CHECK_ENV } = await import("./install-gate-MXRFIBIH.js");
149
149
  if (process.env[SKIP_INSTALL_CHECK_ENV] !== "1") {
150
150
  const target = { cliEntry: launcherBase.cliEntry };
151
151
  const global = await (await createGlobalInstaller(target, version)).state();
@@ -180,7 +180,7 @@ if (subCommand === "install-desktop" || subCommand === "uninstall-desktop") {
180
180
  }
181
181
  }
182
182
  if (subCommand === "instances") {
183
- const { listInstances, killInstance, restartInstance } = await import("./src-UZX6XOIK.js");
183
+ const { listInstances, killInstance, restartInstance } = await import("./src-4XOEKUXK.js");
184
184
  const { runInstancesCommand } = await import("./instances-command-KZ5UGXOR.js");
185
185
  process.exit(await runInstancesCommand(args.slice(1), {
186
186
  listInstances,
@@ -195,8 +195,8 @@ if (subCommand === "instances") {
195
195
  }));
196
196
  }
197
197
  if (subCommand === "mcp") {
198
- const { listInstances } = await import("./src-UZX6XOIK.js");
199
- const { runExternalMcp } = await import("./external-5I5BUT44.js");
198
+ const { listInstances } = await import("./src-4XOEKUXK.js");
199
+ const { runExternalMcp } = await import("./external-5XDY2FMV.js");
200
200
  await runExternalMcp({ listInstances });
201
201
  await new Promise(() => {
202
202
  });
@@ -354,7 +354,7 @@ function listenWithRetry(server, port, host, wss, maxRetries = 20, delay = 500)
354
354
  });
355
355
  }
356
356
  async function main() {
357
- const { mustOpenInstaller, hasDesktop, SKIP_INSTALL_CHECK_ENV } = await import("./install-gate-W5D4ZOZK.js");
357
+ const { mustOpenInstaller, hasDesktop, SKIP_INSTALL_CHECK_ENV } = await import("./install-gate-MXRFIBIH.js");
358
358
  if (mustOpenInstaller({
359
359
  isFromDesktop,
360
360
  isRestartHandoff: process.env.RUNEYA_RESTART_HANDOFF === "1",
@@ -386,7 +386,7 @@ async function main() {
386
386
  console.warn(`[cli] Journal sur disque indisponible : ${err.message}`);
387
387
  }
388
388
  }
389
- const { createLocalServer, pullEnv, PullEnvError, registerInstance, registerCliLocation } = await import("./src-UZX6XOIK.js");
389
+ const { createLocalServer, pullEnv, PullEnvError, registerInstance, registerCliLocation } = await import("./src-4XOEKUXK.js");
390
390
  registerCliLocation({ execPath: process.execPath, cliEntry: fileURLToPath(import.meta.url) });
391
391
  if (isPullEnv) {
392
392
  if (!serviceArg) {
@@ -495,7 +495,7 @@ async function main() {
495
495
  networkInfo,
496
496
  setLanMode,
497
497
  resolveTrayIcon
498
- } = await import("./src-UZX6XOIK.js");
498
+ } = await import("./src-4XOEKUXK.js");
499
499
  tray = await startInstanceTray({
500
500
  info: { cwd: process.cwd(), port, version, url: appUrl },
501
501
  assetsDir: join(__dirname, "assets"),
@@ -19,7 +19,7 @@ function samePath(a, b, platform = process.platform) {
19
19
  }
20
20
  }
21
21
  async function createGlobalInstaller(current, runningVersion) {
22
- const { resolveNpm, probeVersion, installRuneyaGlobally, installedRuneya, compareSemver, installPrefix, userPrefix } = await import("./src-UZX6XOIK.js");
22
+ const { resolveNpm, probeVersion, installRuneyaGlobally, installedRuneya, compareSemver, installPrefix, userPrefix } = await import("./src-4XOEKUXK.js");
23
23
  const npm = resolveNpm();
24
24
  async function prefixes() {
25
25
  const global = await probeVersion(npm, ["prefix", "-g"]);
@@ -57,4 +57,4 @@ export {
57
57
  hasDesktop,
58
58
  mustOpenInstaller
59
59
  };
60
- //# sourceMappingURL=install-gate-W5D4ZOZK.js.map
60
+ //# sourceMappingURL=install-gate-MXRFIBIH.js.map
@@ -1488,6 +1488,14 @@ var SupportStatusSchema = z222.enum(["open", "waiting", "closed"]);
1488
1488
  var SUPPORT_SUBJECT_MAX = 200;
1489
1489
  var SUPPORT_BODY_MAX = 1e4;
1490
1490
  var SUPPORT_CONTEXT_MAX = 2e3;
1491
+ var SUPPORT_MAX_FILES = 20;
1492
+ var SupportAttachmentSchema = z222.object({
1493
+ id: z222.string().max(128),
1494
+ name: z222.string().max(255),
1495
+ size: z222.number().int().nonnegative(),
1496
+ contentType: z222.string().max(128)
1497
+ }).strict();
1498
+ var AttachmentIds = z222.array(z222.string().min(1).max(128)).max(SUPPORT_MAX_FILES);
1491
1499
  var SupportCreateInputSchema = z222.object({
1492
1500
  kind: SupportKindSchema,
1493
1501
  subject: z222.string().trim().min(1).max(SUPPORT_SUBJECT_MAX),
@@ -1496,17 +1504,20 @@ var SupportCreateInputSchema = z222.object({
1496
1504
  email: z222.string().trim().email().max(254).optional(),
1497
1505
  /** Version de l'app, système… Rempli par l'app, lu par le support. */
1498
1506
  context: z222.string().max(SUPPORT_CONTEXT_MAX).optional(),
1499
- source: z222.enum(["app", "cloud"])
1507
+ source: z222.enum(["app", "cloud"]),
1508
+ attachmentIds: AttachmentIds.optional()
1500
1509
  });
1501
1510
  var SupportReplyInputSchema = z222.object({
1502
- body: z222.string().trim().min(1).max(SUPPORT_BODY_MAX)
1511
+ body: z222.string().trim().max(SUPPORT_BODY_MAX),
1512
+ attachmentIds: AttachmentIds.optional()
1503
1513
  });
1504
1514
  var SupportMessageViewSchema = z222.object({
1505
1515
  id: z222.string(),
1506
1516
  from: z222.enum(["requester", "support"]),
1507
1517
  authorName: z222.string(),
1508
1518
  body: z222.string(),
1509
- sentAt: z222.string()
1519
+ sentAt: z222.string(),
1520
+ attachments: z222.array(SupportAttachmentSchema).optional()
1510
1521
  }).strict();
1511
1522
  var SupportTicketSummarySchema = z222.object({
1512
1523
  id: z222.string(),
@@ -1538,7 +1549,8 @@ var SupportStaffMessageViewSchema = z222.object({
1538
1549
  from: z222.enum(["requester", "support", "internal"]),
1539
1550
  authorName: z222.string(),
1540
1551
  body: z222.string(),
1541
- sentAt: z222.string()
1552
+ sentAt: z222.string(),
1553
+ attachments: z222.array(SupportAttachmentSchema).optional()
1542
1554
  });
1543
1555
  var SupportStaffTicketSummarySchema = z222.object({
1544
1556
  id: z222.string(),
@@ -1886,7 +1898,7 @@ function readPageAnswer(result, input) {
1886
1898
  }
1887
1899
  };
1888
1900
  }
1889
- var KNOWLEDGE_MARKDOWN_NOTE = "Write a table as a plain Markdown table (| A | B |, then | --- | --- |), never inside ``` fences: a fenced table stays a code block. It is kept as written and read back the same, links in cells included. Pages hold no images or HTML, and links only to web, mailto: or kb:<pageId> addresses: when the Markdown you sent lost something, the answer says what in conversion.";
1901
+ var KNOWLEDGE_MARKDOWN_NOTE = 'Write a table as a plain Markdown table (| A | B |, then | --- | --- |), never inside ``` fences: a fenced table stays a code block. It is kept as written and read back the same, links in cells included. Pages hold no image files or HTML, and links only to web, mailto: or kb:<pageId> addresses: when the Markdown you sent lost something, the answer says what in conversion. A diagram can be drawn as SVG in a ```svg code block: the page shows it as an image, and its source stays editable. Give its elements readable ids (<g id="upload">) so a later knowledge_edit_text can target one exactly.';
1890
1902
  var KNOWLEDGE_LOCK_NOTE = "A page locked by a person cannot be changed by you: the call is refused, tell the user what you would change instead.";
1891
1903
  var KNOWLEDGE_CAPABILITIES = [
1892
1904
  {
@@ -2043,7 +2055,7 @@ var KNOWLEDGE_CAPABILITIES = [
2043
2055
  },
2044
2056
  {
2045
2057
  name: "knowledge_get_version",
2046
- description: "Read a page as it was at a past date: title, summary, status, fields and sections in Markdown. Take the date (at) from knowledge_get_history. With compare, the answer also gives what changed since that version (sinceThen): changed paragraphs per section (previous = the version, paragraphs = now) and the sheet fields that differ. Restoring a version is left to people, in the app.",
2058
+ description: "Read a page as it was at a past date: title, summary, status, fields and sections in Markdown. Take the date (at) from knowledge_get_history. With compare, the answer also gives what changed since that version (sinceThen): changed paragraphs per section (previous = the version, paragraphs = now; a long paragraph comes back as an excerpt around the change, [\u2026] marking what is cut) and the sheet fields that differ. Restoring a version is left to people, in the app.",
2047
2059
  route: "knowledge.getVersion",
2048
2060
  method: "GET",
2049
2061
  params: [
@@ -2158,7 +2170,7 @@ var KNOWLEDGE_CAPABILITIES = [
2158
2170
  },
2159
2171
  {
2160
2172
  name: "knowledge_edit_text",
2161
- description: `Replace an exact passage of a page body, like a text editor: send only the old text and the new one, not the whole section. The passage is matched against the Markdown returned by knowledge_get_page (so bold is **\u2026**, a page link is [title](kb:id)) and must appear exactly once, in the given section or in the whole body; otherwise nothing is written and the error says whether it is missing or ambiguous. The answer gives the page id, title, status, lock and last update and, for each edited section, only the paragraphs that are new or changed, their previous version and how many were deleted without replacement (editedSections); the other sections are listed by heading, and the rest of the sheet (themes, fields, links) is left out: read it with knowledge_get_page. Prefer it to knowledge_update_section for a change inside a long section. To insert text, anchor on the words around the insertion point: to complete "We chose Mongo." send find "We chose Mongo." and replace "We chose Mongo for its flexibility.". ${KNOWLEDGE_MARKDOWN_NOTE} ${KNOWLEDGE_LOCK_NOTE}`,
2173
+ description: `Replace an exact passage of a page body, like a text editor: send only the old text and the new one, not the whole section. The passage is matched against the Markdown returned by knowledge_get_page (so bold is **\u2026**, a page link is [title](kb:id)) and must appear exactly once, in the given section or in the whole body; otherwise nothing is written and the error says whether it is missing or ambiguous. The answer gives the page id, title, status, lock and last update and, for each edited section, only the paragraphs that are new or changed, their previous version and how many were deleted without replacement (editedSections); a long paragraph such as a code block or an SVG comes back as an excerpt around the change, [\u2026] marking what is cut; the other sections are listed by heading, and the rest of the sheet (themes, fields, links) is left out: read it with knowledge_get_page. Prefer it to knowledge_update_section for a change inside a long section. To insert text, anchor on the words around the insertion point: to complete "We chose Mongo." send find "We chose Mongo." and replace "We chose Mongo for its flexibility.". ${KNOWLEDGE_MARKDOWN_NOTE} ${KNOWLEDGE_LOCK_NOTE}`,
2162
2174
  route: "knowledge.editText",
2163
2175
  method: "POST",
2164
2176
  params: [