@igorlau/dotagents 1.0.22 → 2.0.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.
@@ -1 +1 @@
1
- {"commit":"56d328e"}
1
+ {}
package/dist/commands.js CHANGED
@@ -12,12 +12,11 @@ export const DEFAULT_SOURCE = "@igorlau/dotagents@latest";
12
12
  export const UP_TO_DATE = "Already up to date.";
13
13
  export const NOTHING_TO_UNINSTALL = "Nothing to uninstall.";
14
14
  export const PLUGIN_HINT = "Claude Code gets the dotagents skills from the plugin. To install it, run `/plugin marketplace add igorlau/dotagents` and `/plugin install dotagents@dotagents` in Claude Code.";
15
- // Release tags carry a real version. Builds from a branch carry X.Y.0-dev,
16
- // so the commit tells them apart.
15
+ // A build from a branch carries the last release plus its commit, such as 2.0.0+30d0533.
17
16
  export function version() {
18
17
  const base = JSON.parse(fs.readFileSync(path.join(packageRoot, "package.json"), "utf8")).version;
19
18
  const buildInfo = path.join(packageRoot, "dist", "build-info.json");
20
- if (!base.endsWith("-dev") || !fs.existsSync(buildInfo))
19
+ if (!fs.existsSync(buildInfo))
21
20
  return base;
22
21
  const { commit } = JSON.parse(fs.readFileSync(buildInfo, "utf8"));
23
22
  return commit ? `${base}+${commit}` : base;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@igorlau/dotagents",
3
- "version": "1.0.22",
3
+ "version": "2.0.0",
4
4
  "description": "Install a curated set of agent skills and rules into Claude Code and GitHub Copilot.",
5
5
  "license": "MIT",
6
6
  "repository": {