fix: address review feedback — pin dependency and add sessionCodec

- Pin @nousresearch/paperclip-adapter-hermes to v0.1.0 tag for
  reproducible builds and supply-chain safety
- Import and wire hermesSessionCodec into the adapter registration
  for structured session parameter validation (matching claude_local,
  codex_local, and other adapters that support session persistence)
This commit is contained in:
teknium1
2026-03-12 17:03:49 -07:00
parent 97d628d784
commit 4e354ad00d
2 changed files with 3 additions and 1 deletions

View File

@@ -40,7 +40,7 @@
"@paperclipai/adapter-opencode-local": "workspace:*",
"@paperclipai/adapter-pi-local": "workspace:*",
"@paperclipai/adapter-openclaw-gateway": "workspace:*",
"@nousresearch/paperclip-adapter-hermes": "github:NousResearch/hermes-paperclip-adapter",
"@nousresearch/paperclip-adapter-hermes": "github:NousResearch/hermes-paperclip-adapter#v0.1.0",
"@paperclipai/adapter-utils": "workspace:*",
"@paperclipai/db": "workspace:*",
"@paperclipai/shared": "workspace:*",

View File

@@ -48,6 +48,7 @@ import {
import {
execute as hermesExecute,
testEnvironment as hermesTestEnvironment,
sessionCodec as hermesSessionCodec,
} from "@nousresearch/paperclip-adapter-hermes/server";
import {
agentConfigurationDoc as hermesAgentConfigurationDoc,
@@ -123,6 +124,7 @@ const hermesLocalAdapter: ServerAdapterModule = {
type: "hermes_local",
execute: hermesExecute,
testEnvironment: hermesTestEnvironment,
sessionCodec: hermesSessionCodec,
models: hermesModels,
supportsLocalAgentJwt: false,
agentConfigurationDoc: hermesAgentConfigurationDoc,