@join-pantheon/cli 0.35.0-rc.2 → 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.
- package/dist/agent-outage.js +156 -36
- package/dist/agent-token.js +5 -3
- package/dist/approvals-list.js +87 -0
- package/dist/board.js +472 -87
- package/dist/brief.js +17 -0
- package/dist/cli.js +687 -95
- package/dist/client.js +159 -19
- package/dist/config.js +3 -2
- package/dist/continued.js +56 -1
- package/dist/decision-ui.js +5 -3
- package/dist/doctor.js +81 -15
- package/dist/file-lock.js +39 -4
- package/dist/flow-stats.js +18 -1
- package/dist/home-guard.js +317 -54
- package/dist/home-safety.js +2 -0
- package/dist/hud-queue.js +91 -0
- package/dist/install.js +15 -1
- package/dist/mcp-instructions.js +55 -20
- package/dist/mcp.js +114 -24
- package/dist/notice-linux.js +15 -4
- package/dist/notice-windows.js +2 -2
- package/dist/notifier.js +2 -1
- package/dist/notify.js +8 -4
- package/dist/open-in.js +4 -3
- package/dist/pickup.js +17 -0
- package/dist/plain.js +139 -3
- package/dist/profile.js +12 -8
- package/dist/protocol.js +1 -1
- package/dist/question-goal.js +74 -0
- package/dist/readiness-alert.js +24 -3
- package/dist/refusal.js +2 -2
- package/dist/relay.js +142 -28
- package/dist/removed.js +4 -4
- package/dist/run-control.js +4 -3
- package/dist/run-failure.js +67 -10
- package/dist/setup-changes.js +7 -6
- package/dist/signed-out.js +144 -21
- package/dist/spend.js +2 -2
- package/dist/tray.js +24 -6
- package/dist/update-check.js +2 -1
- package/dist/uri-handler.js +10 -2
- package/dist/which.js +2 -0
- package/dist/worker-policy.js +212 -10
- package/dist/worker.js +847 -114
- package/dist/worklist.js +31 -1
- package/helper/macos/main.swift +42 -3
- package/helper/macos/menubar.swift +482 -87
- package/helper/macos/prebuilt/manifest.json +5 -5
- package/helper/macos/prebuilt/pantheon-hud +0 -0
- package/helper/macos/prebuilt/pantheon-tray +0 -0
- package/package.json +1 -1
package/dist/flow-stats.js
CHANGED
|
@@ -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
|
-
|
|
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, " ");
|