(action: "created" | "viewed" | "updated")
| 2260 | |
| 2261 | // Best-effort usage observation; a failing observer never affects the tool. |
| 2262 | const notifyArtifactUsage = (action: "created" | "viewed" | "updated"): Effect.Effect<void> => |
| 2263 | config.onArtifactUsage |
| 2264 | ? config.onArtifactUsage(action).pipe(Effect.ignoreCause({ log: false })) |
| 2265 | : Effect.void; |
| 2266 | |
| 2267 | const saveAndDeliverArtifact = (input: { |
| 2268 | readonly code: string; |
no outgoing calls
no test coverage detected