primcli 3.0.0-preview.4 → 3.0.0-preview.5

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,7 +1,7 @@
1
1
  import { N as agentProfileDirectory, P as agentProfileName, R as loadConnectedAgentProfile, j as AGENT_PROFILE_ENV } from "../cli-config-Ms_0vNjq.js";
2
2
  import { a as claimBackgroundListenRestart, n as backgroundListenRestartable, r as backgroundListenStatus } from "../listen-background-C0F9gNDD.js";
3
- import { d as SESSION_UUID, t as notificationScope } from "../notify-session-aMGIFmeu.js";
4
- import { It as detectAgentRuntime } from "../api-command-BFfgKPTp.js";
3
+ import { d as SESSION_UUID, t as notificationScope } from "../notify-session-o9hEtJ_c.js";
4
+ import { It as detectAgentRuntime } from "../api-command-DIo8Rg0w.js";
5
5
  import { d as readMailJson } from "../shared-mail-files-BAQSGxxz.js";
6
6
  import { join } from "node:path";
7
7
  import { spawn } from "node:child_process";
@@ -165,6 +165,7 @@ var sdk_gen_exports = /* @__PURE__ */ __exportAll({
165
165
  getRelayAutoJoin: () => getRelayAutoJoin,
166
166
  getRepeatingSend: () => getRepeatingSend,
167
167
  getSearchSettings: () => getSearchSettings,
168
+ getSendFrom: () => getSendFrom,
168
169
  getSendPermissions: () => getSendPermissions,
169
170
  getSentEmail: () => getSentEmail,
170
171
  getSentHourlyStats: () => getSentHourlyStats,
@@ -180,6 +181,7 @@ var sdk_gen_exports = /* @__PURE__ */ __exportAll({
180
181
  inviteOrganizationMember: () => inviteOrganizationMember,
181
182
  inviteProjectMember: () => inviteProjectMember,
182
183
  leaveOrganization: () => leaveOrganization,
184
+ listActivityObjects: () => listActivityObjects,
183
185
  listAddressNotes: () => listAddressNotes,
184
186
  listAddressNotesBatch: () => listAddressNotesBatch,
185
187
  listAgentConnections: () => listAgentConnections,
@@ -1644,6 +1646,7 @@ const listRoutes = (options) => (options?.client ?? client).get({
1644
1646
  * transaction, enabling per-address function routing (e.g.
1645
1647
  * `alice@acme.com -> functionA`).
1646
1648
  *
1649
+ * A route that could never deliver is refused: an exact pattern that the endpoint's owner may not receive, or that the route's own owner may not act on, answers 400 validation_error with details.reason endpoint_owner_access or route_owner_access and details.recipient. A wildcard or regex route to an owned endpoint is written, with warnings saying it delivers only what the owner may receive. A route written disabled is judged when it is turned on.
1647
1650
  */
1648
1651
  const createRoute = (options) => (options.client ?? client).post({
1649
1652
  security: [{
@@ -1709,7 +1712,7 @@ const deleteRoute = (options) => (options.client ?? client).delete({
1709
1712
  /**
1710
1713
  * Update a recipient route
1711
1714
  *
1712
- * Update a recipient route
1715
+ * A route that could never deliver is refused: an exact pattern that the endpoint's owner may not receive, or that the route's own owner may not act on, answers 400 validation_error with details.reason endpoint_owner_access or route_owner_access and details.recipient. A wildcard or regex route to an owned endpoint is written, with warnings saying it delivers only what the owner may receive. A route written disabled is judged when it is turned on.
1713
1716
  */
1714
1717
  const updateRoute = (options) => (options.client ?? client).patch({
1715
1718
  security: [{
@@ -3590,6 +3593,19 @@ const getWebhookDeliveryStats = (options) => (options?.client ?? client).get({
3590
3593
  ...options
3591
3594
  });
3592
3595
  /**
3596
+ * List what you created
3597
+ *
3598
+ * The objects the caller created, newest first, each with where it stands now, including ones since disabled, deleted or revoked where the object keeps a row: Functions, endpoints, Function triggers, pull subscriptions, recipient routes, filters, wake schedules, repeating sends and scheduled sends. An API key, an app or an agent sees what it created itself; a webhook given to an API key lists under that key. A person (a dashboard session, or their own Primitive CLI or app login) sees what they created through any credential of theirs, each item naming it, and also their API keys, personal agents, email rules and rule requests. Each kind is listed only if the caller could list it through that kind's own route; a kind it could not is named in withheld, with no count. Ids, names and states only: never a webhook URL or mail content. Needs activity:read_self.
3599
+ */
3600
+ const listActivityObjects = (options) => (options?.client ?? client).get({
3601
+ security: [{
3602
+ scheme: "bearer",
3603
+ type: "http"
3604
+ }],
3605
+ url: "/activity/objects",
3606
+ ...options
3607
+ });
3608
+ /**
3593
3609
  * Read the column catalog
3594
3610
  *
3595
3611
  * What a rule tree you write yourself can say: each column of the current vocabulary with its type, source, meaning, operators and the value each takes, options, and whether it takes min_confidence; and the tree's limits, its stored size included. Built from the checks a saved or tested tree must pass. A tree is {version: tree_version, vocabulary: version, when, questions}. Needs mail:read, a member's own credential with their full access (not an API key, agent key or narrowed token), and the email rules feature.
@@ -3622,7 +3638,7 @@ const compileEmailRule = (options) => (options.client ?? client).post({
3622
3638
  /**
3623
3639
  * Test a rule against received mail
3624
3640
  *
3625
- * Runs a rule over received mail and reports what it would decide for each email (matched, near_miss, no_match, unclassified or not_found), with a summary: how each top-level condition and question decided and, when nothing matched, what stopped it. Test an unsaved tree from a compile response, or a saved rule by rule_id (its current version, run with its author's access). The rule reads only mail its author can read and its scope covers; an unsaved tree covers only your own mail unless evaluation_scope names more. Without email_ids, the newest emails it can read are tested, at most 200 and none older than 30 days; expected emails (expect, or a saved rule's saved expectations) are tested whatever their age. Unclassified emails more than 2 hours old are classified first and their classification saved, unless classify_missing is false; newer ones are reported unclassified, pending. The rule itself records and grants nothing. Classification and the rule's questions stop at about 90 seconds; a rerun continues the classification where it stopped. Needs mail:read, a member's own credential with their full access (not an API key, agent key or narrowed token), and the email rules feature.
3641
+ * Runs a rule over received mail and reports what it would decide for each email (matched, near_miss, no_match, unclassified, skipped or not_found), with a summary: how each top-level condition and question decided and, when nothing matched, what stopped it. Test an unsaved tree from a compile response, or a saved rule by rule_id (its current version, run with its author's access). The rule reads only mail its author can read and its scope covers; an unsaved tree covers only your own mail unless evaluation_scope names more. Without email_ids, the newest emails it can read are tested, at most 200 and none older than 30 days; expected emails (expect, or a saved rule's saved expectations) are tested whatever their age. Unclassified emails more than 2 hours old are classified first and their classification saved, unless classify_missing is false; newer ones are reported unclassified, pending. The rule itself records and grants nothing. Classification and the rule's questions stop at about 90 seconds; a rerun continues the classification where it stopped. Needs mail:read, a member's own credential with their full access (not an API key, agent key or narrowed token), and the email rules feature.
3626
3642
  */
3627
3643
  const testEmailRule = (options) => (options.client ?? client).post({
3628
3644
  security: [{
@@ -3807,7 +3823,7 @@ const listEmailRuleRequests = (options) => (options?.client ?? client).get({
3807
3823
  /**
3808
3824
  * Ask a member for a rule
3809
3825
  *
3810
- * Asks another member of the organization for a rule over their own mail, from a compile response or a tree you wrote. Name them by user id, or by their member mailbox address (at most 30 lookups by address an hour). Nothing is evaluated and nothing is shared until they accept, and they may change the rule first; they see the request and can preview what it matches in their own mail. You may have at most 5 pending requests to one member and 50 in all. If you can list members (members:read), the answer also says whether they can accept it under their role (target_can_accept), and if not, why (target_warning); the request is sent either way. To find out before asking, use POST /v1/email-rule-requests/target-check. Needs mail:read, a member's own credential with their full access (not an API key, agent key or narrowed token), and the email rules feature.
3826
+ * Asks another member of the organization for a rule over their own mail, from a compile response or a tree you wrote. Name them by user id, or by their member mailbox address, or by their verified work email if you can list members (at most 30 lookups by address an hour). Nothing is evaluated and nothing is shared until they accept, and they may change the rule first; they see the request and can preview what it matches in their own mail. You may have at most 5 pending requests to one member and 50 in all. If you can list members (members:read), the answer also says whether they can accept it under their role (target_can_accept), and if not, why (target_warning); the request is sent either way. To find out before asking, use POST /v1/email-rule-requests/target-check. Needs mail:read, a member's own credential with their full access (not an API key, agent key or narrowed token), and the email rules feature.
3811
3827
  */
3812
3828
  const createEmailRuleRequest = (options) => (options.client ?? client).post({
3813
3829
  security: [{
@@ -3824,7 +3840,7 @@ const createEmailRuleRequest = (options) => (options.client ?? client).post({
3824
3840
  /**
3825
3841
  * Check whether a member can accept a rule request
3826
3842
  *
3827
- * Says, before you ask, whether a member could accept a rule request now under their role, and if not, which permission their role lacks. Nothing is sent and nothing is recorded. Needs members:read, as listing members and their roles does. At most 60 checks an hour. Name them by user id, or by their member mailbox address (counted with asking: at most 30 lookups by address an hour). Needs mail:read, a member's own credential with their full access (not an API key, agent key or narrowed token), and the email rules feature.
3843
+ * Says, before you ask, whether a member could accept a rule request now under their role, and if not, which permission their role lacks. Nothing is sent and nothing is recorded. Needs members:read, as listing members and their roles does. At most 60 checks an hour. Name them by user id, or by their member mailbox address or verified work email (counted with asking: at most 30 lookups by address an hour). Needs mail:read, a member's own credential with their full access (not an API key, agent key or narrowed token), and the email rules feature.
3828
3844
  */
3829
3845
  const checkEmailRuleRequestTarget = (options) => (options.client ?? client).post({
3830
3846
  security: [{
@@ -3962,7 +3978,7 @@ const getEmailRuleShare = (options) => (options.client ?? client).get({
3962
3978
  /**
3963
3979
  * List the emails a rule share has given
3964
3980
  *
3965
- * The emails a rule share has given, newest first, as the email list shows them, each with shared_at: when the share's rule first matched it. For the person it was shared with: what they can read through it now, so an ended share lists nothing. For the person sharing their mail: everything it has handed over while it ran, including after it ended, so they can see what left their mailbox; while the share's rule is off this answers email_rule_not_active instead. Only those two people can list them, from the dashboard or the Primitive CLI. A page can be short or empty and still carry a cursor: keep reading until meta.cursor is null.
3981
+ * The emails a rule share has given, newest first, as the email list shows them, each with shared_at. For the person it was shared with: what they can read through it now, so an ended share lists nothing, and shared_at is when the share's rule first matched the email. For the person sharing their mail: everything it has handed over while it ran, including after it ended and whatever the rule's state now, so they can see what left their mailbox, and shared_at is when it was handed over. Only those two people can list them, from the dashboard or the Primitive CLI. A page can be short or empty and still carry a cursor: keep reading until meta.cursor is null.
3966
3982
  */
3967
3983
  const listEmailRuleShareEmails = (options) => (options.client ?? client).get({
3968
3984
  security: [{
@@ -4187,6 +4203,19 @@ const getOwnGrant = (options) => (options?.client ?? client).get({
4187
4203
  ...options
4188
4204
  });
4189
4205
  /**
4206
+ * List the addresses this credential can send from
4207
+ *
4208
+ * The From addresses the calling credential may send from with POST /send-mail, and the one a send that names no From should use. Every address listed is one that send would accept as From for this credential, recipients aside. A connected agent's default is its own address. A person's default is their own member address, for a session and for every OAuth login of theirs, an agent's included. Any other credential has a default only when exactly one address and no domain is listed, and never a person's own member address. When there is no default, `reason` says why. `domains` lists the domains at which the credential may send from any address that is not reserved to someone else or left out of its grant; each is one GET /outbound/status lists as sendable for it. A credential that cannot send new mail, or one in an account where outbound mail is not enabled, gets no addresses and no domains. Every credential may ask about itself, a connected agent's key included, except a Function-bound key limited to its Function's own operations (403 function_scope_forbidden). It answers nothing about any other credential.
4209
+ */
4210
+ const getSendFrom = (options) => (options?.client ?? client).get({
4211
+ security: [{
4212
+ scheme: "bearer",
4213
+ type: "http"
4214
+ }],
4215
+ url: "/whoami/send-from",
4216
+ ...options
4217
+ });
4218
+ /**
4190
4219
  * List consumer Inbox routing rules
4191
4220
  *
4192
4221
  * Mailbox-scoped exact visible audiences, excluding the owner and Bcc. Direct and group audiences are independent. Restores persist an explicit Conversations rule. New writes require the observed version (zero creates); only an identical latest mutation with its original expected version can be retried. Stale writes return mail_routing_conflict. Source messages and read state are unchanged. Merge paged rules by version; responses are never cached.
@@ -4577,7 +4606,7 @@ const revokeOrganizationInvitation = (options) => (options.client ?? client).del
4577
4606
  ...options
4578
4607
  });
4579
4608
  /**
4580
- * Requires a current human organization membership, or an org-wide API key: a super admin key, or a custom key with no addresses or domains whose grant holds members:read. A key lists members as the person it belongs to, at that person's live grant, and only while that person still holds members:read. Narrowed, Function and connected keys are refused. No local paths or existing conversation history are shared.
4609
+ * Requires a current human organization membership, or an org-wide API key: a super admin key, or a custom key with no addresses or domains whose grant holds members:read. A key lists members as the person it belongs to, at that person's live grant, and only while that person still holds members:read. Narrowed, Function and connected keys are refused. A caller holding members:read also gets each person's mail_access. No local paths or existing conversation history are shared.
4581
4610
  */
4582
4611
  const listOrganizationPeople = (options) => (options?.client ?? client).get({
4583
4612
  security: [{
@@ -4690,7 +4719,7 @@ const revokeProjectInvitation = (options) => (options.client ?? client).delete({
4690
4719
  /**
4691
4720
  * List mailbox access
4692
4721
  *
4693
- * Every access entry in the organization: who (a member, group, agent or address) may read, draft or send for each mailbox or domain. An entry that reads a mailbox reads the full email; raw MIME follows the person's mail.raw:read. `depth` is deprecated: it is accepted and ignored, and new entries record content. Needs members:read: a person, or an org-wide API key whose person holds it.
4722
+ * Every access entry in the organization: who (a member, group, agent or address) may read, draft or send for each mailbox or domain. An entry that reads a mailbox reads the full email; raw MIME follows the person's mail.raw:read. `depth` is deprecated: it is accepted and ignored, and new entries record content. With no entries, `note` says where each member's mail access comes from instead. Needs members:read: a person, or an org-wide API key whose person holds it.
4694
4723
  */
4695
4724
  const listMailboxAccess = (options) => (options?.client ?? client).get({
4696
4725
  security: [{
@@ -5165,7 +5194,7 @@ const updateSearchSettings = (options) => (options.client ?? client).put({
5165
5194
  /**
5166
5195
  * List roles
5167
5196
  *
5168
- * Every role in the organization (built-in, template copies and custom roles), with how many members and groups hold each, the templates not yet copied, and whether roles can be assigned now. Any person (a session or OAuth token); API keys are refused.
5197
+ * Every role in the organization (built-in, template copies and custom roles), with how many members and groups hold each, the templates not yet copied, and whether roles can be assigned now. `unassigned` describes role restricted on a member with no role_id, which is not a role and is never in `roles`. Any person (a session or OAuth token); API keys are refused.
5169
5198
  */
5170
5199
  const listRoles = (options) => (options?.client ?? client).get({
5171
5200
  security: [{
@@ -25469,4 +25498,4 @@ function repeatStopCommand(emailId) {
25469
25498
  if (!UUID.test(emailId)) throw new TypeError("emailId must be an email UUID");
25470
25499
  return `primitive repeat stop --id ${emailId.toLowerCase()}`;
25471
25500
  }
25472
- export { AUTOMATED_VALUES as $, updateFunction as $n, listAgentConnections as $t, sinceFromFlags as A, removeDefaultNetworkMember as An, downloadSentAttachmentByFilename as At, formatRepliesCell as B, semanticSearch as Bn, getFunctionRouting as Bt, SINCE_VALUE_HELP as C, listWakeSchedules as Cn, deleteRoute as Ct, fetchEmailSearchPage as D, putAgentContactPolicy as Dn, downloadEmailAttachmentByFilename as Dt, encodeReceivedAtSearchCursor as E, putAgentContact as En, downloadEmailAttachmentArchiveMember as Et, ReplyStateUnsupportedError as F, rotateKey as Fn, getConversation as Ft, SENT_EMAIL_EVENT_TYPES as G, simulateRoute as Gn, getOrgRoutingTopology as Gt, isAwaitingRejectedError as H, setFunctionRoute as Hn, getInboxStatus as Ht, assertAwaitingFilterRows as I, runWakeSchedule as In, getCreditBalance as It, isTrustedSender as J, startCliLogin as Jn, getSentEmail as Jt, WEBHOOK_EVENT_TYPES as K, startAgentClaim as Kn, getOwnGrant as Kt, awaitingRejectedError as L, sdk_gen_exports as Ln, getDefaultNetworkAgent as Lt, AWAITING_FLAG_DESCRIPTION as M, replyToEmail as Mn, getAccount as Mt, AWAITING_VALUES as N, resendAgentSignupVerification as Nn, getAgentContactPolicy as Nt, filtersFromFlags as O, putContact as On, downloadEmailAttachmentPart as Ot, REPLY_STATE_UNSUPPORTED_CODE as P, revokeCredential as Pn, getContact as Pt, AUTOMATED_FLAG_DESCRIPTION as Q, updateDefaultNetworkMember as Qn, leaveOrganization as Qt, ensureSearchReportsReplyState as R, searchEmails as Rn, getEmail as Rt, transientFailure as S, listWakeDispatches as Sn, deleteMemory as St, cursorFromAcceptedRows as T, pullWebhookEvent as Tn, deleteWakeSchedule as Tt, queryUsesAwaiting as U, setFunctionSecret as Un, getKey as Ut, hasReplyState as V, sendEmail as Vn, getFunctionTestRunTrace as Vt, replyStateSurfaceForOperation as W, setMemory as Wn, getMemory as Wt, parseFromHeader as X, testFunction as Xn, getWakeSchedule as Xt, parseWebhookEvent as Y, stopRepeatFromEmail as Yn, getThread as Yt, AUTOMATED_FILTER_UNSUPPORTED_CODE as Z, unsetFunctionRoute as Zn, inviteAgentConnection as Zt, describeApiFailure as _, listRoles as _n, createRoute as _t, REPEAT_IDLE_MAX_MINUTES as a, listDomains as an, verifyAgentClaim as ar, expectedAutomatedVerdicts as at, retryTransient as b, listSentEmails as bn, deleteAgentContact as bt, classifySignalContent as c, listEmails as cn, addDefaultNetworkMember as ct, parseRepeatTick as d, listFunctions as dn, checkDefaultNetworkContactAdmission as dt, listAgentContacts as en, updateKey as er, AutomatedFilterUnsupportedError as et, preparePresenceAliveEmail as f, listGroups as fn, cliLogout as ft, WaitDeadlineReached as g, listRepeatingSends as gn, createKey as gt, sendPreparedSignal as h, listOrganizationPeople as hn, createFunction as ht, REPEAT_EVERY_MAX_MINUTES as i, listDefaultNetworkMembers as in, updateWakeSchedule as ir, ensureSearchReportsAutomated as it, sleep as j, reorderRoutes as jn, getAccessMode as jt, quoteDslValue as k, redeemCreditCode as kn, downloadSentAttachmentArchiveMember as kt, parseInteractionEnvelope as l, listEndpoints as ln, cancelSentEmail as lt, repeatStopCommand as m, listMailboxAccess as mn, createEndpoint as mt, MAX_PRESENCE_ENVELOPE_BYTES as n, listContacts as nn, updateRoute as nr, automatedRejectedError as nt, REPEAT_MAX_SENDS_MAX as o, listEmailAttachmentArchiveMembers as on, verifyAgentSignup as or, hasAutomatedVerdict as ot, prepareSignalEmail as p, listKeys as pn, completeWebhookEvent as pt, isEmailReceivedEvent as q, startAgentSignup as qn, getRepeatingSend as qt, PRESENCE_PROBE_TEXT as r, listDefaultNetworkAgents as rn, updateWakeAuthorization as rr, automatedSurfaceForOperation as rt, buildRepeatStopBody as s, listEmailRuleResults as sn, __exportAll as sr, isAutomatedRejectedError as st, MAX_INTERACTION_BYTES as t, listAgentNetworks as tn, updateRepeatingSend as tr, assertAutomatedVerdict as tt, parsePresenceEnvelope as u, listFunctionLogs as un, cancelSentEmailByIdempotencyKey as ut, parseRetryAfter as v, listRoutes as vn, createWakeAuthorization as vt, collectNewAcceptedEmails as w, pollCliLogin as wn, deleteWakeAuthorization as wt, retryingOperation as x, listWakeAuthorizations as xn, deleteContact as xt, pauseForTransientFailure as y, listSentAttachmentArchiveMembers as yn, createWakeSchedule as yt, formatAwaitingCell as z, searchMemories as zn, getFunction as zt };
25501
+ export { AUTOMATED_VALUES as $, stopRepeatFromEmail as $n, getWakeSchedule as $t, sinceFromFlags as A, putAgentContact as An, downloadSentAttachmentArchiveMember as At, formatRepliesCell as B, runWakeSchedule as Bn, getFunction as Bt, SINCE_VALUE_HELP as C, listSentAttachmentArchiveMembers as Cn, deleteMemory as Ct, fetchEmailSearchPage as D, listWakeSchedules as Dn, downloadEmailAttachmentArchiveMember as Dt, encodeReceivedAtSearchCursor as E, listWakeDispatches as En, deleteWakeSchedule as Et, ReplyStateUnsupportedError as F, reorderRoutes as Fn, getContact as Ft, SENT_EMAIL_EVENT_TYPES as G, sendEmail as Gn, getMemory as Gt, isAwaitingRejectedError as H, searchEmails as Hn, getFunctionTestRunTrace as Ht, assertAwaitingFilterRows as I, replyToEmail as In, getConversation as It, isTrustedSender as J, setMemory as Jn, getOwnGrant as Jt, WEBHOOK_EVENT_TYPES as K, setFunctionRoute as Kn, getOrgRoutingTopology as Kt, awaitingRejectedError as L, resendAgentSignupVerification as Ln, getCreditBalance as Lt, AWAITING_FLAG_DESCRIPTION as M, putContact as Mn, getAccessMode as Mt, AWAITING_VALUES as N, redeemCreditCode as Nn, getAccount as Nt, filtersFromFlags as O, pollCliLogin as On, downloadEmailAttachmentByFilename as Ot, REPLY_STATE_UNSUPPORTED_CODE as P, removeDefaultNetworkMember as Pn, getAgentContactPolicy as Pt, AUTOMATED_FLAG_DESCRIPTION as Q, startCliLogin as Qn, getThread as Qt, ensureSearchReportsReplyState as R, revokeCredential as Rn, getDefaultNetworkAgent as Rt, transientFailure as S, listRoutes as Sn, deleteContact as St, cursorFromAcceptedRows as T, listWakeAuthorizations as Tn, deleteWakeAuthorization as Tt, queryUsesAwaiting as U, searchMemories as Un, getInboxStatus as Ut, hasReplyState as V, sdk_gen_exports as Vn, getFunctionRouting as Vt, replyStateSurfaceForOperation as W, semanticSearch as Wn, getKey as Wt, parseFromHeader as X, startAgentClaim as Xn, getSendFrom as Xt, parseWebhookEvent as Y, simulateRoute as Yn, getRepeatingSend as Yt, AUTOMATED_FILTER_UNSUPPORTED_CODE as Z, startAgentSignup as Zn, getSentEmail as Zt, describeApiFailure as _, listKeys as _n, createKey as _t, REPEAT_IDLE_MAX_MINUTES as a, listAgentNetworks as an, updateRepeatingSend as ar, expectedAutomatedVerdicts as at, retryTransient as b, listRepeatingSends as bn, createWakeSchedule as bt, classifySignalContent as c, listDefaultNetworkMembers as cn, updateWakeSchedule as cr, addDefaultNetworkMember as ct, parseRepeatTick as d, listEmailRuleResults as dn, whoami as dr, checkDefaultNetworkContactAdmission as dt, inviteAgentConnection as en, testFunction as er, AutomatedFilterUnsupportedError as et, preparePresenceAliveEmail as f, listEmails as fn, __exportAll as fr, checkSendability as ft, WaitDeadlineReached as g, listGroups as gn, createFunction as gt, sendPreparedSignal as h, listFunctions as hn, createEndpoint as ht, REPEAT_EVERY_MAX_MINUTES as i, listAgentContacts as in, updateKey as ir, ensureSearchReportsAutomated as it, sleep as j, putAgentContactPolicy as jn, downloadSentAttachmentByFilename as jt, quoteDslValue as k, pullWebhookEvent as kn, downloadEmailAttachmentPart as kt, parseInteractionEnvelope as l, listDomains as ln, verifyAgentClaim as lr, cancelSentEmail as lt, repeatStopCommand as m, listFunctionLogs as mn, completeWebhookEvent as mt, MAX_PRESENCE_ENVELOPE_BYTES as n, listActivityObjects as nn, updateDefaultNetworkMember as nr, automatedRejectedError as nt, REPEAT_MAX_SENDS_MAX as o, listContacts as on, updateRoute as or, hasAutomatedVerdict as ot, prepareSignalEmail as p, listEndpoints as pn, cliLogout as pt, isEmailReceivedEvent as q, setFunctionSecret as qn, getOutboundStatus as qt, PRESENCE_PROBE_TEXT as r, listAgentConnections as rn, updateFunction as rr, automatedSurfaceForOperation as rt, buildRepeatStopBody as s, listDefaultNetworkAgents as sn, updateWakeAuthorization as sr, isAutomatedRejectedError as st, MAX_INTERACTION_BYTES as t, leaveOrganization as tn, unsetFunctionRoute as tr, assertAutomatedVerdict as tt, parsePresenceEnvelope as u, listEmailAttachmentArchiveMembers as un, verifyAgentSignup as ur, cancelSentEmailByIdempotencyKey as ut, parseRetryAfter as v, listMailboxAccess as vn, createRoute as vt, collectNewAcceptedEmails as w, listSentEmails as wn, deleteRoute as wt, retryingOperation as x, listRoles as xn, deleteAgentContact as xt, pauseForTransientFailure as y, listOrganizationPeople as yn, createWakeAuthorization as yt, formatAwaitingCell as z, rotateKey as zn, getEmail as zt };
@@ -1,4 +1,4 @@
1
- import { J as isTrustedSender, b as retryTransient, c as classifySignalContent } from "./repeats-Dj_o6c-X-BwGkVE7e.js";
1
+ import { J as isTrustedSender, b as retryTransient, c as classifySignalContent } from "./repeats-Dj_o6c-X-Ix28GRRc.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 { Rt as getEmail, Vn as sendEmail, _ as describeApiFailure, bn as listSentEmails, h as sendPreparedSignal, mt as createEndpoint, p as prepareSignalEmail } from "./repeats-Dj_o6c-X-BwGkVE7e.js";
2
- import { A as bareAddress, Et as successfulSendOutcome, s as extractErrorPayload, ut as classifySendError } from "./api-command-BFfgKPTp.js";
1
+ import { Gn as sendEmail, _ as describeApiFailure, h as sendPreparedSignal, ht as createEndpoint, p as prepareSignalEmail, wn as listSentEmails, zt as getEmail } from "./repeats-Dj_o6c-X-Ix28GRRc.js";
2
+ import { A as bareAddress, Et as successfulSendOutcome, s as extractErrorPayload, ut as classifySendError } from "./api-command-DIo8Rg0w.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-B-J3sdNS.js";
5
+ import { i as readApiBeforeDeadline, n as isPlainChatReply, o as scopedChatSenderTrust } from "./scoped-chat-DcymzGgB.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-C6sQm1_c.js
12
+ // ../sdk-node/dist/api-N3Qu4JMc.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": "3.0.0-preview.4",
3
+ "version": "3.0.0-preview.5",
4
4
  "publishConfig": {
5
5
  "tag": "preview"
6
6
  },
@@ -185,6 +185,9 @@
185
185
  "stats": {
186
186
  "description": "Received and sent mail per hour, and how webhook deliveries ended"
187
187
  },
188
+ "activity": {
189
+ "description": "What you created, and where each object stands now (ids, names and states only)"
190
+ },
188
191
  "email-rules": {
189
192
  "description": "Rules written in plain English that pick out received mail"
190
193
  },