Skip to content
This repository was archived by the owner on Aug 31, 2026. It is now read-only.
strzhaoPublic archive

About

CLI tool for AI agents to interact with ai-todo

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

ai-todo-cli

⚠️ 已迁移 / Moved:本仓库已并入 strzhao/ai-todo monorepo 的 apps/cli。后续开发、issue、发布均在主仓进行;npm 包 ai-todo-cli 照常发布(发布源已切换到主仓 cli-v* tag + OIDC trusted publishing)。本仓库已归档为只读。

CLI tool for AI agents to interact with ai-todo.

All commands are dynamically discovered from the server. All output is JSON.

Install

npm install -g ai-todo-cli

Login

ai-todo login

For headless environments:

ai-todo login --token <jwt>

Usage

ai-todo tasks:list
ai-todo tasks:list --filter today
ai-todo tasks:create --title "Review PR" --priority 1
ai-todo tasks:complete --id <task-id>
ai-todo tasks:delete --id <task-id>
ai-todo tasks:add-log --id <task-id> --content "Done with phase 1"
ai-todo spaces:list

Run ai-todo --help to see all available commands (fetched from server).

Release

This package is published to npm via GitHub Actions when a tag like v0.1.3 is pushed.

npm version patch
git push origin main --follow-tags

The workflow will verify that the Git tag matches package.json before publishing.

For AI Agents

This CLI is designed for AI agent integration. Key features:

  • All output is structured JSON
  • Exit codes: 0 = success, 1 = error, 2 = auth required
  • Commands are dynamically loaded from /api/manifest
  • No interactive prompts — all input via flags

License

MIT

About

CLI tool for AI agents to interact with ai-todo

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages