(action: "created" | "viewed" | "updated")
| 1569 | |
| 1570 | // Best-effort usage observation; a failing observer never affects the tool. |
| 1571 | const notifyArtifactUsage = (action: "created" | "viewed" | "updated"): Effect.Effect<void> => |
| 1572 | config.onArtifactUsage |
| 1573 | ? config.onArtifactUsage(action).pipe(Effect.ignoreCause({ log: false })) |
| 1574 | : Effect.void; |
| 1575 | |
| 1576 | const saveAndDeliverArtifact = (input: { |
| 1577 | readonly code: string; |
no outgoing calls
no test coverage detected