primcli 1.35.0 → 1.36.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 +18 -7
- package/dist/oclif/index.js +902 -363
- package/dist/skills/primitive-connect/SKILL.md +803 -0
- package/dist/skills/primitive-connect/package-lock.json +1033 -0
- package/dist/skills/primitive-connect/package.json +8 -0
- package/dist/skills/primitive-connect/references/communication.md +207 -0
- package/dist/skills/primitive-connect/references/contact-requests.md +161 -0
- package/dist/skills/primitive-connect/references/native-session.md +165 -0
- package/dist/skills/primitive-connect/references/private-api-fallback.md +101 -0
- package/dist/skills/primitive-connect/scripts/check-cli-capabilities.mjs +48 -0
- package/dist/skills/primitive-connect/scripts/connection.mjs +193 -0
- package/dist/skills/primitive-connect/scripts/mail.mjs +189 -0
- package/dist/skills/primitive-connect.json +21 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -787,17 +787,28 @@ rules, uses a conditional write, and reads the policy back before reporting
|
|
|
787
787
|
pauses enrollment without overwriting the policy; rerun this exact session
|
|
788
788
|
after reviewing it.
|
|
789
789
|
|
|
790
|
-
|
|
791
|
-
|
|
790
|
+
One command connects a Claude Code or Codex session from an owner's invitation.
|
|
791
|
+
It checks this CLI's capabilities, installs or refreshes the matching
|
|
792
|
+
primitive-connect skill from files bundled in this package, claims the
|
|
793
|
+
invitation from stdin, answers the email challenge, starts receiving and prints
|
|
794
|
+
one JSON result:
|
|
792
795
|
|
|
793
796
|
```sh
|
|
794
|
-
primitive agent connect --
|
|
797
|
+
npx -y primitive@latest agent connect --session "$CODEX_THREAD_ID" --name Research --info "Reviews pull requests" --contact-requests --json < private-invitation.txt
|
|
795
798
|
```
|
|
796
799
|
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
800
|
+
The receiver defaults to the exact Claude session's hooks in Claude Code and to
|
|
801
|
+
the supervised native background listener elsewhere; native receiving waits
|
|
802
|
+
briefly for the listener's first mail check. The profile defaults to
|
|
803
|
+
`session-<session>`. The skill goes to `~/.claude/skills` or
|
|
804
|
+
`$CODEX_HOME/skills` (`--project` uses `.claude/skills` or `.agents/skills` in
|
|
805
|
+
the current directory; `--no-skill` skips it), and is left untouched when the
|
|
806
|
+
same version is already installed. `--name` and `--info` seed a private
|
|
807
|
+
`AGENT_INFO` note only when none exists. Omit `--contact-requests` when owner
|
|
808
|
+
policy disables request intake. The result's `skipped` list names each step not
|
|
809
|
+
done and why. Resume the same setup without the invitation using its returned
|
|
810
|
+
`resumeCommand`. Select the saved profile for later commands with the result's
|
|
811
|
+
`selectProfile`.
|
|
801
812
|
|
|
802
813
|
Verification submission and delivery are separate from receiver health. A queued
|
|
803
814
|
verification reply is accepted for delivery. Do not claim again or resend because
|