@miorin/dsh-atlas-atlas 0.2.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.
Files changed (51) hide show
  1. package/AGENTS.local.md +5 -2
  2. package/AGENTS.md +10 -0
  3. package/CHANGELOG.md +6 -0
  4. package/README.md +22 -5
  5. package/README.zh.md +13 -3
  6. package/THIRD-PARTY-NOTICES.md +14 -5
  7. package/client.js +2080 -253
  8. package/cordis.patch.yml +1 -2
  9. package/docs/DETAIL.de.md +2 -2
  10. package/docs/DETAIL.en.md +2 -2
  11. package/docs/DETAIL.es.md +2 -2
  12. package/docs/DETAIL.fr.md +2 -2
  13. package/docs/DETAIL.ja.md +3 -2
  14. package/docs/DETAIL.pt.md +2 -2
  15. package/docs/DETAIL.ru.md +2 -2
  16. package/docs/DETAIL.zh.md +2 -1
  17. package/docs/README.md +58 -11
  18. package/index.js +932 -1
  19. package/lib/atlas.js +176 -0
  20. package/lib/bundle-inspector.js +215 -0
  21. package/lib/local-dev-service.js +654 -0
  22. package/lib/local-dev-store.js +158 -0
  23. package/lib/local-dev-types.js +52 -0
  24. package/lib/overlay-builder.js +231 -0
  25. package/locale/de.json +1 -1
  26. package/locale/en.json +2 -2
  27. package/locale/es.json +1 -1
  28. package/locale/fr.json +1 -1
  29. package/locale/ja.json +1 -1
  30. package/locale/pt.json +1 -1
  31. package/locale/ru.json +1 -1
  32. package/locale/zh.json +1 -1
  33. package/package.json +21 -2
  34. package/scripts/build.mjs +8 -5
  35. package/scripts/build.mts +8 -5
  36. package/scripts/sync-types.mjs +75 -45
  37. package/scripts/sync-types.mts +79 -51
  38. package/src/client/aggregate-settings.ts +118 -0
  39. package/src/client/index.tsx +766 -52
  40. package/src/client/labels.ts +577 -97
  41. package/src/client/local-dev-api.ts +55 -0
  42. package/src/client/local-dev-detail.tsx +261 -0
  43. package/src/client/published-icons.ts +10 -6
  44. package/src/client/styles.ts +352 -53
  45. package/src/host/index.ts +90 -2
  46. package/src/lib/atlas.ts +110 -27
  47. package/src/lib/bundle-inspector.ts +250 -0
  48. package/src/lib/local-dev-service.ts +789 -0
  49. package/src/lib/local-dev-store.ts +174 -0
  50. package/src/lib/local-dev-types.ts +164 -0
  51. package/src/lib/overlay-builder.ts +276 -0
package/AGENTS.local.md CHANGED
@@ -15,8 +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 member bundle names on npm and handles their installation
19
- and selection.
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/`.
20
23
  - Keep the plugin detail page short.
21
24
  Set `meta.title` and `meta.description` in `locale/*.json` for the DSH interface language.
22
25
  Use `meta.detail` in each locale to select a short, packaged Markdown document when needed.
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,11 @@
1
1
  # 版本日志
2
2
 
3
+ ## 待发布
4
+
5
+ - 新增「外观模块化改良计划」开关,可链接本地聚合包并管理整包启停。
6
+ - 新增「脉络模块化改良计划」开关,可链接本地聚合包并管理整包启停。
7
+ - 第三个开关改为「列表模块化改良计划」,可启停已链接的列表 Atlas。
8
+
3
9
  ## 0.2.0 · 2026-11-23
4
10
 
5
11
  - 新增「运行时模块化改良计划」开关,支持从 npm 首次安装和独立启停。
package/README.md CHANGED
@@ -1,14 +1,31 @@
1
- # Modular Improvement Plan Manager
1
+ # Atlas Modular Improvement Plan
2
2
 
3
3
  [简体中文](README.zh.md)
4
4
 
5
- Manage the workspace, session, plugin, mobile, and runtime bundles for the current profile from one page.
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 → Modular Improvement Plan Manager** to use the five switches.
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
- The first time you turn on a bundle, DSH installs it from npm.
12
- Turning it off keeps the installed copy and its plugin settings.
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
- 五个开关分别管理当前 profile 的工作区、会话、插件、移动端和运行时模块化改良计划。
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
- 首次开启时从 npm 安装并启用对应成员包。
12
- 关闭会停用整包并保留安装和逐项设置,再次开启直接复用已有安装。
17
+ 需要本地联调时,打开 **启用本地仓库链接** 并保存存放同级插件仓库的绝对路径(例如 `/work/plugins`)。
18
+ 开启后,管理卡及各插件详情页底部会提供两项正交能力:
19
+
20
+ - **包本体来源**:将任意可管理的单插件或聚合包自身在基线来源与 `<工作区路径>/<包目录名>` 之间切换。
21
+ - **聚合成员来源**:将聚合包 `dsh.aggregate` 声明的全部直接子插件在随包版本与本地检出之间切换,
22
+ 在 profile 私有目录合成 overlay 并自动清理过期副本,不污染源码目录。
13
23
 
14
24
  [开发与验证](docs/README.md)
@@ -1,7 +1,10 @@
1
1
  # Third-party notices
2
2
 
3
- Atlas manager adapts the switch markup and styling from `@deepseek-ai/dsh-client-ui-primitives@0.2.2-rc.5`,
4
- `src/Switch.tsx` (`Switch`) and `src/Switch.module.css` (`switch` and `thumb`).
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
- ## Published Atlas icons
28
+ ## Host configuration schema
26
29
 
27
- Workspace, Session, Plugin, Mobile, and Runtime Atlas declare the MIT license.
28
- The [generated artwork module](src/client/published-icons.ts) records each npm package, version, and icon path.
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`.