@warlock.js/ai-groq 5.34.2 → 5.34.3

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/CHANGELOG.md CHANGED
@@ -4,6 +4,12 @@ All notable changes to `@warlock.js/ai-groq` are documented in this file.
4
4
 
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). `@warlock.js/*` packages are released in lockstep — every package shares the same version number, so a version below may list only the changes that affected this package.
6
6
 
7
+ ## 5.34.3 - 2026-10-20
8
+
9
+ ### Changed
10
+
11
+ - The agent skill now exports as `warlock-js-ai-groq`; package discovery descriptions stay within 450 characters.
12
+
7
13
  ## 5.32.0 - 2026-10-18
8
14
 
9
15
  ### Changed
package/README.md CHANGED
@@ -108,7 +108,7 @@ Resolution at `model()` time: per-model `pricing` > SDK-level `pricing[name]` >
108
108
 
109
109
  ## Setup skill
110
110
 
111
- For agent wiring, capability inference, reasoning, and pricing detail, see the bundled setup skill: [`skills/setup-groq/SKILL.md`](./skills/setup-groq/SKILL.md).
111
+ For agent wiring, capability inference, reasoning, and pricing detail, see the bundled setup skill: [`skills/SKILL.md`](./skills/SKILL.md).
112
112
 
113
113
  ## Tests
114
114
 
package/llms-full.txt CHANGED
@@ -4,11 +4,11 @@
4
4
 
5
5
  > Generated artifact. Concatenates every SKILL.md and reference file under `@warlock.js/ai-groq/skills/`. Re-run `node scripts/generate-llms.mjs` after any change.
6
6
 
7
- ## setup-groq `@warlock.js/ai-groq/setup-groq/SKILL.md`
7
+ ## ai-groq `@warlock.js/ai-groq/skills/SKILL.md`
8
8
 
9
9
  ---
10
- name: setup-groq
11
- description: 'Wire @warlock.js/ai-groq — new GroqSDK({apiKey, baseURL?, provider?, pricing?}) for Groq-hosted open models on LPU hardware (llama-3.3-70b-versatile, llama-3.1-8b-instant, openai/gpt-oss-120b/20b, deepseek-r1-distill-llama-70b). Thin wrapper over @warlock.js/ai-openai — uses the OpenAI-compatible endpoint https://api.groq.com/openai/v1, delegating transport/streaming/structured-output/errors to OpenAISDK while injecting Groqs OWN vision/reasoning inference + default pricing. .model({name, vision?, reasoning?, structuredOutput?}) for ModelContract. Triggers: `GroqSDK`, `GROQ_DEFAULT_PRICING`, `groq.model`, `groq.count`, `llama-3.3-70b-versatile`, `llama-3.1-8b-instant`, `gpt-oss`, `deepseek-r1-distill`, `groq vision`, `groq reasoning`, `reasoning_effort`, `https://api.groq.com/openai/v1`, OpenAI-compatible Groq, LPU, fast inference; "wire groq into a warlock agent", "use llama 3.3 on groq", "run gpt-oss / deepseek reasoning on groq", "point warlock at the groq endpoint"; import `import { GroqSDK } from "@warlock.js/ai-groq"`. Skip: agent wiring — the `run-ai-agent` topic of the `warlock-js-ai` skill; adapter comparison — the `pick-ai-provider` topic of the `warlock-js-ai` skill; the wrapped adapter `@warlock.js/ai-openai` (`setup-openai`); embeddings (Groq has none — use openai/google); siblings `@warlock.js/ai-anthropic`, `@warlock.js/ai-bedrock`, `@warlock.js/ai-google`, `@warlock.js/ai-ollama`; raw `groq-sdk` / `openai` SDK.'
10
+ name: warlock-js-ai-groq
11
+ description: 'Groq adapter for Warlock AI: `GroqSDK`, `GROQ_KNOWN_MODELS`, `GROQ_DEFAULT_PRICING`, `inferVisionCapability` and `inferReasoningCapability`. Use for "connect Groq", fast chat, streaming, tools, model capabilities or pricing overrides through `sdk.model()`. Not this package → @warlock.js/ai for agents and custom tools; @warlock.js/ai-openai for generic OpenAI-compatible endpoints.'
12
12
  ---
13
13
 
14
14
  # `@warlock.js/ai-groq`
@@ -72,7 +72,7 @@ await model.complete(messages, { reasoning: { effort: "high" } }); // → reason
72
72
 
73
73
  ## Structured output & streaming
74
74
 
75
- Inherited unchanged from `@warlock.js/ai-openai`: a `responseSchema` maps to `response_format: json_schema` (strict) when the schema is a proper root object, else loose `json_object`; `model.stream()` drains the streaming Chat Completions response and yields `delta` / `tool-call` / `done` chunks with `include_usage` on. See the `setup-openai` topic of the `warlock-js-ai-openai` skill for the full wire behavior.
75
+ Inherited unchanged from `@warlock.js/ai-openai`: a `responseSchema` maps to `response_format: json_schema` (strict) when the schema is a proper root object, else loose `json_object`; `model.stream()` drains the streaming Chat Completions response and yields `delta` / `tool-call` / `done` chunks with `include_usage` on. See the `warlock-js-ai-openai` skill for the full wire behavior.
76
76
 
