ensemble-plugin 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/.cursor-plugin/plugin.json +14 -0
- package/.mcp.json +8 -0
- package/LICENSE +21 -0
- package/NOTICE +43 -0
- package/README.md +20 -2
- package/assets/icon.svg +7 -0
- package/assets/logo.svg +8 -0
- package/dist/THIRD-PARTY-NOTICES.txt +924 -0
- package/dist/ensemble.mjs +67710 -0
- package/dist/web/assets/claude-BizdYttu.svg +1 -0
- package/dist/web/assets/claude-code-B8eqCvAs.svg +1 -0
- package/dist/web/assets/codex-BvkQYgV5.svg +12 -0
- package/dist/web/assets/composer-BWvu9foS.svg +1 -0
- package/dist/web/assets/cormorant-garamond-latin-300-normal-Cw-E_7L1.woff2 +0 -0
- package/dist/web/assets/cormorant-garamond-latin-400-italic-Dc_OZ8oc.woff2 +0 -0
- package/dist/web/assets/cormorant-garamond-latin-400-normal-B-1hWBU7.woff2 +0 -0
- package/dist/web/assets/cormorant-garamond-latin-500-italic-Y14P-dkT.woff2 +0 -0
- package/dist/web/assets/cormorant-garamond-latin-500-normal-BsRWmXhO.woff2 +0 -0
- package/dist/web/assets/cormorant-garamond-latin-600-normal-Co1r35X9.woff2 +0 -0
- package/dist/web/assets/cursor-D2tyRWTE.svg +12 -0
- package/dist/web/assets/deepseek-Cl8NyQEB.svg +1 -0
- package/dist/web/assets/dsh-DNAEj8if.svg +3 -0
- package/dist/web/assets/gemini-CGCgtdu_.svg +1 -0
- package/dist/web/assets/glm-efVYFzYJ.svg +1 -0
- package/dist/web/assets/grok-CXGI5ZJ8.svg +1 -0
- package/dist/web/assets/index-8NP9-EgO.js +42 -0
- package/dist/web/assets/index-Dt3g6xO8.css +1 -0
- package/dist/web/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 +0 -0
- package/dist/web/assets/jetbrains-mono-latin-wght-normal-B9CIFXIH.woff2 +0 -0
- package/dist/web/assets/kimi-CoXq7FVU.svg +1 -0
- package/dist/web/assets/llama-CBjxA_UR.svg +1 -0
- package/dist/web/assets/minimax-DgXRHG5V.svg +1 -0
- package/dist/web/assets/mistral-B4GaxyUG.svg +1 -0
- package/dist/web/assets/openai-L0iksW7i.svg +1 -0
- package/dist/web/assets/opencode-CdSE0wKU.svg +4 -0
- package/dist/web/assets/pi-DP_DEFhy.svg +6 -0
- package/dist/web/assets/qwen-2yX8JBoZ.svg +1 -0
- package/dist/web/favicon.svg +8 -0
- package/dist/web/index.html +18 -0
- package/dist/web/licenses/CORMORANT-OFL.txt +93 -0
- package/dist/web/licenses/HARNESS-MARKS.md +10 -0
- package/dist/web/licenses/MODEL-MARKS.md +33 -0
- package/mcp.json +10 -0
- package/package.json +78 -4
- package/plugin.json +30 -0
- package/skills/ensemble-delegate/SKILL.md +180 -0
- package/skills/ensemble-delegate/scripts/watch.mjs +1167 -0
- package/skills/ensemble-delegate/scripts/watch.rules.example.json +35 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ensemble",
|
|
3
|
+
"displayName": "Ensemble",
|
|
4
|
+
"version": "0.1.0",
|
|
5
|
+
"description": "把工作委派给完整的 Cursor、Codex、Pi、Claude Code、OpenCode、DSH 等 Harness 会话,并在网页里实时观察、纠偏与接管。",
|
|
6
|
+
"author": { "name": "Chord" },
|
|
7
|
+
"homepage": "https://github.com/JiangYain/Ensemble",
|
|
8
|
+
"repository": "https://github.com/JiangYain/Ensemble",
|
|
9
|
+
"license": "MIT",
|
|
10
|
+
"keywords": ["delegation", "sub-agent", "harness", "cursor", "codex", "pi", "claude", "mcp", "orchestration"],
|
|
11
|
+
"logo": "./assets/logo.svg",
|
|
12
|
+
"skills": "./skills/",
|
|
13
|
+
"mcpServers": "./.mcp.json"
|
|
14
|
+
}
|
package/.mcp.json
ADDED
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Chord
|
|
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.
|
package/NOTICE
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
Ensemble
|
|
2
|
+
Copyright (c) 2026 Chord. Ensemble's own code is released under the MIT License (see LICENSE).
|
|
3
|
+
|
|
4
|
+
本仓库还包含下列第三方内容,它们各自遵循自己的许可证与商标规定,不受 Ensemble 的 MIT 许可证改变。
|
|
5
|
+
This repository also ships the third-party material below. It stays under its own license and trademark terms.
|
|
6
|
+
|
|
7
|
+
构建产物 dist/ 里另有一份 dist/THIRD-PARTY-NOTICES.txt(构建时按实际打进包里的内容生成):它列出被打包进 dist/ensemble.mjs 与 dist/web 的 npm 依赖及其许可证全文,并带上本文件与下面各份许可证全文;它随 npm 包与安装出来的插件目录一起分发。
|
|
8
|
+
The built dist/ also carries dist/THIRD-PARTY-NOTICES.txt, generated at build time from what is actually bundled: it lists the npm packages inside dist/ensemble.mjs and dist/web with their license texts, repeats this file and carries the license texts referred to below. It travels with the npm package and with the installed plugin directory.
|
|
9
|
+
|
|
10
|
+
------------------------------------------------------------------------
|
|
11
|
+
mosoo-agent-driver(@mosoo/agent-driver)
|
|
12
|
+
版权所有 LangGenius, Inc. 及贡献者
|
|
13
|
+
上游:https://github.com/langgenius/mosoo-agent-driver
|
|
14
|
+
提交:49df36e9735f261829ea90b6570382bd33a67775
|
|
15
|
+
许可证:Apache License 2.0(全文见 vendor/mosoo-agent-driver/LICENSE.txt)
|
|
16
|
+
位置:vendor/mosoo-agent-driver
|
|
17
|
+
|
|
18
|
+
Ensemble 对这份代码做了修改:删减了未使用的目录,新增了 Cursor SDK 后端,
|
|
19
|
+
并改写了后端注册表。每个被修改或新增的文件顶部都有 “ENSEMBLE MODIFIED” 或
|
|
20
|
+
“ENSEMBLE ADDED” 的注释,完整清单见 vendor/mosoo-agent-driver/VENDORING.md。
|
|
21
|
+
上游没有随附 NOTICE 文件。本说明不表示上游项目认可 Ensemble。
|
|
22
|
+
|
|
23
|
+
------------------------------------------------------------------------
|
|
24
|
+
Agent Plugins 1.0.0 的 JSON Schema(test/fixtures/agent-plugins/)
|
|
25
|
+
版权属 Agent Plugins 项目的作者与贡献者。
|
|
26
|
+
上游:https://github.com/agentplugins/agent-plugins-spec(schemas/1.0.0/,与 https://agent-plugins.org 发布的内容相同)
|
|
27
|
+
许可证:Apache License 2.0(上游 LICENSE.md 规定其中的 Schema 与代码适用该许可;
|
|
28
|
+
全文见 test/fixtures/agent-plugins/LICENSE-Apache-2.0.txt)
|
|
29
|
+
这两份文件取自 2026-11-07,没有修改:与上游同名文件逐字相同(2026-11-24 核对,忽略换行符与文件结尾的换行)。
|
|
30
|
+
只用于离线校验插件清单。
|
|
31
|
+
|
|
32
|
+
------------------------------------------------------------------------
|
|
33
|
+
字体
|
|
34
|
+
Inter、JetBrains Mono、Cormorant Garamond,均为 SIL Open Font License 1.1。
|
|
35
|
+
许可全文:src/web/fonts/LICENSE.txt、src/web/public/licenses/CORMORANT-OFL.txt
|
|
36
|
+
|
|
37
|
+
------------------------------------------------------------------------
|
|
38
|
+
执行端与模型的名称、标识
|
|
39
|
+
它们是各自所有者的商标,只用来标明对应的执行端或模型,不表示所有者认可 Ensemble。
|
|
40
|
+
The names and marks of the harnesses and models shown in the UI are trademarks of their
|
|
41
|
+
respective owners; they identify the harness or model only and imply no endorsement.
|
|
42
|
+
来源与条款:src/web/marks/README.md、src/web/public/licenses/HARNESS-MARKS.md、
|
|
43
|
+
src/web/public/licenses/MODEL-MARKS.md(模型标识的形状取自 @lobehub/icons-static-svg,MIT)。
|
package/README.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Ensemble
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Ensemble is an [Agent Plugin](https://agent-plugins.org/) (MCP server + local service + web panel): your agent hands work to full Cursor, Codex, Pi, Claude Code, OpenCode and DSH sessions, and you watch and steer them live in a local web page.
|
|
4
|
+
|
|
5
|
+
Ensemble 是一个 [Agent Plugin](https://agent-plugins.org/)(MCP 服务 + 本地服务 + 网页):主 Agent 把工作委派给完整的 Cursor、Codex、Pi、Claude Code、OpenCode、DSH 会话,你在本地网页里实时观察、纠偏和接管。
|
|
6
|
+
|
|
7
|
+
It is built for agents, so let your agent install it. Paste this into Cursor, Codex, Claude Code, or any agent that can run shell commands:
|
|
8
|
+
|
|
9
|
+
```text
|
|
10
|
+
Please install Ensemble for me: https://github.com/JiangYain/Ensemble
|
|
11
|
+
Clone it somewhere outside my current project (Node.js >= 22.13 is required), run `node dist/ensemble.mjs doctor` and tell me which harnesses are ready. Then install the plugin into the host you are running in with `node dist/ensemble.mjs install cursor` or `install codex`: run it with `--dry-run` first, show me the plan, and re-run it with `--yes` only after I confirm. For any other host, register `node <clone>/dist/ensemble.mjs mcp` as a stdio MCP server instead. If I want Cursor as an executor, also run `node dist/ensemble.mjs install sdk --yes` and `node dist/ensemble.mjs cursor-login` (it creates an API key in my Cursor account, so ask me first). When it is done, tell me to reload the window or restart the host, call the `harnesses` tool to confirm it works, and remind me that delegated sessions run with Full Access.
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
它主要是给 Agent 用的,安装也交给 Agent。把下面这段话发给你的 Agent(Cursor、Codex、Claude Code 等任何能运行命令的 Agent):
|
|
15
|
+
|
|
16
|
+
```text
|
|
17
|
+
请帮我安装 Ensemble:https://github.com/JiangYain/Ensemble
|
|
18
|
+
把仓库克隆到我当前项目之外的目录(需要 Node.js ≥ 22.13),运行 `node dist/ensemble.mjs doctor`,告诉我哪些执行端已经可用。然后用 `node dist/ensemble.mjs install cursor` 或 `install codex` 把插件装进你正在运行的宿主:先加 `--dry-run`,把计划给我看,我确认后再用 `--yes` 重新运行。其他宿主就把 `node <克隆目录>/dist/ensemble.mjs mcp` 注册成 stdio MCP 服务器。如果我要用 Cursor 作为执行端,再运行 `node dist/ensemble.mjs install sdk --yes` 和 `node dist/ensemble.mjs cursor-login`(后者会在我的 Cursor 账号里创建 API Key,先问我)。装完提醒我重新载入窗口或重启宿主,调用 `harnesses` 工具确认可用,并告诉我被委派的会话默认是 Full Access。
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Details / 详细手册: [docs/manual.zh-CN.md](docs/manual.zh-CN.md) · License / 许可证: [MIT](LICENSE)
|
package/assets/icon.svg
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="5.45 4 24 24" width="24" height="24" fill="none">
|
|
2
|
+
<path d="M10 8.5v15" stroke="white" stroke-width="2.6" stroke-linecap="round"/>
|
|
3
|
+
<path d="M10 9h8.2a2.8 2.8 0 0 1 2.8 2.8M10 16h12M10 23h8.2a2.8 2.8 0 0 0 2.8-2.8" stroke="white" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
<circle cx="22.5" cy="11.8" r="1.7" fill="white"/>
|
|
5
|
+
<circle cx="24.5" cy="16" r="1.7" fill="white"/>
|
|
6
|
+
<circle cx="22.5" cy="20.2" r="1.7" fill="white"/>
|
|
7
|
+
</svg>
|
package/assets/logo.svg
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="256" height="256" fill="none">
|
|
2
|
+
<rect width="32" height="32" rx="8" fill="#2d2d2d"/>
|
|
3
|
+
<path d="M10 8.5v15" stroke="#7ed3c9" stroke-width="2.6" stroke-linecap="round"/>
|
|
4
|
+
<path d="M10 9h8.2a2.8 2.8 0 0 1 2.8 2.8M10 16h12M10 23h8.2a2.8 2.8 0 0 0 2.8-2.8" stroke="#7ed3c9" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
+
<circle cx="22.5" cy="11.8" r="1.7" fill="#d6dcdc"/>
|
|
6
|
+
<circle cx="24.5" cy="16" r="1.7" fill="#d6dcdc"/>
|
|
7
|
+
<circle cx="22.5" cy="20.2" r="1.7" fill="#d6dcdc"/>
|
|
8
|
+
</svg>
|