Commit Graph

59 Commits

Author SHA1 Message Date
Falck
7a460dfa95 规划项目后续发展 2026-05-02 23:38:06 +08:00
Falck
70c531860b 修复了一些错误 更新了AI.md(给ai看的) 2026-05-02 19:21:50 +08:00
Falck
0783428f80 初步规划TuUi模式,并预留接口 2026-05-02 13:32:51 +08:00
qwen.ai[bot]
9f7ca46f96 Update TUI to v1.3 with enhanced conversion layer and dual UI architecture
- ai.md: Added comprehensive documentation for TUI v1.3 conversion layer with 64+ supported components, CSS styling, and JavaScript interaction capabilities
- oss/tui/: Created complete TUI module with converter.py implementing HTML/CSS/JS to terminal conversion engine, supporting 40+ component types and advanced styling
- oss/tui/plugin.py: Implemented TUI plugin with dual startup architecture accessing WebUI's /tui interface for HTML conversion and terminal rendering
- store/@{NebulaShell}/webui/tui/: Added TUI package with converter, configuration files, and index.html for terminal interface
- store/@{NebulaShell}/webui/core/server.py: Enhanced WebUI server with TUI interface endpoints (/tui/*) for providing special-marked HTML to conversion layer
- store/@{NebulaShell}/webui/main.py: Updated WebUI plugin to support TUI dual launch with automatic homepage redirection and navigation integration
- .gitignore: Updated ignore patterns for better project cleanliness

The update provides a sophisticated terminal interface that automatically converts WebUI content through a powerful transformation layer, enabling seamless dual-mode operation.
2026-05-02 12:04:27 +08:00
Falck
2c2ec60a2b 更改项目名为NebulaShell 2026-05-02 08:30:31 +08:00
Falck
d16e28ab17 删了future-oss.7z 2026-05-01 20:19:09 +08:00
Falck
1295aaed91 删除了不需要的文件 2026-04-26 16:55:22 +08:00
Falck
f1625df952 彻底完成v1.2.0 2026-04-26 09:45:39 +08:00
Falck
7fa02db70b Merge branch 'main' of github.com:Starlight-apk/FutureOSS 2026-04-26 09:30:11 +08:00
Falck
881aac2161 修复了若干Bug 2026-04-26 09:25:06 +08:00
qwen.ai[bot]
a00fd9ebcf Title: 添加成就系统和隐藏命令功能
Key features implemented:
- 新增oss/core/achievements.py实现配置验证与完整性检查模块,包含验证规则、缓存机制和成就解锁系统
- 新增oss/core/__init__.py作为核心模块入口,提供Context和验证器接口
- 修改oss/cli.py添加隐藏命令前缀支持(!!),实现内部调试命令和随机提示功能
- 修改oss/plugin/manager.py集成插件数量和启动速度成就检查
- 修改oss/config/config.py添加配置修改记录成就跟踪
- 更新.gitignore优化Python项目忽略文件配置

整体实现了完整的成就系统架构,支持隐藏命令交互和多种验证规则,并在系统各组件中集成成就解锁逻辑。
2026-04-26 09:22:49 +08:00
qwen.ai[bot]
902d2782cf Title: 继续修复所有错误
Key features implemented:
- Updated .gitignore to include additional cache and coverage directories (.mypy_cache/, .pytest_cache/, coverage/, htmlcov/)
- Enhanced XSS protection in pkg-manager plugin by adding HTML escaping for all user data in page rendering functions
- Improved PL injection security in plugin-loader with enhanced static source code analysis including base64 decoding checks and string concatenation bypass detection
- Strengthened configuration file loading security using ast.literal_eval for safe parsing and stricter code execution prevention
- Added comprehensive dangerous pattern checks in PL injection static analysis to prevent various bypass techniques

The updates focus on security hardening across the plugin system, particularly addressing input sanitization and code injection vulnerabilities while expanding the project's ignore patterns for better repository cleanliness.
2026-04-25 22:16:05 +08:00
qwen.ai[bot]
64c8713945 update branch 2026-04-25 21:12:20 +08:00
Falck
83c3ccb86b 完成阶段2 2026-04-25 20:29:05 +08:00
qwen.ai[bot]
3ffc10be92 update branch 2026-04-25 12:28:01 +00:00
qwen.ai[bot]
138a8ffb7a Title: Update TCP HTTP server and plugin loader with enhanced security and error handling
Key features implemented:
- Updated .gitignore with cleaner Python and build artifact patterns
- Enhanced TcpHttpServer with improved exception handling for connection errors and better request parsing
- Added detailed error event emission for OSError and other exceptions in TCP server
- Improved plugin loader security with enhanced configuration file validation and error handling
- Added comprehensive logging for plugin loading and dependency injection processes
- Refined PL injection mechanism with stricter function name and route validation

The updates provide more robust error handling in the TCP server and strengthen security measures in the plugin loader while improving overall system stability.
2026-04-25 12:07:50 +00:00
Falck
a0895c2d68 分析项目弱点,并完成大型项目第一阶段 2026-04-25 18:48:54 +08:00
qwen.ai[bot]
97ced1b5e6 Title: Implement minimal core framework with PL injection and update build config
Key features implemented:
- Updated package metadata and dependencies in PKG-INFO, setup files
- Added main.py entry point for backward compatibility with README launch method
- Enhanced CLI with config options, system info command, and proper signal handling
- Implemented minimal PluginManager loading only plugin-loader core plugin
- Refactored PluginLoader to follow minimal core design, removed sandbox/isolation complexity
- Updated auto-dependency plugin with safer PL injection mechanism and disabled pl_injection
- Removed legacy plugin files (firewall, frp_proxy, ftp_server, multi_lang_deploy, ops_toolbox, security_gateway) as functionality moved to core plugin system
- Improved gitignore with comprehensive ignore patterns

The changes implement a minimal core framework design where only the plugin-loader is directly loaded by the core, with all other plugins managed through the PL injection mechanism, significantly simplifying the architecture.
2026-04-25 10:47:26 +00:00
Falck
a9bc12596e 废弃了部分旧代码 2026-04-25 18:00:20 +08:00
qwen.ai[bot]
27a1eb8a3c ### User query:
这次提交的标题

### Changes made to the code/files:

Title: Remove PHP dependencies and refactor UI rendering to pure HTML templates

Key features implemented:
- Refactored dashboard plugin to remove PHP dependency and implement pure HTML/CSS/JS template rendering
- Updated log-terminal plugin to replace PHP-based UI with native Python HTML template generation
- Modified package manager plugin to eliminate PHP view files and use direct HTML string construction
- Removed all PHP view template files across dashboard, log-terminal, and package manager plugins
- Updated .gitignore to include additional build artifacts and environment files
- Enhanced dashboard with real-time metrics, system information, and network statistics without external PHP processing

The overall change migrates the system from requiring PHP for UI rendering to using pure Python-based HTML template generation, simplifying deployment and removing external dependencies.
2026-04-25 09:55:28 +00:00
Falck
26e0fc6b1e 更新了性能优化插件 2026-04-25 17:43:15 +08:00
qwen.ai[bot]
40888ff61a **Add Performance Optimizer Plugin with Extreme Performance Features**
- Added performance-optimizer plugin with FastCache LRU caching, ObjectPool for object reuse, BatchProcessor for bulk operations, MemoryArena for pre-allocated memory, PerfProfiler for low-overhead timing, and StringIntern for deduplication
- Implemented high-performance routing optimizations in router.py using @lru_cache decorators for path matching and parameter extraction functions
- Created comprehensive plugin infrastructure with manifest.json configuration and unified access interface through PerformanceOptimizerPlugin class
- Enhanced system performance through multiple optimization strategies targeting different bottlenecks with measurable performance gains from 2x to 100x improvement ratios
2026-04-25 09:42:06 +00:00
Falck
9d59e97b6a 删除了没有用的website 2026-04-25 16:30:13 +08:00
Falck
323d52818f 修复AI生成README的时候官网地址错误 2026-04-25 16:29:10 +08:00
qwen.ai[bot]
b840c877a4 Update README.md to fix友情链接 and keep only official website link
- Modify README.md footer links to remove problematic 友链 and retain only the official homepage link labeled as futureoss.date
- Update the bottom navigation bar to show single official site link [🏠 官网首页](https://futureoss.date)
- Remove all other external links including documentation, community forum, Twitter, and LinkedIn from the footer

This change streamlines the project's external links, addressing issues with existing 友链 while maintaining clear access to the primary official resource.
2026-04-25 08:28:36 +00:00
Falck
b3a50c9ae5 修复许可证标注错误 2026-04-25 16:22:18 +08:00
qwen.ai[bot]
aef9a2939e Fix project URL in documentation and update gitignore format
- Updated README.md to correct GitHub repository URL from github.com/FutureOSS/futureoss to github.com/Starlight-apk/FutureOSS
- Revised .gitignore file to use standard gitignore format instead of code block wrapper
- Corrected license badge in README from MIT to Apache-2.0 to match actual project license
- Fixed contribution guide URLs to point to correct repository location
2026-04-25 08:21:24 +00:00
Falck
662ecb221f 更新了README 2026-04-25 16:16:02 +08:00
qwen.ai[bot]
d7978349ed Title: Update license confirmation and enhance project documentation
Key features implemented:
- Updated README.md to prominently display MIT license badge and include full license text in expandable section
- Enhanced .gitignore with comprehensive file patterns for Python, dependencies, logs, and build artifacts
- Added detailed plugin manifest example showing license declaration in plugin configuration
- Included license information in plugin development documentation section

The updates provide clear license visibility and improved development workflow configuration.
2026-04-25 08:14:10 +00:00
Falck
e5d578a849 chore: disable delete confirmation in VS Code explorer
Disable the confirmation dialog when deleting files in the VS Code explorer to streamline the development workflow and reduce friction during file management operations.
2026-04-25 15:56:37 +08:00
Falck
c998f8beda Merge remote-tracking branch 'Github/main' 2026-04-25 15:54:58 +08:00
Falck
979d2e2236 完成v1.1.0 2026-04-25 15:48:07 +08:00
Falck
cf1f78b8b1 新增依赖自动安装插件并修复核心模块缺失问题
主要变更:
1. 新增 auto_dependency 插件
   - 实现系统依赖的扫描、检查、安装和信息查询功能
   - 对接插件加载器的 /PL 注入能力接口 (execute 方法)
   - 支持多种包管理器 (apt-get, yum, dnf, pacman, brew, apk)
   - 提供 scan(), check(), install(), info() 四个核心 API

2. 修复模块缺失错误
   - 创建 oss/plugin/base.py (BasePlugin 类)
   - 创建 oss/core/context.py (Context 类)
   - 解决 6 个现有插件无法导入的问题

3. 添加示例配置
   - 为 firewall 和 ftp_server 插件添加 system_dependencies 声明示例

功能说明:
其他插件只需在 manifest.json 中声明 "system_dependencies" 字段,
该插件即可通过插件加载器自动检测并安装缺失的系统级依赖包。
2026-04-25 14:27:28 +08:00
Falck
6307a72fce 新增依赖自动安装插件并修复核心模块缺失问题
主要变更:
1. 新增 auto_dependency 插件
   - 实现系统依赖的扫描、检查、安装和信息查询功能
   - 对接插件加载器的 /PL 注入能力接口 (execute 方法)
   - 支持多种包管理器 (apt-get, yum, dnf, pacman, brew, apk)
   - 提供 scan(), check(), install(), info() 四个核心 API

2. 修复模块缺失错误
   - 创建 oss/plugin/base.py (BasePlugin 类)
   - 创建 oss/core/context.py (Context 类)
   - 解决 6 个现有插件无法导入的问题

3. 添加示例配置
   - 为 firewall 和 ftp_server 插件添加 system_dependencies 声明示例

功能说明:
其他插件只需在 manifest.json 中声明 "system_dependencies" 字段,
该插件即可通过插件加载器自动检测并安装缺失的系统级依赖包。
2026-04-25 14:20:16 +08:00
qwen.ai[bot]
9322dc857f update branch 2026-04-25 06:07:33 +00:00
qwen.ai[bot]
fe71635899 Title: Add auto-dependency plugin for system dependency management
Key features implemented:
- Added new auto-dependency plugin that scans plugin manifests for system dependencies and automatically installs missing ones
- Created SystemDependencyChecker class with support for multiple package managers (apt, yum, dnf, pacman, brew, apk)
- Implemented PL injection interface with functions for scan, check, install, and info operations
- Added context management system in core module for plugin execution environment
- Created example plugin manifest demonstrating system dependency declaration
- Updated .gitignore with comprehensive file exclusion patterns

The plugin provides automatic scanning and installation of system dependencies declared in plugin manifests, integrating seamlessly with the plugin loader through PL injection capabilities.
2026-04-25 05:52:44 +00:00
Falck
0cdc07b3ec 更新了,README 2026-04-25 08:52:55 +08:00
qwen.ai[bot]
7febcdba84 update branch 2026-04-25 00:52:26 +00:00
qwen.ai[bot]
f8853ca45e Title: Upgrade to FutureOSS v1.1.0 with enterprise-grade security and deployment features
Key features implemented:
- New RELEASE_v1.1.0.md with comprehensive release notes for security upgrades and new features
- New firewall.py plugin implementing dynamic IP filtering, port management, and attack detection
- New frp_proxy.py plugin for FRP-based internal network tunneling and proxy services
- New ftp_server.py plugin providing secure file transfer with user management and access control
- New multi_lang_deploy.py orchestrator supporting automated detection and deployment of Python/Node.js/Go/Java/PHP projects
- New ops_toolbox.py with backup/recovery, health checks, and resource quota management
- New security_gateway.py with API rate limiting, JWT authentication, audit logging, and circuit breaker protection
- New HTML5/CSS3/JS-based webui replacing PHP templates with modern responsive design and real-time metrics
- New manifest.json files for all plugins adding configuration schemas and dependency declarations
- Updated .gitignore with refined ignore patterns for development environments
- Modified core plugin manifests to include internationalization dependencies and enhanced configurations
- Removed legacy PHP template files from webui frontend views
- Enhanced plugin bridge, storage, signature verification with multilingual support and security improvements
2026-04-25 00:01:05 +00:00
Falck
236b436993 修复重大安全逃逸漏洞 2026-04-25 07:17:05 +08:00
qwen.ai[bot]
1393dbe3eb update branch 2026-04-24 23:15:25 +00:00
qwen.ai[bot]
17fe827430 Title: Add HTML render config and update gitignore rules
Key features implemented:
- Added html-render-config.json with root directory, index file, and static prefix settings for website rendering
- Updated .gitignore to exclude Python cache files, compiled files, logs, and environment files while removing old project-specific entries

The changes improve project configuration management and clean up version control exclusions for better development workflow.
2026-04-24 23:11:44 +00:00
Falck
395cda2e8b chore: add website directory to gitignore and update VSCode config
- Add `website/` to .gitignore to exclude website build artifacts
- Add Node.js debug configurations for FutureOSS website in launch.json
- Update VSCode color theme to "Default Dark Modern"
- Refactor plugin loader to simplify dependency and lifecycle plugin loading logic
2026-04-25 06:43:45 +08:00
Falck
2e07e95b02 feat: update VS Code color theme to 'Dark Modern'
(重要须知:以后提交内容都将由AI生成)
2026-04-19 12:01:03 +08:00
Falck
e72818399c update project configuration and add development tools
- Add Python virtual environment patterns to .gitignore
- Replace .codebuddy with .clinerules in .gitignore
- Add .pid file for process tracking
- Add comprehensive .pylintrc configuration for Python linting
- Update start.bat with English translations and simplified functions
2026-04-19 12:00:02 +08:00
Falck
282a42081b 增强启动脚本功能与健壮性 2026-04-18 06:11:26 +08:00
Falck
2f67887e6e 重构 README 文档结构并更新项目介绍 2026-04-18 00:38:29 +08:00
Falck
1a129481e4 移除 data/pkg 目录相关逻辑 2026-04-18 00:27:33 +08:00
Falck
d5d9077713 修复依赖检测与安装逻辑 2026-04-18 00:10:30 +08:00
Falck
9d19d09821 新增简易的8080面板😊 2026-04-17 23:15:15 +08:00