mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-01 12:02:05 +00:00
Update the Photon platform plugin's Node.js sidecar from spectrum-ts 3.1.0 to 7.0.0, which splits the SDK into scoped `@spectrum-ts/*` packages with `spectrum-ts` as the umbrella re-export. - Bump exact pin in package.json/package-lock.json to 7.0.0 - Update mixed-attachments patch script to target the new `@spectrum-ts/imessage/dist/index.js` path and tab-indented output - Rewrite test fixture to match v7.x mapper shape (tab-indented, `const ... = async` declarations, single-line builder calls) and point at `@spectrum-ts/imessage/dist/index.js` - Update README upgrade guide to document the v5 package split and the postinstall patch validation step - Update comments in cli.py and index.mjs to reference v5/v7 changes
25 lines
686 B
JSON
25 lines
686 B
JSON
{
|
|
"name": "@hermes-agent/photon-sidecar",
|
|
"private": true,
|
|
"version": "0.4.0",
|
|
"description": "Spectrum-ts bridge for the Hermes Agent Photon platform plugin.",
|
|
"type": "module",
|
|
"main": "index.mjs",
|
|
"scripts": {
|
|
"start": "node index.mjs",
|
|
"postinstall": "node patch-spectrum-mixed-attachments.mjs"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.17"
|
|
},
|
|
"dependencies": {
|
|
"spectrum-ts": "7.0.0"
|
|
},
|
|
"overrides": {
|
|
"protobufjs": "8.6.1",
|
|
"@opentelemetry/otlp-transformer": "0.218.0",
|
|
"@opentelemetry/otlp-exporter-base": "0.218.0",
|
|
"@opentelemetry/exporter-trace-otlp-http": "0.218.0",
|
|
"@opentelemetry/exporter-logs-otlp-http": "0.218.0"
|
|
}
|
|
}
|