@proveanything/smartlinks 2.0.49 → 2.0.50

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,6 +1,6 @@
1
1
  # Smartlinks API Summary
2
2
 
3
- Version: 2.0.49 | Generated: 2026-10-09T10:14:16.325Z
3
+ Version: 2.0.50 | Generated: 2026-10-09T10:28:38.661Z
4
4
 
5
5
  This is a concise summary of all available API functions and types.
6
6
 
package/dist/docs/ai.md CHANGED
@@ -408,15 +408,21 @@ Discover tools two ways:
408
408
 
409
409
  ### Recommended Models
410
410
 
411
- For agentic workflows on `v1/responses`, GPT-5.6 ships in three tiers. Pass either the full model
412
- id (`openai/gpt-5.6-sol`) or the shorthand tier alias (`'cheap'`, `'balanced'`, `'premium'`) as
413
- `model` — both resolve through the same server-side model registry.
414
-
415
- | Tier | Model | Alias | Use for |
416
- |------|-------|-------|---------|
417
- | Cheapest (default) | `openai/gpt-5.6-luna` | `'cheap'` / omit `model` | Everyday chat, high-volume/simple turns |
418
- | Balanced | `openai/gpt-5.6-terra` | `'balanced'` | Admin agent / tool-heavy setup workflows (route default) |
419
- | Flagship | `openai/gpt-5.6-sol` | `'premium'` | Most demanding reasoning, coding, and multi-step tool use |
411
+ Pass either a full model id (`openai/gpt-6.1-sol`) or a tier alias (`'cheap'`, `'balanced'`,
412
+ `'premium'`) as `model` — both resolve through the same server-side model registry. The tiers are the
413
+ GPT-6 family (prices per 1M tokens, input / output, OpenAI list price):
414
+
415
+ | Tier | Model | Alias | Price | Use for |
416
+ |------|-------|-------|-------|---------|
417
+ | Cheapest (default) | `openai/gpt-6-luna` | `'cheap'` / omit `model` | $0.10 / $0.50 | Everyday chat, high-volume/simple turns |
418
+ | Balanced | `openai/gpt-6.1-sol` | `'balanced'` | $2 / $10 | Admin agent / tool-heavy workflows (the `v1/responses` default) |
419
+ | Most capable | `openai/gpt-6-astra` | `'premium'` | $10 / $50 | The hardest reasoning, coding and long multi-step tool use |
420
+
421
+ The previous generation stays available by id — `openai/gpt-5.6-luna` ($0.20 / $1.20),
422
+ `openai/gpt-5.6-terra` ($2 / $12) and `openai/gpt-5.6-sol` ($4 / $20) — and `ai.models.list(collectionId)` returns
423
+ the full current set. GPT-6.1 Sol is the same input price as GPT-5.6 Terra with cheaper output, so prefer
424
+ the tiers. If OpenAI refuses a GPT-6 request for a model/option reason, SmartLinks retries it once on the
425
+ GPT-5.6 equivalent, so a call never fails just because a GPT-6 model doesn't accept something yet.
420
426
 
421
427
  Every tier supports function/tool calling, Programmatic Tool Calling, and Multi-agent (see below), and all
