@primitivedotdev/cli 3.0.0-preview.17 → 3.0.0-preview.19
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 +52 -14
- package/dist/{api-command-CgBNtNyD.js → api-command--2ZkNMvH.js} +3019 -4516
- package/dist/{json-output-ch756TXV.js → json-output-saHY68hr.js} +6 -4
- package/dist/{machine-session-CSqj4DmF.js → machine-session-ADcw9uJm.js} +5 -5
- package/dist/{notify-session-Pt4oRh0I.js → notify-session-06flGBgK.js} +70 -31
- 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 +1815 -1884
- package/dist/oclif/proxy-auto-detect.js +1 -1
- package/dist/oclif/receiver-heal.js +2 -2
- package/dist/{repeats-Dj_o6c-X-DlfpQiUq.js → repeats-Dj_o6c-X-DTtFzwNd.js} +14259 -14225
- package/dist/{scoped-chat-Du-Bi0tC.js → scoped-chat-C7l2BSZr.js} +1 -1
- package/dist/{signal-command-DZuZbt-_.js → signal-command-D6oaza1W.js} +4 -4
- package/man/primitive.1 +17 -9
- package/package.json +4 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { T as retryTransient, _ as isTrustedSender, c as classifySignalContent } from "./repeats-Dj_o6c-X-DTtFzwNd.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 { Cn as listSentEmails, S as describeApiFailure, Wn as sendEmail, h as sendPreparedSignal, ht as createEndpoint, p as prepareSignalEmail, zt as getEmail } from "./repeats-Dj_o6c-X-DTtFzwNd.js";
|
|
2
|
+
import { M as bareAddress, ft as classifySendError, kt as successfulSendOutcome, s as extractErrorPayload } from "./api-command--2ZkNMvH.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-C7l2BSZr.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-DgVlu1vY.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
|
@@ -35,17 +35,20 @@ array; a failure adds
|
|
|
35
35
|
.B error
|
|
36
36
|
and
|
|
37
37
|
.BR exit_code .
|
|
38
|
-
Generated API commands
|
|
38
|
+
Generated API commands print the API's response body with
|
|
39
39
|
.BR --json :
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
to get the full response envelope, with the pagination cursor in
|
|
40
|
+
.BR data ,
|
|
41
|
+
and
|
|
42
|
+
.B meta
|
|
43
|
+
with the pagination cursor in
|
|
45
44
|
.B meta.cursor
|
|
46
|
-
|
|
47
|
-
.BR summary
|
|
48
|
-
|
|
45
|
+
where the route sends it, plus the CLI's own
|
|
46
|
+
.BR summary .
|
|
47
|
+
Without
|
|
48
|
+
.BR --json ,
|
|
49
|
+
stdout is the data payload and the
|
|
50
|
+
.B next cursor:
|
|
51
|
+
line goes to stderr.
|
|
49
52
|
.B primitive listen
|
|
50
53
|
streams JSONL and is not covered by this rule.
|
|
51
54
|
.SH LOCAL WEBHOOK EVENTS
|
|
@@ -320,6 +323,11 @@ Manage the repeating sends you created.
|
|
|
320
323
|
As the recipient, stop a repeat. ID is the repeat id from the message footer
|
|
321
324
|
or the id of a received message of the repeat.
|
|
322
325
|
.TP
|
|
326
|
+
.B primitive skills install [NAME] --runtime claude|codex
|
|
327
|
+
Install the skills bundled with this CLI, or only NAME, into the runtime's
|
|
328
|
+
skills folder (--project for the current directory's). A copy already at the
|
|
329
|
+
bundled version is left unchanged.
|
|
330
|
+
.TP
|
|
323
331
|
.B primitive list-operations
|
|
324
332
|
Print the generated API operation manifest.
|
|
325
333
|
.TP
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primitivedotdev/cli",
|
|
3
|
-
"version": "3.0.0-preview.
|
|
3
|
+
"version": "3.0.0-preview.19",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"tag": "preview"
|
|
6
6
|
},
|
|
@@ -73,6 +73,9 @@
|
|
|
73
73
|
"machine": {
|
|
74
74
|
"description": "Check and repair this machine's setup for coding agents. Use `primitive machine doctor --json` to inspect and `--fix` to repair."
|
|
75
75
|
},
|
|
76
|
+
"skills": {
|
|
77
|
+
"description": "Install the agent skills bundled with this CLI. Use `primitive skills install --runtime claude` to install them all."
|
|
78
|
+
},
|
|
76
79
|
"agent-connections": {
|
|
77
80
|
"description": "Create, list, invite, revoke, and remove connected agents; claim private invitations through stdin."
|
|
78
81
|
},
|