@agimon-ai/po-team 0.0.0-alpha.17 → 0.0.0-alpha.171

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.
Files changed (113) hide show
  1. package/LICENSE +166 -5
  2. package/README.md +24 -111
  3. package/dist/{agentDiscovery-ZQlFkKvB.mjs → agentDiscovery-BiMO2Ibu.mjs} +236 -308
  4. package/dist/agentDiscovery-BiMO2Ibu.mjs.map +1 -0
  5. package/dist/{agentDiscovery-Whwzc4dP.cjs → agentDiscovery-D0VcSETk.cjs} +284 -347
  6. package/dist/agentDiscovery-D0VcSETk.cjs.map +1 -0
  7. package/dist/apiContracts.cjs +1 -1
  8. package/dist/apiContracts.cjs.map +1 -1
  9. package/dist/apiContracts.d.mts +2 -2
  10. package/dist/apiContracts.mjs +1 -1
  11. package/dist/apiContracts.mjs.map +1 -1
  12. package/dist/{capabilityCeiling-BaHT9v9S.mjs → capabilityCeiling-DFcqYSTc.mjs} +3 -22
  13. package/dist/capabilityCeiling-DFcqYSTc.mjs.map +1 -0
  14. package/dist/{capabilityCeiling-CO3ZjYmY.cjs → capabilityCeiling-x2WmB2TL.cjs} +3 -22
  15. package/dist/capabilityCeiling-x2WmB2TL.cjs.map +1 -0
  16. package/dist/capabilityCeiling.cjs +2 -2
  17. package/dist/capabilityCeiling.d.mts +2 -4
  18. package/dist/capabilityCeiling.d.mts.map +1 -1
  19. package/dist/capabilityCeiling.mjs +2 -2
  20. package/dist/coordinatorSessions.cjs +14 -0
  21. package/dist/coordinatorSessions.d.mts +2 -0
  22. package/dist/coordinatorSessions.mjs +1 -0
  23. package/dist/env.cjs +1 -2
  24. package/dist/env.d.mts +2 -2
  25. package/dist/env.mjs +1 -1
  26. package/dist/{environment-BtvJI2S-.mjs → environment-BKQikJyW.mjs} +2 -11
  27. package/dist/environment-BKQikJyW.mjs.map +1 -0
  28. package/dist/{environment-Bz1OlWIT.d.mts → environment-CE9zbaE4.d.mts} +2 -9
  29. package/dist/environment-CE9zbaE4.d.mts.map +1 -0
  30. package/dist/{environment-Cqs7vHJL.cjs → environment-COaoVl5M.cjs} +1 -16
  31. package/dist/environment-COaoVl5M.cjs.map +1 -0
  32. package/dist/extensions/native.mjs +2304 -199
  33. package/dist/extensions/native.mjs.map +1 -1
  34. package/dist/extensions/server.cjs +3802 -2856
  35. package/dist/extensions/server.cjs.map +1 -1
  36. package/dist/extensions/server.d.mts.map +1 -1
  37. package/dist/extensions/server.mjs +3802 -2855
  38. package/dist/extensions/server.mjs.map +1 -1
  39. package/dist/extensions/web.mjs +941 -176
  40. package/dist/extensions/web.mjs.map +1 -1
  41. package/dist/index.cjs +15 -7
  42. package/dist/index.cjs.map +1 -1
  43. package/dist/index.d.mts +7 -3
  44. package/dist/index.d.mts.map +1 -1
  45. package/dist/index.mjs +14 -4
  46. package/dist/index.mjs.map +1 -1
  47. package/dist/po-runtime-identity.json +1 -0
  48. package/dist/runtimeSubagentPolicy.cjs +1 -1
  49. package/dist/runtimeSubagentPolicy.d.mts +1 -1
  50. package/dist/runtimeSubagentPolicy.mjs +1 -1
  51. package/dist/runtimeSubagentTool.cjs +1 -1
  52. package/dist/runtimeSubagentTool.d.mts +1 -1
  53. package/dist/runtimeSubagentTool.mjs +1 -1
  54. package/dist/{subagentPolicy-BE-OZoa-.d.mts → subagentPolicy-CN-AYfeB.d.mts} +1 -2
  55. package/dist/subagentPolicy-CN-AYfeB.d.mts.map +1 -0
  56. package/dist/{subagentPolicy-LfcXuqO5.mjs → subagentPolicy-CXqAT9aI.mjs} +1 -5
  57. package/dist/subagentPolicy-CXqAT9aI.mjs.map +1 -0
  58. package/dist/{subagentPolicy-DIpaKHO8.cjs → subagentPolicy-DYj_SOTG.cjs} +1 -5
  59. package/dist/subagentPolicy-DYj_SOTG.cjs.map +1 -0
  60. package/dist/subagentPolicy.cjs +1 -1
  61. package/dist/subagentPolicy.d.mts +1 -1
  62. package/dist/subagentPolicy.mjs +1 -1
  63. package/dist/{subagentTool-UdB3s6Mn.d.mts → subagentTool-BHY7OcDf.d.mts} +3 -3
  64. package/dist/{subagentTool-UdB3s6Mn.d.mts.map → subagentTool-BHY7OcDf.d.mts.map} +1 -1
  65. package/dist/{subagentTool-a2oh2v5B.mjs → subagentTool-CCeGXaPL.mjs} +3 -4
  66. package/dist/subagentTool-CCeGXaPL.mjs.map +1 -0
  67. package/dist/{subagentTool-BueNPGHo.cjs → subagentTool-CqXgI3iD.cjs} +3 -4
  68. package/dist/subagentTool-CqXgI3iD.cjs.map +1 -0
  69. package/dist/subagentTool.cjs +1 -1
  70. package/dist/subagentTool.d.mts +1 -1
  71. package/dist/subagentTool.mjs +1 -1
  72. package/dist/teamSnapshot.d.mts.map +1 -1
  73. package/llms.txt +12 -0
  74. package/package.json +101 -43
  75. package/src/prompts/codemode-how-to-team/SKILL.md +56 -0
  76. package/src/prompts/help-how-to-team/SKILL.md +91 -0
  77. package/dist/agentDiscovery-Whwzc4dP.cjs.map +0 -1
  78. package/dist/agentDiscovery-ZQlFkKvB.mjs.map +0 -1
  79. package/dist/atomicJson-D0346bt5.cjs +0 -178
  80. package/dist/atomicJson-D0346bt5.cjs.map +0 -1
  81. package/dist/atomicJson-D2t0CDh9.mjs +0 -137
  82. package/dist/atomicJson-D2t0CDh9.mjs.map +0 -1
  83. package/dist/capabilityCeiling-BaHT9v9S.mjs.map +0 -1
  84. package/dist/capabilityCeiling-CO3ZjYmY.cjs.map +0 -1
  85. package/dist/environment-BtvJI2S-.mjs.map +0 -1
  86. package/dist/environment-Bz1OlWIT.d.mts.map +0 -1
  87. package/dist/environment-Cqs7vHJL.cjs.map +0 -1
  88. package/dist/externalProcessIpc-D3wxzrWU.cjs +0 -680
  89. package/dist/externalProcessIpc-D3wxzrWU.cjs.map +0 -1
  90. package/dist/externalProcessIpc-MeW3WxD5.mjs +0 -580
  91. package/dist/externalProcessIpc-MeW3WxD5.mjs.map +0 -1
  92. package/dist/fablePlan.cjs +0 -17
  93. package/dist/fablePlan.d.mts +0 -2
  94. package/dist/fablePlan.mjs +0 -1
  95. package/dist/fablePlanApi-BTNKjLni.d.mts +0 -97
  96. package/dist/fablePlanApi-BTNKjLni.d.mts.map +0 -1
  97. package/dist/fablePlanApi-BhI4jnDP.cjs +0 -207
  98. package/dist/fablePlanApi-BhI4jnDP.cjs.map +0 -1
  99. package/dist/fablePlanApi-DuMg43Hu.mjs +0 -118
  100. package/dist/fablePlanApi-DuMg43Hu.mjs.map +0 -1
  101. package/dist/fablePlanApi.cjs +0 -17
  102. package/dist/fablePlanApi.d.mts +0 -2
  103. package/dist/fablePlanApi.mjs +0 -1
  104. package/dist/runs/background/cliRunnerEntry.cjs +0 -540
  105. package/dist/runs/background/cliRunnerEntry.cjs.map +0 -1
  106. package/dist/runs/background/cliRunnerEntry.d.mts +0 -1
  107. package/dist/runs/background/cliRunnerEntry.mjs +0 -538
  108. package/dist/runs/background/cliRunnerEntry.mjs.map +0 -1
  109. package/dist/subagentPolicy-BE-OZoa-.d.mts.map +0 -1
  110. package/dist/subagentPolicy-DIpaKHO8.cjs.map +0 -1
  111. package/dist/subagentPolicy-LfcXuqO5.mjs.map +0 -1
  112. package/dist/subagentTool-BueNPGHo.cjs.map +0 -1
  113. package/dist/subagentTool-a2oh2v5B.mjs.map +0 -1
