primcli 3.0.0-preview.5 → 3.0.0-preview.7
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 +9 -8
- package/dist/{api-command-DIo8Rg0w.js → api-command-BXYpylbG.js} +2078 -461
- package/dist/{json-output-DWrJMakZ.js → json-output-ch756TXV.js} +8 -1
- package/dist/{listen-background-C0F9gNDD.js → listen-background-DyBYca28.js} +323 -36
- package/dist/{machine-session-BIOGBT9g.js → machine-session-YQWxPePp.js} +6 -6
- package/dist/{notify-session-o9hEtJ_c.js → notify-session-Bm59oy4j.js} +3 -3
- package/dist/oclif/auto-signal-worker.js +3 -3
- package/dist/oclif/auto-signals.js +1 -1
- package/dist/oclif/command-not-found.js +1 -1
- package/dist/oclif/index.js +2298 -728
- package/dist/oclif/listen-supervisor.js +1 -1
- package/dist/oclif/proxy-auto-detect.js +1 -1
- package/dist/oclif/receiver-heal.js +4 -3
- package/dist/oclif/root-signup-hint.js +15 -15
- package/dist/{repeats-Dj_o6c-X-Ix28GRRc.js → repeats-Dj_o6c-X-C6tOKAqk.js} +177 -30
- package/dist/{scoped-chat-DcymzGgB.js → scoped-chat-GItY2PvL.js} +1 -1
- package/dist/{signal-command-CRGoKO4A.js → signal-command-CvEDx8qQ.js} +4 -4
- package/man/primitive.1 +7 -1
- package/package.json +4 -4
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Dn as listSentEmails, Ht as getEmail, Jn as sendEmail, _ as describeApiFailure, h as sendPreparedSignal, p as prepareSignalEmail, vt as createEndpoint } from "./repeats-Dj_o6c-X-C6tOKAqk.js";
|
|
2
|
+
import { Dt as successfulSendOutcome, dt as classifySendError, j as bareAddress, s as extractErrorPayload } from "./api-command-BXYpylbG.js";
|
|
3
3
|
import { recordSentSignal } from "./oclif/auto-signals.js";
|
|
4
4
|
import { _ as acquireListenLock, c as mailTime, d as readMailJson, f as removeMailFile, h as writeMailJson, i as mailId, l as privateMailDirectory, m as withMailLock, n as invalidSharedMail, o as mailObject, p as syncMailDirectory, r as mailAddress, s as mailString, t as SharedMailStateError, v as compareListenProcessIdentity, x as listenProcessIdentity, y as listenIdentity } from "./shared-mail-files-BAQSGxxz.js";
|
|
5
|
-
import { i as readApiBeforeDeadline, n as isPlainChatReply, o as scopedChatSenderTrust } from "./scoped-chat-
|
|
5
|
+
import { i as readApiBeforeDeadline, n as isPlainChatReply, o as scopedChatSenderTrust } from "./scoped-chat-GItY2PvL.js";
|
|
6
6
|
import { n as tryOwnSharedMail, r as waitForSharedMailChange, t as readSharedMailOwner } from "./shared-mail-watch-BAPMsFNv.js";
|
|
7
7
|
import { Errors } from "@oclif/core";
|
|
8
8
|
import { opendirSync } from "node:fs";
|
|
9
9
|
import { createHash, randomUUID, scryptSync } from "node:crypto";
|
|
10
10
|
import { dirname, join } from "node:path";
|
|
11
11
|
import { setTimeout as setTimeout$1 } from "node:timers/promises";
|
|
12
|
-
// ../sdk-node/dist/api-
|
|
12
|
+
// ../sdk-node/dist/api-DYBF9r3I.js
|
|
13
13
|
const jsonBodySerializer = { bodySerializer: (body) => JSON.stringify(body, (_key, value) => typeof value === "bigint" ? value.toString() : value) };
|
|
14
14
|
function createSseClient({ onRequest, onSseError, onSseEvent, responseTransformer, responseValidator, sseDefaultRetryDelay, sseMaxRetryAttempts, sseMaxRetryDelay, sseSleepFn, url, ...options }) {
|
|
15
15
|
let lastEventId;
|
package/man/primitive.1
CHANGED
|
@@ -218,6 +218,11 @@ run directly. If your organization requires approval, the command prints the
|
|
|
218
218
|
approval link and waits for the one-time token the page shows, or takes it with
|
|
219
219
|
.BR --step-up-token .
|
|
220
220
|
A new secret is printed once and never saved.
|
|
221
|
+
.B primitive keys update ID --expires-at TIME
|
|
222
|
+
extends a key before it expires; rotating keeps its expiry unless
|
|
223
|
+
.B rotate
|
|
224
|
+
is given
|
|
225
|
+
.BR --expires-at .
|
|
221
226
|
.B primitive keys revoke ID
|
|
222
227
|
revokes a key.
|
|
223
228
|
.B primitive whoami --check PERMISSION
|
|
@@ -232,7 +237,8 @@ signed in with
|
|
|
232
237
|
can leave; API keys are refused. The only owner of an organization cannot leave
|
|
233
238
|
it. If the server asks for a dashboard confirmation, open the page it names and
|
|
234
239
|
paste the token at the prompt, or pass it with --step-up-token. Refusals from
|
|
235
|
-
the server are printed as returned.
|
|
240
|
+
the server are printed as returned. Without a terminal and without --yes, it
|
|
241
|
+
exits 2 before anything is sent.
|
|
236
242
|
.PP
|
|
237
243
|
Run
|
|
238
244
|
.B primitive whoami
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "primcli",
|
|
3
|
-
"version": "3.0.0-preview.
|
|
3
|
+
"version": "3.0.0-preview.7",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"tag": "preview"
|
|
6
6
|
},
|
|
@@ -105,10 +105,10 @@
|
|
|
105
105
|
"description": "Send outbound emails. Prefer `primitive send` for fresh sends and `primitive reply --id <inbound-id>` for replies. Use `primitive domains list` or `primitive inbox status` to find usable sender domains for --from; `primitive sending permissions` lists recipient-scope destinations you may send to."
|
|
106
106
|
},
|
|
107
107
|
"signin": {
|
|
108
|
-
"description": "Sign in
|
|
108
|
+
"description": "Sign in with browser approval or an emailed code"
|
|
109
109
|
},
|
|
110
110
|
"login": {
|
|
111
|
-
"description": "Log in
|
|
111
|
+
"description": "Log in with browser approval or an emailed code"
|
|
112
112
|
},
|
|
113
113
|
"otp": {
|
|
114
114
|
"description": "Authenticate with an emailed one-time code"
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
"description": "Received and sent mail per hour, and how webhook deliveries ended"
|
|
187
187
|
},
|
|
188
188
|
"activity": {
|
|
189
|
-
"description": "What you created, and where each
|
|
189
|
+
"description": "What you created, and what other members asked of you, with where each stands now (ids, names and states only)"
|
|
190
190
|
},
|
|
191
191
|
"email-rules": {
|
|
192
192
|
"description": "Rules written in plain English that pick out received mail"
|