primitive 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.
@@ -1,2 +1 @@
1
- import { s as runBackgroundListenSupervisor } from "../listen-background--0peztKE.js";
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-CVZtEboh.js";
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-BZ-MphTV.js";
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-BZ-MphTV.js";
2
- import { T as bareAddress, Vn as listSentEmails, ar as sendEmail, bt as successfulSendOutcome, en as createEndpoint, it as classifySendError, o as extractErrorPayload, vn as getEmail } from "./api-command-C58Oh38I.js";
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-Dsark9hm.js";
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-Dgfcji86.js
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": "primitive",
3
- "version": "1.70.0",
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
  },
@@ -202,23 +205,23 @@
202
205
  "dependencies": {
203
206
  "@oclif/core": "^5.1.7",
204
207
  "@oclif/plugin-autocomplete": "^4.0.4",
205
- "@oclif/plugin-help": "^7.0.2",
208
+ "@oclif/plugin-help": "^7.0.4",
206
209
  "@oclif/plugin-warn-if-update-available": "^4.0.1",
207
- "viem": "^2.57.2",
210
+ "viem": "^2.57.7",
208
211
  "ws": "^8.22.0"
209
212
  },
210
213
  "devDependencies": {
211
214
  "@biomejs/biome": "^2.5.15",
212
215
  "@primitivedotdev/api-core": "workspace:*",
213
216
  "@primitivedotdev/sdk": "workspace:*",
214
- "@types/node": "^26.6.4",
217
+ "@types/node": "^26.6.5",
215
218
  "@types/ws": "^8.18.2",
216
- "@vitest/coverage-v8": "^5.0.3",
217
- "oclif": "^6.0.3",
218
- "tsdown": "^0.23.0",
219
+ "@vitest/coverage-v8": "^5.0.5",
220
+ "oclif": "^6.0.10",
221
+ "tsdown": "^0.23.1",
219
222
  "tsx": "4.23.14",
220
223
  "typescript": "^5.7.2",
221
224
  "vite": "^8.3.4",
222
- "vitest": "^5.0.3"
225
+ "vitest": "^5.0.5"
223
226
  }
224
227
  }