grix-connector 3.1.13 → 3.1.14

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.
Files changed (73) hide show
  1. package/README.md +241 -241
  2. package/dist/default-skills/grix-access-control/SKILL.md +31 -31
  3. package/dist/default-skills/grix-admin/SKILL.md +35 -35
  4. package/dist/default-skills/grix-agent-dispatch/SKILL.md +89 -89
  5. package/dist/default-skills/grix-chat-state/SKILL.md +56 -56
  6. package/dist/default-skills/grix-egg/SKILL.md +90 -90
  7. package/dist/default-skills/grix-group/SKILL.md +35 -35
  8. package/dist/default-skills/grix-owner-relay/SKILL.md +66 -66
  9. package/dist/default-skills/grix-query/SKILL.md +38 -38
  10. package/dist/default-skills/message-send/SKILL.md +36 -36
  11. package/dist/default-skills/message-unsend/SKILL.md +27 -27
  12. package/dist/default-skills/tailnet-file-share/SKILL.md +65 -65
  13. package/dist/grix.js +0 -0
  14. package/dist/service/platform-adapter.js +59 -16
  15. package/openclaw-plugin/skills/grix-admin/SKILL.md +202 -202
  16. package/openclaw-plugin/skills/grix-admin/references/api-contract.md +210 -210
  17. package/openclaw-plugin/skills/grix-egg/SKILL.md +81 -81
  18. package/openclaw-plugin/skills/grix-egg/references/api-contract.md +40 -40
  19. package/openclaw-plugin/skills/grix-group/SKILL.md +164 -164
  20. package/openclaw-plugin/skills/grix-group/references/api-contract.md +97 -97
  21. package/openclaw-plugin/skills/grix-query/SKILL.md +247 -247
  22. package/openclaw-plugin/skills/grix-register/SKILL.md +86 -86
  23. package/openclaw-plugin/skills/grix-register/references/api-contract.md +76 -76
  24. package/openclaw-plugin/skills/grix-register/references/grix-concepts.md +26 -26
  25. package/openclaw-plugin/skills/grix-register/references/handoff-contract.md +24 -24
  26. package/openclaw-plugin/skills/grix-register/references/openclaw-setup.md +6 -6
  27. package/openclaw-plugin/skills/grix-register/references/user-replies.md +25 -25
  28. package/openclaw-plugin/skills/grix-update/SKILL.md +310 -310
  29. package/openclaw-plugin/skills/grix-update/references/cron-setup.md +56 -56
  30. package/openclaw-plugin/skills/grix-update/references/update-contract.md +149 -149
  31. package/openclaw-plugin/skills/message-send/SKILL.md +197 -197
  32. package/openclaw-plugin/skills/message-unsend/SKILL.md +186 -186
  33. package/openclaw-plugin/skills/message-unsend/flowchart.mermaid +27 -27
  34. package/openclaw-plugin/skills/openclaw-memory-setup/SKILL.md +282 -282
  35. package/openclaw-plugin/skills/openclaw-memory-setup/references/case-study-macpro.md +52 -52
  36. package/openclaw-plugin/skills/openclaw-memory-setup/references/host-readiness.md +147 -147
  37. package/openclaw.plugin.json +24 -24
  38. package/package.json +121 -121
  39. package/scripts/install-guardian.mjs +27 -27
  40. package/scripts/install-guardian.sh +25 -25
  41. package/scripts/upgrade-guardian.sh +104 -104
  42. package/dist/adapter/claude/claude-bridge-server.js +0 -1
  43. package/dist/adapter/claude/claude-tools.js +0 -1
  44. package/dist/adapter/claude/claude-worker-client.js +0 -1
  45. package/dist/adapter/claude/mcp-http-launcher.js +0 -2
  46. package/dist/adapter/claude/result-timeout.js +0 -1
  47. package/dist/adapter/deepseek/deepseek-adapter.js +0 -6
  48. package/dist/adapter/deepseek/index.js +0 -1
  49. package/dist/adapter/qwen/index.js +0 -1
  50. package/dist/adapter/qwen/qwen-adapter.js +0 -4
  51. package/dist/aibot/client.js +0 -1
  52. package/dist/aibot/index.js +0 -1
  53. package/dist/aibot/types.js +0 -0
  54. package/dist/core/file-ops/handler.js +0 -1
  55. package/dist/core/file-ops/list-files.js +0 -1
  56. package/dist/core/file-ops/types.js +0 -0
  57. package/dist/default-skills/grix-task-status/SKILL.md +0 -36
  58. package/dist/log.js +0 -3
  59. package/dist/main.js +0 -31
  60. package/dist/mcp/stream-http/config.js +0 -1
  61. package/dist/mcp/stream-http/connection-binding.js +0 -1
  62. package/dist/mcp/stream-http/event-tool-executor.js +0 -1
  63. package/dist/mcp/stream-http/gateway.js +0 -1
  64. package/dist/mcp/stream-http/index.js +0 -1
  65. package/dist/mcp/stream-http/security.js +0 -1
  66. package/dist/mcp/stream-http/session-manager.js +0 -1
  67. package/dist/mcp/stream-http/tool-executor.js +0 -1
  68. package/dist/mcp/stream-http/tool-registry.js +0 -1
  69. package/dist/mcp/stream-http/tool-schemas.js +0 -1
  70. package/dist/session/index.js +0 -1
  71. package/dist/session/manager.js +0 -1
  72. package/dist/transport/index.js +0 -1
  73. package/dist/transport/json-rpc.js +0 -3
