@fluid-app/fluid-cli 0.1.804 → 0.1.806
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/bin/fluid.mjs +3 -3
- package/dist/client-DWKehNW5.mjs +2 -0
- package/dist/{hook-gZNPgx85.mjs → hook-BRdoYPYg.mjs} +3 -3
- package/dist/{hook-gZNPgx85.mjs.map → hook-BRdoYPYg.mjs.map} +1 -1
- package/dist/index.mjs +2 -2
- package/dist/{profiles-Cuz5-llH.mjs → profiles-BfELpPqe.mjs} +2 -1
- package/dist/profiles-BfELpPqe.mjs.map +1 -0
- package/package.json +1 -1
- package/dist/client-aqEXGMl_.mjs +0 -2
- package/dist/profiles-Cuz5-llH.mjs.map +0 -1
package/dist/bin/fluid.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { A as confirmMfa, B as validateToken, E as resolveCredentialSource, F as pollAgentAccess, I as redeemIdentityLink, L as sendMfa, M as fetchUserCompanies, N as getFluidApiBase, O as FLUID_API_ERROR, P as isInsecureRemoteBase, R as signup, T as readFdToken, _ as describeCredentialSource, b as getActiveProfile, c as inputsModeActive, et as filterCatalog, g as adoptIdentityProfile, it as walkCommands, j as fetchCompanyShops, l as registerInputsHook, nt as visibleOptions, rt as visibleSubcommands, s as exitOnInputsError, tt as rootCommand, u as createInputsReader, v as findIdentityFallbackCandidates, x as getAuthToken, y as findIdentityFallbackProfile, z as switchCompany } from "../hook-
|
|
3
|
-
import { D as serializeAdoptMarker, E as parseAdoptMarker, F as isStrictConfig, H as isIdentityProfile, I as configLockTimings, L as withConfigLock, M as readStoredConfig, N as updateConfig, O as tradeLegacyToken, P as writeConfig, R as getConfigDir, T as isStalePendingAdopt, V as isClientProfile, _ as clientAccessToken, a as identityToken, c as primeIdentityProfile, d as sessionFacts, f as signInWithBrowser, i as describeIdentityError, j as readConfig, l as profileAccessToken, m as KeyringRefusedError, n as createAdoptionSession, p as signOutIdentity, r as deleteStoredAdoption, t as endUnusedSessions, u as revokeStoredAdoption, w as resolveIdentityUrl, x as primeClientProfile } from "../profiles-
|
|
2
|
+
import { A as confirmMfa, B as validateToken, E as resolveCredentialSource, F as pollAgentAccess, I as redeemIdentityLink, L as sendMfa, M as fetchUserCompanies, N as getFluidApiBase, O as FLUID_API_ERROR, P as isInsecureRemoteBase, R as signup, T as readFdToken, _ as describeCredentialSource, b as getActiveProfile, c as inputsModeActive, et as filterCatalog, g as adoptIdentityProfile, it as walkCommands, j as fetchCompanyShops, l as registerInputsHook, nt as visibleOptions, rt as visibleSubcommands, s as exitOnInputsError, tt as rootCommand, u as createInputsReader, v as findIdentityFallbackCandidates, x as getAuthToken, y as findIdentityFallbackProfile, z as switchCompany } from "../hook-BRdoYPYg.mjs";
|
|
3
|
+
import { D as serializeAdoptMarker, E as parseAdoptMarker, F as isStrictConfig, H as isIdentityProfile, I as configLockTimings, L as withConfigLock, M as readStoredConfig, N as updateConfig, O as tradeLegacyToken, P as writeConfig, R as getConfigDir, T as isStalePendingAdopt, V as isClientProfile, _ as clientAccessToken, a as identityToken, c as primeIdentityProfile, d as sessionFacts, f as signInWithBrowser, i as describeIdentityError, j as readConfig, l as profileAccessToken, m as KeyringRefusedError, n as createAdoptionSession, p as signOutIdentity, r as deleteStoredAdoption, t as endUnusedSessions, u as revokeStoredAdoption, w as resolveIdentityUrl, x as primeClientProfile } from "../profiles-BfELpPqe.mjs";
|
|
4
4
|
import { createRequire } from "node:module";
|
|
5
5
|
import { chmodSync, existsSync, mkdirSync, mkdtempSync, readFileSync, readdirSync, realpathSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
6
6
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
@@ -1796,7 +1796,7 @@ const defaultSignupDeps = {
|
|
|
1796
1796
|
isInteractive: () => Boolean(process.stdin.isTTY),
|
|
1797
1797
|
agent: {
|
|
1798
1798
|
poll: pollAgentAccess,
|
|
1799
|
-
saveProfile: async (name, input, options) => (await import("../client-
|
|
1799
|
+
saveProfile: async (name, input, options) => (await import("../client-DWKehNW5.mjs")).saveClientProfile(name, input, options),
|
|
1800
1800
|
strictConfig: isStrictConfig,
|
|
1801
1801
|
stashRecovery: writeRecoveryFile,
|
|
1802
1802
|
stderrIsTty: () => Boolean(process.stderr.isTTY),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as isIdentityProfile, V as isClientProfile, _ as clientAccessToken, b as peekClientToken, j as readConfig, l as profileAccessToken, s as peekIdentityToken } from "./profiles-
|
|
1
|
+
import { H as isIdentityProfile, V as isClientProfile, _ as clientAccessToken, b as peekClientToken, j as readConfig, l as profileAccessToken, s as peekIdentityToken } from "./profiles-BfELpPqe.mjs";
|
|
2
2
|
import { closeSync, constants, existsSync, fstatSync, openSync, readFileSync, readSync, readdirSync, realpathSync, writeSync } from "node:fs";
|
|
3
3
|
import { dirname, isAbsolute, join, sep } from "node:path";
|
|
4
4
|
import { createHash } from "node:crypto";
|
|
@@ -105,7 +105,7 @@ function filterCatalog(entries, root, prefix) {
|
|
|
105
105
|
}
|
|
106
106
|
//#endregion
|
|
107
107
|
//#region package.json
|
|
108
|
-
var version = "0.1.
|
|
108
|
+
var version = "0.1.806";
|
|
109
109
|
//#endregion
|
|
110
110
|
//#region src/auth/client-headers.ts
|
|
111
111
|
const CLIENT_HEADERS = {
|
|
@@ -1588,4 +1588,4 @@ function exitOnInputsError(error, io = processIo) {
|
|
|
1588
1588
|
//#endregion
|
|
1589
1589
|
export { unwrapOr as $, confirmMfa as A, validateToken as B, getRoleAuthTokenAsync as C, findProjectConfig as D, resolveCredentialSource as E, pollAgentAccess as F, isNodeError as G, getErrorMessage as H, redeemIdentityLink as I, mapResult as J, isSuccess as K, sendMfa as L, fetchUserCompanies as M, getFluidApiBase as N, FLUID_API_ERROR as O, isInsecureRemoteBase as P, unwrap as Q, signup as R, getAuthTokenAsync as S, readFdToken as T, isError as U, failure as V, isFailure as W, tryCatch as X, success as Y, tryCatchAsync as Z, describeCredentialSource as _, INPUTS_UNDECLARED_CODE as a, describeCommand as at, getActiveProfile as b, inputsModeActive as c, setActiveSnapshot as d, filterCatalog as et, inInternalRead as f, adoptIdentityProfile as g, declareInputs as h, INPUTS_MODE_ENV as i, walkCommands as it, fetchCompanyShops as j, SIGNUP_ERROR as k, registerInputsHook as l, withInternalReadsAsync as m, INPUTS_MISMATCH_CODE as n, visibleOptions as nt, INPUTS_UNDECLARED_EXIT as o, withInternalReads as p, mapError as q, INPUTS_MISMATCH_EXIT as r, visibleSubcommands as rt, exitOnInputsError as s, INPUTS_EXPECT_ENV as t, rootCommand as tt, createInputsReader as u, findIdentityFallbackCandidates as v, listProfileNames as w, getAuthToken as x, findIdentityFallbackProfile as y, switchCompany as z };
|
|
1590
1590
|
|
|
1591
|
-
//# sourceMappingURL=hook-
|
|
1591
|
+
//# sourceMappingURL=hook-BRdoYPYg.mjs.map
|