github-issue-tower-defence-management 1.128.0 → 1.129.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.
Files changed (43) hide show
  1. package/.github/workflows/console-ui.yml +1 -1
  2. package/.github/workflows/empty-format-test-job.yml +1 -1
  3. package/.github/workflows/format.yml +1 -1
  4. package/.github/workflows/publish.yml +1 -1
  5. package/.github/workflows/test.yml +1 -1
  6. package/CHANGELOG.md +14 -0
  7. package/README.md +3 -3
  8. package/bin/adapter/entry-points/console/ui-dist/assets/index-Dr5qin37.js +103 -0
  9. package/bin/adapter/entry-points/console/ui-dist/index.html +1 -1
  10. package/bin/adapter/entry-points/console/webServer.js +56 -3
  11. package/bin/adapter/entry-points/console/webServer.js.map +1 -1
  12. package/bin/domain/entities/WorkflowStatus.js +6 -1
  13. package/bin/domain/entities/WorkflowStatus.js.map +1 -1
  14. package/bin/domain/usecases/console/GenerateConsoleListsUseCase.js +1 -0
  15. package/bin/domain/usecases/console/GenerateConsoleListsUseCase.js.map +1 -1
  16. package/package.json +3 -3
  17. package/src/adapter/entry-points/console/ui/src/features/console/components/content/ConsoleMarkdownContent.stories.tsx +1 -2
  18. package/src/adapter/entry-points/console/ui/src/features/console/hooks/useConsoleCaches.ts +2 -4
  19. package/src/adapter/entry-points/console/ui/src/features/console/hooks/useConsoleOperations.test.ts +7 -7
  20. package/src/adapter/entry-points/console/ui/src/features/console/hooks/useConsoleOperations.ts +15 -18
  21. package/src/adapter/entry-points/console/ui/src/features/console/hooks/useConsoleTabData.ts +2 -5
  22. package/src/adapter/entry-points/console/ui/src/features/console/lib/consoleApi.test.ts +22 -25
  23. package/src/adapter/entry-points/console/ui/src/features/console/lib/consoleApi.ts +12 -23
  24. package/src/adapter/entry-points/console/ui/src/features/console/lib/imageProxy.test.ts +7 -10
  25. package/src/adapter/entry-points/console/ui/src/features/console/lib/imageProxy.ts +2 -9
  26. package/src/adapter/entry-points/console/ui/src/features/console/pages/ConsoleItemDetailContainer.tsx +2 -4
  27. package/src/adapter/entry-points/console/ui-dist/assets/index-Dr5qin37.js +103 -0
  28. package/src/adapter/entry-points/console/ui-dist/index.html +1 -1
  29. package/src/adapter/entry-points/console/webServer.test.ts +283 -6
  30. package/src/adapter/entry-points/console/webServer.ts +64 -0
  31. package/src/domain/entities/WorkflowStatus.ts +5 -0
  32. package/src/domain/usecases/SetupTowerDefenceProjectUseCase.test.ts +92 -2
  33. package/src/domain/usecases/console/GenerateConsoleListsUseCase.test.ts +2 -0
  34. package/src/domain/usecases/console/GenerateConsoleListsUseCase.ts +1 -0
  35. package/types/adapter/entry-points/console/webServer.d.ts +5 -1
  36. package/types/adapter/entry-points/console/webServer.d.ts.map +1 -1
  37. package/types/domain/entities/WorkflowStatus.d.ts +1 -0
  38. package/types/domain/entities/WorkflowStatus.d.ts.map +1 -1
  39. package/types/domain/usecases/console/GenerateConsoleListsUseCase.d.ts.map +1 -1
  40. package/bin/adapter/entry-points/console/ui-dist/assets/index-8H0HejYa.js +0 -103
  41. package/src/adapter/entry-points/console/ui/src/features/console/hooks/useConsoleToken.test.ts +0 -41
  42. package/src/adapter/entry-points/console/ui/src/features/console/hooks/useConsoleToken.ts +0 -64
  43. package/src/adapter/entry-points/console/ui-dist/assets/index-8H0HejYa.js +0 -103
@@ -21,7 +21,7 @@ jobs:
21
21
  - name: Checkout repository
22
22
  uses: actions/checkout@v7
23
23
 
