thinkpool-pair 0.7.304 → 0.7.305

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/flow-models.mjs +5 -0
  2. package/package.json +1 -1
package/flow-models.mjs CHANGED
@@ -12,6 +12,9 @@ const CLAUDE_TIERS = {
12
12
  const CODEX_SCAFFOLD = ['gpt-5.6-luna', 'gpt-5.4-mini', 'gpt-5.3-codex-spark']
13
13
  const CODEX_BALANCED = ['gpt-5.6-terra', 'gpt-5.4']
14
14
  const HERMES_REVIEW = ['nous:anthropic/claude-sonnet-4.6', 'nous:anthropic/claude-sonnet-4.5', 'nous:anthropic/claude-sonnet-4']
15
+ const HERMES_MODEL_ALIASES = Object.freeze({
16
+ fable: 'nous:anthropic/claude-fable-5',
17
+ })
15
18
 
16
19
  export function normalizeFlowRuntime(runtime, fallback = null) {
17
20
  if (runtime === 'claude' || runtime === 'codex' || runtime === 'hermes') return runtime
@@ -27,6 +30,8 @@ export function modelCatalogValues(catalog = []) {
27
30
  const exactHermesModelId = (value) => /^[A-Za-z0-9._-]+:[A-Za-z0-9._-]+\/[A-Za-z0-9._:/-]+$/.test(value)
28
31
 
29
32
  const expandHermesModelAlias = (value) => {
33
+ const named = HERMES_MODEL_ALIASES[value.toLowerCase()]
34
+ if (named) return named
30
35
  if (/^glm[-_.]/i.test(value)) return `nous:z-ai/${value.toLowerCase()}`
31
36
  const shorthand = value.match(/^([^:/]+):([^/]+)$/)
32
37
  if (!shorthand) return value
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "thinkpool-pair",
3
- "version": "0.7.304",
3
+ "version": "0.7.305",
4
4
  "description": "Share a local coding-agent CLI (Claude Code, Codex, Gemini, Aider, …) into a ThinkPool Code room, live.",
5
5
  "type": "module",
6
6
  "bin": {