File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
codex-kkp-cli/src/commonTest/kotlin/codex
codex-kkp-sdk/src/commonMain/kotlin/love/forte/tools/codexkkp/sdk Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ plugins {
55}
66
77group = " love.forte.tools"
8- version = " 0.0.3 "
8+ version = " 0.0.4 "
99
1010allprojects {
1111 repositories {
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ class CodexCommandBuilderTest {
121121 val config = CodexExecConfig (workingDirectory = testDir, session = " abc-123" )
122122 val command = CodexCommandBuilder .build(" 继续任务" , config)
123123
124- assertTrue(command.contains(" --session abc-123" ))
124+ assertTrue(command.contains(" resume abc-123" ))
125125 }
126126
127127 @Test
@@ -133,7 +133,7 @@ class CodexCommandBuilderTest {
133133 )
134134 val command = CodexCommandBuilder .build(" 继续修复" , config)
135135
136- assertTrue(command.contains(" --session abc-123" ))
136+ assertTrue(command.contains(" resume abc-123" ))
137137 assertTrue(command.contains(" --full-auto" ))
138138 }
139139
@@ -207,7 +207,7 @@ class CodexCommandBuilderTest {
207207 assertTrue(command.contains(" --skip-git-repo-check" ))
208208 assertTrue(command.contains(" --image ./img1.png" ))
209209 assertTrue(command.contains(" --image ./img2.png" ))
210- assertTrue(command.contains(" --session session-123" ))
210+ assertTrue(command.contains(" resume session-123" ))
211211 assertTrue(command.endsWith(" 完整任务" ))
212212 }
213213
Original file line number Diff line number Diff line change @@ -55,9 +55,9 @@ object CodexCommandBuilder {
5555 add(escapeArg(image))
5656 }
5757
58- // --session=<id>
58+ // --session=<id> -> resume <id>
5959 config.session?.let {
60- add(" --session " )
60+ add(" resume " )
6161 add(escapeArg(it))
6262 }
6363
You can’t perform that action at this time.
0 commit comments