@pecot/workflow-mcp 0.0.0-stage → 5.0.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/.claude-plugin/plugin.json +8 -0
- package/LICENSE +21 -0
- package/README.md +126 -2
- package/bin/pecot-workflow-mcp.mjs +10 -0
- package/cli/dist/cli.d.ts +26 -0
- package/cli/dist/cli.js +222 -0
- package/cli/dist/commands/cell-table.d.ts +3 -0
- package/cli/dist/commands/cell-table.js +495 -0
- package/cli/dist/commands/command-binding.d.ts +26 -0
- package/cli/dist/commands/command-binding.js +266 -0
- package/cli/dist/commands/command-definition.d.ts +136 -0
- package/cli/dist/commands/command-definition.js +101 -0
- package/cli/dist/commands/command-help.d.ts +8 -0
- package/cli/dist/commands/command-help.js +173 -0
- package/cli/dist/commands/command-stop.d.ts +19 -0
- package/cli/dist/commands/command-stop.js +30 -0
- package/cli/dist/commands/dependabot.d.ts +3 -0
- package/cli/dist/commands/dependabot.js +165 -0
- package/cli/dist/commands/directory-option.d.ts +7 -0
- package/cli/dist/commands/directory-option.js +48 -0
- package/cli/dist/commands/failure.d.ts +13 -0
- package/cli/dist/commands/failure.js +33 -0
- package/cli/dist/commands/fuzzy.d.ts +7 -0
- package/cli/dist/commands/fuzzy.js +79 -0
- package/cli/dist/commands/github-client.d.ts +12 -0
- package/cli/dist/commands/github-client.js +23 -0
- package/cli/dist/commands/global-options.d.ts +25 -0
- package/cli/dist/commands/global-options.js +83 -0
- package/cli/dist/commands/help-layout.d.ts +40 -0
- package/cli/dist/commands/help-layout.js +117 -0
- package/cli/dist/commands/help.d.ts +8 -0
- package/cli/dist/commands/help.js +55 -0
- package/cli/dist/commands/input-schema.d.ts +14 -0
- package/cli/dist/commands/input-schema.js +56 -0
- package/cli/dist/commands/issue-board.d.ts +38 -0
- package/cli/dist/commands/issue-board.js +62 -0
- package/cli/dist/commands/issue-comment.d.ts +3 -0
- package/cli/dist/commands/issue-comment.js +196 -0
- package/cli/dist/commands/issue-create.d.ts +3 -0
- package/cli/dist/commands/issue-create.js +329 -0
- package/cli/dist/commands/issue-project.d.ts +3 -0
- package/cli/dist/commands/issue-project.js +176 -0
- package/cli/dist/commands/issue-quick.d.ts +3 -0
- package/cli/dist/commands/issue-quick.js +126 -0
- package/cli/dist/commands/issue-read.d.ts +3 -0
- package/cli/dist/commands/issue-read.js +80 -0
- package/cli/dist/commands/issue-shared.d.ts +159 -0
- package/cli/dist/commands/issue-shared.js +419 -0
- package/cli/dist/commands/issue.d.ts +4 -0
- package/cli/dist/commands/issue.js +15 -0
- package/cli/dist/commands/names.d.ts +9 -0
- package/cli/dist/commands/names.js +16 -0
- package/cli/dist/commands/output.d.ts +78 -0
- package/cli/dist/commands/output.js +187 -0
- package/cli/dist/commands/pr.d.ts +3 -0
- package/cli/dist/commands/pr.js +933 -0
- package/cli/dist/commands/project-info.d.ts +48 -0
- package/cli/dist/commands/project-info.js +181 -0
- package/cli/dist/commands/project-sync.d.ts +91 -0
- package/cli/dist/commands/project-sync.js +273 -0
- package/cli/dist/commands/project.d.ts +5 -0
- package/cli/dist/commands/project.js +677 -0
- package/cli/dist/commands/registry.d.ts +6 -0
- package/cli/dist/commands/registry.js +27 -0
- package/cli/dist/commands/release.d.ts +10 -0
- package/cli/dist/commands/release.js +414 -0
- package/cli/dist/commands/repository-display.d.ts +3 -0
- package/cli/dist/commands/repository-display.js +7 -0
- package/cli/dist/commands/repository-match.d.ts +14 -0
- package/cli/dist/commands/repository-match.js +33 -0
- package/cli/dist/commands/repository.d.ts +5 -0
- package/cli/dist/commands/repository.js +265 -0
- package/cli/dist/commands/rich-panel.d.ts +22 -0
- package/cli/dist/commands/rich-panel.js +295 -0
- package/cli/dist/commands/security.d.ts +3 -0
- package/cli/dist/commands/security.js +164 -0
- package/cli/dist/commands/session.d.ts +3 -0
- package/cli/dist/commands/session.js +161 -0
- package/cli/dist/commands/tracker-sync.d.ts +58 -0
- package/cli/dist/commands/tracker-sync.js +53 -0
- package/cli/dist/commands/usage-error.d.ts +47 -0
- package/cli/dist/commands/usage-error.js +72 -0
- package/cli/dist/commands/value-types.d.ts +46 -0
- package/cli/dist/commands/value-types.js +94 -0
- package/cli/dist/commands/work-target.d.ts +13 -0
- package/cli/dist/commands/work-target.js +41 -0
- package/cli/dist/commands/worktree.d.ts +3 -0
- package/cli/dist/commands/worktree.js +335 -0
- package/cli/dist/domain/api-error-detail.d.ts +10 -0
- package/cli/dist/domain/api-error-detail.js +25 -0
- package/cli/dist/domain/branch-name.d.ts +5 -0
- package/cli/dist/domain/branch-name.js +10 -0
- package/cli/dist/domain/changelog.d.ts +43 -0
- package/cli/dist/domain/changelog.js +107 -0
- package/cli/dist/domain/config.d.ts +215 -0
- package/cli/dist/domain/config.js +300 -0
- package/cli/dist/domain/dependabot-pull-requests.d.ts +82 -0
- package/cli/dist/domain/dependabot-pull-requests.js +338 -0
- package/cli/dist/domain/dependabot-source.d.ts +51 -0
- package/cli/dist/domain/dependabot-source.js +4 -0
- package/cli/dist/domain/dependabot.d.ts +47 -0
- package/cli/dist/domain/dependabot.js +88 -0
- package/cli/dist/domain/errors.d.ts +19 -0
- package/cli/dist/domain/errors.js +31 -0
- package/cli/dist/domain/field-options.d.ts +31 -0
- package/cli/dist/domain/field-options.js +44 -0
- package/cli/dist/domain/format.d.ts +47 -0
- package/cli/dist/domain/format.js +168 -0
- package/cli/dist/domain/frontmatter.d.ts +122 -0
- package/cli/dist/domain/frontmatter.js +264 -0
- package/cli/dist/domain/git-runner.d.ts +10 -0
- package/cli/dist/domain/git-runner.js +4 -0
- package/cli/dist/domain/git-url.d.ts +17 -0
- package/cli/dist/domain/git-url.js +30 -0
- package/cli/dist/domain/issue-kind.d.ts +16 -0
- package/cli/dist/domain/issue-kind.js +16 -0
- package/cli/dist/domain/issue-readout.d.ts +107 -0
- package/cli/dist/domain/issue-readout.js +4 -0
- package/cli/dist/domain/json-null.d.ts +2 -0
- package/cli/dist/domain/json-null.js +5 -0
- package/cli/dist/domain/json.d.ts +21 -0
- package/cli/dist/domain/json.js +47 -0
- package/cli/dist/domain/prerequisites.d.ts +32 -0
- package/cli/dist/domain/prerequisites.js +192 -0
- package/cli/dist/domain/pull-request.d.ts +134 -0
- package/cli/dist/domain/pull-request.js +232 -0
- package/cli/dist/domain/python-format.d.ts +105 -0
- package/cli/dist/domain/python-format.js +304 -0
- package/cli/dist/domain/readiness.d.ts +172 -0
- package/cli/dist/domain/readiness.js +280 -0
- package/cli/dist/domain/reference-parser.d.ts +49 -0
- package/cli/dist/domain/reference-parser.js +119 -0
- package/cli/dist/domain/release.d.ts +49 -0
- package/cli/dist/domain/release.js +72 -0
- package/cli/dist/domain/repository-policy.d.ts +32 -0
- package/cli/dist/domain/repository-policy.js +65 -0
- package/cli/dist/domain/repository-resolver.d.ts +57 -0
- package/cli/dist/domain/repository-resolver.js +119 -0
- package/cli/dist/domain/sections.d.ts +69 -0
- package/cli/dist/domain/sections.js +514 -0
- package/cli/dist/domain/security-alerts-source.d.ts +29 -0
- package/cli/dist/domain/security-alerts-source.js +4 -0
- package/cli/dist/domain/security-alerts.d.ts +52 -0
- package/cli/dist/domain/security-alerts.js +107 -0
- package/cli/dist/domain/security-tracker.d.ts +115 -0
- package/cli/dist/domain/security-tracker.js +353 -0
- package/cli/dist/domain/state.d.ts +29 -0
- package/cli/dist/domain/state.js +56 -0
- package/cli/dist/domain/tracker-body.d.ts +70 -0
- package/cli/dist/domain/tracker-body.js +65 -0
- package/cli/dist/domain/yaml-document.d.ts +5 -0
- package/cli/dist/domain/yaml-document.js +206 -0
- package/cli/dist/infra/authored-notes.d.ts +37 -0
- package/cli/dist/infra/authored-notes.js +66 -0
- package/cli/dist/infra/changelog-file.d.ts +19 -0
- package/cli/dist/infra/changelog-file.js +43 -0
- package/cli/dist/infra/child-stdin.d.ts +4 -0
- package/cli/dist/infra/child-stdin.js +8 -0
- package/cli/dist/infra/config-store.d.ts +49 -0
- package/cli/dist/infra/config-store.js +121 -0
- package/cli/dist/infra/diagnostics.d.ts +9 -0
- package/cli/dist/infra/diagnostics.js +2 -0
- package/cli/dist/infra/file-kind.d.ts +9 -0
- package/cli/dist/infra/file-kind.js +26 -0
- package/cli/dist/infra/frontmatter-file.d.ts +14 -0
- package/cli/dist/infra/frontmatter-file.js +30 -0
- package/cli/dist/infra/git.d.ts +74 -0
- package/cli/dist/infra/git.js +133 -0
- package/cli/dist/infra/github/auth.d.ts +60 -0
- package/cli/dist/infra/github/auth.js +158 -0
- package/cli/dist/infra/github/client.d.ts +173 -0
- package/cli/dist/infra/github/client.js +576 -0
- package/cli/dist/infra/github/dependabot-source.d.ts +13 -0
- package/cli/dist/infra/github/dependabot-source.js +33 -0
- package/cli/dist/infra/github/errors.d.ts +47 -0
- package/cli/dist/infra/github/errors.js +42 -0
- package/cli/dist/infra/github/index.d.ts +13 -0
- package/cli/dist/infra/github/index.js +19 -0
- package/cli/dist/infra/github/issues.d.ts +129 -0
- package/cli/dist/infra/github/issues.js +273 -0
- package/cli/dist/infra/github/payload.d.ts +44 -0
- package/cli/dist/infra/github/payload.js +80 -0
- package/cli/dist/infra/github/projects.d.ts +108 -0
- package/cli/dist/infra/github/projects.js +303 -0
- package/cli/dist/infra/github/pulls.d.ts +80 -0
- package/cli/dist/infra/github/pulls.js +161 -0
- package/cli/dist/infra/github/queries.d.ts +36 -0
- package/cli/dist/infra/github/queries.js +883 -0
- package/cli/dist/infra/github/readout.d.ts +18 -0
- package/cli/dist/infra/github/readout.js +156 -0
- package/cli/dist/infra/github/repos.d.ts +68 -0
- package/cli/dist/infra/github/repos.js +137 -0
- package/cli/dist/infra/github/rest-path.d.ts +14 -0
- package/cli/dist/infra/github/rest-path.js +31 -0
- package/cli/dist/infra/github/security-alerts-source.d.ts +15 -0
- package/cli/dist/infra/github/security-alerts-source.js +73 -0
- package/cli/dist/infra/gitignore-spec.d.ts +36 -0
- package/cli/dist/infra/gitignore-spec.js +235 -0
- package/cli/dist/infra/nx-scope.d.ts +51 -0
- package/cli/dist/infra/nx-scope.js +182 -0
- package/cli/dist/infra/os-error.d.ts +24 -0
- package/cli/dist/infra/os-error.js +38 -0
- package/cli/dist/infra/paths.d.ts +88 -0
- package/cli/dist/infra/paths.js +234 -0
- package/cli/dist/infra/state-store.d.ts +45 -0
- package/cli/dist/infra/state-store.js +118 -0
- package/cli/dist/infra/template-store.d.ts +15 -0
- package/cli/dist/infra/template-store.js +34 -0
- package/cli/dist/infra/text-file.d.ts +12 -0
- package/cli/dist/infra/text-file.js +33 -0
- package/cli/dist/infra/worktree-copy.d.ts +24 -0
- package/cli/dist/infra/worktree-copy.js +95 -0
- package/cli/dist/infra/worktree-links.d.ts +139 -0
- package/cli/dist/infra/worktree-links.js +433 -0
- package/cli/dist/infra/worktree-setup.d.ts +21 -0
- package/cli/dist/infra/worktree-setup.js +41 -0
- package/cli/dist/infra/worktree.d.ts +174 -0
- package/cli/dist/infra/worktree.js +567 -0
- package/cli/dist/mcp/result.d.ts +33 -0
- package/cli/dist/mcp/result.js +52 -0
- package/cli/dist/mcp/serve.d.ts +51 -0
- package/cli/dist/mcp/serve.js +183 -0
- package/cli/dist/mcp/server.d.ts +21 -0
- package/cli/dist/mcp/server.js +128 -0
- package/cli/dist/mcp/session-directory.d.ts +26 -0
- package/cli/dist/mcp/session-directory.js +84 -0
- package/cli/dist/package.json +1 -0
- package/cli/dist/version.d.ts +17 -0
- package/cli/dist/version.js +42 -0
- package/cli/templates/comment/merge-diff.md +34 -0
- package/cli/templates/comment/plan.md +181 -0
- package/cli/templates/comment/precede-notify.md +33 -0
- package/cli/templates/comment/review-findings.md +42 -0
- package/cli/templates/comment/review-resolution.md +48 -0
- package/cli/templates/issue/bug.md +63 -0
- package/cli/templates/issue/epic.md +54 -0
- package/cli/templates/issue/task-implement.md +67 -0
- package/cli/templates/issue/task.md +48 -0
- package/cli/templates/issue/tracker.md +48 -0
- package/cli/templates/pr/create.md +123 -0
- package/cli/templates/pr/release.md +56 -0
- package/hooks/lib/core/pecot-gitignore-ensure.sh +48 -0
- package/npm-shrinkwrap.json +83 -0
- package/package.json +22 -4
|
@@ -0,0 +1,495 @@
|
|
|
1
|
+
// rich の Unicode 幅の表(unicode 17.0.0)。生成物なので手で直さない。
|
|
2
|
+
// 再生成: Python の rich で `rich._unicode_data.load('latest')` の widths と narrow_to_wide を書き出す。
|
|
3
|
+
// widths は [開始, 終了, セル数] の並びで、表に無い文字は 1 セルになる。
|
|
4
|
+
export const CELL_WIDTHS = [
|
|
5
|
+
[0, 0, 0],
|
|
6
|
+
[768, 879, 0],
|
|
7
|
+
[1155, 1161, 0],
|
|
8
|
+
[1425, 1469, 0],
|
|
9
|
+
[1471, 1471, 0],
|
|
10
|
+
[1473, 1474, 0],
|
|
11
|
+
[1476, 1477, 0],
|
|
12
|
+
[1479, 1479, 0],
|
|
13
|
+
[1552, 1562, 0],
|
|
14
|
+
[1564, 1564, 0],
|
|
15
|
+
[1611, 1631, 0],
|
|
16
|
+
[1648, 1648, 0],
|
|
17
|
+
[1750, 1756, 0],
|
|
18
|
+
[1759, 1764, 0],
|
|
19
|
+
[1767, 1768, 0],
|
|
20
|
+
[1770, 1773, 0],
|
|
21
|
+
[1809, 1809, 0],
|
|
22
|
+
[1840, 1866, 0],
|
|
23
|
+
[1958, 1968, 0],
|
|
24
|
+
[2027, 2035, 0],
|
|
25
|
+
[2045, 2045, 0],
|
|
26
|
+
[2070, 2073, 0],
|
|
27
|
+
[2075, 2083, 0],
|
|
28
|
+
[2085, 2087, 0],
|
|
29
|
+
[2089, 2093, 0],
|
|
30
|
+
[2137, 2139, 0],
|
|
31
|
+
[2199, 2207, 0],
|
|
32
|
+
[2250, 2273, 0],
|
|
33
|
+
[2275, 2307, 0],
|
|
34
|
+
[2362, 2364, 0],
|
|
35
|
+
[2366, 2383, 0],
|
|
36
|
+
[2385, 2391, 0],
|
|
37
|
+
[2402, 2403, 0],
|
|
38
|
+
[2433, 2435, 0],
|
|
39
|
+
[2492, 2492, 0],
|
|
40
|
+
[2494, 2500, 0],
|
|
41
|
+
[2503, 2504, 0],
|
|
42
|
+
[2507, 2509, 0],
|
|
43
|
+
[2519, 2519, 0],
|
|
44
|
+
[2530, 2531, 0],
|
|
45
|
+
[2558, 2558, 0],
|
|
46
|
+
[2561, 2563, 0],
|
|
47
|
+
[2620, 2620, 0],
|
|
48
|
+
[2622, 2626, 0],
|
|
49
|
+
[2631, 2632, 0],
|
|
50
|
+
[2635, 2637, 0],
|
|
51
|
+
[2641, 2641, 0],
|
|
52
|
+
[2672, 2673, 0],
|
|
53
|
+
[2677, 2677, 0],
|
|
54
|
+
[2689, 2691, 0],
|
|
55
|
+
[2748, 2748, 0],
|
|
56
|
+
[2750, 2757, 0],
|
|
57
|
+
[2759, 2761, 0],
|
|
58
|
+
[2763, 2765, 0],
|
|
59
|
+
[2786, 2787, 0],
|
|
60
|
+
[2810, 2815, 0],
|
|
61
|
+
[2817, 2819, 0],
|
|
62
|
+
[2876, 2876, 0],
|
|
63
|
+
[2878, 2884, 0],
|
|
64
|
+
[2887, 2888, 0],
|
|
65
|
+
[2891, 2893, 0],
|
|
66
|
+
[2901, 2903, 0],
|
|
67
|
+
[2914, 2915, 0],
|
|
68
|
+
[2946, 2946, 0],
|
|
69
|
+
[3006, 3010, 0],
|
|
70
|
+
[3014, 3016, 0],
|
|
71
|
+
[3018, 3021, 0],
|
|
72
|
+
[3031, 3031, 0],
|
|
73
|
+
[3072, 3076, 0],
|
|
74
|
+
[3132, 3132, 0],
|
|
75
|
+
[3134, 3140, 0],
|
|
76
|
+
[3142, 3144, 0],
|
|
77
|
+
[3146, 3149, 0],
|
|
78
|
+
[3157, 3158, 0],
|
|
79
|
+
[3170, 3171, 0],
|
|
80
|
+
[3201, 3203, 0],
|
|
81
|
+
[3260, 3260, 0],
|
|
82
|
+
[3262, 3268, 0],
|
|
83
|
+
[3270, 3272, 0],
|
|
84
|
+
[3274, 3277, 0],
|
|
85
|
+
[3285, 3286, 0],
|
|
86
|
+
[3298, 3299, 0],
|
|
87
|
+
[3315, 3315, 0],
|
|
88
|
+
[3328, 3331, 0],
|
|
89
|
+
[3387, 3388, 0],
|
|
90
|
+
[3390, 3396, 0],
|
|
91
|
+
[3398, 3400, 0],
|
|
92
|
+
[3402, 3405, 0],
|
|
93
|
+
[3415, 3415, 0],
|
|
94
|
+
[3426, 3427, 0],
|
|
95
|
+
[3457, 3459, 0],
|
|
96
|
+
[3530, 3530, 0],
|
|
97
|
+
[3535, 3540, 0],
|
|
98
|
+
[3542, 3542, 0],
|
|
99
|
+
[3544, 3551, 0],
|
|
100
|
+
[3570, 3571, 0],
|
|
101
|
+
[3633, 3633, 0],
|
|
102
|
+
[3636, 3642, 0],
|
|
103
|
+
[3655, 3662, 0],
|
|
104
|
+
[3761, 3761, 0],
|
|
105
|
+
[3764, 3772, 0],
|
|
106
|
+
[3784, 3790, 0],
|
|
107
|
+
[3864, 3865, 0],
|
|
108
|
+
[3893, 3893, 0],
|
|
109
|
+
[3895, 3895, 0],
|
|
110
|
+
[3897, 3897, 0],
|
|
111
|
+
[3902, 3903, 0],
|
|
112
|
+
[3953, 3972, 0],
|
|
113
|
+
[3974, 3975, 0],
|
|
114
|
+
[3981, 3991, 0],
|
|
115
|
+
[3993, 4028, 0],
|
|
116
|
+
[4038, 4038, 0],
|
|
117
|
+
[4139, 4158, 0],
|
|
118
|
+
[4182, 4185, 0],
|
|
119
|
+
[4190, 4192, 0],
|
|
120
|
+
[4194, 4196, 0],
|
|
121
|
+
[4199, 4205, 0],
|
|
122
|
+
[4209, 4212, 0],
|
|
123
|
+
[4226, 4237, 0],
|
|
124
|
+
[4239, 4239, 0],
|
|
125
|
+
[4250, 4253, 0],
|
|
126
|
+
[4352, 4447, 2],
|
|
127
|
+
[4448, 4607, 0],
|
|
128
|
+
[4957, 4959, 0],
|
|
129
|
+
[5906, 5909, 0],
|
|
130
|
+
[5938, 5940, 0],
|
|
131
|
+
[5970, 5971, 0],
|
|
132
|
+
[6002, 6003, 0],
|
|
133
|
+
[6068, 6099, 0],
|
|
134
|
+
[6109, 6109, 0],
|
|
135
|
+
[6155, 6159, 0],
|
|
136
|
+
[6277, 6278, 0],
|
|
137
|
+
[6313, 6313, 0],
|
|
138
|
+
[6432, 6443, 0],
|
|
139
|
+
[6448, 6459, 0],
|
|
140
|
+
[6679, 6683, 0],
|
|
141
|
+
[6741, 6750, 0],
|
|
142
|
+
[6752, 6780, 0],
|
|
143
|
+
[6783, 6783, 0],
|
|
144
|
+
[6832, 6877, 0],
|
|
145
|
+
[6880, 6891, 0],
|
|
146
|
+
[6912, 6916, 0],
|
|
147
|
+
[6964, 6980, 0],
|
|
148
|
+
[7019, 7027, 0],
|
|
149
|
+
[7040, 7042, 0],
|
|
150
|
+
[7073, 7085, 0],
|
|
151
|
+
[7142, 7155, 0],
|
|
152
|
+
[7204, 7223, 0],
|
|
153
|
+
[7376, 7378, 0],
|
|
154
|
+
[7380, 7400, 0],
|
|
155
|
+
[7405, 7405, 0],
|
|
156
|
+
[7412, 7412, 0],
|
|
157
|
+
[7415, 7417, 0],
|
|
158
|
+
[7616, 7679, 0],
|
|
159
|
+
[8203, 8207, 0],
|
|
160
|
+
[8232, 8238, 0],
|
|
161
|
+
[8288, 8303, 0],
|
|
162
|
+
[8400, 8432, 0],
|
|
163
|
+
[8986, 8987, 2],
|
|
164
|
+
[9001, 9002, 2],
|
|
165
|
+
[9193, 9196, 2],
|
|
166
|
+
[9200, 9200, 2],
|
|
167
|
+
[9203, 9203, 2],
|
|
168
|
+
[9725, 9726, 2],
|
|
169
|
+
[9748, 9749, 2],
|
|
170
|
+
[9776, 9783, 2],
|
|
171
|
+
[9800, 9811, 2],
|
|
172
|
+
[9855, 9855, 2],
|
|
173
|
+
[9866, 9871, 2],
|
|
174
|
+
[9875, 9875, 2],
|
|
175
|
+
[9889, 9889, 2],
|
|
176
|
+
[9898, 9899, 2],
|
|
177
|
+
[9917, 9918, 2],
|
|
178
|
+
[9924, 9925, 2],
|
|
179
|
+
[9934, 9934, 2],
|
|
180
|
+
[9940, 9940, 2],
|
|
181
|
+
[9962, 9962, 2],
|
|
182
|
+
[9970, 9971, 2],
|
|
183
|
+
[9973, 9973, 2],
|
|
184
|
+
[9978, 9978, 2],
|
|
185
|
+
[9981, 9981, 2],
|
|
186
|
+
[9989, 9989, 2],
|
|
187
|
+
[9994, 9995, 2],
|
|
188
|
+
[10_024, 10_024, 2],
|
|
189
|
+
[10_060, 10_060, 2],
|
|
190
|
+
[10_062, 10_062, 2],
|
|
191
|
+
[10_067, 10_069, 2],
|
|
192
|
+
[10_071, 10_071, 2],
|
|
193
|
+
[10_133, 10_135, 2],
|
|
194
|
+
[10_160, 10_160, 2],
|
|
195
|
+
[10_175, 10_175, 2],
|
|
196
|
+
[11_035, 11_036, 2],
|
|
197
|
+
[11_088, 11_088, 2],
|
|
198
|
+
[11_093, 11_093, 2],
|
|
199
|
+
[11_503, 11_505, 0],
|
|
200
|
+
[11_647, 11_647, 0],
|
|
201
|
+
[11_744, 11_775, 0],
|
|
202
|
+
[11_904, 11_929, 2],
|
|
203
|
+
[11_931, 12_019, 2],
|
|
204
|
+
[12_032, 12_245, 2],
|
|
205
|
+
[12_272, 12_329, 2],
|
|
206
|
+
[12_330, 12_335, 0],
|
|
207
|
+
[12_336, 12_350, 2],
|
|
208
|
+
[12_353, 12_438, 2],
|
|
209
|
+
[12_441, 12_442, 0],
|
|
210
|
+
[12_443, 12_543, 2],
|
|
211
|
+
[12_549, 12_591, 2],
|
|
212
|
+
[12_593, 12_643, 2],
|
|
213
|
+
[12_644, 12_644, 0],
|
|
214
|
+
[12_645, 12_686, 2],
|
|
215
|
+
[12_688, 12_773, 2],
|
|
216
|
+
[12_783, 12_830, 2],
|
|
217
|
+
[12_832, 12_871, 2],
|
|
218
|
+
[12_880, 42_124, 2],
|
|
219
|
+
[42_128, 42_182, 2],
|
|
220
|
+
[42_607, 42_610, 0],
|
|
221
|
+
[42_612, 42_621, 0],
|
|
222
|
+
[42_654, 42_655, 0],
|
|
223
|
+
[42_736, 42_737, 0],
|
|
224
|
+
[43_010, 43_010, 0],
|
|
225
|
+
[43_014, 43_014, 0],
|
|
226
|
+
[43_019, 43_019, 0],
|
|
227
|
+
[43_043, 43_047, 0],
|
|
228
|
+
[43_052, 43_052, 0],
|
|
229
|
+
[43_136, 43_137, 0],
|
|
230
|
+
[43_188, 43_205, 0],
|
|
231
|
+
[43_232, 43_249, 0],
|
|
232
|
+
[43_263, 43_263, 0],
|
|
233
|
+
[43_302, 43_309, 0],
|
|
234
|
+
[43_335, 43_347, 0],
|
|
235
|
+
[43_360, 43_388, 2],
|
|
236
|
+
[43_392, 43_395, 0],
|
|
237
|
+
[43_443, 43_456, 0],
|
|
238
|
+
[43_493, 43_493, 0],
|
|
239
|
+
[43_561, 43_574, 0],
|
|
240
|
+
[43_587, 43_587, 0],
|
|
241
|
+
[43_596, 43_597, 0],
|
|
242
|
+
[43_643, 43_645, 0],
|
|
243
|
+
[43_696, 43_696, 0],
|
|
244
|
+
[43_698, 43_700, 0],
|
|
245
|
+
[43_703, 43_704, 0],
|
|
246
|
+
[43_710, 43_711, 0],
|
|
247
|
+
[43_713, 43_713, 0],
|
|
248
|
+
[43_755, 43_759, 0],
|
|
249
|
+
[43_765, 43_766, 0],
|
|
250
|
+
[44_003, 44_010, 0],
|
|
251
|
+
[44_012, 44_013, 0],
|
|
252
|
+
[44_032, 55_203, 2],
|
|
253
|
+
[55_216, 55_295, 0],
|
|
254
|
+
[63_744, 64_255, 2],
|
|
255
|
+
[64_286, 64_286, 0],
|
|
256
|
+
[65_024, 65_039, 0],
|
|
257
|
+
[65_040, 65_049, 2],
|
|
258
|
+
[65_056, 65_071, 0],
|
|
259
|
+
[65_072, 65_106, 2],
|
|
260
|
+
[65_108, 65_126, 2],
|
|
261
|
+
[65_128, 65_131, 2],
|
|
262
|
+
[65_279, 65_279, 0],
|
|
263
|
+
[65_281, 65_376, 2],
|
|
264
|
+
[65_440, 65_440, 0],
|
|
265
|
+
[65_504, 65_510, 2],
|
|
266
|
+
[65_520, 65_531, 0],
|
|
267
|
+
[66_045, 66_045, 0],
|
|
268
|
+
[66_272, 66_272, 0],
|
|
269
|
+
[66_422, 66_426, 0],
|
|
270
|
+
[68_097, 68_099, 0],
|
|
271
|
+
[68_101, 68_102, 0],
|
|
272
|
+
[68_108, 68_111, 0],
|
|
273
|
+
[68_152, 68_154, 0],
|
|
274
|
+
[68_159, 68_159, 0],
|
|
275
|
+
[68_325, 68_326, 0],
|
|
276
|
+
[68_900, 68_903, 0],
|
|
277
|
+
[68_969, 68_973, 0],
|
|
278
|
+
[69_291, 69_292, 0],
|
|
279
|
+
[69_370, 69_375, 0],
|
|
280
|
+
[69_446, 69_456, 0],
|
|
281
|
+
[69_506, 69_509, 0],
|
|
282
|
+
[69_632, 69_634, 0],
|
|
283
|
+
[69_688, 69_702, 0],
|
|
284
|
+
[69_744, 69_744, 0],
|
|
285
|
+
[69_747, 69_748, 0],
|
|
286
|
+
[69_759, 69_762, 0],
|
|
287
|
+
[69_808, 69_818, 0],
|
|
288
|
+
[69_826, 69_826, 0],
|
|
289
|
+
[69_888, 69_890, 0],
|
|
290
|
+
[69_927, 69_940, 0],
|
|
291
|
+
[69_957, 69_958, 0],
|
|
292
|
+
[70_003, 70_003, 0],
|
|
293
|
+
[70_016, 70_018, 0],
|
|
294
|
+
[70_067, 70_080, 0],
|
|
295
|
+
[70_089, 70_092, 0],
|
|
296
|
+
[70_094, 70_095, 0],
|
|
297
|
+
[70_188, 70_199, 0],
|
|
298
|
+
[70_206, 70_206, 0],
|
|
299
|
+
[70_209, 70_209, 0],
|
|
300
|
+
[70_367, 70_378, 0],
|
|
301
|
+
[70_400, 70_403, 0],
|
|
302
|
+
[70_459, 70_460, 0],
|
|
303
|
+
[70_462, 70_468, 0],
|
|
304
|
+
[70_471, 70_472, 0],
|
|
305
|
+
[70_475, 70_477, 0],
|
|
306
|
+
[70_487, 70_487, 0],
|
|
307
|
+
[70_498, 70_499, 0],
|
|
308
|
+
[70_502, 70_508, 0],
|
|
309
|
+
[70_512, 70_516, 0],
|
|
310
|
+
[70_584, 70_592, 0],
|
|
311
|
+
[70_594, 70_594, 0],
|
|
312
|
+
[70_597, 70_597, 0],
|
|
313
|
+
[70_599, 70_602, 0],
|
|
314
|
+
[70_604, 70_608, 0],
|
|
315
|
+
[70_610, 70_610, 0],
|
|
316
|
+
[70_625, 70_626, 0],
|
|
317
|
+
[70_709, 70_726, 0],
|
|
318
|
+
[70_750, 70_750, 0],
|
|
319
|
+
[70_832, 70_851, 0],
|
|
320
|
+
[71_087, 71_093, 0],
|
|
321
|
+
[71_096, 71_104, 0],
|
|
322
|
+
[71_132, 71_133, 0],
|
|
323
|
+
[71_216, 71_232, 0],
|
|
324
|
+
[71_339, 71_351, 0],
|
|
325
|
+
[71_453, 71_467, 0],
|
|
326
|
+
[71_724, 71_738, 0],
|
|
327
|
+
[71_984, 71_989, 0],
|
|
328
|
+
[71_991, 71_992, 0],
|
|
329
|
+
[71_995, 71_998, 0],
|
|
330
|
+
[72_000, 72_000, 0],
|
|
331
|
+
[72_002, 72_003, 0],
|
|
332
|
+
[72_145, 72_151, 0],
|
|
333
|
+
[72_154, 72_160, 0],
|
|
334
|
+
[72_164, 72_164, 0],
|
|
335
|
+
[72_193, 72_202, 0],
|
|
336
|
+
[72_243, 72_249, 0],
|
|
337
|
+
[72_251, 72_254, 0],
|
|
338
|
+
[72_263, 72_263, 0],
|
|
339
|
+
[72_273, 72_283, 0],
|
|
340
|
+
[72_330, 72_345, 0],
|
|
341
|
+
[72_544, 72_551, 0],
|
|
342
|
+
[72_751, 72_758, 0],
|
|
343
|
+
[72_760, 72_767, 0],
|
|
344
|
+
[72_850, 72_871, 0],
|
|
345
|
+
[72_873, 72_886, 0],
|
|
346
|
+
[73_009, 73_014, 0],
|
|
347
|
+
[73_018, 73_018, 0],
|
|
348
|
+
[73_020, 73_021, 0],
|
|
349
|
+
[73_023, 73_029, 0],
|
|
350
|
+
[73_031, 73_031, 0],
|
|
351
|
+
[73_098, 73_102, 0],
|
|
352
|
+
[73_104, 73_105, 0],
|
|
353
|
+
[73_107, 73_111, 0],
|
|
354
|
+
[73_459, 73_462, 0],
|
|
355
|
+
[73_472, 73_473, 0],
|
|
356
|
+
[73_475, 73_475, 0],
|
|
357
|
+
[73_524, 73_530, 0],
|
|
358
|
+
[73_534, 73_538, 0],
|
|
359
|
+
[73_562, 73_562, 0],
|
|
360
|
+
[78_896, 78_912, 0],
|
|
361
|
+
[78_919, 78_933, 0],
|
|
362
|
+
[90_398, 90_415, 0],
|
|
363
|
+
[92_912, 92_916, 0],
|
|
364
|
+
[92_976, 92_982, 0],
|
|
365
|
+
[94_031, 94_031, 0],
|
|
366
|
+
[94_033, 94_087, 0],
|
|
367
|
+
[94_095, 94_098, 0],
|
|
368
|
+
[94_176, 94_179, 2],
|
|
369
|
+
[94_180, 94_180, 0],
|
|
370
|
+
[94_192, 94_193, 0],
|
|
371
|
+
[94_194, 94_198, 2],
|
|
372
|
+
[94_208, 101_589, 2],
|
|
373
|
+
[101_631, 101_662, 2],
|
|
374
|
+
[101_760, 101_874, 2],
|
|
375
|
+
[110_576, 110_579, 2],
|
|
376
|
+
[110_581, 110_587, 2],
|
|
377
|
+
[110_589, 110_590, 2],
|
|
378
|
+
[110_592, 110_882, 2],
|
|
379
|
+
[110_898, 110_898, 2],
|
|
380
|
+
[110_928, 110_930, 2],
|
|
381
|
+
[110_933, 110_933, 2],
|
|
382
|
+
[110_948, 110_951, 2],
|
|
383
|
+
[110_960, 111_355, 2],
|
|
384
|
+
[113_821, 113_822, 0],
|
|
385
|
+
[113_824, 113_827, 0],
|
|
386
|
+
[118_528, 118_573, 0],
|
|
387
|
+
[118_576, 118_598, 0],
|
|
388
|
+
[119_141, 119_145, 0],
|
|
389
|
+
[119_149, 119_170, 0],
|
|
390
|
+
[119_173, 119_179, 0],
|
|
391
|
+
[119_210, 119_213, 0],
|
|
392
|
+
[119_362, 119_364, 0],
|
|
393
|
+
[119_552, 119_638, 2],
|
|
394
|
+
[119_648, 119_670, 2],
|
|
395
|
+
[121_344, 121_398, 0],
|
|
396
|
+
[121_403, 121_452, 0],
|
|
397
|
+
[121_461, 121_461, 0],
|
|
398
|
+
[121_476, 121_476, 0],
|
|
399
|
+
[121_499, 121_503, 0],
|
|
400
|
+
[121_505, 121_519, 0],
|
|
401
|
+
[122_880, 122_886, 0],
|
|
402
|
+
[122_888, 122_904, 0],
|
|
403
|
+
[122_907, 122_913, 0],
|
|
404
|
+
[122_915, 122_916, 0],
|
|
405
|
+
[122_918, 122_922, 0],
|
|
406
|
+
[123_023, 123_023, 0],
|
|
407
|
+
[123_184, 123_190, 0],
|
|
408
|
+
[123_566, 123_566, 0],
|
|
409
|
+
[123_628, 123_631, 0],
|
|
410
|
+
[124_140, 124_143, 0],
|
|
411
|
+
[124_398, 124_399, 0],
|
|
412
|
+
[124_643, 124_643, 0],
|
|
413
|
+
[124_646, 124_646, 0],
|
|
414
|
+
[124_654, 124_655, 0],
|
|
415
|
+
[124_661, 124_661, 0],
|
|
416
|
+
[125_136, 125_142, 0],
|
|
417
|
+
[125_252, 125_258, 0],
|
|
418
|
+
[126_980, 126_980, 2],
|
|
419
|
+
[127_183, 127_183, 2],
|
|
420
|
+
[127_374, 127_374, 2],
|
|
421
|
+
[127_377, 127_386, 2],
|
|
422
|
+
[127_488, 127_490, 2],
|
|
423
|
+
[127_504, 127_547, 2],
|
|
424
|
+
[127_552, 127_560, 2],
|
|
425
|
+
[127_568, 127_569, 2],
|
|
426
|
+
[127_584, 127_589, 2],
|
|
427
|
+
[127_744, 127_776, 2],
|
|
428
|
+
[127_789, 127_797, 2],
|
|
429
|
+
[127_799, 127_868, 2],
|
|
430
|
+
[127_870, 127_891, 2],
|
|
431
|
+
[127_904, 127_946, 2],
|
|
432
|
+
[127_951, 127_955, 2],
|
|
433
|
+
[127_968, 127_984, 2],
|
|
434
|
+
[127_988, 127_988, 2],
|
|
435
|
+
[127_992, 127_994, 2],
|
|
436
|
+
[127_995, 127_999, 0],
|
|
437
|
+
[128_000, 128_062, 2],
|
|
438
|
+
[128_064, 128_064, 2],
|
|
439
|
+
[128_066, 128_252, 2],
|
|
440
|
+
[128_255, 128_317, 2],
|
|
441
|
+
[128_331, 128_334, 2],
|
|
442
|
+
[128_336, 128_359, 2],
|
|
443
|
+
[128_378, 128_378, 2],
|
|
444
|
+
[128_405, 128_406, 2],
|
|
445
|
+
[128_420, 128_420, 2],
|
|
446
|
+
[128_507, 128_591, 2],
|
|
447
|
+
[128_640, 128_709, 2],
|
|
448
|
+
[128_716, 128_716, 2],
|
|
449
|
+
[128_720, 128_722, 2],
|
|
450
|
+
[128_725, 128_728, 2],
|
|
451
|
+
[128_732, 128_735, 2],
|
|
452
|
+
[128_747, 128_748, 2],
|
|
453
|
+
[128_756, 128_764, 2],
|
|
454
|
+
[128_992, 129_003, 2],
|
|
455
|
+
[129_008, 129_008, 2],
|
|
456
|
+
[129_292, 129_338, 2],
|
|
457
|
+
[129_340, 129_349, 2],
|
|
458
|
+
[129_351, 129_535, 2],
|
|
459
|
+
[129_648, 129_660, 2],
|
|
460
|
+
[129_664, 129_674, 2],
|
|
461
|
+
[129_678, 129_734, 2],
|
|
462
|
+
[129_736, 129_736, 2],
|
|
463
|
+
[129_741, 129_756, 2],
|
|
464
|
+
[129_759, 129_770, 2],
|
|
465
|
+
[129_775, 129_784, 2],
|
|
466
|
+
[131_072, 196_605, 2],
|
|
467
|
+
[196_608, 262_141, 2],
|
|
468
|
+
[917_504, 921_599, 0],
|
|
469
|
+
];
|
|
470
|
+
// 異体字セレクタ U+FE0F が付くと 2 セルになる文字
|
|
471
|
+
export const NARROW_TO_WIDE = [
|
|
472
|
+
35, 42, 48, 49, 50, 51, 52, 53, 54, 55,
|
|
473
|
+
56, 57, 169, 174, 8252, 8265, 8482, 8505, 8596, 8597,
|
|
474
|
+
8598, 8599, 8600, 8601, 8617, 8618, 9000, 9167, 9197, 9198,
|
|
475
|
+
9199, 9201, 9202, 9208, 9209, 9210, 9410, 9642, 9643, 9654,
|
|
476
|
+
9664, 9723, 9724, 9728, 9729, 9730, 9731, 9732, 9742, 9745,
|
|
477
|
+
9752, 9757, 9760, 9762, 9763, 9766, 9770, 9774, 9775, 9784,
|
|
478
|
+
9785, 9786, 9792, 9794, 9823, 9824, 9827, 9829, 9830, 9832,
|
|
479
|
+
9851, 9854, 9874, 9876, 9877, 9878, 9879, 9881, 9883, 9884,
|
|
480
|
+
9888, 9895, 9904, 9905, 9928, 9935, 9937, 9939, 9961, 9968,
|
|
481
|
+
9969, 9972, 9975, 9976, 9977, 9986, 9992, 9993, 9996, 9997,
|
|
482
|
+
9999, 10_002, 10_004, 10_006, 10_013, 10_017, 10_035, 10_036, 10_052, 10_055,
|
|
483
|
+
10_083, 10_084, 10_145, 10_548, 10_549, 11_013, 11_014, 11_015, 127_344, 127_345,
|
|
484
|
+
127_358, 127_359, 127_777, 127_780, 127_781, 127_782, 127_783, 127_784, 127_785, 127_786,
|
|
485
|
+
127_787, 127_788, 127_798, 127_869, 127_894, 127_895, 127_897, 127_898, 127_899, 127_902,
|
|
486
|
+
127_903, 127_947, 127_948, 127_949, 127_950, 127_956, 127_957, 127_958, 127_959, 127_960,
|
|
487
|
+
127_961, 127_962, 127_963, 127_964, 127_965, 127_966, 127_967, 127_987, 127_989, 127_991,
|
|
488
|
+
128_063, 128_065, 128_253, 128_329, 128_330, 128_367, 128_368, 128_371, 128_372, 128_373,
|
|
489
|
+
128_374, 128_375, 128_376, 128_377, 128_391, 128_394, 128_395, 128_396, 128_397, 128_400,
|
|
490
|
+
128_421, 128_424, 128_433, 128_434, 128_444, 128_450, 128_451, 128_452, 128_465, 128_466,
|
|
491
|
+
128_467, 128_476, 128_477, 128_478, 128_481, 128_483, 128_488, 128_495, 128_499, 128_506,
|
|
492
|
+
128_715, 128_717, 128_718, 128_719, 128_736, 128_737, 128_738, 128_739, 128_740, 128_741,
|
|
493
|
+
128_745, 128_752, 128_755,
|
|
494
|
+
];
|
|
495
|
+
//# sourceMappingURL=cell-table.js.map
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { CommandDefinition, CommandIo } from './registry.js';
|
|
2
|
+
import type { UsageContext } from './usage-error.js';
|
|
3
|
+
/**
|
|
4
|
+
コマンド名が決まった後の argv に、`--` より前の `--help` があるか。
|
|
5
|
+
あれば、ほかの引数は検証せずに help を出す。`--help -1` と `--base --help` が、その例。`--` の後ろの `--help` は位置引数
|
|
6
|
+
*/
|
|
7
|
+
export declare function isHelpRequested(argv: readonly string[]): boolean;
|
|
8
|
+
/**
|
|
9
|
+
typer の Usage 行に出す書式。
|
|
10
|
+
位置引数は名前のまま並べ、必須なら `{issue_ref}`、任意なら `[version]` にする。複数なら `...` を付ける
|
|
11
|
+
*/
|
|
12
|
+
export declare function synopsisOf(definition: Readonly<CommandDefinition>): string;
|
|
13
|
+
export declare function usageOf(definition: Readonly<CommandDefinition>): UsageContext;
|
|
14
|
+
export declare function extraArgumentsMessage(extras: readonly string[]): string;
|
|
15
|
+
/**
|
|
16
|
+
run が投げた context 無しの UsageError(BadParameter)に、このコマンドの使い方を付ける。ほかの例外はそのまま返す
|
|
17
|
+
*/
|
|
18
|
+
export declare function withUsage(error: unknown, usage: UsageContext): unknown;
|
|
19
|
+
/**
|
|
20
|
+
定義したコマンドを argv(コマンド名より後ろ)で実行して、終了コードを返す。
|
|
21
|
+
グローバルの --repo は repo で渡し、入力 repo にする。
|
|
22
|
+
使い方の誤りは UsageError を投げる。--help は扱わない(help は cli.ts の execute が isHelpRequested で先に出す)ので、ここでは未知のオプション。
|
|
23
|
+
UsageError にするのは解析と入力の検証(parse)の誤りだけで、本体(run)の例外はそのまま伝える
|
|
24
|
+
*/
|
|
25
|
+
export declare function runDefinition(definition: Readonly<CommandDefinition>, argv: readonly string[], io: Readonly<CommandIo>, repository?: string): Promise<number>;
|
|
26
|
+
//# sourceMappingURL=command-binding.d.ts.map
|