Commit Graph
346 Commits
Author SHA1 Message Date
Cocoon-Break 1fe1c80c28 fix: guard _parse_cooldown against malformed every_ repeat; close file handle with context manager (Closes #75)
Signed-off-by: Cocoon-Break <54054995+kuishou68@users.noreply.github.com>
2026-04-16 11:31:35 +08:00
Liang Jiaqing 6dde231dcb docs: add Star History chart to README 2026-04-16 07:58:48 +08:00
Liang Jiaqing 7e4d56c624 docs: use wechat_group4.jpg to bypass CDN cache 2026-04-15 23:57:11 +08:00
Liang Jiaqing 8ea0b0663a docs: update wechat group labels (Group 4 + Group 3) 2026-04-15 23:54:57 +08:00
Liang Jiaqing 135f1dba17 fix: change desktop pet port 51983->41983 (avoid Hyper-V reserved range) & update wechat group QR code 2026-04-15 23:50:48 +08:00
Liang Jiaqing b50083556a docs: add Chinese illustrated getting-started guide 2026-04-15 23:22:45 +08:00
Liang Jiaqing c5280fedb5 feat(file_read): fuzzy file suggestion on not-found with history dirs; sync L1 template 2026-04-15 20:58:29 +08:00
Liang Jiaqing c296c76c2a fix: batch_process missing raw_dir arg causing L4 archive to fail 2026-04-15 18:31:29 +08:00
Jiaqing Liang 731b3c7baa feat: add plan mode (enter/exit/completion check/verification gate/periodic hints) 2026-04-15 17:02:54 +08:00
LJQ 8da711d035 Merge pull request #69 from kagura-agent/feat/github-contribution-sop
feat: add GitHub contribution SOP (memory/github_contribution_sop.md)
2026-04-15 15:42:22 +08:00
Kagura 5359769154 feat: add GitHub contribution SOP 2026-04-15 15:06:04 +08:00
wjl2023 8eb6284ab3 fix: normalize bubble text and adjust padding for better readability 2026-04-15 14:43:14 +08:00
Jiaqing Liang dc2abca38f preserve history across llm switch 2026-04-15 14:34:06 +08:00
Jiaqing Liang d0d9741319 fix prompt flow 2026-04-15 13:57:36 +08:00
Liang Jiaqing d1e396fa09 feat: publish memory_cleanup_sop 2026-04-15 09:26:46 +08:00
LJQ 86b39f1750 Merge pull request #67 from shenhao-stu/main
config: update mykey_template.py with new configuration examples
2026-04-15 09:24:21 +08:00
Shen Hao bfef64534c bug: fix a tiny bug about crs antigravity's config 2026-04-15 04:28:27 +08:00
Shen Hao 110dfad682 config: update mykey_template.py with new configuration examples 2026-04-15 03:54:42 +08:00
Liang Jiaqing d9748881f2 feat: publish ocr_utils, vision_sop, ui_detect to public repo 2026-04-15 00:00:14 +08:00
Liang Jiaqing a7d6e24204 fix: use script_dir for cwd path instead of relative path 2026-04-14 23:38:32 +08:00
Liang Jiaqing 8502f87c81 refactor: use with statement for requests.post in NativeClaudeSession 2026-04-14 23:35:51 +08:00
Liang Jiaqing c6d8a7abea refactor: rename default_model->model, add thinking_type support, fix pet urlopen error handling 2026-04-14 21:14:05 +08:00
Liang Jiaqing 1b3cc81111 style: arrange 3 QR code images horizontally in a table row 2026-04-14 18:47:00 +08:00
LJQ 15c1648a27 Merge pull request #63 from JinyiHan99/docs/add-group-qr-codes
docs: add community group QR codes to README
2026-04-14 15:12:39 +08:00
Jinyi Han f8f363f6ed docs: add community group QR codes to README 2026-04-14 15:08:22 +08:00
Liang Jiaqing 424134cfe7 refactor(pet): extract PetBase, deduplicate _start_server/safe wrappers, add singleton guard 2026-04-14 12:05:55 +08:00
LJQ 33b7a35a09 Merge pull request #62 from shenhao-stu/main
docs: add Linuxdo links
2026-04-14 11:13:37 +08:00
Shen Hao aff66e984b Merge branch 'lsdefine:main' into main 2026-04-14 11:10:31 +08:00
Shen Hao e8d0ca0a85 docs: add friendly links section to README
Added a section for friendly links and community support.
2026-04-14 11:09:49 +08:00
Liang Jiaqing 8075d5e78b feat: desktop pet v2 with 8 skins and state notifications 2026-04-14 11:07:58 +08:00
Shen Hao 5ceb1407cb docs: add links to LinuxDo and support section
Added links to LinuxDo community and support section.
2026-04-14 11:07:38 +08:00
Liang Jiaqing e123ab84f8 refactor: reorder mykey_template, add name field to native configs 2026-04-13 22:48:51 +08:00
Liang Jiaqing 7f02ce2e5f feat: add /session.key=value system command to set LLM params at runtime 2026-04-13 22:44:17 +08:00
Liang Jiaqing 1d9df4ab79 refactor llm session params and thinking parsing 2026-04-13 20:20:31 +08:00
Liang Jiaqing da66c34a4a refactor: turn_end_callback + desktop pet + keychain
- agent_loop: next_prompt_patcher -> turn_end_callback with full context
- agent_loop: exit logic unified (break + callback), no early return
- ga: summary extraction moved from tool_after_callback to turn_end_callback
- ga: _turn_end_hooks support for external subscribers
- stapp: desktop pet button with HTTP status push
- keychain: XOR-masked secret storage with SecretStr
- gitignore: whitelist keychain.py
2026-04-13 18:27:17 +08:00
LJQ ee962efbb0 docs: update README recent highlights and group image (#59)
docs: update README recent highlights and group image
2026-04-13 16:20:56 +08:00
Xinyi Wang 221d66381d docs: update README recent highlights and group image 2026-04-13 16:05:04 +08:00
Jiaqing Liang 64b22f5423 fix: scroll ghost height reflow via overflow toggle; extend cache markers to last 2 user msgs; simplify cursor & merge JS fixes 2026-04-13 14:59:38 +08:00
Liang Jiaqing 19704f4fc5 fix(stapp): eliminate ghost duplicate of last text block on new message
Root cause: stream loop emitted a bare st.empty() heartbeat per tick, accumulating
dozens of empty slots under chat_message. On the next rerun the history replay
path had no such slots, so Streamlit's incremental DOM diff misaligned and left
the previous render of the last text block as a grayed-out ghost.

Fix: unify streaming and history replay under the same shell
(slot = st.empty(); with slot.container(): render_segments(...)). Heartbeat now
re-enters the same slot each tick; when response is unchanged Streamlit's diff
is a no-op (no flicker), but the container() call still lets StopException
propagate so abort keeps working. Simplified render_segments from 5 params
(placeholders/rendered_cache/force_text) to 2 (segments, suffix).

Net: +19 -20 lines. Verified: no ghost, abort interrupts mid-stream, per-turn
fold-collapse preserved.
2026-04-12 15:22:56 +08:00
Liang Jiaqing 5aa83cfa91 fix: use local var for claude tools conversion, avoid mutating self.tools 2026-04-12 14:46:45 +08:00
Liang Jiaqing 0689e68e81 refactor: remove claude_tools_format flag, auto-convert tools in NativeClaudeSession.raw_ask 2026-04-12 14:43:46 +08:00
Liang Jiaqing 2b9ad55f23 feat: --verbose flag, lazy mykeys loading, temperature config support
- agentmain: add --verbose arg for subagent monitoring mode
- llmcore: lazy-load mykeys/proxies via module __getattr__
- llmcore: fix auto_make_url regex for trailing slash cases
- llmcore: support temperature override from session config
- docs: update subagent.md with --verbose usage note
2026-04-12 14:29:32 +08:00
Liang Jiaqing 4d7e87f7b8 fix: MixinSession copy before override & add no-tools warning; refine subagent SOP 2026-04-11 18:50:26 +08:00
Liang Jiaqing 15c5e427ca refactor: rename mem_scanner→procmem_scanner, add L4 layer, remove make_prompts.py 2026-04-11 18:30:00 +08:00
Liang Jiaqing 9bf239082b fix: comment out MixinSession copy to prevent tools not propagating to original session 2026-04-11 18:25:54 +08:00
Liang Jiaqing 31e0dfaa48 feat: task模式干预机制 _stop/_keyinfo/_intervene + consume_file 2026-04-11 17:14:35 +08:00
Liang Jiaqing fae8c72fcf fix: restore stop signal detection broken by render_segments cache optimization
- stapp.py: add st.empty() after render_segments to force Streamlit StopException check on every iteration (incl. heartbeat)
- agentmain.py: fix nround type check, fix timeout comment
2026-04-11 16:25:19 +08:00
Liang Jiaqing 5c53854000 feat: L4 session archiver + scheduler cron integration
- Add compress_session.py: compress raw model_responses into L4 archives
- Integrate 12h silent cron into scheduler.check() (runs before TASKS dir check)
- Whitelist compress_session.py in .gitignore (archives excluded)
- llmcore: refactor SSE warn handling, max_retries default 2->1
- scheduler: remove unused health_check(), INTERVAL 60->120
2026-04-11 15:55:35 +08:00
Liang Jiaqing a073bddfdc llmcore: remove runtime model param, upgrade Claude beta headers, softer backoff 2026-04-11 14:34:27 +08:00
Liang Jiaqing 973befeeca fix: _fix_messages for Claude API compliance, raw_ask simplify, no_tool orphan fix, summary extraction improvement 2026-04-11 13:24:33 +08:00