@qilin-agent/experimental-schedule-bundle 3.1.5 → 3.1.6
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/README.i18n.yaml +5 -2
- package/README.md +11 -0
- package/README.zh.md +11 -0
- package/package.json +8 -8
package/README.i18n.yaml
CHANGED
|
@@ -18,8 +18,11 @@
|
|
|
18
18
|
en: 632033572617d7bc
|
|
19
19
|
zh: b2a050e68cf3f3e1
|
|
20
20
|
/qilin-agent-experimental-schedule-bundle/understand-the-implementation:
|
|
21
|
-
en:
|
|
22
|
-
zh:
|
|
21
|
+
en: a444a25df4e2d95c
|
|
22
|
+
zh: 734725df58302050
|
|
23
|
+
/qilin-agent-experimental-schedule-bundle/understand-the-implementation/why-the-bundle-is-kept:
|
|
24
|
+
en: ecc4ceb59579dfec
|
|
25
|
+
zh: 47c3fb5f795b2e91
|
|
23
26
|
/qilin-agent-experimental-schedule-bundle/further-exploration:
|
|
24
27
|
en: 83b88b7123bdbb56
|
|
25
28
|
zh: 3c5c644eb1b99d10
|
package/README.md
CHANGED
|
@@ -47,6 +47,17 @@ Open Plugins in the Web sidebar and enable Automation tasks, marked by an alarm
|
|
|
47
47
|
|
|
48
48
|
</details>
|
|
49
49
|
|
|
50
|
+
### Why the bundle is kept
|
|
51
|
+
|
|
52
|
+
Upstream composes the `schedule` service row and the `ui-schedule` page row in the web-app patch and keeps the clock row and the four reminder tools in each preset. This deployment keeps all three rows in this opt-in bundle and the four tools in the shipped `ptc` preset, and it does not retire the bundle into the Web composition.
|
|
53
|
+
|
|
54
|
+
- One selection carries the capability together: the service, the page, and the clock reading switch on and off as a unit, and disabling restores the composition without a rebuild or a release.
|
|
55
|
+
- The enablement path already exists elsewhere: `OPTIONAL_BUNDLES` offers the bundle in the Official group, and [the user guide](../../../docs/user/guide/schedule.md) and [the subsystem page](../../../docs/subsystems/schedule.md) name it as the way to add Schedule to a shipped Web profile.
|
|
56
|
+
|
|
57
|
+
What differs from the upstream form, in behavior a consumer can observe: a shipped Web profile here carries no `schedule` row at all until the bundle is selected, so the Automation tasks page and the reminder catalog are absent rather than empty; and a delegated child is refused by [the tools](../../schedule/tool-schedule/README.md) and by `ScheduleService` itself instead of by a preset's tool filter.
|
|
58
|
+
|
|
59
|
+
Maintenance boundary: this package owns composition rows — the ids, the plugin names, and the patch shape. Scheduling behavior stays in [`@qilin-agent/schedule`](../../schedule/schedule/README.md), the page in [`@qilin-agent/client-ui-schedule`](../../client/ui-schedule/README.md), the clock reading in [`@qilin-agent/time-context`](../../context/time-context/README.md), and the tools in [`@qilin-agent/tool-schedule`](../../schedule/tool-schedule/README.md); a change in any of those needs no edit here unless a row's id or config changes. This bundle must not gain scheduling logic or re-declare a row another layer inserts. Retiring it stays a single change: move the three rows into `packages/bundle/web-app/cordis.patch.yml`, delete `cordis.patch.yml` and `tests/patch.spec.ts`, and drop the `OPTIONAL_BUNDLES` entry.
|
|
60
|
+
|
|
50
61
|
-----
|
|
51
62
|
|
|
52
63
|
<a id="further-exploration"></a>
|
package/README.zh.md
CHANGED
|
@@ -47,6 +47,17 @@ kind: "package-bundle"
|
|
|
47
47
|
|
|
48
48
|
</details>
|
|
49
49
|
|
|
50
|
+
### 为何保留此 Bundle
|
|
51
|
+
|
|
52
|
+
上游把 `schedule` 服务条目与 `ui-schedule` 页面条目组合在 web-app 补丁中,并把时钟条目与四个提醒工具保留在各 preset 中。本部署把三个条目留在可选的 Bundle 中、把四个工具留在随包交付的 `ptc` preset 中,并且不把该 Bundle 退役进 Web 组合。
|
|
53
|
+
|
|
54
|
+
- 一次选择即整体承载能力:服务、页面与时钟读数一起开关,禁用即恢复原有组合,无需重新构建或发版。
|
|
55
|
+
- 启用路径已存在于别处:`OPTIONAL_BUNDLES` 在“官方”分组提供该 Bundle,[用户指南](../../../docs/user/guide/schedule.zh.md)与[子系统页](../../../docs/subsystems/schedule.zh.md)都把它写作为随包 Web profile 加入定时的方式。
|
|
56
|
+
|
|
57
|
+
与上游形态的可见差异:本部署的随包 Web profile 在选中该 Bundle 之前根本不含 `schedule` 条目,因此自动化任务页与提醒目录是缺失而非空;被委派的子智能体由[工具](../../schedule/tool-schedule/README.zh.md)与 `ScheduleService` 本身拒绝,而不是由 preset 的工具过滤拒绝。
|
|
58
|
+
|
|
59
|
+
维护边界:本包只拥有组合条目——id、插件名与补丁形状。调度行为留在 [`@qilin-agent/schedule`](../../schedule/schedule/README.zh.md),页面留在 [`@qilin-agent/client-ui-schedule`](../../client/ui-schedule/README.zh.md),时钟读数留在 [`@qilin-agent/time-context`](../../context/time-context/README.zh.md),工具留在 [`@qilin-agent/tool-schedule`](../../schedule/tool-schedule/README.zh.md);这些包的变化无需改动此处,除非某个条目的 id 或 config 改变。此 Bundle 不得加入调度逻辑,也不得重复声明其它层已插入的条目。退役它同样是一步改动:把三个条目移入 `packages/bundle/web-app/cordis.patch.yml`,删除 `cordis.patch.yml` 与 `tests/patch.spec.ts`,并去掉 `OPTIONAL_BUNDLES` 条目。
|
|
60
|
+
|
|
50
61
|
-----
|
|
51
62
|
|
|
52
63
|
<a id="further-exploration"></a>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qilin-agent/experimental-schedule-bundle",
|
|
3
3
|
"description": "Optional bundle that adds Schedule, its task page, and time context to the Web composition",
|
|
4
|
-
"version": "3.1.
|
|
4
|
+
"version": "3.1.6",
|
|
5
5
|
"icon": "./icon.svg",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -33,17 +33,17 @@
|
|
|
33
33
|
],
|
|
34
34
|
"license": "MIT",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@qilin-agent/
|
|
37
|
-
"@qilin-agent/time-context": "3.1.
|
|
38
|
-
"@qilin-agent/schedule": "3.1.
|
|
36
|
+
"@qilin-agent/schedule": "3.1.6",
|
|
37
|
+
"@qilin-agent/time-context": "3.1.6",
|
|
38
|
+
"@qilin-agent/client-ui-schedule": "3.1.6"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@qilin-agent/kylin": "~4.0.
|
|
41
|
+
"@qilin-agent/kylin": "~4.0.5"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"js-yaml": "^4.2
|
|
45
|
-
"@qilin-agent/kylin": "~4.0.
|
|
46
|
-
"@qilin-agent/kylin-plugin-include": "~1.0.
|
|
44
|
+
"js-yaml": "^4.3.2",
|
|
45
|
+
"@qilin-agent/kylin": "~4.0.5",
|
|
46
|
+
"@qilin-agent/kylin-plugin-include": "~1.0.10"
|
|
47
47
|
},
|
|
48
48
|
"qilin": {
|
|
49
49
|
"bundle": {
|