@join-pantheon/cli 0.35.0 → 0.35.1-rc.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.
Files changed (51) hide show
  1. package/dist/agent-outage.js +156 -36
  2. package/dist/agent-token.js +5 -3
  3. package/dist/approvals-list.js +87 -0
  4. package/dist/board.js +472 -87
  5. package/dist/brief.js +17 -0
  6. package/dist/cli.js +687 -95
  7. package/dist/client.js +159 -19
  8. package/dist/config.js +3 -2
  9. package/dist/continued.js +56 -1
  10. package/dist/decision-ui.js +5 -3
  11. package/dist/doctor.js +81 -15
  12. package/dist/file-lock.js +39 -4
  13. package/dist/flow-stats.js +18 -1
  14. package/dist/home-guard.js +317 -54
  15. package/dist/home-safety.js +2 -0
  16. package/dist/hud-queue.js +91 -0
  17. package/dist/install.js +15 -1
  18. package/dist/mcp-instructions.js +55 -20
  19. package/dist/mcp.js +114 -24
  20. package/dist/notice-linux.js +15 -4
  21. package/dist/notice-windows.js +2 -2
  22. package/dist/notifier.js +2 -1
  23. package/dist/notify.js +8 -4
  24. package/dist/open-in.js +4 -3
  25. package/dist/pickup.js +17 -0
  26. package/dist/plain.js +139 -3
  27. package/dist/profile.js +12 -8
  28. package/dist/protocol.js +1 -1
  29. package/dist/question-goal.js +74 -0
  30. package/dist/readiness-alert.js +24 -3
  31. package/dist/refusal.js +2 -2
  32. package/dist/relay.js +142 -28
  33. package/dist/removed.js +4 -4
  34. package/dist/run-control.js +4 -3
  35. package/dist/run-failure.js +67 -10
  36. package/dist/setup-changes.js +7 -6
  37. package/dist/signed-out.js +144 -21
  38. package/dist/spend.js +2 -2
  39. package/dist/tray.js +24 -6
  40. package/dist/update-check.js +2 -1
  41. package/dist/uri-handler.js +10 -2
  42. package/dist/which.js +2 -0
  43. package/dist/worker-policy.js +212 -10
  44. package/dist/worker.js +847 -114
  45. package/dist/worklist.js +31 -1
  46. package/helper/macos/main.swift +42 -3
  47. package/helper/macos/menubar.swift +482 -87
  48. package/helper/macos/prebuilt/manifest.json +5 -5
  49. package/helper/macos/prebuilt/pantheon-hud +0 -0
  50. package/helper/macos/prebuilt/pantheon-tray +0 -0
  51. package/package.json +1 -1
@@ -416,6 +416,21 @@ export function dur(ms) {
416
416
  return hh ? `${d}d ${hh}h` : `${d}d`;
417
417
  }
418
418
  export const REFUSAL_WORDS = {
419
+ ALREADY_JOINED: "a connection that said hello twice",
420
+ BAD_DELEGATE: "a run whose permission from its person did not check",
421
+ BAD_INVITE: "an invite that could not be used",
422
+ BAD_NAME: "a team name that is not allowed",
423
+ BAD_NONCE: "a connection that answered the wrong challenge",
424
+ BAD_SIGNATURE: "a connection whose signature did not check",
425
+ BAD_TOKEN: "the wrong team token",
426
+ KEY_MISMATCH: "a name already held with another key",
427
+ NAME_TAKEN: "a team name too close to one that exists",
428
+ NO_CREDENTIAL: "a connection with no invite and no team token",
429
+ NO_SUCH_SPACE: "a team that does not exist here",
430
+ NOT_JOINED: "a request before the connection said hello",
431
+ PENDING_FULL: "too many people waiting to be admitted",
432
+ RESERVED_NAME: "a name the relay keeps for itself",
433
+ SESSION_REVOKED: "a device signed out from elsewhere",
419
434
  ALREADY_RETRACTED: "a retract of an act already withdrawn",
420
435
  AMBIGUOUS_DECISION_AUTHORITY: "a decision two people claim the say over",
421
436
  BAD_ACT_ID: "an act with a malformed id",
@@ -497,7 +512,9 @@ export const REFUSAL_WORDS = {
497
512
  UNBOUND_SPACE: "an invite to an old team that has no team token yet",
498
513
  UNVERIFIABLE_DELIVERY: "a delivery that named no branch and commit",
499
514
  UPGRADE_REQUIRED: "a client too old for this team",
500
- WOULD_ORPHAN: "a change that would leave the team with no founder",
515
+ WITHDRAWN: "an answer to a decision already withdrawn",
516
+ ALREADY_ANSWERED: "a second answer to a decision its person had already answered",
517
+ WOULD_ORPHAN: "a goal standing down for one that is closed, or itself standing down",
501
518
  WRONG_DECISION_OWNER: "a decision sent to the wrong person",
502
519
  };
503
520
  export const refusalWords = (code) => REFUSAL_WORDS[code] ?? code.toLowerCase().replace(/_/g, " ");