charness 3.9.1 → 3.10.0

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 (374) hide show
  1. package/CHANGELOG.md +126 -0
  2. package/DEVELOPMENT.md +4 -1
  3. package/SETUP.md +6 -4
  4. package/agent-plugin/README.md +2 -2
  5. package/agent-plugin/skills/charness-delegate-opencode/SKILL.md +1 -1
  6. package/agent-plugin/skills/charness-manager/SKILL.md +8 -4
  7. package/dist/bot.d.ts +27 -18
  8. package/dist/bot.d.ts.map +1 -1
  9. package/dist/bot.js +217 -99
  10. package/dist/bot.js.map +1 -1
  11. package/dist/connectors/jira/adf.d.ts.map +1 -1
  12. package/dist/connectors/jira/adf.js +2 -3
  13. package/dist/connectors/jira/adf.js.map +1 -1
  14. package/dist/connectors/telegram/commands/botCore.d.ts +16 -0
  15. package/dist/connectors/telegram/commands/botCore.d.ts.map +1 -1
  16. package/dist/connectors/telegram/commands/runners.d.ts +10 -1
  17. package/dist/connectors/telegram/commands/runners.d.ts.map +1 -1
  18. package/dist/connectors/telegram/commands/runners.js +75 -13
  19. package/dist/connectors/telegram/commands/runners.js.map +1 -1
  20. package/dist/connectors/telegram/runnerLinkNotices.d.ts +24 -0
  21. package/dist/connectors/telegram/runnerLinkNotices.d.ts.map +1 -0
  22. package/dist/connectors/telegram/runnerLinkNotices.js +95 -0
  23. package/dist/connectors/telegram/runnerLinkNotices.js.map +1 -0
  24. package/dist/connectors/telegram/runnerPairingMessages.d.ts +9 -0
  25. package/dist/connectors/telegram/runnerPairingMessages.d.ts.map +1 -1
  26. package/dist/connectors/telegram/runnerPairingMessages.js +17 -1
  27. package/dist/connectors/telegram/runnerPairingMessages.js.map +1 -1
  28. package/dist/i18n/de.d.ts.map +1 -1
  29. package/dist/i18n/de.js +19 -0
  30. package/dist/i18n/de.js.map +1 -1
  31. package/dist/i18n/en.d.ts.map +1 -1
  32. package/dist/i18n/en.js +19 -0
  33. package/dist/i18n/en.js.map +1 -1
  34. package/dist/i18n/es.d.ts.map +1 -1
  35. package/dist/i18n/es.js +19 -0
  36. package/dist/i18n/es.js.map +1 -1
  37. package/dist/i18n/fr.d.ts.map +1 -1
  38. package/dist/i18n/fr.js +19 -0
  39. package/dist/i18n/fr.js.map +1 -1
  40. package/dist/i18n/hi.d.ts.map +1 -1
  41. package/dist/i18n/hi.js +19 -0
  42. package/dist/i18n/hi.js.map +1 -1
  43. package/dist/i18n/ja.d.ts.map +1 -1
  44. package/dist/i18n/ja.js +19 -0
  45. package/dist/i18n/ja.js.map +1 -1
  46. package/dist/i18n/ka.d.ts.map +1 -1
  47. package/dist/i18n/ka.js +19 -0
  48. package/dist/i18n/ka.js.map +1 -1
  49. package/dist/i18n/pt.d.ts.map +1 -1
  50. package/dist/i18n/pt.js +19 -0
  51. package/dist/i18n/pt.js.map +1 -1
  52. package/dist/i18n/ru.d.ts.map +1 -1
  53. package/dist/i18n/ru.js +19 -0
  54. package/dist/i18n/ru.js.map +1 -1
  55. package/dist/i18n/uk.d.ts.map +1 -1
  56. package/dist/i18n/uk.js +19 -0
  57. package/dist/i18n/uk.js.map +1 -1
  58. package/dist/i18n/uz.d.ts.map +1 -1
  59. package/dist/i18n/uz.js +19 -0
  60. package/dist/i18n/uz.js.map +1 -1
  61. package/dist/i18n/zh.d.ts.map +1 -1
  62. package/dist/i18n/zh.js +19 -0
  63. package/dist/i18n/zh.js.map +1 -1
  64. package/dist/outputTrace.d.ts.map +1 -1
  65. package/dist/outputTrace.js +2 -9
  66. package/dist/outputTrace.js.map +1 -1
  67. package/dist/rateLimiter.d.ts +3 -1
  68. package/dist/rateLimiter.d.ts.map +1 -1
  69. package/dist/rateLimiter.js +3 -1
  70. package/dist/rateLimiter.js.map +1 -1
  71. package/dist/remoteRun/cliArgs.d.ts +6 -1
  72. package/dist/remoteRun/cliArgs.d.ts.map +1 -1
  73. package/dist/remoteRun/cliArgs.js +39 -2
  74. package/dist/remoteRun/cliArgs.js.map +1 -1
  75. package/dist/remoteRun/exitCodes.d.ts +12 -2
  76. package/dist/remoteRun/exitCodes.d.ts.map +1 -1
  77. package/dist/remoteRun/exitCodes.js +3 -0
  78. package/dist/remoteRun/exitCodes.js.map +1 -1
  79. package/dist/remoteRun/foreground.d.ts +13 -0
  80. package/dist/remoteRun/foreground.d.ts.map +1 -1
  81. package/dist/remoteRun/foreground.js +15 -2
  82. package/dist/remoteRun/foreground.js.map +1 -1
  83. package/dist/remoteRun/heldBackNotice.d.ts +7 -0
  84. package/dist/remoteRun/heldBackNotice.d.ts.map +1 -0
  85. package/dist/remoteRun/heldBackNotice.js +92 -0
  86. package/dist/remoteRun/heldBackNotice.js.map +1 -0
  87. package/dist/remoteRun/interrupts.d.ts +6 -2
  88. package/dist/remoteRun/interrupts.d.ts.map +1 -1
  89. package/dist/remoteRun/interrupts.js +18 -3
  90. package/dist/remoteRun/interrupts.js.map +1 -1
  91. package/dist/remoteRun/leaseTiming.d.ts +1 -2
  92. package/dist/remoteRun/leaseTiming.d.ts.map +1 -1
  93. package/dist/remoteRun/leaseTiming.js +3 -17
  94. package/dist/remoteRun/leaseTiming.js.map +1 -1
  95. package/dist/remoteRun/output.d.ts +16 -1
  96. package/dist/remoteRun/output.d.ts.map +1 -1
  97. package/dist/remoteRun/output.js +28 -2
  98. package/dist/remoteRun/output.js.map +1 -1
  99. package/dist/remoteRun/probe.d.ts +40 -2
  100. package/dist/remoteRun/probe.d.ts.map +1 -1
  101. package/dist/remoteRun/probe.js +58 -2
  102. package/dist/remoteRun/probe.js.map +1 -1
  103. package/dist/remoteRun/project.d.ts +2 -2
  104. package/dist/remoteRun/project.d.ts.map +1 -1
  105. package/dist/remoteRun/project.js +5 -4
  106. package/dist/remoteRun/project.js.map +1 -1
  107. package/dist/remoteRun/remoteRunCli.d.ts +1 -1
  108. package/dist/remoteRun/remoteRunCli.d.ts.map +1 -1
  109. package/dist/remoteRun/remoteRunCli.js +6 -3
  110. package/dist/remoteRun/remoteRunCli.js.map +1 -1
  111. package/dist/remoteRun/runnerWait.d.ts +3 -3
  112. package/dist/remoteRun/runnerWait.d.ts.map +1 -1
  113. package/dist/remoteRun/runnerWait.js +12 -6
  114. package/dist/remoteRun/runnerWait.js.map +1 -1
  115. package/dist/remoteRun/runnerWaitTiming.d.ts +1 -1
  116. package/dist/remoteRun/runnerWaitTiming.d.ts.map +1 -1
  117. package/dist/remoteRun/runnerWaitTiming.js +3 -16
  118. package/dist/remoteRun/runnerWaitTiming.js.map +1 -1
  119. package/dist/remoteRun/runners.d.ts +16 -3
  120. package/dist/remoteRun/runners.d.ts.map +1 -1
  121. package/dist/remoteRun/runners.js +42 -4
  122. package/dist/remoteRun/runners.js.map +1 -1
  123. package/dist/remoteRun/sendPlan.d.ts +11 -1
  124. package/dist/remoteRun/sendPlan.d.ts.map +1 -1
  125. package/dist/remoteRun/sendPlan.js +29 -5
  126. package/dist/remoteRun/sendPlan.js.map +1 -1
  127. package/dist/remoteRun/submit.d.ts.map +1 -1
  128. package/dist/remoteRun/submit.js +13 -3
  129. package/dist/remoteRun/submit.js.map +1 -1
  130. package/dist/runnerUtility/adminService.d.ts +30 -2
  131. package/dist/runnerUtility/adminService.d.ts.map +1 -1
  132. package/dist/runnerUtility/adminService.js +104 -6
  133. package/dist/runnerUtility/adminService.js.map +1 -1
  134. package/dist/runnerUtility/appInstall.d.ts +13 -4
  135. package/dist/runnerUtility/appInstall.d.ts.map +1 -1
  136. package/dist/runnerUtility/appInstall.js +46 -19
  137. package/dist/runnerUtility/appInstall.js.map +1 -1
  138. package/dist/runnerUtility/appUpdate.js +1 -1
  139. package/dist/runnerUtility/appUpdate.js.map +1 -1
  140. package/dist/runnerUtility/execEnv.d.ts +2 -0
  141. package/dist/runnerUtility/execEnv.d.ts.map +1 -1
  142. package/dist/runnerUtility/execEnv.js +6 -2
  143. package/dist/runnerUtility/execEnv.js.map +1 -1
  144. package/dist/runnerUtility/guiAgent.d.ts +126 -0
  145. package/dist/runnerUtility/guiAgent.d.ts.map +1 -0
  146. package/dist/runnerUtility/guiAgent.js +591 -0
  147. package/dist/runnerUtility/guiAgent.js.map +1 -0
  148. package/dist/runnerUtility/guiAgentHeal.d.ts +128 -0
  149. package/dist/runnerUtility/guiAgentHeal.d.ts.map +1 -0
  150. package/dist/runnerUtility/guiAgentHeal.js +284 -0
  151. package/dist/runnerUtility/guiAgentHeal.js.map +1 -0
  152. package/dist/runnerUtility/homeFolders.d.ts +33 -0
  153. package/dist/runnerUtility/homeFolders.d.ts.map +1 -0
  154. package/dist/runnerUtility/homeFolders.js +158 -0
  155. package/dist/runnerUtility/homeFolders.js.map +1 -0
  156. package/dist/runnerUtility/hubClient.d.ts +12 -2
  157. package/dist/runnerUtility/hubClient.d.ts.map +1 -1
  158. package/dist/runnerUtility/hubClient.js +24 -3
  159. package/dist/runnerUtility/hubClient.js.map +1 -1
  160. package/dist/runnerUtility/iosCheck.d.ts +7 -1
  161. package/dist/runnerUtility/iosCheck.d.ts.map +1 -1
  162. package/dist/runnerUtility/iosCheck.js +14 -5
  163. package/dist/runnerUtility/iosCheck.js.map +1 -1
  164. package/dist/runnerUtility/isolatedCommand.d.ts +33 -0
  165. package/dist/runnerUtility/isolatedCommand.d.ts.map +1 -0
  166. package/dist/runnerUtility/isolatedCommand.js +139 -0
  167. package/dist/runnerUtility/isolatedCommand.js.map +1 -0
  168. package/dist/runnerUtility/keepAwake.d.ts +67 -0
  169. package/dist/runnerUtility/keepAwake.d.ts.map +1 -0
  170. package/dist/runnerUtility/keepAwake.js +211 -0
  171. package/dist/runnerUtility/keepAwake.js.map +1 -0
  172. package/dist/runnerUtility/lidPollTiming.d.ts +11 -0
  173. package/dist/runnerUtility/lidPollTiming.d.ts.map +1 -0
  174. package/dist/runnerUtility/lidPollTiming.js +18 -0
  175. package/dist/runnerUtility/lidPollTiming.js.map +1 -0
  176. package/dist/runnerUtility/lidState.d.ts +57 -0
  177. package/dist/runnerUtility/lidState.d.ts.map +1 -0
  178. package/dist/runnerUtility/lidState.js +195 -0
  179. package/dist/runnerUtility/lidState.js.map +1 -0
  180. package/dist/runnerUtility/linkLoop.d.ts +5 -0
  181. package/dist/runnerUtility/linkLoop.d.ts.map +1 -1
  182. package/dist/runnerUtility/linkLoop.js +37 -1
  183. package/dist/runnerUtility/linkLoop.js.map +1 -1
  184. package/dist/runnerUtility/packageManagerShims.d.ts +44 -0
  185. package/dist/runnerUtility/packageManagerShims.d.ts.map +1 -0
  186. package/dist/runnerUtility/packageManagerShims.js +130 -0
  187. package/dist/runnerUtility/packageManagerShims.js.map +1 -0
  188. package/dist/runnerUtility/progress.d.ts +43 -0
  189. package/dist/runnerUtility/progress.d.ts.map +1 -0
  190. package/dist/runnerUtility/progress.js +78 -0
  191. package/dist/runnerUtility/progress.js.map +1 -0
  192. package/dist/runnerUtility/pueueDaemon.d.ts +8 -4
  193. package/dist/runnerUtility/pueueDaemon.d.ts.map +1 -1
  194. package/dist/runnerUtility/pueueDaemon.js +12 -7
  195. package/dist/runnerUtility/pueueDaemon.js.map +1 -1
  196. package/dist/runnerUtility/rootServiceCli.d.ts +23 -3
  197. package/dist/runnerUtility/rootServiceCli.d.ts.map +1 -1
  198. package/dist/runnerUtility/rootServiceCli.js +56 -10
  199. package/dist/runnerUtility/rootServiceCli.js.map +1 -1
  200. package/dist/runnerUtility/runnerCli.d.ts +1 -0
  201. package/dist/runnerUtility/runnerCli.d.ts.map +1 -1
  202. package/dist/runnerUtility/runnerCli.js +14 -7
  203. package/dist/runnerUtility/runnerCli.js.map +1 -1
  204. package/dist/runnerUtility/runnerCommands.d.ts +45 -0
  205. package/dist/runnerUtility/runnerCommands.d.ts.map +1 -1
  206. package/dist/runnerUtility/runnerCommands.js +188 -21
  207. package/dist/runnerUtility/runnerCommands.js.map +1 -1
  208. package/dist/runnerUtility/runnerHome.d.ts +8 -0
  209. package/dist/runnerUtility/runnerHome.d.ts.map +1 -1
  210. package/dist/runnerUtility/runnerHome.js +7 -0
  211. package/dist/runnerUtility/runnerHome.js.map +1 -1
  212. package/dist/runnerUtility/serviceCommon.d.ts +4 -0
  213. package/dist/runnerUtility/serviceCommon.d.ts.map +1 -1
  214. package/dist/runnerUtility/serviceCommon.js +8 -1
  215. package/dist/runnerUtility/serviceCommon.js.map +1 -1
  216. package/dist/runnerUtility/serviceManager.d.ts +5 -2
  217. package/dist/runnerUtility/serviceManager.d.ts.map +1 -1
  218. package/dist/runnerUtility/serviceManager.js +40 -17
  219. package/dist/runnerUtility/serviceManager.js.map +1 -1
  220. package/dist/runnerUtility/serviceUnits.d.ts +11 -0
  221. package/dist/runnerUtility/serviceUnits.d.ts.map +1 -1
  222. package/dist/runnerUtility/serviceUnits.js +8 -2
  223. package/dist/runnerUtility/serviceUnits.js.map +1 -1
  224. package/dist/runnerUtility/simulatorSilencer.d.ts +55 -0
  225. package/dist/runnerUtility/simulatorSilencer.d.ts.map +1 -0
  226. package/dist/runnerUtility/simulatorSilencer.js +203 -0
  227. package/dist/runnerUtility/simulatorSilencer.js.map +1 -0
  228. package/dist/runnerUtility/stopSignals.d.ts +10 -0
  229. package/dist/runnerUtility/stopSignals.d.ts.map +1 -0
  230. package/dist/runnerUtility/stopSignals.js +27 -0
  231. package/dist/runnerUtility/stopSignals.js.map +1 -0
  232. package/dist/runnerUtility/versionPollTiming.d.ts +2 -3
  233. package/dist/runnerUtility/versionPollTiming.d.ts.map +1 -1
  234. package/dist/runnerUtility/versionPollTiming.js +4 -18
  235. package/dist/runnerUtility/versionPollTiming.js.map +1 -1
  236. package/dist/runners/bootstrapLine.d.ts.map +1 -1
  237. package/dist/runners/bootstrapLine.js +35 -19
  238. package/dist/runners/bootstrapLine.js.map +1 -1
  239. package/dist/runners/gate.d.ts.map +1 -1
  240. package/dist/runners/gate.js +28 -1
  241. package/dist/runners/gate.js.map +1 -1
  242. package/dist/runners/gateLink.d.ts +7 -0
  243. package/dist/runners/gateLink.d.ts.map +1 -1
  244. package/dist/runners/gateLink.js +36 -3
  245. package/dist/runners/gateLink.js.map +1 -1
  246. package/dist/runners/gateProtocol.d.ts +37 -2
  247. package/dist/runners/gateProtocol.d.ts.map +1 -1
  248. package/dist/runners/gateProtocol.js +45 -4
  249. package/dist/runners/gateProtocol.js.map +1 -1
  250. package/dist/runners/hubPackage.d.ts +2 -1
  251. package/dist/runners/hubPackage.d.ts.map +1 -1
  252. package/dist/runners/hubPackage.js +32 -11
  253. package/dist/runners/hubPackage.js.map +1 -1
  254. package/dist/runners/hubPairing.d.ts +1 -1
  255. package/dist/runners/hubPairing.d.ts.map +1 -1
  256. package/dist/runners/hubPairing.js +8 -1
  257. package/dist/runners/hubPairing.js.map +1 -1
  258. package/dist/runners/hubPaths.d.ts +2 -0
  259. package/dist/runners/hubPaths.d.ts.map +1 -1
  260. package/dist/runners/hubPaths.js +1 -1
  261. package/dist/runners/hubPaths.js.map +1 -1
  262. package/dist/runners/linkConcern.d.ts +75 -0
  263. package/dist/runners/linkConcern.d.ts.map +1 -0
  264. package/dist/runners/linkConcern.js +85 -0
  265. package/dist/runners/linkConcern.js.map +1 -0
  266. package/dist/runners/linkControl.d.ts +25 -1
  267. package/dist/runners/linkControl.d.ts.map +1 -1
  268. package/dist/runners/linkControl.js +46 -4
  269. package/dist/runners/linkControl.js.map +1 -1
  270. package/dist/runners/pairingTiming.d.ts +2 -3
  271. package/dist/runners/pairingTiming.d.ts.map +1 -1
  272. package/dist/runners/pairingTiming.js +4 -18
  273. package/dist/runners/pairingTiming.js.map +1 -1
  274. package/dist/runners/runnerLock.d.ts +112 -0
  275. package/dist/runners/runnerLock.d.ts.map +1 -0
  276. package/dist/runners/runnerLock.js +292 -0
  277. package/dist/runners/runnerLock.js.map +1 -0
  278. package/dist/runners/runnersCli.d.ts +6 -3
  279. package/dist/runners/runnersCli.d.ts.map +1 -1
  280. package/dist/runners/runnersCli.js +33 -6
  281. package/dist/runners/runnersCli.js.map +1 -1
  282. package/dist/runners/runnersList.d.ts +3 -3
  283. package/dist/runners/runnersList.d.ts.map +1 -1
  284. package/dist/runners/runnersList.js +9 -2
  285. package/dist/runners/runnersList.js.map +1 -1
  286. package/dist/runners/runnersOverview.d.ts +29 -3
  287. package/dist/runners/runnersOverview.d.ts.map +1 -1
  288. package/dist/runners/runnersOverview.js +71 -6
  289. package/dist/runners/runnersOverview.js.map +1 -1
  290. package/dist/runners/serviceRemoval.d.ts +43 -0
  291. package/dist/runners/serviceRemoval.d.ts.map +1 -0
  292. package/dist/runners/serviceRemoval.js +114 -0
  293. package/dist/runners/serviceRemoval.js.map +1 -0
  294. package/dist/scheduler/checkStatus.d.ts +78 -0
  295. package/dist/scheduler/checkStatus.d.ts.map +1 -0
  296. package/dist/scheduler/checkStatus.js +122 -0
  297. package/dist/scheduler/checkStatus.js.map +1 -0
  298. package/dist/scheduler/delivery.d.ts +27 -1
  299. package/dist/scheduler/delivery.d.ts.map +1 -1
  300. package/dist/scheduler/delivery.js +83 -6
  301. package/dist/scheduler/delivery.js.map +1 -1
  302. package/dist/scheduler/mcpSurface.d.ts +2 -0
  303. package/dist/scheduler/mcpSurface.d.ts.map +1 -1
  304. package/dist/scheduler/mcpSurface.js +62 -10
  305. package/dist/scheduler/mcpSurface.js.map +1 -1
  306. package/dist/scheduler/store.d.ts +16 -1
  307. package/dist/scheduler/store.d.ts.map +1 -1
  308. package/dist/scheduler/store.js +33 -0
  309. package/dist/scheduler/store.js.map +1 -1
  310. package/dist/scheduler/types.d.ts +22 -0
  311. package/dist/scheduler/types.d.ts.map +1 -1
  312. package/dist/scheduler/unbindPause.d.ts +27 -0
  313. package/dist/scheduler/unbindPause.d.ts.map +1 -0
  314. package/dist/scheduler/unbindPause.js +21 -0
  315. package/dist/scheduler/unbindPause.js.map +1 -0
  316. package/dist/scheduler/workerActivity.d.ts +25 -0
  317. package/dist/scheduler/workerActivity.d.ts.map +1 -0
  318. package/dist/scheduler/workerActivity.js +195 -0
  319. package/dist/scheduler/workerActivity.js.map +1 -0
  320. package/dist/scheduler/workerWatch.d.ts +14 -2
  321. package/dist/scheduler/workerWatch.d.ts.map +1 -1
  322. package/dist/scheduler/workerWatch.js +15 -3
  323. package/dist/scheduler/workerWatch.js.map +1 -1
  324. package/dist/state.d.ts +8 -0
  325. package/dist/state.d.ts.map +1 -1
  326. package/dist/state.js +30 -0
  327. package/dist/state.js.map +1 -1
  328. package/dist/stt/sttRuntime.d.ts.map +1 -1
  329. package/dist/stt/sttRuntime.js +8 -1
  330. package/dist/stt/sttRuntime.js.map +1 -1
  331. package/dist/stt/sttSettings.d.ts +56 -6
  332. package/dist/stt/sttSettings.d.ts.map +1 -1
  333. package/dist/stt/sttSettings.js +128 -7
  334. package/dist/stt/sttSettings.js.map +1 -1
  335. package/dist/stt/sttSidecarOwner.d.ts +13 -5
  336. package/dist/stt/sttSidecarOwner.d.ts.map +1 -1
  337. package/dist/stt/sttSidecarOwner.js +72 -31
  338. package/dist/stt/sttSidecarOwner.js.map +1 -1
  339. package/dist/stt/transcribeChain.d.ts +23 -1
  340. package/dist/stt/transcribeChain.d.ts.map +1 -1
  341. package/dist/stt/transcribeChain.js +59 -4
  342. package/dist/stt/transcribeChain.js.map +1 -1
  343. package/dist/testTimings.d.ts +4 -2
  344. package/dist/testTimings.d.ts.map +1 -1
  345. package/dist/testTimings.js +7 -1
  346. package/dist/testTimings.js.map +1 -1
  347. package/dist/testTimingsSeam.d.ts +10 -0
  348. package/dist/testTimingsSeam.d.ts.map +1 -0
  349. package/dist/testTimingsSeam.js +29 -0
  350. package/dist/testTimingsSeam.js.map +1 -0
  351. package/dist/utils/runnersScreenPlan.d.ts +14 -0
  352. package/dist/utils/runnersScreenPlan.d.ts.map +1 -1
  353. package/dist/utils/runnersScreenPlan.js +49 -5
  354. package/dist/utils/runnersScreenPlan.js.map +1 -1
  355. package/dist/utils/surrogateSafeCut.d.ts +14 -0
  356. package/dist/utils/surrogateSafeCut.d.ts.map +1 -0
  357. package/dist/utils/surrogateSafeCut.js +30 -0
  358. package/dist/utils/surrogateSafeCut.js.map +1 -0
  359. package/dist/utils/telegramError.d.ts +7 -0
  360. package/dist/utils/telegramError.d.ts.map +1 -1
  361. package/dist/utils/telegramError.js +15 -0
  362. package/dist/utils/telegramError.js.map +1 -1
  363. package/dist/utils/transientFrames.d.ts +51 -6
  364. package/dist/utils/transientFrames.d.ts.map +1 -1
  365. package/dist/utils/transientFrames.js +52 -2
  366. package/dist/utils/transientFrames.js.map +1 -1
  367. package/dist/voiceProgressNote.d.ts +73 -0
  368. package/dist/voiceProgressNote.d.ts.map +1 -0
  369. package/dist/voiceProgressNote.js +142 -0
  370. package/dist/voiceProgressNote.js.map +1 -0
  371. package/package.json +4 -1
  372. package/remoteRun/pickNode.sh +65 -0
  373. package/remoteRun/runner-package-lock.json +59 -0
  374. package/remoteRun/runner.sh +304 -6
