passport-bridge 0.16.13 → 0.16.14
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 +15 -15
- package/dist/bridgeExchange.d.ts +7 -1
- package/dist/bridgeExchange.js +11 -2
- package/dist/cli.js +3 -1
- package/dist/cliActions.js +37 -18
- package/dist/cliArgs.js +14 -9
- package/dist/cliAutopilot.js +35 -14
- package/dist/cliAutopilotPolicy.d.ts +10 -0
- package/dist/cliAutopilotPolicy.js +28 -0
- package/dist/cliConnect.js +7 -6
- package/dist/cliDeadline.js +2 -1
- package/dist/cliEnv.js +5 -4
- package/dist/cliExec.js +13 -5
- package/dist/cliGuardState.d.ts +2 -0
- package/dist/cliGuardState.js +5 -1
- package/dist/cliHelp.d.ts +5 -4
- package/dist/cliHelp.js +2 -27
- package/dist/cliHook.js +6 -2
- package/dist/cliHookGuard.js +2 -2
- package/dist/cliHookInstall.d.ts +3 -0
- package/dist/cliHookInstall.js +17 -7
- package/dist/cliHookStatus.d.ts +2 -1
- package/dist/cliHookStatus.js +26 -17
- package/dist/cliInit.js +5 -3
- package/dist/cliKeys.d.ts +3 -0
- package/dist/cliKeys.js +59 -77
- package/dist/cliKeysShim.js +7 -5
- package/dist/cliLogin.js +44 -24
- package/dist/cliLogout.js +23 -7
- package/dist/cliMain.js +48 -20
- package/dist/cliOffline.d.ts +2 -2
- package/dist/cliOffline.js +31 -8
- package/dist/cliOutput.js +72 -42
- package/dist/cliReady.d.ts +2 -1
- package/dist/cliReady.js +9 -6
- package/dist/cliResult.js +1 -1
- package/dist/cliScan.js +10 -28
- package/dist/cliSessions.d.ts +3 -2
- package/dist/cliSessions.js +19 -17
- package/dist/cliSetup.js +6 -4
- package/dist/cliSetupLock.js +1 -0
- package/dist/cliSetupOrg.js +7 -5
- package/dist/cliStatus.d.ts +2 -4
- package/dist/cliStatus.js +55 -60
- package/dist/cliSuggest.d.ts +3 -2
- package/dist/cliSuggest.js +19 -6
- package/dist/cliSupport.d.ts +1 -1
- package/dist/cliSupport.js +3 -7
- package/dist/cliSync.js +2 -0
- package/dist/cliUndo.d.ts +3 -1
- package/dist/cliUndo.js +14 -11
- package/dist/cliWait.d.ts +3 -2
- package/dist/cliWait.js +10 -18
- package/dist/doctor.d.ts +4 -1
- package/dist/doctor.js +43 -24
- package/dist/execNoKey.d.ts +1 -1
- package/dist/execNoKey.js +3 -2
- package/dist/execShims.js +2 -2
- package/dist/hookFastPath.js +1 -0
- package/dist/initAutopilotStep.js +5 -4
- package/dist/initInstall.js +4 -3
- package/dist/initKeysStep.js +1 -1
- package/dist/initLocalSteps.js +4 -2
- package/dist/initOutro.d.ts +1 -3
- package/dist/initOutro.js +7 -15
- package/dist/initPlan.js +6 -6
- package/dist/initUi.d.ts +2 -4
- package/dist/initUi.js +8 -17
- package/dist/keysLocal.js +3 -3
- package/dist/keysSecret.d.ts +6 -0
- package/dist/keysSecret.js +43 -0
- package/dist/launcherFastPath.js +1 -0
- package/dist/loginFlow.d.ts +1 -1
- package/dist/loginFlow.js +4 -4
- package/dist/pathLines.d.ts +1 -0
- package/dist/pathLines.js +23 -0
- package/dist/pluginPin.d.ts +1 -1
- package/dist/pluginPin.js +1 -1
- package/dist/plural.d.ts +10 -0
- package/dist/plural.js +14 -0
- package/dist/term.d.ts +49 -5
- package/dist/term.js +200 -26
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/waitingLine.js +2 -1
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Keep in lockstep with bridge/package.json.
|
|
2
|
-
export const VERSION = "0.16.
|
|
2
|
+
export const VERSION = "0.16.14";
|
package/dist/waitingLine.js
CHANGED
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
* has the link. `stop()` clears the live row; Ctrl-C copy is the caller's.
|
|
13
13
|
*/
|
|
14
14
|
import { LiveLine, countdown, termOf, visibleLength, wrap } from "./term.js";
|
|
15
|
+
import { countOf } from "./plural.js";
|
|
15
16
|
export function startWaiting(options) {
|
|
16
17
|
const term = termOf(options.stderr, options.env);
|
|
17
18
|
const write = (text) => options.stderr.write(text);
|
|
@@ -72,7 +73,7 @@ export function declinedLine(declined, now) {
|
|
|
72
73
|
.slice(0, 200);
|
|
73
74
|
const at = typeof declined.at === "number" ? declined.at : undefined;
|
|
74
75
|
const minutes = at === undefined ? undefined : Math.max(0, Math.round((now - at) / 60_000));
|
|
75
|
-
const when = minutes === undefined ? "" : minutes < 1 ? " just now" : ` ${minutes
|
|
76
|
+
const when = minutes === undefined ? "" : minutes < 1 ? " just now" : ` ${countOf(minutes, "minute")} ago`;
|
|
76
77
|
const note = typeof declined.note === "string" && clean(declined.note) ? `: ${clean(declined.note)}` : "";
|
|
77
78
|
return `Declined${when} by ${clean(declined.by)}${note}${note && /[.!?]$/.test(note) ? "" : "."}`;
|
|
78
79
|
}
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "passport-bridge",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.14",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "passport-bridge",
|
|
9
|
-
"version": "0.16.
|
|
9
|
+
"version": "0.16.14",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@modelcontextprotocol/sdk": "1.32.1"
|