@duyquangnvx/create-agent-cli 0.9.0 → 0.9.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.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,12 @@ What changed in each release of `@duyquangnvx/agent-cli` (the Runtime) and `@duy
4
4
 
5
5
  ## Unreleased
6
6
 
7
+ ## v0.9.1 (2026-10-20)
8
+
9
+ ### Fixed
10
+
11
+ - A clean build of the Scaffolder, and of a scaffolded CLI, stamps its commit's time as `builtAt` instead of the time it was built, so rebuilding a commit gives the same bundle and a rerun of a release cut off after its publish can check what it published. A dirty build still stamps the time it was built. v0.9.0 of `@duyquangnvx/create-agent-cli` was published, but its release could not finish for this reason, so its skill never reached the Skill Hub.
12
+
7
13
  ## v0.9.0 (2026-10-20)
8
14
 
9
15
  ### Added
package/dist/bin.js CHANGED
@@ -9409,14 +9409,14 @@ async function runProcess(cli) {
9409
9409
  }
9410
9410
  //#endregion
9411
9411
  //#region package.json
9412
- var version$1 = "0.9.0";
9412
+ var version$1 = "0.9.1";
9413
9413
  var description = "Creates a new Agent CLI repository wired to @duyquangnvx/agent-cli.";
9414
9414
  //#endregion
9415
9415
  //#region src/build.ts
9416
9416
  const build = {
9417
- "sha": "ff9a1b4",
9417
+ "sha": "3014a0a",
9418
9418
  "dirty": false,
9419
- "builtAt": "2026-10-20T09:52:22.284Z"
9419
+ "builtAt": "2026-10-20T10:05:03.000Z"
9420
9420
  };
9421
9421
  //#endregion
9422
9422
  //#region src/steps.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duyquangnvx/create-agent-cli",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Creates a new Agent CLI repository wired to @duyquangnvx/agent-cli.",
5
5
  "type": "module",
6
6
  "engines": {
@@ -19,7 +19,7 @@
19
19
  "access": "public"
20
20
  },
21
21
  "devDependencies": {
22
- "@duyquangnvx/agent-cli": "0.9.0",
22
+ "@duyquangnvx/agent-cli": "0.9.1",
23
23
  "tsdown": "0.23.0",
24
24
  "zod": "4.6.7"
25
25
  },
@@ -14,10 +14,12 @@ function git(args: readonly string[]): string {
14
14
  }
15
15
  }
16
16
 
17
+ const dirty = git(["status", "--porcelain"]) !== "";
17
18
  const build = {
18
19
  sha: git(["rev-parse", "--short=7", "HEAD"]),
19
- dirty: git(["status", "--porcelain"]) !== "",
20
- builtAt: new Date().toISOString(),
20
+ dirty,
21
+ // A clean build stamps its commit's time, so a release that rebuilds a commit gets the same bundle.
22
+ builtAt: new Date(dirty ? Date.now() : git(["log", "-1", "--format=%cI", "HEAD"])).toISOString(),
21
23
  };
22
24
 
23
25
  export default defineConfig({