larkin 0.2.82 → 0.2.83
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/platform/config.cjs
CHANGED
|
@@ -72,7 +72,7 @@ const CHAT_ID = /^oc_[A-Za-z0-9_-]+$/;
|
|
|
72
72
|
const PI_EFFORTS = new Set(["off", "minimal", "low", "medium", "high", "xhigh", "max"]);
|
|
73
73
|
const CODEX_EFFORTS = new Set(["minimal", "low", "medium", "high", "xhigh", "max", "ultra"]);
|
|
74
74
|
const CLAUDE_EFFORTS = new Set(["low", "medium", "high", "xhigh", "max"]);
|
|
75
|
-
const PI_MODEL = /^[A-Za-z0-9._-]
|
|
75
|
+
const PI_MODEL = /^[A-Za-z0-9._-]+(\/[A-Za-z0-9._:@+-]+)?$/;
|
|
76
76
|
const CODEX_MODEL = /^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$/;
|
|
77
77
|
const CLAUDE_MODEL = /^[A-Za-z0-9][A-Za-z0-9._\[\]-]{0,127}$/;
|
|
78
78
|
const CONFIG_LIMIT_BYTES = 1024 * 1024;
|
package/dist/platform/config.mjs
CHANGED
|
@@ -15,7 +15,7 @@ const CHAT_ID = /^oc_[A-Za-z0-9_-]+$/;
|
|
|
15
15
|
const PI_EFFORTS = new Set(["off", "minimal", "low", "medium", "high", "xhigh", "max"]);
|
|
16
16
|
const CODEX_EFFORTS = new Set(["minimal", "low", "medium", "high", "xhigh", "max", "ultra"]);
|
|
17
17
|
const CLAUDE_EFFORTS = new Set(["low", "medium", "high", "xhigh", "max"]);
|
|
18
|
-
const PI_MODEL = /^[A-Za-z0-9._-]
|
|
18
|
+
const PI_MODEL = /^[A-Za-z0-9._-]+(\/[A-Za-z0-9._:@+-]+)?$/;
|
|
19
19
|
const CODEX_MODEL = /^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$/;
|
|
20
20
|
const CLAUDE_MODEL = /^[A-Za-z0-9][A-Za-z0-9._\[\]-]{0,127}$/;
|
|
21
21
|
const CONFIG_LIMIT_BYTES = 1024 * 1024;
|