Commit Graph

115 Commits

Author SHA1 Message Date
southseact-3d
f1fb336f4d debug: log all models and filter for chutes models 2026-02-11 11:44:48 +00:00
southseact-3d
b85cc73a4d fix: handle both string and object formats in providers array
- Support providers as array of strings: [opencode, chutes]
- Support providers as array of objects: [{provider: opencode}]
- This fixes provider detection for Chutes and other providers
2026-02-11 11:41:22 +00:00
southseact-3d
bddc710a90 debug: add detailed logging for adminModels and provider detection
- Log adminModels count and sample data
- Log CHUTES_API_KEY status and prefix
- Log detected providers from adminModels
2026-02-11 11:37:06 +00:00
southseact-3d
3ec9177082 fix: load adminModels before sessions in bootstrap sequence
- Move loadAdminModelStore() before loadState() in bootstrap()
- This ensures adminModels is available when ensureOpencodeConfig is called
- Fixes issue where Chutes provider was not being configured
2026-02-11 11:27:43 +00:00
southseact-3d
18d9e18978 debug: add detailed logging for Chutes API calls
- Log API key prefix to verify key is loaded
- Log full error response from Chutes API
- Log success count when models are fetched
2026-02-11 11:20:04 +00:00
southseact-3d
49092c3229 fix: ensure adminModels is loaded before checking providers in ensureOpencodeConfig
- Add check to load adminModels if not already loaded
- Add error handling for models.dev fetch failures
- Log provider source (models.dev vs built-in) for debugging
2026-02-11 11:18:56 +00:00
southseact-3d
17792d39a0 feat: dynamic provider model loading from models.dev
- Add fetchModelsDevProviderModels() function with 1-hour caching
- Update ensureOpencodeConfig() to dynamically load all models for configured providers
- Support Chutes, Cerebras, Groq, Google, and Nvidia providers
- Only fetch models for providers actually used in adminModels
- Cache models.dev data to reduce API calls and improve performance

This allows any model from models.dev to work when added in the admin panel,
instead of requiring hardcoded model definitions.
2026-02-11 10:53:37 +00:00
southseact-3d
d0105ff967 fix: add DeepSeek V3.2 TEE model to Chutes provider config with baseURL 2026-02-11 10:44:48 +00:00
Liam Hetherington
633f005f6c Merge pull request #22 from southseact-3d/codex/show-undo-and-redo-buttons-with-zero-output
Show builder undo/redo controls when message has zero output
2026-02-11 10:26:12 +00:00
Liam Hetherington
6cc4258d75 Show undo/redo controls even when builder output is empty 2026-02-11 09:46:54 +00:00
Liam Hetherington
e6485c6bbf Merge pull request #20 from southseact-3d/dependabot/npm_and_yarn/chat/npm_and_yarn-0d7ef37a24
Bump multer from 1.4.5-lts.2 to 2.0.2 in /chat in the npm_and_yarn group across 1 directory
2026-02-11 09:43:07 +00:00
southseact-3d
1ce02060e8 fix: pass provider API keys (CHUTES, GROQ, GOOGLE, NVIDIA) to OpenCode CLI execution environment 2026-02-11 09:04:15 +00:00
dependabot[bot]
c0eae5f3b4 Bump multer in /chat in the npm_and_yarn group across 1 directory
Bumps the npm_and_yarn group with 1 update in the /chat directory: [multer](https://github.com/expressjs/multer).


Updates `multer` from 1.4.5-lts.2 to 2.0.2
- [Release notes](https://github.com/expressjs/multer/releases)
- [Changelog](https://github.com/expressjs/multer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/expressjs/multer/compare/v1.4.5-lts.2...v2.0.2)

---
updated-dependencies:
- dependency-name: multer
  dependency-version: 2.0.2
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-10 21:23:34 +00:00
southseact-3d
566442327a Fix: Add Chutes and Cerebras provider config to opencode.json
When models from providers like Chutes or Cerebras were added via the admin panel,
they didn't work in the builder page because the opencode.json config file only
included the Ollama provider configuration.

This fix adds Chutes and Cerebras provider configurations to the opencode.json
file when their respective API keys are available in environment variables
(CHUTES_API_KEY and CEREBRAS_API_KEY).

Fixes the issue where chutes/deepseek-ai/DeepSeek-V3.2-TEE and similar models
would fail to load from the builder page.
2026-02-10 19:51:39 +00:00
southseact-3d
8b96273f47 builder: skip OpenCode verification when OPENCODE_REQUIRE_REPO=false 2026-02-10 19:09:22 +00:00
southseact-3d
bc45e3f964 builder: adapt OpenCode integration for Docker deployment; disable repo verification, remove JSON flag usage, parse text models, fix redo flow and session listing 2026-02-10 18:58:14 +00:00
southseact-3d
1af1f7b266 try again 2026-02-10 18:43:41 +00:00
southseact-3d
f1d3dce73c fix opencode error 2026-02-10 18:32:41 +00:00
southseact-3d
8e8129d71c Fix Editor.js plugin loading errors in blog admin
- Add multiple fallback global variable names for Editor.js plugins
- Add debug logging to track plugin availability
- Add error handling for editor initialization
- Ensure at least paragraph tool is available before initializing
- Fix ReferenceError: List is not defined when opening post modal
2026-02-10 18:13:13 +00:00
cto-new[bot]
efe3460447 Fix bun install in Docker build 2026-02-10 14:29:44 +00:00
southseact-3d
44d561df5d fix feat req 2026-02-10 13:58:34 +00:00
southseact-3d
25d23d8dd1 Add comprehensive feature request admin functionality
- Update data model to include status, adminReply, and updatedAt fields
- Hide user emails from public API responses for privacy
- Add admin-only endpoints: list, reply, update status, delete
- Create admin-feature-requests.html with full management UI
- Add status badges and admin replies to public feature requests page
- Add Feature Requests link to all admin page sidebars

Admin capabilities:
- View all feature requests with author emails (admin only)
- Reply to feature requests with admin responses visible to public
- Update status: pending, planned, in-progress, completed, declined
- Delete feature requests
- Filter and sort by status, votes, date
2026-02-10 13:27:36 +00:00
southseact-3d
0205820589 fix(settings): hide All Invoices modal by default using display: none
- Changed default display from flex to none to prevent modal from appearing at bottom of page
- Modal now properly hidden until View All button is clicked
2026-02-10 13:25:24 +00:00
southseact-3d
cfd8d9c706 feat: implement comprehensive blog system
Add dual-source blog system with Editor.js integration:
- Blog storage supporting repo-based (JSON) and database sources
- Admin panel with rich text editor using Editor.js
- Public news page with infinite scroll
- Individual blog post viewer page
- Categories management in admin
- Image upload functionality
- 4 SEO blog posts about WordPress with PluginCompass promotion
- 3 News blog posts about Plugin Compass
- API endpoints for CRUD operations
- Security and validation for admin operations

Closes blog feature request
2026-02-10 13:23:37 +00:00
southseact-3d
82ae9687b8 fix(settings): update All Invoices modal to show 5 items per page with pagination
- Changed INVOICES_PER_PAGE from 10 to 5
- Modal properly opens from Invoices section when clicking 'View All'
- Supports pagination with multiple pages in the popup
2026-02-10 13:22:07 +00:00
southseact-3d
8e9f2dec8e added support for todos 2026-02-10 11:53:31 +00:00
OpenCode Dev
cc40085441 feat: implement undo button to revert file changes and remove message from history
- Modified handleUndoMessage in server.js to remove the undone message from session history
- Added persistState() call to save the updated session state after undo
- Message is now removed from UI when undo is completed
- Works for opencode/build messages that are completed, errored, or cancelled
2026-02-10 10:59:36 +00:00
OpenCode Dev
ff9c30d136 Restore confirmation modal for proceed with build button 2026-02-10 10:40:35 +00:00
OpenCode Dev
89557cb4ed Fix plan message UI: always show model selector and make proceed with build send message directly 2026-02-10 10:39:40 +00:00
OpenCode Dev
7f8c54bac6 Revert "Merge pull request #17 from southseact-3d/cto-task-ok-so-for-the-plan-messages-when-the-proceed-with-build-butt"
This reverts commit 6908466cf3, reversing
changes made to 35b8084032.
2026-02-10 10:34:09 +00:00
cto-new[bot]
7221361ae1 Add model selector to plan messages proceed button 2026-02-10 10:17:27 +00:00
southseact-3d
35b8084032 Hide external WP tests UI elements from builder page 2026-02-10 10:04:59 +00:00
southseact-3d
a6ba703fd8 Fix three plan message issues:
1. Fix Ollama 504 Gateway Timeout - add 30s timeout to prevent long hangs
2. Add Ollama to provider error classification for proper fallback handling
3. Show model selector when proceed with build modal opens

These fixes ensure Ollama failures are handled gracefully with proper fallback
to Groq, and users can select their model before starting the build.
2026-02-10 10:00:38 +00:00
southseact-3d
b904e35528 Fix: Handle null el.limitBackup in admin.js to prevent TypeError when adding limits 2026-02-10 09:27:06 +00:00
OpenCode Dev
960ccb5742 Add hourly rate limits (tokens/hour, requests/hour) and missing providers (chutes, cerebras, ollama) 2026-02-10 09:04:44 +00:00
copilot-swe-agent[bot]
fd41d95f72 Complete Phase 1.2 implementation with comprehensive testing and documentation
Co-authored-by: southseact-3d <217551146+southseact-3d@users.noreply.github.com>
2026-02-09 19:39:04 +00:00
copilot-swe-agent[bot]
fd6d2d641b Fix database setup, test encryption and repositories - all working
Co-authored-by: southseact-3d <217551146+southseact-3d@users.noreply.github.com>
2026-02-09 19:37:28 +00:00
copilot-swe-agent[bot]
650d849ad2 Implement Phase 1.2: Database with encryption at rest and core infrastructure
Co-authored-by: southseact-3d <217551146+southseact-3d@users.noreply.github.com>
2026-02-09 19:33:00 +00:00
southseact-3d
a546eafc0b updt=ate ollama indocker and add plugins 2026-02-09 18:09:12 +00:00
southseact-3d
a52572ede1 Hide Proceed with Build button when AI needs clarification
- Add pattern matching to detect clarification requests in plan responses
- Hide Proceed with Build button when AI asks questions about missing details
- Button will still show for complete plans that are ready to build
2026-02-09 18:05:59 +00:00
southseact-3d
f9dc1a6920 Fix provider limits to only use configured providers and support OpenRouter model formats 2026-02-09 18:03:08 +00:00
southseact-3d
e9c5200e7c Fix admin authentication for contact messages API
- Changed getUserSession to getAdminSession for all contact message endpoints
- Admin panel now properly authenticates and displays contact messages
- Fixed list, mark-read, and delete operations
2026-02-09 17:58:22 +00:00
southseact-3d
74871ae05c Update contact page header to match home.html design
- Added Tailwind CSS and matching navigation from home.html
- Implemented glass-morphism navigation with mobile menu
- Added navbar scroll effects and responsive design
- Verified backend contact form functionality exists and works correctly
2026-02-09 17:54:49 +00:00
southseact-3d
f3af567aea Fix Chutes models not loading in admin page - Add missing fetchChutesModels() function and include it in external provider fetches 2026-02-09 14:50:54 +00:00
southseact-3d
b95efaebea complered tools 2 and guide 2026-02-08 20:15:38 +00:00
southseact-3d
bd6817f697 completed tools and setup 2026-02-08 20:02:30 +00:00
southseact-3d
39136e863f implement wp testing 2026-02-08 19:27:26 +00:00
southseact-3d
541b6bc946 fix: pony-alpha model status and SSE stream heartbeat issue
- Change openrouter/pony-alpha model status from 'alpha' to 'beta' to prevent deletion
- Fix ReferenceError where heartbeat was used before initialization in cleanupStream
- Declare heartbeat and streamTimeout with let before cleanupStream function
- Change const assignments to let assignments for timer variables
2026-02-08 19:20:23 +00:00
southseact-3d
eb7aa29c0c fix quedued issue with repull container 2026-02-08 17:43:00 +00:00
southseact-3d
1e0168b301 rem last build change 2026-02-08 17:38:43 +00:00