12 Commits

Author SHA1 Message Date
d1cf4037d9 fix(ci): improve addon package assembly reliability
All checks were successful
Build and Release Addon / Create Release (push) Successful in 0s
Build and Release Addon / Build Host (Linux x64) (push) Successful in 14s
Build and Release Addon / Build Host (Windows x64) (push) Successful in 7h59m53s
Build and Release Addon / Build Host (macOS arm64) (push) Successful in 41s
Build and Release Addon / Build Host (macOS x64) (push) Successful in 39s
Build and Release Addon / Package Addon (push) Successful in 24s
Switch from release API asset download to tag-based download URLs for host packages, which is more reliable and doesn't require release ID lookup. Add download verification to fail fast if files are missing.

Remove silent failure flags (2>/dev/null || true) when copying required directories - now fails explicitly if renderer or shared directories are missing.

Add package contents listing to verify successful assembly before upload.
v1.0.0
2026-01-28 03:16:21 -05:00
2f99c6fb0b feat: add AI conversation capabilities to demo addon
Implements two AI integration methods:
- aiChat: simple text-based AI conversation
- aiStructuredOutput: schema-based AI responses using tools

Adds ai:conversation permission and AnalyzeCode tool definition to addon.json with rocket icon. Both methods communicate with AIHost service on localhost:5678.
2026-01-24 17:51:55 -05:00
2f88b6af51 Merge branch 'main' of https://git.marketally.com/gitcaddy/myfirst-addon 2026-01-23 10:17:37 -05:00
0275df601d feat(secrets): add native file dialog support and documentation
Adds support for native file dialogs through the ui:dialogs permission. Includes comprehensive documentation and demo methods showing how to use saveFile, showSaveDialog, and showOpenDialog APIs.

The dialogs API allows addons to:
- Show native save dialogs and write files directly
- Show open dialogs to select files/directories
- Configure file filters, default paths, and dialog titles

Also adds demo methods (saveFileDemo, openFileDemo) to the starter addon that demonstrate proper usage patterns including permission checks and error handling.
2026-01-23 10:17:35 -05:00
c379250af3 Add LICENSE.md (MIT) 2026-01-23 01:02:57 +00:00
3bd09651de docs: expand README with quick start and detailed API examples
- Add quick start section for development and distribution
- Expand project structure to include host and CI/CD files
- Add detailed code examples for lifecycle methods and context API
- Document invoke method pattern for handling addon actions
- Improve descriptions of manifest fields and permissions
- Add native host build instructions
2026-01-18 15:49:32 -05:00
3737672fb2 refactor: update branding and improve name input UI in demo
- Update context menu labels from "My Addon" to "MyFirst Addon" for consistency
- Replace prompt dialog with inline text input field for better UX
- Add input validation with focus feedback when name is empty
2026-01-18 15:28:13 -05:00
48fdf4b99f feat(context-menu): add notifications for file and commit processing
Updates processFiles and analyzeCommit methods to show user notifications when context menu actions are triggered. Also refactors parameter handling to accept contextData objects instead of direct file/commit parameters.
2026-01-18 15:04:43 -05:00
a9da086587 ci: add multi-platform release workflow
Implements automated build and release pipeline:
- Create GitHub releases on version tags
- Build .NET host for Windows (x64), Linux (x64), and macOS (x64/arm64)
- Package platform-specific host binaries
- Upload release artifacts via Gitea API

Supports both tag-triggered and manual workflow dispatch.
2026-01-18 14:57:39 -05:00
e79fd3f281 feat: add .NET host process integration
Implements native host process support with .NET backend:
- Add .NET host project with HTTP endpoints (health check, hello world)
- Configure multi-platform host executables in addon.json
- Add host communication methods in main process
- Create host demo tab in UI
- Add .gitignore for .NET build artifacts

The host process runs on a dynamic port and communicates via HTTP with the main addon process.
2026-01-18 14:48:43 -05:00
d5be7cc604 docs: update addon API documentation and examples
Add comprehensive documentation for:
- Event subscription API with examples
- License status implementation for commercial addons
- Header actions configuration for view panels
- View communication using postMessage instead of bridge
- Clarify activate() must return true for successful activation

Update demo and settings views to reflect new communication patterns.
2026-01-18 14:03:23 -05:00
2b9527cc5f feat(settings): add initial addon implementation with demo views
Creates complete addon structure with manifest, main/renderer modules, shared types, and demo views. Includes comprehensive README documenting addon API, lifecycle methods, permissions, capabilities, and contribution points. Implements settings panel and demo repository view to showcase addon features.
2026-01-18 13:08:11 -05:00