thinkpool-pair 0.7.282 → 0.7.283
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/cross-terminal.mjs +4 -2
- package/package.json +1 -1
package/cross-terminal.mjs
CHANGED
|
@@ -431,7 +431,7 @@ export const spawnDecision = ({ hop = 0, spawnTimes = [], now = 0, spawnedLive =
|
|
|
431
431
|
// host path, or mutable process object is copied into the preview.
|
|
432
432
|
const DISPATCH_ARG_KEYS = Object.freeze(['mode', 'model', 'name', 'provider', 'runtime', 'sliceType', 'task'])
|
|
433
433
|
const DISPATCH_MODES = new Set(['default', 'acceptEdits', 'bypassPermissions', 'plan'])
|
|
434
|
-
const DISPATCH_RUNTIMES = new Set(['claude', 'codex'])
|
|
434
|
+
const DISPATCH_RUNTIMES = new Set(['claude', 'codex', 'hermes'])
|
|
435
435
|
const DISPATCH_SLICES = new Set(['scaffold', 'feature', 'fix', 'review'])
|
|
436
436
|
const secretValue = /((?<![a-z0-9])sk-[a-z0-9_-]{8,}|(?<![a-z0-9])gsk_[a-z0-9_-]{8,}|(?<![a-z0-9])AIza[a-z0-9_-]{8,}|bearer\s+[a-z0-9._-]{8,})/ig
|
|
437
437
|
const hostPath = /(?:\/home\/|\/users\/|\/private\/|\/tmp\/|[a-z]:\\|\\\\)/ig
|
|
@@ -487,7 +487,9 @@ export function buildDispatchPreview ({ args, initiatorTerminalId, roomCode, bri
|
|
|
487
487
|
// durable resolution/delivery-attempt events.
|
|
488
488
|
const authority = Object.freeze({ initiatorTerminalId: String(initiatorTerminalId), roomCode: String(roomCode).toUpperCase(), bridgeAuthorityId: String(bridgeAuthorityId), localAuthorityId: String(localAuthorityId) })
|
|
489
489
|
const fingerprint = sha256({ authority, exactArgs, caps })
|
|
490
|
-
const provider = exactArgs.provider || (exactArgs.runtime === 'codex'
|
|
490
|
+
const provider = exactArgs.provider || (exactArgs.runtime === 'codex'
|
|
491
|
+
? 'OpenAI / Codex login'
|
|
492
|
+
: exactArgs.runtime === 'hermes' ? 'Hermes ACP profile' : 'Anthropic / host default')
|
|
491
493
|
const model = exactArgs.model || context.resolvedModel || 'runtime default'
|
|
492
494
|
const purpose = safeCopy(exactArgs.name || exactArgs.task?.split(/\r?\n/)[0] || 'Open one worker lane', 120)
|
|
493
495
|
return Object.freeze({
|