8000 [pull] main from can1357:main by pull[bot] · Pull Request #104 · ericrihm/oh-my-pi · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
61ff5ca
feat(coding-agent): support Handlebars system prompt overrides
anatoli-tsinovoy Sep 15, 2026
b0172e0
docs: attribute system prompt template contribution
anatoli-tsinovoy Sep 15, 2026
75b562f
fix(coding-agent): preserve project prompts over global templates
anatoli-tsinovoy Sep 15, 2026
87745ab
fix(agent): honor explicit system prompt replacements
anatoli-tsinovoy Sep 16, 2026
7f82956
docs(coding-agent): clarify prompt override precedence and terminology
anatoli-tsinovoy Sep 16, 2026
87caff1
fix(coding-agent): validate prompt conflicts before fixed replacement
anatoli-tsinovoy Sep 16, 2026
5fdf465
Merge remote-tracking branch 'origin/main' into feat/system-prompt-te…
Sep 20, 2026
6a9c48c
fix(coding-agent): clarify template override scope checks
H4vC Sep 20, 2026
7ff049f
fix(coding-agent): route templates through system-prompt capability
H4vC Sep 20, 2026
a1221b6
fix(coding-agent): prefer discovered SYSTEM.md over SYSTEM_TEMPLATE.md
H4vC Sep 20, 2026
6d31705
Merge pull request #12194 from anatoli-tsinovoy/feat/system-prompt-te…
H4vC Sep 20, 2026
15bfc9b
fix(catalog): restore qwen top-level dialect for llama.cpp
H4vC Sep 20, 2026
cf107b0
fix(coding-agent): update discovery assertions for restored qwen top-…
omp-agent Sep 20, 2026
b0651dc
Merge pull request #12614 from can1357/fix/ci-ai-qwen-preserve-thinking
H4vC Sep 20, 2026
a87ed11
fix(ai): rotated accounts after anthropic oauth denial
can1357 Sep 20, 2026
1f50607
fix(ai): accepted overflow errors without usage
can1357 Sep 20, 2026
5a9fe9f
feat(natives): ported mermaid ascii renderer to rust
can1357 Sep 20, 2026
53cca03
feat(catalog): added specialist model discovery
can1357 Sep 20, 2026
9fb7703
refactor(ai): centralized keyless auth discovery
can1357 Sep 20, 2026
7b20508
feat(tui): showed model kinds and specialist roles
can1357 Sep 20, 2026
ae7af75
feat(coding-agent): routed specialist models through roles
can1357 Sep 20, 2026
c189be4
refactor(ai): replaced lazy provider loading with static imports
can1357 Sep 20, 2026
062771c
perf(coding-agent): trimmed cli startup import graph
can1357 Sep 20, 2026
b9991d2
fix(pi-edit): made sloppy grammar compatible with llguidance
can1357 Sep 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
37 changes: 0 additions & 37 deletions THIRD-PARTY-NOTICES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -335,43 +335,6 @@ This license allows the work and adaptations of it to be shared and used
commercially, as long as it is attributed to Poppy Works. The font is bundled
here (crates/pi-natives/src/fonts/Silver.ttf) as a CJK/Unicode bitmap fallback.

-------------------------------------------------------------------------------
packages/utils/src/vendor/mermaid-ascii/NOTICE

This directory contains an in-house Mermaid-diagram-to-ASCII renderer adapted
from beautiful-mermaid (https://github.com/lukilabs/beautiful-mermaid), used
under the MIT License.

Copyright (c) 2026 Craft Docs

Only the ASCII rendering pipeline is ported (flowchart/state, sequence, class,
ER, and xychart diagrams); the SVG renderer and its `elkjs` graph-layout
dependency, the browser entry point, and the SVG theme/style modules were
dropped. Terminal display width is reimplemented on `Bun.stringWidth`, and
inline label formatting (HTML tags, markdown emphasis) is reduced to plain text
for ASCII output. Layout and edge-routing logic is preserved faithfully so
ASCII output matches the upstream package.

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

-------------------------------------------------------------------------------
packages/coding-agent/src/markit/NOTICE

Expand Down
17 changes: 10 additions & 7 deletions crates/pi-edit/grammars/sloppy.lark
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,15 @@ after_body: LF after_body_line* AFTER_TEXT?
body_line: BODY_TEXT LF | LF
after_body_line: AFTER_TEXT LF | LF

BEGIN_PATCH.10: /[ \t]*\*{3}[ \t]+(?i:Begin[ \t]+Patch)[ \t]*(?=\n|$)/
EDIT_HEADER.10: /[ \t]*\*{3}[ \t]+(?i:SM:EDIT)(?:[ \t]+[^\r\n]*)?(?=\n|$)/
FIND_HEADER.10: /[ \t]*\*{3}[ \t]+(?i:SM:FIND)[ \t]*(?=\n|$)/
PUT_HEADER.10: /[ \t]*\*{3}[ \t]+(?i:SM:PUT)[ \t]*(?=\n|$)/
AFTER_HEADER.10: /[ \t]*\*{3}[ \t]+(?i:SM:AFTER)[ \t]*(?=\n|$)/
BODY_TEXT: /(?![ \t]*\*{3}[ \t]+(?i:SM:EDIT)(?=[ \t\r\n]|$))(?![ \t]*\*{3}[ \t]+(?i:SM:(?:FIND|PUT|AFTER))(?=[ \t]*(?:\r?\n|$)))(?![ \t]*\*{3}[ \t]+(?i:(?:Begin|End)[ \t]+Patch)(?=[ \t]*(?:\r?\n|$)))[^\r\n]+/
AFTER_TEXT: /(?![ \t]*\*{3}[ \t]+(?i:SM:EDIT)(?=[ \t\r\n]|$))(?![ \t]*\*{3}[ \t]+(?i:SM:(?:FIND|PUT|AFTER))(?=[ \t]*(?:\r?\n|$)))[^\r\n]+/
BEGIN_PATCH: /[ \t]*\*{3}[ \t]+(?i:Begin[ \t]+Patch)[ \t]*/
END_PATCH: /[ \t]*\*{3}[ \t]+(?i:End[ \t]+Patch)[ \t]*/
EDIT_HEADER: /[ \t]*\*{3}[ \t]+(?i:SM:EDIT)(?:[ \t]+[^\r\n]*)?/
FIND_HEADER: /[ \t]*\*{3}[ \t]+(?i:SM:FIND)[ \t]*/
PUT_HEADER: /[ \t]*\*{3}[ \t]+(?i:SM:PUT)[ \t]*/
AFTER_HEADER: /[ \t]*\*{3}[ \t]+(?i:SM:AFTER)[ \t]*/

// LLGuidance supports terminal intersection/complement, not priorities or lookarounds.
BODY_TEXT: /[^\r\n]+/ & ~(EDIT_HEADER | FIND_HEADER | PUT_HEADER | AFTER_HEADER | BEGIN_PATCH | END_PATCH)
AFTER_TEXT: /[^\r\n]+/ & ~(EDIT_HEADER | FIND_HEADER | PUT_HEADER | AFTER_HEADER)

%import common.LF
3,714 changes: 3,714 additions & 0 deletions crates/pi-natives/fixtures/mermaid.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions crates/pi-natives/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ pub mod iofs;
pub mod js;
pub mod keys;
pub mod live;
pub mod mermaid;
pub mod oauth_callback;
/// PDF inspection and Markdown conversion.
pub mod pdf;
Expand Down
Loading
Loading
0