@atlasharness/atlasweb 0.1.0 → 0.1.1
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 -6
- package/dist/assets/{index-DROYFZrs.js → index-DazO2qme.js} +44 -44
- package/dist/index.html +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -16,16 +16,29 @@ web-session runtime.
|
|
|
16
16
|
|
|
17
17
|
## Serving
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
One command serves both the UI and the session API on the same origin: the
|
|
20
|
+
repository's web-host launcher takes `--static` pointing at this bundle's
|
|
21
|
+
`dist/` directory (from the installed npm package or a local build):
|
|
20
22
|
|
|
21
23
|
```sh
|
|
22
|
-
|
|
24
|
+
# from the paired AtlasWeb repository checkout
|
|
25
|
+
bun packages/web-host/src/launchCli.ts --port 8940 \
|
|
26
|
+
--static node_modules/@atlasharness/atlasweb/dist \
|
|
27
|
+
--scope main=<scope-dir>
|
|
28
|
+
# <scope-dir> is the AtlasCode session storage dir for your project,
|
|
29
|
+
# e.g. ~/.atlas/projects/-home-vince-projects-atlascode (cwd with '/' → '-').
|
|
23
30
|
```
|
|
24
31
|
|
|
25
|
-
It
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
32
|
+
It prints one ready line with a single-use launch `token`. Open
|
|
33
|
+
`http://127.0.0.1:<port>/?token=<token>`; the app redeems it against the
|
|
34
|
+
host (HttpOnly cookie) and strips it from the address bar. Browsers boot the
|
|
35
|
+
UI without credentials — the static face sits in front of the auth gate and
|
|
36
|
+
API calls ride the ambient cookie.
|
|
37
|
+
|
|
38
|
+
`--static` is optional: without it the host serves only the API (pair with
|
|
39
|
+
any static file server / reverse proxy for the UI). The launcher itself is
|
|
40
|
+
part of this repository (`packages/web-host`) and is not yet published as a
|
|
41
|
+
standalone binary.
|
|
29
42
|
|
|
30
43
|
## Versioning
|
|
31
44
|
|