claudish 14.22.0 → 14.22.1

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/dist/index.js CHANGED
@@ -5508,7 +5508,7 @@ var init_env_placeholder = __esm(() => {
5508
5508
  });
5509
5509
 
5510
5510
  // src/version.ts
5511
- var VERSION = "14.22.0";
5511
+ var VERSION = "14.22.1";
5512
5512
 
5513
5513
  // src/redact.ts
5514
5514
  function isPlaceholder(value) {
@@ -12545,6 +12545,128 @@ var init_bundled_recommended_list = __esm(() => {
12545
12545
  ]
12546
12546
  }
12547
12547
  },
12548
+ "gemini-4-hydrogen": {
12549
+ code_review: {
12550
+ basis: "owner_choice",
12551
+ effort: "medium",
12552
+ sendableOn: [
12553
+ {
12554
+ encoding: "model_id_switch",
12555
+ externalModelId: "gemini-4-hydrogen",
12556
+ routeId: "google",
12557
+ routeProfileId: "antigravity-subscription"
12558
+ }
12559
+ ]
12560
+ },
12561
+ debugging: {
12562
+ basis: "owner_choice",
12563
+ effort: "high",
12564
+ sendableOn: [
12565
+ {
12566
+ encoding: "model_id_switch",
12567
+ externalModelId: "gemini-4-hydrogen",
12568
+ routeId: "google",
12569
+ routeProfileId: "antigravity-subscription"
12570
+ }
12571
+ ]
12572
+ },
12573
+ frontend_ui: {
12574
+ basis: "owner_choice",
12575
+ effort: "high",
12576
+ sendableOn: [
12577
+ {
12578
+ encoding: "model_id_switch",
12579
+ externalModelId: "gemini-4-hydrogen",
12580
+ routeId: "google",
12581
+ routeProfileId: "antigravity-subscription"
12582
+ }
12583
+ ]
12584
+ },
12585
+ implementation: {
12586
+ basis: "vendor_guidance",
12587
+ effort: "medium",
12588
+ sendableOn: [
12589
+ {
12590
+ encoding: "model_id_switch",
12591
+ externalModelId: "gemini-4-hydrogen",
12592
+ routeId: "google",
12593
+ routeProfileId: "antigravity-subscription"
12594
+ }
12595
+ ]
12596
+ },
12597
+ long_context: {
12598
+ basis: "owner_choice",
12599
+ effort: "medium",
12600
+ sendableOn: [
12601
+ {
12602
+ encoding: "model_id_switch",
12603
+ externalModelId: "gemini-4-hydrogen",
12604
+ routeId: "google",
12605
+ routeProfileId: "antigravity-subscription"
12606
+ }
12607
+ ]
12608
+ },
12609
+ planning: {
12610
+ basis: "owner_choice",
12611
+ effort: "medium",
12612
+ sendableOn: [
12613
+ {
12614
+ encoding: "model_id_switch",
12615
+ externalModelId: "gemini-4-hydrogen",
12616
+ routeId: "google",
12617
+ routeProfileId: "antigravity-subscription"
12618
+ }
12619
+ ]
12620
+ },
12621
+ quick_edit: {
12622
+ basis: "vendor_guidance",
12623
+ effort: "low",
12624
+ sendableOn: [
12625
+ {
12626
+ encoding: "model_id_switch",
12627
+ externalModelId: "gemini-4-hydrogen",
12628
+ routeId: "google",
12629
+ routeProfileId: "antigravity-subscription"
12630
+ }
12631
+ ]
12632
+ },
12633
+ research: {
12634
+ basis: "owner_choice",
12635
+ effort: "medium",
12636
+ sendableOn: [
12637
+ {
12638
+ encoding: "model_id_switch",
12639
+ externalModelId: "gemini-4-hydrogen",
12640
+ routeId: "google",
12641
+ routeProfileId: "antigravity-subscription"
12642
+ }
12643
+ ]
12644
+ },
12645
+ terminal_ops: {
12646
+ basis: "owner_choice",
12647
+ effort: "medium",
12648
+ sendableOn: [
12649
+ {
12650
+ encoding: "model_id_switch",
12651
+ externalModelId: "gemini-4-hydrogen",
12652
+ routeId: "google",
12653
+ routeProfileId: "antigravity-subscription"
12654
+ }
12655
+ ]
12656
+ },
12657
+ tool_automation: {
12658
+ basis: "vendor_guidance",
12659
+ effort: "medium",
12660
+ sendableOn: [
12661
+ {
12662
+ encoding: "model_id_switch",
12663
+ externalModelId: "gemini-4-hydrogen",
12664
+ routeId: "google",
12665
+ routeProfileId: "antigravity-subscription"
12666
+ }
12667
+ ]
12668
+ }
12669
+ },
12548
12670
  "glm-5.3": {
12549
12671
  code_review: {
12550
12672
  basis: "owner_choice",
@@ -13970,7 +14092,7 @@ var init_bundled_recommended_list = __esm(() => {
13970
14092
  }
13971
14093
  }
13972
14094
  },
13973
- fetchedAt: "2026-11-13T14:24:41.274Z",
14095
+ fetchedAt: "2026-11-13T21:33:25.499Z",
13974
14096
  format: 1,
13975
14097
  recommendations: {
13976
14098
  contractVersion: 3,
@@ -13984,7 +14106,7 @@ var init_bundled_recommended_list = __esm(() => {
13984
14106
  tier: "flagship"
13985
14107
  },
13986
14108
  {
13987
- modelId: "gemini-4-argon",
14109
+ modelId: "gemini-4-hydrogen",
13988
14110
  tier: "flagship"
13989
14111
  },
13990
14112
  {
@@ -14072,11 +14194,11 @@ var init_bundled_recommended_list = __esm(() => {
14072
14194
  tier: "luxury"
14073
14195
  }
14074
14196
  ],
14075
- generationId: "g-20261112195224186-062fe295"
14197
+ generationId: "g-20261113212335409-2e2b419f"
14076
14198
  },
14077
14199
  source: "https://us-central1-claudish-6da10.cloudfunctions.net"
14078
14200
  },
14079
- catalogGenerationId: "g-20261112195224186-062fe295",
14201
+ catalogGenerationId: "g-20261113212335409-2e2b419f",
14080
14202
  entries: [
14081
14203
  {
14082
14204
  aggregators: [
@@ -14843,9 +14965,9 @@ var init_bundled_recommended_list = __esm(() => {
14843
14965
  aliases: [
14844
14966
  "anthropic/claude-sonnet-5.5",
14845
14967
  "claude-sonnet-5.5",
14846
- "claude-sonnet-5-5-medium",
14847
- "claude-sonnet-5-5-high",
14848
14968
  "claude-sonnet-5-5-low",
14969
+ "claude-sonnet-5-5-high",
14970
+ "claude-sonnet-5-5-medium",
14849
14971
  "claude-sonnet-5-5-max",
14850
14972
  "claude-sonnet-5-5-xhigh"
14851
14973
  ],
@@ -15119,8 +15241,8 @@ var init_bundled_recommended_list = __esm(() => {
15119
15241
  aliases: [
15120
15242
  "google/gemini-3.8-flash",
15121
15243
  "gemini-3.8-flash-medium",
15122
- "gemini-3.8-flash-low",
15123
15244
  "gemini-3.8-flash-high",
15245
+ "gemini-3.8-flash-low",
15124
15246
  "gemini-3-8-flash-high",
15125
15247
  "gemini-3-8-flash-low",
15126
15248
  "gemini-3-8-flash-medium"
@@ -15242,9 +15364,9 @@ var init_bundled_recommended_list = __esm(() => {
15242
15364
  ],
15243
15365
  aliases: [
15244
15366
  "google/gemini-4-argon",
15245
- "gemini-4-argon-low",
15367
+ "gemini-4-argon-high",
15246
15368
  "gemini-4-argon-medium",
15247
- "gemini-4-argon-high"
15369
+ "gemini-4-argon-low"
15248
15370
  ],
15249
15371
  contextWindow: 1048576,
15250
15372
  contractVersion: 3,
@@ -15291,6 +15413,124 @@ var init_bundled_recommended_list = __esm(() => {
15291
15413
  videoInput: true,
15292
15414
  videoOutput: false
15293
15415
  },
15416
+ {
15417
+ aggregators: [
15418
+ {
15419
+ externalModelId: "gemini-4-hydrogen",
15420
+ limits: {
15421
+ contextWindow: 1048576,
15422
+ maxOutputTokens: 262144
15423
+ },
15424
+ modelIdEffort: {
15425
+ baseServed: false,
15426
+ default: {
15427
+ status: "unknown"
15428
+ },
15429
+ values: {
15430
+ high: "gemini-4-hydrogen-high",
15431
+ low: "gemini-4-hydrogen-low",
15432
+ medium: "gemini-4-hydrogen-medium",
15433
+ xhigh: "gemini-4-hydrogen-xhigh"
15434
+ },
15435
+ via: "model_id"
15436
+ },
15437
+ reasoning: {
15438
+ request: {
15439
+ status: "unknown"
15440
+ }
15441
+ },
15442
+ route: {
15443
+ routeId: "google",
15444
+ routeProfileId: "antigravity-subscription"
15445
+ },
15446
+ routeStatus: "mapped",
15447
+ sourceProviderId: "antigravity",
15448
+ wire: {
15449
+ evidence: [],
15450
+ status: "unknown"
15451
+ }
15452
+ },
15453
+ {
15454
+ externalModelId: "gemini-4-hydrogen",
15455
+ pricing: {
15456
+ input: 1.5,
15457
+ output: 7.5,
15458
+ type: "flat"
15459
+ },
15460
+ reasoning: {
15461
+ request: {
15462
+ status: "unknown"
15463
+ }
15464
+ },
15465
+ route: {
15466
+ routeId: "google",
15467
+ routeProfileId: "direct-api"
15468
+ },
15469
+ routeStatus: "mapped",
15470
+ sourceProviderId: "google",
15471
+ wire: {
15472
+ api: "gemini",
15473
+ evidence: [],
15474
+ reasoning: {
15475
+ status: "unknown"
15476
+ },
15477
+ speed: {
15478
+ status: "unknown"
15479
+ },
15480
+ status: "known",
15481
+ tokenParam: {
15482
+ status: "not_applicable"
15483
+ },
15484
+ toolsWithReasoning: {
15485
+ status: "unknown"
15486
+ }
15487
+ }
15488
+ }
15489
+ ],
15490
+ aliases: [
15491
+ "google/gemini-4-hydrogen",
15492
+ "gemini-4-hydrogen-low",
15493
+ "gemini-4-hydrogen-high",
15494
+ "gemini-4-hydrogen-xhigh",
15495
+ "gemini-4-hydrogen-medium"
15496
+ ],
15497
+ contextWindow: 1048576,
15498
+ contractVersion: 3,
15499
+ displayName: "Gemini 4 Hydrogen",
15500
+ endpoints: {
15501
+ gemini: {
15502
+ api: "gemini"
15503
+ }
15504
+ },
15505
+ maxOutputTokens: 65536,
15506
+ modelId: "gemini-4-hydrogen",
15507
+ outputModalities: [
15508
+ "text"
15509
+ ],
15510
+ provider: "google",
15511
+ reasoning: {
15512
+ control: "effort",
15513
+ defaultEffort: "medium",
15514
+ efforts: [
15515
+ "xhigh",
15516
+ "high",
15517
+ "medium",
15518
+ "low"
15519
+ ],
15520
+ mandatory: true,
15521
+ supported: true
15522
+ },
15523
+ releaseDate: "2026-11-12",
15524
+ status: "active",
15525
+ subscriptionPlanIds: [
15526
+ "google-antigravity",
15527
+ "llm-gateway-devpass"
15528
+ ],
15529
+ supportsTools: true,
15530
+ supportsVision: true,
15531
+ videoInput: true,
15532
+ videoOutput: false
15533
+ },
15294
15534
  {
15295
15535
  aggregators: [
15296
15536
  {
@@ -15870,7 +16110,7 @@ var init_bundled_recommended_list = __esm(() => {
15870
16110
  ],
15871
16111
  contextWindow: 1050000,
15872
16112
  contractVersion: 3,
15873
- displayName: "GPT-6-Astra",
16113
+ displayName: "GPT-6 Astra",
15874
16114
  endpoints: {
15875
16115
  openai: {
15876
16116
  api: "responses",
@@ -16387,7 +16627,7 @@ var init_bundled_recommended_list = __esm(() => {
16387
16627
  ],
16388
16628
  contextWindow: 1050000,
16389
16629
  contractVersion: 3,
16390
- displayName: "GPT-6.1-Sol",
16630
+ displayName: "GPT-6.1 Sol",
16391
16631
  endpoints: {
16392
16632
  openai: {
16393
16633
  api: "responses",
@@ -17630,7 +17870,7 @@ var init_bundled_recommended_list = __esm(() => {
17630
17870
  status: "unknown"
17631
17871
  },
17632
17872
  speed: {
17633
- status: "unknown"
17873
+ status: "not_applicable"
17634
17874
  },
17635
17875
  status: "known",
17636
17876
  tokenParam: {
@@ -17646,13 +17886,7 @@ var init_bundled_recommended_list = __esm(() => {
17646
17886
  modelId: "qwen4-max-preview",
17647
17887
  provider: "qwen",
17648
17888
  reasoning: {
17649
- control: "effort",
17650
- defaultEffort: "xhigh",
17651
- efforts: [
17652
- "xhigh",
17653
- "medium",
17654
- "low"
17655
- ],
17889
+ control: "toggle",
17656
17890
  mandatory: false,
17657
17891
  supported: true
17658
17892
  },
@@ -17664,7 +17898,7 @@ var init_bundled_recommended_list = __esm(() => {
17664
17898
  supportsVision: true
17665
17899
  }
17666
17900
  ],
17667
- lastUpdated: "2026-11-12T19:52:24.186Z",
17901
+ lastUpdated: "2026-11-13T21:23:35.409Z",
17668
17902
  models: [],
17669
17903
  plans: [
17670
17904
  {
@@ -18395,14 +18629,34 @@ var init_bundled_recommended_list = __esm(() => {
18395
18629
  id: "google-antigravity",
18396
18630
  inclusions: [
18397
18631
  {
18398
- externalModelId: "claude-sonnet-5-5-medium",
18632
+ externalModelId: "gemini-4-hydrogen-low",
18633
+ kind: "provider_model",
18634
+ provider: "antigravity",
18635
+ resolution: {
18636
+ modelId: "gemini-4-hydrogen",
18637
+ status: "mapped"
18638
+ },
18639
+ sourceText: "gemini-4-hydrogen-low"
18640
+ },
18641
+ {
18642
+ externalModelId: "gemini-4-hydrogen-high",
18643
+ kind: "provider_model",
18644
+ provider: "antigravity",
18645
+ resolution: {
18646
+ modelId: "gemini-4-hydrogen",
18647
+ status: "mapped"
18648
+ },
18649
+ sourceText: "gemini-4-hydrogen-high"
18650
+ },
18651
+ {
18652
+ externalModelId: "claude-sonnet-5-5-low",
18399
18653
  kind: "provider_model",
18400
18654
  provider: "antigravity",
18401
18655
  resolution: {
18402
18656
  modelId: "claude-sonnet-5-5",
18403
18657
  status: "mapped"
18404
18658
  },
18405
- sourceText: "claude-sonnet-5-5-medium"
18659
+ sourceText: "claude-sonnet-5-5-low"
18406
18660
  },
18407
18661
  {
18408
18662
  externalModelId: "claude-opus-5-5-medium",
@@ -18414,6 +18668,16 @@ var init_bundled_recommended_list = __esm(() => {
18414
18668
  },
18415
18669
  sourceText: "claude-opus-5-5-medium"
18416
18670
  },
18671
+ {
18672
+ externalModelId: "claude-sonnet-5-5-high",
18673
+ kind: "provider_model",
18674
+ provider: "antigravity",
18675
+ resolution: {
18676
+ modelId: "claude-sonnet-5-5",
18677
+ status: "mapped"
18678
+ },
18679
+ sourceText: "claude-sonnet-5-5-high"
18680
+ },
18417
18681
  {
18418
18682
  externalModelId: "claude-opus-5-5-high",
18419
18683
  kind: "provider_model",
@@ -18424,6 +18688,16 @@ var init_bundled_recommended_list = __esm(() => {
18424
18688
  },
18425
18689
  sourceText: "claude-opus-5-5-high"
18426
18690
  },
18691
+ {
18692
+ externalModelId: "claude-opus-5-5-low",
18693
+ kind: "provider_model",
18694
+ provider: "antigravity",
18695
+ resolution: {
18696
+ modelId: "claude-opus-5-5",
18697
+ status: "mapped"
18698
+ },
18699
+ sourceText: "claude-opus-5-5-low"
18700
+ },
18427
18701
  {
18428
18702
  externalModelId: "gemini-3.8-flash-medium",
18429
18703
  kind: "provider_model",
@@ -18435,84 +18709,84 @@ var init_bundled_recommended_list = __esm(() => {
18435
18709
  sourceText: "gemini-3.8-flash-medium"
18436
18710
  },
18437
18711
  {
18438
- externalModelId: "gemini-4-argon-low",
18712
+ externalModelId: "gemini-4-argon-high",
18439
18713
  kind: "provider_model",
18440
18714
  provider: "antigravity",
18441
18715
  resolution: {
18442
18716
  modelId: "gemini-4-argon",
18443
18717
  status: "mapped"
18444
18718
  },
18445
- sourceText: "gemini-4-argon-low"
18719
+ sourceText: "gemini-4-argon-high"
18446
18720
  },
18447
18721
  {
18448
- externalModelId: "gemini-3.8-flash-low",
18722
+ externalModelId: "gemini-4-argon-medium",
18449
18723
  kind: "provider_model",
18450
18724
  provider: "antigravity",
18451
18725
  resolution: {
18452
- modelId: "gemini-3.8-flash",
18726
+ modelId: "gemini-4-argon",
18453
18727
  status: "mapped"
18454
18728
  },
18455
- sourceText: "gemini-3.8-flash-low"
18729
+ sourceText: "gemini-4-argon-medium"
18456
18730
  },
18457
18731
  {
18458
- externalModelId: "claude-sonnet-5-5-high",
18732
+ externalModelId: "claude-sonnet-5-5-medium",
18459
18733
  kind: "provider_model",
18460
18734
  provider: "antigravity",
18461
18735
  resolution: {
18462
18736
  modelId: "claude-sonnet-5-5",
18463
18737
  status: "mapped"
18464
18738
  },
18465
- sourceText: "claude-sonnet-5-5-high"
18739
+ sourceText: "claude-sonnet-5-5-medium"
18466
18740
  },
18467
18741
  {
18468
- externalModelId: "gemini-4-argon-medium",
18742
+ externalModelId: "gemini-4-hydrogen-xhigh",
18469
18743
  kind: "provider_model",
18470
18744
  provider: "antigravity",
18471
18745
  resolution: {
18472
- modelId: "gemini-4-argon",
18746
+ modelId: "gemini-4-hydrogen",
18473
18747
  status: "mapped"
18474
18748
  },
18475
- sourceText: "gemini-4-argon-medium"
18749
+ sourceText: "gemini-4-hydrogen-xhigh"
18476
18750
  },
18477
18751
  {
18478
- externalModelId: "gemini-4-argon-high",
18752
+ externalModelId: "gemini-3.8-flash-high",
18479
18753
  kind: "provider_model",
18480
18754
  provider: "antigravity",
18481
18755
  resolution: {
18482
- modelId: "gemini-4-argon",
18756
+ modelId: "gemini-3.8-flash",
18483
18757
  status: "mapped"
18484
18758
  },
18485
- sourceText: "gemini-4-argon-high"
18759
+ sourceText: "gemini-3.8-flash-high"
18486
18760
  },
18487
18761
  {
18488
- externalModelId: "gemini-3.8-flash-high",
18762
+ externalModelId: "gemini-4-argon-low",
18489
18763
  kind: "provider_model",
18490
18764
  provider: "antigravity",
18491
18765
  resolution: {
18492
- modelId: "gemini-3.8-flash",
18766
+ modelId: "gemini-4-argon",
18493
18767
  status: "mapped"
18494
18768
  },
18495
- sourceText: "gemini-3.8-flash-high"
18769
+ sourceText: "gemini-4-argon-low"
18496
18770
  },
18497
18771
  {
18498
- externalModelId: "claude-opus-5-5-low",
18772
+ externalModelId: "gemini-3.8-flash-low",
18499
18773
  kind: "provider_model",
18500
18774
  provider: "antigravity",
18501
18775
  resolution: {
18502
- modelId: "claude-opus-5-5",
18776
+ modelId: "gemini-3.8-flash",
18503
18777
  status: "mapped"
18504
18778
  },
18505
- sourceText: "claude-opus-5-5-low"
18779
+ sourceText: "gemini-3.8-flash-low"
18506
18780
  },
18507
18781
  {
18508
- externalModelId: "claude-sonnet-5-5-low",
18782
+ externalModelId: "gemini-4-hydrogen-medium",
18509
18783
  kind: "provider_model",
18510
18784
  provider: "antigravity",
18511
18785
  resolution: {
18512
- modelId: "claude-sonnet-5-5",
18786
+ modelId: "gemini-4-hydrogen",
18513
18787
  status: "mapped"
18514
18788
  },
18515
- sourceText: "claude-sonnet-5-5-low"
18789
+ sourceText: "gemini-4-hydrogen-medium"
18516
18790
  }
18517
18791
  ],
18518
18792
  modelDiscovery: "client",
@@ -18640,6 +18914,16 @@ var init_bundled_recommended_list = __esm(() => {
18640
18914
  },
18641
18915
  sourceText: "gemini-4-argon"
18642
18916
  },
18917
+ {
18918
+ externalModelId: "gemini-4-hydrogen",
18919
+ kind: "provider_model",
18920
+ provider: "llmgateway",
18921
+ resolution: {
18922
+ modelId: "gemini-4-hydrogen",
18923
+ status: "mapped"
18924
+ },
18925
+ sourceText: "gemini-4-hydrogen"
18926
+ },
18643
18927
  {
18644
18928
  externalModelId: "mimo-v2.6-pro",
18645
18929
  kind: "provider_model",
@@ -18826,74 +19110,74 @@ var init_bundled_recommended_list = __esm(() => {
18826
19110
  id: "ollama-cloud",
18827
19111
  inclusions: [
18828
19112
  {
18829
- externalModelId: "deepseek-v4.1-flash",
19113
+ externalModelId: "kimi-k3.1-pro",
18830
19114
  kind: "provider_model",
18831
19115
  provider: "ollamacloud",
18832
19116
  resolution: {
18833
- modelId: "deepseek-v4.1-flash",
19117
+ modelId: "kimi-k3.1-pro",
18834
19118
  status: "mapped"
18835
19119
  },
18836
- sourceText: "deepseek-v4.1-flash"
19120
+ sourceText: "kimi-k3.1-pro"
18837
19121
  },
18838
19122
  {
18839
- externalModelId: "mimo-v2.6-pro",
19123
+ externalModelId: "glm-5.3-flash",
18840
19124
  kind: "provider_model",
18841
19125
  provider: "ollamacloud",
18842
19126
  resolution: {
18843
- modelId: "mimo-v2.6-pro",
19127
+ modelId: "glm-5.3-flash",
18844
19128
  status: "mapped"
18845
19129
  },
18846
- sourceText: "mimo-v2.6-pro"
19130
+ sourceText: "glm-5.3-flash"
18847
19131
  },
18848
19132
  {
18849
- externalModelId: "mimo-v2.6-flash",
19133
+ externalModelId: "mimo-v2.6-pro",
18850
19134
  kind: "provider_model",
18851
19135
  provider: "ollamacloud",
18852
19136
  resolution: {
18853
- modelId: "mimo-v2.6-flash",
19137
+ modelId: "mimo-v2.6-pro",
18854
19138
  status: "mapped"
18855
19139
  },
18856
- sourceText: "mimo-v2.6-flash"
19140
+ sourceText: "mimo-v2.6-pro"
18857
19141
  },
18858
19142
  {
18859
- externalModelId: "glm-5.3-flash",
19143
+ externalModelId: "glm-5.3",
18860
19144
  kind: "provider_model",
18861
19145
  provider: "ollamacloud",
18862
19146
  resolution: {
18863
- modelId: "glm-5.3-flash",
19147
+ modelId: "glm-5.3",
18864
19148
  status: "mapped"
18865
19149
  },
18866
- sourceText: "glm-5.3-flash"
19150
+ sourceText: "glm-5.3"
18867
19151
  },
18868
19152
  {
18869
- externalModelId: "kimi-k3.1-pro",
19153
+ externalModelId: "minimax-m3.1-flash",
18870
19154
  kind: "provider_model",
18871
19155
  provider: "ollamacloud",
18872
19156
  resolution: {
18873
- modelId: "kimi-k3.1-pro",
19157
+ modelId: "minimax-m3.1-flash",
18874
19158
  status: "mapped"
18875
19159
  },
18876
- sourceText: "kimi-k3.1-pro"
19160
+ sourceText: "minimax-m3.1-flash"
18877
19161
  },
18878
19162
  {
18879
- externalModelId: "minimax-m3.1-flash",
19163
+ externalModelId: "deepseek-v4.1-flash",
18880
19164
  kind: "provider_model",
18881
19165
  provider: "ollamacloud",
18882
19166
  resolution: {
18883
- modelId: "minimax-m3.1-flash",
19167
+ modelId: "deepseek-v4.1-flash",
18884
19168
  status: "mapped"
18885
19169
  },
18886
- sourceText: "minimax-m3.1-flash"
19170
+ sourceText: "deepseek-v4.1-flash"
18887
19171
  },
18888
19172
  {
18889
- externalModelId: "glm-5.3",
19173
+ externalModelId: "mimo-v2.6-flash",
18890
19174
  kind: "provider_model",
18891
19175
  provider: "ollamacloud",
18892
19176
  resolution: {
18893
- modelId: "glm-5.3",
19177
+ modelId: "mimo-v2.6-flash",
18894
19178
  status: "mapped"
18895
19179
  },
18896
- sourceText: "glm-5.3"
19180
+ sourceText: "mimo-v2.6-flash"
18897
19181
  }
18898
19182
  ],
18899
19183
  modelDiscovery: "catalog",
@@ -19138,7 +19422,7 @@ var init_bundled_recommended_list = __esm(() => {
19138
19422
  }
19139
19423
  ],
19140
19424
  routeRegistry: {
19141
- generationId: "g-20261112195224186-062fe295",
19425
+ generationId: "g-20261113212335409-2e2b419f",
19142
19426
  registry: {
19143
19427
  contractVersion: 3,
19144
19428
  registryVersion: "3.7.0",
@@ -110747,26 +111031,12 @@ import { randomBytes as randomBytes15 } from "crypto";
110747
111031
  function ownerOf(caller) {
110748
111032
  return caller.kind === "mcp" ? "mcp" : caller.connId;
110749
111033
  }
110750
- function ttlOf(ownerRole) {
110751
- return ownerRole === "viewer" ? VIEWER_CLAIM_TTL_MS : CLAUDE_CODE_CLAIM_TTL_MS;
110752
- }
110753
- function terminalLabel(termProgram) {
110754
- const clean = (termProgram ?? "").replace(/[^A-Za-z0-9 ._-]/g, "").slice(0, TERM_PROGRAM_MAX_CHARS).trim();
110755
- return clean || "a terminal";
110756
- }
110757
111034
  function holderOfCaller(caller) {
110758
111035
  if (caller.kind === "mcp")
110759
111036
  return { holder: "claude_code", label: "Claude Code", ownerRole: "mcp" };
110760
111037
  if (caller.role === "peer")
110761
111038
  return { holder: "claude_code", label: "Claude Code", ownerRole: "peer" };
110762
- const frontEnd = caller.frontEnd ?? "none";
110763
- if (frontEnd === "herdr")
110764
- return { holder: "herdr", label: "herdr", ownerRole: "viewer" };
110765
- if (frontEnd === "herdr-core")
110766
- return { holder: "herdr_app", label: "Herdr.app", ownerRole: "viewer" };
110767
- if (frontEnd === "none")
110768
- return { holder: "terminal", label: terminalLabel(caller.termProgram), ownerRole: "viewer" };
110769
- throw new ViewError("forbidden", `unknown front end ${JSON.stringify(frontEnd)}`);
111039
+ throw new ViewError("forbidden", "a viewer only watches; Claude Code holds the view");
110770
111040
  }
110771
111041
  function toHolder(c) {
110772
111042
  return { holder: c.holder, label: c.label, since: c.since, claim_id: c.claimId };
@@ -110792,7 +111062,7 @@ class ViewClaims {
110792
111062
  claimId: same && cur ? cur.claimId : randomBytes15(8).toString("hex"),
110793
111063
  owner: by,
110794
111064
  since: same && cur ? cur.since : new Date(now).toISOString(),
110795
- expiresAt: now + ttlOf(who.ownerRole)
111065
+ expiresAt: now + CLAUDE_CODE_CLAIM_TTL_MS
110796
111066
  };
110797
111067
  this.claims.set(target, next);
110798
111068
  this.schedule();
@@ -110800,14 +111070,6 @@ class ViewClaims {
110800
111070
  this.notify(target);
110801
111071
  return toHolder(next);
110802
111072
  }
110803
- renew(target, caller) {
110804
- const cur = this.live(target);
110805
- if (!cur || cur.owner !== ownerOf(caller))
110806
- throw new ViewError("view_not_held", `this client does not hold the view of ${target}`);
110807
- cur.expiresAt = this.now() + ttlOf(cur.ownerRole);
110808
- this.schedule();
110809
- return toHolder(cur);
110810
- }
110811
111073
  renewFromCapture(target, caller) {
110812
111074
  if (caller.kind === "conn" && caller.role !== "peer")
110813
111075
  return;
@@ -110817,12 +111079,6 @@ class ViewClaims {
110817
111079
  cur.expiresAt = this.now() + CLAUDE_CODE_CLAIM_TTL_MS;
110818
111080
  this.schedule();
110819
111081
  }
110820
- release(target, caller) {
110821
- const cur = this.live(target);
110822
- if (cur && cur.owner === ownerOf(caller))
110823
- this.drop(target);
110824
- return this.holder(target);
110825
- }
110826
111082
  releaseConnection(connId) {
110827
111083
  for (const [target, c] of [...this.claims])
110828
111084
  if (c.owner === connId && c.expiresAt > this.now())
@@ -110887,7 +111143,7 @@ class ViewClaims {
110887
111143
  this.notify(target);
110888
111144
  }
110889
111145
  }
110890
- var VIEWER_CLAIM_TTL_MS = 15000, CLAUDE_CODE_CLAIM_TTL_MS = 1e4, TERM_PROGRAM_MAX_CHARS = 24, MCP_CALLER;
111146
+ var CLAUDE_CODE_CLAIM_TTL_MS = 1e4, MCP_CALLER;
110891
111147
  var init_view_claims = __esm(() => {
110892
111148
  init_view_contract();
110893
111149
  MCP_CALLER = { kind: "mcp" };
@@ -120048,8 +120304,8 @@ class PeerLink {
120048
120304
  spans
120049
120305
  });
120050
120306
  }
120051
- claim(replayId, cols, rows) {
120052
- return this.client.request("claim", { target: targetOfReplay(replayId), cols, rows }, 15000);
120307
+ resize(replayId, cols, rows) {
120308
+ return this.client.request("replay.resize", { replay_id: replayId, cols, rows }, 15000);
120053
120309
  }
120054
120310
  scroll(replayId, req) {
120055
120311
  const how = "by" in req ? { by: req.by } : { to: "bottom" };
@@ -120796,7 +121052,7 @@ class ReplayManager {
120796
121052
  async resizeRemote(entry, cols, rows) {
120797
121053
  if (entry.finishedAt === null) {
120798
121054
  try {
120799
- const r = await entry.link.claim(entry.replayId, cols, rows);
121055
+ const r = await entry.link.resize(entry.replayId, cols, rows);
120800
121056
  if (r.view?.holder === "claude_code")
120801
121057
  entry.lastClaimId = r.view.claim_id;
120802
121058
  const resize = r.resize;
@@ -122047,8 +122303,6 @@ class ViewServer {
122047
122303
  id: `conn-${this.nextConn++}`,
122048
122304
  sock,
122049
122305
  role: "viewer",
122050
- frontEnd: undefined,
122051
- termProgram: undefined,
122052
122306
  greeted: false,
122053
122307
  subs: new Map,
122054
122308
  inbound: "",
@@ -122157,6 +122411,8 @@ class ViewServer {
122157
122411
  return this.replayScroll(conn, args);
122158
122412
  case "replay.close":
122159
122413
  return this.replayClose(conn, args);
122414
+ case "replay.resize":
122415
+ return this.replayResize(conn, args);
122160
122416
  case "hello":
122161
122417
  return this.hello(conn, args);
122162
122418
  case "list":
@@ -122175,14 +122431,6 @@ class ViewServer {
122175
122431
  return {
122176
122432
  result: this.o.directory.transcript(stringArg(args, "target"), args.since === undefined ? undefined : stringArg(args, "since"))
122177
122433
  };
122178
- case "claim":
122179
- return this.claim(conn, args);
122180
- case "renew":
122181
- return this.renew(conn, args);
122182
- case "release":
122183
- return this.release(conn, args);
122184
- case "resize":
122185
- return this.resize(conn, args);
122186
122434
  default:
122187
122435
  throw new ViewError("unknown_op", `unknown op ${JSON.stringify(op)}`);
122188
122436
  }
@@ -122204,8 +122452,6 @@ class ViewServer {
122204
122452
  throw new ViewError("forbidden", "a peer must name another live server's endpoint");
122205
122453
  }
122206
122454
  conn.role = kind;
122207
- conn.frontEnd = frontEnd;
122208
- conn.termProgram = typeof client.term_program === "string" ? client.term_program : undefined;
122209
122455
  conn.greeted = true;
122210
122456
  return {
122211
122457
  result: {
@@ -122247,28 +122493,7 @@ class ViewServer {
122247
122493
  return {
122248
122494
  kind: "conn",
122249
122495
  connId: conn.id,
122250
- role: conn.role === "peer" ? "peer" : "viewer",
122251
- frontEnd: conn.frontEnd,
122252
- termProgram: conn.termProgram
122253
- };
122254
- }
122255
- assertCanClaim(conn) {
122256
- if (conn.role === "relay")
122257
- throw new ViewError("forbidden", "a relay cannot hold the view");
122258
- }
122259
- async claim(conn, args) {
122260
- this.assertCanClaim(conn);
122261
- const target = stringArg(args, "target");
122262
- const cols = integerArg(args, "cols");
122263
- const rows = integerArg(args, "rows");
122264
- const caller = this.callerOf(conn);
122265
- const resize = await this.o.directory.resize(target, cols, rows, caller);
122266
- return {
122267
- result: {
122268
- granted: this.o.claims.holds(target, caller),
122269
- view: this.o.claims.viewFor(target, caller),
122270
- resize
122271
- }
122496
+ role: conn.role === "peer" ? "peer" : "viewer"
122272
122497
  };
122273
122498
  }
122274
122499
  replayOps() {
@@ -122331,26 +122556,19 @@ class ViewServer {
122331
122556
  const ops = this.replayOps();
122332
122557
  return { result: await ops.closeBy(replayIdArg(args), this.replayOpener(conn)) };
122333
122558
  }
122334
- renew(conn, args) {
122335
- if (conn.role !== "viewer")
122336
- throw new ViewError("forbidden", "only a viewer renews a claim");
122337
- const view = this.o.claims.renew(stringArg(args, "target"), this.callerOf(conn));
122338
- return { result: { view } };
122339
- }
122340
- release(conn, args) {
122341
- this.assertCanClaim(conn);
122342
- const view = this.o.claims.release(stringArg(args, "target"), this.callerOf(conn));
122343
- return { result: { view } };
122344
- }
122345
- async resize(conn, args) {
122346
- this.assertCanClaim(conn);
122347
- const target = stringArg(args, "target");
122559
+ async replayResize(conn, args) {
122560
+ const target = targetOfReplay(replayIdArg(args));
122348
122561
  const cols = integerArg(args, "cols");
122349
122562
  const rows = integerArg(args, "rows");
122350
122563
  const caller = this.callerOf(conn);
122351
- if (!this.o.claims.holds(target, caller))
122352
- throw new ViewError("view_not_held", `this client does not hold the view of ${target}`);
122353
- return { result: await this.o.directory.resize(target, cols, rows, caller) };
122564
+ const resize = await this.o.directory.resize(target, cols, rows, caller);
122565
+ return {
122566
+ result: {
122567
+ granted: this.o.claims.holds(target, caller),
122568
+ view: this.o.claims.viewFor(target, caller),
122569
+ resize
122570
+ }
122571
+ };
122354
122572
  }
122355
122573
  publish(e) {
122356
122574
  for (const conn of this.connections) {
@@ -122435,7 +122653,11 @@ var init_view_server = __esm(() => {
122435
122653
  "run_prompt",
122436
122654
  "close_replay"
122437
122655
  ]);
122438
- PEER_ONLY_OPS = new Set(["replay.scroll", "replay.close"]);
122656
+ PEER_ONLY_OPS = new Set([
122657
+ "replay.scroll",
122658
+ "replay.close",
122659
+ "replay.resize"
122660
+ ]);
122439
122661
  CLIENT_KINDS = new Set(["viewer", "relay", "peer"]);
122440
122662
  FRONT_ENDS = new Set(["herdr", "herdr-core", "none"]);
122441
122663
  REPLAY_ID = /^replay-[0-9a-f]{16}$/;
@@ -126008,21 +126230,12 @@ class HerdrReporter {
126008
126230
  lastSeq = 0;
126009
126231
  lastState = null;
126010
126232
  lastMeta = null;
126011
- stopFocus = null;
126012
126233
  closing = null;
126013
126234
  now;
126014
126235
  constructor(o) {
126015
126236
  this.o = o;
126016
126237
  this.now = o.now ?? Date.now;
126017
126238
  }
126018
- attach(hooks) {
126019
- if (this.o.focusClaim === false || this.stopFocus)
126020
- return;
126021
- this.stopFocus = this.o.herdr.subscribe(["pane.focused"], (e) => {
126022
- if (e.event === "pane_focused" && e.data.pane_id === this.o.paneId)
126023
- hooks.take();
126024
- }, () => {});
126025
- }
126026
126239
  report(state) {
126027
126240
  const item = state.item;
126028
126241
  if (!item || this.closing)
@@ -126057,8 +126270,6 @@ class HerdrReporter {
126057
126270
  return this.closing;
126058
126271
  }
126059
126272
  async shutdown() {
126060
- this.stopFocus?.();
126061
- this.stopFocus = null;
126062
126273
  if (this.lastState !== null) {
126063
126274
  const work = this.o.herdr.request("pane.release_agent", {
126064
126275
  pane_id: this.o.paneId,
@@ -126492,15 +126703,6 @@ class AnsiPainter {
126492
126703
  if (this.lastStatus)
126493
126704
  this.status(this.lastStatus.text, this.lastStatus.tone);
126494
126705
  }
126495
- band(text) {
126496
- this.enter();
126497
- const t = this.o.term();
126498
- const a = cliAnsi();
126499
- this.lastCursor = { y: 0, x: 0, vis: false };
126500
- this.push(`${CLEAR}${at(0, 0)}${SGR_RESET}${a.YELLOW}${a.BOLD}${fit2(` ${text}`, t.cols)}${SGR_RESET}${CURSOR_HIDE}`);
126501
- if (this.lastStatus)
126502
- this.status(this.lastStatus.text, this.lastStatus.tone);
126503
- }
126504
126706
  status(text, tone) {
126505
126707
  this.lastStatus = { text, tone };
126506
126708
  this.enter();
@@ -126605,9 +126807,6 @@ function verdictOf(item) {
126605
126807
  const why = item.reason ? ` (${item.reason})` : "";
126606
126808
  return `${item.target} ${item.state}${why}`;
126607
126809
  }
126608
- function bandText(view) {
126609
- return view ? `viewing in ${view.label} \u2014 Enter to view here` : "Enter to view here";
126610
- }
126611
126810
 
126612
126811
  class Viewer {
126613
126812
  o;
@@ -126620,9 +126819,6 @@ class Viewer {
126620
126819
  view = null;
126621
126820
  viewPath = null;
126622
126821
  opening = false;
126623
- claimId = null;
126624
- claiming = false;
126625
- renewTimer = null;
126626
126822
  resizeTimer = null;
126627
126823
  retryTimer = null;
126628
126824
  ending = false;
@@ -126636,9 +126832,6 @@ class Viewer {
126636
126832
  this.frontEnd = o.frontEnd ?? PLAIN_TERMINAL;
126637
126833
  this.fps = o.fps ?? DEFAULT_FPS;
126638
126834
  }
126639
- get holding() {
126640
- return this.claimId !== null;
126641
- }
126642
126835
  quit() {
126643
126836
  this.finish({ code: 0, message: "" });
126644
126837
  }
@@ -126727,8 +126920,8 @@ class Viewer {
126727
126920
  this.stops.push(this.o.io.onKeys((chunk) => this.onKeys(chunk)));
126728
126921
  this.stops.push(this.o.io.onResize(() => this.onResize()));
126729
126922
  await this.subscribe();
126730
- this.frontEnd.attach?.({ take: () => void this.takeIfNotHolding() });
126731
- await this.take();
126923
+ this.render();
126924
+ await this.ensureWatch();
126732
126925
  }
126733
126926
  connectTo(endpoint) {
126734
126927
  return ViewClient.connect(endpointPathOf(this.o.root, endpoint), {
@@ -126736,8 +126929,7 @@ class Viewer {
126736
126929
  hello: {
126737
126930
  name: "claudish view",
126738
126931
  kind: "viewer",
126739
- front_end: this.frontEnd.name,
126740
- ...this.o.termProgram ? { term_program: this.o.termProgram } : {}
126932
+ front_end: this.frontEnd.name
126741
126933
  }
126742
126934
  });
126743
126935
  }
@@ -126773,77 +126965,11 @@ class Viewer {
126773
126965
  return;
126774
126966
  await client.request("replay.open", { replay_id: t.replayId }, REPLAY_OPEN_MS);
126775
126967
  }
126776
- async takeIfNotHolding() {
126777
- if (!this.holding)
126778
- await this.take();
126779
- }
126780
126968
  async subscribe() {
126781
126969
  await this.client?.request("subscribe", { targets: [this.target], include_finished: true });
126782
126970
  }
126783
- async take() {
126784
- if (!this.client || this.ending || this.claiming)
126785
- return;
126786
- this.claiming = true;
126787
- try {
126788
- const size = this.paneSize();
126789
- const r = await this.client.request("claim", {
126790
- target: this.target,
126791
- cols: size.cols,
126792
- rows: size.rows
126793
- });
126794
- if (r.granted && r.view)
126795
- this.claimId = r.view.claim_id;
126796
- else
126797
- this.claimId = null;
126798
- } catch (e) {
126799
- this.streamNote = `could not take the view: ${e instanceof Error ? e.message : String(e)}`;
126800
- } finally {
126801
- this.claiming = false;
126802
- }
126803
- this.holdingChanged();
126804
- }
126805
- async renew() {
126806
- if (!this.client || !this.claimId || this.ending)
126807
- return;
126808
- try {
126809
- const r = await this.client.request("renew", {
126810
- target: this.target
126811
- });
126812
- if (r.view?.claim_id !== this.claimId)
126813
- this.lose();
126814
- } catch (e) {
126815
- if (e instanceof ViewError && e.code === "view_not_held")
126816
- this.lose();
126817
- }
126818
- }
126819
- lose() {
126820
- if (!this.claimId)
126821
- return;
126822
- this.claimId = null;
126823
- this.holdingChanged();
126824
- }
126825
- holdingChanged() {
126826
- if (this.ending)
126827
- return;
126828
- if (this.holding) {
126829
- if (!this.renewTimer) {
126830
- this.renewTimer = setInterval(() => void this.renew(), this.o.renewMs ?? RENEW_EVERY_MS);
126831
- }
126832
- this.ensureWatch();
126833
- } else {
126834
- if (this.renewTimer)
126835
- clearInterval(this.renewTimer);
126836
- this.renewTimer = null;
126837
- this.view?.unwatch();
126838
- }
126839
- this.render();
126840
- }
126841
- paneSize() {
126842
- const t = this.o.io.term();
126843
- return { cols: Math.max(1, t.cols), rows: Math.max(1, t.rows - STATUS_ROWS) };
126844
- }
126845
126971
  async ensureWatch() {
126846
- if (!this.holding || this.ending || this.opening)
126972
+ if (this.ending || this.opening)
126847
126973
  return;
126848
126974
  const path = this.item?.magmux?.view_socket ?? null;
126849
126975
  if (!path) {
@@ -126882,8 +127008,7 @@ class Viewer {
126882
127008
  frame: (screen, changed, keyframe) => this.onFrame(screen, changed, keyframe),
126883
127009
  ended: (why) => this.onStreamEnded(opened, why)
126884
127010
  });
126885
- if (this.holding)
126886
- await opened.watch();
127011
+ await opened.watch();
126887
127012
  }
126888
127013
  retryWatch() {
126889
127014
  if (this.retryTimer || this.ending)
@@ -126894,7 +127019,7 @@ class Viewer {
126894
127019
  }, VIEW_RETRY_MS);
126895
127020
  }
126896
127021
  onFrame(screen, changed, keyframe) {
126897
- if (!this.holding || this.ending)
127022
+ if (this.ending)
126898
127023
  return;
126899
127024
  if (keyframe) {
126900
127025
  this.painter.size(screen.rows, screen.cols);
@@ -126956,30 +127081,17 @@ class Viewer {
126956
127081
  this.end(verdictOf(item));
126957
127082
  return;
126958
127083
  }
126959
- if (!this.claiming && this.claimId && item.view?.claim_id !== this.claimId) {
126960
- this.lose();
126961
- return;
126962
- }
126963
- if (this.holding && (item.magmux?.view_socket ?? null) !== pathBefore)
127084
+ if ((item.magmux?.view_socket ?? null) !== pathBefore)
126964
127085
  this.ensureWatch();
126965
- this.frontEnd.report({ item, holding: this.holding, ended: false });
126966
- if (!this.holding)
126967
- this.render();
126968
- else
126969
- this.paintStatus();
127086
+ this.frontEnd.report({ item, ended: false });
127087
+ this.paintStatus();
126970
127088
  }
126971
127089
  async onReconnected() {
126972
127090
  if (this.ending)
126973
127091
  return;
126974
- const held = this.holding;
126975
- this.claimId = null;
126976
127092
  if (this.client)
126977
127093
  await this.joinReplay(this.client).catch(() => {});
126978
127094
  await this.subscribe().catch(() => {});
126979
- if (held)
126980
- await this.take();
126981
- else
126982
- this.holdingChanged();
126983
127095
  }
126984
127096
  onKeys(chunk) {
126985
127097
  for (const ch of chunk) {
@@ -126987,9 +127099,6 @@ class Viewer {
126987
127099
  this.finish({ code: 0, message: "" });
126988
127100
  return;
126989
127101
  }
126990
- if ((ch === "\r" || ch === `
126991
- `) && !this.holding)
126992
- this.take();
126993
127102
  }
126994
127103
  }
126995
127104
  onResize() {
@@ -126997,37 +127106,15 @@ class Viewer {
126997
127106
  clearTimeout(this.resizeTimer);
126998
127107
  this.resizeTimer = setTimeout(() => {
126999
127108
  this.resizeTimer = null;
127000
- this.applyResize();
127109
+ if (!this.ending)
127110
+ this.render();
127001
127111
  }, this.o.resizeDebounceMs ?? RESIZE_DEBOUNCE_MS);
127002
127112
  }
127003
- async applyResize() {
127004
- if (this.ending)
127005
- return;
127006
- this.render();
127007
- if (!this.holding || !this.client)
127008
- return;
127009
- const size = this.paneSize();
127010
- try {
127011
- await this.client.request("resize", {
127012
- target: this.target,
127013
- cols: size.cols,
127014
- rows: size.rows
127015
- });
127016
- } catch (e) {
127017
- if (e instanceof ViewError && e.code === "view_not_held")
127018
- this.lose();
127019
- }
127020
- }
127021
127113
  render() {
127022
127114
  if (this.finished)
127023
127115
  return;
127024
- if (!this.holding) {
127025
- this.painter.band(bandText(this.item?.view ?? null));
127026
- this.paintStatus();
127027
- return;
127028
- }
127029
- const screen = this.view?.isWatching ? this.view.screen : null;
127030
- if (screen && screen.frames > 0)
127116
+ const screen = this.shownScreen();
127117
+ if (screen)
127031
127118
  this.painter.repaint(screen);
127032
127119
  this.paintStatus();
127033
127120
  }
@@ -127036,12 +127123,12 @@ class Viewer {
127036
127123
  const head = verdict ? [verdict] : [this.target, this.streamNote, this.item ? stateOf(this.item) : ""];
127037
127124
  const bits = [...head, this.item?.model ?? "", ...this.geometryBits(screen)];
127038
127125
  if (!verdict)
127039
- bits.push(this.holding ? "q quit" : "Enter view \xB7 q quit");
127126
+ bits.push("q quit");
127040
127127
  const live = screen !== null && !this.streamNote;
127041
127128
  this.painter.status(bits.filter(Boolean).join(" \xB7 "), tone ?? (live ? "live" : "waiting"));
127042
127129
  }
127043
127130
  shownScreen() {
127044
- const screen = this.holding && this.view?.isWatching ? this.view.screen : null;
127131
+ const screen = this.view?.isWatching ? this.view.screen : null;
127045
127132
  return screen && screen.frames > 0 ? screen : null;
127046
127133
  }
127047
127134
  geometryBits(screen) {
@@ -127058,10 +127145,7 @@ class Viewer {
127058
127145
  if (this.ending)
127059
127146
  return;
127060
127147
  this.ending = true;
127061
- if (this.renewTimer)
127062
- clearInterval(this.renewTimer);
127063
- this.renewTimer = null;
127064
- this.frontEnd.report({ item: this.item, holding: this.holding, ended: true });
127148
+ this.frontEnd.report({ item: this.item, ended: true });
127065
127149
  this.paintStatus("ended", verdict);
127066
127150
  this.painter.flush();
127067
127151
  await Bun.sleep(this.o.verdictMs ?? VERDICT_MS);
@@ -127075,16 +127159,9 @@ class Viewer {
127075
127159
  for (const t of [this.resizeTimer, this.retryTimer])
127076
127160
  if (t)
127077
127161
  clearTimeout(t);
127078
- if (this.renewTimer)
127079
- clearInterval(this.renewTimer);
127080
- this.renewTimer = null;
127081
127162
  for (const stop of this.stops.splice(0))
127082
127163
  stop();
127083
127164
  const client = this.client;
127084
- if (client && this.claimId) {
127085
- this.claimId = null;
127086
- await client.request("release", { target: this.target }).catch(() => {});
127087
- }
127088
127165
  const view = this.view;
127089
127166
  this.view = null;
127090
127167
  if (view) {
@@ -127103,7 +127180,7 @@ class Viewer {
127103
127180
  settle?.(outcome);
127104
127181
  }
127105
127182
  }
127106
- var RENEW_EVERY_MS = 5000, VERDICT_MS = 2000, RESIZE_DEBOUNCE_MS = 100, VIEW_RETRY_MS = 500, PLAIN_TERMINAL, REPLAY_OPEN_MS = 25000;
127183
+ var VERDICT_MS = 2000, RESIZE_DEBOUNCE_MS = 100, VIEW_RETRY_MS = 500, PLAIN_TERMINAL, REPLAY_OPEN_MS = 25000;
127107
127184
  var init_viewer = __esm(() => {
127108
127185
  init_process_identity();
127109
127186
  init_view_contract();
@@ -127332,8 +127409,7 @@ function chooseFrontEnd(wanted, env, write = (s) => {
127332
127409
  frontEnd: new HerdrReporter({
127333
127410
  herdr: new HerdrSocket(pane.socketPath),
127334
127411
  paneId: pane.paneId,
127335
- titleMode,
127336
- focusClaim: env.CLAUDISH_VIEW_FOCUS_CLAIM !== "0"
127412
+ titleMode
127337
127413
  })
127338
127414
  };
127339
127415
  }
@@ -127356,7 +127432,6 @@ async function viewTarget(parsed) {
127356
127432
  target: parsed.target,
127357
127433
  fps: parsed.fps,
127358
127434
  io: processIo(),
127359
- termProgram: process.env.TERM_PROGRAM,
127360
127435
  frontEnd: choice.frontEnd
127361
127436
  });
127362
127437
  const stop = () => viewer.quit();
@@ -474,7 +474,7 @@ function footerLine(row, mode) {
474
474
  if (row.recordOnly)
475
475
  return "read only · from its records: no running claudish holds it";
476
476
  if (!row.finished)
477
- return `read only · live screen of slot ${row.slot}; focusing it takes the view`;
477
+ return `read only · live screen of slot ${row.slot}`;
478
478
  return "read only · finished: a replay of the real interface";
479
479
  }
480
480
  function tilde(path, home) {
@@ -773,9 +773,7 @@ class PanelController {
773
773
  this.view = null;
774
774
  }
775
775
  let address = liveTerminal(this.host.terminals(), name)?.address ?? null;
776
- if (address) {
777
- await this.host.hc(["keys", address, "enter"]).catch(() => null);
778
- } else
776
+ if (!address)
779
777
  address = await this.startViewer(target, name);
780
778
  if (!address)
781
779
  return;
@@ -1199,7 +1197,7 @@ class ClaudishPanel extends View {
1199
1197
  const p = props() ?? {};
1200
1198
  const terminal = typeof p.terminal === "string" ? p.terminal : null;
1201
1199
  const overlay = typeof p.overlay === "string" ? p.overlay : null;
1202
- return h_flex().size_full().px(10).gap(8).items_center().bg(t.surface).border_b(1).border_color(t.border).text_size(12).child(div().flex_1().truncate().text_color(t.foreground).child(`claudish · ${String(p.title ?? "")}`)).child(div().text_color(t.dim).child("read only · Enter takes the view")).child(div().id("claudish-close").px(6).cursor_pointer().text_color(t.muted).hover((s) => s.text_color(t.foreground)).on_click(() => {
1200
+ return h_flex().size_full().px(10).gap(8).items_center().bg(t.surface).border_b(1).border_color(t.border).text_size(12).child(div().flex_1().truncate().text_color(t.foreground).child(`claudish · ${String(p.title ?? "")}`)).child(div().text_color(t.dim).child("read only")).child(div().id("claudish-close").px(6).cursor_pointer().text_color(t.muted).hover((s) => s.text_color(t.foreground)).on_click(() => {
1203
1201
  if (terminal)
1204
1202
  run("terminal.kill", { terminal });
1205
1203
  else if (overlay)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claudish",
3
- "version": "14.22.0",
3
+ "version": "14.22.1",
4
4
  "description": "Run Claude Code with any model - OpenRouter, Ollama, LM Studio & local models",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -74,10 +74,10 @@
74
74
  "ai"
75
75
  ],
76
76
  "optionalDependencies": {
77
- "@claudish/magmux-darwin-arm64": "14.22.0",
78
- "@claudish/magmux-darwin-x64": "14.22.0",
79
- "@claudish/magmux-linux-arm64": "14.22.0",
80
- "@claudish/magmux-linux-x64": "14.22.0"
77
+ "@claudish/magmux-darwin-arm64": "14.22.1",
78
+ "@claudish/magmux-darwin-x64": "14.22.1",
79
+ "@claudish/magmux-linux-arm64": "14.22.1",
80
+ "@claudish/magmux-linux-x64": "14.22.1"
81
81
  },
82
82
  "author": "Jack Rudenko <i@madappgang.com>",
83
83
  "license": "MIT",