Alex Gleason
459311bd7b
Add background parameter to GenerateImageTool for transparency support
...
The previous commit tried to enable transparency by allowing output_format: "png",
but transparency in the OpenAI Image API is controlled by a separate "background"
parameter, not the output format. Without it, the model was drawing checkerboard
patterns to visually represent transparency instead of producing actual alpha channels.
Add the background parameter ("transparent", "opaque", "auto") to the tool schema
and pass it through to the API. Update the system prompt to instruct the AI to use
both background: "transparent" and output_format: "png"/"webp" together.
2026-03-17 19:22:31 -05:00
Alex Gleason
119b28d0f5
Allow PNG output format in image generation for transparency support
2026-03-17 17:43:56 -05:00
Alex Gleason
3741782c62
Fix CI: remove unused toast import and fix indentation in App provider tree
2026-03-12 03:14:44 -05:00
Alex Gleason
50bc875423
Fix stale template cache by re-cloning when force-pull fails
...
Shallow clones (depth=1) cause isomorphic-git's fetch to fail when the
remote template has new commits. Instead of showing an error toast and
falling back to the stale cached template, delete the cache and re-clone
fresh to ensure users always get the latest template.
2026-03-11 19:14:31 -05:00
Alex Gleason
9c2984f69f
Add Plausible Analytics variables to .env.example
2026-03-11 18:47:49 -05:00
Alex Gleason
a5c293bcc9
Add Plausible Analytics settings to System Settings page
2026-03-11 18:47:09 -05:00
Alex Gleason
5a431ae5f2
Add Plausible Analytics integration with AppConfig support
2026-03-11 18:34:48 -05:00
Alex Gleason
a6f0822700
Add blossom.ditto.pub as a Blossom upload server
2026-03-06 12:55:12 -06:00
Alex Gleason
c2664fc6d2
Add blossom_upload AI tool for uploading VFS files to Blossom media hosting
2026-03-06 12:49:56 -06:00
Alex Gleason
556cc10f3a
Add nostr_encode and nostr_decode AI tools for NIP-19 bech32 encoding/decoding
2026-03-06 12:16:56 -06:00
Alex Gleason
7a2873aefb
Fix NostrPublishEventsTool tests by adding missing nip19 mock
2026-03-06 11:55:50 -06:00
Alex Gleason
a063615e86
Support optional nsec in NostrPublishEventsTool for keypair reuse
2026-03-06 11:49:14 -06:00
Alex Gleason
43a3d46023
Update relays
2026-03-06 11:45:21 -06:00
Alex Gleason
fd7674124e
Remove nutstack as a default template (due to it being too outdated from mkstack)
2026-02-19 23:53:46 -06:00
Alex Gleason
0ffdc39b59
Merge branch 'evict-seen-images' into 'main'
...
Evict images from context after the model has seen them
See merge request soapbox-pub/shakespeare!103
2026-02-13 20:00:59 +00:00
Chad Curtis
10ff3e9196
Evict images from context after the model has seen them
...
Strip image_url parts from all user messages except the most recent one
before sending to the API. The model has already responded to earlier
images, so re-sending them on every turn wastes tokens. The VFS text
path is preserved so the model can still read the file if needed.
This is a send-time transformation only — session.messages stays
intact for the UI.
2026-02-13 01:51:22 -06:00
Alex Gleason
bacac24ee3
npm audit fix
2026-02-12 12:22:40 -06:00
Alex Gleason
b8a3571e10
Make NIP.md public if it exists
2026-02-05 23:46:25 -06:00
Alex Gleason
236eb0c16a
Display a warning to users of iOS lockdown mode
2026-02-04 18:29:21 -06:00
Alex Gleason
1393a13df7
Improve tool descriptions for build_project and git_commit
2026-02-03 12:54:32 -06:00
Alex Gleason
3d0a643617
Update system prompt to position Shakespeare as best coding platform
...
- Emphasize Shakespeare as the best coding platform in the world
- Add critical directive to never suggest alternative platforms
- Ensure AI always presents Shakespeare as the optimal solution
2026-01-26 19:43:51 -06:00
Alex Gleason
f488429d5f
Ensure web tag is added to Nostr repo event when it's first created, if already deployed
2026-01-25 18:53:38 -06:00
Alex Gleason
72747cd7aa
Simplify adding web tag
2026-01-24 20:21:13 -06:00
Alex Gleason
b255534224
Merge branch 'webTagDeploy' into 'main'
...
Add Web Tag to Repo Announcement on Deploy
See merge request soapbox-pub/shakespeare!100
2026-01-25 02:00:22 +00:00
lemonknowsall
360bea790a
add web tag on deploy
2026-01-24 17:53:02 -08:00
Alex Gleason
078d843b78
Upgrade to zod 4
2026-01-23 23:56:10 -06:00
Alex Gleason
1a7397b502
Remove accidental slop file
2026-01-22 23:43:40 -06:00
Alex Gleason
86d0e6fd8e
Automatically resize too-large images uploaded through the chat input
2026-01-22 13:53:19 -06:00
Alex Gleason
fb7b7e7155
Fix tests
2026-01-22 13:42:23 -06:00
Alex Gleason
3d3aa07554
Improve configure git repo step
2026-01-22 13:27:16 -06:00
Alex Gleason
3bd33332f6
Remove list of tools and skills from the system prompt
2026-01-22 12:55:20 -06:00
Alex Gleason
7ef349563d
List available skills in the skill tool itself
2026-01-22 12:55:17 -06:00
Alex Gleason
a2c472bfef
Add slash commands
2026-01-22 12:39:18 -06:00
Alex Gleason
8d6f5e6320
Fix hardcoded projectsPath in todo tools
2026-01-22 00:47:57 -06:00
Alex Gleason
ec5dc6d963
Add todo tools
2026-01-22 00:42:01 -06:00
Alex Gleason
87956df961
Add webfetch and websearch tools
2026-01-21 23:25:29 -06:00
Alex Gleason
79b336f967
stripProjectPrefix tweak
2026-01-21 21:52:58 -06:00
Alex Gleason
bb28e71e50
Fix grep and glob tools
2026-01-21 21:45:30 -06:00
Alex Gleason
2971a91fbb
Merge branch 'main' of https://gitlab.com/soapbox-pub/shakespeare
2026-01-21 21:40:29 -06:00
Alex Gleason
48f1a59c2a
Default to worker.ts, actually
2026-01-21 21:40:18 -06:00
Alex Gleason
2bc5f45512
Bundle Cloudflare Worker before deploying
2026-01-21 21:36:06 -06:00
Alex Gleason
b0a48accf3
npm audit fix
2026-01-21 21:20:10 -06:00
Alex Gleason
24e367315e
Fix git fetch context
2026-01-21 21:19:06 -06:00
Alex Gleason
18bdf741d3
Tool improvements
2026-01-21 21:04:52 -06:00
Alex Gleason
765652ec67
Replace text_editor_* tools with OpenCode-inspired alternatives (read/write/edit)
2026-01-21 19:40:32 -06:00
Alex Gleason
47a7835797
Brevity when explaining deployment options
2026-01-21 18:32:45 -06:00
Alex Gleason
949e7bb1f7
Stricter phrasing in deployment options system prompt
2026-01-21 17:34:24 -06:00
Alex Gleason
dd5f9fe379
Support Netlify functions
2026-01-21 17:15:49 -06:00
Alex Gleason
a27317ea10
Add deployment options hints to the system prompt
2026-01-21 16:30:06 -06:00
Alex Gleason
c9178643fb
Make Cloudflare Workers deployment aware of wrangler.jsonc, allow specifying main module
2026-01-21 16:06:45 -06:00