Conversation
- Add download-mingit.ps1 script to fetch MinGit at CI build time - Inject bundled git-bash/mingw64/bin into PATH at app startup - Fall back to system Git for Windows if bundled git not present - Add CI step in release-desktop.yml to run the download script - Gitignore resources/win/git-bash/ (binary, downloaded at build time) Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
…port Add export buttons to RoleDetailPanel and ToolDetailPanel for non-system resources. Fix resources:download handler to resolve v2 role paths from ~/.rolex/roles/<id>/ and wrap v2 ZIP contents in a roleId-prefixed directory so import correctly restores the original ID. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…n flicker On macOS, spawning process.execPath (the main Electron binary) as child processes causes each subprocess to briefly show a Dock icon. Use the Electron Helper binary instead, which has LSUIElement=true in its Info.plist and is invisible to the Dock. Also add windowsHide:true to all spawn calls for Windows. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add window.open fallback when electronAPI.shell.openExternal is not available (e.g., when running in browser dev mode). Prevents "Cannot read properties of undefined" error when clicking Git download link. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Upgrade @rolexjs/* packages from 0.11.0 to 1.1.0 - Add @rolexjs/prototype, @rolexjs/system, and resourcexjs dependencies - Migrate growup command to synthesize throughout codebase - Add synthesize() method to RolexBridge and RolexActionDispatcher - Keep growup() as deprecated wrapper for backward compatibility - Update MCP server action tool to use synthesize operation - Update dayu role documentation with new API terminology Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Change LocalPlatform import to localPlatform (factory function) - RoleX 1.1.0 uses factory pattern instead of constructor - Fixes "LocalPlatform is not a constructor" error Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Remove bootstrap() call (no longer exists in 1.1.0) - Use renderState instead of renderFeature/renderFeatures - Simplify _syncSeedRoles to only track version - RoleX 1.1.0 no longer auto-manages SEED roles Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- RoleX 1.1.0 stores roles in SQLite database, not files - Update listV2Roles to query from platform.runtime graph - Iterate through all 'individual' type nodes - Extract role info from identity sub-nodes - Supports both SEED roles and user roles Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Implement full RoleX 1.1.0 API support with complete operation coverage. Core changes: - Migrate all RolexBridge methods to RoleX 1.1.0 API - Add 14 new operations: reflect, realize, master, forget, skill, retire, die, rehire, train, charter, dissolve, charge, require, abolish - Fix isV2Role() to query SQLite database instead of filesystem - Update RoleProtocol to handle v2: prefix for database-backed roles - Fix listV2Roles() to parse census.list string format MCP server updates: - Expand action tool from 18 to 32 operations - Add v2 role checks to recall/remember tools - Update inputSchema with new parameters Operations now supported: - Learning cycle: reflect → realize → master → skill → forget - Organization: found → charter → hire → fire → dissolve - Position: establish → charge → require → appoint → dismiss → abolish - Individual lifecycle: born → train → retire → rehire → die - Goal execution: want → plan → todo → finish → achieve/abandon Dependencies: - Add @rolexjs/genesis@1.1.0 for world initialization Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… parser - Add RoleTreeListPanel component with hierarchical organization display - Parse census.list text output to structured JSON data - Distinguish between role assignments and position definitions - Show organizations with expandable/collapsible nodes - Display role positions as badges - Group independent roles separately - Fix V2GoalsTab to handle text-format focus output - Add rolex:directory IPC handler for organization data - Add i18n keys for independent roles Breaking changes: - V2 role list now shows tree structure instead of flat list - Organizations without members are not displayed in tree Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Changed V2StructureTab to load identity nodes from RoleX 1.1.0 SQLite database instead of reading .feature files from filesystem. Changes: - Added rolex:getIdentityNodes IPC handler calling RolexBridge.identity() - Rewrote V2StructureTab to work with database nodes instead of files - Nodes categorized by name/id patterns (persona/knowledge/voice/experience) - Viewer displays node.information (Gherkin content) directly - Removed file editing (database nodes are read-only in UI) This completes the RoleX 1.1.0 migration for V2 role detail pages. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Fixed "Cannot read properties of undefined (reading 'getInstance')" error
by using correct import path: core.rolex.RolexBridge instead of
destructuring RolexBridge directly from require('@promptx/core').
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
RolexBridge uses getRolexBridge() function for singleton pattern, not a static getInstance() method on the class. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
role.project() returns rendered Gherkin text, not structured data. Added parser to extract nodes from text using ## [type] (id) markers. Changes: - Parse identity text by splitting on ## markers - Extract node type, id, and content from each section - Categorize nodes by type (identity/procedure → persona/knowledge) - Display node type badge in UI - Added debug logging to troubleshoot data format Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
V2 roles use RoleX memory system (reflect/realize/master) instead of traditional cognition system (remember/recall). Added version check to prevent V2 roles from using remember/recall commands. Changes: - Added isV2Role check in RememberCommand.assembleLayers() - Added isV2Role check in RecallCommand.assembleLayers() - Return helpful error message directing users to RoleX commands - Graceful fallback if version check fails (backward compatibility) Rationale: - V2 roles store data in RoleX SQLite database - V1 roles use ~/.promptx/cognition/ for memory storage - Mixing systems would cause data inconsistency Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Enhanced discover command to display V2 roles with their organization
and position information from RoleX directory.
Changes:
- Added loadDirectoryData() in DiscoverCommand to fetch org structure
- Added parseDirectoryOutput() to parse directory JSON output
- Modified RoleListArea to accept directoryData parameter
- Added getOrganizationInfo() to lookup role's org and position
- V2 roles now display as: "roleId [V2]: name (org - position)"
Example output:
- `Node全栈工程师` [V2]: Node全栈工程师 (火花堆栈人工智能有限公司 -
Node全栈工程师岗位) → action({ operation: "activate", ... })
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Fixed loadDirectoryData() to handle bridge.directory() correctly. The method already returns a parsed object, not a JSON string. Changes: - Removed JSON.parse() call since data is already an object - Updated logging to show actual data structure - Marked parseDirectoryOutput() as deprecated Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- chore(deps): upgrade @rolexjs/genesis from 1.1.0 to 1.3.0
- Add new procedure features: skill-creator, prototype-management,
resource-management, version-migration
- Maintain backward compatibility with existing RoleX 1.1.0 API
- fix(desktop): fix AgentX conversation rename dialog i18n
- Add missing "cancel" translation key for rename dialog
- Change hardcoded "Cancel" to use i18n key
- Fix conversation title display priority (show user-set name first)
- feat(desktop): implement shell.openExternal via IPC
- Add setupShellIPC() handler to open URLs in Electron browser window
- Change preload to use IPC instead of direct shell access for security
- Add error handling for external link opening in settings
- fix(desktop): update AgentX welcome page logo path
- Change from PromptX-transparent.png to icon.png
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add notification center with auto-popup on first launch - Add notification button in sidebar footer with unread badge - Add notification management (mark as read, delete) - Add i18n support (en/zh-CN) - Add default notifications for v2.2.0 update and RoleX upgrade - Add Badge component for UI - Disable V2 role export/delete features temporarily Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Merged main branch but excluded bundled MinGit/git-bash changes as we won't bundle git internally. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📋 Summary
This PR introduces a comprehensive notification center system and upgrades RoleX to version 1.3.0, along with various bug fixes and improvements for V2 roles management.
✨ Key Features
🔔 Notification Center System
🚀 RoleX 1.3.0 Upgrade
🔧 V2 Roles Management
🐛 Bug Fixes
directory()to return object instead of JSON stringopenExternalin settings window⚙️ AgentX Configuration Improvements
📦 Changes by Category
Added
apps/desktop/src/view/components/notifications/)Changed
Fixed
Removed
🔄 Migration Notes
For V2 Role Users
Action Required: Activate Nuwa (女娲) and ask her to upgrade and migrate your V2 roles.
See upgrade guides:
ROLEX_UPGRADE_GUIDE.md- Detailed upgrade instructionsROLEX_UPGRADE_QUICK.md- Quick upgrade guide🧪 Testing
Notification System
promptx_notificationsandpromptx_notifications_shownRoleX Upgrade
Bug Fixes
📊 Statistics
🔗 Related Issues
📸 Screenshots
Notification Center
Organization Tree View
🚀 Deployment Notes
✅ Checklist
👥 Reviewers
@Deepractice/core-team
Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com