77
77
  ## Embeddings — not available on Groq
78
78
 
@@ -124,12 +124,12 @@ Raw errors are wrapped into the typed `@warlock.js/ai` `AIError` hierarchy by th
124
124
  ## When NOT to use this skill
125
125
 
126
126
  - Embeddings or image generation — Groq has neither; use `@warlock.js/ai-openai` / `@warlock.js/ai-google`.
127
- - OpenAI / Azure / OpenRouter — use `@warlock.js/ai-openai` (`setup-openai`); this wraps it but for Groq specifically.
127
+ - OpenAI / Azure / OpenRouter — use the `warlock-js-ai-openai` skill; this wraps it but for Groq specifically.
128
128
  - Anthropic — `@warlock.js/ai-anthropic`. Bedrock — `@warlock.js/ai-bedrock`. Gemini — `@warlock.js/ai-google`. Local Ollama — `@warlock.js/ai-ollama`.
129
129
 
130
130
  ## See also
131
131
 
132
- - The `setup-openai` topic of the `warlock-js-ai-openai` skill — the wrapped adapter; full wire / streaming / structured-output detail
132
+ - The `warlock-js-ai-openai` skill — the wrapped adapter; full wire / streaming / structured-output detail
133
133
  - The `run-ai-agent` topic of the `warlock-js-ai` skill — passing the model into `ai.agent({...})`
134
134
  - The `pick-ai-provider` topic of the `warlock-js-ai` skill — adapter comparison
135
135
 
package/llms.txt CHANGED
@@ -6,4 +6,4 @@
6
6
 
7
7
  ## Skills
8
8
 
9
- - [setup-groq](@warlock.js/ai-groq/setup-groq/SKILL.md): Wire @warlock.js/ai-groq — new GroqSDK({apiKey, baseURL?, provider?, pricing?}) for Groq-hosted open models on LPU hardware (llama-3.3-70b-versatile, llama-3.1-8b-instant, openai/gpt-oss-120b/20b, deepseek-r1-distill-llama-70b). Thin wrapper over @warlock.js/ai-openai — uses the OpenAI-compatible endpoint https://api.groq.com/openai/v1, delegating transport/streaming/structured-output/errors to OpenAISDK while injecting Groqs OWN vision/reasoning inference + default pricing. .model({name, vision?, reasoning?, structuredOutput?}) for ModelContract. Triggers: `GroqSDK`, `GROQ_DEFAULT_PRICING`, `groq.model`, `groq.count`, `llama-3.3-70b-versatile`, `llama-3.1-8b-instant`, `gpt-oss`, `deepseek-r1-distill`, `groq vision`, `groq reasoning`, `reasoning_effort`, `https://api.groq.com/openai/v1`, OpenAI-compatible Groq, LPU, fast inference; "wire groq into a warlock agent", "use llama 3.3 on groq", "run gpt-oss / deepseek reasoning on groq", "point warlock at the groq endpoint"; import `import { GroqSDK } from "@warlock.js/ai-groq"`. Skip: agent wiring — the `run-ai-agent` topic of the `warlock-js-ai` skill; adapter comparison — the `pick-ai-provider` topic of the `warlock-js-ai` skill; the wrapped adapter `@warlock.js/ai-openai` (`setup-openai`); embeddings (Groq has none — use openai/google); siblings `@warlock.js/ai-anthropic`, `@warlock.js/ai-bedrock`, `@warlock.js/ai-google`, `@warlock.js/ai-ollama`; raw `groq-sdk` / `openai` SDK.
9
+ - [ai-groq](@warlock.js/ai-groq/skills/SKILL.md): Groq adapter for Warlock AI: `GroqSDK`, `GROQ_KNOWN_MODELS`, `GROQ_DEFAULT_PRICING`, `inferVisionCapability` and `inferReasoningCapability`. Use for "connect Groq", fast chat, streaming, tools, model capabilities or pricing overrides through `sdk.model()`. Not this package → @warlock.js/ai for agents and custom tools; @warlock.js/ai-openai for generic OpenAI-compatible endpoints.
package/package.json CHANGED
@@ -16,13 +16,13 @@
16
16
  "directory": "packages/ai-groq"
17
17
  },
18
18
  "peerDependencies": {
19
- "@warlock.js/ai": "5.34.2"
19
+ "@warlock.js/ai": "5.34.3"
20
20
  },
21
21
  "dependencies": {
22
- "@warlock.js/ai-openai": "5.34.2",
23
- "@warlock.js/logger": "5.34.2"
22
+ "@warlock.js/ai-openai": "5.34.3",
23
+ "@warlock.js/logger": "5.34.3"
24
24
  },
25
- "version": "5.34.2",
25
+ "version": "5.34.3",
26
26
  "main": "./cjs/index.cjs",
27
27
  "module": "./esm/index.mjs",
