Commit graph

81 commits

Author SHA1 Message Date
Armin Ronacher
2e0f175bd5
feat(ai): refactor provider definitions (#11368)
This builds the model catalog from per-provider definitions and
models.dev v2 data.

It eplacer `generate-models.ts` with one `defineProvider()` file per
built-in provider, shared model-family rules (Claude, GPT, DeepSeek,
Kimi, Google), and source adapters. models.dev is read through its v2
API. Outputs and CLI flags are unchanged.
2026-10-28 11:06:10 +01:00
triagent
c17be1e982 fix: skip custom-message runs in prompt-url-widget 2026-10-26 13:58:51 +01:00
Petr Houška
136b87e8a7 docs: require changelog entries for work targeting main from any branch 2026-10-23 22:16:54 +02:00
Christian Klotz
ede2c9b468
docs: fix provider checklist, MCP anchors, and missing commands/settings (#11338)
Fix docs and `--help` drift: update the provider checklist to the
`src/api` layout, fix broken MCP anchors, and document `/mcp`, `pi mcp
add|remove`, `PI_CLEAR_ON_SHRINK`, and `"disabled"` timeouts.

closes #11243
2026-10-23 17:02:41 +02:00
David Brailovsky
5884ee6816 feat(coding-agent): let /ir import a session file from a .jsonl URL 2026-10-22 10:58:13 +02:00
Armin Ronacher
d05a73fb31 fix: keep the Nix model catalog pin buildable
The pin script discovered the catalog with the checkout's version, which on
main is the last release, so pi.dev answered with the catalog for released
clients after MINIMUM_PI_VERSION was raised. It now pins the newest
published catalog and treats the pin as stale when its provider/type/API
model groups differ. The release script pins the newest catalog and runs
the Nix build steps before tagging.

closes #10985
2026-10-15 20:16:03 +02:00
Mario Zechner
47fc5f38ec docs: add github-work skill pointing to the issue, PR, and wrap-up prompts 2026-10-14 09:47:25 +00:00
David Brailovsky
bd21693b93 docs: add dup prompt template 2026-10-08 10:48:20 +02:00
Armin Ronacher
bf8d9c659f chore: allow skipping tests in the release script
PI_RELEASE_SKIP_TESTS=1 skips ./test.sh when the suite already passed in release:local and the machine is too loaded for timing-sensitive tests.
2026-10-07 23:32:05 +02:00
Armin Ronacher
c71a496ff9
feat(coding-agent): add Nix flake (#9137)
Add a Nix flake that builds Pi from the checkout on aarch64/x86_64 Linux
and macOS. The build is offline: provider model data is hydrated from a
pi.dev model catalog revision pinned in nix/model-catalog.json, and the
runtime dependency tree comes from packages/coding-agent/install-lock with
internal packages built from source.

The Nix workflow keeps the catalog pin current on main, builds release
tags on all systems, and fast-forwards the stable branch to each release
that builds. The release script refreshes the pin before tagging.
2026-10-02 18:30:51 +02:00
Armin Ronacher
581e7ba781 feat(coding-agent): remove npm shrinkwrap and recommend the managed installer
npm installs no longer pin transitive dependencies. Pinned installs come
from the pi.dev installer lockfile. pi update on global npm installs now
recommends migrating with the installer.

closes #5653
2026-10-02 17:16:56 +02:00
David Brailovsky
be26e32704
docs: extract interactive testing and release guidance into skills (#9370) 2026-09-09 10:44:24 +02:00
Ramiz Wachtler
aa23e784c6
fix(coding-agent): update repository links to "earendil-works/pi" (#9278)
- update repository links in prompts, docs, and code to use `earendil-works/pi` instead of `earendil-works/pi-mono`
2026-09-07 14:09:39 +02:00
Mario Zechner
5009d0608c feat: add deslop prompt 2026-09-01 17:31:40 +02:00
Armin Ronacher
c36552212e agents: Adjust rules for changelog entries 2026-08-14 12:45:26 +02:00
Mario Zechner
c13ffe1877 feat(tui): add alternate-screen renderer
Closes #7304
2026-07-30 12:59:48 +02:00
Armin Ronacher
647c5554b7 feat(coding-agent): add runner tags for issue analysis
Some checks are pending
CI / build-check-test (push) Waiting to run
2026-07-06 08:17:57 +02:00
Armin Ronacher
4728706e3b feat(coding-agent): trigger issue analysis from comments 2026-07-06 01:19:15 +02:00
Armin Ronacher
3df11fd886 fix(coding-agent): share issue analysis sessions as gists 2026-07-06 00:58:45 +02:00
Armin Ronacher
abe9c9d9f1 feat(coding-agent): add CI issue analysis import flow 2026-07-06 00:38:17 +02:00
Armin Ronacher
49956a7cd0 docs(agent): close completed issues in wrap prompt 2026-06-25 14:08:53 +02:00
Armin Ronacher
dce3e28516 fix: show security advisories in prompt widget 2026-06-08 12:35:18 +02:00
Armin Ronacher
f4f72d4ed5 docs(agent): add security advisory prompt 2026-06-08 12:35:18 +02:00
Mario Zechner
c52c22b39e Document issue view gh fields 2026-06-04 23:47:06 +02:00
Mario Zechner
e43f2c3d0a Clarify PR review worktree rules 2026-05-28 10:31:03 +02: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
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