@npie/cli 0.1.0-npie.1 → 0.1.0-npie.2

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/bin/t3.mjs +2 -0
  2. package/package.json +1 -1
package/bin/t3.mjs CHANGED
@@ -88,6 +88,8 @@ async function bootstrap(sourceDir) {
88
88
  );
89
89
  }
90
90
 
91
+ // mkdtemp needs its parent to exist; on a first run ~/.npie/source does not.
92
+ fs.mkdirSync(path.dirname(sourceDir), { recursive: true });
91
93
  const staging = fs.mkdtempSync(`${sourceDir}.staging-`);
92
94
  process.stderr.write(`npie: fetching Npie v${version}…\n`);
93
95
  const tarball = path.join(staging, "source.tar.gz");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npie/cli",
3
- "version": "0.1.0-npie.1",
3
+ "version": "0.1.0-npie.2",
4
4
  "description": "Npie CLI. Bootstraps an Npie checkout and runs it. 嗯哌 —— 开源的 AI 编程智能体控制台。",
5
5
  "license": "MIT",
6
6
  "repository": {