primcli 3.0.0-preview.2 → 3.0.0-preview.4
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 +5 -4
- package/dist/{api-command-B37DPKFA.js → api-command-BFfgKPTp.js} +985 -36
- package/dist/{json-output-BzSBR-KX.js → json-output-DWrJMakZ.js} +7 -1
- package/dist/{machine-session-g-xPd3X0.js → machine-session-DD35Pfgd.js} +4 -4
- package/dist/{notify-session-Bo8WgG3q.js → notify-session-aMGIFmeu.js} +2 -2
- package/dist/oclif/auto-signal-worker.js +3 -3
- package/dist/oclif/auto-signals.js +1 -1
- package/dist/oclif/command-not-found.js +62 -0
- package/dist/oclif/index.js +4849 -3482
- package/dist/oclif/proxy-auto-detect.js +1 -1
- package/dist/oclif/receiver-heal.js +2 -2
- package/dist/{repeats-Dj_o6c-X-BzXj5ICh.js → repeats-Dj_o6c-X-BwGkVE7e.js} +346 -213
- package/dist/{scoped-chat-TJlyUTi7.js → scoped-chat-B-J3sdNS.js} +1 -1
- package/dist/{signal-command-BO93dM2Q.js → signal-command-DEArW9g5.js} +4 -4
- package/man/primitive.1 +4 -3
- package/package.json +10 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { J as isTrustedSender, b as retryTransient, c as classifySignalContent } from "./repeats-Dj_o6c-X-BwGkVE7e.js";
|
|
2
2
|
// src/oclif/presence-provenance.ts
|
|
3
3
|
function readPresenceProjection(detail) {
|
|
4
4
|
if (!detail || typeof detail !== "object") return null;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Rt as getEmail, Vn as sendEmail, _ as describeApiFailure, bn as listSentEmails, h as sendPreparedSignal, mt as createEndpoint, p as prepareSignalEmail } from "./repeats-Dj_o6c-X-BwGkVE7e.js";
|
|
2
|
+
import { A as bareAddress, Et as successfulSendOutcome, s as extractErrorPayload, ut as classifySendError } from "./api-command-BFfgKPTp.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-B-J3sdNS.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-C6sQm1_c.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
|
@@ -214,9 +214,10 @@ to see API keys and their permissions; neither shows a secret.
|
|
|
214
214
|
.B rotate
|
|
215
215
|
and
|
|
216
216
|
.B update
|
|
217
|
-
|
|
218
|
-
waits for the one-time token the page shows
|
|
219
|
-
|
|
217
|
+
run directly. If your organization requires approval, the command prints the
|
|
218
|
+
approval link and waits for the one-time token the page shows, or takes it with
|
|
219
|
+
.BR --step-up-token .
|
|
220
|
+
A new secret is printed once and never saved.
|
|
220
221
|
.B primitive keys revoke ID
|
|
221
222
|
revokes a key.
|
|
222
223
|
.B primitive whoami --check PERMISSION
|
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.4",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"tag": "preview"
|
|
6
6
|
},
|
|
@@ -42,6 +42,9 @@
|
|
|
42
42
|
"identifier": "COMMANDS"
|
|
43
43
|
},
|
|
44
44
|
"dirname": "primitive",
|
|
45
|
+
"hooks": {
|
|
46
|
+
"command_not_found": "./dist/oclif/command-not-found.js"
|
|
47
|
+
},
|
|
45
48
|
"plugins": [
|
|
46
49
|
"@oclif/plugin-help",
|
|
47
50
|
"@oclif/plugin-autocomplete",
|
|
@@ -92,7 +95,7 @@
|
|
|
92
95
|
"description": "Check inbound email setup and readiness, and work through mail awaiting your reply. Prefer `primitive inbox setup` for a guided setup path, `primitive inbox status` for the readiness table, and `primitive inbox next` for the oldest email awaiting your reply."
|
|
93
96
|
},
|
|
94
97
|
"emails": {
|
|
95
|
-
"description": "List, inspect, and wait for received emails. Prefer task aliases like `primitive emails list`, `primitive emails get`, `primitive emails latest`, `primitive emails wait`, and `primitive emails watch`; generated API names remain available for compatibility."
|
|
98
|
+
"description": "List, inspect, and wait for received emails, and see what the classifier read from one. Prefer task aliases like `primitive emails list`, `primitive emails get`, `primitive emails latest`, `primitive emails facts`, `primitive emails wait`, and `primitive emails watch`; generated API names remain available for compatibility."
|
|
96
99
|
},
|
|
97
100
|
"search": {
|
|
98
101
|
"description": "Cross-corpus semantic search. Prefer `primitive search <query>` for lexical inbound search and `primitive semantic-search <query>` for meaning-aware ranking across inbound and outbound.",
|
|
@@ -144,10 +147,10 @@
|
|
|
144
147
|
"description": "Global secrets shared across every function. Use `primitive org secrets list|set|remove`. Changes land in a function on its next redeploy; a function secret of the same name overrides the global."
|
|
145
148
|
},
|
|
146
149
|
"keys": {
|
|
147
|
-
"description": "Organization API keys: list and show them (metadata only, never secrets), create, rotate and change them
|
|
150
|
+
"description": "Organization API keys: list and show them (metadata only, never secrets), create, rotate and change them (with browser approval where your organization requires it), and revoke them."
|
|
148
151
|
},
|
|
149
152
|
"roles": {
|
|
150
|
-
"description": "Read roles, groups, mailbox access and the access mode. Use `primitive roles list|groups|mailbox-access|access-mode`; generated API names remain available."
|
|
153
|
+
"description": "Read roles, members, groups, mailbox access and the access mode. Use `primitive roles list|members|groups|mailbox-access|access-mode`; generated API names remain available."
|
|
151
154
|
},
|
|
152
155
|
"projects": {
|
|
153
156
|
"description": "Organization people, shared projects and project invitations"
|
|
@@ -164,6 +167,9 @@
|
|
|
164
167
|
"organization-settings": {
|
|
165
168
|
"description": "Your connected apps and CLI logins, the organization's connected apps, name, logo, search settings and billing"
|
|
166
169
|
},
|
|
170
|
+
"members": {
|
|
171
|
+
"description": "List the organization's members and their roles. Use `primitive members list` (the same as `primitive roles members`)."
|
|
172
|
+
},
|
|
167
173
|
"roles-and-members": {
|
|
168
174
|
"description": "Roles, member roles and removal, the mailbox access mode, break-glass, transfers and suspensions, and leaving the organization"
|
|
169
175
|
},
|