@openclaw/abliteration-provider 0.0.0-stage → 2026.11.5-beta.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.
package/README.md CHANGED
@@ -1,3 +1,11 @@
1
- # Temporary Holding Version
1
+ # OpenClaw Abliteration Provider
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Official OpenClaw provider plugin for Abliteration's OpenAI-compatible API.
4
+
5
+ Install from OpenClaw:
6
+
7
+ ```bash
8
+ openclaw plugins install @openclaw/abliteration-provider
9
+ ```
10
+
11
+ See <https://docs.openclaw.ai/providers/abliteration> for setup and configuration.
@@ -0,0 +1,4 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="199 230 602.487 540.458">
2
+ <!-- Source: https://abliteration.ai/icon.svg (2026-10-23). Background plate removed; original mark geometry retained. Names and marks remain the property of Abliteration AI, Inc. -->
3
+ <path fill="currentColor" d="M282.521 230H199V770.458H282.521V230Z M801.487 230H712.348L501.571 740.998L489.954 770.458H577.195L788.58 261.434L801.487 230Z M506.281 230H422.533L346.528 758.613L344.706 770.458H428.151L502.029 257.942L506.281 230Z" />
4
+ </svg>
Binary file
@@ -0,0 +1,200 @@
1
+ import { buildManifestModelProviderConfig } from "openclaw/plugin-sdk/provider-catalog-shared";
2
+ //#region extensions/abliteration/openclaw.plugin.json
3
+ var openclaw_plugin_default = {
4
+ id: "abliteration",
5
+ categories: ["models"],
6
+ name: "Abliteration",
7
+ description: "OpenClaw Abliteration provider plugin.",
8
+ activation: { "onStartup": false },
9
+ enabledByDefault: true,
10
+ providers: ["abliteration"],
11
+ setup: { "providers": [{
12
+ "id": "abliteration",
13
+ "envVars": ["ABLITERATION_API_KEY", "ABLIT_KEY"]
14
+ }] },
15
+ providerAuthChoices: [{
16
+ "provider": "abliteration",
17
+ "method": "api-key",
18
+ "choiceId": "abliteration-api-key",
19
+ "appGuidedSecret": true,
20
+ "choiceLabel": "Abliteration API key",
21
+ "choiceHint": "OpenAI-compatible abliterated open-weight models",
22
+ "groupId": "abliteration",
23
+ "groupLabel": "Abliteration",
24
+ "groupHint": "OpenAI-compatible abliterated open-weight models",
25
+ "optionKey": "abliterationApiKey",
26
+ "cliFlag": "--abliteration-api-key",
27
+ "cliOption": "--abliteration-api-key <key>",
28
+ "cliDescription": "Abliteration API key"
29
+ }],
30
+ modelCatalog: {
31
+ "providers": { "abliteration": {
32
+ "baseUrl": "https://api.abliteration.ai/v1",
33
+ "api": "openai-completions",
34
+ "defaultModel": "abliterated-model-large-flash",
35
+ "models": [
36
+ {
37
+ "id": "abliterated-model-large-flash",
38
+ "name": "Abliterated Large Flash",
39
+ "reasoning": true,
40
+ "input": ["text", "image"],
41
+ "contextWindow": 1048576,
42
+ "maxTokens": 262144,
43
+ "cost": {
44
+ "input": 1,
45
+ "output": 2,
46
+ "cacheRead": .1,
47
+ "cacheWrite": 0
48
+ },
49
+ "compat": {
50
+ "supportsStore": false,
51
+ "supportsUsageInStreaming": true,
52
+ "supportsPromptCacheKey": true,
53
+ "supportsReasoningEffort": true,
54
+ "maxTokensField": "max_tokens",
55
+ "thinkingFormat": "openai",
56
+ "supportedReasoningEfforts": [
57
+ "none",
58
+ "low",
59
+ "high",
60
+ "max"
61
+ ],
62
+ "reasoningEffortMap": {
63
+ "off": "none",
64
+ "low": "low",
65
+ "high": "high",
66
+ "max": "max"
67
+ },
68
+ "supportsLongCacheRetention": false
69
+ }
70
+ },
71
+ {
72
+ "id": "abliterated-model-large-v2",
73
+ "name": "Abliterated Large v2",
74
+ "reasoning": true,
75
+ "input": ["text"],
76
+ "contextWindow": 1e6,
77
+ "maxTokens": 999990,
78
+ "cost": {
79
+ "input": 3,
80
+ "output": 5,
81
+ "cacheRead": .3,
82
+ "cacheWrite": 0
83
+ },
84
+ "compat": {
85
+ "supportsStore": false,
86
+ "supportsUsageInStreaming": true,
87
+ "supportsPromptCacheKey": true,
88
+ "supportsReasoningEffort": true,
89
+ "maxTokensField": "max_tokens",
90
+ "thinkingFormat": "openai",
91
+ "supportedReasoningEfforts": [
92
+ "low",
93
+ "high",
94
+ "max"
95
+ ],
96
+ "reasoningEffortMap": {
97
+ "off": "low",
98
+ "low": "low",
99
+ "high": "high",
100
+ "max": "max"
101
+ },
102
+ "supportsLongCacheRetention": false
103
+ }
104
+ },
105
+ {
106
+ "id": "abliterated-model",
107
+ "name": "Abliterated Model",
108
+ "reasoning": true,
109
+ "input": ["text", "image"],
110
+ "contextWindow": 262144,
111
+ "maxTokens": 262134,
112
+ "cost": {
113
+ "input": 1,
114
+ "output": 3,
115
+ "cacheRead": .1,
116
+ "cacheWrite": 0
117
+ },
118
+ "compat": {
119
+ "supportsStore": false,
120
+ "supportsUsageInStreaming": true,
121
+ "supportsPromptCacheKey": true,
122
+ "supportsReasoningEffort": true,
123
+ "maxTokensField": "max_tokens",
124
+ "thinkingFormat": "openai",
125
+ "supportedReasoningEfforts": [
126
+ "none",
127
+ "minimal",
128
+ "low",
129
+ "medium",
130
+ "high",
131
+ "xhigh",
132
+ "max"
133
+ ],
134
+ "reasoningEffortMap": {
135
+ "off": "none",
136
+ "minimal": "minimal",
137
+ "low": "low",
138
+ "medium": "medium",
139
+ "high": "high",
140
+ "xhigh": "xhigh",
141
+ "max": "max"
142
+ },
143
+ "supportsLongCacheRetention": false
144
+ }
145
+ },
146
+ {
147
+ "id": "abliterated-model-large",
148
+ "name": "Abliterated Large",
149
+ "reasoning": true,
150
+ "input": ["text"],
151
+ "contextWindow": 1e6,
152
+ "maxTokens": 999990,
153
+ "cost": {
154
+ "input": 3,
155
+ "output": 5,
156
+ "cacheRead": .3,
157
+ "cacheWrite": 0
158
+ },
159
+ "compat": {
160
+ "supportsStore": false,
161
+ "supportsUsageInStreaming": true,
162
+ "supportsPromptCacheKey": true,
163
+ "supportsReasoningEffort": true,
164
+ "maxTokensField": "max_tokens",
165
+ "thinkingFormat": "openai",
166
+ "supportedReasoningEfforts": [
167
+ "none",
168
+ "high",
169
+ "max"
170
+ ],
171
+ "reasoningEffortMap": {
172
+ "off": "none",
173
+ "high": "high",
174
+ "max": "max"
175
+ },
176
+ "supportsLongCacheRetention": false
177
+ },
178
+ "status": "deprecated"
179
+ }
180
+ ]
181
+ } },
182
+ "discovery": { "abliteration": "static" }
183
+ },
184
+ configSchema: {
185
+ "type": "object",
186
+ "additionalProperties": false,
187
+ "properties": {}
188
+ }
189
+ };
190
+ //#endregion
191
+ //#region extensions/abliteration/models.ts
192
+ function buildAbliterationProvider() {
193
+ return buildManifestModelProviderConfig({
194
+ providerId: "abliteration",
195
+ catalog: openclaw_plugin_default.modelCatalog.providers.abliteration
196
+ });
197
+ }
198
+ const ABLITERATION_DEFAULT_MODEL_REF = `abliteration/abliterated-model-large-flash`;
199
+ //#endregion
200
+ export { buildAbliterationProvider as n, openclaw_plugin_default as r, ABLITERATION_DEFAULT_MODEL_REF as t };
@@ -0,0 +1 @@
1
+ {"version":3,"entries":[{"output":"index.js","source":"extensions/abliteration/index.ts"},{"output":"models.js","source":"extensions/abliteration/models.ts"}],"chunks":[{"output":".setup/models-hLxDRXD4.mjs","sha256":"4761f98246e593a30c6bae21a993591e60b9c943d8921c5fe673730fb5ac0f21","facadeSource":null,"sources":["extensions/abliteration/models.ts","extensions/abliteration/openclaw.plugin.json"]},{"output":"index.js","sha256":"04cd8b556f8f2fe3f9d2d33e74ffe760200d7cd68fefb0dece5f90e2f0a5f405","facadeSource":"extensions/abliteration/index.ts","sources":["extensions/abliteration/index.ts"]},{"output":"models.js","sha256":"e841f12341f8ae0aefb1d70d44ac2755eae5dd3a03982a1596efad9632aa0f1e","facadeSource":"extensions/abliteration/models.ts","sources":[]}],"unrenderedSources":[]}
package/dist/index.js ADDED
@@ -0,0 +1,51 @@
1
+ import { n as buildAbliterationProvider, r as openclaw_plugin_default, t as ABLITERATION_DEFAULT_MODEL_REF } from "./.setup/models-hLxDRXD4.mjs";
2
+ import { readConfiguredProviderCatalogEntries } from "openclaw/plugin-sdk/provider-catalog-shared";
3
+ import { defineSingleProviderPluginEntry } from "openclaw/plugin-sdk/provider-entry";
4
+ import { buildProviderReplayFamilyHooks } from "openclaw/plugin-sdk/provider-model-shared";
5
+ import { createProviderConnectionPresetAppliers } from "openclaw/plugin-sdk/provider-onboard";
6
+ import { buildProviderToolCompatFamilyHooks } from "openclaw/plugin-sdk/provider-tools";
7
+ //#region extensions/abliteration/index.ts
8
+ const PROVIDER_ID = "abliteration";
9
+ const abliterationProvider = buildAbliterationProvider();
10
+ var abliteration_default = defineSingleProviderPluginEntry({
11
+ id: PROVIDER_ID,
12
+ name: "Abliteration Provider",
13
+ description: "Abliteration provider plugin",
14
+ manifest: openclaw_plugin_default,
15
+ provider: {
16
+ label: "Abliteration",
17
+ docsPath: "/providers/abliteration",
18
+ envVars: ["ABLITERATION_API_KEY", "ABLIT_KEY"],
19
+ manifestAuth: {
20
+ defaultModel: ABLITERATION_DEFAULT_MODEL_REF,
21
+ applyConfig: createProviderConnectionPresetAppliers({
22
+ primaryModelRef: ABLITERATION_DEFAULT_MODEL_REF,
23
+ resolveParams: () => ({
24
+ providerId: "abliteration",
25
+ api: "openai-completions",
26
+ baseUrl: abliterationProvider.baseUrl,
27
+ catalogModels: () => abliterationProvider.models,
28
+ aliases: [{
29
+ modelRef: ABLITERATION_DEFAULT_MODEL_REF,
30
+ alias: "Abliterated Large Flash"
31
+ }]
32
+ })
33
+ }).applyConfig,
34
+ noteTitle: "Abliteration",
35
+ noteMessage: "Create an API key at https://abliteration.ai."
36
+ },
37
+ catalog: {},
38
+ augmentModelCatalog: ({ config }) => readConfiguredProviderCatalogEntries({
39
+ config,
40
+ providerId: PROVIDER_ID
41
+ }),
42
+ ...buildProviderReplayFamilyHooks({
43
+ family: "openai-compatible",
44
+ dropReasoningFromHistory: false
45
+ }),
46
+ ...buildProviderToolCompatFamilyHooks("openai"),
47
+ isModernModelRef: () => true
48
+ }
49
+ });
50
+ //#endregion
51
+ export { abliteration_default as default };
package/dist/models.js ADDED
@@ -0,0 +1 @@
1
+ export { t as ABLITERATION_DEFAULT_MODEL_REF, n as buildAbliterationProvider } from "./.setup/models-hLxDRXD4.mjs";
@@ -0,0 +1,216 @@
1
+ {
2
+ "id": "abliteration",
3
+ "categories": [
4
+ "models"
5
+ ],
6
+ "name": "Abliteration",
7
+ "description": "OpenClaw Abliteration provider plugin.",
8
+ "activation": {
9
+ "onStartup": false
10
+ },
11
+ "enabledByDefault": true,
12
+ "providers": [
13
+ "abliteration"
14
+ ],
15
+ "setup": {
16
+ "providers": [
17
+ {
18
+ "id": "abliteration",
19
+ "envVars": [
20
+ "ABLITERATION_API_KEY",
21
+ "ABLIT_KEY"
22
+ ]
23
+ }
24
+ ]
25
+ },
26
+ "providerAuthChoices": [
27
+ {
28
+ "provider": "abliteration",
29
+ "method": "api-key",
30
+ "choiceId": "abliteration-api-key",
31
+ "appGuidedSecret": true,
32
+ "choiceLabel": "Abliteration API key",
33
+ "choiceHint": "OpenAI-compatible abliterated open-weight models",
34
+ "groupId": "abliteration",
35
+ "groupLabel": "Abliteration",
36
+ "groupHint": "OpenAI-compatible abliterated open-weight models",
37
+ "optionKey": "abliterationApiKey",
38
+ "cliFlag": "--abliteration-api-key",
39
+ "cliOption": "--abliteration-api-key <key>",
40
+ "cliDescription": "Abliteration API key"
41
+ }
42
+ ],
43
+ "modelCatalog": {
44
+ "providers": {
45
+ "abliteration": {
46
+ "baseUrl": "https://api.abliteration.ai/v1",
47
+ "api": "openai-completions",
48
+ "defaultModel": "abliterated-model-large-flash",
49
+ "models": [
50
+ {
51
+ "id": "abliterated-model-large-flash",
52
+ "name": "Abliterated Large Flash",
53
+ "reasoning": true,
54
+ "input": [
55
+ "text",
56
+ "image"
57
+ ],
58
+ "contextWindow": 1048576,
59
+ "maxTokens": 262144,
60
+ "cost": {
61
+ "input": 1,
62
+ "output": 2,
63
+ "cacheRead": 0.1,
64
+ "cacheWrite": 0
65
+ },
66
+ "compat": {
67
+ "supportsStore": false,
68
+ "supportsUsageInStreaming": true,
69
+ "supportsPromptCacheKey": true,
70
+ "supportsReasoningEffort": true,
71
+ "maxTokensField": "max_tokens",
72
+ "thinkingFormat": "openai",
73
+ "supportedReasoningEfforts": [
74
+ "none",
75
+ "low",
76
+ "high",
77
+ "max"
78
+ ],
79
+ "reasoningEffortMap": {
80
+ "off": "none",
81
+ "low": "low",
82
+ "high": "high",
83
+ "max": "max"
84
+ },
85
+ "supportsLongCacheRetention": false
86
+ }
87
+ },
88
+ {
89
+ "id": "abliterated-model-large-v2",
90
+ "name": "Abliterated Large v2",
91
+ "reasoning": true,
92
+ "input": [
93
+ "text"
94
+ ],
95
+ "contextWindow": 1000000,
96
+ "maxTokens": 999990,
97
+ "cost": {
98
+ "input": 3,
99
+ "output": 5,
100
+ "cacheRead": 0.3,
101
+ "cacheWrite": 0
102
+ },
103
+ "compat": {
104
+ "supportsStore": false,
105
+ "supportsUsageInStreaming": true,
106
+ "supportsPromptCacheKey": true,
107
+ "supportsReasoningEffort": true,
108
+ "maxTokensField": "max_tokens",
109
+ "thinkingFormat": "openai",
110
+ "supportedReasoningEfforts": [
111
+ "low",
112
+ "high",
113
+ "max"
114
+ ],
115
+ "reasoningEffortMap": {
116
+ "off": "low",
117
+ "low": "low",
118
+ "high": "high",
119
+ "max": "max"
120
+ },
121
+ "supportsLongCacheRetention": false
122
+ }
123
+ },
124
+ {
125
+ "id": "abliterated-model",
126
+ "name": "Abliterated Model",
127
+ "reasoning": true,
128
+ "input": [
129
+ "text",
130
+ "image"
131
+ ],
132
+ "contextWindow": 262144,
133
+ "maxTokens": 262134,
134
+ "cost": {
135
+ "input": 1,
136
+ "output": 3,
137
+ "cacheRead": 0.1,
138
+ "cacheWrite": 0
139
+ },
140
+ "compat": {
141
+ "supportsStore": false,
142
+ "supportsUsageInStreaming": true,
143
+ "supportsPromptCacheKey": true,
144
+ "supportsReasoningEffort": true,
145
+ "maxTokensField": "max_tokens",
146
+ "thinkingFormat": "openai",
147
+ "supportedReasoningEfforts": [
148
+ "none",
149
+ "minimal",
150
+ "low",
151
+ "medium",
152
+ "high",
153
+ "xhigh",
154
+ "max"
155
+ ],
156
+ "reasoningEffortMap": {
157
+ "off": "none",
158
+ "minimal": "minimal",
159
+ "low": "low",
160
+ "medium": "medium",
161
+ "high": "high",
162
+ "xhigh": "xhigh",
163
+ "max": "max"
164
+ },
165
+ "supportsLongCacheRetention": false
166
+ }
167
+ },
168
+ {
169
+ "id": "abliterated-model-large",
170
+ "name": "Abliterated Large",
171
+ "reasoning": true,
172
+ "input": [
173
+ "text"
174
+ ],
175
+ "contextWindow": 1000000,
176
+ "maxTokens": 999990,
177
+ "cost": {
178
+ "input": 3,
179
+ "output": 5,
180
+ "cacheRead": 0.3,
181
+ "cacheWrite": 0
182
+ },
183
+ "compat": {
184
+ "supportsStore": false,
185
+ "supportsUsageInStreaming": true,
186
+ "supportsPromptCacheKey": true,
187
+ "supportsReasoningEffort": true,
188
+ "maxTokensField": "max_tokens",
189
+ "thinkingFormat": "openai",
190
+ "supportedReasoningEfforts": [
191
+ "none",
192
+ "high",
193
+ "max"
194
+ ],
195
+ "reasoningEffortMap": {
196
+ "off": "none",
197
+ "high": "high",
198
+ "max": "max"
199
+ },
200
+ "supportsLongCacheRetention": false
201
+ },
202
+ "status": "deprecated"
203
+ }
204
+ ]
205
+ }
206
+ },
207
+ "discovery": {
208
+ "abliteration": "static"
209
+ }
210
+ },
211
+ "configSchema": {
212
+ "type": "object",
213
+ "additionalProperties": false,
214
+ "properties": {}
215
+ }
216
+ }
package/package.json CHANGED
@@ -1,6 +1,51 @@
1
1
  {
2
2
  "name": "@openclaw/abliteration-provider",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "2026.11.5-beta.2",
4
+ "description": "OpenClaw Abliteration provider plugin.",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/openclaw/openclaw"
8
+ },
9
+ "type": "module",
10
+ "openclaw": {
11
+ "extensions": [
12
+ "./index.ts"
13
+ ],
14
+ "install": {
15
+ "clawhubSpec": "clawhub:@openclaw/abliteration-provider",
16
+ "npmSpec": "@openclaw/abliteration-provider",
17
+ "defaultChoice": "npm",
18
+ "minHostVersion": ">=2026.10.6"
19
+ },
20
+ "compat": {
21
+ "pluginApi": ">=2026.11.5-beta.2"
22
+ },
23
+ "build": {
24
+ "openclawVersion": "2026.11.5-beta.2",
25
+ "bundledDist": false
26
+ },
27
+ "release": {
28
+ "publishToClawHub": true,
29
+ "publishToNpm": true
30
+ },
31
+ "runtimeExtensions": [
32
+ "./dist/index.js"
33
+ ]
34
+ },
35
+ "files": [
36
+ "dist/**",
37
+ "openclaw.plugin.json",
38
+ "README.md",
39
+ "assets/icon.png",
40
+ "assets/activity.svg"
41
+ ],
42
+ "peerDependencies": {
43
+ "openclaw": ">=2026.11.5-beta.2"
44
+ },
45
+ "peerDependenciesMeta": {
46
+ "openclaw": {
47
+ "optional": true
48
+ }
49
+ },
50
+ "bundledDependencies": []
51
+ }