@mutagent/cli 0.1.222 → 0.1.224

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/cli.js CHANGED
@@ -569,9 +569,7 @@ class SDKClientWrapper {
569
569
  try {
570
570
  const response = await this.sdk.providerConfigs.listProviders({
571
571
  provider: filters?.type,
572
- includeInactive: true,
573
- workspaceId: this.workspaceId,
574
- organizationId: this.organizationId
572
+ includeInactive: true
575
573
  });
576
574
  const raw = response;
577
575
  const configs = raw.result?.configs ?? raw.configs ?? [];
@@ -2067,8 +2065,8 @@ init_errors();
2067
2065
  function getAppBaseUrl() {
2068
2066
  return process.env.MUTAGENT_APP_URL ?? "https://app.mutagent.io";
2069
2067
  }
2070
- function providerSettingsLink(scope = "organization") {
2071
- return `${getAppBaseUrl()}/settings/${scope}/providers`;
2068
+ function providerSettingsLink() {
2069
+ return `${getAppBaseUrl()}/settings/workspace/providers`;
2072
2070
  }
2073
2071
  function workspaceLink(_id) {
2074
2072
  return `${getAppBaseUrl()}/settings/workspace/general`;
@@ -2079,12 +2077,12 @@ function workspaceLinks(id) {
2079
2077
  api: `/api/workspaces/${String(id)}`
2080
2078
  };
2081
2079
  }
2082
- function providerLink(_id, scope = "organization") {
2083
- return `${getAppBaseUrl()}/settings/${scope}/providers`;
2080
+ function providerLink(_id) {
2081
+ return providerSettingsLink();
2084
2082
  }
2085
- function providerLinks(id, scope = "organization") {
2083
+ function providerLinks(id) {
2086
2084
  return {
2087
- settings: providerLink(id, scope),
2085
+ settings: providerLink(id),
2088
2086
  api: `/api/providers/${String(id)}`
2089
2087
  };
2090
2088
  }
@@ -5136,5 +5134,5 @@ program.addCommand(createInstallCommand());
5136
5134
  program.addCommand(createFeedbackCommand());
5137
5135
  program.parse();
5138
5136
 
5139
- //# debugId=EF6771B96785663564756E2164756E21
5137
+ //# debugId=850D997C527DFF0A64756E2164756E21
5140
5138
  //# sourceMappingURL=cli.js.map