package/LICENSE CHANGED
@@ -1,10 +1,171 @@
1
- MIT License
1
+ License text copyright © 2017 MariaDB Corporation Ab, All Rights Reserved.
2
+ "Business Source License" is a trademark of MariaDB Corporation Ab.
3
+
4
+ Parameters
5
+
6
+ Licensor: Agimon Pty Ltd
7
+ Licensed Work: Po, the software in the Po source repository and the
8
+ packages released from it, in each version released by
9
+ the Licensor.
10
+ The Licensed Work is (c) 2026 Agimon Pty Ltd.
11
+ Material identified as third-party in the "Third-party
12
+ components" section at the end of this file or in a
13
+ NOTICE file, and any package or directory whose own
14
+ license file grants a different license, is not part of
15
+ the Licensed Work and remains under its own license.
16
+ Additional Use Grant: You may make production use of the Licensed Work if
17
+ your use is Eligible Use. "Eligible Use" is production use that falls
18
+ within at least one of the following:
19
+
20
+ (a) Personal Use. Use by an individual for their own personal purposes,
21
+ and not on behalf of, or for the benefit of, an employer, client, or
22
+ other Organization. Use by an individual in the course of employment
23
+ or engagement by an Organization is use by that Organization.
24
+
25
+ (b) Small Organization Use. Use by or on behalf of an Organization whose
26
+ Annual Revenue is less than USD 1,000,000.
27
+
28
+ (c) Non-profit, Education and Research Use. Use, regardless of Annual
29
+ Revenue, by (i) an Organization registered or recognized as a
30
+ non-profit or charitable organization under the laws of its
31
+ jurisdiction, for its non-profit purposes; (ii) an accredited school,
32
+ college, or university, for teaching, learning, or academic research;
33
+ or (iii) a publicly funded research institution, for its research.
34
+
35
+ (d) Service Provider Use. Use by a consultant, contractor, agency, or other
36
+ service provider, regardless of its own Annual Revenue, solely to
37
+ build, deploy, host, operate, or support the Licensed Work for a client
38
+ whose own use would be Eligible Use under (a), (b), or (c). A service
39
+ provider's use for its own purposes is Eligible Use only if the service
40
+ provider itself qualifies under (b) or (c).
41
+
42
+
43
+ Hosted services. Offering the Licensed Work to third parties as a hosted
44
+ or managed service whose primary value is the Licensed Work is Eligible
45
+ Use only if each such third party's own use would be Eligible Use.
46
+
47
+ Definitions. "Organization" means any company, partnership, sole
48
+ proprietorship, trust, association, government body, or other entity, and
49
+ includes an individual acting in a business or professional capacity.
50
+ "Affiliate" means any entity that directly or indirectly controls, is
51
+ controlled by, or is under common control with an Organization, where
52
+ "control" means ownership of more than 50% of the voting interests of an
53
+ entity or the power to direct its management and policies by contract or
54
+ otherwise. "Annual Revenue" means the total gross revenue of an
55
+ Organization and all of its Affiliates combined, from all sources and
56
+ whether or not related to the Licensed Work, for its most recently
57
+ completed fiscal year, or, if it has not completed a fiscal year, for the
58
+ twelve months before the use (or since its formation, if shorter),
59
+ converted into US dollars at the average exchange rate for that period.
60
+ Proceeds of equity or debt financing are not revenue.
61
+
62
+ Threshold. If an Organization stops qualifying under (b), its existing
63
+ production use remains Eligible Use for 90 days after it stops
64
+ qualifying, after which it must obtain a commercial license or stop
65
+ production use. Use that was Eligible Use when it occurred never requires
66
+ a commercial license after the fact.
67
+ Change Date: Four years from the date a version of the Licensed Work
68
+ is first publicly released by the Licensor.
69
+ Change License: Apache License, Version 2.0
70
+
71
+ For information about alternative licensing arrangements for the Licensed
72
+ Work, please visit: https://agimon.ai/licensing
73
+
74
+ Notice
75
+
76
+ The Business Source License (this document, or the "License") is not an Open
77
+ Source license. However, the Licensed Work will eventually be made available
78
+ under an Open Source License, as stated in this License.
79
+
80
+ -----------------------------------------------------------------------------
81
+
82
+ Business Source License 1.1
83
+
84
+ Terms
85
+
86
+ The Licensor hereby grants you the right to copy, modify, create derivative
87
+ works, redistribute, and make non-production use of the Licensed Work. The
88
+ Licensor may make an Additional Use Grant, above, permitting limited
89
+ production use.
90
+
91
+ Effective on the Change Date, or the fourth anniversary of the first publicly
92
+ available distribution of a specific version of the Licensed Work under this
93
+ License, whichever comes first, the Licensor hereby grants you rights under
94
+ the terms of the Change License, and the rights granted in the paragraph
95
+ above terminate.
2
96
 