422
428
  three accept `service_tier: 'flex'` (≈50% cheaper, Batch-API rates, slower) or `'priority'` (premium, guaranteed
@@ -679,7 +679,7 @@ export interface AgentRunRequest {
679
679
  prompt?: string;
680
680
  /** System instructions. */
681
681
  instructions?: string;
682
- /** Model id, e.g. 'openai/gpt-5.6-terra'. */
682
+ /** Model id, e.g. 'openai/gpt-6.1-sol'. */
683
683
  model?: string;
684
684
  /** Safety cap on model round-trips. */
685
685
  maxSteps?: number;
@@ -1,6 +1,6 @@
1
1
  # Smartlinks API Summary
2
2
 
3
- Version: 2.0.49 | Generated: 2026-10-09T10:14:16.325Z
3
+ Version: 2.0.50 | Generated: 2026-10-09T10:28:38.661Z
4
4
 
5
5
  This is a concise summary of all available API functions and types.
6
6
 
package/docs/ai.md CHANGED
@@ -408,15 +408,21 @@ Discover tools two ways:
408
408
 
409
409
  ### Recommended Models
410
410
 
411
- For agentic workflows on `v1/responses`, GPT-5.6 ships in three tiers. Pass either the full model
412
- id (`openai/gpt-5.6-sol`) or the shorthand tier alias (`'cheap'`, `'balanced'`, `'premium'`) as
413
- `model` — both resolve through the same server-side model registry.
414
-
415
- | Tier | Model | Alias | Use for |
416
- |------|-------|-------|---------|
417
- | Cheapest (default) | `openai/gpt-5.6-luna` | `'cheap'` / omit `model` | Everyday chat, high-volume/simple turns |
418
- | Balanced | `openai/gpt-5.6-terra` | `'balanced'` | Admin agent / tool-heavy setup workflows (route default) |
419
- | Flagship | `openai/gpt-5.6-sol` | `'premium'` | Most demanding reasoning, coding, and multi-step tool use |
411
+ Pass either a full model id (`openai/gpt-6.1-sol`) or a tier alias (`'cheap'`, `'balanced'`,
412
+ `'premium'`) as `model` — both resolve through the same server-side model registry. The tiers are the
413
+ GPT-6 family (prices per 1M tokens, input / output, OpenAI list price):
414
+
415
+ | Tier | Model | Alias | Price | Use for |
416
+ |------|-------|-------|-------|---------|
417
+ | Cheapest (default) | `openai/gpt-6-luna` | `'cheap'` / omit `model` | $0.10 / $0.50 | Everyday chat, high-volume/simple turns |
418
+ | Balanced | `openai/gpt-6.1-sol` | `'balanced'` | $2 / $10 | Admin agent / tool-heavy workflows (the `v1/responses` default) |
419
+ | Most capable | `openai/gpt-6-astra` | `'premium'` | $10 / $50 | The hardest reasoning, coding and long multi-step tool use |
420
+
421
+ The previous generation stays available by id — `openai/gpt-5.6-luna` ($0.20 / $1.20),
422
+ `openai/gpt-5.6-terra` ($2 / $12) and `openai/gpt-5.6-sol` ($4 / $20) — and `ai.models.list(collectionId)` returns
423
+ the full current set. GPT-6.1 Sol is the same input price as GPT-5.6 Terra with cheaper output, so prefer
424
+ the tiers. If OpenAI refuses a GPT-6 request for a model/option reason, SmartLinks retries it once on the
425
+ GPT-5.6 equivalent, so a call never fails just because a GPT-6 model doesn't accept something yet.
420
426
 
421
427
  Every tier supports function/tool calling, Programmatic Tool Calling, and Multi-agent (see below), and all
422
428
  three accept `service_tier: 'flex'` (≈50% cheaper, Batch-API rates, slower) or `'priority'` (premium, guaranteed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proveanything/smartlinks",
3
- "version": "2.0.49",
3
+ "version": "2.0.50",
4
4
  "description": "Official JavaScript/TypeScript SDK for the Smartlinks API",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -163,6 +163,9 @@ if (meta.cssBaseline) {
163
163
  warnings.push(`meta.cssBaseline is "${meta.cssBaseline}" but this SDK ships baseline "${baseline.version}" — the host may serve a different set.`);
164
164
  }
165
165
  const baseSet = new Set(baseline.classes || []);
166
+ // SDK-defined names that aren't baseline helpers but are legitimately in bundles: the Sidekick
167
+ // screen's scope class (mobile-admin-container.md → Styling).
168
+ for (const c of ['sl-mobile-admin']) baseSet.add(c);
166
169
  // Class usage lives in compiled markup strings — present in every bundle regardless
167
170
  // of module format, so scan both umd + esm across all surfaces.
168
171
  const used = new Set();