@corbat-tech/coco 2.39.0 → 2.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapters/index.d.ts +93 -3
- package/dist/adapters/index.js +199 -1
- package/dist/adapters/index.js.map +1 -1
- package/dist/agent-runtime-BJeNjVuk.d.ts +71 -0
- package/dist/{blueprints-DYgm3K65.d.ts → blueprints-Dw5-uWU9.d.ts} +30 -4
- package/dist/cli/index.js +1436 -345
- package/dist/cli/index.js.map +1 -1
- package/dist/{agent-runtime-DJY9FzL_.d.ts → context-BLPsKYxc.d.ts} +500 -248
- package/dist/{index-Dp1o8c9g.d.ts → index-DhUKtM2p.d.ts} +2 -2
- package/dist/index.d.ts +10 -10
- package/dist/index.js +14887 -14117
- package/dist/index.js.map +1 -1
- package/dist/presets/index.d.ts +5 -5
- package/dist/presets/index.js +22778 -22952
- package/dist/presets/index.js.map +1 -1
- package/dist/{profiles-BcyL-gQ9.d.ts → profiles-GRoVNorK.d.ts} +7 -4
- package/dist/rag-B2oGudNb.d.ts +178 -0
- package/dist/runtime/index.d.ts +278 -8
- package/dist/runtime/index.js +7530 -24074
- package/dist/runtime/index.js.map +1 -1
- package/dist/tools/index.d.ts +4 -4
- package/dist/tools/index.js +10 -3
- package/dist/tools/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/extension-manifests-CAQQILhE.d.ts +0 -147
- package/dist/rag-BakFRE-u.d.ts +0 -31
- package/dist/registry-CEpl9Jq0.d.ts +0 -115
package/dist/tools/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { H as HumanEscalationHandler,
|
|
3
|
-
export { A as AgentTask, B as BuildResult, C as Checkpoint, d as ClassInfo, e as CodeAnalysisResult, f as CodeDefinition, g as CodeSuggestion, h as CodebaseMapOutput, i as ComplexityResult, j as ContextItem, k as CoverageResult, D as DefinitionType, l as DiagramOutput, E as ExecutionStrategy, m as ExportInfo, F as FileComplexity, n as FileMapEntry, o as FunctionComplexity, p as FunctionInfo, H as HttpResponse, I as ImageReadOutput, q as ImportInfo, L as LearningEntry, s as LintIssue, t as LintResult, u as LspReference, v as LspStatusOutput, w as LspSymbol, M as MCPConnectServerResult, x as MCPFleetServerStatus, y as MCPFleetStatus, z as Memory, O as OpenFileOutput, P as PRCheck, G as PackageManager, J as PdfReadOutput, R as RankedContextItem, K as RepoContextRequest, N as RepoContextResult, S as RepoGraphNode, T as RepoIntelligenceGraph, U as ReviewCategory, V as ReviewFinding, W as ReviewResult, X as ReviewSeverity, Y as ReviewSummary, Z as RiskLevel, _ as SchemaInspectOutput, $ as SearchMatch, a0 as SearchResult, a1 as SemanticSearchOutput, a2 as SemanticSearchResultItem, a3 as SkillDefinition, a4 as SqlQueryOutput, a5 as TestFailure, a6 as TestResult, a7 as ValidationResult, a8 as WebFetchOutput, a9 as WebSearchOutput, aa as WebSearchResultItem, ab as addContextTool, ac as agentCoordinatorTools, ad as aggregateResultsTool, ae as analyzeComplexityTool, af as analyzeDirectoryTool, ag as analyzeFileTool, ah as analyzeRepoHealthTool, ai as astValidatorTools, aj as bashBackgroundTool, ak as bashExecTool, al as bashTools, am as buildTools, an as calculateCodeScoreTool, ao as calculateQualityTool, ap as checkAgentCapabilityTool, aq as checkProtectedBranchTool, ar as checkpointTools, as as codeAnalyzerTools, at as codebaseMapTool, au as codebaseMapTools, av as commandExistsTool, aw as contextEnhancerTools, ax as copyFileTool, ay as createAgentPlanTool, az as createCheckpointTool, aA as createCustomToolTool, c as createFullToolRegistry, aB as createMemoryTool, aC as databaseTools, aD as delegateTaskTool, aE as deleteFileTool, aF as diagramTools, aG as diffTools, aH as discoverSkillsTool, aI as editFileTool, aJ as fileExistsTool, aK as fileTools, aL as findInFileTool, aM as findMissingImportsTool, aN as generateDiagramTool, aO as getCommitStatsTool, aP as getCoverageTool, aQ as getEffectDescription, aR as getEnvTool, aS as getLearnedPatternsTool, aT as getRelevantContextTool, aU as getRepoContext, aV as getRiskDescription, aW as getRiskLevel, aX as ghCheckAuthTool, aY as ghPrChecksTool, aZ as ghPrCreateTool, a_ as ghPrListTool, a$ as ghPrMergeTool, b0 as ghReleaseCreateTool, b1 as ghRepoInfoTool, b2 as gitAddTool, b3 as gitBranchTool, b4 as gitCheckoutTool, b5 as gitCommitTool, b6 as gitDiffTool, b7 as gitEnhancedTools, b8 as gitInitTool, b9 as gitLogTool, ba as gitPullTool, bb as gitPushTool, bc as gitSimpleTools, bd as gitStatusTool, be as gitTools, bf as githubTools, bg as globTool, bh as grepTool, bi as httpFetchTool, bj as httpJsonTool, bk as httpTools, bl as imageTools, bm as inspectSchemaTool, bn as installDepsTool, bo as listCheckpointsTool, bp as listDirTool, bq as listMemoriesTool, br as lspDefinitionTool, bs as lspDocumentSymbolsTool, bt as lspReferencesTool, bu as lspStatusTool, bv as lspTools, bw as lspWorkspaceSymbolsTool, bx as makeTool, by as managePermissionsTool, bz as mcpConnectServerTool, bA as mcpListServersTool, bB as mcpTools, bC as memoryTools, bD as moveFileTool, bE as openFileTool, bF as openTools, bG as pdfTools, bH as permissionsTools, bI as qualityTools, bJ as readFileTool, bK as readImageTool, bL as readPdfTool, bM as recallMemoryTool, bN as recommendBranchTool, bO as recordLearningTool, r as registerAllTools, bP as repoContext, bQ as repoContextTool, bR as repoIntelligenceTools, bS as restoreCheckpointTool, bT as reviewCodeTool, bU as reviewTools, bV as runLinterTool, bW as runScriptTool, bX as runTestFileTool, bY as runTestsTool, bZ as searchTools, b_ as semanticSearchTool, b$ as semanticSearchTools, c0 as showDiffTool, c1 as simpleAgentTools, c2 as simpleAutoCommitTool, c3 as skillEnhancerTools, c4 as smartSuggestionsTools, c5 as spawnSimpleAgentTool, c6 as sqlQueryTool, c7 as suggestImprovementsTool, c8 as testTools, c9 as treeTool, ca as tscTool, cb as validateCodeTool, cc as validateSkillTool, cd as webFetchTool, ce as webSearchTool, cf as webTools, cg as writeFileTool } from '../index-
|
|
1
|
+
export { bu as ToolCategory, bt as ToolDefinition, T as ToolRegistry, bv as ToolResult, bc as createToolRegistry, bw as defineTool, bx as getToolRegistry } from '../context-BLPsKYxc.js';
|
|
2
|
+
export { H as HumanEscalationHandler, b as HumanEscalationInput, c as HumanEscalationOutput, I as InternalOpsDraftHandler, m as InternalOpsDraftInput, n as InternalOpsDraftOutput, o as InternalOpsToolRegistryOptions, p as SalesIntakeToolRegistryOptions, a as SalesLeadSummaryHandler, q as SalesLeadSummaryInput, r as SalesLeadSummaryOutput, S as SupportDraftHandler, d as SupportDraftInput, e as SupportDraftOutput, f as SupportRagToolRegistryOptions, g as createCodingToolRegistry, h as createCustomerSupportToolRegistry, s as createInternalOpsToolRegistry, i as createNoToolRegistry, j as createPublicWebToolRegistry, k as createRagToolRegistry, t as createSalesIntakeToolRegistry, l as createSupportRagToolRegistry } from '../profiles-GRoVNorK.js';
|
|
3
|
+
export { A as AgentTask, B as BuildResult, C as Checkpoint, d as ClassInfo, e as CodeAnalysisResult, f as CodeDefinition, g as CodeSuggestion, h as CodebaseMapOutput, i as ComplexityResult, j as ContextItem, k as CoverageResult, D as DefinitionType, l as DiagramOutput, E as ExecutionStrategy, m as ExportInfo, F as FileComplexity, n as FileMapEntry, o as FunctionComplexity, p as FunctionInfo, H as HttpResponse, I as ImageReadOutput, q as ImportInfo, L as LearningEntry, s as LintIssue, t as LintResult, u as LspReference, v as LspStatusOutput, w as LspSymbol, M as MCPConnectServerResult, x as MCPFleetServerStatus, y as MCPFleetStatus, z as Memory, O as OpenFileOutput, P as PRCheck, G as PackageManager, J as PdfReadOutput, R as RankedContextItem, K as RepoContextRequest, N as RepoContextResult, S as RepoGraphNode, T as RepoIntelligenceGraph, U as ReviewCategory, V as ReviewFinding, W as ReviewResult, X as ReviewSeverity, Y as ReviewSummary, Z as RiskLevel, _ as SchemaInspectOutput, $ as SearchMatch, a0 as SearchResult, a1 as SemanticSearchOutput, a2 as SemanticSearchResultItem, a3 as SkillDefinition, a4 as SqlQueryOutput, a5 as TestFailure, a6 as TestResult, a7 as ValidationResult, a8 as WebFetchOutput, a9 as WebSearchOutput, aa as WebSearchResultItem, ab as addContextTool, ac as agentCoordinatorTools, ad as aggregateResultsTool, ae as analyzeComplexityTool, af as analyzeDirectoryTool, ag as analyzeFileTool, ah as analyzeRepoHealthTool, ai as astValidatorTools, aj as bashBackgroundTool, ak as bashExecTool, al as bashTools, am as buildTools, an as calculateCodeScoreTool, ao as calculateQualityTool, ap as checkAgentCapabilityTool, aq as checkProtectedBranchTool, ar as checkpointTools, as as codeAnalyzerTools, at as codebaseMapTool, au as codebaseMapTools, av as commandExistsTool, aw as contextEnhancerTools, ax as copyFileTool, ay as createAgentPlanTool, az as createCheckpointTool, aA as createCustomToolTool, c as createFullToolRegistry, aB as createMemoryTool, aC as databaseTools, aD as delegateTaskTool, aE as deleteFileTool, aF as diagramTools, aG as diffTools, aH as discoverSkillsTool, aI as editFileTool, aJ as fileExistsTool, aK as fileTools, aL as findInFileTool, aM as findMissingImportsTool, aN as generateDiagramTool, aO as getCommitStatsTool, aP as getCoverageTool, aQ as getEffectDescription, aR as getEnvTool, aS as getLearnedPatternsTool, aT as getRelevantContextTool, aU as getRepoContext, aV as getRiskDescription, aW as getRiskLevel, aX as ghCheckAuthTool, aY as ghPrChecksTool, aZ as ghPrCreateTool, a_ as ghPrListTool, a$ as ghPrMergeTool, b0 as ghReleaseCreateTool, b1 as ghRepoInfoTool, b2 as gitAddTool, b3 as gitBranchTool, b4 as gitCheckoutTool, b5 as gitCommitTool, b6 as gitDiffTool, b7 as gitEnhancedTools, b8 as gitInitTool, b9 as gitLogTool, ba as gitPullTool, bb as gitPushTool, bc as gitSimpleTools, bd as gitStatusTool, be as gitTools, bf as githubTools, bg as globTool, bh as grepTool, bi as httpFetchTool, bj as httpJsonTool, bk as httpTools, bl as imageTools, bm as inspectSchemaTool, bn as installDepsTool, bo as listCheckpointsTool, bp as listDirTool, bq as listMemoriesTool, br as lspDefinitionTool, bs as lspDocumentSymbolsTool, bt as lspReferencesTool, bu as lspStatusTool, bv as lspTools, bw as lspWorkspaceSymbolsTool, bx as makeTool, by as managePermissionsTool, bz as mcpConnectServerTool, bA as mcpListServersTool, bB as mcpTools, bC as memoryTools, bD as moveFileTool, bE as openFileTool, bF as openTools, bG as pdfTools, bH as permissionsTools, bI as qualityTools, bJ as readFileTool, bK as readImageTool, bL as readPdfTool, bM as recallMemoryTool, bN as recommendBranchTool, bO as recordLearningTool, r as registerAllTools, bP as repoContext, bQ as repoContextTool, bR as repoIntelligenceTools, bS as restoreCheckpointTool, bT as reviewCodeTool, bU as reviewTools, bV as runLinterTool, bW as runScriptTool, bX as runTestFileTool, bY as runTestsTool, bZ as searchTools, b_ as semanticSearchTool, b$ as semanticSearchTools, c0 as showDiffTool, c1 as simpleAgentTools, c2 as simpleAutoCommitTool, c3 as skillEnhancerTools, c4 as smartSuggestionsTools, c5 as spawnSimpleAgentTool, c6 as sqlQueryTool, c7 as suggestImprovementsTool, c8 as testTools, c9 as treeTool, ca as tscTool, cb as validateCodeTool, cc as validateSkillTool, cd as webFetchTool, ce as webSearchTool, cf as webTools, cg as writeFileTool } from '../index-DhUKtM2p.js';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../rag-
|
|
5
|
+
import '../rag-B2oGudNb.js';
|
package/dist/tools/index.js
CHANGED
|
@@ -2010,7 +2010,9 @@ function createCustomerSupportToolRegistry(source) {
|
|
|
2010
2010
|
return copyAllowedTools(CUSTOMER_SUPPORT_TOOLS, source);
|
|
2011
2011
|
}
|
|
2012
2012
|
function createSupportRagToolRegistry(options = {}) {
|
|
2013
|
-
const registry = createRagToolRegistry(options.retriever
|
|
2013
|
+
const registry = createRagToolRegistry(options.retriever, {
|
|
2014
|
+
runtimeContext: options.runtimeContext
|
|
2015
|
+
});
|
|
2014
2016
|
if (options.supportDraft) {
|
|
2015
2017
|
registry.register(
|
|
2016
2018
|
defineTool({
|
|
@@ -2098,7 +2100,7 @@ function createInternalOpsToolRegistry(options = {}) {
|
|
|
2098
2100
|
}
|
|
2099
2101
|
return registry;
|
|
2100
2102
|
}
|
|
2101
|
-
function createRagToolRegistry(retriever) {
|
|
2103
|
+
function createRagToolRegistry(retriever, options = {}) {
|
|
2102
2104
|
const registry = new ToolRegistry();
|
|
2103
2105
|
if (!retriever) return registry;
|
|
2104
2106
|
registry.register(
|
|
@@ -2110,7 +2112,11 @@ function createRagToolRegistry(retriever) {
|
|
|
2110
2112
|
query: z.string(),
|
|
2111
2113
|
limit: z.number().optional()
|
|
2112
2114
|
}),
|
|
2113
|
-
execute: async ({ query, limit }) => retriever.search(query, {
|
|
2115
|
+
execute: async ({ query, limit }) => retriever.search(query, {
|
|
2116
|
+
limit,
|
|
2117
|
+
tenantId: options.runtimeContext?.tenant?.id,
|
|
2118
|
+
runtimeContext: options.runtimeContext
|
|
2119
|
+
})
|
|
2114
2120
|
})
|
|
2115
2121
|
);
|
|
2116
2122
|
return registry;
|
|
@@ -3902,6 +3908,7 @@ var LEGACY_ROLE_MAPPINGS = [
|
|
|
3902
3908
|
{ legacy: "coder", role: "coder", reason: "legacy executor role" },
|
|
3903
3909
|
{ legacy: "test", role: "tester", reason: "test authoring/execution" },
|
|
3904
3910
|
{ legacy: "tester", role: "tester", reason: "legacy executor role" },
|
|
3911
|
+
{ legacy: "verifier", role: "tester", reason: "verification maps to tester capability" },
|
|
3905
3912
|
{ legacy: "tdd", role: "tester", reason: "test-first implementation" },
|
|
3906
3913
|
{ legacy: "e2e", role: "tester", reason: "end-to-end testing" },
|
|
3907
3914
|
{ legacy: "review", role: "reviewer", reason: "code review" },
|