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

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/LICENSE CHANGED
@@ -12,4 +12,10 @@ furnished to do so, subject to the following conditions:
12
12
  The above copyright notice and this permission notice shall be included in all
13
13
  copies or substantial portions of the Software.
14
14
 
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND.
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,20 +1,52 @@
1
- # @ariobarin/glossa
2
-
3
- This package contains the `glossa` executable. Install the private beta from npm:
4
-
5
- ```powershell
6
- npm install --global @ariobarin/glossa@beta
7
- glossa login
8
- glossa status
9
- glossa whoami
10
- Set-Location C:\path\to\a\repository
11
- glossa
12
- ```
13
-
14
- Login uses Auth0 Device Authorization Flow. Public tenant, client, and API identifiers are built in, so testers do not configure OAuth values.
15
-
16
- OAuth and device credentials use the operating-system credential store. If it is unavailable, Glossa warns before using a restricted credential file.
17
-
18
- The first managed session enrolls the computer under its hostname. Running `glossa` inside a Git worktree exposes only that worktree root. The process prints the canonical root, shell authority warning, and write or command activity. Press Ctrl+C to disconnect.
19
-
20
- 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.
1
+ # @ariobarin/glossa
2
+
3
+ This package contains the npm distribution of the `glossa` executable. Node.js
4
+ 22.9 or newer is required for this installation method.
5
+
6
+ The recommended open-beta install on Windows, macOS, and Linux uses npm:
7
+
8
+ ```shell
9
+ npm install --global @ariobarin/glossa@beta
10
+ ```
11
+
12
+ Glossa also provides a self-contained direct installer that does not require
13
+ Node.js or npm.
14
+
15
+ Windows:
16
+
17
+ ```powershell
18
+ irm https://glossa.sh/install | iex
19
+ ```
20
+
21
+ macOS or Linux:
22
+
23
+ ```shell
24
+ curl -fsSL https://glossa.sh/install.sh | sh
25
+ ```
26
+
27
+ Then choose a recognizable name during this computer's first enrollment:
28
+
29
+ ```shell
30
+ cd path/to/a/project
31
+ glossa --device-name "my-workstation" .
32
+ ```
33
+
34
+ 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.
37
+
38
+ 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
+
40
+ OAuth and device credentials use the operating-system credential store. If it is unavailable, Glossa warns before using a restricted credential file.
41
+
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.
43
+
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
+
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.
49
+
50
+ 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
+
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.