@amerged/ohmyhost-cli 0.1.19 → 0.1.21

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.
@@ -2,14 +2,18 @@ import { createRequire as __ohmyhostCreateRequire } from "node:module"; const re
2
2
  import {
3
3
  CredentialStoreIntegrityError,
4
4
  CredentialStoreUnavailableError,
5
+ LEGACY_CREDENTIAL_ACCOUNT,
5
6
  NativeNapiKeyringCredentialStore,
7
+ createNativeEntryFactory,
6
8
  parseCredential,
7
9
  serializeCredential
8
- } from "./chunk-4HFQ54FP.js";
10
+ } from "./chunk-7D2RFLWM.js";
9
11
  export {
10
12
  CredentialStoreIntegrityError,
11
13
  CredentialStoreUnavailableError,
14
+ LEGACY_CREDENTIAL_ACCOUNT,
12
15
  NativeNapiKeyringCredentialStore,
16
+ createNativeEntryFactory,
13
17
  parseCredential,
14
18
  serializeCredential
15
19
  };
package/dist/index.js CHANGED
@@ -1,14 +1,23 @@
1
1
  import { createRequire as __ohmyhostCreateRequire } from "node:module"; const require = __ohmyhostCreateRequire(import.meta.url);
2
2
  import {
3
+ ACCOUNT_SENSITIVE_PROBLEMS,
4
+ AccountVerificationError,
3
5
  GeneratedSdkProductApi,
4
6
  GeneratedSdkSessionRevoker,
5
7
  InteractiveSessionRequiredError,
6
8
  InvalidCommandError,
7
9
  LifecycleTransportError,
10
+ LinkedProjectAmbiguousError,
11
+ NativeKeyringProfileRegistry,
8
12
  NetworkTransportError,
9
13
  OwnerOnlyProjectLinkStore,
10
14
  ProductApiAuthenticationError,
11
15
  ProductCli,
16
+ ProfileIndexFiles,
17
+ ProfileLimitError,
18
+ ProfileNameConflictError,
19
+ ProfileOrganizationFixedError,
20
+ ProfileSelectionError,
12
21
  ProviderCapabilityBlockedError,
13
22
  PsqlUnavailableError,
14
23
  PublicResponseTooLargeError,
@@ -20,12 +29,23 @@ import {
20
29
  StderrDeviceAuthorizationPresenter,
21
30
  TokenRefreshRejectedError,
22
31
  UserTokenFileError,
32
+ assertVerifiedLogin,
33
+ chooseLinkedProject,
23
34
  chooseWorkspace,
35
+ classifyCliFailure,
24
36
  cliMetadataResult,
25
37
  createAuthenticatedProductTransport,
26
38
  createBoundedFetch,
27
39
  createProductionAuthenticatedProductApi,
40
+ defaultProfileName,
41
+ describeProfile,
42
+ extractProfileName,
28
43
  initializeRepository,
44
+ isProfileName,
45
+ isProfileUserId,
46
+ linkedOrganization,
47
+ listSavedProfiles,
48
+ loadProfiles,
29
49
  parseAccountProfile,
30
50
  parseCloudflareDnsAuthorization,
31
51
  parseCloudflareDnsAuthorizationStatus,
@@ -34,30 +54,42 @@ import {
34
54
  parseDevAccessTicket,
35
55
  parseOperation,
36
56
  parseOperationEvent,
57
+ parseOrganizationReferral,
37
58
  parsePaidDomain,
38
59
  parsePaidDomainPlan,
60
+ parsePoweredByFlag,
39
61
  parseProductCliCommand,
40
62
  parseSafeProblem,
41
63
  parseWithLinkedProject,
42
64
  prepareUserTokenFile,
65
+ profileIndexDirectory,
66
+ profileLimitAction,
67
+ profileSelectionError,
68
+ publicProfile,
43
69
  publicWorkspace,
44
70
  readBoundedResponseBody,
45
- readLinkedProjectId,
71
+ readProjectLinks,
46
72
  readSecretValueFromStandardInput,
47
73
  recognizedCommandLabel,
74
+ removeLegacyProjectLink,
48
75
  resolveProductCliEnvironment,
49
76
  runProductionCli,
77
+ sameLogin,
78
+ selectProfile,
79
+ selectProfileForOrganization,
50
80
  selectWorkspace,
51
- selectedWorkspaceId,
81
+ verifiedUserId,
52
82
  workspaceOf
53
- } from "./chunk-57UUB7RK.js";
83
+ } from "./chunk-EPTONNNW.js";
54
84
  import {
55
85
  CredentialStoreIntegrityError,
56
86
  CredentialStoreUnavailableError,
87
+ LEGACY_CREDENTIAL_ACCOUNT,
57
88
  NativeNapiKeyringCredentialStore,
89
+ createNativeEntryFactory,
58
90
  parseCredential,
59
91
  serializeCredential
60
- } from "./chunk-4HFQ54FP.js";
92
+ } from "./chunk-7D2RFLWM.js";
61
93
 
