@aidotnet/astra-gate 0.7.1 → 0.9.0

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/index.js CHANGED
@@ -200,7 +200,9 @@ var CLIENT_KINDS = [
200
200
  "mimo-code",
201
201
  "deepseek-harness",
202
202
  "workbuddy",
203
- "muse-code"
203
+ "workbuddy-ai",
204
+ "muse-code",
205
+ "paseo"
204
206
  ];
205
207
  var PLUGIN_CLIENT_KIND = /^plugin-[a-z0-9][a-z0-9._-]{0,63}$/;
206
208
  function isClientKind(kind) {
@@ -1052,6 +1054,7 @@ function homePaths(home) {
1052
1054
  dbFile: path8.join(home, "astra.db"),
1053
1055
  keysDir: path8.join(home, "keys"),
1054
1056
  pluginsDir: path8.join(home, "plugins"),
1057
+ toolsDir: path8.join(home, "tools"),
1055
1058
  desktopPrefix: path8.join(home, "desktop")
1056
1059
  };
1057
1060
  }
@@ -1235,7 +1238,7 @@ import { fileURLToPath } from "url";
1235
1238
  // package.json
1236
1239
  var package_default = {
1237
1240
  name: "@aidotnet/astra-gate",
1238
- version: "0.7.1",
1241
+ version: "0.9.0",
1239
1242
  description: "Astra \u2014 a local AI gateway. Install, start, stop and manage the astra-server from the terminal.",
1240
1243
  license: "MIT",
1241
1244
  type: "module",
@@ -1266,12 +1269,12 @@ var package_default = {
1266
1269
  commander: "^12.1.0"
1267
1270
  },
1268
1271
  optionalDependencies: {
1269
- "@aidotnet/server-darwin-arm64": "0.7.1",
1270
- "@aidotnet/server-darwin-x64": "0.7.1",
1271
- "@aidotnet/server-linux-arm64": "0.7.1",
1272
- "@aidotnet/server-linux-x64": "0.7.1",
1273
- "@aidotnet/server-win32-arm64": "0.7.1",
1274
- "@aidotnet/server-win32-x64": "0.7.1"
1272
+ "@aidotnet/server-darwin-arm64": "0.9.0",
1273
+ "@aidotnet/server-darwin-x64": "0.9.0",
1274
+ "@aidotnet/server-linux-arm64": "0.9.0",
1275
+ "@aidotnet/server-linux-x64": "0.9.0",
1276
+ "@aidotnet/server-win32-arm64": "0.9.0",
1277
+ "@aidotnet/server-win32-x64": "0.9.0"
1275
1278
  },
1276
1279
  devDependencies: {
1277
1280
  "@aidotnet/update-core": "workspace:*",
@@ -2672,6 +2675,10 @@ async function runPluginUse(name, provider2) {
2672
2675
  await api2("/api/plugins/prefer", "POST", { spec: p.spec, provider: provider2 });
2673
2676
  success(`${p.shortName} serves ${provider2} now.`);
2674
2677
  }
2678
+ function marketOrigin(l) {
2679
+ if (l.origin !== "astra") return "community";
2680
+ return l.tarballs && l.tarballs.length > 0 ? "astra (hosted)" : "astra";
2681
+ }
2675
2682
  async function runPluginMarket(query) {
2676
2683
  if (query) {
2677
2684
  const results = await api2(`/api/plugins/search?q=${encodeURIComponent(query)}`);
@@ -2683,8 +2690,8 @@ async function runPluginMarket(query) {
2683
2690
  }
2684
2691
  const listings = await api2("/api/plugins/market");
2685
2692
  printTable(
2686
- listings.map((l) => [l.package, l.kind, l.latest ?? "", l.summary.en ?? ""]),
2687
- ["PACKAGE", "KIND", "LATEST", "SUMMARY"]
2693
+ listings.map((l) => [l.package, l.kind, l.latest ?? "", marketOrigin(l), l.summary.en ?? ""]),
2694
+ ["PACKAGE", "KIND", "LATEST", "FROM", "SUMMARY"]
2688
2695
  );
2689
2696
  info("Install one with `astra plugin add <package>`.");
2690
2697
  }