larkcc 0.10.0 → 0.10.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
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.10.1] - 2026-04-18
11
+
12
+ ### Fixed
13
+
14
+ - Windows ESM import error (`ERR_UNSUPPORTED_ESM_URL_SCHEME`): use `pathToFileURL` to convert paths to `file://` URLs (#2)
15
+
10
16
  ## [0.10.0] - 2026-04-18
11
17
 
12
18
  ### Added
package/bin/larkcc CHANGED
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
- import { fileURLToPath } from 'url';
2
+ import { fileURLToPath, pathToFileURL } from 'url';
3
3
  import { dirname, resolve } from 'path';
4
4
 
5
5
  const __filename = fileURLToPath(import.meta.url);
6
6
  const __dirname = dirname(__filename);
7
7
  const entry = resolve(__dirname, '../dist/index.js');
8
8
 
9
- await import(entry);
9
+ await import(pathToFileURL(entry).href);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const VERSION = "0.10.0";
1
+ export declare const VERSION = "0.10.1";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  // 自动生成,请勿手动修改
2
2
  // 由 scripts/generate-version.js 从 package.json 生成
3
- export const VERSION = "0.10.0";
3
+ export const VERSION = "0.10.1";
4
4
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "larkcc",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "Claude Code in Feishu/Lark - AI coding assistant bot",
5
5
  "author": "sujie <13156660820@163.com>",
6
6
  "license": "MIT",