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

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 CHANGED
@@ -1,20 +1,20 @@
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 `glossa` executable. Install the open 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.
package/dist/main.js CHANGED
@@ -13040,8 +13040,8 @@ function defaultDeviceName() {
13040
13040
  }
13041
13041
  function enrollmentError(status, data) {
13042
13042
  if (status === 401) return new Error("Glossa login was rejected. Run: glossa login");
13043
- if (status === 403 && data.error === "account_not_admitted") {
13044
- return new Error("This account has not been admitted to the Glossa private beta.");
13043
+ if (status === 403 && data.error === "account_disabled") {
13044
+ return new Error("This Glossa account is disabled.");
13045
13045
  }
13046
13046
  if (status === 409 && data.error === "device_name_conflict") {
13047
13047
  return new Error("A Glossa device with this computer name already exists and must be revoked before reenrollment.");
@@ -14012,7 +14012,7 @@ async function selectExposureRoot(explicitPath, allowBroadRoot = false, cwd = pr
14012
14012
  }
14013
14013
 
14014
14014
  // src/main.ts
14015
- var VERSION = "0.1.0-beta.1";
14015
+ var VERSION = "0.1.0-beta.3";
14016
14016
  function usage() {
14017
14017
  console.log(`Glossa ${VERSION}
14018
14018