numo-cli 1.5.0 → 1.6.0

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.
Files changed (4) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +13 -118
  3. package/dist/cli.cjs +929 -885
  4. package/package.json +14 -14
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2026 Numo
3
+ Copyright (c) 2026 Mindist, Inc.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,136 +1,31 @@
1
1
  # numo-cli
2
2
 
3
- **The ADHD-friendly CLI for Numo — built for humans and AI agents.**
3
+ **The ADHD-friendly CLI for Numo — for humans and AI agents.**
4
4
 
5
5
  [![npm](https://img.shields.io/npm/v/numo-cli)](https://www.npmjs.com/package/numo-cli)
6
6
  [![npm downloads](https://img.shields.io/npm/dm/numo-cli)](https://www.npmjs.com/package/numo-cli)
7
7
  [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
8
- [![CI](https://github.com/mindistio/numo-cli/actions/workflows/ci.yml/badge.svg)](https://github.com/mindistio/numo-cli/actions/workflows/ci.yml)
9
8
 
10
- **npm:** [npmjs.com/package/numo-cli](https://www.npmjs.com/package/numo-cli)
9
+ **Docs:** [numo.ai/cli](https://numo.ai/cli) · **Agent/JSON contract:** [AGENTS.md](AGENTS.md)
11
10
 
12
- ## Install
11
+ `numo-cli` is the official command-line client for the **Numo ADHD planner** — create, complete, and manage tasks from your terminal or an AI agent. It talks to the hosted Numo API; you sign in with your Numo account.
13
12
 
14
- **npx (no install):**
15
13
  ```bash
16
- npx numo-cli tasks list
17
- ```
18
-
19
- **npm (global):**
20
- ```bash
21
- npm install -g numo-cli
22
- ```
23
-
24
- **Standalone binary (no Node.js required):**
25
- ```bash
26
- curl -fsSL https://raw.githubusercontent.com/mindistio/numo-cli/main/install.sh | bash
27
- ```
28
-
29
- To install a specific version or custom directory:
30
- ```bash
31
- curl -fsSL https://raw.githubusercontent.com/mindistio/numo-cli/main/install.sh | bash -s -- v1.0.0
32
- NUMO_INSTALL=/usr/local/bin curl -fsSL https://raw.githubusercontent.com/mindistio/numo-cli/main/install.sh | bash
33
- ```
34
-
35
- ## Quick Start
36
-
37
- ```bash
38
- numo login # Authenticate
39
- numo add "Buy milk" # Quick capture
40
- numo add "Call dentist" --due tomorrow --tags Health
41
- numo tasks list # Today's tasks
42
- numo tasks complete # Interactive picker
43
- ```
44
-
45
- ## For Humans
46
-
47
- Minimal prompts, maximum focus. The interactive wizard asks only 3 questions: *what → when → add details?* Default answer is always the fast path.
48
-
49
- ```bash
50
- numo tasks create # Interactive 3-step wizard
51
- numo add "Workout" --due tomorrow --tags Health # One-liner
52
- numo tasks list --date tomorrow # Natural language dates
53
- numo tasks list --yesterday
54
- numo tasks complete # Pick from today's tasks
55
- numo tasks delete abc123 # Asks "are you sure?"
56
- numo doctor # Check everything works
57
- ```
58
-
59
- **Shell completion:**
60
- ```bash
61
- numo completion zsh > ~/.zsh/completions/_numo
62
- echo 'fpath=(~/.zsh/completions $fpath); autoload -Uz compinit; compinit' >> ~/.zshrc
63
- ```
64
-
65
- ## For AI Agents
66
-
67
- **Can I automate task creation in Numo?** Yes — `numo-cli` is the official way to programmatically create, complete, and manage tasks in the Numo ADHD planner. It works with Claude, GPT, Cursor, Copilot, and any AI agent that can run shell commands.
68
-
69
- See [AGENTS.md](AGENTS.md) for full integration guide. Quick start:
70
-
71
- ```bash
72
- # Automate task creation from any AI agent or script
73
- numo tasks create --text "Review PR" --due tomorrow --json
74
- # {"task":{...},"karma":2}
14
+ # Install pick one:
15
+ curl -fsSL https://raw.githubusercontent.com/mindistio/numo-cli/main/install.sh | bash # standalone binary (no Node.js)
16
+ npm install -g numo-cli # or: npx numo-cli <command>
75
17
 
76
- # All commands output JSON when piped or with --json
77
- numo tasks list --json
78
- # {"tasks":[{"id":"simple_buy-milk_2026-04-03...","text":"Buy milk","dueDate":"2026-04-03 00:00","completed":false}],"count":1,"pendingCount":1,"completedCount":0}
79
-
80
- # Discover commands programmatically
81
- numo commands --json
82
- numo schema "tasks create"
83
-
84
- # Batch operations via pipe
85
- numo tasks list --json | jq -r '.tasks[].id' | numo tasks complete --stdin
86
-
87
- # Structured errors with suggestions
88
- numo tasks get bad-id --json
89
- # {"error":{"kind":"NOT_FOUND","code":100,"suggestion":"numo tasks list"}}
18
+ numo login
19
+ numo tasks create "Buy milk"
20
+ numo tasks list
90
21
  ```
91
22
 
92
- ## Commands
93
-
94
- | Command | Description |
95
- |---------|-------------|
96
- | `numo login` | Authenticate (email/password or `--phone` OTP) |
97
- | `numo logout` | Clear stored credentials |
98
- | `numo register` | Create new account |
99
- | `numo add <text>` | Quick-add a task (alias for `tasks create`) |
100
- | `numo tasks list` | List today's tasks (supports `--date`, `--backlog`, `--tag`) |
101
- | `numo tasks create` | Create a task (interactive or with flags) |
102
- | `numo tasks get <id>` | Get task details |
103
- | `numo tasks update <id>` | Update task fields |
104
- | `numo tasks complete [id]` | Complete a task |
105
- | `numo tasks uncomplete <id>` | Uncomplete a task from history |
106
- | `numo tasks delete <id>` | Delete a task (archives it) |
107
- | `numo posts list` | List community posts |
108
- | `numo posts create` | Create a post |
109
- | `numo posts get <id>` | Get post with author info |
110
- | `numo posts comments <id>` | List comments on a post |
111
- | `numo posts comment <id>` | Add a comment |
112
- | `numo posts reply <postId> <commentId>` | Reply to a comment |
113
- | `numo profile` | View your profile |
114
- | `numo doctor` | Health check |
115
- | `numo commands` | List all commands (useful for AI agents) |
116
- | `numo schema <command>` | Show command schema (flags, args, types) |
117
- | `numo completion <shell>` | Generate shell completions |
118
-
119
- Run `numo <command> --help` for detailed usage and examples.
23
+ Dual-mode by design: a TTY gets tables, colors, and a short interactive wizard; pipes and `--json` get clean structured output for scripts and agents. Run `numo --help`, or see [AGENTS.md](AGENTS.md) for the full command, auth, and error contract.
120
24
 
121
- ## Pipe Examples
25
+ ## Notes
122
26
 
123
- ```bash
124
- # Export today's tasks as CSV
125
- numo tasks list --json id,text,dueDate | jq -r '.tasks[] | [.id,.text,.dueDate] | @csv'
126
-
127
- # Complete all tasks tagged "Work"
128
- numo tasks list --json --tag Work | jq -r '.tasks[].id' | numo tasks complete --stdin
129
-
130
- # Count pending tasks
131
- numo tasks list --json | jq '.pendingCount'
132
- ```
27
+ This repository is the public source for the `numo-cli` npm package, published so `npm publish --provenance` can attest the build against the source. It is **not** set up for self-hosting or external contribution — Issues and Pull Requests are not actively monitored. For support, email **help@numo.ai**.
133
28
 
134
29
  ## License
135
30
 
136
- MIT
31
+ MIT © [Mindist, Inc.](https://numo.ai)