Skip to content

refactor: unify host-native memory agents and npm package - #45

Merged
dongjiang1989 merged 7 commits into
mainfrom
fix/host-native-model-ports
Jul 28, 2026
Merged

refactor: unify host-native memory agents and npm package#45
dongjiang1989 merged 7 commits into
mainfrom
fix/host-native-model-ports

Conversation

@OLDyade

@OLDyade OLDyade commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • unify Extraction, Dream, and Skill Evolution on Pi Agent Core with host-native model and credential reuse across Pi, Hermes, OpenCode, and OpenClaw
  • consolidate the former adapters and Hermes distributions into the single public @iflytekopensource/memflywheel package
  • keep OpenCode final text responsive by submitting memory work from session.idle, and fix Hermes guard installation for current CLI permission semantics
  • update Quick Start, release workflows, Kind E2E images, examples, and package metadata for the single-package contract

Validation

  • pnpm run ci
  • npm latest dry-run
  • npm next dry-run
  • GitHub Packages dry-run with scope rewrite
  • clean tarball install/import and content scan
  • real local Pi, Hermes, OpenCode, and OpenClaw write + fresh-session recall
  • real OpenClaw Dream and Skill Evolution threshold runs

Release

  • version: 0.1.1
  • tag only after review and merge; this PR does not publish

OLDyade added 2 commits July 28, 2026 16:03
Signed-off-by: MemScribe Maintainers <OLDyade@users.noreply.github.com>
Signed-off-by: MemScribe Maintainers <OLDyade@users.noreply.github.com>
try:
relative = root.relative_to(home).as_posix()
references.update({f"~/{relative}", f"$HOME/{relative}", f"${{HOME}}/{relative}"})
except ValueError:
OLDyade added 2 commits July 28, 2026 16:40
Signed-off-by: MemScribe Maintainers <OLDyade@users.noreply.github.com>
Signed-off-by: MemScribe Maintainers <OLDyade@users.noreply.github.com>

@dongjiang1989 dongjiang1989 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Need merge main branch

Comment thread CHANGELOG.md

### Added

- Kubernetes-level E2E CI workflow using kind and agent-sandbox CRDs. Deploys

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@OLDyade Miss this chang docs

@OLDyade OLDyade Jul 28, 2026

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Restored the missing changelog entries with the current scope: the kind + agent-sandbox E2E covers Pi, Hermes, and OpenClaw, and the docs cover the 200-line direct-index limit and optional embedding setup. Commit: 29f2d37. The branch is already based on the latest main. Please re-review.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please double-check. At minimum, there is missing information in changelog.md. @OLDyade

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Double-checked and fixed. I merged the latest main (including the DeepWiki badges) and restored the full changelog details: separate namespaces, custom images, full lifecycle validation, and offline/no-key execution. I only updated the host scope to include OpenClaw and the package wording to match the unified package. Commits: 0c05657, 5f6fc94. Please re-review.

Signed-off-by: MemScribe Maintainers <OLDyade@users.noreply.github.com>
Comment thread scripts/publish-npm.mjs
const SCOPE_FROM = "@iflytekopensource/";
const SCOPE_TO = "@iflytek/";
const TARGET_PACKAGES = ["@iflytekopensource/adapters", "@iflytekopensource/hermes"];
const TARGET_PACKAGES = ["@iflytekopensource/memflywheel"];

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is dry-run pass?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Yes — I ran the npm latest, npm next, and GitHub Packages dry-runs. All three passed, and nothing was published.

@OLDyade
OLDyade requested a review from dongjiang1989 July 28, 2026 09:20
OLDyade added 2 commits July 28, 2026 17:29
…el-ports

Signed-off-by: MemScribe Maintainers <OLDyade@users.noreply.github.com>
Signed-off-by: MemScribe Maintainers <OLDyade@users.noreply.github.com>

@FenjuFu FenjuFu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Reviewed the latest head (5f6fc94) after merging main. The previous merge-main blocker is resolved, and I found no new blocking issues in the package consolidation, host-native model bindings, extraction/locking changes, or associated tests and release updates. Approving, contingent on all required CI checks completing successfully.

@dongjiang1989 dongjiang1989 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks

@dongjiang1989
dongjiang1989 merged commit 470d1fb into main Jul 28, 2026
10 checks passed
@dongjiang1989
dongjiang1989 deleted the fix/host-native-model-ports branch July 28, 2026 10:20
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.

3 participants