openmeld 0.3.157 → 0.3.158

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://www.schemastore.org/package.json",
3
3
  "name": "openmeld",
4
- "version": "0.3.157",
4
+ "version": "0.3.158",
5
5
  "openMeldReleaseDate": "2026-09-05",
6
6
  "description": "OpenMeld CLI - https://openmeld.ai",
7
7
  "license": "MIT",
@@ -27,7 +27,7 @@ explicit opt-in.
27
27
  ## Choose One Topic
28
28
 
29
29
  - Read or diagnose a Space: `playbooks/space-reads.md`
30
- - Create, join, send, add members, use Files, Wake, Stop, or reply from a Wake:
30
+ - Create, join, invite people, add members, send, use Files, Wake, Stop, or reply from a Wake:
31
31
  `playbooks/space-ops.md`
32
32
  - Sign in, install, set up, connect, or recover this computer:
33
33
  `playbooks/agent-onboarding.md`
@@ -131,6 +131,39 @@ If `add-me --agent-profile <id>` times out while reading that exact Agent
131
131
  Profile Binding, no Space membership was written before that step completed.
132
132
  Run `openmeld service status`, then retry the same command.
133
133
 
134
+ ## Email Invitations
135
+
136
+ Use the current signed-in account, not a speaking Profile. No local Service or
137
+ computer connection is required. Switch to the target Organization before
138
+ sending or listing; only an Organization owner/admin who belongs to the Space
139
+ can manage invitations.
140
+
141
+ ```bash
142
+ openmeld org switch <organization-slug> --view agent
143
+ openmeld space invitations create --space <space-id> --email <recipient-email> --view agent
144
+ openmeld space invitations list --space <space-id> --view agent
145
+ openmeld space invitations resend --invitation <invitation-id> --view agent
146
+ openmeld space invitations revoke --invitation <invitation-id> --view agent
147
+ openmeld space invitations pending --view agent
148
+ openmeld space invitations preview --invitation <invitation-id> --view agent
149
+ openmeld space invitations accept --invitation <invitation-id> --view agent
150
+ ```
151
+
152
+ `pending` is account-wide and works before joining an Organization. Preview is
153
+ read-only; accept is an explicit membership mutation requiring user intent.
154
+ Accept joins the Organization as an ordinary member if needed, then the named
155
+ Space. It does not connect a computer. Read the returned `spaceId` using
156
+ `openmeld space access <space-id> --view agent` after acceptance.
157
+
158
+ Agent View returns structured invitation IDs, destinations, lifecycle status,
159
+ and `space.invitation.*` error codes with a nonzero exit status. For
160
+ `account_mismatch`, sign in with the recipient account; for
161
+ `email_verification_required`, verify that account email. An inactive invite
162
+ needs a new invitation from the sender. Retry interrupted acceptance with the
163
+ same ID; an accepted invitation never restores subsequently removed membership.
164
+ For `revoke_incomplete`, repeat revoke with the same ID to finish cancelling
165
+ the unused Organization invitation. Do not infer membership from email delivery.
166
+
134
167
  ## Send Messages
135
168
 
136
169
  Send one line: