@the-vibe-company/armada 0.2.66 → 0.2.67
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 +4 -0
- package/dist/armada.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -316,6 +316,10 @@ Digests default to 09:00, 13:00 and 18:00 on weekdays in the channel’s IANA ti
|
|
|
316
316
|
|
|
317
317
|
**Optional scheduler, off by default.** `GET /api/cron/owner` requires `Authorization: Bearer <CRON_SECRET>`. Production ships with no enabled `crons` entry. Without a scheduler, a coordinator that stops with no worker in flight is noticed on the next fleet call, dashboard poll or GitHub/Linear webhook refresh. To enable Vercel Cron deliberately, set `CRON_SECRET` in the deployment and add `"crons": [{"path":"/api/cron/owner","schedule":"*/15 * * * *"}]` to `packages/dashboard/vercel.json`, then redeploy. Every 15 minutes requires a paid plan; the free plan allows a daily schedule such as `"0 9 * * *"`. The endpoint never refreshes Linear or GitHub and does nothing under the shared-password gate.
|
|
318
318
|
|
|
319
|
+
**Product analytics.** Armada's own production deployment (Vercel production built from `The-Vibe-Company/armada`) reports page views, including moves inside the app, and PostHog's default autocapture to Armada's PostHog project (US cloud). Any other deployment (a fork or another owner's copy, previews, local development, CI) reports nothing unless `NEXT_PUBLIC_POSTHOG_KEY` is set; `NEXT_PUBLIC_POSTHOG_HOST` names another PostHog host. The browser calls PostHog directly, so no dashboard cookie reaches it, and one-time codes in addresses (`user_code`, `code`, `state`) are masked before sending. The SDK loads after the page is idle. With accounts, the browser is identified by the account id with its email and name, forgotten on sign-out, and the server sends `signed_up` once when an account is created.
|
|
320
|
+
|
|
321
|
+
**Stats.** `GET /api/stats` answers `{"total_users","new_users_1d","new_users_7d","active_users_1d","active_users_7d"}` to `Authorization: Bearer <STATS_TOKEN>`; without `STATS_TOKEN` it answers 401 to everyone. Users are accounts with a confirmed address, new ones by creation time; active users are those the dashboard saw in a browser (the shell's visit beacon), not CLI use. Every number is `null` under the shared-password gate, which has no accounts.
|
|
322
|
+
|
|
319
323
|
Try it locally with synthetic data and no key:
|
|
320
324
|
|
|
321
325
|
```sh
|
package/dist/armada.js
CHANGED
|
@@ -18506,7 +18506,7 @@ ${attachments.join(`
|
|
|
18506
18506
|
};
|
|
18507
18507
|
}
|
|
18508
18508
|
// package.json
|
|
18509
|
-
var version = "0.2.
|
|
18509
|
+
var version = "0.2.67";
|
|
18510
18510
|
|
|
18511
18511
|
// src/io.ts
|
|
18512
18512
|
class UsageError extends Error {
|