mirror of
https://github.com/ringhyacinth/Star-Office-UI
synced 2026-04-21 13:27:19 +00:00
Merge pull request #63 from Jah-yee/fix/issue-40-set-state-docstring
docs: add SOUL.md auto-sync hint in set_state.py (fixes #40)
This commit is contained in:
commit
8a9557f3ad
1 changed files with 7 additions and 1 deletions
|
|
@ -1,5 +1,11 @@
|
|||
#!/usr/bin/env python3
|
||||
"""简单的状态更新工具,用于测试 Star Office UI"""
|
||||
"""Update Star Office UI state (for testing or agent-driven sync).
|
||||
|
||||
For automatic state sync from OpenClaw: add a rule in your agent SOUL.md or AGENTS.md:
|
||||
Before starting a task: run `python3 set_state.py writing "doing XYZ"`.
|
||||
After finishing: run `python3 set_state.py idle "ready"`.
|
||||
The office UI reads state from the same state.json this script writes.
|
||||
"""
|
||||
|
||||
import json
|
||||
import os
|
||||
|
|
|
|||
Loading…
Reference in a new issue