primcli 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.
@@ -1,4 +1,4 @@
1
- import { $ as isTrustedSender, c as classifySignalContent, x as retryTransient } from "./repeats-Dj_o6c-X-DlfpQiUq.js";
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 { An as listSentEmails, Wt as getEmail, Zn as sendEmail, bt as createEndpoint, h as sendPreparedSignal, p as prepareSignalEmail, v as describeApiFailure } from "./repeats-Dj_o6c-X-DlfpQiUq.js";
2
- import { At as successfulSendOutcome, N as bareAddress, pt as classifySendError, s as extractErrorPayload } from "./api-command-CgBNtNyD.js";
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-Du-Bi0tC.js";
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-Bm-YOKa1.js
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 keep their usual stdout shape with
38
+ Generated API commands print the API's response body with
39
39
  .BR --json :
40
- the data payload only. They do not print the
41
- .B next cursor:
42
- line then; add
43
- .B --envelope
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
- and, in
47
- .BR summary ,
48
- empty-result hints and what a list's default filters left out.
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": "primcli",
3
- "version": "3.0.0-preview.17",
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
  },