allagents 1.13.5 → 1.13.6-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 +16 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -16051,12 +16051,13 @@ async function fetchPlugin(url, options2 = {}, deps = {}) {
16051
16051
  };
16052
16052
  }
16053
16053
  const { owner, repo } = parsed;
16054
- const cachePath = getPluginCachePath(owner, repo, branch);
16054
+ const effectiveBranch = branch ?? parsed.branch;
16055
+ const cachePath = getPluginCachePath(owner, repo, effectiveBranch);
16055
16056
  const cached = fetchCache.get(cachePath);
16056
16057
  if (cached) {
16057
16058
  return cached;
16058
16059
  }
16059
- const promise = doFetchPlugin(cachePath, owner, repo, offline, branch, deps);
16060
+ const promise = doFetchPlugin(cachePath, owner, repo, offline, effectiveBranch, deps);
16060
16061
  fetchCache.set(cachePath, promise);
16061
16062
  return promise;
16062
16063
  }
@@ -44318,7 +44319,7 @@ var package_default;
44318
44319
  var init_package = __esm(() => {
44319
44320
  package_default = {
44320
44321
  name: "allagents",
44321
- version: "1.13.5",
44322
+ version: "1.13.6-next.1",
44322
44323
  packageManager: "bun@1.3.12",
44323
44324
  description: "CLI tool for managing multi-repo AI agent workspaces with plugin synchronization",
44324
44325
  type: "module",
@@ -48966,7 +48967,18 @@ function resolveSkillFromUrl(skill) {
48966
48967
  return null;
48967
48968
  if (parsed.subpath) {
48968
48969
  const segments = parsed.subpath.split("/").filter(Boolean);
48969
- const name = segments[segments.length - 1];
48970
+ if (segments.at(-1) === "SKILL.md") {
48971
+ const from = skill.slice(0, -"/SKILL.md".length);
48972
+ const containingParsed = parseGitHubUrl(from);
48973
+ if (!containingParsed)
48974
+ return null;
48975
+ return {
48976
+ skill: segments.at(-2) ?? parsed.repo,
48977
+ from,
48978
+ parsed: containingParsed
48979
+ };
48980
+ }
48981
+ const name = segments.at(-1);
48970
48982
  if (!name)
48971
48983
  return null;
48972
48984
  return { skill: name, from: skill, parsed };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "allagents",
3
- "version": "1.13.5",
3
+ "version": "1.13.6-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",