package/CHANGELOG.md CHANGED
@@ -2,6 +2,132 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 3.10.0 — 2026-11-06
6
+
7
+ **A MacBook runner with its lid closed no longer gets a new job that dies when the Mac sleeps — it waits like an offline runner, and `runners` says «lid closed».**
8
+ Before, a Mac runner with the lid shut (no external display) slept about a minute and a half later, and on power macOS woke it for a minute or two every quarter of an hour; the runner reconnected in those windows, looked available, and a job that landed there was cut when the Mac went back to sleep.
9
+ Now:
10
+ - A Mac runner puts its lid in the request that makes its link, so the charness host knows it before the runner is online, and then looks every 10 seconds and tells the host when it changes. Closed means the lid is shut and closing it sleeps the Mac; a lid shut with an external display keeping the Mac awake, an open lid, a Mac without a lid and an unreadable reading all count as open, so such a runner works as before. Other systems never report a lid.
11
+ - A lid-closed runner takes no NEW job: `remote-run` and `exec` skip it, a runner named with `--runner` is refused with «has its lid closed», and `--needs ios` waits for it (`--runner-wait`, 15 minutes by default) exactly as for an offline runner. A job already running there is not touched, and `status`, `wait`, `logs` and `kill` of it work.
12
+ - `remote-run runners`, `charness runners ls` and `/runners` show «lid closed» instead of «online». Opening the lid makes the Mac available within about 10 seconds and a waiting job starts. A Mac that wakes for a minute with the lid still shut is never available, not even for a second: the lid it has is in the request that brings it online. A host that refuses the reports is not asked again at every look (30 s, doubling to 5 minutes).
13
+
14
+ **An always-on Mac runner that updated itself now gets the missing iOS login-session agent by itself — no second paste of the admin line, and `runners` no longer says «needs a login» when the real problem is something else.**
15
+ Before, a Mac paired before the login session's agent existed updated to the new version but never received the agent: `runners` kept saying «ios: needs a login of runner» although the account was logged in, and only pasting the `sudo` pairing line again helped.
16
+ Now:
17
+ - When the runner starts (an update restarts it) and once an hour, a runner kept running by an admin's line looks for the agent in the account's own `~/Library/LaunchAgents`. A missing or older definition is written and loaded into the account's login session — no admin rights, they are the account's own files — and an agent that is already running is replaced only while the Mac runs no job.
18
+ - With nobody logged in as the account the file is written and launchd loads it at the next login, and `runners` keeps saying a login is needed.
19
+ - A running agent is replaced only while the Mac has no job running or waiting in its queue; the queue is looked at again right before the old agent is stopped.
20
+ - When it cannot be done (the folder cannot be written, `launchctl` refuses), `runners` and a refused `--needs ios` job say so with the reason instead of «needs a login»: «log out and back in as the account, or paste a fresh admin line from /runners» when the agent's definition is in place (logging in loads it), «paste a fresh admin line» when it is not. «Nobody is logged in» is believed only when launchd says the login domain does not exist AND the account runs none of the processes of a login session.
21
+
22
+ **A voice note that waits for its text now shows «🎙 Transcribing the voice message…» in the topic, so it no longer looks lost.**
23
+ Before, while the bot waited for a local speech engine that was still loading its model (up to 2 minutes), the topic showed nothing until the 🎤 transcript — a voice note that took a while looked as if it had been dropped.
24
+ Now:
25
+ - When the text is not there 3 seconds after the voice note arrives, the bot posts a silent note (no notification, even in an unmuted topic); a warm engine answers sooner and the topic shows nothing. A voice note waiting in line behind an earlier one in the same topic gets its note too.
26
+ - The note is deleted the moment the 🎤 transcript arrives, or when the voice note fails (the failure notice stays as before) — the delete goes out before the transcript, and a stalled one never holds the transcript back for more than a moment.
27
+ - A bot restart while the note is up removes it as well: a graceful stop (a hot reload) deletes it — also one whose send is still on its way —, and the next start deletes one left by a crash.
28
+ - A temporary-status message (the «working…», thinking or sub-agent line, or this note) whose delete fails for a bad moment at a restart — no answer from Telegram, a rate limit, a server error — is no longer forgotten: it stays recorded and is deleted at the next restart, instead of staying in the topic for good.
29
+
30
+ **A watch on a worker now keeps its topic alive: while the worker runs, the bot posts a short silent status line every 15 minutes, so the topic never looks frozen while the agent is away.**
31
+ Before, a watch on a detached worker said nothing for as long as the worker ran — a builder that worked 7 hours overnight left its topic without a message for 7 hours, and the only remedy was a schedule that woke the manager agent every 50 minutes (tokens and context spent per heartbeat, and nothing posted while the agent compacts).
32
+ Now:
33
+ - The bot itself posts the line — «⏳ builder S2 · works 30 min · now: Bash: Run the unit tests» — every 15 minutes while the watch passes, with no agent wake and no tokens, so it keeps coming while the agent is idle, compacting or stopped. It is sent silently and never pinned, and each new line replaces the previous one (posted first, the old one deleted), so the topic holds one line at the bottom of the activity.
34
+ - «now» is the worker's last text or tool call, read from the newest `events*.jsonl` in its run directory, for Claude Code (`stream-json`) and OpenCode (`--format json`) workers; a worker that hangs shows as a «now» that does not change, and the 45-minute stall alert still fires.
35
+ - The line stops when the check fails (the worker finished or hung — the existing alert and agent wake take over), is cancelled, or the topic leaves its folder, and its last line is deleted with it. A topic on the answers-only view, and a Jira issue, get no line.
36
+ - Any check can opt in: `schedule_create` takes `statusWorkerRunDir` (a worker's run directory) or `statusCommand` (its first output line is «now»), and `statusEveryMinutes` (5–240, default 15), together with `checkCommand`. The worker-watch recipe in the bot's tool texts and in the `charness-manager` skill passes them and now ticks every 5 minutes instead of 10, so an exited worker is noticed within 5 minutes.
37
+
38
+ **A voice note sent while the machine is busy is no longer lost to «the local engine was not ready in 15 s» — the voice now waits for the local engine to finish loading.**
39
+ Before, the bot gave up on the local speech engine 15 seconds after starting it; the model load takes 2–3 seconds on an idle machine but longer than that on a busy one, so the engine was killed unfinished, the voice failed, and the next voice began the load from zero — it failed the same way, again and again.
40
+ Now:
41
+ - A local engine that is alive and still loading is waited for, up to 2 minutes from its start; a voice that arrives meanwhile (or after a bot reload) waits for the same start instead of launching another. Only an engine that dies, or one that is still loading after 2 minutes, fails the voice — and the failure now says so («the local engine was still loading its model after 120 s»); a slow load also leaves a line in the bot log. The 2 minutes are counted from the engine's own start, so an engine that is replaced after it died gets its own 2 minutes.
42
+ - When another engine follows the local one in the list, a voice waits for the local engine's start only about 15 seconds and then moves on to the next engine, while the local engine keeps loading — so the next voice finds it ready. When the local engine is the last one, the voice waits for it.
43
+ - The engine starts loading the moment a voice note arrives, before its download, when it is the first engine of the list; a hosted engine in front starts nothing. A start that fails then is one failed start for that voice, not two, and is logged. That early ask never judges an engine that is busy and slow to answer, so several voice notes in a row cannot get a busy engine replaced; the voice's own request still does, so an engine that is really stuck is still replaced.
44
+ - The local engine now stays loaded for 60 minutes after the last voice note instead of 15 (it holds about 0.5 GB while loaded; «⏱ Exit after idle» on its `/stt` card sets it). The 15 was the old default that the bot itself had written into `stt.json` — so at the next start a stored «15 minutes» is dropped and the engine follows the new default (if you chose 15 yourself, pick it again on the card; a 15 picked from now on stays), and `stt.json` now stores only the settings that differ from the defaults. The file keeps the layout every earlier charness reads, so rolling back or downgrading does not turn voice off; a note beside it, `stt.defaults-migrated`, records the migration, and a file an older charness saved in between (it writes the defaults back) is migrated again at the next update.
45
+
46
+ **The `sudo` pairing line is safer and says what it does, and the owner is told when a runner's link comes from somewhere else.**
47
+ Before, the line was silent between the paste and «paired», ran the runner account's code with the admin's own terminal attached and with a Node from anywhere, installed the runner's packages against open version ranges, let a second machine replace a runner's link without a word, and left the commands that remove an always-on service to the machine's own program, which the account can change.
48
+ Now:
49
+ - The lines tell each step as they go — checking the account, downloading the package, installing the runner program, checking the machine, pairing, getting Pueue, finding rsync, installing the service — one line each, with cycling dots on a terminal.
50
+ - When the code is used or runs out, the Telegram message with the admin account's `sudo` line turns into «paired» or «expired» and the message with the runner account's plain line is deleted (a message you deleted by hand counts as settled). A machine's default name drops the `.local` its network adds.
51
+ - `charness runners ls` shows how a machine is kept running as it is now, waits at most 8 seconds for a machine to say so, does not ask a silent machine again for 10 minutes, and says on its row when the report it shows is older than the machine's link and the machine did not answer.
52
+ - Everything the admin line runs as the account — the pairing, the service install — runs with no terminal attached (a session of its own, no input, its output passed on with the control characters removed), so code the account can change never reaches the admin's terminal and cannot hold the paste either: a step that leaves a process behind holding its output ends at its deadline, a stop signal (Ctrl-C) always ends the step — also one that arrives the instant the step starts — and a second one kills it outright. The pairing moved from the shell into the root step, which also made the line shorter.
53
+ - The admin line never uses a Node.js inside a home folder or one that the runner account can write (root must not run what the account can change): it picks one outside every home (`sudo`'s own, or Homebrew's or `/usr/local`'s) or stops with the way to install one, so the runner's launcher and service do not depend on a folder that may be closed. Both pairing lines warn when the runner account can read other users' homes (macOS: `750`, group `staff`), naming them with the one-line fix `sudo chmod 700 /Users/<name>`.
54
+ - The runner installs its packages with `npm ci` from a lockfile that the hub's package carries — made from `yarn.lock` for exactly the packages the runner needs (`ssh2` and `zod` with what they use), each pinned by tarball and hash — instead of `npm install` against open version ranges, so an update can never pull a version that was published after the hub last ran it.
55
+ - The hub notes where each runner's link connects from, and the bot posts one message in General, pinned, when a link comes from another address than the one before it (and whether it took the place of one still up) or when two links keep replacing each other: a job on the machine can read its key, and a second machine with it would otherwise replace the first without a sound. `charness runners ls` and `/runners` keep the note until the runner is removed or paired again.
56
+ - Removing a runner that runs as an always-on service tells you — in `charness runners remove` and in a second message of the `/runners` Remove button — that the service keeps running on the machine until an admin there stops it, with the exact `launchctl` / `rm` commands; `charness runners service-removal <name>` prints them for a runner that stays. The charness host makes them, no longer the machine's own `charness-runner service uninstall`, which only points at them: the agents run as that account and can change what it prints.
57
+ - `docs/remote-run.md` now says what a job on the runner machine can reach — the machine's own network (the LAN, VPN interfaces, its localhost services) — with a `pf` rule for a Mac and an `nftables` one for Linux that fence the runner account, that each paste of the admin line gives the charness host root on the machine once, and that an admin line should not be pasted again on a runner that has already run jobs with a charness older than this one.
58
+
59
+ **A job on a runner now runs in a UTF-8 locale, so CocoaPods (and any tool that insists on one) no longer crashes on `pod install`.**
60
+ Before, every job ran with `LC_ALL=C` — the runner script's own setting for stable text handling — and CocoaPods refused to start on it («Unicode Normalization not appropriate for ASCII-8BIT»), so an iOS dependency step failed on a Mac that was otherwise fine.
61
+ Now a job (and `remote-run exec`) gets `LC_ALL=C.UTF-8`, or `en_US.UTF-8` where the machine has no `C.UTF-8`, and only a machine with neither keeps `C`; the runner's own scripts keep `C`.
62
+
63
+ **The runner's iOS check no longer says `ios: no` on a Mac whose Simulator works.**
64
+ Before, the boot check paired the newest iOS runtime with the last iPhone of the device-type list — and a new runtime runs only a few device types (one Xcode's newest runtime ran just «iPhone Duo»), so `simctl create` refused the pair with «Incompatible device» and `charness remote-run runners` showed the Mac as unable to build for iOS.
65
+ Now the check takes the device types each runtime itself lists as supported and boots the newest iPhone of the newest runtime that has one.
66
+
67
+ **`charness remote-run --runner <name> exec <command>` now runs the command on that runner instead of starting a job whose command is the word `exec`.**
68
+ Before, options came first and the first word after them was always the job's command, so `--runner studio-mac exec ls` queued a job `exec ls` — the shell's own `exec` builtin, which replaces the job's shell and ends it — and the agent got a job result instead of the listing it asked for.
69
+ Now `exec` after `--runner` is the `exec` subcommand on that runner, any other option before `exec` is refused with a line saying `exec` takes only `--runner`, and any other subcommand name after options (`--bg ls build`) is refused with the way to run a command that is called so: put `--` before it.
70
+
71
+ **`charness remote-run … | head` no longer dies with a stack trace and a job killed for no visible reason — it stops its job and says why.**
72
+ Before, once the reader of the pipe had gone, the next line of output hit the closed pipe, remote-run crashed on the write error, and its job was left to the runner's lease to kill a few seconds later (exit 137) — with nothing on the screen naming the closed stdout.
73
+ Now a foreground run or `exec` whose stdout was closed stops its job at once, says «stdout was closed … — job box1-abc234 was stopped on box1; to read only a part of a long output, start it with --bg and use `logs <id> --tail <lines>`» on stderr and exits 141 (the shell's code for SIGPIPE); `logs -f`, `wait` and `ls` simply end.
74
+
75
+ **A failed dependencies step now shows its real error — the first error lines of its output and of the build log the tool names — instead of only the last lines, where the cause is not.**
76
+ Before, `charness remote-run wait` showed the last 50 lines of a failed `yarn install`, which were yarn's own summary («sqlite3 couldn't be built successfully, logs can be found here: …/build.log»); the real error — a Python without `distutils` in the native build — sat far above, and the build log was in a temp folder on the runner, so finding the cause took a hand-made `exec` of the step again.
77
+ Now the job's log ends with the first eight error-looking lines of the step and the first eight of each `build.log` it names (a log the tool already removed is named as gone, with `-e YARN_ENABLE_INLINE_BUILDS=1` to get the build output into the log), so the cause is in what `wait` and a foreground run print.
78
+
79
+ **`charness remote-run --send <path>` sends a held-back secret-looking file for one call, and the «held back» line is said once per change instead of before every run.**
80
+ Before, a `.env.test` or a `.pem` fixture that a test needs on the runner could only be opted in with `send:` in the project's `.remote-run` — a file a read-only checkout cannot take — and a project with sixteen such fixtures printed all sixteen names before every single run, until nobody read the line.
81
+ Now `--send <path>` (repeatable, a pattern relative to the project root, also for a file git ignores) sends the named files for that call alone and says so; the held-back line names the first five files and comes again only when the list changes — a file added, removed or opted in.
82
+
83
+ **A runner's jobs keep `yarn` and `pnpm` when the link restarts under another Node, and `charness remote-run runners` shows which Node and yarn the jobs run with.**
84
+ Before, `yarn` was on a job's PATH only when somebody had enabled it for the very Node that ran the link — a Node from nvm ships Corepack without its shims — so when the link restarted under another Node (nvm's default changed), the next job ended with `yarn: command not found` (exit 127) and nothing in `runners` hinted at why.
85
+ Now the runner offers `yarn` and `pnpm` as Corepack shims in its own `bin` whenever the Node and the system do not have them (at every link start and on `charness-runner check`; a Node without Corepack is reported in the log), and `runners` — in the terminal and in `/runners` — has a line `jobs run with: Node v24.22.2 · yarn 1.22.22`, with `yarn: NONE` when a job that calls it would fail.
86
+
87
+ **A runner's Simulators are kept silent: an iOS job on a Mac no longer plays its sound to whoever sits at it.**
88
+ Before, an app's voice preview in an iOS test on the runner Mac came out of the Mac's speakers — the owner heard it in a call in another account of the same machine — because a Simulator plays through the host's audio, whichever account runs it.
89
+ Now the runner silences each booted Simulator itself — its own volume state, set to 0 once its boot has finished and again after every boot — and touches nothing of the Mac's volume, output or mute; a command that fails is a line in the runner's log, never a failed job. It is a third-party measurement, not Apple's documentation, and the first seconds after a boot are not covered: the first real run on a Mac confirms it.
90
+
91
+ **iOS builds on an always-on Mac now run in the runner account's login session — where Xcode's nested builds work — and say honestly when there is none.**
92
+ Before, every job of a Mac kept running by the admin line's LaunchDaemons ran in launchd's System session, where the nested `xcodebuild` of an Expo build crashed (SIGTRAP at «Resolve Package Graph»; the same build passed from a LaunchAgent in the account's session), so an iOS build needed a hand-made wrapper around every command — and the runner said «ios: no — needs the runner user's login session» whenever the Simulator would not boot.
93
+ Now the admin line also loads a small LaunchAgent into the account's own login session (at once when there is one, at its next login otherwise): a job with `--needs ios` runs its dependencies and command there, as the same account with the same environment; with no session `charness remote-run runners` says «ios build: needs a login of runner», the job is refused with those words, and nothing logs in by itself — after a reboot, log in as the account once and switch back. Replacing a loaded service by pasting the admin line again waits for running jobs (it is refused until they are done), and removing the daemons removes the agent with them.
94
+
95
+ **A crash or restart of the login session's agent no longer leaves an iOS build running beside the next job.**
96
+ Before, a step the agent ran (an `xcodebuild`, say) was its own process group that a dying agent did not take along, so the job was cut with 125, its project lock went to the next job, and the orphaned build kept writing into the same tree and the job's log.
97
+ Now the agent records each step's process group and the job script ends that group (TERM, KILL after 10 s) before it goes on; an agent that starts ends the groups of the instance before it. And the agent no longer crashes when the job script has already removed a cut step's folder by the time the step's end is noticed.
98
+
99
+ **The Simulator silencer no longer boots a Simulator that a job has just shut down, and it also runs on a Mac whose link runs in a login session.**
100
+ Before, it waited for a device's boot with `simctl bootstatus -b`, which boots a device that is not booted — a device shut down between the list and the call stayed up with nobody to stop it — and it ran only inside the always-on Mac's login-session agent, so a Mac kept running by a user service or by `charness-runner run` was not silenced at all.
101
+ Now it asks `bootstatus` without `-b`, and a link that runs in a login session silences its own Simulators the same way; what a Simulator booted from the System session looks like to it is not verified and is said so in the docs.
102
+
103
+ **On an always-on Mac every job now runs in the runner account's login session while it exists — an iOS build no longer needs to be marked to avoid the System session's crash.**
104
+ Before, only a job started with `--needs ios` went through the login-session agent, so an iOS build sent to the Mac with `--runner mac` and no `--needs ios` still ran in the System session and hit the nested-`xcodebuild` crash with no hint of why.
105
+ Now every job's steps go through the agent while the session exists; with no session the jobs that do not need iOS run in the daemon as before, and `--needs ios` is refused with «ios build: needs a login of <account>». The agents' instructions and `charness remote-run --help` now say that an iOS build or a Simulator test always carries `--needs ios`.
106
+
107
+ **A runner now keeps its machine awake while it runs — lid open, the Mac never sleeps; lid closed, it sleeps as usual — and `runners` says whether it does.**
108
+ Before, a Mac runner that went idle between two jobs fell asleep, dropped the link, and the next job found it offline — the thing `caffeinate` does by hand — and nothing told the owner it was the Mac's sleep.
109
+ Now the link holds an idle-sleep assertion for as long as it runs — `caffeinate -i` on a Mac, `systemd-inhibit --what=idle` on Linux — tied to the link's process, so stopping, removing or crashing the runner lets the machine sleep again with no orphan; it never touches `pmset` or any admin power setting. Where it cannot (no tool, no D-Bus) `charness remote-run runners` and `/runners` (all 12 languages) say `keeps awake: NO — <why>`, otherwise `keeps awake: yes (…)`. A closed lid still sleeps the machine, and a laptop left open on battery drains it.
110
+
111
+ **After a reboot the login-session agent never signals a process it merely finds recorded on disk — an old process-group number may name Finder or the Dock by now.**
112
+ Before, the request folders of an always-on Mac survived a reboot, and the agent that started at the account's next login sent SIGTERM and then SIGKILL to the process group written in them; pids restart after a boot, so that number could belong to an unrelated group of the account (Finder, the Dock, a Simulator, the new agent itself), and a reused pid could make a dead job script look alive.
113
+ Now a request folder written before the system booted is removed without a signal, a recorded group is signalled only while its leader still has the start time recorded beside it, the job script's pid is checked the same way, an iOS step with no agent beating is refused at once with «ios build: needs a login of <account>», the job script ends a step's group before it goes on even when a restarted agent answered 125 itself, and a request folder that vanishes under the agent — or a group that cannot be recorded, or a request that cannot be handled at all — no longer crashes it, hangs the job or leaves a build running: such a step is ended and its job told it could not start.
114
+
115
+ **A runner stopped by Ctrl-C or a group kill now shuts down cleanly — the second signal no longer kills it under its own clean-up.**
116
+ Before, the app handled the first SIGINT/SIGTERM with a `once` handler, and a stop usually brings two (the launcher passes its TERM on while a terminal or a group kill hands the app another a few milliseconds later): the second took the default action and ended the process in the middle of the shutdown, so the sleep assertion's state file stayed behind and the stop did not run its clean-up (seen as a flake of the link flow under load).
117
+ Now the stop handlers stay installed, the first signal stops the runner and the later ones are ignored; the same goes for the login-session agent.
118
+
119
+ **`charness remote-run … exec` no longer prints a stray `mv: cannot stat …` line after the command's exit code.**
120
+ Before, when a quick command ended, the runner's lease could still be writing its heartbeat into a folder that had just been removed, and the `mv` error reached the caller's stderr after the exit marker — the line the CLI takes as the last one.
121
+ Now that heartbeat write is silent, so the marker is the last thing on stderr.
122
+
123
+ **A job whose command ignores SIGTERM is now always killed after the grace time, also when the runner is busy.**
124
+ Before, a stop that came from the lease's own watcher (the caller's connection lost, or an interrupt racing it) recorded the job as killed and only then looked for its process group to send the SIGKILL; the lease ended that watcher as soon as the record appeared, so on a loaded machine it could die in between and the command went on running in a job that already read as killed, with nothing left to stop it.
125
+ Now the kill ignores TERM and HUP once it has begun, so the SIGKILL always follows its record.
126
+
127
+ **`charness remote-run logs -f` no longer prints a stray `No such file or directory` line, with the runner's path in it, for a job whose log is not there yet.**
128
+ Before, the runner script measured the log with `wc -c < "$jd/log" 2> /dev/null`, and the shell reports a failed input redirect before the `2>` of the same command applies, so the message reached the caller's stderr.
129
+ Now the size is read with the `2>` first, and a missing log reads as an empty one.
130
+
5
131
  ## 3.9.1 — 2026-11-04
6
132
 
7
133
  **An @-mention of the AI account in a Jira issue it is already working on no longer makes it believe the issue is not handed to it, and no longer stops its build.**
package/DEVELOPMENT.md CHANGED
@@ -138,6 +138,9 @@ yarn test # test:unit, then test:flows (node test runner + tsx); build
138
138
  yarn test:unit # every file but the flows; each file must finish in 2 min
139
139
  yarn test:flows # the `*E2e.test.ts` flows, 16 files at a time (they mostly wait
140
140
  # on their fakes, not the CPU); each file must finish in 20 min
141
+ yarn runner-lock # after ANY dependency change: rewrite remoteRun/runner-package-lock.json (the
142
+ # lock the runners install from, made from yarn.lock; fetches the sha512
143
+ # hashes of new versions from the registry). A unit test fails until you do
141
144
  yarn hot # hot-reload mode: tsc -w + nodemon on dist/ (also
142
145
  # `charness hot` from anywhere) — a broken edit can't
143
146
  # take the bot down; OpenCode generations stay outside the
@@ -181,7 +184,7 @@ below the 10 s floor of `jira.json`, `requestTurnPollMs` — the wake-up engine'
181
184
  `requestSweepIntervalMs` and `requestFirstPostRetryDelayMs` — the wake-up engine's minutes, `limitProbeDelayMs` — the two-minute probe of an unconfirmed usage limit, `stateSaveDebounceMs` — `state.json`'s
182
185
  500 ms save debounce, `openCodeServerUpBudgetMs` — the OpenCode server's 60 s of retries, `backgroundHoldMaxMs` — the 6 h the
183
186
  agent's own pending work holds a json-stream process, `todoReminderPollMs` and `todoReminderIntervalMs` — the todo
184
- reminder's 10 s poll and the interval `settings.json` sets, `scheduleMinFireIntervalMs` — the 5 min minimum between cron fires, `bindPickerClaimLimit` — how many `/bind` picker claims are kept (a count: 200), `remoteRunLeaseMs` and `remoteRunRunnerPollMs` — the 45 s heartbeat lease and the 10 s poll of the wait for a paired runner in `charness remote-run`, `tscWatchCheckIntervalMs` and `tscWatchStaleGraceMs` — the
187
+ reminder's 10 s poll and the interval `settings.json` sets, `scheduleMinFireIntervalMs` — the 5 min minimum between cron fires, `checkStatusIntervalMs` — the 15 min gap between a passing check's status lines, `bindPickerClaimLimit` — how many `/bind` picker claims are kept (a count: 200), `remoteRunLeaseMs` and `remoteRunRunnerPollMs` — the 45 s heartbeat lease and the 10 s poll of the wait for a paired runner in `charness remote-run`, `tscWatchCheckIntervalMs` and `tscWatchStaleGraceMs` — the
185
188
  hot supervisor's 30 s check of its `tsc -w` and the minute a source may stay newer than its output; the supervisor reads these last two, the remote-run CLI the two before them, the bot the rest).
186
189
  It is the ONE test-only timing seam,
187
190
  never a setting: unset, every window is the production one; a value may only shorten its window (each key is capped at its
package/SETUP.md CHANGED
@@ -581,7 +581,7 @@ usable right now.
581
581
  | `engines` | Ordered, at most 6. `kind`: `groq`, `openai`, `url` (any OpenAI-compatible `/audio/transcriptions` endpoint — give the full URL; `apiKey` is optional there) or `gigaam` (the local engine). `id` is 1–8 lowercase letters or digits, unique. `isDisabled: true` keeps an engine listed but unused |
582
582
  | `timeout` | Per engine: `baseSeconds` + `percentOfDuration` % of the voice's length (default 10 s + 25 %), so a 30 s voice gets 17.5 s and a 5 min voice 85 s |
583
583
  | `language` | Two-letter code (`ru`, `en`, …) sent to the engines as a hint; leave it out to let the engine detect the language |
584
- | `gigaam` | `idleMinutes` (default 15, `0` = never) and `workers` (1, 2, 4 or 8; default 4) of the local engine |
584
+ | `gigaam` | `idleMinutes` (default 60, `0` = never) and `workers` (1, 2, 4 or 8; default 4) of the local engine. Only values that differ from the defaults are stored — a file without them follows the defaults. (A note beside the file, `stt.defaults-migrated`, records that an idle exit of exactly 15 minutes, the old default that earlier builds wrote themselves, was dropped once; leave it alone.) **A hand-written 15:** write it WITHOUT a default value beside it — `"gigaam": { "idleMinutes": 15 }`, not `{ "idleMinutes": 15, "workers": 4 }` — or it is taken for an older charness's and dropped at the next start, with a line in the log |
585
585
 
586
586
  An engine without what it needs (no key, no URL) is skipped and logged once. With no usable engine, a voice
587
587
  note is answered with a pointer to this setup.
@@ -602,9 +602,11 @@ next start and shows the progress in General (or in its log).
602
602
  on Debian/Ubuntu). The install builds a private venv — your Python is left alone.
603
603
  - **Disk:** about 500 MB under `<DATA_DIR>/stt` (the model is 216 MB; the rest is the Python packages and their cache — about 100 MB of it is the ffmpeg libraries that read MP3, M4A and joined OGG files).
604
604
  - **RAM:** nothing while it is not running. The recogniser process starts with the first voice note that needs it (about
605
- +2–3 s once), uses about 0.5 GB for short voices and up to about 0.9 GB while a 5-minute voice is recognised with the
606
- default 4 workers, and exits by itself after 15 idle minutes (`gigaam.idleMinutes`, `0` = never). Idle time, workers,
607
- «Try again now» and removing the model files are on the engine's card in `/stt`, not on the main screen.
605
+ +2–3 s once; on a busy machine the load takes longer and the voice WAITS for it, up to 2 minutes from the engine's own start, instead of failing — the
606
+ engine is asked for as soon as the voice note arrives; with another engine listed after it, the voice moves on to that one after about 15 s while the local engine keeps loading for the next voice), uses about 0.5 GB for short voices and up to about 0.9 GB while a
607
+ 5-minute voice is recognised with the default 4 workers, and exits by itself after 60 idle minutes (`gigaam.idleMinutes`,
608
+ `0` = never; a small machine picks less). Idle time, workers, «Try again now» and removing the model files are on the
609
+ engine's card in `/stt`, not on the main screen.
608
610
  - **Speed** (4 cores, loaded): a short voice in 1–2 s, a 5-minute voice in about 20 s — long voices are cut at pauses and
609
611
  recognised in parallel. A hot reload of the bot keeps a running recogniser; stopping or killing the bot takes it down.
610
612
  - **Russian only.** English words come out in Cyrillic or garbled; with a `language` other than `ru` set, the engine is
@@ -27,8 +27,8 @@ conversations, Claude Code and OpenCode. The operator's own sessions outside the
27
27
  - Folder name = frontmatter `name` = `charness-<role>`. OpenCode has no namespaces: a skill named like a
28
28
  project's or user's own one (`manager`) would replace it there.
29
29
  - The watch recipe in `charness-manager` is the `workerWatchCheckCommand` constant of
30
- `src/scheduler/workerWatch.ts` verbatim (a unit test holds them equal), and every bot tool a skill names must
31
- exist on the bot's MCP surface.
30
+ `src/scheduler/workerWatch.ts` verbatim, with its cron, its silent pin and its status arguments (the bot posts the
31
+ topic's status line; a unit test holds them equal), and every bot tool a skill names must exist on the bot's MCP surface.
32
32
  - Written for this public repository: no real ids, paths or names. The shared rules repository keeps its own
33
33
  `manager`; a change wanted in both is ported by hand.
34
34
  - Shipped in the npm package (`files`); a commit that touches only this folder still counts as a release change.
@@ -61,7 +61,7 @@ jq -r 'select(.type=="tool_use" or .type=="text") |
61
61
  ## Resume
62
62
 
63
63
  - Confirm the old PID is gone, then repeat the launch with `--session "<session-id>"`, a new brief and new log
64
- files, and arm a new check. Keep the checkout, model and variant. Never `--continue` or `--fork`.
64
+ files (`events-2.jsonl`, …), and arm a new check. Keep the checkout, model and variant. Never `--continue` or `--fork`.
65
65
  - A turn stopped by a provider's usage limit: resume the same session with another provider's model whose
66
66
  context window holds the session.
67
67
  - To stop a worker: confirm the PID is that worker (`ps -o args= -p <pid>`), `kill -TERM <pid>`, confirm it is
@@ -53,8 +53,9 @@ informed. You never write product code and never review a diff yourself.
53
53
 
54
54
  ## Watch every worker with a bot check
55
55
 
56
- Right after each launch, create ONE check for that worker run with `schedule_create`: cron `*/10 * * * *`,
57
- `isPinSilent: true`, a name like `watch <role> <scope>`, and this `checkCommand` with the real PID and run directory:
56
+ Right after each launch, create ONE check for that worker run with `schedule_create`: cron `*/5 * * * *`,
57
+ `isPinSilent: true`, `statusWorkerRunDir: "<run-dir>", statusEveryMinutes: 15`, a name like `watch <role> <scope>`, and this
58
+ `checkCommand` with the real PID and run directory:
58
59
 
59
60
  ```
60
61
  kill -0 <pid> 2>/dev/null || { echo "worker <pid> exited"; exit 1; }; [ -n "$(find "<run-dir>" -mmin -45 -print -quit)" ] || { echo "<run-dir>: no change for 45 min"; exit 2; }
@@ -64,6 +65,9 @@ kill -0 <pid> 2>/dev/null || { echo "worker <pid> exited"; exit 1; }; [ -n "$(fi
64
65
  minutes. A check that only runs `kill -0 <pid>` never fires on a hung worker — never arm one.
65
66
  - `isPinSilent: true`: the check's alert is pinned, and a worker that simply finished fires it too — a loud pin
66
67
  per finished worker would notify the user for nothing. What the user must notice you ask as a question.
68
+ - The status arguments make the BOT post a silent status line into the topic every 15 minutes while the check
69
+ passes (`⏳ <name> · works 30 min · now: <the worker's last action>`), replacing the previous one — no wake, no
70
+ tokens, so the topic never looks frozen while you are away. Never arm a schedule of your own for status lines.
67
71
  - The run directory is where the worker writes all the time (its event log). A worker that runs one long command
68
72
  may write nothing for a while: add the folder that command writes to (`find "<run-dir>" "<test-output-dir>" …`).
69
73
  - The check's `prompt` must stand on its own — the wake may reach a resumed or compacted you: the role, the scope
@@ -72,8 +76,8 @@ kill -0 <pid> 2>/dev/null || { echo "worker <pid> exited"; exit 1; }; [ -n "$(fi
72
76
  event, its exit, the end of its log), then decide: finished → the next step of the loop; stalled → look at its
73
77
  last tool call, stop it, resume the same session; stopped by a usage limit → resume it at once on another account
74
78
  (Accounts and usage limits).
75
- - Then cancel the check (`schedule_list` → `schedule_cancel`) — that also unpins its alert, so a finished worker
76
- leaves nothing pinned. A new run gets a new check.
79
+ - Then cancel the check (`schedule_list` → `schedule_cancel`) — that also unpins its alert and deletes its status
80
+ line, so a finished worker leaves nothing behind. A new run gets a new check.
77
81
  - Never build your own watcher: no sleep loop, `CronCreate`, `ScheduleWakeup`, background job or tmux pane. They
78
82
  live in your process, which the bot stops after an idle stretch.
79
83
 
package/dist/bot.d.ts CHANGED
@@ -179,27 +179,36 @@ export declare function postReattachRecap(key: SessionKey, adapter: Pick<AgentAd
179
179
  * wire the real bot client + the persist choke point.
180
180
  */
181
181
  export interface ReconcileTransientFramesDeps {
182
- /** Best-effort delete of one Telegram message (Telegraf resolves `true`). */
182
+ /** Delete one Telegram message; rejects with Telegram's error when it cannot (Telegraf resolves `true` otherwise). */
183
183
  deleteMessage: (chatId: number, messageId: number) => Promise<boolean>;
184
- /** Re-sync disk to the thread's LIVE in-memory frame ids after the stale deletes. */
185
- persistFrames: (key: SessionKey) => void;
184
+ /**
185
+ * Replace the thread's `undeletedMessageIds` — the stale ids still to delete — and mirror the live + undeleted ids to disk.
186
+ * Called with every stale id BEFORE the deletes (so the record survives a reattached session persisting its own frames, and a
187
+ * second restart in the middle) and with the ones that must be retried AFTER them.
188
+ */
189
+ setUndeletedMessageIds: (key: SessionKey, messageIds: number[]) => void;
190
+ /** Whether a failed delete is worth another try later ({@link checkIsRetryableTelegramError}). */
191
+ checkIsRetryable: (error: unknown) => boolean;
186
192
  }
187
193
  /**
188
- * @description Delete transient status frames left on screen by an UNGRACEFUL
189
- * exit (crash / SIGKILL — the graceful shutdown sweep never ran), so a
190
- * "✽ working…" / thinking / sub-agent frame doesn't stick forever in a topic
191
- * (S2, the crash safety net behind S1). Deletes every id in the `orphaned`
192
- * snapshot best-effort (swallowing "message not found" / too-old). The snapshot
193
- * MUST be captured BEFORE reattach (see {@link startBot}): a reattached
194
- * session's frame setters persist the fresh in-memory state and would clobber
195
- * the live persisted set first. Every snapshot id is stale by definition (the
196
- * fresh process holds no handle to it; a still-busy reattached session repaints
197
- * its OWN fresh frame), so deleting is always safe. After deleting, re-persist
198
- * the CURRENT live frame ids per thread so disk reflects post-reattach truth
199
- * (the repainted frame's id, or empty) instead of the consumed stale ids. A
200
- * graceful exit already cleared the set in its sweep, so this is normally a
201
- * no-op.
194
+ * @description Delete transient messages left on screen by an exit that did not
195
+ * finish its own cleanup — a crash / SIGKILL (the graceful shutdown sweep never
196
+ * ran) or a sweep whose deletes hit a bad moment: the "✽ working…" / thinking /
197
+ * sub-agent frames and the «transcribing…» voice notes (S2, the crash safety net
198
+ * behind S1). The snapshot MUST be captured BEFORE reattach (see {@link startBot}):
199
+ * a reattached session's frame setters persist the fresh in-memory state and would
200
+ * clobber the live persisted set first. Every snapshot id is stale by definition
201
+ * (the fresh process holds no handle to it; a still-busy reattached session
202
+ * repaints its OWN fresh frame), so deleting is always safe.
203
+ *
204
+ * The stale ids are first parked in the thread's `undeletedMessageIds` (persisted
205
+ * with the live ids), then deleted; a delete that fails for a reason a later try can
206
+ * fix (no answer from Telegram, a 429, a 5xx) KEEPS its id there — the next sweep and
207
+ * the next boot retry it — while a final answer (already gone, too old to delete,
208
+ * refused) settles it. Before, the persisted set was re-synced to the live ids at
209
+ * once and a failed delete was forgotten: the frame stayed in the topic with no
210
+ * record left. Resolves with how many stale ids were settled; never rejects.
202
211
  */
203
- export declare function reconcileTransientFrames(orphaned: Record<string, number[]>, deps?: ReconcileTransientFramesDeps): number;
212
+ export declare function reconcileTransientFrames(orphaned: Record<string, number[]>, deps?: ReconcileTransientFramesDeps): Promise<number>;
204
213
  export declare function startBot(): Promise<void>;
205
214
  //# sourceMappingURL=bot.d.ts.map
package/dist/bot.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"bot.d.ts","sourceRoot":"","sources":["../src/bot.ts"],"names":[],"mappings":"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