@wrongstack/cli 1.0.37 → 1.1.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.
@@ -32,7 +32,7 @@ var loaders = {
32
32
  version: async () => (await import("./version-help-RBZC5GZZ.js")).versionCmd,
33
33
  help: async () => (await import("./version-help-RBZC5GZZ.js")).helpCmd,
34
34
  projects: async () => (await import("./projects-FWRJHW3S.js")).projectsCmd,
35
- modeldiag: async () => (await import("./modeldiag-ERXYJODJ.js")).modeldiagCmd,
35
+ modeldiag: async () => (await import("./modeldiag-HDIKG37X.js")).modeldiagCmd,
36
36
  quick: async () => (await import("./quick-NPC3N3ZX.js")).quickCmd,
37
37
  bench: async () => (await import("./bench-NDYES33Y.js")).benchCmd,
38
38
  chronicle: async () => (await import("./chronicle-WBK3TJRB.js")).chronicleCmd,
@@ -58,4 +58,4 @@ export {
58
58
  subcommands,
59
59
  subcommandNames
60
60
  };
61
- //# sourceMappingURL=chunk-ML3US333.js.map
61
+ //# sourceMappingURL=chunk-GRAGMA4B.js.map
@@ -22,7 +22,7 @@ async function handleHelpVersionShortCircuit(argv) {
22
22
  }
23
23
  if (earlyFlags["help"] === true) {
24
24
  if (positional.length > 0) {
25
- const { subcommandNames } = await import("./subcommands-EGZPBQOO.js");
25
+ const { subcommandNames } = await import("./subcommands-VTMIZQBP.js");
26
26
  if (subcommandNames.includes(positional[0])) {
27
27
  const first = positional[0];
28
28
  const deep = positional[1];
@@ -43,4 +43,4 @@ async function handleHelpVersionShortCircuit(argv) {
43
43
  export {
44
44
  handleHelpVersionShortCircuit
45
45
  };
46
- //# sourceMappingURL=chunk-CIGEY7NU.js.map
46
+ //# sourceMappingURL=chunk-NMXQFQ26.js.map
@@ -1,4 +1,5 @@
1
1
  import {
2
+ loadConfigProviders,
2
3
  mutateConfigProviders
3
4
  } from "./chunk-ZCXZGYO5.js";
4
5
  import {
@@ -11,6 +12,7 @@ import {
11
12
  createSubscriptionRefreshTransaction,
12
13
  matchesActiveProviderCredential,
13
14
  setAccountQuotaReporting,
15
+ setChatGPTQuotaProviders,
14
16
  setOAuthTokenPersister,
15
17
  setProviderModelPersister,
16
18
  setSubscriptionRefreshTransaction
@@ -19,6 +21,7 @@ import { applyProviderOAuthRefresh as applyProviderOAuthRefresh2 } from "@wrongs
19
21
  function installProviderPersisters(args) {
20
22
  const profileConfigPath = activeProfileConfigPath(args.paths, args.config);
21
23
  setAccountQuotaReporting(true);
24
+ setChatGPTQuotaProviders(() => loadConfigProviders(profileConfigPath, args.vault));
22
25
  setSubscriptionRefreshTransaction(
23
26
  createSubscriptionRefreshTransaction(
24
27
  (mutator) => mutateConfigProviders(profileConfigPath, args.vault, mutator)
@@ -51,4 +54,4 @@ export {
51
54
  installProviderPersisters,
52
55
  applyProviderOAuthRefresh2 as applyProviderOAuthRefresh
53
56
  };
54
- //# sourceMappingURL=chunk-T4TGMTH2.js.map
57
+ //# sourceMappingURL=chunk-TXWL3BZ5.js.map
@@ -30,14 +30,14 @@ import {
30
30
  } from "./chunk-NL2ABOAS.js";
31
31
  import {
32
32
  subcommands
33
- } from "./chunk-ML3US333.js";
33
+ } from "./chunk-GRAGMA4B.js";
34
34
  import {
35
35
  renderDeepHelp,
36
36
  renderFocusedHelp
37
37
  } from "./chunk-3R3OADC5.js";
38
38
  import {
39
39
  handleHelpVersionShortCircuit
40
- } from "./chunk-CIGEY7NU.js";
40
+ } from "./chunk-NMXQFQ26.js";
41
41
  import {
42
42
  DEFAULT_PORT
43
43
  } from "./chunk-AWRZWPJ3.js";
@@ -53,7 +53,7 @@ import {
53
53
  } from "./chunk-OGVSKS4Q.js";
54
54
  import {
55
55
  installProviderPersisters
56
- } from "./chunk-T4TGMTH2.js";
56
+ } from "./chunk-TXWL3BZ5.js";
57
57
  import {
58
58
  discoverAndMergeProviders
59
59
  } from "./chunk-RBZVDWTL.js";
@@ -3619,4 +3619,4 @@ async function initializeCli(argv, options = {}) {
3619
3619
  export {
3620
3620
  initializeCli
3621
3621
  };
3622
- //# sourceMappingURL=cli-context-V6NKFU2X.js.map
3622
+ //# sourceMappingURL=cli-context-A6XDEXN5.js.map