24
- - uses: actions/setup-node@v6
24
+ - uses: actions/setup-node@v7
25
25
  with:
26
26
  node-version: 24
27
27
 
@@ -22,7 +22,7 @@ jobs:
22
22
  - uses: actions/checkout@v7
23
23
  with:
24
24
  token: ${{ secrets.GH_TOKEN || github.token }}
25
- - uses: actions/setup-node@v6
25
+ - uses: actions/setup-node@v7
26
26
  with:
27
27
  node-version: 20
28
28
  - run: git pull
@@ -17,7 +17,7 @@ jobs:
17
17
  - uses: actions/checkout@v7
18
18
  with:
19
19
  token: ${{ secrets.GH_TOKEN || github.token }}
20
- - uses: actions/setup-node@v6
20
+ - uses: actions/setup-node@v7
21
21
  with:
22
22
  node-version: 24
23
23
  - run: git pull
@@ -45,7 +45,7 @@ jobs:
45
45
  token: ${{ steps.app-token.outputs.token }}
46
46
  fetch-depth: 0
47
47
 
48
- - uses: actions/setup-node@v6
48
+ - uses: actions/setup-node@v7
49
49
  with:
50
50
  node-version: 24
51
51
 
@@ -20,7 +20,7 @@ jobs:
20
20
  with:
21
21
  fetch-depth: 0
22
22
 
23
- - uses: actions/setup-node@v6
23
+ - uses: actions/setup-node@v7
24
24
  with:
25
25
  node-version: 24
