allagents 1.13.1 → 1.13.2-next.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.
Files changed (2) hide show
  1. package/dist/index.js +19 -20
  2. package/package.json +3 -4
package/dist/index.js CHANGED
@@ -6371,7 +6371,7 @@ __export(exports_constants, {
6371
6371
  });
6372
6372
  import { homedir } from "node:os";
6373
6373
  function getHomeDir() {
6374
- return homedir();
6374
+ return process.env.ALLAGENTS_TEST_HOME || homedir();
6375
6375
  }
6376
6376
  function generateWorkspaceRules(repositories, skillsIndexRefs = []) {
6377
6377
  const repoList = repositories.map((r) => `- ${r.path}${r.description ? ` - ${r.description}` : ""}`).join(`
@@ -42575,7 +42575,7 @@ var package_default;
42575
42575
  var init_package = __esm(() => {
42576
42576
  package_default = {
42577
42577
  name: "allagents",
42578
- version: "1.13.1",
42578
+ version: "1.13.2-next.1",
42579
42579
  packageManager: "bun@1.3.12",
42580
42580
  description: "CLI tool for managing multi-repo AI agent workspaces with plugin synchronization",
42581
42581
  type: "module",
@@ -42593,14 +42593,14 @@ var init_package = __esm(() => {
42593
42593
  test: "bun test",
42594
42594
  "test:watch": "bun test --watch",
42595
42595
  "test:coverage": "bun test --coverage",
42596
- "test:integration": "bats tests/integration/*.bats",
42596
+ "test:e2e": "bun test tests/e2e",
42597
42597
  typecheck: "tsc --noEmit",
42598
42598
  lint: "biome lint src",
42599
42599
  "lint:fix": "biome lint --write src",
42600
42600
  format: "biome format --write src",
42601
42601
  check: "biome check src",
42602
42602
  "check:fix": "biome check --write src",
42603
- prepare: "bun run build && (test -d .git && bunx prek install -t pre-push || true)",
42603
+ prepare: "bun run build",
42604
42604
  release: "bun run scripts/release.ts",
42605
42605
  "release:next": "bun run scripts/release.ts next",
42606
42606
  "release:finalize": "bun run scripts/release.ts finalize",
@@ -42643,7 +42643,6 @@ var init_package = __esm(() => {
42643
42643
  },
42644
42644
  devDependencies: {
42645
42645
  "@biomejs/biome": "^1.9.0",
42646
- "@j178/prek": "^0.3.0",
42647
42646
  "@types/bun": "latest",
42648
42647
  "@types/js-yaml": "^4.0.9",
42649
42648
  "@types/micromatch": "^4.0.10",
@@ -43041,9 +43040,9 @@ async function installSelectedPlugin(pluginRef, context, cache2) {
43041
43040
  kt2(result.error ?? "Unknown error", "Error");
43042
43041
  return false;
43043
43042
  }
43044
- s.message("Syncing...");
43043
+ s.message("Updating...");
43045
43044
  syncResult = await syncWorkspace(workspacePath);
43046
- s.stop("Installed and synced");
43045
+ s.stop("Installed");
43047
43046
  } else {
43048
43047
  const result = await addUserPlugin(pluginRef);
43049
43048
  if (!result.success) {
@@ -43051,9 +43050,9 @@ async function installSelectedPlugin(pluginRef, context, cache2) {
43051
43050
  kt2(result.error ?? "Unknown error", "Error");
43052
43051
  return false;
43053
43052
  }
43054
- s.message("Syncing...");
43053
+ s.message("Updating...");
43055
43054
  syncResult = await syncUserWorkspace();
43056
- s.stop("Installed and synced");
43055
+ s.stop("Installed");
43057
43056
  }
43058
43057
  cache2?.invalidate();
43059
43058
  const lines = formatVerboseSyncLines(syncResult);
@@ -43075,13 +43074,13 @@ async function runUpdatePlugin(pluginSource, scope, context, cache2) {
43075
43074
  kt2(`- ${pluginSource} (${result.action})`, "Update");
43076
43075
  return;
43077
43076
  }
43078
- s.message("Syncing...");
43077
+ s.message("Updating...");
43079
43078
  if (scope === "project" && context.workspacePath) {
43080
43079
  await syncWorkspace(context.workspacePath);
43081
43080
  } else {
43082
43081
  await syncUserWorkspace();
43083
43082
  }
43084
- s.stop("Updated and synced");
43083
+ s.stop("Updated");
43085
43084
  cache2?.invalidate();
43086
43085
  kt2(`✓ ${pluginSource} (${result.action})`, "Update");
43087
43086
  }
@@ -43128,7 +43127,7 @@ async function runUpdateAllPlugins(context, cache2) {
43128
43127
  }
43129
43128
  }
43130
43129
  if (needsProjectSync || needsUserSync) {
43131
- s.message("Syncing...");
43130
+ s.message("Updating...");
43132
43131
  if (needsProjectSync && context.workspacePath) {
43133
43132
  await syncWorkspace(context.workspacePath);
43134
43133
  }
@@ -43270,13 +43269,13 @@ async function runPluginDetail(pluginKey, context, cache2) {
43270
43269
  continue;
43271
43270
  }
43272
43271
  }
43273
- s.message("Syncing...");
43272
+ s.message("Updating...");
43274
43273
  if (scope === "project" && context.workspacePath) {
43275
43274
  await syncWorkspace(context.workspacePath);
43276
43275
  } else {
43277
43276
  await syncUserWorkspace();
43278
43277
  }
43279
- s.stop("Mode updated and synced");
43278
+ s.stop("Updated");
43280
43279
  cache2?.invalidate();
43281
43280
  const newMode = currentMode === "allowlist" ? "ON" : "OFF";
43282
43281
  kt2(`Auto-enable new skills: ${newMode}`, "Updated");
@@ -43302,9 +43301,9 @@ async function runPluginDetail(pluginKey, context, cache2) {
43302
43301
  kt2(result.error ?? "Unknown error", "Error");
43303
43302
  continue;
43304
43303
  }
43305
- s.message("Syncing...");
43304
+ s.message("Updating...");
43306
43305
  await syncWorkspace(context.workspacePath);
43307
- s.stop("Removed and synced");
43306
+ s.stop("Removed");
43308
43307
  } else {
43309
43308
  const result = await removeUserPlugin(pluginSource);
43310
43309
  if (!result.success) {
@@ -43312,9 +43311,9 @@ async function runPluginDetail(pluginKey, context, cache2) {
43312
43311
  kt2(result.error ?? "Unknown error", "Error");
43313
43312
  continue;
43314
43313
  }
43315
- s.message("Syncing...");
43314
+ s.message("Updating...");
43316
43315
  await syncUserWorkspace();
43317
- s.stop("Removed and synced");
43316
+ s.stop("Removed");
43318
43317
  }
43319
43318
  cache2?.invalidate();
43320
43319
  kt2(`Removed: ${pluginSource} [${scope}]`, "Success");
@@ -43377,13 +43376,13 @@ async function runBrowsePluginSkills(pluginSource, scope, context, cache2) {
43377
43376
  }
43378
43377
  }
43379
43378
  }
43380
- s.message("Syncing...");
43379
+ s.message("Updating...");
43381
43380
  if (scope === "project" && context.workspacePath) {
43382
43381
  await syncWorkspace(context.workspacePath);
43383
43382
  } else if (scope === "user") {
43384
43383
  await syncUserWorkspace();
43385
43384
  }
43386
- s.stop("Skills updated and synced");
43385
+ s.stop("Updated");
43387
43386
  cache2?.invalidate();
43388
43387
  const changes = [];
43389
43388
  for (const skill of toEnable) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "allagents",
3
- "version": "1.13.1",
3
+ "version": "1.13.2-next.1",
4
4
  "packageManager": "bun@1.3.12",
5
5
  "description": "CLI tool for managing multi-repo AI agent workspaces with plugin synchronization",
6
6
  "type": "module",
@@ -18,14 +18,14 @@
18
18
  "test": "bun test",
19
19
  "test:watch": "bun test --watch",
20
20
  "test:coverage": "bun test --coverage",
21
- "test:integration": "bats tests/integration/*.bats",
21
+ "test:e2e": "bun test tests/e2e",
22
22
  "typecheck": "tsc --noEmit",
23
23
  "lint": "biome lint src",
24
24
  "lint:fix": "biome lint --write src",
25
25
  "format": "biome format --write src",
26
26
  "check": "biome check src",
27
27
  "check:fix": "biome check --write src",
28
- "prepare": "bun run build && (test -d .git && bunx prek install -t pre-push || true)",
28
+ "prepare": "bun run build",
29
29
  "release": "bun run scripts/release.ts",
30
30
  "release:next": "bun run scripts/release.ts next",
31
31
  "release:finalize": "bun run scripts/release.ts finalize",
@@ -68,7 +68,6 @@
68
68
  },
69
69
  "devDependencies": {
70
70
  "@biomejs/biome": "^1.9.0",
71
- "@j178/prek": "^0.3.0",
72
71
  "@types/bun": "latest",
73
72
  "@types/js-yaml": "^4.0.9",
74
73
  "@types/micromatch": "^4.0.10",