makecindy / makecindy/cindy

Support permissioned local background workers for plugins

Open
#3,396 1 comment 0 reactions 0 assignees View on GitHub
feature
Dominant language
TypeScript
Stars
2.7k
Forks
395
Avg merge
21h 48m
Merged PRs (30d)
776

Description

**提交人**: 用户7147
**客户端版本**: 0.1.60

---

## 使用场景
需要把多个短视频片段自动合成为一段长视频。视频生成可由云端 API 完成,但本地合成适合避免额外的第三方渲染费用,并减少上传中间视频的需要。

## 当前痛点
插件沙箱无法以受控方式运行本机视频处理程序(例如 FFmpeg)。因此插件只能依赖外部合成服务,或把多个片段交给用户手动拼接。

## 诉求
为插件提供可选、受用户明确授权的本机后台进程能力,用于长时间或计算密集型的本地处理任务。

## 建议方案
- 在 manifest 中声明后台任务与所需本机能力,并在安装/启用时展示清晰的权限说明。
- 使用受控命令或随包二进制白名单,而非任意 shell 执行。
- 提供跨平台生命周期管理、进度回传、取消、超时和日志脱敏。
- 明确限制文件读写范围,只允许通过宿主授予的文件票据访问媒体。
- 支持将插件生成的多个媒体片段安全交给后台任务,并将最终文件回传聊天。
---
**版本区域**: CN
**OS**: win32 x64 (10.0.26200)
**界面语言**: zh-CN

Contributor guide

Open the contributing guide

Research direction

No files, tests, or code entry points are identified in the issue. Start by locating the plugin sandbox and manifest permission handling, then trace how plugin media is passed to host services. Done means implementing an explicitly authorized, restricted background-worker flow with lifecycle controls, progress, cancellation, timeout, redacted logs, scoped file access, and final-file return.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, typescript
Domain
desktop, devtools, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.