@askalf/dario 6.12.22 → 6.12.24
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/dist/analytics.js +2 -0
- package/dist/live-fingerprint.d.ts +1 -1
- package/dist/live-fingerprint.js +1 -1
- package/docs/docker.md +13 -6
- package/package.json +1 -1
package/dist/analytics.js
CHANGED
|
@@ -253,6 +253,8 @@ export const PRICING = {
|
|
|
253
253
|
*/
|
|
254
254
|
export const OPENAI_PRICING = {
|
|
255
255
|
'gpt-6-astra': { input: 10, output: 50, cacheRead: 1, cacheCreate: 12.5 },
|
|
256
|
+
'gpt-6-sol': { input: 2, output: 10, cacheRead: 0.2, cacheCreate: 2.5 },
|
|
257
|
+
'gpt-6-luna': { input: 0.1, output: 0.5, cacheRead: 0.01, cacheCreate: 0.125 },
|
|
256
258
|
'gpt-5.6-sol': { input: 4, output: 20, cacheRead: 0.4, cacheCreate: 5 },
|
|
257
259
|
'gpt-5.6-terra': { input: 2, output: 12, cacheRead: 0.2, cacheCreate: 2.5 },
|
|
258
260
|
'gpt-5.6-luna': { input: 0.2, output: 1.2, cacheRead: 0.02, cacheCreate: 0.25 },
|
|
@@ -510,7 +510,7 @@ export declare function detectDrift(t: TemplateData, installedOverride?: string
|
|
|
510
510
|
*/
|
|
511
511
|
export declare const SUPPORTED_CC_RANGE: {
|
|
512
512
|
readonly min: "1.0.0";
|
|
513
|
-
readonly maxTested: "2.1.
|
|
513
|
+
readonly maxTested: "2.1.289";
|
|
514
514
|
};
|
|
515
515
|
/**
|
|
516
516
|
* Compare two dotted-numeric version strings. Returns negative if `a<b`,
|
package/dist/live-fingerprint.js
CHANGED
|
@@ -1211,7 +1211,7 @@ export function detectDrift(t, installedOverride) {
|
|
|
1211
1211
|
*/
|
|
1212
1212
|
export const SUPPORTED_CC_RANGE = {
|
|
1213
1213
|
min: '1.0.0',
|
|
1214
|
-
maxTested: '2.1.
|
|
1214
|
+
maxTested: '2.1.289',
|
|
1215
1215
|
};
|
|
1216
1216
|
/**
|
|
1217
1217
|
* Compare two dotted-numeric version strings. Returns negative if `a<b`,
|
package/docs/docker.md
CHANGED
|
@@ -139,15 +139,22 @@ have to re-run `dario login` each time.
|
|
|
139
139
|
|
|
140
140
|
## Healthcheck
|
|
141
141
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
`{"status":"ok"
|
|
145
|
-
|
|
146
|
-
|
|
142
|
+
dario has two health endpoints, and they answer different questions:
|
|
143
|
+
|
|
144
|
+
- `/livez` is **liveness**: HTTP 200 `{"status":"ok"}` whenever the server is accepting
|
|
145
|
+
requests, whatever the account or OAuth state.
|
|
146
|
+
- `/health` is **readiness**: HTTP 200 `{"status":"ok", ...}` once an account is loaded and
|
|
147
|
+
its OAuth is usable, HTTP 503 `{"status":"degraded", ...}` while OAuth is broken or no
|
|
148
|
+
account exists yet.
|
|
149
|
+
|
|
150
|
+
The image ships a Docker `HEALTHCHECK` that hits `/health` every 30s, so
|
|
151
|
+
`depends_on: service_healthy` waits for a usable account. On Kubernetes, point the
|
|
152
|
+
liveness probe at `/livez`: a broken or missing account is not fixed by restarting the
|
|
153
|
+
pod, and a liveness probe on `/health` would restart it in a loop.
|
|
147
154
|
|
|
148
155
|
```yaml
|
|
149
156
|
livenessProbe:
|
|
150
|
-
httpGet: { path: /
|
|
157
|
+
httpGet: { path: /livez, port: 3456 }
|
|
151
158
|
periodSeconds: 30
|
|
152
159
|
readinessProbe:
|
|
153
160
|
httpGet: { path: /health, port: 3456 }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@askalf/dario",
|
|
3
|
-
"version": "6.12.
|
|
3
|
+
"version": "6.12.24",
|
|
4
4
|
"description": "Use your Claude and ChatGPT subscriptions in Cursor, Cline, Aider, Claude Code and the Agent SDK — at subscription pricing, not per-token API bills. One local Anthropic + OpenAI-compatible endpoint: either plan answers either wire shape, with automatic failover when one hits its limit.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|