p-backlog 0.5.0 → 0.6.0
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 +24 -0
- package/README.md +9 -1
- package/README.ru.md +10 -1
- package/dist/cli.js +670 -322
- package/dist/web/assets/{CodeTab-BU7UU1i4.js → CodeTab-D3I5lIJJ.js} +1 -1
- package/dist/web/assets/CostTab-8f2AC5ER.js +1 -0
- package/dist/web/assets/EffectTab-1jObLK9a.js +1 -0
- package/dist/web/assets/Figure-BHBCd7Dt.js +1 -0
- package/dist/web/assets/OverviewTab-DjNyxzJq.js +1 -0
- package/dist/web/assets/QualityTab-W2NdYBhI.js +1 -0
- package/dist/web/assets/StatsPage-rJH3k8Ye.js +1 -0
- package/dist/web/assets/StatsTabState-BoimPoKm.js +1 -0
- package/dist/web/assets/{StatsTable-C0coWtNM.js → StatsTable-B0tbx68M.js} +1 -1
- package/dist/web/assets/{UnavailableRepos-DDHmBHg0.js → UnavailableRepos-SpC6Dzwu.js} +1 -1
- package/dist/web/assets/cx-DDl6tKXq.js +58 -0
- package/dist/web/assets/{index-DN4lSwOL.js → index-C8xqRmo-.js} +2 -2
- package/dist/web/assets/start-YlC0KTe5.js +38 -0
- package/dist/web/assets/use-grain-series-Bx70IZvb.js +55 -0
- package/dist/web/assets/value-dot-B7BsbWBD.js +1 -0
- package/dist/web/index.html +1 -1
- package/package.json +1 -1
- package/dist/web/assets/ChartTooltip-b-yZtIRd.js +0 -55
- package/dist/web/assets/CostTab-Be8xR9DU.js +0 -1
- package/dist/web/assets/EffectTab-D0kaZiSl.js +0 -1
- package/dist/web/assets/Figure-B6Ry1zXo.js +0 -1
- package/dist/web/assets/OverviewTab-DqU7o9Ug.js +0 -1
- package/dist/web/assets/QualityTab-DtnTgxXj.js +0 -1
- package/dist/web/assets/StatsPage-BLZKtSL6.js +0 -1
- package/dist/web/assets/StatsTabState-CYkDWYp7.js +0 -1
- package/dist/web/assets/cx-Cfec8QGz.js +0 -58
- package/dist/web/assets/rolldown-runtime-hePW80VL.js +0 -1
- package/dist/web/assets/start-sbZVqXmP.js +0 -38
- package/dist/web/assets/value-dot-CfFRNT_m.js +0 -1
- /package/dist/web/assets/{ChartTooltip-tQC8-pw2.css → use-grain-series-tQC8-pw2.css} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.6.0
|
|
4
|
+
|
|
5
|
+
- Statistics on the server read only what was appended to project journals and the CLI run log, keep parsed task
|
|
6
|
+
histories between requests, and rescan git only for new commits (a new day no longer rescans the 90-day window, and
|
|
7
|
+
if reading the main branch's log fails, the repository is shown as unavailable for that refresh instead of silently
|
|
8
|
+
showing no changes); a change in one project no longer drops the cached reports of the others.
|
|
9
|
+
- The Code tab's commit counts now also include commits of merged branches that git history simplification used to
|
|
10
|
+
skip (a merge tree-same with a parent: a change and its revert, `merge -s ours`, a change already cherry-picked) —
|
|
11
|
+
on ordinary histories nothing changes.
|
|
12
|
+
- The code cache file format changed, so the first run after this update rescans git once.
|
|
13
|
+
- An event appended to a project journal or the CLI run log no longer merges with the last line when that line lacks
|
|
14
|
+
a trailing newline (a hand edit, an interrupted write): both events stay readable.
|
|
15
|
+
|
|
16
|
+
## 0.5.1
|
|
17
|
+
|
|
18
|
+
- Every statistics chart (debt, created, check precision, effect, usage) has its own "week / day" toggle: 12 weeks or
|
|
19
|
+
30 days; the choice is remembered per chart. Cost history is now kept for 12 weeks, so weekly usage fills in as data
|
|
20
|
+
accumulates (Claude Code deletes transcripts after 30 days by default).
|
|
21
|
+
- Codex and Cursor share one skill link in `~/.agents/skills` (Cursor reads it too); `setup` removes the older
|
|
22
|
+
`~/.cursor/skills` / `~/.codex/skills` links it made, and `setup --remove-manual --agent cursor` keeps the shared
|
|
23
|
+
link while Codex still uses it. Before, Cursor listed the skill up to three times.
|
|
24
|
+
- On Windows, writing a task file waits up to about 5 seconds (was about 1.3) for another process such as an
|
|
25
|
+
antivirus or indexer to release it.
|
|
26
|
+
|
|
3
27
|
## 0.5.0
|
|
4
28
|
|
|
5
29
|
Claude Code plugin and other agents:
|
package/README.md
CHANGED
|
@@ -103,13 +103,17 @@ limits it to one:
|
|
|
103
103
|
|---|---|---|---|
|
|
104
104
|
| Claude Code | always | `~/.claude/skills/backlog` | `~/.claude/settings.json` |
|
|
105
105
|
| Codex CLI | `$CODEX_HOME` or `~/.codex` | `~/.agents/skills/backlog` | `<codex home>/hooks.json` |
|
|
106
|
-
| Cursor | `~/.cursor` | `~/.
|
|
106
|
+
| Cursor | `~/.cursor` | `~/.agents/skills/backlog` | `~/.cursor/hooks.json` |
|
|
107
107
|
|
|
108
108
|
The skill is a link to the package's skill in the configured language; `backlog config language` switches it for
|
|
109
109
|
every agent where `setup` installed it. Other hooks in those files stay as they are, and running `setup` again adds nothing twice. Codex asks
|
|
110
110
|
you to review and approve the new hook once: open `/hooks` in Codex. In Cursor the re-check request arrives as a
|
|
111
111
|
follow-up message. Token and cost statistics cover Claude Code only.
|
|
112
112
|
|
|
113
|
+
Codex and Cursor share one skill link in `~/.agents/skills`, the common skills folder both read; `setup` removes
|
|
114
|
+
the older links it made in `~/.codex/skills` and `~/.cursor/skills`. Cursor also reads `~/.claude/skills`, so with
|
|
115
|
+
Claude Code connected manually it may list the skill twice.
|
|
116
|
+
|
|
113
117
|
If the Claude Code plugin is enabled, `setup` leaves Claude Code alone; `backlog setup --remove-manual` removes the
|
|
114
118
|
skill links and Stop hooks that `setup` installed earlier (for all agents, or for `--agent`).
|
|
115
119
|
|
|
@@ -305,3 +309,7 @@ To try a build the way a published package would install, without publishing it:
|
|
|
305
309
|
```bash
|
|
306
310
|
npm pack && npm i -g ./p-backlog-0.2.0.tgz
|
|
307
311
|
```
|
|
312
|
+
|
|
313
|
+
Releases are published to npm by the `Release` GitHub Actions workflow through npm Trusted Publishing: bump the
|
|
314
|
+
version and the CHANGELOG, run `npm run plugins`, commit, push, then push the tag `v<version>` — the workflow checks that
|
|
315
|
+
the tag matches `package.json`, runs the checks and publishes with provenance. No npm token is stored anywhere.
|
package/README.ru.md
CHANGED
|
@@ -102,13 +102,17 @@
|
|
|
102
102
|
|---|---|---|---|
|
|
103
103
|
| Claude Code | всегда | `~/.claude/skills/backlog` | `~/.claude/settings.json` |
|
|
104
104
|
| Codex CLI | `$CODEX_HOME` или `~/.codex` | `~/.agents/skills/backlog` | `<каталог codex>/hooks.json` |
|
|
105
|
-
| Cursor | `~/.cursor` | `~/.
|
|
105
|
+
| Cursor | `~/.cursor` | `~/.agents/skills/backlog` | `~/.cursor/hooks.json` |
|
|
106
106
|
|
|
107
107
|
Скилл — ссылка на скилл пакета на выбранном языке; `backlog config language` переставляет её у всех
|
|
108
108
|
агентов, которым её поставил `setup`. Чужие хуки в этих файлах остаются на месте, повторный `setup` ничего
|
|
109
109
|
не дублирует. Codex один раз просит одобрить новый хук: откройте `/hooks` в Codex. В Cursor просьба перепроверить
|
|
110
110
|
задачи приходит следующим сообщением. Статистика токенов и расходов считает только Claude Code.
|
|
111
111
|
|
|
112
|
+
У Codex и Cursor одна ссылка на скилл в `~/.agents/skills` — общем каталоге скиллов, который читают оба; прежние
|
|
113
|
+
ссылки в `~/.codex/skills` и `~/.cursor/skills` `setup` снимает. Cursor читает ещё и `~/.claude/skills`, поэтому при
|
|
114
|
+
ручной установке для Claude Code он может показать скилл дважды.
|
|
115
|
+
|
|
112
116
|
Если включён плагин для Claude Code, `setup` Claude Code не трогает; `backlog setup --remove-manual` снимает ссылки на
|
|
113
117
|
скилл и хуки Stop, которые `setup` ставил раньше (у всех агентов или у `--agent`).
|
|
114
118
|
|
|
@@ -299,3 +303,8 @@ npm run screenshots # скриншоты для README на дем
|
|
|
299
303
|
```bash
|
|
300
304
|
npm pack && npm i -g ./p-backlog-0.2.0.tgz
|
|
301
305
|
```
|
|
306
|
+
|
|
307
|
+
Версии публикует в npm workflow GitHub Actions `Release` через Trusted Publishing: поднимите версию и CHANGELOG,
|
|
308
|
+
выполните `npm run plugins`, закоммитьте, запушьте и запушьте тег `v<версия>` — workflow проверит, что тег совпадает
|
|
309
|
+
с `package.json`, прогонит проверки и опубликует пакет с подтверждением происхождения (provenance). Токен npm нигде не
|
|
310
|
+
хранится.
|