{"weatherWorkflow":{"name":"weather-workflow","steps":{"fetch-weather":{"id":"fetch-weather","description":"Fetches weather forecast for a given city","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\",\"description\":\"The city to get the weather for\"}},\"required\":[\"city\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"date\":{\"type\":\"string\"},\"maxTemp\":{\"type\":\"number\"},\"minTemp\":{\"type\":\"number\"},\"precipitationChance\":{\"type\":\"number\"},\"condition\":{\"type\":\"string\"},\"location\":{\"type\":\"string\"}},\"required\":[\"date\",\"maxTemp\",\"minTemp\",\"precipitationChance\",\"condition\",\"location\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"},"plan-activities":{"id":"plan-activities","description":"Suggests activities based on weather conditions","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"date\":{\"type\":\"string\"},\"maxTemp\":{\"type\":\"number\"},\"minTemp\":{\"type\":\"number\"},\"precipitationChance\":{\"type\":\"number\"},\"condition\":{\"type\":\"string\"},\"location\":{\"type\":\"string\"}},\"required\":[\"date\",\"maxTemp\",\"minTemp\",\"precipitationChance\",\"condition\",\"location\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"activities\":{\"type\":\"string\"}},\"required\":[\"activities\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"}},"allSteps":{"fetch-weather":{"id":"fetch-weather","description":"Fetches weather forecast for a given city","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\",\"description\":\"The city to get the weather for\"}},\"required\":[\"city\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"date\":{\"type\":\"string\"},\"maxTemp\":{\"type\":\"number\"},\"minTemp\":{\"type\":\"number\"},\"precipitationChance\":{\"type\":\"number\"},\"condition\":{\"type\":\"string\"},\"location\":{\"type\":\"string\"}},\"required\":[\"date\",\"maxTemp\",\"minTemp\",\"precipitationChance\",\"condition\",\"location\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false},"plan-activities":{"id":"plan-activities","description":"Suggests activities based on weather conditions","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"date\":{\"type\":\"string\"},\"maxTemp\":{\"type\":\"number\"},\"minTemp\":{\"type\":\"number\"},\"precipitationChance\":{\"type\":\"number\"},\"condition\":{\"type\":\"string\"},\"location\":{\"type\":\"string\"}},\"required\":[\"date\",\"maxTemp\",\"minTemp\",\"precipitationChance\",\"condition\",\"location\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"activities\":{\"type\":\"string\"}},\"required\":[\"activities\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false}},"stepGraph":[{"type":"step","step":{"id":"fetch-weather","description":"Fetches weather forecast for a given city","canSuspend":false}},{"type":"step","step":{"id":"plan-activities","description":"Suggests activities based on weather conditions","canSuspend":false}}],"inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"city\":{\"type\":\"string\",\"description\":\"The city to get the weather for\"}},\"required\":[\"city\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"activities\":{\"type\":\"string\"}},\"required\":[\"activities\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","options":{"validateInputs":true},"isProcessorWorkflow":false},"featureFileStructureWorkflow":{"name":"feature-file-structure-workflow","steps":{"fileStructureDiscovery":{"id":"fileStructureDiscovery","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"featureName\":{\"type\":\"string\",\"description\":\"The feature to analyze (e.g., \\\"tickets functionality\\\")\"},\"repositoryName\":{\"type\":\"string\",\"default\":\"mmbely/qeek\",\"description\":\"Repository to search\"},\"limit\":{\"type\":\"number\",\"default\":30,\"description\":\"Maximum number of files to analyze\"}},\"required\":[\"featureName\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"coreFiles\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"file_path\":{\"type\":\"string\"},\"element_type\":{\"type\":\"string\"},\"element_name\":{\"type\":\"string\"},\"embedded_text_preview\":{\"type\":\"string\"},\"additional_details\":{\"type\":\"string\"},\"similarity\":{\"type\":\"number\"}},\"required\":[\"file_path\",\"element_type\",\"element_name\",\"embedded_text_preview\",\"additional_details\",\"similarity\"],\"additionalProperties\":false}},\"searchMetadata\":{\"type\":\"object\",\"properties\":{\"totalResults\":{\"type\":\"number\"},\"searchTime\":{\"type\":\"number\"},\"query\":{\"type\":\"string\"}},\"required\":[\"totalResults\",\"searchTime\",\"query\"],\"additionalProperties\":false}},\"required\":[\"coreFiles\",\"searchMetadata\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"},"generateFileStructureMapping":{"id":"generateFileStructureMapping","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"coreFiles\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"file_path\":{\"type\":\"string\"},\"element_type\":{\"type\":\"string\"},\"element_name\":{\"type\":\"string\"},\"embedded_text_preview\":{\"type\":\"string\"},\"additional_details\":{\"type\":\"string\"},\"similarity\":{\"type\":\"number\"}},\"required\":[\"file_path\",\"element_type\",\"element_name\",\"embedded_text_preview\",\"additional_details\",\"similarity\"],\"additionalProperties\":false}},\"searchMetadata\":{\"type\":\"object\",\"properties\":{\"totalResults\":{\"type\":\"number\"},\"searchTime\":{\"type\":\"number\"},\"query\":{\"type\":\"string\"}},\"required\":[\"totalResults\",\"searchTime\",\"query\"],\"additionalProperties\":false},\"featureName\":{\"type\":\"string\"}},\"required\":[\"coreFiles\",\"searchMetadata\",\"featureName\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"fileStructureMarkdown\":{\"type\":\"string\"},\"coreComponentsCount\":{\"type\":\"number\"},\"organizationInsights\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"fileStructureMarkdown\",\"coreComponentsCount\",\"organizationInsights\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"}},"allSteps":{"fileStructureDiscovery":{"id":"fileStructureDiscovery","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"featureName\":{\"type\":\"string\",\"description\":\"The feature to analyze (e.g., \\\"tickets functionality\\\")\"},\"repositoryName\":{\"type\":\"string\",\"default\":\"mmbely/qeek\",\"description\":\"Repository to search\"},\"limit\":{\"type\":\"number\",\"default\":30,\"description\":\"Maximum number of files to analyze\"}},\"required\":[\"featureName\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"coreFiles\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"file_path\":{\"type\":\"string\"},\"element_type\":{\"type\":\"string\"},\"element_name\":{\"type\":\"string\"},\"embedded_text_preview\":{\"type\":\"string\"},\"additional_details\":{\"type\":\"string\"},\"similarity\":{\"type\":\"number\"}},\"required\":[\"file_path\",\"element_type\",\"element_name\",\"embedded_text_preview\",\"additional_details\",\"similarity\"],\"additionalProperties\":false}},\"searchMetadata\":{\"type\":\"object\",\"properties\":{\"totalResults\":{\"type\":\"number\"},\"searchTime\":{\"type\":\"number\"},\"query\":{\"type\":\"string\"}},\"required\":[\"totalResults\",\"searchTime\",\"query\"],\"additionalProperties\":false}},\"required\":[\"coreFiles\",\"searchMetadata\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false},"generateFileStructureMapping":{"id":"generateFileStructureMapping","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"coreFiles\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"file_path\":{\"type\":\"string\"},\"element_type\":{\"type\":\"string\"},\"element_name\":{\"type\":\"string\"},\"embedded_text_preview\":{\"type\":\"string\"},\"additional_details\":{\"type\":\"string\"},\"similarity\":{\"type\":\"number\"}},\"required\":[\"file_path\",\"element_type\",\"element_name\",\"embedded_text_preview\",\"additional_details\",\"similarity\"],\"additionalProperties\":false}},\"searchMetadata\":{\"type\":\"object\",\"properties\":{\"totalResults\":{\"type\":\"number\"},\"searchTime\":{\"type\":\"number\"},\"query\":{\"type\":\"string\"}},\"required\":[\"totalResults\",\"searchTime\",\"query\"],\"additionalProperties\":false},\"featureName\":{\"type\":\"string\"}},\"required\":[\"coreFiles\",\"searchMetadata\",\"featureName\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"fileStructureMarkdown\":{\"type\":\"string\"},\"coreComponentsCount\":{\"type\":\"number\"},\"organizationInsights\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"fileStructureMarkdown\",\"coreComponentsCount\",\"organizationInsights\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false}},"stepGraph":[{"type":"step","step":{"id":"fileStructureDiscovery","canSuspend":false}},{"type":"step","step":{"id":"generateFileStructureMapping","canSuspend":false}}],"inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"featureName\":{\"type\":\"string\",\"description\":\"The feature to analyze (e.g., \\\"tickets functionality\\\")\"},\"repositoryName\":{\"type\":\"string\",\"default\":\"mmbely/qeek\",\"description\":\"Repository to search\"},\"limit\":{\"type\":\"number\",\"default\":30,\"description\":\"Maximum number of files to analyze\"}},\"required\":[\"featureName\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"fileStructureMarkdown\":{\"type\":\"string\"},\"coreComponentsCount\":{\"type\":\"number\"},\"organizationInsights\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"searchMetadata\":{\"type\":\"object\",\"properties\":{\"totalResults\":{\"type\":\"number\"},\"searchTime\":{\"type\":\"number\"},\"query\":{\"type\":\"string\"}},\"required\":[\"totalResults\",\"searchTime\",\"query\"],\"additionalProperties\":false}},\"required\":[\"fileStructureMarkdown\",\"coreComponentsCount\",\"organizationInsights\",\"searchMetadata\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","options":{"validateInputs":true},"isProcessorWorkflow":false},"featureComponentArchitectureWorkflow":{"name":"feature-component-architecture-workflow","steps":{"componentDiscovery":{"id":"componentDiscovery","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"fileStructureResults\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"file_path\":{\"type\":\"string\"},\"element_type\":{\"type\":\"string\"},\"element_name\":{\"type\":\"string\"},\"embedded_text_preview\":{\"type\":\"string\"},\"additional_details\":{\"type\":\"string\"},\"similarity\":{\"type\":\"number\"}},\"required\":[\"file_path\",\"element_type\",\"element_name\",\"embedded_text_preview\",\"additional_details\"],\"additionalProperties\":false}},\"featureName\":{\"type\":\"string\"},\"repositoryName\":{\"type\":\"string\",\"default\":\"mmbely/qeek\",\"description\":\"Repository to search\"}},\"required\":[\"fileStructureResults\",\"featureName\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"componentDetails\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"file_path\":{\"type\":\"string\"},\"element_type\":{\"type\":\"string\"},\"element_name\":{\"type\":\"string\"},\"embedded_text_preview\":{\"type\":\"string\"},\"additional_details\":{\"type\":\"string\"},\"imported_paths\":{\"type\":[\"string\",\"null\"]}},\"required\":[\"file_path\",\"element_type\",\"element_name\",\"embedded_text_preview\",\"additional_details\",\"imported_paths\"],\"additionalProperties\":false}},\"searchMetadata\":{\"type\":\"object\",\"properties\":{\"totalResults\":{\"type\":\"number\"},\"searchTime\":{\"type\":\"number\"},\"filesAnalyzed\":{\"type\":\"number\"}},\"required\":[\"totalResults\",\"searchTime\",\"filesAnalyzed\"],\"additionalProperties\":false}},\"required\":[\"componentDetails\",\"searchMetadata\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"},"generateComponentArchitecture":{"id":"generateComponentArchitecture","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"componentDetails\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"file_path\":{\"type\":\"string\"},\"element_type\":{\"type\":\"string\"},\"element_name\":{\"type\":\"string\"},\"embedded_text_preview\":{\"type\":\"string\"},\"additional_details\":{\"type\":\"string\"},\"imported_paths\":{\"type\":[\"string\",\"null\"]}},\"required\":[\"file_path\",\"element_type\",\"element_name\",\"embedded_text_preview\",\"additional_details\",\"imported_paths\"],\"additionalProperties\":false}},\"searchMetadata\":{\"type\":\"object\",\"properties\":{\"totalResults\":{\"type\":\"number\"},\"searchTime\":{\"type\":\"number\"},\"filesAnalyzed\":{\"type\":\"number\"}},\"required\":[\"totalResults\",\"searchTime\",\"filesAnalyzed\"],\"additionalProperties\":false},\"featureName\":{\"type\":\"string\"}},\"required\":[\"componentDetails\",\"searchMetadata\",\"featureName\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"uiComponentHierarchy\":{\"type\":\"string\"},\"implementationDetails\":{\"type\":\"string\"},\"hookDependencies\":{\"type\":\"string\"},\"architectureInsights\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"relationshipMap\":{\"type\":\"object\",\"properties\":{\"components\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"hooks\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"services\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"components\",\"hooks\",\"services\"],\"additionalProperties\":false}},\"required\":[\"uiComponentHierarchy\",\"implementationDetails\",\"hookDependencies\",\"architectureInsights\",\"relationshipMap\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"}},"allSteps":{"componentDiscovery":{"id":"componentDiscovery","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"fileStructureResults\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"file_path\":{\"type\":\"string\"},\"element_type\":{\"type\":\"string\"},\"element_name\":{\"type\":\"string\"},\"embedded_text_preview\":{\"type\":\"string\"},\"additional_details\":{\"type\":\"string\"},\"similarity\":{\"type\":\"number\"}},\"required\":[\"file_path\",\"element_type\",\"element_name\",\"embedded_text_preview\",\"additional_details\"],\"additionalProperties\":false}},\"featureName\":{\"type\":\"string\"},\"repositoryName\":{\"type\":\"string\",\"default\":\"mmbely/qeek\",\"description\":\"Repository to search\"}},\"required\":[\"fileStructureResults\",\"featureName\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"componentDetails\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"file_path\":{\"type\":\"string\"},\"element_type\":{\"type\":\"string\"},\"element_name\":{\"type\":\"string\"},\"embedded_text_preview\":{\"type\":\"string\"},\"additional_details\":{\"type\":\"string\"},\"imported_paths\":{\"type\":[\"string\",\"null\"]}},\"required\":[\"file_path\",\"element_type\",\"element_name\",\"embedded_text_preview\",\"additional_details\",\"imported_paths\"],\"additionalProperties\":false}},\"searchMetadata\":{\"type\":\"object\",\"properties\":{\"totalResults\":{\"type\":\"number\"},\"searchTime\":{\"type\":\"number\"},\"filesAnalyzed\":{\"type\":\"number\"}},\"required\":[\"totalResults\",\"searchTime\",\"filesAnalyzed\"],\"additionalProperties\":false}},\"required\":[\"componentDetails\",\"searchMetadata\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false},"generateComponentArchitecture":{"id":"generateComponentArchitecture","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"componentDetails\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"file_path\":{\"type\":\"string\"},\"element_type\":{\"type\":\"string\"},\"element_name\":{\"type\":\"string\"},\"embedded_text_preview\":{\"type\":\"string\"},\"additional_details\":{\"type\":\"string\"},\"imported_paths\":{\"type\":[\"string\",\"null\"]}},\"required\":[\"file_path\",\"element_type\",\"element_name\",\"embedded_text_preview\",\"additional_details\",\"imported_paths\"],\"additionalProperties\":false}},\"searchMetadata\":{\"type\":\"object\",\"properties\":{\"totalResults\":{\"type\":\"number\"},\"searchTime\":{\"type\":\"number\"},\"filesAnalyzed\":{\"type\":\"number\"}},\"required\":[\"totalResults\",\"searchTime\",\"filesAnalyzed\"],\"additionalProperties\":false},\"featureName\":{\"type\":\"string\"}},\"required\":[\"componentDetails\",\"searchMetadata\",\"featureName\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"uiComponentHierarchy\":{\"type\":\"string\"},\"implementationDetails\":{\"type\":\"string\"},\"hookDependencies\":{\"type\":\"string\"},\"architectureInsights\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"relationshipMap\":{\"type\":\"object\",\"properties\":{\"components\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"hooks\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"services\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"components\",\"hooks\",\"services\"],\"additionalProperties\":false}},\"required\":[\"uiComponentHierarchy\",\"implementationDetails\",\"hookDependencies\",\"architectureInsights\",\"relationshipMap\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false}},"stepGraph":[{"type":"step","step":{"id":"componentDiscovery","canSuspend":false}},{"type":"step","step":{"id":"generateComponentArchitecture","canSuspend":false}}],"inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"fileStructureResults\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"file_path\":{\"type\":\"string\"},\"element_type\":{\"type\":\"string\"},\"element_name\":{\"type\":\"string\"},\"embedded_text_preview\":{\"type\":\"string\"},\"additional_details\":{\"type\":\"string\"},\"similarity\":{\"type\":\"number\"}},\"required\":[\"file_path\",\"element_type\",\"element_name\",\"embedded_text_preview\",\"additional_details\"],\"additionalProperties\":false},\"description\":\"Results from the File Structure workflow\"},\"featureName\":{\"type\":\"string\",\"description\":\"The feature to analyze (e.g., \\\"tickets functionality\\\")\"},\"repositoryName\":{\"type\":\"string\",\"default\":\"mmbely/qeek\",\"description\":\"Repository to search\"}},\"required\":[\"fileStructureResults\",\"featureName\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"uiComponentHierarchy\":{\"type\":\"string\"},\"implementationDetails\":{\"type\":\"string\"},\"hookDependencies\":{\"type\":\"string\"},\"architectureInsights\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"relationshipMap\":{\"type\":\"object\",\"properties\":{\"components\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"hooks\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"services\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"components\",\"hooks\",\"services\"],\"additionalProperties\":false},\"searchMetadata\":{\"type\":\"object\",\"properties\":{\"totalResults\":{\"type\":\"number\"},\"searchTime\":{\"type\":\"number\"},\"filesAnalyzed\":{\"type\":\"number\"}},\"required\":[\"totalResults\",\"searchTime\",\"filesAnalyzed\"],\"additionalProperties\":false}},\"required\":[\"uiComponentHierarchy\",\"implementationDetails\",\"hookDependencies\",\"architectureInsights\",\"relationshipMap\",\"searchMetadata\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","options":{"validateInputs":true},"isProcessorWorkflow":false},"featureAnalysisWorkflow":{"name":"feature-analysis-workflow","description":"Analyzes feature architecture using semantic search and BigQuery embeddings to provide comprehensive code structure insights","steps":{"unifiedFeatureAnalysis":{"id":"unifiedFeatureAnalysis","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"featureName\":{\"type\":\"string\",\"description\":\"The feature to analyze (e.g., \\\"tickets functionality\\\")\"},\"repositoryName\":{\"type\":\"string\",\"default\":\"mmbely/qeek\",\"description\":\"Repository to search\"}},\"required\":[\"featureName\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"searchQuery\":{\"type\":\"object\",\"properties\":{\"originalQuery\":{\"type\":\"string\"},\"expandedQuery\":{\"type\":\"string\"},\"embeddingModel\":{\"type\":\"string\"}},\"required\":[\"originalQuery\",\"expandedQuery\",\"embeddingModel\"],\"additionalProperties\":false},\"fileStructure\":{\"type\":\"object\",\"properties\":{\"directoryTree\":{\"type\":\"string\"},\"coreFiles\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"file_path\":{\"type\":\"string\"},\"element_type\":{\"type\":\"string\"},\"element_name\":{\"type\":\"string\"},\"embedded_text_preview\":{\"type\":\"string\"},\"additional_details\":{\"type\":\"string\"},\"similarity\":{\"type\":\"number\"}},\"required\":[\"file_path\",\"element_type\",\"element_name\",\"embedded_text_preview\",\"additional_details\"],\"additionalProperties\":false}},\"organizationInsights\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"searchMetadata\":{\"type\":\"object\",\"properties\":{\"totalResults\":{\"type\":\"number\"},\"searchTime\":{\"type\":\"number\"},\"filesAnalyzed\":{\"type\":\"number\"}},\"required\":[\"totalResults\",\"searchTime\",\"filesAnalyzed\"],\"additionalProperties\":false}},\"required\":[\"directoryTree\",\"coreFiles\",\"organizationInsights\",\"searchMetadata\"],\"additionalProperties\":false},\"componentArchitecture\":{\"type\":\"object\",\"properties\":{\"uiComponentHierarchy\":{\"type\":\"string\"},\"implementationDetails\":{\"type\":\"string\"},\"hookDependencies\":{\"type\":\"string\"},\"architectureInsights\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"relationshipMap\":{\"type\":\"object\",\"properties\":{\"components\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"hooks\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"services\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"components\",\"hooks\",\"services\"],\"additionalProperties\":false}},\"required\":[\"uiComponentHierarchy\",\"implementationDetails\",\"hookDependencies\",\"architectureInsights\",\"relationshipMap\"],\"additionalProperties\":false}},\"required\":[\"searchQuery\",\"fileStructure\",\"componentArchitecture\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"}},"allSteps":{"unifiedFeatureAnalysis":{"id":"unifiedFeatureAnalysis","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"featureName\":{\"type\":\"string\",\"description\":\"The feature to analyze (e.g., \\\"tickets functionality\\\")\"},\"repositoryName\":{\"type\":\"string\",\"default\":\"mmbely/qeek\",\"description\":\"Repository to search\"}},\"required\":[\"featureName\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"searchQuery\":{\"type\":\"object\",\"properties\":{\"originalQuery\":{\"type\":\"string\"},\"expandedQuery\":{\"type\":\"string\"},\"embeddingModel\":{\"type\":\"string\"}},\"required\":[\"originalQuery\",\"expandedQuery\",\"embeddingModel\"],\"additionalProperties\":false},\"fileStructure\":{\"type\":\"object\",\"properties\":{\"directoryTree\":{\"type\":\"string\"},\"coreFiles\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"file_path\":{\"type\":\"string\"},\"element_type\":{\"type\":\"string\"},\"element_name\":{\"type\":\"string\"},\"embedded_text_preview\":{\"type\":\"string\"},\"additional_details\":{\"type\":\"string\"},\"similarity\":{\"type\":\"number\"}},\"required\":[\"file_path\",\"element_type\",\"element_name\",\"embedded_text_preview\",\"additional_details\"],\"additionalProperties\":false}},\"organizationInsights\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"searchMetadata\":{\"type\":\"object\",\"properties\":{\"totalResults\":{\"type\":\"number\"},\"searchTime\":{\"type\":\"number\"},\"filesAnalyzed\":{\"type\":\"number\"}},\"required\":[\"totalResults\",\"searchTime\",\"filesAnalyzed\"],\"additionalProperties\":false}},\"required\":[\"directoryTree\",\"coreFiles\",\"organizationInsights\",\"searchMetadata\"],\"additionalProperties\":false},\"componentArchitecture\":{\"type\":\"object\",\"properties\":{\"uiComponentHierarchy\":{\"type\":\"string\"},\"implementationDetails\":{\"type\":\"string\"},\"hookDependencies\":{\"type\":\"string\"},\"architectureInsights\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"relationshipMap\":{\"type\":\"object\",\"properties\":{\"components\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"hooks\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"services\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"components\",\"hooks\",\"services\"],\"additionalProperties\":false}},\"required\":[\"uiComponentHierarchy\",\"implementationDetails\",\"hookDependencies\",\"architectureInsights\",\"relationshipMap\"],\"additionalProperties\":false}},\"required\":[\"searchQuery\",\"fileStructure\",\"componentArchitecture\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false}},"stepGraph":[{"type":"step","step":{"id":"unifiedFeatureAnalysis","canSuspend":false}}],"inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"featureName\":{\"type\":\"string\",\"description\":\"The feature to analyze (e.g., \\\"tickets functionality\\\")\"},\"repositoryName\":{\"type\":\"string\",\"default\":\"mmbely/qeek\",\"description\":\"Repository to search\"}},\"required\":[\"featureName\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"searchQuery\":{\"type\":\"object\",\"properties\":{\"originalQuery\":{\"type\":\"string\"},\"expandedQuery\":{\"type\":\"string\"},\"embeddingModel\":{\"type\":\"string\"}},\"required\":[\"originalQuery\",\"expandedQuery\",\"embeddingModel\"],\"additionalProperties\":false},\"fileStructure\":{\"type\":\"object\",\"properties\":{\"directoryTree\":{\"type\":\"string\"},\"coreFiles\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"file_path\":{\"type\":\"string\"},\"element_type\":{\"type\":\"string\"},\"element_name\":{\"type\":\"string\"},\"embedded_text_preview\":{\"type\":\"string\"},\"additional_details\":{\"type\":\"string\"},\"similarity\":{\"type\":\"number\"}},\"required\":[\"file_path\",\"element_type\",\"element_name\",\"embedded_text_preview\",\"additional_details\"],\"additionalProperties\":false}},\"organizationInsights\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"searchMetadata\":{\"type\":\"object\",\"properties\":{\"totalResults\":{\"type\":\"number\"},\"searchTime\":{\"type\":\"number\"},\"filesAnalyzed\":{\"type\":\"number\"}},\"required\":[\"totalResults\",\"searchTime\",\"filesAnalyzed\"],\"additionalProperties\":false}},\"required\":[\"directoryTree\",\"coreFiles\",\"organizationInsights\",\"searchMetadata\"],\"additionalProperties\":false},\"componentArchitecture\":{\"type\":\"object\",\"properties\":{\"uiComponentHierarchy\":{\"type\":\"string\"},\"implementationDetails\":{\"type\":\"string\"},\"hookDependencies\":{\"type\":\"string\"},\"architectureInsights\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"relationshipMap\":{\"type\":\"object\",\"properties\":{\"components\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"hooks\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"services\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"components\",\"hooks\",\"services\"],\"additionalProperties\":false}},\"required\":[\"uiComponentHierarchy\",\"implementationDetails\",\"hookDependencies\",\"architectureInsights\",\"relationshipMap\"],\"additionalProperties\":false}},\"required\":[\"searchQuery\",\"fileStructure\",\"componentArchitecture\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","options":{"validateInputs":true},"isProcessorWorkflow":false},"ticketContextSnapshotWorkflow":{"name":"ticket-context-snapshot","steps":{"ticketContextStep":{"id":"ticketContextStep","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\",\"description\":\"Feature requirement to analyze\"},\"topK\":{\"type\":\"number\",\"description\":\"Number of results to return\"},\"repositoryName\":{\"type\":\"string\",\"default\":\"mmbely/qeek\",\"description\":\"Repository name\"}},\"required\":[\"requirement\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"normalized\":{},\"candidatesByLayer\":{},\"gapReport\":{},\"layerQuality\":{},\"layerConfidence\":{},\"metadata\":{}},\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"}},"allSteps":{"ticketContextStep":{"id":"ticketContextStep","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\",\"description\":\"Feature requirement to analyze\"},\"topK\":{\"type\":\"number\",\"description\":\"Number of results to return\"},\"repositoryName\":{\"type\":\"string\",\"default\":\"mmbely/qeek\",\"description\":\"Repository name\"}},\"required\":[\"requirement\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"normalized\":{},\"candidatesByLayer\":{},\"gapReport\":{},\"layerQuality\":{},\"layerConfidence\":{},\"metadata\":{}},\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false}},"stepGraph":[{"type":"step","step":{"id":"ticketContextStep","canSuspend":false}}],"inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\",\"description\":\"Feature requirement to analyze\"},\"topK\":{\"type\":\"number\",\"description\":\"Number of results to return\"},\"repositoryName\":{\"type\":\"string\",\"default\":\"mmbely/qeek\",\"description\":\"Repository name\"}},\"required\":[\"requirement\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"normalized\":{},\"candidatesByLayer\":{},\"gapReport\":{},\"layerQuality\":{},\"layerConfidence\":{},\"metadata\":{}},\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","options":{"validateInputs":true},"isProcessorWorkflow":false},"geminiTicketContextSnapshotWorkflow":{"name":"gemini-ticket-context-snapshot","steps":{"geminiTicketContextStep":{"id":"geminiTicketContextStep","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\",\"description\":\"Feature requirement to analyze\"},\"topK\":{\"type\":\"number\",\"description\":\"Number of results to return\"},\"repositoryName\":{\"type\":\"string\",\"default\":\"mmbely/qeek\",\"description\":\"Repository name\"}},\"required\":[\"requirement\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"normalized\":{},\"candidatesByLayer\":{},\"gapReport\":{},\"layerQuality\":{},\"layerConfidence\":{},\"metadata\":{}},\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"}},"allSteps":{"geminiTicketContextStep":{"id":"geminiTicketContextStep","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\",\"description\":\"Feature requirement to analyze\"},\"topK\":{\"type\":\"number\",\"description\":\"Number of results to return\"},\"repositoryName\":{\"type\":\"string\",\"default\":\"mmbely/qeek\",\"description\":\"Repository name\"}},\"required\":[\"requirement\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"normalized\":{},\"candidatesByLayer\":{},\"gapReport\":{},\"layerQuality\":{},\"layerConfidence\":{},\"metadata\":{}},\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false}},"stepGraph":[{"type":"step","step":{"id":"geminiTicketContextStep","canSuspend":false}}],"inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\",\"description\":\"Feature requirement to analyze\"},\"topK\":{\"type\":\"number\",\"description\":\"Number of results to return\"},\"repositoryName\":{\"type\":\"string\",\"default\":\"mmbely/qeek\",\"description\":\"Repository name\"}},\"required\":[\"requirement\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"normalized\":{},\"candidatesByLayer\":{},\"gapReport\":{},\"layerQuality\":{},\"layerConfidence\":{},\"metadata\":{}},\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","options":{"validateInputs":true},"isProcessorWorkflow":false},"atomicTicketMultiStepWorkflow":{"name":"atomic-ticket-multi-step","steps":{"intentProcessing":{"id":"intentProcessing","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\"},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"default\":[\"mmbely/qeek\"]},\"topK\":{\"type\":\"number\"},\"maxConcepts\":{\"type\":\"number\",\"default\":8},\"concurrency\":{\"type\":\"number\",\"default\":3},\"evidenceLimit\":{\"type\":\"number\",\"default\":12},\"generateTicketSpec\":{\"type\":\"boolean\",\"default\":true},\"minimalContext\":{\"type\":\"boolean\",\"default\":true},\"searchVersion\":{\"type\":\"string\",\"enum\":[\"v1.2\",\"v1.3\",\"v1.4\",\"v1.5\"],\"default\":\"v1.5\"},\"intentModel\":{\"type\":\"string\"},\"validationModel\":{\"type\":\"string\"},\"synthesisModel\":{\"type\":\"string\"},\"ticketModel\":{\"type\":\"string\"},\"_trace\":{\"type\":\"array\"}},\"required\":[\"requirement\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"concepts\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"searchTerms\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"priority\":{\"type\":\"string\",\"enum\":[\"high\",\"medium\",\"low\"]},\"category\":{\"type\":\"string\"}},\"required\":[\"concept\",\"searchTerms\",\"priority\",\"category\"],\"additionalProperties\":false}},\"searchQueries\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"focusAreas\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"technicalKeywords\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"_trace\":{\"type\":\"array\"}},\"required\":[\"concepts\",\"searchQueries\",\"focusAreas\",\"technicalKeywords\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"},"searchConcepts":{"id":"searchConcepts","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\"},\"concepts\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"searchTerms\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"priority\":{\"type\":\"string\",\"enum\":[\"high\",\"medium\",\"low\"]},\"category\":{\"type\":\"string\"}},\"required\":[\"concept\",\"searchTerms\",\"priority\",\"category\"],\"additionalProperties\":false}},\"searchQueries\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"focusAreas\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"technicalKeywords\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"default\":[\"mmbely/qeek\"]},\"topK\":{\"type\":\"number\"},\"concurrency\":{\"type\":\"number\",\"default\":3},\"evidenceLimit\":{\"type\":\"number\",\"default\":12},\"searchVersion\":{\"type\":\"string\",\"enum\":[\"v1.2\",\"v1.3\",\"v1.4\",\"v1.5\"],\"default\":\"v1.5\"},\"intentModel\":{\"type\":\"string\"},\"validationModel\":{\"type\":\"string\"},\"synthesisModel\":{\"type\":\"string\"},\"ticketModel\":{\"type\":\"string\"},\"_trace\":{\"type\":\"array\"}},\"required\":[\"concepts\",\"searchQueries\",\"focusAreas\",\"technicalKeywords\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"perConcept\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"searchTerms\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"priority\":{\"type\":\"string\",\"enum\":[\"high\",\"medium\",\"low\"]},\"category\":{\"type\":\"string\"}},\"required\":[\"concept\",\"searchTerms\",\"priority\",\"category\"],\"additionalProperties\":false},\"searchResults\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"filePath\":{\"type\":\"string\"},\"elementType\":{\"type\":\"string\"},\"elementName\":{\"type\":\"string\"},\"similarity\":{\"type\":\"number\"},\"embeddedTextPreview\":{\"type\":\"string\"},\"additionalDetails\":{\"type\":\"string\"},\"importedPaths\":{\"type\":\"array\"},\"semanticScore\":{\"type\":\"number\"},\"bm25Score\":{\"type\":\"number\"},\"hybridScore\":{\"type\":\"number\"}},\"required\":[\"filePath\",\"elementType\",\"similarity\",\"embeddedTextPreview\",\"additionalDetails\"],\"additionalProperties\":false}}},\"required\":[\"concept\",\"searchResults\"],\"additionalProperties\":false}},\"_trace\":{\"type\":\"array\"}},\"required\":[\"perConcept\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"},"validateConcepts":{"id":"validateConcepts","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\"},\"concepts\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"searchTerms\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"priority\":{\"type\":\"string\",\"enum\":[\"high\",\"medium\",\"low\"]},\"category\":{\"type\":\"string\"}},\"required\":[\"concept\",\"searchTerms\",\"priority\",\"category\"],\"additionalProperties\":false}},\"perConcept\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"searchTerms\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"priority\":{\"type\":\"string\",\"enum\":[\"high\",\"medium\",\"low\"]},\"category\":{\"type\":\"string\"}},\"required\":[\"concept\",\"searchTerms\",\"priority\",\"category\"],\"additionalProperties\":false},\"searchResults\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"filePath\":{\"type\":\"string\"},\"elementType\":{\"type\":\"string\"},\"elementName\":{\"type\":\"string\"},\"similarity\":{\"type\":\"number\"},\"embeddedTextPreview\":{\"type\":\"string\"},\"additionalDetails\":{\"type\":\"string\"},\"importedPaths\":{\"type\":\"array\"},\"semanticScore\":{\"type\":\"number\"},\"bm25Score\":{\"type\":\"number\"},\"hybridScore\":{\"type\":\"number\"}},\"required\":[\"filePath\",\"elementType\",\"similarity\",\"embeddedTextPreview\",\"additionalDetails\"],\"additionalProperties\":false}}},\"required\":[\"concept\",\"searchResults\"],\"additionalProperties\":false}},\"evidenceLimit\":{\"type\":\"number\",\"default\":12},\"intentModel\":{\"type\":\"string\"},\"validationModel\":{\"type\":\"string\"},\"synthesisModel\":{\"type\":\"string\"},\"ticketModel\":{\"type\":\"string\"},\"_trace\":{\"type\":\"array\"}},\"required\":[\"perConcept\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"validations\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"status\":{\"type\":\"string\",\"enum\":[\"present\",\"partial\",\"absent\"]},\"where\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"filePath\":{\"type\":\"string\"},\"elementType\":{\"type\":\"string\"},\"elementName\":{\"type\":\"string\"},\"evidence\":{\"type\":\"object\",\"properties\":{\"embeddedTextPreview\":{\"type\":\"string\"},\"additionalDetails\":{\"type\":\"string\"},\"importedPaths\":{\"type\":\"array\"}},\"additionalProperties\":false},\"score\":{\"type\":\"number\"}},\"required\":[\"filePath\",\"elementType\",\"evidence\"],\"additionalProperties\":false}},\"how\":{\"type\":\"string\"},\"confidence\":{\"type\":\"number\"},\"rationale\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"gaps\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"concept\",\"status\",\"where\",\"how\",\"confidence\",\"rationale\"],\"additionalProperties\":false}},\"_trace\":{\"type\":\"array\"}},\"required\":[\"validations\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"},"synthesizeResults":{"id":"synthesizeResults","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\"},\"concepts\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"searchTerms\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"priority\":{\"type\":\"string\",\"enum\":[\"high\",\"medium\",\"low\"]},\"category\":{\"type\":\"string\"}},\"required\":[\"concept\",\"searchTerms\",\"priority\",\"category\"],\"additionalProperties\":false}},\"validations\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"status\":{\"type\":\"string\",\"enum\":[\"present\",\"partial\",\"absent\"]},\"where\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"filePath\":{\"type\":\"string\"},\"elementType\":{\"type\":\"string\"},\"elementName\":{\"type\":\"string\"},\"evidence\":{\"type\":\"object\",\"properties\":{\"embeddedTextPreview\":{\"type\":\"string\"},\"additionalDetails\":{\"type\":\"string\"},\"importedPaths\":{\"type\":\"array\"}},\"additionalProperties\":false},\"score\":{\"type\":\"number\"}},\"required\":[\"filePath\",\"elementType\",\"evidence\"],\"additionalProperties\":false}},\"how\":{\"type\":\"string\"},\"confidence\":{\"type\":\"number\"},\"rationale\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"gaps\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"concept\",\"status\",\"where\",\"how\",\"confidence\",\"rationale\"],\"additionalProperties\":false}},\"intentModel\":{\"type\":\"string\"},\"validationModel\":{\"type\":\"string\"},\"synthesisModel\":{\"type\":\"string\"},\"ticketModel\":{\"type\":\"string\"},\"_trace\":{\"type\":\"array\"}},\"required\":[\"validations\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"synthesis\":{\"type\":\"object\",\"properties\":{\"overallStatus\":{\"type\":\"string\",\"enum\":[\"ready\",\"partially_ready\",\"not_ready\"]},\"summary\":{\"type\":\"string\"},\"conceptResults\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"status\":{\"type\":\"string\",\"enum\":[\"present\",\"partial\",\"absent\"]},\"where\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"filePath\":{\"type\":\"string\"},\"elementType\":{\"type\":\"string\"},\"elementName\":{\"type\":\"string\"},\"evidence\":{\"type\":\"object\",\"properties\":{\"embeddedTextPreview\":{\"type\":\"string\"},\"additionalDetails\":{\"type\":\"string\"},\"importedPaths\":{\"type\":\"array\"}},\"additionalProperties\":false},\"score\":{\"type\":\"number\"}},\"required\":[\"filePath\",\"elementType\",\"evidence\"],\"additionalProperties\":false}},\"how\":{\"type\":\"string\"},\"confidence\":{\"type\":\"number\"},\"rationale\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"gaps\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"concept\",\"status\",\"where\",\"how\",\"confidence\",\"rationale\"],\"additionalProperties\":false}},\"recommendations\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"overallStatus\",\"summary\",\"conceptResults\",\"recommendations\"],\"additionalProperties\":false},\"_trace\":{\"type\":\"array\"}},\"required\":[\"synthesis\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"},"generateTicketSpec":{"id":"generateTicketSpec","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\"},\"concepts\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"searchTerms\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"priority\":{\"type\":\"string\",\"enum\":[\"high\",\"medium\",\"low\"]},\"category\":{\"type\":\"string\"}},\"required\":[\"concept\",\"searchTerms\",\"priority\",\"category\"],\"additionalProperties\":false}},\"validations\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"status\":{\"type\":\"string\",\"enum\":[\"present\",\"partial\",\"absent\"]},\"where\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"filePath\":{\"type\":\"string\"},\"elementType\":{\"type\":\"string\"},\"elementName\":{\"type\":\"string\"},\"evidence\":{\"type\":\"object\",\"properties\":{\"embeddedTextPreview\":{\"type\":\"string\"},\"additionalDetails\":{\"type\":\"string\"},\"importedPaths\":{\"type\":\"array\"}},\"additionalProperties\":false},\"score\":{\"type\":\"number\"}},\"required\":[\"filePath\",\"elementType\",\"evidence\"],\"additionalProperties\":false}},\"how\":{\"type\":\"string\"},\"confidence\":{\"type\":\"number\"},\"rationale\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"gaps\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"concept\",\"status\",\"where\",\"how\",\"confidence\",\"rationale\"],\"additionalProperties\":false}},\"synthesis\":{\"type\":\"object\",\"properties\":{\"overallStatus\":{\"type\":\"string\",\"enum\":[\"ready\",\"partially_ready\",\"not_ready\"]},\"summary\":{\"type\":\"string\"},\"conceptResults\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"status\":{\"type\":\"string\",\"enum\":[\"present\",\"partial\",\"absent\"]},\"where\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"filePath\":{\"type\":\"string\"},\"elementType\":{\"type\":\"string\"},\"elementName\":{\"type\":\"string\"},\"evidence\":{\"type\":\"object\",\"properties\":{\"embeddedTextPreview\":{\"type\":\"string\"},\"additionalDetails\":{\"type\":\"string\"},\"importedPaths\":{\"type\":\"array\"}},\"additionalProperties\":false},\"score\":{\"type\":\"number\"}},\"required\":[\"filePath\",\"elementType\",\"evidence\"],\"additionalProperties\":false}},\"how\":{\"type\":\"string\"},\"confidence\":{\"type\":\"number\"},\"rationale\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"gaps\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"concept\",\"status\",\"where\",\"how\",\"confidence\",\"rationale\"],\"additionalProperties\":false}},\"recommendations\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"overallStatus\",\"summary\",\"conceptResults\",\"recommendations\"],\"additionalProperties\":false},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"default\":[\"mmbely/qeek\"]},\"searchVersion\":{\"type\":\"string\",\"enum\":[\"v1.2\",\"v1.3\",\"v1.4\",\"v1.5\"],\"default\":\"v1.5\"},\"intentModel\":{\"type\":\"string\"},\"validationModel\":{\"type\":\"string\"},\"synthesisModel\":{\"type\":\"string\"},\"ticketModel\":{\"type\":\"string\"},\"_trace\":{\"type\":\"array\"}},\"required\":[\"requirement\",\"concepts\",\"validations\",\"synthesis\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"ticketSpec\":{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\"},\"goal\":{\"type\":\"string\"},\"background\":{\"type\":\"string\"},\"acceptanceCriteria\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"tasks\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"owner\":{\"type\":\"string\",\"enum\":[\"frontend\",\"backend\",\"infra\",\"fullstack\"]},\"estimate\":{\"type\":\"string\",\"enum\":[\"S\",\"M\",\"L\",\"XL\"]}},\"required\":[\"title\",\"description\",\"owner\",\"estimate\"],\"additionalProperties\":false}},\"dependencies\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"risks\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"outOfScope\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"metrics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"title\",\"goal\",\"background\",\"acceptanceCriteria\",\"tasks\",\"dependencies\",\"risks\",\"outOfScope\",\"metrics\"],\"additionalProperties\":false},\"executionMetadata\":{\"type\":\"object\",\"properties\":{\"modelsUsed\":{\"type\":\"object\",\"properties\":{\"intentModel\":{\"type\":\"string\"},\"searchModel\":{\"type\":\"string\"},\"validationModel\":{\"type\":\"string\"},\"synthesisModel\":{\"type\":\"string\"},\"ticketGenerationModel\":{\"type\":\"string\"}},\"additionalProperties\":false},\"estimatedCosts\":{\"type\":\"object\",\"properties\":{\"intentProcessing\":{\"type\":\"number\"},\"searchProcessing\":{\"type\":\"number\"},\"validationProcessing\":{\"type\":\"number\"},\"synthesisProcessing\":{\"type\":\"number\"},\"ticketGeneration\":{\"type\":\"number\"},\"total\":{\"type\":\"number\"}},\"additionalProperties\":false},\"executionTime\":{\"type\":\"object\",\"properties\":{\"intentProcessing\":{\"type\":\"number\"},\"searchProcessing\":{\"type\":\"number\"},\"validationProcessing\":{\"type\":\"number\"},\"synthesisProcessing\":{\"type\":\"number\"},\"ticketGeneration\":{\"type\":\"number\"},\"total\":{\"type\":\"number\"}},\"additionalProperties\":false},\"conceptsProcessed\":{\"type\":\"number\"},\"validationsGenerated\":{\"type\":\"number\"}},\"required\":[\"modelsUsed\",\"estimatedCosts\",\"executionTime\",\"conceptsProcessed\",\"validationsGenerated\"],\"additionalProperties\":false},\"trace\":{\"type\":\"array\"}},\"required\":[\"ticketSpec\",\"executionMetadata\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"}},"allSteps":{"intentProcessing":{"id":"intentProcessing","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\"},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"default\":[\"mmbely/qeek\"]},\"topK\":{\"type\":\"number\"},\"maxConcepts\":{\"type\":\"number\",\"default\":8},\"concurrency\":{\"type\":\"number\",\"default\":3},\"evidenceLimit\":{\"type\":\"number\",\"default\":12},\"generateTicketSpec\":{\"type\":\"boolean\",\"default\":true},\"minimalContext\":{\"type\":\"boolean\",\"default\":true},\"searchVersion\":{\"type\":\"string\",\"enum\":[\"v1.2\",\"v1.3\",\"v1.4\",\"v1.5\"],\"default\":\"v1.5\"},\"intentModel\":{\"type\":\"string\"},\"validationModel\":{\"type\":\"string\"},\"synthesisModel\":{\"type\":\"string\"},\"ticketModel\":{\"type\":\"string\"},\"_trace\":{\"type\":\"array\"}},\"required\":[\"requirement\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"concepts\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"searchTerms\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"priority\":{\"type\":\"string\",\"enum\":[\"high\",\"medium\",\"low\"]},\"category\":{\"type\":\"string\"}},\"required\":[\"concept\",\"searchTerms\",\"priority\",\"category\"],\"additionalProperties\":false}},\"searchQueries\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"focusAreas\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"technicalKeywords\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"_trace\":{\"type\":\"array\"}},\"required\":[\"concepts\",\"searchQueries\",\"focusAreas\",\"technicalKeywords\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false},"searchConcepts":{"id":"searchConcepts","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\"},\"concepts\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"searchTerms\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"priority\":{\"type\":\"string\",\"enum\":[\"high\",\"medium\",\"low\"]},\"category\":{\"type\":\"string\"}},\"required\":[\"concept\",\"searchTerms\",\"priority\",\"category\"],\"additionalProperties\":false}},\"searchQueries\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"focusAreas\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"technicalKeywords\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"default\":[\"mmbely/qeek\"]},\"topK\":{\"type\":\"number\"},\"concurrency\":{\"type\":\"number\",\"default\":3},\"evidenceLimit\":{\"type\":\"number\",\"default\":12},\"searchVersion\":{\"type\":\"string\",\"enum\":[\"v1.2\",\"v1.3\",\"v1.4\",\"v1.5\"],\"default\":\"v1.5\"},\"intentModel\":{\"type\":\"string\"},\"validationModel\":{\"type\":\"string\"},\"synthesisModel\":{\"type\":\"string\"},\"ticketModel\":{\"type\":\"string\"},\"_trace\":{\"type\":\"array\"}},\"required\":[\"concepts\",\"searchQueries\",\"focusAreas\",\"technicalKeywords\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"perConcept\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"searchTerms\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"priority\":{\"type\":\"string\",\"enum\":[\"high\",\"medium\",\"low\"]},\"category\":{\"type\":\"string\"}},\"required\":[\"concept\",\"searchTerms\",\"priority\",\"category\"],\"additionalProperties\":false},\"searchResults\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"filePath\":{\"type\":\"string\"},\"elementType\":{\"type\":\"string\"},\"elementName\":{\"type\":\"string\"},\"similarity\":{\"type\":\"number\"},\"embeddedTextPreview\":{\"type\":\"string\"},\"additionalDetails\":{\"type\":\"string\"},\"importedPaths\":{\"type\":\"array\"},\"semanticScore\":{\"type\":\"number\"},\"bm25Score\":{\"type\":\"number\"},\"hybridScore\":{\"type\":\"number\"}},\"required\":[\"filePath\",\"elementType\",\"similarity\",\"embeddedTextPreview\",\"additionalDetails\"],\"additionalProperties\":false}}},\"required\":[\"concept\",\"searchResults\"],\"additionalProperties\":false}},\"_trace\":{\"type\":\"array\"}},\"required\":[\"perConcept\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false},"validateConcepts":{"id":"validateConcepts","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\"},\"concepts\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"searchTerms\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"priority\":{\"type\":\"string\",\"enum\":[\"high\",\"medium\",\"low\"]},\"category\":{\"type\":\"string\"}},\"required\":[\"concept\",\"searchTerms\",\"priority\",\"category\"],\"additionalProperties\":false}},\"perConcept\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"searchTerms\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"priority\":{\"type\":\"string\",\"enum\":[\"high\",\"medium\",\"low\"]},\"category\":{\"type\":\"string\"}},\"required\":[\"concept\",\"searchTerms\",\"priority\",\"category\"],\"additionalProperties\":false},\"searchResults\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"filePath\":{\"type\":\"string\"},\"elementType\":{\"type\":\"string\"},\"elementName\":{\"type\":\"string\"},\"similarity\":{\"type\":\"number\"},\"embeddedTextPreview\":{\"type\":\"string\"},\"additionalDetails\":{\"type\":\"string\"},\"importedPaths\":{\"type\":\"array\"},\"semanticScore\":{\"type\":\"number\"},\"bm25Score\":{\"type\":\"number\"},\"hybridScore\":{\"type\":\"number\"}},\"required\":[\"filePath\",\"elementType\",\"similarity\",\"embeddedTextPreview\",\"additionalDetails\"],\"additionalProperties\":false}}},\"required\":[\"concept\",\"searchResults\"],\"additionalProperties\":false}},\"evidenceLimit\":{\"type\":\"number\",\"default\":12},\"intentModel\":{\"type\":\"string\"},\"validationModel\":{\"type\":\"string\"},\"synthesisModel\":{\"type\":\"string\"},\"ticketModel\":{\"type\":\"string\"},\"_trace\":{\"type\":\"array\"}},\"required\":[\"perConcept\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"validations\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"status\":{\"type\":\"string\",\"enum\":[\"present\",\"partial\",\"absent\"]},\"where\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"filePath\":{\"type\":\"string\"},\"elementType\":{\"type\":\"string\"},\"elementName\":{\"type\":\"string\"},\"evidence\":{\"type\":\"object\",\"properties\":{\"embeddedTextPreview\":{\"type\":\"string\"},\"additionalDetails\":{\"type\":\"string\"},\"importedPaths\":{\"type\":\"array\"}},\"additionalProperties\":false},\"score\":{\"type\":\"number\"}},\"required\":[\"filePath\",\"elementType\",\"evidence\"],\"additionalProperties\":false}},\"how\":{\"type\":\"string\"},\"confidence\":{\"type\":\"number\"},\"rationale\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"gaps\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"concept\",\"status\",\"where\",\"how\",\"confidence\",\"rationale\"],\"additionalProperties\":false}},\"_trace\":{\"type\":\"array\"}},\"required\":[\"validations\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false},"synthesizeResults":{"id":"synthesizeResults","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\"},\"concepts\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"searchTerms\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"priority\":{\"type\":\"string\",\"enum\":[\"high\",\"medium\",\"low\"]},\"category\":{\"type\":\"string\"}},\"required\":[\"concept\",\"searchTerms\",\"priority\",\"category\"],\"additionalProperties\":false}},\"validations\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"status\":{\"type\":\"string\",\"enum\":[\"present\",\"partial\",\"absent\"]},\"where\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"filePath\":{\"type\":\"string\"},\"elementType\":{\"type\":\"string\"},\"elementName\":{\"type\":\"string\"},\"evidence\":{\"type\":\"object\",\"properties\":{\"embeddedTextPreview\":{\"type\":\"string\"},\"additionalDetails\":{\"type\":\"string\"},\"importedPaths\":{\"type\":\"array\"}},\"additionalProperties\":false},\"score\":{\"type\":\"number\"}},\"required\":[\"filePath\",\"elementType\",\"evidence\"],\"additionalProperties\":false}},\"how\":{\"type\":\"string\"},\"confidence\":{\"type\":\"number\"},\"rationale\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"gaps\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"concept\",\"status\",\"where\",\"how\",\"confidence\",\"rationale\"],\"additionalProperties\":false}},\"intentModel\":{\"type\":\"string\"},\"validationModel\":{\"type\":\"string\"},\"synthesisModel\":{\"type\":\"string\"},\"ticketModel\":{\"type\":\"string\"},\"_trace\":{\"type\":\"array\"}},\"required\":[\"validations\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"synthesis\":{\"type\":\"object\",\"properties\":{\"overallStatus\":{\"type\":\"string\",\"enum\":[\"ready\",\"partially_ready\",\"not_ready\"]},\"summary\":{\"type\":\"string\"},\"conceptResults\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"status\":{\"type\":\"string\",\"enum\":[\"present\",\"partial\",\"absent\"]},\"where\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"filePath\":{\"type\":\"string\"},\"elementType\":{\"type\":\"string\"},\"elementName\":{\"type\":\"string\"},\"evidence\":{\"type\":\"object\",\"properties\":{\"embeddedTextPreview\":{\"type\":\"string\"},\"additionalDetails\":{\"type\":\"string\"},\"importedPaths\":{\"type\":\"array\"}},\"additionalProperties\":false},\"score\":{\"type\":\"number\"}},\"required\":[\"filePath\",\"elementType\",\"evidence\"],\"additionalProperties\":false}},\"how\":{\"type\":\"string\"},\"confidence\":{\"type\":\"number\"},\"rationale\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"gaps\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"concept\",\"status\",\"where\",\"how\",\"confidence\",\"rationale\"],\"additionalProperties\":false}},\"recommendations\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"overallStatus\",\"summary\",\"conceptResults\",\"recommendations\"],\"additionalProperties\":false},\"_trace\":{\"type\":\"array\"}},\"required\":[\"synthesis\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false},"generateTicketSpec":{"id":"generateTicketSpec","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\"},\"concepts\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"searchTerms\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"priority\":{\"type\":\"string\",\"enum\":[\"high\",\"medium\",\"low\"]},\"category\":{\"type\":\"string\"}},\"required\":[\"concept\",\"searchTerms\",\"priority\",\"category\"],\"additionalProperties\":false}},\"validations\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"status\":{\"type\":\"string\",\"enum\":[\"present\",\"partial\",\"absent\"]},\"where\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"filePath\":{\"type\":\"string\"},\"elementType\":{\"type\":\"string\"},\"elementName\":{\"type\":\"string\"},\"evidence\":{\"type\":\"object\",\"properties\":{\"embeddedTextPreview\":{\"type\":\"string\"},\"additionalDetails\":{\"type\":\"string\"},\"importedPaths\":{\"type\":\"array\"}},\"additionalProperties\":false},\"score\":{\"type\":\"number\"}},\"required\":[\"filePath\",\"elementType\",\"evidence\"],\"additionalProperties\":false}},\"how\":{\"type\":\"string\"},\"confidence\":{\"type\":\"number\"},\"rationale\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"gaps\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"concept\",\"status\",\"where\",\"how\",\"confidence\",\"rationale\"],\"additionalProperties\":false}},\"synthesis\":{\"type\":\"object\",\"properties\":{\"overallStatus\":{\"type\":\"string\",\"enum\":[\"ready\",\"partially_ready\",\"not_ready\"]},\"summary\":{\"type\":\"string\"},\"conceptResults\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"status\":{\"type\":\"string\",\"enum\":[\"present\",\"partial\",\"absent\"]},\"where\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"filePath\":{\"type\":\"string\"},\"elementType\":{\"type\":\"string\"},\"elementName\":{\"type\":\"string\"},\"evidence\":{\"type\":\"object\",\"properties\":{\"embeddedTextPreview\":{\"type\":\"string\"},\"additionalDetails\":{\"type\":\"string\"},\"importedPaths\":{\"type\":\"array\"}},\"additionalProperties\":false},\"score\":{\"type\":\"number\"}},\"required\":[\"filePath\",\"elementType\",\"evidence\"],\"additionalProperties\":false}},\"how\":{\"type\":\"string\"},\"confidence\":{\"type\":\"number\"},\"rationale\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"gaps\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"concept\",\"status\",\"where\",\"how\",\"confidence\",\"rationale\"],\"additionalProperties\":false}},\"recommendations\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"overallStatus\",\"summary\",\"conceptResults\",\"recommendations\"],\"additionalProperties\":false},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"default\":[\"mmbely/qeek\"]},\"searchVersion\":{\"type\":\"string\",\"enum\":[\"v1.2\",\"v1.3\",\"v1.4\",\"v1.5\"],\"default\":\"v1.5\"},\"intentModel\":{\"type\":\"string\"},\"validationModel\":{\"type\":\"string\"},\"synthesisModel\":{\"type\":\"string\"},\"ticketModel\":{\"type\":\"string\"},\"_trace\":{\"type\":\"array\"}},\"required\":[\"requirement\",\"concepts\",\"validations\",\"synthesis\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"ticketSpec\":{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\"},\"goal\":{\"type\":\"string\"},\"background\":{\"type\":\"string\"},\"acceptanceCriteria\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"tasks\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"owner\":{\"type\":\"string\",\"enum\":[\"frontend\",\"backend\",\"infra\",\"fullstack\"]},\"estimate\":{\"type\":\"string\",\"enum\":[\"S\",\"M\",\"L\",\"XL\"]}},\"required\":[\"title\",\"description\",\"owner\",\"estimate\"],\"additionalProperties\":false}},\"dependencies\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"risks\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"outOfScope\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"metrics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"title\",\"goal\",\"background\",\"acceptanceCriteria\",\"tasks\",\"dependencies\",\"risks\",\"outOfScope\",\"metrics\"],\"additionalProperties\":false},\"executionMetadata\":{\"type\":\"object\",\"properties\":{\"modelsUsed\":{\"type\":\"object\",\"properties\":{\"intentModel\":{\"type\":\"string\"},\"searchModel\":{\"type\":\"string\"},\"validationModel\":{\"type\":\"string\"},\"synthesisModel\":{\"type\":\"string\"},\"ticketGenerationModel\":{\"type\":\"string\"}},\"additionalProperties\":false},\"estimatedCosts\":{\"type\":\"object\",\"properties\":{\"intentProcessing\":{\"type\":\"number\"},\"searchProcessing\":{\"type\":\"number\"},\"validationProcessing\":{\"type\":\"number\"},\"synthesisProcessing\":{\"type\":\"number\"},\"ticketGeneration\":{\"type\":\"number\"},\"total\":{\"type\":\"number\"}},\"additionalProperties\":false},\"executionTime\":{\"type\":\"object\",\"properties\":{\"intentProcessing\":{\"type\":\"number\"},\"searchProcessing\":{\"type\":\"number\"},\"validationProcessing\":{\"type\":\"number\"},\"synthesisProcessing\":{\"type\":\"number\"},\"ticketGeneration\":{\"type\":\"number\"},\"total\":{\"type\":\"number\"}},\"additionalProperties\":false},\"conceptsProcessed\":{\"type\":\"number\"},\"validationsGenerated\":{\"type\":\"number\"}},\"required\":[\"modelsUsed\",\"estimatedCosts\",\"executionTime\",\"conceptsProcessed\",\"validationsGenerated\"],\"additionalProperties\":false},\"trace\":{\"type\":\"array\"}},\"required\":[\"ticketSpec\",\"executionMetadata\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false}},"stepGraph":[{"type":"step","step":{"id":"intentProcessing","canSuspend":false}},{"type":"step","step":{"id":"searchConcepts","canSuspend":false}},{"type":"step","step":{"id":"validateConcepts","canSuspend":false}},{"type":"step","step":{"id":"synthesizeResults","canSuspend":false}},{"type":"step","step":{"id":"generateTicketSpec","canSuspend":false}}],"inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\"},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"default\":[\"mmbely/qeek\"]},\"topK\":{\"type\":\"number\"},\"maxConcepts\":{\"type\":\"number\",\"default\":8},\"concurrency\":{\"type\":\"number\",\"default\":3},\"evidenceLimit\":{\"type\":\"number\",\"default\":12},\"generateTicketSpec\":{\"type\":\"boolean\",\"default\":true},\"minimalContext\":{\"type\":\"boolean\",\"default\":true},\"searchVersion\":{\"type\":\"string\",\"enum\":[\"v1.2\",\"v1.3\",\"v1.4\",\"v1.5\"],\"default\":\"v1.5\"},\"intentModel\":{\"type\":\"string\"},\"validationModel\":{\"type\":\"string\"},\"synthesisModel\":{\"type\":\"string\"},\"ticketModel\":{\"type\":\"string\"}},\"required\":[\"requirement\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"ticketSpec\":{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\"},\"goal\":{\"type\":\"string\"},\"background\":{\"type\":\"string\"},\"acceptanceCriteria\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"tasks\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"owner\":{\"type\":\"string\",\"enum\":[\"frontend\",\"backend\",\"infra\",\"fullstack\"]},\"estimate\":{\"type\":\"string\",\"enum\":[\"S\",\"M\",\"L\",\"XL\"]}},\"required\":[\"title\",\"description\",\"owner\",\"estimate\"],\"additionalProperties\":false}},\"dependencies\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"risks\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"outOfScope\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"metrics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"title\",\"goal\",\"background\",\"acceptanceCriteria\",\"tasks\",\"dependencies\",\"risks\",\"outOfScope\",\"metrics\"],\"additionalProperties\":false},\"executionMetadata\":{\"type\":\"object\",\"properties\":{\"modelsUsed\":{\"type\":\"object\",\"properties\":{\"intentModel\":{\"type\":\"string\"},\"searchModel\":{\"type\":\"string\"},\"validationModel\":{\"type\":\"string\"},\"synthesisModel\":{\"type\":\"string\"},\"ticketGenerationModel\":{\"type\":\"string\"}},\"additionalProperties\":false},\"estimatedCosts\":{\"type\":\"object\",\"properties\":{\"intentProcessing\":{\"type\":\"number\"},\"searchProcessing\":{\"type\":\"number\"},\"validationProcessing\":{\"type\":\"number\"},\"synthesisProcessing\":{\"type\":\"number\"},\"ticketGeneration\":{\"type\":\"number\"},\"total\":{\"type\":\"number\"}},\"additionalProperties\":false},\"executionTime\":{\"type\":\"object\",\"properties\":{\"intentProcessing\":{\"type\":\"number\"},\"searchProcessing\":{\"type\":\"number\"},\"validationProcessing\":{\"type\":\"number\"},\"synthesisProcessing\":{\"type\":\"number\"},\"ticketGeneration\":{\"type\":\"number\"},\"total\":{\"type\":\"number\"}},\"additionalProperties\":false},\"conceptsProcessed\":{\"type\":\"number\"},\"validationsGenerated\":{\"type\":\"number\"}},\"required\":[\"modelsUsed\",\"estimatedCosts\",\"executionTime\",\"conceptsProcessed\",\"validationsGenerated\"],\"additionalProperties\":false},\"trace\":{\"type\":\"array\"}},\"required\":[\"ticketSpec\",\"executionMetadata\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","options":{"validateInputs":true},"isProcessorWorkflow":false},"atomicTicketV2Workflow":{"name":"atomic-ticket-v2","steps":{"loadCodeWikiContextOptional":{"id":"loadCodeWikiContextOptional","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\"},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"projectId\":{\"type\":\"string\"},\"topK\":{\"type\":\"number\"},\"maxConcepts\":{\"type\":\"number\"},\"concurrency\":{\"type\":\"number\"},\"evidenceLimit\":{\"type\":\"number\"},\"generateTicketSpec\":{\"type\":\"boolean\"},\"enableRepositoryFiltering\":{\"type\":\"boolean\"},\"fetchFullCodeForTopN\":{\"type\":\"number\"},\"intentModel\":{\"type\":\"string\"},\"validationModel\":{\"type\":\"string\"},\"synthesisModel\":{\"type\":\"string\"},\"ticketModel\":{\"type\":\"string\"}},\"required\":[\"requirement\",\"repositoryNames\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\"},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"projectId\":{\"type\":\"string\"},\"codeWikiContext\":{\"type\":\"object\",\"properties\":{\"architectureOverview\":{\"type\":[\"string\",\"null\"]},\"directoryStructures\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}},\"required\":[\"architectureOverview\",\"directoryStructures\"],\"additionalProperties\":false},\"topK\":{\"type\":\"number\"},\"maxConcepts\":{\"type\":\"number\"},\"concurrency\":{\"type\":\"number\"},\"evidenceLimit\":{\"type\":\"number\"},\"generateTicketSpec\":{\"type\":\"boolean\"},\"enableRepositoryFiltering\":{\"type\":\"boolean\"},\"fetchFullCodeForTopN\":{\"type\":\"number\"},\"intentModel\":{\"type\":\"string\"},\"validationModel\":{\"type\":\"string\"},\"synthesisModel\":{\"type\":\"string\"},\"ticketModel\":{\"type\":\"string\"},\"_trace\":{\"type\":\"array\"}},\"required\":[\"requirement\",\"repositoryNames\",\"codeWikiContext\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"},"intentProcessingV2":{"id":"intentProcessingV2","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\"},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"codeWikiContext\":{\"type\":\"object\",\"properties\":{\"architectureOverview\":{\"type\":[\"string\",\"null\"]},\"directoryStructures\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}},\"required\":[\"architectureOverview\",\"directoryStructures\"],\"additionalProperties\":false},\"topK\":{\"type\":\"number\"},\"maxConcepts\":{\"type\":\"number\",\"default\":8},\"concurrency\":{\"type\":\"number\",\"default\":3},\"evidenceLimit\":{\"type\":\"number\",\"default\":12},\"generateTicketSpec\":{\"type\":\"boolean\",\"default\":true},\"intentModel\":{\"type\":\"string\"},\"validationModel\":{\"type\":\"string\"},\"synthesisModel\":{\"type\":\"string\"},\"ticketModel\":{\"type\":\"string\"},\"_trace\":{\"type\":\"array\"}},\"required\":[\"requirement\",\"repositoryNames\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"concepts\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"searchTerms\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"priority\":{\"type\":\"string\",\"enum\":[\"high\",\"medium\",\"low\"]},\"category\":{\"type\":\"string\"}},\"required\":[\"concept\",\"searchTerms\",\"priority\",\"category\"],\"additionalProperties\":false}},\"searchQueries\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"focusAreas\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"technicalKeywords\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"_trace\":{\"type\":\"array\"}},\"required\":[\"concepts\",\"searchQueries\",\"focusAreas\",\"technicalKeywords\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"},"filterRepositoriesV2":{"id":"filterRepositoriesV2","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\"},\"concepts\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"searchTerms\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"priority\":{\"type\":\"string\",\"enum\":[\"high\",\"medium\",\"low\"]},\"category\":{\"type\":\"string\"}},\"required\":[\"concept\",\"searchTerms\",\"priority\",\"category\"],\"additionalProperties\":false}},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"codeWikiContext\":{\"type\":\"object\",\"properties\":{\"architectureOverview\":{\"type\":[\"string\",\"null\"]},\"directoryStructures\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}},\"required\":[\"architectureOverview\",\"directoryStructures\"],\"additionalProperties\":false},\"enableRepositoryFiltering\":{\"type\":\"boolean\",\"default\":true},\"validationModel\":{\"type\":\"string\"},\"synthesisModel\":{\"type\":\"string\"},\"ticketModel\":{\"type\":\"string\"},\"_trace\":{\"type\":\"array\"}},\"required\":[\"concepts\",\"repositoryNames\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\"},\"concepts\":{\"type\":\"array\"},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"codeWikiContext\":{\"type\":\"object\",\"properties\":{\"architectureOverview\":{\"type\":[\"string\",\"null\"]},\"directoryStructures\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}},\"required\":[\"architectureOverview\",\"directoryStructures\"],\"additionalProperties\":false},\"repositoryFilters\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"allowedRepositories\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"reason\":{\"type\":\"string\"},\"confidence\":{\"type\":\"number\"}},\"required\":[\"concept\",\"allowedRepositories\",\"reason\",\"confidence\"],\"additionalProperties\":false}},\"validationModel\":{\"type\":\"string\"},\"synthesisModel\":{\"type\":\"string\"},\"ticketModel\":{\"type\":\"string\"},\"_trace\":{\"type\":\"array\"}},\"required\":[\"repositoryFilters\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"},"searchConceptsV2":{"id":"searchConceptsV2","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\"},\"concepts\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"searchTerms\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"priority\":{\"type\":\"string\",\"enum\":[\"high\",\"medium\",\"low\"]},\"category\":{\"type\":\"string\"}},\"required\":[\"concept\",\"searchTerms\",\"priority\",\"category\"],\"additionalProperties\":false}},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"repositoryFilters\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"allowedRepositories\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"reason\":{\"type\":\"string\"},\"confidence\":{\"type\":\"number\"}},\"required\":[\"concept\",\"allowedRepositories\",\"reason\",\"confidence\"],\"additionalProperties\":false}},\"codeWikiContext\":{\"type\":\"object\",\"properties\":{\"architectureOverview\":{\"type\":[\"string\",\"null\"]},\"directoryStructures\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}},\"required\":[\"architectureOverview\",\"directoryStructures\"],\"additionalProperties\":false},\"topK\":{\"type\":\"number\",\"default\":20},\"concurrency\":{\"type\":\"number\",\"default\":3},\"fetchFullCodeForTopN\":{\"type\":\"number\",\"default\":0},\"validationModel\":{\"type\":\"string\"},\"synthesisModel\":{\"type\":\"string\"},\"ticketModel\":{\"type\":\"string\"},\"_trace\":{\"type\":\"array\"}},\"required\":[\"concepts\",\"repositoryNames\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\"},\"concepts\":{\"type\":\"array\"},\"perConcept\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"searchTerms\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"priority\":{\"type\":\"string\",\"enum\":[\"high\",\"medium\",\"low\"]},\"category\":{\"type\":\"string\"}},\"required\":[\"concept\",\"searchTerms\",\"priority\",\"category\"],\"additionalProperties\":false},\"searchResults\":{\"type\":\"array\"}},\"required\":[\"concept\",\"searchResults\"],\"additionalProperties\":false}},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"codeWikiContext\":{\"type\":\"object\",\"properties\":{\"architectureOverview\":{\"type\":[\"string\",\"null\"]},\"directoryStructures\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}},\"required\":[\"architectureOverview\",\"directoryStructures\"],\"additionalProperties\":false},\"validationModel\":{\"type\":\"string\"},\"synthesisModel\":{\"type\":\"string\"},\"ticketModel\":{\"type\":\"string\"},\"_trace\":{\"type\":\"array\"}},\"required\":[\"perConcept\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"},"validateConceptsV2":{"id":"validateConceptsV2","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\"},\"concepts\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"searchTerms\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"priority\":{\"type\":\"string\",\"enum\":[\"high\",\"medium\",\"low\"]},\"category\":{\"type\":\"string\"}},\"required\":[\"concept\",\"searchTerms\",\"priority\",\"category\"],\"additionalProperties\":false}},\"perConcept\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"searchTerms\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"priority\":{\"type\":\"string\",\"enum\":[\"high\",\"medium\",\"low\"]},\"category\":{\"type\":\"string\"}},\"required\":[\"concept\",\"searchTerms\",\"priority\",\"category\"],\"additionalProperties\":false},\"searchResults\":{\"type\":\"array\"}},\"required\":[\"concept\",\"searchResults\"],\"additionalProperties\":false}},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"codeWikiContext\":{\"type\":\"object\",\"properties\":{\"architectureOverview\":{\"type\":[\"string\",\"null\"]},\"directoryStructures\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}},\"required\":[\"architectureOverview\",\"directoryStructures\"],\"additionalProperties\":false},\"evidenceLimit\":{\"type\":\"number\",\"default\":12},\"validationModel\":{\"type\":\"string\"},\"synthesisModel\":{\"type\":\"string\"},\"ticketModel\":{\"type\":\"string\"},\"_trace\":{\"type\":\"array\"}},\"required\":[\"perConcept\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\"},\"concepts\":{\"type\":\"array\"},\"validations\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"status\":{\"type\":\"string\",\"enum\":[\"present\",\"partial\",\"absent\"]},\"where\":{\"type\":\"array\"},\"how\":{\"type\":\"string\"},\"confidence\":{\"type\":\"number\"},\"rationale\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"gaps\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"concept\",\"status\",\"where\",\"how\",\"confidence\",\"rationale\"],\"additionalProperties\":false}},\"perConcept\":{\"type\":\"array\"},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"codeWikiContext\":{\"type\":\"object\",\"properties\":{\"architectureOverview\":{\"type\":[\"string\",\"null\"]},\"directoryStructures\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}},\"required\":[\"architectureOverview\",\"directoryStructures\"],\"additionalProperties\":false},\"synthesisModel\":{\"type\":\"string\"},\"ticketModel\":{\"type\":\"string\"},\"_trace\":{\"type\":\"array\"}},\"required\":[\"validations\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"},"synthesizeResultsV2":{"id":"synthesizeResultsV2","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\"},\"concepts\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"searchTerms\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"priority\":{\"type\":\"string\",\"enum\":[\"high\",\"medium\",\"low\"]},\"category\":{\"type\":\"string\"}},\"required\":[\"concept\",\"searchTerms\",\"priority\",\"category\"],\"additionalProperties\":false}},\"validations\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"status\":{\"type\":\"string\",\"enum\":[\"present\",\"partial\",\"absent\"]},\"where\":{\"type\":\"array\"},\"how\":{\"type\":\"string\"},\"confidence\":{\"type\":\"number\"},\"rationale\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"gaps\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"concept\",\"status\",\"where\",\"how\",\"confidence\",\"rationale\"],\"additionalProperties\":false}},\"perConcept\":{\"type\":\"array\"},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"codeWikiContext\":{\"type\":\"object\",\"properties\":{\"architectureOverview\":{\"type\":[\"string\",\"null\"]},\"directoryStructures\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}},\"required\":[\"architectureOverview\",\"directoryStructures\"],\"additionalProperties\":false},\"synthesisModel\":{\"type\":\"string\"},\"ticketModel\":{\"type\":\"string\"},\"_trace\":{\"type\":\"array\"}},\"required\":[\"validations\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\"},\"concepts\":{\"type\":\"array\"},\"validations\":{\"type\":\"array\"},\"perConcept\":{\"type\":\"array\"},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"codeWikiContext\":{\"type\":\"object\",\"properties\":{\"architectureOverview\":{\"type\":[\"string\",\"null\"]},\"directoryStructures\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}},\"required\":[\"architectureOverview\",\"directoryStructures\"],\"additionalProperties\":false},\"synthesis\":{\"type\":\"object\",\"properties\":{\"overallStatus\":{\"type\":\"string\",\"enum\":[\"ready\",\"partially_ready\",\"not_ready\"]},\"summary\":{\"type\":\"string\"},\"conceptResults\":{\"type\":\"array\"},\"recommendations\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"overallStatus\",\"summary\",\"conceptResults\",\"recommendations\"],\"additionalProperties\":false},\"ticketModel\":{\"type\":\"string\"},\"_trace\":{\"type\":\"array\"}},\"required\":[\"synthesis\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"},"generateTicketSpecV2":{"id":"generateTicketSpecV2","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\"},\"concepts\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"searchTerms\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"priority\":{\"type\":\"string\",\"enum\":[\"high\",\"medium\",\"low\"]},\"category\":{\"type\":\"string\"}},\"required\":[\"concept\",\"searchTerms\",\"priority\",\"category\"],\"additionalProperties\":false}},\"validations\":{\"type\":\"array\"},\"synthesis\":{\"type\":\"object\",\"properties\":{\"overallStatus\":{\"type\":\"string\",\"enum\":[\"ready\",\"partially_ready\",\"not_ready\"]},\"summary\":{\"type\":\"string\"},\"conceptResults\":{\"type\":\"array\"},\"recommendations\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"overallStatus\",\"summary\",\"conceptResults\",\"recommendations\"],\"additionalProperties\":false},\"perConcept\":{\"type\":\"array\"},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"codeWikiContext\":{\"type\":\"object\",\"properties\":{\"architectureOverview\":{\"type\":[\"string\",\"null\"]},\"directoryStructures\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}},\"required\":[\"architectureOverview\",\"directoryStructures\"],\"additionalProperties\":false},\"generateTicketSpec\":{\"type\":\"boolean\",\"default\":true},\"ticketModel\":{\"type\":\"string\"},\"_trace\":{\"type\":\"array\"}},\"required\":[\"requirement\",\"concepts\",\"validations\",\"synthesis\",\"repositoryNames\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"ticketSpec\":{},\"requirement\":{\"type\":\"string\"},\"concepts\":{\"type\":\"array\"},\"validations\":{\"type\":\"array\"},\"synthesis\":{},\"perConcept\":{\"type\":\"array\"},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"codeWikiContext\":{},\"generateTicketSpec\":{\"type\":\"boolean\"},\"ticketModel\":{\"type\":\"string\"},\"_trace\":{\"type\":\"array\"}},\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"},"buildMetadataV2":{"id":"buildMetadataV2","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\"},\"concepts\":{\"type\":\"array\"},\"perConcept\":{\"type\":\"array\"},\"synthesis\":{\"type\":\"object\",\"properties\":{\"overallStatus\":{\"type\":\"string\",\"enum\":[\"ready\",\"partially_ready\",\"not_ready\"]},\"summary\":{\"type\":\"string\"},\"conceptResults\":{\"type\":\"array\"},\"recommendations\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"overallStatus\",\"summary\",\"conceptResults\",\"recommendations\"],\"additionalProperties\":false},\"ticketSpec\":{},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"codeWikiContext\":{\"type\":\"object\",\"properties\":{\"architectureOverview\":{\"type\":[\"string\",\"null\"]},\"directoryStructures\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}},\"required\":[\"architectureOverview\",\"directoryStructures\"],\"additionalProperties\":false},\"repositoryFilters\":{\"type\":\"array\"},\"validations\":{\"type\":\"array\"},\"intentModel\":{\"type\":\"string\"},\"validationModel\":{\"type\":\"string\"},\"synthesisModel\":{\"type\":\"string\"},\"ticketModel\":{\"type\":\"string\"},\"generateTicketSpec\":{\"type\":\"boolean\"},\"_trace\":{\"type\":\"array\"}},\"required\":[\"concepts\",\"perConcept\",\"synthesis\",\"repositoryNames\",\"_trace\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"ticketSpec\":{},\"concepts\":{\"type\":\"array\"},\"perConcept\":{\"type\":\"array\"},\"synthesis\":{\"type\":\"object\",\"properties\":{\"overallStatus\":{\"type\":\"string\",\"enum\":[\"ready\",\"partially_ready\",\"not_ready\"]},\"summary\":{\"type\":\"string\"},\"conceptResults\":{\"type\":\"array\"},\"recommendations\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"overallStatus\",\"summary\",\"conceptResults\",\"recommendations\"],\"additionalProperties\":false},\"metadata\":{\"type\":\"object\",\"properties\":{\"processedAt\":{\"type\":\"string\"},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"codeWikiContext\":{},\"repositoryFilters\":{\"type\":\"array\"},\"durationsMs\":{\"type\":\"object\",\"properties\":{\"total\":{\"type\":\"number\"},\"codeWikiMs\":{\"type\":\"number\"},\"intentMs\":{\"type\":\"number\"},\"filteringMs\":{\"type\":\"number\"},\"searchAndValidateMs\":{\"type\":\"number\"},\"synthesisMs\":{\"type\":\"number\"},\"ticketSpecMs\":{\"type\":\"number\"}},\"required\":[\"total\"],\"additionalProperties\":false},\"modelsUsed\":{\"type\":\"object\",\"properties\":{\"intentModel\":{\"type\":\"string\"},\"searchModel\":{\"type\":\"string\"},\"validationModel\":{\"type\":\"string\"},\"synthesisModel\":{\"type\":\"string\"},\"ticketGenerationModel\":{\"type\":\"string\"}},\"required\":[\"intentModel\",\"searchModel\",\"validationModel\",\"synthesisModel\"],\"additionalProperties\":false},\"estimatedCosts\":{\"type\":\"object\",\"properties\":{\"codeWikiLoading\":{\"type\":\"number\"},\"intentProcessing\":{\"type\":\"number\"},\"searchProcessing\":{\"type\":\"number\"},\"validationProcessing\":{\"type\":\"number\"},\"synthesisProcessing\":{\"type\":\"number\"},\"ticketGeneration\":{\"type\":\"number\"},\"total\":{\"type\":\"number\"}},\"required\":[\"intentProcessing\",\"searchProcessing\",\"validationProcessing\",\"synthesisProcessing\",\"total\"],\"additionalProperties\":false}},\"required\":[\"processedAt\",\"repositoryNames\",\"durationsMs\",\"modelsUsed\",\"estimatedCosts\"],\"additionalProperties\":false},\"trace\":{\"type\":\"array\"}},\"required\":[\"concepts\",\"perConcept\",\"synthesis\",\"metadata\",\"trace\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"}},"allSteps":{"loadCodeWikiContextOptional":{"id":"loadCodeWikiContextOptional","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\"},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"projectId\":{\"type\":\"string\"},\"topK\":{\"type\":\"number\"},\"maxConcepts\":{\"type\":\"number\"},\"concurrency\":{\"type\":\"number\"},\"evidenceLimit\":{\"type\":\"number\"},\"generateTicketSpec\":{\"type\":\"boolean\"},\"enableRepositoryFiltering\":{\"type\":\"boolean\"},\"fetchFullCodeForTopN\":{\"type\":\"number\"},\"intentModel\":{\"type\":\"string\"},\"validationModel\":{\"type\":\"string\"},\"synthesisModel\":{\"type\":\"string\"},\"ticketModel\":{\"type\":\"string\"}},\"required\":[\"requirement\",\"repositoryNames\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\"},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"projectId\":{\"type\":\"string\"},\"codeWikiContext\":{\"type\":\"object\",\"properties\":{\"architectureOverview\":{\"type\":[\"string\",\"null\"]},\"directoryStructures\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}},\"required\":[\"architectureOverview\",\"directoryStructures\"],\"additionalProperties\":false},\"topK\":{\"type\":\"number\"},\"maxConcepts\":{\"type\":\"number\"},\"concurrency\":{\"type\":\"number\"},\"evidenceLimit\":{\"type\":\"number\"},\"generateTicketSpec\":{\"type\":\"boolean\"},\"enableRepositoryFiltering\":{\"type\":\"boolean\"},\"fetchFullCodeForTopN\":{\"type\":\"number\"},\"intentModel\":{\"type\":\"string\"},\"validationModel\":{\"type\":\"string\"},\"synthesisModel\":{\"type\":\"string\"},\"ticketModel\":{\"type\":\"string\"},\"_trace\":{\"type\":\"array\"}},\"required\":[\"requirement\",\"repositoryNames\",\"codeWikiContext\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false},"intentProcessingV2":{"id":"intentProcessingV2","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\"},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"codeWikiContext\":{\"type\":\"object\",\"properties\":{\"architectureOverview\":{\"type\":[\"string\",\"null\"]},\"directoryStructures\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}},\"required\":[\"architectureOverview\",\"directoryStructures\"],\"additionalProperties\":false},\"topK\":{\"type\":\"number\"},\"maxConcepts\":{\"type\":\"number\",\"default\":8},\"concurrency\":{\"type\":\"number\",\"default\":3},\"evidenceLimit\":{\"type\":\"number\",\"default\":12},\"generateTicketSpec\":{\"type\":\"boolean\",\"default\":true},\"intentModel\":{\"type\":\"string\"},\"validationModel\":{\"type\":\"string\"},\"synthesisModel\":{\"type\":\"string\"},\"ticketModel\":{\"type\":\"string\"},\"_trace\":{\"type\":\"array\"}},\"required\":[\"requirement\",\"repositoryNames\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"concepts\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"searchTerms\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"priority\":{\"type\":\"string\",\"enum\":[\"high\",\"medium\",\"low\"]},\"category\":{\"type\":\"string\"}},\"required\":[\"concept\",\"searchTerms\",\"priority\",\"category\"],\"additionalProperties\":false}},\"searchQueries\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"focusAreas\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"technicalKeywords\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"_trace\":{\"type\":\"array\"}},\"required\":[\"concepts\",\"searchQueries\",\"focusAreas\",\"technicalKeywords\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false},"filterRepositoriesV2":{"id":"filterRepositoriesV2","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\"},\"concepts\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"searchTerms\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"priority\":{\"type\":\"string\",\"enum\":[\"high\",\"medium\",\"low\"]},\"category\":{\"type\":\"string\"}},\"required\":[\"concept\",\"searchTerms\",\"priority\",\"category\"],\"additionalProperties\":false}},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"codeWikiContext\":{\"type\":\"object\",\"properties\":{\"architectureOverview\":{\"type\":[\"string\",\"null\"]},\"directoryStructures\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}},\"required\":[\"architectureOverview\",\"directoryStructures\"],\"additionalProperties\":false},\"enableRepositoryFiltering\":{\"type\":\"boolean\",\"default\":true},\"validationModel\":{\"type\":\"string\"},\"synthesisModel\":{\"type\":\"string\"},\"ticketModel\":{\"type\":\"string\"},\"_trace\":{\"type\":\"array\"}},\"required\":[\"concepts\",\"repositoryNames\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\"},\"concepts\":{\"type\":\"array\"},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"codeWikiContext\":{\"type\":\"object\",\"properties\":{\"architectureOverview\":{\"type\":[\"string\",\"null\"]},\"directoryStructures\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}},\"required\":[\"architectureOverview\",\"directoryStructures\"],\"additionalProperties\":false},\"repositoryFilters\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"allowedRepositories\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"reason\":{\"type\":\"string\"},\"confidence\":{\"type\":\"number\"}},\"required\":[\"concept\",\"allowedRepositories\",\"reason\",\"confidence\"],\"additionalProperties\":false}},\"validationModel\":{\"type\":\"string\"},\"synthesisModel\":{\"type\":\"string\"},\"ticketModel\":{\"type\":\"string\"},\"_trace\":{\"type\":\"array\"}},\"required\":[\"repositoryFilters\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false},"searchConceptsV2":{"id":"searchConceptsV2","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\"},\"concepts\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"searchTerms\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"priority\":{\"type\":\"string\",\"enum\":[\"high\",\"medium\",\"low\"]},\"category\":{\"type\":\"string\"}},\"required\":[\"concept\",\"searchTerms\",\"priority\",\"category\"],\"additionalProperties\":false}},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"repositoryFilters\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"allowedRepositories\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"reason\":{\"type\":\"string\"},\"confidence\":{\"type\":\"number\"}},\"required\":[\"concept\",\"allowedRepositories\",\"reason\",\"confidence\"],\"additionalProperties\":false}},\"codeWikiContext\":{\"type\":\"object\",\"properties\":{\"architectureOverview\":{\"type\":[\"string\",\"null\"]},\"directoryStructures\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}},\"required\":[\"architectureOverview\",\"directoryStructures\"],\"additionalProperties\":false},\"topK\":{\"type\":\"number\",\"default\":20},\"concurrency\":{\"type\":\"number\",\"default\":3},\"fetchFullCodeForTopN\":{\"type\":\"number\",\"default\":0},\"validationModel\":{\"type\":\"string\"},\"synthesisModel\":{\"type\":\"string\"},\"ticketModel\":{\"type\":\"string\"},\"_trace\":{\"type\":\"array\"}},\"required\":[\"concepts\",\"repositoryNames\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\"},\"concepts\":{\"type\":\"array\"},\"perConcept\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"searchTerms\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"priority\":{\"type\":\"string\",\"enum\":[\"high\",\"medium\",\"low\"]},\"category\":{\"type\":\"string\"}},\"required\":[\"concept\",\"searchTerms\",\"priority\",\"category\"],\"additionalProperties\":false},\"searchResults\":{\"type\":\"array\"}},\"required\":[\"concept\",\"searchResults\"],\"additionalProperties\":false}},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"codeWikiContext\":{\"type\":\"object\",\"properties\":{\"architectureOverview\":{\"type\":[\"string\",\"null\"]},\"directoryStructures\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}},\"required\":[\"architectureOverview\",\"directoryStructures\"],\"additionalProperties\":false},\"validationModel\":{\"type\":\"string\"},\"synthesisModel\":{\"type\":\"string\"},\"ticketModel\":{\"type\":\"string\"},\"_trace\":{\"type\":\"array\"}},\"required\":[\"perConcept\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false},"validateConceptsV2":{"id":"validateConceptsV2","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\"},\"concepts\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"searchTerms\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"priority\":{\"type\":\"string\",\"enum\":[\"high\",\"medium\",\"low\"]},\"category\":{\"type\":\"string\"}},\"required\":[\"concept\",\"searchTerms\",\"priority\",\"category\"],\"additionalProperties\":false}},\"perConcept\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"searchTerms\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"priority\":{\"type\":\"string\",\"enum\":[\"high\",\"medium\",\"low\"]},\"category\":{\"type\":\"string\"}},\"required\":[\"concept\",\"searchTerms\",\"priority\",\"category\"],\"additionalProperties\":false},\"searchResults\":{\"type\":\"array\"}},\"required\":[\"concept\",\"searchResults\"],\"additionalProperties\":false}},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"codeWikiContext\":{\"type\":\"object\",\"properties\":{\"architectureOverview\":{\"type\":[\"string\",\"null\"]},\"directoryStructures\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}},\"required\":[\"architectureOverview\",\"directoryStructures\"],\"additionalProperties\":false},\"evidenceLimit\":{\"type\":\"number\",\"default\":12},\"validationModel\":{\"type\":\"string\"},\"synthesisModel\":{\"type\":\"string\"},\"ticketModel\":{\"type\":\"string\"},\"_trace\":{\"type\":\"array\"}},\"required\":[\"perConcept\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\"},\"concepts\":{\"type\":\"array\"},\"validations\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"status\":{\"type\":\"string\",\"enum\":[\"present\",\"partial\",\"absent\"]},\"where\":{\"type\":\"array\"},\"how\":{\"type\":\"string\"},\"confidence\":{\"type\":\"number\"},\"rationale\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"gaps\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"concept\",\"status\",\"where\",\"how\",\"confidence\",\"rationale\"],\"additionalProperties\":false}},\"perConcept\":{\"type\":\"array\"},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"codeWikiContext\":{\"type\":\"object\",\"properties\":{\"architectureOverview\":{\"type\":[\"string\",\"null\"]},\"directoryStructures\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}},\"required\":[\"architectureOverview\",\"directoryStructures\"],\"additionalProperties\":false},\"synthesisModel\":{\"type\":\"string\"},\"ticketModel\":{\"type\":\"string\"},\"_trace\":{\"type\":\"array\"}},\"required\":[\"validations\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false},"synthesizeResultsV2":{"id":"synthesizeResultsV2","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\"},\"concepts\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"searchTerms\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"priority\":{\"type\":\"string\",\"enum\":[\"high\",\"medium\",\"low\"]},\"category\":{\"type\":\"string\"}},\"required\":[\"concept\",\"searchTerms\",\"priority\",\"category\"],\"additionalProperties\":false}},\"validations\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"status\":{\"type\":\"string\",\"enum\":[\"present\",\"partial\",\"absent\"]},\"where\":{\"type\":\"array\"},\"how\":{\"type\":\"string\"},\"confidence\":{\"type\":\"number\"},\"rationale\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"gaps\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"concept\",\"status\",\"where\",\"how\",\"confidence\",\"rationale\"],\"additionalProperties\":false}},\"perConcept\":{\"type\":\"array\"},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"codeWikiContext\":{\"type\":\"object\",\"properties\":{\"architectureOverview\":{\"type\":[\"string\",\"null\"]},\"directoryStructures\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}},\"required\":[\"architectureOverview\",\"directoryStructures\"],\"additionalProperties\":false},\"synthesisModel\":{\"type\":\"string\"},\"ticketModel\":{\"type\":\"string\"},\"_trace\":{\"type\":\"array\"}},\"required\":[\"validations\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\"},\"concepts\":{\"type\":\"array\"},\"validations\":{\"type\":\"array\"},\"perConcept\":{\"type\":\"array\"},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"codeWikiContext\":{\"type\":\"object\",\"properties\":{\"architectureOverview\":{\"type\":[\"string\",\"null\"]},\"directoryStructures\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}},\"required\":[\"architectureOverview\",\"directoryStructures\"],\"additionalProperties\":false},\"synthesis\":{\"type\":\"object\",\"properties\":{\"overallStatus\":{\"type\":\"string\",\"enum\":[\"ready\",\"partially_ready\",\"not_ready\"]},\"summary\":{\"type\":\"string\"},\"conceptResults\":{\"type\":\"array\"},\"recommendations\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"overallStatus\",\"summary\",\"conceptResults\",\"recommendations\"],\"additionalProperties\":false},\"ticketModel\":{\"type\":\"string\"},\"_trace\":{\"type\":\"array\"}},\"required\":[\"synthesis\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false},"generateTicketSpecV2":{"id":"generateTicketSpecV2","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\"},\"concepts\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"searchTerms\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"priority\":{\"type\":\"string\",\"enum\":[\"high\",\"medium\",\"low\"]},\"category\":{\"type\":\"string\"}},\"required\":[\"concept\",\"searchTerms\",\"priority\",\"category\"],\"additionalProperties\":false}},\"validations\":{\"type\":\"array\"},\"synthesis\":{\"type\":\"object\",\"properties\":{\"overallStatus\":{\"type\":\"string\",\"enum\":[\"ready\",\"partially_ready\",\"not_ready\"]},\"summary\":{\"type\":\"string\"},\"conceptResults\":{\"type\":\"array\"},\"recommendations\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"overallStatus\",\"summary\",\"conceptResults\",\"recommendations\"],\"additionalProperties\":false},\"perConcept\":{\"type\":\"array\"},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"codeWikiContext\":{\"type\":\"object\",\"properties\":{\"architectureOverview\":{\"type\":[\"string\",\"null\"]},\"directoryStructures\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}},\"required\":[\"architectureOverview\",\"directoryStructures\"],\"additionalProperties\":false},\"generateTicketSpec\":{\"type\":\"boolean\",\"default\":true},\"ticketModel\":{\"type\":\"string\"},\"_trace\":{\"type\":\"array\"}},\"required\":[\"requirement\",\"concepts\",\"validations\",\"synthesis\",\"repositoryNames\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"ticketSpec\":{},\"requirement\":{\"type\":\"string\"},\"concepts\":{\"type\":\"array\"},\"validations\":{\"type\":\"array\"},\"synthesis\":{},\"perConcept\":{\"type\":\"array\"},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"codeWikiContext\":{},\"generateTicketSpec\":{\"type\":\"boolean\"},\"ticketModel\":{\"type\":\"string\"},\"_trace\":{\"type\":\"array\"}},\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false},"buildMetadataV2":{"id":"buildMetadataV2","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\"},\"concepts\":{\"type\":\"array\"},\"perConcept\":{\"type\":\"array\"},\"synthesis\":{\"type\":\"object\",\"properties\":{\"overallStatus\":{\"type\":\"string\",\"enum\":[\"ready\",\"partially_ready\",\"not_ready\"]},\"summary\":{\"type\":\"string\"},\"conceptResults\":{\"type\":\"array\"},\"recommendations\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"overallStatus\",\"summary\",\"conceptResults\",\"recommendations\"],\"additionalProperties\":false},\"ticketSpec\":{},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"codeWikiContext\":{\"type\":\"object\",\"properties\":{\"architectureOverview\":{\"type\":[\"string\",\"null\"]},\"directoryStructures\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}},\"required\":[\"architectureOverview\",\"directoryStructures\"],\"additionalProperties\":false},\"repositoryFilters\":{\"type\":\"array\"},\"validations\":{\"type\":\"array\"},\"intentModel\":{\"type\":\"string\"},\"validationModel\":{\"type\":\"string\"},\"synthesisModel\":{\"type\":\"string\"},\"ticketModel\":{\"type\":\"string\"},\"generateTicketSpec\":{\"type\":\"boolean\"},\"_trace\":{\"type\":\"array\"}},\"required\":[\"concepts\",\"perConcept\",\"synthesis\",\"repositoryNames\",\"_trace\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"ticketSpec\":{},\"concepts\":{\"type\":\"array\"},\"perConcept\":{\"type\":\"array\"},\"synthesis\":{\"type\":\"object\",\"properties\":{\"overallStatus\":{\"type\":\"string\",\"enum\":[\"ready\",\"partially_ready\",\"not_ready\"]},\"summary\":{\"type\":\"string\"},\"conceptResults\":{\"type\":\"array\"},\"recommendations\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"overallStatus\",\"summary\",\"conceptResults\",\"recommendations\"],\"additionalProperties\":false},\"metadata\":{\"type\":\"object\",\"properties\":{\"processedAt\":{\"type\":\"string\"},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"codeWikiContext\":{},\"repositoryFilters\":{\"type\":\"array\"},\"durationsMs\":{\"type\":\"object\",\"properties\":{\"total\":{\"type\":\"number\"},\"codeWikiMs\":{\"type\":\"number\"},\"intentMs\":{\"type\":\"number\"},\"filteringMs\":{\"type\":\"number\"},\"searchAndValidateMs\":{\"type\":\"number\"},\"synthesisMs\":{\"type\":\"number\"},\"ticketSpecMs\":{\"type\":\"number\"}},\"required\":[\"total\"],\"additionalProperties\":false},\"modelsUsed\":{\"type\":\"object\",\"properties\":{\"intentModel\":{\"type\":\"string\"},\"searchModel\":{\"type\":\"string\"},\"validationModel\":{\"type\":\"string\"},\"synthesisModel\":{\"type\":\"string\"},\"ticketGenerationModel\":{\"type\":\"string\"}},\"required\":[\"intentModel\",\"searchModel\",\"validationModel\",\"synthesisModel\"],\"additionalProperties\":false},\"estimatedCosts\":{\"type\":\"object\",\"properties\":{\"codeWikiLoading\":{\"type\":\"number\"},\"intentProcessing\":{\"type\":\"number\"},\"searchProcessing\":{\"type\":\"number\"},\"validationProcessing\":{\"type\":\"number\"},\"synthesisProcessing\":{\"type\":\"number\"},\"ticketGeneration\":{\"type\":\"number\"},\"total\":{\"type\":\"number\"}},\"required\":[\"intentProcessing\",\"searchProcessing\",\"validationProcessing\",\"synthesisProcessing\",\"total\"],\"additionalProperties\":false}},\"required\":[\"processedAt\",\"repositoryNames\",\"durationsMs\",\"modelsUsed\",\"estimatedCosts\"],\"additionalProperties\":false},\"trace\":{\"type\":\"array\"}},\"required\":[\"concepts\",\"perConcept\",\"synthesis\",\"metadata\",\"trace\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false}},"stepGraph":[{"type":"step","step":{"id":"loadCodeWikiContextOptional","canSuspend":false}},{"type":"step","step":{"id":"intentProcessingV2","canSuspend":false}},{"type":"step","step":{"id":"filterRepositoriesV2","canSuspend":false}},{"type":"step","step":{"id":"searchConceptsV2","canSuspend":false}},{"type":"step","step":{"id":"validateConceptsV2","canSuspend":false}},{"type":"step","step":{"id":"synthesizeResultsV2","canSuspend":false}},{"type":"step","step":{"id":"generateTicketSpecV2","canSuspend":false}},{"type":"step","step":{"id":"buildMetadataV2","canSuspend":false}}],"inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"requirement\":{\"type\":\"string\"},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"projectId\":{\"type\":\"string\"},\"topK\":{\"type\":\"number\",\"default\":20},\"maxConcepts\":{\"type\":\"number\",\"default\":8},\"concurrency\":{\"type\":\"number\",\"default\":3},\"evidenceLimit\":{\"type\":\"number\",\"default\":12},\"generateTicketSpec\":{\"type\":\"boolean\",\"default\":true},\"enableRepositoryFiltering\":{\"type\":\"boolean\",\"default\":true},\"fetchFullCodeForTopN\":{\"type\":\"number\",\"default\":0},\"intentModel\":{\"type\":\"string\"},\"validationModel\":{\"type\":\"string\"},\"synthesisModel\":{\"type\":\"string\"},\"ticketModel\":{\"type\":\"string\"}},\"required\":[\"requirement\",\"repositoryNames\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"ticketSpec\":{},\"concepts\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"concept\":{\"type\":\"string\"},\"searchTerms\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"priority\":{\"type\":\"string\",\"enum\":[\"high\",\"medium\",\"low\"]},\"category\":{\"type\":\"string\"}},\"required\":[\"concept\",\"searchTerms\",\"priority\",\"category\"],\"additionalProperties\":false}},\"perConcept\":{\"type\":\"array\"},\"synthesis\":{\"type\":\"object\",\"properties\":{\"overallStatus\":{\"type\":\"string\",\"enum\":[\"ready\",\"partially_ready\",\"not_ready\"]},\"summary\":{\"type\":\"string\"},\"conceptResults\":{\"type\":\"array\"},\"recommendations\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"overallStatus\",\"summary\",\"conceptResults\",\"recommendations\"],\"additionalProperties\":false},\"metadata\":{\"type\":\"object\",\"properties\":{\"processedAt\":{\"type\":\"string\"},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"codeWikiContext\":{\"type\":\"object\",\"properties\":{\"architectureOverview\":{\"type\":[\"string\",\"null\"]},\"directoryStructures\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\"}}},\"required\":[\"architectureOverview\",\"directoryStructures\"],\"additionalProperties\":false},\"repositoryFilters\":{\"type\":\"array\"},\"durationsMs\":{\"type\":\"object\",\"properties\":{\"total\":{\"type\":\"number\"},\"codeWikiMs\":{\"type\":\"number\"},\"intentMs\":{\"type\":\"number\"},\"filteringMs\":{\"type\":\"number\"},\"searchAndValidateMs\":{\"type\":\"number\"},\"synthesisMs\":{\"type\":\"number\"},\"ticketSpecMs\":{\"type\":\"number\"}},\"required\":[\"total\"],\"additionalProperties\":false},\"modelsUsed\":{\"type\":\"object\",\"properties\":{\"intentModel\":{\"type\":\"string\"},\"searchModel\":{\"type\":\"string\"},\"validationModel\":{\"type\":\"string\"},\"synthesisModel\":{\"type\":\"string\"},\"ticketGenerationModel\":{\"type\":\"string\"}},\"required\":[\"intentModel\",\"searchModel\",\"validationModel\",\"synthesisModel\"],\"additionalProperties\":false},\"estimatedCosts\":{\"type\":\"object\",\"properties\":{\"codeWikiLoading\":{\"type\":\"number\"},\"intentProcessing\":{\"type\":\"number\"},\"searchProcessing\":{\"type\":\"number\"},\"validationProcessing\":{\"type\":\"number\"},\"synthesisProcessing\":{\"type\":\"number\"},\"ticketGeneration\":{\"type\":\"number\"},\"total\":{\"type\":\"number\"}},\"required\":[\"intentProcessing\",\"searchProcessing\",\"validationProcessing\",\"synthesisProcessing\",\"total\"],\"additionalProperties\":false}},\"required\":[\"processedAt\",\"repositoryNames\",\"durationsMs\",\"modelsUsed\",\"estimatedCosts\"],\"additionalProperties\":false},\"trace\":{\"type\":\"array\"}},\"required\":[\"concepts\",\"perConcept\",\"synthesis\",\"metadata\",\"trace\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","options":{"validateInputs":true},"isProcessorWorkflow":false},"aiChatTurnWorkflow":{"name":"aiChat.turn","steps":{"aiChat.normalizeInput":{"id":"aiChat.normalizeInput","description":"Normalize repositoryName and userQuery, resolve conversational references","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"userQuery\":{\"type\":\"string\"},\"conversationContext\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\"]},\"content\":{\"type\":\"string\"}},\"required\":[\"role\",\"content\"],\"additionalProperties\":false}}},\"required\":[\"repositoryName\",\"userQuery\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"userQuery\":{\"type\":\"string\"},\"conversationContext\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\"]},\"content\":{\"type\":\"string\"}},\"required\":[\"role\",\"content\"],\"additionalProperties\":false}}},\"required\":[\"repositoryName\",\"userQuery\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"},"aiChat.classifyIntent":{"id":"aiChat.classifyIntent","description":"Classify user intent and targets","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"userQuery\":{\"type\":\"string\"},\"conversationContext\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\"]},\"content\":{\"type\":\"string\"}},\"required\":[\"role\",\"content\"],\"additionalProperties\":false}}},\"required\":[\"repositoryName\",\"userQuery\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"input\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"userQuery\":{\"type\":\"string\"},\"conversationContext\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\"]},\"content\":{\"type\":\"string\"}},\"required\":[\"role\",\"content\"],\"additionalProperties\":false}}},\"required\":[\"repositoryName\",\"userQuery\"],\"additionalProperties\":false},\"intent\":{\"type\":\"object\",\"properties\":{\"intent\":{\"type\":\"string\",\"enum\":[\"overview\",\"architecture\",\"feature\",\"file\",\"runbook\",\"api\",\"history\",\"tests\",\"spec\"]},\"targets\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"searchQueries\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"focusAreas\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"technicalKeywords\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"confidence\":{\"type\":\"number\"},\"tokenUsage\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}},\"required\":[\"intent\",\"targets\",\"searchQueries\",\"focusAreas\",\"technicalKeywords\",\"confidence\"],\"additionalProperties\":false},\"tokenUsage\":{\"type\":\"object\",\"properties\":{\"classifyIntent\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}},\"required\":[\"classifyIntent\"],\"additionalProperties\":false}},\"required\":[\"input\",\"intent\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"},"aiChat.fileFetch":{"id":"aiChat.fileFetch","description":"Fetch exact file from GitHub when a path is detected - UPDATED","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"input\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"userQuery\":{\"type\":\"string\"},\"conversationContext\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\"]},\"content\":{\"type\":\"string\"}},\"required\":[\"role\",\"content\"],\"additionalProperties\":false}}},\"required\":[\"repositoryName\",\"userQuery\"],\"additionalProperties\":false},\"intent\":{\"type\":\"object\",\"properties\":{\"intent\":{\"type\":\"string\",\"enum\":[\"overview\",\"architecture\",\"feature\",\"file\",\"runbook\",\"api\",\"history\",\"tests\",\"spec\"]},\"targets\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"searchQueries\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"focusAreas\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"technicalKeywords\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"confidence\":{\"type\":\"number\"},\"tokenUsage\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}},\"required\":[\"intent\",\"targets\",\"searchQueries\",\"focusAreas\",\"technicalKeywords\",\"confidence\"],\"additionalProperties\":false},\"tokenUsage\":{\"type\":\"object\",\"properties\":{\"classifyIntent\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}},\"required\":[\"classifyIntent\"],\"additionalProperties\":false}},\"required\":[\"input\",\"intent\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"input\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"userQuery\":{\"type\":\"string\"},\"conversationContext\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\"]},\"content\":{\"type\":\"string\"}},\"required\":[\"role\",\"content\"],\"additionalProperties\":false}}},\"required\":[\"repositoryName\",\"userQuery\"],\"additionalProperties\":false},\"intent\":{\"type\":\"object\",\"properties\":{\"intent\":{\"type\":\"string\",\"enum\":[\"overview\",\"architecture\",\"feature\",\"file\",\"runbook\",\"api\",\"history\",\"tests\",\"spec\"]},\"targets\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"searchQueries\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"focusAreas\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"technicalKeywords\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"confidence\":{\"type\":\"number\"},\"tokenUsage\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}},\"required\":[\"intent\",\"targets\",\"searchQueries\",\"focusAreas\",\"technicalKeywords\",\"confidence\"],\"additionalProperties\":false},\"retrieval\":{\"type\":\"object\",\"properties\":{\"contextItems\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"path\":{\"type\":\"string\"},\"contentPreview\":{\"type\":\"string\"},\"score\":{\"type\":\"number\"},\"elementType\":{\"type\":\"string\"}},\"required\":[\"path\"],\"additionalProperties\":false}}},\"required\":[\"contextItems\"],\"additionalProperties\":false},\"tokenUsage\":{\"type\":\"object\",\"properties\":{\"classifyIntent\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}},\"required\":[\"classifyIntent\"],\"additionalProperties\":false}},\"required\":[\"input\",\"intent\",\"retrieval\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"},"aiChat.architectureOverview":{"id":"aiChat.architectureOverview","description":"Get high-level architecture overview using directory aggregation","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"input\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"userQuery\":{\"type\":\"string\"},\"conversationContext\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\"]},\"content\":{\"type\":\"string\"}},\"required\":[\"role\",\"content\"],\"additionalProperties\":false}}},\"required\":[\"repositoryName\",\"userQuery\"],\"additionalProperties\":false},\"intent\":{\"type\":\"object\",\"properties\":{\"intent\":{\"type\":\"string\",\"enum\":[\"overview\",\"architecture\",\"feature\",\"file\",\"runbook\",\"api\",\"history\",\"tests\",\"spec\"]},\"targets\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"searchQueries\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"focusAreas\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"technicalKeywords\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"confidence\":{\"type\":\"number\"},\"tokenUsage\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}},\"required\":[\"intent\",\"targets\",\"searchQueries\",\"focusAreas\",\"technicalKeywords\",\"confidence\"],\"additionalProperties\":false},\"tokenUsage\":{\"type\":\"object\",\"properties\":{\"classifyIntent\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}},\"required\":[\"classifyIntent\"],\"additionalProperties\":false}},\"required\":[\"input\",\"intent\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"input\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"userQuery\":{\"type\":\"string\"},\"conversationContext\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\"]},\"content\":{\"type\":\"string\"}},\"required\":[\"role\",\"content\"],\"additionalProperties\":false}}},\"required\":[\"repositoryName\",\"userQuery\"],\"additionalProperties\":false},\"intent\":{\"type\":\"object\",\"properties\":{\"intent\":{\"type\":\"string\",\"enum\":[\"overview\",\"architecture\",\"feature\",\"file\",\"runbook\",\"api\",\"history\",\"tests\",\"spec\"]},\"targets\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"searchQueries\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"focusAreas\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"technicalKeywords\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"confidence\":{\"type\":\"number\"},\"tokenUsage\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}},\"required\":[\"intent\",\"targets\",\"searchQueries\",\"focusAreas\",\"technicalKeywords\",\"confidence\"],\"additionalProperties\":false},\"retrieval\":{\"type\":\"object\",\"properties\":{\"contextItems\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"path\":{\"type\":\"string\"},\"contentPreview\":{\"type\":\"string\"},\"score\":{\"type\":\"number\"},\"elementType\":{\"type\":\"string\"}},\"required\":[\"path\"],\"additionalProperties\":false}}},\"required\":[\"contextItems\"],\"additionalProperties\":false},\"tokenUsage\":{\"type\":\"object\",\"properties\":{\"classifyIntent\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}},\"required\":[\"classifyIntent\"],\"additionalProperties\":false}},\"required\":[\"input\",\"intent\",\"retrieval\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"},"aiChat.semanticSynthesize":{"id":"aiChat.semanticSynthesize","description":"Retrieve summaries and synthesize a grounded answer","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"input\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"userQuery\":{\"type\":\"string\"},\"conversationContext\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\"]},\"content\":{\"type\":\"string\"}},\"required\":[\"role\",\"content\"],\"additionalProperties\":false}}},\"required\":[\"repositoryName\",\"userQuery\"],\"additionalProperties\":false},\"intent\":{\"type\":\"object\",\"properties\":{\"intent\":{\"type\":\"string\",\"enum\":[\"overview\",\"architecture\",\"feature\",\"file\",\"runbook\",\"api\",\"history\",\"tests\",\"spec\"]},\"targets\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"searchQueries\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"focusAreas\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"technicalKeywords\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"confidence\":{\"type\":\"number\"},\"tokenUsage\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}},\"required\":[\"intent\",\"targets\",\"searchQueries\",\"focusAreas\",\"technicalKeywords\",\"confidence\"],\"additionalProperties\":false},\"tokenUsage\":{\"type\":\"object\",\"properties\":{\"classifyIntent\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}},\"required\":[\"classifyIntent\"],\"additionalProperties\":false}},\"required\":[\"input\",\"intent\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"synth\":{\"type\":\"object\",\"properties\":{\"answer\":{\"type\":\"string\"},\"sources\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"path\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"lines\":{\"type\":\"string\"}},\"required\":[\"path\"],\"additionalProperties\":false}},\"flows\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"gaps\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"actualTokenUsage\":{\"type\":\"object\",\"properties\":{\"totalInputTokens\":{\"type\":\"number\"},\"totalOutputTokens\":{\"type\":\"number\"},\"steps\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}}},\"required\":[\"totalInputTokens\",\"totalOutputTokens\"],\"additionalProperties\":false},\"primaryModel\":{\"type\":\"string\"}},\"required\":[\"answer\",\"sources\"],\"additionalProperties\":false},\"tokenUsage\":{\"type\":\"object\",\"properties\":{\"classifyIntent\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}},\"required\":[\"classifyIntent\"],\"additionalProperties\":false}},\"required\":[\"synth\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"},"aiChat.outputs":{"id":"aiChat.outputs","description":"Post-process outputs (spec/tickets/agent) from synthesis JSON and aggregate token usage","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"aiChat.fileFetch\":{\"type\":\"object\",\"properties\":{\"input\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"userQuery\":{\"type\":\"string\"},\"conversationContext\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\"]},\"content\":{\"type\":\"string\"}},\"required\":[\"role\",\"content\"],\"additionalProperties\":false}}},\"required\":[\"repositoryName\",\"userQuery\"],\"additionalProperties\":false},\"intent\":{\"type\":\"object\",\"properties\":{\"intent\":{\"type\":\"string\",\"enum\":[\"overview\",\"architecture\",\"feature\",\"file\",\"runbook\",\"api\",\"history\",\"tests\",\"spec\"]},\"targets\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"searchQueries\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"focusAreas\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"technicalKeywords\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"confidence\":{\"type\":\"number\"},\"tokenUsage\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}},\"required\":[\"intent\",\"targets\",\"searchQueries\",\"focusAreas\",\"technicalKeywords\",\"confidence\"],\"additionalProperties\":false},\"retrieval\":{\"type\":\"object\",\"properties\":{\"contextItems\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"path\":{\"type\":\"string\"},\"contentPreview\":{\"type\":\"string\"},\"score\":{\"type\":\"number\"},\"elementType\":{\"type\":\"string\"}},\"required\":[\"path\"],\"additionalProperties\":false}}},\"required\":[\"contextItems\"],\"additionalProperties\":false},\"tokenUsage\":{\"type\":\"object\",\"properties\":{\"classifyIntent\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}},\"required\":[\"classifyIntent\"],\"additionalProperties\":false}},\"required\":[\"input\",\"intent\",\"retrieval\"],\"additionalProperties\":false},\"aiChat.architectureOverview\":{\"type\":\"object\",\"properties\":{\"input\":{\"$ref\":\"3/aiChat.fileFetch/properties/input\"},\"intent\":{\"$ref\":\"3/aiChat.fileFetch/properties/intent\"},\"retrieval\":{\"type\":\"object\",\"properties\":{\"contextItems\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"path\":{\"type\":\"string\"},\"contentPreview\":{\"type\":\"string\"},\"score\":{\"type\":\"number\"},\"elementType\":{\"type\":\"string\"}},\"required\":[\"path\"],\"additionalProperties\":false}}},\"required\":[\"contextItems\"],\"additionalProperties\":false},\"tokenUsage\":{\"type\":\"object\",\"properties\":{\"classifyIntent\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}},\"required\":[\"classifyIntent\"],\"additionalProperties\":false}},\"required\":[\"input\",\"intent\",\"retrieval\"],\"additionalProperties\":false},\"aiChat.semanticSynthesize\":{\"type\":\"object\",\"properties\":{\"synth\":{\"type\":\"object\",\"properties\":{\"answer\":{\"type\":\"string\"},\"sources\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"path\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"lines\":{\"type\":\"string\"}},\"required\":[\"path\"],\"additionalProperties\":false}},\"flows\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"gaps\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"actualTokenUsage\":{\"type\":\"object\",\"properties\":{\"totalInputTokens\":{\"type\":\"number\"},\"totalOutputTokens\":{\"type\":\"number\"},\"steps\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}}},\"required\":[\"totalInputTokens\",\"totalOutputTokens\"],\"additionalProperties\":false},\"primaryModel\":{\"type\":\"string\"}},\"required\":[\"answer\",\"sources\"],\"additionalProperties\":false},\"tokenUsage\":{\"type\":\"object\",\"properties\":{\"classifyIntent\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}},\"required\":[\"classifyIntent\"],\"additionalProperties\":false}},\"required\":[\"synth\"],\"additionalProperties\":false}},\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"answer\":{\"type\":\"string\"},\"sources\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"path\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"lines\":{\"type\":\"string\"}},\"required\":[\"path\"],\"additionalProperties\":false}},\"flows\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"gaps\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"actualTokenUsage\":{\"type\":\"object\",\"properties\":{\"totalInputTokens\":{\"type\":\"number\"},\"totalOutputTokens\":{\"type\":\"number\"},\"steps\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}}},\"required\":[\"totalInputTokens\",\"totalOutputTokens\"],\"additionalProperties\":false},\"primaryModel\":{\"type\":\"string\"}},\"required\":[\"answer\",\"sources\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"file\":{\"type\":\"object\",\"properties\":{\"path\":{\"type\":\"string\"},\"content\":{\"type\":\"string\"}},\"required\":[\"path\",\"content\"],\"additionalProperties\":false},\"actualTokenUsage\":{\"type\":\"object\",\"properties\":{\"totalInputTokens\":{\"type\":\"number\"},\"totalOutputTokens\":{\"type\":\"number\"},\"steps\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}}},\"required\":[\"totalInputTokens\",\"totalOutputTokens\"],\"additionalProperties\":false},\"primaryModel\":{\"type\":\"string\"}},\"required\":[\"file\"],\"additionalProperties\":false}],\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"}},"allSteps":{"aiChat.normalizeInput":{"id":"aiChat.normalizeInput","description":"Normalize repositoryName and userQuery, resolve conversational references","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"userQuery\":{\"type\":\"string\"},\"conversationContext\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\"]},\"content\":{\"type\":\"string\"}},\"required\":[\"role\",\"content\"],\"additionalProperties\":false}}},\"required\":[\"repositoryName\",\"userQuery\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"userQuery\":{\"type\":\"string\"},\"conversationContext\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\"]},\"content\":{\"type\":\"string\"}},\"required\":[\"role\",\"content\"],\"additionalProperties\":false}}},\"required\":[\"repositoryName\",\"userQuery\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false},"aiChat.classifyIntent":{"id":"aiChat.classifyIntent","description":"Classify user intent and targets","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"userQuery\":{\"type\":\"string\"},\"conversationContext\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\"]},\"content\":{\"type\":\"string\"}},\"required\":[\"role\",\"content\"],\"additionalProperties\":false}}},\"required\":[\"repositoryName\",\"userQuery\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"input\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"userQuery\":{\"type\":\"string\"},\"conversationContext\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\"]},\"content\":{\"type\":\"string\"}},\"required\":[\"role\",\"content\"],\"additionalProperties\":false}}},\"required\":[\"repositoryName\",\"userQuery\"],\"additionalProperties\":false},\"intent\":{\"type\":\"object\",\"properties\":{\"intent\":{\"type\":\"string\",\"enum\":[\"overview\",\"architecture\",\"feature\",\"file\",\"runbook\",\"api\",\"history\",\"tests\",\"spec\"]},\"targets\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"searchQueries\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"focusAreas\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"technicalKeywords\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"confidence\":{\"type\":\"number\"},\"tokenUsage\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}},\"required\":[\"intent\",\"targets\",\"searchQueries\",\"focusAreas\",\"technicalKeywords\",\"confidence\"],\"additionalProperties\":false},\"tokenUsage\":{\"type\":\"object\",\"properties\":{\"classifyIntent\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}},\"required\":[\"classifyIntent\"],\"additionalProperties\":false}},\"required\":[\"input\",\"intent\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false},"aiChat.fileFetch":{"id":"aiChat.fileFetch","description":"Fetch exact file from GitHub when a path is detected - UPDATED","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"input\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"userQuery\":{\"type\":\"string\"},\"conversationContext\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\"]},\"content\":{\"type\":\"string\"}},\"required\":[\"role\",\"content\"],\"additionalProperties\":false}}},\"required\":[\"repositoryName\",\"userQuery\"],\"additionalProperties\":false},\"intent\":{\"type\":\"object\",\"properties\":{\"intent\":{\"type\":\"string\",\"enum\":[\"overview\",\"architecture\",\"feature\",\"file\",\"runbook\",\"api\",\"history\",\"tests\",\"spec\"]},\"targets\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"searchQueries\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"focusAreas\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"technicalKeywords\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"confidence\":{\"type\":\"number\"},\"tokenUsage\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}},\"required\":[\"intent\",\"targets\",\"searchQueries\",\"focusAreas\",\"technicalKeywords\",\"confidence\"],\"additionalProperties\":false},\"tokenUsage\":{\"type\":\"object\",\"properties\":{\"classifyIntent\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}},\"required\":[\"classifyIntent\"],\"additionalProperties\":false}},\"required\":[\"input\",\"intent\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"input\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"userQuery\":{\"type\":\"string\"},\"conversationContext\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\"]},\"content\":{\"type\":\"string\"}},\"required\":[\"role\",\"content\"],\"additionalProperties\":false}}},\"required\":[\"repositoryName\",\"userQuery\"],\"additionalProperties\":false},\"intent\":{\"type\":\"object\",\"properties\":{\"intent\":{\"type\":\"string\",\"enum\":[\"overview\",\"architecture\",\"feature\",\"file\",\"runbook\",\"api\",\"history\",\"tests\",\"spec\"]},\"targets\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"searchQueries\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"focusAreas\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"technicalKeywords\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"confidence\":{\"type\":\"number\"},\"tokenUsage\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}},\"required\":[\"intent\",\"targets\",\"searchQueries\",\"focusAreas\",\"technicalKeywords\",\"confidence\"],\"additionalProperties\":false},\"retrieval\":{\"type\":\"object\",\"properties\":{\"contextItems\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"path\":{\"type\":\"string\"},\"contentPreview\":{\"type\":\"string\"},\"score\":{\"type\":\"number\"},\"elementType\":{\"type\":\"string\"}},\"required\":[\"path\"],\"additionalProperties\":false}}},\"required\":[\"contextItems\"],\"additionalProperties\":false},\"tokenUsage\":{\"type\":\"object\",\"properties\":{\"classifyIntent\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}},\"required\":[\"classifyIntent\"],\"additionalProperties\":false}},\"required\":[\"input\",\"intent\",\"retrieval\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false},"aiChat.architectureOverview":{"id":"aiChat.architectureOverview","description":"Get high-level architecture overview using directory aggregation","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"input\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"userQuery\":{\"type\":\"string\"},\"conversationContext\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\"]},\"content\":{\"type\":\"string\"}},\"required\":[\"role\",\"content\"],\"additionalProperties\":false}}},\"required\":[\"repositoryName\",\"userQuery\"],\"additionalProperties\":false},\"intent\":{\"type\":\"object\",\"properties\":{\"intent\":{\"type\":\"string\",\"enum\":[\"overview\",\"architecture\",\"feature\",\"file\",\"runbook\",\"api\",\"history\",\"tests\",\"spec\"]},\"targets\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"searchQueries\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"focusAreas\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"technicalKeywords\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"confidence\":{\"type\":\"number\"},\"tokenUsage\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}},\"required\":[\"intent\",\"targets\",\"searchQueries\",\"focusAreas\",\"technicalKeywords\",\"confidence\"],\"additionalProperties\":false},\"tokenUsage\":{\"type\":\"object\",\"properties\":{\"classifyIntent\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}},\"required\":[\"classifyIntent\"],\"additionalProperties\":false}},\"required\":[\"input\",\"intent\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"input\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"userQuery\":{\"type\":\"string\"},\"conversationContext\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\"]},\"content\":{\"type\":\"string\"}},\"required\":[\"role\",\"content\"],\"additionalProperties\":false}}},\"required\":[\"repositoryName\",\"userQuery\"],\"additionalProperties\":false},\"intent\":{\"type\":\"object\",\"properties\":{\"intent\":{\"type\":\"string\",\"enum\":[\"overview\",\"architecture\",\"feature\",\"file\",\"runbook\",\"api\",\"history\",\"tests\",\"spec\"]},\"targets\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"searchQueries\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"focusAreas\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"technicalKeywords\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"confidence\":{\"type\":\"number\"},\"tokenUsage\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}},\"required\":[\"intent\",\"targets\",\"searchQueries\",\"focusAreas\",\"technicalKeywords\",\"confidence\"],\"additionalProperties\":false},\"retrieval\":{\"type\":\"object\",\"properties\":{\"contextItems\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"path\":{\"type\":\"string\"},\"contentPreview\":{\"type\":\"string\"},\"score\":{\"type\":\"number\"},\"elementType\":{\"type\":\"string\"}},\"required\":[\"path\"],\"additionalProperties\":false}}},\"required\":[\"contextItems\"],\"additionalProperties\":false},\"tokenUsage\":{\"type\":\"object\",\"properties\":{\"classifyIntent\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}},\"required\":[\"classifyIntent\"],\"additionalProperties\":false}},\"required\":[\"input\",\"intent\",\"retrieval\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false},"aiChat.semanticSynthesize":{"id":"aiChat.semanticSynthesize","description":"Retrieve summaries and synthesize a grounded answer","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"input\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"userQuery\":{\"type\":\"string\"},\"conversationContext\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\"]},\"content\":{\"type\":\"string\"}},\"required\":[\"role\",\"content\"],\"additionalProperties\":false}}},\"required\":[\"repositoryName\",\"userQuery\"],\"additionalProperties\":false},\"intent\":{\"type\":\"object\",\"properties\":{\"intent\":{\"type\":\"string\",\"enum\":[\"overview\",\"architecture\",\"feature\",\"file\",\"runbook\",\"api\",\"history\",\"tests\",\"spec\"]},\"targets\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"searchQueries\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"focusAreas\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"technicalKeywords\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"confidence\":{\"type\":\"number\"},\"tokenUsage\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}},\"required\":[\"intent\",\"targets\",\"searchQueries\",\"focusAreas\",\"technicalKeywords\",\"confidence\"],\"additionalProperties\":false},\"tokenUsage\":{\"type\":\"object\",\"properties\":{\"classifyIntent\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}},\"required\":[\"classifyIntent\"],\"additionalProperties\":false}},\"required\":[\"input\",\"intent\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"synth\":{\"type\":\"object\",\"properties\":{\"answer\":{\"type\":\"string\"},\"sources\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"path\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"lines\":{\"type\":\"string\"}},\"required\":[\"path\"],\"additionalProperties\":false}},\"flows\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"gaps\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"actualTokenUsage\":{\"type\":\"object\",\"properties\":{\"totalInputTokens\":{\"type\":\"number\"},\"totalOutputTokens\":{\"type\":\"number\"},\"steps\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}}},\"required\":[\"totalInputTokens\",\"totalOutputTokens\"],\"additionalProperties\":false},\"primaryModel\":{\"type\":\"string\"}},\"required\":[\"answer\",\"sources\"],\"additionalProperties\":false},\"tokenUsage\":{\"type\":\"object\",\"properties\":{\"classifyIntent\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}},\"required\":[\"classifyIntent\"],\"additionalProperties\":false}},\"required\":[\"synth\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false},"aiChat.outputs":{"id":"aiChat.outputs","description":"Post-process outputs (spec/tickets/agent) from synthesis JSON and aggregate token usage","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"aiChat.fileFetch\":{\"type\":\"object\",\"properties\":{\"input\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"userQuery\":{\"type\":\"string\"},\"conversationContext\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\"]},\"content\":{\"type\":\"string\"}},\"required\":[\"role\",\"content\"],\"additionalProperties\":false}}},\"required\":[\"repositoryName\",\"userQuery\"],\"additionalProperties\":false},\"intent\":{\"type\":\"object\",\"properties\":{\"intent\":{\"type\":\"string\",\"enum\":[\"overview\",\"architecture\",\"feature\",\"file\",\"runbook\",\"api\",\"history\",\"tests\",\"spec\"]},\"targets\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"searchQueries\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"focusAreas\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"technicalKeywords\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"confidence\":{\"type\":\"number\"},\"tokenUsage\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}},\"required\":[\"intent\",\"targets\",\"searchQueries\",\"focusAreas\",\"technicalKeywords\",\"confidence\"],\"additionalProperties\":false},\"retrieval\":{\"type\":\"object\",\"properties\":{\"contextItems\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"path\":{\"type\":\"string\"},\"contentPreview\":{\"type\":\"string\"},\"score\":{\"type\":\"number\"},\"elementType\":{\"type\":\"string\"}},\"required\":[\"path\"],\"additionalProperties\":false}}},\"required\":[\"contextItems\"],\"additionalProperties\":false},\"tokenUsage\":{\"type\":\"object\",\"properties\":{\"classifyIntent\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}},\"required\":[\"classifyIntent\"],\"additionalProperties\":false}},\"required\":[\"input\",\"intent\",\"retrieval\"],\"additionalProperties\":false},\"aiChat.architectureOverview\":{\"type\":\"object\",\"properties\":{\"input\":{\"$ref\":\"3/aiChat.fileFetch/properties/input\"},\"intent\":{\"$ref\":\"3/aiChat.fileFetch/properties/intent\"},\"retrieval\":{\"type\":\"object\",\"properties\":{\"contextItems\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"path\":{\"type\":\"string\"},\"contentPreview\":{\"type\":\"string\"},\"score\":{\"type\":\"number\"},\"elementType\":{\"type\":\"string\"}},\"required\":[\"path\"],\"additionalProperties\":false}}},\"required\":[\"contextItems\"],\"additionalProperties\":false},\"tokenUsage\":{\"type\":\"object\",\"properties\":{\"classifyIntent\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}},\"required\":[\"classifyIntent\"],\"additionalProperties\":false}},\"required\":[\"input\",\"intent\",\"retrieval\"],\"additionalProperties\":false},\"aiChat.semanticSynthesize\":{\"type\":\"object\",\"properties\":{\"synth\":{\"type\":\"object\",\"properties\":{\"answer\":{\"type\":\"string\"},\"sources\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"path\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"lines\":{\"type\":\"string\"}},\"required\":[\"path\"],\"additionalProperties\":false}},\"flows\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"gaps\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"actualTokenUsage\":{\"type\":\"object\",\"properties\":{\"totalInputTokens\":{\"type\":\"number\"},\"totalOutputTokens\":{\"type\":\"number\"},\"steps\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}}},\"required\":[\"totalInputTokens\",\"totalOutputTokens\"],\"additionalProperties\":false},\"primaryModel\":{\"type\":\"string\"}},\"required\":[\"answer\",\"sources\"],\"additionalProperties\":false},\"tokenUsage\":{\"type\":\"object\",\"properties\":{\"classifyIntent\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}},\"required\":[\"classifyIntent\"],\"additionalProperties\":false}},\"required\":[\"synth\"],\"additionalProperties\":false}},\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"answer\":{\"type\":\"string\"},\"sources\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"path\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"lines\":{\"type\":\"string\"}},\"required\":[\"path\"],\"additionalProperties\":false}},\"flows\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"gaps\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"actualTokenUsage\":{\"type\":\"object\",\"properties\":{\"totalInputTokens\":{\"type\":\"number\"},\"totalOutputTokens\":{\"type\":\"number\"},\"steps\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}}},\"required\":[\"totalInputTokens\",\"totalOutputTokens\"],\"additionalProperties\":false},\"primaryModel\":{\"type\":\"string\"}},\"required\":[\"answer\",\"sources\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"file\":{\"type\":\"object\",\"properties\":{\"path\":{\"type\":\"string\"},\"content\":{\"type\":\"string\"}},\"required\":[\"path\",\"content\"],\"additionalProperties\":false},\"actualTokenUsage\":{\"type\":\"object\",\"properties\":{\"totalInputTokens\":{\"type\":\"number\"},\"totalOutputTokens\":{\"type\":\"number\"},\"steps\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}}},\"required\":[\"totalInputTokens\",\"totalOutputTokens\"],\"additionalProperties\":false},\"primaryModel\":{\"type\":\"string\"}},\"required\":[\"file\"],\"additionalProperties\":false}],\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false}},"stepGraph":[{"type":"step","step":{"id":"aiChat.normalizeInput","description":"Normalize repositoryName and userQuery, resolve conversational references","canSuspend":false}},{"type":"step","step":{"id":"aiChat.classifyIntent","description":"Classify user intent and targets","canSuspend":false}},{"type":"conditional","steps":[{"type":"step","step":{"id":"aiChat.fileFetch","description":"Fetch exact file from GitHub when a path is detected - UPDATED","canSuspend":false}},{"type":"step","step":{"id":"aiChat.architectureOverview","description":"Get high-level architecture overview using directory aggregation","canSuspend":false}},{"type":"step","step":{"id":"aiChat.semanticSynthesize","description":"Retrieve summaries and synthesize a grounded answer","canSuspend":false}}],"serializedConditions":[{"id":"aiChat.fileFetch-condition","fn":"async ({ inputData }) => inputData.intent.intent === \"file\""},{"id":"aiChat.architectureOverview-condition","fn":"async ({ inputData }) => inputData.intent.intent === \"architecture\""},{"id":"aiChat.semanticSynthesize-condition","fn":"async ({ inputData }) => inputData.intent.intent !== \"file\" && inputData.intent.intent !== \"architecture\""}]},{"type":"step","step":{"id":"aiChat.outputs","description":"Post-process outputs (spec/tickets/agent) from synthesis JSON and aggregate token usage","canSuspend":false}}],"inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"userQuery\":{\"type\":\"string\"},\"conversationContext\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\"]},\"content\":{\"type\":\"string\"}},\"required\":[\"role\",\"content\"],\"additionalProperties\":false}}},\"required\":[\"repositoryName\",\"userQuery\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"answer\":{\"type\":\"string\"},\"sources\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"path\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"lines\":{\"type\":\"string\"}},\"required\":[\"path\"],\"additionalProperties\":false}},\"flows\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"gaps\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"actualTokenUsage\":{\"type\":\"object\",\"properties\":{\"totalInputTokens\":{\"type\":\"number\"},\"totalOutputTokens\":{\"type\":\"number\"},\"steps\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\",\"properties\":{\"inputTokens\":{\"type\":\"number\"},\"outputTokens\":{\"type\":\"number\"}},\"required\":[\"inputTokens\",\"outputTokens\"],\"additionalProperties\":false}}},\"required\":[\"totalInputTokens\",\"totalOutputTokens\"],\"additionalProperties\":false},\"primaryModel\":{\"type\":\"string\"}},\"required\":[\"answer\",\"sources\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","options":{"validateInputs":true},"isProcessorWorkflow":false},"contextSearchWorkflow":{"name":"contextSearchWorkflow","steps":{"search":{"id":"search","description":"Search for relevant code context using BigQuery semantic search","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"string\",\"description\":\"The search query\"},\"repositoryName\":{\"type\":\"string\",\"description\":\"Single repository name to search\"},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Multiple repository names to search\"},\"topK\":{\"type\":\"number\",\"default\":5,\"description\":\"Number of results to return\"}},\"required\":[\"query\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"files\":{\"type\":\"array\"},\"summary\":{\"type\":\"string\"}},\"required\":[\"files\",\"summary\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"}},"allSteps":{"search":{"id":"search","description":"Search for relevant code context using BigQuery semantic search","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"string\",\"description\":\"The search query\"},\"repositoryName\":{\"type\":\"string\",\"description\":\"Single repository name to search\"},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Multiple repository names to search\"},\"topK\":{\"type\":\"number\",\"default\":5,\"description\":\"Number of results to return\"}},\"required\":[\"query\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"files\":{\"type\":\"array\"},\"summary\":{\"type\":\"string\"}},\"required\":[\"files\",\"summary\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false}},"stepGraph":[{"type":"step","step":{"id":"search","description":"Search for relevant code context using BigQuery semantic search","canSuspend":false}}],"inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"string\",\"description\":\"The search query\"},\"repositoryName\":{\"type\":\"string\",\"description\":\"Single repository name to search\"},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Multiple repository names to search\"},\"topK\":{\"type\":\"number\",\"default\":5,\"description\":\"Number of results to return\"}},\"required\":[\"query\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"files\":{\"type\":\"array\"},\"summary\":{\"type\":\"string\"}},\"required\":[\"files\",\"summary\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","options":{"validateInputs":true},"isProcessorWorkflow":false},"techStackWorkflow":{"name":"techStackWorkflow","steps":{"fetchTechStackData":{"id":"fetchTechStackData","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\",\"description\":\"Repository name in format: owner/repo\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"repositoryName\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"techStackData\":{},\"executionTime\":{\"type\":\"number\"},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"repositoryName\",\"executionTime\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"},"generateTechStackDocs":{"id":"generateTechStackDocs","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"techStackData\":{},\"executionTime\":{\"type\":\"number\"},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"repositoryName\",\"executionTime\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"techStack\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"content\":{\"type\":\"string\"},\"generatedAt\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"}},\"required\":[\"id\",\"title\",\"content\",\"generatedAt\",\"status\"],\"additionalProperties\":false}},\"required\":[\"repositoryName\",\"techStack\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"}},"allSteps":{"fetchTechStackData":{"id":"fetchTechStackData","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\",\"description\":\"Repository name in format: owner/repo\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"repositoryName\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"techStackData\":{},\"executionTime\":{\"type\":\"number\"},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"repositoryName\",\"executionTime\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false},"generateTechStackDocs":{"id":"generateTechStackDocs","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"techStackData\":{},\"executionTime\":{\"type\":\"number\"},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"repositoryName\",\"executionTime\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"techStack\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"content\":{\"type\":\"string\"},\"generatedAt\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"}},\"required\":[\"id\",\"title\",\"content\",\"generatedAt\",\"status\"],\"additionalProperties\":false}},\"required\":[\"repositoryName\",\"techStack\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false}},"stepGraph":[{"type":"step","step":{"id":"fetchTechStackData","canSuspend":false}},{"type":"step","step":{"id":"generateTechStackDocs","canSuspend":false}}],"inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\",\"description\":\"Repository name in format: owner/repo\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"repositoryName\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"techStack\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"content\":{\"type\":\"string\"},\"generatedAt\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"}},\"required\":[\"id\",\"title\",\"content\",\"generatedAt\",\"status\"],\"additionalProperties\":false},\"repositoryName\":{\"type\":\"string\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]}},\"required\":[\"techStack\",\"repositoryName\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","options":{"validateInputs":true},"isProcessorWorkflow":false},"directoryStructureWorkflow":{"name":"directoryStructureWorkflow","steps":{"fetchDirectoryStructureData":{"id":"fetchDirectoryStructureData","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\",\"description\":\"Repository name in format: owner/repo\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"repositoryName\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"directoryData\":{},\"executionTime\":{\"type\":\"number\"},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"repositoryName\",\"executionTime\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"},"analyzeDirectories":{"id":"analyzeDirectories","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"directoryData\":{},\"executionTime\":{\"type\":\"number\"},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"repositoryName\",\"executionTime\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"analyzedDirectories\":{},\"executionTime\":{\"type\":\"number\"},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"repositoryName\",\"executionTime\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"},"generateDirectoryStructureDocs":{"id":"generateDirectoryStructureDocs","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"analyzedDirectories\":{},\"executionTime\":{\"type\":\"number\"},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"repositoryName\",\"executionTime\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"directoryStructure\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"content\":{\"type\":\"string\"},\"generatedAt\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"}},\"required\":[\"id\",\"title\",\"content\",\"generatedAt\",\"status\"],\"additionalProperties\":false}},\"required\":[\"repositoryName\",\"directoryStructure\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"}},"allSteps":{"fetchDirectoryStructureData":{"id":"fetchDirectoryStructureData","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\",\"description\":\"Repository name in format: owner/repo\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"repositoryName\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"directoryData\":{},\"executionTime\":{\"type\":\"number\"},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"repositoryName\",\"executionTime\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false},"analyzeDirectories":{"id":"analyzeDirectories","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"directoryData\":{},\"executionTime\":{\"type\":\"number\"},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"repositoryName\",\"executionTime\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"analyzedDirectories\":{},\"executionTime\":{\"type\":\"number\"},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"repositoryName\",\"executionTime\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false},"generateDirectoryStructureDocs":{"id":"generateDirectoryStructureDocs","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"analyzedDirectories\":{},\"executionTime\":{\"type\":\"number\"},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"repositoryName\",\"executionTime\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"directoryStructure\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"content\":{\"type\":\"string\"},\"generatedAt\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"}},\"required\":[\"id\",\"title\",\"content\",\"generatedAt\",\"status\"],\"additionalProperties\":false}},\"required\":[\"repositoryName\",\"directoryStructure\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false}},"stepGraph":[{"type":"step","step":{"id":"fetchDirectoryStructureData","canSuspend":false}},{"type":"step","step":{"id":"analyzeDirectories","canSuspend":false}},{"type":"step","step":{"id":"generateDirectoryStructureDocs","canSuspend":false}}],"inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\",\"description\":\"Repository name in format: owner/repo\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"repositoryName\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"directoryStructure\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"content\":{\"type\":\"string\"},\"generatedAt\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"}},\"required\":[\"id\",\"title\",\"content\",\"generatedAt\",\"status\"],\"additionalProperties\":false},\"repositoryName\":{\"type\":\"string\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]}},\"required\":[\"directoryStructure\",\"repositoryName\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","options":{"validateInputs":true},"isProcessorWorkflow":false},"projectOverviewWorkflow":{"name":"projectOverviewWorkflow","steps":{"fetchProjectOverviewData":{"id":"fetchProjectOverviewData","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\",\"description\":\"Repository name in format: owner/repo\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"repositoryName\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"projectOverviewData\":{},\"executionTime\":{\"type\":\"number\"},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"repositoryName\",\"executionTime\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"},"generateProjectOverviewDocs":{"id":"generateProjectOverviewDocs","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"projectOverviewData\":{},\"executionTime\":{\"type\":\"number\"},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"repositoryName\",\"executionTime\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"projectOverview\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"content\":{\"type\":\"string\"},\"generatedAt\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"}},\"required\":[\"id\",\"title\",\"content\",\"generatedAt\",\"status\"],\"additionalProperties\":false}},\"required\":[\"repositoryName\",\"projectOverview\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"}},"allSteps":{"fetchProjectOverviewData":{"id":"fetchProjectOverviewData","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\",\"description\":\"Repository name in format: owner/repo\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"repositoryName\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"projectOverviewData\":{},\"executionTime\":{\"type\":\"number\"},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"repositoryName\",\"executionTime\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false},"generateProjectOverviewDocs":{"id":"generateProjectOverviewDocs","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"projectOverviewData\":{},\"executionTime\":{\"type\":\"number\"},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"repositoryName\",\"executionTime\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"projectOverview\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"content\":{\"type\":\"string\"},\"generatedAt\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"}},\"required\":[\"id\",\"title\",\"content\",\"generatedAt\",\"status\"],\"additionalProperties\":false}},\"required\":[\"repositoryName\",\"projectOverview\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false}},"stepGraph":[{"type":"step","step":{"id":"fetchProjectOverviewData","canSuspend":false}},{"type":"step","step":{"id":"generateProjectOverviewDocs","canSuspend":false}}],"inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"type\":\"string\",\"description\":\"Repository name in format: owner/repo\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"repositoryName\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"projectOverview\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"content\":{\"type\":\"string\"},\"generatedAt\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"}},\"required\":[\"id\",\"title\",\"content\",\"generatedAt\",\"status\"],\"additionalProperties\":false},\"repositoryName\":{\"type\":\"string\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]}},\"required\":[\"projectOverview\",\"repositoryName\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","options":{"validateInputs":true},"isProcessorWorkflow":false},"apiDocumentationWorkflow":{"name":"apiDocumentationWorkflow","steps":{"fetchAPIDocumentationData":{"id":"fetchAPIDocumentationData","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}],\"description\":\"Repository name(s) - single string or array for multi-repo\"},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Repository names array for multi-repo project-level docs\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}]},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"allEndpoints\":{\"type\":\"array\"},\"displayName\":{\"type\":\"string\"},\"totalEndpoints\":{\"type\":\"number\"},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"allEndpoints\",\"displayName\",\"totalEndpoints\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"},"prepareAPIDocumentationData":{"id":"prepareAPIDocumentationData","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}]},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"allEndpoints\":{\"type\":\"array\"},\"displayName\":{\"type\":\"string\"},\"totalEndpoints\":{\"type\":\"number\"},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"allEndpoints\",\"displayName\",\"totalEndpoints\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}]},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"apiData\":{},\"displayName\":{\"type\":\"string\"},\"totalEndpoints\":{\"type\":\"number\"},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"displayName\",\"totalEndpoints\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"},"generateAPIDocumentationDocs":{"id":"generateAPIDocumentationDocs","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}]},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"apiData\":{},\"displayName\":{\"type\":\"string\"},\"totalEndpoints\":{\"type\":\"number\"},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"displayName\",\"totalEndpoints\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"apiDocumentation\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"content\":{\"type\":\"string\"},\"generatedAt\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"}},\"required\":[\"id\",\"title\",\"content\",\"generatedAt\",\"status\"],\"additionalProperties\":false},\"repositoryName\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}]},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]}},\"required\":[\"apiDocumentation\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"}},"allSteps":{"fetchAPIDocumentationData":{"id":"fetchAPIDocumentationData","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}],\"description\":\"Repository name(s) - single string or array for multi-repo\"},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Repository names array for multi-repo project-level docs\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}]},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"allEndpoints\":{\"type\":\"array\"},\"displayName\":{\"type\":\"string\"},\"totalEndpoints\":{\"type\":\"number\"},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"allEndpoints\",\"displayName\",\"totalEndpoints\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false},"prepareAPIDocumentationData":{"id":"prepareAPIDocumentationData","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}]},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"allEndpoints\":{\"type\":\"array\"},\"displayName\":{\"type\":\"string\"},\"totalEndpoints\":{\"type\":\"number\"},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"allEndpoints\",\"displayName\",\"totalEndpoints\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}]},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"apiData\":{},\"displayName\":{\"type\":\"string\"},\"totalEndpoints\":{\"type\":\"number\"},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"displayName\",\"totalEndpoints\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false},"generateAPIDocumentationDocs":{"id":"generateAPIDocumentationDocs","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}]},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"apiData\":{},\"displayName\":{\"type\":\"string\"},\"totalEndpoints\":{\"type\":\"number\"},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"displayName\",\"totalEndpoints\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"apiDocumentation\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"content\":{\"type\":\"string\"},\"generatedAt\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"}},\"required\":[\"id\",\"title\",\"content\",\"generatedAt\",\"status\"],\"additionalProperties\":false},\"repositoryName\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}]},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]}},\"required\":[\"apiDocumentation\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false}},"stepGraph":[{"type":"step","step":{"id":"fetchAPIDocumentationData","canSuspend":false}},{"type":"step","step":{"id":"prepareAPIDocumentationData","canSuspend":false}},{"type":"step","step":{"id":"generateAPIDocumentationDocs","canSuspend":false}}],"inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}],\"description\":\"Repository name(s) - single string or array for multi-repo\"},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Repository names array for multi-repo project-level docs\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"apiDocumentation\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"content\":{\"type\":\"string\"},\"generatedAt\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"}},\"required\":[\"id\",\"title\",\"content\",\"generatedAt\",\"status\"],\"additionalProperties\":false},\"repositoryName\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}]},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]}},\"required\":[\"apiDocumentation\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","options":{"validateInputs":true},"isProcessorWorkflow":false},"architectureOverviewWorkflow":{"name":"architectureOverviewWorkflow","steps":{"fetchArchitectureData":{"id":"fetchArchitectureData","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}],\"description\":\"Repository name(s) - single string or array for multi-repo\"},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Repository names array for multi-repo project-level docs\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}]},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"architectureData\":{},\"displayName\":{\"type\":\"string\"},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"displayName\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"},"generateArchitectureOverviewDocs":{"id":"generateArchitectureOverviewDocs","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}]},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"architectureData\":{},\"displayName\":{\"type\":\"string\"},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"displayName\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"architectureOverview\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"content\":{\"type\":\"string\"},\"generatedAt\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"}},\"required\":[\"id\",\"title\",\"content\",\"generatedAt\",\"status\"],\"additionalProperties\":false},\"repositoryName\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}]},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]}},\"required\":[\"architectureOverview\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"}},"allSteps":{"fetchArchitectureData":{"id":"fetchArchitectureData","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}],\"description\":\"Repository name(s) - single string or array for multi-repo\"},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Repository names array for multi-repo project-level docs\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}]},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"architectureData\":{},\"displayName\":{\"type\":\"string\"},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"displayName\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false},"generateArchitectureOverviewDocs":{"id":"generateArchitectureOverviewDocs","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}]},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"architectureData\":{},\"displayName\":{\"type\":\"string\"},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"displayName\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"architectureOverview\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"content\":{\"type\":\"string\"},\"generatedAt\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"}},\"required\":[\"id\",\"title\",\"content\",\"generatedAt\",\"status\"],\"additionalProperties\":false},\"repositoryName\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}]},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]}},\"required\":[\"architectureOverview\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false}},"stepGraph":[{"type":"step","step":{"id":"fetchArchitectureData","canSuspend":false}},{"type":"step","step":{"id":"generateArchitectureOverviewDocs","canSuspend":false}}],"inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}],\"description\":\"Repository name(s) - single string or array for multi-repo\"},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Repository names array for multi-repo project-level docs\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"architectureOverview\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"content\":{\"type\":\"string\"},\"generatedAt\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"}},\"required\":[\"id\",\"title\",\"content\",\"generatedAt\",\"status\"],\"additionalProperties\":false},\"repositoryName\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}]},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]}},\"required\":[\"architectureOverview\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","options":{"validateInputs":true},"isProcessorWorkflow":false},"applicationFlowsWorkflow":{"name":"applicationFlowsWorkflow","steps":{"fetchApplicationFlowsData":{"id":"fetchApplicationFlowsData","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}],\"description\":\"Repository name(s) - single string or array for multi-repo\"},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Repository names array for multi-repo project-level docs\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}]},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"overview\":{},\"allApiEndpoints\":{\"type\":\"array\"},\"displayName\":{\"type\":\"string\"},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"allApiEndpoints\",\"displayName\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"},"analyzeFlowPriorities":{"id":"analyzeFlowPriorities","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}]},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"overview\":{},\"allApiEndpoints\":{\"type\":\"array\"},\"displayName\":{\"type\":\"string\"},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"allApiEndpoints\",\"displayName\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}]},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"overview\":{},\"allApiEndpoints\":{\"type\":\"array\"},\"recommendation\":{},\"displayName\":{\"type\":\"string\"},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"allApiEndpoints\",\"displayName\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"},"generateApplicationFlowsDocs":{"id":"generateApplicationFlowsDocs","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}]},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"overview\":{},\"allApiEndpoints\":{\"type\":\"array\"},\"recommendation\":{},\"displayName\":{\"type\":\"string\"},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"allApiEndpoints\",\"displayName\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"applicationFlows\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"content\":{\"type\":\"string\"},\"generatedAt\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"}},\"required\":[\"id\",\"title\",\"content\",\"generatedAt\",\"status\"],\"additionalProperties\":false},\"repositoryName\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}]},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]}},\"required\":[\"applicationFlows\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"}},"allSteps":{"fetchApplicationFlowsData":{"id":"fetchApplicationFlowsData","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}],\"description\":\"Repository name(s) - single string or array for multi-repo\"},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Repository names array for multi-repo project-level docs\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}]},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"overview\":{},\"allApiEndpoints\":{\"type\":\"array\"},\"displayName\":{\"type\":\"string\"},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"allApiEndpoints\",\"displayName\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false},"analyzeFlowPriorities":{"id":"analyzeFlowPriorities","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}]},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"overview\":{},\"allApiEndpoints\":{\"type\":\"array\"},\"displayName\":{\"type\":\"string\"},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"allApiEndpoints\",\"displayName\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}]},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"overview\":{},\"allApiEndpoints\":{\"type\":\"array\"},\"recommendation\":{},\"displayName\":{\"type\":\"string\"},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"allApiEndpoints\",\"displayName\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false},"generateApplicationFlowsDocs":{"id":"generateApplicationFlowsDocs","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}]},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"overview\":{},\"allApiEndpoints\":{\"type\":\"array\"},\"recommendation\":{},\"displayName\":{\"type\":\"string\"},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"required\":[\"allApiEndpoints\",\"displayName\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"applicationFlows\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"content\":{\"type\":\"string\"},\"generatedAt\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"}},\"required\":[\"id\",\"title\",\"content\",\"generatedAt\",\"status\"],\"additionalProperties\":false},\"repositoryName\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}]},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]}},\"required\":[\"applicationFlows\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false}},"stepGraph":[{"type":"step","step":{"id":"fetchApplicationFlowsData","canSuspend":false}},{"type":"step","step":{"id":"analyzeFlowPriorities","canSuspend":false}},{"type":"step","step":{"id":"generateApplicationFlowsDocs","canSuspend":false}}],"inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"repositoryName\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}],\"description\":\"Repository name(s) - single string or array for multi-repo\"},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Repository names array for multi-repo project-level docs\"},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]},\"accountId\":{\"type\":\"string\"},\"userId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"applicationFlows\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"content\":{\"type\":\"string\"},\"generatedAt\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"}},\"required\":[\"id\",\"title\",\"content\",\"generatedAt\",\"status\"],\"additionalProperties\":false},\"repositoryName\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}]},\"repositoryNames\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"llmModel\":{\"type\":\"string\",\"enum\":[\"claude-sonnet-4-5\",\"grok-3\",\"grok-4-1-fast-reasoning\",\"gpt-5-mini\",\"deepseek-reasoner\",\"gemini-3-flash-preview\"]}},\"required\":[\"applicationFlows\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","options":{"validateInputs":true},"isProcessorWorkflow":false},"featureAnalysis":{"name":"feature-analysis-workflow","description":"Analyzes feature architecture using semantic search and BigQuery embeddings to provide comprehensive code structure insights","steps":{"unifiedFeatureAnalysis":{"id":"unifiedFeatureAnalysis","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"featureName\":{\"type\":\"string\",\"description\":\"The feature to analyze (e.g., \\\"tickets functionality\\\")\"},\"repositoryName\":{\"type\":\"string\",\"default\":\"mmbely/qeek\",\"description\":\"Repository to search\"}},\"required\":[\"featureName\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"searchQuery\":{\"type\":\"object\",\"properties\":{\"originalQuery\":{\"type\":\"string\"},\"expandedQuery\":{\"type\":\"string\"},\"embeddingModel\":{\"type\":\"string\"}},\"required\":[\"originalQuery\",\"expandedQuery\",\"embeddingModel\"],\"additionalProperties\":false},\"fileStructure\":{\"type\":\"object\",\"properties\":{\"directoryTree\":{\"type\":\"string\"},\"coreFiles\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"file_path\":{\"type\":\"string\"},\"element_type\":{\"type\":\"string\"},\"element_name\":{\"type\":\"string\"},\"embedded_text_preview\":{\"type\":\"string\"},\"additional_details\":{\"type\":\"string\"},\"similarity\":{\"type\":\"number\"}},\"required\":[\"file_path\",\"element_type\",\"element_name\",\"embedded_text_preview\",\"additional_details\"],\"additionalProperties\":false}},\"organizationInsights\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"searchMetadata\":{\"type\":\"object\",\"properties\":{\"totalResults\":{\"type\":\"number\"},\"searchTime\":{\"type\":\"number\"},\"filesAnalyzed\":{\"type\":\"number\"}},\"required\":[\"totalResults\",\"searchTime\",\"filesAnalyzed\"],\"additionalProperties\":false}},\"required\":[\"directoryTree\",\"coreFiles\",\"organizationInsights\",\"searchMetadata\"],\"additionalProperties\":false},\"componentArchitecture\":{\"type\":\"object\",\"properties\":{\"uiComponentHierarchy\":{\"type\":\"string\"},\"implementationDetails\":{\"type\":\"string\"},\"hookDependencies\":{\"type\":\"string\"},\"architectureInsights\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"relationshipMap\":{\"type\":\"object\",\"properties\":{\"components\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"hooks\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"services\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"components\",\"hooks\",\"services\"],\"additionalProperties\":false}},\"required\":[\"uiComponentHierarchy\",\"implementationDetails\",\"hookDependencies\",\"architectureInsights\",\"relationshipMap\"],\"additionalProperties\":false}},\"required\":[\"searchQuery\",\"fileStructure\",\"componentArchitecture\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}"}},"allSteps":{"unifiedFeatureAnalysis":{"id":"unifiedFeatureAnalysis","inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"featureName\":{\"type\":\"string\",\"description\":\"The feature to analyze (e.g., \\\"tickets functionality\\\")\"},\"repositoryName\":{\"type\":\"string\",\"default\":\"mmbely/qeek\",\"description\":\"Repository to search\"}},\"required\":[\"featureName\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"searchQuery\":{\"type\":\"object\",\"properties\":{\"originalQuery\":{\"type\":\"string\"},\"expandedQuery\":{\"type\":\"string\"},\"embeddingModel\":{\"type\":\"string\"}},\"required\":[\"originalQuery\",\"expandedQuery\",\"embeddingModel\"],\"additionalProperties\":false},\"fileStructure\":{\"type\":\"object\",\"properties\":{\"directoryTree\":{\"type\":\"string\"},\"coreFiles\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"file_path\":{\"type\":\"string\"},\"element_type\":{\"type\":\"string\"},\"element_name\":{\"type\":\"string\"},\"embedded_text_preview\":{\"type\":\"string\"},\"additional_details\":{\"type\":\"string\"},\"similarity\":{\"type\":\"number\"}},\"required\":[\"file_path\",\"element_type\",\"element_name\",\"embedded_text_preview\",\"additional_details\"],\"additionalProperties\":false}},\"organizationInsights\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"searchMetadata\":{\"type\":\"object\",\"properties\":{\"totalResults\":{\"type\":\"number\"},\"searchTime\":{\"type\":\"number\"},\"filesAnalyzed\":{\"type\":\"number\"}},\"required\":[\"totalResults\",\"searchTime\",\"filesAnalyzed\"],\"additionalProperties\":false}},\"required\":[\"directoryTree\",\"coreFiles\",\"organizationInsights\",\"searchMetadata\"],\"additionalProperties\":false},\"componentArchitecture\":{\"type\":\"object\",\"properties\":{\"uiComponentHierarchy\":{\"type\":\"string\"},\"implementationDetails\":{\"type\":\"string\"},\"hookDependencies\":{\"type\":\"string\"},\"architectureInsights\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"relationshipMap\":{\"type\":\"object\",\"properties\":{\"components\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"hooks\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"services\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"components\",\"hooks\",\"services\"],\"additionalProperties\":false}},\"required\":[\"uiComponentHierarchy\",\"implementationDetails\",\"hookDependencies\",\"architectureInsights\",\"relationshipMap\"],\"additionalProperties\":false}},\"required\":[\"searchQuery\",\"fileStructure\",\"componentArchitecture\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false}},"stepGraph":[{"type":"step","step":{"id":"unifiedFeatureAnalysis","canSuspend":false}}],"inputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"featureName\":{\"type\":\"string\",\"description\":\"The feature to analyze (e.g., \\\"tickets functionality\\\")\"},\"repositoryName\":{\"type\":\"string\",\"default\":\"mmbely/qeek\",\"description\":\"Repository to search\"}},\"required\":[\"featureName\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"searchQuery\":{\"type\":\"object\",\"properties\":{\"originalQuery\":{\"type\":\"string\"},\"expandedQuery\":{\"type\":\"string\"},\"embeddingModel\":{\"type\":\"string\"}},\"required\":[\"originalQuery\",\"expandedQuery\",\"embeddingModel\"],\"additionalProperties\":false},\"fileStructure\":{\"type\":\"object\",\"properties\":{\"directoryTree\":{\"type\":\"string\"},\"coreFiles\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"file_path\":{\"type\":\"string\"},\"element_type\":{\"type\":\"string\"},\"element_name\":{\"type\":\"string\"},\"embedded_text_preview\":{\"type\":\"string\"},\"additional_details\":{\"type\":\"string\"},\"similarity\":{\"type\":\"number\"}},\"required\":[\"file_path\",\"element_type\",\"element_name\",\"embedded_text_preview\",\"additional_details\"],\"additionalProperties\":false}},\"organizationInsights\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"searchMetadata\":{\"type\":\"object\",\"properties\":{\"totalResults\":{\"type\":\"number\"},\"searchTime\":{\"type\":\"number\"},\"filesAnalyzed\":{\"type\":\"number\"}},\"required\":[\"totalResults\",\"searchTime\",\"filesAnalyzed\"],\"additionalProperties\":false}},\"required\":[\"directoryTree\",\"coreFiles\",\"organizationInsights\",\"searchMetadata\"],\"additionalProperties\":false},\"componentArchitecture\":{\"type\":\"object\",\"properties\":{\"uiComponentHierarchy\":{\"type\":\"string\"},\"implementationDetails\":{\"type\":\"string\"},\"hookDependencies\":{\"type\":\"string\"},\"architectureInsights\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"relationshipMap\":{\"type\":\"object\",\"properties\":{\"components\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"hooks\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"services\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"components\",\"hooks\",\"services\"],\"additionalProperties\":false}},\"required\":[\"uiComponentHierarchy\",\"implementationDetails\",\"hookDependencies\",\"architectureInsights\",\"relationshipMap\"],\"additionalProperties\":false}},\"required\":[\"searchQuery\",\"fileStructure\",\"componentArchitecture\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","options":{"validateInputs":true},"isProcessorWorkflow":false},"codeAssistantAgentClaudeHaiku-input-processor":{"name":"codeAssistantAgentClaudeHaiku-input-processor","steps":{"processor:sanitize-historical-attachments":{"id":"processor:sanitize-historical-attachments","description":"Sanitize historical attachments","inputSchema":"{\"json\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"input\"},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"retryCount\":{\"type\":\"number\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"inputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"},\"model\":{\"description\":\"Current model for this step\"},\"tools\":{\"description\":\"Current tools available for this step\"},\"toolChoice\":{\"description\":\"Current tool choice setting\"},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Currently active tools\"},\"providerOptions\":{\"description\":\"Provider-specific options\"},\"modelSettings\":{\"description\":\"Model settings (temperature, etc.)\"},\"structuredOutput\":{\"description\":\"Structured output configuration\"},\"steps\":{\"description\":\"Results from previous steps\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStream\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}],\"description\":\"The current chunk being processed. Can be null to skip.\"},\"streamParts\":{\"type\":\"array\",\"items\":{},\"description\":\"All chunks seen so far\"},\"state\":{\"type\":\"object\",\"additionalProperties\":{},\"description\":\"Mutable state object that persists across chunks\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"streamParts\",\"state\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputResult\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"finishReason\":{\"type\":\"string\",\"description\":\"The finish reason from the LLM (stop, tool-use, length, etc.)\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false},\"description\":\"Tool calls made in this step (if any)\"},\"text\":{\"type\":\"string\",\"description\":\"Generated text from this step\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false}],\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"enum\":[\"input\",\"inputStep\",\"outputStream\",\"outputResult\",\"outputStep\"]},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"stepNumber\":{\"type\":\"number\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}]},\"streamParts\":{\"type\":\"array\",\"items\":{}},\"state\":{\"type\":\"object\",\"additionalProperties\":{}},\"finishReason\":{\"type\":\"string\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false}},\"text\":{\"type\":\"string\"},\"retryCount\":{\"type\":\"number\"},\"model\":{},\"tools\":{},\"toolChoice\":{},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"providerOptions\":{},\"modelSettings\":{},\"structuredOutput\":{},\"steps\":{}},\"required\":[\"phase\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","component":"PROCESSOR"}},"allSteps":{"processor:sanitize-historical-attachments":{"id":"processor:sanitize-historical-attachments","description":"Sanitize historical attachments","inputSchema":"{\"json\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"input\"},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"retryCount\":{\"type\":\"number\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"inputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"},\"model\":{\"description\":\"Current model for this step\"},\"tools\":{\"description\":\"Current tools available for this step\"},\"toolChoice\":{\"description\":\"Current tool choice setting\"},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Currently active tools\"},\"providerOptions\":{\"description\":\"Provider-specific options\"},\"modelSettings\":{\"description\":\"Model settings (temperature, etc.)\"},\"structuredOutput\":{\"description\":\"Structured output configuration\"},\"steps\":{\"description\":\"Results from previous steps\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStream\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}],\"description\":\"The current chunk being processed. Can be null to skip.\"},\"streamParts\":{\"type\":\"array\",\"items\":{},\"description\":\"All chunks seen so far\"},\"state\":{\"type\":\"object\",\"additionalProperties\":{},\"description\":\"Mutable state object that persists across chunks\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"streamParts\",\"state\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputResult\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"finishReason\":{\"type\":\"string\",\"description\":\"The finish reason from the LLM (stop, tool-use, length, etc.)\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false},\"description\":\"Tool calls made in this step (if any)\"},\"text\":{\"type\":\"string\",\"description\":\"Generated text from this step\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false}],\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"enum\":[\"input\",\"inputStep\",\"outputStream\",\"outputResult\",\"outputStep\"]},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"stepNumber\":{\"type\":\"number\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}]},\"streamParts\":{\"type\":\"array\",\"items\":{}},\"state\":{\"type\":\"object\",\"additionalProperties\":{}},\"finishReason\":{\"type\":\"string\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false}},\"text\":{\"type\":\"string\"},\"retryCount\":{\"type\":\"number\"},\"model\":{},\"tools\":{},\"toolChoice\":{},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"providerOptions\":{},\"modelSettings\":{},\"structuredOutput\":{},\"steps\":{}},\"required\":[\"phase\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false,"component":"PROCESSOR"}},"stepGraph":[{"type":"step","step":{"id":"processor:sanitize-historical-attachments","description":"Sanitize historical attachments","component":"PROCESSOR","canSuspend":false}}],"inputSchema":"{\"json\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"input\"},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"retryCount\":{\"type\":\"number\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"inputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"},\"model\":{\"description\":\"Current model for this step\"},\"tools\":{\"description\":\"Current tools available for this step\"},\"toolChoice\":{\"description\":\"Current tool choice setting\"},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Currently active tools\"},\"providerOptions\":{\"description\":\"Provider-specific options\"},\"modelSettings\":{\"description\":\"Model settings (temperature, etc.)\"},\"structuredOutput\":{\"description\":\"Structured output configuration\"},\"steps\":{\"description\":\"Results from previous steps\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStream\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}],\"description\":\"The current chunk being processed. Can be null to skip.\"},\"streamParts\":{\"type\":\"array\",\"items\":{},\"description\":\"All chunks seen so far\"},\"state\":{\"type\":\"object\",\"additionalProperties\":{},\"description\":\"Mutable state object that persists across chunks\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"streamParts\",\"state\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputResult\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"finishReason\":{\"type\":\"string\",\"description\":\"The finish reason from the LLM (stop, tool-use, length, etc.)\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false},\"description\":\"Tool calls made in this step (if any)\"},\"text\":{\"type\":\"string\",\"description\":\"Generated text from this step\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false}],\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"input\"},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"retryCount\":{\"type\":\"number\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"inputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"},\"model\":{\"description\":\"Current model for this step\"},\"tools\":{\"description\":\"Current tools available for this step\"},\"toolChoice\":{\"description\":\"Current tool choice setting\"},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Currently active tools\"},\"providerOptions\":{\"description\":\"Provider-specific options\"},\"modelSettings\":{\"description\":\"Model settings (temperature, etc.)\"},\"structuredOutput\":{\"description\":\"Structured output configuration\"},\"steps\":{\"description\":\"Results from previous steps\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStream\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}],\"description\":\"The current chunk being processed. Can be null to skip.\"},\"streamParts\":{\"type\":\"array\",\"items\":{},\"description\":\"All chunks seen so far\"},\"state\":{\"type\":\"object\",\"additionalProperties\":{},\"description\":\"Mutable state object that persists across chunks\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"streamParts\",\"state\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputResult\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"finishReason\":{\"type\":\"string\",\"description\":\"The finish reason from the LLM (stop, tool-use, length, etc.)\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false},\"description\":\"Tool calls made in this step (if any)\"},\"text\":{\"type\":\"string\",\"description\":\"Generated text from this step\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false}],\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","options":{"validateInputs":false,"tracingPolicy":{"internal":1}},"isProcessorWorkflow":true},"codeAssistantAgentClaude-input-processor":{"name":"codeAssistantAgentClaude-input-processor","steps":{"processor:sanitize-historical-attachments":{"id":"processor:sanitize-historical-attachments","description":"Sanitize historical attachments","inputSchema":"{\"json\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"input\"},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"retryCount\":{\"type\":\"number\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"inputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"},\"model\":{\"description\":\"Current model for this step\"},\"tools\":{\"description\":\"Current tools available for this step\"},\"toolChoice\":{\"description\":\"Current tool choice setting\"},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Currently active tools\"},\"providerOptions\":{\"description\":\"Provider-specific options\"},\"modelSettings\":{\"description\":\"Model settings (temperature, etc.)\"},\"structuredOutput\":{\"description\":\"Structured output configuration\"},\"steps\":{\"description\":\"Results from previous steps\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStream\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}],\"description\":\"The current chunk being processed. Can be null to skip.\"},\"streamParts\":{\"type\":\"array\",\"items\":{},\"description\":\"All chunks seen so far\"},\"state\":{\"type\":\"object\",\"additionalProperties\":{},\"description\":\"Mutable state object that persists across chunks\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"streamParts\",\"state\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputResult\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"finishReason\":{\"type\":\"string\",\"description\":\"The finish reason from the LLM (stop, tool-use, length, etc.)\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false},\"description\":\"Tool calls made in this step (if any)\"},\"text\":{\"type\":\"string\",\"description\":\"Generated text from this step\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false}],\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"enum\":[\"input\",\"inputStep\",\"outputStream\",\"outputResult\",\"outputStep\"]},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"stepNumber\":{\"type\":\"number\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}]},\"streamParts\":{\"type\":\"array\",\"items\":{}},\"state\":{\"type\":\"object\",\"additionalProperties\":{}},\"finishReason\":{\"type\":\"string\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false}},\"text\":{\"type\":\"string\"},\"retryCount\":{\"type\":\"number\"},\"model\":{},\"tools\":{},\"toolChoice\":{},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"providerOptions\":{},\"modelSettings\":{},\"structuredOutput\":{},\"steps\":{}},\"required\":[\"phase\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","component":"PROCESSOR"}},"allSteps":{"processor:sanitize-historical-attachments":{"id":"processor:sanitize-historical-attachments","description":"Sanitize historical attachments","inputSchema":"{\"json\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"input\"},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"retryCount\":{\"type\":\"number\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"inputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"},\"model\":{\"description\":\"Current model for this step\"},\"tools\":{\"description\":\"Current tools available for this step\"},\"toolChoice\":{\"description\":\"Current tool choice setting\"},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Currently active tools\"},\"providerOptions\":{\"description\":\"Provider-specific options\"},\"modelSettings\":{\"description\":\"Model settings (temperature, etc.)\"},\"structuredOutput\":{\"description\":\"Structured output configuration\"},\"steps\":{\"description\":\"Results from previous steps\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStream\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}],\"description\":\"The current chunk being processed. Can be null to skip.\"},\"streamParts\":{\"type\":\"array\",\"items\":{},\"description\":\"All chunks seen so far\"},\"state\":{\"type\":\"object\",\"additionalProperties\":{},\"description\":\"Mutable state object that persists across chunks\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"streamParts\",\"state\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputResult\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"finishReason\":{\"type\":\"string\",\"description\":\"The finish reason from the LLM (stop, tool-use, length, etc.)\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false},\"description\":\"Tool calls made in this step (if any)\"},\"text\":{\"type\":\"string\",\"description\":\"Generated text from this step\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false}],\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"enum\":[\"input\",\"inputStep\",\"outputStream\",\"outputResult\",\"outputStep\"]},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"stepNumber\":{\"type\":\"number\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}]},\"streamParts\":{\"type\":\"array\",\"items\":{}},\"state\":{\"type\":\"object\",\"additionalProperties\":{}},\"finishReason\":{\"type\":\"string\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false}},\"text\":{\"type\":\"string\"},\"retryCount\":{\"type\":\"number\"},\"model\":{},\"tools\":{},\"toolChoice\":{},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"providerOptions\":{},\"modelSettings\":{},\"structuredOutput\":{},\"steps\":{}},\"required\":[\"phase\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false,"component":"PROCESSOR"}},"stepGraph":[{"type":"step","step":{"id":"processor:sanitize-historical-attachments","description":"Sanitize historical attachments","component":"PROCESSOR","canSuspend":false}}],"inputSchema":"{\"json\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"input\"},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"retryCount\":{\"type\":\"number\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"inputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"},\"model\":{\"description\":\"Current model for this step\"},\"tools\":{\"description\":\"Current tools available for this step\"},\"toolChoice\":{\"description\":\"Current tool choice setting\"},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Currently active tools\"},\"providerOptions\":{\"description\":\"Provider-specific options\"},\"modelSettings\":{\"description\":\"Model settings (temperature, etc.)\"},\"structuredOutput\":{\"description\":\"Structured output configuration\"},\"steps\":{\"description\":\"Results from previous steps\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStream\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}],\"description\":\"The current chunk being processed. Can be null to skip.\"},\"streamParts\":{\"type\":\"array\",\"items\":{},\"description\":\"All chunks seen so far\"},\"state\":{\"type\":\"object\",\"additionalProperties\":{},\"description\":\"Mutable state object that persists across chunks\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"streamParts\",\"state\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputResult\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"finishReason\":{\"type\":\"string\",\"description\":\"The finish reason from the LLM (stop, tool-use, length, etc.)\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false},\"description\":\"Tool calls made in this step (if any)\"},\"text\":{\"type\":\"string\",\"description\":\"Generated text from this step\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false}],\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"input\"},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"retryCount\":{\"type\":\"number\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"inputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"},\"model\":{\"description\":\"Current model for this step\"},\"tools\":{\"description\":\"Current tools available for this step\"},\"toolChoice\":{\"description\":\"Current tool choice setting\"},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Currently active tools\"},\"providerOptions\":{\"description\":\"Provider-specific options\"},\"modelSettings\":{\"description\":\"Model settings (temperature, etc.)\"},\"structuredOutput\":{\"description\":\"Structured output configuration\"},\"steps\":{\"description\":\"Results from previous steps\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStream\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}],\"description\":\"The current chunk being processed. Can be null to skip.\"},\"streamParts\":{\"type\":\"array\",\"items\":{},\"description\":\"All chunks seen so far\"},\"state\":{\"type\":\"object\",\"additionalProperties\":{},\"description\":\"Mutable state object that persists across chunks\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"streamParts\",\"state\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputResult\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"finishReason\":{\"type\":\"string\",\"description\":\"The finish reason from the LLM (stop, tool-use, length, etc.)\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false},\"description\":\"Tool calls made in this step (if any)\"},\"text\":{\"type\":\"string\",\"description\":\"Generated text from this step\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false}],\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","options":{"validateInputs":false,"tracingPolicy":{"internal":1}},"isProcessorWorkflow":true},"codeAssistantAgentGemini-input-processor":{"name":"codeAssistantAgentGemini-input-processor","steps":{"processor:sanitize-historical-attachments":{"id":"processor:sanitize-historical-attachments","description":"Sanitize historical attachments","inputSchema":"{\"json\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"input\"},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"retryCount\":{\"type\":\"number\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"inputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"},\"model\":{\"description\":\"Current model for this step\"},\"tools\":{\"description\":\"Current tools available for this step\"},\"toolChoice\":{\"description\":\"Current tool choice setting\"},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Currently active tools\"},\"providerOptions\":{\"description\":\"Provider-specific options\"},\"modelSettings\":{\"description\":\"Model settings (temperature, etc.)\"},\"structuredOutput\":{\"description\":\"Structured output configuration\"},\"steps\":{\"description\":\"Results from previous steps\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStream\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}],\"description\":\"The current chunk being processed. Can be null to skip.\"},\"streamParts\":{\"type\":\"array\",\"items\":{},\"description\":\"All chunks seen so far\"},\"state\":{\"type\":\"object\",\"additionalProperties\":{},\"description\":\"Mutable state object that persists across chunks\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"streamParts\",\"state\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputResult\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"finishReason\":{\"type\":\"string\",\"description\":\"The finish reason from the LLM (stop, tool-use, length, etc.)\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false},\"description\":\"Tool calls made in this step (if any)\"},\"text\":{\"type\":\"string\",\"description\":\"Generated text from this step\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false}],\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"enum\":[\"input\",\"inputStep\",\"outputStream\",\"outputResult\",\"outputStep\"]},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"stepNumber\":{\"type\":\"number\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}]},\"streamParts\":{\"type\":\"array\",\"items\":{}},\"state\":{\"type\":\"object\",\"additionalProperties\":{}},\"finishReason\":{\"type\":\"string\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false}},\"text\":{\"type\":\"string\"},\"retryCount\":{\"type\":\"number\"},\"model\":{},\"tools\":{},\"toolChoice\":{},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"providerOptions\":{},\"modelSettings\":{},\"structuredOutput\":{},\"steps\":{}},\"required\":[\"phase\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","component":"PROCESSOR"}},"allSteps":{"processor:sanitize-historical-attachments":{"id":"processor:sanitize-historical-attachments","description":"Sanitize historical attachments","inputSchema":"{\"json\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"input\"},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"retryCount\":{\"type\":\"number\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"inputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"},\"model\":{\"description\":\"Current model for this step\"},\"tools\":{\"description\":\"Current tools available for this step\"},\"toolChoice\":{\"description\":\"Current tool choice setting\"},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Currently active tools\"},\"providerOptions\":{\"description\":\"Provider-specific options\"},\"modelSettings\":{\"description\":\"Model settings (temperature, etc.)\"},\"structuredOutput\":{\"description\":\"Structured output configuration\"},\"steps\":{\"description\":\"Results from previous steps\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStream\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}],\"description\":\"The current chunk being processed. Can be null to skip.\"},\"streamParts\":{\"type\":\"array\",\"items\":{},\"description\":\"All chunks seen so far\"},\"state\":{\"type\":\"object\",\"additionalProperties\":{},\"description\":\"Mutable state object that persists across chunks\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"streamParts\",\"state\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputResult\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"finishReason\":{\"type\":\"string\",\"description\":\"The finish reason from the LLM (stop, tool-use, length, etc.)\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false},\"description\":\"Tool calls made in this step (if any)\"},\"text\":{\"type\":\"string\",\"description\":\"Generated text from this step\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false}],\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"enum\":[\"input\",\"inputStep\",\"outputStream\",\"outputResult\",\"outputStep\"]},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"stepNumber\":{\"type\":\"number\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}]},\"streamParts\":{\"type\":\"array\",\"items\":{}},\"state\":{\"type\":\"object\",\"additionalProperties\":{}},\"finishReason\":{\"type\":\"string\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false}},\"text\":{\"type\":\"string\"},\"retryCount\":{\"type\":\"number\"},\"model\":{},\"tools\":{},\"toolChoice\":{},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"providerOptions\":{},\"modelSettings\":{},\"structuredOutput\":{},\"steps\":{}},\"required\":[\"phase\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false,"component":"PROCESSOR"}},"stepGraph":[{"type":"step","step":{"id":"processor:sanitize-historical-attachments","description":"Sanitize historical attachments","component":"PROCESSOR","canSuspend":false}}],"inputSchema":"{\"json\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"input\"},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"retryCount\":{\"type\":\"number\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"inputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"},\"model\":{\"description\":\"Current model for this step\"},\"tools\":{\"description\":\"Current tools available for this step\"},\"toolChoice\":{\"description\":\"Current tool choice setting\"},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Currently active tools\"},\"providerOptions\":{\"description\":\"Provider-specific options\"},\"modelSettings\":{\"description\":\"Model settings (temperature, etc.)\"},\"structuredOutput\":{\"description\":\"Structured output configuration\"},\"steps\":{\"description\":\"Results from previous steps\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStream\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}],\"description\":\"The current chunk being processed. Can be null to skip.\"},\"streamParts\":{\"type\":\"array\",\"items\":{},\"description\":\"All chunks seen so far\"},\"state\":{\"type\":\"object\",\"additionalProperties\":{},\"description\":\"Mutable state object that persists across chunks\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"streamParts\",\"state\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputResult\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"finishReason\":{\"type\":\"string\",\"description\":\"The finish reason from the LLM (stop, tool-use, length, etc.)\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false},\"description\":\"Tool calls made in this step (if any)\"},\"text\":{\"type\":\"string\",\"description\":\"Generated text from this step\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false}],\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"input\"},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"retryCount\":{\"type\":\"number\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"inputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"},\"model\":{\"description\":\"Current model for this step\"},\"tools\":{\"description\":\"Current tools available for this step\"},\"toolChoice\":{\"description\":\"Current tool choice setting\"},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Currently active tools\"},\"providerOptions\":{\"description\":\"Provider-specific options\"},\"modelSettings\":{\"description\":\"Model settings (temperature, etc.)\"},\"structuredOutput\":{\"description\":\"Structured output configuration\"},\"steps\":{\"description\":\"Results from previous steps\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStream\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}],\"description\":\"The current chunk being processed. Can be null to skip.\"},\"streamParts\":{\"type\":\"array\",\"items\":{},\"description\":\"All chunks seen so far\"},\"state\":{\"type\":\"object\",\"additionalProperties\":{},\"description\":\"Mutable state object that persists across chunks\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"streamParts\",\"state\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputResult\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"finishReason\":{\"type\":\"string\",\"description\":\"The finish reason from the LLM (stop, tool-use, length, etc.)\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false},\"description\":\"Tool calls made in this step (if any)\"},\"text\":{\"type\":\"string\",\"description\":\"Generated text from this step\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false}],\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","options":{"validateInputs":false,"tracingPolicy":{"internal":1}},"isProcessorWorkflow":true},"codeAssistantAgentGemini25Pro-input-processor":{"name":"codeAssistantAgentGemini25Pro-input-processor","steps":{"processor:sanitize-historical-attachments":{"id":"processor:sanitize-historical-attachments","description":"Sanitize historical attachments","inputSchema":"{\"json\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"input\"},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"retryCount\":{\"type\":\"number\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"inputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"},\"model\":{\"description\":\"Current model for this step\"},\"tools\":{\"description\":\"Current tools available for this step\"},\"toolChoice\":{\"description\":\"Current tool choice setting\"},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Currently active tools\"},\"providerOptions\":{\"description\":\"Provider-specific options\"},\"modelSettings\":{\"description\":\"Model settings (temperature, etc.)\"},\"structuredOutput\":{\"description\":\"Structured output configuration\"},\"steps\":{\"description\":\"Results from previous steps\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStream\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}],\"description\":\"The current chunk being processed. Can be null to skip.\"},\"streamParts\":{\"type\":\"array\",\"items\":{},\"description\":\"All chunks seen so far\"},\"state\":{\"type\":\"object\",\"additionalProperties\":{},\"description\":\"Mutable state object that persists across chunks\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"streamParts\",\"state\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputResult\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"finishReason\":{\"type\":\"string\",\"description\":\"The finish reason from the LLM (stop, tool-use, length, etc.)\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false},\"description\":\"Tool calls made in this step (if any)\"},\"text\":{\"type\":\"string\",\"description\":\"Generated text from this step\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false}],\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"enum\":[\"input\",\"inputStep\",\"outputStream\",\"outputResult\",\"outputStep\"]},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"stepNumber\":{\"type\":\"number\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}]},\"streamParts\":{\"type\":\"array\",\"items\":{}},\"state\":{\"type\":\"object\",\"additionalProperties\":{}},\"finishReason\":{\"type\":\"string\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false}},\"text\":{\"type\":\"string\"},\"retryCount\":{\"type\":\"number\"},\"model\":{},\"tools\":{},\"toolChoice\":{},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"providerOptions\":{},\"modelSettings\":{},\"structuredOutput\":{},\"steps\":{}},\"required\":[\"phase\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","component":"PROCESSOR"}},"allSteps":{"processor:sanitize-historical-attachments":{"id":"processor:sanitize-historical-attachments","description":"Sanitize historical attachments","inputSchema":"{\"json\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"input\"},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"retryCount\":{\"type\":\"number\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"inputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"},\"model\":{\"description\":\"Current model for this step\"},\"tools\":{\"description\":\"Current tools available for this step\"},\"toolChoice\":{\"description\":\"Current tool choice setting\"},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Currently active tools\"},\"providerOptions\":{\"description\":\"Provider-specific options\"},\"modelSettings\":{\"description\":\"Model settings (temperature, etc.)\"},\"structuredOutput\":{\"description\":\"Structured output configuration\"},\"steps\":{\"description\":\"Results from previous steps\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStream\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}],\"description\":\"The current chunk being processed. Can be null to skip.\"},\"streamParts\":{\"type\":\"array\",\"items\":{},\"description\":\"All chunks seen so far\"},\"state\":{\"type\":\"object\",\"additionalProperties\":{},\"description\":\"Mutable state object that persists across chunks\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"streamParts\",\"state\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputResult\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"finishReason\":{\"type\":\"string\",\"description\":\"The finish reason from the LLM (stop, tool-use, length, etc.)\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false},\"description\":\"Tool calls made in this step (if any)\"},\"text\":{\"type\":\"string\",\"description\":\"Generated text from this step\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false}],\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"enum\":[\"input\",\"inputStep\",\"outputStream\",\"outputResult\",\"outputStep\"]},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"stepNumber\":{\"type\":\"number\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}]},\"streamParts\":{\"type\":\"array\",\"items\":{}},\"state\":{\"type\":\"object\",\"additionalProperties\":{}},\"finishReason\":{\"type\":\"string\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false}},\"text\":{\"type\":\"string\"},\"retryCount\":{\"type\":\"number\"},\"model\":{},\"tools\":{},\"toolChoice\":{},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"providerOptions\":{},\"modelSettings\":{},\"structuredOutput\":{},\"steps\":{}},\"required\":[\"phase\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false,"component":"PROCESSOR"}},"stepGraph":[{"type":"step","step":{"id":"processor:sanitize-historical-attachments","description":"Sanitize historical attachments","component":"PROCESSOR","canSuspend":false}}],"inputSchema":"{\"json\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"input\"},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"retryCount\":{\"type\":\"number\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"inputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"},\"model\":{\"description\":\"Current model for this step\"},\"tools\":{\"description\":\"Current tools available for this step\"},\"toolChoice\":{\"description\":\"Current tool choice setting\"},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Currently active tools\"},\"providerOptions\":{\"description\":\"Provider-specific options\"},\"modelSettings\":{\"description\":\"Model settings (temperature, etc.)\"},\"structuredOutput\":{\"description\":\"Structured output configuration\"},\"steps\":{\"description\":\"Results from previous steps\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStream\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}],\"description\":\"The current chunk being processed. Can be null to skip.\"},\"streamParts\":{\"type\":\"array\",\"items\":{},\"description\":\"All chunks seen so far\"},\"state\":{\"type\":\"object\",\"additionalProperties\":{},\"description\":\"Mutable state object that persists across chunks\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"streamParts\",\"state\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputResult\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"finishReason\":{\"type\":\"string\",\"description\":\"The finish reason from the LLM (stop, tool-use, length, etc.)\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false},\"description\":\"Tool calls made in this step (if any)\"},\"text\":{\"type\":\"string\",\"description\":\"Generated text from this step\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false}],\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"input\"},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"retryCount\":{\"type\":\"number\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"inputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"},\"model\":{\"description\":\"Current model for this step\"},\"tools\":{\"description\":\"Current tools available for this step\"},\"toolChoice\":{\"description\":\"Current tool choice setting\"},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Currently active tools\"},\"providerOptions\":{\"description\":\"Provider-specific options\"},\"modelSettings\":{\"description\":\"Model settings (temperature, etc.)\"},\"structuredOutput\":{\"description\":\"Structured output configuration\"},\"steps\":{\"description\":\"Results from previous steps\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStream\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}],\"description\":\"The current chunk being processed. Can be null to skip.\"},\"streamParts\":{\"type\":\"array\",\"items\":{},\"description\":\"All chunks seen so far\"},\"state\":{\"type\":\"object\",\"additionalProperties\":{},\"description\":\"Mutable state object that persists across chunks\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"streamParts\",\"state\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputResult\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"finishReason\":{\"type\":\"string\",\"description\":\"The finish reason from the LLM (stop, tool-use, length, etc.)\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false},\"description\":\"Tool calls made in this step (if any)\"},\"text\":{\"type\":\"string\",\"description\":\"Generated text from this step\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false}],\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","options":{"validateInputs":false,"tracingPolicy":{"internal":1}},"isProcessorWorkflow":true},"codeAssistantSynthesisGemini2-input-processor":{"name":"codeAssistantSynthesisGemini2-input-processor","steps":{"processor:sanitize-historical-attachments":{"id":"processor:sanitize-historical-attachments","description":"Sanitize historical attachments","inputSchema":"{\"json\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"input\"},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"retryCount\":{\"type\":\"number\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"inputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"},\"model\":{\"description\":\"Current model for this step\"},\"tools\":{\"description\":\"Current tools available for this step\"},\"toolChoice\":{\"description\":\"Current tool choice setting\"},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Currently active tools\"},\"providerOptions\":{\"description\":\"Provider-specific options\"},\"modelSettings\":{\"description\":\"Model settings (temperature, etc.)\"},\"structuredOutput\":{\"description\":\"Structured output configuration\"},\"steps\":{\"description\":\"Results from previous steps\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStream\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}],\"description\":\"The current chunk being processed. Can be null to skip.\"},\"streamParts\":{\"type\":\"array\",\"items\":{},\"description\":\"All chunks seen so far\"},\"state\":{\"type\":\"object\",\"additionalProperties\":{},\"description\":\"Mutable state object that persists across chunks\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"streamParts\",\"state\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputResult\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"finishReason\":{\"type\":\"string\",\"description\":\"The finish reason from the LLM (stop, tool-use, length, etc.)\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false},\"description\":\"Tool calls made in this step (if any)\"},\"text\":{\"type\":\"string\",\"description\":\"Generated text from this step\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false}],\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"enum\":[\"input\",\"inputStep\",\"outputStream\",\"outputResult\",\"outputStep\"]},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"stepNumber\":{\"type\":\"number\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}]},\"streamParts\":{\"type\":\"array\",\"items\":{}},\"state\":{\"type\":\"object\",\"additionalProperties\":{}},\"finishReason\":{\"type\":\"string\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false}},\"text\":{\"type\":\"string\"},\"retryCount\":{\"type\":\"number\"},\"model\":{},\"tools\":{},\"toolChoice\":{},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"providerOptions\":{},\"modelSettings\":{},\"structuredOutput\":{},\"steps\":{}},\"required\":[\"phase\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","component":"PROCESSOR"}},"allSteps":{"processor:sanitize-historical-attachments":{"id":"processor:sanitize-historical-attachments","description":"Sanitize historical attachments","inputSchema":"{\"json\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"input\"},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"retryCount\":{\"type\":\"number\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"inputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"},\"model\":{\"description\":\"Current model for this step\"},\"tools\":{\"description\":\"Current tools available for this step\"},\"toolChoice\":{\"description\":\"Current tool choice setting\"},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Currently active tools\"},\"providerOptions\":{\"description\":\"Provider-specific options\"},\"modelSettings\":{\"description\":\"Model settings (temperature, etc.)\"},\"structuredOutput\":{\"description\":\"Structured output configuration\"},\"steps\":{\"description\":\"Results from previous steps\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStream\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}],\"description\":\"The current chunk being processed. Can be null to skip.\"},\"streamParts\":{\"type\":\"array\",\"items\":{},\"description\":\"All chunks seen so far\"},\"state\":{\"type\":\"object\",\"additionalProperties\":{},\"description\":\"Mutable state object that persists across chunks\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"streamParts\",\"state\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputResult\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"finishReason\":{\"type\":\"string\",\"description\":\"The finish reason from the LLM (stop, tool-use, length, etc.)\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false},\"description\":\"Tool calls made in this step (if any)\"},\"text\":{\"type\":\"string\",\"description\":\"Generated text from this step\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false}],\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"enum\":[\"input\",\"inputStep\",\"outputStream\",\"outputResult\",\"outputStep\"]},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"stepNumber\":{\"type\":\"number\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}]},\"streamParts\":{\"type\":\"array\",\"items\":{}},\"state\":{\"type\":\"object\",\"additionalProperties\":{}},\"finishReason\":{\"type\":\"string\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false}},\"text\":{\"type\":\"string\"},\"retryCount\":{\"type\":\"number\"},\"model\":{},\"tools\":{},\"toolChoice\":{},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"providerOptions\":{},\"modelSettings\":{},\"structuredOutput\":{},\"steps\":{}},\"required\":[\"phase\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false,"component":"PROCESSOR"}},"stepGraph":[{"type":"step","step":{"id":"processor:sanitize-historical-attachments","description":"Sanitize historical attachments","component":"PROCESSOR","canSuspend":false}}],"inputSchema":"{\"json\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"input\"},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"retryCount\":{\"type\":\"number\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"inputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"},\"model\":{\"description\":\"Current model for this step\"},\"tools\":{\"description\":\"Current tools available for this step\"},\"toolChoice\":{\"description\":\"Current tool choice setting\"},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Currently active tools\"},\"providerOptions\":{\"description\":\"Provider-specific options\"},\"modelSettings\":{\"description\":\"Model settings (temperature, etc.)\"},\"structuredOutput\":{\"description\":\"Structured output configuration\"},\"steps\":{\"description\":\"Results from previous steps\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStream\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}],\"description\":\"The current chunk being processed. Can be null to skip.\"},\"streamParts\":{\"type\":\"array\",\"items\":{},\"description\":\"All chunks seen so far\"},\"state\":{\"type\":\"object\",\"additionalProperties\":{},\"description\":\"Mutable state object that persists across chunks\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"streamParts\",\"state\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputResult\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"finishReason\":{\"type\":\"string\",\"description\":\"The finish reason from the LLM (stop, tool-use, length, etc.)\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false},\"description\":\"Tool calls made in this step (if any)\"},\"text\":{\"type\":\"string\",\"description\":\"Generated text from this step\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false}],\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"input\"},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"retryCount\":{\"type\":\"number\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"inputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"},\"model\":{\"description\":\"Current model for this step\"},\"tools\":{\"description\":\"Current tools available for this step\"},\"toolChoice\":{\"description\":\"Current tool choice setting\"},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Currently active tools\"},\"providerOptions\":{\"description\":\"Provider-specific options\"},\"modelSettings\":{\"description\":\"Model settings (temperature, etc.)\"},\"structuredOutput\":{\"description\":\"Structured output configuration\"},\"steps\":{\"description\":\"Results from previous steps\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStream\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}],\"description\":\"The current chunk being processed. Can be null to skip.\"},\"streamParts\":{\"type\":\"array\",\"items\":{},\"description\":\"All chunks seen so far\"},\"state\":{\"type\":\"object\",\"additionalProperties\":{},\"description\":\"Mutable state object that persists across chunks\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"streamParts\",\"state\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputResult\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"finishReason\":{\"type\":\"string\",\"description\":\"The finish reason from the LLM (stop, tool-use, length, etc.)\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false},\"description\":\"Tool calls made in this step (if any)\"},\"text\":{\"type\":\"string\",\"description\":\"Generated text from this step\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false}],\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","options":{"validateInputs":false,"tracingPolicy":{"internal":1}},"isProcessorWorkflow":true},"codeAssistantAgentGpt5Mini-input-processor":{"name":"codeAssistantAgentGpt5Mini-input-processor","steps":{"processor:sanitize-historical-attachments":{"id":"processor:sanitize-historical-attachments","description":"Sanitize historical attachments","inputSchema":"{\"json\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"input\"},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"retryCount\":{\"type\":\"number\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"inputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"},\"model\":{\"description\":\"Current model for this step\"},\"tools\":{\"description\":\"Current tools available for this step\"},\"toolChoice\":{\"description\":\"Current tool choice setting\"},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Currently active tools\"},\"providerOptions\":{\"description\":\"Provider-specific options\"},\"modelSettings\":{\"description\":\"Model settings (temperature, etc.)\"},\"structuredOutput\":{\"description\":\"Structured output configuration\"},\"steps\":{\"description\":\"Results from previous steps\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStream\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}],\"description\":\"The current chunk being processed. Can be null to skip.\"},\"streamParts\":{\"type\":\"array\",\"items\":{},\"description\":\"All chunks seen so far\"},\"state\":{\"type\":\"object\",\"additionalProperties\":{},\"description\":\"Mutable state object that persists across chunks\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"streamParts\",\"state\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputResult\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"finishReason\":{\"type\":\"string\",\"description\":\"The finish reason from the LLM (stop, tool-use, length, etc.)\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false},\"description\":\"Tool calls made in this step (if any)\"},\"text\":{\"type\":\"string\",\"description\":\"Generated text from this step\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false}],\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"enum\":[\"input\",\"inputStep\",\"outputStream\",\"outputResult\",\"outputStep\"]},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"stepNumber\":{\"type\":\"number\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}]},\"streamParts\":{\"type\":\"array\",\"items\":{}},\"state\":{\"type\":\"object\",\"additionalProperties\":{}},\"finishReason\":{\"type\":\"string\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false}},\"text\":{\"type\":\"string\"},\"retryCount\":{\"type\":\"number\"},\"model\":{},\"tools\":{},\"toolChoice\":{},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"providerOptions\":{},\"modelSettings\":{},\"structuredOutput\":{},\"steps\":{}},\"required\":[\"phase\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","component":"PROCESSOR"}},"allSteps":{"processor:sanitize-historical-attachments":{"id":"processor:sanitize-historical-attachments","description":"Sanitize historical attachments","inputSchema":"{\"json\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"input\"},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"retryCount\":{\"type\":\"number\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"inputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"},\"model\":{\"description\":\"Current model for this step\"},\"tools\":{\"description\":\"Current tools available for this step\"},\"toolChoice\":{\"description\":\"Current tool choice setting\"},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Currently active tools\"},\"providerOptions\":{\"description\":\"Provider-specific options\"},\"modelSettings\":{\"description\":\"Model settings (temperature, etc.)\"},\"structuredOutput\":{\"description\":\"Structured output configuration\"},\"steps\":{\"description\":\"Results from previous steps\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStream\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}],\"description\":\"The current chunk being processed. Can be null to skip.\"},\"streamParts\":{\"type\":\"array\",\"items\":{},\"description\":\"All chunks seen so far\"},\"state\":{\"type\":\"object\",\"additionalProperties\":{},\"description\":\"Mutable state object that persists across chunks\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"streamParts\",\"state\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputResult\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"finishReason\":{\"type\":\"string\",\"description\":\"The finish reason from the LLM (stop, tool-use, length, etc.)\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false},\"description\":\"Tool calls made in this step (if any)\"},\"text\":{\"type\":\"string\",\"description\":\"Generated text from this step\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false}],\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"enum\":[\"input\",\"inputStep\",\"outputStream\",\"outputResult\",\"outputStep\"]},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"stepNumber\":{\"type\":\"number\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}]},\"streamParts\":{\"type\":\"array\",\"items\":{}},\"state\":{\"type\":\"object\",\"additionalProperties\":{}},\"finishReason\":{\"type\":\"string\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false}},\"text\":{\"type\":\"string\"},\"retryCount\":{\"type\":\"number\"},\"model\":{},\"tools\":{},\"toolChoice\":{},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"providerOptions\":{},\"modelSettings\":{},\"structuredOutput\":{},\"steps\":{}},\"required\":[\"phase\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false,"component":"PROCESSOR"}},"stepGraph":[{"type":"step","step":{"id":"processor:sanitize-historical-attachments","description":"Sanitize historical attachments","component":"PROCESSOR","canSuspend":false}}],"inputSchema":"{\"json\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"input\"},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"retryCount\":{\"type\":\"number\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"inputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"},\"model\":{\"description\":\"Current model for this step\"},\"tools\":{\"description\":\"Current tools available for this step\"},\"toolChoice\":{\"description\":\"Current tool choice setting\"},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Currently active tools\"},\"providerOptions\":{\"description\":\"Provider-specific options\"},\"modelSettings\":{\"description\":\"Model settings (temperature, etc.)\"},\"structuredOutput\":{\"description\":\"Structured output configuration\"},\"steps\":{\"description\":\"Results from previous steps\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStream\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}],\"description\":\"The current chunk being processed. Can be null to skip.\"},\"streamParts\":{\"type\":\"array\",\"items\":{},\"description\":\"All chunks seen so far\"},\"state\":{\"type\":\"object\",\"additionalProperties\":{},\"description\":\"Mutable state object that persists across chunks\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"streamParts\",\"state\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputResult\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"finishReason\":{\"type\":\"string\",\"description\":\"The finish reason from the LLM (stop, tool-use, length, etc.)\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false},\"description\":\"Tool calls made in this step (if any)\"},\"text\":{\"type\":\"string\",\"description\":\"Generated text from this step\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false}],\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"input\"},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"retryCount\":{\"type\":\"number\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"inputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"},\"model\":{\"description\":\"Current model for this step\"},\"tools\":{\"description\":\"Current tools available for this step\"},\"toolChoice\":{\"description\":\"Current tool choice setting\"},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Currently active tools\"},\"providerOptions\":{\"description\":\"Provider-specific options\"},\"modelSettings\":{\"description\":\"Model settings (temperature, etc.)\"},\"structuredOutput\":{\"description\":\"Structured output configuration\"},\"steps\":{\"description\":\"Results from previous steps\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStream\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}],\"description\":\"The current chunk being processed. Can be null to skip.\"},\"streamParts\":{\"type\":\"array\",\"items\":{},\"description\":\"All chunks seen so far\"},\"state\":{\"type\":\"object\",\"additionalProperties\":{},\"description\":\"Mutable state object that persists across chunks\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"streamParts\",\"state\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputResult\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"finishReason\":{\"type\":\"string\",\"description\":\"The finish reason from the LLM (stop, tool-use, length, etc.)\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false},\"description\":\"Tool calls made in this step (if any)\"},\"text\":{\"type\":\"string\",\"description\":\"Generated text from this step\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false}],\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","options":{"validateInputs":false,"tracingPolicy":{"internal":1}},"isProcessorWorkflow":true},"codeAssistantAgentGrok-input-processor":{"name":"codeAssistantAgentGrok-input-processor","steps":{"processor:sanitize-historical-attachments":{"id":"processor:sanitize-historical-attachments","description":"Sanitize historical attachments","inputSchema":"{\"json\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"input\"},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"retryCount\":{\"type\":\"number\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"inputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"},\"model\":{\"description\":\"Current model for this step\"},\"tools\":{\"description\":\"Current tools available for this step\"},\"toolChoice\":{\"description\":\"Current tool choice setting\"},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Currently active tools\"},\"providerOptions\":{\"description\":\"Provider-specific options\"},\"modelSettings\":{\"description\":\"Model settings (temperature, etc.)\"},\"structuredOutput\":{\"description\":\"Structured output configuration\"},\"steps\":{\"description\":\"Results from previous steps\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStream\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}],\"description\":\"The current chunk being processed. Can be null to skip.\"},\"streamParts\":{\"type\":\"array\",\"items\":{},\"description\":\"All chunks seen so far\"},\"state\":{\"type\":\"object\",\"additionalProperties\":{},\"description\":\"Mutable state object that persists across chunks\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"streamParts\",\"state\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputResult\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"finishReason\":{\"type\":\"string\",\"description\":\"The finish reason from the LLM (stop, tool-use, length, etc.)\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false},\"description\":\"Tool calls made in this step (if any)\"},\"text\":{\"type\":\"string\",\"description\":\"Generated text from this step\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false}],\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"enum\":[\"input\",\"inputStep\",\"outputStream\",\"outputResult\",\"outputStep\"]},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"stepNumber\":{\"type\":\"number\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}]},\"streamParts\":{\"type\":\"array\",\"items\":{}},\"state\":{\"type\":\"object\",\"additionalProperties\":{}},\"finishReason\":{\"type\":\"string\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false}},\"text\":{\"type\":\"string\"},\"retryCount\":{\"type\":\"number\"},\"model\":{},\"tools\":{},\"toolChoice\":{},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"providerOptions\":{},\"modelSettings\":{},\"structuredOutput\":{},\"steps\":{}},\"required\":[\"phase\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","component":"PROCESSOR"}},"allSteps":{"processor:sanitize-historical-attachments":{"id":"processor:sanitize-historical-attachments","description":"Sanitize historical attachments","inputSchema":"{\"json\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"input\"},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"retryCount\":{\"type\":\"number\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"inputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"},\"model\":{\"description\":\"Current model for this step\"},\"tools\":{\"description\":\"Current tools available for this step\"},\"toolChoice\":{\"description\":\"Current tool choice setting\"},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Currently active tools\"},\"providerOptions\":{\"description\":\"Provider-specific options\"},\"modelSettings\":{\"description\":\"Model settings (temperature, etc.)\"},\"structuredOutput\":{\"description\":\"Structured output configuration\"},\"steps\":{\"description\":\"Results from previous steps\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStream\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}],\"description\":\"The current chunk being processed. Can be null to skip.\"},\"streamParts\":{\"type\":\"array\",\"items\":{},\"description\":\"All chunks seen so far\"},\"state\":{\"type\":\"object\",\"additionalProperties\":{},\"description\":\"Mutable state object that persists across chunks\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"streamParts\",\"state\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputResult\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"finishReason\":{\"type\":\"string\",\"description\":\"The finish reason from the LLM (stop, tool-use, length, etc.)\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false},\"description\":\"Tool calls made in this step (if any)\"},\"text\":{\"type\":\"string\",\"description\":\"Generated text from this step\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false}],\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"enum\":[\"input\",\"inputStep\",\"outputStream\",\"outputResult\",\"outputStep\"]},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"stepNumber\":{\"type\":\"number\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}]},\"streamParts\":{\"type\":\"array\",\"items\":{}},\"state\":{\"type\":\"object\",\"additionalProperties\":{}},\"finishReason\":{\"type\":\"string\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false}},\"text\":{\"type\":\"string\"},\"retryCount\":{\"type\":\"number\"},\"model\":{},\"tools\":{},\"toolChoice\":{},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"providerOptions\":{},\"modelSettings\":{},\"structuredOutput\":{},\"steps\":{}},\"required\":[\"phase\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false,"component":"PROCESSOR"}},"stepGraph":[{"type":"step","step":{"id":"processor:sanitize-historical-attachments","description":"Sanitize historical attachments","component":"PROCESSOR","canSuspend":false}}],"inputSchema":"{\"json\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"input\"},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"retryCount\":{\"type\":\"number\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"inputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"},\"model\":{\"description\":\"Current model for this step\"},\"tools\":{\"description\":\"Current tools available for this step\"},\"toolChoice\":{\"description\":\"Current tool choice setting\"},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Currently active tools\"},\"providerOptions\":{\"description\":\"Provider-specific options\"},\"modelSettings\":{\"description\":\"Model settings (temperature, etc.)\"},\"structuredOutput\":{\"description\":\"Structured output configuration\"},\"steps\":{\"description\":\"Results from previous steps\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStream\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}],\"description\":\"The current chunk being processed. Can be null to skip.\"},\"streamParts\":{\"type\":\"array\",\"items\":{},\"description\":\"All chunks seen so far\"},\"state\":{\"type\":\"object\",\"additionalProperties\":{},\"description\":\"Mutable state object that persists across chunks\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"streamParts\",\"state\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputResult\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"finishReason\":{\"type\":\"string\",\"description\":\"The finish reason from the LLM (stop, tool-use, length, etc.)\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false},\"description\":\"Tool calls made in this step (if any)\"},\"text\":{\"type\":\"string\",\"description\":\"Generated text from this step\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false}],\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"input\"},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"retryCount\":{\"type\":\"number\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"inputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"},\"model\":{\"description\":\"Current model for this step\"},\"tools\":{\"description\":\"Current tools available for this step\"},\"toolChoice\":{\"description\":\"Current tool choice setting\"},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Currently active tools\"},\"providerOptions\":{\"description\":\"Provider-specific options\"},\"modelSettings\":{\"description\":\"Model settings (temperature, etc.)\"},\"structuredOutput\":{\"description\":\"Structured output configuration\"},\"steps\":{\"description\":\"Results from previous steps\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStream\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}],\"description\":\"The current chunk being processed. Can be null to skip.\"},\"streamParts\":{\"type\":\"array\",\"items\":{},\"description\":\"All chunks seen so far\"},\"state\":{\"type\":\"object\",\"additionalProperties\":{},\"description\":\"Mutable state object that persists across chunks\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"streamParts\",\"state\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputResult\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"finishReason\":{\"type\":\"string\",\"description\":\"The finish reason from the LLM (stop, tool-use, length, etc.)\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false},\"description\":\"Tool calls made in this step (if any)\"},\"text\":{\"type\":\"string\",\"description\":\"Generated text from this step\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false}],\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","options":{"validateInputs":false,"tracingPolicy":{"internal":1}},"isProcessorWorkflow":true},"codeAssistantAgentDeepSeek-input-processor":{"name":"codeAssistantAgentDeepSeek-input-processor","steps":{"processor:sanitize-historical-attachments":{"id":"processor:sanitize-historical-attachments","description":"Sanitize historical attachments","inputSchema":"{\"json\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"input\"},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"retryCount\":{\"type\":\"number\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"inputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"},\"model\":{\"description\":\"Current model for this step\"},\"tools\":{\"description\":\"Current tools available for this step\"},\"toolChoice\":{\"description\":\"Current tool choice setting\"},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Currently active tools\"},\"providerOptions\":{\"description\":\"Provider-specific options\"},\"modelSettings\":{\"description\":\"Model settings (temperature, etc.)\"},\"structuredOutput\":{\"description\":\"Structured output configuration\"},\"steps\":{\"description\":\"Results from previous steps\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStream\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}],\"description\":\"The current chunk being processed. Can be null to skip.\"},\"streamParts\":{\"type\":\"array\",\"items\":{},\"description\":\"All chunks seen so far\"},\"state\":{\"type\":\"object\",\"additionalProperties\":{},\"description\":\"Mutable state object that persists across chunks\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"streamParts\",\"state\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputResult\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"finishReason\":{\"type\":\"string\",\"description\":\"The finish reason from the LLM (stop, tool-use, length, etc.)\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false},\"description\":\"Tool calls made in this step (if any)\"},\"text\":{\"type\":\"string\",\"description\":\"Generated text from this step\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false}],\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"enum\":[\"input\",\"inputStep\",\"outputStream\",\"outputResult\",\"outputStep\"]},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"stepNumber\":{\"type\":\"number\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}]},\"streamParts\":{\"type\":\"array\",\"items\":{}},\"state\":{\"type\":\"object\",\"additionalProperties\":{}},\"finishReason\":{\"type\":\"string\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false}},\"text\":{\"type\":\"string\"},\"retryCount\":{\"type\":\"number\"},\"model\":{},\"tools\":{},\"toolChoice\":{},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"providerOptions\":{},\"modelSettings\":{},\"structuredOutput\":{},\"steps\":{}},\"required\":[\"phase\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","component":"PROCESSOR"}},"allSteps":{"processor:sanitize-historical-attachments":{"id":"processor:sanitize-historical-attachments","description":"Sanitize historical attachments","inputSchema":"{\"json\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"input\"},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"retryCount\":{\"type\":\"number\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"inputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"},\"model\":{\"description\":\"Current model for this step\"},\"tools\":{\"description\":\"Current tools available for this step\"},\"toolChoice\":{\"description\":\"Current tool choice setting\"},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Currently active tools\"},\"providerOptions\":{\"description\":\"Provider-specific options\"},\"modelSettings\":{\"description\":\"Model settings (temperature, etc.)\"},\"structuredOutput\":{\"description\":\"Structured output configuration\"},\"steps\":{\"description\":\"Results from previous steps\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStream\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}],\"description\":\"The current chunk being processed. Can be null to skip.\"},\"streamParts\":{\"type\":\"array\",\"items\":{},\"description\":\"All chunks seen so far\"},\"state\":{\"type\":\"object\",\"additionalProperties\":{},\"description\":\"Mutable state object that persists across chunks\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"streamParts\",\"state\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputResult\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"finishReason\":{\"type\":\"string\",\"description\":\"The finish reason from the LLM (stop, tool-use, length, etc.)\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false},\"description\":\"Tool calls made in this step (if any)\"},\"text\":{\"type\":\"string\",\"description\":\"Generated text from this step\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false}],\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"enum\":[\"input\",\"inputStep\",\"outputStream\",\"outputResult\",\"outputStep\"]},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"stepNumber\":{\"type\":\"number\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}]},\"streamParts\":{\"type\":\"array\",\"items\":{}},\"state\":{\"type\":\"object\",\"additionalProperties\":{}},\"finishReason\":{\"type\":\"string\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false}},\"text\":{\"type\":\"string\"},\"retryCount\":{\"type\":\"number\"},\"model\":{},\"tools\":{},\"toolChoice\":{},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"providerOptions\":{},\"modelSettings\":{},\"structuredOutput\":{},\"steps\":{}},\"required\":[\"phase\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false,"component":"PROCESSOR"}},"stepGraph":[{"type":"step","step":{"id":"processor:sanitize-historical-attachments","description":"Sanitize historical attachments","component":"PROCESSOR","canSuspend":false}}],"inputSchema":"{\"json\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"input\"},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"retryCount\":{\"type\":\"number\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"inputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"},\"model\":{\"description\":\"Current model for this step\"},\"tools\":{\"description\":\"Current tools available for this step\"},\"toolChoice\":{\"description\":\"Current tool choice setting\"},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Currently active tools\"},\"providerOptions\":{\"description\":\"Provider-specific options\"},\"modelSettings\":{\"description\":\"Model settings (temperature, etc.)\"},\"structuredOutput\":{\"description\":\"Structured output configuration\"},\"steps\":{\"description\":\"Results from previous steps\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStream\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}],\"description\":\"The current chunk being processed. Can be null to skip.\"},\"streamParts\":{\"type\":\"array\",\"items\":{},\"description\":\"All chunks seen so far\"},\"state\":{\"type\":\"object\",\"additionalProperties\":{},\"description\":\"Mutable state object that persists across chunks\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"streamParts\",\"state\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputResult\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"finishReason\":{\"type\":\"string\",\"description\":\"The finish reason from the LLM (stop, tool-use, length, etc.)\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false},\"description\":\"Tool calls made in this step (if any)\"},\"text\":{\"type\":\"string\",\"description\":\"Generated text from this step\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false}],\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"input\"},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"retryCount\":{\"type\":\"number\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"inputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"},\"model\":{\"description\":\"Current model for this step\"},\"tools\":{\"description\":\"Current tools available for this step\"},\"toolChoice\":{\"description\":\"Current tool choice setting\"},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Currently active tools\"},\"providerOptions\":{\"description\":\"Provider-specific options\"},\"modelSettings\":{\"description\":\"Model settings (temperature, etc.)\"},\"structuredOutput\":{\"description\":\"Structured output configuration\"},\"steps\":{\"description\":\"Results from previous steps\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStream\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}],\"description\":\"The current chunk being processed. Can be null to skip.\"},\"streamParts\":{\"type\":\"array\",\"items\":{},\"description\":\"All chunks seen so far\"},\"state\":{\"type\":\"object\",\"additionalProperties\":{},\"description\":\"Mutable state object that persists across chunks\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"streamParts\",\"state\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputResult\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"finishReason\":{\"type\":\"string\",\"description\":\"The finish reason from the LLM (stop, tool-use, length, etc.)\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false},\"description\":\"Tool calls made in this step (if any)\"},\"text\":{\"type\":\"string\",\"description\":\"Generated text from this step\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false}],\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","options":{"validateInputs":false,"tracingPolicy":{"internal":1}},"isProcessorWorkflow":true},"codeAssistantAgentKimi-input-processor":{"name":"codeAssistantAgentKimi-input-processor","steps":{"processor:sanitize-historical-attachments":{"id":"processor:sanitize-historical-attachments","description":"Sanitize historical attachments","inputSchema":"{\"json\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"input\"},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"retryCount\":{\"type\":\"number\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"inputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"},\"model\":{\"description\":\"Current model for this step\"},\"tools\":{\"description\":\"Current tools available for this step\"},\"toolChoice\":{\"description\":\"Current tool choice setting\"},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Currently active tools\"},\"providerOptions\":{\"description\":\"Provider-specific options\"},\"modelSettings\":{\"description\":\"Model settings (temperature, etc.)\"},\"structuredOutput\":{\"description\":\"Structured output configuration\"},\"steps\":{\"description\":\"Results from previous steps\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStream\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}],\"description\":\"The current chunk being processed. Can be null to skip.\"},\"streamParts\":{\"type\":\"array\",\"items\":{},\"description\":\"All chunks seen so far\"},\"state\":{\"type\":\"object\",\"additionalProperties\":{},\"description\":\"Mutable state object that persists across chunks\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"streamParts\",\"state\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputResult\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"finishReason\":{\"type\":\"string\",\"description\":\"The finish reason from the LLM (stop, tool-use, length, etc.)\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false},\"description\":\"Tool calls made in this step (if any)\"},\"text\":{\"type\":\"string\",\"description\":\"Generated text from this step\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false}],\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"enum\":[\"input\",\"inputStep\",\"outputStream\",\"outputResult\",\"outputStep\"]},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"stepNumber\":{\"type\":\"number\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}]},\"streamParts\":{\"type\":\"array\",\"items\":{}},\"state\":{\"type\":\"object\",\"additionalProperties\":{}},\"finishReason\":{\"type\":\"string\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false}},\"text\":{\"type\":\"string\"},\"retryCount\":{\"type\":\"number\"},\"model\":{},\"tools\":{},\"toolChoice\":{},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"providerOptions\":{},\"modelSettings\":{},\"structuredOutput\":{},\"steps\":{}},\"required\":[\"phase\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","component":"PROCESSOR"}},"allSteps":{"processor:sanitize-historical-attachments":{"id":"processor:sanitize-historical-attachments","description":"Sanitize historical attachments","inputSchema":"{\"json\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"input\"},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"retryCount\":{\"type\":\"number\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"inputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"},\"model\":{\"description\":\"Current model for this step\"},\"tools\":{\"description\":\"Current tools available for this step\"},\"toolChoice\":{\"description\":\"Current tool choice setting\"},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Currently active tools\"},\"providerOptions\":{\"description\":\"Provider-specific options\"},\"modelSettings\":{\"description\":\"Model settings (temperature, etc.)\"},\"structuredOutput\":{\"description\":\"Structured output configuration\"},\"steps\":{\"description\":\"Results from previous steps\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStream\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}],\"description\":\"The current chunk being processed. Can be null to skip.\"},\"streamParts\":{\"type\":\"array\",\"items\":{},\"description\":\"All chunks seen so far\"},\"state\":{\"type\":\"object\",\"additionalProperties\":{},\"description\":\"Mutable state object that persists across chunks\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"streamParts\",\"state\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputResult\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"finishReason\":{\"type\":\"string\",\"description\":\"The finish reason from the LLM (stop, tool-use, length, etc.)\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false},\"description\":\"Tool calls made in this step (if any)\"},\"text\":{\"type\":\"string\",\"description\":\"Generated text from this step\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false}],\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"enum\":[\"input\",\"inputStep\",\"outputStream\",\"outputResult\",\"outputStep\"]},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"stepNumber\":{\"type\":\"number\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}]},\"streamParts\":{\"type\":\"array\",\"items\":{}},\"state\":{\"type\":\"object\",\"additionalProperties\":{}},\"finishReason\":{\"type\":\"string\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false}},\"text\":{\"type\":\"string\"},\"retryCount\":{\"type\":\"number\"},\"model\":{},\"tools\":{},\"toolChoice\":{},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"providerOptions\":{},\"modelSettings\":{},\"structuredOutput\":{},\"steps\":{}},\"required\":[\"phase\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","isWorkflow":false,"component":"PROCESSOR"}},"stepGraph":[{"type":"step","step":{"id":"processor:sanitize-historical-attachments","description":"Sanitize historical attachments","component":"PROCESSOR","canSuspend":false}}],"inputSchema":"{\"json\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"input\"},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"retryCount\":{\"type\":\"number\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"inputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"},\"model\":{\"description\":\"Current model for this step\"},\"tools\":{\"description\":\"Current tools available for this step\"},\"toolChoice\":{\"description\":\"Current tool choice setting\"},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Currently active tools\"},\"providerOptions\":{\"description\":\"Provider-specific options\"},\"modelSettings\":{\"description\":\"Model settings (temperature, etc.)\"},\"structuredOutput\":{\"description\":\"Structured output configuration\"},\"steps\":{\"description\":\"Results from previous steps\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStream\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}],\"description\":\"The current chunk being processed. Can be null to skip.\"},\"streamParts\":{\"type\":\"array\",\"items\":{},\"description\":\"All chunks seen so far\"},\"state\":{\"type\":\"object\",\"additionalProperties\":{},\"description\":\"Mutable state object that persists across chunks\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"streamParts\",\"state\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputResult\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"finishReason\":{\"type\":\"string\",\"description\":\"The finish reason from the LLM (stop, tool-use, length, etc.)\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false},\"description\":\"Tool calls made in this step (if any)\"},\"text\":{\"type\":\"string\",\"description\":\"Generated text from this step\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false}],\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","outputSchema":"{\"json\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"input\"},\"messages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"role\":{\"type\":\"string\",\"enum\":[\"user\",\"assistant\",\"system\",\"tool\"]},\"createdAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"threadId\":{\"type\":\"string\"},\"resourceId\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"object\",\"properties\":{\"format\":{\"type\":\"number\",\"const\":2},\"parts\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"text\"},\"text\":{\"type\":\"string\"}},\"required\":[\"type\",\"text\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"image\"},\"image\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"image\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"file\"},\"data\":{\"anyOf\":[{\"type\":\"string\"},{},{}]},\"mimeType\":{\"type\":\"string\"}},\"required\":[\"type\",\"data\",\"mimeType\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"tool-invocation\"},\"toolInvocation\":{\"type\":\"object\",\"properties\":{\"toolCallId\":{\"type\":\"string\"},\"toolName\":{\"type\":\"string\"},\"args\":{},\"state\":{\"type\":\"string\",\"enum\":[\"partial-call\",\"call\",\"result\"]},\"result\":{}},\"required\":[\"toolCallId\",\"toolName\",\"state\"],\"additionalProperties\":false}},\"required\":[\"type\",\"toolInvocation\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"reasoning\"},\"reasoning\":{\"type\":\"string\"},\"details\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"enum\":[\"text\",\"redacted\"]},\"text\":{\"type\":\"string\"},\"data\":{\"type\":\"string\"}},\"required\":[\"type\"],\"additionalProperties\":false}}},\"required\":[\"type\",\"reasoning\",\"details\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"source\"},\"source\":{\"type\":\"object\",\"properties\":{\"sourceType\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"}},\"required\":[\"sourceType\",\"id\"],\"additionalProperties\":false}},\"required\":[\"type\",\"source\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"const\":\"step-start\"}},\"required\":[\"type\"],\"additionalProperties\":true},{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"data\":{}},\"required\":[\"type\"],\"additionalProperties\":true}]}},\"content\":{\"type\":\"string\"},\"metadata\":{\"type\":\"object\",\"additionalProperties\":{}},\"providerMetadata\":{\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"format\",\"parts\"],\"additionalProperties\":true}},\"required\":[\"id\",\"role\",\"createdAt\",\"content\"],\"additionalProperties\":true}},\"messageList\":{},\"systemMessages\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"role\":{\"type\":\"string\",\"enum\":[\"system\",\"user\",\"assistant\",\"tool\"]},\"content\":{}},\"required\":[\"role\"],\"additionalProperties\":true}},\"retryCount\":{\"type\":\"number\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"inputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"},\"model\":{\"description\":\"Current model for this step\"},\"tools\":{\"description\":\"Current tools available for this step\"},\"toolChoice\":{\"description\":\"Current tool choice setting\"},\"activeTools\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Currently active tools\"},\"providerOptions\":{\"description\":\"Provider-specific options\"},\"modelSettings\":{\"description\":\"Model settings (temperature, etc.)\"},\"structuredOutput\":{\"description\":\"Structured output configuration\"},\"steps\":{\"description\":\"Results from previous steps\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStream\"},\"part\":{\"anyOf\":[{},{\"type\":\"null\"}],\"description\":\"The current chunk being processed. Can be null to skip.\"},\"streamParts\":{\"type\":\"array\",\"items\":{},\"description\":\"All chunks seen so far\"},\"state\":{\"type\":\"object\",\"additionalProperties\":{},\"description\":\"Mutable state object that persists across chunks\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"streamParts\",\"state\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputResult\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"phase\":{\"type\":\"string\",\"const\":\"outputStep\"},\"messages\":{\"$ref\":\"3/0/properties/messages\"},\"messageList\":{\"$ref\":\"3/0/properties/messageList\"},\"stepNumber\":{\"type\":\"number\",\"description\":\"The current step number (0-indexed)\"},\"finishReason\":{\"type\":\"string\",\"description\":\"The finish reason from the LLM (stop, tool-use, length, etc.)\"},\"toolCalls\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"toolName\":{\"type\":\"string\"},\"toolCallId\":{\"type\":\"string\"},\"args\":{}},\"required\":[\"toolName\",\"toolCallId\"],\"additionalProperties\":false},\"description\":\"Tool calls made in this step (if any)\"},\"text\":{\"type\":\"string\",\"description\":\"Generated text from this step\"},\"systemMessages\":{\"$ref\":\"3/0/properties/systemMessages\"},\"retryCount\":{\"$ref\":\"3/0/properties/retryCount\"}},\"required\":[\"phase\",\"messages\",\"stepNumber\"],\"additionalProperties\":false}],\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}","options":{"validateInputs":false,"tracingPolicy":{"internal":1}},"isProcessorWorkflow":true}}