Chad Curtis
e74d423e7a
Remove redundant conversation length handler, simplify "prompt too large" response.
2026-01-30 21:22:15 +00:00
Chad Curtis
5c7cf54d67
fix: add user-friendly error handling for prompt length exceeded errors
...
Previously, when users exceeded the 200k token limit, they received a
generic 400/413 error message that didn't clearly explain the issue.
This commit adds specific error handling in the Quilly component to:
- Detect prompt length errors from API responses (400/413 status codes
with 'prompt is too long' message)
- Display clear, actionable error messages to users
- Offer two solutions: start a new chat or switch to a model with a
larger context window
The error handling covers two cases:
1. Specific prompt length errors with message content check
2. Generic 413 (Payload Too Large) status codes
This improves UX by helping users understand why their request failed
and providing clear next steps to resolve the issue.
2026-01-30 20:51:24 +00: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
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
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
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
d5e267103c
Clean up old electron code
2026-01-21 14:37:58 -06:00
Alex Gleason
ac6d4643af
Only navigate to preferences on desktop
2026-01-21 14:35:07 -06:00
Alex Gleason
9f60a72621
Add "Build" button back to preview pane
2026-01-21 14:29:49 -06:00
Alex Gleason
f289735da9
Fix tests by mocking the localStorage API
2026-01-21 14:08:23 -06:00
Alex Gleason
79759af337
Merge branch 'ppqFeedback' into 'main'
...
PPQ Feedback
See merge request soapbox-pub/shakespeare!97
2026-01-21 19:53:27 +00:00
Alex Gleason
6473b6c57a
Fix type error
2026-01-21 13:50:11 -06:00
Alex Gleason
add3c62bda
Revert "breakout new chat button from dropdown menu"
...
This reverts commit 05100d295e .
2026-01-21 13:48:02 -06:00
Alex Gleason
46c2539543
Fix chat scrolling issues
2026-01-21 13:40:50 -06:00
Alex Gleason
c95a1a3278
Remove legacy refresh from Preview Pane
2026-01-21 12:49:40 -06:00
Alex Gleason
5dfc1d8897
Fix deleting a deployment provider and editing Railway API token
2026-01-20 23:50:58 -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
lemonknowsall
5348ab1fda
remove unused import and prop
2026-01-16 23:15:00 -08:00