"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.toolListWorkstreamsOutputSchema = exports.toolListWorkstreamsArgsSchema = exports.TOOL_LIST_WORKSTREAMS_DESCRIPTION = void 0;
const zod_1 = require("zod");
const outputMetadata_1 = require("../outputMetadata");
exports.TOOL_LIST_WORKSTREAMS_DESCRIPTION = [
    'List the pull requests this conversation has already opened with the repository-edit tools editRepo and editDbtProject (its "workstreams"), so you can decide where a change should go.',
    "Use this before editRepo / editDbtProject when the user asks to change a repo you may have an open pull request on already: read the list, then either pass an existing pull request URL as the edit tool's `prUrl` to continue that one, or set `startNewPullRequest` to open a separate pull request.",
    'Returns each workstream as owner/repo with its pull request URL, number, and a short summary. Optionally filter to a single repository. Read-only.',
].join(' ');
exports.toolListWorkstreamsArgsSchema = zod_1.z.object({
    repoTarget: zod_1.z
        .string()
        .nullable()
        .describe('Restrict the list to a single repository, as "owner/repo" (e.g. "acme/web-app"). Pass null to list the pull requests this conversation has opened across all repositories.'),
});
exports.toolListWorkstreamsOutputSchema = zod_1.z.object({
    result: zod_1.z.string(),
    metadata: outputMetadata_1.baseOutputMetadataSchema,
});
//# sourceMappingURL=toolListWorkstreamsArgs.js.map