dailybot-cli 1.19.2__tar.gz → 2.0.0__tar.gz
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.
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/PKG-INFO +129 -2
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/README.md +128 -1
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/dailybot_cli/api_client.py +380 -93
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/dailybot_cli/commands/auth.py +18 -1
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/dailybot_cli/commands/chat.py +47 -1
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/dailybot_cli/commands/checkin.py +7 -0
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/dailybot_cli/commands/form.py +48 -3
- dailybot_cli-2.0.0/dailybot_cli/commands/identity.py +78 -0
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/dailybot_cli/commands/kudos.py +144 -0
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/dailybot_cli/commands/public_api_helpers.py +124 -4
- dailybot_cli-2.0.0/dailybot_cli/commands/query_options.py +154 -0
- dailybot_cli-2.0.0/dailybot_cli/commands/user.py +81 -0
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/dailybot_cli/commands/user_scoped_actions.py +29 -3
- dailybot_cli-2.0.0/dailybot_cli/commands/workflow.py +127 -0
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/dailybot_cli/config.py +51 -0
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/dailybot_cli/display.py +83 -0
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/dailybot_cli/main.py +5 -0
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/dailybot_cli.egg-info/PKG-INFO +129 -2
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/dailybot_cli.egg-info/SOURCES.txt +3 -0
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/pyproject.toml +1 -1
- dailybot_cli-1.19.2/dailybot_cli/commands/user.py +0 -40
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/LICENSE +0 -0
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/dailybot_cli/__init__.py +0 -0
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/dailybot_cli/commands/__init__.py +0 -0
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/dailybot_cli/commands/agent.py +0 -0
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/dailybot_cli/commands/ask.py +0 -0
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/dailybot_cli/commands/authoring_helpers.py +0 -0
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/dailybot_cli/commands/channels.py +0 -0
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/dailybot_cli/commands/config.py +0 -0
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/dailybot_cli/commands/hook.py +0 -0
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/dailybot_cli/commands/interactive.py +0 -0
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/dailybot_cli/commands/interactive_chat.py +0 -0
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/dailybot_cli/commands/status.py +0 -0
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/dailybot_cli/commands/team.py +0 -0
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/dailybot_cli/commands/uninstall.py +0 -0
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/dailybot_cli/commands/update.py +0 -0
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/dailybot_cli/commands/upgrade.py +0 -0
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/dailybot_cli/commands/version.py +0 -0
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/dailybot_cli/install_method.py +0 -0
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/dailybot_cli/ledger.py +0 -0
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/dailybot_cli/tui/__init__.py +0 -0
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/dailybot_cli/tui/app.py +0 -0
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/dailybot_cli/tui/commands.py +0 -0
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/dailybot_cli/tui/conversation.py +0 -0
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/dailybot_cli/tui/intents.py +0 -0
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/dailybot_cli.egg-info/dependency_links.txt +0 -0
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/dailybot_cli.egg-info/entry_points.txt +0 -0
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/dailybot_cli.egg-info/requires.txt +0 -0
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/dailybot_cli.egg-info/top_level.txt +0 -0
- {dailybot_cli-1.19.2 → dailybot_cli-2.0.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dailybot-cli
|
|
3
|
-
Version:
|
|
3
|
+
Version: 2.0.0
|
|
4
4
|
Summary: Dailybot CLI - The command-line bridge between humans and agents. Progress reports, observability, and workflow automation for modern teams across Slack, Google Chat, Discord, MS Teams, and more.
|
|
5
5
|
Author-email: Dailybot <support@dailybot.com>
|
|
6
6
|
License: MIT
|
|
@@ -43,6 +43,25 @@ The command-line bridge between **humans** and **agents**. [Dailybot](https://ww
|
|
|
43
43
|
|
|
44
44
|
> 🤖 **Using an AI coding agent?** The CLI is even better paired with the **[Dailybot agent skill](https://github.com/DailybotHQ/agent-skill)** — a playbook that teaches Claude Code, Cursor, Codex, Gemini, and Copilot *when* and *how* to use these commands (report progress, complete check-ins, run and **author** forms & check-ins, give kudos, send chat messages). Install it with `npx skills add DailybotHQ/agent-skill`. See [For agents → pair with the agent skill](#pair-with-the-dailybot-agent-skill).
|
|
45
45
|
|
|
46
|
+
## Upgrading to 2.0 (breaking changes)
|
|
47
|
+
|
|
48
|
+
**2.0** completes the CLI's parity with the public Dailybot API. It is a **major**
|
|
49
|
+
release because two consumer-visible contracts changed:
|
|
50
|
+
|
|
51
|
+
- **List output is now a paginated envelope.** Every list command paginates
|
|
52
|
+
(`--all`, `--page`, `--page-size`, `--limit`), searches (`--search`/`--grep`), and
|
|
53
|
+
filters by date (`--since`/`--until`/`--date`/`--today`/`--last-week`), and prints a
|
|
54
|
+
`Showing X of N` footer. `--json` still emits the list of items, so most scripts are
|
|
55
|
+
unaffected; anything that parsed a *bare array* from an internal endpoint should read
|
|
56
|
+
the `results` field of the envelope instead.
|
|
57
|
+
- **Errors are machine-readable.** Failures now carry a stable `code` and render
|
|
58
|
+
friendly, actionable messages (plan/permission/validation), instead of raw JSON.
|
|
59
|
+
|
|
60
|
+
New in 2.0: `dailybot me` / `org` / `user get`, `kudos list` / `org` / `wall-of-fame`,
|
|
61
|
+
the read-only `workflow list` / `get`, `chat send --send-as-user` / `--send-as-me`, and
|
|
62
|
+
uniform API-key ↔ Bearer auth on every endpoint (except `logout`, which stays
|
|
63
|
+
Bearer-only). See the [API reference](docs/API_REFERENCE.md) for the full surface.
|
|
64
|
+
|
|
46
65
|
## Installation
|
|
47
66
|
|
|
48
67
|
```bash
|
|
@@ -209,6 +228,21 @@ The chat mode uses your `dailybot login` session and supports control commands:
|
|
|
209
228
|
|
|
210
229
|
---
|
|
211
230
|
|
|
231
|
+
## Account and organization
|
|
232
|
+
|
|
233
|
+
```bash
|
|
234
|
+
# Show the authenticated user and the org context of your credential
|
|
235
|
+
dailybot me
|
|
236
|
+
dailybot me --include-email # include your email in the output
|
|
237
|
+
dailybot me --json
|
|
238
|
+
|
|
239
|
+
# Show the organization the credential is scoped to
|
|
240
|
+
dailybot org
|
|
241
|
+
dailybot org --json
|
|
242
|
+
```
|
|
243
|
+
|
|
244
|
+
---
|
|
245
|
+
|
|
212
246
|
## Check-ins
|
|
213
247
|
|
|
214
248
|
```bash
|
|
@@ -459,6 +493,29 @@ Team kudos pass through the backend's team manager, which expands the team into
|
|
|
459
493
|
| `--yes` | `-y` | Skip the confirmation prompt. |
|
|
460
494
|
| `--json` | | Emit machine-readable JSON to stdout. |
|
|
461
495
|
|
|
496
|
+
### Browsing kudos
|
|
497
|
+
|
|
498
|
+
```bash
|
|
499
|
+
# List kudos you've received or given (paginated, searchable, date-filterable)
|
|
500
|
+
dailybot kudos list
|
|
501
|
+
dailybot kudos list --filter KUDOS_RECEIVED
|
|
502
|
+
dailybot kudos list --filter KUDOS_GIVEN --since 2026-01-01 --until 2026-06-30
|
|
503
|
+
dailybot kudos list --search "release" --all --json
|
|
504
|
+
|
|
505
|
+
# Org-wide kudos stats
|
|
506
|
+
dailybot kudos org --json
|
|
507
|
+
|
|
508
|
+
# Leaderboard of top kudos recipients
|
|
509
|
+
dailybot kudos wall-of-fame --limit 10
|
|
510
|
+
```
|
|
511
|
+
|
|
512
|
+
`dailybot kudos list` accepts the shared list flags (pagination, `--search`, and
|
|
513
|
+
date filters) — see [Listing, search, and pagination](#listing-search-and-pagination).
|
|
514
|
+
|
|
515
|
+
> `dailybot kudos org` is **API-key-only**: the org-stats endpoint rejects a CLI
|
|
516
|
+
> login (Bearer) session with `403`. Set `DAILYBOT_API_KEY` (or
|
|
517
|
+
> `dailybot config key=...`) before running it.
|
|
518
|
+
|
|
462
519
|
---
|
|
463
520
|
|
|
464
521
|
## Team
|
|
@@ -470,6 +527,10 @@ dailybot user list
|
|
|
470
527
|
# Machine-readable
|
|
471
528
|
dailybot user list --json
|
|
472
529
|
|
|
530
|
+
# Get a single member by UUID
|
|
531
|
+
dailybot user get <user_uuid>
|
|
532
|
+
dailybot user get <user_uuid> --include-email --json
|
|
533
|
+
|
|
473
534
|
# List teams visible to you (scoped server-side by your role)
|
|
474
535
|
dailybot team list
|
|
475
536
|
|
|
@@ -484,9 +545,53 @@ The `user list` table shows **Name** and **User UUID**. You can copy a UUID dire
|
|
|
484
545
|
|
|
485
546
|
---
|
|
486
547
|
|
|
548
|
+
## Workflows
|
|
549
|
+
|
|
550
|
+
Browse the workflows configured in your organization. This surface is
|
|
551
|
+
**read-only** — workflows are created and edited in the Dailybot web app. The
|
|
552
|
+
feature is plan-gated; an org on a plan without workflows gets a clear upgrade
|
|
553
|
+
message.
|
|
554
|
+
|
|
555
|
+
```bash
|
|
556
|
+
# List workflows visible to you (paginated + searchable)
|
|
557
|
+
dailybot workflow list
|
|
558
|
+
dailybot workflow list --search "release" --all --json
|
|
559
|
+
|
|
560
|
+
# Get a single workflow by UUID
|
|
561
|
+
dailybot workflow get <workflow_uuid>
|
|
562
|
+
dailybot workflow get <workflow_uuid> --json
|
|
563
|
+
```
|
|
564
|
+
|
|
565
|
+
`dailybot workflow list` accepts the shared list flags — see
|
|
566
|
+
[Listing, search, and pagination](#listing-search-and-pagination).
|
|
567
|
+
|
|
568
|
+
---
|
|
569
|
+
|
|
570
|
+
## Listing, search, and pagination
|
|
571
|
+
|
|
572
|
+
The list commands (`form list`, `kudos list`, `workflow list`) share a common
|
|
573
|
+
set of flags, and `form responses` / `checkin history` accept the `--search`
|
|
574
|
+
subset. Every list endpoint returns a `{count, next, previous, results}`
|
|
575
|
+
envelope, and list output prints a `Showing X of N` count footer.
|
|
576
|
+
|
|
577
|
+
| Flag | Description |
|
|
578
|
+
|------|-------------|
|
|
579
|
+
| `--page N` | Fetch a specific 1-based page. |
|
|
580
|
+
| `--page-size N` | Results per page (max 200). |
|
|
581
|
+
| `--all` | Fetch every page and merge the results. |
|
|
582
|
+
| `--limit N` | Stop after N results. |
|
|
583
|
+
| `--search TEXT` / `--grep TEXT` | Filter by a search term (max 256 chars, truncated client-side). |
|
|
584
|
+
| `--since YYYY-MM-DD` | Only results on or after this date. |
|
|
585
|
+
| `--until YYYY-MM-DD` | Only results on or before this date. |
|
|
586
|
+
| `--date YYYY-MM-DD` | Only results on this date. |
|
|
587
|
+
| `--last-week` | Shortcut for the previous seven days. |
|
|
588
|
+
| `--today` | Shortcut for today. |
|
|
589
|
+
|
|
590
|
+
---
|
|
591
|
+
|
|
487
592
|
## User-scoped exit codes
|
|
488
593
|
|
|
489
|
-
All user-scoped commands (`checkin`, `form`, `kudos`, `user`, `team`) use structured exit codes for scripting:
|
|
594
|
+
All user-scoped commands (`checkin`, `form`, `kudos`, `user`, `team`, `workflow`, `me`, `org`) use structured exit codes for scripting:
|
|
490
595
|
|
|
491
596
|
| Code | Meaning |
|
|
492
597
|
|------|---------|
|
|
@@ -766,6 +871,8 @@ Replies to agent emails land as messages retrievable via `dailybot agent message
|
|
|
766
871
|
| `dailybot login` | Authenticate with email OTP |
|
|
767
872
|
| `dailybot logout` | Log out and revoke token |
|
|
768
873
|
| `dailybot status` | Show pending check-ins and auth status |
|
|
874
|
+
| `dailybot me` | Show the authenticated user and org context (`--include-email`, `--json`) |
|
|
875
|
+
| `dailybot org` | Show the organization the credential is scoped to (`--json`) |
|
|
769
876
|
| `dailybot update` | Submit a free-text or structured check-in update |
|
|
770
877
|
| `dailybot config` | Get, set, or remove a stored setting (e.g. API key) |
|
|
771
878
|
| `dailybot version` | Show version info and optionally check for updates |
|
|
@@ -797,15 +904,26 @@ Replies to agent emails land as messages retrievable via `dailybot agent message
|
|
|
797
904
|
| Command | Description |
|
|
798
905
|
|---------|-------------|
|
|
799
906
|
| `dailybot kudos give` | Give kudos to a user (`--to`), a team (`--team`), or both |
|
|
907
|
+
| `dailybot kudos list` | List kudos you've received or given (`--filter`, search, date flags) |
|
|
908
|
+
| `dailybot kudos org` | Org-wide kudos stats (**API-key-only**) |
|
|
909
|
+
| `dailybot kudos wall-of-fame` | Leaderboard of top kudos recipients (`--limit`) |
|
|
800
910
|
|
|
801
911
|
### Team
|
|
802
912
|
|
|
803
913
|
| Command | Description |
|
|
804
914
|
|---------|-------------|
|
|
805
915
|
| `dailybot user list` | List all members in your organization |
|
|
916
|
+
| `dailybot user get <uuid>` | Show a single member (`--include-email`, `--json`) |
|
|
806
917
|
| `dailybot team list` | List teams visible to you (scoped server-side by role) |
|
|
807
918
|
| `dailybot team get <uuid_or_name>` | Show a team; add `--with-members` for the member list |
|
|
808
919
|
|
|
920
|
+
### Workflows
|
|
921
|
+
|
|
922
|
+
| Command | Description |
|
|
923
|
+
|---------|-------------|
|
|
924
|
+
| `dailybot workflow list` | List workflows visible to you (read-only; search + pagination) |
|
|
925
|
+
| `dailybot workflow get <uuid>` | Show a single workflow by UUID |
|
|
926
|
+
|
|
809
927
|
### Chat (send bot messages to Slack/Teams/Discord/Google Chat)
|
|
810
928
|
|
|
811
929
|
Sends a **Dailybot bot** message to your connected chat platform — to user
|
|
@@ -840,6 +958,10 @@ dailybot chat send -c C0123 -m "Build #421 ✅" \
|
|
|
840
958
|
--bot-name "Release Bot" --bot-icon-emoji ":rocket:" \
|
|
841
959
|
--link-button "Open report::https://app.company.com/report"
|
|
842
960
|
|
|
961
|
+
# Send with another user's identity, or as yourself (Slack only, admin-only)
|
|
962
|
+
dailybot chat send -c C0123 -m "Posting for the team" --send-as-user <user-uuid>
|
|
963
|
+
dailybot chat send -c C0123 -m "This one is from me" --send-as-me
|
|
964
|
+
|
|
843
965
|
# Ephemeral (Slack; only the recipient sees it — needs a user target)
|
|
844
966
|
dailybot chat send -u ana@co.com -m "Heads up" --ephemeral
|
|
845
967
|
|
|
@@ -864,6 +986,11 @@ reply in place. Threads render natively where the platform supports it (Slack
|
|
|
864
986
|
channels + DMs; Teams/Discord/Google Chat thread in channels, deliver flat in
|
|
865
987
|
DMs).
|
|
866
988
|
|
|
989
|
+
**Send as a user (Slack only, admin-only):** `--send-as-user <UUID>` posts the
|
|
990
|
+
bot message with that user's name and profile picture; `--send-as-me` is the
|
|
991
|
+
shortcut for the authenticated user. Both require org-admin rights and are
|
|
992
|
+
mutually exclusive with `--bot-name` / `--bot-icon-url` / `--bot-icon-emoji`.
|
|
993
|
+
|
|
867
994
|
**Auth & scope:** with a login session the message is sent **as you**, limited
|
|
868
995
|
to what your role can reach in your org (teammates, public channels, teams you
|
|
869
996
|
belong to); an org API key (`dailybot config key=...`) is org-wide. A target
|
|
@@ -4,6 +4,25 @@ The command-line bridge between **humans** and **agents**. [Dailybot](https://ww
|
|
|
4
4
|
|
|
5
5
|
> 🤖 **Using an AI coding agent?** The CLI is even better paired with the **[Dailybot agent skill](https://github.com/DailybotHQ/agent-skill)** — a playbook that teaches Claude Code, Cursor, Codex, Gemini, and Copilot *when* and *how* to use these commands (report progress, complete check-ins, run and **author** forms & check-ins, give kudos, send chat messages). Install it with `npx skills add DailybotHQ/agent-skill`. See [For agents → pair with the agent skill](#pair-with-the-dailybot-agent-skill).
|
|
6
6
|
|
|
7
|
+
## Upgrading to 2.0 (breaking changes)
|
|
8
|
+
|
|
9
|
+
**2.0** completes the CLI's parity with the public Dailybot API. It is a **major**
|
|
10
|
+
release because two consumer-visible contracts changed:
|
|
11
|
+
|
|
12
|
+
- **List output is now a paginated envelope.** Every list command paginates
|
|
13
|
+
(`--all`, `--page`, `--page-size`, `--limit`), searches (`--search`/`--grep`), and
|
|
14
|
+
filters by date (`--since`/`--until`/`--date`/`--today`/`--last-week`), and prints a
|
|
15
|
+
`Showing X of N` footer. `--json` still emits the list of items, so most scripts are
|
|
16
|
+
unaffected; anything that parsed a *bare array* from an internal endpoint should read
|
|
17
|
+
the `results` field of the envelope instead.
|
|
18
|
+
- **Errors are machine-readable.** Failures now carry a stable `code` and render
|
|
19
|
+
friendly, actionable messages (plan/permission/validation), instead of raw JSON.
|
|
20
|
+
|
|
21
|
+
New in 2.0: `dailybot me` / `org` / `user get`, `kudos list` / `org` / `wall-of-fame`,
|
|
22
|
+
the read-only `workflow list` / `get`, `chat send --send-as-user` / `--send-as-me`, and
|
|
23
|
+
uniform API-key ↔ Bearer auth on every endpoint (except `logout`, which stays
|
|
24
|
+
Bearer-only). See the [API reference](docs/API_REFERENCE.md) for the full surface.
|
|
25
|
+
|
|
7
26
|
## Installation
|
|
8
27
|
|
|
9
28
|
```bash
|
|
@@ -170,6 +189,21 @@ The chat mode uses your `dailybot login` session and supports control commands:
|
|
|
170
189
|
|
|
171
190
|
---
|
|
172
191
|
|
|
192
|
+
## Account and organization
|
|
193
|
+
|
|
194
|
+
```bash
|
|
195
|
+
# Show the authenticated user and the org context of your credential
|
|
196
|
+
dailybot me
|
|
197
|
+
dailybot me --include-email # include your email in the output
|
|
198
|
+
dailybot me --json
|
|
199
|
+
|
|
200
|
+
# Show the organization the credential is scoped to
|
|
201
|
+
dailybot org
|
|
202
|
+
dailybot org --json
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
---
|
|
206
|
+
|
|
173
207
|
## Check-ins
|
|
174
208
|
|
|
175
209
|
```bash
|
|
@@ -420,6 +454,29 @@ Team kudos pass through the backend's team manager, which expands the team into
|
|
|
420
454
|
| `--yes` | `-y` | Skip the confirmation prompt. |
|
|
421
455
|
| `--json` | | Emit machine-readable JSON to stdout. |
|
|
422
456
|
|
|
457
|
+
### Browsing kudos
|
|
458
|
+
|
|
459
|
+
```bash
|
|
460
|
+
# List kudos you've received or given (paginated, searchable, date-filterable)
|
|
461
|
+
dailybot kudos list
|
|
462
|
+
dailybot kudos list --filter KUDOS_RECEIVED
|
|
463
|
+
dailybot kudos list --filter KUDOS_GIVEN --since 2026-01-01 --until 2026-06-30
|
|
464
|
+
dailybot kudos list --search "release" --all --json
|
|
465
|
+
|
|
466
|
+
# Org-wide kudos stats
|
|
467
|
+
dailybot kudos org --json
|
|
468
|
+
|
|
469
|
+
# Leaderboard of top kudos recipients
|
|
470
|
+
dailybot kudos wall-of-fame --limit 10
|
|
471
|
+
```
|
|
472
|
+
|
|
473
|
+
`dailybot kudos list` accepts the shared list flags (pagination, `--search`, and
|
|
474
|
+
date filters) — see [Listing, search, and pagination](#listing-search-and-pagination).
|
|
475
|
+
|
|
476
|
+
> `dailybot kudos org` is **API-key-only**: the org-stats endpoint rejects a CLI
|
|
477
|
+
> login (Bearer) session with `403`. Set `DAILYBOT_API_KEY` (or
|
|
478
|
+
> `dailybot config key=...`) before running it.
|
|
479
|
+
|
|
423
480
|
---
|
|
424
481
|
|
|
425
482
|
## Team
|
|
@@ -431,6 +488,10 @@ dailybot user list
|
|
|
431
488
|
# Machine-readable
|
|
432
489
|
dailybot user list --json
|
|
433
490
|
|
|
491
|
+
# Get a single member by UUID
|
|
492
|
+
dailybot user get <user_uuid>
|
|
493
|
+
dailybot user get <user_uuid> --include-email --json
|
|
494
|
+
|
|
434
495
|
# List teams visible to you (scoped server-side by your role)
|
|
435
496
|
dailybot team list
|
|
436
497
|
|
|
@@ -445,9 +506,53 @@ The `user list` table shows **Name** and **User UUID**. You can copy a UUID dire
|
|
|
445
506
|
|
|
446
507
|
---
|
|
447
508
|
|
|
509
|
+
## Workflows
|
|
510
|
+
|
|
511
|
+
Browse the workflows configured in your organization. This surface is
|
|
512
|
+
**read-only** — workflows are created and edited in the Dailybot web app. The
|
|
513
|
+
feature is plan-gated; an org on a plan without workflows gets a clear upgrade
|
|
514
|
+
message.
|
|
515
|
+
|
|
516
|
+
```bash
|
|
517
|
+
# List workflows visible to you (paginated + searchable)
|
|
518
|
+
dailybot workflow list
|
|
519
|
+
dailybot workflow list --search "release" --all --json
|
|
520
|
+
|
|
521
|
+
# Get a single workflow by UUID
|
|
522
|
+
dailybot workflow get <workflow_uuid>
|
|
523
|
+
dailybot workflow get <workflow_uuid> --json
|
|
524
|
+
```
|
|
525
|
+
|
|
526
|
+
`dailybot workflow list` accepts the shared list flags — see
|
|
527
|
+
[Listing, search, and pagination](#listing-search-and-pagination).
|
|
528
|
+
|
|
529
|
+
---
|
|
530
|
+
|
|
531
|
+
## Listing, search, and pagination
|
|
532
|
+
|
|
533
|
+
The list commands (`form list`, `kudos list`, `workflow list`) share a common
|
|
534
|
+
set of flags, and `form responses` / `checkin history` accept the `--search`
|
|
535
|
+
subset. Every list endpoint returns a `{count, next, previous, results}`
|
|
536
|
+
envelope, and list output prints a `Showing X of N` count footer.
|
|
537
|
+
|
|
538
|
+
| Flag | Description |
|
|
539
|
+
|------|-------------|
|
|
540
|
+
| `--page N` | Fetch a specific 1-based page. |
|
|
541
|
+
| `--page-size N` | Results per page (max 200). |
|
|
542
|
+
| `--all` | Fetch every page and merge the results. |
|
|
543
|
+
| `--limit N` | Stop after N results. |
|
|
544
|
+
| `--search TEXT` / `--grep TEXT` | Filter by a search term (max 256 chars, truncated client-side). |
|
|
545
|
+
| `--since YYYY-MM-DD` | Only results on or after this date. |
|
|
546
|
+
| `--until YYYY-MM-DD` | Only results on or before this date. |
|
|
547
|
+
| `--date YYYY-MM-DD` | Only results on this date. |
|
|
548
|
+
| `--last-week` | Shortcut for the previous seven days. |
|
|
549
|
+
| `--today` | Shortcut for today. |
|
|
550
|
+
|
|
551
|
+
---
|
|
552
|
+
|
|
448
553
|
## User-scoped exit codes
|
|
449
554
|
|
|
450
|
-
All user-scoped commands (`checkin`, `form`, `kudos`, `user`, `team`) use structured exit codes for scripting:
|
|
555
|
+
All user-scoped commands (`checkin`, `form`, `kudos`, `user`, `team`, `workflow`, `me`, `org`) use structured exit codes for scripting:
|
|
451
556
|
|
|
452
557
|
| Code | Meaning |
|
|
453
558
|
|------|---------|
|
|
@@ -727,6 +832,8 @@ Replies to agent emails land as messages retrievable via `dailybot agent message
|
|
|
727
832
|
| `dailybot login` | Authenticate with email OTP |
|
|
728
833
|
| `dailybot logout` | Log out and revoke token |
|
|
729
834
|
| `dailybot status` | Show pending check-ins and auth status |
|
|
835
|
+
| `dailybot me` | Show the authenticated user and org context (`--include-email`, `--json`) |
|
|
836
|
+
| `dailybot org` | Show the organization the credential is scoped to (`--json`) |
|
|
730
837
|
| `dailybot update` | Submit a free-text or structured check-in update |
|
|
731
838
|
| `dailybot config` | Get, set, or remove a stored setting (e.g. API key) |
|
|
732
839
|
| `dailybot version` | Show version info and optionally check for updates |
|
|
@@ -758,15 +865,26 @@ Replies to agent emails land as messages retrievable via `dailybot agent message
|
|
|
758
865
|
| Command | Description |
|
|
759
866
|
|---------|-------------|
|
|
760
867
|
| `dailybot kudos give` | Give kudos to a user (`--to`), a team (`--team`), or both |
|
|
868
|
+
| `dailybot kudos list` | List kudos you've received or given (`--filter`, search, date flags) |
|
|
869
|
+
| `dailybot kudos org` | Org-wide kudos stats (**API-key-only**) |
|
|
870
|
+
| `dailybot kudos wall-of-fame` | Leaderboard of top kudos recipients (`--limit`) |
|
|
761
871
|
|
|
762
872
|
### Team
|
|
763
873
|
|
|
764
874
|
| Command | Description |
|
|
765
875
|
|---------|-------------|
|
|
766
876
|
| `dailybot user list` | List all members in your organization |
|
|
877
|
+
| `dailybot user get <uuid>` | Show a single member (`--include-email`, `--json`) |
|
|
767
878
|
| `dailybot team list` | List teams visible to you (scoped server-side by role) |
|
|
768
879
|
| `dailybot team get <uuid_or_name>` | Show a team; add `--with-members` for the member list |
|
|
769
880
|
|
|
881
|
+
### Workflows
|
|
882
|
+
|
|
883
|
+
| Command | Description |
|
|
884
|
+
|---------|-------------|
|
|
885
|
+
| `dailybot workflow list` | List workflows visible to you (read-only; search + pagination) |
|
|
886
|
+
| `dailybot workflow get <uuid>` | Show a single workflow by UUID |
|
|
887
|
+
|
|
770
888
|
### Chat (send bot messages to Slack/Teams/Discord/Google Chat)
|
|
771
889
|
|
|
772
890
|
Sends a **Dailybot bot** message to your connected chat platform — to user
|
|
@@ -801,6 +919,10 @@ dailybot chat send -c C0123 -m "Build #421 ✅" \
|
|
|
801
919
|
--bot-name "Release Bot" --bot-icon-emoji ":rocket:" \
|
|
802
920
|
--link-button "Open report::https://app.company.com/report"
|
|
803
921
|
|
|
922
|
+
# Send with another user's identity, or as yourself (Slack only, admin-only)
|
|
923
|
+
dailybot chat send -c C0123 -m "Posting for the team" --send-as-user <user-uuid>
|
|
924
|
+
dailybot chat send -c C0123 -m "This one is from me" --send-as-me
|
|
925
|
+
|
|
804
926
|
# Ephemeral (Slack; only the recipient sees it — needs a user target)
|
|
805
927
|
dailybot chat send -u ana@co.com -m "Heads up" --ephemeral
|
|
806
928
|
|
|
@@ -825,6 +947,11 @@ reply in place. Threads render natively where the platform supports it (Slack
|
|
|
825
947
|
channels + DMs; Teams/Discord/Google Chat thread in channels, deliver flat in
|
|
826
948
|
DMs).
|
|
827
949
|
|
|
950
|
+
**Send as a user (Slack only, admin-only):** `--send-as-user <UUID>` posts the
|
|
951
|
+
bot message with that user's name and profile picture; `--send-as-me` is the
|
|
952
|
+
shortcut for the authenticated user. Both require org-admin rights and are
|
|
953
|
+
mutually exclusive with `--bot-name` / `--bot-icon-url` / `--bot-icon-emoji`.
|
|
954
|
+
|
|
828
955
|
**Auth & scope:** with a login session the message is sent **as you**, limited
|
|
829
956
|
to what your role can reach in your org (teammates, public channels, teams you
|
|
830
957
|
belong to); an org API key (`dailybot config key=...`) is org-wide. A target
|