@agentconnect.md/setup 1.36.0 → 1.37.0-rc.3
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 +19 -15
- package/dist/index.js +95 -81
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
# `@agentconnect.md/setup`
|
|
2
2
|
|
|
3
|
-
Browser-based
|
|
4
|
-
GitHub, Slack, Google, Feishu, and Lark through one authenticated local
|
|
3
|
+
Browser-based Setup Server for AgentConnect self-hosting. It configures Logto,
|
|
4
|
+
GitHub, Slack, Google, Feishu, and Lark through one authenticated local operator
|
|
5
5
|
surface. Provider identities and write-only credentials are stored in the
|
|
6
6
|
deployment database; the UI never returns stored secret values.
|
|
7
7
|
|
|
8
8
|
This package has no command-line setup interface. Provider creation, match
|
|
9
9
|
checks, edits, secret replacement, and clearing a provider configuration all
|
|
10
|
-
happen in
|
|
10
|
+
happen in Setup.
|
|
11
11
|
|
|
12
12
|
## Run with Docker Compose
|
|
13
13
|
|
|
14
|
-
The local authentication stack includes
|
|
14
|
+
The local authentication stack includes Setup Server:
|
|
15
15
|
|
|
16
16
|
```bash
|
|
17
17
|
docker compose -f compose.yaml -f compose.logto.yaml up -d
|
|
@@ -19,15 +19,19 @@ docker compose -f compose.yaml -f compose.logto.yaml up -d
|
|
|
19
19
|
|
|
20
20
|
Open:
|
|
21
21
|
|
|
22
|
-
-
|
|
23
|
-
- Logto Console: `http://
|
|
24
|
-
- AgentConnect: `http://
|
|
22
|
+
- Setup: `http://localhost:8091`
|
|
23
|
+
- Logto Console: `http://localhost:3002`
|
|
24
|
+
- AgentConnect: `http://localhost:3000`
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
Setup first guides the operator through Logto Management API setup. It
|
|
27
27
|
does not display deployment configuration until an administrator has signed
|
|
28
28
|
in. The first signed-in user is assigned the shared `ADMIN` role; sign in once
|
|
29
29
|
more so the refreshed token contains that role.
|
|
30
30
|
|
|
31
|
+
Google is the shortest local sign-in path because its Web OAuth client accepts
|
|
32
|
+
the bundled bare `localhost` origins. Slack remains disabled until every
|
|
33
|
+
required public origin uses HTTPS.
|
|
34
|
+
|
|
31
35
|
## Run from source
|
|
32
36
|
|
|
33
37
|
Start the database and optional Logto services, then run the server directly:
|
|
@@ -44,14 +48,14 @@ are needed before the deployment database can be opened.
|
|
|
44
48
|
The public service origins are also startup environment:
|
|
45
49
|
|
|
46
50
|
```dotenv
|
|
47
|
-
AGENTCONNECT_PUBLIC_WEB_URL=http://
|
|
48
|
-
AGENTCONNECT_PUBLIC_CP_URL=http://
|
|
49
|
-
AGENTCONNECT_PUBLIC_RELAY_URL=http://
|
|
51
|
+
AGENTCONNECT_PUBLIC_WEB_URL=http://localhost:3000
|
|
52
|
+
AGENTCONNECT_PUBLIC_CP_URL=http://localhost:8080
|
|
53
|
+
AGENTCONNECT_PUBLIC_RELAY_URL=http://localhost:8090
|
|
50
54
|
```
|
|
51
55
|
|
|
52
|
-
|
|
53
|
-
derive their callbacks from them. Change the environment and restart
|
|
54
|
-
|
|
56
|
+
Setup shows these values at the top because GitHub and Slack manifests
|
|
57
|
+
derive their callbacks from them. Change the environment and restart Setup
|
|
58
|
+
Server before applying updated provider settings.
|
|
55
59
|
|
|
56
60
|
## Configuration ownership
|
|
57
61
|
|
|
@@ -66,5 +70,5 @@ Restart the consuming services after editing:
|
|
|
66
70
|
docker compose restart control-plane relay web
|
|
67
71
|
```
|
|
68
72
|
|
|
69
|
-
|
|
73
|
+
Setup Server is bound to loopback in the supplied Compose stack. For a remote
|
|
70
74
|
host, forward the port over SSH instead of exposing this HTTP service publicly.
|