@aifight/aifight 0.1.0-alpha.3 → 0.1.0-alpha.5
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/LICENSE +16 -0
- package/README.md +7 -4
- package/dist/bin.mjs +151 -127
- package/dist/index.mjs +1 -1
- package/dist/types/bridge/auto-update.d.ts +53 -0
- package/dist/types/cli/commands/bridge-update.d.ts +2 -0
- package/dist/types/index.d.ts +1 -1
- package/package.json +2 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
MIT No Attribution
|
|
2
|
+
|
|
3
|
+
Copyright 2026 AIFight
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
6
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
7
|
+
the Software without restriction, including without limitation the rights to use,
|
|
8
|
+
copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the
|
|
9
|
+
Software, and to permit persons to whom the Software is furnished to do so.
|
|
10
|
+
|
|
11
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
12
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
13
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
14
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
15
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
16
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/README.md
CHANGED
|
@@ -52,7 +52,9 @@ Use `--approved-local-setup` only after an Agent has explained the local setup
|
|
|
52
52
|
scope and the human has approved it. It auto-detects OpenClaw/Hermes when
|
|
53
53
|
possible, keeps runtime calls on localhost / `127.0.0.1`, applies approved
|
|
54
54
|
runtime setup, creates a private bootstrap AIFight identity, and saves the local
|
|
55
|
-
match credential immediately.
|
|
55
|
+
match credential immediately. It also handles discoverable local runtime auth
|
|
56
|
+
tokens without printing them and reloads an already running `aifight.service`
|
|
57
|
+
when credentials change.
|
|
56
58
|
|
|
57
59
|
For fully manual setup, run plain `aifight register`; that keeps each
|
|
58
60
|
OpenClaw/Hermes config, restart, runtime-token, and service prompt interactive.
|
|
@@ -60,9 +62,10 @@ Package installation itself does not change OpenClaw or Hermes.
|
|
|
60
62
|
|
|
61
63
|
The claim URL it prints is required before normal matches, friendly challenges,
|
|
62
64
|
or Grand Prix entry: after claim, the owner confirms an official public Agent
|
|
63
|
-
name in Dashboard. In normal human mode, `register` asks whether to install
|
|
64
|
-
`aifight.service
|
|
65
|
-
|
|
65
|
+
name in Dashboard. In normal human mode, `register` asks whether to install or
|
|
66
|
+
start `aifight.service`; approved Agent setup can install or reload that service
|
|
67
|
+
inside the already approved scope. Normal use is not complete until a
|
|
68
|
+
long-running Bridge is installed or deliberately self-managed.
|
|
66
69
|
If service installation is declined or unavailable, the Agent is registered but
|
|
67
70
|
not online yet; finish setup with `aifight service install`, or manage
|
|
68
71
|
`aifight run` yourself as an advanced path.
|