larkcc 0.1.5 → 0.1.6

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
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.1.6] - 2025-03-24
9
+
10
+ ### Fixed
11
+
12
+ - bin wrapper path resolution issue on macOS/nvm (switch to Node.js wrapper with `import.meta.url`)
13
+
8
14
  ## [0.1.5] - 2025-03-24
9
15
 
10
16
  ### Fixed
package/bin/larkcc CHANGED
@@ -1,5 +1,9 @@
1
- #!/bin/sh
2
- # larkcc - Claude Code in Feishu
3
- # https://github.com/suj1e/larkcc
1
+ #!/usr/bin/env node
2
+ import { fileURLToPath } from 'url';
3
+ import { dirname, resolve } from 'path';
4
4
 
5
- exec node "$(dirname "$0")/../dist/index.js" "$@"
5
+ const __filename = fileURLToPath(import.meta.url);
6
+ const __dirname = dirname(__filename);
7
+ const entry = resolve(__dirname, '../dist/index.js');
8
+
9
+ await import(entry);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const VERSION = "0.1.5";
1
+ export declare const VERSION = "0.1.6";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  // 自动生成,请勿手动修改
2
2
  // 由 scripts/generate-version.js 从 package.json 生成
3
- export const VERSION = "0.1.5";
3
+ export const VERSION = "0.1.6";
4
4
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "larkcc",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Claude Code in Feishu/Lark - AI coding assistant bot",
5
5
  "author": "sujie <13156660820@163.com>",
6
6
  "license": "MIT",