@rnbsolucoes/axion-code 0.1.81 → 0.1.83
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
|
@@ -42,6 +42,7 @@ axion-code remote-control intent --json < intent.json
|
|
|
42
42
|
axion-code remote-control events --json
|
|
43
43
|
axion-code remote-control seal --json < payload.json
|
|
44
44
|
axion-code remote-control open --json < secure-frame.json
|
|
45
|
+
axion-code remote-control relay --listen 127.0.0.1:8787 --json
|
|
45
46
|
axion-code provider list --json
|
|
46
47
|
axion-code provider profile init
|
|
47
48
|
axion-code provider profile list --json
|
|
@@ -80,10 +81,34 @@ axion-code hooks status --json
|
|
|
80
81
|
axion-code hooks add --event UserPromptSubmit --action inject --name Safety --content "Use trusted hook context only." --enabled
|
|
81
82
|
axion-code hooks enable
|
|
82
83
|
axion-code package inspect <path>
|
|
83
|
-
axion-code package self-check --json
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
|
|
84
|
+
axion-code package self-check --json
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
`remote-control intent --json` validates the active paired lease and enqueues
|
|
88
|
+
accepted mobile intents for the owning TUI session. The TUI remains the executor:
|
|
89
|
+
`user_message` is dispatched as a normal local provider turn, `tool_approval`
|
|
90
|
+
resolves the existing approval queue, and provider/tool execution never moves to
|
|
91
|
+
the mobile client.
|
|
92
|
+
|
|
93
|
+
For local Axion Mobile development, run the loopback relay in one terminal:
|
|
94
|
+
|
|
95
|
+
```powershell
|
|
96
|
+
axion-code remote-control relay --listen 127.0.0.1:8787
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
Then expose the active TUI session with:
|
|
100
|
+
|
|
101
|
+
```text
|
|
102
|
+
/remote-control --relay ws://127.0.0.1:8787
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
Configure Mobile's auth/discovery endpoint as `http://127.0.0.1:8787`.
|
|
106
|
+
The relay exposes `GET /remote-control/sessions`, `POST /remote-control/pair`,
|
|
107
|
+
`POST /remote-control/attachments` and `ws://127.0.0.1:8787/rc/<pairing_id>`.
|
|
108
|
+
It is loopback-only, keeps provider/tool execution in the CLI and accepts mobile
|
|
109
|
+
intents only after SAS pairing.
|
|
110
|
+
|
|
111
|
+
## Install
|
|
87
112
|
|
|
88
113
|
Official install, after the package is published to the public npm registry:
|
|
89
114
|
|
|
Binary file
|
|
Binary file
|