primitive 1.23.0 → 1.25.0

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/README.md +19 -0
  2. package/dist/oclif/index.js +1000 -152
  3. package/package.json +7 -4
package/README.md CHANGED
@@ -156,6 +156,7 @@ primitive chat reply "See attached" --attachment ./report.pdf
156
156
  primitive emails list
157
157
  primitive emails get --id <inbound-email-id>
158
158
  primitive sent list
159
+ primitive sent delete --id <sent-email-id>
159
160
  primitive domains list
160
161
  primitive functions templates
161
162
  primitive functions init my-fn --template email-reply
@@ -167,6 +168,24 @@ primitive deliveries replay --id <delivery-id>
167
168
 
168
169
  Generated API commands remain available for compatibility and full schema parity, for example `primitive emails:list-emails` and `primitive sending:reply-to-email`.
169
170
 
171
+ ## Remove mailbox history
172
+
173
+ `primitive sent delete --id <sent-email-id>` removes sender history and owned
174
+ attachments. It does not recall delivery or delete recipient copies. Cancel
175
+ scheduled sends before deleting them. A 409 means the record is not currently
176
+ eligible; a 500 or 503 may mean some files were removed already, so retry the same
177
+ DELETE. Repeating a completed deletion succeeds.
178
+
179
+ After disconnecting an agent, an owner or admin logged in with OAuth can run
180
+ `primitive agent-connections remove-agent-connection --address agent@example.com`.
181
+ This removes the revoked connection record while preserving mail, notes and the
182
+ external runtime. Active connections return 409; missing records return 404.
183
+ Organization API keys cannot remove connections.
184
+
185
+ Send and reply can return HTTP 410 `sent_email_deleted` when a prior send was
186
+ deleted. Its occupied idempotency key or automatic reply suppression stays reserved.
187
+ Do not generate a new key or send again to bypass this refusal.
188
+
170
189
  ## Primitive Memories
171
190
 
172
191
  Memories are durable JSON key-value records scoped to your org by default. Use