AnyTask CLI v0.12 - TypeScript Rewrite

Complete rewrite of AnyTask CLI from Python to TypeScript. Now distributed via npm with faster startup and improved monorepo integration.

AnyTask CLI v0.12 is a complete rewrite from Python to TypeScript, providing faster startup times, better type safety, and seamless integration with the AnyTask monorepo.

Highlights

Complete TypeScript Rewrite

The CLI has been completely rewritten in TypeScript:

  • Faster startup - No Python interpreter overhead
  • Type safety - Full TypeScript with strict mode
  • Monorepo integration - Shares types with web application
  • Modern tooling - ESM modules, Commander.js, Orval-generated API clients

New Package Name

The package has moved from PyPI to npm:

  • Old: anyt on PyPI (Python)
  • New: @bsheng/anyt on npm (TypeScript)

Unified Command Structure

All commands are now subcommands under anyt:

# Worker command (changed)
anyt worker start    # Previously: anyt-worker start

# All other commands remain the same
anyt task list
anyt login
anyt init

Installation

Quick Install

macOS/Linux:

curl -fsSL https://anyt.dev/install.sh | sh

Windows:

irm https://anyt.dev/install.ps1 | iex

Manual Install

Requires Node.js 18+:

npm install -g @bsheng/anyt
# or
pnpm add -g @bsheng/anyt

All Features Preserved

All features from v0.11.x are fully supported:

Task Management

  • anyt task list - List tasks with filters
  • anyt task add - Create new tasks
  • anyt task show - View task details
  • anyt task edit - Update tasks
  • anyt task done - Mark tasks complete
  • anyt task pick / unpick - Select active task
  • anyt task start - Pick and activate task
  • anyt task suggest - Get AI-powered suggestions

Task Sync

  • anyt task pull - Download tasks locally
  • anyt task push - Push local changes
  • anyt task open - Open task folder

Dependencies & Plans

  • anyt task dep add/list/rm - Manage dependencies
  • anyt task plan show - View implementation plans

Pull Requests

  • anyt task pr register - Link PRs to tasks
  • anyt task pr list/show - View linked PRs

Other Commands

  • anyt comment add/list - Task comments
  • anyt board - Task board summary
  • anyt project list/show/create - Projects
  • anyt workspace list/show - Workspaces
  • anyt agent install/list/uninstall - Agent integration
  • anyt worker start/run/check - Workflow automation
  • anyt config set-key/set-url/show - Configuration
  • anyt health - API health check
  • anyt self info/check/update - CLI management

Migration Guide

From Python CLI (v0.11.x)

  1. Uninstall Python version:
uv tool uninstall anyt
# or
pipx uninstall anyt
  1. Install TypeScript version:
npm install -g @bsheng/anyt
  1. Update worker command:
# Old
anyt-worker start

# New
anyt worker start

Configuration is automatically migrated on first run.

Architecture

The TypeScript CLI is part of the AnyTask monorepo:

apps/cli/           # CLI application
packages/anyt/
├── cli-sdk/        # Generated API client for CLI
├── web-sdk/        # Generated API client for web
└── api-client-core/ # Shared HTTP client

API clients are auto-generated from the backend's OpenAPI spec using Orval, ensuring type-safe API calls that stay in sync with the backend.

Version History

  • v0.12.0 - December 18, 2025: TypeScript Rewrite

Learn more at npm.