@tyrese_guo_peng/recastflow-server 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/THIRD_PARTY_NOTICES.md +30 -0
- package/dist/central-server.d.ts +22 -0
- package/dist/central-server.js +1020 -0
- package/dist/central-server.js.map +1 -0
- package/dist/central.d.ts +38 -0
- package/dist/central.js +216 -0
- package/dist/central.js.map +1 -0
- package/dist/deployment-preview.d.ts +3 -0
- package/dist/deployment-preview.js +6 -0
- package/dist/deployment-preview.js.map +1 -0
- package/dist/github-import.d.ts +60 -0
- package/dist/github-import.js +222 -0
- package/dist/github-import.js.map +1 -0
- package/dist/global.d.ts +39 -0
- package/dist/global.js +306 -0
- package/dist/global.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +18 -0
- package/dist/index.js.map +1 -0
- package/dist/server.d.ts +63 -0
- package/dist/server.js +838 -0
- package/dist/server.js.map +1 -0
- package/dist/session-stream.d.ts +7 -0
- package/dist/session-stream.js +45 -0
- package/dist/session-stream.js.map +1 -0
- package/dist/sessions.d.ts +53 -0
- package/dist/sessions.js +162 -0
- package/dist/sessions.js.map +1 -0
- package/dist/skill-deploy-selection.d.ts +8 -0
- package/dist/skill-deploy-selection.js +21 -0
- package/dist/skill-deploy-selection.js.map +1 -0
- package/dist/skill-usage.d.ts +16 -0
- package/dist/skill-usage.js +45 -0
- package/dist/skill-usage.js.map +1 -0
- package/dist/storage.d.ts +2 -0
- package/dist/storage.js +17 -0
- package/dist/storage.js.map +1 -0
- package/dist/version.d.ts +1 -0
- package/dist/version.js +4 -0
- package/dist/version.js.map +1 -0
- package/dist/web/assets/AppModal-BZFwNwB5.js +1 -0
- package/dist/web/assets/AppModal-DE5WVRQ8.css +1 -0
- package/dist/web/assets/Canvas-BKJ8atPs.js +27 -0
- package/dist/web/assets/Canvas-CD3ccX0N.css +1 -0
- package/dist/web/assets/FlowNode-Xnxokz3y.css +1 -0
- package/dist/web/assets/FlowNode-qrXEQC7T.js +30 -0
- package/dist/web/assets/Overview-CHjV8eD8.js +1 -0
- package/dist/web/assets/Overview-jEhO3ZKE.css +1 -0
- package/dist/web/assets/PipelineList-C2x3-gpZ.js +1 -0
- package/dist/web/assets/PipelineList-DWLHCyUc.css +1 -0
- package/dist/web/assets/Sessions-C9Tzp4jI.js +3 -0
- package/dist/web/assets/Sessions-DDwQ9c0p.css +1 -0
- package/dist/web/assets/Skills-BpCbGKF7.js +6 -0
- package/dist/web/assets/Skills-DB2T71Or.css +1 -0
- package/dist/web/assets/StatusBadge-DJCUAW8K.js +1 -0
- package/dist/web/assets/StatusBadge-Y1LWVkdK.css +1 -0
- package/dist/web/assets/graph-D-3HGBqv.js +56 -0
- package/dist/web/assets/index-BxsGcVe2.css +1 -0
- package/dist/web/assets/index-DgwvrBui.js +27 -0
- package/dist/web/assets/session-NmMCnssh.js +130 -0
- package/dist/web/index.html +13 -0
- package/dist/web-dist.d.ts +2 -0
- package/dist/web-dist.js +12 -0
- package/dist/web-dist.js.map +1 -0
- package/package.json +33 -3
- package/README.md +0 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 TyresePeng
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Third-party notices
|
|
2
|
+
|
|
3
|
+
- The strict skill guidance in `packages/adapters/src/bootstrap.ts` adapts wording
|
|
4
|
+
from [Superpowers’ `using-superpowers` skill](https://github.com/obra/superpowers/blob/main/skills/using-superpowers/SKILL.md).
|
|
5
|
+
Copyright (c) 2025 Jesse Vincent.
|
|
6
|
+
- The hook signature examples in `docs/superpowers/spikes/2026-11-18-hooks-spike.md`
|
|
7
|
+
are summarized from the [OpenCode plugin types](https://github.com/anomalyco/opencode/tree/dev/packages/plugin).
|
|
8
|
+
Copyright (c) 2025 opencode.
|
|
9
|
+
|
|
10
|
+
The following MIT license applies to the material identified above:
|
|
11
|
+
|
|
12
|
+
```text
|
|
13
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
14
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
15
|
+
in the Software without restriction, including without limitation the rights
|
|
16
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
17
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
18
|
+
furnished to do so, subject to the following conditions:
|
|
19
|
+
|
|
20
|
+
The above copyright notice and this permission notice shall be included in all
|
|
21
|
+
copies or substantial portions of the Software.
|
|
22
|
+
|
|
23
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
24
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
25
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
26
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
27
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
28
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
29
|
+
SOFTWARE.
|
|
30
|
+
```
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/** dataRoot 集中模式:项目显式寻址,所有项目的会话始终同时聚合。 */
|
|
2
|
+
import { type FastifyInstance } from 'fastify';
|
|
3
|
+
/**
|
|
4
|
+
* dataRoot 集中模式:项目显式寻址,所有项目的会话始终同时聚合。
|
|
5
|
+
*
|
|
6
|
+
* 流水线 / 技能库是**用户级资产**(Plan 6 全局库决策):库本体存放在
|
|
7
|
+
* dataRoot(`<dataRoot>/pipelines/`、`<dataRoot>/skills/`),与项目解耦——
|
|
8
|
+
* 相关路由不再依赖 projectId/激活态,零项目也完全可用。deploy 则把库内容
|
|
9
|
+
* 分发到**用户级 CLI 目录**(deployRoot,默认 HOME):agent/command/skill
|
|
10
|
+
* 对所有项目生效;观察器产物(claude settings/hooks、opencode 插件)在
|
|
11
|
+
* 用户级被 userScopePath 剔除——它们由 `bind --global` 托管,部署不得触碰。
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* @param opts.fetchFn GitHub 导入通道的 fetch 注入点(缺省 globalThis.fetch
|
|
15
|
+
* ——生产直连 api.github.com/raw;测试注入 mock 离线跑)。
|
|
16
|
+
*/
|
|
17
|
+
export declare function buildCentralServer(opts: {
|
|
18
|
+
dataRoot: string;
|
|
19
|
+
webDist?: string;
|
|
20
|
+
deployRoot?: string;
|
|
21
|
+
fetchFn?: typeof fetch;
|
|
22
|
+
}): FastifyInstance;
|