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.
- package/README.md +241 -241
- package/dist/default-skills/grix-access-control/SKILL.md +31 -31
- package/dist/default-skills/grix-admin/SKILL.md +35 -35
- package/dist/default-skills/grix-agent-dispatch/SKILL.md +89 -89
- package/dist/default-skills/grix-chat-state/SKILL.md +56 -56
- package/dist/default-skills/grix-egg/SKILL.md +90 -90
- package/dist/default-skills/grix-group/SKILL.md +35 -35
- package/dist/default-skills/grix-owner-relay/SKILL.md +66 -66
- package/dist/default-skills/grix-query/SKILL.md +38 -38
- package/dist/default-skills/message-send/SKILL.md +36 -36
- package/dist/default-skills/message-unsend/SKILL.md +27 -27
- package/dist/default-skills/tailnet-file-share/SKILL.md +65 -65
- package/dist/grix.js +0 -0
- package/dist/service/platform-adapter.js +59 -16
- package/openclaw-plugin/skills/grix-admin/SKILL.md +202 -202
- package/openclaw-plugin/skills/grix-admin/references/api-contract.md +210 -210
- package/openclaw-plugin/skills/grix-egg/SKILL.md +81 -81
- package/openclaw-plugin/skills/grix-egg/references/api-contract.md +40 -40
- package/openclaw-plugin/skills/grix-group/SKILL.md +164 -164
- package/openclaw-plugin/skills/grix-group/references/api-contract.md +97 -97
- package/openclaw-plugin/skills/grix-query/SKILL.md +247 -247
- package/openclaw-plugin/skills/grix-register/SKILL.md +86 -86
- package/openclaw-plugin/skills/grix-register/references/api-contract.md +76 -76
- package/openclaw-plugin/skills/grix-register/references/grix-concepts.md +26 -26
- package/openclaw-plugin/skills/grix-register/references/handoff-contract.md +24 -24
- package/openclaw-plugin/skills/grix-register/references/openclaw-setup.md +6 -6
- package/openclaw-plugin/skills/grix-register/references/user-replies.md +25 -25
- package/openclaw-plugin/skills/grix-update/SKILL.md +310 -310
- package/openclaw-plugin/skills/grix-update/references/cron-setup.md +56 -56
- package/openclaw-plugin/skills/grix-update/references/update-contract.md +149 -149
- package/openclaw-plugin/skills/message-send/SKILL.md +197 -197
- package/openclaw-plugin/skills/message-unsend/SKILL.md +186 -186
- package/openclaw-plugin/skills/message-unsend/flowchart.mermaid +27 -27
- package/openclaw-plugin/skills/openclaw-memory-setup/SKILL.md +282 -282
- package/openclaw-plugin/skills/openclaw-memory-setup/references/case-study-macpro.md +52 -52
- package/openclaw-plugin/skills/openclaw-memory-setup/references/host-readiness.md +147 -147
- package/openclaw.plugin.json +24 -24
- package/package.json +121 -121
- package/scripts/install-guardian.mjs +27 -27
- package/scripts/install-guardian.sh +25 -25
- package/scripts/upgrade-guardian.sh +104 -104
- package/dist/adapter/claude/claude-bridge-server.js +0 -1
- package/dist/adapter/claude/claude-tools.js +0 -1
- package/dist/adapter/claude/claude-worker-client.js +0 -1
- package/dist/adapter/claude/mcp-http-launcher.js +0 -2
- package/dist/adapter/claude/result-timeout.js +0 -1
- package/dist/adapter/deepseek/deepseek-adapter.js +0 -6
- package/dist/adapter/deepseek/index.js +0 -1
- package/dist/adapter/qwen/index.js +0 -1
- package/dist/adapter/qwen/qwen-adapter.js +0 -4
- package/dist/aibot/client.js +0 -1
- package/dist/aibot/index.js +0 -1
- package/dist/aibot/types.js +0 -0
- package/dist/core/file-ops/handler.js +0 -1
- package/dist/core/file-ops/list-files.js +0 -1
- package/dist/core/file-ops/types.js +0 -0
- package/dist/default-skills/grix-task-status/SKILL.md +0 -36
- package/dist/log.js +0 -3
- package/dist/main.js +0 -31
- package/dist/mcp/stream-http/config.js +0 -1
- package/dist/mcp/stream-http/connection-binding.js +0 -1
- package/dist/mcp/stream-http/event-tool-executor.js +0 -1
- package/dist/mcp/stream-http/gateway.js +0 -1
- package/dist/mcp/stream-http/index.js +0 -1
- package/dist/mcp/stream-http/security.js +0 -1
- package/dist/mcp/stream-http/session-manager.js +0 -1
- package/dist/mcp/stream-http/tool-executor.js +0 -1
- package/dist/mcp/stream-http/tool-registry.js +0 -1
- package/dist/mcp/stream-http/tool-schemas.js +0 -1
- package/dist/session/index.js +0 -1
- package/dist/session/manager.js +0 -1
- package/dist/transport/index.js +0 -1
- package/dist/transport/json-rpc.js +0 -3
|
@@ -1,86 +1,86 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: grix-register
|
|
3
|
-
description: Used only during the initial installation phase to complete Grix environment account registration/login and obtain the first provider_type=3 Agent parameters; this skill does not perform any local OpenClaw configuration.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Grix Register
|
|
7
|
-
|
|
8
|
-
This skill is solely responsible for the cloud preparation during "initial installation": account registration/login + generating the first `provider_type=3` Agent parameters.
|
|
9
|
-
You (AI) operate fully automatically in the terminal, **without requiring the user to open a browser**. After obtaining the parameters, you must hand off to `grix-admin` for local configuration and runtime convergence through `grix_admin`'s `task` entry.
|
|
10
|
-
|
|
11
|
-
## Workflow
|
|
12
|
-
|
|
13
|
-
### 0. Role Boundary (Declare Before Executing)
|
|
14
|
-
|
|
15
|
-
1. This skill **can only** perform account and cloud Agent parameter preparation.
|
|
16
|
-
2. This skill **cannot** execute `openclaw` commands or modify local `openclaw.json`.
|
|
17
|
-
3. Anything involving local configuration, plugin installation, tool permissions, hot-reload validation, or runtime switch verification must be handed to `grix-admin`.
|
|
18
|
-
|
|
19
|
-
### 1. Ask for Email and Send Verification Code
|
|
20
|
-
|
|
21
|
-
1. Ask the user for their email address. **Do not ask the user to register on the website**; clearly state that you will complete it within the conversation.
|
|
22
|
-
2. After obtaining the email, execute the verification code sending command in the terminal:
|
|
23
|
-
```bash
|
|
24
|
-
node scripts/grix_auth.js send-email-code --email "<user's email>" --scene "register"
|
|
25
|
-
```
|
|
26
|
-
3. After the command executes successfully, prompt the user to check their inbox for the verification code and ask for it.
|
|
27
|
-
|
|
28
|
-
### 2. Execute Automatic Registration (Obtain Token)
|
|
29
|
-
|
|
30
|
-
1. After the user provides the verification code, generate a high-complexity random secure password for the user (recommended: 12-character strong password including uppercase, lowercase, numbers, and special characters).
|
|
31
|
-
2. Using the collected information, execute the registration command:
|
|
32
|
-
```bash
|
|
33
|
-
node scripts/grix_auth.js register --email "<email>" --password "<generated random password>" --email-code "<verification code>"
|
|
34
|
-
```
|
|
35
|
-
3. This command returns the user's `access_token` on success. In your reply, securely **inform the user of the generated password** and suggest they save it properly.
|
|
36
|
-
|
|
37
|
-
Note: If registration indicates the email is already registered:
|
|
38
|
-
1. Only switch to the `node scripts/grix_auth.js login` path when the user explicitly provides their existing password
|
|
39
|
-
2. If the user does not have their existing password, do not guess or pretend recovery is complete; clearly tell the user to provide their existing password first, or go through a standalone password reset flow, then continue this skill
|
|
40
|
-
|
|
41
|
-
### 3. Create the First Cloud Agent Parameters
|
|
42
|
-
|
|
43
|
-
After obtaining the `access_token`, ask for the Agent name (use it directly if already available in context), then execute:
|
|
44
|
-
|
|
45
|
-
```bash
|
|
46
|
-
node scripts/grix_auth.js create-api-agent --access-token "<token>" --agent-name "<agent name>"
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
This step creates the first `provider_type=3` main API agent (`is_main=true`) through the backend's real API, giving it the full initial scope set. If a same-name `provider_type=3` Agent already exists, the script will automatically rotate the API Key and reuse it.
|
|
50
|
-
|
|
51
|
-
### 4. Force Handoff to grix-admin via `grix_admin.task`
|
|
52
|
-
|
|
53
|
-
After step 3 executes successfully, the script returns these key settings:
|
|
54
|
-
- `agent_id`
|
|
55
|
-
- `agent_name`
|
|
56
|
-
- `api_endpoint`
|
|
57
|
-
- `api_key`
|
|
58
|
-
|
|
59
|
-
Then immediately call `grix_admin`, but **do not** pass these fields directly as `grix_admin`'s typed params. The correct approach is to write them into the `task` text, letting `grix-admin` enter the `bind-local` flow.
|
|
60
|
-
|
|
61
|
-
Recommended `task` format:
|
|
62
|
-
|
|
63
|
-
```text
|
|
64
|
-
bind-local
|
|
65
|
-
agent_name=<agent_name>
|
|
66
|
-
agent_id=<agent_id>
|
|
67
|
-
api_endpoint=<api_endpoint>
|
|
68
|
-
api_key=<api_key>
|
|
69
|
-
do_not_create_remote_agent=true
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
If the script output already includes `handoff.task`, prefer reusing that `task` directly. Before `grix-admin` actually completes, do not describe the local side as already configured or activated.
|
|
73
|
-
|
|
74
|
-
## Guardrails
|
|
75
|
-
|
|
76
|
-
1. Do not ask the user to register on the website or manually click pages.
|
|
77
|
-
2. Do not modify any local OpenClaw configuration.
|
|
78
|
-
3. Do not install plugins, change tool permissions, or restart the gateway.
|
|
79
|
-
4. After creating or reusing parameters, must hand off to `grix-admin`.
|
|
80
|
-
5. Do not claim local completion or activation; local completion state is determined by `grix-admin`.
|
|
81
|
-
|
|
82
|
-
## References
|
|
83
|
-
|
|
84
|
-
1. [references/api-contract.md](references/api-contract.md)
|
|
85
|
-
2. [references/handoff-contract.md](references/handoff-contract.md)
|
|
86
|
-
3. [scripts/grix_auth.js](scripts/grix_auth.js)
|
|
1
|
+
---
|
|
2
|
+
name: grix-register
|
|
3
|
+
description: Used only during the initial installation phase to complete Grix environment account registration/login and obtain the first provider_type=3 Agent parameters; this skill does not perform any local OpenClaw configuration.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Grix Register
|
|
7
|
+
|
|
8
|
+
This skill is solely responsible for the cloud preparation during "initial installation": account registration/login + generating the first `provider_type=3` Agent parameters.
|
|
9
|
+
You (AI) operate fully automatically in the terminal, **without requiring the user to open a browser**. After obtaining the parameters, you must hand off to `grix-admin` for local configuration and runtime convergence through `grix_admin`'s `task` entry.
|
|
10
|
+
|
|
11
|
+
## Workflow
|
|
12
|
+
|
|
13
|
+
### 0. Role Boundary (Declare Before Executing)
|
|
14
|
+
|
|
15
|
+
1. This skill **can only** perform account and cloud Agent parameter preparation.
|
|
16
|
+
2. This skill **cannot** execute `openclaw` commands or modify local `openclaw.json`.
|
|
17
|
+
3. Anything involving local configuration, plugin installation, tool permissions, hot-reload validation, or runtime switch verification must be handed to `grix-admin`.
|
|
18
|
+
|
|
19
|
+
### 1. Ask for Email and Send Verification Code
|
|
20
|
+
|
|
21
|
+
1. Ask the user for their email address. **Do not ask the user to register on the website**; clearly state that you will complete it within the conversation.
|
|
22
|
+
2. After obtaining the email, execute the verification code sending command in the terminal:
|
|
23
|
+
```bash
|
|
24
|
+
node scripts/grix_auth.js send-email-code --email "<user's email>" --scene "register"
|
|
25
|
+
```
|
|
26
|
+
3. After the command executes successfully, prompt the user to check their inbox for the verification code and ask for it.
|
|
27
|
+
|
|
28
|
+
### 2. Execute Automatic Registration (Obtain Token)
|
|
29
|
+
|
|
30
|
+
1. After the user provides the verification code, generate a high-complexity random secure password for the user (recommended: 12-character strong password including uppercase, lowercase, numbers, and special characters).
|
|
31
|
+
2. Using the collected information, execute the registration command:
|
|
32
|
+
```bash
|
|
33
|
+
node scripts/grix_auth.js register --email "<email>" --password "<generated random password>" --email-code "<verification code>"
|
|
34
|
+
```
|
|
35
|
+
3. This command returns the user's `access_token` on success. In your reply, securely **inform the user of the generated password** and suggest they save it properly.
|
|
36
|
+
|
|
37
|
+
Note: If registration indicates the email is already registered:
|
|
38
|
+
1. Only switch to the `node scripts/grix_auth.js login` path when the user explicitly provides their existing password
|
|
39
|
+
2. If the user does not have their existing password, do not guess or pretend recovery is complete; clearly tell the user to provide their existing password first, or go through a standalone password reset flow, then continue this skill
|
|
40
|
+
|
|
41
|
+
### 3. Create the First Cloud Agent Parameters
|
|
42
|
+
|
|
43
|
+
After obtaining the `access_token`, ask for the Agent name (use it directly if already available in context), then execute:
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
node scripts/grix_auth.js create-api-agent --access-token "<token>" --agent-name "<agent name>"
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
This step creates the first `provider_type=3` main API agent (`is_main=true`) through the backend's real API, giving it the full initial scope set. If a same-name `provider_type=3` Agent already exists, the script will automatically rotate the API Key and reuse it.
|
|
50
|
+
|
|
51
|
+
### 4. Force Handoff to grix-admin via `grix_admin.task`
|
|
52
|
+
|
|
53
|
+
After step 3 executes successfully, the script returns these key settings:
|
|
54
|
+
- `agent_id`
|
|
55
|
+
- `agent_name`
|
|
56
|
+
- `api_endpoint`
|
|
57
|
+
- `api_key`
|
|
58
|
+
|
|
59
|
+
Then immediately call `grix_admin`, but **do not** pass these fields directly as `grix_admin`'s typed params. The correct approach is to write them into the `task` text, letting `grix-admin` enter the `bind-local` flow.
|
|
60
|
+
|
|
61
|
+
Recommended `task` format:
|
|
62
|
+
|
|
63
|
+
```text
|
|
64
|
+
bind-local
|
|
65
|
+
agent_name=<agent_name>
|
|
66
|
+
agent_id=<agent_id>
|
|
67
|
+
api_endpoint=<api_endpoint>
|
|
68
|
+
api_key=<api_key>
|
|
69
|
+
do_not_create_remote_agent=true
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
If the script output already includes `handoff.task`, prefer reusing that `task` directly. Before `grix-admin` actually completes, do not describe the local side as already configured or activated.
|
|
73
|
+
|
|
74
|
+
## Guardrails
|
|
75
|
+
|
|
76
|
+
1. Do not ask the user to register on the website or manually click pages.
|
|
77
|
+
2. Do not modify any local OpenClaw configuration.
|
|
78
|
+
3. Do not install plugins, change tool permissions, or restart the gateway.
|
|
79
|
+
4. After creating or reusing parameters, must hand off to `grix-admin`.
|
|
80
|
+
5. Do not claim local completion or activation; local completion state is determined by `grix-admin`.
|
|
81
|
+
|
|
82
|
+
## References
|
|
83
|
+
|
|
84
|
+
1. [references/api-contract.md](references/api-contract.md)
|
|
85
|
+
2. [references/handoff-contract.md](references/handoff-contract.md)
|
|
86
|
+
3. [scripts/grix_auth.js](scripts/grix_auth.js)
|
|
@@ -1,76 +1,76 @@
|
|
|
1
|
-
# API Contract
|
|
2
|
-
|
|
3
|
-
## Responsibility Boundary
|
|
4
|
-
|
|
5
|
-
1. `grix-register` is solely responsible for account authentication and cloud `provider_type=3` Agent parameter production.
|
|
6
|
-
2. This skill is not responsible for local OpenClaw configuration.
|
|
7
|
-
3. Local configuration is handled by `grix-admin`.
|
|
8
|
-
|
|
9
|
-
## Base
|
|
10
|
-
|
|
11
|
-
1. Default website: `https://grix.dhf.pub/`
|
|
12
|
-
2. Default public Grix API base: `https://grix.dhf.pub/v1`
|
|
13
|
-
3. Local development or private deployment can override the base URL.
|
|
14
|
-
|
|
15
|
-
## Route Mapping
|
|
16
|
-
|
|
17
|
-
### Agent bootstrap action
|
|
18
|
-
|
|
19
|
-
| Action | Method | Route | Auth |
|
|
20
|
-
|---|---|---|---|
|
|
21
|
-
| `create-api-agent` | `POST` | `/agents/create` | `Authorization: Bearer <access_token>` |
|
|
22
|
-
| `list-agents` (internal helper) | `GET` | `/agents/list` | `Authorization: Bearer <access_token>` |
|
|
23
|
-
| `rotate-api-agent-key` (internal helper) | `POST` | `/agents/:id/api/key/rotate` | `Authorization: Bearer <access_token>` |
|
|
24
|
-
|
|
25
|
-
## Payloads
|
|
26
|
-
|
|
27
|
-
### `create-api-agent`
|
|
28
|
-
|
|
29
|
-
```json
|
|
30
|
-
{
|
|
31
|
-
"agent_name": "grix-main",
|
|
32
|
-
"provider_type": 3,
|
|
33
|
-
"is_main": true
|
|
34
|
-
}
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
`provider_type=3` means Agent API type.
|
|
38
|
-
The bundled bootstrap flow uses `is_main=true` so the first API agent gets the full initial scope set.
|
|
39
|
-
|
|
40
|
-
## Reuse flow
|
|
41
|
-
|
|
42
|
-
When the same-name `provider_type=3` agent already exists, the skill should:
|
|
43
|
-
|
|
44
|
-
1. read `/agents/list`
|
|
45
|
-
2. find the exact-name API agent
|
|
46
|
-
3. rotate its key through `/agents/:id/api/key/rotate`
|
|
47
|
-
4. reuse the returned `api_endpoint` and fresh `api_key`
|
|
48
|
-
|
|
49
|
-
## Success Highlights
|
|
50
|
-
|
|
51
|
-
### `create-api-agent`
|
|
52
|
-
|
|
53
|
-
The bundled script lifts these fields to the top level:
|
|
54
|
-
|
|
55
|
-
1. `agent_id`
|
|
56
|
-
2. `agent_name`
|
|
57
|
-
3. `provider_type`
|
|
58
|
-
4. `api_endpoint`
|
|
59
|
-
5. `api_key`
|
|
60
|
-
6. `api_key_hint`
|
|
61
|
-
7. `session_id`
|
|
62
|
-
|
|
63
|
-
## Common Errors
|
|
64
|
-
|
|
65
|
-
1. create-agent or rotate-key returns missing `api_endpoint` or `api_key`
|
|
66
|
-
|
|
67
|
-
## Handoff
|
|
68
|
-
|
|
69
|
-
After success, do not pass the structured fields directly as `grix_admin`'s typed params; instead assemble them into a `grix_admin.task`:
|
|
70
|
-
|
|
71
|
-
1. First line: `bind-local`
|
|
72
|
-
2. Then include `agent_id`
|
|
73
|
-
3. `agent_name`
|
|
74
|
-
4. `api_endpoint`
|
|
75
|
-
5. `api_key`
|
|
76
|
-
6. Add a line `do_not_create_remote_agent=true`
|
|
1
|
+
# API Contract
|
|
2
|
+
|
|
3
|
+
## Responsibility Boundary
|
|
4
|
+
|
|
5
|
+
1. `grix-register` is solely responsible for account authentication and cloud `provider_type=3` Agent parameter production.
|
|
6
|
+
2. This skill is not responsible for local OpenClaw configuration.
|
|
7
|
+
3. Local configuration is handled by `grix-admin`.
|
|
8
|
+
|
|
9
|
+
## Base
|
|
10
|
+
|
|
11
|
+
1. Default website: `https://grix.dhf.pub/`
|
|
12
|
+
2. Default public Grix API base: `https://grix.dhf.pub/v1`
|
|
13
|
+
3. Local development or private deployment can override the base URL.
|
|
14
|
+
|
|
15
|
+
## Route Mapping
|
|
16
|
+
|
|
17
|
+
### Agent bootstrap action
|
|
18
|
+
|
|
19
|
+
| Action | Method | Route | Auth |
|
|
20
|
+
|---|---|---|---|
|
|
21
|
+
| `create-api-agent` | `POST` | `/agents/create` | `Authorization: Bearer <access_token>` |
|
|
22
|
+
| `list-agents` (internal helper) | `GET` | `/agents/list` | `Authorization: Bearer <access_token>` |
|
|
23
|
+
| `rotate-api-agent-key` (internal helper) | `POST` | `/agents/:id/api/key/rotate` | `Authorization: Bearer <access_token>` |
|
|
24
|
+
|
|
25
|
+
## Payloads
|
|
26
|
+
|
|
27
|
+
### `create-api-agent`
|
|
28
|
+
|
|
29
|
+
```json
|
|
30
|
+
{
|
|
31
|
+
"agent_name": "grix-main",
|
|
32
|
+
"provider_type": 3,
|
|
33
|
+
"is_main": true
|
|
34
|
+
}
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
`provider_type=3` means Agent API type.
|
|
38
|
+
The bundled bootstrap flow uses `is_main=true` so the first API agent gets the full initial scope set.
|
|
39
|
+
|
|
40
|
+
## Reuse flow
|
|
41
|
+
|
|
42
|
+
When the same-name `provider_type=3` agent already exists, the skill should:
|
|
43
|
+
|
|
44
|
+
1. read `/agents/list`
|
|
45
|
+
2. find the exact-name API agent
|
|
46
|
+
3. rotate its key through `/agents/:id/api/key/rotate`
|
|
47
|
+
4. reuse the returned `api_endpoint` and fresh `api_key`
|
|
48
|
+
|
|
49
|
+
## Success Highlights
|
|
50
|
+
|
|
51
|
+
### `create-api-agent`
|
|
52
|
+
|
|
53
|
+
The bundled script lifts these fields to the top level:
|
|
54
|
+
|
|
55
|
+
1. `agent_id`
|
|
56
|
+
2. `agent_name`
|
|
57
|
+
3. `provider_type`
|
|
58
|
+
4. `api_endpoint`
|
|
59
|
+
5. `api_key`
|
|
60
|
+
6. `api_key_hint`
|
|
61
|
+
7. `session_id`
|
|
62
|
+
|
|
63
|
+
## Common Errors
|
|
64
|
+
|
|
65
|
+
1. create-agent or rotate-key returns missing `api_endpoint` or `api_key`
|
|
66
|
+
|
|
67
|
+
## Handoff
|
|
68
|
+
|
|
69
|
+
After success, do not pass the structured fields directly as `grix_admin`'s typed params; instead assemble them into a `grix_admin.task`:
|
|
70
|
+
|
|
71
|
+
1. First line: `bind-local`
|
|
72
|
+
2. Then include `agent_id`
|
|
73
|
+
3. `agent_name`
|
|
74
|
+
4. `api_endpoint`
|
|
75
|
+
5. `api_key`
|
|
76
|
+
6. Add a line `do_not_create_remote_agent=true`
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
# Grix Concepts
|
|
2
|
-
|
|
3
|
-
## Canonical Explanation
|
|
4
|
-
|
|
5
|
-
This plugin integration is for managing OpenClaw through the `https://grix.dhf.pub/` website, with mobile PWA page support.
|
|
6
|
-
|
|
7
|
-
## Feature Highlights
|
|
8
|
-
|
|
9
|
-
1. `grix-register` handles initial account preparation and first agent parameter generation
|
|
10
|
-
2. `grix-admin` handles OpenClaw local configuration and subsequent management
|
|
11
|
-
3. After both are chained together, users can use and manage through `https://grix.dhf.pub/`
|
|
12
|
-
|
|
13
|
-
## Default User-Facing Framing
|
|
14
|
-
|
|
15
|
-
### One sentence
|
|
16
|
-
|
|
17
|
-
`grix-register` only does "register an account and obtain the first agent parameters"; local configuration is uniformly handled by `grix-admin`.
|
|
18
|
-
|
|
19
|
-
### Short paragraph
|
|
20
|
-
|
|
21
|
-
`grix-register` is only responsible for cloud preparation during initial installation: registering/logging into an account and generating the first `provider_type=3` agent parameters; it must then hand the parameters to `grix-admin`, which is responsible for local OpenClaw configuration.
|
|
22
|
-
|
|
23
|
-
## After Setup
|
|
24
|
-
|
|
25
|
-
1. After `grix-register` produces parameters, it hands off directly to `grix-admin`.
|
|
26
|
-
2. `grix-register` does not execute any local configuration actions.
|
|
1
|
+
# Grix Concepts
|
|
2
|
+
|
|
3
|
+
## Canonical Explanation
|
|
4
|
+
|
|
5
|
+
This plugin integration is for managing OpenClaw through the `https://grix.dhf.pub/` website, with mobile PWA page support.
|
|
6
|
+
|
|
7
|
+
## Feature Highlights
|
|
8
|
+
|
|
9
|
+
1. `grix-register` handles initial account preparation and first agent parameter generation
|
|
10
|
+
2. `grix-admin` handles OpenClaw local configuration and subsequent management
|
|
11
|
+
3. After both are chained together, users can use and manage through `https://grix.dhf.pub/`
|
|
12
|
+
|
|
13
|
+
## Default User-Facing Framing
|
|
14
|
+
|
|
15
|
+
### One sentence
|
|
16
|
+
|
|
17
|
+
`grix-register` only does "register an account and obtain the first agent parameters"; local configuration is uniformly handled by `grix-admin`.
|
|
18
|
+
|
|
19
|
+
### Short paragraph
|
|
20
|
+
|
|
21
|
+
`grix-register` is only responsible for cloud preparation during initial installation: registering/logging into an account and generating the first `provider_type=3` agent parameters; it must then hand the parameters to `grix-admin`, which is responsible for local OpenClaw configuration.
|
|
22
|
+
|
|
23
|
+
## After Setup
|
|
24
|
+
|
|
25
|
+
1. After `grix-register` produces parameters, it hands off directly to `grix-admin`.
|
|
26
|
+
2. `grix-register` does not execute any local configuration actions.
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
# Handoff Contract to grix-admin
|
|
2
|
-
|
|
3
|
-
## Purpose
|
|
4
|
-
|
|
5
|
-
After `grix-register` completes account and first Agent parameter preparation, it uniformly hands local configuration work to `grix-admin`.
|
|
6
|
-
|
|
7
|
-
## Required `grix_admin` Task
|
|
8
|
-
|
|
9
|
-
```text
|
|
10
|
-
bind-local
|
|
11
|
-
agent_name=grix-main
|
|
12
|
-
agent_id=2029786829095440384
|
|
13
|
-
api_endpoint=wss://grix.dhf.pub/v1/agent-api/ws?agent_id=2029786829095440384
|
|
14
|
-
api_key=ak_xxx
|
|
15
|
-
do_not_create_remote_agent=true
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
## Rules
|
|
19
|
-
|
|
20
|
-
1. The entry is fixed to `grix_admin`'s `task` parameter; do not pass these fields directly as typed params.
|
|
21
|
-
2. The first line must be `bind-local`.
|
|
22
|
-
3. `agent_name`, `agent_id`, `api_endpoint`, `api_key` are required.
|
|
23
|
-
4. `grix-register` is only responsible for generating the above parameters; it does not execute local configuration commands.
|
|
24
|
-
5. Local writing, plugin handling, tool permissions, and hot-reload validation are all handled by `grix-admin`.
|
|
1
|
+
# Handoff Contract to grix-admin
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
After `grix-register` completes account and first Agent parameter preparation, it uniformly hands local configuration work to `grix-admin`.
|
|
6
|
+
|
|
7
|
+
## Required `grix_admin` Task
|
|
8
|
+
|
|
9
|
+
```text
|
|
10
|
+
bind-local
|
|
11
|
+
agent_name=grix-main
|
|
12
|
+
agent_id=2029786829095440384
|
|
13
|
+
api_endpoint=wss://grix.dhf.pub/v1/agent-api/ws?agent_id=2029786829095440384
|
|
14
|
+
api_key=ak_xxx
|
|
15
|
+
do_not_create_remote_agent=true
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Rules
|
|
19
|
+
|
|
20
|
+
1. The entry is fixed to `grix_admin`'s `task` parameter; do not pass these fields directly as typed params.
|
|
21
|
+
2. The first line must be `bind-local`.
|
|
22
|
+
3. `agent_name`, `agent_id`, `api_endpoint`, `api_key` are required.
|
|
23
|
+
4. `grix-register` is only responsible for generating the above parameters; it does not execute local configuration commands.
|
|
24
|
+
5. Local writing, plugin handling, tool permissions, and hot-reload validation are all handled by `grix-admin`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# OpenClaw Setup Ownership
|
|
2
|
-
|
|
3
|
-
`grix-register` is not responsible for OpenClaw local configuration.
|
|
4
|
-
All OpenClaw configuration-related actions (plugin installation, channel writing, tools permissions, hot-reload validation) belong to `grix-admin`.
|
|
5
|
-
|
|
6
|
-
This file is retained in this directory solely for responsibility clarification, to prevent misuse.
|
|
1
|
+
# OpenClaw Setup Ownership
|
|
2
|
+
|
|
3
|
+
`grix-register` is not responsible for OpenClaw local configuration.
|
|
4
|
+
All OpenClaw configuration-related actions (plugin installation, channel writing, tools permissions, hot-reload validation) belong to `grix-admin`.
|
|
5
|
+
|
|
6
|
+
This file is retained in this directory solely for responsibility clarification, to prevent misuse.
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
# User Replies
|
|
2
|
-
|
|
3
|
-
## One-liner Pitch
|
|
4
|
-
|
|
5
|
-
I'll first help you complete registration and obtain the first agent parameters, then hand off to `grix-admin` to complete local configuration.
|
|
6
|
-
|
|
7
|
-
## Short Intro
|
|
8
|
-
|
|
9
|
-
`grix-register` is only responsible for account and cloud parameter preparation; it does not modify local configuration. Local configuration is handled by `grix-admin`.
|
|
10
|
-
|
|
11
|
-
## Ready Reply
|
|
12
|
-
|
|
13
|
-
Account and first agent parameters are ready. Next, I'll hand the parameters to `grix-admin` for local configuration.
|
|
14
|
-
|
|
15
|
-
## Main Ready, Admin Pending Reply
|
|
16
|
-
|
|
17
|
-
The `grix-register` phase is complete. I'm now only doing parameter handoff; subsequent local configuration will be continued by `grix-admin`.
|
|
18
|
-
|
|
19
|
-
## Configured Now Reply
|
|
20
|
-
|
|
21
|
-
Parameters have been handed off to `grix-admin`; it will complete the local configuration from here.
|
|
22
|
-
|
|
23
|
-
## Needs Setup Reply
|
|
24
|
-
|
|
25
|
-
Currently still in the `grix-register` phase. I'll continue completing registration and obtaining the first agent parameters.
|
|
1
|
+
# User Replies
|
|
2
|
+
|
|
3
|
+
## One-liner Pitch
|
|
4
|
+
|
|
5
|
+
I'll first help you complete registration and obtain the first agent parameters, then hand off to `grix-admin` to complete local configuration.
|
|
6
|
+
|
|
7
|
+
## Short Intro
|
|
8
|
+
|
|
9
|
+
`grix-register` is only responsible for account and cloud parameter preparation; it does not modify local configuration. Local configuration is handled by `grix-admin`.
|
|
10
|
+
|
|
11
|
+
## Ready Reply
|
|
12
|
+
|
|
13
|
+
Account and first agent parameters are ready. Next, I'll hand the parameters to `grix-admin` for local configuration.
|
|
14
|
+
|
|
15
|
+
## Main Ready, Admin Pending Reply
|
|
16
|
+
|
|
17
|
+
The `grix-register` phase is complete. I'm now only doing parameter handoff; subsequent local configuration will be continued by `grix-admin`.
|
|
18
|
+
|
|
19
|
+
## Configured Now Reply
|
|
20
|
+
|
|
21
|
+
Parameters have been handed off to `grix-admin`; it will complete the local configuration from here.
|
|
22
|
+
|
|
23
|
+
## Needs Setup Reply
|
|
24
|
+
|
|
25
|
+
Currently still in the `grix-register` phase. I'll continue completing registration and obtaining the first agent parameters.
|