replicas-cli 0.2.460 → 0.2.461

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.mjs +3 -2
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -10078,7 +10078,7 @@ function formatTurnElapsed(ms) {
10078
10078
  }
10079
10079
 
10080
10080
  // ../shared/src/cli-version.ts
10081
- var CLI_VERSION = "0.2.460";
10081
+ var CLI_VERSION = "0.2.461";
10082
10082
 
10083
10083
  // ../shared/src/version.ts
10084
10084
  function compareVersions(v1, v2) {
@@ -25088,7 +25088,8 @@ function skillNameFromSkillRootPath(path6) {
25088
25088
  const parts = path6.split(/[\\/]+/).filter(Boolean);
25089
25089
  const skillsIndex = parts.findLastIndex((part) => part.toLowerCase() === "skills");
25090
25090
  if (skillsIndex === -1) return null;
25091
- const skillName = parts[skillsIndex + 1];
25091
+ const firstSkillPart = parts[skillsIndex + 1];
25092
+ const skillName = firstSkillPart?.toLowerCase() === ".system" ? parts[skillsIndex + 2] : firstSkillPart;
25092
25093
  return skillName && skillName.toLowerCase() !== "skill.md" ? skillName : null;
25093
25094
  }
25094
25095
  function parseSkillFilePath(input) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.2.460",
3
+ "version": "0.2.461",
4
4
  "description": "CLI for managing Replicas workspaces - SSH into cloud dev environments with automatic port forwarding",
5
5
  "main": "dist/index.mjs",
6
6
  "bin": {