@dsh-plus/actual 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.
package/lib/client.js CHANGED
@@ -294,7 +294,7 @@ window.__ModuleLoader__.load({
294
294
  unsaved: "未保存",
295
295
  loading: "加载中…",
296
296
  unavailable: "配置服务不可用。",
297
- readOnly: "当前部署无 settings provider,配置为只读;请编辑 settings.yaml。",
297
+ readOnly: "当前部署无 settings provider,配置为只读;请在 profile 的 cordis.patch.yml 行级配置。",
298
298
  invalidNumber: "请输入正整数。",
299
299
  collapse: "收起",
300
300
  expand: "展开",
@@ -311,7 +311,7 @@ window.__ModuleLoader__.load({
311
311
  unsaved: "Unsaved",
312
312
  loading: "Loading…",
313
313
  unavailable: "Settings service unavailable.",
314
- readOnly: "No settings provider in this deployment; config is read-only. Edit settings.yaml.",
314
+ readOnly: "No settings provider in this deployment; config is read-only. Configure it at the profile row in cordis.patch.yml.",
315
315
  invalidNumber: "Enter a positive integer.",
316
316
  collapse: "Collapse",
317
317
  expand: "Expand",
@@ -519,8 +519,8 @@ ${extra}
519
519
  /**
520
520
  * settings 命名空间字面量(纯常量,零依赖)。
521
521
  *
522
- * 宿主以字面量注册 settings section(用户层配置经 dsh-settings-file 持久化,
523
- * 热生效);与行级 cordis Config 共用同一份 schemastery schema(config.ts)。
522
+ * 宿主以字面量注册 settings section(用户层配置落 profile 行级覆盖层
523
+ * cordis.patch.yml,热生效);与行级 cordis Config 共用同一份 schemastery schema。
524
524
  * 浏览器半的配置卡片按同一字面量读写。
525
525
  * @module @dsh-plus/actual/ns
526
526
  */
package/lib/index.d.ts CHANGED
@@ -151,8 +151,8 @@ declare function actualPresetDefinition(config: ActualConfig): PresetDefinition;
151
151
  /**
152
152
  * settings 命名空间字面量(纯常量,零依赖)。
153
153
  *
154
- * 宿主以字面量注册 settings section(用户层配置经 dsh-settings-file 持久化,
155
- * 热生效);与行级 cordis Config 共用同一份 schemastery schema(config.ts)。
154
+ * 宿主以字面量注册 settings section(用户层配置落 profile 行级覆盖层
155
+ * cordis.patch.yml,热生效);与行级 cordis Config 共用同一份 schemastery schema。
156
156
  * 浏览器半的配置卡片按同一字面量读写。
157
157
  * @module @dsh-plus/actual/ns
158
158
  */
package/lib/index.js CHANGED
@@ -7,8 +7,8 @@ import { Client, InMemoryTransport } from "@modelcontextprotocol/client";
7
7
  /**
8
8
  * settings 命名空间字面量(纯常量,零依赖)。
9
9
  *
10
- * 宿主以字面量注册 settings section(用户层配置经 dsh-settings-file 持久化,
11
- * 热生效);与行级 cordis Config 共用同一份 schemastery schema(config.ts)。
10
+ * 宿主以字面量注册 settings section(用户层配置落 profile 行级覆盖层
11
+ * cordis.patch.yml,热生效);与行级 cordis Config 共用同一份 schemastery schema。
12
12
  * 浏览器半的配置卡片按同一字面量读写。
13
13
  * @module @dsh-plus/actual/ns
14
14
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dsh-plus/actual",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "dsh-plus service + UI plugin: Actual Budget 能力发现(@actual-app/cli help 树运行时派生 × 进程内 MCP tools/list)、actual agent 预设注册与配置卡片——零手工工具清单",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -33,7 +33,7 @@
33
33
  "dependencies": {
34
34
  "@modelcontextprotocol/client": "2.3.0",
35
35
  "@dsh-plus/actual-mcp": "0.2.0",
36
- "@dsh-plus/shared": "0.1.35"
36
+ "@dsh-plus/shared": "0.1.36"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "@deepseek-ai/cordis": "^4.0.5-alpha.1",
package/src/ns.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * settings 命名空间字面量(纯常量,零依赖)。
3
3
  *
4
- * 宿主以字面量注册 settings section(用户层配置经 dsh-settings-file 持久化,
5
- * 热生效);与行级 cordis Config 共用同一份 schemastery schema(config.ts)。
4
+ * 宿主以字面量注册 settings section(用户层配置落 profile 行级覆盖层
5
+ * cordis.patch.yml,热生效);与行级 cordis Config 共用同一份 schemastery schema。
6
6
  * 浏览器半的配置卡片按同一字面量读写。
7
7
  * @module @dsh-plus/actual/ns
8
8
  */
package/src/service.ts CHANGED
@@ -71,7 +71,7 @@ export class ActualService extends Service {
71
71
 
72
72
  constructor(ctx: Context, config: ActualConfig | ActualConfigFields) {
73
73
  super(ctx, 'actual')
74
- // 0.1.7 起配置为活动引用:现取即热,替代按需重建之外的任何缓存。
74
+ // 配置为活动引用:现取即热,替代按需重建之外的任何缓存。
75
75
  this.current = () => unwrapVolatile(config) as ActualConfig
76
76
  this.logger = ctx.logger('actual')
77
77
  this.deps = {