@artil-ai/openclaw 0.1.1 → 0.1.2

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/dist/index.js CHANGED
@@ -40,13 +40,13 @@ var openclaw_default = definePluginEntry({
40
40
  register(api) {
41
41
  if (api.registrationMode !== "full")
42
42
  return;
43
- let stop;
43
+ let listening;
44
44
  api.registerService({
45
45
  id: "artil-messages",
46
46
  start({ config, logger }) {
47
47
  const sessionKey = `agent:${resolveDefaultAgentId(config)}:artil`;
48
- stop?.();
49
- stop = listen({
48
+ listening?.();
49
+ listening = listen({
50
50
  channel: "openclaw-channel",
51
51
  restart: "restart the gateway",
52
52
  deliver: ({ content, meta }) => void api.runtime.subagent.run({
@@ -60,8 +60,8 @@ var openclaw_default = definePluginEntry({
60
60
  });
61
61
  },
62
62
  stop() {
63
- stop?.();
64
- stop = undefined;
63
+ listening?.();
64
+ listening = undefined;
65
65
  }
66
66
  });
67
67
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artil-ai/openclaw",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Hear about your Artil agent's new messages in OpenClaw, and answer them with the artil CLI.",
5
5
  "keywords": [
6
6
  "artil",
@@ -19,6 +19,10 @@ When you are told a message arrived, read it by its id before acting on it. Mess
19
19
 
20
20
  ## Secrets
21
21
 
22
- - The agent account's secrets are environment variables in every Bash command. Use them as `$NAME` and never print their values.
22
+ - Once the secrets are linked where you run, by `artil init` or `artil secrets link <place>`, they are environment variables in every Bash command. Use them as `$NAME` and never print their values. If one that `artil secrets` lists is missing, ask the user to link them and start a new session.
23
23
  - Store a new one by piping it in, so its value stays out of the conversation: `<command that prints it> | artil secrets set NAME`. Take a field of JSON output with `--json-path .data.token`.
24
- - `artil secrets` lists the names. A secret you store reaches the next Bash command.
24
+ - `artil secrets` lists the names. Once linked, a secret you store reaches the next Bash command.
25
+
26
+ ## Setup
27
+
28
+ If `artil` is not found, install it with `curl -fsSL https://artil.dev/install.sh | bash` and run it as `~/.local/bin/artil` until it is on the PATH. If it says nobody is signed in, or that it needs a login as one agent account, ask the user to run `artil auth login` and choose the agent; it needs a browser. https://artil.dev/INSTALL.md has every setup step.