Commit Graph

70 Commits

Author SHA1 Message Date
root
a2a5539e78 Merge branch 'main' of ssh://git.shumengya.top:8022/shumengya/sproutclaw 2026-06-15 17:08:54 +08:00
root
072398bddc chore: ignore .pi/agent/skills directory 2026-06-15 17:08:22 +08:00
731ba23515 feat(ui): 美化启动界面并重构 /is 工具/插件展示
Some checks failed
npm audit / audit (push) Has been cancelled
CI / build-check-test (push) Has been cancelled
- 缩小标题加 ❯ 引导符、彩色版本号、中文说明
- 去除启动头部段落间空行
- /is 本地扩展和 npm 扩展合并为 [插件] 分组展示
- /is 新增 [工具] 区块显示所有注册工具及激活状态

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-15 14:32:16 +08:00
root
675dd18182 chore: sync latest workspace updates
Some checks failed
CI / build-check-test (push) Has been cancelled
2026-06-15 13:38:22 +08:00
ad62015fe3 chore: commit pending workspace updates
Some checks failed
CI / build-check-test (push) Has been cancelled
2026-06-14 20:36:01 +08:00
root
62e2866228 chore: commit pending changes before gitea push
Some checks failed
CI / build-check-test (push) Has been cancelled
npm audit / audit (push) Has been cancelled
2026-06-13 19:47:30 +08:00
d51a055d78 feat: update webui extensions, models, and agent config
Some checks failed
CI / build-check-test (push) Has been cancelled
npm audit / audit (push) Has been cancelled
2026-06-10 21:45:53 +08:00
root
cf5edd6394 feat(sproutclaw): modularize webui, extensions, and agent config layout
Some checks failed
CI / build-check-test (push) Has been cancelled
Restructure local extensions into per-feature directories, split WebUI
into backend modules with slash commands and systemd support, and track
prompts/skills under .pi/agent for portable Gitea deployment.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-10 16:57:08 +08:00
root
11c3a3a399 fix(ci): satisfy ts-imports and regenerate image models
Some checks failed
CI / build-check-test (push) Has been cancelled
npm audit / audit (push) Has been cancelled
Use .ts relative import in webui server for pi's check:ts-imports policy
and regenerate image-models.generated.ts to remove duplicate model keys.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-22 20:45:00 +08:00
root
092279126b fix(webui): pin frontend deps for CI check:pinned-deps
Some checks failed
CI / build-check-test (push) Has been cancelled
Use exact versions in webui frontend package.json to satisfy the
monorepo pinned dependency policy enforced by GitHub Actions.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-22 20:43:08 +08:00
root
0a91cc99d0 chore: add sproutclaw git workflow and track local extensions
Some checks failed
CI / build-check-test (push) Has been cancelled
Document main/upstream-sync/feature branch strategy, add sync/push
scripts, track .pi/agent extensions and webui in git, and disable
startup changelog via showChangelogOnStartup.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-22 20:38:20 +08:00
root
a8daa1d8ff merge: sync upstream pi-mono main into sproutclaw
Some checks failed
CI / build-check-test (push) Has been cancelled
Merge upstream/main (195 commits) while keeping sproutclaw-specific
README, webui workflow docs, and restored upstream .pi prompt templates.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-22 20:05:31 +08:00
Mario Zechner
7426ce977d Tighten AGENTS.md and extract LLM provider checklist to skill
- Tighten all sections (279 -> 159 lines) without dropping rules.
- Reorganize: git rules moved next to issues/PRs.
- Defer contributor gate details to CONTRIBUTING.md.
- Replace stale npx tsx test command with node (strip-only mode); add ./test.sh + e2e warning.
- Releasing: explicit WebAuthn briefing step, no bash timeout, stop on partial publish failure.
- Move LLM provider checklist to .pi/skills/add-llm-provider.md.
2026-05-22 12:04:12 +02:00
Mario Zechner
1a2a536dba chore: update PR prompt template 2026-05-22 11:11:38 +02:00
Mario Zechner
5e8f0cf45e chore: update issue analysis prompt 2026-05-19 11:27:35 +02:00
Armin Ronacher
dbadffdfae chore(prompts): disclose wr-generated comments 2026-05-18 11:04:45 +02:00
root
5f7a53ed21 chore: sync sproutclaw to gitea
Some checks failed
CI / build-check-test (push) Has been cancelled
- Remove unused .pi extensions and prompts
- Update generated model files
- Add context.md
- Update pi-test.sh and package-lock.json
2026-05-13 12:28:18 +08:00
root
c5295773a1 feat: add sproutclaw webui 2026-05-10 14:47:51 +08:00
Mario Zechner
3e5ad67e0f chore: migrate pi packages to earendil works scope 2026-05-07 15:59:42 +02:00
Andrés Vinueza
aa25726ebf feat(coding-agent,tui): support argument-hint frontmatter in prompt templates (#2780)
* feat(coding-agent,tui): support argument-hint frontmatter in prompt templates

Parse argument-hint from prompt template frontmatter and display it
in the autocomplete dropdown description, matching Claude Code's
convention for custom commands.

Frontmatter format:
  ---
  description: Code review
  argument-hint: "[file | #PR | PR-URL]"
  ---

The hint renders in the description column of the autocomplete list:
  review   [file | #PR | PR-URL] — Code review

Closes #2761

* docs(coding-agent,tui): add argument-hint documentation, tests, and built-in hints

- Document argument-hint frontmatter in prompt-templates.md with <required>/[optional] convention
- Add argument-hint to built-in prompts: pr, is, wr
- Expand tests: required/optional hints, missing hints, empty hints, special characters
- Add changelog entries for coding-agent and tui
2026-04-16 23:02:35 +02:00
Mario Zechner
c7a487cddd chore: remove files extension 2026-04-15 13:30:42 +02:00
Mario Zechner
e1d95538bc chore: remove diff extension 2026-04-15 13:30:42 +02:00
Mario Zechner
653b63a870 chore: add wrap-it prompt template 2026-03-20 11:56:15 +01:00
Mario Zechner
241141dd82 docs(prompts): add inprogress labeling instructions 2026-03-19 22:13:27 +01:00
myu003
16a010fd21 fix(extensions): harden Windows cmd launch in /diff and /files (#2329)
closes #2288
2026-03-18 03:44:02 +01:00
myu003
688ff9f10c fix(extensions): improve VS Code launch on Windows in diff/files (#2288)
Use cmd-based VS Code launcher on win32 in /diff and /files.
Show explicit error details when open fails.
In /diff, surface git difftool failure and troubleshooting hint.

Refs #2186
2026-03-17 15:33:03 +01:00
Mario Zechner
333ded7f26 docs: skip generated model catalog changes in changelog audit prompt 2026-02-25 23:42:57 +01:00
Mario Zechner
a26a9cfabd feat: add configurable transport and codex websocket session caching 2026-02-13 23:41:49 +01:00
Mario Zechner
bd040072d3 Cleanup 2026-02-12 22:56:33 +01:00
Mario Zechner
88ac5ca1d9 fix(coding-agent): treat dot-prefixed extension paths as local 2026-02-08 23:52:23 +01:00
Mario Zechner
dc22b0efd4 chore(prompts): require independent issue analysis 2026-02-06 19:01:35 +01:00
Mario Zechner
f3cfb7e1ae feat: add /files command to list session file operations 2026-01-29 02:25:59 +01:00
Mario Zechner
a5f603d704 fix(diff): keep picker open after selection 2026-01-26 23:04:32 +01:00
Mario Zechner
1c7c5e10e0 add redraws helper extension for TUI development 2026-01-26 16:53:49 +01:00
Mario Zechner
fa8b26a184 docs: update changelog guidance and links 2026-01-26 15:45:51 +01:00
Mario Zechner
6d0d434d8c Add /diff extension for VS Code diff view 2026-01-24 00:35:33 +01:00
Mario Zechner
7a2e71bb50 chore: add pi working dir gitignores 2026-01-22 23:21:01 +01:00
Mario Zechner
b846a4bfcf feat(coding-agent): ResourceLoader, package management, and /reload command (#645)
- Add ResourceLoader interface and DefaultResourceLoader implementation
- Add PackageManager for npm/git extension sources with install/remove/update
- Add session.reload() and session.bindExtensions() APIs
- Add /reload command in interactive mode
- Add CLI flags: --skill, --theme, --prompt-template, --no-themes, --no-prompt-templates
- Add pi install/remove/update commands for extension management
- Refactor settings.json to use arrays for skills, prompts, themes
- Remove legacy SkillsSettings source flags and filters
- Update SDK examples and documentation for ResourceLoader pattern
- Add theme registration and loadThemeFromPath for dynamic themes
- Add getShellEnv to include bin dir in PATH for bash commands
2026-01-22 13:49:38 +01:00
Mario Zechner
0c33e0dee5 chore: audit changelog entries for v0.47.0, add cl.md prompt template
- Add missing changelog entries for commits since v0.47.0
- Cross-duplicate ai/tui fixes to coding-agent changelog
- Change PI_NO_HARDWARE_CURSOR to PI_HARDWARE_CURSOR (opt-in)
- Fix typo in PI_CODING_AGENT_DIR changelog entry
- Add .pi/prompts/cl.md for pre-release changelog audits
2026-01-16 21:11:01 +01:00
Mario Zechner
d30f6460fa Fix ctx.shutdown() not waiting for pending UI renders, fixes #756 2026-01-16 03:35:41 +01:00
Mario Zechner
a20662da87 Remove broken git-diff extension 2026-01-16 03:07:55 +01:00
Mario Zechner
b4a05cbcab Move skill command handling to AgentSession, update docs
- Skill commands (/skill:name) now expanded in AgentSession instead of
  interactive mode, enabling them in RPC and print modes
- Input event can now intercept /skill:name before expansion
- Updated extensions.md with clearer input event docs and processing order
- Updated rpc.md: hook -> extension terminology, added skill expansion mentions
- Added PR attribution to changelog entries for #761
2026-01-16 03:01:08 +01:00
Mario Zechner
012319e15a Support pi-internal:// scheme in read tool
Resolves pi-internal:// paths to the coding-agent package directory,
allowing the model to read internal documentation. Appends a hint
showing the filesystem path and instructing to use it for further reads.
2026-01-16 02:31:59 +01:00
Mario Zechner
d9ac0c7b26 docs(prompts): prefer main files for PR diffs 2026-01-15 18:06:39 +01:00
Mario Zechner
f74f48660f Fix prompt-url-widget session name API 2026-01-15 17:50:24 +01:00
Mario Zechner
951e9c88b8 Update session naming for prompt URL widget 2026-01-14 13:08:23 +01:00
Mario Zechner
e8eb4c254a feat: add search parameter and auto-select to /model command
- /model <search> pre-filters selector or auto-selects on exact match
- Support provider/model syntax for disambiguation (e.g., /model openai/gpt-4)
- Auto-select logic moved to InteractiveMode to avoid selector UI flicker

Closes #587
2026-01-09 22:39:26 +01:00
Mario Zechner
b4b9cc2a80 Rebuild prompt widget on resume 2026-01-09 22:19:55 +01:00
Mario Zechner
4c68ab6eab chore: update prompt-url widget 2026-01-09 22:09:05 +01:00
Mario Zechner
b95cb7503e Add PR/issue widget metadata and spacing 2026-01-09 21:40:29 +01:00