flower-trellis 0.4.2 → 0.4.4

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 CHANGED
@@ -138,7 +138,7 @@ flower-trellis self-check --json --target .
138
138
  "updateCheck": {
139
139
  "enabled": true,
140
140
  "policy": "ask",
141
- "intervalHours": 24,
141
+ "intervalHours": 8,
142
142
  "lastCheckedAt": "2026-07-07T00:00:00.000Z",
143
143
  "lastRemote": { "latest": "0.4.2", "beta": null },
144
144
  "lastStatus": "update_available",
@@ -1,5 +1,5 @@
1
1
  {
2
- "syncedAt": "2026-07-07T06:26:20.520Z",
2
+ "syncedAt": "2026-07-07T07:24:58.350Z",
3
3
  "syncedFrom": "vendor/skill-garden",
4
4
  "sourceCommit": "5fdebe60e923c91ba912461b99413b5c8e11a38c",
5
5
  "common": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flower-trellis",
3
- "version": "0.4.2",
3
+ "version": "0.4.4",
4
4
  "description": "一键安装/升级 Trellis 并自动融合 skill-garden 强化包(默认 Claude + agents)",
5
5
  "type": "module",
6
6
  "bin": {
@@ -104,7 +104,7 @@ def _format_context(data: dict) -> str:
104
104
 
105
105
 
106
106
  def _emit_context(context: str) -> None:
107
- """同时兼容 Codex / Claude Code / Cursor 风格的 hook JSON 输出。"""
107
+ """输出 Codex / Claude Code 都接受的 SessionStart hook JSON"""
108
108
  result = {
109
109
  "suppressOutput": True,
110
110
  "systemMessage": "flower-trellis update context injected",
@@ -112,7 +112,6 @@ def _emit_context(context: str) -> None:
112
112
  "hookEventName": "SessionStart",
113
113
  "additionalContext": context,
114
114
  },
115
- "additional_context": context,
116
115
  }
117
116
  print(json.dumps(result, ensure_ascii=False), flush=True)
118
117
 
@@ -15,7 +15,7 @@ const UPDATE_POLICIES = new Set(["off", "notify", "ask", "auto"]);
15
15
  const DEFAULT_UPDATE_CHECK = {
16
16
  enabled: true,
17
17
  policy: "ask",
18
- intervalHours: 24,
18
+ intervalHours: 8,
19
19
  lastCheckedAt: null,
20
20
  lastRemote: null,
21
21
  lastStatus: null,