Chris Estreich 5 дней назад
Родитель
Сommit
f6c77c1643
3 измененных файлов с 20 добавлено и 2 удалено
  1. 18 0
      apps/cli/CHANGELOG.md
  2. 1 1
      apps/cli/package.json
  3. 1 1
      apps/cli/scripts/release.sh

+ 18 - 0
apps/cli/CHANGELOG.md

@@ -5,6 +5,24 @@ All notable changes to the `@roo-code/cli` package will be documented in this fi
 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 
+## [0.0.47] - 2026-01-17
+
+### Added
+
+- **Workspace flag**: New `-w, --workspace <path>` option to specify a custom workspace directory instead of using the current working directory
+- **Oneshot mode**: New `--oneshot` flag to exit upon task completion, useful for scripting and automation (can also be saved in settings via [`CliSettings.oneshot`](src/types/types.ts))
+
+### Changed
+
+- Skip onboarding flow when a provider is explicitly specified via `--provider` flag or saved in settings
+- Unified permission flags: Combined `-y`, `--yes`, and `--dangerously-skip-permissions` into a single option for Claude Code-like CLI compatibility
+- Improved Roo Code Router authentication flow and error messaging
+
+### Fixed
+
+- Removed unnecessary timeout that could cause issues with long-running tasks
+- Fixed authentication token validation for Roo Code Router provider
+
 ## [0.0.45] - 2026-01-08
 
 ### Changed

+ 1 - 1
apps/cli/package.json

@@ -1,6 +1,6 @@
 {
 	"name": "@roo-code/cli",
-	"version": "0.0.45",
+	"version": "0.0.47",
 	"description": "Roo Code CLI - Run the Roo Code agent from the command line",
 	"private": true,
 	"type": "module",

+ 1 - 1
apps/cli/scripts/release.sh

@@ -274,6 +274,7 @@ create_tarball() {
           'commander': pkg.dependencies.commander,
           'fuzzysort': pkg.dependencies.fuzzysort,
           'ink': pkg.dependencies.ink,
+          'p-wait-for': pkg.dependencies['p-wait-for'],
           'react': pkg.dependencies.react,
           'superjson': pkg.dependencies.superjson,
           'zustand': pkg.dependencies.zustand
@@ -420,7 +421,6 @@ verify_local_install() {
     mkdir -p "$VERIFY_WORKSPACE"
     
     # Run the CLI with a simple prompt
-    # Use timeout to prevent hanging if something goes wrong
     if timeout 60 "$VERIFY_BIN_DIR/roo" --yes --oneshot -w "$VERIFY_WORKSPACE" "1+1=?" > "$VERIFY_DIR/test-output.log" 2>&1; then
         info "End-to-end test passed"
     else