@compilr-dev/sdk 0.2.10 → 0.2.11

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/dist/team/team.js CHANGED
@@ -152,6 +152,15 @@ export class AgentTeam {
152
152
  if (defaultTeamAgent) {
153
153
  defaultTeamAgent.setAgent(agent);
154
154
  }
155
+ // Inject current team roster into the new agent's pins
156
+ if (this._sharedContext.hasTeamRoster() && agent.hasPins()) {
157
+ agent.addPin({
158
+ id: 'team-roster',
159
+ content: this._sharedContext.formatTeamRoster(),
160
+ priority: 'info',
161
+ scope: 'session',
162
+ });
163
+ }
155
164
  }
156
165
  /**
157
166
  * Check if an agent exists in the team
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compilr-dev/sdk",
3
- "version": "0.2.10",
3
+ "version": "0.2.11",
4
4
  "description": "Universal agent runtime for building AI-powered applications",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",