@easybits.cloud/cli 0.18.0 → 0.19.1
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 +18 -1
- package/dist/index.js +638 -140
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -123,10 +123,18 @@ easybits secrets set --dotenv .env.production # KEY=VALUE lines; - reads stdin
|
|
|
123
123
|
printf '%s' "$TOKEN" | easybits secrets set GITHUB_TOKEN # one value from stdin
|
|
124
124
|
easybits secrets rm GITHUB_TOKEN --yes
|
|
125
125
|
|
|
126
|
-
# Your crons: call a public https URL or message one of your agents (at most every 5 min)
|
|
126
|
+
# Your crons: call a public https URL or message one of your agents, repeating (at most every 5 min) or once
|
|
127
127
|
easybits crons create "Study reminder" --cron "30 8 * * *" --url https://www.ghosty.studio/api/v2/me/push \
|
|
128
128
|
--method POST --body '{"title":"Study time"}' --secret GHOSTY_PUSH_TOKEN
|
|
129
129
|
easybits crons create "Weekly report" --cron "0 9 * * 1" --agent <agentId> --prompt "Send me the sales summary"
|
|
130
|
+
easybits crons create "Heads-up" --at 23:00 --url https://my-app.com/api/notice --method POST --dry-run # once, today 23:00 in --tz
|
|
131
|
+
easybits crons create "Heads-up" --in 2h --url https://my-app.com/api/notice --method POST # once; --until/--times end repeating ones
|
|
132
|
+
easybits crons create "Review" --at 23:00 --run "python3 asc.py submit" --file scripts/asc.py \
|
|
133
|
+
--secret-file ASC_P8:~/.appstoreconnect/private_keys/AuthKey_X.p8 # a command in a throwaway box; the .p8 only this cron reads
|
|
134
|
+
easybits crons get "Review" # what it does, how it notifies you, next run (--json: all of it)
|
|
135
|
+
easybits crons runs "Review" --logs --limit 5 # exit code + stdout/stderr
|
|
136
|
+
easybits crons wait "Review" --timeout 2h # blocks until it runs; exits with its exit code
|
|
137
|
+
easybits crons update "Review" --notify push,email --notify-on always # push to the Ghosty app / email to you
|
|
130
138
|
easybits crons ls
|
|
131
139
|
easybits crons update "Study reminder" --cron "0 7 * * 1-5"
|
|
132
140
|
easybits crons run "Study reminder" # id or exact name
|
|
@@ -134,6 +142,15 @@ easybits crons runs "Study reminder"
|
|
|
134
142
|
easybits crons pause "Study reminder"
|
|
135
143
|
easybits crons rm "Study reminder" --yes
|
|
136
144
|
|
|
145
|
+
# Event inboxes: your own webhook URL; events reach your terminal live or wait for you
|
|
146
|
+
easybits inbox create builds # prints the URL (anyone with it can write)
|
|
147
|
+
easybits inbox ls
|
|
148
|
+
easybits inbox listen builds # one JSON line per event, live (Claude Code: run it with Monitor)
|
|
149
|
+
easybits inbox read builds # the unread ones, marked read (--since <seq>: from a cursor)
|
|
150
|
+
easybits inbox update builds --retention 30 # rename (--name) or keep events longer; the URL stays
|
|
151
|
+
easybits inbox rotate builds --yes # new URL; the old one stops working (if it leaked)
|
|
152
|
+
easybits inbox rm builds --yes
|
|
153
|
+
|
|
137
154
|
# Platform crons (platform admins only; key with the ADMIN scope)
|
|
138
155
|
easybits crons ls --platform
|
|
139
156
|
easybits crons runs backup-machines
|