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

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 +17 -10
  2. package/dist/app.js +2662 -1549
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -24,29 +24,36 @@ 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 directory 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. Stop every running Glossa session, then
35
+ rerun the original installation method to update Glossa.
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 directory. Pass a directory
42
+ to expose a different workspace. The responsive terminal interface shows the
43
+ workspace, device, and current connection or tool status.
43
44
 
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.
45
+ Press `d` for compact tool history, `s` for account and device status, or `?`
46
+ for help. The activity view shows each local tool name and a compact form of its
47
+ input. Press `q` or Ctrl+C to disconnect.
45
48
 
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.
49
+ Connected clients can modify files inside the exposed workspace and run commands
50
+ with the full environment and permissions of the operating-system account that
51
+ launched Glossa.
47
52
 
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.
53
+ Use `glossa status` to show the signed-in account, relay, devices, and active
54
+ workspaces. Use `glossa devices revoke <id>` to revoke a device. Use
55
+ `glossa logout` to remove local OAuth credentials and open browser sign-out.
49
56
 
50
57
  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
58
 
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.
59
+ Other running Glossa sessions remain connected until stopped or revoked.