()
| 44 | let description = "first" |
| 45 | |
| 46 | const managed = () => |
| 47 | define({ |
| 48 | id: "managed", |
| 49 | effect: (ctx) => |
| 50 | ctx.agent |
| 51 | .transform((agents) => |
| 52 | agents.update("configured", (agent) => { |
| 53 | agent.description = description |
| 54 | }), |
| 55 | ) |
| 56 | .pipe(Effect.asVoid), |
| 57 | }) |
| 58 | |
| 59 | yield* plugins.add(PluginV2.ID.make("managed"), managed().effect) |
| 60 |
no test coverage detected