3
- Copyright (c) 2026 Vuong Ngo
97
+ If your use of the Licensed Work does not comply with the requirements
98
+ currently in effect as described in this License, you must purchase a
99
+ commercial license from the Licensor, its affiliated entities, or authorized
100
+ resellers, or you must refrain from using the Licensed Work.
101
+
102
+ All copies of the original and modified Licensed Work, and derivative works
103
+ of the Licensed Work, are subject to this License. This License applies
104
+ separately for each version of the Licensed Work and the Change Date may vary
105
+ for each version of the Licensed Work released by Licensor.
106
+
107
+ You must conspicuously display this License on each original or modified copy
108
+ of the Licensed Work. If you receive the Licensed Work in original or
109
+ modified form from a third party, the terms and conditions set forth in this
110
+ License apply to your use of that work.
111
+
112
+ Any use of the Licensed Work in violation of this License will automatically
113
+ terminate your rights under this License for the current and all other
114
+ versions of the Licensed Work.
115
+
116
+ This License does not grant you any right in any trademark or logo of
117
+ Licensor or its affiliates (provided that you may use a trademark or logo of
118
+ Licensor as expressly required by this License).
119
+
120
+ TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
121
+ AN “AS IS” BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
122
+ EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
123
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
124
+ TITLE.
125
+
126
+ MariaDB hereby grants you permission to use this License’s text to license
127
+ your works, and to refer to it using the trademark “Business Source License”,
128
+ as long as you comply with the Covenants of Licensor below.
129
+
130
+ Covenants of Licensor
131
+
132
+ In consideration of the right to use this License’s text and the “Business
133
+ Source License” name and trademark, Licensor covenants to MariaDB, and to all
134
+ other recipients of the licensed work to be provided by Licensor:
135
+
136
+ 1. To specify as the Change License the GPL Version 2.0 or any later version,
137
+ or a license that is compatible with GPL Version 2.0 or a later version,
138
+ where “compatible” means that software provided under the Change License can
139
+ be included in a program with software provided under GPL Version 2.0 or a
140
+ later version. Licensor may specify additional Change Licenses without
141
+ limitation.
142
+
143
+ 2. To either: (a) specify an additional grant of rights to use that does not
144
+ impose any additional restriction on the right granted in this License, as
145
+ the Additional Use Grant; or (b) insert the text “None”.
146
+
147
+ 3. To specify a Change Date.
148
+
149
+ 4. Not to modify this License in any other way.
150
+
151
+ -----------------------------------------------------------------------------
152
+
153
+ Third-party components
154
+
155
+ The following material in this package was written by third parties. It is
156
+ not part of the Licensed Work, is not licensed under the Business Source
157
+ License above, and remains under its own license, reproduced below. Where a
158
+ file combines third-party material with changes by Agimon Pty Ltd, the
159
+ third-party portions remain under their original license and the changes
160
+ are part of the Licensed Work.
161
+
162
+ 1. pi-subagents (https://github.com/nicobailon/pi-subagents)
163
+ Used in: team delegation schemas and services, environment and run types
164
+ License: MIT
165
+
166
+ MIT License
4
167
 
5
- Portions of this software are derived from pi-subagents
6
- (https://github.com/nicobailon/pi-subagents), Copyright (c) 2026 Nico Bailon,
7
- distributed under the MIT License.
168
+ Copyright (c) 2026 Nico Bailon
8
169
 
9
170
  Permission is hereby granted, free of charge, to any person obtaining a copy
10
171
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,23 +1,12 @@
1
1
  # @agimon-ai/po-team
2
2
 
3
- Discover agents, run them in the background, exchange messages, and enforce model and tool policy.
3
+ Discover agents, run them in the background, exchange messages, and apply model and tool policy. Requires Node.js 24 or newer and a Po server host. Run and policy contracts are alpha.
4
4
 
5
- Part of the [Po distribution](https://www.npmjs.com/package/@agimon-ai/po).
5
+ Team owns agents and runs, not Task's graph. With both selected, Team fulfills delegation requests while Task remains the source of truth for task status and dependencies.
6
6
 
7
- Team does not own Task's graph. When both packages are loaded, Team fulfills Task delegation
8
- requests while Task remains the source of truth for task status and dependencies.
7
+ ## Enable
9
8
 
10
- > **Alpha:** run, policy, and intercom contracts may change between releases.
11
-
12
- ## Requirements
13
-
14
- - Node.js 24 or newer
15
- - `@earendil-works/pi-agent-core`, `@earendil-works/pi-ai`,
16
- `@earendil-works/pi-coding-agent` 1.0.2
17
-
18
- ## Install
19
-
20
- Define a layer and select it in `.po/modes.yaml`. Add Task separately for graph-backed delegation:
9
+ Define a layer in `.po/presets.yaml` and select it in a preset, then run `po sync`:
21
10
 
22
11
  ```yaml
23
12
  layers:
@@ -30,126 +19,50 @@ layers:
30
19
  - model: provider/model-id
31
20
  thinking: high
32
21
  excludeTools: [ask_user_question]
33
-
34
- majorMode:
22
+ preset:
35
23
  development:
36
- description: Development with tasks and delegated agents.
24
+ description: Tasks and delegated agents.
37
25
  layers: [coordination]
38
26
  ```
39
27
 
40
- Team-only sessions can launch and manage agents directly; they simply have no Task-owned graph to
41
- update.
42
-
43
- ## Commands and tools
44
-
45
- Slash commands include:
46
-
47
- ```text
48
- /run
49
- /parallel
50
- /subagents-doctor
51
- /subagents-steer <run-id> <message>
52
- /subagents-stop
53
- /subagents-list
54
- /subagents-fleet
55
- ```
56
-
57
- Use `/run` for one agent and `/parallel` for several. `/subagents-doctor` reports diagnostics,
58
- `/subagents-steer` sends guidance to a running agent, and `/subagents-stop` requests a stop.
59
- `/subagents-list` shows available agents, and `/subagents-fleet` shows current runs.
28
+ Task is optional. Team-only sessions can launch and manage agents directly without a stored task graph.
60
29
 
61
- The `subagent` tool exposes `agents`, `run`, `status`, `steer`, and `stop`.
62
- The `intercom` tool exposes `members`, `send`, `ask`, `pending`, and `reply`.
30
+ ## Run and communicate
63
31
 
64
- `ask` is asynchronous in every direction (child to main, main to child, child to sibling). It
65
- returns at once with a `requestId`. The answer arrives later as an intercom message that wakes the
66
- asker. A child with an open ask stays alive after its turn ends. If no reply lands within 180
67
- seconds, the asker gets one notice and a turn to decide: keep working, ask again, or finish. The ask
68
- stays open, so a late reply still lands while the asker is alive. If the target finishes without
69
- replying, the asker is told right away.
32
+ The `subagent` tool discovers agents, starts runs, reads status, steers and stops them. Runs return an ID immediately; completion or failure arrives later. Check status before retrying an interrupted operation so work is not launched twice.
70
33
 
71
- ## Run lifecycle
34
+ Slash commands include `/run`, `/parallel`, `/subagents-doctor`, `/subagents-steer`, `/subagents-stop`, `/subagents-list` and `/subagents-fleet`. The [Team code-mode guide](src/prompts/codemode-how-to-team/SKILL.md) explains how to inspect state before choosing a control action.
72
35
 
73
- Runs are asynchronous. The parent receives a run identifier and later completion or failure rather
74
- than an inline child transcript. A native child is a conversation in its parent session's own
75
- storage, so it survives a restart: when the session reopens, the child resumes where it stopped and
76
- its completion still reaches the parent once. An external runtime is a separate process, and a
77
- session that ends stops it.
36
+ Each agent receives a unique identity such as `alan-reviewer-3`. Use the exact identity returned by discovery or status, not a guessed label. Run IDs remain valid and take precedence if a name collides. The root session owns results, membership and control messages.
78
37
 
79
- ## Agent identity
38
+ `intercom` exchanges messages with native team members. `ask` returns immediately with a request ID; the reply wakes the asker later. An open ask keeps a child alive after its turn. After 180 seconds without an answer, one reminder lets it decide whether to continue, ask again or finish. A late answer can still arrive while the asker is alive. If the recipient finishes without answering, the asker is notified.
80
39
 
81
- Every spawned agent is given a generated identity of the form `{name}-{role}-{number}`, for example
82
- `alan-reviewer-3`. The role comes from the agent name with its package prefix dropped, and the number
83
- counts every agent in the session, so no two agents share an identity. An agent defined inline, with
84
- no agent file on disk, is shown as `bea-developer-2 (inline)`.
40
+ When code mode supplies `network`, use that namespace to message other sessions; intercom then reaches only the current team. Session peers use durable sends rather than team ask/reply semantics outside that namespace.
85
41
 
86
- The identity is the intercom member id, not a label beside one, so a peer can address exactly what it
87
- is shown:
42
+ Native child conversations live in the parent session's storage and resume after reopening, with completion delivered to the parent. External CLI execution is retired.
88
43
 
89
- ```text
90
- intercom({ action: "send", to: "alan-reviewer-3", message: "..." })
91
- subagent({ action: "status", id: "alan-reviewer-3" })
92
- ```
93
-
94
- Run ids keep working everywhere, and they win when a name and an id collide. Identities are unique
95
- within one root session and are not reused when a run ends.
96
- The root session scopes run results, transcripts, control inboxes, membership, and intercom. State
97
- is stored in private, per-user temporary directories with per-session subdirectories. Launch
98
- contracts can contain full prompts and are written with private permissions, then removed after
99
- handoff. Intercom messages expire after 24 hours; liveness checks remove stale membership and run
100
- state.
101
-
102
- ## Model and tool policy
103
-
104
- Package configuration belongs on the Team package entry. When several selected entries contribute
105
- configuration, later entries replace the `models` list and `excludeTools` values are combined in
106
- layer order.
107
-
108
- Agent configuration, explicit launch options, Team policy, and provider availability determine the
109
- final model and tools. A child cannot exceed the capability ceiling supplied by its parent or
110
- provider policy. Allowed MCP and stdio tools can execute commands, so treat agent definitions and
111
- the inherited environment as trusted configuration.
44
+ ## Model, tool and trust policy
112
45
 
113
- ## Task delegation bridge
46
+ Package configuration belongs on the Team entry. Later selected entries replace `models`; `excludeTools` values combine in layer order. Agent definitions, explicit launch options, Team policy and provider availability determine the final model and tools.
114
47
 
115
- With Task installed:
48
+ Children cannot exceed the parent's capability ceiling. They borrow permitted Po capabilities, including code mode and skill loading, but not tools marked `mainAgentOnly`. Planning restrictions apply to children too. An agent definition with an explicit `tools` list narrows its tool set further. Code-mode calls share parent-session namespaces, including browser state; they are not separate sandboxed environments.
116
49
 
117
- 1. Task selects a pending, unblocked task and sends a delegation request.
118
- 2. Team resolves the named agent, context, model, skills, and capability policy.
119
- 3. Team owns the background run, messaging, steering, and suspension.
120
- 4. Task records the terminal result on its own task.
50
+ Treat agent definitions, inherited environments and granted MCP tools as trusted executable configuration. Tool restrictions are not operating-system isolation.
121
51
 
122
- This is a named Cordis service relationship, not shared persistence. Team provides
123
- `po/delegation`, `po/background-work`, `po/subagent-policy`, and `po/fable-plan` for the
124
- active session. Consumers disconnect and reconnect automatically when that provider changes.
52
+ ## Task integration and inspection
125
53
 
126
- ## Public API
54
+ Task submits pending, unblocked assignments. Team resolves the agent and policy, owns execution and cancellation, and returns the terminal result to Task. The Cordis `po/delegation`, `po/background-work` and `po/subagent-policy` connections disconnect and reconnect with their provider; they do not imply shared persistence.
127
55
 
128
- ```ts
129
- import { resolveSubagentLaunchContract } from '@agimon-ai/po-team';
130
- ```
131
-
132
- Focused subpaths include `/api/capability-ceiling`, `/api/delegation`, `/api/team-snapshot`,
133
- and `/env`. Live cross-extension collaboration contracts come from
134
- `@agimon-ai/po-core`.
56
+ When code mode is loaded, `team.members()` returns native members and `team.runs()` returns tracked runs. These detached snapshots omit capability tokens and delegation prompts. Finished runs drop off ten minutes after acknowledgement; token counts remain available while retained. The direct `subagent` and `intercom` tools remain available.
135
57
 
136
58
  ## Development
137
59
 
138
- Run from this package directory in the workspace:
139
-
140
60
  ```bash
141
- pnpm build
142
- pnpm typecheck
143
- pnpm test
144
- pnpm lint
61
+ pnpm exec nx run-many -t lint typecheck build test -p @agimon-ai/po-team
145
62
  ```
146
63
 
147
- Maintained by [Agimon](https://agimon.ai/about).
64
+ Routed declarations own contributions; the session's collaboration fiber owns registration and disposal. Public exports are declared in `package.json`, not an independent runtime entry.
148
65
 
149
66
  ## License
150
67
 
151
- MIT
152
-
153
- ## Source and lifecycle
154
-
155
- The routed files own contribution registration. Team's collaboration service replaces session fibers explicitly, uses the injected session only when its session manager matches, and otherwise mounts in the standalone plugin context. Losing that injected session disposes its collaboration fiber.
68
+ Business Source License 1.1: free for personal use, organisations under USD 1M revenue, non-profits and education. See [LICENSE](LICENSE) and https://agimon.ai/licensing.