@omg-dev/protocol 0.6.144 → 0.6.146
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fast-mode-support.d.ts","sourceRoot":"","sources":["../src/fast-mode-support.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,
|
|
1
|
+
{"version":3,"file":"fast-mode-support.d.ts","sourceRoot":"","sources":["../src/fast-mode-support.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAIhF;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAE5D;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,OAAO,CAG9E"}
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
export function codexModelSupportsFast(model) {
|
|
3
3
|
if (!model)
|
|
4
4
|
return false;
|
|
5
|
-
|
|
5
|
+
// Codex advertises Fast for GPT-6 (including 6.1), GPT-5.6, GPT-5.5, and exact GPT-5.4.
|
|
6
|
+
return /^(?:gpt-6(?:\.\d+)?(?:-|$)|gpt-5\.(?:6(?:-|$)|5(?:-|$)|4$))/.test(model);
|
|
6
7
|
}
|
|
7
8
|
export function agentSupportsFastMode(agent) {
|
|
8
9
|
return ["codex", "codex-aisdk", "claude", "aisdk"].includes(agent);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fast-mode-support.js","sourceRoot":"","sources":["../src/fast-mode-support.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,MAAM,UAAU,sBAAsB,CAAC,KAAgC;IACrE,IAAI,CAAC,KAAK;QAAE,OAAO,KAAK,CAAC;IACzB,OAAO,
|
|
1
|
+
{"version":3,"file":"fast-mode-support.js","sourceRoot":"","sources":["../src/fast-mode-support.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,MAAM,UAAU,sBAAsB,CAAC,KAAgC;IACrE,IAAI,CAAC,KAAK;QAAE,OAAO,KAAK,CAAC;IACzB,wFAAwF;IACxF,OAAO,6DAA6D,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AACnF,CAAC;AAED,MAAM,UAAU,qBAAqB,CAAC,KAAa;IACjD,OAAO,CAAC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AACrE,CAAC;AAED,MAAM,UAAU,gBAAgB,CAAC,KAAa,EAAE,KAAqB;IACnE,OAAO,qBAAqB,CAAC,KAAK,CAAC;QACjC,CAAC,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,OAAO,IAAI,sBAAsB,CAAC,KAAK,CAAC,CAAC,CAAC;AAC/E,CAAC"}
|