primcli 1.70.0 → 1.72.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.
Files changed (30) hide show
  1. package/README.md +115 -2
  2. package/dist/{api-command-C58Oh38I.js → api-command-BrwPbyPP.js} +286 -19
  3. package/dist/{cli-config-DMszFbGn.js → cli-config--YTRdJ3t.js} +15 -4
  4. package/dist/{json-output-CEskSQJi.js → json-output-Ce10AsSb.js} +71 -3
  5. package/dist/{machine-session-CKmn5bvB.js → machine-session-Be6j29GE.js} +8 -6
  6. package/dist/{notify-session-CVZtEboh.js → notify-session-Byt5sPWW.js} +2 -2
  7. package/dist/oclif/auto-signal-worker.js +2 -2
  8. package/dist/oclif/auto-signals.js +1 -1
  9. package/dist/oclif/index.js +5266 -112
  10. package/dist/oclif/listen-supervisor.js +1 -2
  11. package/dist/oclif/proxy-auto-detect.js +1 -1
  12. package/dist/oclif/receiver-heal.js +2 -2
  13. package/dist/oclif/root-signup-hint.js +1 -1
  14. package/dist/{repeats-BL7ZC-_6-BZ-MphTV.js → repeats-BL7ZC-_6-CKMKBlx7.js} +1 -1
  15. package/dist/{scoped-chat-Dsark9hm.js → scoped-chat-DTFkP360.js} +1 -1
  16. package/dist/{signal-command-Dy_oub7_.js → signal-command-DeEEZPbQ.js} +4 -4
  17. package/dist/skills/primitive-connect/SKILL.md +162 -355
  18. package/dist/skills/primitive-connect/references/collaboration.md +39 -2
  19. package/dist/skills/primitive-connect/references/communication.md +2 -2
  20. package/dist/skills/primitive-connect/references/connect.md +234 -0
  21. package/dist/skills/primitive-connect/references/contact-requests.md +3 -3
  22. package/dist/skills/primitive-connect/references/contacts.md +4 -4
  23. package/dist/skills/primitive-connect/references/conversations.md +4 -4
  24. package/dist/skills/primitive-connect/references/external-services.md +86 -0
  25. package/dist/skills/primitive-connect/references/manual-setup.md +2 -2
  26. package/dist/skills/primitive-connect/references/presence-and-receiving.md +5 -5
  27. package/dist/skills/primitive-connect/scripts/check-cli-capabilities.mjs +13 -4
  28. package/dist/skills/primitive-connect.json +13 -11
  29. package/man/primitive.1 +17 -3
  30. package/package.json +11 -8
@@ -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,4 +1,4 @@
1
- import { n as jsonOutputRequested } from "../json-output-CEskSQJi.js";
1
+ import { n as jsonOutputRequested } from "../json-output-Ce10AsSb.js";
2
2
  import { spawnSync } from "node:child_process";
3
3
  //#region src/oclif/proxy-auto-detect.ts
4
4
  const PROXY_ENV_VARS = [
@@ -1,6 +1,6 @@
1
- import { N as agentProfileDirectory, P as agentProfileName, R as loadConnectedAgentProfile, j as AGENT_PROFILE_ENV } from "../cli-config-DMszFbGn.js";
1
+ import { F as agentProfileName, M as AGENT_PROFILE_ENV, P as agentProfileDirectory, z as loadConnectedAgentProfile } from "../cli-config--YTRdJ3t.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-Byt5sPWW.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";
@@ -1,4 +1,4 @@
1
- import { S as normalizeApiBaseUrl, c as resolveConfigEnvironment, i as loadCliConfig } from "../cli-config-DMszFbGn.js";
1
+ import { S as normalizeApiBaseUrl, c as resolveConfigEnvironment, i as loadCliConfig } from "../cli-config--YTRdJ3t.js";
2
2
  import { existsSync, readFileSync } from "node:fs";
3
3
  import { join } from "node:path";
4
4
  import { homedir } from "node:os";
@@ -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 { D as bareAddress, St as successfulSendOutcome, er as listSentEmails, kn as getEmail, o as extractErrorPayload, ot as classifySendError, sn as createEndpoint, vr as sendEmail } from "./api-command-BrwPbyPP.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;