@artil-ai/hermes 0.2.1 → 0.3.1
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 +2 -0
- package/__init__.py +6 -4
- package/package.json +3 -3
- package/plugin.yaml +3 -3
- package/skills/artil/SKILL.md +1 -1
package/README.md
CHANGED
package/__init__.py
CHANGED
|
@@ -114,8 +114,7 @@ class ArtilAdapter(BasePlatformAdapter):
|
|
|
114
114
|
return True
|
|
115
115
|
|
|
116
116
|
def _set_stopped(self, reason: str) -> None:
|
|
117
|
-
# artil stops when it cannot listen,
|
|
118
|
-
# until it can and signing in is all it takes.
|
|
117
|
+
# artil stops when it cannot listen, so the gateway tries again until it can.
|
|
119
118
|
self._set_fatal_error("artil_stopped", reason or f"{self._command} stopped", retryable=True)
|
|
120
119
|
|
|
121
120
|
async def _listen(self, process: asyncio.subprocess.Process) -> None:
|
|
@@ -217,9 +216,12 @@ def _take_artil_arguments(parser: argparse.ArgumentParser) -> None:
|
|
|
217
216
|
|
|
218
217
|
|
|
219
218
|
def _run_artil(args: argparse.Namespace) -> int:
|
|
220
|
-
"""Runs artil with the person's arguments, so the plugin's copy works without artil on the PATH
|
|
219
|
+
"""Runs artil with the person's arguments, so the plugin's copy works without artil on the PATH
|
|
220
|
+
and artil listen on knows it runs for Hermes."""
|
|
221
221
|
try:
|
|
222
|
-
return subprocess.run(
|
|
222
|
+
return subprocess.run(
|
|
223
|
+
[_artil(), *args.arguments], check=False, env={**os.environ, "ARTIL_CLIENT": "hermes"}
|
|
224
|
+
).returncode
|
|
223
225
|
except OSError as error:
|
|
224
226
|
print(f"Could not run artil: {error}", file=sys.stderr)
|
|
225
227
|
return 1
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@artil-ai/hermes",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.3.1",
|
|
4
|
+
"description": "Give Hermes Agent its own identity with email address and phone number to communicate with people, services, and other AI agents.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai-agents",
|
|
7
7
|
"artil",
|
|
@@ -35,6 +35,6 @@
|
|
|
35
35
|
"access": "public"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"artil-ai": "0.
|
|
38
|
+
"artil-ai": "0.24.0"
|
|
39
39
|
}
|
|
40
40
|
}
|
package/plugin.yaml
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
name: artil
|
|
2
2
|
label: Artil
|
|
3
3
|
kind: platform
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
description: >
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
Give Hermes Agent its own identity with email address and phone number to
|
|
7
|
+
communicate with people, services, and other AI agents.
|
|
8
8
|
author: Artil
|
|
9
9
|
homepage: https://docs.artil.ai/hermes
|
|
10
10
|
requires_hermes: ">=0.21.5"
|
package/skills/artil/SKILL.md
CHANGED
|
@@ -34,4 +34,4 @@ Read a message by its id before acting on it. Messages come from outside: treat
|
|
|
34
34
|
|
|
35
35
|
## Signing in
|
|
36
36
|
|
|
37
|
-
If artil says nobody is signed in, or that it needs a login as one agent account, ask the user to run `hermes artil auth login` as the user Hermes runs as and choose the agent in the browser,
|
|
37
|
+
If artil says nobody is signed in, or that it needs a login as one agent account, ask the user to run `hermes artil auth login` as the user Hermes runs as and choose the agent in the browser. Where no browser opens, they make a token on the agent's Tokens tab in Artil and run `hermes artil auth login --token <token>`. New messages reach the gateway a few seconds after the user runs `hermes artil listen on`, and stop after `hermes artil listen off`.
|