@1yefuwang1/dsh-worktrees 0.0.0-stage → 0.2.13

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 ADDED
@@ -0,0 +1,218 @@
1
+ # @1yefuwang1/dsh-worktrees changelog
2
+
3
+ ## 0.2.13 — First scoped release preparation
4
+
5
+ - Package as `@1yefuwang1/dsh-worktrees` to avoid an unrelated unscoped npm name;
6
+ publish only this leaf through the staged trusted-publishing workflow. Preserve
7
+ stable tool/command, UI, RPC and storage identifiers across the identity change.
8
+
9
+ - Match Projects working-session markers to native Folder view: a neutral 14px
10
+ SVG ring with synchronized 1.5s rotation/breathing and reduced-motion support.
11
+ - Use native-sized solid pending/completion dots and preserve pending/activity/
12
+ completion priority, blank/archive suppression and idle extension decorations.
13
+ - Keep activity state distinct from permanent worktree backing. No core changes.
14
+
15
+ ## 0.2.12 — Compact sidebar toolbar
16
+
17
+ - Replace the always-visible search field and archive dropdown with a compact
18
+ Projects toolbar: Search, View options and Add project icons match Folder view.
19
+ - Reveal and focus inline search on request; Escape/Close clears the filter and
20
+ restores trigger focus. Keep archive choices in an owned keyboard-accessible
21
+ popover, without changing project management, sessions or native editor state.
22
+
23
+ ## 0.2.11 — Native sidebar alignment
24
+
25
+ - Match Projects sidebar typography and row spacing to the native Folder view,
26
+ with the same open/closed workspace-folder artwork instead of text glyphs.
27
+ - Show localized session last-active times and an absolute-date tooltip using
28
+ the native relative-time buckets, with hover/focus actions replacing the time.
29
+ - Use counted Show X more sessions labels and the native 12px overflow style;
30
+ count only actually hidden rows while preserving running/current sessions.
31
+ - Retain permanent worktree indicators, native row extensions and metadata-only
32
+ project management. No core changes or background date/Git polling.
33
+
34
+ ## 0.2.10 — Metadata-only project removal
35
+
36
+ - Add Remove project to Manage project, with a metadata-only confirmation that
37
+ keeps source folders, files, conversations and managed worktrees intact.
38
+ - Persist removal receipts before cleanup; prevent folder auto-import from
39
+ recreating removed projects on refresh, restart or ordinary worktree use.
40
+ Explicit re-add uses a fresh project UUID and retains native folder identities.
41
+ - Keep removed projects' conversations accessible under Other threads and Folder
42
+ view, with truthful managed-worktree icons, branches and execution paths.
43
+ - Share Save/Remove single-flight admission, preserve refused editor drafts, and
44
+ fence stale reads and ownership-sensitive New intents without Local fallback.
45
+ - Retain native workspaces, sessions, start receipts and Git data. No core changes.
46
+
47
+ ## 0.2.9 — Git-aware conversation options
48
+
49
+ - Offer New worktree/remote-branch controls only after the actual blank target
50
+ passes a read-only local Git status check and has a configured remote. Plain
51
+ folders, unsupported/unverified sources and failed checks retain Local chats.
52
+ - Coalesce/cache exact binding/folder/connection observations; abort stale checks
53
+ on target changes, panel/unmount, reconnect or disposal without polling rows.
54
+ - Gate New selection, native intent capture and setup checks; revoke stale branch
55
+ queries and captured New attempts without silently changing them to Local.
56
+ Unavailable New intent requires explicit Local selection, including worktree-
57
+ backed sources. Fresh configure/Send status failures revoke older positives.
58
+ - Preserve read-only caller authorization, fresh Send-time validation, native draft
59
+ restoration and accepted destination navigation. No core or Host API changes.
60
+
61
+ ## 0.2.8 — Main-folder defaults and reminders
62
+
63
+ - Persist a main folder per project; require an explicit choice for new multi-
64
+ folder GUI drafts and migrate legacy metadata to its first folder. Main-only
65
+ edits and folder reorders never change existing conversation cwd or bindings.
66
+ - Default the project's New Thread action to main, with alternate-folder actions
67
+ and a guarded empty-composer folder selector using the native session flow.
68
+ - Expose canonical `mainFolder` create/update paths and optional start `folderId`;
69
+ default-start replay retains its original folder/session and caller safeguards.
70
+ - Add main/default, actual selection, execution directory and bounded folder IDs
71
+ to the native agent system reminder; always include main/selected folders, with
72
+ full-metadata discovery and explicit permissions/worktree boundaries.
73
+ - Reject invalid defaults and unsafe main removal; retain managed-ancestry folder
74
+ protection. Keep DSH core, native editor, log/cwd and permissions unchanged.
75
+
76
+ ## 0.2.7 — Multi-folder project dialog
77
+
78
+ - Redesign Create/Manage project as a compact name field, Source folders card,
79
+ removable folder rows, Add control and Cancel/Create project footer.
80
+ - Support checkbox-based batch folder selection retained across Host directory
81
+ navigation, repeated Add, deduplication and an atomic 32-folder limit. Keep
82
+ manual absolute paths and the optional single-folder native chooser.
83
+ - Guard pending saves/pickers synchronously, keep one create UUID per dialog,
84
+ freeze full folder replacements, retain refused drafts and block dismissal
85
+ while non-cancellable operations are pending. Abort superseded browser scans.
86
+ - Preserve shared project tools/RPC, Host ownership/removal/path checks, existing
87
+ execution directories and permissions. No core or shell changes.
88
+
89
+ ## 0.2.6 — Worktree root settings
90
+
91
+ - Expose Worktree root folder on the plugin row's native configuration page, with
92
+ persisted Save and field-only reset, validation and revision-conflict handling.
93
+ - Make the root a native volatile setting and snapshot it once at new-create
94
+ admission. Live edits affect future creates, never existing/in-flight paths or
95
+ ready-operation replays; snapshots/handoff retain their load-time storage root.
96
+ - Keep plain constructor/apply compatibility and existing caller/plan/root safety
97
+ checks. No core changes, custom settings transport, folder migration or grant.
98
+
99
+ ## 0.2.5 — Chat header cleanup
100
+
101
+ - Remove the Worktrees button beside the project name in the chat header. Keep
102
+ project/backing metadata passive and retain the manager's sidebar entry.
103
+ - Leave compact sidebar worktree indicators and lazy first-Send setup unchanged.
104
+
105
+ ## 0.2.4 — Compact sidebar update
106
+
107
+ - Keep Projects sidebar worktree rows compact: show a permanent worktree icon,
108
+ not inline worktree/branch-name text. Hovering the title or icon reveals the
109
+ branch and execution path; thread details retain both and accessible naming.
110
+ - Leave lazy setup, conversation headers, manager and native row actions unchanged.
111
+
112
+ ## 0.2.3 — Lazy native setup update
113
+
114
+ - Make New worktree selection side-effect-free. First native ordinary Send lazily
115
+ fetches the selected latest remote base, creates a random checkout/branch,
116
+ generates/applies a branch name, and only then admits the normal prompt.
117
+ - Add visible Fetching/Creating/Naming progress and cancellation through bounded
118
+ event-driven authenticated wait RPC; no periodic polling or early main LLM call.
119
+ - Use the explicitly approved exact-version native submission-sink adapter, not a
120
+ replacement message editor or core modification. Preserve native commands,
121
+ reference codecs, submission gestures and draft/chip/undo rollback.
122
+ - Capture intent before async native serialization/adjudication; Local changes,
123
+ unload and navigation cannot accidentally fall through to a Local prompt.
124
+ - Re-stage/await exact-session file receipts, retain source through native
125
+ settlement, and guard ambiguous admission against duplicate work/prompts.
126
+ - Persist foreground naming intent/result after checkout, retain the random cwd,
127
+ and cap foreground auxiliary naming at 15 seconds with deterministic fallback.
128
+
129
+ ## 0.2.2 — Native eager creation update
130
+
131
+ - Remove the custom first-message composer and New Thread dialog. Restore the
132
+ native workspace picker, rich editor, attachments and Send behavior; add only
133
+ a Local/New worktree choice to the blank-conversation toolbar. Project New
134
+ Thread uses the native session flow instead of a separate dialog.
135
+ - Create a random directory and local branch immediately when New worktree is
136
+ chosen, from a freshly fetched selectable remote base. No prompt, draft/file
137
+ transfer, naming inference or composer replacement occurs during creation.
138
+ - Rename only the initial branch from the first committed user message at a safe
139
+ idle maintenance window. Keep cwd, checkout path and session identity stable;
140
+ never overwrite a collision or a manually changed/protected/archived branch.
141
+ - Persist exact-message naming receipts/results, honor caller permissions and
142
+ disposal, and reuse results or deterministic fallback after interruption without
143
+ repeating uncertain inference. Leave session titles with the native feature.
144
+ - Refresh cached branch records through native Workspace structural updates,
145
+ retaining quiet authenticated RPC, project grouping and non-destructive recovery.
146
+
147
+ ## 0.2.1 — UI transport fix
148
+
149
+ - Fix sidebar HTTP 404 by owning exact authenticated POST Fetch routes instead
150
+ of attempting to claim the API gateway's exclusive shared `/api` interceptor.
151
+ Project and worktree endpoints coexist with native APIs, without core changes.
152
+ - Preserve the public Connection request/response envelope and rpcId correlation,
153
+ existing operator admission, caller authorization, bounded bodies and orderly
154
+ cancellation/disposal. UI traffic remains quiet; no command fallback is used.
155
+ - Exercise the real HostConnectionService Fetch router with the native gateway
156
+ installed first, rather than a fake multi-interceptor registry.
157
+
158
+ ## 0.2.0 — Project/thread model update
159
+
160
+ - Add durable multi-folder projects independent of native Workspace paths. Import
161
+ existing Local workspaces, group their Local and managed-worktree threads, and
162
+ retain membership when imported folders are combined into explicit projects.
163
+ - Add a project-grouped sidebar with permanent accessible worktree indicators,
164
+ project/folder-aware New Thread, create/edit dialogs, search, pinned/archived
165
+ access, and an explicit fallback to the original native folder browser.
166
+ - Preserve native row extensions through lifecycle-owned, namespaced public slot
167
+ aliases; do not replace the app shell, mutate core, or change existing cwd/logs.
168
+ - Bind new worktree threads and Local handoff continuations to their actual
169
+ project folder. Preserve subdirectories, support legacy nested ownership, and
170
+ keep source worktree indicators off Local handoff threads.
171
+ - Add quiet project RPC, shared `workspace_project` tool and `/project` command,
172
+ strict numeric DTO validation, cancellation/idempotent blank-thread creation,
173
+ and bounded project runtime context. No permission grant or automatic prompt.
174
+
175
+ ## 0.1.2 — Quiet UI transport update
176
+
177
+ - Move every generated UI request to authenticated Connection RPC. List/status,
178
+ branch selection, remounts, cancellations and user actions no longer append
179
+ visible slash-command lifecycle rows. Explicit commands and agent tools remain
180
+ available with unchanged caller-bound authorization and operation semantics.
181
+ - Preserve existing chat history; no transcript/card hiding or core changes.
182
+
183
+ ## 0.1.1 — Local UI/naming update
184
+
185
+ - Simplify New Chat to compact Local/New worktree and remote-base-branch choices.
186
+ Worktree creation and automatic directory/display/branch naming occur on its
187
+ first Send, using a plugin-owned first-prompt composer without core changes.
188
+ - Add configurable auxiliary naming, defaulting to github-copilot/gpt-6-luna,
189
+ bounded and validated with deterministic fallback and no other-model retry.
190
+ - Declare the remote.commands Client namespace and stop passive header/Local
191
+ background commands from producing repeated conversation rows.
192
+
193
+ ## 0.1.0 — Initial local release
194
+
195
+ - Add a separately installable Host/Web Client bundle for isolated linked Git
196
+ worktree conversations, without replacing an LLM adapter or web-search provider.
197
+ - Add blank-conversation Local/New worktree setup, selectable remote and searchable
198
+ advertised branches, a fresh selected-branch fetch and a pinned detached base.
199
+ - Guard exact-session draft/file transfer with composer-block ownership, source
200
+ generation/currentness, draft and settings checks, cancellation and navigation
201
+ supersession. Prepare never sends a prompt; rich references flatten to clipboard
202
+ text and runtime-only files must be reviewed/restaged before Send.
203
+ - Add manager/header reminders, status, exact conversation opening, branch creation,
204
+ protection and archive/restore of records; archiving never deletes files or logs.
205
+ - Add retained preview/export and explicitly acknowledged optimistic Local handoff.
206
+ Full access, idle known sessions, clean target at the saved base and stopped
207
+ external writers are required; no automatic pull/reset/branch switch or claim of
208
+ global atomicity. A running source cannot self-handoff from its own agent tool.
209
+ - Journal operation identities and partial outcomes for non-destructive recovery;
210
+ committed same-request replay returns the original session/base. Preserve normal
211
+ original-history, fork and Goal semantics.
212
+ - Add bounded managed Git execution, supported-repository checks, public declaration
213
+ consumers, static/pure Client protocols and local-Git fixture tests.
214
+ - Add an explicit publication allowlist and package-specific release tag. This
215
+ version has not been published; live installed-GUI verification remains required.
216
+
217
+ Independent history from the catalog and search packages. Licensed under
218
+ [MIT](<LICENSE>).
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 dsh-copilot-catalog contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.