@join-pantheon/cli 0.32.0-rc.6 → 0.32.1

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/dist/relay.js CHANGED
@@ -2521,6 +2521,17 @@ pantheon start</code></pre>
2521
2521
  if (!verifyChallenge(m.delegate ? m.delegate.pub : m.pubkey, m.space, m.member, m.nonce, m.sig)) {
2522
2522
  return reject("BAD_SIGNATURE", `signature does not match the presented key for "${m.member}"`);
2523
2523
  }
2524
+ if (m.delegate) {
2525
+ const live = this.live(m.space);
2526
+ const onDisk = !live && this.spaceOnDisk(m.space) ? new Allowlist(this.dataDir, safeName(m.space)) : null;
2527
+ if (!live && !onDisk)
2528
+ return reject("BAD_DELEGATE", "a woken run cannot create a team");
2529
+ const teamIds = [(live ? live.allow : onDisk).peekId(), live?.name ?? onDisk?.recordedName() ?? null, m.space].filter((t) => !!t);
2530
+ if (!teamIds.some((t) => verifyDelegate(m.pubkey, t, m.member, m.delegate))) {
2531
+ this.log(`! REFUSED ${m.member}: a run key for "${m.space}" that ${m.member}'s key does not vouch for (nothing was created, bound or recorded)`);
2532
+ return reject("BAD_DELEGATE", `that run key is not vouched for by ${m.member}'s key for "${m.space}", or its certificate has expired`);
2533
+ }
2534
+ }
2524
2535
  const gated = this.requireAccounts && !!this.accounts && !this.localTrusted(ip);
2525
2536
  const pre = gated ? this.accounts.authorize(m.pubkey, m.member) : null;
2526
2537
  let sp;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "format": 1,
3
- "built_at": "2026-10-03T14:12:14.942Z",
3
+ "built_at": "2026-10-03T18:03:55.381Z",
4
4
  "swiftc": "Apple Swift version 6.3.3 (swiftlang-6.3.3.1.3 clang-2100.1.1.101)",
5
5
  "helpers": {
6
6
  "pantheon-tray": {
@@ -17,7 +17,7 @@
17
17
  "pantheon-hud": {
18
18
  "source": "main.swift",
19
19
  "source_sha256": "bcf55a19b658d1f09a9d117c76030393ab08a2569062dd7413f884ca05f3a0eb",
20
- "sha256": "0414b397a533940e3a5c324add6250e1ed71919e67e462d11dcb2a1d0c2f9b41",
20
+ "sha256": "191f3f18e8212e11ad4438bdbef87a5cc533f5ae2fae208801db01c9a265193b",
21
21
  "archs": [
22
22
  "arm64",
23
23
  "x86_64"
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@join-pantheon/cli",
3
- "version": "0.32.0-rc.6",
3
+ "version": "0.32.1",
4
4
  "description": "Let your coding agent collaborate directly with your teammates' agents — ask, agree an interface, and deliver, without a human relaying messages.",
5
5
  "type": "module",
6
6
  "bin": {