@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.
- package/dist/docs/API_SUMMARY.md +1 -1
- package/dist/docs/ai.md +15 -9
- package/dist/types/ai.d.ts +1 -1
- package/docs/API_SUMMARY.md +1 -1
- package/docs/ai.md +15 -9
- package/package.json +1 -1
- package/scripts/doctor.mjs +3 -0
package/dist/docs/API_SUMMARY.md
CHANGED
package/dist/docs/ai.md
CHANGED
|
@@ -408,15 +408,21 @@ Discover tools two ways:
|
|
|
408
408
|
|
|
409
409
|
### Recommended Models
|
|
410
410
|
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
| Tier | Model | Alias | Use for |
|
|
416
|
-
|
|
417
|
-
| Cheapest (default) | `openai/gpt-
|
|
418
|
-
| Balanced | `openai/gpt-
|
|
419
|
-
|
|
|
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/dist/types/ai.d.ts
CHANGED
|
@@ -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-
|
|
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;
|
package/docs/API_SUMMARY.md
CHANGED
package/docs/ai.md
CHANGED
|
@@ -408,15 +408,21 @@ Discover tools two ways:
|
|
|
408
408
|
|
|
409
409
|
### Recommended Models
|
|
410
410
|
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
| Tier | Model | Alias | Use for |
|
|
416
|
-
|
|
417
|
-
| Cheapest (default) | `openai/gpt-
|
|
418
|
-
| Balanced | `openai/gpt-
|
|
419
|
-
|
|
|
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
package/scripts/doctor.mjs
CHANGED
|
@@ -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();
|