charness 3.6.1 → 3.8.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 +297 -0
- package/DEVELOPMENT.md +35 -5
- package/MIGRATION_RENAME_TO_CHARNESS.md +3 -2
- package/README.md +84 -782
- package/SETUP.md +48 -10
- package/agent-plugin/.claude-plugin/plugin.json +7 -0
- package/agent-plugin/README.md +35 -0
- package/agent-plugin/skills/charness-delegate-claude/SKILL.md +85 -0
- package/agent-plugin/skills/charness-delegate-claude/summarize-events.py +90 -0
- package/agent-plugin/skills/charness-delegate-opencode/SKILL.md +68 -0
- package/agent-plugin/skills/charness-manager/SKILL.md +152 -0
- package/dist/adapters/adapterNames.d.ts +6 -0
- package/dist/adapters/adapterNames.d.ts.map +1 -1
- package/dist/adapters/adapterNames.js +8 -2
- package/dist/adapters/adapterNames.js.map +1 -1
- package/dist/adapters/claudeCliAdapter.d.ts +8 -0
- package/dist/adapters/claudeCliAdapter.d.ts.map +1 -1
- package/dist/adapters/claudeCliAdapter.js +42 -5
- package/dist/adapters/claudeCliAdapter.js.map +1 -1
- package/dist/adapters/claudeJsonStreamAdapter.d.ts +10 -9
- package/dist/adapters/claudeJsonStreamAdapter.d.ts.map +1 -1
- package/dist/adapters/claudeJsonStreamAdapter.js +53 -55
- package/dist/adapters/claudeJsonStreamAdapter.js.map +1 -1
- package/dist/adapters/createAdapter.d.ts +8 -0
- package/dist/adapters/createAdapter.d.ts.map +1 -1
- package/dist/adapters/createAdapter.js +14 -2
- package/dist/adapters/createAdapter.js.map +1 -1
- package/dist/adapters/openCodeAdapter.d.ts +43 -6
- package/dist/adapters/openCodeAdapter.d.ts.map +1 -1
- package/dist/adapters/openCodeAdapter.js +97 -7
- package/dist/adapters/openCodeAdapter.js.map +1 -1
- package/dist/agentLogin/agentLogin.d.ts +1 -1
- package/dist/agentLogin/agentLogin.d.ts.map +1 -1
- package/dist/apiRetryKick.d.ts +4 -3
- package/dist/apiRetryKick.d.ts.map +1 -1
- package/dist/apiRetryKick.js +16 -9
- package/dist/apiRetryKick.js.map +1 -1
- package/dist/bot.d.ts.map +1 -1
- package/dist/bot.js +1360 -387
- package/dist/bot.js.map +1 -1
- package/dist/cli/claudeProfiles.d.ts +11 -6
- package/dist/cli/claudeProfiles.d.ts.map +1 -1
- package/dist/cli/claudeProfiles.js +50 -22
- package/dist/cli/claudeProfiles.js.map +1 -1
- package/dist/cli/hot.d.ts +5 -0
- package/dist/cli/hot.d.ts.map +1 -1
- package/dist/cli/hot.js +71 -25
- package/dist/cli/hot.js.map +1 -1
- package/dist/cli/tscWatchGuard.d.ts +95 -0
- package/dist/cli/tscWatchGuard.d.ts.map +1 -0
- package/dist/cli/tscWatchGuard.js +295 -0
- package/dist/cli/tscWatchGuard.js.map +1 -0
- package/dist/cli.js +55 -1
- package/dist/cli.js.map +1 -1
- package/dist/configDirFile.d.ts +7 -3
- package/dist/configDirFile.d.ts.map +1 -1
- package/dist/configDirFile.js +12 -5
- package/dist/configDirFile.js.map +1 -1
- package/dist/connectors/jira/answerSink.d.ts +10 -0
- package/dist/connectors/jira/answerSink.d.ts.map +1 -1
- package/dist/connectors/jira/answerSink.js +13 -0
- package/dist/connectors/jira/answerSink.js.map +1 -1
- package/dist/connectors/jira/config.d.ts +2 -0
- package/dist/connectors/jira/config.d.ts.map +1 -1
- package/dist/connectors/jira/config.js +9 -1
- package/dist/connectors/jira/config.js.map +1 -1
- package/dist/connectors/jira/connector.d.ts +11 -1
- package/dist/connectors/jira/connector.d.ts.map +1 -1
- package/dist/connectors/jira/connector.js +7 -0
- package/dist/connectors/jira/connector.js.map +1 -1
- package/dist/connectors/jira/inbound.d.ts +27 -4
- package/dist/connectors/jira/inbound.d.ts.map +1 -1
- package/dist/connectors/jira/inbound.js +69 -8
- package/dist/connectors/jira/inbound.js.map +1 -1
- package/dist/connectors/jira/issueBlocks.d.ts +5 -0
- package/dist/connectors/jira/issueBlocks.d.ts.map +1 -1
- package/dist/connectors/jira/issueBlocks.js +11 -0
- package/dist/connectors/jira/issueBlocks.js.map +1 -1
- package/dist/connectors/telegram/bindPicker.d.ts +5 -0
- package/dist/connectors/telegram/bindPicker.d.ts.map +1 -1
- package/dist/connectors/telegram/bindPicker.js +18 -1
- package/dist/connectors/telegram/bindPicker.js.map +1 -1
- package/dist/connectors/telegram/bindPickerClaims.d.ts +46 -0
- package/dist/connectors/telegram/bindPickerClaims.d.ts.map +1 -0
- package/dist/connectors/telegram/bindPickerClaims.js +83 -0
- package/dist/connectors/telegram/bindPickerClaims.js.map +1 -0
- package/dist/connectors/telegram/bindSweep.d.ts +32 -0
- package/dist/connectors/telegram/bindSweep.d.ts.map +1 -0
- package/dist/connectors/telegram/bindSweep.js +47 -0
- package/dist/connectors/telegram/bindSweep.js.map +1 -0
- package/dist/connectors/telegram/bindingWelcome.d.ts +23 -0
- package/dist/connectors/telegram/bindingWelcome.d.ts.map +1 -0
- package/dist/connectors/telegram/bindingWelcome.js +26 -0
- package/dist/connectors/telegram/bindingWelcome.js.map +1 -0
- package/dist/connectors/telegram/botApiConnection.d.ts +74 -0
- package/dist/connectors/telegram/botApiConnection.d.ts.map +1 -0
- package/dist/connectors/telegram/botApiConnection.js +201 -0
- package/dist/connectors/telegram/botApiConnection.js.map +1 -0
- package/dist/connectors/telegram/commands/botCore.d.ts +13 -3
- package/dist/connectors/telegram/commands/botCore.d.ts.map +1 -1
- package/dist/connectors/telegram/commands/botSkills.d.ts +21 -0
- package/dist/connectors/telegram/commands/botSkills.d.ts.map +1 -0
- package/dist/connectors/telegram/commands/botSkills.js +133 -0
- package/dist/connectors/telegram/commands/botSkills.js.map +1 -0
- package/dist/connectors/telegram/commands/callbackMessage.d.ts +5 -0
- package/dist/connectors/telegram/commands/callbackMessage.d.ts.map +1 -1
- package/dist/connectors/telegram/commands/callbackMessage.js +9 -0
- package/dist/connectors/telegram/commands/callbackMessage.js.map +1 -1
- package/dist/connectors/telegram/commands/compaction.d.ts +65 -3
- package/dist/connectors/telegram/commands/compaction.d.ts.map +1 -1
- package/dist/connectors/telegram/commands/compaction.js +512 -94
- package/dist/connectors/telegram/commands/compaction.js.map +1 -1
- package/dist/connectors/telegram/commands/displayModes.d.ts +1 -1
- package/dist/connectors/telegram/commands/displayModes.d.ts.map +1 -1
- package/dist/connectors/telegram/commands/displayModes.js +6 -18
- package/dist/connectors/telegram/commands/displayModes.js.map +1 -1
- package/dist/connectors/telegram/commands/fallbackChain.js +5 -5
- package/dist/connectors/telegram/commands/fallbackChain.js.map +1 -1
- package/dist/connectors/telegram/commands/reminders.d.ts +1 -1
- package/dist/connectors/telegram/commands/reminders.d.ts.map +1 -1
- package/dist/connectors/telegram/commands/reminders.js +4 -15
- package/dist/connectors/telegram/commands/reminders.js.map +1 -1
- package/dist/connectors/telegram/commands/runners.d.ts +52 -0
- package/dist/connectors/telegram/commands/runners.d.ts.map +1 -0
- package/dist/connectors/telegram/commands/runners.js +486 -0
- package/dist/connectors/telegram/commands/runners.js.map +1 -0
- package/dist/connectors/telegram/commands/selfUpdate.d.ts.map +1 -1
- package/dist/connectors/telegram/commands/selfUpdate.js +1 -11
- package/dist/connectors/telegram/commands/selfUpdate.js.map +1 -1
- package/dist/connectors/telegram/commands/taskAgents.d.ts +22 -0
- package/dist/connectors/telegram/commands/taskAgents.d.ts.map +1 -0
- package/dist/connectors/telegram/commands/taskAgents.js +104 -0
- package/dist/connectors/telegram/commands/taskAgents.js.map +1 -0
- package/dist/connectors/telegram/commands/todo.d.ts +82 -0
- package/dist/connectors/telegram/commands/todo.d.ts.map +1 -0
- package/dist/connectors/telegram/commands/todo.js +384 -0
- package/dist/connectors/telegram/commands/todo.js.map +1 -0
- package/dist/connectors/telegram/commands/topicCommand.d.ts +6 -2
- package/dist/connectors/telegram/commands/topicCommand.d.ts.map +1 -1
- package/dist/connectors/telegram/commands/topicCommand.js +6 -9
- package/dist/connectors/telegram/commands/topicCommand.js.map +1 -1
- package/dist/connectors/telegram/openBindMessages.d.ts +45 -0
- package/dist/connectors/telegram/openBindMessages.d.ts.map +1 -0
- package/dist/connectors/telegram/openBindMessages.js +67 -0
- package/dist/connectors/telegram/openBindMessages.js.map +1 -0
- package/dist/connectors/telegram/outputFlushPlan.d.ts +49 -0
- package/dist/connectors/telegram/outputFlushPlan.d.ts.map +1 -1
- package/dist/connectors/telegram/outputFlushPlan.js +46 -0
- package/dist/connectors/telegram/outputFlushPlan.js.map +1 -1
- package/dist/connectors/telegram/pendingTopicName.d.ts +26 -0
- package/dist/connectors/telegram/pendingTopicName.d.ts.map +1 -0
- package/dist/connectors/telegram/pendingTopicName.js +27 -0
- package/dist/connectors/telegram/pendingTopicName.js.map +1 -0
- package/dist/connectors/telegram/runnerPairingMessages.d.ts +27 -0
- package/dist/connectors/telegram/runnerPairingMessages.d.ts.map +1 -0
- package/dist/connectors/telegram/runnerPairingMessages.js +105 -0
- package/dist/connectors/telegram/runnerPairingMessages.js.map +1 -0
- package/dist/connectors/test/connector.d.ts.map +1 -1
- package/dist/connectors/test/connector.js +6 -1
- package/dist/connectors/test/connector.js.map +1 -1
- package/dist/i18n/de.d.ts.map +1 -1
- package/dist/i18n/de.js +148 -7
- package/dist/i18n/de.js.map +1 -1
- package/dist/i18n/en.d.ts.map +1 -1
- package/dist/i18n/en.js +148 -7
- package/dist/i18n/en.js.map +1 -1
- package/dist/i18n/es.d.ts.map +1 -1
- package/dist/i18n/es.js +148 -7
- package/dist/i18n/es.js.map +1 -1
- package/dist/i18n/fr.d.ts.map +1 -1
- package/dist/i18n/fr.js +148 -7
- package/dist/i18n/fr.js.map +1 -1
- package/dist/i18n/hi.d.ts.map +1 -1
- package/dist/i18n/hi.js +148 -7
- package/dist/i18n/hi.js.map +1 -1
- package/dist/i18n/ja.d.ts.map +1 -1
- package/dist/i18n/ja.js +148 -7
- package/dist/i18n/ja.js.map +1 -1
- package/dist/i18n/ka.d.ts.map +1 -1
- package/dist/i18n/ka.js +148 -7
- package/dist/i18n/ka.js.map +1 -1
- package/dist/i18n/pt.d.ts.map +1 -1
- package/dist/i18n/pt.js +148 -7
- package/dist/i18n/pt.js.map +1 -1
- package/dist/i18n/ru.d.ts.map +1 -1
- package/dist/i18n/ru.js +148 -7
- package/dist/i18n/ru.js.map +1 -1
- package/dist/i18n/uk.d.ts.map +1 -1
- package/dist/i18n/uk.js +148 -7
- package/dist/i18n/uk.js.map +1 -1
- package/dist/i18n/uz.d.ts.map +1 -1
- package/dist/i18n/uz.js +148 -7
- package/dist/i18n/uz.js.map +1 -1
- package/dist/i18n/zh.d.ts.map +1 -1
- package/dist/i18n/zh.js +148 -7
- package/dist/i18n/zh.js.map +1 -1
- package/dist/i18n.d.ts +1 -1
- package/dist/i18n.js +1 -1
- package/dist/installManager.d.ts +70 -1
- package/dist/installManager.d.ts.map +1 -1
- package/dist/installManager.js +125 -13
- package/dist/installManager.js.map +1 -1
- package/dist/instanceSettings.d.ts +50 -1
- package/dist/instanceSettings.d.ts.map +1 -1
- package/dist/instanceSettings.js +119 -26
- package/dist/instanceSettings.js.map +1 -1
- package/dist/openCodeQuestionFlow.d.ts +30 -0
- package/dist/openCodeQuestionFlow.d.ts.map +1 -1
- package/dist/openCodeQuestionFlow.js +43 -0
- package/dist/openCodeQuestionFlow.js.map +1 -1
- package/dist/outputTrace.d.ts +6 -0
- package/dist/outputTrace.d.ts.map +1 -1
- package/dist/outputTrace.js +24 -1
- package/dist/outputTrace.js.map +1 -1
- package/dist/postToSession.d.ts +20 -5
- package/dist/postToSession.d.ts.map +1 -1
- package/dist/postToSession.js +38 -7
- package/dist/postToSession.js.map +1 -1
- package/dist/remoteRun/cliArgs.d.ts +75 -0
- package/dist/remoteRun/cliArgs.d.ts.map +1 -0
- package/dist/remoteRun/cliArgs.js +206 -0
- package/dist/remoteRun/cliArgs.js.map +1 -0
- package/dist/remoteRun/commands.d.ts +77 -0
- package/dist/remoteRun/commands.d.ts.map +1 -0
- package/dist/remoteRun/commands.js +327 -0
- package/dist/remoteRun/commands.js.map +1 -0
- package/dist/remoteRun/depsPlan.d.ts +16 -0
- package/dist/remoteRun/depsPlan.d.ts.map +1 -0
- package/dist/remoteRun/depsPlan.js +82 -0
- package/dist/remoteRun/depsPlan.js.map +1 -0
- package/dist/remoteRun/exitCodes.d.ts +34 -0
- package/dist/remoteRun/exitCodes.d.ts.map +1 -0
- package/dist/remoteRun/exitCodes.js +38 -0
- package/dist/remoteRun/exitCodes.js.map +1 -0
- package/dist/remoteRun/foreground.d.ts +29 -0
- package/dist/remoteRun/foreground.d.ts.map +1 -0
- package/dist/remoteRun/foreground.js +159 -0
- package/dist/remoteRun/foreground.js.map +1 -0
- package/dist/remoteRun/interrupts.d.ts +27 -0
- package/dist/remoteRun/interrupts.d.ts.map +1 -0
- package/dist/remoteRun/interrupts.js +78 -0
- package/dist/remoteRun/interrupts.js.map +1 -0
- package/dist/remoteRun/jobFiles.d.ts +31 -0
- package/dist/remoteRun/jobFiles.d.ts.map +1 -0
- package/dist/remoteRun/jobFiles.js +84 -0
- package/dist/remoteRun/jobFiles.js.map +1 -0
- package/dist/remoteRun/jobFormat.d.ts +16 -0
- package/dist/remoteRun/jobFormat.d.ts.map +1 -0
- package/dist/remoteRun/jobFormat.js +130 -0
- package/dist/remoteRun/jobFormat.js.map +1 -0
- package/dist/remoteRun/jobId.d.ts +15 -0
- package/dist/remoteRun/jobId.d.ts.map +1 -0
- package/dist/remoteRun/jobId.js +85 -0
- package/dist/remoteRun/jobId.js.map +1 -0
- package/dist/remoteRun/jobMeta.d.ts +18 -0
- package/dist/remoteRun/jobMeta.d.ts.map +1 -0
- package/dist/remoteRun/jobMeta.js +33 -0
- package/dist/remoteRun/jobMeta.js.map +1 -0
- package/dist/remoteRun/jobQuery.d.ts +12 -0
- package/dist/remoteRun/jobQuery.d.ts.map +1 -0
- package/dist/remoteRun/jobQuery.js +22 -0
- package/dist/remoteRun/jobQuery.js.map +1 -0
- package/dist/remoteRun/jobRecords.d.ts +22 -0
- package/dist/remoteRun/jobRecords.d.ts.map +1 -0
- package/dist/remoteRun/jobRecords.js +145 -0
- package/dist/remoteRun/jobRecords.js.map +1 -0
- package/dist/remoteRun/jobState.d.ts +62 -0
- package/dist/remoteRun/jobState.d.ts.map +1 -0
- package/dist/remoteRun/jobState.js +132 -0
- package/dist/remoteRun/jobState.js.map +1 -0
- package/dist/remoteRun/leaseTiming.d.ts +18 -0
- package/dist/remoteRun/leaseTiming.d.ts.map +1 -0
- package/dist/remoteRun/leaseTiming.js +43 -0
- package/dist/remoteRun/leaseTiming.js.map +1 -0
- package/dist/remoteRun/output.d.ts +37 -0
- package/dist/remoteRun/output.d.ts.map +1 -0
- package/dist/remoteRun/output.js +127 -0
- package/dist/remoteRun/output.js.map +1 -0
- package/dist/remoteRun/pairedRunners.d.ts +51 -0
- package/dist/remoteRun/pairedRunners.d.ts.map +1 -0
- package/dist/remoteRun/pairedRunners.js +165 -0
- package/dist/remoteRun/pairedRunners.js.map +1 -0
- package/dist/remoteRun/pathPatterns.d.ts +33 -0
- package/dist/remoteRun/pathPatterns.d.ts.map +1 -0
- package/dist/remoteRun/pathPatterns.js +115 -0
- package/dist/remoteRun/pathPatterns.js.map +1 -0
- package/dist/remoteRun/probe.d.ts +78 -0
- package/dist/remoteRun/probe.d.ts.map +1 -0
- package/dist/remoteRun/probe.js +157 -0
- package/dist/remoteRun/probe.js.map +1 -0
- package/dist/remoteRun/project.d.ts +26 -0
- package/dist/remoteRun/project.d.ts.map +1 -0
- package/dist/remoteRun/project.js +159 -0
- package/dist/remoteRun/project.js.map +1 -0
- package/dist/remoteRun/projectConfig.d.ts +38 -0
- package/dist/remoteRun/projectConfig.d.ts.map +1 -0
- package/dist/remoteRun/projectConfig.js +87 -0
- package/dist/remoteRun/projectConfig.js.map +1 -0
- package/dist/remoteRun/remoteRunCli.d.ts +22 -0
- package/dist/remoteRun/remoteRunCli.d.ts.map +1 -0
- package/dist/remoteRun/remoteRunCli.js +119 -0
- package/dist/remoteRun/remoteRunCli.js.map +1 -0
- package/dist/remoteRun/remoteRunError.d.ts +14 -0
- package/dist/remoteRun/remoteRunError.d.ts.map +1 -0
- package/dist/remoteRun/remoteRunError.js +28 -0
- package/dist/remoteRun/remoteRunError.js.map +1 -0
- package/dist/remoteRun/rsync.d.ts +17 -0
- package/dist/remoteRun/rsync.d.ts.map +1 -0
- package/dist/remoteRun/rsync.js +39 -0
- package/dist/remoteRun/rsync.js.map +1 -0
- package/dist/remoteRun/runnerClient.d.ts +52 -0
- package/dist/remoteRun/runnerClient.d.ts.map +1 -0
- package/dist/remoteRun/runnerClient.js +143 -0
- package/dist/remoteRun/runnerClient.js.map +1 -0
- package/dist/remoteRun/runnerSummary.d.ts +24 -0
- package/dist/remoteRun/runnerSummary.d.ts.map +1 -0
- package/dist/remoteRun/runnerSummary.js +86 -0
- package/dist/remoteRun/runnerSummary.js.map +1 -0
- package/dist/remoteRun/runnerWait.d.ts +68 -0
- package/dist/remoteRun/runnerWait.d.ts.map +1 -0
- package/dist/remoteRun/runnerWait.js +137 -0
- package/dist/remoteRun/runnerWait.js.map +1 -0
- package/dist/remoteRun/runnerWaitTiming.d.ts +16 -0
- package/dist/remoteRun/runnerWaitTiming.d.ts.map +1 -0
- package/dist/remoteRun/runnerWaitTiming.js +37 -0
- package/dist/remoteRun/runnerWaitTiming.js.map +1 -0
- package/dist/remoteRun/runners.d.ts +57 -0
- package/dist/remoteRun/runners.d.ts.map +1 -0
- package/dist/remoteRun/runners.js +209 -0
- package/dist/remoteRun/runners.js.map +1 -0
- package/dist/remoteRun/runnersCatalog.d.ts +14 -0
- package/dist/remoteRun/runnersCatalog.d.ts.map +1 -0
- package/dist/remoteRun/runnersCatalog.js +68 -0
- package/dist/remoteRun/runnersCatalog.js.map +1 -0
- package/dist/remoteRun/runnersConfig.d.ts +53 -0
- package/dist/remoteRun/runnersConfig.d.ts.map +1 -0
- package/dist/remoteRun/runnersConfig.js +109 -0
- package/dist/remoteRun/runnersConfig.js.map +1 -0
- package/dist/remoteRun/safeCopy.d.ts +31 -0
- package/dist/remoteRun/safeCopy.d.ts.map +1 -0
- package/dist/remoteRun/safeCopy.js +137 -0
- package/dist/remoteRun/safeCopy.js.map +1 -0
- package/dist/remoteRun/sendPlan.d.ts +67 -0
- package/dist/remoteRun/sendPlan.d.ts.map +1 -0
- package/dist/remoteRun/sendPlan.js +139 -0
- package/dist/remoteRun/sendPlan.js.map +1 -0
- package/dist/remoteRun/ssh.d.ts +82 -0
- package/dist/remoteRun/ssh.d.ts.map +1 -0
- package/dist/remoteRun/ssh.js +236 -0
- package/dist/remoteRun/ssh.js.map +1 -0
- package/dist/remoteRun/submit.d.ts +29 -0
- package/dist/remoteRun/submit.d.ts.map +1 -0
- package/dist/remoteRun/submit.js +142 -0
- package/dist/remoteRun/submit.js.map +1 -0
- package/dist/requests/answerRequest.d.ts +5 -0
- package/dist/requests/answerRequest.d.ts.map +1 -1
- package/dist/requests/answerRequest.js +16 -1
- package/dist/requests/answerRequest.js.map +1 -1
- package/dist/requests/requestLedger.d.ts +13 -0
- package/dist/requests/requestLedger.d.ts.map +1 -1
- package/dist/requests/requestLedger.js +9 -0
- package/dist/requests/requestLedger.js.map +1 -1
- package/dist/requests/topicRequestSettle.d.ts +30 -0
- package/dist/requests/topicRequestSettle.d.ts.map +1 -0
- package/dist/requests/topicRequestSettle.js +23 -0
- package/dist/requests/topicRequestSettle.js.map +1 -0
- package/dist/requests/wakeUpEngine.d.ts +4 -0
- package/dist/requests/wakeUpEngine.d.ts.map +1 -1
- package/dist/requests/wakeUpEngine.js +5 -1
- package/dist/requests/wakeUpEngine.js.map +1 -1
- package/dist/runnerUtility/adminCheck.d.ts +11 -0
- package/dist/runnerUtility/adminCheck.d.ts.map +1 -0
- package/dist/runnerUtility/adminCheck.js +68 -0
- package/dist/runnerUtility/adminCheck.js.map +1 -0
- package/dist/runnerUtility/appInstall.d.ts +25 -0
- package/dist/runnerUtility/appInstall.d.ts.map +1 -0
- package/dist/runnerUtility/appInstall.js +147 -0
- package/dist/runnerUtility/appInstall.js.map +1 -0
- package/dist/runnerUtility/appUpdate.d.ts +39 -0
- package/dist/runnerUtility/appUpdate.d.ts.map +1 -0
- package/dist/runnerUtility/appUpdate.js +90 -0
- package/dist/runnerUtility/appUpdate.js.map +1 -0
- package/dist/runnerUtility/execEnv.d.ts +21 -0
- package/dist/runnerUtility/execEnv.d.ts.map +1 -0
- package/dist/runnerUtility/execEnv.js +109 -0
- package/dist/runnerUtility/execEnv.js.map +1 -0
- package/dist/runnerUtility/execSession.d.ts +13 -0
- package/dist/runnerUtility/execSession.d.ts.map +1 -0
- package/dist/runnerUtility/execSession.js +58 -0
- package/dist/runnerUtility/execSession.js.map +1 -0
- package/dist/runnerUtility/hubClient.d.ts +30 -0
- package/dist/runnerUtility/hubClient.d.ts.map +1 -0
- package/dist/runnerUtility/hubClient.js +127 -0
- package/dist/runnerUtility/hubClient.js.map +1 -0
- package/dist/runnerUtility/injectStream.d.ts +9 -0
- package/dist/runnerUtility/injectStream.d.ts.map +1 -0
- package/dist/runnerUtility/injectStream.js +12 -0
- package/dist/runnerUtility/injectStream.js.map +1 -0
- package/dist/runnerUtility/iosCheck.d.ts +62 -0
- package/dist/runnerUtility/iosCheck.d.ts.map +1 -0
- package/dist/runnerUtility/iosCheck.js +200 -0
- package/dist/runnerUtility/iosCheck.js.map +1 -0
- package/dist/runnerUtility/launcher.d.ts +5 -0
- package/dist/runnerUtility/launcher.d.ts.map +1 -0
- package/dist/runnerUtility/launcher.js +85 -0
- package/dist/runnerUtility/launcher.js.map +1 -0
- package/dist/runnerUtility/linkLoop.d.ts +47 -0
- package/dist/runnerUtility/linkLoop.d.ts.map +1 -0
- package/dist/runnerUtility/linkLoop.js +281 -0
- package/dist/runnerUtility/linkLoop.js.map +1 -0
- package/dist/runnerUtility/localLinkStop.d.ts +23 -0
- package/dist/runnerUtility/localLinkStop.d.ts.map +1 -0
- package/dist/runnerUtility/localLinkStop.js +79 -0
- package/dist/runnerUtility/localLinkStop.js.map +1 -0
- package/dist/runnerUtility/machineReport.d.ts +39 -0
- package/dist/runnerUtility/machineReport.d.ts.map +1 -0
- package/dist/runnerUtility/machineReport.js +161 -0
- package/dist/runnerUtility/machineReport.js.map +1 -0
- package/dist/runnerUtility/packageId.d.ts +5 -0
- package/dist/runnerUtility/packageId.d.ts.map +1 -0
- package/dist/runnerUtility/packageId.js +64 -0
- package/dist/runnerUtility/packageId.js.map +1 -0
- package/dist/runnerUtility/pairingRecovery.d.ts +31 -0
- package/dist/runnerUtility/pairingRecovery.d.ts.map +1 -0
- package/dist/runnerUtility/pairingRecovery.js +24 -0
- package/dist/runnerUtility/pairingRecovery.js.map +1 -0
- package/dist/runnerUtility/pueueDaemon.d.ts +36 -0
- package/dist/runnerUtility/pueueDaemon.d.ts.map +1 -0
- package/dist/runnerUtility/pueueDaemon.js +165 -0
- package/dist/runnerUtility/pueueDaemon.js.map +1 -0
- package/dist/runnerUtility/runnerCli.d.ts +18 -0
- package/dist/runnerUtility/runnerCli.d.ts.map +1 -0
- package/dist/runnerUtility/runnerCli.js +184 -0
- package/dist/runnerUtility/runnerCli.js.map +1 -0
- package/dist/runnerUtility/runnerCommands.d.ts +67 -0
- package/dist/runnerUtility/runnerCommands.d.ts.map +1 -0
- package/dist/runnerUtility/runnerCommands.js +418 -0
- package/dist/runnerUtility/runnerCommands.js.map +1 -0
- package/dist/runnerUtility/runnerConfig.d.ts +63 -0
- package/dist/runnerUtility/runnerConfig.d.ts.map +1 -0
- package/dist/runnerUtility/runnerConfig.js +153 -0
- package/dist/runnerUtility/runnerConfig.js.map +1 -0
- package/dist/runnerUtility/runnerFlags.d.ts +9 -0
- package/dist/runnerUtility/runnerFlags.d.ts.map +1 -0
- package/dist/runnerUtility/runnerFlags.js +53 -0
- package/dist/runnerUtility/runnerFlags.js.map +1 -0
- package/dist/runnerUtility/runnerHome.d.ts +30 -0
- package/dist/runnerUtility/runnerHome.d.ts.map +1 -0
- package/dist/runnerUtility/runnerHome.js +82 -0
- package/dist/runnerUtility/runnerHome.js.map +1 -0
- package/dist/runnerUtility/runnerKeys.d.ts +11 -0
- package/dist/runnerUtility/runnerKeys.d.ts.map +1 -0
- package/dist/runnerUtility/runnerKeys.js +80 -0
- package/dist/runnerUtility/runnerKeys.js.map +1 -0
- package/dist/runnerUtility/runnerServers.d.ts +40 -0
- package/dist/runnerUtility/runnerServers.d.ts.map +1 -0
- package/dist/runnerUtility/runnerServers.js +79 -0
- package/dist/runnerUtility/runnerServers.js.map +1 -0
- package/dist/runnerUtility/serviceManager.d.ts +54 -0
- package/dist/runnerUtility/serviceManager.d.ts.map +1 -0
- package/dist/runnerUtility/serviceManager.js +413 -0
- package/dist/runnerUtility/serviceManager.js.map +1 -0
- package/dist/runnerUtility/serviceUnits.d.ts +36 -0
- package/dist/runnerUtility/serviceUnits.d.ts.map +1 -0
- package/dist/runnerUtility/serviceUnits.js +169 -0
- package/dist/runnerUtility/serviceUnits.js.map +1 -0
- package/dist/runnerUtility/toolInstall.d.ts +95 -0
- package/dist/runnerUtility/toolInstall.d.ts.map +1 -0
- package/dist/runnerUtility/toolInstall.js +232 -0
- package/dist/runnerUtility/toolInstall.js.map +1 -0
- package/dist/runnerUtility/versionPollTiming.d.ts +16 -0
- package/dist/runnerUtility/versionPollTiming.d.ts.map +1 -0
- package/dist/runnerUtility/versionPollTiming.js +36 -0
- package/dist/runnerUtility/versionPollTiming.js.map +1 -0
- package/dist/runners/authorizedKeys.d.ts +52 -0
- package/dist/runners/authorizedKeys.d.ts.map +1 -0
- package/dist/runners/authorizedKeys.js +153 -0
- package/dist/runners/authorizedKeys.js.map +1 -0
- package/dist/runners/bootstrapLine.d.ts +4 -0
- package/dist/runners/bootstrapLine.d.ts.map +1 -0
- package/dist/runners/bootstrapLine.js +69 -0
- package/dist/runners/bootstrapLine.js.map +1 -0
- package/dist/runners/gate.d.ts +41 -0
- package/dist/runners/gate.d.ts.map +1 -0
- package/dist/runners/gate.js +216 -0
- package/dist/runners/gate.js.map +1 -0
- package/dist/runners/gateLink.d.ts +26 -0
- package/dist/runners/gateLink.d.ts.map +1 -0
- package/dist/runners/gateLink.js +240 -0
- package/dist/runners/gateLink.js.map +1 -0
- package/dist/runners/gateProtocol.d.ts +98 -0
- package/dist/runners/gateProtocol.d.ts.map +1 -0
- package/dist/runners/gateProtocol.js +149 -0
- package/dist/runners/gateProtocol.js.map +1 -0
- package/dist/runners/gateWrapper.d.ts +6 -0
- package/dist/runners/gateWrapper.d.ts.map +1 -0
- package/dist/runners/gateWrapper.js +70 -0
- package/dist/runners/gateWrapper.js.map +1 -0
- package/dist/runners/hubAddress.d.ts +33 -0
- package/dist/runners/hubAddress.d.ts.map +1 -0
- package/dist/runners/hubAddress.js +88 -0
- package/dist/runners/hubAddress.js.map +1 -0
- package/dist/runners/hubAddressCandidates.d.ts +16 -0
- package/dist/runners/hubAddressCandidates.d.ts.map +1 -0
- package/dist/runners/hubAddressCandidates.js +96 -0
- package/dist/runners/hubAddressCandidates.js.map +1 -0
- package/dist/runners/hubIds.d.ts +16 -0
- package/dist/runners/hubIds.d.ts.map +1 -0
- package/dist/runners/hubIds.js +25 -0
- package/dist/runners/hubIds.js.map +1 -0
- package/dist/runners/hubKey.d.ts +6 -0
- package/dist/runners/hubKey.d.ts.map +1 -0
- package/dist/runners/hubKey.js +78 -0
- package/dist/runners/hubKey.js.map +1 -0
- package/dist/runners/hubLock.d.ts +7 -0
- package/dist/runners/hubLock.d.ts.map +1 -0
- package/dist/runners/hubLock.js +230 -0
- package/dist/runners/hubLock.js.map +1 -0
- package/dist/runners/hubPackage.d.ts +23 -0
- package/dist/runners/hubPackage.d.ts.map +1 -0
- package/dist/runners/hubPackage.js +184 -0
- package/dist/runners/hubPackage.js.map +1 -0
- package/dist/runners/hubPairing.d.ts +63 -0
- package/dist/runners/hubPairing.d.ts.map +1 -0
- package/dist/runners/hubPairing.js +261 -0
- package/dist/runners/hubPairing.js.map +1 -0
- package/dist/runners/hubPaths.d.ts +38 -0
- package/dist/runners/hubPaths.d.ts.map +1 -0
- package/dist/runners/hubPaths.js +94 -0
- package/dist/runners/hubPaths.js.map +1 -0
- package/dist/runners/hubRegistry.d.ts +112 -0
- package/dist/runners/hubRegistry.d.ts.map +1 -0
- package/dist/runners/hubRegistry.js +210 -0
- package/dist/runners/hubRegistry.js.map +1 -0
- package/dist/runners/linkControl.d.ts +27 -0
- package/dist/runners/linkControl.d.ts.map +1 -0
- package/dist/runners/linkControl.js +124 -0
- package/dist/runners/linkControl.js.map +1 -0
- package/dist/runners/pairCode.d.ts +30 -0
- package/dist/runners/pairCode.d.ts.map +1 -0
- package/dist/runners/pairCode.js +46 -0
- package/dist/runners/pairCode.js.map +1 -0
- package/dist/runners/pairingTiming.d.ts +18 -0
- package/dist/runners/pairingTiming.d.ts.map +1 -0
- package/dist/runners/pairingTiming.js +42 -0
- package/dist/runners/pairingTiming.js.map +1 -0
- package/dist/runners/runnerProxy.d.ts +9 -0
- package/dist/runners/runnerProxy.d.ts.map +1 -0
- package/dist/runners/runnerProxy.js +67 -0
- package/dist/runners/runnerProxy.js.map +1 -0
- package/dist/runners/runnerRemoval.d.ts +21 -0
- package/dist/runners/runnerRemoval.d.ts.map +1 -0
- package/dist/runners/runnerRemoval.js +82 -0
- package/dist/runners/runnerRemoval.js.map +1 -0
- package/dist/runners/runnersCli.d.ts +16 -0
- package/dist/runners/runnersCli.d.ts.map +1 -0
- package/dist/runners/runnersCli.js +214 -0
- package/dist/runners/runnersCli.js.map +1 -0
- package/dist/runners/runnersList.d.ts +17 -0
- package/dist/runners/runnersList.d.ts.map +1 -0
- package/dist/runners/runnersList.js +49 -0
- package/dist/runners/runnersList.js.map +1 -0
- package/dist/runners/runnersOverview.d.ts +20 -0
- package/dist/runners/runnersOverview.d.ts.map +1 -0
- package/dist/runners/runnersOverview.js +55 -0
- package/dist/runners/runnersOverview.js.map +1 -0
- package/dist/runners/sshKeys.d.ts +26 -0
- package/dist/runners/sshKeys.d.ts.map +1 -0
- package/dist/runners/sshKeys.js +60 -0
- package/dist/runners/sshKeys.js.map +1 -0
- package/dist/runners/tarArchive.d.ts +20 -0
- package/dist/runners/tarArchive.d.ts.map +1 -0
- package/dist/runners/tarArchive.js +70 -0
- package/dist/runners/tarArchive.js.map +1 -0
- package/dist/scheduler/delivery.d.ts +2 -0
- package/dist/scheduler/delivery.d.ts.map +1 -1
- package/dist/scheduler/delivery.js +8 -4
- package/dist/scheduler/delivery.js.map +1 -1
- package/dist/scheduler/mcpSurface.d.ts +65 -10
- package/dist/scheduler/mcpSurface.d.ts.map +1 -1
- package/dist/scheduler/mcpSurface.js +319 -89
- package/dist/scheduler/mcpSurface.js.map +1 -1
- package/dist/scheduler/recurrence.d.ts +5 -0
- package/dist/scheduler/recurrence.d.ts.map +1 -1
- package/dist/scheduler/recurrence.js +12 -2
- package/dist/scheduler/recurrence.js.map +1 -1
- package/dist/scheduler/strictToolInput.d.ts +45 -0
- package/dist/scheduler/strictToolInput.d.ts.map +1 -0
- package/dist/scheduler/strictToolInput.js +155 -0
- package/dist/scheduler/strictToolInput.js.map +1 -0
- package/dist/scheduler/types.d.ts +5 -0
- package/dist/scheduler/types.d.ts.map +1 -1
- package/dist/scheduler/workerWatch.d.ts +23 -0
- package/dist/scheduler/workerWatch.d.ts.map +1 -0
- package/dist/scheduler/workerWatch.js +26 -0
- package/dist/scheduler/workerWatch.js.map +1 -0
- package/dist/selfUpdate/emittedSource.d.ts +11 -0
- package/dist/selfUpdate/emittedSource.d.ts.map +1 -0
- package/dist/selfUpdate/emittedSource.js +24 -0
- package/dist/selfUpdate/emittedSource.js.map +1 -0
- package/dist/selfUpdate/gitSource.d.ts +0 -6
- package/dist/selfUpdate/gitSource.d.ts.map +1 -1
- package/dist/selfUpdate/gitSource.js +2 -18
- package/dist/selfUpdate/gitSource.js.map +1 -1
- package/dist/selfUpdate/selfCheck.js +2 -2
- package/dist/selfUpdate/selfCheck.js.map +1 -1
- package/dist/selfUpdate/updatePending.d.ts +1 -1
- package/dist/sendErrorClassifier.d.ts +10 -0
- package/dist/sendErrorClassifier.d.ts.map +1 -1
- package/dist/sendErrorClassifier.js +22 -0
- package/dist/sendErrorClassifier.js.map +1 -1
- package/dist/state.d.ts +78 -7
- package/dist/state.d.ts.map +1 -1
- package/dist/state.js +125 -8
- package/dist/state.js.map +1 -1
- package/dist/stateFile.d.ts +9 -0
- package/dist/stateFile.d.ts.map +1 -0
- package/dist/stateFile.js +57 -0
- package/dist/stateFile.js.map +1 -0
- package/dist/stt/sttInstall.d.ts +7 -3
- package/dist/stt/sttInstall.d.ts.map +1 -1
- package/dist/stt/sttInstall.js +8 -4
- package/dist/stt/sttInstall.js.map +1 -1
- package/dist/stt/sttSettings.d.ts +2 -1
- package/dist/stt/sttSettings.d.ts.map +1 -1
- package/dist/stt/sttSettings.js +3 -2
- package/dist/stt/sttSettings.js.map +1 -1
- package/dist/stt/transcribeChain.js +2 -0
- package/dist/stt/transcribeChain.js.map +1 -1
- package/dist/testTimings.d.ts +16 -3
- package/dist/testTimings.d.ts.map +1 -1
- package/dist/testTimings.js +35 -2
- package/dist/testTimings.js.map +1 -1
- package/dist/todos/board.d.ts +83 -0
- package/dist/todos/board.d.ts.map +1 -0
- package/dist/todos/board.js +227 -0
- package/dist/todos/board.js.map +1 -0
- package/dist/todos/format.d.ts +33 -0
- package/dist/todos/format.d.ts.map +1 -0
- package/dist/todos/format.js +90 -0
- package/dist/todos/format.js.map +1 -0
- package/dist/todos/merge.d.ts +46 -0
- package/dist/todos/merge.d.ts.map +1 -0
- package/dist/todos/merge.js +137 -0
- package/dist/todos/merge.js.map +1 -0
- package/dist/todos/midTurn.d.ts +75 -0
- package/dist/todos/midTurn.d.ts.map +1 -0
- package/dist/todos/midTurn.js +214 -0
- package/dist/todos/midTurn.js.map +1 -0
- package/dist/todos/nag.d.ts +85 -0
- package/dist/todos/nag.d.ts.map +1 -0
- package/dist/todos/nag.js +103 -0
- package/dist/todos/nag.js.map +1 -0
- package/dist/todos/order.d.ts +25 -0
- package/dist/todos/order.d.ts.map +1 -0
- package/dist/todos/order.js +61 -0
- package/dist/todos/order.js.map +1 -0
- package/dist/todos/projects.d.ts +102 -0
- package/dist/todos/projects.d.ts.map +1 -0
- package/dist/todos/projects.js +342 -0
- package/dist/todos/projects.js.map +1 -0
- package/dist/todos/registry.d.ts +64 -0
- package/dist/todos/registry.d.ts.map +1 -0
- package/dist/todos/registry.js +116 -0
- package/dist/todos/registry.js.map +1 -0
- package/dist/todos/reminderEngine.d.ts +78 -0
- package/dist/todos/reminderEngine.d.ts.map +1 -0
- package/dist/todos/reminderEngine.js +162 -0
- package/dist/todos/reminderEngine.js.map +1 -0
- package/dist/todos/store.d.ts +34 -0
- package/dist/todos/store.d.ts.map +1 -0
- package/dist/todos/store.js +208 -0
- package/dist/todos/store.js.map +1 -0
- package/dist/todos/tools.d.ts +26 -0
- package/dist/todos/tools.d.ts.map +1 -0
- package/dist/todos/tools.js +25 -0
- package/dist/todos/tools.js.map +1 -0
- package/dist/todos/types.d.ts +85 -0
- package/dist/todos/types.d.ts.map +1 -0
- package/dist/todos/types.js +30 -0
- package/dist/todos/types.js.map +1 -0
- package/dist/trackers/taskAgentLimit.d.ts +58 -0
- package/dist/trackers/taskAgentLimit.d.ts.map +1 -0
- package/dist/trackers/taskAgentLimit.js +62 -0
- package/dist/trackers/taskAgentLimit.js.map +1 -0
- package/dist/trackers/taskAgentSlots.d.ts +109 -0
- package/dist/trackers/taskAgentSlots.d.ts.map +1 -0
- package/dist/trackers/taskAgentSlots.js +227 -0
- package/dist/trackers/taskAgentSlots.js.map +1 -0
- package/dist/trackers/types.d.ts +14 -0
- package/dist/trackers/types.d.ts.map +1 -0
- package/dist/trackers/types.js +3 -0
- package/dist/trackers/types.js.map +1 -0
- package/dist/types.d.ts +80 -4
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/adoptReplayGate.d.ts +16 -0
- package/dist/utils/adoptReplayGate.d.ts.map +1 -0
- package/dist/utils/adoptReplayGate.js +35 -0
- package/dist/utils/adoptReplayGate.js.map +1 -0
- package/dist/utils/agentEnvironment.d.ts +6 -2
- package/dist/utils/agentEnvironment.d.ts.map +1 -1
- package/dist/utils/agentEnvironment.js +13 -2
- package/dist/utils/agentEnvironment.js.map +1 -1
- package/dist/utils/agentPlugin.d.ts +113 -0
- package/dist/utils/agentPlugin.d.ts.map +1 -0
- package/dist/utils/agentPlugin.js +192 -0
- package/dist/utils/agentPlugin.js.map +1 -0
- package/dist/utils/autoContinueOnLimit.d.ts +7 -4
- package/dist/utils/autoContinueOnLimit.d.ts.map +1 -1
- package/dist/utils/autoContinueOnLimit.js +8 -5
- package/dist/utils/autoContinueOnLimit.js.map +1 -1
- package/dist/utils/botSkills.d.ts +62 -0
- package/dist/utils/botSkills.d.ts.map +1 -0
- package/dist/utils/botSkills.js +53 -0
- package/dist/utils/botSkills.js.map +1 -0
- package/dist/utils/botSkillsSetting.d.ts +7 -0
- package/dist/utils/botSkillsSetting.d.ts.map +1 -0
- package/dist/utils/botSkillsSetting.js +9 -0
- package/dist/utils/botSkillsSetting.js.map +1 -0
- package/dist/utils/claudeCodeVersion.d.ts +7 -0
- package/dist/utils/claudeCodeVersion.d.ts.map +1 -1
- package/dist/utils/claudeCodeVersion.js +14 -1
- package/dist/utils/claudeCodeVersion.js.map +1 -1
- package/dist/utils/claudeCompactHook.d.ts +33 -15
- package/dist/utils/claudeCompactHook.d.ts.map +1 -1
- package/dist/utils/claudeCompactHook.js +36 -17
- package/dist/utils/claudeCompactHook.js.map +1 -1
- package/dist/utils/claudeCompactSummary.d.ts +15 -0
- package/dist/utils/claudeCompactSummary.d.ts.map +1 -0
- package/dist/utils/claudeCompactSummary.js +96 -0
- package/dist/utils/claudeCompactSummary.js.map +1 -0
- package/dist/utils/claudeLimitSwitch.d.ts +11 -9
- package/dist/utils/claudeLimitSwitch.d.ts.map +1 -1
- package/dist/utils/claudeLimitSwitch.js +18 -16
- package/dist/utils/claudeLimitSwitch.js.map +1 -1
- package/dist/utils/claudeProfiles.d.ts +5 -0
- package/dist/utils/claudeProfiles.d.ts.map +1 -1
- package/dist/utils/claudeProfiles.js +14 -0
- package/dist/utils/claudeProfiles.js.map +1 -1
- package/dist/utils/claudeSessionTitle.d.ts +2 -1
- package/dist/utils/claudeSessionTitle.d.ts.map +1 -1
- package/dist/utils/claudeSessionTitle.js +14 -14
- package/dist/utils/claudeSessionTitle.js.map +1 -1
- package/dist/utils/claudeUsage.d.ts +95 -15
- package/dist/utils/claudeUsage.d.ts.map +1 -1
- package/dist/utils/claudeUsage.js +241 -41
- package/dist/utils/claudeUsage.js.map +1 -1
- package/dist/utils/claudeUsageRefresher.d.ts +10 -0
- package/dist/utils/claudeUsageRefresher.d.ts.map +1 -1
- package/dist/utils/claudeUsageRefresher.js +11 -0
- package/dist/utils/claudeUsageRefresher.js.map +1 -1
- package/dist/utils/claudeUserEntry.d.ts +50 -0
- package/dist/utils/claudeUserEntry.d.ts.map +1 -0
- package/dist/utils/claudeUserEntry.js +120 -0
- package/dist/utils/claudeUserEntry.js.map +1 -0
- package/dist/utils/clearThreadOutputQueues.d.ts +4 -3
- package/dist/utils/clearThreadOutputQueues.d.ts.map +1 -1
- package/dist/utils/clearThreadOutputQueues.js +1 -1
- package/dist/utils/clearThreadOutputQueues.js.map +1 -1
- package/dist/utils/compactOnIdle.d.ts +33 -13
- package/dist/utils/compactOnIdle.d.ts.map +1 -1
- package/dist/utils/compactOnIdle.js +35 -15
- package/dist/utils/compactOnIdle.js.map +1 -1
- package/dist/utils/fallbackBridge.d.ts +5 -0
- package/dist/utils/fallbackBridge.d.ts.map +1 -1
- package/dist/utils/fallbackBridge.js +19 -3
- package/dist/utils/fallbackBridge.js.map +1 -1
- package/dist/utils/fallbackChain.d.ts +9 -3
- package/dist/utils/fallbackChain.d.ts.map +1 -1
- package/dist/utils/fallbackChain.js +21 -3
- package/dist/utils/fallbackChain.js.map +1 -1
- package/dist/utils/fileSendPlan.d.ts +6 -0
- package/dist/utils/fileSendPlan.d.ts.map +1 -1
- package/dist/utils/fileSendPlan.js +11 -0
- package/dist/utils/fileSendPlan.js.map +1 -1
- package/dist/utils/fileSendService.d.ts +7 -1
- package/dist/utils/fileSendService.d.ts.map +1 -1
- package/dist/utils/fileSendService.js +6 -2
- package/dist/utils/fileSendService.js.map +1 -1
- package/dist/utils/groupFinalizePlan.d.ts +8 -10
- package/dist/utils/groupFinalizePlan.d.ts.map +1 -1
- package/dist/utils/groupFinalizePlan.js +8 -12
- package/dist/utils/groupFinalizePlan.js.map +1 -1
- package/dist/utils/jsonStreamHost.d.ts +13 -0
- package/dist/utils/jsonStreamHost.d.ts.map +1 -1
- package/dist/utils/jsonStreamHost.js +13 -0
- package/dist/utils/jsonStreamHost.js.map +1 -1
- package/dist/utils/messageSendService.d.ts +5 -3
- package/dist/utils/messageSendService.d.ts.map +1 -1
- package/dist/utils/messageSendService.js +12 -5
- package/dist/utils/messageSendService.js.map +1 -1
- package/dist/utils/openCodeCompactPlugin.d.ts +39 -14
- package/dist/utils/openCodeCompactPlugin.d.ts.map +1 -1
- package/dist/utils/openCodeCompactPlugin.js +106 -38
- package/dist/utils/openCodeCompactPlugin.js.map +1 -1
- package/dist/utils/promptDelivery.d.ts +29 -12
- package/dist/utils/promptDelivery.d.ts.map +1 -1
- package/dist/utils/promptDelivery.js +13 -5
- package/dist/utils/promptDelivery.js.map +1 -1
- package/dist/utils/runnersScreenPlan.d.ts +130 -0
- package/dist/utils/runnersScreenPlan.d.ts.map +1 -0
- package/dist/utils/runnersScreenPlan.js +257 -0
- package/dist/utils/runnersScreenPlan.js.map +1 -0
- package/dist/utils/sentKindsSummary.d.ts +10 -0
- package/dist/utils/sentKindsSummary.d.ts.map +1 -0
- package/dist/utils/sentKindsSummary.js +18 -0
- package/dist/utils/sentKindsSummary.js.map +1 -0
- 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/topicView.d.ts +1 -1
- package/dist/utils/topicView.js +1 -1
- package/dist/utils/transcribeAudio.d.ts +10 -0
- package/dist/utils/transcribeAudio.d.ts.map +1 -1
- package/dist/utils/transcribeAudio.js +22 -3
- package/dist/utils/transcribeAudio.js.map +1 -1
- package/dist/utils/transcriptErrorTime.d.ts +8 -0
- package/dist/utils/transcriptErrorTime.d.ts.map +1 -0
- package/dist/utils/transcriptErrorTime.js +56 -0
- package/dist/utils/transcriptErrorTime.js.map +1 -0
- package/dist/utils/wedgeRecovery.d.ts +2 -0
- package/dist/utils/wedgeRecovery.d.ts.map +1 -1
- package/dist/utils/wedgeRecovery.js +1 -1
- package/dist/utils/wedgeRecovery.js.map +1 -1
- package/package.json +15 -4
- package/remoteRun/runner.sh +1317 -0
- package/stt/gigaam_sidecar.py +555 -50
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TaskAgentSlots = exports.taskAgentStartFailureLimit = void 0;
|
|
4
|
+
const sessionKey_1 = require("../sessionKey");
|
|
5
|
+
const taskAgentLimit_1 = require("./taskAgentLimit");
|
|
6
|
+
/**
|
|
7
|
+
* @description The slots of the tracker task agents (decision D10): ONE cap for the whole bot on how many tracker
|
|
8
|
+
* conversations are working on a hand-over at once, and ONE persisted FIFO list of those that wait for a slot. The cap
|
|
9
|
+
* itself is `taskAgentLimit.ts`; this module is the bookkeeping behind it.
|
|
10
|
+
*
|
|
11
|
+
* A slot is a tracker CONVERSATION with an OPEN hand-over request (origin `trackerEvent`) — one agent, however many people's
|
|
12
|
+
* hand-overs it holds at once; a mention request (answer only) never takes one. The slots in use are read off the request
|
|
13
|
+
* ledger on every question, so nothing about them is stored: a request that closes — an answer, a cancel — frees its slot at
|
|
14
|
+
* once, and a restart cannot get the count wrong. A request the wake-up engine gave up on (`isWakeStopped`: the alert is out
|
|
15
|
+
* and the issue handed back) is not an agent at work and holds no slot either.
|
|
16
|
+
*
|
|
17
|
+
* A connector asks {@link TaskAgentSlots.checkIn} before it opens a hand-over request. `granted` — it may open it now, and the
|
|
18
|
+
* slot is RESERVED until the connector says the request is open ({@link TaskAgentSlots.noteStarted}) or gave up
|
|
19
|
+
* ({@link TaskAgentSlots.noteStartFailed}), so two connectors polling at once never share the last free slot. `queued` — no
|
|
20
|
+
* slot is free (or someone waits ahead): the conversation joins the list, oldest first, and asks again at its next poll. It is
|
|
21
|
+
* granted only when it is within the free slots counted from the HEAD of the list, so the order of the list is the order of
|
|
22
|
+
* the starts, whatever order a poll happens to return the issues in.
|
|
23
|
+
*
|
|
24
|
+
* A place whose last start FAILED (the issue could not be fetched, the folder not bound) does not count as ahead of the places
|
|
25
|
+
* behind it, so one broken issue never holds the others up; after {@link taskAgentStartFailureLimit} failed starts in a row it
|
|
26
|
+
* moves to the end of the list.
|
|
27
|
+
*/
|
|
28
|
+
/** The request origin that holds a slot. */
|
|
29
|
+
const slotHoldingOriginKind = 'trackerEvent';
|
|
30
|
+
/** How many starts of one waiting issue may fail in a row before it moves to the end of the wait list. */
|
|
31
|
+
exports.taskAgentStartFailureLimit = 3;
|
|
32
|
+
class TaskAgentSlots {
|
|
33
|
+
deps;
|
|
34
|
+
now;
|
|
35
|
+
/** Conversations a `granted` answer was given to and whose request is not open yet; memory only. */
|
|
36
|
+
reservedConversationKeys = new Set();
|
|
37
|
+
/** Per waiting conversation, how many starts failed in a row (absent = none); memory only, so a restart gives every place a fresh start. */
|
|
38
|
+
failedStartCounts = new Map();
|
|
39
|
+
/** The cap as the last read saw it; `null` before the first read. */
|
|
40
|
+
lastReadMaxConcurrent = null;
|
|
41
|
+
slotFreedListeners = new Set();
|
|
42
|
+
constructor(deps) {
|
|
43
|
+
this.deps = deps;
|
|
44
|
+
this.now = deps.now ?? Date.now;
|
|
45
|
+
}
|
|
46
|
+
/** The conversations that hold a slot now: an open, not given-up hand-over request, or a reservation. */
|
|
47
|
+
getOccupiedConversationKeys() {
|
|
48
|
+
const occupied = new Set(this.reservedConversationKeys);
|
|
49
|
+
for (const { key, request } of this.deps.ledger.listOpenRequests()) {
|
|
50
|
+
if (request.origin.kind === slotHoldingOriginKind && !request.isWakeStopped)
|
|
51
|
+
occupied.add((0, sessionKey_1.keyToString)(key));
|
|
52
|
+
}
|
|
53
|
+
return occupied;
|
|
54
|
+
}
|
|
55
|
+
/** The wait list without the conversations that hold a slot already (a start whose entry was not dropped yet). */
|
|
56
|
+
getWaitingEntries(occupied) {
|
|
57
|
+
return this.deps.store.getTaskAgentWaitList().filter((entry) => !occupied.has(entry.conversationKey));
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* @description May `key`'s conversation open a hand-over request now? `triggerId` names the hand-over for the logs. A
|
|
61
|
+
* conversation that holds a slot already — a newer hand-over of the same issue supersedes its open request — needs no new one.
|
|
62
|
+
* A `queued` answer that changes the list (a new place, a newer trigger) saves it, flushed: a restart right after keeps the place.
|
|
63
|
+
*/
|
|
64
|
+
async checkIn(key, triggerId) {
|
|
65
|
+
const conversationKey = (0, sessionKey_1.keyToString)(key);
|
|
66
|
+
// A check-in is made by the poll that deals with every waiting issue, so a raised cap needs no wake-up here.
|
|
67
|
+
const maxConcurrent = this.readMaxConcurrent(false);
|
|
68
|
+
const occupied = this.getOccupiedConversationKeys();
|
|
69
|
+
const waiting = this.getWaitingEntries(occupied);
|
|
70
|
+
const ownIndex = waiting.findIndex((entry) => entry.conversationKey === conversationKey);
|
|
71
|
+
const placesAhead = ownIndex === -1 ? waiting : waiting.slice(0, ownIndex);
|
|
72
|
+
// A place whose last start failed does not hold up the ones behind it.
|
|
73
|
+
const position = placesAhead.filter((entry) => !this.failedStartCounts.has(entry.conversationKey)).length;
|
|
74
|
+
const freeCount = maxConcurrent === taskAgentLimit_1.taskAgentsNoLimit ? Number.POSITIVE_INFINITY : maxConcurrent - occupied.size;
|
|
75
|
+
if (occupied.has(conversationKey) || position < freeCount) {
|
|
76
|
+
this.reservedConversationKeys.add(conversationKey);
|
|
77
|
+
return { kind: 'granted' };
|
|
78
|
+
}
|
|
79
|
+
const isNewlyQueued = ownIndex === -1;
|
|
80
|
+
let isListChanged = isNewlyQueued;
|
|
81
|
+
if (isNewlyQueued) {
|
|
82
|
+
waiting.push({ conversationKey, triggerId, queuedAt: this.now() });
|
|
83
|
+
}
|
|
84
|
+
else if (waiting[ownIndex].triggerId !== triggerId) {
|
|
85
|
+
// A newer hand-over of the issue replaces the waiting one and keeps its place.
|
|
86
|
+
waiting[ownIndex] = { ...waiting[ownIndex], triggerId };
|
|
87
|
+
isListChanged = true;
|
|
88
|
+
}
|
|
89
|
+
// Every poll asks again for a waiting issue: only a change is written.
|
|
90
|
+
if (isListChanged) {
|
|
91
|
+
this.deps.store.setTaskAgentWaitList(waiting);
|
|
92
|
+
await this.deps.store.flush();
|
|
93
|
+
}
|
|
94
|
+
return { kind: 'queued', isNewlyQueued, aheadCount: position, maxConcurrent };
|
|
95
|
+
}
|
|
96
|
+
/** @description The granted conversation's request is open (and counted by the ledger now): drop the reservation and its place in the list. */
|
|
97
|
+
noteStarted(key) {
|
|
98
|
+
const conversationKey = (0, sessionKey_1.keyToString)(key);
|
|
99
|
+
this.reservedConversationKeys.delete(conversationKey);
|
|
100
|
+
this.removeWaiting((entry) => entry.conversationKey === conversationKey);
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* @description The granted conversation could not open its request: the slot goes back and a place in the list (if any) stays, but
|
|
104
|
+
* the place no longer holds up the ones behind it. The {@link taskAgentStartFailureLimit}th failure in a row moves it to the end
|
|
105
|
+
* of the list (logged once) and gives it a fresh start there. A conversation with no place has nothing to move: it asks again at its next poll.
|
|
106
|
+
*/
|
|
107
|
+
noteStartFailed(key) {
|
|
108
|
+
const conversationKey = (0, sessionKey_1.keyToString)(key);
|
|
109
|
+
this.reservedConversationKeys.delete(conversationKey);
|
|
110
|
+
const waitList = this.deps.store.getTaskAgentWaitList();
|
|
111
|
+
const place = waitList.find((entry) => entry.conversationKey === conversationKey);
|
|
112
|
+
if (!place)
|
|
113
|
+
return;
|
|
114
|
+
const failedCount = (this.failedStartCounts.get(conversationKey) ?? 0) + 1;
|
|
115
|
+
if (failedCount < exports.taskAgentStartFailureLimit) {
|
|
116
|
+
this.failedStartCounts.set(conversationKey, failedCount);
|
|
117
|
+
return;
|
|
118
|
+
}
|
|
119
|
+
this.failedStartCounts.delete(conversationKey);
|
|
120
|
+
this.deps.store.setTaskAgentWaitList([...waitList.filter((entry) => entry !== place), place]);
|
|
121
|
+
console.warn(`[tasks] ${conversationKey} failed to start ${exports.taskAgentStartFailureLimit} times in a row; it moves to the end of the wait list`);
|
|
122
|
+
}
|
|
123
|
+
/** @description The conversation no longer waits (its hand-over was withdrawn, refused or handled another way): drop its place. */
|
|
124
|
+
dropWaiting(key) {
|
|
125
|
+
const conversationKey = (0, sessionKey_1.keyToString)(key);
|
|
126
|
+
this.removeWaiting((entry) => entry.conversationKey === conversationKey);
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* @description Drop the places of `platform`'s conversations that `checkIsStillWaiting` no longer vouches for — a connector's
|
|
130
|
+
* poll calls it after a complete poll with what it found (an issue that left the hand-over statuses is no longer waiting).
|
|
131
|
+
*/
|
|
132
|
+
pruneWaiting(platform, checkIsStillWaiting) {
|
|
133
|
+
this.removeWaiting((entry) => {
|
|
134
|
+
const key = (0, sessionKey_1.tryKeyFromString)(entry.conversationKey);
|
|
135
|
+
return key !== null && key.platform === platform && !checkIsStillWaiting(key);
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
/** @description Drop the places of conversations nobody in this process serves any more (a connector taken out of `CONNECTORS`): they could never start and would hold up the others. */
|
|
139
|
+
dropUnserved(checkIsServed) {
|
|
140
|
+
this.removeWaiting((entry) => {
|
|
141
|
+
const key = (0, sessionKey_1.tryKeyFromString)(entry.conversationKey);
|
|
142
|
+
return key === null || !checkIsServed(key);
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
removeWaiting(checkIsRemoved) {
|
|
146
|
+
const waitList = this.deps.store.getTaskAgentWaitList();
|
|
147
|
+
const kept = waitList.filter((entry) => !checkIsRemoved(entry));
|
|
148
|
+
if (kept.length === waitList.length)
|
|
149
|
+
return;
|
|
150
|
+
for (const entry of waitList) {
|
|
151
|
+
if (checkIsRemoved(entry))
|
|
152
|
+
this.failedStartCounts.delete(entry.conversationKey);
|
|
153
|
+
}
|
|
154
|
+
this.deps.store.setTaskAgentWaitList(kept);
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* @description The cap, the conversations working and the conversations waiting. Reading the cap here notices a raise like any read
|
|
158
|
+
* outside a poll (see {@link TaskAgentSlots.noteLimitMayHaveChanged}).
|
|
159
|
+
*/
|
|
160
|
+
getStatus() {
|
|
161
|
+
const maxConcurrent = this.readMaxConcurrent(true);
|
|
162
|
+
const occupied = this.getOccupiedConversationKeys();
|
|
163
|
+
return { maxConcurrent, runningCount: occupied.size, waitingCount: this.getWaitingEntries(occupied).length };
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* The cap in force. `isWakingOnRaise`: when it went up since the last read and somebody waits, the listeners are woken — a raise
|
|
167
|
+
* is room for the waiting issues, found by whoever reads it first (the `/task_agents` screen, a hand edit of `settings.json`).
|
|
168
|
+
*/
|
|
169
|
+
readMaxConcurrent(isWakingOnRaise) {
|
|
170
|
+
const maxConcurrent = this.deps.getMaxConcurrent();
|
|
171
|
+
const previous = this.lastReadMaxConcurrent;
|
|
172
|
+
this.lastReadMaxConcurrent = maxConcurrent;
|
|
173
|
+
if (isWakingOnRaise && previous !== null && (0, taskAgentLimit_1.checkIsTaskAgentLimitRaised)(previous, maxConcurrent))
|
|
174
|
+
this.wakeListenersWhileWaiting();
|
|
175
|
+
return maxConcurrent;
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* @description The cap may have changed — General's value was just written: read it, and wake the listeners when it went up while
|
|
179
|
+
* somebody waits. A hand edit of `settings.json` is noticed the same way, by the first read that is not a poll's own check-in.
|
|
180
|
+
*/
|
|
181
|
+
noteLimitMayHaveChanged() {
|
|
182
|
+
this.readMaxConcurrent(true);
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* @description Be told when a slot may have freed while someone waits for one (a connector polls again at once, instead of at
|
|
186
|
+
* its next interval). Returns the function that stops the listening.
|
|
187
|
+
*/
|
|
188
|
+
onSlotFreed(listener) {
|
|
189
|
+
this.slotFreedListeners.add(listener);
|
|
190
|
+
return () => {
|
|
191
|
+
this.slotFreedListeners.delete(listener);
|
|
192
|
+
};
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* @description The request ledger's word that a request closed: a hand-over that is not merely replaced by a newer one of its
|
|
196
|
+
* conversation may have freed a slot, which wakes the listeners — only while somebody waits. It runs inside the ledger's own
|
|
197
|
+
* close, so the listeners get the news, not the state: they act after the close completed.
|
|
198
|
+
*/
|
|
199
|
+
noteRequestClosed(closed) {
|
|
200
|
+
if (closed.origin.kind !== slotHoldingOriginKind || closed.closeReason === 'superseded')
|
|
201
|
+
return;
|
|
202
|
+
this.wakeListenersWhileWaiting();
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* @description The request ledger's word that the wake-up engine gave up on a request (it stays open, but holds no slot any more):
|
|
206
|
+
* the same wake-up as a close.
|
|
207
|
+
*/
|
|
208
|
+
noteRequestWakeStopped(request) {
|
|
209
|
+
if (request.origin.kind !== slotHoldingOriginKind)
|
|
210
|
+
return;
|
|
211
|
+
this.wakeListenersWhileWaiting();
|
|
212
|
+
}
|
|
213
|
+
wakeListenersWhileWaiting() {
|
|
214
|
+
if (this.deps.store.getTaskAgentWaitList().length === 0)
|
|
215
|
+
return;
|
|
216
|
+
for (const listener of this.slotFreedListeners) {
|
|
217
|
+
try {
|
|
218
|
+
listener();
|
|
219
|
+
}
|
|
220
|
+
catch (error) {
|
|
221
|
+
console.warn(`[tasks] a slot listener failed: ${error instanceof Error ? error.message : String(error)}`);
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
exports.TaskAgentSlots = TaskAgentSlots;
|
|
227
|
+
//# sourceMappingURL=taskAgentSlots.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"taskAgentSlots.js","sourceRoot":"","sources":["../../src/trackers/taskAgentSlots.ts"],"names":[],"mappings":";;;AAAA,8CAAgG;AAIhG,qDAAkF;AAGlF;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,4CAA4C;AAC5C,MAAM,qBAAqB,GAAsB,cAAc,CAAC;AAEhE,0GAA0G;AAC7F,QAAA,0BAA0B,GAAG,CAAC,CAAC;AA8B5C,MAAa,cAAc;IAUI;IATZ,GAAG,CAAe;IACnC,oGAAoG;IACnF,wBAAwB,GAAG,IAAI,GAAG,EAAU,CAAC;IAC9D,4IAA4I;IAC3H,iBAAiB,GAAG,IAAI,GAAG,EAAkB,CAAC;IAC/D,qEAAqE;IAC7D,qBAAqB,GAAkB,IAAI,CAAC;IACnC,kBAAkB,GAAG,IAAI,GAAG,EAAc,CAAC;IAE5D,YAA6B,IAAwB;QAAxB,SAAI,GAAJ,IAAI,CAAoB;QACnD,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,GAAG,CAAC;IAClC,CAAC;IAED,yGAAyG;IACjG,2BAA2B;QACjC,MAAM,QAAQ,GAAG,IAAI,GAAG,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC;QACxD,KAAK,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,gBAAgB,EAAE,EAAE,CAAC;YACnE,IAAI,OAAO,CAAC,MAAM,CAAC,IAAI,KAAK,qBAAqB,IAAI,CAAC,OAAO,CAAC,aAAa;gBAAE,QAAQ,CAAC,GAAG,CAAC,IAAA,wBAAW,EAAC,GAAG,CAAC,CAAC,CAAC;QAC9G,CAAC;QACD,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,kHAAk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O,yBAAyB;QAC/B,IAAI,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,oBAAoB,EAAE,CAAC,MAAM,KAAK,CAAC;YAAE,OAAO;QAChE,KAAK,MAAM,QAAQ,IAAI,IAAI,CAAC,kBAAkB,EAAE,CAAC;YAC/C,IAAI,CAAC;gBACH,QAAQ,EAAE,CAAC;YACb,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,OAAO,CAAC,IAAI,CAAC,mCAAmC,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;YAC5G,CAAC;QACH,CAAC;IACH,CAAC;CACF;AAtMD,wCAsMC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @name TaskAgentWaitEntry
|
|
3
|
+
* @description One tracker conversation waiting for a slot (`taskAgentSlots.ts`), as persisted in `state.json`
|
|
4
|
+
* `taskAgentWaitList`: oldest first, one entry per conversation.
|
|
5
|
+
*/
|
|
6
|
+
export interface TaskAgentWaitEntry {
|
|
7
|
+
/** The conversation's serialized `SessionKey`. */
|
|
8
|
+
conversationKey: string;
|
|
9
|
+
/** The tracker's id of the hand-over that is waiting (the connector's trigger id), for the logs. */
|
|
10
|
+
triggerId: string;
|
|
11
|
+
/** Epoch ms the conversation joined the list. */
|
|
12
|
+
queuedAt: number;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/trackers/types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IACjC,kDAAkD;IAClD,eAAe,EAAE,MAAM,CAAC;IACxB,oGAAoG;IACpG,SAAS,EAAE,MAAM,CAAC;IAClB,iDAAiD;IACjD,QAAQ,EAAE,MAAM,CAAC;CAClB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/trackers/types.ts"],"names":[],"mappings":""}
|
package/dist/types.d.ts
CHANGED
|
@@ -232,6 +232,38 @@ export interface PendingQuestionState {
|
|
|
232
232
|
answers: (string[] | null)[];
|
|
233
233
|
/** Index into `data.questions` of the question currently on screen. */
|
|
234
234
|
currentIndex: number;
|
|
235
|
+
/**
|
|
236
|
+
* The message the question on screen (`currentIndex`) was FIRST asked in: the record that stays in the topic, with its text
|
|
237
|
+
* and «asked again below», however often the question is put at the bottom again — a copy an earlier re-post made is deleted
|
|
238
|
+
* when the next one lands, so a waiting question leaves the original and the live copy. Kept here, in the saved state, so a
|
|
239
|
+
* restart does not lose which message is the original. Empty until the question is posted, cleared when the question
|
|
240
|
+
* advances to the next one, and absent in a state that predates it (the message found then is taken for the original,
|
|
241
|
+
* which is never deleted).
|
|
242
|
+
*/
|
|
243
|
+
originalMessageId?: number | null;
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* @description A question the idle compaction re-asked (D1), as it is kept across a bot restart: the id of the message
|
|
247
|
+
* that carries its `reask_<i>` buttons and the question they answer. Kept so those buttons still work after a restart
|
|
248
|
+
* while the conversation sleeps, and so a restart that finds the conversation released can close the message.
|
|
249
|
+
*
|
|
250
|
+
* It is saved from the moment the idle compaction starts, when the re-ask is not posted yet: `isPosted: false`, and
|
|
251
|
+
* `messageId` is then the message the question waited in (its buttons are off, and it has no result yet). A restart that
|
|
252
|
+
* finds such a record asks the question again when the conversation can still be resumed (the old message then says «asked
|
|
253
|
+
* again below»), and closes that message as unanswered when it is gone.
|
|
254
|
+
*/
|
|
255
|
+
export interface ReAskedQuestionRecord {
|
|
256
|
+
messageId: number;
|
|
257
|
+
question: OpenCodeQuestion;
|
|
258
|
+
/** `false` while the re-ask is not posted yet; absent once it is. */
|
|
259
|
+
isPosted?: boolean;
|
|
260
|
+
/**
|
|
261
|
+
* Of a posted re-ask: the message the question waited in, which the copy replaces, and whether its result («asked again
|
|
262
|
+
* below») has LANDED. The post is saved before that edit is made, so a restart between the two finds the old message
|
|
263
|
+
* without a note and finishes it.
|
|
264
|
+
*/
|
|
265
|
+
predecessorMessageId?: number | null;
|
|
266
|
+
isPredecessorClosed?: boolean;
|
|
235
267
|
}
|
|
236
268
|
/**
|
|
237
269
|
* @description Classification of a provider-side API error surfaced by either
|
|
@@ -262,6 +294,12 @@ export interface AgentApiErrorClass {
|
|
|
262
294
|
* wait-for-reset: the bot marks the account exhausted until the operator acts and moves along the fallback chain.
|
|
263
295
|
*/
|
|
264
296
|
isBalanceExhausted?: boolean;
|
|
297
|
+
/**
|
|
298
|
+
* The error was read while an adopted session replayed the tail its process wrote while the bot was down: it ended a
|
|
299
|
+
* turn BEFORE this bot started, not just now. The boot recovery owns such an episode (it reads the error's own time off
|
|
300
|
+
* the transcript, where the replay can only read the clock); the bot must not handle its replayed copy again.
|
|
301
|
+
*/
|
|
302
|
+
isReplayed?: boolean;
|
|
265
303
|
}
|
|
266
304
|
/**
|
|
267
305
|
* @description The bot's per-thread record of an armed auto-retry after a
|
|
@@ -693,6 +731,20 @@ export interface AgentAdapter extends EventEmitter {
|
|
|
693
731
|
* tmux TUI and OpenCode are never auto-stopped (L-D8).
|
|
694
732
|
*/
|
|
695
733
|
suspendSession?(key: SessionKey): Promise<void>;
|
|
734
|
+
/**
|
|
735
|
+
* @description {@link stopSession}, resolving once the stop is DONE: the process gone and the session dropped, so
|
|
736
|
+
* `checkIsActive` is false and a start under the same key finds nothing running. Optional: a backend whose `stopSession`
|
|
737
|
+
* already finishes at once (or only queues its teardown) omits it. `/quit` waits on it before it says «stopped».
|
|
738
|
+
*/
|
|
739
|
+
stopSessionAndWait?(key: SessionKey): Promise<void>;
|
|
740
|
+
/**
|
|
741
|
+
* @description Resolves once an ADOPTED session (one that outlived a bot restart) has replayed what its process wrote
|
|
742
|
+
* while the bot was down — at once for any other session. A prompt forwarded before that would reset the answer and
|
|
743
|
+
* error state the replayed frames still use. Optional: only the json-stream Claude backend adopts a process and replays.
|
|
744
|
+
*/
|
|
745
|
+
whenAdoptReplayed?(key: SessionKey): Promise<void>;
|
|
746
|
+
/** Whether an adopted session is still replaying the downtime tail — {@link whenAdoptReplayed} would wait. */
|
|
747
|
+
checkIsAdoptReplayPending?(key: SessionKey): boolean;
|
|
696
748
|
checkIsActive(key: SessionKey): boolean;
|
|
697
749
|
/**
|
|
698
750
|
* @description Read runtime metadata for the live session without sending the
|
|
@@ -803,12 +855,19 @@ export interface AgentAdapter extends EventEmitter {
|
|
|
803
855
|
/**
|
|
804
856
|
* Make every active OpenCode directory's instance load the bot's compaction
|
|
805
857
|
* plugin (`utils/openCodeCompactPlugin.ts`): install the plugin file, then
|
|
806
|
-
* recreate each IDLE directory instance that predates it
|
|
858
|
+
* recreate each IDLE directory instance that predates it or loaded an older
|
|
859
|
+
* version of it. Recreating drops the
|
|
807
860
|
* directory's runtime MCP registrations, so the boot caller must run
|
|
808
861
|
* {@link reconcileSchedulerMcpForActiveSessions} AFTER this resolves. Best-effort,
|
|
809
862
|
* never rejects; a busy directory is left for the next boot.
|
|
810
863
|
*/
|
|
811
864
|
activateCompactionPluginForActiveSessions?(): Promise<void>;
|
|
865
|
+
/**
|
|
866
|
+
* Boot step (OpenCode) for the skills the bot gives its agents (`utils/agentPlugin.ts`): replace a server started
|
|
867
|
+
* without the bot's skills folder once nothing works in it — before {@link activateCompactionPluginForActiveSessions},
|
|
868
|
+
* whose reconcile then restores what a replacement drops. Best-effort, never rejects; busy → the next boot retries.
|
|
869
|
+
*/
|
|
870
|
+
activateAgentSkillsForServer?(): Promise<void>;
|
|
812
871
|
/**
|
|
813
872
|
* Heal the bot-owned MCP server `serverName` INSIDE one live session: read the
|
|
814
873
|
* status the backend holds for it and reconnect it when it reports `failed`.
|
|
@@ -875,14 +934,15 @@ export interface AgentAdapter extends EventEmitter {
|
|
|
875
934
|
compactContext?(key: SessionKey, instruction?: string): Promise<CompactionResult>;
|
|
876
935
|
/**
|
|
877
936
|
* Whether this backend's own compaction prompt already receives the
|
|
878
|
-
*
|
|
937
|
+
* resume guidance (the loaded skills and the next-steps checklist) for this
|
|
938
|
+
* thread's session, so the bot must leave it
|
|
879
939
|
* out of the `compactContext` instruction. OpenCode: true when the server
|
|
880
|
-
* loaded the bot
|
|
940
|
+
* loaded the CURRENT bot compaction plugin (`utils/openCodeCompactPlugin.ts`), which
|
|
881
941
|
* cannot see the instruction and so cannot skip a duplicate itself. Optional —
|
|
882
942
|
* absent means "no", and the Claude backends leave it unset because their
|
|
883
943
|
* `PreCompact` hook skips a compaction that already carries the guidance.
|
|
884
944
|
*/
|
|
885
|
-
|
|
945
|
+
checkHasCompactionResumeHook?(key: SessionKey): Promise<boolean>;
|
|
886
946
|
/**
|
|
887
947
|
* Whether this backend's OWN compaction summary already reaches the topic as
|
|
888
948
|
* ordinary agent output, so the bot must NOT post a second copy of it.
|
|
@@ -942,6 +1002,14 @@ export interface AgentAdapter extends EventEmitter {
|
|
|
942
1002
|
* adapters omit it. Best-effort — never blocks the prompt that follows.
|
|
943
1003
|
*/
|
|
944
1004
|
detachRunningSubagents?(key: SessionKey): Promise<boolean>;
|
|
1005
|
+
/**
|
|
1006
|
+
* Queue `text` into the turn the session is working on RIGHT NOW, as a note the agent reads between its steps —
|
|
1007
|
+
* without starting a new turn: the response being streamed goes on as one message, and nothing of the turn's state
|
|
1008
|
+
* is reset. Resolves `false`, posting nothing, when the session is not busy, or when the turn waits out a provider
|
|
1009
|
+
* retry (a note must never cut that wait short). Optional: only OpenCode reads a prompt mid-turn (the shared todo
|
|
1010
|
+
* lists' mid-turn board, `todos/midTurn.ts`).
|
|
1011
|
+
*/
|
|
1012
|
+
queueNoteIntoRunningTurn?(key: SessionKey, text: string): Promise<boolean>;
|
|
945
1013
|
/**
|
|
946
1014
|
* @description Read the last `limit` conversational turns (user/assistant
|
|
947
1015
|
* messages with renderable text, oldest→newest) of `sessionId` from the
|
|
@@ -953,6 +1021,14 @@ export interface AgentAdapter extends EventEmitter {
|
|
|
953
1021
|
* session). Used by `resumeSession` to post the short resume context block.
|
|
954
1022
|
*/
|
|
955
1023
|
getRecentTurns?(key: SessionKey, workDir: string, sessionId: string, limit: number): Promise<RecentTurn[]>;
|
|
1024
|
+
/**
|
|
1025
|
+
* @description The summary the backend's own compaction left in the conversation `sessionId` (the newest one), read
|
|
1026
|
+
* from its transcript whether or not the session runs; `null` when it holds none or cannot be read. Never part of
|
|
1027
|
+
* {@link getRecentTurns} — it is not something the user said — so the surfaces that show turns do not show it. Used
|
|
1028
|
+
* by the context bridge of a cross-backend switch, which hands it to the next agent as context. Optional: only a
|
|
1029
|
+
* backend whose transcript carries the summary implements it.
|
|
1030
|
+
*/
|
|
1031
|
+
getSessionCompactionSummary?(key: SessionKey, workDir: string, sessionId: string): Promise<string | null>;
|
|
956
1032
|
/**
|
|
957
1033
|
* @description Assemble the post-restart recap for `sessionId`: how many
|
|
958
1034
|
* assistant messages were produced while the bot was down (vs the persisted
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AACrC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,KAAK,EAAE,YAAY,EAAE,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|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type SessionKey } from '../sessionKey';
|
|
2
|
+
import type { AgentAdapter } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* How long a forward waits for an adopted session's replay before it goes out anyway. The first poll after an adopt
|
|
5
|
+
* comes in 300 ms and reads the whole downtime tail at once; this only bounds a tail that cannot be read, so a prompt is
|
|
6
|
+
* never held for good behind a session that never settles.
|
|
7
|
+
*/
|
|
8
|
+
export declare const adoptReplayGateMaxWaitMs = 30000;
|
|
9
|
+
/**
|
|
10
|
+
* @description The wait before a prompt is forwarded to a session: an adopted one first replays what its process wrote
|
|
11
|
+
* while the bot was down. A prompt written meanwhile resets the answer and the error slot the replayed frames still use,
|
|
12
|
+
* so the replayed text would join the new reply's message and a replayed error would take the new turn's slot. Settles at
|
|
13
|
+
* once for a session that was not adopted and for an adapter that never adopts. `maxWaitMs` is a test seam.
|
|
14
|
+
*/
|
|
15
|
+
export declare function waitForAdoptedReplay(adapter: Pick<AgentAdapter, 'whenAdoptReplayed'>, key: SessionKey, maxWaitMs?: number): Promise<void>;
|
|
16
|
+
//# sourceMappingURL=adoptReplayGate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"adoptReplayGate.d.ts","sourceRoot":"","sources":["../../src/utils/adoptReplayGate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AAC7D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,QAAS,CAAC;AAE/C;;;;;GAKG;AACH,wBAAsB,oBAAoB,CACxC,OAAO,EAAE,IAAI,CAAC,YAAY,EAAE,mBAAmB,CAAC,EAChD,GAAG,EAAE,UAAU,EACf,SAAS,SAA2B,GACnC,OAAO,CAAC,IAAI,CAAC,CAaf"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.adoptReplayGateMaxWaitMs = void 0;
|
|
4
|
+
exports.waitForAdoptedReplay = waitForAdoptedReplay;
|
|
5
|
+
const sessionKey_1 = require("../sessionKey");
|
|
6
|
+
/**
|
|
7
|
+
* How long a forward waits for an adopted session's replay before it goes out anyway. The first poll after an adopt
|
|
8
|
+
* comes in 300 ms and reads the whole downtime tail at once; this only bounds a tail that cannot be read, so a prompt is
|
|
9
|
+
* never held for good behind a session that never settles.
|
|
10
|
+
*/
|
|
11
|
+
exports.adoptReplayGateMaxWaitMs = 30_000;
|
|
12
|
+
/**
|
|
13
|
+
* @description The wait before a prompt is forwarded to a session: an adopted one first replays what its process wrote
|
|
14
|
+
* while the bot was down. A prompt written meanwhile resets the answer and the error slot the replayed frames still use,
|
|
15
|
+
* so the replayed text would join the new reply's message and a replayed error would take the new turn's slot. Settles at
|
|
16
|
+
* once for a session that was not adopted and for an adapter that never adopts. `maxWaitMs` is a test seam.
|
|
17
|
+
*/
|
|
18
|
+
async function waitForAdoptedReplay(adapter, key, maxWaitMs = exports.adoptReplayGateMaxWaitMs) {
|
|
19
|
+
if (!adapter.whenAdoptReplayed)
|
|
20
|
+
return;
|
|
21
|
+
let timer;
|
|
22
|
+
let outcome;
|
|
23
|
+
try {
|
|
24
|
+
outcome = await Promise.race([
|
|
25
|
+
adapter.whenAdoptReplayed(key).then(() => 'replayed'),
|
|
26
|
+
new Promise((resolve) => { timer = setTimeout(() => resolve('timedOut'), maxWaitMs); }),
|
|
27
|
+
]);
|
|
28
|
+
}
|
|
29
|
+
finally {
|
|
30
|
+
clearTimeout(timer);
|
|
31
|
+
}
|
|
32
|
+
if (outcome === 'timedOut')
|
|
33
|
+
console.warn(`[adopt] ${(0, sessionKey_1.keyToString)(key)}: the replay of the downtime tail did not finish in ${maxWaitMs} ms; the prompt goes out without waiting`);
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=adoptReplayGate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"adoptReplayGate.js","sourceRoot":"","sources":["../../src/utils/adoptReplayGate.ts"],"names":[],"mappings":";;;AAgBA,oDAiBC;AAjCD,8CAA6D;AAG7D;;;;GAIG;AACU,QAAA,wBAAwB,GAAG,MAAM,CAAC;AAE/C;;;;;GAKG;AACI,KAAK,UAAU,oBAAoB,CACxC,OAAgD,EAChD,GAAe,EACf,SAAS,GAAG,gCAAwB;IAEpC,IAAI,CAAC,OAAO,CAAC,iBAAiB;QAAE,OAAO;IACvC,IAAI,KAAiC,CAAC;IACtC,IAAI,OAAgC,CAAC;IACrC,IAAI,CAAC;QACH,OAAO,GAAG,MAAM,OAAO,CAAC,IAAI,CAAC;YAC3B,OAAO,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,UAAmB,CAAC;YAC9D,IAAI,OAAO,CAAa,CAAC,OAAO,EAAE,EAAE,GAAG,KAAK,GAAG,UAAU,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;SACpG,CAAC,CAAC;IACL,CAAC;YAAS,CAAC;QACT,YAAY,CAAC,KAAK,CAAC,CAAC;IACtB,CAAC;IACD,IAAI,OAAO,KAAK,UAAU;QAAE,OAAO,CAAC,IAAI,CAAC,WAAW,IAAA,wBAAW,EAAC,GAAG,CAAC,uDAAuD,SAAS,0CAA0C,CAAC,CAAC;AAClL,CAAC"}
|
|
@@ -20,8 +20,12 @@
|
|
|
20
20
|
* `IS_SANDBOX` lets Claude Code run `--dangerously-skip-permissions` as root,
|
|
21
21
|
* which the whole bot in a rootless Docker container is (the image sets it);
|
|
22
22
|
* without it every agent there refuses to start. It holds no secret.
|
|
23
|
+
* `XDG_CACHE_HOME` is a path: with it the agent and the bot (and the other agents) use ONE local cache —
|
|
24
|
+
* `charness remote-run` keeps its ssh control sockets, the last probe of each runner and its record of
|
|
25
|
+
* which project a job came from there; without it a tracker agent's cache followed `HOME` while the bot's
|
|
26
|
+
* did not, and what one wrote the other could not read.
|
|
23
27
|
*/
|
|
24
|
-
export declare const agentEnvironmentNames: readonly ["HOME", "PATH", "USER", "LOGNAME", "SHELL", "LANG", "LC_ALL", "LC_CTYPE", "TERM", "TMPDIR", "TZ", "IS_SANDBOX"];
|
|
28
|
+
export declare const agentEnvironmentNames: readonly ["HOME", "PATH", "USER", "LOGNAME", "SHELL", "LANG", "LC_ALL", "LC_CTYPE", "TERM", "TMPDIR", "TZ", "IS_SANDBOX", "XDG_CACHE_HOME"];
|
|
25
29
|
/** @description Remember which variables came from the instance's `ENV_FILE`: none of them reaches an agent. */
|
|
26
30
|
export declare function addEnvFileVariableNames(names: Iterable<string>): void;
|
|
27
31
|
/** @description Forget the recorded names — for tests only, so each case starts from a process that loaded no env file. */
|
|
@@ -29,7 +33,7 @@ export declare function resetEnvFileVariableNamesForTests(): void;
|
|
|
29
33
|
/**
|
|
30
34
|
* @description The allowlisted variables `env` holds, minus any the `ENV_FILE`
|
|
31
35
|
* set — an instance file that sets `PATH` leaves the agent on the shell's default
|
|
32
|
-
* search path rather than handing it a value from the file.
|
|
36
|
+
* search path rather than handing it a value from the file (`XDG_CACHE_HOME` excepted, see above).
|
|
33
37
|
*/
|
|
34
38
|
export declare function getAgentEnvironment(env?: NodeJS.ProcessEnv): Record<string, string>;
|
|
35
39
|
/** @description Set (or, with `null`, clear) the folder {@link addAgentBinDirToPath} puts first on the PATH. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agentEnvironment.d.ts","sourceRoot":"","sources":["../../src/utils/agentEnvironment.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH
|
|
1
|
+
{"version":3,"file":"agentEnvironment.d.ts","sourceRoot":"","sources":["../../src/utils/agentEnvironment.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,qBAAqB,6IAcxB,CAAC;AAYX,gHAAgH;AAChH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC,GAAG,IAAI,CAErE;AAED,2HAA2H;AAC3H,wBAAgB,iCAAiC,IAAI,IAAI,CAExD;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,GAAE,MAAM,CAAC,UAAwB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAOhG;AAQD,gHAAgH;AAChH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAE5D;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAGhG"}
|
|
@@ -62,6 +62,10 @@ const path = __importStar(require("path"));
|
|
|
62
62
|
* `IS_SANDBOX` lets Claude Code run `--dangerously-skip-permissions` as root,
|
|
63
63
|
* which the whole bot in a rootless Docker container is (the image sets it);
|
|
64
64
|
* without it every agent there refuses to start. It holds no secret.
|
|
65
|
+
* `XDG_CACHE_HOME` is a path: with it the agent and the bot (and the other agents) use ONE local cache —
|
|
66
|
+
* `charness remote-run` keeps its ssh control sockets, the last probe of each runner and its record of
|
|
67
|
+
* which project a job came from there; without it a tracker agent's cache followed `HOME` while the bot's
|
|
68
|
+
* did not, and what one wrote the other could not read.
|
|
65
69
|
*/
|
|
66
70
|
exports.agentEnvironmentNames = [
|
|
67
71
|
'HOME',
|
|
@@ -76,7 +80,14 @@ exports.agentEnvironmentNames = [
|
|
|
76
80
|
'TMPDIR',
|
|
77
81
|
'TZ',
|
|
78
82
|
'IS_SANDBOX',
|
|
83
|
+
'XDG_CACHE_HOME',
|
|
79
84
|
];
|
|
85
|
+
/**
|
|
86
|
+
* Allowlisted names that reach the agent even when the instance's `ENV_FILE` set them: a PATH or TZ from that file is the instance's own
|
|
87
|
+
* business, but `XDG_CACHE_HOME` is a path the BOT then follows too — and the agent must follow the bot, or the two keep separate
|
|
88
|
+
* `charness remote-run` caches (probes, ssh connections, job records) and cannot read each other's. It holds no secret.
|
|
89
|
+
*/
|
|
90
|
+
const namesPassedEvenFromEnvFile = new Set(['XDG_CACHE_HOME']);
|
|
80
91
|
/** Names the instance's `ENV_FILE` set — recorded by the env loader on every load (the hot worker loads it again). */
|
|
81
92
|
const envFileVariableNames = new Set();
|
|
82
93
|
/** @description Remember which variables came from the instance's `ENV_FILE`: none of them reaches an agent. */
|
|
@@ -91,13 +102,13 @@ function resetEnvFileVariableNamesForTests() {
|
|
|
91
102
|
/**
|
|
92
103
|
* @description The allowlisted variables `env` holds, minus any the `ENV_FILE`
|
|
93
104
|
* set — an instance file that sets `PATH` leaves the agent on the shell's default
|
|
94
|
-
* search path rather than handing it a value from the file.
|
|
105
|
+
* search path rather than handing it a value from the file (`XDG_CACHE_HOME` excepted, see above).
|
|
95
106
|
*/
|
|
96
107
|
function getAgentEnvironment(env = process.env) {
|
|
97
108
|
const environment = {};
|
|
98
109
|
for (const name of exports.agentEnvironmentNames) {
|
|
99
110
|
const value = env[name];
|
|
100
|
-
if (value !== undefined && !envFileVariableNames.has(name))
|
|
111
|
+
if (value !== undefined && (!envFileVariableNames.has(name) || namesPassedEvenFromEnvFile.has(name)))
|
|
101
112
|
environment[name] = value;
|
|
102
113
|
}
|
|
103
114
|
return environment;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agentEnvironment.js","sourceRoot":"","sources":["../../src/utils/agentEnvironment.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"agentEnvironment.js","sourceRoot":"","sources":["../../src/utils/agentEnvironment.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyDA,0DAEC;AAGD,8EAEC;AAOD,kDAOC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