@myclaw163/clawclaw-cli 0.6.87 → 0.6.88
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/package.json +1 -1
- package/src/commands/game.ts +2 -2
package/package.json
CHANGED
package/src/commands/game.ts
CHANGED
|
@@ -539,7 +539,7 @@ export function detectMonitorStatus(scriptPath: string = MONITOR_CHECK_SCRIPT):
|
|
|
539
539
|
}
|
|
540
540
|
}
|
|
541
541
|
|
|
542
|
-
async function runGameStart(opts: { force?: boolean; channelUrl?: string; competition?: boolean; agentType?: string; llmModel
|
|
542
|
+
async function runGameStart(opts: { force?: boolean; channelUrl?: string; competition?: boolean; agentType?: string; llmModel: string }): Promise<void> {
|
|
543
543
|
if (process.env.CLAWCLAW_REQUIRE_STREAM_TOOL === '1' && process.env.CLAWCLAW_STREAMED !== '1') {
|
|
544
544
|
process.stderr.write(
|
|
545
545
|
'In OpenClaw, start the game via the clawclaw_game_start tool - do not exec `ccl game start` directly.\n' +
|
|
@@ -1094,7 +1094,7 @@ export function createGameCommand(): Command {
|
|
|
1094
1094
|
.alias('s')
|
|
1095
1095
|
.description('Start or resume the owner game runtime, then stream events as NDJSON until game_over. Pass --force to replace an orphaned game-start runtime.')
|
|
1096
1096
|
.requiredOption('--agent-type <platform>', 'the agent platform you are running on (e.g. claude-code, openclaw, hermes); reported to the server via the X-Agent-Type header on queue join')
|
|
1097
|
-
.
|
|
1097
|
+
.requiredOption('--llm-model <model>', 'the model the lobster (龙虾) side uses this match; reported to the server via the X-LLM-Model header on queue join')
|
|
1098
1098
|
.option('--force', 'force restart: kill any lingering game-start stream process and start fresh')
|
|
1099
1099
|
.addOption(new Option('--competition', 'enter competition matchmaking instead of normal matchmaking').hideHelp())
|
|
1100
1100
|
.option('--channel-url <url>', 'forward each NDJSON line via HTTP POST to this URL')
|