Skip to content

fix: address #49 #50 #46 (embed race, LLM signature, Node 24 compat) - #54

Open
zhuanxqq wants to merge 1 commit into
adoresever:mainfrom
zhuanxqq:main
Open

fix: address #49 #50 #46 (embed race, LLM signature, Node 24 compat)#54
zhuanxqq wants to merge 1 commit into
adoresever:mainfrom
zhuanxqq:main

Conversation

@zhuanxqq

Copy link
Copy Markdown

This PR fixes several open issues:

Verification:

graph-memory@1.5.8 test
vitest run

RUN v1.6.1 /Users/hl/work/graph-memory

✓ test/extract.test.ts (22 tests) 6ms
✓ test/assemble.test.ts (11 tests) 12ms
✓ test/recall-community.test.ts (13 tests) 13ms
✓ test/store.test.ts (17 tests) 19ms
✓ test/graph.test.ts (17 tests) 15ms

Test Files 5 passed (5)
Tests 80 passed (80)
Start at 20:23:00
Duration 344ms (transform 279ms, setup 0ms, collect 464ms, tests 65ms, environment 0ms, prepare 317ms): 80/80 passed

graph-memory@1.5.8 build
tsc: generated successfully

…esever#46, adoresever#44-related)

- fix(llm): support LlmConfig object as first arg in createCompleteFn
  so direct-maintain.ts works without signature mismatch (adoresever#49)

- fix(recaller): add embedReady promise to eliminate race condition
  between createEmbedFn and recall(), ensuring embedFn is always
  awaited before vector search (adoresever#50)

- fix(build): migrate to NodeNext ESM + .js extensions for Node.js v24
  compatibility, output dist/ and point package main there (adoresever#46)

- chore(ports): searched codebase; no hardcoded 18787/18789 found,
  port mismatch lives outside this repo (adoresever#44)

Tests: 80 passed. Build: dist/ generated successfully.

@adoresever adoresever left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里包含可用的 embed race、LLM signature、Node 24 兼容修复,但同时混入了与本仓库运行模型不兼容的改动:入口改为未提交的 dist/index.js、排除全部测试编译、用本地 stub 替代真实 OpenClaw 类型,以及写死 ~/.hermes/环境文件的维护脚本。请基于最新 main rebase,并拆成独立 PR:保留每个问题的最小修复和回归测试,移除 Hermes 专用脚本、伪 SDK stub 与发布入口变更。这样可逐项合并。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants