Commit Graph

110 Commits

Author SHA1 Message Date
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
Liam Hetherington
e58ebdcc4d Merge pull request #6 from southseact-3d/dependabot/npm_and_yarn/opencode/packages/console/app/npm_and_yarn-118d70433f
Bump the npm_and_yarn group across 3 directories with 4 updates
2026-02-10 21:22:40 +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
southseact-3d
c38dc20733 Create GitHub releases for pre-built OpenCode CLI and update Dockerfile 2026-02-10 16:22:47 +00:00
southseact-3d
33a42040d6 Update Bun to 1.3.8 to match project requirements 2026-02-10 16:09:25 +00:00
southseact-3d
19abee65c8 Move Node.js installation before Bun 2026-02-10 16:03:59 +00:00
southseact-3d
0860fc0028 Simplify Bun installation using npm 2026-02-10 16:01:21 +00:00
southseact-3d
eed249f869 Fix Bun installation URL and architecture detection 2026-02-10 15:56:57 +00:00
southseact-3d
dde62a98e9 fix docker file bun 2026-02-10 15:54:21 +00:00
Liam Hetherington
7f717b451a Merge pull request #19 from southseact-3d/cto-task-ok-so-when-you-deploy-via-portainer-you-get-this-error-pleas
Fix Bun installation failure in Docker build for Portainer
2026-02-10 15:44:04 +00:00
cto-new[bot]
eddf19dd40 Fix Bun installation failure in Docker build for Portainer 2026-02-10 15:20:13 +00:00
Liam Hetherington
cd447d2be1 Merge pull request #18 from southseact-3d/cto-task-ok-so-for-this-app-when-deploying-on-portainer-as-a-docker-s
Fix bun install in Docker build
2026-02-10 15:03:55 +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
d8b6c4e101 Remove unused unzip dependency 2026-02-10 13:56:32 +00:00
southseact-3d
9a5b4ebc8b Fix: Use correct Bun binary URL instead of zip 2026-02-10 13:56:13 +00:00
southseact-3d
cca90a34bb Add .github/workflows/** to paths so workflow triggers on its own changes 2026-02-10 13:47:59 +00:00
southseact-3d
e8f89ae111 Simplify workflow: build CLI only in GitHub Actions, image built by Portainer
- Removed Docker build job from workflow (image built when deploying)
- Updated paths filter to only trigger on opencode/** changes
- Added artifact cleanup to keep only latest CLI build
- Added multi-stage Dockerfile to build CLI from source during Docker build
- Simplified permissions (removed packages write)
2026-02-10 13:44:03 +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
355fa96de7 Update Dockerfile comment to reflect x86_64 only support 2026-02-10 13:14:21 +00:00
southseact-3d
3493d2c4d3 Trigger workflow retry 2026-02-10 13:12:34 +00:00
southseact-3d
28ebae966b Fix Dockerfile COPY path for opencode binary 2026-02-10 13:10:37 +00:00
southseact-3d
f9739608e6 Add artifact structure verification step 2026-02-10 13:09:00 +00:00
southseact-3d
c9569faadd Remove arm64 COPY from Dockerfile, simplify for x86_64 only 2026-02-10 12:31:16 +00:00
southseact-3d
dc071a04e8 Fix TypeScript errors: add missing type assignment and remove missing opencode theme 2026-02-10 12:24:24 +00:00
southseact-3d
a89e6940c0 Fix: Resolve @opentui/core from various node_modules locations 2026-02-10 12:21:38 +00:00
southseact-3d
1f94c63384 Remove arm64 build, simplify for x86_64 only 2026-02-10 12:20:08 +00:00
southseact-3d
1e91ca948a Add debugging steps to build workflow 2026-02-10 12:16:09 +00:00
southseact-3d
a591f5d2d5 Fix: Use 'bun run' explicitly for build script execution 2026-02-10 12:14:10 +00:00
southseact-3d
6dda179e7e Fix GitHub Actions workflow: remove invalid github context from inputs, add Docker caching, and cleanup old packages 2026-02-10 12:07:04 +00:00
southseact-3d
ec3aa6a6b5 added docker build 2026-02-10 11:57:46 +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]
6908466cf3 Merge pull request #17 from southseact-3d/cto-task-ok-so-for-the-plan-messages-when-the-proceed-with-build-butt
Add model selector to plan messages proceed button
2026-02-10 10:19:13 +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