charness 4.2.0 → 4.3.1

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 (553) hide show
  1. package/CHANGELOG.md +168 -2
  2. package/DEVELOPMENT.md +58 -10
  3. package/LICENSE +331 -151
  4. package/MIGRATION_3_TO_4.md +8 -5
  5. package/README.md +21 -9
  6. package/SETUP.md +54 -10
  7. package/agent-plugin/README.md +10 -3
  8. package/agent-plugin/skills/charness-delegate-claude/SKILL.md +18 -27
  9. package/agent-plugin/skills/charness-delegate-opencode/SKILL.md +5 -3
  10. package/agent-plugin/skills/charness-orchestration/SKILL.md +62 -16
  11. package/dist/adapters/claudeCliAdapter.d.ts +4 -0
  12. package/dist/adapters/claudeCliAdapter.d.ts.map +1 -1
  13. package/dist/adapters/claudeCliAdapter.js +13 -0
  14. package/dist/adapters/claudeCliAdapter.js.map +1 -1
  15. package/dist/adapters/claudeJsonStreamAdapter.d.ts +136 -10
  16. package/dist/adapters/claudeJsonStreamAdapter.d.ts.map +1 -1
  17. package/dist/adapters/claudeJsonStreamAdapter.js +365 -77
  18. package/dist/adapters/claudeJsonStreamAdapter.js.map +1 -1
  19. package/dist/adapters/createAdapter.d.ts +12 -3
  20. package/dist/adapters/createAdapter.d.ts.map +1 -1
  21. package/dist/adapters/createAdapter.js +39 -13
  22. package/dist/adapters/createAdapter.js.map +1 -1
  23. package/dist/adapters/openCodeAdapter.d.ts +34 -0
  24. package/dist/adapters/openCodeAdapter.d.ts.map +1 -1
  25. package/dist/adapters/openCodeAdapter.js +118 -11
  26. package/dist/adapters/openCodeAdapter.js.map +1 -1
  27. package/dist/apiErrorRetry.d.ts +11 -3
  28. package/dist/apiErrorRetry.d.ts.map +1 -1
  29. package/dist/apiErrorRetry.js +33 -3
  30. package/dist/apiErrorRetry.js.map +1 -1
  31. package/dist/apiRetryKick.d.ts +18 -7
  32. package/dist/apiRetryKick.d.ts.map +1 -1
  33. package/dist/apiRetryKick.js +26 -13
  34. package/dist/apiRetryKick.js.map +1 -1
  35. package/dist/bot.d.ts +2 -6
  36. package/dist/bot.d.ts.map +1 -1
  37. package/dist/bot.js +2055 -653
  38. package/dist/bot.js.map +1 -1
  39. package/dist/cli/claudeProfiles.d.ts +28 -6
  40. package/dist/cli/claudeProfiles.d.ts.map +1 -1
  41. package/dist/cli/claudeProfiles.js +89 -22
  42. package/dist/cli/claudeProfiles.js.map +1 -1
  43. package/dist/cli.d.ts.map +1 -1
  44. package/dist/cli.js +2 -1
  45. package/dist/cli.js.map +1 -1
  46. package/dist/connectors/jira/answerSink.d.ts +102 -7
  47. package/dist/connectors/jira/answerSink.d.ts.map +1 -1
  48. package/dist/connectors/jira/answerSink.js +366 -60
  49. package/dist/connectors/jira/answerSink.js.map +1 -1
  50. package/dist/connectors/jira/answerThreads.d.ts +44 -0
  51. package/dist/connectors/jira/answerThreads.d.ts.map +1 -0
  52. package/dist/connectors/jira/answerThreads.js +85 -0
  53. package/dist/connectors/jira/answerThreads.js.map +1 -0
  54. package/dist/connectors/jira/client.d.ts +67 -2
  55. package/dist/connectors/jira/client.d.ts.map +1 -1
  56. package/dist/connectors/jira/client.js +176 -4
  57. package/dist/connectors/jira/client.js.map +1 -1
  58. package/dist/connectors/jira/config.d.ts +6 -0
  59. package/dist/connectors/jira/config.d.ts.map +1 -1
  60. package/dist/connectors/jira/config.js +14 -1
  61. package/dist/connectors/jira/config.js.map +1 -1
  62. package/dist/connectors/jira/connector.d.ts +19 -0
  63. package/dist/connectors/jira/connector.d.ts.map +1 -1
  64. package/dist/connectors/jira/connector.js +68 -6
  65. package/dist/connectors/jira/connector.js.map +1 -1
  66. package/dist/connectors/jira/contextPreamble.d.ts.map +1 -1
  67. package/dist/connectors/jira/contextPreamble.js +6 -1
  68. package/dist/connectors/jira/contextPreamble.js.map +1 -1
  69. package/dist/connectors/jira/inbound.d.ts +21 -6
  70. package/dist/connectors/jira/inbound.d.ts.map +1 -1
  71. package/dist/connectors/jira/inbound.js +22 -16
  72. package/dist/connectors/jira/inbound.js.map +1 -1
  73. package/dist/connectors/jira/issueBlocks.d.ts +8 -1
  74. package/dist/connectors/jira/issueBlocks.d.ts.map +1 -1
  75. package/dist/connectors/jira/issueBlocks.js +38 -2
  76. package/dist/connectors/jira/issueBlocks.js.map +1 -1
  77. package/dist/connectors/jira/operatorIssue.d.ts +28 -0
  78. package/dist/connectors/jira/operatorIssue.d.ts.map +1 -0
  79. package/dist/connectors/jira/operatorIssue.js +81 -0
  80. package/dist/connectors/jira/operatorIssue.js.map +1 -0
  81. package/dist/connectors/jira/outbound.d.ts +8 -4
  82. package/dist/connectors/jira/outbound.d.ts.map +1 -1
  83. package/dist/connectors/jira/outbound.js +16 -8
  84. package/dist/connectors/jira/outbound.js.map +1 -1
  85. package/dist/connectors/jira/outgoingFileCheck.d.ts +37 -0
  86. package/dist/connectors/jira/outgoingFileCheck.d.ts.map +1 -0
  87. package/dist/connectors/jira/outgoingFileCheck.js +279 -0
  88. package/dist/connectors/jira/outgoingFileCheck.js.map +1 -0
  89. package/dist/connectors/jira/outgoingFiles.d.ts +81 -0
  90. package/dist/connectors/jira/outgoingFiles.d.ts.map +1 -0
  91. package/dist/connectors/jira/outgoingFiles.js +268 -0
  92. package/dist/connectors/jira/outgoingFiles.js.map +1 -0
  93. package/dist/connectors/jira/progressComments.d.ts +69 -0
  94. package/dist/connectors/jira/progressComments.d.ts.map +1 -0
  95. package/dist/connectors/jira/progressComments.js +136 -0
  96. package/dist/connectors/jira/progressComments.js.map +1 -0
  97. package/dist/connectors/jira/prompt.d.ts +5 -1
  98. package/dist/connectors/jira/prompt.d.ts.map +1 -1
  99. package/dist/connectors/jira/prompt.js +23 -3
  100. package/dist/connectors/jira/prompt.js.map +1 -1
  101. package/dist/connectors/jira/promptSpill.js +1 -1
  102. package/dist/connectors/jira/promptSpill.js.map +1 -1
  103. package/dist/connectors/jira/trigger.d.ts +13 -5
  104. package/dist/connectors/jira/trigger.d.ts.map +1 -1
  105. package/dist/connectors/jira/trigger.js +13 -7
  106. package/dist/connectors/jira/trigger.js.map +1 -1
  107. package/dist/connectors/jira/uploadedFiles.d.ts +48 -0
  108. package/dist/connectors/jira/uploadedFiles.d.ts.map +1 -0
  109. package/dist/connectors/jira/uploadedFiles.js +123 -0
  110. package/dist/connectors/jira/uploadedFiles.js.map +1 -0
  111. package/dist/connectors/telegram/commands/backendSwitch.d.ts +9 -1
  112. package/dist/connectors/telegram/commands/backendSwitch.d.ts.map +1 -1
  113. package/dist/connectors/telegram/commands/backendSwitch.js +17 -8
  114. package/dist/connectors/telegram/commands/backendSwitch.js.map +1 -1
  115. package/dist/connectors/telegram/commands/botSkills.d.ts +2 -0
  116. package/dist/connectors/telegram/commands/botSkills.d.ts.map +1 -1
  117. package/dist/connectors/telegram/commands/botSkills.js +17 -2
  118. package/dist/connectors/telegram/commands/botSkills.js.map +1 -1
  119. package/dist/connectors/telegram/commands/claudeAccounts.d.ts +6 -0
  120. package/dist/connectors/telegram/commands/claudeAccounts.d.ts.map +1 -1
  121. package/dist/connectors/telegram/commands/claudeAccounts.js +22 -4
  122. package/dist/connectors/telegram/commands/claudeAccounts.js.map +1 -1
  123. package/dist/connectors/telegram/commands/compaction.d.ts +14 -3
  124. package/dist/connectors/telegram/commands/compaction.d.ts.map +1 -1
  125. package/dist/connectors/telegram/commands/compaction.js +261 -96
  126. package/dist/connectors/telegram/commands/compaction.js.map +1 -1
  127. package/dist/connectors/telegram/commands/limitReminders.d.ts +21 -0
  128. package/dist/connectors/telegram/commands/limitReminders.d.ts.map +1 -0
  129. package/dist/connectors/telegram/commands/limitReminders.js +95 -0
  130. package/dist/connectors/telegram/commands/limitReminders.js.map +1 -0
  131. package/dist/connectors/telegram/commands/limitsBoard.d.ts +4 -0
  132. package/dist/connectors/telegram/commands/limitsBoard.d.ts.map +1 -1
  133. package/dist/connectors/telegram/commands/limitsBoard.js +27 -6
  134. package/dist/connectors/telegram/commands/limitsBoard.js.map +1 -1
  135. package/dist/connectors/telegram/commands/modelProviders.d.ts +2 -2
  136. package/dist/connectors/telegram/commands/modelProviders.d.ts.map +1 -1
  137. package/dist/connectors/telegram/commands/modelProviders.js +27 -16
  138. package/dist/connectors/telegram/commands/modelProviders.js.map +1 -1
  139. package/dist/connectors/telegram/commands/topicCommand.d.ts.map +1 -1
  140. package/dist/connectors/telegram/commands/topicCommand.js +7 -2
  141. package/dist/connectors/telegram/commands/topicCommand.js.map +1 -1
  142. package/dist/connectors/telegram/commands/workerRoles.d.ts +25 -0
  143. package/dist/connectors/telegram/commands/workerRoles.d.ts.map +1 -0
  144. package/dist/connectors/telegram/commands/workerRoles.js +259 -0
  145. package/dist/connectors/telegram/commands/workerRoles.js.map +1 -0
  146. package/dist/connectors/telegram/groupWelcome.d.ts +12 -0
  147. package/dist/connectors/telegram/groupWelcome.d.ts.map +1 -0
  148. package/dist/connectors/telegram/groupWelcome.js +12 -0
  149. package/dist/connectors/telegram/groupWelcome.js.map +1 -0
  150. package/dist/connectors/telegram/inbound.d.ts +7 -0
  151. package/dist/connectors/telegram/inbound.d.ts.map +1 -1
  152. package/dist/connectors/telegram/inbound.js +10 -0
  153. package/dist/connectors/telegram/inbound.js.map +1 -1
  154. package/dist/connectors/telegram/outputFlushPlan.d.ts +12 -0
  155. package/dist/connectors/telegram/outputFlushPlan.d.ts.map +1 -1
  156. package/dist/connectors/telegram/outputFlushPlan.js +12 -0
  157. package/dist/connectors/telegram/outputFlushPlan.js.map +1 -1
  158. package/dist/connectors/telegram/runnerPairingMessages.d.ts +1 -1
  159. package/dist/connectors/telegram/topicIndicator.d.ts +1 -1
  160. package/dist/connectors/telegram/topicIndicator.d.ts.map +1 -1
  161. package/dist/connectors/telegram/topicIndicator.js +103 -5
  162. package/dist/connectors/telegram/topicIndicator.js.map +1 -1
  163. package/dist/effortLevels.d.ts +6 -0
  164. package/dist/effortLevels.d.ts.map +1 -1
  165. package/dist/effortLevels.js +6 -1
  166. package/dist/effortLevels.js.map +1 -1
  167. package/dist/i18n/de.d.ts.map +1 -1
  168. package/dist/i18n/de.js +95 -14
  169. package/dist/i18n/de.js.map +1 -1
  170. package/dist/i18n/en.d.ts.map +1 -1
  171. package/dist/i18n/en.js +95 -14
  172. package/dist/i18n/en.js.map +1 -1
  173. package/dist/i18n/es.d.ts.map +1 -1
  174. package/dist/i18n/es.js +95 -14
  175. package/dist/i18n/es.js.map +1 -1
  176. package/dist/i18n/fr.d.ts.map +1 -1
  177. package/dist/i18n/fr.js +95 -14
  178. package/dist/i18n/fr.js.map +1 -1
  179. package/dist/i18n/hi.d.ts.map +1 -1
  180. package/dist/i18n/hi.js +95 -14
  181. package/dist/i18n/hi.js.map +1 -1
  182. package/dist/i18n/ja.d.ts.map +1 -1
  183. package/dist/i18n/ja.js +95 -14
  184. package/dist/i18n/ja.js.map +1 -1
  185. package/dist/i18n/ka.d.ts.map +1 -1
  186. package/dist/i18n/ka.js +95 -14
  187. package/dist/i18n/ka.js.map +1 -1
  188. package/dist/i18n/pt.d.ts.map +1 -1
  189. package/dist/i18n/pt.js +95 -14
  190. package/dist/i18n/pt.js.map +1 -1
  191. package/dist/i18n/ru.d.ts.map +1 -1
  192. package/dist/i18n/ru.js +95 -14
  193. package/dist/i18n/ru.js.map +1 -1
  194. package/dist/i18n/uk.d.ts.map +1 -1
  195. package/dist/i18n/uk.js +95 -14
  196. package/dist/i18n/uk.js.map +1 -1
  197. package/dist/i18n/uz.d.ts.map +1 -1
  198. package/dist/i18n/uz.js +95 -14
  199. package/dist/i18n/uz.js.map +1 -1
  200. package/dist/i18n/zh.d.ts.map +1 -1
  201. package/dist/i18n/zh.js +95 -14
  202. package/dist/i18n/zh.js.map +1 -1
  203. package/dist/instanceSettings.d.ts +24 -2
  204. package/dist/instanceSettings.d.ts.map +1 -1
  205. package/dist/instanceSettings.js +75 -3
  206. package/dist/instanceSettings.js.map +1 -1
  207. package/dist/limitNotes/engine.d.ts +47 -0
  208. package/dist/limitNotes/engine.d.ts.map +1 -0
  209. package/dist/limitNotes/engine.js +98 -0
  210. package/dist/limitNotes/engine.js.map +1 -0
  211. package/dist/limitNotes/noteText.d.ts +33 -0
  212. package/dist/limitNotes/noteText.d.ts.map +1 -0
  213. package/dist/limitNotes/noteText.js +55 -0
  214. package/dist/limitNotes/noteText.js.map +1 -0
  215. package/dist/limitNotes/plan.d.ts +147 -0
  216. package/dist/limitNotes/plan.d.ts.map +1 -0
  217. package/dist/limitNotes/plan.js +323 -0
  218. package/dist/limitNotes/plan.js.map +1 -0
  219. package/dist/limitNotes/reminderChoices.d.ts +30 -0
  220. package/dist/limitNotes/reminderChoices.d.ts.map +1 -0
  221. package/dist/limitNotes/reminderChoices.js +48 -0
  222. package/dist/limitNotes/reminderChoices.js.map +1 -0
  223. package/dist/limitNotes/service.d.ts +106 -0
  224. package/dist/limitNotes/service.d.ts.map +1 -0
  225. package/dist/limitNotes/service.js +169 -0
  226. package/dist/limitNotes/service.js.map +1 -0
  227. package/dist/openCodeSessionTitle.js +1 -1
  228. package/dist/openCodeSessionTitle.js.map +1 -1
  229. package/dist/outputTrace.d.ts +19 -0
  230. package/dist/outputTrace.d.ts.map +1 -1
  231. package/dist/outputTrace.js +23 -2
  232. package/dist/outputTrace.js.map +1 -1
  233. package/dist/platform/answerSink.d.ts +23 -0
  234. package/dist/platform/answerSink.d.ts.map +1 -1
  235. package/dist/platform/answerSink.js.map +1 -1
  236. package/dist/platform/operatorAlert.d.ts +24 -0
  237. package/dist/platform/operatorAlert.d.ts.map +1 -0
  238. package/dist/platform/operatorAlert.js +9 -0
  239. package/dist/platform/operatorAlert.js.map +1 -0
  240. package/dist/postToSession.d.ts +34 -2
  241. package/dist/postToSession.d.ts.map +1 -1
  242. package/dist/postToSession.js +31 -2
  243. package/dist/postToSession.js.map +1 -1
  244. package/dist/remoteRun/exitCodes.d.ts +2 -2
  245. package/dist/remoteRun/exitCodes.d.ts.map +1 -1
  246. package/dist/remoteRun/exitCodes.js +2 -2
  247. package/dist/remoteRun/exitCodes.js.map +1 -1
  248. package/dist/remoteRun/foreground.d.ts.map +1 -1
  249. package/dist/remoteRun/foreground.js +5 -1
  250. package/dist/remoteRun/foreground.js.map +1 -1
  251. package/dist/remoteRun/runnerClient.d.ts +1 -1
  252. package/dist/remoteRun/runnerClient.d.ts.map +1 -1
  253. package/dist/remoteRun/runnerClient.js +3 -3
  254. package/dist/remoteRun/runnerClient.js.map +1 -1
  255. package/dist/requests/answerRequest.d.ts +3 -0
  256. package/dist/requests/answerRequest.d.ts.map +1 -1
  257. package/dist/requests/answerRequest.js +9 -2
  258. package/dist/requests/answerRequest.js.map +1 -1
  259. package/dist/requests/limitWaitAnswer.d.ts +14 -0
  260. package/dist/requests/limitWaitAnswer.d.ts.map +1 -1
  261. package/dist/requests/limitWaitAnswer.js +26 -4
  262. package/dist/requests/limitWaitAnswer.js.map +1 -1
  263. package/dist/requests/requestHeader.d.ts +37 -5
  264. package/dist/requests/requestHeader.d.ts.map +1 -1
  265. package/dist/requests/requestHeader.js +70 -17
  266. package/dist/requests/requestHeader.js.map +1 -1
  267. package/dist/requests/scheduleWait.d.ts +79 -0
  268. package/dist/requests/scheduleWait.d.ts.map +1 -0
  269. package/dist/requests/scheduleWait.js +101 -0
  270. package/dist/requests/scheduleWait.js.map +1 -0
  271. package/dist/requests/sessionTurnProbe.d.ts +26 -3
  272. package/dist/requests/sessionTurnProbe.d.ts.map +1 -1
  273. package/dist/requests/sessionTurnProbe.js +22 -3
  274. package/dist/requests/sessionTurnProbe.js.map +1 -1
  275. package/dist/requests/topicRequestSettle.d.ts +13 -7
  276. package/dist/requests/topicRequestSettle.d.ts.map +1 -1
  277. package/dist/requests/topicRequestSettle.js +2 -2
  278. package/dist/requests/topicRequestSettle.js.map +1 -1
  279. package/dist/requests/trackerTurnPoster.d.ts +30 -0
  280. package/dist/requests/trackerTurnPoster.d.ts.map +1 -0
  281. package/dist/requests/trackerTurnPoster.js +36 -0
  282. package/dist/requests/trackerTurnPoster.js.map +1 -0
  283. package/dist/requests/types.d.ts +26 -5
  284. package/dist/requests/types.d.ts.map +1 -1
  285. package/dist/requests/wakeUpEngine.d.ts +201 -12
  286. package/dist/requests/wakeUpEngine.d.ts.map +1 -1
  287. package/dist/requests/wakeUpEngine.js +514 -44
  288. package/dist/requests/wakeUpEngine.js.map +1 -1
  289. package/dist/requests/wakeUpRules.d.ts +185 -14
  290. package/dist/requests/wakeUpRules.d.ts.map +1 -1
  291. package/dist/requests/wakeUpRules.js +169 -36
  292. package/dist/requests/wakeUpRules.js.map +1 -1
  293. package/dist/resumeContext.d.ts +2 -2
  294. package/dist/resumeContext.js +3 -3
  295. package/dist/resumeContext.js.map +1 -1
  296. package/dist/runnerUtility/adminService.js +1 -1
  297. package/dist/runnerUtility/adminService.js.map +1 -1
  298. package/dist/runnerUtility/guiAgent.d.ts +1 -1
  299. package/dist/runnerUtility/guiAgent.d.ts.map +1 -1
  300. package/dist/runnerUtility/guiAgent.js +1 -1
  301. package/dist/runnerUtility/guiAgent.js.map +1 -1
  302. package/dist/runnerUtility/managedNode.d.ts +3 -3
  303. package/dist/runnerUtility/managedNode.d.ts.map +1 -1
  304. package/dist/runnerUtility/managedNode.js +2 -2
  305. package/dist/runnerUtility/managedNode.js.map +1 -1
  306. package/dist/runnerUtility/runnerConfig.d.ts +1 -1
  307. package/dist/runnerUtility/runnerHome.d.ts +1 -1
  308. package/dist/runnerUtility/runnerHome.js +1 -1
  309. package/dist/runnerUtility/serviceCommon.d.ts +1 -1
  310. package/dist/runnerUtility/serviceCommon.d.ts.map +1 -1
  311. package/dist/runnerUtility/serviceCommon.js +1 -1
  312. package/dist/runnerUtility/serviceCommon.js.map +1 -1
  313. package/dist/runners/bootstrapLine.js +1 -1
  314. package/dist/runners/hubPackage.d.ts +1 -1
  315. package/dist/runners/hubPackage.js +3 -3
  316. package/dist/runners/hubPackage.js.map +1 -1
  317. package/dist/runners/hubPaths.d.ts +1 -1
  318. package/dist/runners/hubPaths.d.ts.map +1 -1
  319. package/dist/runners/runnerLock.d.ts +2 -2
  320. package/dist/runners/runnerLock.d.ts.map +1 -1
  321. package/dist/runners/runnerLock.js +2 -2
  322. package/dist/runners/runnerLock.js.map +1 -1
  323. package/dist/scheduler/checkRun.d.ts +2 -0
  324. package/dist/scheduler/checkRun.d.ts.map +1 -1
  325. package/dist/scheduler/checkRun.js +5 -1
  326. package/dist/scheduler/checkRun.js.map +1 -1
  327. package/dist/scheduler/delivery.d.ts +57 -0
  328. package/dist/scheduler/delivery.d.ts.map +1 -1
  329. package/dist/scheduler/delivery.js +152 -14
  330. package/dist/scheduler/delivery.js.map +1 -1
  331. package/dist/scheduler/injection.d.ts +6 -0
  332. package/dist/scheduler/injection.d.ts.map +1 -1
  333. package/dist/scheduler/injection.js +10 -0
  334. package/dist/scheduler/injection.js.map +1 -1
  335. package/dist/scheduler/mcpSurface.d.ts +68 -4
  336. package/dist/scheduler/mcpSurface.d.ts.map +1 -1
  337. package/dist/scheduler/mcpSurface.js +363 -189
  338. package/dist/scheduler/mcpSurface.js.map +1 -1
  339. package/dist/scheduler/rebindResume.d.ts +24 -0
  340. package/dist/scheduler/rebindResume.d.ts.map +1 -1
  341. package/dist/scheduler/rebindResume.js +32 -0
  342. package/dist/scheduler/rebindResume.js.map +1 -1
  343. package/dist/scheduler/scheduleToolWording.d.ts +29 -0
  344. package/dist/scheduler/scheduleToolWording.d.ts.map +1 -0
  345. package/dist/scheduler/scheduleToolWording.js +117 -0
  346. package/dist/scheduler/scheduleToolWording.js.map +1 -0
  347. package/dist/scheduler/scheduledRunTarget.d.ts +90 -0
  348. package/dist/scheduler/scheduledRunTarget.d.ts.map +1 -0
  349. package/dist/scheduler/scheduledRunTarget.js +92 -0
  350. package/dist/scheduler/scheduledRunTarget.js.map +1 -0
  351. package/dist/scheduler/store.d.ts +2 -0
  352. package/dist/scheduler/store.d.ts.map +1 -1
  353. package/dist/scheduler/store.js +2 -0
  354. package/dist/scheduler/store.js.map +1 -1
  355. package/dist/scheduler/types.d.ts +10 -0
  356. package/dist/scheduler/types.d.ts.map +1 -1
  357. package/dist/scheduler/workerWatch.d.ts +2 -0
  358. package/dist/scheduler/workerWatch.d.ts.map +1 -1
  359. package/dist/scheduler/workerWatch.js +3 -3
  360. package/dist/scheduler/workerWatch.js.map +1 -1
  361. package/dist/selfUpdate/constants.d.ts +2 -0
  362. package/dist/selfUpdate/constants.d.ts.map +1 -1
  363. package/dist/selfUpdate/constants.js +3 -1
  364. package/dist/selfUpdate/constants.js.map +1 -1
  365. package/dist/selfUpdate/emittedSource.d.ts.map +1 -1
  366. package/dist/selfUpdate/emittedSource.js +1 -1
  367. package/dist/selfUpdate/emittedSource.js.map +1 -1
  368. package/dist/selfUpdate/updateRuntime.js +1 -1
  369. package/dist/selfUpdate/updateRuntime.js.map +1 -1
  370. package/dist/sessionPick.d.ts +1 -1
  371. package/dist/sessionPick.js +1 -1
  372. package/dist/shutdown.d.ts +12 -0
  373. package/dist/shutdown.d.ts.map +1 -1
  374. package/dist/shutdown.js +11 -0
  375. package/dist/shutdown.js.map +1 -1
  376. package/dist/startupPromptBuffer.d.ts +35 -6
  377. package/dist/startupPromptBuffer.d.ts.map +1 -1
  378. package/dist/startupPromptBuffer.js +70 -21
  379. package/dist/startupPromptBuffer.js.map +1 -1
  380. package/dist/state.d.ts +173 -25
  381. package/dist/state.d.ts.map +1 -1
  382. package/dist/state.js +282 -58
  383. package/dist/state.js.map +1 -1
  384. package/dist/testTimings.d.ts +8 -3
  385. package/dist/testTimings.d.ts.map +1 -1
  386. package/dist/testTimings.js +15 -2
  387. package/dist/testTimings.js.map +1 -1
  388. package/dist/threadContextPreamble.d.ts +7 -0
  389. package/dist/threadContextPreamble.d.ts.map +1 -1
  390. package/dist/threadContextPreamble.js +11 -0
  391. package/dist/threadContextPreamble.js.map +1 -1
  392. package/dist/threadRouting.d.ts +12 -0
  393. package/dist/threadRouting.d.ts.map +1 -1
  394. package/dist/threadRouting.js +15 -0
  395. package/dist/threadRouting.js.map +1 -1
  396. package/dist/todos/midTurn.d.ts +15 -41
  397. package/dist/todos/midTurn.d.ts.map +1 -1
  398. package/dist/todos/midTurn.js +27 -171
  399. package/dist/todos/midTurn.js.map +1 -1
  400. package/dist/types.d.ts +147 -23
  401. package/dist/types.d.ts.map +1 -1
  402. package/dist/types.js +10 -0
  403. package/dist/types.js.map +1 -1
  404. package/dist/utils/backendSwitchPlan.d.ts +3 -3
  405. package/dist/utils/backendSwitchPlan.js +3 -3
  406. package/dist/utils/claudeAccountAlert.d.ts +104 -0
  407. package/dist/utils/claudeAccountAlert.d.ts.map +1 -0
  408. package/dist/utils/claudeAccountAlert.js +130 -0
  409. package/dist/utils/claudeAccountAlert.js.map +1 -0
  410. package/dist/utils/claudeAccountPickerPlan.d.ts +7 -0
  411. package/dist/utils/claudeAccountPickerPlan.d.ts.map +1 -1
  412. package/dist/utils/claudeAccountPickerPlan.js +13 -2
  413. package/dist/utils/claudeAccountPickerPlan.js.map +1 -1
  414. package/dist/utils/claudeAuthRefusal.d.ts +122 -0
  415. package/dist/utils/claudeAuthRefusal.d.ts.map +1 -0
  416. package/dist/utils/claudeAuthRefusal.js +228 -0
  417. package/dist/utils/claudeAuthRefusal.js.map +1 -0
  418. package/dist/utils/claudeCompactHook.d.ts +6 -6
  419. package/dist/utils/claudeCompactHook.js +8 -8
  420. package/dist/utils/claudeCompactHook.js.map +1 -1
  421. package/dist/utils/claudeProfileUsageViews.d.ts +54 -2
  422. package/dist/utils/claudeProfileUsageViews.d.ts.map +1 -1
  423. package/dist/utils/claudeProfileUsageViews.js +44 -1
  424. package/dist/utils/claudeProfileUsageViews.js.map +1 -1
  425. package/dist/utils/claudeProfiles.d.ts.map +1 -1
  426. package/dist/utils/claudeProfiles.js +10 -1
  427. package/dist/utils/claudeProfiles.js.map +1 -1
  428. package/dist/utils/claudeRuntimeInfo.d.ts +24 -0
  429. package/dist/utils/claudeRuntimeInfo.d.ts.map +1 -1
  430. package/dist/utils/claudeRuntimeInfo.js +128 -3
  431. package/dist/utils/claudeRuntimeInfo.js.map +1 -1
  432. package/dist/utils/claudeScheduledJobs.d.ts +6 -2
  433. package/dist/utils/claudeScheduledJobs.d.ts.map +1 -1
  434. package/dist/utils/claudeScheduledJobs.js +10 -2
  435. package/dist/utils/claudeScheduledJobs.js.map +1 -1
  436. package/dist/utils/claudeSessionTitle.js +1 -1
  437. package/dist/utils/claudeSessionTitle.js.map +1 -1
  438. package/dist/utils/claudeStreamJson.d.ts +28 -2
  439. package/dist/utils/claudeStreamJson.d.ts.map +1 -1
  440. package/dist/utils/claudeStreamJson.js +33 -3
  441. package/dist/utils/claudeStreamJson.js.map +1 -1
  442. package/dist/utils/claudeTranscriptEpoch.d.ts +14 -0
  443. package/dist/utils/claudeTranscriptEpoch.d.ts.map +1 -1
  444. package/dist/utils/claudeTranscriptEpoch.js +79 -19
  445. package/dist/utils/claudeTranscriptEpoch.js.map +1 -1
  446. package/dist/utils/claudeUsage.d.ts +103 -7
  447. package/dist/utils/claudeUsage.d.ts.map +1 -1
  448. package/dist/utils/claudeUsage.js +108 -15
  449. package/dist/utils/claudeUsage.js.map +1 -1
  450. package/dist/utils/compactOnIdle.d.ts +139 -29
  451. package/dist/utils/compactOnIdle.d.ts.map +1 -1
  452. package/dist/utils/compactOnIdle.js +163 -36
  453. package/dist/utils/compactOnIdle.js.map +1 -1
  454. package/dist/utils/conversationEnding.d.ts +76 -0
  455. package/dist/utils/conversationEnding.d.ts.map +1 -0
  456. package/dist/utils/conversationEnding.js +117 -0
  457. package/dist/utils/conversationEnding.js.map +1 -0
  458. package/dist/utils/doctorLine.d.ts +10 -0
  459. package/dist/utils/doctorLine.d.ts.map +1 -1
  460. package/dist/utils/doctorLine.js +16 -0
  461. package/dist/utils/doctorLine.js.map +1 -1
  462. package/dist/utils/fallbackBridge.d.ts.map +1 -1
  463. package/dist/utils/fallbackBridge.js +2 -1
  464. package/dist/utils/fallbackBridge.js.map +1 -1
  465. package/dist/utils/fallbackChain.d.ts +2 -0
  466. package/dist/utils/fallbackChain.d.ts.map +1 -1
  467. package/dist/utils/fallbackChain.js +4 -3
  468. package/dist/utils/fallbackChain.js.map +1 -1
  469. package/dist/utils/fallbackSwitchNotice.d.ts +11 -4
  470. package/dist/utils/fallbackSwitchNotice.d.ts.map +1 -1
  471. package/dist/utils/fallbackSwitchNotice.js +9 -5
  472. package/dist/utils/fallbackSwitchNotice.js.map +1 -1
  473. package/dist/utils/fileSendService.d.ts +31 -0
  474. package/dist/utils/fileSendService.d.ts.map +1 -1
  475. package/dist/utils/fileSendService.js +45 -2
  476. package/dist/utils/fileSendService.js.map +1 -1
  477. package/dist/utils/jsonStreamHost.d.ts +2 -0
  478. package/dist/utils/jsonStreamHost.d.ts.map +1 -1
  479. package/dist/utils/jsonStreamHost.js +4 -1
  480. package/dist/utils/jsonStreamHost.js.map +1 -1
  481. package/dist/utils/jsonStreamPendingWork.d.ts +14 -2
  482. package/dist/utils/jsonStreamPendingWork.d.ts.map +1 -1
  483. package/dist/utils/jsonStreamPendingWork.js +25 -5
  484. package/dist/utils/jsonStreamPendingWork.js.map +1 -1
  485. package/dist/utils/jsonStreamUnconsumedInput.d.ts +80 -0
  486. package/dist/utils/jsonStreamUnconsumedInput.d.ts.map +1 -0
  487. package/dist/utils/jsonStreamUnconsumedInput.js +99 -0
  488. package/dist/utils/jsonStreamUnconsumedInput.js.map +1 -0
  489. package/dist/utils/limitEpisodeRecovery.d.ts +43 -4
  490. package/dist/utils/limitEpisodeRecovery.d.ts.map +1 -1
  491. package/dist/utils/limitEpisodeRecovery.js +107 -20
  492. package/dist/utils/limitEpisodeRecovery.js.map +1 -1
  493. package/dist/utils/limitHeldPrompts.d.ts +21 -11
  494. package/dist/utils/limitHeldPrompts.d.ts.map +1 -1
  495. package/dist/utils/limitHeldPrompts.js +12 -9
  496. package/dist/utils/limitHeldPrompts.js.map +1 -1
  497. package/dist/utils/limitRemindersScreenPlan.d.ts +63 -0
  498. package/dist/utils/limitRemindersScreenPlan.d.ts.map +1 -0
  499. package/dist/utils/limitRemindersScreenPlan.js +121 -0
  500. package/dist/utils/limitRemindersScreenPlan.js.map +1 -0
  501. package/dist/utils/limitSwitchPlan.d.ts +51 -14
  502. package/dist/utils/limitSwitchPlan.d.ts.map +1 -1
  503. package/dist/utils/limitSwitchPlan.js +33 -15
  504. package/dist/utils/limitSwitchPlan.js.map +1 -1
  505. package/dist/utils/limitsBoardPlan.d.ts +16 -7
  506. package/dist/utils/limitsBoardPlan.d.ts.map +1 -1
  507. package/dist/utils/limitsBoardPlan.js +41 -9
  508. package/dist/utils/limitsBoardPlan.js.map +1 -1
  509. package/dist/utils/lostWork.d.ts +16 -2
  510. package/dist/utils/lostWork.d.ts.map +1 -1
  511. package/dist/utils/lostWork.js +16 -3
  512. package/dist/utils/lostWork.js.map +1 -1
  513. package/dist/utils/messageContext.d.ts +2 -2
  514. package/dist/utils/messageContext.js +2 -2
  515. package/dist/utils/midTurnInbox.d.ts +79 -0
  516. package/dist/utils/midTurnInbox.d.ts.map +1 -0
  517. package/dist/utils/midTurnInbox.js +265 -0
  518. package/dist/utils/midTurnInbox.js.map +1 -0
  519. package/dist/utils/promptDelivery.d.ts +70 -22
  520. package/dist/utils/promptDelivery.d.ts.map +1 -1
  521. package/dist/utils/promptDelivery.js +100 -42
  522. package/dist/utils/promptDelivery.js.map +1 -1
  523. package/dist/utils/topicIndicatorPlan.d.ts +13 -3
  524. package/dist/utils/topicIndicatorPlan.d.ts.map +1 -1
  525. package/dist/utils/topicIndicatorPlan.js +26 -4
  526. package/dist/utils/topicIndicatorPlan.js.map +1 -1
  527. package/dist/utils/topicRequest.d.ts +3 -0
  528. package/dist/utils/topicRequest.d.ts.map +1 -1
  529. package/dist/utils/topicRequest.js +4 -0
  530. package/dist/utils/topicRequest.js.map +1 -1
  531. package/dist/utils/workerRoles.d.ts +122 -0
  532. package/dist/utils/workerRoles.d.ts.map +1 -0
  533. package/dist/utils/workerRoles.js +160 -0
  534. package/dist/utils/workerRoles.js.map +1 -0
  535. package/dist/utils/workerRolesScreenPlan.d.ts +118 -0
  536. package/dist/utils/workerRolesScreenPlan.d.ts.map +1 -0
  537. package/dist/utils/workerRolesScreenPlan.js +232 -0
  538. package/dist/utils/workerRolesScreenPlan.js.map +1 -0
  539. package/dist/utils/workingSignals.d.ts +59 -0
  540. package/dist/utils/workingSignals.d.ts.map +1 -0
  541. package/dist/utils/workingSignals.js +60 -0
  542. package/dist/utils/workingSignals.js.map +1 -0
  543. package/licensing.json +88 -0
  544. package/npm-shrinkwrap.json +2 -2
  545. package/package.json +7 -7
  546. package/{remoteRun → runner-scripts}/runner.sh +6 -3
  547. package/LICENSE-COMMERCIAL.md +0 -142
  548. package/dist/agentTrigger.d.ts +0 -28
  549. package/dist/agentTrigger.d.ts.map +0 -1
  550. package/dist/agentTrigger.js +0 -53
  551. package/dist/agentTrigger.js.map +0 -1
  552. /package/{remoteRun → runner-scripts}/ensureNode.sh +0 -0
  553. /package/{remoteRun → runner-scripts}/runner-package-lock.json +0 -0
