@inline-chat/hermes-agent-adapter 0.0.16 → 0.0.17
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 +3 -2
- package/package.json +3 -3
- package/plugin/inline/cli.py +1 -1
- package/plugin/inline/plugin.yaml +1 -1
- package/plugin/inline/sidecar/index.mjs +787 -432
package/README.md
CHANGED
|
@@ -157,7 +157,7 @@ uv run ./hermes plugins list --plain --no-bundled
|
|
|
157
157
|
Expected local output includes:
|
|
158
158
|
|
|
159
159
|
```text
|
|
160
|
-
enabled user 0.0.
|
|
160
|
+
enabled user 0.0.17 inline-platform
|
|
161
161
|
```
|
|
162
162
|
|
|
163
163
|
## Update Or Reinstall
|
|
@@ -184,7 +184,8 @@ mismatch, rerun the same command after rebuilding or upgrading the package.
|
|
|
184
184
|
`v2026.8.31`).
|
|
185
185
|
- Node.js: `>=20` is required for the bundled sidecar. Hermes-managed Node 22,
|
|
186
186
|
system Node, or an explicit `INLINE_NODE_BIN` path all work.
|
|
187
|
-
-
|
|
187
|
+
- Inbound recovery retries without waiting for another message or reconnect. Independent chats are consumed concurrently; same-chat order and delivery acknowledgements are preserved. Sender provenance lookups start with a short timeout and expand up to the existing SDK ceiling after timeouts; deferred inputs stay recoverable. Stream replacement wakes pending backpressure writes.
|
|
188
|
+
- Inline transport: the sidecar uses `@inline-chat/realtime-sdk@0.0.18` and is
|
|
188
189
|
bundled into the npm package, so Hermes startup does not run `npm install`.
|
|
189
190
|
- Live sends require a valid Inline user or bot token in `INLINE_TOKEN`,
|
|
190
191
|
`INLINE_BOT_TOKEN`, `platforms.inline.token`, or `inline.token`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inline-chat/hermes-agent-adapter",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.17",
|
|
4
4
|
"description": "Hermes Agent platform adapter for Inline, with a native Python plugin and bundled Inline realtime sidecar.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
},
|
|
52
52
|
"scripts": {
|
|
53
53
|
"build": "mkdir -p plugin/inline/sidecar && bun build ./src/install.ts --outdir dist --entry-naming '[name].js' --target=node --format=esm --packages=bundle && bun build ./src/sidecar/index.ts --outdir plugin/inline/sidecar --entry-naming 'index.mjs' --target=node --format=esm --packages=bundle && tsc -p tsconfig.json --emitDeclarationOnly",
|
|
54
|
-
"lint": "bunx oxlint --ignore-path ../.oxlintignore scripts/release-stage.mjs src/install.ts src/sidecar/contract.ts src/sidecar/index.ts src/sidecar/telemetry.ts src/sidecar/telemetry.test.ts src/sidecar/user-directory.ts src/sidecar/user-directory.test.ts tests/adapter-python.test.ts tests/install.test.ts tests/package-artifact.test.ts tests/sidecar-contract.test.ts tests/sidecar-runtime.test.ts tests/telemetry-python.test.ts vitest.config.ts",
|
|
54
|
+
"lint": "bunx oxlint --ignore-path ../.oxlintignore scripts/release-stage.mjs src/install.ts src/sidecar/contract.ts src/sidecar/index.ts src/sidecar/telemetry.ts src/sidecar/telemetry.test.ts src/sidecar/user-directory.ts src/sidecar/user-directory.test.ts src/sidecar/inbound-delivery.ts src/sidecar/inbound-delivery.test.ts src/sidecar/inbound-stream.ts src/sidecar/inbound-stream.test.ts tests/inbound-flow.test.ts tests/adapter-python.test.ts tests/install.test.ts tests/package-artifact.test.ts tests/sidecar-contract.test.ts tests/sidecar-runtime.test.ts tests/telemetry-python.test.ts vitest.config.ts",
|
|
55
55
|
"pretest": "bun run build",
|
|
56
56
|
"prepack": "bun run build",
|
|
57
57
|
"prepublishOnly": "bun run check",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"check": "bun run typecheck && bun run lint && bun run test"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@inline-chat/realtime-sdk": "0.0.
|
|
65
|
+
"@inline-chat/realtime-sdk": "0.0.18",
|
|
66
66
|
"yaml": "2.9.0"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
package/plugin/inline/cli.py
CHANGED
|
@@ -27,7 +27,7 @@ _CLI_INSTALL_URL = "https://inline.chat/cli/install.sh"
|
|
|
27
27
|
_MAX_TOKEN_BYTES = 16 * 1024
|
|
28
28
|
_MAX_PROBE_RESPONSE_BYTES = 64 * 1024
|
|
29
29
|
_MACHINE_SETUP_PROTOCOL_VERSION = 1
|
|
30
|
-
_PROBE_USER_AGENT = "inline-hermes-agent-adapter/0.0.
|
|
30
|
+
_PROBE_USER_AGENT = "inline-hermes-agent-adapter/0.0.17"
|
|
31
31
|
_ENV_REFERENCE_RE = re.compile(r"^\$\{([A-Za-z_][A-Za-z0-9_]*)\}$")
|
|
32
32
|
|
|
33
33
|
|