(action: "created" | "viewed" | "updated")
| 1592 | |
| 1593 | // Best-effort usage observation; a failing observer never affects the tool. |
| 1594 | const notifyArtifactUsage = (action: "created" | "viewed" | "updated"): Effect.Effect<void> => |
| 1595 | config.onArtifactUsage |
| 1596 | ? config.onArtifactUsage(action).pipe(Effect.ignoreCause({ log: false })) |
| 1597 | : Effect.void; |
| 1598 | |
| 1599 | const saveAndDeliverArtifact = (input: { |
| 1600 | readonly code: string; |
no outgoing calls
no test coverage detected