@hilbras/sdk 0.22.0 → 0.24.0
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/README.md +4 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<img src="https://img.shields.io/badge/version-0.
|
|
2
|
+
<img src="https://img.shields.io/badge/version-0.23.0-blue" alt="version">
|
|
3
3
|
<img src="https://img.shields.io/badge/license-MIT-green" alt="license">
|
|
4
4
|
<img src="https://img.shields.io/badge/node-%3E%3D18-brightgreen" alt="node">
|
|
5
5
|
<img src="https://img.shields.io/badge/types-strict-blueviolet" alt="types">
|
|
@@ -111,12 +111,13 @@ const reply = await client.complete({
|
|
|
111
111
|
| **Reasoning normalization** | Detect & normalize `<thinking>` / `<reasoning>` tags and native fields | [API Reference](docs/api-reference.md) |
|
|
112
112
|
| **Agent framework** | ToolLoopAgent, ReActAgent, PlanAndExecuteAgent with approval, budget, cost tracking | [Agent](docs/agent.md) |
|
|
113
113
|
| **Evaluation** | LLM output evaluation with built-in metrics (exact_match, similarity, toxicity) | [Eval](docs/eval.md) |
|
|
114
|
-
| **Framework hooks** | React, Vue, Svelte, Solid, Angular signal-based hooks | [Frameworks](docs/frameworks.md) |
|
|
114
|
+
| **Framework hooks** | React, Vue, Svelte, Solid, Qwik, Angular signal-based hooks | [Frameworks](docs/frameworks.md) |
|
|
115
115
|
| **RAG primitives** | VectorStore, Retriever, RAGPipeline, chunking | [RAG](docs/rag.md) |
|
|
116
116
|
| **Provider catalog** | Runtime provider/model discovery with search | [Catalog](docs/catalog.md) |
|
|
117
117
|
| **CLI** | `hilbras` CLI for init, provider management, model listing, cost estimation | [CLI](docs/cli.md) |
|
|
118
118
|
| **Migration** | Guide from Vercel AI SDK | [Migration](docs/migration-from-vercel-ai-sdk.md) |
|
|
119
119
|
| **Fine-tuning** | Export training data in 6 formats, data splitting, quality validation | [Fine-tune](docs/fine-tune.md) |
|
|
120
|
+
| **Scaffolding** | `npx create-hilbras-app` project scaffolding | [CLI](docs/cli.md) |
|
|
120
121
|
| **Zero runtime deps** | Pure TypeScript, no transitive dependencies | — |
|
|
121
122
|
|
|
122
123
|
---
|
|
@@ -155,6 +156,7 @@ import { useChat } from "@hilbras/react"; // React hooks
|
|
|
155
156
|
import { useChat } from "@hilbras/vue"; // Vue composables
|
|
156
157
|
import { useChat } from "@hilbras/svelte"; // Svelte stores
|
|
157
158
|
import { useChat } from "@hilbras/solid"; // Solid signals
|
|
159
|
+
import { useChat } from "@hilbras/qwik"; // Qwik signals
|
|
158
160
|
import { useChat } from "@hilbras/angular"; // Angular signals
|
|
159
161
|
import { ToolLoopAgent } from "@hilbras/agent"; // Agent framework
|
|
160
162
|
import { evaluate } from "@hilbras/eval"; // Evaluation
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hilbras/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.0",
|
|
4
4
|
"description": "Provider-agnostic LLM client SDK — streaming, tool calling, embeddings, image generation, speech synthesis, transcription, reranking, circuit breaker, retry, reasoning normalization, cost enforcement, structured output with schema validation, type-safe tool builder, and SSRF-safe provider registration. Zero runtime dependencies.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|