@aryasaatvik/scratchpad 0.3.0 → 0.3.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/CHANGELOG.md +10 -0
- package/README.md +8 -3
- package/dist/scratchpad.js +1000 -941
- package/docs/release.md +2 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
## @aryasaatvik/scratchpad@0.3.1
|
|
2
|
+
|
|
3
|
+
### Retire every file for a closed issue or milestone
|
|
4
|
+
|
|
5
|
+
When one issue or milestone had more than one backlog mapping, for example after two checkouts' mappings were adopted into one mount, `pull` retired only one of them on closure. The others stayed as active files and were never synced again. `pull` now retires every mapping for a closed object. For an open object it syncs through one mapping and reports any second file so you can merge it by hand. A second mapping whose file is already gone is dropped, so the next push no longer closes the issue.
|
|
6
|
+
|
|
7
|
+
### Re-list everything with `--full`
|
|
8
|
+
|
|
9
|
+
`scratchpad pull --full` and `scratchpad sync --full` list every remote issue and milestone instead of only those changed since the last pull. Use it once to retire files for closures that an earlier incremental pull already passed.
|
|
10
|
+
|
|
1
11
|
## @aryasaatvik/scratchpad@0.3.0
|
|
2
12
|
|
|
3
13
|
### Upload larger files with resumable multipart transfers
|
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ The SQLite store builds on drizzle-orm's native `effect-sqlite-bun` integration
|
|
|
25
25
|
|
|
26
26
|
## Install
|
|
27
27
|
|
|
28
|
-
Run with Bun:
|
|
28
|
+
Run with Bun 1.4.4 or newer:
|
|
29
29
|
|
|
30
30
|
```sh
|
|
31
31
|
bunx @aryasaatvik/scratchpad --help
|
|
@@ -110,7 +110,8 @@ the planned delete without mutating anything.
|
|
|
110
110
|
|
|
111
111
|
Backlog files follow the Scratchpad skill's contract: `status` is free text in
|
|
112
112
|
the repository's own vocabulary, the title is the first `# ` heading, and
|
|
113
|
-
`milestone` / `depends_on` are relative
|
|
113
|
+
`milestone` / `depends_on` are paths relative to the file that contains them, so issues
|
|
114
|
+
and milestones may be nested in subfolders of `backlog/issues/` and `backlog/milestones/`. A status whose first word is in
|
|
114
115
|
`backlog.closedStatuses` (default `done`, `complete(d)`, `closed`, `merged`,
|
|
115
116
|
`landed`, `delivered`, `cancel(l)ed`, `superseded`, `implemented`, `historical`,
|
|
116
117
|
`moved`) syncs as closed; anything else is open. Files in the older shape
|
|
@@ -144,7 +145,11 @@ scratchpad archive <paths...> --reason "<why>" # move into archive/<date>-<re
|
|
|
144
145
|
repository the project id is local to the directory. `--global` feedback lives in `~/.scratchpad`
|
|
145
146
|
(override with `SCRATCHPAD_GLOBAL_HOME`).
|
|
146
147
|
|
|
147
|
-
The classifier is opt-in:
|
|
148
|
+
The classifier is opt-in: store a key in
|
|
149
|
+
`$XDG_CONFIG_HOME/scratchpad/secrets/typesafe-api-key` (default
|
|
150
|
+
`~/.config/scratchpad/secrets/typesafe-api-key`), or set `TYPESAFE_API_KEY` to override it.
|
|
151
|
+
Keep the secrets directory private (`0700`) and the key file readable only by its owner (`0600`).
|
|
152
|
+
Relative `XDG_CONFIG_HOME` values are ignored. Optionally choose a model
|
|
148
153
|
with `SCRATCHPAD_CLASSIFIER` or `classifier.model` in `scratchpad.config.ts`
|
|
149
154
|
(`SCRATCHPAD_CLASSIFIER=none` disables it). Feedback is redacted before it is
|
|
150
155
|
sent for classification. Feedback files are written first, and classifier
|