@atollhq/cli 0.1.3 → 0.1.5

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.
package/README.md CHANGED
@@ -43,6 +43,7 @@ Each profile can store its own API key, default org, default team, and base URL.
43
43
 
44
44
  ```bash
45
45
  atoll issue list
46
+ atoll heartbeat
46
47
  atoll issue create --title "Fix login bug" --priority 1
47
48
  atoll issue view ATOLL-42
48
49
  atoll project list
@@ -64,6 +65,93 @@ atoll --team eng issue create --title "..."
64
65
 
65
66
  Or via env vars: `ATOLL_PROFILE`, `ATOLL_API_KEY`, `ATOLL_ORG`, `ATOLL_TEAM`, `ATOLL_BASE_URL`.
66
67
 
68
+ `atoll config show` prints where each resolved value came from, such as `$ATOLL_API_KEY`,
69
+ `~/.atoll/config.json`, or a named profile in that config file. This helps distinguish
70
+ fresh installs from previously saved local configuration.
71
+
72
+ ## Agent-friendly output
73
+
74
+ Use `--json` on any command to emit machine-readable output:
75
+
76
+ ```bash
77
+ atoll --json issue list
78
+ atoll heartbeat --json
79
+ atoll agent-context
80
+ ```
81
+
82
+ List commands return a bounded object:
83
+
84
+ ```json
85
+ {
86
+ "resource": "issues",
87
+ "items": [],
88
+ "total": 0,
89
+ "limit": 25,
90
+ "offset": 0,
91
+ "nextOffset": null,
92
+ "truncated": false,
93
+ "hint": null
94
+ }
95
+ ```
96
+
97
+ Diagnostics and errors are written to stderr.
98
+
99
+ ## Heartbeat
100
+
101
+ Heartbeat is the primary agent orientation command:
102
+
103
+ ```bash
104
+ atoll heartbeat
105
+ atoll heartbeat --signals-only
106
+ atoll heartbeat --severity critical
107
+ atoll heartbeat --json
108
+ ```
109
+
110
+ It wraps `GET /api/orgs/{orgId}/heartbeat` and returns active goals, KPI pace, initiative health, assigned work, and prioritized signals.
111
+
112
+ ## Agent context
113
+
114
+ `atoll agent-context` emits a versioned JSON description of the CLI surface, selected profile/org context, known command flags, enum values, and available Atoll skill manifests.
115
+
116
+ ```bash
117
+ atoll agent-context | jq '.schema_version, .commands.heartbeat'
118
+ ```
119
+
120
+ ## Safer deletion
121
+
122
+ Permanent delete commands require `--force` and support `--dry-run`:
123
+
124
+ ```bash
125
+ atoll issue delete ATOLL-42 --dry-run
126
+ atoll issue delete ATOLL-42 --force
127
+ atoll comment delete <comment-id> --issue ATOLL-42 --force
128
+ atoll webhook delete <id> --force
129
+ ```
130
+
131
+ For issues, prefer reversible archive:
132
+
133
+ ```bash
134
+ atoll issue archive ATOLL-42
135
+ atoll issue unarchive ATOLL-42
136
+ ```
137
+
138
+ ## Feedback
139
+
140
+ Record CLI or platform friction locally:
141
+
142
+ ```bash
143
+ atoll feedback "the --status error should list custom board statuses"
144
+ atoll feedback list
145
+ ```
146
+
147
+ Submit upstream as well:
148
+
149
+ ```bash
150
+ atoll feedback --send "heartbeat should include issue_blocked signals"
151
+ ```
152
+
153
+ Set `ATOLL_FEEDBACK_ENDPOINT` to override the destination.
154
+
67
155
  ## Output URLs
68
156
 
69
157
  Issue and project JSON output includes a canonical `url` field pointing at the Atoll web app (honoring `ATOLL_BASE_URL` for self-hosted / local dev), suitable for pasting into standups, notifications, and follow-ups: