getgloss 0.7.2 → 0.8.1

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
@@ -9,6 +9,23 @@ git diff, opens a localhost review UI, lets you attach comments to changed
9
9
  lines or ranges, and writes structured feedback under `~/.gloss` for an agent
10
10
  to re-ingest.
11
11
 
12
+ ## Demo
13
+
14
+ <video
15
+ src="public/gloss-demo.mp4"
16
+ poster="public/gloss-demo-poster.jpg"
17
+ controls
18
+ >
19
+ <track
20
+ default
21
+ kind="captions"
22
+ label="English"
23
+ src="public/gloss-demo-captions.vtt"
24
+ srclang="en"
25
+ />
26
+ Watch the Gloss demo video in `public/gloss-demo.mp4`.
27
+ </video>
28
+
12
29
  ## Install
13
30
 
14
31
  ```bash
@@ -51,10 +68,11 @@ npx skills add iamrajjoshi/gloss --skill gloss -a claude-code
51
68
  `-g` installs to `~/.claude/skills/`, `-a claude-code` targets Claude Code, and
52
69
  `--skill gloss` installs only the Gloss skill folder from the repo. The skill
53
70
  teaches agents to run `gloss open --json`, wait for browser submission, read
54
- `feedbackPath`, apply comments, validate, and mark comments or the review
55
- resolved with `gloss resolve`.
71
+ `feedbackPath`, apply comments, validate, continue the same review with
72
+ `gloss open --review <reviewId> --json`, and mark comments or turns resolved
73
+ with `gloss resolve`.
56
74
 
57
- The hosted install script remains npm-only:
75
+ The hosted install script installs the npm package:
58
76
 
59
77
  ```bash
60
78
  curl -fsSL https://getgloss.dev/install.sh | sh
@@ -63,12 +81,12 @@ curl -fsSL https://getgloss.dev/install.sh | sh
63
81
  ## Commands
64
82
 
65
83
  ```text
66
- gloss open [--base <ref>] [--print-url] [--no-open] [--json] [--no-watch] [--timeout <s>]
84
+ gloss open [--base <ref>] [--review <reviewId>] [--print-url] [--no-open] [--json] [--no-watch] [--timeout <s>]
67
85
  gloss watch <reviewId>
68
- gloss resolve <reviewId> [--comment <commentId>] [--summary <text>] [--json]
86
+ gloss resolve <reviewId> [--comment <commentId>] [--turn <id-or-index>] [--summary <text>] [--json]
69
87
  gloss start [--port <port>]
70
88
  gloss status
71
- gloss stop
89
+ gloss stop [--all]
72
90
  gloss doctor
73
91
  ```
74
92
 
@@ -83,6 +101,19 @@ best available merge-base from upstream, `origin/HEAD`, `origin/main`, or
83
101
  Use `--base <ref>` when you want an explicit comparison. Explicit base mode
84
102
  compares only against the requested ref and does not switch to a branch diff.
85
103
 
104
+ `gloss open --json` waits until the browser review is submitted. Use
105
+ `--no-watch` when a caller only needs to open the review and return immediately.
106
+ Use `gloss open --review <reviewId> --json` after applying feedback to capture
107
+ the next diff as another turn in the same browser review.
108
+ The background server exits automatically after a short idle window with no
109
+ pending reviews. `gloss doctor` reports unmanaged daemon processes, and
110
+ `gloss stop --all` cleans them up.
111
+
112
+ `gloss clear` deletes completed review artifacts older than 30 days from
113
+ `~/.gloss/reviews` while always preserving pending reviews. Use
114
+ `gloss clear --dry-run` to preview candidates, or `--older-than <days>` to
115
+ choose a different retention window.
116
+
86
117
  ## Review UI
87
118
 
88
119
  In the browser review, drag over a changed line or range to open a draft
@@ -90,6 +121,11 @@ comment. Use `Command+Enter` to save the active draft comment. Use
90
121
  `Command+Shift+Enter` to submit the review; this matches the Submit button and
91
122
  includes already-saved comments only.
92
123
 
124
+ When branch reviews include per-commit diffs, the commit picker changes only the
125
+ current preview. Gloss persists that selected scope when the review is submitted,
126
+ so `feedback.json` records whether the human reviewed all commits, one commit, or
127
+ a contiguous commit range.
128
+
93
129
  ## Feedback Files
94
130
 
95
131
  Submitted reviews are written to:
@@ -97,21 +133,26 @@ Submitted reviews are written to:
97
133
  ```text
98
134
  ~/.gloss/reviews/<reviewId>/
99
135
  meta.json
100
- diff.json
101
- feedback.json
102
- feedback.md
103
- resolved.json
136
+ turns/
137
+ <turnId>/
138
+ turn.json
139
+ diff.json
140
+ feedback.json
141
+ feedback.md
142
+ resolved.json
104
143
  ```
105
144
 
106
- `feedback.json` is the machine-readable payload. `feedback.md` is a readable
107
- summary ordered by file and line. `resolved.json` is mutable resolution
108
- progress for individual comments and the full review. After applying feedback,
109
- use `gloss resolve <reviewId> --comment <commentId> --summary "..."` for a
110
- single comment or `gloss resolve <reviewId> --summary "..."` for the whole
111
- review. Set `GLOSS_STATE_DIR` to use an isolated state root for tests or
145
+ `feedback.json` is the machine-readable payload and includes `reviewScope` for
146
+ submitted commit-preview scope. `feedback.md` is a readable summary ordered by
147
+ file and line. `resolved.json` is mutable resolution progress for individual
148
+ comments and the turn. After applying feedback, use
149
+ `gloss resolve <reviewId> --comment <commentId> --summary "..."` for a single
150
+ comment or `gloss resolve <reviewId> --turn <id-or-index> --summary "..."` for a
151
+ specific turn. Without `--turn`, whole-review resolution targets the latest
152
+ turn. Set `GLOSS_STATE_DIR` to use an isolated state root for tests or
112
153
  development.
113
- For a follow-up pass after fixes or new commits, start a fresh session with
114
- `gloss open --json`.
154
+ For a follow-up pass after fixes or new commits, continue the same review with
155
+ `gloss open --review <reviewId> --json`.
115
156
 
116
157
  ## Development
117
158