Skip to content

Developer knowledge base#495

Open
JeffreySu wants to merge 87 commits into
Developerfrom
Developer-KnowledgeBase
Open

Developer knowledge base#495
JeffreySu wants to merge 87 commits into
Developerfrom
Developer-KnowledgeBase

Conversation

@JeffreySu
Copy link
Copy Markdown
Contributor

No description provided.

JeffreySu added 30 commits July 27, 2025 07:05
XncfTemplate v0.12.9-preview.7 更新 CO2NET.WebApi、DatabasePlant 等基础库
refactor: Remove unused class and adjust API defaults
update CO2NET reference of Senparc.Ncf.Database.MySql.Backup
update: Senparc.Xncf.XncfBuilder.Template
添加异步支持和更新文档及项目引用
PromptRange [2025-11-06] v0.15.0-preview.1 Support Prompt comparison;…
…larization

Refactor/prompt js modularization
…larization

Refactor/prompt js modularization
fix: roll-back XncfBuilder module's code generation policy
JeffreySu and others added 30 commits April 9, 2026 00:45
Co-authored-by: Jeffrey Su <zsu@senparc.com>
- Updated Start.cshtml to include filterable and create options for select inputs.
- Normalized JSON parameters in Start.cshtml.cs and ModuleAppService.cs for consistent request handling.
- Introduced normalizeMultiValue method in start.js to handle multi-value inputs and ensure proper array formatting.
- Adjusted logic for setting default selected values in multi-select and dropdowns to improve user experience.
…types

- Updated MyFunctionRequest.cs to replace SelectionList with string and string[] for Operator and Power properties, enhancing clarity and usability.
- Modified BuildXncfAppService.AI.MCP.cs and related service classes to streamline handling of request parameters, removing unnecessary SelectionList usage.
- Adjusted BuildXncfRequest.cs and DatabaseMigrationRequest.cs to utilize direct data types for better performance and readability.
- Enhanced XncfStateRequest.cs and related classes to improve data loading and handling, ensuring consistent use of simplified types.
- Updated simulated site function requests to align with new data structure, ensuring compatibility and ease of use.
…rmware package synchronization

- Added Register class for module registration and configuration.
- Implemented database context and migration setup for firmware update configurations.
- Created scheduled tasks for automatic synchronization of firmware packages from GitHub to local storage.
- Included configuration options for different database types (SQLite, SQL Server, MySQL, PostgreSQL, Oracle).
- Added initial configuration file for database connection settings.
…in XncfBase

- Updated version numbers across multiple projects to reflect new releases.
- Introduced boolean parameter handling in FunctionRequestParameterNormalizer for improved JSON normalization.
- Enhanced FunctionParameterInfo to support new CheckBox parameter type for better UI representation.
- Introduced tasks to push firmware update packages and symbol packages to the external NuGet feed.
- Configured tasks to skip duplicates and continue on error for improved pipeline resilience.
- Adjusted OutputPath and DocumentationFile paths in multiple project files to ensure they point to the correct BuildOutPut directory.
- This change standardizes the output locations across the Senparc.Xncf.AgentsManager.Abstractions, Senparc.Xncf.FirmwareUpdate, and Senparc.Xncf.PromptRange.Abstractions projects.
…actions and Senparc.Xncf.AgentsManager.Abstractions

- Introduced tasks to push NuGet packages and symbol packages for both Senparc.Xncf.PromptRange.Abstractions and Senparc.Xncf.AgentsManager.Abstractions to the external NuGet feed.
- Configured tasks to skip duplicates and continue on error for improved pipeline resilience.
- Changed TargetFrameworks to TargetFramework in Senparc.Xncf.AgentsManager.Abstractions and Senparc.Xncf.PromptRange.Abstractions project files for standardization.
- Adjusted formatting in MyFunctionRequest.cs to improve readability and maintain consistency in property definitions.
…iles for consistency

- Changed TargetFramework to TargetFrameworks in Senparc.Xncf.AgentsManager.Abstractions and Senparc.Xncf.PromptRange.Abstractions project files to align with multi-targeting standards.
…ource variable

- Eliminated multiple NuGetCommand tasks for pushing packages and symbols to streamline the pipeline.
- Introduced a new variable, NuGetPushSource, to define the NuGet push target for consistency across the pipeline.
…views

- Added ApplyMirrorBaseToPackageDownloadUrl method to adjust download URLs based on custom mirror settings, preventing 404 errors.
- Updated BrowserView, MainWindow, and SettingsView layouts to ensure proper stretching and alignment of UI elements, enhancing overall user experience.
…behavior

- Added logic to confirm shutdown when the NCF process is running, prompting the user before closing the main window.
- Introduced a flag to allow closing without confirmation under certain conditions, improving user experience.
- Adjusted window dimensions for better layout consistency.
…ect files

- Standardized ProjectUrl formatting by removing leading spaces in the project files for Senparc.Ncf.AreaBase, Senparc.Ncf.Core, and various database and extension projects.
- This change improves consistency and readability in project metadata.
- Implemented IXncfModulesInventoryRequestWaiter for handling inventory requests and responses.
- Added XncfModulesInventoryRequestHandler and XncfModulesInventoryResponseHandler to process inventory events.
- Enhanced Register.cs to register the inventory request waiter if not already present.
- Created new events for module inventory requests and responses, facilitating better integration and management of installed and uninstalled modules.
- Updated project references to include new abstractions for improved modularity.
- Introduced Senparc.Xncf.XncfBuilder and Senparc.Xncf.XncfBuilder.Abstractions projects to the solution.
- Updated project references and configurations to include the new modules, enhancing modularity and organization.
- Added an "Extensions" project to support the new structure, improving overall project management.
- Updated Register.cs to improve assembly scanning for EventBus, ensuring all relevant modules are included.
- Added new project references to support the Xncf module inventory management via EventBus.
- Implemented MyFunction_XncfModulesInventoryRequest to facilitate requests for module inventory, enhancing the overall functionality of the system.
- Improved MyFuctionAppService.cs with new methods for handling inventory requests and responses, streamlining the process of managing installed and uninstalled modules.
- Deleted obsolete files including icon.jpg, readme.md, and various .cshtml and .cs files related to the Template_OrgName.Xncf.Template_XncfName project.
- This cleanup improves project organization and removes unused resources, streamlining the codebase.
- Incremented PackageVersion from 0.12.11-preview.1 to 0.12.12-preview.1 in the project file, ensuring the latest version is reflected for the template package.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants