opensyn 0.1.4 → 0.1.5
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.md +18 -1
- package/README.zh-CN.md +18 -1
- package/index.ts +840 -82
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
- package/runtime/opensyn-host-distiller.mjs +24 -138
- package/runtime/postinstall.mjs +1 -9
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ Default local paths:
|
|
|
16
16
|
|
|
17
17
|
Default workspace behavior:
|
|
18
18
|
- `openclaw enable_opensyn` uses the current OpenClaw workspace if no project path is provided
|
|
19
|
-
- `openclaw enable_opensyn` also bootstraps the managed shell hook, starts the plugin-managed background `watch-linux` collector, and
|
|
19
|
+
- `openclaw enable_opensyn` also bootstraps the managed shell hook, starts the plugin-managed background `watch-linux` collector, and enables the plugin-managed host-model distillation service
|
|
20
20
|
- `openclaw status_opensyn` returns a compact `next=...` hint so the customer can see the next required action immediately
|
|
21
21
|
- add `--json` only when full diagnostics are needed
|
|
22
22
|
|
|
@@ -45,14 +45,31 @@ Primary OpenClaw CLI commands:
|
|
|
45
45
|
- `openclaw enable_opensyn`
|
|
46
46
|
- `openclaw disable_opensyn`
|
|
47
47
|
- `openclaw status_opensyn`
|
|
48
|
+
- `openclaw stats_opensyn`
|
|
49
|
+
- `openclaw report_opensyn`
|
|
50
|
+
- `openclaw context_opensyn`
|
|
51
|
+
- `openclaw episodes_opensyn`
|
|
52
|
+
- `openclaw assets_opensyn`
|
|
48
53
|
- `openclaw doctor_opensyn`
|
|
49
54
|
- `openclaw repair_opensyn`
|
|
50
55
|
|
|
56
|
+
Recommended inspection flow:
|
|
57
|
+
|
|
58
|
+
- `openclaw status_opensyn` to confirm collection and distillation health
|
|
59
|
+
- `openclaw stats_opensyn` to see raw events, episodes, context packs, and assets
|
|
60
|
+
- `openclaw report_opensyn` to see an aggregated workspace-level report
|
|
61
|
+
- `openclaw context_opensyn` to inspect the latest synthesized context pack
|
|
62
|
+
- `openclaw episodes_opensyn` to inspect recent task episodes
|
|
63
|
+
- `openclaw assets_opensyn` to inspect candidate and approved memory/skill/rule assets
|
|
64
|
+
|
|
51
65
|
Plugin tools still available:
|
|
52
66
|
|
|
53
67
|
- `opensyn_autonomous_collection_status`
|
|
54
68
|
- `opensyn_autonomous_tick`
|
|
69
|
+
- `opensyn_collection_report`
|
|
70
|
+
- `opensyn_collected_stats`
|
|
55
71
|
- `opensyn_current_context`
|
|
72
|
+
- `opensyn_recent_episodes`
|
|
56
73
|
- `opensyn_recent_failure`
|
|
57
74
|
- `opensyn_search_history`
|
|
58
75
|
- `opensyn_list_assets`
|
package/README.zh-CN.md
CHANGED
|
@@ -16,7 +16,7 @@ openclaw status_opensyn
|
|
|
16
16
|
|
|
17
17
|
默认 workspace 行为:
|
|
18
18
|
- `openclaw enable_opensyn` 如果不传项目路径,会直接使用当前 OpenClaw workspace
|
|
19
|
-
- `openclaw enable_opensyn` 还会完成托管 shell hook 自举,并拉起插件托管的后台 `watch-linux`
|
|
19
|
+
- `openclaw enable_opensyn` 还会完成托管 shell hook 自举,并拉起插件托管的后台 `watch-linux` 采集器,同时启用插件托管的宿主模型 distillation service
|
|
20
20
|
- `openclaw status_opensyn` 会直接返回统一的 `next=...` 提示,让客户马上知道下一步动作
|
|
21
21
|
- 只有在排障时才需要追加 `--json` 查看完整诊断信息
|
|
22
22
|
|
|
@@ -45,14 +45,31 @@ npm adduser
|
|
|
45
45
|
- `openclaw enable_opensyn`
|
|
46
46
|
- `openclaw disable_opensyn`
|
|
47
47
|
- `openclaw status_opensyn`
|
|
48
|
+
- `openclaw stats_opensyn`
|
|
49
|
+
- `openclaw report_opensyn`
|
|
50
|
+
- `openclaw context_opensyn`
|
|
51
|
+
- `openclaw episodes_opensyn`
|
|
52
|
+
- `openclaw assets_opensyn`
|
|
48
53
|
- `openclaw doctor_opensyn`
|
|
49
54
|
- `openclaw repair_opensyn`
|
|
50
55
|
|
|
56
|
+
推荐查看路径:
|
|
57
|
+
|
|
58
|
+
- 用 `openclaw status_opensyn` 确认采集和提炼是否健康
|
|
59
|
+
- 用 `openclaw stats_opensyn` 查看 raw events、episodes、context packs、assets 数量
|
|
60
|
+
- 用 `openclaw report_opensyn` 查看当前 workspace 的聚合报告
|
|
61
|
+
- 用 `openclaw context_opensyn` 查看最新综合 context
|
|
62
|
+
- 用 `openclaw episodes_opensyn` 查看近期任务片段
|
|
63
|
+
- 用 `openclaw assets_opensyn` 查看候选和已批准的 memory/skill/rule 资产
|
|
64
|
+
|
|
51
65
|
插件工具仍可直接调用:
|
|
52
66
|
|
|
53
67
|
- `opensyn_autonomous_collection_status`
|
|
54
68
|
- `opensyn_autonomous_tick`
|
|
69
|
+
- `opensyn_collection_report`
|
|
70
|
+
- `opensyn_collected_stats`
|
|
55
71
|
- `opensyn_current_context`
|
|
72
|
+
- `opensyn_recent_episodes`
|
|
56
73
|
- `opensyn_recent_failure`
|
|
57
74
|
- `opensyn_search_history`
|
|
58
75
|
- `opensyn_list_assets`
|