primcli 1.33.0 → 1.34.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/README.md +52 -17
- package/bin/claude-wake.mjs +174 -0
- package/dist/{cli-config-Cv2-NAOd.js → cli-config-x39ZVsXJ.js} +29 -3
- package/dist/oclif/index.js +13537 -8285
- package/dist/oclif/root-signup-hint.js +1 -1
- package/man/primitive.1 +15 -0
- package/package.json +10 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as normalizeApiBaseUrl, c as resolveConfigEnvironment, i as loadCliConfig } from "../cli-config-
|
|
1
|
+
import { S as normalizeApiBaseUrl, c as resolveConfigEnvironment, i as loadCliConfig } from "../cli-config-x39ZVsXJ.js";
|
|
2
2
|
import { existsSync, readFileSync } from "node:fs";
|
|
3
3
|
import { join } from "node:path";
|
|
4
4
|
import { homedir } from "node:os";
|
package/man/primitive.1
CHANGED
|
@@ -34,11 +34,17 @@ credential. This mode requires WebSocket and the shared saved subscription;
|
|
|
34
34
|
--transport poll and a custom --subscription are rejected. The local-mail-*
|
|
35
35
|
subscription namespace is reserved for shared receiving. No runtime is launched. Repeat --sender or use comma-separated exact
|
|
36
36
|
addresses. Routine authenticated status interactions do not notify the session.
|
|
37
|
+
Verified receiver presence controls are answered deterministically while the
|
|
38
|
+
exact session binding is eligible. They do not start model turns, wake Claude,
|
|
39
|
+
complete chat waits, or consume --once or --number. Pending verification remains
|
|
40
|
+
durably deferred and reconciles independently of ordinary mail.
|
|
37
41
|
.PP
|
|
38
42
|
.B primitive listen --status --notify-session UUID
|
|
39
43
|
inspects local notification receipts without receiving mail or connecting to a
|
|
40
44
|
session. Accepted means queued; unknown outcomes are held across restarts and are
|
|
41
45
|
never automatically resent. Inspect the exact session before a manual resend.
|
|
46
|
+
An explicit Codex Review or Compact refusal is recorded as not_submitted and
|
|
47
|
+
retried after a short delay; a timeout remains unknown.
|
|
42
48
|
Use --limit (default 100, maximum 1000) and --cursor with the returned nextCursor
|
|
43
49
|
to page through receipts. Notification subscriptions accept email.received only;
|
|
44
50
|
--once counts a candidate processed during this invocation, including filtered
|
|
@@ -233,6 +239,15 @@ stable idempotency key. After a lost send response, repeating the same command
|
|
|
233
239
|
looks up that key without sending again. Timed-out exact-parent waits retain
|
|
234
240
|
their claim for resume. A plain reply does not prove task completion.
|
|
235
241
|
|
|
242
|
+
.SS Organization agent network
|
|
243
|
+
.B primitive network peers --owner NAME --json
|
|
244
|
+
finds listed agents owned by a coworker in the private default organization
|
|
245
|
+
network. Results include address, owner name and last recorded API activity;
|
|
246
|
+
activity is not live presence. Use the returned cursor for further pages.
|
|
247
|
+
The owner can separately allow an agent to see peers or be seen. Contacts are
|
|
248
|
+
saved addresses, not the network roster. Network listing and contact acceptance
|
|
249
|
+
do not grant task authority. Known addresses can still exchange ordinary email.
|
|
250
|
+
|
|
236
251
|
.SS Explicit communication signals
|
|
237
252
|
.B primitive signal read --id EMAIL_ID --json
|
|
238
253
|
reports that you read one authenticated plain email.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "primcli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.34.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,
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
"description": "Manage your account settings, storage, and webhook secret"
|
|
51
51
|
},
|
|
52
52
|
"agent-connections": {
|
|
53
|
-
"description": "
|
|
53
|
+
"description": "Create, list, invite, revoke, and remove connected agents; claim private invitations through stdin."
|
|
54
54
|
},
|
|
55
55
|
"agent": {
|
|
56
|
-
"description": "Connect an invited session, enroll a new session using a saved
|
|
56
|
+
"description": "Connect an invited session, enroll a new session using a saved member login, disconnect one saved profile, or manage contacts and signup."
|
|
57
57
|
},
|
|
58
58
|
"credits": {
|
|
59
59
|
"description": "Redeem credit codes and check the organization credit balance"
|
|
@@ -64,6 +64,12 @@
|
|
|
64
64
|
"registries": {
|
|
65
65
|
"description": "Create and manage agent registries, publish and resolve agents by handle, and moderate publication requests"
|
|
66
66
|
},
|
|
67
|
+
"network": {
|
|
68
|
+
"description": "Discover same-organization agents by email address and manage default network visibility. Use `primitive network` to see the commands."
|
|
69
|
+
},
|
|
70
|
+
"agent-networks": {
|
|
71
|
+
"description": "Generated agent network API operations. Prefer `primitive network` for discovery and visibility."
|
|
72
|
+
},
|
|
67
73
|
"inbox": {
|
|
68
74
|
"description": "Check inbound email setup and readiness, and work through mail awaiting your reply. Prefer `primitive inbox setup` for a guided setup path, `primitive inbox status` for the readiness table, and `primitive inbox next` for the oldest email awaiting your reply."
|
|
69
75
|
},
|
|
@@ -129,7 +135,7 @@
|
|
|
129
135
|
"description": "Schedule and send wake commands to your own functions over signed email, and manage which senders may wake them. Use `primitive wake schedules list|create|get|update|delete|run`, `primitive wake authorizations list|create|update|delete`, and `primitive wake dispatches list`."
|
|
130
136
|
},
|
|
131
137
|
"listen": {
|
|
132
|
-
"description": "Receive events locally as JSONL with JSON status responses by default; --json is accepted explicitly. Use --exec or --forward-to, or deliver external mail events as tool output, never user messages, to an exact loaded native session using --notify-session with --contacts or approved --sender addresses. Add --email-id to --status to explain one received email. Add --contact-requests for owner-enabled structured first-contact intake. Use --background for independent receiving, --status --notify-session for current receiver health and durable receipts, or --stop --notify-session to stop only that receiver."
|
|
138
|
+
"description": "Receive events locally as JSONL with JSON status responses by default; --json is accepted explicitly. Use --exec or --forward-to, or deliver external mail events as tool output, never user messages, to an exact loaded native session using --notify-session with --contacts or approved --sender addresses. Add --email-id to --status to explain one received email. Add --contact-requests for owner-enabled structured first-contact intake. Use --background for independent receiving, --status --notify-session for current receiver health and durable receipts, or --stop --notify-session to stop only that receiver. Verified presence controls use no model turns and do not consume --once or --number."
|
|
133
139
|
},
|
|
134
140
|
"contacts": {
|
|
135
141
|
"description": "Shared organization contacts plus structured request, accept, and wait commands for connected agents. Directory list, get, add, update, and remove use conditional versions. Commands return JSON by default and accept explicit --json."
|