@qilin-agent/experimental-agent-team-profile 0.0.0-stage → 3.1.3

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 ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 kkutysllb
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,52 @@
1
+ # Bilingual-pair consistency record for README.md (docs/i18n/README.md): per heading
2
+ # section, a hash of its English and Chinese blocks outside code blocks and generated regions.
3
+ # After editing either side, bring the other along and re-record with:
4
+ # pnpm run verify-translation-pairing --write packages/experimental/agent-team-profile/README.md
5
+ /:
6
+ en: f71e99757a629b0c
7
+ zh: c57717647389180b
8
+ /qilin-experimental-agent-team-profile:
9
+ en: 92f12fd07afce73e
10
+ zh: b179684ed18ddb8e
11
+ /qilin-experimental-agent-team-profile/summary:
12
+ en: 5430215553c12b1a
13
+ zh: e9224bc23b789812
14
+ /qilin-experimental-agent-team-profile/table-of-contents:
15
+ en: d152484eb41ac6b4
16
+ zh: 09388d293f9be9cb
17
+ /qilin-experimental-agent-team-profile/use-this-package:
18
+ en: bbff250eba0f1b89
19
+ zh: 0a618f05cc88ee2b
20
+ /qilin-experimental-agent-team-profile/use-this-package/install-into-a-profile:
21
+ en: 5a1b1f69ff50aae6
22
+ zh: acc2973d84828d35
23
+ /qilin-experimental-agent-team-profile/use-this-package/what-you-get:
24
+ en: 24e0373d4e795cc5
25
+ zh: a33f5b27d2114972
26
+ /qilin-experimental-agent-team-profile/understand-the-implementation:
27
+ en: 71aeb339bbdb0c6d
28
+ zh: 4e80ceebfa3ef823
29
+ /qilin-experimental-agent-team-profile/further-exploration:
30
+ en: bb5e29775eb1f2ac
31
+ zh: 5678d1f87690fce8
32
+ /qilin-experimental-agent-team-profile/model-experience:
33
+ en: 215e7ba838619b7b
34
+ zh: a311da3843709f90
35
+ /qilin-experimental-agent-team-profile/model-experience/team-policy-and-tools:
36
+ en: 8e1e365ff3b0dfb2
37
+ zh: c6c91fbf1e1df934
38
+ /qilin-experimental-agent-team-profile/model-experience/team-policy-and-tools/what-the-model-sees:
39
+ en: 08026912a883b5b5
40
+ zh: 45d8aefa20c5b3d9
41
+ /qilin-experimental-agent-team-profile/model-experience/team-policy-and-tools/token-effect:
42
+ en: c18715361083dd07
43
+ zh: 7daadacd960bd2fe
44
+ /qilin-experimental-agent-team-profile/model-experience/team-policy-and-tools/kv-cache-effect:
45
+ en: e331337b094aacde
46
+ zh: bb2e5df5ebeb9305
47
+ /qilin-experimental-agent-team-profile/known-limitations-and-deferred-work:
48
+ en: 46956f72ea78b8e3
49
+ zh: a4ad7f5bed762ff8
50
+ /qilin-experimental-agent-team-profile/known-limitations-and-deferred-work/dev-note:
51
+ en: e67f633dc6fe7773
52
+ zh: 3bb0c20c93f16f98
package/README.md CHANGED
@@ -1,3 +1,106 @@
1
- # Temporary Holding Version
1
+ ---
2
+ description: "Published experimental Agent Teams profile layer over qilin-base with teammate delegation and fresh workflow children."
3
+ kind: "package-bundle"
4
+ ---
2
5
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
6
+ # @qilin-agent/experimental-agent-team-profile
7
+
8
+ English | [中文](README.zh.md)
9
+
10
+ ## Summary
11
+
12
+ `qilin-experimental-agent-team-profile` is a published experimental profile layer that enables [Agent Teams](../agent-team/README.md) over `@qilin-agent/base`. Its patch inserts the Team domain, the Team-scoped tools, and the browser half that draws the Team page in the right Sidebar, and disables ordinary subagent delegation and the overlapping global continuable-child controls. Workflow remains available with fresh children. The qilin installation ships it as an optional bundle that no shipped profile enables; switch it on from the Web sidebar's Plugins page, or add it explicitly to an initialized profile.
13
+
14
+ ## Table of Contents
15
+
16
+ - [Use this package](#use-this-package)
17
+ - [Understand the implementation](#understand-the-implementation)
18
+ - [Further Exploration](#further-exploration)
19
+ - [Model Experience](#model-experience)
20
+ - [Known Limitations and Deferred Work](#known-limitations-and-deferred-work)
21
+ - [Dev Note](#dev-note)
22
+
23
+ -----
24
+
25
+ <a id="use-this-package"></a>
26
+ ## Use this package
27
+
28
+ ### Install into a profile
29
+
30
+ Add the package to an initialized profile, then run a task that asks the Lead to delegate work:
31
+
32
+ ```sh
33
+ qilin plugin --profile headless add @qilin-agent/experimental-agent-team-profile
34
+ qilin --profile headless "Use Agent Teams to split this task between two teammates, wait, and summarize."
35
+ ```
36
+
37
+ The profile must already contain `@qilin-agent/base`, whose Subagent services and provider rows this layer consumes. Removing the package with `qilin plugin --profile <name> remove @qilin-agent/experimental-agent-team-profile` removes the bundle from the profile's ordered layer list.
38
+
39
+ ### What you get
40
+
41
+ The layer adds the Agent Teams domain and its scoped creation, roster, messaging, interruption, waiting, and task-board tools, plus the right-Sidebar Team page that renders the roster and task board. Direct delegation uses `spawn_teammate`, which supports fresh and fork context. The `subagent` and `subagent_fork` tools and overlapping global child controls are disabled. Workflow retains the base profile’s `spawn` provider, while the underlying Subagent services and both providers remain available to teammates and workflow.
42
+
43
+ -----
44
+
45
+ <a id="understand-the-implementation"></a>
46
+ ## Understand the implementation
47
+
48
+ <details>
49
+ <summary>Implementation internals — click to expand</summary>
50
+
51
+ The package's runtime content is [`cordis.patch.yml`](cordis.patch.yml). Applied after `qilin-base`, the patch disables `tool-subagent-control`, `tool-subagent-list-agents`, `tool-subagent`, and `tool-subagent-fork`, and inserts the Team service and tool rows with explicit providers and limits, together with the browser half ([`@qilin-agent/experimental-client-ui-agent-team`](../client-ui-agent-team/README.md)) that registers the Team page.
52
+
53
+ | File | Role |
54
+ |---|---|
55
+ | [`cordis.patch.yml`](cordis.patch.yml) | Ordered patch over `qilin-base` |
56
+ | [`src/index.ts`](src/index.ts) | Empty module entry; the patch is the runtime content |
57
+
58
+ </details>
59
+
60
+ -----
61
+
62
+ <a id="further-exploration"></a>
63
+ ## Further Exploration
64
+
65
+ - [Experimental packages](../README.md) — incubation status and publication policy.
66
+ - [Agent Teams service](../agent-team/README.md) — durable roster, messaging, and task-board behavior.
67
+ - [Agent Teams tools](../tool-agent-team/README.md) — the Team-scoped model tool surface.
68
+ - [Base bundle](../../bundle/base/README.md) — the profile layer this patch extends.
69
+
70
+ -----
71
+
72
+ <a id="model-experience"></a>
73
+ ## Model Experience
74
+
75
+ ### Team policy and tools
76
+
77
+ #### What the model sees
78
+
79
+ The Team policy and schemas belong to [`@qilin-agent/experimental-tool-agent-team`](../tool-agent-team/README.md). This bundle changes composition only: Team-scoped `list_agents`, `send_message`, and `interrupt_agent` replace the disabled global continuable-child controls. `spawn_teammate` is the direct delegation tool. Workflow’s `agent()` calls create fresh one-shot children; their prompts must contain the context needed for their tasks.
80
+
81
+ #### Token effect
82
+
83
+ The bundle adds the Team policy and tool schemas described by `@qilin-agent/experimental-tool-agent-team`; it adds no prompt text of its own.
84
+
85
+ #### KV Cache effect
86
+
87
+ The bundle's composition is prefix-stable while its patch, Team identity, and configured tool schemas remain unchanged.
88
+
89
+ ## Known Limitations and Deferred Work
90
+
91
+ <a id="known-limitations-and-deferred-work"></a>
92
+
93
+ - **Opt-in only** — the package ships with the installation switched off; no shipped CLI, Web, SDK, ACP, or Python profile enables it.
94
+ - **Workflow child tools** — the [Team tool visibility limitation](../tool-agent-team/README.md#known-limitations-and-deferred-work) also applies to workflow children.
95
+ - **Shared checkout** — every teammate observes the same working directory; this bundle adds no worktree isolation or filesystem locking.
96
+ - **Base profile required** — the patch depends on row ids and Subagent providers supplied by `qilin-base`; it is not a standalone profile.
97
+
98
+ <a id="dev-note"></a>
99
+ ### Dev Note
100
+
101
+ <details>
102
+ <summary>Working context for maintainers — click to expand</summary>
103
+
104
+ None.
105
+
106
+ </details>
package/README.zh.md ADDED
@@ -0,0 +1,106 @@
1
+ ---
2
+ description: "叠加在 qilin-base 上公开发布的实验性 Agent Teams profile 层,提供 teammate 委派与 fresh workflow 子代理。"
3
+ kind: "package-bundle"
4
+ ---
5
+
6
+ # @qilin-agent/experimental-agent-team-profile
7
+
8
+ [English](README.md) | 中文
9
+
10
+ ## 概述
11
+
12
+ `qilin-experimental-agent-team-profile` 是在 `@qilin-agent/base` 之上启用 [Agent Teams](../agent-team/README.zh.md) 的公开实验性 profile 层。它的 patch 会插入 Team domain、Team-scoped 工具,以及绘制右侧栏团队页的浏览器半,并禁用普通 subagent 委派和名称重叠的全局 continuable-child control。Workflow 仍可创建 fresh 子代理。qilin 安装随附本包作为可选组合包,随附 profile 都不会启用它;可在 Web 侧栏的插件页开启,或显式添加到已初始化的 profile。
13
+
14
+ ## 目录
15
+
16
+ - [使用本包](#use-this-package)
17
+ - [理解实现](#understand-the-implementation)
18
+ - [进一步探索](#further-exploration)
19
+ - [模型体验](#model-experience)
20
+ - [已知限制与延期工作](#known-limitations-and-deferred-work)
21
+ - [开发备注](#dev-note)
22
+
23
+ -----
24
+
25
+ <a id="use-this-package"></a>
26
+ ## 使用本包
27
+
28
+ ### 安装到 profile
29
+
30
+ 将本包添加到已初始化的 profile,然后运行一个要求 Lead 委派工作的任务:
31
+
32
+ ```sh
33
+ qilin plugin --profile headless add @qilin-agent/experimental-agent-team-profile
34
+ qilin --profile headless "Use Agent Teams to split this task between two teammates, wait, and summarize."
35
+ ```
36
+
37
+ profile 必须已经包含 `@qilin-agent/base`,本层会使用其中的 Subagent 服务与提供方配置行。执行 `qilin plugin --profile <name> remove @qilin-agent/experimental-agent-team-profile` 移除本包时,bundle 也会从 profile 的有序层列表中移除。
38
+
39
+ ### 获得的功能
40
+
41
+ 本层会添加 Agent Teams domain,以及 Team-scoped 创建、roster、消息、interrupt、等待与任务板工具,并添加渲染 roster 与任务板的右侧栏团队页。直接委派使用支持 fresh 和 fork 上下文的 `spawn_teammate`。`subagent`、`subagent_fork` 工具和名称重叠的全局 child control 均被禁用。Workflow 保留 base profile 的 `spawn` 提供方,底层 Subagent 服务和两个提供方仍供 teammate 与 workflow 使用。
42
+
43
+ -----
44
+
45
+ <a id="understand-the-implementation"></a>
46
+ ## 理解实现
47
+
48
+ <details>
49
+ <summary>实现细节——点击展开</summary>
50
+
51
+ 本包的运行时内容是 [`cordis.patch.yml`](cordis.patch.yml)。在 `qilin-base` 之后应用时,patch 会禁用 `tool-subagent-control`、`tool-subagent-list-agents`、`tool-subagent` 和 `tool-subagent-fork`,并以显式 provider 和限制插入 Team 服务与工具行,同时插入注册团队页的浏览器半([`@qilin-agent/experimental-client-ui-agent-team`](../client-ui-agent-team/README.zh.md))。
52
+
53
+ | 文件 | 职责 |
54
+ |---|---|
55
+ | [`cordis.patch.yml`](cordis.patch.yml) | 叠加在 `qilin-base` 之上的有序 patch |
56
+ | [`src/index.ts`](src/index.ts) | 空模块入口;patch 是运行时内容 |
57
+
58
+ </details>
59
+
60
+ -----
61
+
62
+ <a id="further-exploration"></a>
63
+ ## 进一步探索
64
+
65
+ - [实验性包](../README.zh.md)——孵化状态与发布规则。
66
+ - [Agent Teams service](../agent-team/README.zh.md)——持久 roster、消息与任务板行为。
67
+ - [Agent Teams 工具](../tool-agent-team/README.zh.md)——Team-scoped 模型工具表层。
68
+ - [Base bundle](../../bundle/base/README.zh.md)——本 patch 扩展的 profile 层。
69
+
70
+ -----
71
+
72
+ <a id="model-experience"></a>
73
+ ## 模型体验
74
+
75
+ ### Team 策略与工具
76
+
77
+ #### 模型会看到什么
78
+
79
+ Team 策略与 schema 由 [`@qilin-agent/experimental-tool-agent-team`](../tool-agent-team/README.zh.md) 所有。本 bundle 只改变 composition:Team-scoped `list_agents`、`send_message` 与 `interrupt_agent` 会替代已禁用的全局 continuable-child control。`spawn_teammate` 是直接委派工具。Workflow 的 `agent()` 调用创建 fresh 一次性子代理;其提示词必须包含任务所需的上下文。
80
+
81
+ #### Token 影响
82
+
83
+ 本 bundle 会加入 `@qilin-agent/experimental-tool-agent-team` 描述的 Team 策略与工具 schema;它自身不增加提示词文本。
84
+
85
+ #### KV Cache 影响
86
+
87
+ 只要 bundle patch、Team identity 与配置的工具 schema 不变,本 bundle 的 composition 就保持前缀稳定。
88
+
89
+ ## 已知限制与延期工作
90
+
91
+ <a id="known-limitations-and-deferred-work"></a>
92
+
93
+ - **仅显式启用**——本包随安装提供但默认关闭;随附 CLI、Web、SDK、ACP 与 Python profile 都不会启用它。
94
+ - **Workflow 子代理工具**——[Team 工具可见性限制](../tool-agent-team/README.zh.md#known-limitations-and-deferred-work)也适用于 workflow 子代理。
95
+ - **共享 checkout**——所有 teammate 都观察同一个工作目录;本 bundle 不提供 worktree 隔离或文件系统锁。
96
+ - **需要 base profile**——本 patch 依赖 `qilin-base` 提供的配置行 id 与 Subagent 提供方;它不是独立 profile。
97
+
98
+ <a id="dev-note"></a>
99
+ ### 开发备注
100
+
101
+ <details>
102
+ <summary>维护者的工作上下文——点击展开</summary>
103
+
104
+ 无。
105
+
106
+ </details>
@@ -0,0 +1,35 @@
1
+ # Experimental Agent Teams profile layer. Apply after qilin-base so these replacements
2
+ # keep direct delegation and coordination on the Team tools.
3
+
4
+ - id: tool-subagent-control
5
+ disabled: true
6
+
7
+ - id: tool-subagent-list-agents
8
+ disabled: true
9
+
10
+ - id: tool-subagent
11
+ disabled: true
12
+
13
+ - id: tool-subagent-fork
14
+ disabled: true
15
+
16
+ - insert:
17
+ - id: agent-team
18
+ name: '@qilin-agent/experimental-agent-team'
19
+ config:
20
+ maxMembers: 8
21
+ maxTasks: 256
22
+ maxPendingMessagesPerMember: 64
23
+ maxMessageBytes: 65536
24
+ disposalTimeoutMs: 5000
25
+
26
+ - id: tool-agent-team
27
+ name: '@qilin-agent/experimental-tool-agent-team'
28
+ config:
29
+ freshProvider: spawn
30
+ forkProvider: fork
31
+
32
+ # The browser half of the same feature: without it the roster and task board
33
+ # the rows above enable have no right-Sidebar Team page to appear in.
34
+ - id: client-ui-agent-team
35
+ name: '@qilin-agent/experimental-client-ui-agent-team'
package/icon.svg ADDED
@@ -0,0 +1,12 @@
1
+ <svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M13.3027 17.1077H9.03125V12.8372H13.3027V17.1077ZM17.5742 12.8372C17.574 15.1958 15.6623 17.1075 13.3037 17.1077V8.56567H17.5742V12.8372Z" fill="url(#a)" />
3
+ <path d="M18.5229 12.8372V8.56567H22.7944V12.8372H27.0659V17.1077H22.7944C20.4357 17.1077 18.5232 15.1959 18.5229 12.8372Z" fill="#F2AF63" />
4
+ <path d="M17.5742 26.6072H13.3037V18.0642C15.6625 18.0644 17.5742 19.9769 17.5742 22.3357V26.6072ZM13.3027 22.3357H9.03125V18.0642H13.3027V22.3357Z" fill="#7CB7FF" />
5
+ <path d="M22.7944 26.6072H18.5229V22.3357C18.5229 19.9768 20.4355 18.0642 22.7944 18.0642H27.0659V22.3357H22.7944V26.6072Z" fill="#45D9E7" />
6
+ <defs>
7
+ <linearGradient id="a" x1="16.1247" y1="6.6613" x2="9.03125" y2="19.2206" gradientUnits="userSpaceOnUse">
8
+ <stop stop-color="#7CB7FF" />
9
+ <stop offset="1" stop-color="#145AF3" />
10
+ </linearGradient>
11
+ </defs>
12
+ </svg>
package/lib/index.js ADDED
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @qilin-agent/experimental-agent-team-profile — experimental Agent Teams profile bundle.
3
+ * The package's runtime content is its `qilin.bundle.patch` document; this
4
+ * module exports no runtime API.
5
+ * @module @qilin-agent/experimental-agent-team-profile
6
+ */
7
+ export {};
8
+ //# sourceMappingURL=index.d.ts.map
package/locale/en.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Agent Teams",
4
+ "description": "Enable team collaboration, team tools, the member roster, and the shared task board."
5
+ }
6
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "智能体团队",
4
+ "description": "启用团队协作、团队工具、成员列表和共享任务看板。"
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,6 +1,56 @@
1
1
  {
2
2
  "name": "@qilin-agent/experimental-agent-team-profile",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "description": "Experimental profile bundle enabling Agent Teams over qilin-base",
4
+ "icon": "./icon.svg",
5
+ "version": "3.1.3",
6
+ "publishConfig": {
7
+ "access": "public"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/kkutysllb/QiLin.git",
12
+ "directory": "packages/experimental/agent-team-profile"
13
+ },
14
+ "engines": {
15
+ "node": "^22.19.0 || >=24.0.0"
16
+ },
17
+ "type": "module",
18
+ "main": "lib/index.js",
19
+ "types": "lib/types/index.d.ts",
20
+ "exports": {
21
+ ".": {
22
+ "types": "./lib/types/index.d.ts",
23
+ "default": "./lib/index.js"
24
+ },
25
+ "./cordis.patch.yml": "./cordis.patch.yml",
26
+ "./src/*": "./src/*",
27
+ "./package.json": "./package.json",
28
+ "./locale/*.json": "./locale/*.json"
29
+ },
30
+ "files": [
31
+ "icon.svg",
32
+ "locale/*.json",
33
+ "lib/index.js",
34
+ "cordis.patch.yml",
35
+ "lib/types/**/*.d.ts"
36
+ ],
37
+ "license": "MIT",
38
+ "qilin": {
39
+ "bundle": {
40
+ "patch": "./cordis.patch.yml"
41
+ }
42
+ },
43
+ "dependencies": {
44
+ "@qilin-agent/experimental-agent-team": "3.1.3",
45
+ "@qilin-agent/experimental-client-ui-agent-team": "3.1.3",
46
+ "@qilin-agent/experimental-tool-agent-team": "3.1.3"
47
+ },
48
+ "peerDependencies": {
49
+ "@qilin-agent/kylin": "~4.0.3"
50
+ },
51
+ "devDependencies": {
52
+ "js-yaml": "^4.2.0",
53
+ "@qilin-agent/kylin": "~4.0.3",
54
+ "@qilin-agent/kylin-plugin-include": "~1.0.8"
55
+ }
6
56
  }