@akiojin/gwt 9.29.0 → 9.31.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/README.ja.md +16 -12
- package/README.md +16 -12
- package/package.json +3 -3
package/README.ja.md
CHANGED
|
@@ -127,7 +127,7 @@ hook は同期的な `gwt hook ...` dispatch にフォールバックし、複
|
|
|
127
127
|
|
|
128
128
|
## Agent Workflow
|
|
129
129
|
|
|
130
|
-
1.
|
|
130
|
+
1. プロジェクトを開く、GitHub から clone する、または前回のプロジェクトを復元する
|
|
131
131
|
2. `Board`、`Issue`、`SPEC`、Knowledge search surface で現在の作業、
|
|
132
132
|
関連 owner、過去の判断を把握する
|
|
133
133
|
3. まだ branch ではなく作業単位として曖昧な場合は、Project Bar または
|
|
@@ -221,7 +221,14 @@ Agent session の隔離と再現性のため、gwt は各プロジェクトを
|
|
|
221
221
|
└── .gwt/project.toml # gwt が管理するプロジェクトメタデータ
|
|
222
222
|
```
|
|
223
223
|
|
|
224
|
-
|
|
224
|
+
Project Picker の `Clone from GitHub...` から clone した場合は自動でこの構成に
|
|
225
|
+
なります。Clone modal では GitHub HTTPS / SSH URL を直接入力するか、`gh search
|
|
226
|
+
repos` による repository 検索から候補を選択し、保存先の親フォルダを指定します。
|
|
227
|
+
新しいプロジェクトは `<parent>/<project>/` に作成され、`<project>.git/` bare
|
|
228
|
+
リポジトリと initial worktree が配置されます。remote に `develop` が存在する
|
|
229
|
+
場合は `develop` worktree を作成し、存在しない場合は remote default branch を
|
|
230
|
+
使います。
|
|
231
|
+
|
|
225
232
|
既存の Normal Git リポジトリ(プロジェクト直下に `.git/` がある通常レイアウト)
|
|
226
233
|
は検出され、要望に応じて Nested Bare + Worktree 構成へマイグレーションできます。
|
|
227
234
|
マイグレーションは `.gwt-migration-backup/` にフルバックアップを取ってから
|
|
@@ -232,16 +239,13 @@ bare リポジトリを作り直し、各 worktree を新レイアウトに再
|
|
|
232
239
|
で管理しています。
|
|
233
240
|
|
|
234
241
|
既存の Normal Git プロジェクトを移行するには、gwt のプロジェクトピッカーまたは
|
|
235
|
-
`Reopen Recent` から開きます。gwt がレイアウトを検出すると、
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
- **Skip** — Normal Git のままプロジェクトを開きます。次回そのプロジェクトを
|
|
243
|
-
開いたときに再度モーダルが表示されます。
|
|
244
|
-
- **Quit** — リポジトリに触れずにアプリを終了します。
|
|
242
|
+
`Reopen Recent` から開きます。gwt がレイアウトを検出すると、Migrate 確認
|
|
243
|
+
モーダルが表示されます。
|
|
244
|
+
|
|
245
|
+
**Migrate** を選ぶと即座にマイグレーションを実行します。進捗はフェーズ単位で
|
|
246
|
+
ストリーミング (Validate -> Backup -> Bareify -> Worktrees -> Submodules ->
|
|
247
|
+
Tracking -> Cleanup -> Done) され、成功時はアプリを再起動せずに新しいブランチ
|
|
248
|
+
worktree にプロジェクトタブが切り替わります。
|
|
245
249
|
|
|
246
250
|
## キャンバス操作
|
|
247
251
|
|
package/README.md
CHANGED
|
@@ -128,7 +128,8 @@ the named-pipe path lands.
|
|
|
128
128
|
|
|
129
129
|
## Agent Workflow
|
|
130
130
|
|
|
131
|
-
1. Open a project directory or restore the previous
|
|
131
|
+
1. Open a project directory, clone from GitHub, or restore the previous
|
|
132
|
+
project.
|
|
132
133
|
2. Use `Board`, `Issue`, `SPEC`, and Knowledge search surfaces to understand
|
|
133
134
|
the current work, related owners, and prior decisions.
|
|
134
135
|
3. Choose `Start Work` from the Project Bar or Command Palette when the task is
|
|
@@ -226,8 +227,14 @@ For isolation and repeatable agent sessions, gwt can manage each project as a
|
|
|
226
227
|
└── .gwt/project.toml # gwt-managed project metadata
|
|
227
228
|
```
|
|
228
229
|
|
|
229
|
-
`gwt` auto-creates this layout when you
|
|
230
|
-
|
|
230
|
+
`gwt` auto-creates this layout when you choose `Clone from GitHub...` in the
|
|
231
|
+
Project Picker. The clone modal accepts a GitHub HTTPS/SSH URL or lets you
|
|
232
|
+
search repositories through `gh search repos`, then asks for a destination
|
|
233
|
+
parent folder. The new project is created at `<parent>/<project>/`, with a
|
|
234
|
+
bare `<project>.git/` repository and an initial worktree on `develop` when it
|
|
235
|
+
exists, otherwise on the remote default branch.
|
|
236
|
+
|
|
237
|
+
Existing Normal Git repositories (`.git/` directly under the project
|
|
231
238
|
directory) are recognised so a migration to the Nested Bare + Worktree layout
|
|
232
239
|
can be run on demand. The migration safely backs up the original tree to
|
|
233
240
|
`.gwt-migration-backup/`, rebuilds the bare repo, recreates each worktree,
|
|
@@ -236,15 +243,12 @@ and rolls back automatically if any phase fails. Tracking work is captured in
|
|
|
236
243
|
|
|
237
244
|
To migrate an existing Normal Git project, open it from gwt's project
|
|
238
245
|
picker (or via `Reopen Recent`). gwt detects the layout and shows a
|
|
239
|
-
confirmation modal
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
- **Skip** — open the project as a Normal Git checkout. The modal will
|
|
246
|
-
reappear the next time you open the project.
|
|
247
|
-
- **Quit** — close the app without touching the repository.
|
|
246
|
+
Migrate confirmation modal.
|
|
247
|
+
|
|
248
|
+
Choose **Migrate** to run the migration now. Progress is streamed phase by
|
|
249
|
+
phase (Validate -> Backup -> Bareify -> Worktrees -> Submodules -> Tracking ->
|
|
250
|
+
Cleanup -> Done). On success the project tab reloads onto the new branch
|
|
251
|
+
worktree without restarting the app.
|
|
248
252
|
|
|
249
253
|
## Canvas Operations
|
|
250
254
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akiojin/gwt",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.31.0",
|
|
4
4
|
"description": "Desktop GUI for Git worktree management and coding agent launch",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"dev": "cargo run -p gwt --bin gwt",
|
|
13
13
|
"build": "cargo build --release -p gwt --bin gwt --bin gwtd",
|
|
14
14
|
"test": "cargo test -p gwt-core -p gwt --all-features",
|
|
15
|
-
"test:frontend-bundle": "node --check crates/gwt/web/app.js && node --check crates/gwt/web/branch-cleanup-modal.js && node --check crates/gwt/web/migration-modal.js && node --check crates/gwt/web/board-surface.js && node --check crates/gwt/web/workspace-kanban-surface.js && node --check crates/gwt/web/theme-manager.js && node --check crates/gwt/web/theme-toggle.js && node --check crates/gwt/web/hotkey.js && node --check crates/gwt/web/operator-shell.js && node --check crates/gwt/web/focus-trap.js && node --check crates/gwt/web/window-docking.js && node --check crates/gwt/web/update-cta.js && node --check crates/gwt/web/terminal-context-menu.js && node --check crates/gwt/web/custom-agent-env-editor.js",
|
|
16
|
-
"test:frontend-smoke": "node --test crates/gwt/web/__tests__/branch-cleanup.smoke.test.mjs crates/gwt/web/__tests__/migration-modal.smoke.test.mjs",
|
|
15
|
+
"test:frontend-bundle": "node --check crates/gwt/web/app.js && node --check crates/gwt/web/branch-cleanup-modal.js && node --check crates/gwt/web/migration-modal.js && node --check crates/gwt/web/project-clone-modal.js && node --check crates/gwt/web/board-surface.js && node --check crates/gwt/web/workspace-kanban-surface.js && node --check crates/gwt/web/theme-manager.js && node --check crates/gwt/web/theme-toggle.js && node --check crates/gwt/web/hotkey.js && node --check crates/gwt/web/operator-shell.js && node --check crates/gwt/web/focus-trap.js && node --check crates/gwt/web/window-docking.js && node --check crates/gwt/web/update-cta.js && node --check crates/gwt/web/terminal-context-menu.js && node --check crates/gwt/web/custom-agent-env-editor.js",
|
|
16
|
+
"test:frontend-smoke": "node --test crates/gwt/web/__tests__/branch-cleanup.smoke.test.mjs crates/gwt/web/__tests__/migration-modal.smoke.test.mjs crates/gwt/web/__tests__/project-clone-modal.smoke.test.mjs",
|
|
17
17
|
"test:frontend-unit": "node --test crates/gwt/web/__tests__/contrast.test.mjs crates/gwt/web/__tests__/theme-manager.test.mjs crates/gwt/web/__tests__/theme-segmented.test.mjs crates/gwt/web/__tests__/hotkey.test.mjs crates/gwt/web/__tests__/index-settings-panel.test.mjs crates/gwt/web/__tests__/index-status-controller.test.mjs crates/gwt/web/__tests__/operator-chrome-structure.test.mjs crates/gwt/web/__tests__/operator-shell-runtime.test.mjs crates/gwt/web/__tests__/operator-shell-hover-reveal.test.mjs crates/gwt/web/__tests__/board-surface.test.mjs crates/gwt/web/__tests__/focus-trap.test.mjs crates/gwt/web/__tests__/kanban-structure.test.mjs crates/gwt/web/__tests__/kanban-dnd.test.mjs crates/gwt/web/__tests__/kanban-drawer.test.mjs crates/gwt/web/__tests__/workspace-kanban-surface.test.mjs crates/gwt/web/__tests__/update-button.test.mjs crates/gwt/web/__tests__/window-docking.test.mjs crates/gwt/web/__tests__/terminal-context-menu.test.mjs crates/gwt/web/__tests__/terminal-viewport-reflow.test.mjs crates/gwt/web/__tests__/custom-agent-env-editor.test.mjs crates/gwt/web/__tests__/settings-system-tab.test.mjs",
|
|
18
18
|
"test:visual": "playwright test --config crates/gwt/playwright/playwright.config.ts",
|
|
19
19
|
"test:release-assets": "node scripts/test_release_assets.cjs",
|