28
28
  "types": "./esm/index.d.mts",
@@ -1,6 +1,6 @@
1
1
  ---
2
- name: setup-groq
3
- description: 'Wire @warlock.js/ai-groq — new GroqSDK({apiKey, baseURL?, provider?, pricing?}) for Groq-hosted open models on LPU hardware (llama-3.3-70b-versatile, llama-3.1-8b-instant, openai/gpt-oss-120b/20b, deepseek-r1-distill-llama-70b). Thin wrapper over @warlock.js/ai-openai — uses the OpenAI-compatible endpoint https://api.groq.com/openai/v1, delegating transport/streaming/structured-output/errors to OpenAISDK while injecting Groqs OWN vision/reasoning inference + default pricing. .model({name, vision?, reasoning?, structuredOutput?}) for ModelContract. Triggers: `GroqSDK`, `GROQ_DEFAULT_PRICING`, `groq.model`, `groq.count`, `llama-3.3-70b-versatile`, `llama-3.1-8b-instant`, `gpt-oss`, `deepseek-r1-distill`, `groq vision`, `groq reasoning`, `reasoning_effort`, `https://api.groq.com/openai/v1`, OpenAI-compatible Groq, LPU, fast inference; "wire groq into a warlock agent", "use llama 3.3 on groq", "run gpt-oss / deepseek reasoning on groq", "point warlock at the groq endpoint"; import `import { GroqSDK } from "@warlock.js/ai-groq"`. Skip: agent wiring — the `run-ai-agent` topic of the `warlock-js-ai` skill; adapter comparison — the `pick-ai-provider` topic of the `warlock-js-ai` skill; the wrapped adapter `@warlock.js/ai-openai` (`setup-openai`); embeddings (Groq has none — use openai/google); siblings `@warlock.js/ai-anthropic`, `@warlock.js/ai-bedrock`, `@warlock.js/ai-google`, `@warlock.js/ai-ollama`; raw `groq-sdk` / `openai` SDK.'
2
+ name: warlock-js-ai-groq
3
+ description: 'Groq adapter for Warlock AI: `GroqSDK`, `GROQ_KNOWN_MODELS`, `GROQ_DEFAULT_PRICING`, `inferVisionCapability` and `inferReasoningCapability`. Use for "connect Groq", fast chat, streaming, tools, model capabilities or pricing overrides through `sdk.model()`. Not this package → @warlock.js/ai for agents and custom tools; @warlock.js/ai-openai for generic OpenAI-compatible endpoints.'
4
4
  ---
5
5
 
6
6
  # `@warlock.js/ai-groq`
@@ -64,7 +64,7 @@ await model.complete(messages, { reasoning: { effort: "high" } }); // → reason
64
64
 
65
65
  ## Structured output & streaming
66
66
 
67
- Inherited unchanged from `@warlock.js/ai-openai`: a `responseSchema` maps to `response_format: json_schema` (strict) when the schema is a proper root object, else loose `json_object`; `model.stream()` drains the streaming Chat Completions response and yields `delta` / `tool-call` / `done` chunks with `include_usage` on. See the `setup-openai` topic of the `warlock-js-ai-openai` skill for the full wire behavior.
67
+ Inherited unchanged from `@warlock.js/ai-openai`: a `responseSchema` maps to `response_format: json_schema` (strict) when the schema is a proper root object, else loose `json_object`; `model.stream()` drains the streaming Chat Completions response and yields `delta` / `tool-call` / `done` chunks with `include_usage` on. See the `warlock-js-ai-openai` skill for the full wire behavior.
68
68
 
69
69
  ## Embeddings — not available on Groq
70
70
 
@@ -116,12 +116,12 @@ Raw errors are wrapped into the typed `@warlock.js/ai` `AIError` hierarchy by th
116
116
  ## When NOT to use this skill
117
117
 
118
118
  - Embeddings or image generation — Groq has neither; use `@warlock.js/ai-openai` / `@warlock.js/ai-google`.
119
- - OpenAI / Azure / OpenRouter — use `@warlock.js/ai-openai` (`setup-openai`); this wraps it but for Groq specifically.
119
+ - OpenAI / Azure / OpenRouter — use the `warlock-js-ai-openai` skill; this wraps it but for Groq specifically.
120
120
  - Anthropic — `@warlock.js/ai-anthropic`. Bedrock — `@warlock.js/ai-bedrock`. Gemini — `@warlock.js/ai-google`. Local Ollama — `@warlock.js/ai-ollama`.
121
121
 
122
122
  ## See also
123
123
 
124
- - The `setup-openai` topic of the `warlock-js-ai-openai` skill — the wrapped adapter; full wire / streaming / structured-output detail
124
+ - The `warlock-js-ai-openai` skill — the wrapped adapter; full wire / streaming / structured-output detail
125
125
  - The `run-ai-agent` topic of the `warlock-js-ai` skill — passing the model into `ai.agent({...})`
126
126
  - The `pick-ai-provider` topic of the `warlock-js-ai` skill — adapter comparison
127
127