@warlock.js/ai-ollama 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 +6 -0
- package/llms-full.txt +3 -16
- package/llms.txt +1 -2
- package/package.json +3 -3
- package/skills/{setup-ollama/SKILL.md → SKILL.md} +2 -2
- package/skills/index.md +0 -9
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ All notable changes to `@warlock.js/ai-ollama` 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-ollama`; package discovery descriptions stay within 450 characters.
|
|
12
|
+
|
|
7
13
|
## 5.34.2 - 2026-10-19
|
|
8
14
|
|
|
9
15
|
### Fixed
|
package/llms-full.txt
CHANGED
|
@@ -4,24 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
> Generated artifact. Concatenates every SKILL.md and reference file under `@warlock.js/ai-ollama/skills/`. Re-run `node scripts/generate-llms.mjs` after any change.
|
|
6
6
|
|
|
7
|
-
##
|
|
7
|
+
## ai-ollama `@warlock.js/ai-ollama/skills/SKILL.md`
|
|
8
8
|
|
|
9
9
|
---
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
# @warlock.js/ai-ollama
|
|
14
|
-
|
|
15
|
-
This adapter supplies provider-backed models for `@warlock.js/ai`. Read `setup-ollama.md` to construct `OllamaSDK`, configure host and headers, reasoning, embeddings and daemon errors, and understand provider-specific behavior.
|
|
16
|
-
|
|
17
|
-
For agent composition, read the `run-ai-agent` topic of the `@warlock.js/ai` package. Keep provider configuration here and application orchestration in that package.
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
## setup-ollama `@warlock.js/ai-ollama/setup-ollama/SKILL.md`
|
|
21
|
-
|
|
22
|
-
---
|
|
23
|
-
name: setup-ollama
|
|
24
|
-
description: 'Wire @warlock.js/ai-ollama — new OllamaSDK({host?, headers?}) for local / self-hosted Ollama via the official ollama client (not OpenAI-compat). chat + embed, daemon-down error handling. .model({name, vision?, reasoning?}) with cost-truth capabilities — reasoning inferred from thinking-model tags (deepseek-r1/qwq/qwen3/gpt-oss…), promptCaching/audio/pdf honestly false; options.reasoning → Ollama native `think` flag; usage reasoningTokens/cachedTokens stay undefined (none reported). Triggers: `providerOptions`, `OllamaCallOptions`, `countTokens`, `OllamaSDK`, `ollama.model`, `ollama.embedder`, `embedder.embedMany`, `ollama.count`, `host`, `headers`, `reasoning`, `think`, thinking models, `streamChunks`, `message.thinking`, `deepseek-r1`, `qwq`, `qwen3`, `gpt-oss`; "use ollama with warlock", "run llama3 locally", "self-hosted llama", "ollama reasoning / thinking models", "deepseek-r1 with warlock"; typical import `import { OllamaSDK } from "@warlock.js/ai-ollama"`. Skip: agent loop — the `run-ai-agent` topic of the `warlock-js-ai` skill; provider choice — the `pick-ai-provider` topic of the `warlock-js-ai` skill; embeddings core — the `embed-text` topic of the `warlock-js-ai` skill; siblings `@warlock.js/ai-openai`, `@warlock.js/ai-anthropic`, `@warlock.js/ai-google`; raw `ollama` npm, Vercel `@ai-sdk/ollama`; OpenAI-compat gateway via `@warlock.js/ai-openai` `baseURL`.'
|
|
10
|
+
name: warlock-js-ai-ollama
|
|
11
|
+
description: 'Local Ollama models for Warlock AI: `OllamaSDK`, `OllamaCallOptions`, `OllamaModelConfig` and `OllamaEmbedderConfig`. Use for "run a local LLM", "connect Ollama", pull model tags, stream chat, use tools, configure thinking or generate embeddings through `model()` and `embedder()`. Not this package → @warlock.js/ai for agents and RAG; @warlock.js/ai-openai for hosted OpenAI-compatible servers.'
|
|
25
12
|
---
|
|
26
13
|
|
|
27
14
|
# `@warlock.js/ai-ollama`
|
package/llms.txt
CHANGED
|
@@ -6,5 +6,4 @@
|
|
|
6
6
|
|
|
7
7
|
## Skills
|
|
8
8
|
|
|
9
|
-
- [
|
|
10
|
-
- [setup-ollama](@warlock.js/ai-ollama/setup-ollama/SKILL.md): Wire @warlock.js/ai-ollama — new OllamaSDK({host?, headers?}) for local / self-hosted Ollama via the official ollama client (not OpenAI-compat). chat + embed, daemon-down error handling. .model({name, vision?, reasoning?}) with cost-truth capabilities — reasoning inferred from thinking-model tags (deepseek-r1/qwq/qwen3/gpt-oss…), promptCaching/audio/pdf honestly false; options.reasoning → Ollama native `think` flag; usage reasoningTokens/cachedTokens stay undefined (none reported). Triggers: `providerOptions`, `OllamaCallOptions`, `countTokens`, `OllamaSDK`, `ollama.model`, `ollama.embedder`, `embedder.embedMany`, `ollama.count`, `host`, `headers`, `reasoning`, `think`, thinking models, `streamChunks`, `message.thinking`, `deepseek-r1`, `qwq`, `qwen3`, `gpt-oss`; "use ollama with warlock", "run llama3 locally", "self-hosted llama", "ollama reasoning / thinking models", "deepseek-r1 with warlock"; typical import `import { OllamaSDK } from "@warlock.js/ai-ollama"`. Skip: agent loop — the `run-ai-agent` topic of the `warlock-js-ai` skill; provider choice — the `pick-ai-provider` topic of the `warlock-js-ai` skill; embeddings core — the `embed-text` topic of the `warlock-js-ai` skill; siblings `@warlock.js/ai-openai`, `@warlock.js/ai-anthropic`, `@warlock.js/ai-google`; raw `ollama` npm, Vercel `@ai-sdk/ollama`; OpenAI-compat gateway via `@warlock.js/ai-openai` `baseURL`.
|
|
9
|
+
- [ai-ollama](@warlock.js/ai-ollama/skills/SKILL.md): Local Ollama models for Warlock AI: `OllamaSDK`, `OllamaCallOptions`, `OllamaModelConfig` and `OllamaEmbedderConfig`. Use for "run a local LLM", "connect Ollama", pull model tags, stream chat, use tools, configure thinking or generate embeddings through `model()` and `embedder()`. Not this package → @warlock.js/ai for agents and RAG; @warlock.js/ai-openai for hosted OpenAI-compatible servers.
|
package/package.json
CHANGED
|
@@ -14,13 +14,13 @@
|
|
|
14
14
|
"directory": "packages/ai-ollama"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
|
-
"@warlock.js/ai": "5.34.
|
|
17
|
+
"@warlock.js/ai": "5.34.3"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"ollama": "^0.6.3",
|
|
21
|
-
"@warlock.js/logger": "5.34.
|
|
21
|
+
"@warlock.js/logger": "5.34.3"
|
|
22
22
|
},
|
|
23
|
-
"version": "5.34.
|
|
23
|
+
"version": "5.34.3",
|
|
24
24
|
"main": "./cjs/index.cjs",
|
|
25
25
|
"module": "./esm/index.mjs",
|
|
26
26
|
"types": "./esm/index.d.mts",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
3
|
-
description: '
|
|
2
|
+
name: warlock-js-ai-ollama
|
|
3
|
+
description: 'Local Ollama models for Warlock AI: `OllamaSDK`, `OllamaCallOptions`, `OllamaModelConfig` and `OllamaEmbedderConfig`. Use for "run a local LLM", "connect Ollama", pull model tags, stream chat, use tools, configure thinking or generate embeddings through `model()` and `embedder()`. Not this package → @warlock.js/ai for agents and RAG; @warlock.js/ai-openai for hosted OpenAI-compatible servers.'
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# `@warlock.js/ai-ollama`
|
package/skills/index.md
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "Provider adapter for local and self-hosted Ollama servers in Warlock AI applications. Exports `OllamaSDK` with model and provider configuration for the shared AI contracts. Use when connecting this provider, configuring host and headers, reasoning, embeddings and daemon errors, or diagnosing provider requests and usage. Read `setup-ollama` for construction and examples using an Ollama host. Not this package: agent loops, tools and workflows → @warlock.js/ai; HTTP and MCP tools → @warlock.js/ai-tools."
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# @warlock.js/ai-ollama
|
|
6
|
-
|
|
7
|
-
This adapter supplies provider-backed models for `@warlock.js/ai`. Read `setup-ollama.md` to construct `OllamaSDK`, configure host and headers, reasoning, embeddings and daemon errors, and understand provider-specific behavior.
|
|
8
|
-
|
|
9
|
-
For agent composition, read the `run-ai-agent` topic of the `@warlock.js/ai` package. Keep provider configuration here and application orchestration in that package.
|