@miorin/dsh-atlas-atlas 0.1.0 → 0.2.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.
- package/AGENTS.local.md +14 -6
- package/AGENTS.md +10 -0
- package/CHANGELOG.md +11 -0
- package/README.md +22 -5
- package/README.zh.md +13 -3
- package/THIRD-PARTY-NOTICES.md +14 -5
- package/client.js +2099 -261
- package/cordis.patch.yml +1 -2
- package/docs/DETAIL.de.md +2 -2
- package/docs/DETAIL.en.md +2 -2
- package/docs/DETAIL.es.md +2 -2
- package/docs/DETAIL.fr.md +2 -2
- package/docs/DETAIL.ja.md +3 -2
- package/docs/DETAIL.pt.md +2 -2
- package/docs/DETAIL.ru.md +2 -2
- package/docs/DETAIL.zh.md +2 -1
- package/docs/README.md +75 -14
- package/index.js +932 -1
- package/lib/atlas.js +176 -0
- package/lib/bundle-inspector.js +215 -0
- package/lib/local-dev-service.js +654 -0
- package/lib/local-dev-store.js +158 -0
- package/lib/local-dev-types.js +52 -0
- package/lib/overlay-builder.js +231 -0
- package/locale/de.json +2 -2
- package/locale/en.json +2 -2
- package/locale/es.json +2 -2
- package/locale/fr.json +2 -2
- package/locale/ja.json +2 -2
- package/locale/pt.json +2 -2
- package/locale/ru.json +2 -2
- package/locale/zh.json +1 -1
- package/package.json +30 -7
- package/scripts/build.mjs +115 -123
- package/scripts/build.mts +194 -0
- package/scripts/sync-atlas-icons.mjs +62 -63
- package/scripts/sync-atlas-icons.mts +77 -0
- package/scripts/sync-types.mjs +97 -75
- package/scripts/sync-types.mts +130 -0
- package/src/client/aggregate-settings.ts +118 -0
- package/src/client/index.tsx +766 -52
- package/src/client/labels.ts +595 -107
- package/src/client/local-dev-api.ts +55 -0
- package/src/client/local-dev-detail.tsx +261 -0
- package/src/client/published-icons.ts +10 -4
- package/src/client/styles.ts +352 -53
- package/src/host/index.ts +90 -2
- package/src/lib/atlas.ts +110 -26
- package/src/lib/bundle-inspector.ts +250 -0
- package/src/lib/local-dev-service.ts +789 -0
- package/src/lib/local-dev-store.ts +174 -0
- package/src/lib/local-dev-types.ts +164 -0
- package/src/lib/overlay-builder.ts +276 -0
- package/tsconfig.tools.json +18 -0
package/AGENTS.local.md
CHANGED
|
@@ -15,7 +15,11 @@ Check whether new behavior belongs in its own bundle.
|
|
|
15
15
|
- `README.md` is for users: installation, usage, commands, and limits.
|
|
16
16
|
Provide `README.zh.md` as its Chinese version.
|
|
17
17
|
- [docs/README.md](docs/README.md) records the package's behavior, build steps, and verification.
|
|
18
|
-
- [src/lib/atlas.ts](src/lib/atlas.ts) declares the
|
|
18
|
+
- [src/lib/atlas.ts](src/lib/atlas.ts) declares the official Atlas bundle names and handles bundle enablement
|
|
19
|
+
and removal.
|
|
20
|
+
- [src/lib/local-dev-service.ts](src/lib/local-dev-service.ts)
|
|
21
|
+
and [src/lib/overlay-builder.ts](src/lib/overlay-builder.ts) implement dual local-link switching (package self-link
|
|
22
|
+
and aggregate member-link) under `<profileDir>/dsh-atlas-local-dev/`.
|
|
19
23
|
- Keep the plugin detail page short.
|
|
20
24
|
Set `meta.title` and `meta.description` in `locale/*.json` for the DSH interface language.
|
|
21
25
|
Use `meta.detail` in each locale to select a short, packaged Markdown document when needed.
|
|
@@ -34,10 +38,14 @@ Check whether new behavior belongs in its own bundle.
|
|
|
34
38
|
|
|
35
39
|
## Structure
|
|
36
40
|
|
|
37
|
-
|
|
41
|
+
`npm run build:tools` compiles `.mts` tooling in `scripts/` to adjacent ignored `.mjs` files.
|
|
42
|
+
Node.js 22.18 or newer runs the `.test.mts` files directly.
|
|
43
|
+
|
|
44
|
+
- Use TypeScript for plugin source unless otherwise specified.
|
|
45
|
+
Use the workspace base for TypeScript plugins.
|
|
38
46
|
Put Host, Client, and private module sources under `src/host/`, `src/client/`, and `src/lib/` as needed.
|
|
39
|
-
|
|
40
|
-
|
|
47
|
+
The build generates `index.js`, `client.js`, and the `lib/atlas.js` test module.
|
|
48
|
+
Git ignores these outputs.
|
|
41
49
|
- Keep Plugin Manager metadata in `locale/*.json` and runtime translations in `LABELS` in the Client source.
|
|
42
50
|
- The client test uses a fake `ctx` to check registration, resources, and cleanup.
|
|
43
51
|
- `docs/scripts/reflow` is the standalone documentation formatter and requires Python 3.11 or newer.
|
|
@@ -81,8 +89,8 @@ Update `CHANGELOG.md` when releasing.
|
|
|
81
89
|
|
|
82
90
|
## Verification
|
|
83
91
|
|
|
84
|
-
-
|
|
85
|
-
- From the workspace root, run `node tools/new-dsh-plugin/cli.
|
|
92
|
+
- Follow the [development checks](docs/README.md#本地安装与开发检查).
|
|
93
|
+
- From the workspace root, run `node tools/new-dsh-plugin/cli.mts --check plugins/<id>` to check the manifest,
|
|
86
94
|
locale JSON, and the other scaffold files.
|
|
87
95
|
- Use a disposable profile for installation tests.
|
|
88
96
|
Distinguish fixture results from observations in the UI.
|
package/AGENTS.md
CHANGED
|
@@ -109,3 +109,13 @@ Describe what changed. For `feat`, name the capability directly; use a leading `
|
|
|
109
109
|
|
|
110
110
|
Use the prefix of the commit's primary intent.
|
|
111
111
|
Split commits whose intents are independent.
|
|
112
|
+
|
|
113
|
+
## Release Versioning
|
|
114
|
+
|
|
115
|
+
Follow [Semantic Versioning 2.0.0](https://semver.org/) for every new release.
|
|
116
|
+
|
|
117
|
+
- For `0.x.x`, agents may choose only a patch increment on their own.
|
|
118
|
+
A minor increment requires explicit user authorization.
|
|
119
|
+
- When the current major version is `1` or higher, default to a patch increment.
|
|
120
|
+
Agents may choose a minor increment when the scope of the changes warrants one under SemVer.
|
|
121
|
+
- A major increment always requires explicit direction from the user.
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# 版本日志
|
|
2
2
|
|
|
3
|
+
## 待发布
|
|
4
|
+
|
|
5
|
+
- 新增「外观模块化改良计划」开关,可链接本地聚合包并管理整包启停。
|
|
6
|
+
- 新增「脉络模块化改良计划」开关,可链接本地聚合包并管理整包启停。
|
|
7
|
+
- 第三个开关改为「列表模块化改良计划」,可启停已链接的列表 Atlas。
|
|
8
|
+
|
|
9
|
+
## 0.2.0 · 2026-11-23
|
|
10
|
+
|
|
11
|
+
- 新增「运行时模块化改良计划」开关,支持从 npm 首次安装和独立启停。
|
|
12
|
+
开关显示运行时成员包的图标,标题与成员包的八语标题一致。
|
|
13
|
+
|
|
3
14
|
## 0.1.0 · 2026-11-23
|
|
4
15
|
|
|
5
16
|
- 详情页分别启停工作区、会话、插件和移动端模块化改良计划。
|
package/README.md
CHANGED
|
@@ -1,14 +1,31 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Atlas Modular Improvement Plan
|
|
2
2
|
|
|
3
3
|
[简体中文](README.zh.md)
|
|
4
4
|
|
|
5
|
-
Manage the workspace, session, plugin,
|
|
5
|
+
Manage the workspace, session, list, plugin, mobile, continuity,
|
|
6
|
+
and visual bundles—and any other installed `dsh.aggregate` bundles—from one page.
|
|
6
7
|
In DeepSeek Harness Web or Desktop, open **Plugins → Add plugin** and enter `@miorin/dsh-atlas-atlas`.
|
|
7
|
-
Open **Plugins →
|
|
8
|
+
Open **Plugins → Atlas Modular Improvement Plan** to toggle bundles or manage local development links.
|
|
8
9
|
|
|
9
10
|
The manager requires DSH `0.2.2-rc.5` or newer.
|
|
10
11
|
DSH checks each member bundle's version requirements when it installs.
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
When you turn on a bundle, the manager reuses the existing installation (including a local link
|
|
13
|
+
or overlay) without overwriting its source.
|
|
14
|
+
By default, all seven Atlas bundles install from npm; when **Enable local repository links** is turned
|
|
15
|
+
on with a saved workspace directory, turning on any uninstalled bundle installs directly
|
|
16
|
+
from `link:<workspace>/dsh-atlas-<atlas>` instead of falling back to npm.
|
|
17
|
+
Disable standalone VCS Panel and Sideby Note bundles before enabling Continuity, and disable standalone visual plugins
|
|
18
|
+
(or an older List Atlas that still includes Peak pricing timeline) before enabling Visual.
|
|
19
|
+
Turning a bundle off keeps the installed copy and its plugin settings.
|
|
20
|
+
|
|
21
|
+
For local development, turn on **Enable local repository links**
|
|
22
|
+
and save the absolute directory containing your sibling plugin checkouts (for example `/work/plugins`).
|
|
23
|
+
When enabled, two orthogonal controls appear in this panel and at the bottom of plugin detail pages:
|
|
24
|
+
|
|
25
|
+
- **Package source**: switches any manageable single plugin or aggregate bundle itself between its baseline source
|
|
26
|
+
and `<workspace>/<basename>`.
|
|
27
|
+
- **Aggregate members**: switches all direct member plugins declared
|
|
28
|
+
in an aggregate's `dsh.aggregate` metadata between bundled dependencies and `<workspace>/<member>`,
|
|
29
|
+
using profile-private overlays without modifying your source tree.
|
|
13
30
|
|
|
14
31
|
[Development and verification](docs/README.md)
|
package/README.zh.md
CHANGED
|
@@ -3,12 +3,22 @@
|
|
|
3
3
|
[English](README.md)
|
|
4
4
|
|
|
5
5
|
在 DeepSeek Harness 的 **插件 → 添加插件** 中输入 `@miorin/dsh-atlas-atlas`,再打开 **插件 → 模块模块化改良计划**。
|
|
6
|
-
|
|
6
|
+
七个开关分别管理当前 profile 的工作区、会话、列表、插件、移动端、脉络和外观模块化改良计划,
|
|
7
|
+
同时自动发现 profile 中其他声明了 `dsh.aggregate` 契约的聚合包。
|
|
7
8
|
|
|
8
9
|
管理器需要 DeepSeek Harness `0.2.2-rc.5` 或更新版本的 Web 或桌面界面。
|
|
9
10
|
DSH 在安装时会核对各成员包自己的版本要求。
|
|
11
|
+
开启已安装的成员时直接复用当前来源(含本地链接或 overlay),不覆盖原有安装方式;关闭开关会停用整包并保留安装和逐项设置。
|
|
12
|
+
默认模式下七个 Atlas 成员包均可由 DSH 从 npm 安装;开启 **启用本地仓库链接** 并保存有效工作区路径后,
|
|
13
|
+
点击开启未安装的成员包会直接从 `link:<工作区路径>/dsh-atlas-<atlas>` 安装,不再回退到 npm。
|
|
14
|
+
启用脉络前请先停用单独启用的版本管理与边记部;
|
|
15
|
+
启用外观前请先停用单独启用的成员插件(以及仍包含峰谷时间的旧版列表 Atlas)。
|
|
10
16
|
|
|
11
|
-
|
|
12
|
-
|
|
17
|
+
需要本地联调时,打开 **启用本地仓库链接** 并保存存放同级插件仓库的绝对路径(例如 `/work/plugins`)。
|
|
18
|
+
开启后,管理卡及各插件详情页底部会提供两项正交能力:
|
|
19
|
+
|
|
20
|
+
- **包本体来源**:将任意可管理的单插件或聚合包自身在基线来源与 `<工作区路径>/<包目录名>` 之间切换。
|
|
21
|
+
- **聚合成员来源**:将聚合包 `dsh.aggregate` 声明的全部直接子插件在随包版本与本地检出之间切换,
|
|
22
|
+
在 profile 私有目录合成 overlay 并自动清理过期副本,不污染源码目录。
|
|
13
23
|
|
|
14
24
|
[开发与验证](docs/README.md)
|
package/THIRD-PARTY-NOTICES.md
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
# Third-party notices
|
|
2
2
|
|
|
3
|
-
Atlas manager
|
|
4
|
-
`
|
|
3
|
+
Atlas manager uses `@deepseek-ai/dsh-client-ui-primitives@0.2.2-rc.5` components (`Button`, `Switch`,
|
|
4
|
+
`Tooltip`) and adapts the inward-chevron mirror icon from `IconChevronsUpDownOutlineMedium` (`src/icons/artwork.ts`,
|
|
5
|
+
`'chevrons-up-down-outline'`).
|
|
6
|
+
The uninstall button follows the danger outline styling in `@deepseek-ai/dsh-client-ui-plugin-manager@0.2.2-rc.5`,
|
|
7
|
+
`src/client/PluginManagerPage.module.css` (`.danger`).
|
|
5
8
|
|
|
6
9
|
MIT License
|
|
7
10
|
|
|
@@ -22,7 +25,13 @@ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMA
|
|
|
22
25
|
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
|
|
23
26
|
OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
24
27
|
|
|
25
|
-
##
|
|
28
|
+
## Host configuration schema
|
|
26
29
|
|
|
27
|
-
|
|
28
|
-
The
|
|
30
|
+
The Host artifact bundles `@deepseek-ai/schemastery` 3.19.0 and `@deepseek-ai/cosmokit` 1.9.0.
|
|
31
|
+
The MIT license text above also applies to these packages, copyright (c) 2021–present Shigma.
|
|
32
|
+
|
|
33
|
+
## Atlas member icons
|
|
34
|
+
|
|
35
|
+
Workspace, Session, List, Plugin, and Mobile Atlas declare the MIT license.
|
|
36
|
+
The [artwork module](src/client/published-icons.ts) records each package, version, and icon path.
|
|
37
|
+
The List icon comes from the local List Atlas source for the planned npm version `0.1.0`.
|