@inline-chat/hermes-agent-adapter 0.0.22-alpha.0 → 0.0.22
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
CHANGED
|
@@ -51,15 +51,17 @@ Unsupported or intentionally limited:
|
|
|
51
51
|
- Live voice sessions or calls. Voice file messages are supported, but realtime audio is not.
|
|
52
52
|
- Media without a usable Inline CDN/local URL. Those messages still produce text summaries, but Hermes may not receive a local file path.
|
|
53
53
|
|
|
54
|
-
##
|
|
54
|
+
## Release 0.0.22
|
|
55
55
|
|
|
56
|
-
This
|
|
56
|
+
This release includes typed service-notice filtering before agent admission,
|
|
57
57
|
current shared-session setup guidance, and the pinned realtime SDK `0.0.18`.
|
|
58
|
+
Private thread creation with omitted participants includes the connected account.
|
|
59
|
+
Clarification choices use two-column rows within Inline's button limit.
|
|
58
60
|
Hermes keeps its supported agent activity surface; unsupported experimental tool
|
|
59
61
|
timelines remain disabled.
|
|
60
62
|
|
|
61
63
|
```sh
|
|
62
|
-
npm install -g @inline-chat/hermes-agent-adapter@0.0.22
|
|
64
|
+
npm install -g @inline-chat/hermes-agent-adapter@0.0.22
|
|
63
65
|
inline-hermes install --force
|
|
64
66
|
```
|
|
65
67
|
|
|
@@ -168,7 +170,7 @@ uv run ./hermes plugins list --plain --no-bundled
|
|
|
168
170
|
Expected local output includes:
|
|
169
171
|
|
|
170
172
|
```text
|
|
171
|
-
enabled user 0.0.
|
|
173
|
+
enabled user 0.0.22 inline-platform
|
|
172
174
|
```
|
|
173
175
|
|
|
174
176
|
## Update Or Reinstall
|
|
@@ -431,7 +433,9 @@ chat, while `create_chat` creates a new top-level destination. `create_chat`
|
|
|
431
433
|
requires a title, defaults to private, accepts optional participant user IDs or
|
|
432
434
|
a parent space ID, and requires both `space_id` and explicit `is_public: true`
|
|
433
435
|
for space-wide visibility. It returns the new chat ID so Hermes can link it in
|
|
434
|
-
the normal reply.
|
|
436
|
+
the normal reply. Omitted or empty private participants create a conversation
|
|
437
|
+
accessible only to the connected account. Include intended human participants
|
|
438
|
+
explicitly; owning the bot does not grant membership in its private conversations.
|
|
435
439
|
|
|
436
440
|
The plugin id is `inline`, which is intentionally the same id an eventual
|
|
437
441
|
bundled Hermes adapter should use.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inline-chat/hermes-agent-adapter",
|
|
3
|
-
"version": "0.0.22
|
|
3
|
+
"version": "0.0.22",
|
|
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",
|
package/plugin/inline/adapter.py
CHANGED
|
@@ -5024,7 +5024,7 @@ class InlineAdapter(BasePlatformAdapter):
|
|
|
5024
5024
|
"target": self._target_for(chat_id, metadata),
|
|
5025
5025
|
"text": "\n".join(lines),
|
|
5026
5026
|
"parseMarkdown": self._parse_markdown,
|
|
5027
|
-
"actions": {"rows":
|
|
5027
|
+
"actions": {"rows": self._action_rows(actions)},
|
|
5028
5028
|
})
|
|
5029
5029
|
|
|
5030
5030
|
async def send_exec_approval(
|
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.22
|
|
30
|
+
_PROBE_USER_AGENT = "inline-hermes-agent-adapter/0.0.22"
|
|
31
31
|
_ENV_REFERENCE_RE = re.compile(r"^\$\{([A-Za-z_][A-Za-z0-9_]*)\}$")
|
|
32
32
|
|
|
33
33
|
|
|
@@ -47565,6 +47565,9 @@ async function endpointCreateChat(res, body) {
|
|
|
47565
47565
|
if (isPublic && participantUserIds.length > 0) {
|
|
47566
47566
|
throw new SidecarError("public create-chat cannot include participantUserIds", "bad_format");
|
|
47567
47567
|
}
|
|
47568
|
+
if (!isPublic && participantUserIds.length === 0) {
|
|
47569
|
+
participantUserIds.push(readRequiredInlineId({ meId }, "meId"));
|
|
47570
|
+
}
|
|
47568
47571
|
const result = await client.invokeUncheckedRaw(Method.CREATE_CHAT, {
|
|
47569
47572
|
oneofKind: "createChat",
|
|
47570
47573
|
createChat: {
|
package/plugin/inline/tools.py
CHANGED
|
@@ -226,7 +226,7 @@ INLINE_TOOL_SCHEMA = {
|
|
|
226
226
|
"type": "array",
|
|
227
227
|
"items": {"type": "string"},
|
|
228
228
|
"maxItems": 50,
|
|
229
|
-
"description": "User IDs for a private create_chat destination. Omit for a
|
|
229
|
+
"description": "User IDs for a private create_chat destination. Omit or pass [] for a connected-account-only thread. Include intended human participants explicitly; bot ownership does not grant access.",
|
|
230
230
|
},
|
|
231
231
|
"is_public": {
|
|
232
232
|
"type": "boolean",
|