feat(phase-03): build OpenClaude CLI + provider config + launchers

This commit is contained in:
Variet-Worker
2026-04-07 21:07:03 +09:00
parent 543e7f6735
commit 57994d7a40
2 changed files with 30 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
@echo off
title OpenClaude CLI (Variet Engine)
echo ============================================
echo OpenClaude CLI - Variet Engine Connection
echo ============================================
echo.
REM Set provider for Variet Engine
set CLAUDE_CODE_USE_OPENAI=1
set OPENAI_BASE_URL=http://192.168.10.4:8000/v1
set OPENAI_API_KEY=variet-local
set OPENAI_MODEL=gemma-4-26b
REM Launch OpenClaude
cd /d "%~dp0..\openclaude"
node dist/cli.mjs %*

View File

@@ -0,0 +1,14 @@
# OpenClaude CLI Launcher (Variet Engine)
# Usage: .\scripts\start_openclaude.ps1 [args...]
$env:CLAUDE_CODE_USE_OPENAI = "1"
$env:OPENAI_BASE_URL = "http://192.168.10.4:8000/v1"
$env:OPENAI_API_KEY = "variet-local"
$env:OPENAI_MODEL = "gemma-4-26b"
Push-Location "$PSScriptRoot\..\openclaude"
try {
node dist/cli.mjs @args
} finally {
Pop-Location
}