oh-langfuse 0.1.40 → 0.1.41

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/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  `oh-langfuse` 是用于给 Claude Code、OpenCode 和 Codex 配置 Langfuse 追踪的命令行工具。它提供交互式安装向导,也支持 `setup` / `check` 直接命令,方便在用户机器上安装、修复和校验配置。
4
4
 
5
- 当前 npm 版本:`0.1.40`
5
+ 当前 npm 版本:`0.1.41`
6
6
 
7
7
  ## 能做什么
8
8
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oh-langfuse",
3
- "version": "0.1.40",
3
+ "version": "0.1.41",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Use npm scripts to configure Claude Code / OpenCode / Codex with Langfuse tracing.",
@@ -378,7 +378,7 @@ function getPatchedLangfuseDistIndexJs() {
378
378
  "",
379
379
  " const userIdFromConfig = await readConfiguredUserId();",
380
380
  " const userIdEnv = process.env.LANGFUSE_USER_ID?.trim();",
381
- " const userId = userIdFromConfig || userIdEnv;",
381
+ " const userId = userIdEnv || userIdFromConfig;",
382
382
  "",
383
383
  " const log = (level, message) => {",
384
384
  " if ((level === 'warn' || level === 'error') && !showNoisyLogs) return;",