primcli 1.41.0 → 1.43.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 +83 -2
- package/bin/claude-pending-mail.mjs +69 -6
- package/bin/claude-wake.mjs +7 -2
- package/dist/{sdk.gen-I4mhUuUW.js → api-command-CpW39SQw.js} +2273 -3
- package/dist/{auto-signals-C8nMME8J.js → auto-signals-oSCnNgts.js} +2 -2
- package/dist/{cli-config-UOlrfcPz.js → cli-config-DGrZCUfw.js} +744 -2
- package/dist/{connect-skill-DuanRI34.js → connect-skill-BJFxnbwI.js} +6 -4
- package/dist/{listen-background-Bsofqq_6.js → listen-background-TTBqrO_R.js} +1 -1
- package/dist/oclif/auto-signal-worker.js +4 -4
- package/dist/oclif/auto-signals.js +1 -1
- package/dist/oclif/index.js +1114 -755
- package/dist/oclif/listen-supervisor.js +1 -1
- package/dist/oclif/proxy-auto-detect.js +1 -1
- package/dist/oclif/receiver-heal.js +4 -4
- package/dist/oclif/root-signup-hint.js +1 -1
- package/dist/{repeats-CoK0tpCK-Bx7nmyRi.js → repeats-D2xtLium-Dv34tqei.js} +21 -2
- package/dist/{signal-command-BFPKbatO.js → signal-command-BbdorL9t.js} +18 -1743
- package/dist/skills/primitive-connect/SKILL.md +21 -0
- package/dist/skills/primitive-connect.json +3 -3
- package/package.json +1 -1
- package/dist/connected-agent-profile-8tpOMdq3.js +0 -730
- /package/dist/{json-output-BVRgl6jf.js → json-output-CJXNOsUI.js} +0 -0
- /package/dist/{shared-mail-files-CZqI1kj6.js → shared-mail-files-SPPcis9g.js} +0 -0
|
@@ -13,6 +13,25 @@ later work. An imperative setup instruction pasted as the owner's request
|
|
|
13
13
|
authorizes this connection, private credential storage, the verification reply
|
|
14
14
|
and continued receiving; do not ask for that approval again.
|
|
15
15
|
|
|
16
|
+
**One address per session unless the owner says otherwise.** If this session
|
|
17
|
+
already has a Primitive address (you connected it earlier, or a profile is
|
|
18
|
+
already receiving mail here), ask the owner whether to keep that address or
|
|
19
|
+
disconnect that agent first, and do not create a second address without their
|
|
20
|
+
answer. The connect command checks this itself: when the session is already
|
|
21
|
+
connected it claims nothing and exits with status 3 and
|
|
22
|
+
`status: "already_connected"` and names an address already connected here
|
|
23
|
+
(there can be more than one). Tell the owner, relay the same choice, then rerun
|
|
24
|
+
the same command as they chose:
|
|
25
|
+
|
|
26
|
+
- `--replace-existing` disconnects every address connected to this session,
|
|
27
|
+
not just one, then connects. Say so before they choose.
|
|
28
|
+
- `--keep-existing` keeps them all. If the existing address uses this
|
|
29
|
+
session's default profile, also pass a new `--profile <name>` so the second
|
|
30
|
+
address gets its own profile; otherwise the rerun is refused again.
|
|
31
|
+
|
|
32
|
+
Never switch to a separate profile on your own to get around this check; only
|
|
33
|
+
use a new profile as part of the owner's choice to keep both.
|
|
34
|
+
|
|
16
35
|
The command validates the invitation's API origin, claims it once, answers the
|
|
17
36
|
verification email, starts receiving for this exact session (or sets up
|
|
18
37
|
checking for mail when nothing can wake this session), installs or refreshes
|
|
@@ -79,6 +98,8 @@ Read the one JSON result:
|
|
|
79
98
|
`selectProfile` (`PRIMITIVE_AGENT_PROFILE=<profile>`).
|
|
80
99
|
- `status: "pending"`: run `resumeCommand` exactly as printed. It never reads
|
|
81
100
|
or claims the invitation again. `skipped` names each step not done and why.
|
|
101
|
+
- `status: "already_connected"` (exit status 3): ask the owner, then rerun
|
|
102
|
+
with `--replace-existing` or `--keep-existing` as described above.
|
|
82
103
|
- Exit status 1: follow its message. Never feed the same invitation to the
|
|
83
104
|
command twice, and never claim it over HTTP after the command may have
|
|
84
105
|
claimed it. Switch to the [HTTP API path](#connect-with-the-http-api) only
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "primitive-connect",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "c744659c2610f3a2",
|
|
4
4
|
"source": {
|
|
5
5
|
"repository": "https://github.com/primitivedotdev/skills",
|
|
6
6
|
"path": "skills/primitive-connect",
|
|
7
|
-
"commit": "
|
|
7
|
+
"commit": "8f4040ad7b91816efa58c0c175ff860db1e24abe"
|
|
8
8
|
},
|
|
9
9
|
"files": {
|
|
10
|
-
"SKILL.md": "
|
|
10
|
+
"SKILL.md": "e246e732bfede41a5538f8736bf3c6c5cd0b7d3c1ba1b8bb6e2a2d5103e915fb",
|
|
11
11
|
"package-lock.json": "443289373a7495883a9a3b57bab3bc471cd5dcb4989a9e67f797b35917c1acc5",
|
|
12
12
|
"package.json": "8cc45b2c28ba415960c9b85f6c1449f15f9c10bac0b96922e7907b40d50e3dbf",
|
|
13
13
|
"references/communication.md": "c931aada9553a8592088c28de5b272d5e0a15234aa9c9318ea7d1d5f69b39a79",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "primcli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.43.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,
|