@akiojin/gwt 4.0.1 → 4.1.0
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/cli/ui/utils/modelOptions.d.ts.map +1 -1
- package/dist/cli/ui/utils/modelOptions.js +11 -18
- package/dist/cli/ui/utils/modelOptions.js.map +1 -1
- package/dist/codex.d.ts +1 -1
- package/dist/codex.js +1 -1
- package/dist/shared/aiToolConstants.d.ts +1 -1
- package/dist/shared/aiToolConstants.d.ts.map +1 -1
- package/dist/shared/aiToolConstants.js +1 -1
- package/dist/shared/aiToolConstants.js.map +1 -1
- package/package.json +1 -1
- package/src/cli/ui/__tests__/components/ModelSelectorScreen.initial.test.tsx +6 -7
- package/src/cli/ui/__tests__/components/screens/BranchQuickStartScreen.test.tsx +6 -6
- package/src/cli/ui/__tests__/utils/branchFormatter.test.ts +1 -1
- package/src/cli/ui/utils/modelOptions.test.ts +15 -3
- package/src/cli/ui/utils/modelOptions.ts +12 -18
- package/src/codex.ts +1 -1
- package/src/shared/aiToolConstants.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modelOptions.d.ts","sourceRoot":"","sources":["../../../../src/cli/ui/utils/modelOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"modelOptions.d.ts","sourceRoot":"","sources":["../../../../src/cli/ui/utils/modelOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AA0GvE,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,WAAW,EAAE,CAE3D;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS,CAG3E;AAED,wBAAgB,0BAA0B,CACxC,KAAK,CAAC,EAAE,WAAW,GAClB,cAAc,EAAE,CAKlB;AAED,wBAAgB,2BAA2B,CACzC,KAAK,CAAC,EAAE,WAAW,GAClB,cAAc,GAAG,SAAS,CAK5B"}
|
|
@@ -34,39 +34,32 @@ const MODEL_OPTIONS = {
|
|
|
34
34
|
defaultInference: "high",
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
|
-
id: "gpt-5.
|
|
38
|
-
label: "gpt-5.
|
|
39
|
-
description: "
|
|
40
|
-
inferenceLevels: CODEX_BASE_LEVELS,
|
|
41
|
-
defaultInference: "high",
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
id: "gpt-5.2",
|
|
45
|
-
label: "gpt-5.2",
|
|
46
|
-
description: "Latest frontier model with extra high reasoning",
|
|
37
|
+
id: "gpt-5.2-codex",
|
|
38
|
+
label: "gpt-5.2-codex",
|
|
39
|
+
description: "Latest frontier agentic coding model",
|
|
47
40
|
inferenceLevels: CODEX_MAX_LEVELS,
|
|
48
|
-
defaultInference: "
|
|
41
|
+
defaultInference: "high",
|
|
49
42
|
},
|
|
50
43
|
{
|
|
51
44
|
id: "gpt-5.1-codex-max",
|
|
52
45
|
label: "gpt-5.1-codex-max",
|
|
53
|
-
description: "
|
|
46
|
+
description: "Codex-optimized flagship for deep and fast reasoning.",
|
|
54
47
|
inferenceLevels: CODEX_MAX_LEVELS,
|
|
55
48
|
defaultInference: "medium",
|
|
56
49
|
},
|
|
57
50
|
{
|
|
58
51
|
id: "gpt-5.1-codex-mini",
|
|
59
52
|
label: "gpt-5.1-codex-mini",
|
|
60
|
-
description: "
|
|
53
|
+
description: "Optimized for codex. Cheaper, faster, but less capable.",
|
|
61
54
|
inferenceLevels: CODEX_BASE_LEVELS,
|
|
62
55
|
defaultInference: "medium",
|
|
63
56
|
},
|
|
64
57
|
{
|
|
65
|
-
id: "gpt-5.
|
|
66
|
-
label: "gpt-5.
|
|
67
|
-
description: "
|
|
68
|
-
inferenceLevels:
|
|
69
|
-
defaultInference: "
|
|
58
|
+
id: "gpt-5.2",
|
|
59
|
+
label: "gpt-5.2",
|
|
60
|
+
description: "Latest frontier model with improvements across knowledge, reasoning and coding",
|
|
61
|
+
inferenceLevels: CODEX_MAX_LEVELS,
|
|
62
|
+
defaultInference: "medium",
|
|
70
63
|
},
|
|
71
64
|
],
|
|
72
65
|
"gemini-cli": [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modelOptions.js","sourceRoot":"","sources":["../../../../src/cli/ui/utils/modelOptions.ts"],"names":[],"mappings":"AAEA,MAAM,iBAAiB,GAAqB,CAAC,MAAM,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC;AACtE,MAAM,gBAAgB,GAAqB,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC;AAE9E,MAAM,aAAa,GAAkC;IACnD,aAAa,EAAE;QACb;YACE,EAAE,EAAE,EAAE;YACN,KAAK,EAAE,gBAAgB;YACvB,WAAW,EAAE,kCAAkC;YAC/C,SAAS,EAAE,IAAI;SAChB;QACD;YACE,EAAE,EAAE,MAAM;YACV,KAAK,EAAE,UAAU;YACjB,WAAW,EACT,0EAA0E;SAC7E;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,KAAK,EAAE,YAAY;YACnB,WAAW,EAAE,wCAAwC;SACtD;QACD;YACE,EAAE,EAAE,OAAO;YACX,KAAK,EAAE,WAAW;YAClB,WAAW,EACT,mEAAmE;SACtE;KACF;IACD,WAAW,EAAE;QACX;YACE,EAAE,EAAE,EAAE;YACN,KAAK,EAAE,gBAAgB;YACvB,WAAW,EAAE,yBAAyB;YACtC,SAAS,EAAE,IAAI;YACf,eAAe,EAAE,iBAAiB;YAClC,gBAAgB,EAAE,MAAM;SACzB;QACD;YACE,EAAE,EAAE,eAAe;YACnB,KAAK,EAAE,eAAe;YACtB,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"modelOptions.js","sourceRoot":"","sources":["../../../../src/cli/ui/utils/modelOptions.ts"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,eAAe,CAAC;AAC/B,CAAC;AAED,MAAM,UAAU,2BAA2B,CACzC,KAAmB;IAEnB,IAAI,CAAC,KAAK;QAAE,OAAO,SAAS,CAAC;IAC7B,IAAI,KAAK,CAAC,gBAAgB;QAAE,OAAO,KAAK,CAAC,gBAAgB,CAAC;IAC1D,MAAM,MAAM,GAAG,0BAA0B,CAAC,KAAK,CAAC,CAAC;IACjD,OAAO,MAAM,CAAC,CAAC,CAAC,CAAC;AACnB,CAAC"}
|
package/dist/codex.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export type CodexReasoningEffort = "low" | "medium" | "high" | "xhigh";
|
|
|
5
5
|
/**
|
|
6
6
|
* Default Codex model used when no override is provided.
|
|
7
7
|
*/
|
|
8
|
-
export declare const DEFAULT_CODEX_MODEL = "gpt-5.
|
|
8
|
+
export declare const DEFAULT_CODEX_MODEL = "gpt-5.2-codex";
|
|
9
9
|
/**
|
|
10
10
|
* Default reasoning effort used when no override is provided.
|
|
11
11
|
*/
|
package/dist/codex.js
CHANGED
|
@@ -8,7 +8,7 @@ const CODEX_CLI_PACKAGE = "@openai/codex@latest";
|
|
|
8
8
|
/**
|
|
9
9
|
* Default Codex model used when no override is provided.
|
|
10
10
|
*/
|
|
11
|
-
export const DEFAULT_CODEX_MODEL = "gpt-5.
|
|
11
|
+
export const DEFAULT_CODEX_MODEL = "gpt-5.2-codex";
|
|
12
12
|
/**
|
|
13
13
|
* Default reasoning effort used when no override is provided.
|
|
14
14
|
*/
|
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* that command previews, permission flags, and default arguments stay in sync.
|
|
6
6
|
*/
|
|
7
7
|
export declare const CLAUDE_PERMISSION_SKIP_ARGS: readonly ["--dangerously-skip-permissions"];
|
|
8
|
-
export declare const CODEX_DEFAULT_ARGS: readonly ["--enable", "web_search_request", "--model=gpt-5-codex", "--sandbox", "workspace-write", "-c", "model_reasoning_effort=high", "-c", "model_reasoning_summaries=detailed", "-c", "sandbox_workspace_write.network_access=true", "-c", "shell_environment_policy.inherit=all", "-c", "shell_environment_policy.ignore_default_excludes=true", "-c", "shell_environment_policy.experimental_use_profile=true"];
|
|
8
|
+
export declare const CODEX_DEFAULT_ARGS: readonly ["--enable", "web_search_request", "--model=gpt-5.2-codex", "--sandbox", "workspace-write", "-c", "model_reasoning_effort=high", "-c", "model_reasoning_summaries=detailed", "-c", "sandbox_workspace_write.network_access=true", "-c", "shell_environment_policy.inherit=all", "-c", "shell_environment_policy.ignore_default_excludes=true", "-c", "shell_environment_policy.experimental_use_profile=true"];
|
|
9
9
|
//# sourceMappingURL=aiToolConstants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aiToolConstants.d.ts","sourceRoot":"","sources":["../../src/shared/aiToolConstants.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,2BAA2B,6CAE9B,CAAC;AAEX,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"aiToolConstants.d.ts","sourceRoot":"","sources":["../../src/shared/aiToolConstants.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,2BAA2B,6CAE9B,CAAC;AAEX,eAAO,MAAM,kBAAkB,yZAkBrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aiToolConstants.js","sourceRoot":"","sources":["../../src/shared/aiToolConstants.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC,gCAAgC;CACxB,CAAC;AAEX,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,UAAU;IACV,oBAAoB;IACpB,
|
|
1
|
+
{"version":3,"file":"aiToolConstants.js","sourceRoot":"","sources":["../../src/shared/aiToolConstants.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC,gCAAgC;CACxB,CAAC;AAEX,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,UAAU;IACV,oBAAoB;IACpB,uBAAuB;IACvB,WAAW;IACX,iBAAiB;IACjB,IAAI;IACJ,6BAA6B;IAC7B,IAAI;IACJ,oCAAoC;IACpC,IAAI;IACJ,6CAA6C;IAC7C,IAAI;IACJ,sCAAsC;IACtC,IAAI;IACJ,uDAAuD;IACvD,IAAI;IACJ,wDAAwD;CAChD,CAAC"}
|
package/package.json
CHANGED
|
@@ -55,12 +55,12 @@ describe("ModelSelectorScreen initial selection", () => {
|
|
|
55
55
|
await waitFor(() => expect(selectMocks.length).toBeGreaterThan(0));
|
|
56
56
|
const modelSelect = selectMocks.at(-1);
|
|
57
57
|
const index = modelSelect.initialIndex as number;
|
|
58
|
-
// codex-cli models: ["", gpt-5.
|
|
59
|
-
// (index 0 = Default/Auto, index
|
|
60
|
-
expect(index).toBe(
|
|
58
|
+
// codex-cli models: ["", gpt-5.2-codex, gpt-5.1-codex-max, gpt-5.1-codex-mini, gpt-5.2]
|
|
59
|
+
// (index 0 = Default/Auto, index 2 = gpt-5.1-codex-max)
|
|
60
|
+
expect(index).toBe(2);
|
|
61
61
|
});
|
|
62
62
|
|
|
63
|
-
it("includes gpt-5.2 in model options and preserves ordering", async () => {
|
|
63
|
+
it("includes gpt-5.2-codex in model options and preserves ordering", async () => {
|
|
64
64
|
const initial: ModelSelectionResult = {
|
|
65
65
|
model: "gpt-5.1-codex-max",
|
|
66
66
|
inferenceLevel: "high",
|
|
@@ -81,11 +81,10 @@ describe("ModelSelectorScreen initial selection", () => {
|
|
|
81
81
|
const ids = modelSelect?.items.map((item) => item.value);
|
|
82
82
|
expect(ids).toEqual([
|
|
83
83
|
"", // Default (Auto)
|
|
84
|
-
"gpt-5.
|
|
85
|
-
"gpt-5.2",
|
|
84
|
+
"gpt-5.2-codex",
|
|
86
85
|
"gpt-5.1-codex-max",
|
|
87
86
|
"gpt-5.1-codex-mini",
|
|
88
|
-
"gpt-5.
|
|
87
|
+
"gpt-5.2",
|
|
89
88
|
]);
|
|
90
89
|
});
|
|
91
90
|
});
|
|
@@ -23,7 +23,7 @@ describe("BranchQuickStartScreen", () => {
|
|
|
23
23
|
{
|
|
24
24
|
toolId: "codex-cli",
|
|
25
25
|
toolLabel: "Codex",
|
|
26
|
-
model: "gpt-5.
|
|
26
|
+
model: "gpt-5.2-codex",
|
|
27
27
|
sessionId: "abc-123",
|
|
28
28
|
inferenceLevel: "high",
|
|
29
29
|
skipPermissions: true,
|
|
@@ -38,12 +38,12 @@ describe("BranchQuickStartScreen", () => {
|
|
|
38
38
|
expect(titleMatches.length).toBeGreaterThan(0);
|
|
39
39
|
expect(
|
|
40
40
|
getByText(
|
|
41
|
-
/Model: gpt-5.
|
|
41
|
+
/Model: gpt-5.2-codex \/ Reasoning: High \/ Skip: Yes \/ ID: abc-123/,
|
|
42
42
|
),
|
|
43
43
|
).toBeDefined();
|
|
44
44
|
expect(queryAllByText(/ID: abc-123/)).toHaveLength(1);
|
|
45
45
|
expect(
|
|
46
|
-
getByText(/Model: gpt-5.
|
|
46
|
+
getByText(/Model: gpt-5.2-codex \/ Reasoning: High \/ Skip: Yes$/),
|
|
47
47
|
).toBeDefined();
|
|
48
48
|
});
|
|
49
49
|
|
|
@@ -90,7 +90,7 @@ describe("BranchQuickStartScreen", () => {
|
|
|
90
90
|
{
|
|
91
91
|
toolId: "codex-cli",
|
|
92
92
|
toolLabel: "Codex",
|
|
93
|
-
model: "gpt-5.
|
|
93
|
+
model: "gpt-5.2-codex",
|
|
94
94
|
sessionId: "abc-123",
|
|
95
95
|
},
|
|
96
96
|
]}
|
|
@@ -110,7 +110,7 @@ describe("BranchQuickStartScreen", () => {
|
|
|
110
110
|
{
|
|
111
111
|
toolId: "codex-cli",
|
|
112
112
|
toolLabel: "Codex",
|
|
113
|
-
model: "gpt-5.
|
|
113
|
+
model: "gpt-5.2-codex",
|
|
114
114
|
sessionId: "codex-123",
|
|
115
115
|
inferenceLevel: "high",
|
|
116
116
|
skipPermissions: true,
|
|
@@ -131,7 +131,7 @@ describe("BranchQuickStartScreen", () => {
|
|
|
131
131
|
expect(getAllByText(/\[Codex\]/i)).toHaveLength(2);
|
|
132
132
|
expect(
|
|
133
133
|
getByText(
|
|
134
|
-
/Model: gpt-5.
|
|
134
|
+
/Model: gpt-5.2-codex \/ Reasoning: High \/ Skip: Yes \/ ID: codex-123/,
|
|
135
135
|
),
|
|
136
136
|
).toBeDefined();
|
|
137
137
|
expect(getAllByText(/\[Claude\]/i)).toHaveLength(2);
|
|
@@ -23,12 +23,24 @@ describe("modelOptions", () => {
|
|
|
23
23
|
expect(unique.size).toBe(ids.length);
|
|
24
24
|
expect(ids).toEqual([
|
|
25
25
|
"",
|
|
26
|
-
"gpt-5.
|
|
27
|
-
"gpt-5.2",
|
|
26
|
+
"gpt-5.2-codex",
|
|
28
27
|
"gpt-5.1-codex-max",
|
|
29
28
|
"gpt-5.1-codex-mini",
|
|
30
|
-
"gpt-5.
|
|
29
|
+
"gpt-5.2",
|
|
30
|
+
]);
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
it("exposes gpt-5.2-codex with xhigh reasoning and high default", () => {
|
|
34
|
+
const codex52 = getModelOptions("codex-cli").find(
|
|
35
|
+
(m) => m.id === "gpt-5.2-codex",
|
|
36
|
+
);
|
|
37
|
+
expect(codex52?.inferenceLevels).toEqual([
|
|
38
|
+
"xhigh",
|
|
39
|
+
"high",
|
|
40
|
+
"medium",
|
|
41
|
+
"low",
|
|
31
42
|
]);
|
|
43
|
+
expect(getDefaultInferenceForModel(codex52)).toBe("high");
|
|
32
44
|
});
|
|
33
45
|
|
|
34
46
|
it("uses medium as default reasoning for codex-max", () => {
|
|
@@ -39,39 +39,33 @@ const MODEL_OPTIONS: Record<string, ModelOption[]> = {
|
|
|
39
39
|
defaultInference: "high",
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
|
-
id: "gpt-5.
|
|
43
|
-
label: "gpt-5.
|
|
44
|
-
description: "
|
|
45
|
-
inferenceLevels: CODEX_BASE_LEVELS,
|
|
46
|
-
defaultInference: "high",
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
id: "gpt-5.2",
|
|
50
|
-
label: "gpt-5.2",
|
|
51
|
-
description: "Latest frontier model with extra high reasoning",
|
|
42
|
+
id: "gpt-5.2-codex",
|
|
43
|
+
label: "gpt-5.2-codex",
|
|
44
|
+
description: "Latest frontier agentic coding model",
|
|
52
45
|
inferenceLevels: CODEX_MAX_LEVELS,
|
|
53
|
-
defaultInference: "
|
|
46
|
+
defaultInference: "high",
|
|
54
47
|
},
|
|
55
48
|
{
|
|
56
49
|
id: "gpt-5.1-codex-max",
|
|
57
50
|
label: "gpt-5.1-codex-max",
|
|
58
|
-
description: "
|
|
51
|
+
description: "Codex-optimized flagship for deep and fast reasoning.",
|
|
59
52
|
inferenceLevels: CODEX_MAX_LEVELS,
|
|
60
53
|
defaultInference: "medium",
|
|
61
54
|
},
|
|
62
55
|
{
|
|
63
56
|
id: "gpt-5.1-codex-mini",
|
|
64
57
|
label: "gpt-5.1-codex-mini",
|
|
65
|
-
description: "
|
|
58
|
+
description: "Optimized for codex. Cheaper, faster, but less capable.",
|
|
66
59
|
inferenceLevels: CODEX_BASE_LEVELS,
|
|
67
60
|
defaultInference: "medium",
|
|
68
61
|
},
|
|
69
62
|
{
|
|
70
|
-
id: "gpt-5.
|
|
71
|
-
label: "gpt-5.
|
|
72
|
-
description:
|
|
73
|
-
|
|
74
|
-
|
|
63
|
+
id: "gpt-5.2",
|
|
64
|
+
label: "gpt-5.2",
|
|
65
|
+
description:
|
|
66
|
+
"Latest frontier model with improvements across knowledge, reasoning and coding",
|
|
67
|
+
inferenceLevels: CODEX_MAX_LEVELS,
|
|
68
|
+
defaultInference: "medium",
|
|
75
69
|
},
|
|
76
70
|
],
|
|
77
71
|
"gemini-cli": [
|
package/src/codex.ts
CHANGED
|
@@ -19,7 +19,7 @@ export type CodexReasoningEffort = "low" | "medium" | "high" | "xhigh";
|
|
|
19
19
|
/**
|
|
20
20
|
* Default Codex model used when no override is provided.
|
|
21
21
|
*/
|
|
22
|
-
export const DEFAULT_CODEX_MODEL = "gpt-5.
|
|
22
|
+
export const DEFAULT_CODEX_MODEL = "gpt-5.2-codex";
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* Default reasoning effort used when no override is provided.
|