@akiojin/gwt 6.30.3 → 9.0.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.
Files changed (98) hide show
  1. package/.cargo/config.toml +2 -0
  2. package/.claude-plugin/marketplace.json +18 -0
  3. package/.coderabbit.yaml +8 -0
  4. package/.codex/skills/gwt-fix-issue/scripts/inspect_issue.py +833 -0
  5. package/.dockerignore +63 -0
  6. package/.gitattributes +27 -0
  7. package/.husky/commit-msg +2 -0
  8. package/.husky/pre-commit +9 -0
  9. package/.husky/pre-push +12 -0
  10. package/.markdownlint.json +18 -0
  11. package/.markdownlintignore +2 -0
  12. package/Dockerfile +58 -0
  13. package/README.ja.md +161 -484
  14. package/README.md +164 -444
  15. package/cliff.toml +56 -0
  16. package/clippy.toml +2 -0
  17. package/cmake/ci-disable-native.cmake +16 -0
  18. package/codecov.yml +16 -0
  19. package/commitlint.config.cjs +107 -0
  20. package/deny.toml +35 -0
  21. package/docker-compose.yml +59 -0
  22. package/messages/errors.toml +52 -0
  23. package/package.json +12 -22
  24. package/rustfmt.toml +8 -0
  25. package/scripts/check-e2e-coverage-threshold.mjs +238 -0
  26. package/scripts/entrypoint.sh +36 -25
  27. package/scripts/install-linux-deps.sh +46 -0
  28. package/scripts/postinstall.js +79 -227
  29. package/scripts/release_issue_refs.py +317 -0
  30. package/scripts/run-local-backend-tests-on-commit.sh +15 -0
  31. package/scripts/run-local-e2e-coverage-on-commit.sh +69 -0
  32. package/scripts/run-local-e2e-on-commit.sh +60 -0
  33. package/scripts/test-all.sh +13 -0
  34. package/scripts/test_release_issue_refs.py +257 -0
  35. package/scripts/validate-skill-frontmatter.sh +108 -0
  36. package/scripts/verify-ci-node-toolchain.sh +76 -0
  37. package/scripts/verify-husky-hooks.sh +6 -0
  38. package/scripts/voice-eval.sh +48 -0
  39. package/tests/voice_eval/README.md +53 -0
  40. package/tests/voice_eval/manifest.template.json +55 -0
  41. package/tests/voice_eval/samples/.gitkeep +1 -0
  42. package/tests/voice_eval/script-ja.txt +10 -0
  43. package/vendor/ratatui-core/src/backend/test.rs +1077 -0
  44. package/vendor/ratatui-core/src/backend.rs +405 -0
  45. package/vendor/ratatui-core/src/buffer/assert.rs +71 -0
  46. package/vendor/ratatui-core/src/buffer/buffer.rs +1388 -0
  47. package/vendor/ratatui-core/src/buffer/cell.rs +377 -0
  48. package/vendor/ratatui-core/src/buffer.rs +9 -0
  49. package/vendor/ratatui-core/src/layout/alignment.rs +89 -0
  50. package/vendor/ratatui-core/src/layout/constraint.rs +526 -0
  51. package/vendor/ratatui-core/src/layout/direction.rs +63 -0
  52. package/vendor/ratatui-core/src/layout/flex.rs +212 -0
  53. package/vendor/ratatui-core/src/layout/layout.rs +2838 -0
  54. package/vendor/ratatui-core/src/layout/margin.rs +79 -0
  55. package/vendor/ratatui-core/src/layout/offset.rs +66 -0
  56. package/vendor/ratatui-core/src/layout/position.rs +253 -0
  57. package/vendor/ratatui-core/src/layout/rect/iter.rs +356 -0
  58. package/vendor/ratatui-core/src/layout/rect/ops.rs +136 -0
  59. package/vendor/ratatui-core/src/layout/rect.rs +1114 -0
  60. package/vendor/ratatui-core/src/layout/size.rs +147 -0
  61. package/vendor/ratatui-core/src/layout.rs +333 -0
  62. package/vendor/ratatui-core/src/lib.rs +82 -0
  63. package/vendor/ratatui-core/src/style/anstyle.rs +348 -0
  64. package/vendor/ratatui-core/src/style/color.rs +788 -0
  65. package/vendor/ratatui-core/src/style/palette/material.rs +608 -0
  66. package/vendor/ratatui-core/src/style/palette/tailwind.rs +653 -0
  67. package/vendor/ratatui-core/src/style/palette.rs +6 -0
  68. package/vendor/ratatui-core/src/style/palette_conversion.rs +82 -0
  69. package/vendor/ratatui-core/src/style/stylize.rs +668 -0
  70. package/vendor/ratatui-core/src/style.rs +1069 -0
  71. package/vendor/ratatui-core/src/symbols/bar.rs +51 -0
  72. package/vendor/ratatui-core/src/symbols/block.rs +51 -0
  73. package/vendor/ratatui-core/src/symbols/border.rs +709 -0
  74. package/vendor/ratatui-core/src/symbols/braille.rs +21 -0
  75. package/vendor/ratatui-core/src/symbols/half_block.rs +3 -0
  76. package/vendor/ratatui-core/src/symbols/line.rs +259 -0
  77. package/vendor/ratatui-core/src/symbols/marker.rs +82 -0
  78. package/vendor/ratatui-core/src/symbols/merge.rs +748 -0
  79. package/vendor/ratatui-core/src/symbols/pixel.rs +30 -0
  80. package/vendor/ratatui-core/src/symbols/scrollbar.rs +46 -0
  81. package/vendor/ratatui-core/src/symbols/shade.rs +5 -0
  82. package/vendor/ratatui-core/src/symbols.rs +15 -0
  83. package/vendor/ratatui-core/src/terminal/frame.rs +192 -0
  84. package/vendor/ratatui-core/src/terminal/terminal.rs +926 -0
  85. package/vendor/ratatui-core/src/terminal/viewport.rs +58 -0
  86. package/vendor/ratatui-core/src/terminal.rs +40 -0
  87. package/vendor/ratatui-core/src/text/grapheme.rs +84 -0
  88. package/vendor/ratatui-core/src/text/line.rs +1678 -0
  89. package/vendor/ratatui-core/src/text/masked.rs +149 -0
  90. package/vendor/ratatui-core/src/text/span.rs +904 -0
  91. package/vendor/ratatui-core/src/text/text.rs +1434 -0
  92. package/vendor/ratatui-core/src/text.rs +64 -0
  93. package/vendor/ratatui-core/src/widgets/stateful_widget.rs +193 -0
  94. package/vendor/ratatui-core/src/widgets/widget.rs +174 -0
  95. package/vendor/ratatui-core/src/widgets.rs +9 -0
  96. package/bin/gwt.js +0 -131
  97. package/scripts/postinstall.test.js +0 -71
  98. package/scripts/release-download.js +0 -66
