@byokkit/cmd-provider-openai 0.1.3 → 0.1.4
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.
|
@@ -30,6 +30,18 @@ var OPENAI_MODEL_OPTIONS = {
|
|
|
30
30
|
reasoningEfforts: EFFORT_LOW_TO_MAX,
|
|
31
31
|
contextWindow: 105e4
|
|
32
32
|
},
|
|
33
|
+
GPT_6_1_SOL: {
|
|
34
|
+
id: "gpt-6.1-sol",
|
|
35
|
+
inputModalities: ["text", "image"],
|
|
36
|
+
provider: "openai",
|
|
37
|
+
spec: "responses",
|
|
38
|
+
label: "GPT-6.1 Sol",
|
|
39
|
+
name: "GPT-6.1 Sol",
|
|
40
|
+
description: "near-Astra performance for complex work at a lower cost",
|
|
41
|
+
reasoning: true,
|
|
42
|
+
reasoningEfforts: EFFORT_LOW_TO_MAX,
|
|
43
|
+
contextWindow: 105e4
|
|
44
|
+
},
|
|
33
45
|
GPT_6_SOL: {
|
|
34
46
|
id: "gpt-6-sol",
|
|
35
47
|
inputModalities: ["text", "image"],
|
|
@@ -160,4 +172,4 @@ export {
|
|
|
160
172
|
OPENAI_SUPPORTED_MODEL_PROVIDERS,
|
|
161
173
|
OPENAI_MODEL_SPECS
|
|
162
174
|
};
|
|
163
|
-
//# sourceMappingURL=chunk-
|
|
175
|
+
//# sourceMappingURL=chunk-4JWBBAVG.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/models.ts"],"sourcesContent":["// @byokkit/cmd-provider-openai/models — the COMPLETE OpenAI model catalog: /model picker\n// metadata, Responses-vs-ChatComplete spec kinds, context windows, and reasoning efforts.\n// Dependency-free plain data (structural types) so the CLI (via shared/constants), the API\n// worker, and Studio can all consume it, and so this package can move to its own repo without\n// dragging monorepo internals along. Values are a verbatim port from shared/constants.ts +\n// harness/config/known-models.ts — those sites now import from HERE.\n\nexport type OpenAIReasoningEffort = 'low' | 'medium' | 'high' | 'xhigh' | 'max';\n\n// Structural copy of shared's ModelOption (shared `satisfies`-checks on import).\nexport interface OpenAIModelOption {\n\treadonly id: string;\n\treadonly provider: 'openai';\n\treadonly spec: 'responses' | 'chatComplete';\n\treadonly label: string;\n\treadonly name: string;\n\treadonly description: string;\n\treadonly reasoning?: boolean;\n\treadonly reasoningEfforts?: readonly OpenAIReasoningEffort[];\n\treadonly contextWindow?: number;\n\treadonly inputModalities?: readonly ('text' | 'image')[];\n}\n\nconst EFFORT_LOW_TO_MAX: readonly OpenAIReasoningEffort[] = [\n\t'low',\n\t'medium',\n\t'high',\n\t'xhigh',\n\t'max',\n];\n\nconst EFFORT_LOW_TO_XHIGH: readonly OpenAIReasoningEffort[] = [\n\t'low',\n\t'medium',\n\t'high',\n\t'xhigh',\n];\n\nconst EFFORT_LOW_TO_HIGH: readonly OpenAIReasoningEffort[] = [\n\t'low',\n\t'medium',\n\t'high',\n];\n\n// The /model catalog entries (verbatim from shared MODEL_OPTIONS; key names preserved so\n// shared's spread keeps identical keys).\nexport const OPENAI_MODEL_OPTIONS = {\n\tGPT_6_ASTRA: {\n\t\tid: 'gpt-6-astra',\n\t\tinputModalities: ['text', 'image'],\n\t\tprovider: 'openai',\n\t\tspec: 'responses',\n\t\tlabel: 'GPT-6 Astra',\n\t\tname: 'GPT-6 Astra',\n\t\tdescription:\n\t\t\t'most capable OpenAI model for demanding reasoning & agents',\n\t\treasoning: true,\n\t\treasoningEfforts: EFFORT_LOW_TO_MAX,\n\t\tcontextWindow: 1_050_000,\n\t},\n\tGPT_6_1_SOL: {\n\t\tid: 'gpt-6.1-sol',\n\t\tinputModalities: ['text', 'image'],\n\t\tprovider: 'openai',\n\t\tspec: 'responses',\n\t\tlabel: 'GPT-6.1 Sol',\n\t\tname: 'GPT-6.1 Sol',\n\t\tdescription: 'near-Astra performance for complex work at a lower cost',\n\t\treasoning: true,\n\t\treasoningEfforts: EFFORT_LOW_TO_MAX,\n\t\tcontextWindow: 1_050_000,\n\t},\n\tGPT_6_SOL: {\n\t\tid: 'gpt-6-sol',\n\t\tinputModalities: ['text', 'image'],\n\t\tprovider: 'openai',\n\t\tspec: 'responses',\n\t\tlabel: 'GPT-6 Sol',\n\t\tname: 'GPT-6 Sol',\n\t\tdescription: 'built for complex coding & agentic workflows',\n\t\treasoning: true,\n\t\treasoningEfforts: EFFORT_LOW_TO_MAX,\n\t\tcontextWindow: 1_050_000,\n\t},\n\tGPT_6_LUNA: {\n\t\tid: 'gpt-6-luna',\n\t\tinputModalities: ['text', 'image'],\n\t\tprovider: 'openai',\n\t\tspec: 'responses',\n\t\tlabel: 'GPT-6 Luna',\n\t\tname: 'GPT-6 Luna',\n\t\tdescription:\n\t\t\t'most efficient OpenAI model for focused, high-volume tasks',\n\t\treasoning: true,\n\t\treasoningEfforts: EFFORT_LOW_TO_MAX,\n\t\tcontextWindow: 1_050_000,\n\t},\n\tGPT_5_6_SOL: {\n\t\tid: 'gpt-5.6-sol',\n\t\tinputModalities: ['text', 'image'],\n\t\tprovider: 'openai',\n\t\tspec: 'responses',\n\t\tlabel: 'GPT-5.6 Sol',\n\t\tname: 'GPT-5.6 Sol',\n\t\tdescription: 'frontier model for complex professional work',\n\t\treasoning: true,\n\t\treasoningEfforts: EFFORT_LOW_TO_MAX,\n\t\tcontextWindow: 1_050_000,\n\t},\n\tGPT_5_6_TERRA: {\n\t\tid: 'gpt-5.6-terra',\n\t\tinputModalities: ['text', 'image'],\n\t\tprovider: 'openai',\n\t\tspec: 'responses',\n\t\tlabel: 'GPT-5.6 Terra',\n\t\tname: 'GPT-5.6 Terra',\n\t\tdescription: 'balances intelligence and cost',\n\t\treasoning: true,\n\t\treasoningEfforts: EFFORT_LOW_TO_MAX,\n\t\tcontextWindow: 1_050_000,\n\t},\n\tGPT_5_6_LUNA: {\n\t\tid: 'gpt-5.6-luna',\n\t\tinputModalities: ['text', 'image'],\n\t\tprovider: 'openai',\n\t\tspec: 'responses',\n\t\tlabel: 'GPT-5.6 Luna',\n\t\tname: 'GPT-5.6 Luna',\n\t\tdescription: 'optimized for cost-sensitive workloads',\n\t\treasoning: true,\n\t\treasoningEfforts: EFFORT_LOW_TO_MAX,\n\t\tcontextWindow: 1_050_000,\n\t},\n\tGPT_5_5: {\n\t\tid: 'gpt-5.5',\n\t\tinputModalities: ['text', 'image'],\n\t\tprovider: 'openai',\n\t\tspec: 'responses',\n\t\tlabel: 'GPT-5.5',\n\t\tname: 'GPT-5.5',\n\t\tdescription: 'latest frontier model for general complex work',\n\t\treasoning: true,\n\t\treasoningEfforts: EFFORT_LOW_TO_XHIGH,\n\t\t// 400k like the rest of the 5.x line (harness known-models mirrors this value).\n\t\tcontextWindow: 400_000,\n\t},\n\tGPT_5_4: {\n\t\tid: 'gpt-5.4',\n\t\tinputModalities: ['text', 'image'],\n\t\tprovider: 'openai',\n\t\tspec: 'responses',\n\t\tlabel: 'GPT-5.4',\n\t\tname: 'GPT-5.4',\n\t\tdescription: 'frontier model for general complex work',\n\t\treasoning: true,\n\t\treasoningEfforts: EFFORT_LOW_TO_XHIGH,\n\t\tcontextWindow: 400_000,\n\t},\n\tGPT_5_3_CODEX: {\n\t\tid: 'gpt-5.3-codex',\n\t\tinputModalities: ['text', 'image'],\n\t\tprovider: 'openai',\n\t\tspec: 'responses',\n\t\tlabel: 'GPT-5.3 Codex',\n\t\tname: 'GPT-5.3 Codex',\n\t\tdescription: 'frontier coding model',\n\t\treasoning: true,\n\t\treasoningEfforts: EFFORT_LOW_TO_XHIGH,\n\t\tcontextWindow: 400_000,\n\t},\n\tGPT_5_4_MINI: {\n\t\tid: 'gpt-5.4-mini',\n\t\tinputModalities: ['text', 'image'],\n\t\tprovider: 'openai',\n\t\tspec: 'responses',\n\t\tlabel: 'GPT-5.4 Mini',\n\t\tname: 'GPT-5.4 Mini',\n\t\tdescription: 'fast, cost-effective model for everyday tasks',\n\t\treasoning: true,\n\t\treasoningEfforts: EFFORT_LOW_TO_HIGH,\n\t\tcontextWindow: 400_000,\n\t},\n} as const satisfies Record<string, OpenAIModelOption>;\n\n/** Canonical OpenAI model ids, in catalog order. */\nexport const OPENAI_MODEL_IDS: readonly string[] = Object.values(\n\tOPENAI_MODEL_OPTIONS,\n).map(option => option.id);\n\n// The upstream vendors OpenAI serves — the Codex gateway routes a request only when the model's\n// provider is in this set (port of CMD_PROVIDER_REGISTRY['codex'].supportedModelProviders).\nexport const OPENAI_SUPPORTED_MODEL_PROVIDERS: readonly string[] = ['openai'];\n\n/**\n * Harness ModelSpec-shaped catalog (structural — validated on registration by the harness).\n */\nexport const OPENAI_MODEL_SPECS = Object.values(OPENAI_MODEL_OPTIONS).map(\n\toption => ({\n\t\tid: option.id,\n\t\tprovider: 'openai' as const,\n\t\tcontextWindow:\n\t\t\t'contextWindow' in option ? option.contextWindow : undefined,\n\t\treasoningEfforts: option.reasoningEfforts,\n\t\tinputModalities: option.inputModalities,\n\t}),\n);\n"],"mappings":";AAuBA,IAAM,oBAAsD;AAAA,EAC3D;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACD;AAEA,IAAM,sBAAwD;AAAA,EAC7D;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACD;AAEA,IAAM,qBAAuD;AAAA,EAC5D;AAAA,EACA;AAAA,EACA;AACD;AAIO,IAAM,uBAAuB;AAAA,EACnC,aAAa;AAAA,IACZ,IAAI;AAAA,IACJ,iBAAiB,CAAC,QAAQ,OAAO;AAAA,IACjC,UAAU;AAAA,IACV,MAAM;AAAA,IACN,OAAO;AAAA,IACP,MAAM;AAAA,IACN,aACC;AAAA,IACD,WAAW;AAAA,IACX,kBAAkB;AAAA,IAClB,eAAe;AAAA,EAChB;AAAA,EACA,aAAa;AAAA,IACZ,IAAI;AAAA,IACJ,iBAAiB,CAAC,QAAQ,OAAO;AAAA,IACjC,UAAU;AAAA,IACV,MAAM;AAAA,IACN,OAAO;AAAA,IACP,MAAM;AAAA,IACN,aAAa;AAAA,IACb,WAAW;AAAA,IACX,kBAAkB;AAAA,IAClB,eAAe;AAA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TIONS: {
|
|
|
24
24
|
readonly reasoningEfforts: readonly OpenAIReasoningEffort[];
|
|
25
25
|
readonly contextWindow: 1050000;
|
|
26
26
|
};
|
|
27
|
+
readonly GPT_6_1_SOL: {
|
|
28
|
+
readonly id: "gpt-6.1-sol";
|
|
29
|
+
readonly inputModalities: readonly ["text", "image"];
|
|
30
|
+
readonly provider: "openai";
|
|
31
|
+
readonly spec: "responses";
|
|
32
|
+
readonly label: "GPT-6.1 Sol";
|
|
33
|
+
readonly name: "GPT-6.1 Sol";
|
|
34
|
+
readonly description: "near-Astra performance for complex work at a lower cost";
|
|
35
|
+
readonly reasoning: true;
|
|
36
|
+
readonly reasoningEfforts: readonly OpenAIReasoningEffort[];
|
|
37
|
+
readonly contextWindow: 1050000;
|
|
38
|
+
};
|
|
27
39
|
readonly GPT_6_SOL: {
|
|
28
40
|
readonly id: "gpt-6-sol";
|
|
29
41
|
readonly inputModalities: readonly ["text", "image"];
|
|
@@ -140,7 +152,7 @@ declare const OPENAI_SUPPORTED_MODEL_PROVIDERS: readonly string[];
|
|
|
140
152
|
* Harness ModelSpec-shaped catalog (structural — validated on registration by the harness).
|
|
141
153
|
*/
|
|
142
154
|
declare const OPENAI_MODEL_SPECS: {
|
|
143
|
-
id: "gpt-
|
|
155
|
+
id: "gpt-5.3-codex" | "gpt-5.4" | "gpt-5.4-mini" | "gpt-6-astra" | "gpt-6.1-sol" | "gpt-6-sol" | "gpt-6-luna" | "gpt-5.6-sol" | "gpt-5.6-terra" | "gpt-5.6-luna" | "gpt-5.5";
|
|
144
156
|
provider: "openai";
|
|
145
157
|
contextWindow: 1050000 | 400000 | undefined;
|
|
146
158
|
reasoningEfforts: readonly OpenAIReasoningEffort[];
|
package/dist/models.js
CHANGED
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/models.ts"],"sourcesContent":["// @byokkit/cmd-provider-openai/models — the COMPLETE OpenAI model catalog: /model picker\n// metadata, Responses-vs-ChatComplete spec kinds, context windows, and reasoning efforts.\n// Dependency-free plain data (structural types) so the CLI (via shared/constants), the API\n// worker, and Studio can all consume it, and so this package can move to its own repo without\n// dragging monorepo internals along. Values are a verbatim port from shared/constants.ts +\n// harness/config/known-models.ts — those sites now import from HERE.\n\nexport type OpenAIReasoningEffort = 'low' | 'medium' | 'high' | 'xhigh' | 'max';\n\n// Structural copy of shared's ModelOption (shared `satisfies`-checks on import).\nexport interface OpenAIModelOption {\n\treadonly id: string;\n\treadonly provider: 'openai';\n\treadonly spec: 'responses' | 'chatComplete';\n\treadonly label: string;\n\treadonly name: string;\n\treadonly description: string;\n\treadonly reasoning?: boolean;\n\treadonly reasoningEfforts?: readonly OpenAIReasoningEffort[];\n\treadonly contextWindow?: number;\n\treadonly inputModalities?: readonly ('text' | 'image')[];\n}\n\nconst EFFORT_LOW_TO_MAX: readonly OpenAIReasoningEffort[] = [\n\t'low',\n\t'medium',\n\t'high',\n\t'xhigh',\n\t'max',\n];\n\nconst EFFORT_LOW_TO_XHIGH: readonly OpenAIReasoningEffort[] = [\n\t'low',\n\t'medium',\n\t'high',\n\t'xhigh',\n];\n\nconst EFFORT_LOW_TO_HIGH: readonly OpenAIReasoningEffort[] = [\n\t'low',\n\t'medium',\n\t'high',\n];\n\n// The /model catalog entries (verbatim from shared MODEL_OPTIONS; key names preserved so\n// shared's spread keeps identical keys).\nexport const OPENAI_MODEL_OPTIONS = {\n\tGPT_6_ASTRA: {\n\t\tid: 'gpt-6-astra',\n\t\tinputModalities: ['text', 'image'],\n\t\tprovider: 'openai',\n\t\tspec: 'responses',\n\t\tlabel: 'GPT-6 Astra',\n\t\tname: 'GPT-6 Astra',\n\t\tdescription:\n\t\t\t'most capable OpenAI model for demanding reasoning & agents',\n\t\treasoning: true,\n\t\treasoningEfforts: EFFORT_LOW_TO_MAX,\n\t\tcontextWindow: 1_050_000,\n\t},\n\tGPT_6_SOL: {\n\t\tid: 'gpt-6-sol',\n\t\tinputModalities: ['text', 'image'],\n\t\tprovider: 'openai',\n\t\tspec: 'responses',\n\t\tlabel: 'GPT-6 Sol',\n\t\tname: 'GPT-6 Sol',\n\t\tdescription: 'built for complex coding & agentic workflows',\n\t\treasoning: true,\n\t\treasoningEfforts: EFFORT_LOW_TO_MAX,\n\t\tcontextWindow: 1_050_000,\n\t},\n\tGPT_6_LUNA: {\n\t\tid: 'gpt-6-luna',\n\t\tinputModalities: ['text', 'image'],\n\t\tprovider: 'openai',\n\t\tspec: 'responses',\n\t\tlabel: 'GPT-6 Luna',\n\t\tname: 'GPT-6 Luna',\n\t\tdescription:\n\t\t\t'most efficient OpenAI model for focused, high-volume tasks',\n\t\treasoning: true,\n\t\treasoningEfforts: EFFORT_LOW_TO_MAX,\n\t\tcontextWindow: 1_050_000,\n\t},\n\tGPT_5_6_SOL: {\n\t\tid: 'gpt-5.6-sol',\n\t\tinputModalities: ['text', 'image'],\n\t\tprovider: 'openai',\n\t\tspec: 'responses',\n\t\tlabel: 'GPT-5.6 Sol',\n\t\tname: 'GPT-5.6 Sol',\n\t\tdescription: 'frontier model for complex professional work',\n\t\treasoning: true,\n\t\treasoningEfforts: EFFORT_LOW_TO_MAX,\n\t\tcontextWindow: 1_050_000,\n\t},\n\tGPT_5_6_TERRA: {\n\t\tid: 'gpt-5.6-terra',\n\t\tinputModalities: ['text', 'image'],\n\t\tprovider: 'openai',\n\t\tspec: 'responses',\n\t\tlabel: 'GPT-5.6 Terra',\n\t\tname: 'GPT-5.6 Terra',\n\t\tdescription: 'balances intelligence and cost',\n\t\treasoning: true,\n\t\treasoningEfforts: EFFORT_LOW_TO_MAX,\n\t\tcontextWindow: 1_050_000,\n\t},\n\tGPT_5_6_LUNA: {\n\t\tid: 'gpt-5.6-luna',\n\t\tinputModalities: ['text', 'image'],\n\t\tprovider: 'openai',\n\t\tspec: 'responses',\n\t\tlabel: 'GPT-5.6 Luna',\n\t\tname: 'GPT-5.6 Luna',\n\t\tdescription: 'optimized for cost-sensitive workloads',\n\t\treasoning: true,\n\t\treasoningEfforts: EFFORT_LOW_TO_MAX,\n\t\tcontextWindow: 1_050_000,\n\t},\n\tGPT_5_5: {\n\t\tid: 'gpt-5.5',\n\t\tinputModalities: ['text', 'image'],\n\t\tprovider: 'openai',\n\t\tspec: 'responses',\n\t\tlabel: 'GPT-5.5',\n\t\tname: 'GPT-5.5',\n\t\tdescription: 'latest frontier model for general complex work',\n\t\treasoning: true,\n\t\treasoningEfforts: EFFORT_LOW_TO_XHIGH,\n\t\t// 400k like the rest of the 5.x line (harness known-models mirrors this value).\n\t\tcontextWindow: 400_000,\n\t},\n\tGPT_5_4: {\n\t\tid: 'gpt-5.4',\n\t\tinputModalities: ['text', 'image'],\n\t\tprovider: 'openai',\n\t\tspec: 'responses',\n\t\tlabel: 'GPT-5.4',\n\t\tname: 'GPT-5.4',\n\t\tdescription: 'frontier model for general complex work',\n\t\treasoning: true,\n\t\treasoningEfforts: EFFORT_LOW_TO_XHIGH,\n\t\tcontextWindow: 400_000,\n\t},\n\tGPT_5_3_CODEX: {\n\t\tid: 'gpt-5.3-codex',\n\t\tinputModalities: ['text', 'image'],\n\t\tprovider: 'openai',\n\t\tspec: 'responses',\n\t\tlabel: 'GPT-5.3 Codex',\n\t\tname: 'GPT-5.3 Codex',\n\t\tdescription: 'frontier coding model',\n\t\treasoning: true,\n\t\treasoningEfforts: EFFORT_LOW_TO_XHIGH,\n\t\tcontextWindow: 400_000,\n\t},\n\tGPT_5_4_MINI: {\n\t\tid: 'gpt-5.4-mini',\n\t\tinputModalities: ['text', 'image'],\n\t\tprovider: 'openai',\n\t\tspec: 'responses',\n\t\tlabel: 'GPT-5.4 Mini',\n\t\tname: 'GPT-5.4 Mini',\n\t\tdescription: 'fast, cost-effective model for everyday tasks',\n\t\treasoning: true,\n\t\treasoningEfforts: EFFORT_LOW_TO_HIGH,\n\t\tcontextWindow: 400_000,\n\t},\n} as const satisfies Record<string, OpenAIModelOption>;\n\n/** Canonical OpenAI model ids, in catalog order. */\nexport const OPENAI_MODEL_IDS: readonly string[] = Object.values(\n\tOPENAI_MODEL_OPTIONS,\n).map(option => option.id);\n\n// The upstream vendors OpenAI serves — the Codex gateway routes a request only when the model's\n// provider is in this set (port of CMD_PROVIDER_REGISTRY['codex'].supportedModelProviders).\nexport const OPENAI_SUPPORTED_MODEL_PROVIDERS: readonly string[] = ['openai'];\n\n/**\n * Harness ModelSpec-shaped catalog (structural — validated on registration by the harness).\n */\nexport const OPENAI_MODEL_SPECS = Object.values(OPENAI_MODEL_OPTIONS).map(\n\toption => ({\n\t\tid: option.id,\n\t\tprovider: 'openai' as const,\n\t\tcontextWindow:\n\t\t\t'contextWindow' in option ? option.contextWindow : undefined,\n\t\treasoningEfforts: option.reasoningEfforts,\n\t\tinputModalities: option.inputModalities,\n\t}),\n);\n"],"mappings":";AAuBA,IAAM,oBAAsD;AAAA,EAC3D;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACD;AAEA,IAAM,sBAAwD;AAAA,EAC7D;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACD;AAEA,IAAM,qBAAuD;AAAA,EAC5D;AAAA,EACA;AAAA,EACA;AACD;AAIO,IAAM,uBAAuB;AAAA,EACnC,aAAa;AAAA,IACZ,IAAI;AAAA,IACJ,iBAAiB,CAAC,QAAQ,OAAO;AAAA,IACjC,UAAU;AAAA,IACV,MAAM;AAAA,IACN,OAAO;AAAA,IACP,MAAM;AAAA,IACN,aACC;AAAA,IACD,WAAW;AAAA,IACX,kBAAkB;AAAA,IAClB,eAAe;AAAA,EAChB;AAAA,EACA,WAAW;AAAA,IACV,IAAI;AAAA,IACJ,iBAAiB,CAAC,QAAQ,OAAO;AAAA,IACjC,UAAU;AAAA,IACV,MAAM;AAAA,IACN,OAAO;AAAA,IACP,MAAM;AAAA,IACN,aAAa;AAAA,IACb,WAAW;AAAA,IACX,kBAAkB;AAAA,IAClB,eAAe;AAAA,EAChB;AAAA,EACA,YAAY;AAAA,IACX,IAAI;AAAA,IACJ,iBAAiB,C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