Buckets:
| // Copyright (c) 2026 the Zuke contributors | |
| // SPDX-License-Identifier: MIT | |
| /** | |
| * `@zuke/ai` — AI-powered code review for Zuke builds. | |
| * | |
| * Define a reviewer fluently and plug it into a target as a {@link | |
| * "jsr:@zuke/core".Validation} with `.validateBefore(...)` / `.validateAfter(...)`. | |
| * Only the provider and API key are required; everything else is defaulted. | |
| * | |
| * ```ts | |
| * import { Build, parameter, target } from "@zuke/core"; | |
| * import { securityReviewer } from "@zuke/ai"; | |
| * | |
| * class Pipeline extends Build { | |
| * key = parameter("Anthropic API key").secret().required(); | |
| * security = securityReviewer((r) => r.provider("claude").apiKey(this.key)); | |
| * deploy = target().validateBefore(this.security).executes(async () => {}); | |
| * } | |
| * ``` | |
| * | |
| * @module | |
| */ | |
| export { AiReviewError } from "./src/errors.ts"; | |
| export type { | |
| Assessment, | |
| AssessmentFinding, | |
| AssessmentType, | |
| Effort, | |
| Provider, | |
| Severity, | |
| Usage, | |
| } from "./src/types.ts"; | |
| export { AiFixer, aiFixer } from "./src/fixer.ts"; | |
| export type { RunScope } from "./src/run_scope.ts"; | |
| export type { Confidence, FileEdit, Fix, FixLocation } from "./src/fix.ts"; | |
| export { AgentFixer, agentFixer } from "./src/agent_fixer.ts"; | |
| export type { | |
| AgentContext, | |
| AgentResult, | |
| AgentRunner, | |
| } from "./src/agent_fixer.ts"; | |
| export { type DiffFetch, DiffSettings } from "./src/diff.ts"; | |
| export { GateSettings } from "./src/gate.ts"; | |
| export type { GateRule } from "./src/gate.ts"; | |
| export type { EnvReader } from "./src/hosts.ts"; | |
| export type { RetryInfo, RetryOptions } from "./src/retry.ts"; | |
| export { Budget, budget } from "./src/budget.ts"; | |
| export type { BudgetSpend, ModelPrice } from "./src/budget.ts"; | |
| export { AiCache, aiCache } from "./src/cache.ts"; | |
| export type { CacheEntry, CacheStore } from "./src/cache.ts"; | |
| export { | |
| findingFingerprint, | |
| Suppressions, | |
| suppressions, | |
| } from "./src/suppress.ts"; | |
| export { DiscussionSettings } from "./src/discussion.ts"; | |
| export { | |
| type CommentTokenSource, | |
| correctnessReviewer, | |
| genericReviewer, | |
| licenseReviewer, | |
| Reviewer, | |
| secretsReviewer, | |
| securityReviewer, | |
| } from "./src/reviewer.ts"; | |
| export { | |
| aiReviewWorkflow, | |
| type AiReviewWorkflowSpec, | |
| ReviewCommandSettings, | |
| type ReviewSecret, | |
| } from "./src/workflow.ts"; | |
| export type { CommandRole } from "./src/callers.ts"; | |
Xet Storage Details
- Size:
- 2.3 kB
- Xet hash:
- 979eca20f95871977a6513fbde63391cb37c2cd36af73cf9745cb5ec8b450404
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.