package/.dockerignore ADDED
@@ -0,0 +1,63 @@
1
+ # Git
2
+ .git/
3
+ gwt.git/
4
+ .gitignore
5
+
6
+ # Dependencies
7
+ node_modules/
8
+ npm-debug.log*
9
+ yarn-debug.log*
10
+ yarn-error.log*
11
+ package-lock.json
12
+
13
+ # Build artifacts
14
+ dist/
15
+ build/
16
+ *.tsbuildinfo
17
+
18
+ # Environment variables
19
+ .env*
20
+ !.env.example
21
+
22
+ # Testing
23
+ coverage/
24
+ tests/
25
+ *.test.ts
26
+ *.spec.ts
27
+
28
+ # IDE
29
+ .vscode/
30
+ .idea/
31
+ *.swp
32
+ *.swo
33
+
34
+ # OS files
35
+ .DS_Store
36
+ Thumbs.db
37
+
38
+ # Logs
39
+ logs/
40
+ *.log
41
+
42
+ # Docker files
43
+ Dockerfile*
44
+ .dockerignore
45
+ docker-compose*.yml
46
+
47
+ # Documentation (optional - uncomment if not needed in image)
48
+ # README.md
49
+ # docs/
50
+
51
+ # Spec Kit files
52
+ .specify/
53
+ specs/
54
+
55
+ # MCP cache
56
+ .serena/
57
+
58
+ # Claude Code settings
59
+ .claude/
60
+
61
+ # Temporary files
62
+ tmp/
63
+ temp/
package/.gitattributes ADDED
@@ -0,0 +1,27 @@
1
+ # Auto detect text files and perform LF normalization
2
+ * text=auto
3
+
4
+ # Shell scripts should always use LF
5
+ *.sh text eol=lf
6
+ .docker/entrypoint.sh text eol=lf
7
+
8
+ # Dockerfile should always use LF
9
+ Dockerfile text eol=lf
10
+ docker-compose.yml text eol=lf
11
+ docker-compose.yaml text eol=lf
12
+
13
+ # Source code files
14
+ *.ts text eol=lf
15
+ *.js text eol=lf
16
+ *.json text eol=lf
17
+ *.md text eol=lf
18
+ *.yml text eol=lf
19
+ *.yaml text eol=lf
20
+
21
+ # Binary files
22
+ *.png binary
23
+ *.jpg binary
24
+ *.jpeg binary
25
+ *.gif binary
26
+ *.ico binary
27
+ *.pdf binary
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env sh
2
+ bunx --package @commitlint/cli commitlint --edit "$1"
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env sh
2
+
3
+ set -e
4
+
5
+ echo "Validating SKILL.md frontmatter..."
6
+ pnpm lint:skills
7
+
8
+ echo "Running commit-time backend tests..."
9
+ bash scripts/run-local-backend-tests-on-commit.sh
@@ -0,0 +1,12 @@
1
+ #!/usr/bin/env sh
2
+
3
+ set -e
4
+
5
+ echo "Running CI-equivalent lint checks..."
6
+
7
+ cargo clippy --all-targets --all-features -- -D warnings
8
+ cargo fmt --all -- --check
9
+ bunx --bun markdownlint-cli . --config .markdownlint.json --ignore target --ignore CHANGELOG.md
10
+ pnpm lint:skills
11
+
12
+ echo "All pre-push checks passed."
@@ -0,0 +1,18 @@
1
+ {
2
+ "default": true,
3
+ "MD024": {
4
+ "siblings_only": true
5
+ },
6
+ "MD009": false,
7
+ "MD013": false,
8
+ "MD022": false,
9
+ "MD031": false,
10
+ "MD032": false,
11
+ "MD033": false,
12
+ "MD036": false,
13
+ "MD040": false,
14
+ "MD041": false,
15
+ "MD047": false,
16
+ "MD058": false,
17
+ "MD060": false
18
+ }
@@ -0,0 +1,2 @@
1
+ node_modules/
2
+ CHANGELOG.md
package/Dockerfile ADDED
@@ -0,0 +1,58 @@
1
+ # Node.js 22 (LTS) ベースイメージ
2
+ FROM node:22-bookworm
3
+
4
+ ARG ZIG_VERSION=0.15.2
5
+ ARG ZIG_SHA256=02aa270f183da276e5b5920b1dac44a63f1a49e55050ebde3aecc9eb82f93239
6
+ ARG PNPM_VERSION=10.29.2
7
+
8
+ COPY scripts/install-linux-deps.sh /tmp/install-linux-deps.sh
9
+
10
+ # 開発/CIで必要になる基盤ツール + Tauri/Linux 依存をイメージに同梱
11
+ RUN apt-get update && apt-get install -y --no-install-recommends \
12
+ build-essential \
13
+ ca-certificates \
14
+ curl \
15
+ gnupg \
16
+ jq \
17
+ pkg-config \
18
+ python3 \
19
+ ripgrep \
20
+ vim \
21
+ libgtk-3-dev \
22
+ libjavascriptcoregtk-4.1-dev \
23
+ libsoup-3.0-dev \
24
+ && SKIP_APT_UPDATE=1 NO_INSTALL_RECOMMENDS=1 bash /tmp/install-linux-deps.sh \
25
+ && apt-get clean \
26
+ && rm -rf /var/lib/apt/lists/*
27
+
28
+ # Install Zig
29
+ RUN curl -fsSL "https://ziglang.org/download/${ZIG_VERSION}/zig-x86_64-linux-${ZIG_VERSION}.tar.xz" -o /tmp/zig.tar.xz && \
30
+ echo "${ZIG_SHA256} /tmp/zig.tar.xz" | sha256sum -c - && \
31
+ tar -C /opt -xf /tmp/zig.tar.xz && \
32
+ ln -s "/opt/zig-x86_64-linux-${ZIG_VERSION}/zig" /usr/local/bin/zig && \
33
+ rm /tmp/zig.tar.xz
34
+
35
+ # Global tools (minimal - other tools are in devDependencies)
36
+ RUN npm add -g bun@latest
37
+ RUN corepack enable && corepack prepare pnpm@${PNPM_VERSION} --activate
38
+
39
+ # Install Rust
40
+ RUN /bin/bash -c "set -o pipefail && curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y"
41
+ ENV PATH="/root/.cargo/bin:${PATH}"
42
+
43
+ # Install uv/uvx
44
+ RUN /bin/bash -c "set -o pipefail && curl -fsSL https://astral.sh/uv/install.sh | bash"
45
+
46
+ # GitHub CLIのインストール
47
+ RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | gpg --dearmor -o /usr/share/keyrings/githubcli-archive-keyring.gpg && \
48
+ echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" > /etc/apt/sources.list.d/github-cli.list && \
49
+ apt-get update && \
50
+ apt-get install -y gh && \
51
+ rm -rf /var/lib/apt/lists/*
52
+
53
+ # エントリーポイントスクリプトをコピー
54
+ COPY scripts/entrypoint.sh /entrypoint.sh
55
+ RUN chmod +x /entrypoint.sh
56
+
57
+ ENTRYPOINT ["/entrypoint.sh"]
58
+ CMD ["bash"]