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
b8a3571e10
Make NIP.md public if it exists
2026-02-05 23:46:25 -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
078d843b78
Upgrade to zod 4
2026-01-23 23:56:10 -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
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
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
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
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
Alex Gleason
6ba5cf9bb2
Enable TypeScript strict mode
2026-01-21 14:46:11 -06:00
Alex Gleason
428b1bee2a
Generate a domain automatically on Railway
2026-01-20 23:43:29 -06:00
Alex Gleason
65495ba1dd
Add Railway deployment
2026-01-20 23:13:49 -06:00
Alex Gleason
5c842bed9a
Read project skills from multiple supported locations
2026-01-20 22:30:39 -06:00
Alex Gleason
c8e8ef714e
Split apart skills.ts from plugin.ts
2026-01-20 22:16:02 -06:00
Alex Gleason
16d4f814e5
Subtle OpenSecret body fix
2026-01-20 22:02:29 -06:00
Alex Gleason
31ab27a79a
Polyfill node:crypto, allow building with files outside of project directory
2026-01-20 16:50:46 -06:00
Alex Gleason
13ea7c192e
Support file: URIs in package.json
2026-01-18 03:22:07 -06:00
Alex Gleason
0d6bee2025
Add Maple AI support
2026-01-17 23:22:02 -06:00
Alex Gleason
fba950aeb5
Support json ESM imports
2026-01-17 18:48:29 -06:00
Alex Gleason
a047f913b4
Truncate large tool calls and save the output to tmpDir
2026-01-15 12:45:01 -06:00
Alex Gleason
44805ce481
Move OpenCode Zen up in the presets list
2026-01-14 13:13:31 -06:00
Alex Gleason
a8eec32842
Update URL templates to use opts objects
2026-01-14 11:16:40 -06:00
Alex Gleason
6edc623c13
Add cache-control to last 2 non-system messages
2026-01-10 16:16:58 -06:00
Alex Gleason
027cd819f8
Add OpenCode Zen as a preset AI provider
2026-01-09 16:22:58 -06:00
Alex Gleason
3666aac2a1
Clone the messages list instead of mutating them
2026-01-08 01:17:46 -06:00
Alex Gleason
f58f75ae8b
Add OpenRouter prompt caching hack for Anthropic models
2026-01-08 01:03:05 -06:00
Alex Gleason
a1959369c5
Don't emit unnecessary streamingUpdate events
2026-01-04 00:46:45 -06:00
Alex Gleason
6c4c1dab3b
Fix tool_calls index logic
2026-01-04 00:35:10 -06:00
Alex Gleason
1915e6044f
Deployment providers refactoring
2026-01-03 18:49:54 -06:00
Alex Gleason
7d0cd03da9
og:image generation note
2026-01-02 16:50:53 -06:00
Alex Gleason
24e70712d8
Revert "Capture session data with Sentry TypeError in SessionManager"
...
This reverts commit 6a11b5ea05 .
2026-01-02 14:59:07 -06:00
Alex Gleason
6a11b5ea05
Capture session data with Sentry TypeError in SessionManager
2026-01-02 14:40:41 -06:00
Alex Gleason
85ac92db96
Log unexpected TypeErrors to Sentry for investigation
2026-01-02 14:02:55 -06:00
Alex Gleason
f4a3953d4d
Remove Electron functionality
2026-01-01 16:36:35 -06:00
Alex Gleason
6839f50a48
Fix type errors and tests
2025-12-31 10:25:27 -06:00