frontpage-host 0.3.0 → 0.3.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.
Files changed (3) hide show
  1. package/AGENTS.md +6 -0
  2. package/PEOPLE.md +2 -2
  3. package/package.json +1 -1
package/AGENTS.md CHANGED
@@ -285,3 +285,9 @@ See [MAIL.md](./MAIL.md) for the complete save contract, reusable people picker
285
285
  Rule placement: read a rule revision, then use `people workspace rules.place` with `id`, `owner` and `expectedRevision`. This only organizes the rule; it does not change its trigger or execution. New UI rules/attachments save paused. Generic attachment calls still need explicit `enabled:false` for paused creation. Saved optional conditions and exact duration minutes remain supported through CLI and agent calls.
286
286
 
287
287
  Group details Email and stage email tasks use the existing `frontpage mail save` / `save_mail_editor` completion. `attachment` checks saved group/stage emailVersion, creates paused rules, supports shared-template edits with rule revisions, and recovers identical retries. Read MAIL.md, Group and stage email tasks. Template get includes ruleUsage; deletion protects paused and active rule dependencies. Creating or saving never activates, enrolls or sends.
288
+
289
+ ### People workspace navigation and selection
290
+
291
+ People CRM has People and Groups tabs. Group details has Group details, Stages and Rules tabs. Group-entry emails remain rules with the same IDs. Stage Manage rules supports creating, placing, or attaching email without changing execution when placement changes. New attachments save paused.
292
+
293
+ For a manual group, `groups.people` accepts `availability: "all" | "available" | "member"` through `--data`. The server applies saved membership before counts and paging. This filter never grants or requires email permission. Conditional groups use condition preview and do not accept manual additions.
package/PEOPLE.md CHANGED
@@ -76,7 +76,7 @@ frontpage people groups restore --id GROUP_ID --site YOUR_SITE --json
76
76
 
77
77
  The group header offers **Add people** for manual groups and **View matching people** for conditional groups. Membership selection includes visible phone-only contacts and people without marketing permission. Current members are marked **Already in this group** and cannot be selected.
78
78
 
79
- Use `groups.people` with `groupId`, optional `q`, `source`, `sort` (`newest`, `oldest`, `name`), `page`, `selectedOnly` and `selected` IDs. It returns 20 people per page, a full filtered `total`, the actual `page`, phone/email contact details and `member`. It rejects conditional or archived groups and never records consent.
79
+ Use `groups.people` with `groupId`, optional `q`, `source`, `sort` (`newest`, `oldest`, `name`), `page`, `selectedOnly`, `selected` IDs and `availability` (`all`, `available`, `member`; default `all`). Availability checks current group membership, not email permission, and filters the full directory before counting and paging. It returns 20 people per page, a full filtered `total`, the actual `page`, phone/email contact details and `member`. It rejects conditional or archived groups and never records consent.
80
80
 
81
81
  Use `membership.addMany` with `groupId` and 1 to 20 `personIds` per request. The UI can select up to 100 and submits batches of 20. Results include `added`, `alreadyMember`, `skipped`, `failed` and per-person `results` with `personId`, `status` and an optional message. Retry unconfirmed or failed IDs: current members are skipped without resetting their stage or repeating join events. Hidden people are skipped; a group that changed to conditional or archived cannot receive new additions through this operation. Successful additions save immediately and keep the normal entry rules. This does not grant email permission or change other groups.
82
82
 
@@ -628,7 +628,7 @@ The agent can create and edit saved templates and series with the existing Email
628
628
  | groups.update | id, changed fields | Edit a group without changing its ID. |
629
629
  | groups.archive / groups.restore | id | Archive or restore a group. Related rules remain paused on restore. |
630
630
  | groups.preview | id or conditions; personId? or cursor? | Check conditions without changing membership. |
631
- | groups.people | groupId; q?, source?, sort?, page?, selectedOnly?, selected? | Read the manual-group picker, including phone-only contacts and current membership. |
631
+ | groups.people | groupId; q?, source?, sort?, page?, selectedOnly?, selected?, availability? | Read the manual-group picker, including phone-only contacts and current membership. |
632
632
  | stages.create | groupId, label, color?, position?, terminal? | Create a stage in a saved group. |
633
633
  | stages.update | id, groupId, changed fields | Edit a stage. |
634
634
  | stages.reorder | groupId, stageIds | Save every active stage ID in order, once each. |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "frontpage-host",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Frontpage CLI — manage your site from the terminal",
5
5
  "type": "module",
6
6
  "bin": {