primcli 1.70.0 → 1.71.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.
- package/dist/{api-command-C58Oh38I.js → api-command-B8C3jr7A.js} +205 -6
- package/dist/{machine-session-CKmn5bvB.js → machine-session-BrTXqxK9.js} +4 -4
- package/dist/{notify-session-CVZtEboh.js → notify-session-JbFGcjiM.js} +2 -2
- package/dist/oclif/auto-signal-worker.js +2 -2
- package/dist/oclif/auto-signals.js +1 -1
- package/dist/oclif/index.js +3979 -73
- package/dist/oclif/listen-supervisor.js +1 -2
- package/dist/oclif/receiver-heal.js +1 -1
- package/dist/{repeats-BL7ZC-_6-BZ-MphTV.js → repeats-BL7ZC-_6-CKMKBlx7.js} +1 -1
- package/dist/{scoped-chat-Dsark9hm.js → scoped-chat-DTFkP360.js} +1 -1
- package/dist/{signal-command-Dy_oub7_.js → signal-command-B2TZ8n9c.js} +4 -4
- package/package.json +11 -8
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { runBackgroundListenSupervisor };
|
|
1
|
+
export { s as runBackgroundListenSupervisor } from "../listen-background--0peztKE.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { N as agentProfileDirectory, P as agentProfileName, R as loadConnectedAgentProfile, j as AGENT_PROFILE_ENV } from "../cli-config-DMszFbGn.js";
|
|
2
2
|
import { d as readMailJson } from "../shared-mail-files-MwlVE90c.js";
|
|
3
|
-
import { _ as detectAgentRuntime, l as SESSION_UUID, t as notificationScope } from "../notify-session-
|
|
3
|
+
import { _ as detectAgentRuntime, l as SESSION_UUID, t as notificationScope } from "../notify-session-JbFGcjiM.js";
|
|
4
4
|
import { a as claimBackgroundListenRestart, n as backgroundListenRestartable, r as backgroundListenStatus } from "../listen-background--0peztKE.js";
|
|
5
5
|
import { join } from "node:path";
|
|
6
6
|
import { spawn } from "node:child_process";
|
|
@@ -5,7 +5,7 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
7
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
8
|
+
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod, mod.exports), cb = null), mod.exports);
|
|
9
9
|
var __exportAll = (all, no_symbols) => {
|
|
10
10
|
let target = {};
|
|
11
11
|
for (var name in all) __defProp(target, name, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as classifySignalContent, y as isTrustedSender } from "./repeats-BL7ZC-_6-
|
|
1
|
+
import { c as classifySignalContent, y as isTrustedSender } from "./repeats-BL7ZC-_6-CKMKBlx7.js";
|
|
2
2
|
//#region src/oclif/presence-provenance.ts
|
|
3
3
|
function readPresenceProjection(detail) {
|
|
4
4
|
if (!detail || typeof detail !== "object") return null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { h as sendPreparedSignal, p as prepareSignalEmail } from "./repeats-BL7ZC-_6-
|
|
2
|
-
import {
|
|
1
|
+
import { h as sendPreparedSignal, p as prepareSignalEmail } from "./repeats-BL7ZC-_6-CKMKBlx7.js";
|
|
2
|
+
import { Dn as getEmail, Qn as listSentEmails, T as bareAddress, an as createEndpoint, bt as successfulSendOutcome, gr as sendEmail, it as classifySendError, o as extractErrorPayload } from "./api-command-B8C3jr7A.js";
|
|
3
3
|
import { _ as acquireListenLock, b as listenProcessIdentity, 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, y as listenIdentity } from "./shared-mail-files-MwlVE90c.js";
|
|
4
|
-
import { a as scopedChatSenderTrust, i as readBeforeDeadline, n as isPlainChatReply } from "./scoped-chat-
|
|
4
|
+
import { a as scopedChatSenderTrust, i as readBeforeDeadline, n as isPlainChatReply } from "./scoped-chat-DTFkP360.js";
|
|
5
5
|
import { n as tryOwnSharedMail, r as waitForSharedMailChange, t as readSharedMailOwner } from "./shared-mail-watch-DtKpsgg8.js";
|
|
6
6
|
import { recordSentSignal } from "./oclif/auto-signals.js";
|
|
7
7
|
import { Errors } from "@oclif/core";
|
|
@@ -9,7 +9,7 @@ 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
|
-
//#region ../sdk-node/dist/api-
|
|
12
|
+
//#region ../sdk-node/dist/api-DcpEJV3m.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "primcli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.71.0",
|
|
4
4
|
"description": "Official Primitive CLI: deploy Primitive Functions, send and inspect mail, manage endpoints, all from the terminal. Wraps the @primitivedotdev/sdk runtime client with one-shot commands.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -140,6 +140,9 @@
|
|
|
140
140
|
"repeats": {
|
|
141
141
|
"description": "Manage repeating sends you created with `primitive send` or `primitive reply` and --repeat-every. Use `primitive repeats list|get|pause|resume|cancel`."
|
|
142
142
|
},
|
|
143
|
+
"changes": {
|
|
144
|
+
"description": "Long-poll one replayable feed of what changed. Use `primitive changes list --since start` for a baseline, then `--since <next_cursor> --wait 20`; add `--expand message` to inline each message and `--address a@x,b@y` to keep only mail to or from those addresses."
|
|
145
|
+
},
|
|
143
146
|
"repeating-sends": {
|
|
144
147
|
"description": "Generated API operations for repeating sends. Prefer `primitive repeats ...` (sender) and `primitive repeat stop` (recipient)."
|
|
145
148
|
},
|
|
@@ -191,23 +194,23 @@
|
|
|
191
194
|
"dependencies": {
|
|
192
195
|
"@oclif/core": "^5.1.7",
|
|
193
196
|
"@oclif/plugin-autocomplete": "^4.0.4",
|
|
194
|
-
"@oclif/plugin-help": "^7.0.
|
|
197
|
+
"@oclif/plugin-help": "^7.0.4",
|
|
195
198
|
"@oclif/plugin-warn-if-update-available": "^4.0.1",
|
|
196
|
-
"viem": "^2.57.
|
|
199
|
+
"viem": "^2.57.7",
|
|
197
200
|
"ws": "^8.22.0"
|
|
198
201
|
},
|
|
199
202
|
"devDependencies": {
|
|
200
203
|
"@biomejs/biome": "^2.5.15",
|
|
201
204
|
"@primitivedotdev/api-core": "workspace:*",
|
|
202
205
|
"@primitivedotdev/sdk": "workspace:*",
|
|
203
|
-
"@types/node": "^26.6.
|
|
206
|
+
"@types/node": "^26.6.5",
|
|
204
207
|
"@types/ws": "^8.18.2",
|
|
205
|
-
"@vitest/coverage-v8": "^5.0.
|
|
206
|
-
"oclif": "^6.0.
|
|
207
|
-
"tsdown": "^0.23.
|
|
208
|
+
"@vitest/coverage-v8": "^5.0.5",
|
|
209
|
+
"oclif": "^6.0.10",
|
|
210
|
+
"tsdown": "^0.23.1",
|
|
208
211
|
"tsx": "4.23.14",
|
|
209
212
|
"typescript": "^5.7.2",
|
|
210
213
|
"vite": "^8.3.4",
|
|
211
|
-
"vitest": "^5.0.
|
|
214
|
+
"vitest": "^5.0.5"
|
|
212
215
|
}
|
|
213
216
|
}
|