github-issue-tower-defence-management 1.90.0 → 1.91.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 +15 -0
- package/README.md +19 -5
- package/bin/adapter/entry-points/cli/index.js +17 -13
- package/bin/adapter/entry-points/cli/index.js.map +1 -1
- package/bin/adapter/entry-points/cli/projectConfig.js +2 -0
- package/bin/adapter/entry-points/cli/projectConfig.js.map +1 -1
- package/bin/adapter/entry-points/console/consoleOperationApi.js +54 -27
- package/bin/adapter/entry-points/console/consoleOperationApi.js.map +1 -1
- package/bin/adapter/entry-points/console/consoleProjectResolver.js +38 -0
- package/bin/adapter/entry-points/console/consoleProjectResolver.js.map +1 -0
- package/bin/adapter/entry-points/console/consoleServer.js +3 -4
- package/bin/adapter/entry-points/console/consoleServer.js.map +1 -1
- package/bin/adapter/entry-points/console/ui-dist/assets/index-BU6p3cGU.css +1 -0
- package/bin/adapter/entry-points/console/ui-dist/assets/index-BvuSQN9s.js +100 -0
- package/bin/adapter/entry-points/console/ui-dist/index.html +2 -2
- package/bin/adapter/entry-points/handlers/consoleListsWriter.js +1 -0
- package/bin/adapter/entry-points/handlers/consoleListsWriter.js.map +1 -1
- package/bin/adapter/repositories/issue/ApiV3CheerioRestIssueRepository.js +16 -0
- package/bin/adapter/repositories/issue/ApiV3CheerioRestIssueRepository.js.map +1 -1
- package/bin/domain/usecases/console/GenerateConsoleListsUseCase.js +3 -0
- package/bin/domain/usecases/console/GenerateConsoleListsUseCase.js.map +1 -1
- package/jest.config.js +57 -9
- package/package.json +17 -13
- package/src/adapter/entry-points/cli/index.test.ts +18 -3
- package/src/adapter/entry-points/cli/index.ts +32 -14
- package/src/adapter/entry-points/cli/projectConfig.ts +3 -0
- package/src/adapter/entry-points/console/consoleOperationApi.test.ts +129 -15
- package/src/adapter/entry-points/console/consoleOperationApi.ts +83 -28
- package/src/adapter/entry-points/console/consoleProjectResolver.test.ts +96 -0
- package/src/adapter/entry-points/console/consoleProjectResolver.ts +50 -0
- package/src/adapter/entry-points/console/consoleServer.test.ts +5 -4
- package/src/adapter/entry-points/console/consoleServer.ts +5 -7
- package/src/adapter/entry-points/console/ui/jest.setup.ts +1 -0
- package/src/adapter/entry-points/console/ui/jest.styleMock.js +1 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/content/ConsoleMarkdownContent.stories.tsx +27 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/content/ConsoleMarkdownContent.test.tsx +36 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/content/ConsoleMarkdownContent.tsx +50 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/content/ConsoleMermaidDiagram.stories.tsx +22 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/content/ConsoleMermaidDiagram.test.tsx +38 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/content/ConsoleMermaidDiagram.tsx +65 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/detail/ConsoleChangedFileList.stories.tsx +28 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/detail/ConsoleChangedFileList.test.tsx +42 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/detail/ConsoleChangedFileList.tsx +55 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/detail/ConsoleCommentList.stories.tsx +29 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/detail/ConsoleCommentList.test.tsx +55 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/detail/ConsoleCommentList.tsx +66 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/detail/ConsoleCommitList.stories.tsx +25 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/detail/ConsoleCommitList.test.tsx +53 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/detail/ConsoleCommitList.tsx +53 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/detail/ConsoleItemDetail.stories.tsx +79 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/detail/ConsoleItemDetail.test.tsx +81 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/detail/ConsoleItemDetail.tsx +229 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/detail/ConsoleItemIcon.stories.tsx +82 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/detail/ConsoleItemIcon.test.tsx +52 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/detail/ConsoleItemIcon.tsx +32 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/detail/ConsolePullRequestDetail.stories.tsx +31 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/detail/ConsolePullRequestDetail.test.tsx +40 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/detail/ConsolePullRequestDetail.tsx +88 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/layout/ConsolePanel.stories.tsx +26 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/layout/ConsolePanel.test.tsx +32 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/layout/ConsolePanel.tsx +36 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/{ConsoleProjectHeader.stories.tsx → layout/ConsoleProjectSummary.stories.tsx} +5 -5
- package/src/adapter/entry-points/console/ui/src/features/console/components/layout/ConsoleProjectSummary.test.tsx +14 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/{ConsoleProjectHeader.tsx → layout/ConsoleProjectSummary.tsx} +3 -1
- package/src/adapter/entry-points/console/ui/src/features/console/components/layout/ConsoleTabList.stories.tsx +70 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/layout/ConsoleTabList.test.tsx +59 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/layout/ConsoleTabList.tsx +41 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/list/ConsoleItemList.stories.tsx +60 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/list/ConsoleItemList.test.tsx +87 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/list/ConsoleItemList.tsx +68 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/list/ConsoleItemSummary.stories.tsx +25 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/list/ConsoleItemSummary.test.tsx +43 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/list/ConsoleItemSummary.tsx +34 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/list/ConsoleStorySummary.stories.tsx +27 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/list/ConsoleStorySummary.test.tsx +24 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/list/ConsoleStorySummary.tsx +28 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/operations/ConsoleCloseActions.stories.tsx +14 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/operations/ConsoleCloseActions.test.tsx +21 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/operations/ConsoleCloseActions.tsx +26 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/operations/ConsoleNextActionDateActions.stories.tsx +20 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/operations/ConsoleNextActionDateActions.test.tsx +42 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/operations/ConsoleNextActionDateActions.tsx +28 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/operations/ConsoleOperationMenu.stories.tsx +55 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/operations/ConsoleOperationMenu.test.tsx +85 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/operations/ConsoleOperationMenu.tsx +58 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/operations/ConsolePullRequestReviewActions.stories.tsx +14 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/operations/ConsolePullRequestReviewActions.test.tsx +33 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/operations/ConsolePullRequestReviewActions.tsx +34 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/operations/ConsoleStatusActions.stories.tsx +17 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/operations/ConsoleStatusActions.test.tsx +49 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/operations/ConsoleStatusActions.tsx +66 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/operations/ConsoleStoryActions.stories.tsx +17 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/operations/ConsoleStoryActions.test.tsx +39 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/operations/ConsoleStoryActions.tsx +42 -0
- package/src/adapter/entry-points/console/ui/src/features/console/hooks/useConsoleCaches.test.ts +22 -0
- package/src/adapter/entry-points/console/ui/src/features/console/hooks/useConsoleCaches.ts +42 -0
- package/src/adapter/entry-points/console/ui/src/features/console/hooks/useConsoleItemDetailData.test.ts +126 -0
- package/src/adapter/entry-points/console/ui/src/features/console/hooks/useConsoleItemDetailData.ts +167 -0
- package/src/adapter/entry-points/console/ui/src/features/console/hooks/useConsoleOperations.test.ts +198 -0
- package/src/adapter/entry-points/console/ui/src/features/console/hooks/useConsoleOperations.ts +243 -0
- package/src/adapter/entry-points/console/ui/src/features/console/hooks/useConsoleOverlay.test.ts +40 -0
- package/src/adapter/entry-points/console/ui/src/features/console/hooks/useConsoleOverlay.ts +71 -0
- package/src/adapter/entry-points/console/ui/src/features/console/hooks/useConsoleResource.test.ts +41 -0
- package/src/adapter/entry-points/console/ui/src/features/console/hooks/useConsoleResource.ts +57 -0
- package/src/adapter/entry-points/console/ui/src/features/console/hooks/useConsoleTabData.test.ts +63 -0
- package/src/adapter/entry-points/console/ui/src/features/console/hooks/useConsoleTabData.ts +129 -0
- package/src/adapter/entry-points/console/ui/src/features/console/hooks/useConsoleToken.test.ts +41 -0
- package/src/adapter/entry-points/console/ui/src/features/console/lib/consoleApi.test.ts +155 -0
- package/src/adapter/entry-points/console/ui/src/features/console/lib/consoleApi.ts +187 -0
- package/src/adapter/entry-points/console/ui/src/features/console/lib/markdown.test.ts +76 -0
- package/src/adapter/entry-points/console/ui/src/features/console/lib/markdown.ts +73 -0
- package/src/adapter/entry-points/console/ui/src/features/console/lib/mermaidLoader.test.ts +27 -0
- package/src/adapter/entry-points/console/ui/src/features/console/lib/mermaidLoader.ts +71 -0
- package/src/adapter/entry-points/console/ui/src/features/console/lib/resourceCache.test.ts +56 -0
- package/src/adapter/entry-points/console/ui/src/features/console/lib/resourceCache.ts +51 -0
- package/src/adapter/entry-points/console/ui/src/features/console/logic/colors.test.ts +34 -0
- package/src/adapter/entry-points/console/ui/src/features/console/logic/colors.ts +73 -0
- package/src/adapter/entry-points/console/ui/src/features/console/logic/fileStatus.test.ts +35 -0
- package/src/adapter/entry-points/console/ui/src/features/console/logic/fileStatus.ts +21 -0
- package/src/adapter/entry-points/console/ui/src/features/console/logic/grouping.test.ts +91 -0
- package/src/adapter/entry-points/console/ui/src/features/console/logic/grouping.ts +79 -0
- package/src/adapter/entry-points/console/ui/src/features/console/logic/itemIcons.test.ts +97 -0
- package/src/adapter/entry-points/console/ui/src/features/console/logic/itemIcons.ts +95 -0
- package/src/adapter/entry-points/console/ui/src/features/console/logic/operations.test.ts +37 -0
- package/src/adapter/entry-points/console/ui/src/features/console/logic/operations.ts +35 -0
- package/src/adapter/entry-points/console/ui/src/features/console/logic/overlay.test.ts +124 -0
- package/src/adapter/entry-points/console/ui/src/features/console/logic/overlay.ts +101 -0
- package/src/adapter/entry-points/console/ui/src/features/console/logic/relativeTime.test.ts +52 -0
- package/src/adapter/entry-points/console/ui/src/features/console/logic/relativeTime.ts +51 -0
- package/src/adapter/entry-points/console/ui/src/features/console/logic/types.ts +141 -0
- package/src/adapter/entry-points/console/ui/src/features/console/pages/ConsoleItemDetailContainer.test.tsx +79 -0
- package/src/adapter/entry-points/console/ui/src/features/console/pages/ConsoleItemDetailContainer.tsx +109 -0
- package/src/adapter/entry-points/console/ui/src/features/console/pages/ConsolePage.test.tsx +74 -0
- package/src/adapter/entry-points/console/ui/src/features/console/pages/ConsolePage.tsx +137 -11
- package/src/adapter/entry-points/console/ui/src/features/console/testing/fixtures.ts +244 -0
- package/src/adapter/entry-points/console/ui/src/index.css +352 -2
- package/src/adapter/entry-points/console/ui/tsconfig.json +1 -0
- package/src/adapter/entry-points/console/ui/vite.config.ts +5 -0
- package/src/adapter/entry-points/console/ui-dist/assets/index-BU6p3cGU.css +1 -0
- package/src/adapter/entry-points/console/ui-dist/assets/index-PtVrAcBb.js +100 -0
- package/src/adapter/entry-points/console/ui-dist/index.html +2 -2
- package/src/adapter/entry-points/handlers/consoleListsWriter.test.ts +27 -2
- package/src/adapter/entry-points/handlers/consoleListsWriter.ts +1 -0
- package/src/adapter/repositories/issue/ApiV3CheerioRestIssueRepository.ts +25 -0
- package/src/domain/usecases/adapter-interfaces/IssueRepository.ts +4 -0
- package/src/domain/usecases/console/GenerateConsoleListsUseCase.test.ts +26 -0
- package/src/domain/usecases/console/GenerateConsoleListsUseCase.ts +17 -1
- package/types/adapter/entry-points/cli/index.d.ts.map +1 -1
- package/types/adapter/entry-points/cli/projectConfig.d.ts +1 -0
- package/types/adapter/entry-points/cli/projectConfig.d.ts.map +1 -1
- package/types/adapter/entry-points/console/consoleOperationApi.d.ts +6 -2
- package/types/adapter/entry-points/console/consoleOperationApi.d.ts.map +1 -1
- package/types/adapter/entry-points/console/consoleProjectResolver.d.ts +6 -0
- package/types/adapter/entry-points/console/consoleProjectResolver.d.ts.map +1 -0
- package/types/adapter/entry-points/console/consoleServer.d.ts +2 -3
- package/types/adapter/entry-points/console/consoleServer.d.ts.map +1 -1
- package/types/adapter/entry-points/handlers/consoleListsWriter.d.ts.map +1 -1
- package/types/adapter/repositories/issue/ApiV3CheerioRestIssueRepository.d.ts +1 -0
- package/types/adapter/repositories/issue/ApiV3CheerioRestIssueRepository.d.ts.map +1 -1
- package/types/domain/usecases/adapter-interfaces/IssueRepository.d.ts +1 -0
- package/types/domain/usecases/adapter-interfaces/IssueRepository.d.ts.map +1 -1
- package/types/domain/usecases/console/GenerateConsoleListsUseCase.d.ts +2 -1
- package/types/domain/usecases/console/GenerateConsoleListsUseCase.d.ts.map +1 -1
- package/bin/adapter/entry-points/console/ui-dist/assets/index-DDjYPXRT.js +0 -49
- package/bin/adapter/entry-points/console/ui-dist/assets/index-DHlBLm7d.css +0 -1
- package/src/adapter/entry-points/console/ui/src/features/console/components/ConsoleListView.stories.tsx +0 -44
- package/src/adapter/entry-points/console/ui/src/features/console/components/ConsoleListView.tsx +0 -58
- package/src/adapter/entry-points/console/ui/src/features/console/components/ConsoleTabBar.stories.tsx +0 -34
- package/src/adapter/entry-points/console/ui/src/features/console/components/ConsoleTabBar.tsx +0 -32
- package/src/adapter/entry-points/console/ui/src/features/console/fixtures.ts +0 -47
- package/src/adapter/entry-points/console/ui/src/features/console/hooks/useConsoleList.ts +0 -78
- package/src/adapter/entry-points/console/ui/src/features/console/types.ts +0 -69
- package/src/adapter/entry-points/console/ui-dist/assets/index-DDjYPXRT.js +0 -49
- package/src/adapter/entry-points/console/ui-dist/assets/index-DHlBLm7d.css +0 -1
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
ConsoleChangedFile,
|
|
3
|
+
ConsoleComment,
|
|
4
|
+
ConsoleCommit,
|
|
5
|
+
ConsoleFieldOption,
|
|
6
|
+
ConsoleIssueState,
|
|
7
|
+
ConsoleListItem,
|
|
8
|
+
ConsoleRelatedPullRequest,
|
|
9
|
+
ConsoleStoryColorSource,
|
|
10
|
+
} from '../logic/types';
|
|
11
|
+
|
|
12
|
+
export const consoleStatusOptionsFixture: ConsoleFieldOption[] = [
|
|
13
|
+
{ id: 'f75ad846', name: 'Unread', color: 'ORANGE' },
|
|
14
|
+
{ id: 'd1c19cce', name: 'Awaiting Workspace', color: 'BLUE' },
|
|
15
|
+
{ id: 'f57f1ce9', name: 'Preparation', color: 'YELLOW' },
|
|
16
|
+
{ id: 'fd313492', name: 'Failed Preparation', color: 'RED' },
|
|
17
|
+
{ id: 'e9931e57', name: 'Todo by human', color: 'PINK' },
|
|
18
|
+
{ id: 'c2d278b2', name: 'In Tmux by human', color: 'RED' },
|
|
19
|
+
{ id: 'e9f6a726', name: 'In Tmux by agent', color: 'YELLOW' },
|
|
20
|
+
{ id: 'bd8358eb', name: 'Icebox', color: 'GRAY' },
|
|
21
|
+
];
|
|
22
|
+
|
|
23
|
+
export const consoleStoryOptionsFixture: ConsoleFieldOption[] = [
|
|
24
|
+
{ id: '28415d6c', name: 'regular / workflow improvement', color: 'GRAY' },
|
|
25
|
+
{ id: '1491051e', name: 'TDPM Console port', color: 'BLUE' },
|
|
26
|
+
{ id: 'e35b3da2', name: 'regular / WORKFLOW BLOCKER', color: 'RED' },
|
|
27
|
+
{
|
|
28
|
+
id: 'd7cdcb61',
|
|
29
|
+
name: 'regular / regular payment invoice tax',
|
|
30
|
+
color: 'YELLOW',
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
id: 'f7cd5cbc',
|
|
34
|
+
name: 'Publish product documentation site',
|
|
35
|
+
color: 'GREEN',
|
|
36
|
+
},
|
|
37
|
+
{ id: '564803ee', name: 'Move to Okinawa', color: 'PURPLE' },
|
|
38
|
+
];
|
|
39
|
+
|
|
40
|
+
export const consoleStoryColorsFixture: ConsoleStoryColorSource = {
|
|
41
|
+
'TDPM Console port': { color: 'BLUE' },
|
|
42
|
+
'regular / workflow improvement': { color: 'GRAY' },
|
|
43
|
+
'Publish product documentation site': { color: 'GREEN' },
|
|
44
|
+
'Move to Okinawa': { color: 'PURPLE' },
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
export const consoleListItemsFixture: ConsoleListItem[] = [
|
|
48
|
+
{
|
|
49
|
+
number: 851,
|
|
50
|
+
title: 'Add serveConsole subcommand under entry-points',
|
|
51
|
+
url: 'https://github.com/HiromiShikata/npm-cli-github-issue-tower-defence-management/pull/851',
|
|
52
|
+
repo: 'HiromiShikata/npm-cli-github-issue-tower-defence-management',
|
|
53
|
+
nameWithOwner:
|
|
54
|
+
'HiromiShikata/npm-cli-github-issue-tower-defence-management',
|
|
55
|
+
projectItemId: 'PVTI_lADOABCD1234zgABCD01',
|
|
56
|
+
itemId: 'PVTI_lADOABCD1234zgABCD01',
|
|
57
|
+
isPr: true,
|
|
58
|
+
story: 'TDPM Console port',
|
|
59
|
+
labels: ['claude'],
|
|
60
|
+
createdAt: '2026-06-17T02:14:33.000Z',
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
number: 853,
|
|
64
|
+
title:
|
|
65
|
+
'Add server-side console API handlers for read and operation endpoints',
|
|
66
|
+
url: 'https://github.com/HiromiShikata/npm-cli-github-issue-tower-defence-management/pull/853',
|
|
67
|
+
repo: 'HiromiShikata/npm-cli-github-issue-tower-defence-management',
|
|
68
|
+
nameWithOwner:
|
|
69
|
+
'HiromiShikata/npm-cli-github-issue-tower-defence-management',
|
|
70
|
+
projectItemId: 'PVTI_lADOABCD1234zgABCD02',
|
|
71
|
+
itemId: 'PVTI_lADOABCD1234zgABCD02',
|
|
72
|
+
isPr: true,
|
|
73
|
+
story: 'TDPM Console port',
|
|
74
|
+
labels: ['claude'],
|
|
75
|
+
createdAt: '2026-06-17T05:48:09.000Z',
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
number: 845,
|
|
79
|
+
title: 'Scaffold React console UI under entry-points with build bundling',
|
|
80
|
+
url: 'https://github.com/HiromiShikata/npm-cli-github-issue-tower-defence-management/issues/845',
|
|
81
|
+
repo: 'HiromiShikata/npm-cli-github-issue-tower-defence-management',
|
|
82
|
+
nameWithOwner:
|
|
83
|
+
'HiromiShikata/npm-cli-github-issue-tower-defence-management',
|
|
84
|
+
projectItemId: 'PVTI_lADOABCD1234zgABCD03',
|
|
85
|
+
itemId: 'PVTI_lADOABCD1234zgABCD03',
|
|
86
|
+
isPr: false,
|
|
87
|
+
story: 'TDPM Console port',
|
|
88
|
+
labels: [],
|
|
89
|
+
createdAt: '2026-06-16T22:01:55.000Z',
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
number: 778,
|
|
93
|
+
title: 'Add Sonnet to Opus weekly-limit fallback routing per token',
|
|
94
|
+
url: 'https://github.com/HiromiShikata/npm-cli-github-issue-tower-defence-management/issues/778',
|
|
95
|
+
repo: 'HiromiShikata/npm-cli-github-issue-tower-defence-management',
|
|
96
|
+
nameWithOwner:
|
|
97
|
+
'HiromiShikata/npm-cli-github-issue-tower-defence-management',
|
|
98
|
+
projectItemId: 'PVTI_lADOABCD1234zgABCD04',
|
|
99
|
+
itemId: 'PVTI_lADOABCD1234zgABCD04',
|
|
100
|
+
isPr: false,
|
|
101
|
+
story: 'regular / workflow improvement',
|
|
102
|
+
labels: [],
|
|
103
|
+
createdAt: '2026-06-12T23:01:55.000Z',
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
number: 692,
|
|
107
|
+
title: 'Publish the generated documentation site to GitHub Pages',
|
|
108
|
+
url: 'https://github.com/HiromiShikata/npm-cli-github-issue-tower-defence-management/issues/692',
|
|
109
|
+
repo: 'HiromiShikata/npm-cli-github-issue-tower-defence-management',
|
|
110
|
+
nameWithOwner:
|
|
111
|
+
'HiromiShikata/npm-cli-github-issue-tower-defence-management',
|
|
112
|
+
projectItemId: 'PVTI_lADOABCD1234zgABCD05',
|
|
113
|
+
itemId: 'PVTI_lADOABCD1234zgABCD05',
|
|
114
|
+
isPr: false,
|
|
115
|
+
story: 'Publish product documentation site',
|
|
116
|
+
labels: ['documentation'],
|
|
117
|
+
createdAt: '2026-06-10T11:42:00.000Z',
|
|
118
|
+
},
|
|
119
|
+
];
|
|
120
|
+
|
|
121
|
+
export const consoleMarkdownBodyFixture = `## Summary
|
|
122
|
+
|
|
123
|
+
This pull request adds the \`serveConsole\` subcommand that serves the static
|
|
124
|
+
console bundle and the token-protected \`/api\` endpoints.
|
|
125
|
+
|
|
126
|
+
- Adds an HTTP server bound to port 9981 by default
|
|
127
|
+
- Serves \`list.json\` per tab and the read APIs by \`url\`
|
|
128
|
+
- Records acted-on items into a cross-tab done store
|
|
129
|
+
|
|
130
|
+
### Checklist
|
|
131
|
+
|
|
132
|
+
- [x] Unit tests for the data delivery routing
|
|
133
|
+
- [x] Token validation via \`?k=\` and the \`x-pv-token\` header
|
|
134
|
+
`;
|
|
135
|
+
|
|
136
|
+
export const consoleMermaidBodyFixture = `Here is the request flow:
|
|
137
|
+
|
|
138
|
+
\`\`\`mermaid
|
|
139
|
+
sequenceDiagram
|
|
140
|
+
participant Browser
|
|
141
|
+
participant ConsoleServer
|
|
142
|
+
participant IssueRepository
|
|
143
|
+
Browser->>ConsoleServer: GET /api/itembody?url=...
|
|
144
|
+
ConsoleServer->>IssueRepository: getIssueOrPullRequestBody(url)
|
|
145
|
+
IssueRepository-->>ConsoleServer: body markdown
|
|
146
|
+
ConsoleServer-->>Browser: { body }
|
|
147
|
+
\`\`\`
|
|
148
|
+
|
|
149
|
+
The diagram above is rendered lazily.
|
|
150
|
+
`;
|
|
151
|
+
|
|
152
|
+
export const consoleMermaidCodeFixture = `sequenceDiagram
|
|
153
|
+
participant Browser
|
|
154
|
+
participant ConsoleServer
|
|
155
|
+
participant IssueRepository
|
|
156
|
+
Browser->>ConsoleServer: GET /api/itembody?url=...
|
|
157
|
+
ConsoleServer->>IssueRepository: getIssueOrPullRequestBody(url)
|
|
158
|
+
IssueRepository-->>ConsoleServer: body markdown
|
|
159
|
+
ConsoleServer-->>Browser: { body }`;
|
|
160
|
+
|
|
161
|
+
export const consoleCommentsFixture: ConsoleComment[] = [
|
|
162
|
+
{
|
|
163
|
+
author: 'HiromiShikata',
|
|
164
|
+
body: 'Please split the token validation into its own tested function.',
|
|
165
|
+
createdAt: '2026-06-17T06:12:40.000Z',
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
author: 'github-actions',
|
|
169
|
+
body: 'All required checks have passed on this pull request.',
|
|
170
|
+
createdAt: '2026-06-17T07:48:11.000Z',
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
author: 'HiromiShikata',
|
|
174
|
+
body: 'Looks good now. Approving once the rebase is green.',
|
|
175
|
+
createdAt: '2026-06-17T09:03:27.000Z',
|
|
176
|
+
},
|
|
177
|
+
];
|
|
178
|
+
|
|
179
|
+
export const consoleChangedFilesFixture: ConsoleChangedFile[] = [
|
|
180
|
+
{
|
|
181
|
+
path: 'src/adapter/entry-points/console/consoleServer.ts',
|
|
182
|
+
additions: 312,
|
|
183
|
+
deletions: 4,
|
|
184
|
+
status: 'added',
|
|
185
|
+
patch: null,
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
path: 'src/adapter/entry-points/console/consoleServer.test.ts',
|
|
189
|
+
additions: 268,
|
|
190
|
+
deletions: 0,
|
|
191
|
+
status: 'added',
|
|
192
|
+
patch: null,
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
path: 'package.json',
|
|
196
|
+
additions: 6,
|
|
197
|
+
deletions: 1,
|
|
198
|
+
status: 'modified',
|
|
199
|
+
patch: null,
|
|
200
|
+
},
|
|
201
|
+
];
|
|
202
|
+
|
|
203
|
+
export const consoleCommitsFixture: ConsoleCommit[] = [
|
|
204
|
+
{
|
|
205
|
+
sha: '4f9c2a1b6d8e0f3a7c5b9d1e2f4a6c8b0d2e4f6a',
|
|
206
|
+
message: 'feat(console): add serveConsole subcommand and HTTP server',
|
|
207
|
+
author: 'HiromiShikata',
|
|
208
|
+
authoredAt: '2026-06-17T02:10:11.000Z',
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
sha: '8b1d3f5a7c9e1b3d5f7a9c1e3b5d7f9a1c3e5b7d',
|
|
212
|
+
message: 'test(console): cover token validation and data routing',
|
|
213
|
+
author: 'HiromiShikata',
|
|
214
|
+
authoredAt: '2026-06-17T05:41:52.000Z',
|
|
215
|
+
},
|
|
216
|
+
];
|
|
217
|
+
|
|
218
|
+
export const consoleRelatedPullRequestsFixture: ConsoleRelatedPullRequest[] = [
|
|
219
|
+
{
|
|
220
|
+
url: 'https://github.com/HiromiShikata/npm-cli-github-issue-tower-defence-management/pull/849',
|
|
221
|
+
branchName: 'feature/849-react-console-scaffold',
|
|
222
|
+
createdAt: '2026-06-16T22:30:00.000Z',
|
|
223
|
+
isDraft: false,
|
|
224
|
+
isConflicted: false,
|
|
225
|
+
isPassedAllCiJob: true,
|
|
226
|
+
isCiStateSuccess: true,
|
|
227
|
+
isResolvedAllReviewComments: true,
|
|
228
|
+
isBranchOutOfDate: false,
|
|
229
|
+
missingRequiredCheckNames: [],
|
|
230
|
+
summary: {
|
|
231
|
+
title: 'Scaffold React console UI under entry-points with build bundling',
|
|
232
|
+
body: 'Adds the React + Vite + Tailwind scaffold and the committed `ui-dist` single artifact.',
|
|
233
|
+
additions: 1184,
|
|
234
|
+
deletions: 12,
|
|
235
|
+
changedFiles: 27,
|
|
236
|
+
},
|
|
237
|
+
},
|
|
238
|
+
];
|
|
239
|
+
|
|
240
|
+
export const consoleIssueStateFixture: ConsoleIssueState = {
|
|
241
|
+
state: 'open',
|
|
242
|
+
merged: false,
|
|
243
|
+
isPullRequest: true,
|
|
244
|
+
};
|
|
@@ -23,9 +23,359 @@
|
|
|
23
23
|
|
|
24
24
|
body {
|
|
25
25
|
margin: 0;
|
|
26
|
-
background-color:
|
|
27
|
-
color:
|
|
26
|
+
background-color: #0d1117;
|
|
27
|
+
color: #e6edf3;
|
|
28
28
|
font-family:
|
|
29
29
|
ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
|
|
30
30
|
Roboto, Helvetica, Arial, sans-serif;
|
|
31
31
|
}
|
|
32
|
+
|
|
33
|
+
.console-app {
|
|
34
|
+
max-width: 920px;
|
|
35
|
+
margin: 0 auto;
|
|
36
|
+
display: flex;
|
|
37
|
+
flex-direction: column;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.console-tabbar {
|
|
41
|
+
display: flex;
|
|
42
|
+
flex-wrap: wrap;
|
|
43
|
+
gap: 4px;
|
|
44
|
+
padding: 8px;
|
|
45
|
+
border-bottom: 1px solid #30363d;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.console-tab {
|
|
49
|
+
display: inline-flex;
|
|
50
|
+
align-items: center;
|
|
51
|
+
gap: 6px;
|
|
52
|
+
padding: 4px 10px;
|
|
53
|
+
border: 1px solid transparent;
|
|
54
|
+
border-radius: 6px;
|
|
55
|
+
background: transparent;
|
|
56
|
+
color: #8b949e;
|
|
57
|
+
font-size: 13px;
|
|
58
|
+
cursor: pointer;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.console-tab[data-active="true"] {
|
|
62
|
+
background: #161b22;
|
|
63
|
+
border-color: #30363d;
|
|
64
|
+
color: #e6edf3;
|
|
65
|
+
font-weight: 600;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.console-tab-badge {
|
|
69
|
+
min-width: 18px;
|
|
70
|
+
text-align: center;
|
|
71
|
+
border-radius: 999px;
|
|
72
|
+
background: #21262d;
|
|
73
|
+
padding: 0 6px;
|
|
74
|
+
font-size: 12px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.console-tab-badge[data-zero="true"] {
|
|
78
|
+
opacity: 0.5;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.console-list {
|
|
82
|
+
list-style: none;
|
|
83
|
+
margin: 0;
|
|
84
|
+
padding: 0;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.console-list-group {
|
|
88
|
+
list-style: none;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.console-group-header {
|
|
92
|
+
display: flex;
|
|
93
|
+
align-items: center;
|
|
94
|
+
justify-content: space-between;
|
|
95
|
+
padding: 6px 12px;
|
|
96
|
+
background: #0b0f14;
|
|
97
|
+
border-bottom: 1px solid #21262d;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.console-storytag {
|
|
101
|
+
display: inline-flex;
|
|
102
|
+
align-items: center;
|
|
103
|
+
gap: 8px;
|
|
104
|
+
font-size: 13px;
|
|
105
|
+
font-weight: 700;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.console-story-dot {
|
|
109
|
+
width: 10px;
|
|
110
|
+
height: 10px;
|
|
111
|
+
border-radius: 999px;
|
|
112
|
+
display: inline-block;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.console-group-count {
|
|
116
|
+
color: #8b949e;
|
|
117
|
+
font-size: 12px;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.console-item-row {
|
|
121
|
+
display: flex;
|
|
122
|
+
align-items: center;
|
|
123
|
+
gap: 8px;
|
|
124
|
+
width: 100%;
|
|
125
|
+
padding: 8px 12px;
|
|
126
|
+
background: transparent;
|
|
127
|
+
border: none;
|
|
128
|
+
border-bottom: 1px solid #21262d;
|
|
129
|
+
color: #e6edf3;
|
|
130
|
+
text-align: left;
|
|
131
|
+
cursor: pointer;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.console-item-row:hover,
|
|
135
|
+
.console-item-row[data-active="true"] {
|
|
136
|
+
background: #161b22;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.console-item-title {
|
|
140
|
+
flex: 1;
|
|
141
|
+
font-size: 14px;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.console-item-number {
|
|
145
|
+
color: #8b949e;
|
|
146
|
+
font-size: 12px;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.console-list-message {
|
|
150
|
+
padding: 16px;
|
|
151
|
+
color: #8b949e;
|
|
152
|
+
font-size: 14px;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.console-list-error,
|
|
156
|
+
.console-comment-error,
|
|
157
|
+
.console-files-error,
|
|
158
|
+
.console-commits-error,
|
|
159
|
+
.console-detail-body-error {
|
|
160
|
+
color: #f85149;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.console-detail {
|
|
164
|
+
display: flex;
|
|
165
|
+
flex-direction: column;
|
|
166
|
+
gap: 12px;
|
|
167
|
+
padding: 16px;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.console-detail-title {
|
|
171
|
+
display: flex;
|
|
172
|
+
align-items: center;
|
|
173
|
+
gap: 8px;
|
|
174
|
+
font-size: 20px;
|
|
175
|
+
margin: 0;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.console-detail-title-text {
|
|
179
|
+
flex: 1;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.console-detail-number {
|
|
183
|
+
color: #8b949e;
|
|
184
|
+
font-weight: 400;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.console-detail-closed-label {
|
|
188
|
+
color: #a371f7;
|
|
189
|
+
font-size: 13px;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.console-detail-subbar {
|
|
193
|
+
display: flex;
|
|
194
|
+
align-items: center;
|
|
195
|
+
gap: 12px;
|
|
196
|
+
font-size: 13px;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.console-detail-link {
|
|
200
|
+
color: #4493f8;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.console-detail-repo {
|
|
204
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
205
|
+
color: #8b949e;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.console-detail-pill,
|
|
209
|
+
.console-label-chip,
|
|
210
|
+
.console-detail-status-chip {
|
|
211
|
+
display: inline-block;
|
|
212
|
+
padding: 2px 8px;
|
|
213
|
+
border-radius: 999px;
|
|
214
|
+
border: 1px solid #30363d;
|
|
215
|
+
font-size: 12px;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.console-detail-labels {
|
|
219
|
+
display: flex;
|
|
220
|
+
flex-wrap: wrap;
|
|
221
|
+
gap: 6px;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.console-detail-createdat {
|
|
225
|
+
color: #8b949e;
|
|
226
|
+
font-size: 12px;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.console-panel {
|
|
230
|
+
border: 1px solid #30363d;
|
|
231
|
+
border-radius: 8px;
|
|
232
|
+
overflow: hidden;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.console-panel-header {
|
|
236
|
+
display: flex;
|
|
237
|
+
align-items: center;
|
|
238
|
+
justify-content: space-between;
|
|
239
|
+
background: #161b22;
|
|
240
|
+
padding: 6px 12px;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.console-panel-toggle {
|
|
244
|
+
display: inline-flex;
|
|
245
|
+
align-items: center;
|
|
246
|
+
gap: 8px;
|
|
247
|
+
background: transparent;
|
|
248
|
+
border: none;
|
|
249
|
+
color: #e6edf3;
|
|
250
|
+
font-size: 14px;
|
|
251
|
+
font-weight: 600;
|
|
252
|
+
cursor: pointer;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.console-panel-body {
|
|
256
|
+
padding: 12px;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.console-markdown {
|
|
260
|
+
font-size: 14px;
|
|
261
|
+
line-height: 1.5;
|
|
262
|
+
word-break: break-word;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.console-mermaid-error {
|
|
266
|
+
color: #f85149;
|
|
267
|
+
font-size: 13px;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.console-comment {
|
|
271
|
+
border-top: 1px solid #21262d;
|
|
272
|
+
padding-top: 8px;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.console-comment-header {
|
|
276
|
+
display: flex;
|
|
277
|
+
gap: 8px;
|
|
278
|
+
font-size: 12px;
|
|
279
|
+
color: #8b949e;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.console-comment-author {
|
|
283
|
+
font-weight: 600;
|
|
284
|
+
color: #e6edf3;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.console-files,
|
|
288
|
+
.console-commits {
|
|
289
|
+
list-style: none;
|
|
290
|
+
margin: 0;
|
|
291
|
+
padding: 0;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.console-file,
|
|
295
|
+
.console-commit {
|
|
296
|
+
display: flex;
|
|
297
|
+
align-items: center;
|
|
298
|
+
gap: 8px;
|
|
299
|
+
padding: 4px 0;
|
|
300
|
+
font-size: 13px;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.console-file-badge {
|
|
304
|
+
width: 18px;
|
|
305
|
+
text-align: center;
|
|
306
|
+
border: 1px solid;
|
|
307
|
+
border-radius: 4px;
|
|
308
|
+
font-size: 11px;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
.console-file-path,
|
|
312
|
+
.console-commit-message {
|
|
313
|
+
flex: 1;
|
|
314
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.console-file-add,
|
|
318
|
+
.console-pr-add {
|
|
319
|
+
color: #3fb950;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.console-file-del,
|
|
323
|
+
.console-pr-del {
|
|
324
|
+
color: #f85149;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.console-commit-sha {
|
|
328
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
329
|
+
color: #8b949e;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.console-operation-bar {
|
|
333
|
+
display: flex;
|
|
334
|
+
flex-direction: column;
|
|
335
|
+
gap: 10px;
|
|
336
|
+
border-top: 1px solid #30363d;
|
|
337
|
+
padding-top: 12px;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
.console-op-group {
|
|
341
|
+
display: flex;
|
|
342
|
+
flex-wrap: wrap;
|
|
343
|
+
gap: 8px;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
.console-op-button {
|
|
347
|
+
padding: 6px 12px;
|
|
348
|
+
border: 1px solid #30363d;
|
|
349
|
+
border-radius: 6px;
|
|
350
|
+
background: #161b22;
|
|
351
|
+
color: #e6edf3;
|
|
352
|
+
font-size: 13px;
|
|
353
|
+
cursor: pointer;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
.console-pr-section {
|
|
357
|
+
border: 1px solid #30363d;
|
|
358
|
+
border-radius: 8px;
|
|
359
|
+
padding: 12px;
|
|
360
|
+
display: flex;
|
|
361
|
+
flex-direction: column;
|
|
362
|
+
gap: 10px;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
.console-pr-statbar {
|
|
366
|
+
display: flex;
|
|
367
|
+
gap: 12px;
|
|
368
|
+
font-size: 12px;
|
|
369
|
+
color: #8b949e;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.console-back-button {
|
|
373
|
+
align-self: flex-start;
|
|
374
|
+
margin: 12px 16px 0;
|
|
375
|
+
background: transparent;
|
|
376
|
+
border: 1px solid #30363d;
|
|
377
|
+
border-radius: 6px;
|
|
378
|
+
color: #e6edf3;
|
|
379
|
+
padding: 4px 10px;
|
|
380
|
+
cursor: pointer;
|
|
381
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-font-weight:initial;--tw-outline-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height: 1.5 ;--font-weight-medium:500;--font-weight-semibold:600;--radius-md:.375rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-border:#e5e5e5;--color-input:#e5e5e5;--color-ring:#0a0a0a;--color-background:#fff;--color-foreground:#0a0a0a;--color-primary:#171717;--color-primary-foreground:#fafafa;--color-secondary:#f5f5f5;--color-secondary-foreground:#171717;--color-muted-foreground:#737373;--color-accent:#f5f5f5;--color-accent-foreground:#171717}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.relative{position:relative}.static{position:static}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.flex{display:flex}.inline-flex{display:inline-flex}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.items-baseline{align-items:baseline}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:calc(var(--spacing) * 2)}.rounded-md{border-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-border{border-color:var(--color-border)}.border-input{border-color:var(--color-input)}.border-transparent{border-color:#0000}.bg-background{background-color:var(--color-background)}.bg-primary{background-color:var(--color-primary)}.bg-secondary{background-color:var(--color-secondary)}.p-3{padding:calc(var(--spacing) * 3)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-8{padding-inline:calc(var(--spacing) * 8)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-2{padding-block:calc(var(--spacing) * 2)}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.whitespace-nowrap{white-space:nowrap}.text-foreground{color:var(--color-foreground)}.text-muted-foreground{color:var(--color-muted-foreground)}.text-primary-foreground{color:var(--color-primary-foreground)}.text-secondary-foreground{color:var(--color-secondary-foreground)}.lowercase{text-transform:lowercase}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}@media(hover:hover){.hover\:bg-accent:hover{background-color:var(--color-accent)}.hover\:bg-primary\/90:hover{background-color:#171717e6}@supports (color:color-mix(in lab,red,red)){.hover\:bg-primary\/90:hover{background-color:color-mix(in oklab,var(--color-primary) 90%,transparent)}}.hover\:bg-secondary\/80:hover{background-color:#f5f5f5cc}@supports (color:color-mix(in lab,red,red)){.hover\:bg-secondary\/80:hover{background-color:color-mix(in oklab,var(--color-secondary) 80%,transparent)}}.hover\:text-accent-foreground:hover{color:var(--color-accent-foreground)}}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:var(--color-ring)}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:opacity-50:disabled{opacity:.5}}body{color:#e6edf3;background-color:#0d1117;margin:0;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.console-app{flex-direction:column;max-width:920px;margin:0 auto;display:flex}.console-tabbar{border-bottom:1px solid #30363d;flex-wrap:wrap;gap:4px;padding:8px;display:flex}.console-tab{color:#8b949e;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;align-items:center;gap:6px;padding:4px 10px;font-size:13px;display:inline-flex}.console-tab[data-active=true]{color:#e6edf3;background:#161b22;border-color:#30363d;font-weight:600}.console-tab-badge{text-align:center;background:#21262d;border-radius:999px;min-width:18px;padding:0 6px;font-size:12px}.console-tab-badge[data-zero=true]{opacity:.5}.console-list{margin:0;padding:0;list-style:none}.console-list-group{list-style:none}.console-group-header{background:#0b0f14;border-bottom:1px solid #21262d;justify-content:space-between;align-items:center;padding:6px 12px;display:flex}.console-storytag{align-items:center;gap:8px;font-size:13px;font-weight:700;display:inline-flex}.console-story-dot{border-radius:999px;width:10px;height:10px;display:inline-block}.console-group-count{color:#8b949e;font-size:12px}.console-item-row{color:#e6edf3;text-align:left;cursor:pointer;background:0 0;border:none;border-bottom:1px solid #21262d;align-items:center;gap:8px;width:100%;padding:8px 12px;display:flex}.console-item-row:hover,.console-item-row[data-active=true]{background:#161b22}.console-item-title{flex:1;font-size:14px}.console-item-number{color:#8b949e;font-size:12px}.console-list-message{color:#8b949e;padding:16px;font-size:14px}.console-list-error,.console-comment-error,.console-files-error,.console-commits-error,.console-detail-body-error{color:#f85149}.console-detail{flex-direction:column;gap:12px;padding:16px;display:flex}.console-detail-title{align-items:center;gap:8px;margin:0;font-size:20px;display:flex}.console-detail-title-text{flex:1}.console-detail-number{color:#8b949e;font-weight:400}.console-detail-closed-label{color:#a371f7;font-size:13px}.console-detail-subbar{align-items:center;gap:12px;font-size:13px;display:flex}.console-detail-link{color:#4493f8}.console-detail-repo{color:#8b949e;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.console-detail-pill,.console-label-chip,.console-detail-status-chip{border:1px solid #30363d;border-radius:999px;padding:2px 8px;font-size:12px;display:inline-block}.console-detail-labels{flex-wrap:wrap;gap:6px;display:flex}.console-detail-createdat{color:#8b949e;font-size:12px}.console-panel{border:1px solid #30363d;border-radius:8px;overflow:hidden}.console-panel-header{background:#161b22;justify-content:space-between;align-items:center;padding:6px 12px;display:flex}.console-panel-toggle{color:#e6edf3;cursor:pointer;background:0 0;border:none;align-items:center;gap:8px;font-size:14px;font-weight:600;display:inline-flex}.console-panel-body{padding:12px}.console-markdown{word-break:break-word;font-size:14px;line-height:1.5}.console-mermaid-error{color:#f85149;font-size:13px}.console-comment{border-top:1px solid #21262d;padding-top:8px}.console-comment-header{color:#8b949e;gap:8px;font-size:12px;display:flex}.console-comment-author{color:#e6edf3;font-weight:600}.console-files,.console-commits{margin:0;padding:0;list-style:none}.console-file,.console-commit{align-items:center;gap:8px;padding:4px 0;font-size:13px;display:flex}.console-file-badge{text-align:center;border:1px solid;border-radius:4px;width:18px;font-size:11px}.console-file-path,.console-commit-message{flex:1;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.console-file-add,.console-pr-add{color:#3fb950}.console-file-del,.console-pr-del{color:#f85149}.console-commit-sha{color:#8b949e;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.console-operation-bar{border-top:1px solid #30363d;flex-direction:column;gap:10px;padding-top:12px;display:flex}.console-op-group{flex-wrap:wrap;gap:8px;display:flex}.console-op-button{color:#e6edf3;cursor:pointer;background:#161b22;border:1px solid #30363d;border-radius:6px;padding:6px 12px;font-size:13px}.console-pr-section{border:1px solid #30363d;border-radius:8px;flex-direction:column;gap:10px;padding:12px;display:flex}.console-pr-statbar{color:#8b949e;gap:12px;font-size:12px;display:flex}.console-back-button{color:#e6edf3;cursor:pointer;background:0 0;border:1px solid #30363d;border-radius:6px;align-self:flex-start;margin:12px 16px 0;padding:4px 10px}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}
|