26
26
  - name: Install dependencies
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ # [1.129.0](https://github.com/HiromiShikata/npm-cli-github-issue-tower-defence-management/compare/v1.128.1...v1.129.0) (2026-07-24)
2
+
3
+
4
+ ### Features
5
+
6
+ * **core:** add 'Todo by agent' workflow status (blue), mirroring 'Todo by human' ([#1254](https://github.com/HiromiShikata/npm-cli-github-issue-tower-defence-management/issues/1254)) ([624bb49](https://github.com/HiromiShikata/npm-cli-github-issue-tower-defence-management/commit/624bb492f3f2da5ea601ae6ee39defe3946af3da))
7
+
8
+ ## [1.128.1](https://github.com/HiromiShikata/npm-cli-github-issue-tower-defence-management/compare/v1.128.0...v1.128.1) (2026-07-24)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **console:** move access token from ?k= query into HttpOnly cookie and redirect to keyless URL ([#1251](https://github.com/HiromiShikata/npm-cli-github-issue-tower-defence-management/issues/1251)) ([76851e3](https://github.com/HiromiShikata/npm-cli-github-issue-tower-defence-management/commit/76851e3d7673b935e8ef59637796f8cfed19ced4)), closes [#1250](https://github.com/HiromiShikata/npm-cli-github-issue-tower-defence-management/issues/1250)
14
+
1
15
  # [1.128.0](https://github.com/HiromiShikata/npm-cli-github-issue-tower-defence-management/compare/v1.127.0...v1.128.0) (2026-07-24)
2
16
 
3
17
 
package/README.md CHANGED
@@ -161,7 +161,7 @@ npx github-issue-tower-defence-management countInTmuxByHumanSessionsPerToken --c
161
161
 
162
162
  The `config.yaml` for the `schedule` command must match the input type of `HandleScheduledEventUseCase.run()`. Below is the structure:
163
163
 
164
- Workflow status names (`Unread`, `Awaiting Workspace`, `Preparation`, `Failed Preparation`, `Awaiting Quality Check`, `Todo by human`, `In Tmux by human`, `In Tmux by agent`, `Done`, `Icebox`) are fixed code constants and cannot be overridden from CLI options, config files, or project README. The `schedule` command automatically creates any missing required statuses on the target project on each run via `SetupTowerDefenceProjectUseCase`. Projects with the legacy `Todo` and `In Tmux` status names are automatically migrated to `Todo by human` and `In Tmux by human` respectively by reusing the existing option IDs so that task associations are preserved. The legacy `PC Todo` status is removed from the required list and excluded from the project status list on the next setup run. The legacy `Awaiting Task Breakdown` status is removed from the required list; any project items in that status are automatically moved to `Todo by human` and the status option is removed on the next setup run.
164
+ Workflow status names (`Unread`, `Awaiting Workspace`, `Preparation`, `Failed Preparation`, `Awaiting Quality Check`, `Todo by human`, `Todo by agent`, `In Tmux by human`, `In Tmux by agent`, `Done`, `Icebox`) are fixed code constants and cannot be overridden from CLI options, config files, or project README. The `schedule` command automatically creates any missing required statuses on the target project on each run via `SetupTowerDefenceProjectUseCase`. Projects with the legacy `Todo` and `In Tmux` status names are automatically migrated to `Todo by human` and `In Tmux by human` respectively by reusing the existing option IDs so that task associations are preserved. The legacy `PC Todo` status is removed from the required list and excluded from the project status list on the next setup run. The legacy `Awaiting Task Breakdown` status is removed from the required list; any project items in that status are automatically moved to `Todo by human` and the status option is removed on the next setup run.
165
165
 
166
166
  The two tmux-related statuses have distinct meanings. `In Tmux by human` means a task being handled in a live tmux session together with the human owner, who attends the session and converses with it; the owner does look at these tasks. `In Tmux by agent` means a task managed by an agent in tmux that the human owner does not look at. A task launched into a live, owner-attended session therefore belongs to `In Tmux by human`, and setting such a task to `In Tmux by agent` would remove it from the owner's view.
167
167
 
@@ -309,7 +309,7 @@ changeTargetPathAliases?: # Optional: Map of short alias keys to full repository
309
309
  adapter-interfaces: src/domain/usecases/adapter-interfaces
310
310
  ```
311
311
 
312
- Workflow status names (`Unread`, `Awaiting Workspace`, `Preparation`, `Failed Preparation`, `Awaiting Quality Check`, `Todo by human`, `In Tmux by human`, `In Tmux by agent`, `Done`, `Icebox`) are hardcoded constants and are not accepted via this config, the CLI, or the project README. To ensure they exist on the target project, run the `schedule` command — it invokes `SetupTowerDefenceProjectUseCase` automatically. Projects with the legacy `Todo` and `In Tmux` status names are automatically migrated; `PC Todo` and `Awaiting Task Breakdown` are removed on the next setup run (items in `Awaiting Task Breakdown` are moved to `Todo by human` before the option is deleted).
312
+ Workflow status names (`Unread`, `Awaiting Workspace`, `Preparation`, `Failed Preparation`, `Awaiting Quality Check`, `Todo by human`, `Todo by agent`, `In Tmux by human`, `In Tmux by agent`, `Done`, `Icebox`) are hardcoded constants and are not accepted via this config, the CLI, or the project README. To ensure they exist on the target project, run the `schedule` command — it invokes `SetupTowerDefenceProjectUseCase` automatically. Projects with the legacy `Todo` and `In Tmux` status names are automatically migrated; `PC Todo` and `Awaiting Task Breakdown` are removed on the next setup run (items in `Awaiting Task Breakdown` are moved to `Todo by human` before the option is deleted).
313
313
 
314
314
  Example:
315
315
 
@@ -506,7 +506,7 @@ The `triage` tab omits `statusOptions`, adds `storyOptions` (all story field opt
506
506
 
507
507
  - `pjcode`: The configured project name.
508
508
  - `generatedAt`: UTC timestamp (no milliseconds) when the lists were generated. Item `createdAt` values keep milliseconds.
509
- - `statusOptions`: Project status field options offered as routing buttons. The current-status option and `Done` are excluded; `failed-preparation` additionally excludes `Preparation`, `Icebox`, `Unread`, `In Tmux by human`, and `In Tmux by agent`.
509
+ - `statusOptions`: Project status field options offered as routing buttons. The current-status option and `Done` are excluded; `failed-preparation` additionally excludes `Preparation`, `Icebox`, `Unread`, `In Tmux by human`, `In Tmux by agent`, and `Todo by agent`.
510
510
  - `storyOptions` (triage tab only): All story field options.
511
511
  - `storyOrder`: Story field option names in field order (empty array when the project has no story field).
512
512
  - `storyColors`: Map from story name to its color. Object value (`{ "color": ... }`) for `workflow-blocker`/`prs`/`unread`/`failed-preparation`/`todo-by-human`; plain string value for `triage`.