@@ -1,52 +1,52 @@
1
- # MacPro Case Study
2
-
3
- Date of run: April 5, 2026
4
-
5
- This page is one measured example on an older machine. Do not treat it as the default plan for all hosts.
6
-
7
- Environment:
8
-
9
- - old MacPro-class machine reached over SSH
10
- - Ollama used for OpenClaw memory embeddings
11
- - OpenClaw profiles stored under a shared profile directory on the host
12
-
13
- ## Model Results
14
-
15
- | Model | Approx size | Single embed | Batch-of-4 embed | Main rebuild | Result |
16
- | --- | --- | ---: | ---: | ---: | --- |
17
- | `embeddinggemma:300m-qat-q8_0` | 338 MB | 3.11 s | 8.54 s | 59 s | Best overall choice on this machine |
18
- | `qwen3-embedding:0.6b` | 639 MB | 16.53 s | 61.86 s | 421 s | Works, but much slower |
19
- | `nomic-embed-text:latest` | 274 MB | 19.48 s | 76.69 s | not run end-to-end | Viable fallback, slower than `embeddinggemma` here |
20
- | `qwen3-embedding:latest` | 4.7 GB | over 4 min for one request in testing | not practical | rebuild timed out in practice | Not suitable for this old machine |
21
-
22
- ## Operational Lessons
23
-
24
- - Pick the model by measured speed on the target machine, not by size or reputation.
25
- - `embeddinggemma:300m-qat-q8_0` was the clear winner on this MacPro.
26
- - Upgrade `grix` first if that work is part of the same maintenance window, then rebuild memory once.
27
- - Reindex jobs can look slow but still be healthy. Large session logs were the main reason:
28
- - one `xiaoli` session file was about 320 KB
29
- - one `gema` session file was about 721 KB
30
- - Empty agents can legitimately show `0/0 files` or `no memory files found`.
31
- - Real failures were configuration errors, services not running, or indexed counts lower than the actual memory and session file counts.
32
-
33
- ## Final Deployed State
34
-
35
- These standalone profiles were moved to `embeddinggemma:300m-qat-q8_0` and verified healthy:
36
-
37
- - `main`
38
- - `lwq`
39
- - `lsx`
40
- - `zmy`
41
- - `jy`
42
- - `zx`
43
- - `ly`
44
- - `jk`
45
- - `zpf`
46
-
47
- `main` subagents with real memory content were also rebuilt successfully:
48
-
49
- - `main`
50
- - `xiaoli`
51
- - `gema`
52
- - `carousel-growth-engine`
1
+ # MacPro Case Study
2
+
3
+ Date of run: April 5, 2026
4
+
5
+ This page is one measured example on an older machine. Do not treat it as the default plan for all hosts.
6
+
7
+ Environment:
8
+
9
+ - old MacPro-class machine reached over SSH
10
+ - Ollama used for OpenClaw memory embeddings
11
+ - OpenClaw profiles stored under a shared profile directory on the host
12
+
13
+ ## Model Results
14
+
15
+ | Model | Approx size | Single embed | Batch-of-4 embed | Main rebuild | Result |
16
+ | --- | --- | ---: | ---: | ---: | --- |
17
+ | `embeddinggemma:300m-qat-q8_0` | 338 MB | 3.11 s | 8.54 s | 59 s | Best overall choice on this machine |
18
+ | `qwen3-embedding:0.6b` | 639 MB | 16.53 s | 61.86 s | 421 s | Works, but much slower |
19
+ | `nomic-embed-text:latest` | 274 MB | 19.48 s | 76.69 s | not run end-to-end | Viable fallback, slower than `embeddinggemma` here |
20
+ | `qwen3-embedding:latest` | 4.7 GB | over 4 min for one request in testing | not practical | rebuild timed out in practice | Not suitable for this old machine |
21
+
22
+ ## Operational Lessons
23
+
24
+ - Pick the model by measured speed on the target machine, not by size or reputation.
25
+ - `embeddinggemma:300m-qat-q8_0` was the clear winner on this MacPro.
26
+ - Upgrade `grix` first if that work is part of the same maintenance window, then rebuild memory once.
27
+ - Reindex jobs can look slow but still be healthy. Large session logs were the main reason:
28
+ - one `xiaoli` session file was about 320 KB
29
+ - one `gema` session file was about 721 KB
30
+ - Empty agents can legitimately show `0/0 files` or `no memory files found`.
31
+ - Real failures were configuration errors, services not running, or indexed counts lower than the actual memory and session file counts.
32
+
33
+ ## Final Deployed State
34
+
35
+ These standalone profiles were moved to `embeddinggemma:300m-qat-q8_0` and verified healthy:
36
+
37
+ - `main`
38
+ - `lwq`
39
+ - `lsx`
40
+ - `zmy`
41
+ - `jy`
42
+ - `zx`
43
+ - `ly`
44
+ - `jk`
45
+ - `zpf`
46
+
47
+ `main` subagents with real memory content were also rebuilt successfully:
48
+
49
+ - `main`
50
+ - `xiaoli`
51
+ - `gema`
52
+ - `carousel-growth-engine`
@@ -1,147 +1,147 @@
1
- # Host Readiness
2
-
3
- Use this page when the target machine is not already prepared.
4
-
5
- ## Official Current Install Path
6
-
7
- As of April 8, 2026:
8
-
9
- - Ollama is available on macOS, Windows, and Linux.
10
- - The Ollama quickstart exposes `ollama launch openclaw` as the official way to start OpenClaw from Ollama.
11
- - The OpenClaw integration page says Ollama will prompt to install OpenClaw via npm if OpenClaw is missing.
12
- - The current Ollama tutorial for OpenClaw says you need:
13
- - Ollama 0.17 or later
14
- - Node.js
15
- - Mac or Linux for the smoothest direct setup
16
- - Windows users can use WSL for the OpenClaw setup path
17
- - The current OpenClaw Windows docs say native Windows and WSL2 are both supported; WSL2 is the more stable and recommended path for the full experience.
18
-
19
- ## OS Split
20
-
21
- - macOS:
22
- - install and run Ollama natively
23
- - install and run OpenClaw natively
24
- - Linux:
25
- - install and run Ollama natively
26
- - install and run OpenClaw natively
27
- - Windows:
28
- - native Ollama installation is fine
29
- - native OpenClaw CLI/Gateway flows can work
30
- - WSL2 is still the recommended path for the full CLI, Gateway, and tooling experience
31
- - do not write the skill as if WSL were mandatory for every Windows task, but also do not present native Windows as the preferred path for shell-heavy automation and repo work
32
-
33
- ## Readiness Checklist
34
-
35
- - Confirm the OS and architecture.
36
- - Confirm whether you are in native macOS, native Linux, WSL, or native Windows.
37
- - Confirm enough RAM or unified memory for the candidate models you plan to test.
38
- - Confirm `ollama` is installed.
39
- - Confirm `node` and `npm` exist before expecting OpenClaw installation through Ollama to succeed.
40
- - Confirm the local Ollama API responds on `http://127.0.0.1:11434`.
41
- - Confirm whether OpenClaw itself and a usable management entrypoint already exist.
42
-
43
- ## When To Skip The Survey
44
-
45
- Skip the full readiness survey when the user already gives enough information to do a direct config change safely, for example:
46
-
47
- - exact target profile names or config paths
48
- - exact memory model to use
49
- - confirmation that Ollama and OpenClaw are already installed
50
- - a request that is only about switching memory configuration, not installing the stack
51
-
52
- In that case, go straight to config update, validation, restart, and rebuild.
53
-
54
- ## Official Commands
55
-
56
- ### Install or verify Ollama
57
-
58
- Linux:
59
-
60
- ```bash
61
- curl -fsSL https://ollama.com/install.sh | sh
62
- ```
63
-
64
- macOS:
65
-
66
- - use the official app download, or
67
- - use the same official install script if that matches the environment policy
68
-
69
- Windows:
70
-
71
- - install Ollama from the official Windows download
72
- - if the goal is a fresh full OpenClaw rollout, prefer WSL2 for the setup flow
73
- - when documenting commands in the skill, prefer the path that matches the current machine: WSL shell commands for WSL setups, native CLI commands only when the host already uses a supported native Windows flow
74
-
75
- ### Install or configure OpenClaw through Ollama
76
-
77
- Interactive:
78
-
79
- ```bash
80
- ollama launch openclaw
81
- ```
82
-
83
- Configure only:
84
-
85
- ```bash
86
- ollama launch openclaw --config
87
- ```
88
-
89
- Headless:
90
-
91
- ```bash
92
- ollama launch openclaw --model kimi-k2.5:cloud --yes
93
- ```
94
-
95
- Notes:
96
-
97
- - `--yes` requires `--model`
98
- - if OpenClaw is missing, Ollama prompts to install it via npm
99
- - if the gateway is already running, changing the model through `ollama launch openclaw --config` restarts it automatically
100
-
101
- ## Management Entry Point
102
-
103
- Do not assume one machine-specific wrapper across all machines.
104
-
105
- - The generic, documented CLI is `openclaw`.
106
- - Some machines may also expose a local wrapper.
107
- - A reusable skill should prefer the documented `openclaw` CLI in its examples, then adapt only if the current machine exposes a different wrapper.
108
-
109
- ## Direct Provider Configs
110
-
111
- If the user already knows the remote memory provider settings, do not force a local Ollama path first.
112
-
113
- - You may go straight to updating `agents.defaults.memorySearch`.
114
- - `provider` and `model` are the minimum fields.
115
- - Provider-specific fields such as API base, headers, or key references should be written at the same time instead of leaving the config half-finished.
116
- - If you are switching providers, replace the old provider-specific settings instead of leaving stale fields behind.
117
- - Only benchmark local Ollama models when the user wants a local memory provider or asks for a speed comparison.
118
-
119
- ## Choosing Memory Embedding Candidates
120
-
121
- This is a heuristic for the first pass only. The final choice must come from a benchmark on the target machine.
122
-
123
- - If the user has nothing yet and wants to save money:
124
- - prefer local Ollama deployment
125
- - prefer smaller local embedding models first
126
- - keep cloud suggestions optional, not default
127
- - very constrained hosts:
128
- - start with `nomic-embed-text:latest`
129
- - add `embeddinggemma:300m-qat-q8_0` if the machine is still responsive
130
- - older or mid-range hosts:
131
- - start with `embeddinggemma:300m-qat-q8_0`
132
- - compare with `nomic-embed-text:latest`
133
- - add `qwen3-embedding:0.6b` only if you can afford a slower rebuild
134
- - stronger machines:
135
- - still benchmark the smaller models first
136
- - only add larger models when there is a clear quality reason
137
-
138
- ## When To Stop And Re-Scope
139
-
140
- - If `ollama` will not install cleanly through the official method, stop and resolve that first.
141
- - If `node` or `npm` is missing and the machine needs OpenClaw installation, install Node.js before retrying OpenClaw setup.
142
- - If local embedding models are too slow, keep the smaller local memory model and move only the main assistant model to cloud if needed.
143
- - If the machine is Windows without WSL, do not invent a Linux-only path. If the requested work already fits supported native Windows CLI/Gateway flows, continue there; otherwise set up WSL2 or use a Mac/Linux host.
144
-
145
- ## Optional Example
146
-
147
- See [case-study-macpro.md](case-study-macpro.md) for one measured old-machine rollout. Treat it as an example, not a universal baseline.
1
+ # Host Readiness
2
+
3
+ Use this page when the target machine is not already prepared.
4
+
5
+ ## Official Current Install Path
6
+
7
+ As of April 8, 2026:
8
+
9
+ - Ollama is available on macOS, Windows, and Linux.
10
+ - The Ollama quickstart exposes `ollama launch openclaw` as the official way to start OpenClaw from Ollama.
11
+ - The OpenClaw integration page says Ollama will prompt to install OpenClaw via npm if OpenClaw is missing.
12
+ - The current Ollama tutorial for OpenClaw says you need:
13
+ - Ollama 0.17 or later
14
+ - Node.js
15
+ - Mac or Linux for the smoothest direct setup
16
+ - Windows users can use WSL for the OpenClaw setup path
17
+ - The current OpenClaw Windows docs say native Windows and WSL2 are both supported; WSL2 is the more stable and recommended path for the full experience.
18
+
19
+ ## OS Split
20
+
21
+ - macOS:
22
+ - install and run Ollama natively
23
+ - install and run OpenClaw natively
24
+ - Linux:
25
+ - install and run Ollama natively
26
+ - install and run OpenClaw natively
27
+ - Windows:
28
+ - native Ollama installation is fine
29
+ - native OpenClaw CLI/Gateway flows can work
30
+ - WSL2 is still the recommended path for the full CLI, Gateway, and tooling experience
31
+ - do not write the skill as if WSL were mandatory for every Windows task, but also do not present native Windows as the preferred path for shell-heavy automation and repo work
32
+
33
+ ## Readiness Checklist
34
+
35
+ - Confirm the OS and architecture.
36
+ - Confirm whether you are in native macOS, native Linux, WSL, or native Windows.
37
+ - Confirm enough RAM or unified memory for the candidate models you plan to test.
38
+ - Confirm `ollama` is installed.
39
+ - Confirm `node` and `npm` exist before expecting OpenClaw installation through Ollama to succeed.
40
+ - Confirm the local Ollama API responds on `http://127.0.0.1:11434`.
41
+ - Confirm whether OpenClaw itself and a usable management entrypoint already exist.
42
+
43
+ ## When To Skip The Survey
44
+
45
+ Skip the full readiness survey when the user already gives enough information to do a direct config change safely, for example:
46
+
47
+ - exact target profile names or config paths
48
+ - exact memory model to use
49
+ - confirmation that Ollama and OpenClaw are already installed
50
+ - a request that is only about switching memory configuration, not installing the stack
51
+
52
+ In that case, go straight to config update, validation, restart, and rebuild.
53
+
54
+ ## Official Commands
55
+
56
+ ### Install or verify Ollama
57
+
58
+ Linux:
59
+
60
+ ```bash
61
+ curl -fsSL https://ollama.com/install.sh | sh
62
+ ```
63
+
64
+ macOS:
65
+
66
+ - use the official app download, or
67
+ - use the same official install script if that matches the environment policy
68
+
69
+ Windows:
70
+
71
+ - install Ollama from the official Windows download
72
+ - if the goal is a fresh full OpenClaw rollout, prefer WSL2 for the setup flow
73
+ - when documenting commands in the skill, prefer the path that matches the current machine: WSL shell commands for WSL setups, native CLI commands only when the host already uses a supported native Windows flow
74
+
75
+ ### Install or configure OpenClaw through Ollama
76
+
77
+ Interactive:
78
+
79
+ ```bash
80
+ ollama launch openclaw
81
+ ```
82
+
83
+ Configure only:
84
+
85
+ ```bash
86
+ ollama launch openclaw --config
87
+ ```
88
+
89
+ Headless:
90
+
91
+ ```bash
92
+ ollama launch openclaw --model kimi-k2.5:cloud --yes
93
+ ```
94
+
95
+ Notes:
96
+
97
+ - `--yes` requires `--model`
98
+ - if OpenClaw is missing, Ollama prompts to install it via npm
99
+ - if the gateway is already running, changing the model through `ollama launch openclaw --config` restarts it automatically
100
+
101
+ ## Management Entry Point
102
+
103
+ Do not assume one machine-specific wrapper across all machines.
104
+
105
+ - The generic, documented CLI is `openclaw`.
106
+ - Some machines may also expose a local wrapper.
107
+ - A reusable skill should prefer the documented `openclaw` CLI in its examples, then adapt only if the current machine exposes a different wrapper.
108
+
109
+ ## Direct Provider Configs
110
+
111
+ If the user already knows the remote memory provider settings, do not force a local Ollama path first.
112
+
113
+ - You may go straight to updating `agents.defaults.memorySearch`.
114
+ - `provider` and `model` are the minimum fields.
115
+ - Provider-specific fields such as API base, headers, or key references should be written at the same time instead of leaving the config half-finished.
116
+ - If you are switching providers, replace the old provider-specific settings instead of leaving stale fields behind.
117
+ - Only benchmark local Ollama models when the user wants a local memory provider or asks for a speed comparison.
118
+
119
+ ## Choosing Memory Embedding Candidates
120
+
121
+ This is a heuristic for the first pass only. The final choice must come from a benchmark on the target machine.
122
+
123
+ - If the user has nothing yet and wants to save money:
124
+ - prefer local Ollama deployment
125
+ - prefer smaller local embedding models first
126
+ - keep cloud suggestions optional, not default
127
+ - very constrained hosts:
128
+ - start with `nomic-embed-text:latest`
129
+ - add `embeddinggemma:300m-qat-q8_0` if the machine is still responsive
130
+ - older or mid-range hosts:
131
+ - start with `embeddinggemma:300m-qat-q8_0`
132
+ - compare with `nomic-embed-text:latest`
133
+ - add `qwen3-embedding:0.6b` only if you can afford a slower rebuild
134
+ - stronger machines:
135
+ - still benchmark the smaller models first
136
+ - only add larger models when there is a clear quality reason
137
+
138
+ ## When To Stop And Re-Scope
139
+
140
+ - If `ollama` will not install cleanly through the official method, stop and resolve that first.
141
+ - If `node` or `npm` is missing and the machine needs OpenClaw installation, install Node.js before retrying OpenClaw setup.
142
+ - If local embedding models are too slow, keep the smaller local memory model and move only the main assistant model to cloud if needed.
143
+ - If the machine is Windows without WSL, do not invent a Linux-only path. If the requested work already fits supported native Windows CLI/Gateway flows, continue there; otherwise set up WSL2 or use a Mac/Linux host.
144
+
145
+ ## Optional Example
146
+
147
+ See [case-study-macpro.md](case-study-macpro.md) for one measured old-machine rollout. Treat it as an example, not a universal baseline.
@@ -1,24 +1,24 @@
1
- {
2
- "id": "grix",
3
- "version": "0.5.2",
4
- "skills": [
5
- "./openclaw-plugin/skills"
6
- ],
7
- "channels": [
8
- "grix"
9
- ],
10
- "channelConfigs": {
11
- "grix": {
12
- "schema": {
13
- "type": "object",
14
- "additionalProperties": true
15
- },
16
- "label": "Grix"
17
- }
18
- },
19
- "configSchema": {
20
- "type": "object",
21
- "additionalProperties": false,
22
- "properties": {}
23
- }
24
- }
1
+ {
2
+ "id": "grix",
3
+ "version": "0.5.2",
4
+ "skills": [
5
+ "./openclaw-plugin/skills"
6
+ ],
7
+ "channels": [
8
+ "grix"
9
+ ],
10
+ "channelConfigs": {
11
+ "grix": {
12
+ "schema": {
13
+ "type": "object",
14
+ "additionalProperties": true
15
+ },
16
+ "label": "Grix"
17
+ }
18
+ },
19
+ "configSchema": {
20
+ "type": "object",
21
+ "additionalProperties": false,
22
+ "properties": {}
23
+ }
24
+ }