package/CHANGELOG.md CHANGED
@@ -2,6 +2,172 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 4.3.1 — 2026-11-26
6
+
7
+ **A Jira issue whose Claude account hit its usage limit while every other account was limited too now continues as soon as the FIRST of them is free again: before, it waited for its own account's reset, an hour or more after another account had freed up.**
8
+ The issue's comment now says the answer comes when that first account is back, and at that time the issue continues on it by itself, the same conversation — as a Telegram topic already did. If that account still refuses then, the bot plans again: another account with room, else the next reset. The same goes for an issue whose account is billed to API credits and runs out of them («Credit balance is too low»): with no account free it now waits for the subscription that comes back first and continues there, where before it stopped and waited for you. With «Auto switch» OFF the issue still waits for its own account — also when it is turned OFF while such a wait runs — and an OpenCode model is never where an issue continues.
9
+
10
+ **A bot restart no longer leaves an agent stuck on its call to the bot's tools: before, a call under way at the restart (an answer still being pinned, say) waited about 2 minutes in Claude Code and a minute in OpenCode, and the agent's next answer in that topic came that late.**
11
+ Now the bot lets the calls already running finish before it restarts, so the agent gets its result — an answer being posted and pinned is reported as delivered, not as an error the agent might answer by sending it again. A call still running after a few seconds is cut, and the agent is told at once instead of waiting.
12
+
13
+ **An agent working on a Jira issue is no longer reminded every 15 minutes after a progress note: when nothing is set to wake it, it gets one nudge at once, and is given up on if it stops the same way again.**
14
+ Before, an agent that answered «still working» without arming a watch got a reminder 15 minutes later, and another after each next note, for up to 12 hours — each one a turn that re-read the whole conversation (hundreds of thousands of cached tokens) only to say «still running». Now nothing reminds an issue's agent on a clock: with a watch or a job armed under the request, or its own background command, sub-agent or scheduled wake-up still running (for up to 6 hours after its last prompt or reminder, and never while a requester's comment waits for its answer), it is left alone until that wakes it; with nothing set to wake it, its turn gets ONE nudge right away — finish, ask, or arm a watch for what it waits on — and if its next turn ends the same way, another note or silence, the issue gets the give-up comment («The AI stopped working on this without a final answer, even after it was reminded.») and goes back to the requester. The progress comment's «Last updated» line now moves only when the agent itself writes a note. Telegram topics are unchanged.
15
+
16
+ ## 4.3.0 — 2026-11-25
17
+
18
+ **You now choose the model and effort of the workers your agents launch: `/workers` sets them per role — builder, reviewer, planner and more — for the whole bot, Claude or OpenCode.**
19
+ Before, the models were written into the bot's own skills (Opus for every worker) and could not be changed without editing them. Now `/workers` (also a row of `/bot_skills`) lists six roles with their values; a tap picks a Claude model and effort, or an OpenCode provider, model and variant. It is the bot's default: a model you name in the conversation, a plan or your own skills still wins. Agents ask for it before every launch, so a change reaches the next worker; a running one keeps its own. The screen warns when an OpenCode role's provider is not connected. The values are kept in `settings.json` `workerRoles`; `charness claude-profiles --role <role>` prints the same.
20
+
21
+ **An agent on a Jira issue now gets the right instructions for waiting on a worker, a pipeline or a test run: before, the bot's own skill told it that nothing would wake it and that it must never end its turn while a worker ran.**
22
+ That was wrong: an agent on an issue now arms the same bot check as in a topic, ends its turn and is woken in the issue when the worker finishes (see the scheduling entry below). The skill now also asks for a progress note that names the run, its link and when it should end, and never a final answer with a run the agent has not read.
23
+
24
+ **On a Jira issue, the AI's progress comment no longer keeps saying «running now, I'll report when it finishes» after the answer is there: its final answer (or its question) now marks the progress comment as done.**
25
+ Before, a request's progress comment stayed exactly as the last note left it, so an issue whose work was finished long ago still showed «the pipeline is running now» above the answer and looked hung to whoever read it. Now, once the answer or the question is posted, the progress comment gets a line on top — «✅ Done …: these were interim notes, the answer is in a newer comment» (or «⏸ Paused … for a question») — and so does the progress comment of an earlier request the answer covers (a mention the hand-over replaced). The edit notifies nobody.
26
+
27
+ **An agent that answers every reminder with a progress note is no longer given up on: before, the tenth reminder of a long task posted «The AI was reminded as many times as allowed and still gave no answer» although it had answered each one.**
28
+ The reminder cap now counts only the reminders in a row the agent left unanswered; a progress note starts the count again, so a task that waits on a long pipeline or test run is never told off as silent — and keeps its place among the running tracker tasks. A request still open 12 hours after it started gets no reminder 15 minutes after each progress note any more — only one when nothing was seen working on it for 90 minutes — and is never given up for its age.
29
+
30
+ **A Claude agent that cancels its own `ScheduleWakeup` no longer keeps its idle process running for hours.**
31
+ Before, the bot did not recognise the stop («Loop stopped — cancelled 1 pending wakeup(s)»), so it went on counting the cancelled wakeup as pending work: the idle process was kept for the whole hold with its idle compaction skipped («kept only by scheduled jobs»), and its end was then told to the agent as lost work.
32
+
33
+ **What the agent tells you just before it asks a question (or runs a tool) now reaches the topic: before, Claude Code sometimes sent those sentences as «thinking», and the topic showed them only as a «•••» that disappeared.**
34
+ Newer Claude models narrate their work to you in a block Claude Code marks as thinking — the explanation right before a question, «checking X now» before a command. The bot hid it like reasoning, so a question could arrive with no explanation above it. Such narration is now shown as the agent's normal text, whatever the thinking display is set to; real reasoning stays hidden as before. Jira issues are not affected: there only the agent's answers are posted.
35
+
36
+ **On a Jira issue, the AI's progress notes are now ONE comment per request that it keeps up to date, instead of a new comment each time.**
37
+ Before, every interim `progress` answer — the agent's own notes, and the bot's «waiting for the usage limit» notice each time it came round — was a comment of its own, so a long task filled the issue with «still working» comments. Now the first progress note of a request is a comment and each next one edits it to the newest text, with a line saying when it was last updated, in the same thread and without notifying anyone; the question or final answer is a new comment as before and leaves the progress comment as it was, and the next request gets its own. The comment is remembered on disk, so a restart in the middle of a task keeps editing the same one. If Jira refuses the edit (the comment was deleted, or the AI account may not edit its comments) the text goes into a new comment, which is kept up to date from then on — nothing is lost; if Jira does not confirm an edit and the comment cannot be read to check, nothing is posted and the agent is told to send the note again, so a text is never shown twice by a guess. A note with files, one that replies to a comment, and one too long for a comment are comments of their own, and so is the first note after a person writes on the issue — the answer to a person is a new, notified comment below theirs, never a silent edit above it. The bot's usage-limit notice for the same request is edited the same way when the next wait comes round with nothing said in between (once the agent has answered again, or the bot has said something else such as «moved to another account», a new limit is a new comment); its other notices (queued, over the budget, account moved) say a different thing each time and stay comments. An edit by the AI account wakes nothing. The agent is told that each progress note replaces the last, so it writes the full current status. Telegram is unchanged.
38
+
39
+ **A message sent to a topic while `/quit`, `/quitall` or a switch to the other backend ends its conversation is no longer lost without a word.**
40
+ Claude's process takes a few seconds to exit, and a message that came in those seconds was written into the exiting process: it never reached the agent, while its request still waited for an answer and could bring the message back to a new agent by itself much later. During a switch a message could also be written into the agent being left and dropped in silence, or get «Run /claude or /opencode» while the other backend was starting; and a voice note that finished transcribing during `/quit` could start a fresh agent right after the quit. Now such a message is not delivered: the topic says at once that it did not reach the agent because the conversation was ended or switched, so you can send it again once that is done. A message the agent had not read yet when you quit, start a new conversation, pick another one, leave the folder or switch the topic to another agent is said so too, instead of being dropped in silence; one it had already read is not.
41
+
42
+ **A message sent in the moment Claude's process is restarted after a broken input no longer fails to reach the agent.**
43
+ When the bot could not finish writing a message into Claude's process (the default backend), it stops that process and the conversation resumes in a new one. A message that came in those seconds was refused with «⚠️ The agent did not get your last message: writing it into the agent's input failed (…). Send it again.» Now it resumes the conversation and reaches the new process.
44
+
45
+ **A scheduled run or a check's wake that comes while a topic switches to the other backend now reaches the new agent after the conversation is handed over.**
46
+ The switch stops the old agent, starts the new one and gives it the conversation's context first. A post that came in those seconds could start the new agent by itself and reach it before that hand-over, so the new agent read it without knowing the conversation. Now it waits for the switch, and goes to the new agent right after the hand-over.
47
+
48
+ **A scheduled run that comes while you leave a topic's folder no longer starts an agent in the folder you left.**
49
+ A run that came in those seconds could start a fresh agent in the folder after the topic had let it go, and that agent kept running with no topic to report to. Now the run finds the topic unbound, and its job pauses until the next `/bind`, as any job of an unbound topic does.
50
+
51
+ **`/quit` on a sleeping conversation now says how to start a fresh one.**
52
+ It said that the next message would start a fresh session, but the next message only got the hint to start an agent. Now it says that /claude or /opencode starts a fresh one.
53
+
54
+ **`/quit`, leaving the folder and `/quitall` no longer leave an agent running when it was starting or restarting at that moment.**
55
+ They checked whether an agent was running before a start, a resume or a restart of its process had finished: they released the conversation, and the process that came up a moment later kept running for it. Now they wait for that to finish, then stop it. A switch onto the other backend, or onto a shell, waits the same way. A message you sent while the agent's process was stopping in that moment does not go to the conversation you are leaving: you are told it did not reach the agent because the conversation was being ended or switched.
56
+
57
+ **An account picked while a per-turn topic's agent works no longer restarts its process beside the bot's own stop.**
58
+ On a topic that runs Claude per turn, an account picked during a turn was applied by restarting the agent's process at the end of that turn — the very moment the bot stops the process after every turn. The two could leave a second process running, or a message you sent in those seconds unsent. Now the turn ends with the usual stop, and the next turn starts on the new account.
59
+
60
+ **Changing the model, the effort or the account while a message comes in no longer starts a second agent process.**
61
+ `/model`, `/effort` and an account switch restart the agent's process of a Claude topic (the default backend), with the process down for a few seconds. A message, a scheduled run or a reminder that arrived in those seconds could start a second process of the same conversation beside it. Now it waits for the restart and goes to the new process.
62
+
63
+ **A reminder that reached no agent is no longer counted as one the agent ignored.**
64
+ Right after a bot restart, a reminder to the agent could wait for its session to replay what it wrote while the bot was down, and then find no session left. The bot still counted the reminder as delivered and watched for a turn that never came, which could later read as the agent staying silent. Now such a reminder counts as not delivered: it is tried again later, or reported as one that could not be delivered.
65
+
66
+ **Starting, restarting or switching the agent while its process is still stopping or starting no longer risks a second agent process.**
67
+ `/new`, a first `/claude` or `/opencode`, `/claude_mode`, a `/resume` pick and the bot's own recovery of a stuck session now wait for a start or stop already under way, like every other start. Before, one of them could run beside it, and a scheduled run or a retry that came in that moment could start the conversation a second time.
68
+
69
+ **A message you send while the agent's process stops after a turn is followed up like any other: if the agent's turn on it ends without an answer, it is reminded at once, not an hour and a half later.**
70
+ In a topic that shows answers and runs Claude per turn, the bot started watching such a message's turn only once its «your message is queued» notice had gone out. When the bot was busy sending elsewhere, the agent could have read the message and ended its turn by then, and the bot lost track of that turn: the request waited for the 90-minute backstop. Now the turn is watched the moment the message is queued.
71
+
72
+ **A failing check whose wake never reached the agent wakes it again at its next failing run.**
73
+ When a watched worker failed and the bot's wake to the agent was lost on its way (the agent's process was being started or stopped and the wake was dropped, writing it failed, or no agent session was left to take it), the check stayed marked as failing: every later failing run stayed quiet, and the agent waited for the hour-and-a-half backstop. Now a lost wake clears the mark, so the next failing run alerts and wakes the agent again.
74
+
75
+ **A scheduled run that a session start dropped no longer comes back to the agent later on its own.**
76
+ In a topic that shows answers, a scheduled run that waited behind a session start was watched as soon as it was queued. When the start then dropped it, its request waited for a turn that never came: the agent could later be reminded of a run it never read, or get the run again on its own up to an hour and a half after its time. Now such a run fails like any run that could not reach the agent (its run records the error), and its request is closed.
77
+
78
+ **A request is no longer held for good when the «continue» after a retry, a usage limit or an account move never reached the agent.**
79
+ The bot watched the turn of such a «continue» as soon as it was queued behind a session start. When the start then dropped it, every open request kept waiting for a turn that never came, and a request whose words rode that «continue» could be held for as long as the agent kept working. Now the turn is watched only once the «continue» reached the agent; a lost one leaves the requests to the usual reminders.
80
+
81
+ **`/quit` no longer brings the agent back by itself: a message sent while the agent's process was stopping used to start a new session right after the quit.**
82
+ In a topic that runs Claude per turn, a message that arrives while the process stops after a turn waits for the stop to end, and the bot then resumes the conversation for it. When you quit (or started a new conversation, or left the folder) in that moment, there was nothing left to resume, and the bot started a fresh session for the waiting message. Now the message is not delivered and the topic says so. A stop that fails no longer leaves such a message waiting until the conversation's next start either.
83
+
84
+ **A message you send while a sleeping conversation is being resumed is no longer lost when the resume fails: it reaches the fresh session that replaces it — and a queued message that reaches no agent at all is now said so.**
85
+ When the bot could not resume a conversation (its transcript was gone, the agent did not come up), it started a fresh session but dropped the messages that had queued meanwhile, right after saying they were queued. In a topic that shows answers the agent then got a reminder of a request whose words it never saw, and its next silence ended in «could not finish». Now those messages go to the fresh session. When no session comes up at all, a queued message is not left hanging: the topic says «A message you sent while … was starting did not reach it. Send it again.», and its request is closed.
86
+
87
+ **A Jira issue's agent can now schedule itself and watch its workers: it ends its turn and is woken in the same issue when the worker finishes.**
88
+ Before, an agent in an issue had no `schedule_create` and nothing would wake it, so after launching a worker it had to keep its turn open and poll for hours — burning usage limits, and a new comment on the issue could wait up to ten minutes. Now it has the same scheduling tools as a Telegram topic (one-shot, recurring and N-times prompts, and watchdog checks including the worker watch): it answers `progress`, ends its turn, the bot stops the idle process, and the watch resumes the issue's own session when the worker is done, silent or has run 2 h 30 min without a report. The bot posts nothing on the issue for a scheduled run, a check or a status — a Jira comment always notifies the requester and the issue's watchers — so the agent writes there only through `answer_request`, and one woken with nothing to report stays silent. Also: in a Telegram topic that shows answers, an agent waiting on its own watch is no longer reminded every 15 minutes or given up on after ten wake-ups while the watch passes, and a scheduled prompt whose agent has nothing to report now ends silently — no reminder, and no «could not finish» notice. In such a topic a watch armed while the agent worked on your message wakes it as part of that request, so the worker's result is the answer to your message, and a later scheduled run continues a run the agent already told you about instead of replacing it.
89
+
90
+ **In a topic that runs Claude per turn, an agent that ends its turn without answering you is now reminded at once — before, the reminder came only after an hour and a half.**
91
+ In a Telegram topic that shows answers (and in a Jira issue on a per-turn instance), the bot stops the agent's process right after each turn, and it used to lose track of the turn in that moment: an agent that ended its turn silently was reminded only by the 90-minute backstop, a progress note never got its follow-up 15 minutes later, and a scheduled run that ended with nothing to report was not recorded as such. Now the bot decides how a turn ended the moment the agent ends it, in every mode.
92
+
93
+ **In a topic that runs Claude per turn, a message you send while the agent's turn ends on an error is no longer lost: the agent's process now stays for the turn that takes it in.**
94
+ When a turn ended in an error result, the bot forgot every message written behind it, although the Claude CLI still runs them as its next turn (measured on 2.1.330). The per-turn stop then ended the process a moment before that turn, so the message never reached the agent — in a topic that shows answers, its request then waited for the hour-and-a-half backstop. An account switch you picked while the turn ran now waits for that message's turn too, and applies at its end.
95
+
96
+ **A message, voice note or file you send just as the agent's process stops or starts is no longer lost: the bot now decides where it goes at the moment it hands it over.**
97
+ In a topic that runs Claude per turn, the bot stops the agent's process after every turn, and a message that comes meanwhile waits and is handed over when the conversation resumes. The bot decided that a message must wait when the message arrived, but queued it only after its own preparation — opening its request, downloading a file. When the stop had ended by then, the message sat in a queue nothing read any more: it reached the agent only at the conversation's next start (a restart lost it, and a bot update waited for it), and in a topic that shows answers the agent got the request's words twice an hour and a half later. A session start had the same gap — there the agent was reminded of a request whose words it never got — and a file whose download outlasted a stop that began after it arrived was written into the process the stop had already ended. Now a message is queued only while a stop or a start is still under way; otherwise it goes to the running agent, or wakes the sleeping conversation itself.
98
+
99
+ **A message you write while a turn runs into a usage limit is no longer lost when the bot moves the topic to another Claude account.**
100
+ The move restarts the agent's process on the new account at once, and a message the old process had not started yet went down with it. The bot could then read the new process, which had nothing waiting, as having read the message, so the resume did not carry it again — in a topic that shows answers, the agent was reminded of a request with no words in it. Now a message counts as read only by the process it was written to, and the first prompt on the new account carries it.
101
+
102
+ **A request whose turn was lost is reminded on time again while the agent runs a job or a background task of its own.**
103
+ The bot counted every busy moment of the session as that request's activity, also the turns the Claude CLI starts by itself — a finished background task's, a session job's. A job that loops kept pushing the request's reminder ahead for as long as it looped. Now only a turn the bot wrote counts.
104
+
105
+ **Switching to another Claude account while the agent works no longer risks a second agent process when that turn ends without an answer.**
106
+ The switch waits for the turn's end, then restarts the agent's process on the new account. A reminder for that silent turn could arrive during the restart and start the conversation a second time beside it. Now the reminder waits until the restart is done and goes to the new process.
107
+
108
+ **A `charness remote-run` job that hits its `--timeout` is now always recorded as «timed out» (exit 124) — before, when the runner was very slow to answer the kill it could end up as «killed» (exit 137).**
109
+ Before, when the time limit of a foreground run ran out, the command stopped its keep-alive beat and only then asked the runner to kill the job; if that call took longer than the runner's lease (45 s), the runner's own lease watcher ended the job first, as a plain kill, and `charness remote-run ls` said «killed exit 137» although the command itself reported the timeout. Now the keep-alive goes on until the runner has answered the kill.
110
+
111
+ **The idle compaction now runs only when the conversation's context has grown enough — by 30 000 tokens by default, which you can change in `/compact_on_idle` — and a topic that only its own checks and worker watches wake is compacted again before it goes to sleep once it has.**
112
+ Before, an agent woken again and again by its own scheduled checks and «worker finished» watches was put to sleep each time as it was and never compacted again after the first time, while a conversation that had hardly grown was compacted whenever you had written. Now the bot compares the context with what the conversation's first model call after its last compaction saw (the summary, every instruction and skill, your prompt) and compacts at the idle mark only if it grew by the threshold since, whoever woke the agent; otherwise the topic just goes to sleep and nothing is posted. `/compact_on_idle` shows the threshold and sets it — tap `10k` … `100k` or send `/compact_on_idle 45k` for another value, per topic or in General for every topic without its own — and it works in a sleeping topic too. A topic the bot has no figures of yet, every idle topic when this update arrives included, is measured at its idle mark from its history. Worded in all 12 languages.
113
+
114
+ **A message you send just as the agent finishes its turn no longer gets that turn's last words glued to the start of the reply to your message.**
115
+ Before, when your message reached the agent a moment before the bot had read the last lines of the turn that was ending, the bot took the end of that turn for the start of the new one: the previous answer's closing words were posted again as the first lines of the new reply, and the new reply's first words were added to them in the same message. Now the part of the previous turn's text that had not been posted yet is posted once, as a message of its own, and the reply to your message starts the message after it (a sentence cut between the part already posted and that rest simply goes on in the next message).
116
+
117
+ **After a bot restart in the middle of a turn, the end of that turn no longer posts the whole final message a second time.**
118
+ Before, when the bot restarted after it had posted the agent's last words of a turn and before it read the end of that turn, reading that end posted the whole final message again. Now the final message of a turn that was running at the restart, and had already been posted at least in part, is not posted again; for that one turn the bot's repair of text the stream dropped does not run. A turn that had posted nothing at the restart keeps the repair.
119
+
120
+ **On a runner whose CPUs are busy, a job stuck behind one that was killed is no longer left waiting for the builds to leave the CPU.**
121
+ Before, the check that lets a waiting job go after its predecessor was killed without saying so (`probe` starts it in the background) ran at the lowest CPU priority, so a runner kept busy by builds gave it no time — the waiting job stayed stashed for as long as the builds ran (over 100 s in a test with the CPUs held). It now runs at the priority of the call that started it, like the call itself; the heavy disk walks stay at the lowest.
122
+
123
+ **Your agents now start every worker they launch on Claude Opus: the builder at medium effort, the reviewer, planner and investigator at extra-high, a small review at high.**
124
+ This is the bot's own default for an agent that hands work to a separate Claude process and has no delegation rules of its own; before, its builder ran on Sonnet. Work that can lose or corrupt data still puts the builder at extra-high effort, and a worker still never runs on Fable. A model you name for a worker, or your own project's delegation rules, still win.
125
+
126
+ **The licence is now one file, `LICENSE` (Charness License 2.0): prices and the free tier are unchanged, and nothing changes for people who use Charness to write their code.**
127
+ `LICENSE-COMMERCIAL.md` is merged into `LICENSE` and removed; the site's licensing pages no longer repeat any terms and link to the file. What stays as it was: the free tier (personal use, organizations up to $500,000 revenue plus funding and 20 people, education and public benefit, the evaluation), every band price, the products-that-embed-Charness table, the 20 % and 15 % discounts and the refund; the rest is the 1.0.0 terms in fewer words, so compare the two texts if you rely on a detail of them. Code you write with Charness is yours: using Charness to write code, and your agents' following what Charness gives them, never make that code derived (LICENSE 2.4). Two new rules: code, skills or prompts built on Charness's own code or commits, taking over its approaches and solutions, are under the licence like Charness itself, also when an AI model built them from Charness's code (LICENSE 2.3); and one licence covers Charness and the models trained on it: a model trained on purpose on Charness code or commits may be published or offered to others, as open weights or as a service, only together with this licence, and whoever uses it follows Charness's own rules (free under Part 1, otherwise the group's licence) with no second fee; a group that sells or offers a model it trained on Charness, or a general model it trained on public code that includes Charness, needs its organization licence for its band while it does ($0 in the Free band); groups that only use such a general model, or a model trained on their own agents' sessions not picked to teach it what Charness gave its agents, owe nothing for it — LICENSE 2.5, 3.3. Code and commits published under MIT stay MIT, and a copy keeps the licence file it came with. New too: short «How to buy» steps that a person or an AI agent can follow; `licensing.json` holds the same figures for programs and agents, and the README has a «For AI agents» section.
128
+
129
+ **Typing or saying «claude», «клод», «opencode» or «запусти клода» no longer starts an agent — only the command does: `/claude`, `/opencode`, or the buttons on the topic's welcome.**
130
+ Before, a plain message that was just an agent's name (or the name followed by a prompt: `claude fix the bug`), typed or spoken in a voice note, started that agent in a bound topic — and an ordinary sentence that began with one of those words could start one by accident. Now such a message is an ordinary message: an agent that runs in the topic reads it as its input, a conversation that sleeps is woken by it like by any other message, and a topic with no agent answers with the usual hint to run `/claude` or `/opencode`. The first message of an admin in a topic that a non-admin made still binds it to the matching folder with the one welcome, but starts nothing. `/claude` and `/opencode` start the agent exactly as before, including the question before a switch to the other backend.
131
+
132
+ **A restart no longer brings back a usage limit the bot had already dealt with: before, every restart re-armed the last limit a Claude topic had stopped on — a wait you had skipped or that had given up was announced and waited for again.**
133
+ The bot recognises a limit it already handled by the error itself, not by the whole session log: each restart adds the agent's answer to the bot's own MCP check to that log, which made the old error look new at the next restart. A limit error found at a restart is also no longer confirmed by a usage reading taken before the error — one the restart's own usage poll had not re-read or marked out of date yet could make the bot wait hours for a reset; such a limit is now probed with a short retry first, as a live one is, and its repeat confirms it.
134
+
135
+ **When a Claude account signs out, the bot now also writes to you in a private message, with a button that signs it in again — and `/limits` no longer makes the account vanish.**
136
+ Before, the alert about a signed-out account went only to General, which you keep muted, so an account whose login expired («this login reached its time limit and cannot be renewed») was missed; and the account silently disappeared from the `/limits` board (which hides signed-out accounts) while `/accounts` still listed it as «not signed in», so it looked as if it came and went by itself. Now, with the alert in General unchanged, the owner (`OWNER_USER_ID`) gets a private message from the bot — `🔑 Claude account «work» is signed out — its sign-in expired. Tap the button to sign it in again.` — with a **🔑 Sign in again** button that starts the same sign-in as 🔑 in `/accounts`, right in that chat. It is sent once per sign-out (not per refused turn, not after a restart) and again only after the account was signed in again and signed out again; once the account is signed in again that message turns into «signed in again» and loses its button; if you never opened a private chat with the bot, Telegram refuses it, the bot says so in its log, and General's notice — which then stands alone — ends with a line asking you to open a private chat with the bot and press Start. `/limits` now lists an account that cannot work, with its line saying why — `work — 🔑 not signed in`, `🔑 sign-in expired`, `🔑 refused by the API (401/403)`, `🚫 its organization turned it off` — and, where a sign-in mends it, a `🔑 Claude · work` button that signs it in again (it never switches a topic, and the account stays out of the automatic-switching picks). Worded in all 12 languages.
137
+
138
+ **An agent that launches workers is now told, every hour by default, where your accounts' limits stand — so the limits that reset first are spent first — and `/limits_reminders` switches it (1 h / 2 h / 4 h / Off).**
139
+ Before, such an agent picked an account once and never looked again, so it kept spending accounts whose limits reset late while a sooner-resetting one sat unused. Now a conversation whose agent called `claude_profiles` or armed a worker watch gets a short note — which account the next new Claude worker goes to and why, the next one or two, the ChatGPT window, and «call `claude_profiles` right before your next launch» — at a moment the agent works anyway: your own message or a scheduled run starts a turn, or (for Claude) the agent's next tool call inside a running turn — never in a turn the bot starts for its own housekeeping (a retry's «continue», a wake-up, the todo reminder); plus one line when the limits changed, in the result of a bot send tool or at a turn start after 30 minutes of quiet. The note is for the agent only (the topic never shows it), a sleeping, paused or compacting topic gets nothing and is never woken, and it never keeps an idle topic from its compaction or sleep. `/limits_reminders` is a one-shot picker — in General the default of every topic (`settings.json` `limitReminders`), in a topic its own choice or «As General» — and the `/limits` board has a `🔔 Reminders` row that opens it.
140
+
141
+ **A worker that went cold is no longer resumed on another account: `claude_profiles` now says to hand its work to a NEW worker instead, and the account rules for agents live in one place.**
142
+ Before, an agent resumed an old worker on whichever account the bot named, dragging a session whose prompt cache was cold anyway onto an account it never ran on. Now `claude_profiles` takes `lastRunEndedAt` (the last write of the worker's log) and answers with `resume`: **resume** where it ran, or **hand over** to a new worker on the named account when its account can no longer run it, or when its last run ended 55 minutes ago or more and another account is now the pick — a worker cut off mid-run by a usage limit still resumes its same session at once. `charness claude-profiles --best --current <name>` follows the rule and **now exits 3 when the worker should be handed over** (stdout is still the new worker's directory, stderr says why), so a script that resumes the old session under it stops instead; `--last-run-ended-at <ISO>` marks a warm worker (exit 0), and `--json` carries `resume` — on a hand-over a script takes `resume.profile`, not `recommended`, which stays the old worker's own account. The orchestration skill is the one home of these rules; the Claude delegate skill points there.
143
+
144
+ **When the agent's background work is still running at the idle mark, the topic now gets one line saying the idle compaction was skipped and why — and the idle compaction is never made late, a restart of the bot included.**
145
+ Before, such a mark was skipped without a word in the topic (only the bot's console said «compaction is skipped: working»), and the compaction ran at some later look — hours on, long after the prompt cache had gone cold, so it only cost more — or never; a bot that had been down past the idle window compacted the idle topics when it came back, with the same cold cache. Now the idle compaction runs only AT the idle mark, while the cache is warm. If the agent's background work, or a message it has not taken in, holds the process then, the bot says so in one silent line (what is still running) and leaves the conversation as it is; a turn that is merely still running holds the mark without a line, since its end opens a new idle period. The later looks — and the first look after the bot comes back from downtime past the window — only decide the stop of the process; the next turn of the agent starts a new idle period whose mark compacts again. The bot's console now names which signal holds the process (`working (busy turn, unconsumed input 2)`), and the mark's state survives a restart.
146
+
147
+ **An idle topic is no longer taken for «working» for hours after you sent the agent several messages while it was busy — the idle compaction and the idle stop run on time again.**
148
+ Before, two or more messages sent while the agent was in the middle of a turn (voice notes, say) were taken in by Claude Code together, as one message; the bot counted every one of them as still waiting, took the process for working for good, and at the idle mark skipped both the compaction and the stop — every 55 minutes, without a word in the topic — until you typed `/compact` yourself. The same stuck count also held back automatic updates and account switches. Now the bot matches what the agent took in with what it wrote, so those messages count as taken in. And as a safety net, a message the agent never confirms keeps a process that runs no turn for 30 seconds only, and a compaction flag nobody cleared for no longer than the bot itself waits for a compaction (30 minutes).
149
+
150
+ **The greeting the bot posts in General when it is added to a group now opens with one friendly sentence that names the bot and says what it does, and lists only the steps that still apply.**
151
+ Before, it opened with a fixed «Charness 2.0», sent you to @BotFather to switch privacy mode off, told you to run `/bind` in every topic and named the `WORK_ROOT` variable. Now there is no title line and no version: it opens with «Hi! I'm Charness — I run Claude Code and OpenCode agents in this group's topics: one topic = one project folder = one agent.» (translated in every language, the name stays «Charness»); then three steps — make the bot an admin with Manage Topics, Delete Messages and Pin Messages, run `/doctor` to see what is still missing, and create a topic (a name that matches a project folder binds it by itself, any other name gets the folder list, or `/bind <subdir>`) and start an agent — and last «Project folders: <path>». The BotFather step is gone: Telegram sends a group admin every message whatever the privacy mode says, and the bot needs admin rights anyway. `/doctor` agrees with it: its privacy line is shown only for a bot that is not an admin (before, it failed an admin bot that had left the default mode on), and its hint offers making the bot an admin before the BotFather route. It is posted once, when the bot joins the group (or is added back after a removal): before, it came again each time the bot was made an admin or its rights were edited — the very steps it asks for. Worded in all 12 languages; SETUP.md and Troubleshooting follow.
152
+
153
+ **When a Claude account of the AI stops working because of its sign-in, you are told once what broke, what the bot did and how to fix it — in General, or, on an instance that serves only Jira, on the new operator issue.**
154
+ Before, a signed-out account showed up only in the bot's log and as work that silently stopped. Now, when an account's status check finds it signed out or the CLI refuses it on a turn (a login expired or revoked, an organization that turned Claude subscription use off), one message says which account, the CLI's own words, where its conversations went — or that no account can work and they wait — and how to sign it in again (`/accounts login <name>`, or the `claude auth login` command for its folder on the host); one more line says when it is signed in again (a sign-in through `/accounts` is noticed at once; a refusal that only a status check ended is no sign-in and is not announced). In Telegram it is posted in General and pinned until then. It is said once per change, not per turn and not again after a restart. A Jira-only instance takes a new `jira.json` key, `operatorIssue` (an issue the AI account can see), with an optional `operatorAccountIds` to mention: the bot posts these alerts there as comments, and that issue is never a request — a hand-over, comment or mention on it does not start the AI. A conversation left with no account that can work now waits instead of being reminded until it gives up, and goes on by itself once an account is signed in again.
155
+
156
+ **A Jira issue whose AI account was signed out now says so in plain words — «The AI's Claude account «default» is signed out … I moved this issue to «second» and will continue» — instead of ending in «The AI could not finish request req_…».**
157
+ When a turn fails because the AI's Claude account is signed out or refused, the issue gets a comment saying so and where the work went, or, with no account that can work, that the operator was told and the work continues once one is signed in again. The give-up comment is left for a real silence and now says what it means for the reader — nothing more happens by itself, a person has to look, and to try again hand the issue to the AI again or mention it — without the request's id, which the bot's log keeps.
158
+
159
+ **A conversation no longer starts or resumes on a Claude account that is signed out, and a turn the CLI refuses for the account's sign-in moves to the next signed-in account and goes on there — before, a Jira issue or a topic on such an account did nothing until its request gave up with «the agent ended its turns without answering».**
160
+ Before, a conversation ran on the account it resolved to (its own pick, else General's, else `default`) whether or not that account was signed in: with `default` signed out and another account free, every new Jira issue started on `default`, each turn failed at once («Not logged in · Please run /login») and the reminders gave up; the automatic switch only reacted to a usage limit. Now an account its last status check found signed out, or one the CLI refused on a turn — signed out, a login expired or revoked, «Your organization has disabled Claude subscription access for Claude Code», a bare 401 / 403 — is never started or resumed on: the conversation goes to the account `claude_profiles` recommends (the `/limits` list's accounts, an API-credit one of it first, else the subscription whose weekly limit resets soonest) and keeps it as its own pick, the same conversation resumed there. A refused turn makes the same move at once and continues the turn (a topic gets one line saying so); with no other usable account the logged-out notice comes as before. The refused account counts as not signed in until it is signed in again (a new login in its folder, which the usage poll notices within ten minutes; a bare 401 / 403 also ends once the hourly status check finds it signed in — once: the same login refused that way again within six hours stays refused until a new sign-in, so an account never swings between refused and usable every hour), `charness claude-profiles` says `sign-in refused at <time>: <why>`, and the bot log says each change of an account's state once (`[accounts] profile default: not signed in — new sessions go to second`).
161
+
162
+ **The AI's answer on a Jira issue can now show screenshots and play videos right in its comment — before, a file it made reached people only through the attachments list, if at all.**
163
+ The agent passes the files in its answer (`answer_request`'s new `files`, paths in the project folder): the bot attaches them to the issue and the answer's comment shows them after its text — a PNG, JPEG, GIF or WebP image shown, an H.264 `.mp4` playing in the comment, any other file listed as a link to its attachment. `send_file_to_user`, the tool a Telegram topic's agent sends files with, now works in a Jira issue's session too, under the same name: its files go into a comment of their own, the caption as its text, in the thread the agent is answering in. Every file is checked before anything is uploaded — inside the project folder, attachments on for the site and within its upload limit, an image whole and of the kind its name says, an `.mp4` complete and H.264 (read from the file itself, no ffprobe needed; another codec is refused with the `ffmpeg` line that converts it) — so a bad file attaches nothing and the answer is not posted; the agent is told why and can send it again. A file sent again is reused only when it is the very same file — the same name and the same content, recorded when it was uploaded — so a resend attaches nothing twice, while a screenshot or recording made again under the same name is uploaded anew and never shows the old one; a file named twice in one answer is attached once. The AI account needs the *Create Attachments* permission in the project.
164
+
165
+ **When someone answers the AI inside a Jira comment thread, the AI now answers in that thread too — before, its answer came as a new comment at the bottom of the issue.**
166
+ Jira Cloud has threaded replies, and the connector ignored them: a reply reached the agent like any comment, with nothing saying what it answered, and every answer was a new top-level comment. Now a reply reaches the agent marked as one — «A reply in the thread of comment 10240 by Ann, which says: "…"», the start of that comment on one line (never the text of a comment withheld from the agent) — and a request that a reply opened (an @-mention, or a comment on an issue handed to the AI) is answered in that thread: its progress notes, its final answer, its usage-limit notice and its alert, and the queued or over-budget notice about it. When someone answers in a thread while the AI is already working on the issue, the AI's next answer goes into that thread too. An answer that names a comment in `replyToCommentIds` goes into that comment's thread (Jira threads are one level deep, so a reply's answer goes under the thread's first comment) and still mentions its author; a request opened by a hand-over or a top-level comment is answered top-level, as before. If Jira refuses the thread because its comments are gone, the answer is posted as a new comment and the agent is told.
167
+
168
+ **A topic whose agent finished now shows 🟢 at the end of its name in the topic list — the ✅ of 4.2.0 never appeared, because Telegram drops ✅ from topic names.**
169
+ Before, a finished topic showed no mark at all: Telegram removed the ✅ the bot asked for and answered as if nothing had changed, and the bot believed the mark was there. Now «finished» is a green circle (`Deploy 🟢`), and when Telegram keeps a topic's name different from the one the bot asked for — it answers «not modified», or its «renamed» line carries another name — the bot no longer takes the asked name for what the topic shows, so the next mark is still written. `/topic` binds a new topic under the name Telegram stored.
170
+
5
171
  ## 4.2.0 — 2026-11-20
6
172
 
7
173
  **Pull requests to Charness are welcome: by opening one you agree to the new Contributor License Agreement, `CLA.md` — no form to sign.**
@@ -75,8 +241,8 @@ To stop a runner's jobs (when it is unpaired or learns it was removed), the runn
75
241
  ## 4.0.0 — 2026-11-16
76
242
 
77
243
  **Charness 4.0 is free for personal use and for organizations with up to $500,000 revenue (funding included) and up to 20 people; larger organizations pay one annual license from $500, with unlimited users and agents; every release before 4.0 stays MIT.**
78
- From 4.0 the license is the [Charness License 1.0.0](LICENSE) — source-available, not open source. Who pays: an organization group whose revenue plus the funding it raised in the last 12 months is above $500,000, or that has more than 20 people (everyone working for the group, not only the people who use Charness). The fee is the higher of the revenue band and the people band — $500, $2,000, $6,000, $15,000, $30,000 or $60,000 a year for the whole group, no seats — with 20% off for a "Powered by Charness" mark and 15% off for prepaying 2 or 3 years. Personal use, education, charities and public bodies' core work are free, and so is one 32-day evaluation.
79
- What to do: nothing for personal use or a free group. An organization that already runs MIT Charness gets one 90-day transition from the first day it uses a 4.x release. Buying is by e-mail (charnesshub@gmail.com), with no license keys, no telemetry and no prompt inside the bot. Every release before 4.0 stays MIT, and an install is never moved to 4.0 by itself: General announces it and waits for your tap. Details: [licensing FAQ](docs/licensing-faq.md), [MIGRATION_3_TO_4.md](MIGRATION_3_TO_4.md), [commercial page](https://olosegres.github.io/charness/commercial/).
244
+ From 4.0 the license is the [Charness License 1.0.0](https://github.com/olosegres/charness/blob/v4.2.0/LICENSE) — source-available, not open source. Who pays: an organization group whose revenue plus the funding it raised in the last 12 months is above $500,000, or that has more than 20 people (everyone working for the group, not only the people who use Charness). The fee is the higher of the revenue band and the people band — $500, $2,000, $6,000, $15,000, $30,000 or $60,000 a year for the whole group, no seats — with 20% off for a "Powered by Charness" mark and 15% off for prepaying 2 or 3 years. Personal use, education, charities and public bodies' core work are free, and so is one 32-day evaluation.
245
+ What to do: nothing for personal use or a free group. An organization that already runs MIT Charness gets one 90-day transition from the first day it uses a 4.x release. Buying is by e-mail (charnesshub@gmail.com), with no license keys, no telemetry and no prompt inside the bot. Every release before 4.0 stays MIT, and an install is never moved to 4.0 by itself: General announces it and waits for your tap. Details: [licensing FAQ](https://github.com/olosegres/charness/blob/v4.2.0/docs/licensing-faq.md), [MIGRATION_3_TO_4.md](MIGRATION_3_TO_4.md), [commercial page](https://olosegres.github.io/charness/commercial/).
80
246
 
81
247
  ## 3.14.0 — 2026-11-13
82
248
 
package/DEVELOPMENT.md CHANGED
@@ -144,7 +144,7 @@ yarn test:flows # the `*E2e.test.ts` flows, 16 files at a time (they mostly wa
144
144
  # runner-link flows and for the flows that name TMUX_SOCKET_NAME (the Jira
145
145
  # ones) once TMPDIR is over about 26 characters; most flows keep tmux's
146
146
  # short «default» socket and have room to spare
147
- yarn runner-lock # after ANY dependency change: rewrite remoteRun/runner-package-lock.json (the
147
+ yarn runner-lock # after ANY dependency change: rewrite runner-scripts/runner-package-lock.json (the
148
148
  # lock the runners install from, made from yarn.lock; fetches the sha512
149
149
  # hashes of new versions from the registry). A unit test fails until you do
150
150
  yarn hot # hot-reload mode: tsc -w + nodemon on dist/ (also
@@ -165,7 +165,7 @@ downloads them, so it needs the network once) or a **`python3` that has numpy, s
165
165
  `uv` cannot reach the package index, a local run skips that test and says why; CI (`CI=true`, uv installed by the
166
166
  workflow) fails instead.
167
167
 
168
- The `charness remote-run` flow (two files that run side by side, each with a runner of its own — `remoteRunE2e.test.ts`, `remoteRunLifecycleE2e.test.ts`; the shared helpers are `remoteRunE2e/remoteRunFlowHarness.ts`) drives the built CLI against a throwaway loopback `sshd` (no root), `rsync` and a
168
+ The `charness remote-run` flow (six files that run side by side, each with a runner of its own — `remoteRunE2e.test.ts` and the five `remoteRunLifecycle*E2e.test.ts` (interrupts, time limits, kill, `exec`, `clean`); the shared helpers are `remoteRunE2e/remoteRunFlowHarness.ts` and `remoteRunE2e/remoteRunLifecycleFlow.ts`) drives the built CLI against a throwaway loopback `sshd` (no root), `rsync` and a
169
169
  private **Pueue** in temp dirs. It wants `sshd` (`openssh-server`), `ssh`, `rsync`, `pueue` / `pueued` 4.x on `PATH` and `yarn build`;
170
170
  a local run without them is skipped with the reason, CI (`CI=true`) installs them (the workflow pins Pueue by checksum) and fails
171
171
  without. A flow that is killed or times out cannot leave daemons behind: `remoteRunE2e/remoteRunFlowSweep.ts` ends what names its
@@ -188,11 +188,11 @@ A flow does not wait out the production windows in real time: its env file sets
188
188
  of named overrides (`src/testTimings.ts`: `telegramSendIntervalMs` — the global send pacer's 2 s, `telegramSendOperationDeadlineMs` — a send
189
189
  queue call's 30 s deadline, `jiraPollIntervalMs` —
190
190
  below the 10 s floor of `jira.json`, `requestTurnPollMs` — the wake-up engine's 10 s poll of the turns it watches,
191
- `requestSweepIntervalMs` and `requestFirstPostRetryDelayMs` — the wake-up engine's minutes, `requestRestartWakeStaggerMs` — the 30 s between the wakes of tracker requests whose process a boot found gone, `limitProbeDelayMs` — the two-minute probe of an unconfirmed usage limit, `stateSaveDebounceMs` — `state.json`'s
191
+ `requestSweepIntervalMs`, `requestFirstPostRetryDelayMs` and `progressFollowUpMs` — the wake-up engine's minutes (its sweep, the first re-post retry, the 15 min before a progress note is followed up), `requestRestartWakeStaggerMs` — the 30 s between the wakes of tracker requests whose process a boot found gone, `limitProbeDelayMs` — the two-minute probe of an unconfirmed usage limit, `stateSaveDebounceMs` — `state.json`'s
192
192
  500 ms save debounce, `openCodeServerUpBudgetMs` — the OpenCode server's 60 s of retries, `backgroundHoldMaxMs` — the 6 h the
193
193
  agent's own pending work holds a json-stream process, `adoptedTailFirstReadMs` — the 300 ms from the boot's release of an
194
194
  adopted json-stream session to the first read of its output, `todoReminderPollMs` and `todoReminderIntervalMs` — the todo
195
- reminder's 10 s poll and the interval `settings.json` sets, `creditRecheckIntervalMs` and `creditRecheckPollMs` — the 24 h between two rechecks of a used-up API credit and the 30 min poll that finds one due, `scheduleMinFireIntervalMs` — the 5 min minimum between cron fires, `topicIndicatorSettleMs`, `topicIndicatorMinRenameGapMs`, `topicIndicatorSweepMs` and `topicIndicatorBootWaveDelayMs` — the 20 s a name must hold before it is written to a topic, the 60 s between two renames, the 5-minute sweep and the 5 s the boot's wave waits for the updates that waited, `checkStatusIntervalMs` — the 15 min gap between a passing check's status lines, `bindPickerClaimLimit` — how many `/bind` picker claims are kept (a count: 200), `questionSetAsideWaitMs` — the question wait (up to an hour), after which an unanswered agent question is set aside, `questionSetAsideRetryMs` — the 30 s pause before the bot tries again to set a question aside after the agent's server did not take it, `postBusyPollMs` and `postWaitForIdleMs` — the 5 s poll and the 10 min wait of a prompt the bot delivers (a scheduled one) for a session whose turn is busy, `remoteRunLeaseMs`, `remoteRunRunnerPollMs` and `remoteRunProbeDeadlineMs` — the 45 s heartbeat lease, the 10 s poll of the wait for a paired runner and the 20 s deadline of the probe of the runners in `charness remote-run`, `tscWatchCheckIntervalMs` and `tscWatchStaleGraceMs` — the
195
+ reminder's 10 s poll and the interval `settings.json` sets, `limitReminderIntervalMs`, `limitNoteQuietMs`, `limitNoteSummaryFloorMs` and `limitNoteEnginePollMs` — the accounts note's interval (`/limits_reminders`, off stays off), the 30 min a session must have been quiet for a turn start to carry its change summary, the 30 min between two summaries and the 60 s poll that hands a due reminder to a running Claude turn, `creditRecheckIntervalMs` and `creditRecheckPollMs` — the 24 h between two rechecks of a used-up API credit and the 30 min poll that finds one due, `scheduleMinFireIntervalMs` — the 5 min minimum between cron fires, `topicIndicatorSettleMs`, `topicIndicatorMinRenameGapMs`, `topicIndicatorSweepMs` and `topicIndicatorBootWaveDelayMs` — the 20 s a name must hold before it is written to a topic, the 60 s between two renames, the 5-minute sweep and the 5 s the boot's wave waits for the updates that waited, `checkStatusIntervalMs` — the 15 min gap between a passing check's status lines, `bindPickerClaimLimit` — how many `/bind` picker claims are kept (a count: 200), `questionSetAsideWaitMs` — the question wait (up to an hour), after which an unanswered agent question is set aside, `questionSetAsideRetryMs` — the 30 s pause before the bot tries again to set a question aside after the agent's server did not take it, `postBusyPollMs` and `postWaitForIdleMs` — the 5 s poll and the 10 min wait of a prompt the bot delivers (a scheduled one) for a session whose turn is busy, `remoteRunLeaseMs`, `remoteRunRunnerPollMs` and `remoteRunProbeDeadlineMs` — the 45 s heartbeat lease, the 10 s poll of the wait for a paired runner and the 20 s deadline of the probe of the runners in `charness remote-run`, `tscWatchCheckIntervalMs` and `tscWatchStaleGraceMs` — the
196
196
  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 three before them (the bot's `/runners` probe reads `remoteRunProbeDeadlineMs` too), the bot the rest).
197
197
  It is the ONE test-only timing seam,
198
198
  never a setting: unset, every window is the production one; a value may only shorten its window (each key is capped at its
@@ -208,6 +208,44 @@ docker compose logs -f charness # tail logs
208
208
  docker exec charness-main charness-restart-bot # restart only the bot; agents keep running
209
209
  ```
210
210
 
211
+ ### Walkthrough videos and screenshots (`yarn walkthrough`)
212
+
213
+ A user-visible change is judged by looking, and a green run does not show what a person would have seen. `yarn walkthrough record
214
+ <flow file>` runs a process-level flow (a `*E2e.test.ts` that starts the built bot against the fake Bot API and a fake agent) with a
215
+ recorder attached, and draws what it recorded: an H.264 `.mp4` of the whole run and, from a list you write, phone-size screenshots.
216
+
217
+ ```bash
218
+ yarn build # a flow runs the built bot
219
+ yarn walkthrough record src/__tests__/limitRemindersE2e.test.ts \
220
+ [--config cfg.json] [--shots shots.json] [--out dir] [--no-video] [--browser /path/to/chrome]
221
+ yarn walkthrough render agent/tmp/walkthroughs/limitRemindersE2e/limitRemindersE2e.recording.json --shots shots.json # redraw, no re-run
222
+ ```
223
+
224
+ Nothing is drawn for a flow that fails. The output goes to `agent/tmp/walkthroughs/<flow>/` (the ignored temp dir) unless `--out` says
225
+ otherwise: `<flow>.mp4`, `<flow>.recording.json` (what the recorder saw; `render` draws it again with another config) and
226
+ `screens/<name>.png`. It wants `ffmpeg` on `PATH` and a Chromium for `playwright-core` (`npx playwright install chromium`, or an
227
+ executable named by `--browser`); keep `TMPDIR` short, as for any flow.
228
+
229
+ **The video** is 1280×720, one picture per change of the screen, held as long as the real time to the next one (between 0.7 and
230
+ 3.2 s; a longer wait is shortened and said on screen). **The left columns are the operator's chat**: one column per topic, each message
231
+ as the fake Bot API holds it (the bot's on the left, the operator's on the right, with the inline buttons; a tapped one is outlined),
232
+ so what the topic shows or never shows is on screen. **The right column is what the agent read** and the user never sees: the
233
+ prompts it was sent (with the text the bot glued on), the results of its tool calls, what its hooks handed it and its answers. A
234
+ block that starts with `highlightMarker` (a note the bot hands the agent) is highlighted there, a card without one says so. The bar
235
+ below lists the flow's steps (one dot each: pending, running, passed) and names the running one.
236
+
237
+ **The config** (`--config`, JSON, all optional): `title`; `topics` — `[{ "thread": 111, "name": "Orchestrating topic" }]`, the columns
238
+ left to right (without it every topic with a message gets one: `General`, `Topic <id>`); `agentLabels` — a card's label by the key prefix
239
+ of its request (`{ "NOTE": "orchestrating" }`); `agentKeep` and `agentWidth` — how many cards stay and how wide the column is;
240
+ `highlightMarker` / `highlightName`. **The screenshots** (`--shots`, a JSON array): `{ "name", "thread", "match" (a regular expression for
241
+ the message's text), "keyboardMatch"?, "isOperatorMessage"?, "topicName", "subtitle"?, "caption", "before"? }` — the first state of the
242
+ chat in which the message matches, cut at it with `before` messages (default 2) above it; a picker the bot later edits into its
243
+ confirmation is found as the picker.
244
+
245
+ The recorder (`src/walkthrough/recorder.ts`) only reads: it wraps `it`, the fake Bot API's `start` / `stop` / `pushCallback` and reads
246
+ the fake agent's logs, and every wrapped method gives back what the original does, so a flow behaves as without it. The tool is dev
247
+ tooling: `tsconfig.json` leaves `src/walkthrough/` out of the build, and it is not in the package.
248
+
211
249
  ## Releases
212
250
 
213
251
  Two workflows. **`.github/workflows/test.yml` (`Tests`)** runs typecheck, build and the FULL `yarn test` on every push to
@@ -229,8 +267,8 @@ publish, no tag, no push, the run is red; the next day's run tries again by itse
229
267
  it checks the tarball's sha256 and publishes THAT file, `npm publish <tarball> --provenance`) → `release` (the only job that can
230
268
  write: `commit-release --prepare --tarball` makes the release commit — the tested commit plus `package.json`,
231
269
  `npm-shrinkwrap.json` and `CHANGELOG.md` taken out of the very tarball npm has (npm packs them byte for byte) —, the tag and
232
- the merge with a moved `main`, locally and without the token; then a plain `git push --atomic` of `main` and the tag, and the
233
- GitHub Release. Its checkout keeps no credentials; the token is in the environment of the push step (git only) and the Release
270
+ the merge with a moved `main`, locally and without the token; then a plain `git push --atomic` of `main`, the tag and,
271
+ when GitHub has none yet, `license-<version>`, and the GitHub Release. Its checkout keeps no credentials; the token is in the environment of the push step (git only) and the Release
234
272
  step (`gh`) alone. A step is not a boundary against code that ran earlier in the same job — such a process runs as the same
235
273
  user and could read a later step's environment —, so what runs there is pinned by hash: Yarn by `packageManager`
236
274
  (`yarn@4.9.2+sha512.…`, which corepack checks), its packages by `yarn.lock`, the actions by commit). Every job but `test` installs
@@ -259,7 +297,8 @@ publish, no tag, no push, the run is red; the next day's run tries again by itse
259
297
  `npm pack charness@X.Y.Z`, then `yarn tsx src/release/cli.ts commit-release X.Y.Z --tarball charness-X.Y.Z.tgz --base <SHA>`
260
298
  (`--remote <name>` when GitHub is not your `origin`)
261
299
  — it commits that commit plus the tarball's version files and nothing else, merges `main` and pushes; a real conflict
262
- with `main` is resolved by hand, then push `main` and the tag —, and `yarn tsx src/release/cli.ts notes X.Y.Z > notes.md`,
300
+ with `main` is resolved by hand, then push `main`, the tag and the `license-<version>` tag it created
301
+ (`git tag --list 'license-*'`) —, and `yarn tsx src/release/cli.ts notes X.Y.Z > notes.md`,
263
302
  `gh release create vX.Y.Z --verify-tag --title vX.Y.Z --notes-file notes.md`.
264
303
  - A version with no release run — published by hand, or its tag only on another remote (a clone whose `origin` is not
265
304
  GitHub) — stops the runs the same way: push its `vX.Y.Z` tag to GitHub.
@@ -291,7 +330,7 @@ publish, no tag, no push, the run is red; the next day's run tries again by itse
291
330
  major is released only by dispatching the workflow with `bump=major`.
292
331
  - **Nothing to release** (green, nothing tagged): no commits since the last tag, `HEAD` already tagged, or no shipped
293
332
  path in the net diff from the tag — `src/**/*.ts` outside `src/__tests__` and `src/release`, `stt/gigaam_sidecar.py`,
294
- `npm-shrinkwrap.json`, `LICENSE`, `LICENSE-COMMERCIAL.md`, everything under `agent-plugin/`, and `package.json` only when
333
+ `npm-shrinkwrap.json`, `LICENSE`, `licensing.json`, everything under `agent-plugin/`, and `package.json` only when
295
334
  `dependencies`, `bin`, `engines`, `files`, `main` or `license` differ. A docs-only or tests-only day, or a change and its
296
335
  revert, publishes nothing; README / SETUP changes reach the npm page with the next code release. A change to the license
297
336
  texts or the `license` field does count: it is a release (`releasePlan.ts` is the source of truth for both lists).
@@ -307,9 +346,18 @@ publish, no tag, no push, the run is red; the next day's run tries again by itse
307
346
  paragraph or `- ` bullet, in any `###` subsection — starts with a bold first sentence (`**…**`); the run fails,
308
347
  quoting the line, otherwise (`changelogFormat.test.ts` fails first on a commit that breaks it). An empty
309
348
  `## Unreleased` is filled with the `feat` / `fix` subjects.
349
+ - **The licence's fixed tag.** `LICENSE`'s second Required Notice line names the fixed copy of its text,
350
+ `https://github.com/olosegres/charness/blob/license-<version>/LICENSE`, and every copy names its licence by it. Nobody
351
+ tags it by hand: the release creates `license-<version>` on the release commit when GitHub has no such tag yet and
352
+ pushes it with `main` and the `v*` tag (a hand-pushed `v*` tag's run creates and pushes it too). Before anything is
353
+ published, `yarn tsx src/release/cli.ts check-license-tag` refuses a notice that names anything but
354
+ `license-<version>` for the version in the title `# Charness License <version>`, and a `license-<version>` tag already
355
+ on GitHub that holds another `LICENSE` text than the release: a commit that changes the
356
+ terms gives the licence a new version (title, notice, `licensing.json`). Run by hand against another remote with
357
+ `--remote <name>`.
310
358
  - **Package check** before anything is published: the tarball holds `package.json`, `dist/cli.js`, `stt/gigaam_sidecar.py`,
311
- `remoteRun/runner-package-lock.json`, `remoteRun/ensureNode.sh`, `npm-shrinkwrap.json`, the agent plugin's manifest and
312
- orchestration skill, `CHANGELOG.md`, `README.md`, `LICENSE`, `LICENSE-COMMERCIAL.md` (`requiredPackFiles`) and no `src/` or tests, and installed the way a user installs it — `npm install -g`
359
+ `runner-scripts/runner-package-lock.json`, `runner-scripts/ensureNode.sh`, `npm-shrinkwrap.json`, the agent plugin's manifest and
360
+ orchestration skill, `CHANGELOG.md`, `README.md`, `LICENSE`, `licensing.json` (`requiredPackFiles`) and no `src/` or tests, and installed the way a user installs it — `npm install -g`
313
361
  from a loopback registry that serves the tarball and marks its shrinkwrap, as the npm registry does (an install of the
314
362
  tarball FILE ignores the shrinkwrap), dependencies passed on to the real registry — `charness --version` prints the new
315
363
  version and every package sits at the version the shrinkwrap pins (`yarn tsx src/release/cli.ts check-pack`, after