62
94
  // apps/product-cli/dist/file-credential-store.js
63
95
  import { constants, lstat, mkdir, open, rename, unlink } from "node:fs/promises";
@@ -196,19 +228,29 @@ var OwnerOnlyFileCredentialStore = class {
196
228
  };
197
229
  var isMissing = (error) => typeof error === "object" && error !== null && "code" in error && error.code === "ENOENT";
198
230
  export {
231
+ ACCOUNT_SENSITIVE_PROBLEMS,
232
+ AccountVerificationError,
199
233
  CredentialStoreIntegrityError,
200
234
  CredentialStoreUnavailableError,
201
235
  GeneratedSdkProductApi,
202
236
  GeneratedSdkSessionRevoker,
203
237
  InteractiveSessionRequiredError,
204
238
  InvalidCommandError,
239
+ LEGACY_CREDENTIAL_ACCOUNT,
205
240
  LifecycleTransportError,
241
+ LinkedProjectAmbiguousError,
242
+ NativeKeyringProfileRegistry,
206
243
  NativeNapiKeyringCredentialStore,
207
244
  NetworkTransportError,
208
245
  OwnerOnlyFileCredentialStore,
209
246
  OwnerOnlyProjectLinkStore,
210
247
  ProductApiAuthenticationError,
211
248
  ProductCli,
249
+ ProfileIndexFiles,
250
+ ProfileLimitError,
251
+ ProfileNameConflictError,
252
+ ProfileOrganizationFixedError,
253
+ ProfileSelectionError,
212
254
  ProviderCapabilityBlockedError,
213
255
  PsqlUnavailableError,
214
256
  PublicResponseTooLargeError,
@@ -220,12 +262,24 @@ export {
220
262
  StderrDeviceAuthorizationPresenter,
221
263
  TokenRefreshRejectedError,
222
264
  UserTokenFileError,
265
+ assertVerifiedLogin,
266
+ chooseLinkedProject,
223
267
  chooseWorkspace,
268
+ classifyCliFailure,
224
269
  cliMetadataResult,
225
270
  createAuthenticatedProductTransport,
226
271
  createBoundedFetch,
272
+ createNativeEntryFactory,
227
273
  createProductionAuthenticatedProductApi,
274
+ defaultProfileName,
275
+ describeProfile,
276
+ extractProfileName,
228
277
  initializeRepository,
278
+ isProfileName,
279
+ isProfileUserId,
280
+ linkedOrganization,
281
+ listSavedProfiles,
282
+ loadProfiles,
229
283
  parseAccountProfile,
230
284
  parseCloudflareDnsAuthorization,
231
285
  parseCloudflareDnsAuthorizationStatus,
@@ -235,21 +289,31 @@ export {
235
289
  parseDevAccessTicket,
236
290
  parseOperation,
237
291
  parseOperationEvent,
292
+ parseOrganizationReferral,
238
293
  parsePaidDomain,
239
294
  parsePaidDomainPlan,
295
+ parsePoweredByFlag,
240
296
  parseProductCliCommand,
241
297
  parseSafeProblem,
242
298
  parseWithLinkedProject,
243
299
  prepareUserTokenFile,
300
+ profileIndexDirectory,
301
+ profileLimitAction,
302
+ profileSelectionError,
303
+ publicProfile,
244
304
  publicWorkspace,
245
305
  readBoundedResponseBody,
246
- readLinkedProjectId,
306
+ readProjectLinks,
247
307
  readSecretValueFromStandardInput,
248
308
  recognizedCommandLabel,
309
+ removeLegacyProjectLink,
249
310
  resolveProductCliEnvironment,
250
311
  runProductionCli,
312
+ sameLogin,
313
+ selectProfile,
314
+ selectProfileForOrganization,
251
315
  selectWorkspace,
252
- selectedWorkspaceId,
253
316
  serializeCredential,
317
+ verifiedUserId,
254
318
  workspaceOf
255
319
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amerged/ohmyhost-cli",
3
- "version": "0.1.19",
3
+ "version": "0.1.21",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": ">=22"