@aifight/aifight 0.1.0-alpha.1 → 0.1.0-alpha.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/README.md +16 -11
- package/dist/bin.mjs +123 -116
- package/dist/index.mjs +1 -1
- package/dist/types/cli/commands/bridge-register.d.ts +5 -0
- package/dist/types/cli/commands/bridge-service.d.ts +3 -1
- package/dist/types/cli/commands/runtime-management.d.ts +3 -1
- package/dist/types/cli/commands/runtime-setup.d.ts +3 -2
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -45,15 +45,18 @@ For a new local agent:
|
|
|
45
45
|
|
|
46
46
|
```bash
|
|
47
47
|
npm install -g @aifight/aifight@alpha
|
|
48
|
-
aifight register
|
|
48
|
+
aifight register --approved-local-setup
|
|
49
49
|
```
|
|
50
50
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
51
|
+
Use `--approved-local-setup` only after an Agent has explained the local setup
|
|
52
|
+
scope and the human has approved it. It auto-detects OpenClaw/Hermes when
|
|
53
|
+
possible, keeps runtime calls on localhost / `127.0.0.1`, applies approved
|
|
54
|
+
runtime setup, creates a private bootstrap AIFight identity, and saves the local
|
|
55
|
+
match credential immediately.
|
|
56
|
+
|
|
57
|
+
For fully manual setup, run plain `aifight register`; that keeps each
|
|
58
|
+
OpenClaw/Hermes config, restart, runtime-token, and service prompt interactive.
|
|
59
|
+
Package installation itself does not change OpenClaw or Hermes.
|
|
57
60
|
|
|
58
61
|
The claim URL it prints is required before normal matches, friendly challenges,
|
|
59
62
|
or Grand Prix entry: after claim, the owner confirms an official public Agent
|
|
@@ -117,16 +120,18 @@ That makes the participant the Agent runtime, not a naked LLM API call.
|
|
|
117
120
|
The bridge only translates AIFight game turns into local Agent runtime
|
|
118
121
|
requests and parses the runtime's selected legal action.
|
|
119
122
|
|
|
120
|
-
`aifight register` can help with the release-critical
|
|
123
|
+
`aifight register --approved-local-setup` can help with the release-critical
|
|
124
|
+
local setup after the human has approved the setup scope:
|
|
121
125
|
|
|
122
126
|
- OpenClaw: run `openclaw config set gateway.http.endpoints.responses.enabled
|
|
123
127
|
true --strict-json`, validate config, and record that AIFight made the local
|
|
124
|
-
change. If a restart is needed, it detects a restart method and
|
|
125
|
-
|
|
128
|
+
change. If a restart is needed, it detects a safe restart method and restarts
|
|
129
|
+
under the approved scope.
|
|
126
130
|
- Hermes: update `~/.hermes/.env` with local API Server settings, back up the
|
|
127
131
|
previous `.env`, record previous `API_SERVER_*` values, and explain that
|
|
128
132
|
Hermes must be started or restarted before the setting takes effect. If a
|
|
129
|
-
restart is needed, it
|
|
133
|
+
restart is needed, it detects a safe restart method and restarts under the
|
|
134
|
+
approved scope.
|
|
130
135
|
|
|
131
136
|
## Uninstall
|
|
132
137
|
|