@ours.network/install 1.2.1-nightly.17 → 1.2.1-nightly.18
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 +39 -0
- package/assets/release-lock.json +1080 -4267
- package/assets/release.json +25 -25
- package/assets/sources.json +35 -35
- package/install.mjs +5 -1
- package/lib/client-cli.mjs +11 -1
- package/lib/server-onboarding.mjs +50 -9
- package/lib/setup-options.mjs +2 -2
- package/lib/workspace-setup.mjs +52 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -520,3 +520,42 @@ OURS_TEST_DOCKER=1 node --test test/gateway-docker.test.mjs
|
|
|
520
520
|
PODMAN_COMPOSE_PROVIDER=/absolute/path/to/docker-compose \
|
|
521
521
|
OURS_TEST_PODMAN=1 node --test test/gateway-docker.test.mjs
|
|
522
522
|
```
|
|
523
|
+
|
|
524
|
+
## Account workspace enrollment (task build)
|
|
525
|
+
|
|
526
|
+
The unmerged account onboarding feature requires matching reviewed installer,
|
|
527
|
+
Fleet and Messenger task builds. Do not advertise it as available in `@latest`.
|
|
528
|
+
Use an owned private directory and a 0600 downloaded payload:
|
|
529
|
+
|
|
530
|
+
```sh
|
|
531
|
+
node /absolute/task-ours-network/packages/installer/install.mjs \
|
|
532
|
+
--setup-workspace-file /absolute/private/workspace.payload \
|
|
533
|
+
--workspace-fleet-bin /absolute/task-ours-fleet/dist/cli.js \
|
|
534
|
+
--sources /absolute/private/task-sources.json
|
|
535
|
+
```
|
|
536
|
+
|
|
537
|
+
The wrapper defaults fresh hosts to the full Docker stack and retains existing
|
|
538
|
+
Human roots through the installed SDK with exact instance/private credential
|
|
539
|
+
selection. For an existing supported gateway add `--scope client --config` with
|
|
540
|
+
its private profile. It clears competing inherited daemon selectors before Fleet
|
|
541
|
+
initialization and enrollment; it never copies a browser device bearer to the
|
|
542
|
+
account server. A private stdin payload is also accepted by `--setup-workspace -`.
|
|
543
|
+
Encoding is not encryption; command arguments can enter history/process listings.
|
|
544
|
+
Cloudflare management tokens are forbidden in these payloads.
|
|
545
|
+
|
|
546
|
+
Docker and `cloudflared` are required for the fresh workflow. Supply a complete
|
|
547
|
+
`--fleet-settings` JSON for noninteractive Fleet initialization, or answer its
|
|
548
|
+
terminal prompts. Dry-run never initializes or enrolls Fleet. Read the matching
|
|
549
|
+
ours-app `server/DEPLOYMENT.md` for exact task source-policy generation, external
|
|
550
|
+
Google/Cloudflare prerequisites and account-server setup. On uncertain enrollment
|
|
551
|
+
check account status before requesting a new payload; do not reset identities or
|
|
552
|
+
replay a consumed invitation.
|
|
553
|
+
|
|
554
|
+
Workspace setup accepts exactly https://app.ours.network and the controlled test
|
|
555
|
+
account origin https://app.ours-tunnel.com. To move an existing same workspace to
|
|
556
|
+
the other origin, obtain a fresh payload from the moved account server and add
|
|
557
|
+
`--workspace-migrate-app-origin`. Fleet verifies the signed binding receipt before
|
|
558
|
+
changing local origin trust, preserves identities/config/device records, and
|
|
559
|
+
restarts the runtime. An implicit origin change is rejected. Browser account
|
|
560
|
+
cookies/device IndexedDB must be linked anew on the new origin. See the app
|
|
561
|
+
server/DEPLOYMENT.md switching procedure.
|