@ariobarin/glossa 0.1.0-beta.1 → 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.
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,49 @@
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
+ Open a terminal in the repository you want to expose, then run:
28
+
29
+ ```shell
30
+ glossa
31
+ ```
32
+
33
+ The hosted commands run the tracked scripts in `site`. They verify native
34
+ release checksums before installing. Use `glossa update` later with the original
35
+ installation method.
36
+
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.
38
+
39
+ OAuth and device credentials use the operating-system credential store. If it is unavailable, Glossa warns before using a restricted credential file.
40
+
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.
42
+
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.
44
+
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.
46
+
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.
48
+
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.