impel-cli 0.18.11-beta.0 → 0.18.11

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/package.json +1 -1
  2. package/src/cliProfiles.js +11 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impel-cli",
3
- "version": "0.18.11-beta.0",
3
+ "version": "0.18.11",
4
4
  "description": "Prepare isolated Claude and Codex workspaces for every accessible Impel tenant",
5
5
  "type": "module",
6
6
  "bin": {
@@ -37,10 +37,15 @@ const IMPEL_SPECIALIST_CODEX_APPROVAL_TOOLS = [
37
37
  "impel_specialists-start_specialist_run",
38
38
  ];
39
39
 
40
- // API-backed Claude profiles need the Fable family registered explicitly for
41
- // it to appear in /model. Opus remains the initial selection; later choices
42
- // made by the user remain authoritative.
40
+ // Claude Code's built-in aliases follow Anthropic's moving native IDs. The
41
+ // Impel gateway deliberately exposes an exact, reviewed model registry, so pin
42
+ // every family alias to that registry instead of allowing a client upgrade to
43
+ // select an unregistered dated ID. Opus remains the initial selection; later
44
+ // choices made by the user remain authoritative.
43
45
  export const IMPEL_DEFAULT_CLAUDE_MODEL = "opus[1m]";
46
+ export const IMPEL_OPUS_MODEL = "claude-opus-5";
47
+ export const IMPEL_SONNET_MODEL = "claude-sonnet-5";
48
+ export const IMPEL_HAIKU_MODEL = "claude-haiku-4-5";
44
49
  export const IMPEL_FABLE_MODEL = "claude-fable-5";
45
50
 
46
51
  function ensurePrivateDirectory(directory) {
@@ -107,6 +112,9 @@ export function ensureImpelClaudeProfile(gatewayUrl, tenantId, { crossAppModels
107
112
  ANTHROPIC_BASE_URL: crossAppModels
108
113
  ? impelCrossAppClaudeBaseUrl(gatewayUrl)
109
114
  : impelClaudeBaseUrl(gatewayUrl),
115
+ ANTHROPIC_DEFAULT_OPUS_MODEL: IMPEL_OPUS_MODEL,
116
+ ANTHROPIC_DEFAULT_SONNET_MODEL: IMPEL_SONNET_MODEL,
117
+ ANTHROPIC_DEFAULT_HAIKU_MODEL: IMPEL_HAIKU_MODEL,
110
118
  ANTHROPIC_DEFAULT_FABLE_MODEL: IMPEL_FABLE_MODEL,
111
119
  ANTHROPIC_DEFAULT_FABLE_MODEL_NAME: "Fable",
112
120
  ANTHROPIC_DEFAULT_FABLE_MODEL_DESCRIPTION: