@hilbras/sdk 0.25.1 → 0.25.2

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.
Files changed (2) hide show
  1. package/README.md +4 -2
  2. package/package.json +2 -1
package/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  <p align="center">
2
- <img src="https://img.shields.io/badge/version-0.24.0-blue" alt="version">
2
+ <img src="https://img.shields.io/badge/version-0.25.2-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,7 +111,7 @@ 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, Qwik, Angular, Next.js signal-based hooks | [Frameworks](docs/frameworks.md) |
114
+ | **Framework hooks** | React, Vue, Svelte, Solid, Qwik, Angular, Next.js, Astro, Remix | [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) |
@@ -158,6 +158,8 @@ import { useChat } from "@hilbras/svelte"; // Svelte stores
158
158
  import { useChat } from "@hilbras/solid"; // Solid signals
159
159
  import { useChat } from "@hilbras/qwik"; // Qwik signals
160
160
  import { useChat } from "@hilbras/nextjs"; // Next.js
161
+ import { createChatEndpoint } from "@hilbras/astro"; // Astro
162
+ import { createChatAction } from "@hilbras/remix"; // Remix
161
163
  import { useChat } from "@hilbras/angular"; // Angular signals
162
164
  import { ToolLoopAgent } from "@hilbras/agent"; // Agent framework
163
165
  import { evaluate } from "@hilbras/eval"; // Evaluation
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hilbras/sdk",
3
- "version": "0.25.1",
3
+ "version": "0.25.2",
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",
@@ -158,6 +158,7 @@
158
158
  "scripts": {
159
159
  "build": "tsc",
160
160
  "dev": "tsc --watch",
161
+ "pretest": "npx tsc -p packages/cli/tsconfig.json",
161
162
  "test": "vitest run",
162
163
  "test:watch": "vitest",
163
164
  "test:coverage": "vitest run --coverage",