@aryacode/dsh-aryacode-polish 0.8.2 → 0.10.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/CHANGELOG.md +79 -0
- package/README.md +2 -1
- package/client/face.js +3 -0
- package/client/switches.json +6 -0
- package/client/workspace.js +898 -0
- package/docs/better-workspace.md +72 -0
- package/entries/registry.js +6 -0
- package/lib/client.js +908 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,84 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.10.0] - 2026-10-28
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- A filter box in the workspaces header: it narrows workspaces and sessions, opens
|
|
8
|
+
every group it keeps so a match is never hidden, and reports "n of m sessions".
|
|
9
|
+
`/` focuses it from anywhere in the app and Escape clears it.
|
|
10
|
+
- Pinned sessions are hoisted to the top of their workspace with a marker, and a
|
|
11
|
+
running session shows a dot, so the row reads before you click it.
|
|
12
|
+
- Drag and drop: a workspace row dropped on another moves in front of it
|
|
13
|
+
(`workspaces.insertBefore`), a session row dropped on a sibling reorders it
|
|
14
|
+
(`workspaces.insertSessionBefore`); a session refuses to leave its workspace.
|
|
15
|
+
- Keyboard walking: arrow keys move a highlighted row, Enter opens a session or
|
|
16
|
+
folds a workspace, Escape closes the menu, clears the filter, then drops the cursor.
|
|
17
|
+
- Row actions appear on hover or on the keyboard cursor instead of always, and a
|
|
18
|
+
header control folds or expands every workspace at once.
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
- The tree no longer renders every "..." button permanently, which was what made a
|
|
23
|
+
three-row sidebar look like a nine-row one.
|
|
24
|
+
|
|
25
|
+
## [0.9.6] - 2026-10-28
|
|
26
|
+
|
|
27
|
+
### Fixed
|
|
28
|
+
|
|
29
|
+
- A workspace whose Host title merely repeats its id is humanised, because that is
|
|
30
|
+
what the default workspace's title is.
|
|
31
|
+
|
|
32
|
+
## [0.9.5] - 2026-10-28
|
|
33
|
+
|
|
34
|
+
### Added
|
|
35
|
+
|
|
36
|
+
- Better workspace carries the add control the stock browser had: a header with a
|
|
37
|
+
"+" that opens this bundle's own source menu (On this PC or a GitHub repository)
|
|
38
|
+
and adds the chosen folder as a workspace.
|
|
39
|
+
- The default workspace no longer shows its raw id: an empty Host `title` is
|
|
40
|
+
humanised ("default-workspace" reads "Default workspace").
|
|
41
|
+
|
|
42
|
+
## [0.9.4] - 2026-10-28
|
|
43
|
+
|
|
44
|
+
### Fixed
|
|
45
|
+
|
|
46
|
+
- The seat's `inject()` is called with the standard props the runtime captured, so the
|
|
47
|
+
menu renders again after 0.9.3 referenced a name that only lived in the factory.
|
|
48
|
+
|
|
49
|
+
## [0.9.3] - 2026-10-28
|
|
50
|
+
|
|
51
|
+
### Fixed
|
|
52
|
+
|
|
53
|
+
- Each menu seat's own `inject()` runs before its occupant renders, so this bundle's
|
|
54
|
+
"Open workspace folder" row is back beside the shipped rows instead of silently
|
|
55
|
+
rendering nothing for want of the services it declared.
|
|
56
|
+
|
|
57
|
+
## [0.9.2] - 2026-10-28
|
|
58
|
+
|
|
59
|
+
### Fixed
|
|
60
|
+
|
|
61
|
+
- The shipped session menu rows (Pin, Rename, Fork, Archive) now receive the standard
|
|
62
|
+
hooks they call -- `usePinned`, `useArchived`, `useSessionAccess` and `useShortcuts` --
|
|
63
|
+
derived from the snapshots this seat already subscribes to, instead of throwing
|
|
64
|
+
`TypeError: usePinned is not a function` inside `usePinState`.
|
|
65
|
+
|
|
66
|
+
## [0.9.1] - 2026-10-28
|
|
67
|
+
|
|
68
|
+
### Fixed
|
|
69
|
+
|
|
70
|
+
- Better workspace reads the session list as `{ ids, byId }` and keeps the Host order;
|
|
71
|
+
it no longer re-sorts on a timestamp `SessionSummary` does not carry.
|
|
72
|
+
|
|
73
|
+
## [0.9.0] - 2026-10-28
|
|
74
|
+
|
|
75
|
+
### Added
|
|
76
|
+
|
|
77
|
+
- Better workspace (`betterWorkspace`): our own sidebar browser registered into
|
|
78
|
+
`sidebar.workspaces` at `priority: -1`, with the shipped session menu rendered
|
|
79
|
+
inside it and a right-click menu on every workspace row (open, copy path, remove).
|
|
80
|
+
See `docs/better-workspace.md` for why this is a takeover rather than a menu item.
|
|
81
|
+
|
|
3
82
|
|
|
4
83
|
## [0.8.2] - 2026-10-28
|
|
5
84
|
|
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ installed into and patches nothing. It is one package, one Plugins row, and one
|
|
|
7
7
|
switch per feature, so a refinement that turns out to be wrong for a machine can
|
|
8
8
|
be turned off without uninstalling anything.
|
|
9
9
|
|
|
10
|
-
Status: **
|
|
10
|
+
Status: **eight features shipped.** The version is the package's, and the card
|
|
11
11
|
header already shows it.
|
|
12
12
|
|
|
13
13
|
## What it is
|
|
@@ -30,6 +30,7 @@ Configure page automatically.
|
|
|
30
30
|
|
|
31
31
|
| Switch | Default | What it does |
|
|
32
32
|
| --- | --- | --- |
|
|
33
|
+
| Better workspace | On | Replaces the sidebar workspace list with our own tree and a right-click menu on each workspace. |
|
|
33
34
|
| **Estimated session cost** (`sessionCost`) | On | A `≈$0.39` pill in the composer dock that opens a breakdown card — cache hit, uncached input, cached input, output, requests, and the estimate — priced from the session's recorded usage at the published DeepSeek rates. |
|
|
34
35
|
| **Account balance** (`accountBalance`) | On | The account's remaining wallet (`$17.33`) in the sidebar foot, above the account row. Renders nothing when the Host exposes no wallet, so it never shows a number nobody gave it. |
|
|
35
36
|
| **Open workspace folder** (`openWorkspaceFolder`) | On | An **Open workspace folder** row in a Session's "…" menu that opens the Session's workspace in Explorer/Finder. Renders nothing when the Session has no workspace or the Host cannot open a path. See [Open a workspace folder](docs/workspace-folder.md) for why the request had to land here instead of on the workspace row itself. |
|
package/client/face.js
CHANGED
|
@@ -1849,6 +1849,9 @@ return {
|
|
|
1849
1849
|
return undefined
|
|
1850
1850
|
}
|
|
1851
1851
|
}
|
|
1852
|
+
// The Better workspace seat shadows the shipped browser at a different priority,
|
|
1853
|
+
// so it must be present only while its switch is on.
|
|
1854
|
+
installWorkspaceSeat(ctx, configForms, { sourceFlow: WorkspaceSourceFlow })
|
|
1852
1855
|
ctx.slots.inject('plugins.row.config', () => ctx.slots.register({
|
|
1853
1856
|
name: 'plugins.row.config',
|
|
1854
1857
|
key: ROW_KEY,
|
package/client/switches.json
CHANGED
|
@@ -36,6 +36,12 @@
|
|
|
36
36
|
"label": "Right-panel screenshot",
|
|
37
37
|
"description": "Copy the open right panel into the chat as an image, and onto the clipboard.",
|
|
38
38
|
"defaultOn": true
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"key": "betterWorkspace",
|
|
42
|
+
"label": "Better workspace",
|
|
43
|
+
"description": "Replace the sidebar workspace list with our own tree: workspaces with their sessions, a right-click menu on a workspace (open, copy path, remove), and the shipped session menu inside it.",
|
|
44
|
+
"defaultOn": true
|
|
39
45
|
}
|
|
40
46
|
]
|
|
41
47
|
}
|