@ariobarin/glossa 0.1.0-beta.10 → 0.1.0-beta.11

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.
Files changed (3) hide show
  1. package/README.md +8 -11
  2. package/dist/app.js +1163 -1190
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -24,29 +24,26 @@ macOS or Linux:
24
24
  curl -fsSL https://glossa.sh/install.sh | sh
25
25
  ```
26
26
 
27
- Then choose a recognizable name during this computer's first enrollment:
27
+ Open a terminal in the repository you want to expose, then run:
28
28
 
29
29
  ```shell
30
- cd path/to/a/project
31
- glossa --device-name "my-workstation" .
30
+ glossa
32
31
  ```
33
32
 
34
33
  The hosted commands run the tracked scripts in `site`. They verify native
35
- release checksums before installing. Use `glossa update` or its
36
- `glossa upgrade` alias to update later with the original installation method.
34
+ release checksums before installing. Use `glossa update` later with the original
35
+ installation method.
37
36
 
38
37
  Glossa opens Google sign-in automatically when needed using OAuth Device Authorization Flow. Public client and resource identifiers are built in, so testers do not configure OAuth values. Use the same Google account when authorizing Glossa in ChatGPT.
39
38
 
40
39
  OAuth and device credentials use the operating-system credential store. If it is unavailable, Glossa warns before using a restricted credential file.
41
40
 
42
- `--device-name` is used only during initial enrollment. Later starts reuse the enrolled name; use `glossa devices rename <id> <name>` to change it. Without the option, the first managed session enrolls the computer under its hostname. `glossa start .` selects the current directory explicitly. Each process registers an independent workspace, so the same computer may expose several workspaces at once. The process prints the canonical root, connection state, shell authority warning, and write or command activity. Press Ctrl+C to disconnect.
41
+ Glossa signs in automatically and exposes the current Git worktree. Pass a directory to expose a different workspace. The live session display shows the connection, authority, and recent activity.
43
42
 
44
- The experimental `glossa ui .` command opens a compact live session HUD and immediately exposes the selected workspace. Press `d` for recent activity, `?` for help, and `q` to disconnect. The screen keeps the worker-account authority warning visible.
43
+ The live display contains the full interactive workflow. Press `s` for account and device status, `r` to revoke a device, `l` to sign out, `u` to update, `d` for recent activity, or `q` or Ctrl+C to disconnect. Press `?` to see the keys at any time.
45
44
 
46
- Glossa signs in automatically whenever an authenticated command needs an account. `glossa login` is an optional preflight. `glossa status` validates the session and relay, then reports enrolled devices and active workers. `glossa doctor` performs a read-only readiness check, including the local device credential, and supports `--json`. Use `glossa devices list`, `glossa devices rename <id> <name>`, and `glossa devices revoke <id>` to manage enrolled computers.
47
-
48
- Generate shell completion with `glossa completions <powershell|bash|zsh|fish>` and source the output from your shell profile. For example, use `glossa completions powershell | Out-String | Invoke-Expression` in PowerShell, `source <(glossa completions bash)` in Bash, `source <(glossa completions zsh)` after `compinit` in Zsh, or `glossa completions fish | source` in Fish.
45
+ The same core actions remain available directly with `glossa status`, `glossa devices`, `glossa devices revoke <id>`, `glossa login`, `glossa logout`, and `glossa update`. Status and device listings accept `--json` for scripts.
49
46
 
50
47
  The managed endpoint defaults to `https://mcp.glossa.sh`. Development deployments may override `GLOSSA_RELAY_ORIGIN` and `GLOSSA_WORKER_ORIGIN`. Plain HTTP is accepted only for loopback relay origins and loopback or private IPv4 worker origins.
51
48
 
52
- Run `glossa logout` to remove the CLI's local OAuth credentials. Running workers remain connected until stopped or revoked. Run `glossa logout --browser` before switching Google accounts so the next Glossa authorization does not silently reuse the previous browser session.
49
+ Signing out removes local OAuth credentials, opens the browser logout page, and disconnects the current workspace. Other running Glossa sessions remain connected until stopped or revoked.