Commit Graph

18 Commits

Author SHA1 Message Date
can1357 d5b3c78132 chore: update docs 2026-06-17 04:37:39 +02:00
can1357 15184332b8 Merge PR #1173: feat(marketplace): prefer .omp-plugin/marketplace.json catalog path 2026-06-15 19:46:14 +02:00
can1357 371846167b docs: update docs 2026-06-12 14:43:35 +02:00
can1357 08a941a14e feat: added standalone snapcompact package and model-specific frame shaping
- Added a new @oh-my-pi/snapcompact package and redirected compaction call sites to it.
- Added provider-aware snapcompact shape resolution for model-specific mixed-frame behavior.
- Added optional image detail support by extending ImageContent and passing hints through OpenAI providers.
- Added native snapcompact render options, including 5x8/8x8 font loading and palette/geometry controls.
2026-06-10 21:50:03 +02:00
roboomp 070422bb95 fix(ai): corrected Zhipu API key placeholder
Zhipu Coding Plan keys are formatted '<id>.<secret>' (no 'sk-' prefix),
so the OAuth login prompt's 'sk-...' placeholder misled users into
thinking their pasted key was malformed.

Also extended the SECRET_PATTERNS redaction example in
docs/skills/authoring-hooks.md with the Zhipu shape and a comment noting
the list is not exhaustive, so hook authors referencing the example do
not silently miss Zhipu keys.

Fixes #2106
2026-06-08 11:18:31 +00:00
can1357 40ed8852b5 feat(coding-agent): added app.display.reset bound to Ctrl+L
- Added `TUI.resetDisplay()` to force an immediate full-frame replay including native scrollback.
- Moved the persistent model selector default from Ctrl+L to Alt+M, preserving existing user remaps.
- Reserved Alt+M so extensions cannot shadow the model selector shortcut.
2026-06-06 17:19:57 +02:00
roboomp 590799b0af fix(extensions): reserved ctrl+q so extensions can't shadow the follow-up default
ExtensionRunner#getShortcuts() accepted ctrl+q because #RESERVED_SHORTCUTS
predated the new default, and InputController registers extension
shortcuts before the followUp keybinding, so the editor's custom-key
map silently overwrote the extension handler. Now ctrl+q is reserved
alongside the other built-in chords and the extension authoring docs
list it as such.

Addresses code review on #1905.
2026-06-05 05:34:06 +00:00
David Marshall 2c27d2df15 Merge remote-tracking branch 'origin/main' into feat/marketplace-omp-plugin-path
# Conflicts:
#	docs/marketplace.md
2026-06-03 12:50:46 -05:00
can1357 1dba122c53 chore: updated docs 2026-05-31 04:36:14 +02:00
David Marshall 587f68a899 feat(marketplace): prefer .omp-plugin/marketplace.json catalog path
Adds .omp-plugin/marketplace.json as the preferred catalog location for omp
marketplaces. fetchMarketplace now searches .omp-plugin/marketplace.json
first and falls back to .claude-plugin/marketplace.json so existing
Claude Code-compatible marketplaces keep loading.

Docs and authoring skill updated to reflect the new preferred path.

Co-Authored-By: omp <noreply@oh-my-pi.dev>
2026-05-28 22:03:19 -05:00
SuperHedge 70e873aa8d Fix review custom instructions submission 2026-05-25 20:48:46 +02:00
can1357 2867e1f4e3 feat(deps): added pi.zod exports and removed TypeBox package exports
- Added canonical `pi.zod` schema API exports and removed TypeBox package exports/imports.
- Migrated Tool schema typing from TypeBox to shared `TSchema`/Zod flow with legacy TypeBox compatibility.
- Updated AI provider adapters and MCP/agent builders to convert tool params through `toolWireSchema()`.
- Reworked schema validation from AJV to Zod-safe parsing with `fromTypeBox`, `toolWireSchema`, and meta schema checks.
2026-05-15 14:46:54 +02:00
can1357 9865a4ce6c docs: update docs 2026-04-30 06:47:01 +02:00
can1357 80dac4a6c9 fix(docs): align skill examples with extension APIs 2026-04-23 23:04:19 +02:00
metaphorics b99d7c4186 fix(examples): correct API refs, add pi.sendMessage, self-contained marketplace
- hello-extension/README.md: pi.registerCommand → pi.commands.register
- hello-extension/index.ts: add pi.sendMessage() call in /hello handler
- authoring-extensions.md: remove undefined initialize() reference
- mini-marketplace: replace ../hello-extension with self-contained ./my-plugin
  to satisfy the documented ./ path constraint for relative sources
2026-04-23 22:59:23 +02:00
metaphorics 74b91a9fa4 fix(skills): use pi.commands.register() per DeepWiki API 2026-04-23 22:59:23 +02:00
metaphorics d80fc82eda fix(examples): add @ts-nocheck to example files (no local node_modules) 2026-04-23 22:59:23 +02:00
metaphorics d093dd5b92 docs(skills): add extension/hook/marketplace authoring guides + examples 2026-04-23 22:59:23 +02:00