@ngosangns/ns-bridge 0.1.10 → 0.1.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.
@@ -1,4 +1,4 @@
1
- // @ngosangns/ns-bridge 0.1.10 — catalog refresh bundle.
1
+ // @ngosangns/ns-bridge 0.1.11 — catalog refresh bundle.
2
2
  import { createRequire as __nsBridgeCreateRequire } from 'node:module';
3
3
  const require = __nsBridgeCreateRequire(import.meta.url);
4
4
  var __create = Object.create;
@@ -96426,7 +96426,7 @@ import { join as join6 } from "node:path";
96426
96426
 
96427
96427
  // ../grok-core/dist/catalog.js
96428
96428
  var GROK_BOOTSTRAP_MODEL_IDS = ["grok-4.7", "grok-4.7-build-fast", "grok-4.6", "grok-4.5"];
96429
- var GROK_DEFAULT_CONTEXT_WINDOW = 5e5;
96429
+ var GROK_DEFAULT_CONTEXT_WINDOW = 256e3;
96430
96430
  var GROK_DEFAULT_MAX_TOKENS = 128e3;
96431
96431
  var GROK_CATALOG_PROVIDER_ID = "grok";
96432
96432
  var GROK_CATALOG_FILE = `${GROK_CATALOG_PROVIDER_ID}.models.json`;
@@ -98539,8 +98539,8 @@ function descriptorsToCatalog(descriptors) {
98539
98539
  reasoning: d.supportsReasoningEffort ?? true,
98540
98540
  input: ["text"],
98541
98541
  cost: ensureCacheCost({ input: 0, output: 0, cacheRead: 0, cacheWrite: 0 }),
98542
- contextWindow: d.contextWindow ?? 5e5,
98543
- maxTokens: d.maxTokens ?? 128e3
98542
+ contextWindow: d.contextWindow ?? GROK_DEFAULT_CONTEXT_WINDOW,
98543
+ maxTokens: d.maxTokens ?? GROK_DEFAULT_MAX_TOKENS
98544
98544
  }));
98545
98545
  }
98546
98546
  function catalogToProviderModels(models) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ngosangns/ns-bridge",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "Install, update, and refresh ns-bridge providers outside Pi, OMP, and DSH.",
5
5
  "type": "module",
6
6
  "license": "MIT",