Files
openclaw/extensions/ollama/openclaw.plugin.json
Peter Steinberger 6aa27d6ecd refactor: retire August compat windows (embedding API, pi aliases, target parser, spawning hook, setup exports, WhatsApp inbound aliases) (#124416)
* refactor(plugin-sdk): retire embedded Pi aliases

* refactor(channels): retire explicit target compatibility

* refactor(plugins): retire subagent spawning hook

* refactor(plugin-sdk): retire shipped channel setup exports

* refactor(whatsapp): retire inbound callback aliases

Proof: focused build and WhatsApp E2E green; broad WhatsApp suite 188/189 files green. extensions/whatsapp/src/monitor-inbox.policy.test.ts flakes only in the parallel batch and passes isolated (10/10).

* refactor(plugin-sdk): retire memory embedding registrar

Migrate every bundled provider and manifest to registerEmbeddingProvider and contracts.embeddingProviders. Preserve memory-specific batching, local-service acquisition, index identity, and auto-selection through the canonical generic registry adapter, then remove the parallel registrar, registry, diagnostics, contracts, tests, and docs.

* chore(plugin-sdk): tighten retired surface budgets

Pin the post-retirement public SDK surface to 144 entrypoints, 4,312 exports, 2,564 callable exports, and 1,133 deprecated exports; agent-harness-runtime now permits exactly nine deprecated exports.
2026-08-15 22:43:47 -07:00

263 lines
6.4 KiB
JSON

{
"id": "ollama",
"doctorContract": {
"configRepair": true
},
"icon": "https://cdn.simpleicons.org/ollama",
"activation": {
"onStartup": true
},
"enabledByDefault": true,
"providers": [
"ollama",
"ollama-cloud"
],
"providerCatalogEntry": "./provider-discovery.ts",
"providerRequest": {
"providers": {
"ollama": {
"family": "ollama"
},
"ollama-cloud": {
"family": "ollama-cloud"
}
}
},
"modelPricing": {
"providers": {
"ollama": {
"external": false
},
"ollama-cloud": {
"external": true
}
}
},
"syntheticAuthRefs": [
"ollama"
],
"nonSecretAuthMarkers": [
"ollama-local"
],
"setup": {
"providers": [
{
"id": "ollama",
"envVars": [
"OLLAMA_API_KEY"
]
},
{
"id": "ollama-cloud",
"envVars": [
"OLLAMA_API_KEY"
]
}
]
},
"providerAuthChoices": [
{
"provider": "ollama",
"method": "local",
"choiceId": "ollama",
"appGuidedDiscovery": true,
"appGuidedActionLabel": "Choose connection",
"choiceLabel": "Ollama",
"choiceHint": "Connect to an Ollama server and select a cloud or local model",
"icon": "https://cdn.simpleicons.org/ollama",
"website": "https://ollama.com/download",
"groupId": "ollama",
"groupLabel": "Ollama",
"groupHint": "Cloud and local open models"
},
{
"provider": "ollama-cloud",
"method": "api-key",
"choiceId": "ollama-cloud",
"appGuidedSecret": true,
"choiceLabel": "Ollama Cloud",
"choiceHint": "Hosted models via ollama.com",
"icon": "https://cdn.simpleicons.org/ollama",
"website": "https://ollama.com/download",
"groupId": "ollama",
"groupLabel": "Ollama",
"groupHint": "Cloud and local open models",
"optionKey": "ollamaCloudApiKey",
"cliFlag": "--ollama-cloud-api-key",
"cliOption": "--ollama-cloud-api-key <key>",
"cliDescription": "Ollama Cloud API key"
}
],
"modelCatalog": {
"runtimeAugment": true,
"providers": {
"ollama-cloud": {
"baseUrl": "https://ollama.com",
"api": "ollama",
"models": [
{
"id": "kimi-k2.5",
"name": "kimi-k2.5",
"status": "deprecated",
"reasoning": true,
"input": [
"text",
"image"
],
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 262144,
"maxTokens": 8192,
"compat": {
"supportsTools": true,
"supportsUsageInStreaming": true
}
},
{
"id": "minimax-m2.7",
"name": "minimax-m2.7",
"reasoning": true,
"input": [
"text"
],
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 196608,
"maxTokens": 8192,
"compat": {
"supportsTools": true,
"supportsUsageInStreaming": true
}
},
{
"id": "glm-5.1",
"name": "glm-5.1",
"reasoning": true,
"input": [
"text"
],
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 202752,
"maxTokens": 8192,
"compat": {
"supportsTools": true,
"supportsUsageInStreaming": true,
"codeMode": "capable"
}
},
{
"id": "glm-5.2",
"name": "glm-5.2",
"reasoning": true,
"input": [
"text"
],
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 1000000,
"maxTokens": 8192,
"compat": {
"supportsTools": true,
"supportsUsageInStreaming": true,
"codeMode": "capable"
}
}
]
}
},
"discovery": {
"ollama": "refreshable",
"ollama-cloud": "refreshable"
}
},
"contracts": {
"embeddingProviders": [
"ollama"
],
"tools": [
"node_inference"
],
"webSearchProviders": [
"ollama"
]
},
"configSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"discovery": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean"
}
}
},
"nodeInference": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean"
}
}
},
"webSearch": {
"type": "object",
"additionalProperties": false,
"properties": {
"baseUrl": {
"type": "string"
}
}
}
}
},
"uiHints": {
"discovery": {
"label": "Model Discovery",
"help": "Plugin-owned controls for Ollama model auto-discovery."
},
"discovery.enabled": {
"label": "Enable Discovery",
"help": "When false, OpenClaw keeps the Ollama plugin available but skips implicit startup discovery of ambient local or remote Ollama models."
},
"nodeInference": {
"label": "Node Inference",
"help": "Controls whether this node host advertises its local Ollama models to agents."
},
"nodeInference.enabled": {
"label": "Enable Node Inference",
"help": "When false, this node host does not advertise or accept Ollama node-inference commands."
},
"webSearch": {
"label": "Web Search",
"help": "Plugin-owned Ollama web search connection settings.",
"advanced": true
},
"webSearch.baseUrl": {
"label": "Web Search Base URL",
"help": "Optional Ollama host override used only for web search.",
"advanced": true
}
}
}