charness 4.1.1 → 4.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +186 -2
- package/DEVELOPMENT.md +65 -11
- package/LICENSE +331 -151
- package/MIGRATION_3_TO_4.md +8 -5
- package/README.md +23 -8
- package/SETUP.md +57 -11
- package/agent-plugin/README.md +10 -3
- package/agent-plugin/skills/charness-delegate-claude/SKILL.md +18 -26
- package/agent-plugin/skills/charness-delegate-opencode/SKILL.md +5 -3
- package/agent-plugin/skills/charness-orchestration/SKILL.md +57 -16
- package/dist/adapters/adapterNames.d.ts +2 -0
- package/dist/adapters/adapterNames.d.ts.map +1 -1
- package/dist/adapters/adapterNames.js +3 -1
- package/dist/adapters/adapterNames.js.map +1 -1
- package/dist/adapters/claudeCliAdapter.d.ts +4 -0
- package/dist/adapters/claudeCliAdapter.d.ts.map +1 -1
- package/dist/adapters/claudeCliAdapter.js +13 -0
- package/dist/adapters/claudeCliAdapter.js.map +1 -1
- package/dist/adapters/claudeJsonStreamAdapter.d.ts +150 -10
- package/dist/adapters/claudeJsonStreamAdapter.d.ts.map +1 -1
- package/dist/adapters/claudeJsonStreamAdapter.js +401 -83
- package/dist/adapters/claudeJsonStreamAdapter.js.map +1 -1
- package/dist/adapters/createAdapter.d.ts +12 -3
- package/dist/adapters/createAdapter.d.ts.map +1 -1
- package/dist/adapters/createAdapter.js +39 -13
- package/dist/adapters/createAdapter.js.map +1 -1
- package/dist/adapters/openCodeAdapter.d.ts +65 -2
- package/dist/adapters/openCodeAdapter.d.ts.map +1 -1
- package/dist/adapters/openCodeAdapter.js +202 -19
- package/dist/adapters/openCodeAdapter.js.map +1 -1
- package/dist/adapters/terminalAdapter.d.ts.map +1 -1
- package/dist/adapters/terminalAdapter.js +2 -1
- package/dist/adapters/terminalAdapter.js.map +1 -1
- package/dist/apiErrorRetry.d.ts +11 -3
- package/dist/apiErrorRetry.d.ts.map +1 -1
- package/dist/apiErrorRetry.js +33 -3
- package/dist/apiErrorRetry.js.map +1 -1
- package/dist/apiRetryKick.d.ts +3 -2
- package/dist/apiRetryKick.d.ts.map +1 -1
- package/dist/apiRetryKick.js +13 -5
- package/dist/apiRetryKick.js.map +1 -1
- package/dist/bot.d.ts +2 -6
- package/dist/bot.d.ts.map +1 -1
- package/dist/bot.js +2586 -693
- package/dist/bot.js.map +1 -1
- package/dist/cli/claudeProfiles.d.ts +31 -6
- package/dist/cli/claudeProfiles.d.ts.map +1 -1
- package/dist/cli/claudeProfiles.js +97 -22
- package/dist/cli/claudeProfiles.js.map +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +2 -1
- package/dist/cli.js.map +1 -1
- package/dist/connectors/jira/answerSink.d.ts +102 -7
- package/dist/connectors/jira/answerSink.d.ts.map +1 -1
- package/dist/connectors/jira/answerSink.js +364 -60
- package/dist/connectors/jira/answerSink.js.map +1 -1
- package/dist/connectors/jira/answerThreads.d.ts +44 -0
- package/dist/connectors/jira/answerThreads.d.ts.map +1 -0
- package/dist/connectors/jira/answerThreads.js +85 -0
- package/dist/connectors/jira/answerThreads.js.map +1 -0
- package/dist/connectors/jira/client.d.ts +67 -2
- package/dist/connectors/jira/client.d.ts.map +1 -1
- package/dist/connectors/jira/client.js +176 -4
- package/dist/connectors/jira/client.js.map +1 -1
- package/dist/connectors/jira/config.d.ts +6 -0
- package/dist/connectors/jira/config.d.ts.map +1 -1
- package/dist/connectors/jira/config.js +14 -1
- package/dist/connectors/jira/config.js.map +1 -1
- package/dist/connectors/jira/connector.d.ts +19 -0
- package/dist/connectors/jira/connector.d.ts.map +1 -1
- package/dist/connectors/jira/connector.js +68 -6
- package/dist/connectors/jira/connector.js.map +1 -1
- package/dist/connectors/jira/contextPreamble.d.ts.map +1 -1
- package/dist/connectors/jira/contextPreamble.js +6 -1
- package/dist/connectors/jira/contextPreamble.js.map +1 -1
- package/dist/connectors/jira/inbound.d.ts +21 -6
- package/dist/connectors/jira/inbound.d.ts.map +1 -1
- package/dist/connectors/jira/inbound.js +22 -16
- package/dist/connectors/jira/inbound.js.map +1 -1
- package/dist/connectors/jira/issueBlocks.d.ts +8 -1
- package/dist/connectors/jira/issueBlocks.d.ts.map +1 -1
- package/dist/connectors/jira/issueBlocks.js +38 -2
- package/dist/connectors/jira/issueBlocks.js.map +1 -1
- package/dist/connectors/jira/operatorIssue.d.ts +28 -0
- package/dist/connectors/jira/operatorIssue.d.ts.map +1 -0
- package/dist/connectors/jira/operatorIssue.js +81 -0
- package/dist/connectors/jira/operatorIssue.js.map +1 -0
- package/dist/connectors/jira/outbound.d.ts +8 -4
- package/dist/connectors/jira/outbound.d.ts.map +1 -1
- package/dist/connectors/jira/outbound.js +16 -8
- package/dist/connectors/jira/outbound.js.map +1 -1
- package/dist/connectors/jira/outgoingFileCheck.d.ts +37 -0
- package/dist/connectors/jira/outgoingFileCheck.d.ts.map +1 -0
- package/dist/connectors/jira/outgoingFileCheck.js +279 -0
- package/dist/connectors/jira/outgoingFileCheck.js.map +1 -0
- package/dist/connectors/jira/outgoingFiles.d.ts +81 -0
- package/dist/connectors/jira/outgoingFiles.d.ts.map +1 -0
- package/dist/connectors/jira/outgoingFiles.js +268 -0
- package/dist/connectors/jira/outgoingFiles.js.map +1 -0
- package/dist/connectors/jira/progressComments.d.ts +69 -0
- package/dist/connectors/jira/progressComments.d.ts.map +1 -0
- package/dist/connectors/jira/progressComments.js +136 -0
- package/dist/connectors/jira/progressComments.js.map +1 -0
- package/dist/connectors/jira/prompt.d.ts +5 -1
- package/dist/connectors/jira/prompt.d.ts.map +1 -1
- package/dist/connectors/jira/prompt.js +23 -3
- package/dist/connectors/jira/prompt.js.map +1 -1
- package/dist/connectors/jira/promptSpill.js +1 -1
- package/dist/connectors/jira/promptSpill.js.map +1 -1
- package/dist/connectors/jira/trigger.d.ts +13 -5
- package/dist/connectors/jira/trigger.d.ts.map +1 -1
- package/dist/connectors/jira/trigger.js +13 -7
- package/dist/connectors/jira/trigger.js.map +1 -1
- package/dist/connectors/jira/uploadedFiles.d.ts +48 -0
- package/dist/connectors/jira/uploadedFiles.d.ts.map +1 -0
- package/dist/connectors/jira/uploadedFiles.js +123 -0
- package/dist/connectors/jira/uploadedFiles.js.map +1 -0
- package/dist/connectors/telegram/commands/backendSwitch.d.ts +9 -1
- package/dist/connectors/telegram/commands/backendSwitch.d.ts.map +1 -1
- package/dist/connectors/telegram/commands/backendSwitch.js +17 -8
- package/dist/connectors/telegram/commands/backendSwitch.js.map +1 -1
- package/dist/connectors/telegram/commands/botCore.d.ts +5 -2
- package/dist/connectors/telegram/commands/botCore.d.ts.map +1 -1
- package/dist/connectors/telegram/commands/botSkills.d.ts +2 -0
- package/dist/connectors/telegram/commands/botSkills.d.ts.map +1 -1
- package/dist/connectors/telegram/commands/botSkills.js +17 -2
- package/dist/connectors/telegram/commands/botSkills.js.map +1 -1
- package/dist/connectors/telegram/commands/claudeAccounts.d.ts +11 -0
- package/dist/connectors/telegram/commands/claudeAccounts.d.ts.map +1 -1
- package/dist/connectors/telegram/commands/claudeAccounts.js +36 -42
- package/dist/connectors/telegram/commands/claudeAccounts.js.map +1 -1
- package/dist/connectors/telegram/commands/compaction.d.ts +20 -3
- package/dist/connectors/telegram/commands/compaction.d.ts.map +1 -1
- package/dist/connectors/telegram/commands/compaction.js +268 -96
- package/dist/connectors/telegram/commands/compaction.js.map +1 -1
- package/dist/connectors/telegram/commands/limitReminders.d.ts +21 -0
- package/dist/connectors/telegram/commands/limitReminders.d.ts.map +1 -0
- package/dist/connectors/telegram/commands/limitReminders.js +95 -0
- package/dist/connectors/telegram/commands/limitReminders.js.map +1 -0
- package/dist/connectors/telegram/commands/limitsBoard.d.ts +4 -0
- package/dist/connectors/telegram/commands/limitsBoard.d.ts.map +1 -1
- package/dist/connectors/telegram/commands/limitsBoard.js +27 -6
- package/dist/connectors/telegram/commands/limitsBoard.js.map +1 -1
- package/dist/connectors/telegram/commands/modelProviders.d.ts +2 -2
- package/dist/connectors/telegram/commands/modelProviders.d.ts.map +1 -1
- package/dist/connectors/telegram/commands/modelProviders.js +27 -16
- package/dist/connectors/telegram/commands/modelProviders.js.map +1 -1
- package/dist/connectors/telegram/commands/questionSetAside.d.ts +111 -0
- package/dist/connectors/telegram/commands/questionSetAside.d.ts.map +1 -0
- package/dist/connectors/telegram/commands/questionSetAside.js +637 -0
- package/dist/connectors/telegram/commands/questionSetAside.js.map +1 -0
- package/dist/connectors/telegram/commands/questionWait.d.ts +21 -0
- package/dist/connectors/telegram/commands/questionWait.d.ts.map +1 -0
- package/dist/connectors/telegram/commands/questionWait.js +109 -0
- package/dist/connectors/telegram/commands/questionWait.js.map +1 -0
- package/dist/connectors/telegram/commands/topicAccess.js +1 -1
- package/dist/connectors/telegram/commands/topicAccess.js.map +1 -1
- package/dist/connectors/telegram/commands/topicCommand.d.ts +0 -2
- package/dist/connectors/telegram/commands/topicCommand.d.ts.map +1 -1
- package/dist/connectors/telegram/commands/topicCommand.js +11 -7
- package/dist/connectors/telegram/commands/topicCommand.js.map +1 -1
- package/dist/connectors/telegram/commands/topicStatus.d.ts +24 -0
- package/dist/connectors/telegram/commands/topicStatus.d.ts.map +1 -0
- package/dist/connectors/telegram/commands/topicStatus.js +148 -0
- package/dist/connectors/telegram/commands/topicStatus.js.map +1 -0
- package/dist/connectors/telegram/commands/workerRoles.d.ts +25 -0
- package/dist/connectors/telegram/commands/workerRoles.d.ts.map +1 -0
- package/dist/connectors/telegram/commands/workerRoles.js +259 -0
- package/dist/connectors/telegram/commands/workerRoles.js.map +1 -0
- package/dist/connectors/telegram/firstUpdateBatchNote.d.ts +30 -0
- package/dist/connectors/telegram/firstUpdateBatchNote.d.ts.map +1 -0
- package/dist/connectors/telegram/firstUpdateBatchNote.js +39 -0
- package/dist/connectors/telegram/firstUpdateBatchNote.js.map +1 -0
- package/dist/connectors/telegram/groupWelcome.d.ts +12 -0
- package/dist/connectors/telegram/groupWelcome.d.ts.map +1 -0
- package/dist/connectors/telegram/groupWelcome.js +12 -0
- package/dist/connectors/telegram/groupWelcome.js.map +1 -0
- package/dist/connectors/telegram/inbound.d.ts +19 -0
- package/dist/connectors/telegram/inbound.d.ts.map +1 -1
- package/dist/connectors/telegram/inbound.js +41 -3
- package/dist/connectors/telegram/inbound.js.map +1 -1
- package/dist/connectors/telegram/outputFlushPlan.d.ts +12 -0
- package/dist/connectors/telegram/outputFlushPlan.d.ts.map +1 -1
- package/dist/connectors/telegram/outputFlushPlan.js +12 -0
- package/dist/connectors/telegram/outputFlushPlan.js.map +1 -1
- package/dist/connectors/telegram/runnerPairingMessages.d.ts +1 -1
- package/dist/connectors/telegram/topicIndicator.d.ts +86 -0
- package/dist/connectors/telegram/topicIndicator.d.ts.map +1 -0
- package/dist/connectors/telegram/topicIndicator.js +588 -0
- package/dist/connectors/telegram/topicIndicator.js.map +1 -0
- package/dist/connectors/telegram/waitingTopicRenames.d.ts +39 -0
- package/dist/connectors/telegram/waitingTopicRenames.d.ts.map +1 -0
- package/dist/connectors/telegram/waitingTopicRenames.js +48 -0
- package/dist/connectors/telegram/waitingTopicRenames.js.map +1 -0
- package/dist/effortLevels.d.ts +6 -0
- package/dist/effortLevels.d.ts.map +1 -1
- package/dist/effortLevels.js +6 -1
- package/dist/effortLevels.js.map +1 -1
- package/dist/i18n/de.d.ts.map +1 -1
- package/dist/i18n/de.js +141 -13
- package/dist/i18n/de.js.map +1 -1
- package/dist/i18n/en.d.ts.map +1 -1
- package/dist/i18n/en.js +141 -13
- package/dist/i18n/en.js.map +1 -1
- package/dist/i18n/es.d.ts.map +1 -1
- package/dist/i18n/es.js +141 -13
- package/dist/i18n/es.js.map +1 -1
- package/dist/i18n/fr.d.ts.map +1 -1
- package/dist/i18n/fr.js +141 -13
- package/dist/i18n/fr.js.map +1 -1
- package/dist/i18n/hi.d.ts.map +1 -1
- package/dist/i18n/hi.js +141 -13
- package/dist/i18n/hi.js.map +1 -1
- package/dist/i18n/ja.d.ts.map +1 -1
- package/dist/i18n/ja.js +141 -13
- package/dist/i18n/ja.js.map +1 -1
- package/dist/i18n/ka.d.ts.map +1 -1
- package/dist/i18n/ka.js +141 -13
- package/dist/i18n/ka.js.map +1 -1
- package/dist/i18n/pt.d.ts.map +1 -1
- package/dist/i18n/pt.js +141 -13
- package/dist/i18n/pt.js.map +1 -1
- package/dist/i18n/ru.d.ts.map +1 -1
- package/dist/i18n/ru.js +141 -13
- package/dist/i18n/ru.js.map +1 -1
- package/dist/i18n/uk.d.ts.map +1 -1
- package/dist/i18n/uk.js +141 -13
- package/dist/i18n/uk.js.map +1 -1
- package/dist/i18n/uz.d.ts.map +1 -1
- package/dist/i18n/uz.js +141 -13
- package/dist/i18n/uz.js.map +1 -1
- package/dist/i18n/zh.d.ts.map +1 -1
- package/dist/i18n/zh.js +141 -13
- package/dist/i18n/zh.js.map +1 -1
- package/dist/instanceSettings.d.ts +43 -3
- package/dist/instanceSettings.d.ts.map +1 -1
- package/dist/instanceSettings.js +109 -4
- package/dist/instanceSettings.js.map +1 -1
- package/dist/limitNotes/engine.d.ts +47 -0
- package/dist/limitNotes/engine.d.ts.map +1 -0
- package/dist/limitNotes/engine.js +98 -0
- package/dist/limitNotes/engine.js.map +1 -0
- package/dist/limitNotes/noteText.d.ts +33 -0
- package/dist/limitNotes/noteText.d.ts.map +1 -0
- package/dist/limitNotes/noteText.js +55 -0
- package/dist/limitNotes/noteText.js.map +1 -0
- package/dist/limitNotes/plan.d.ts +147 -0
- package/dist/limitNotes/plan.d.ts.map +1 -0
- package/dist/limitNotes/plan.js +323 -0
- package/dist/limitNotes/plan.js.map +1 -0
- package/dist/limitNotes/reminderChoices.d.ts +30 -0
- package/dist/limitNotes/reminderChoices.d.ts.map +1 -0
- package/dist/limitNotes/reminderChoices.js +48 -0
- package/dist/limitNotes/reminderChoices.js.map +1 -0
- package/dist/limitNotes/service.d.ts +106 -0
- package/dist/limitNotes/service.d.ts.map +1 -0
- package/dist/limitNotes/service.js +169 -0
- package/dist/limitNotes/service.js.map +1 -0
- package/dist/openCodeOpenQuestion.d.ts +12 -4
- package/dist/openCodeOpenQuestion.d.ts.map +1 -1
- package/dist/openCodeOpenQuestion.js +16 -7
- package/dist/openCodeOpenQuestion.js.map +1 -1
- package/dist/openCodeQuestionFlow.d.ts +10 -2
- package/dist/openCodeQuestionFlow.d.ts.map +1 -1
- package/dist/openCodeQuestionFlow.js +27 -5
- package/dist/openCodeQuestionFlow.js.map +1 -1
- package/dist/openCodeSessionTitle.js +1 -1
- package/dist/openCodeSessionTitle.js.map +1 -1
- package/dist/outputTrace.d.ts +19 -0
- package/dist/outputTrace.d.ts.map +1 -1
- package/dist/outputTrace.js +23 -2
- package/dist/outputTrace.js.map +1 -1
- package/dist/platform/answerSink.d.ts +23 -0
- package/dist/platform/answerSink.d.ts.map +1 -1
- package/dist/platform/answerSink.js.map +1 -1
- package/dist/platform/operatorAlert.d.ts +24 -0
- package/dist/platform/operatorAlert.d.ts.map +1 -0
- package/dist/platform/operatorAlert.js +9 -0
- package/dist/platform/operatorAlert.js.map +1 -0
- package/dist/postToSession.d.ts +43 -2
- package/dist/postToSession.d.ts.map +1 -1
- package/dist/postToSession.js +46 -4
- package/dist/postToSession.js.map +1 -1
- package/dist/remoteRun/exitCodes.d.ts +2 -2
- package/dist/remoteRun/exitCodes.d.ts.map +1 -1
- package/dist/remoteRun/exitCodes.js +2 -2
- package/dist/remoteRun/exitCodes.js.map +1 -1
- package/dist/remoteRun/foreground.d.ts.map +1 -1
- package/dist/remoteRun/foreground.js +5 -1
- package/dist/remoteRun/foreground.js.map +1 -1
- package/dist/remoteRun/runnerClient.d.ts +1 -1
- package/dist/remoteRun/runnerClient.d.ts.map +1 -1
- package/dist/remoteRun/runnerClient.js +3 -3
- package/dist/remoteRun/runnerClient.js.map +1 -1
- package/dist/requests/answerRequest.d.ts +3 -0
- package/dist/requests/answerRequest.d.ts.map +1 -1
- package/dist/requests/answerRequest.js +9 -2
- package/dist/requests/answerRequest.js.map +1 -1
- package/dist/requests/limitWaitAnswer.d.ts +14 -0
- package/dist/requests/limitWaitAnswer.d.ts.map +1 -1
- package/dist/requests/limitWaitAnswer.js +26 -4
- package/dist/requests/limitWaitAnswer.js.map +1 -1
- package/dist/requests/requestHeader.d.ts +37 -5
- package/dist/requests/requestHeader.d.ts.map +1 -1
- package/dist/requests/requestHeader.js +46 -17
- package/dist/requests/requestHeader.js.map +1 -1
- package/dist/requests/scheduleWait.d.ts +79 -0
- package/dist/requests/scheduleWait.d.ts.map +1 -0
- package/dist/requests/scheduleWait.js +101 -0
- package/dist/requests/scheduleWait.js.map +1 -0
- package/dist/requests/sessionTurnProbe.d.ts +21 -3
- package/dist/requests/sessionTurnProbe.d.ts.map +1 -1
- package/dist/requests/sessionTurnProbe.js +18 -3
- package/dist/requests/sessionTurnProbe.js.map +1 -1
- package/dist/requests/topicRequestSettle.d.ts +13 -7
- package/dist/requests/topicRequestSettle.d.ts.map +1 -1
- package/dist/requests/topicRequestSettle.js +2 -2
- package/dist/requests/topicRequestSettle.js.map +1 -1
- package/dist/requests/trackerTurnPoster.d.ts +30 -0
- package/dist/requests/trackerTurnPoster.d.ts.map +1 -0
- package/dist/requests/trackerTurnPoster.js +36 -0
- package/dist/requests/trackerTurnPoster.js.map +1 -0
- package/dist/requests/types.d.ts +9 -2
- package/dist/requests/types.d.ts.map +1 -1
- package/dist/requests/wakeUpEngine.d.ts +188 -11
- package/dist/requests/wakeUpEngine.d.ts.map +1 -1
- package/dist/requests/wakeUpEngine.js +452 -43
- package/dist/requests/wakeUpEngine.js.map +1 -1
- package/dist/requests/wakeUpRules.d.ts +122 -12
- package/dist/requests/wakeUpRules.d.ts.map +1 -1
- package/dist/requests/wakeUpRules.js +117 -15
- package/dist/requests/wakeUpRules.js.map +1 -1
- package/dist/resumeContext.d.ts +2 -2
- package/dist/resumeContext.js +3 -3
- package/dist/resumeContext.js.map +1 -1
- package/dist/runnerUtility/adminService.js +1 -1
- package/dist/runnerUtility/adminService.js.map +1 -1
- package/dist/runnerUtility/guiAgent.d.ts +1 -1
- package/dist/runnerUtility/guiAgent.d.ts.map +1 -1
- package/dist/runnerUtility/guiAgent.js +1 -1
- package/dist/runnerUtility/guiAgent.js.map +1 -1
- package/dist/runnerUtility/managedNode.d.ts +3 -3
- package/dist/runnerUtility/managedNode.d.ts.map +1 -1
- package/dist/runnerUtility/managedNode.js +2 -2
- package/dist/runnerUtility/managedNode.js.map +1 -1
- package/dist/runnerUtility/runnerConfig.d.ts +1 -1
- package/dist/runnerUtility/runnerHome.d.ts +1 -1
- package/dist/runnerUtility/runnerHome.js +1 -1
- package/dist/runnerUtility/serviceCommon.d.ts +1 -1
- package/dist/runnerUtility/serviceCommon.d.ts.map +1 -1
- package/dist/runnerUtility/serviceCommon.js +1 -1
- package/dist/runnerUtility/serviceCommon.js.map +1 -1
- package/dist/runners/bootstrapLine.js +1 -1
- package/dist/runners/hubPackage.d.ts +1 -1
- package/dist/runners/hubPackage.js +3 -3
- package/dist/runners/hubPackage.js.map +1 -1
- package/dist/runners/hubPaths.d.ts +1 -1
- package/dist/runners/hubPaths.d.ts.map +1 -1
- package/dist/runners/runnerLock.d.ts +2 -2
- package/dist/runners/runnerLock.d.ts.map +1 -1
- package/dist/runners/runnerLock.js +2 -2
- package/dist/runners/runnerLock.js.map +1 -1
- package/dist/scheduler/checkRun.d.ts +2 -0
- package/dist/scheduler/checkRun.d.ts.map +1 -1
- package/dist/scheduler/checkRun.js +5 -1
- package/dist/scheduler/checkRun.js.map +1 -1
- package/dist/scheduler/delivery.d.ts +57 -0
- package/dist/scheduler/delivery.d.ts.map +1 -1
- package/dist/scheduler/delivery.js +152 -14
- package/dist/scheduler/delivery.js.map +1 -1
- package/dist/scheduler/injection.d.ts +6 -0
- package/dist/scheduler/injection.d.ts.map +1 -1
- package/dist/scheduler/injection.js +10 -0
- package/dist/scheduler/injection.js.map +1 -1
- package/dist/scheduler/mcpSurface.d.ts +38 -3
- package/dist/scheduler/mcpSurface.d.ts.map +1 -1
- package/dist/scheduler/mcpSurface.js +291 -175
- package/dist/scheduler/mcpSurface.js.map +1 -1
- package/dist/scheduler/rebindResume.d.ts +24 -0
- package/dist/scheduler/rebindResume.d.ts.map +1 -1
- package/dist/scheduler/rebindResume.js +32 -0
- package/dist/scheduler/rebindResume.js.map +1 -1
- package/dist/scheduler/scheduleToolWording.d.ts +29 -0
- package/dist/scheduler/scheduleToolWording.d.ts.map +1 -0
- package/dist/scheduler/scheduleToolWording.js +117 -0
- package/dist/scheduler/scheduleToolWording.js.map +1 -0
- package/dist/scheduler/scheduledRunTarget.d.ts +90 -0
- package/dist/scheduler/scheduledRunTarget.d.ts.map +1 -0
- package/dist/scheduler/scheduledRunTarget.js +92 -0
- package/dist/scheduler/scheduledRunTarget.js.map +1 -0
- package/dist/scheduler/store.d.ts +2 -0
- package/dist/scheduler/store.d.ts.map +1 -1
- package/dist/scheduler/store.js +2 -0
- package/dist/scheduler/store.js.map +1 -1
- package/dist/scheduler/types.d.ts +10 -0
- package/dist/scheduler/types.d.ts.map +1 -1
- package/dist/scheduler/workerWatch.d.ts +2 -0
- package/dist/scheduler/workerWatch.d.ts.map +1 -1
- package/dist/scheduler/workerWatch.js +3 -3
- package/dist/scheduler/workerWatch.js.map +1 -1
- package/dist/selfUpdate/constants.d.ts +2 -0
- package/dist/selfUpdate/constants.d.ts.map +1 -1
- package/dist/selfUpdate/constants.js +3 -1
- package/dist/selfUpdate/constants.js.map +1 -1
- package/dist/selfUpdate/emittedSource.d.ts.map +1 -1
- package/dist/selfUpdate/emittedSource.js +1 -1
- package/dist/selfUpdate/emittedSource.js.map +1 -1
- package/dist/selfUpdate/updateRuntime.js +1 -1
- package/dist/selfUpdate/updateRuntime.js.map +1 -1
- package/dist/sessionPick.d.ts +1 -1
- package/dist/sessionPick.js +1 -1
- package/dist/startupPromptBuffer.d.ts +35 -6
- package/dist/startupPromptBuffer.d.ts.map +1 -1
- package/dist/startupPromptBuffer.js +70 -21
- package/dist/startupPromptBuffer.js.map +1 -1
- package/dist/state.d.ts +270 -30
- package/dist/state.d.ts.map +1 -1
- package/dist/state.js +403 -37
- package/dist/state.js.map +1 -1
- package/dist/testTimings.d.ts +17 -4
- package/dist/testTimings.d.ts.map +1 -1
- package/dist/testTimings.js +35 -3
- package/dist/testTimings.js.map +1 -1
- package/dist/threadContextPreamble.d.ts +7 -0
- package/dist/threadContextPreamble.d.ts.map +1 -1
- package/dist/threadContextPreamble.js +11 -0
- package/dist/threadContextPreamble.js.map +1 -1
- package/dist/threadRouting.d.ts +12 -0
- package/dist/threadRouting.d.ts.map +1 -1
- package/dist/threadRouting.js +15 -0
- package/dist/threadRouting.js.map +1 -1
- package/dist/todos/midTurn.d.ts +15 -41
- package/dist/todos/midTurn.d.ts.map +1 -1
- package/dist/todos/midTurn.js +27 -171
- package/dist/todos/midTurn.js.map +1 -1
- package/dist/todos/registry.d.ts +2 -0
- package/dist/todos/registry.d.ts.map +1 -1
- package/dist/todos/registry.js +3 -1
- package/dist/todos/registry.js.map +1 -1
- package/dist/types.d.ts +235 -23
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +10 -0
- package/dist/types.js.map +1 -1
- package/dist/utils/backendSwitchPlan.d.ts +3 -3
- package/dist/utils/backendSwitchPlan.js +3 -3
- package/dist/utils/claudeAccountAlert.d.ts +104 -0
- package/dist/utils/claudeAccountAlert.d.ts.map +1 -0
- package/dist/utils/claudeAccountAlert.js +130 -0
- package/dist/utils/claudeAccountAlert.js.map +1 -0
- package/dist/utils/claudeAccountPickerPlan.d.ts +7 -0
- package/dist/utils/claudeAccountPickerPlan.d.ts.map +1 -1
- package/dist/utils/claudeAccountPickerPlan.js +13 -2
- package/dist/utils/claudeAccountPickerPlan.js.map +1 -1
- package/dist/utils/claudeAuthRefusal.d.ts +122 -0
- package/dist/utils/claudeAuthRefusal.d.ts.map +1 -0
- package/dist/utils/claudeAuthRefusal.js +228 -0
- package/dist/utils/claudeAuthRefusal.js.map +1 -0
- package/dist/utils/claudeCompactHook.d.ts +9 -7
- package/dist/utils/claudeCompactHook.d.ts.map +1 -1
- package/dist/utils/claudeCompactHook.js +11 -9
- package/dist/utils/claudeCompactHook.js.map +1 -1
- package/dist/utils/claudeLimitSwitch.d.ts +1 -1
- package/dist/utils/claudeLimitSwitch.d.ts.map +1 -1
- package/dist/utils/claudeLimitSwitch.js +1 -1
- package/dist/utils/claudeLimitSwitch.js.map +1 -1
- package/dist/utils/claudeProfileSync.d.ts +88 -0
- package/dist/utils/claudeProfileSync.d.ts.map +1 -0
- package/dist/utils/claudeProfileSync.js +198 -0
- package/dist/utils/claudeProfileSync.js.map +1 -0
- package/dist/utils/claudeProfileUsageViews.d.ts +54 -2
- package/dist/utils/claudeProfileUsageViews.d.ts.map +1 -1
- package/dist/utils/claudeProfileUsageViews.js +44 -1
- package/dist/utils/claudeProfileUsageViews.js.map +1 -1
- package/dist/utils/claudeProfiles.d.ts +101 -6
- package/dist/utils/claudeProfiles.d.ts.map +1 -1
- package/dist/utils/claudeProfiles.js +297 -23
- package/dist/utils/claudeProfiles.js.map +1 -1
- package/dist/utils/claudeRuntimeInfo.d.ts +24 -0
- package/dist/utils/claudeRuntimeInfo.d.ts.map +1 -1
- package/dist/utils/claudeRuntimeInfo.js +128 -3
- package/dist/utils/claudeRuntimeInfo.js.map +1 -1
- package/dist/utils/claudeScheduledJobs.d.ts +6 -2
- package/dist/utils/claudeScheduledJobs.d.ts.map +1 -1
- package/dist/utils/claudeScheduledJobs.js +10 -2
- package/dist/utils/claudeScheduledJobs.js.map +1 -1
- package/dist/utils/claudeSessionTitle.js +1 -1
- package/dist/utils/claudeSessionTitle.js.map +1 -1
- package/dist/utils/claudeStreamJson.d.ts +28 -2
- package/dist/utils/claudeStreamJson.d.ts.map +1 -1
- package/dist/utils/claudeStreamJson.js +33 -3
- package/dist/utils/claudeStreamJson.js.map +1 -1
- package/dist/utils/claudeTranscriptEpoch.d.ts +14 -0
- package/dist/utils/claudeTranscriptEpoch.d.ts.map +1 -1
- package/dist/utils/claudeTranscriptEpoch.js +79 -19
- package/dist/utils/claudeTranscriptEpoch.js.map +1 -1
- package/dist/utils/claudeUsage.d.ts +103 -7
- package/dist/utils/claudeUsage.d.ts.map +1 -1
- package/dist/utils/claudeUsage.js +108 -15
- package/dist/utils/claudeUsage.js.map +1 -1
- package/dist/utils/claudeUsageRefresher.d.ts +8 -1
- package/dist/utils/claudeUsageRefresher.d.ts.map +1 -1
- package/dist/utils/claudeUsageRefresher.js +11 -1
- package/dist/utils/claudeUsageRefresher.js.map +1 -1
- package/dist/utils/compactOnIdle.d.ts +139 -29
- package/dist/utils/compactOnIdle.d.ts.map +1 -1
- package/dist/utils/compactOnIdle.js +163 -36
- package/dist/utils/compactOnIdle.js.map +1 -1
- package/dist/utils/conversationEnding.d.ts +76 -0
- package/dist/utils/conversationEnding.d.ts.map +1 -0
- package/dist/utils/conversationEnding.js +117 -0
- package/dist/utils/conversationEnding.js.map +1 -0
- package/dist/utils/cutButtonLabel.d.ts +7 -0
- package/dist/utils/cutButtonLabel.d.ts.map +1 -0
- package/dist/utils/cutButtonLabel.js +17 -0
- package/dist/utils/cutButtonLabel.js.map +1 -0
- package/dist/utils/doctorLine.d.ts +10 -0
- package/dist/utils/doctorLine.d.ts.map +1 -1
- package/dist/utils/doctorLine.js +16 -0
- package/dist/utils/doctorLine.js.map +1 -1
- package/dist/utils/fallbackBridge.d.ts.map +1 -1
- package/dist/utils/fallbackBridge.js +2 -1
- package/dist/utils/fallbackBridge.js.map +1 -1
- package/dist/utils/fallbackChain.d.ts +2 -0
- package/dist/utils/fallbackChain.d.ts.map +1 -1
- package/dist/utils/fallbackChain.js +4 -3
- package/dist/utils/fallbackChain.js.map +1 -1
- package/dist/utils/fallbackSwitchNotice.d.ts +11 -4
- package/dist/utils/fallbackSwitchNotice.d.ts.map +1 -1
- package/dist/utils/fallbackSwitchNotice.js +9 -5
- package/dist/utils/fallbackSwitchNotice.js.map +1 -1
- package/dist/utils/fileSendService.d.ts +31 -0
- package/dist/utils/fileSendService.d.ts.map +1 -1
- package/dist/utils/fileSendService.js +45 -2
- package/dist/utils/fileSendService.js.map +1 -1
- package/dist/utils/jsonStreamHost.d.ts +2 -0
- package/dist/utils/jsonStreamHost.d.ts.map +1 -1
- package/dist/utils/jsonStreamHost.js +4 -1
- package/dist/utils/jsonStreamHost.js.map +1 -1
- package/dist/utils/jsonStreamPendingWork.d.ts +14 -2
- package/dist/utils/jsonStreamPendingWork.d.ts.map +1 -1
- package/dist/utils/jsonStreamPendingWork.js +25 -5
- package/dist/utils/jsonStreamPendingWork.js.map +1 -1
- package/dist/utils/jsonStreamUnconsumedInput.d.ts +80 -0
- package/dist/utils/jsonStreamUnconsumedInput.d.ts.map +1 -0
- package/dist/utils/jsonStreamUnconsumedInput.js +99 -0
- package/dist/utils/jsonStreamUnconsumedInput.js.map +1 -0
- package/dist/utils/limitEpisodeRecovery.d.ts +43 -4
- package/dist/utils/limitEpisodeRecovery.d.ts.map +1 -1
- package/dist/utils/limitEpisodeRecovery.js +107 -20
- package/dist/utils/limitEpisodeRecovery.js.map +1 -1
- package/dist/utils/limitHeldPrompts.d.ts +21 -11
- package/dist/utils/limitHeldPrompts.d.ts.map +1 -1
- package/dist/utils/limitHeldPrompts.js +12 -9
- package/dist/utils/limitHeldPrompts.js.map +1 -1
- package/dist/utils/limitRemindersScreenPlan.d.ts +63 -0
- package/dist/utils/limitRemindersScreenPlan.d.ts.map +1 -0
- package/dist/utils/limitRemindersScreenPlan.js +121 -0
- package/dist/utils/limitRemindersScreenPlan.js.map +1 -0
- package/dist/utils/limitSwitchPlan.d.ts +44 -0
- package/dist/utils/limitSwitchPlan.d.ts.map +1 -0
- package/dist/utils/limitSwitchPlan.js +54 -0
- package/dist/utils/limitSwitchPlan.js.map +1 -0
- package/dist/utils/limitsBoardPlan.d.ts +16 -7
- package/dist/utils/limitsBoardPlan.d.ts.map +1 -1
- package/dist/utils/limitsBoardPlan.js +41 -9
- package/dist/utils/limitsBoardPlan.js.map +1 -1
- package/dist/utils/lostWork.d.ts +16 -2
- package/dist/utils/lostWork.d.ts.map +1 -1
- package/dist/utils/lostWork.js +16 -3
- package/dist/utils/lostWork.js.map +1 -1
- package/dist/utils/messageContext.d.ts +2 -2
- package/dist/utils/messageContext.js +2 -2
- package/dist/utils/midTurnInbox.d.ts +79 -0
- package/dist/utils/midTurnInbox.d.ts.map +1 -0
- package/dist/utils/midTurnInbox.js +265 -0
- package/dist/utils/midTurnInbox.js.map +1 -0
- package/dist/utils/promptDelivery.d.ts +70 -22
- package/dist/utils/promptDelivery.d.ts.map +1 -1
- package/dist/utils/promptDelivery.js +100 -42
- package/dist/utils/promptDelivery.js.map +1 -1
- package/dist/utils/questionWaitChoices.d.ts +20 -0
- package/dist/utils/questionWaitChoices.d.ts.map +1 -0
- package/dist/utils/questionWaitChoices.js +31 -0
- package/dist/utils/questionWaitChoices.js.map +1 -0
- package/dist/utils/questionWaitPlan.d.ts +166 -0
- package/dist/utils/questionWaitPlan.d.ts.map +1 -0
- package/dist/utils/questionWaitPlan.js +237 -0
- package/dist/utils/questionWaitPlan.js.map +1 -0
- package/dist/utils/replyQuote.d.ts +10 -0
- package/dist/utils/replyQuote.d.ts.map +1 -1
- package/dist/utils/replyQuote.js +18 -7
- package/dist/utils/replyQuote.js.map +1 -1
- package/dist/utils/talkerAccess.d.ts +2 -2
- package/dist/utils/talkerAccess.d.ts.map +1 -1
- package/dist/utils/talkerAccess.js +5 -4
- package/dist/utils/talkerAccess.js.map +1 -1
- package/dist/utils/telegramError.d.ts +6 -0
- package/dist/utils/telegramError.d.ts.map +1 -1
- package/dist/utils/telegramError.js +12 -0
- package/dist/utils/telegramError.js.map +1 -1
- package/dist/utils/topicAccessScreenPlan.d.ts +1 -1
- package/dist/utils/topicAccessScreenPlan.d.ts.map +1 -1
- package/dist/utils/topicAccessScreenPlan.js +3 -7
- package/dist/utils/topicAccessScreenPlan.js.map +1 -1
- package/dist/utils/topicIndicatorPlan.d.ts +153 -0
- package/dist/utils/topicIndicatorPlan.d.ts.map +1 -0
- package/dist/utils/topicIndicatorPlan.js +224 -0
- package/dist/utils/topicIndicatorPlan.js.map +1 -0
- package/dist/utils/topicIndicatorSources.d.ts +40 -0
- package/dist/utils/topicIndicatorSources.d.ts.map +1 -0
- package/dist/utils/topicIndicatorSources.js +31 -0
- package/dist/utils/topicIndicatorSources.js.map +1 -0
- package/dist/utils/topicRequest.d.ts +3 -0
- package/dist/utils/topicRequest.d.ts.map +1 -1
- package/dist/utils/topicRequest.js +4 -0
- package/dist/utils/topicRequest.js.map +1 -1
- package/dist/utils/topicStatusPlan.d.ts +90 -0
- package/dist/utils/topicStatusPlan.d.ts.map +1 -0
- package/dist/utils/topicStatusPlan.js +160 -0
- package/dist/utils/topicStatusPlan.js.map +1 -0
- package/dist/utils/workerRoles.d.ts +122 -0
- package/dist/utils/workerRoles.d.ts.map +1 -0
- package/dist/utils/workerRoles.js +160 -0
- package/dist/utils/workerRoles.js.map +1 -0
- package/dist/utils/workerRolesScreenPlan.d.ts +118 -0
- package/dist/utils/workerRolesScreenPlan.d.ts.map +1 -0
- package/dist/utils/workerRolesScreenPlan.js +232 -0
- package/dist/utils/workerRolesScreenPlan.js.map +1 -0
- package/dist/utils/workingSignals.d.ts +49 -0
- package/dist/utils/workingSignals.d.ts.map +1 -0
- package/dist/utils/workingSignals.js +41 -0
- package/dist/utils/workingSignals.js.map +1 -0
- package/licensing.json +88 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +7 -7
- package/{remoteRun → runner-scripts}/runner.sh +6 -3
- package/COMMERCIAL-LICENSE.md +0 -142
- package/dist/agentTrigger.d.ts +0 -28
- package/dist/agentTrigger.d.ts.map +0 -1
- package/dist/agentTrigger.js +0 -53
- package/dist/agentTrigger.js.map +0 -1
- /package/{remoteRun → runner-scripts}/ensureNode.sh +0 -0
- /package/{remoteRun → runner-scripts}/runner-package-lock.json +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,190 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 4.3.0 — 2026-11-25
|
|
6
|
+
|
|
7
|
+
**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.**
|
|
8
|
+
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.
|
|
9
|
+
|
|
10
|
+
**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.**
|
|
11
|
+
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.
|
|
12
|
+
|
|
13
|
+
**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.**
|
|
14
|
+
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.
|
|
15
|
+
|
|
16
|
+
**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.**
|
|
17
|
+
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.
|
|
18
|
+
|
|
19
|
+
**A Claude agent that cancels its own `ScheduleWakeup` no longer keeps its idle process running for hours.**
|
|
20
|
+
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.
|
|
21
|
+
|
|
22
|
+
**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.**
|
|
23
|
+
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.
|
|
24
|
+
|
|
25
|
+
**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.**
|
|
26
|
+
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.
|
|
27
|
+
|
|
28
|
+
**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.**
|
|
29
|
+
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.
|
|
30
|
+
|
|
31
|
+
**A message sent in the moment Claude's process is restarted after a broken input no longer fails to reach the agent.**
|
|
32
|
+
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.
|
|
33
|
+
|
|
34
|
+
**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.**
|
|
35
|
+
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.
|
|
36
|
+
|
|
37
|
+
**A scheduled run that comes while you leave a topic's folder no longer starts an agent in the folder you left.**
|
|
38
|
+
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.
|
|
39
|
+
|
|
40
|
+
**`/quit` on a sleeping conversation now says how to start a fresh one.**
|
|
41
|
+
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.
|
|
42
|
+
|
|
43
|
+
**`/quit`, leaving the folder and `/quitall` no longer leave an agent running when it was starting or restarting at that moment.**
|
|
44
|
+
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.
|
|
45
|
+
|
|
46
|
+
**An account picked while a per-turn topic's agent works no longer restarts its process beside the bot's own stop.**
|
|
47
|
+
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.
|
|
48
|
+
|
|
49
|
+
**Changing the model, the effort or the account while a message comes in no longer starts a second agent process.**
|
|
50
|
+
`/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.
|
|
51
|
+
|
|
52
|
+
**A reminder that reached no agent is no longer counted as one the agent ignored.**
|
|
53
|
+
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.
|
|
54
|
+
|
|
55
|
+
**Starting, restarting or switching the agent while its process is still stopping or starting no longer risks a second agent process.**
|
|
56
|
+
`/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.
|
|
57
|
+
|
|
58
|
+
**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.**
|
|
59
|
+
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.
|
|
60
|
+
|
|
61
|
+
**A failing check whose wake never reached the agent wakes it again at its next failing run.**
|
|
62
|
+
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.
|
|
63
|
+
|
|
64
|
+
**A scheduled run that a session start dropped no longer comes back to the agent later on its own.**
|
|
65
|
+
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.
|
|
66
|
+
|
|
67
|
+
**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.**
|
|
68
|
+
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.
|
|
69
|
+
|
|
70
|
+
**`/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.**
|
|
71
|
+
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.
|
|
72
|
+
|
|
73
|
+
**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.**
|
|
74
|
+
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.
|
|
75
|
+
|
|
76
|
+
**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.**
|
|
77
|
+
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.
|
|
78
|
+
|
|
79
|
+
**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.**
|
|
80
|
+
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.
|
|
81
|
+
|
|
82
|
+
**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.**
|
|
83
|
+
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.
|
|
84
|
+
|
|
85
|
+
**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.**
|
|
86
|
+
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.
|
|
87
|
+
|
|
88
|
+
**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.**
|
|
89
|
+
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.
|
|
90
|
+
|
|
91
|
+
**A request whose turn was lost is reminded on time again while the agent runs a job or a background task of its own.**
|
|
92
|
+
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.
|
|
93
|
+
|
|
94
|
+
**Switching to another Claude account while the agent works no longer risks a second agent process when that turn ends without an answer.**
|
|
95
|
+
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.
|
|
96
|
+
|
|
97
|
+
**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).**
|
|
98
|
+
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.
|
|
99
|
+
|
|
100
|
+
**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.**
|
|
101
|
+
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.
|
|
102
|
+
|
|
103
|
+
**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.**
|
|
104
|
+
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).
|
|
105
|
+
|
|
106
|
+
**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.**
|
|
107
|
+
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.
|
|
108
|
+
|
|
109
|
+
**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.**
|
|
110
|
+
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.
|
|
111
|
+
|
|
112
|
+
**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.**
|
|
113
|
+
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.
|
|
114
|
+
|
|
115
|
+
**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.**
|
|
116
|
+
`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.
|
|
117
|
+
|
|
118
|
+
**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.**
|
|
119
|
+
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.
|
|
120
|
+
|
|
121
|
+
**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.**
|
|
122
|
+
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.
|
|
123
|
+
|
|
124
|
+
**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.**
|
|
125
|
+
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.
|
|
126
|
+
|
|
127
|
+
**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).**
|
|
128
|
+
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.
|
|
129
|
+
|
|
130
|
+
**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.**
|
|
131
|
+
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.
|
|
132
|
+
|
|
133
|
+
**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.**
|
|
134
|
+
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.
|
|
135
|
+
|
|
136
|
+
**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.**
|
|
137
|
+
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).
|
|
138
|
+
|
|
139
|
+
**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.**
|
|
140
|
+
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.
|
|
141
|
+
|
|
142
|
+
**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.**
|
|
143
|
+
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.
|
|
144
|
+
|
|
145
|
+
**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_…».**
|
|
146
|
+
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.
|
|
147
|
+
|
|
148
|
+
**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».**
|
|
149
|
+
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`).
|
|
150
|
+
|
|
151
|
+
**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.**
|
|
152
|
+
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.
|
|
153
|
+
|
|
154
|
+
**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.**
|
|
155
|
+
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.
|
|
156
|
+
|
|
157
|
+
**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.**
|
|
158
|
+
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.
|
|
159
|
+
|
|
160
|
+
## 4.2.0 — 2026-11-20
|
|
161
|
+
|
|
162
|
+
**Pull requests to Charness are welcome: by opening one you agree to the new Contributor License Agreement, `CLA.md` — no form to sign.**
|
|
163
|
+
Before, outside pull requests were not accepted. Now `CONTRIBUTING.md`, the pull-request template, the README and the licensing FAQ say that a pull request (or a patch) is accepted under `CLA.md`: you keep the copyright in your contribution, and the licensor may ship it under the Charness License and the paid commercial license. If your work belongs to an employer, please write to charnesshub@gmail.com first; the licensor may ask for a company agreement.
|
|
164
|
+
|
|
165
|
+
**An agent running on a Claude account can no longer plant rules, skills, subagents or hooks in that account's profile folder for every later session on it to follow: the bot now puts the folder back in line right before each launch under it and moves anything planted aside.**
|
|
166
|
+
A profile folder (`DATA_DIR/claude-profiles/<name>/`, handed to Claude Code as `CLAUDE_CONFIG_DIR`) is writable by the user the bot and its agents run as, and Claude Code loads a good deal of it as the user's own configuration — so an agent could replace the `CLAUDE.md` or `settings.json` link with a file of its own, or add `agents/`, `commands/`, `rules/`, `output-styles/`, `workflows/` or `dev-mods/` (mods are loaded again when their session is resumed), and each later session on that account would follow it. Now the entries Claude Code loads as user-level configuration must be links into `~/.claude`: `settings.json`, `skills`, `plugins` and `projects` always, `CLAUDE.md`, `rules`, `agents`, `commands`, `output-styles`, `workflows` and `dev-mods` wherever `~/.claude` has them (so the profile mirrors the default account). Anything else standing there — a real file or directory, a link elsewhere, an entry `~/.claude` has no counterpart of — is moved aside, never deleted, as `<entry>.moved-<UTC time>`, one log line each, and the right link is restored; a real `settings.json` or `CLAUDE.md` an account kept of its own (which the layout used to leave alone) is thus replaced by the shared one, the old file kept beside it. The check runs before every launch under a profile — a topic's session at its start, resume or account switch, the `claude auth` status and sign-in calls, and the account a worker is pointed at (the `claude_profiles` tool and `charness claude-profiles`) — costs a few `stat`s and writes nothing when the folder is right. The account's own state is never touched (login, `.claude.json`, backups, history, todos, caches, `agent-memory/`, what is behind the `projects` link). `.claude.json` also holds the account's MCP servers and is not edited: when it holds MCP servers (or settings-style keys such as `hooks`) the log names them once, so they can be checked. A folder another user owns — an operator locked it — no longer gets a failing `chmod`, and one the bot's user cannot write is not written to: nothing is said when its layout is right, one warning per profile per process when it is not, and the launch goes ahead (a locked folder the bot's user can still write, through its group or an ACL, is repaired like any other). The repair is not a sandbox: the links point into the shared `~/.claude`, which an agent can write on the default account too, and it acts at launch, not inside a running session; for a hard guarantee lock the folder (owned by another user, writable by the account's user only where Claude Code keeps its own state). See `docs/commands.md`, «Several accounts».
|
|
167
|
+
|
|
168
|
+
**An instance that serves only Jira (`CONNECTORS=jira`) now uses every Claude account signed in on its host — and a Jira issue whose agent hits a usage limit moves to the next account by itself, the conversation resumed there.**
|
|
169
|
+
Before, such an instance knew only the account `default` (`~/.claude`): a second one, made the way the bot makes it (a folder under `DATA_DIR/claude-profiles/`) and signed in with `CLAUDE_CONFIG_DIR=<folder> claude auth login`, was ignored — accounts were recorded only by Telegram's `/accounts` — and an issue at its usage limit waited for the reset even with another account free, because the automatic switch ran only for Telegram topics. Now every folder with a valid profile name and no record is adopted at the start and at each usage poll (every 10 minutes): the bot gives it the links back into `~/.claude` it lacks (the transcripts above all, so a conversation can resume under it), records it, asks the CLI who is signed in, and offers it like any account (a folder that is not signed in is listed as signed out and never picked; a profile you removed is not brought back; `default` signed out through `/accounts` stays out). A poll spawns no `claude auth status` for an account whose status is fresh — one hour for a signed-in account, five minutes for a signed-out one, so that a sign-in by hand shows up — and `/accounts` still re-reads everything when it opens. A conversation of any connector at its usage limit now takes the automatic move between Claude accounts by the same rules as a topic — the `/limits_autoswitch` list's Claude entries when it has any, else the soonest weekly reset — resumed under the new account's directory, and the requester hears nothing (the log has the line); an OpenCode entry of the list is a topic's alone. With switching OFF, with no account free or on OpenCode such a conversation waits for the reset as before, and the «Switch to …» offer, the notices and the wait aimed at the account that resets first stay a topic's. In `/accounts`, removing a profile now deletes its folder before its record, so the scan cannot find a record-less folder in between.
|
|
170
|
+
|
|
171
|
+
**A tap on a question's option right after the wait ended no longer answers «No pending question» — it answers the question.**
|
|
172
|
+
Before, when the question wait ended (the agent was told to go on without your answer) and you tapped an option of that question while its message still showed the old buttons — the swap to the set-aside look is paced by the send gate and takes a moment, and a refused edit leaves the old buttons for good — the tap was refused, although the question was still open and answerable. Now the tap answers that question the way a tap on its set-aside buttons does: the toast shows your choice, the message closes with «✅ Answer: …», and the agent gets the late answer. A button of an old question still never answers the question the agent asks next.
|
|
173
|
+
|
|
174
|
+
**The group's topic list now shows what each topic's agent is doing: a mark at the end of the name — ❓ a question waits for you, ❗️ the agent is stuck, ⏳ it works, ✅ it finished, 💤 it sleeps — so you see which topics need you without opening them.**
|
|
175
|
+
Before, the only way to tell was to open every topic (the pinned status inside a topic is invisible from the list). Now the bot writes the mark after your own words (`Deploy ⏳`) — the name only, the icon stays yours — and deletes the «renamed the topic» line each change leaves, so the topic shows no trace. A name has to hold for 20 seconds before it is written and two renames are a minute apart (❓ and your own switches show at once), so the list never flickers; a sleeping topic that wakes for a prompt goes straight to ⏳, and a topic on the per-turn backend keeps its ✅ after a turn until the next one (💤 is only the idle stop). `/topic_status` switches the marks and two counts — `⚙️N` agents at work and `📋N` tasks queued, off by default — per topic or for all topics, and gives your name back at once when a mark is turned off or the topic leaves its folder. The bot writes only to a topic whose own name it knows: it keeps the name a topic was created with as a guess and asks «Is it «Deploy»?» — one tap — and reads your own renames without its marks (a name of yours that ends in one of these marks loses that ending; the picker says so once), and a rename you make while the bot is stopped is learned when it starts again — after a stop of more than a minute too, where the waiting updates are dropped but the renames among them are read first — instead of being overwritten with the old name. It needs the «Manage topics» right (the picker says when it is missing) and the «Delete messages» right to leave no trace.
|
|
176
|
+
|
|
177
|
+
**A question the agent asked and you have not answered no longer keeps it standing still: after a wait you choose — 30 minutes by default — the bot tells the agent to go on without it, the question stays open in the topic, and your answer, however late, still reaches the agent.**
|
|
178
|
+
Before, an agent that asked a question waited for your answer for as long as it took — possibly a whole day, though it had other work: a prompt the bot wrote to it (a heartbeat, a schedule) queued unread behind the question, and the idle mark could not even compact or stop it. Now, when the wait ends, the agent is told in the result of its own question that nobody answered yet, that the question stays open for you and not to ask it again, and to go on with whatever does not depend on it (on Claude Code the question's tool call is denied with that text, on OpenCode the question is replied to with it); nothing is interrupted. In the topic the question keeps its message, buttons and pin and gains one silent line, «⏸ The agent went on without your answer — you can still answer» (on OpenCode, when the server does not take that message the bot tries again, and after the last try says so in the topic and turns the line into «⚠️ The server did not confirm that the agent was told to go on without your answer — if it seems stuck, send it any message…»). A tap on its buttons, or a reply to its message — typed or a voice note, whose transcript is the answer — closes it with «✅ Answer: …», releases the pin and sends the agent one message — the question, your answer and «you went on without it, check that nothing you did meanwhile conflicts» — written to a live session, held behind a start, or waking a sleeping conversation, and ending an armed usage-limit wait first, as a typed message does (a bare number that is not a reply is still an ordinary message; a topic member's reply answers only with an option number or label — their other words are an ordinary message); a call with several questions is answered one at a time. Up to five such questions stay open (a sixth closes the oldest as «❌ Not answered»); they end when you end the conversation (`/new`, `/quit`, `/quitall`, leaving the folder, another conversation or backend you pick), and survive the idle stop, a crash, a restart and an automatic usage-limit switch, where a late answer goes to the conversation that runs then. The idle mark sets a waiting question aside instead of rejecting it, compacting, stopping the process and asking again; an agent that asks the same question again is told it is still open instead of getting a second copy in the topic. A reply is never a pick for a question it was not written to — «2» typed as a reply to a closed question, or to any other message, does not pick an option of the question that waits — but its text still cancels the waiting question like any text. Claude Code (json-stream and per-turn) and OpenCode; the deprecated tmux backend is not covered.
|
|
179
|
+
|
|
180
|
+
**A new `/question_wait` setting chooses how long the agent waits for your answer to its question — «Don't wait», 10 min, 30 min, 1 h or «Wait for my answer» — per topic, with a default in General.**
|
|
181
|
+
In General it sets the default of every topic (kept as `questionWait` in `settings.json`); in a topic it is that topic's own choice, or «As in General» to follow the default again. «Don't wait» sets a question aside the moment it is asked; «Wait for my answer» keeps the old behaviour — the agent stands still, and the idle mark rejects the question, compacts, stops the process and asks it again after the compaction. A tap re-renders the picker in place, and a wait changed while a question is open applies to it at once, counted from the moment it was asked. The screen is worded in all 12 languages.
|
|
182
|
+
|
|
183
|
+
**An option of the agent's question no longer shows twice when the agent gives it a description that only repeats its label.**
|
|
184
|
+
Before, the question message printed each option as its label and, on the next line, its description — so an agent that filled the description with the label itself produced «1. Red» followed by «Red», «2. Blue» followed by «Blue». Now such a description is left out, in the question as posted and as it stays after the answer: a description counts as a repeat when it is the label's words compared trimmed and in any case, with or without trailing punctuation (a full stop, «!», «?», «…», a comma and the like) — «Red», «RED» and «red.» all repeat the label «Red». A description that says anything more stays under its option as before. Claude Code (json-stream and per-turn) and OpenCode; the deprecated tmux backend is not covered.
|
|
185
|
+
|
|
186
|
+
**The commercial license terms are now in `LICENSE-COMMERCIAL.md` (formerly `COMMERCIAL-LICENSE.md`), so the file sorts right next to `LICENSE` in a file list.**
|
|
187
|
+
The wording is unchanged. The package ships the file under the new name, and the links to it in the README, the licensing FAQ and the 3 → 4 migration guide follow; a link to the old file name no longer opens it.
|
|
188
|
+
|
|
5
189
|
## 4.1.1 — 2026-11-17
|
|
6
190
|
|
|
7
191
|
**The pairing line of `/runners` — a secret that lets whoever holds it pair a machine to your host — now comes to you in a private message from the bot, no longer in General, where every member of the group could read it.**
|
|
@@ -46,8 +230,8 @@ To stop a runner's jobs (when it is unpaired or learns it was removed), the runn
|
|
|
46
230
|
## 4.0.0 — 2026-11-16
|
|
47
231
|
|
|
48
232
|
**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.**
|
|
49
|
-
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.
|
|
50
|
-
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/).
|
|
233
|
+
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.
|
|
234
|
+
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/).
|
|
51
235
|
|
|
52
236
|
## 3.14.0 — 2026-11-13
|
|
53
237
|
|
package/DEVELOPMENT.md
CHANGED
|
@@ -138,7 +138,13 @@ yarn test # test:unit, then test:flows (node test runner + tsx); build
|
|
|
138
138
|
yarn test:unit # every file but the flows; each file must finish in 2 min
|
|
139
139
|
yarn test:flows # the `*E2e.test.ts` flows, 16 files at a time (they mostly wait
|
|
140
140
|
# on their fakes, not the CPU); each file must finish in 20 min
|
|
141
|
-
|
|
141
|
+
# The flows keep unix sockets (the instance's tmux server, a runner's link)
|
|
142
|
+
# under TMPDIR, and Linux allows 107 bytes of path. An instance that would
|
|
143
|
+
# exceed it refuses to start, saying by how many bytes: that holds for the
|
|
144
|
+
# runner-link flows and for the flows that name TMUX_SOCKET_NAME (the Jira
|
|
145
|
+
# ones) once TMPDIR is over about 26 characters; most flows keep tmux's
|
|
146
|
+
# short «default» socket and have room to spare
|
|
147
|
+
yarn runner-lock # after ANY dependency change: rewrite runner-scripts/runner-package-lock.json (the
|
|
142
148
|
# lock the runners install from, made from yarn.lock; fetches the sha512
|
|
143
149
|
# hashes of new versions from the registry). A unit test fails until you do
|
|
144
150
|
yarn hot # hot-reload mode: tsc -w + nodemon on dist/ (also
|
|
@@ -159,7 +165,7 @@ downloads them, so it needs the network once) or a **`python3` that has numpy, s
|
|
|
159
165
|
`uv` cannot reach the package index, a local run skips that test and says why; CI (`CI=true`, uv installed by the
|
|
160
166
|
workflow) fails instead.
|
|
161
167
|
|
|
162
|
-
The `charness remote-run` flow (
|
|
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
|
|
163
169
|
private **Pueue** in temp dirs. It wants `sshd` (`openssh-server`), `ssh`, `rsync`, `pueue` / `pueued` 4.x on `PATH` and `yarn build`;
|
|
164
170
|
a local run without them is skipped with the reason, CI (`CI=true`) installs them (the workflow pins Pueue by checksum) and fails
|
|
165
171
|
without. A flow that is killed or times out cannot leave daemons behind: `remoteRunE2e/remoteRunFlowSweep.ts` ends what names its
|
|
@@ -182,11 +188,11 @@ A flow does not wait out the production windows in real time: its env file sets
|
|
|
182
188
|
of named overrides (`src/testTimings.ts`: `telegramSendIntervalMs` — the global send pacer's 2 s, `telegramSendOperationDeadlineMs` — a send
|
|
183
189
|
queue call's 30 s deadline, `jiraPollIntervalMs` —
|
|
184
190
|
below the 10 s floor of `jira.json`, `requestTurnPollMs` — the wake-up engine's 10 s poll of the turns it watches,
|
|
185
|
-
`requestSweepIntervalMs` and `
|
|
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
|
|
186
192
|
500 ms save debounce, `openCodeServerUpBudgetMs` — the OpenCode server's 60 s of retries, `backgroundHoldMaxMs` — the 6 h the
|
|
187
193
|
agent's own pending work holds a json-stream process, `adoptedTailFirstReadMs` — the 300 ms from the boot's release of an
|
|
188
194
|
adopted json-stream session to the first read of its output, `todoReminderPollMs` and `todoReminderIntervalMs` — the todo
|
|
189
|
-
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, `checkStatusIntervalMs` — the 15 min gap between a passing check's status lines, `bindPickerClaimLimit` — how many `/bind` picker claims are kept (a count: 200), `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
|
|
190
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).
|
|
191
197
|
It is the ONE test-only timing seam,
|
|
192
198
|
never a setting: unset, every window is the production one; a value may only shorten its window (each key is capped at its
|
|
@@ -202,6 +208,44 @@ docker compose logs -f charness # tail logs
|
|
|
202
208
|
docker exec charness-main charness-restart-bot # restart only the bot; agents keep running
|
|
203
209
|
```
|
|
204
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
|
+
|
|
205
249
|
## Releases
|
|
206
250
|
|
|
207
251
|
Two workflows. **`.github/workflows/test.yml` (`Tests`)** runs typecheck, build and the FULL `yarn test` on every push to
|
|
@@ -223,8 +267,8 @@ publish, no tag, no push, the run is red; the next day's run tries again by itse
|
|
|
223
267
|
it checks the tarball's sha256 and publishes THAT file, `npm publish <tarball> --provenance`) → `release` (the only job that can
|
|
224
268
|
write: `commit-release --prepare --tarball` makes the release commit — the tested commit plus `package.json`,
|
|
225
269
|
`npm-shrinkwrap.json` and `CHANGELOG.md` taken out of the very tarball npm has (npm packs them byte for byte) —, the tag and
|
|
226
|
-
the merge with a moved `main`, locally and without the token; then a plain `git push --atomic` of `main
|
|
227
|
-
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
|
|
228
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
|
|
229
273
|
user and could read a later step's environment —, so what runs there is pinned by hash: Yarn by `packageManager`
|
|
230
274
|
(`yarn@4.9.2+sha512.…`, which corepack checks), its packages by `yarn.lock`, the actions by commit). Every job but `test` installs
|
|
@@ -253,7 +297,8 @@ publish, no tag, no push, the run is red; the next day's run tries again by itse
|
|
|
253
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>`
|
|
254
298
|
(`--remote <name>` when GitHub is not your `origin`)
|
|
255
299
|
— it commits that commit plus the tarball's version files and nothing else, merges `main` and pushes; a real conflict
|
|
256
|
-
with `main` is resolved by hand, then push `main
|
|
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`,
|
|
257
302
|
`gh release create vX.Y.Z --verify-tag --title vX.Y.Z --notes-file notes.md`.
|
|
258
303
|
- A version with no release run — published by hand, or its tag only on another remote (a clone whose `origin` is not
|
|
259
304
|
GitHub) — stops the runs the same way: push its `vX.Y.Z` tag to GitHub.
|
|
@@ -266,7 +311,7 @@ publish, no tag, no push, the run is red; the next day's run tries again by itse
|
|
|
266
311
|
know yet). Its version is the package's: `apply` writes it, as `npm version` does, and `verify-delta` lets it differ from
|
|
267
312
|
the tested commit in exactly those two lines. Those two lines sit between lines a dependency change never touches (`"name"`,
|
|
268
313
|
`"lockfileVersion"`, `"dependencies": {`), so a dependency change that lands on `main` during a release merges with it
|
|
269
|
-
(`
|
|
314
|
+
(`releaseCliCommit.test.ts` holds that).
|
|
270
315
|
|
|
271
316
|
- **Tests gate:** the release does not run the suite again when the exact commit already passed. It asks GitHub for the
|
|
272
317
|
`Tests` workflow's runs of that commit's SHA (the newest run of the commit decides): **passed** → go on; **no run at all**
|
|
@@ -285,7 +330,7 @@ publish, no tag, no push, the run is red; the next day's run tries again by itse
|
|
|
285
330
|
major is released only by dispatching the workflow with `bump=major`.
|
|
286
331
|
- **Nothing to release** (green, nothing tagged): no commits since the last tag, `HEAD` already tagged, or no shipped
|
|
287
332
|
path in the net diff from the tag — `src/**/*.ts` outside `src/__tests__` and `src/release`, `stt/gigaam_sidecar.py`,
|
|
288
|
-
`npm-shrinkwrap.json`, `LICENSE`, `
|
|
333
|
+
`npm-shrinkwrap.json`, `LICENSE`, `licensing.json`, everything under `agent-plugin/`, and `package.json` only when
|
|
289
334
|
`dependencies`, `bin`, `engines`, `files`, `main` or `license` differ. A docs-only or tests-only day, or a change and its
|
|
290
335
|
revert, publishes nothing; README / SETUP changes reach the npm page with the next code release. A change to the license
|
|
291
336
|
texts or the `license` field does count: it is a release (`releasePlan.ts` is the source of truth for both lists).
|
|
@@ -301,9 +346,18 @@ publish, no tag, no push, the run is red; the next day's run tries again by itse
|
|
|
301
346
|
paragraph or `- ` bullet, in any `###` subsection — starts with a bold first sentence (`**…**`); the run fails,
|
|
302
347
|
quoting the line, otherwise (`changelogFormat.test.ts` fails first on a commit that breaks it). An empty
|
|
303
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>`.
|
|
304
358
|
- **Package check** before anything is published: the tarball holds `package.json`, `dist/cli.js`, `stt/gigaam_sidecar.py`,
|
|
305
|
-
`
|
|
306
|
-
orchestration skill, `CHANGELOG.md`, `README.md`, `LICENSE`, `
|
|
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`
|
|
307
361
|
from a loopback registry that serves the tarball and marks its shrinkwrap, as the npm registry does (an install of the
|
|
308
362
|
tarball FILE ignores the shrinkwrap), dependencies passed on to the real registry — `charness --version` prints the new
|
|
309
363
|
version and every package sits at the version the shrinkwrap pins (`yarn tsx src/release/cli.ts check-pack`, after
|