@tienne/gestalt 0.20.1 → 0.20.2
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/package.json +1 -1
- package/dist/src/core/config.d.ts.map +1 -1
- package/dist/src/core/config.js +46 -1
- package/dist/src/core/config.js.map +1 -1
- package/dist/src/mcp/schemas.d.ts +784 -0
- package/dist/src/mcp/schemas.d.ts.map +1 -1
- package/dist/src/mcp/schemas.js +1 -0
- package/dist/src/mcp/schemas.js.map +1 -1
- package/dist/src/mcp/server.d.ts.map +1 -1
- package/dist/src/mcp/server.js +2 -181
- package/dist/src/mcp/server.js.map +1 -1
- package/package.json +1 -1
|
@@ -1320,6 +1320,790 @@ export declare const executeInputSchema: z.ZodObject<{
|
|
|
1320
1320
|
reviewSessionId?: string | undefined;
|
|
1321
1321
|
}>;
|
|
1322
1322
|
export type ExecuteInput = z.infer<typeof executeInputSchema>;
|
|
1323
|
+
export declare const executeToolSchema: {
|
|
1324
|
+
action: z.ZodEnum<["start", "plan_step", "plan_complete", "execute_start", "execute_task", "evaluate", "status", "resume", "audit", "spawn", "evolve_fix", "evolve", "evolve_patch", "evolve_re_execute", "evolve_lateral", "evolve_lateral_result", "role_match", "role_consensus", "review_start", "review_submit", "review_consensus", "review_fix"]>;
|
|
1325
|
+
spec: z.ZodOptional<z.ZodObject<{
|
|
1326
|
+
version: z.ZodString;
|
|
1327
|
+
goal: z.ZodString;
|
|
1328
|
+
constraints: z.ZodArray<z.ZodString, "many">;
|
|
1329
|
+
acceptanceCriteria: z.ZodArray<z.ZodString, "many">;
|
|
1330
|
+
ontologySchema: z.ZodObject<{
|
|
1331
|
+
entities: z.ZodArray<z.ZodAny, "many">;
|
|
1332
|
+
relations: z.ZodArray<z.ZodAny, "many">;
|
|
1333
|
+
}, "strip", z.ZodTypeAny, {
|
|
1334
|
+
entities: any[];
|
|
1335
|
+
relations: any[];
|
|
1336
|
+
}, {
|
|
1337
|
+
entities: any[];
|
|
1338
|
+
relations: any[];
|
|
1339
|
+
}>;
|
|
1340
|
+
gestaltAnalysis: z.ZodArray<z.ZodAny, "many">;
|
|
1341
|
+
metadata: z.ZodObject<{
|
|
1342
|
+
specId: z.ZodString;
|
|
1343
|
+
interviewSessionId: z.ZodString;
|
|
1344
|
+
resolutionScore: z.ZodNumber;
|
|
1345
|
+
generatedAt: z.ZodString;
|
|
1346
|
+
}, "strip", z.ZodTypeAny, {
|
|
1347
|
+
specId: string;
|
|
1348
|
+
interviewSessionId: string;
|
|
1349
|
+
resolutionScore: number;
|
|
1350
|
+
generatedAt: string;
|
|
1351
|
+
}, {
|
|
1352
|
+
specId: string;
|
|
1353
|
+
interviewSessionId: string;
|
|
1354
|
+
resolutionScore: number;
|
|
1355
|
+
generatedAt: string;
|
|
1356
|
+
}>;
|
|
1357
|
+
}, "strip", z.ZodTypeAny, {
|
|
1358
|
+
goal: string;
|
|
1359
|
+
version: string;
|
|
1360
|
+
constraints: string[];
|
|
1361
|
+
acceptanceCriteria: string[];
|
|
1362
|
+
ontologySchema: {
|
|
1363
|
+
entities: any[];
|
|
1364
|
+
relations: any[];
|
|
1365
|
+
};
|
|
1366
|
+
gestaltAnalysis: any[];
|
|
1367
|
+
metadata: {
|
|
1368
|
+
specId: string;
|
|
1369
|
+
interviewSessionId: string;
|
|
1370
|
+
resolutionScore: number;
|
|
1371
|
+
generatedAt: string;
|
|
1372
|
+
};
|
|
1373
|
+
}, {
|
|
1374
|
+
goal: string;
|
|
1375
|
+
version: string;
|
|
1376
|
+
constraints: string[];
|
|
1377
|
+
acceptanceCriteria: string[];
|
|
1378
|
+
ontologySchema: {
|
|
1379
|
+
entities: any[];
|
|
1380
|
+
relations: any[];
|
|
1381
|
+
};
|
|
1382
|
+
gestaltAnalysis: any[];
|
|
1383
|
+
metadata: {
|
|
1384
|
+
specId: string;
|
|
1385
|
+
interviewSessionId: string;
|
|
1386
|
+
resolutionScore: number;
|
|
1387
|
+
generatedAt: string;
|
|
1388
|
+
};
|
|
1389
|
+
}>>;
|
|
1390
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1391
|
+
codeGraphRepoRoot: z.ZodOptional<z.ZodString>;
|
|
1392
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
1393
|
+
stepResult: z.ZodOptional<z.ZodObject<{
|
|
1394
|
+
principle: z.ZodEnum<["figure_ground", "closure", "proximity", "continuity"]>;
|
|
1395
|
+
classifiedACs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1396
|
+
acIndex: z.ZodNumber;
|
|
1397
|
+
acText: z.ZodString;
|
|
1398
|
+
classification: z.ZodEnum<["figure", "ground"]>;
|
|
1399
|
+
priority: z.ZodEnum<["critical", "high", "medium", "low"]>;
|
|
1400
|
+
reasoning: z.ZodString;
|
|
1401
|
+
}, "strip", z.ZodTypeAny, {
|
|
1402
|
+
reasoning: string;
|
|
1403
|
+
acIndex: number;
|
|
1404
|
+
acText: string;
|
|
1405
|
+
classification: "figure" | "ground";
|
|
1406
|
+
priority: "critical" | "high" | "medium" | "low";
|
|
1407
|
+
}, {
|
|
1408
|
+
reasoning: string;
|
|
1409
|
+
acIndex: number;
|
|
1410
|
+
acText: string;
|
|
1411
|
+
classification: "figure" | "ground";
|
|
1412
|
+
priority: "critical" | "high" | "medium" | "low";
|
|
1413
|
+
}>, "many">>;
|
|
1414
|
+
atomicTasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1415
|
+
taskId: z.ZodString;
|
|
1416
|
+
title: z.ZodString;
|
|
1417
|
+
description: z.ZodString;
|
|
1418
|
+
sourceAC: z.ZodArray<z.ZodNumber, "many">;
|
|
1419
|
+
isImplicit: z.ZodBoolean;
|
|
1420
|
+
estimatedComplexity: z.ZodEnum<["low", "medium", "high"]>;
|
|
1421
|
+
dependsOn: z.ZodArray<z.ZodString, "many">;
|
|
1422
|
+
}, "strip", z.ZodTypeAny, {
|
|
1423
|
+
description: string;
|
|
1424
|
+
taskId: string;
|
|
1425
|
+
title: string;
|
|
1426
|
+
sourceAC: number[];
|
|
1427
|
+
isImplicit: boolean;
|
|
1428
|
+
estimatedComplexity: "high" | "medium" | "low";
|
|
1429
|
+
dependsOn: string[];
|
|
1430
|
+
}, {
|
|
1431
|
+
description: string;
|
|
1432
|
+
taskId: string;
|
|
1433
|
+
title: string;
|
|
1434
|
+
sourceAC: number[];
|
|
1435
|
+
isImplicit: boolean;
|
|
1436
|
+
estimatedComplexity: "high" | "medium" | "low";
|
|
1437
|
+
dependsOn: string[];
|
|
1438
|
+
}>, "many">>;
|
|
1439
|
+
taskGroups: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1440
|
+
groupId: z.ZodString;
|
|
1441
|
+
name: z.ZodString;
|
|
1442
|
+
domain: z.ZodString;
|
|
1443
|
+
taskIds: z.ZodArray<z.ZodString, "many">;
|
|
1444
|
+
reasoning: z.ZodString;
|
|
1445
|
+
}, "strip", z.ZodTypeAny, {
|
|
1446
|
+
reasoning: string;
|
|
1447
|
+
name: string;
|
|
1448
|
+
domain: string;
|
|
1449
|
+
groupId: string;
|
|
1450
|
+
taskIds: string[];
|
|
1451
|
+
}, {
|
|
1452
|
+
reasoning: string;
|
|
1453
|
+
name: string;
|
|
1454
|
+
domain: string;
|
|
1455
|
+
groupId: string;
|
|
1456
|
+
taskIds: string[];
|
|
1457
|
+
}>, "many">>;
|
|
1458
|
+
dagValidation: z.ZodOptional<z.ZodObject<{
|
|
1459
|
+
isValid: z.ZodBoolean;
|
|
1460
|
+
hasCycles: z.ZodBoolean;
|
|
1461
|
+
cycleDetails: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1462
|
+
hasConflicts: z.ZodBoolean;
|
|
1463
|
+
conflictDetails: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1464
|
+
topologicalOrder: z.ZodArray<z.ZodString, "many">;
|
|
1465
|
+
criticalPath: z.ZodArray<z.ZodString, "many">;
|
|
1466
|
+
}, "strip", z.ZodTypeAny, {
|
|
1467
|
+
isValid: boolean;
|
|
1468
|
+
hasCycles: boolean;
|
|
1469
|
+
hasConflicts: boolean;
|
|
1470
|
+
topologicalOrder: string[];
|
|
1471
|
+
criticalPath: string[];
|
|
1472
|
+
cycleDetails?: string[] | undefined;
|
|
1473
|
+
conflictDetails?: string[] | undefined;
|
|
1474
|
+
}, {
|
|
1475
|
+
isValid: boolean;
|
|
1476
|
+
hasCycles: boolean;
|
|
1477
|
+
hasConflicts: boolean;
|
|
1478
|
+
topologicalOrder: string[];
|
|
1479
|
+
criticalPath: string[];
|
|
1480
|
+
cycleDetails?: string[] | undefined;
|
|
1481
|
+
conflictDetails?: string[] | undefined;
|
|
1482
|
+
}>>;
|
|
1483
|
+
}, "strip", z.ZodTypeAny, {
|
|
1484
|
+
principle: "closure" | "proximity" | "figure_ground" | "continuity";
|
|
1485
|
+
classifiedACs?: {
|
|
1486
|
+
reasoning: string;
|
|
1487
|
+
acIndex: number;
|
|
1488
|
+
acText: string;
|
|
1489
|
+
classification: "figure" | "ground";
|
|
1490
|
+
priority: "critical" | "high" | "medium" | "low";
|
|
1491
|
+
}[] | undefined;
|
|
1492
|
+
atomicTasks?: {
|
|
1493
|
+
description: string;
|
|
1494
|
+
taskId: string;
|
|
1495
|
+
title: string;
|
|
1496
|
+
sourceAC: number[];
|
|
1497
|
+
isImplicit: boolean;
|
|
1498
|
+
estimatedComplexity: "high" | "medium" | "low";
|
|
1499
|
+
dependsOn: string[];
|
|
1500
|
+
}[] | undefined;
|
|
1501
|
+
taskGroups?: {
|
|
1502
|
+
reasoning: string;
|
|
1503
|
+
name: string;
|
|
1504
|
+
domain: string;
|
|
1505
|
+
groupId: string;
|
|
1506
|
+
taskIds: string[];
|
|
1507
|
+
}[] | undefined;
|
|
1508
|
+
dagValidation?: {
|
|
1509
|
+
isValid: boolean;
|
|
1510
|
+
hasCycles: boolean;
|
|
1511
|
+
hasConflicts: boolean;
|
|
1512
|
+
topologicalOrder: string[];
|
|
1513
|
+
criticalPath: string[];
|
|
1514
|
+
cycleDetails?: string[] | undefined;
|
|
1515
|
+
conflictDetails?: string[] | undefined;
|
|
1516
|
+
} | undefined;
|
|
1517
|
+
}, {
|
|
1518
|
+
principle: "closure" | "proximity" | "figure_ground" | "continuity";
|
|
1519
|
+
classifiedACs?: {
|
|
1520
|
+
reasoning: string;
|
|
1521
|
+
acIndex: number;
|
|
1522
|
+
acText: string;
|
|
1523
|
+
classification: "figure" | "ground";
|
|
1524
|
+
priority: "critical" | "high" | "medium" | "low";
|
|
1525
|
+
}[] | undefined;
|
|
1526
|
+
atomicTasks?: {
|
|
1527
|
+
description: string;
|
|
1528
|
+
taskId: string;
|
|
1529
|
+
title: string;
|
|
1530
|
+
sourceAC: number[];
|
|
1531
|
+
isImplicit: boolean;
|
|
1532
|
+
estimatedComplexity: "high" | "medium" | "low";
|
|
1533
|
+
dependsOn: string[];
|
|
1534
|
+
}[] | undefined;
|
|
1535
|
+
taskGroups?: {
|
|
1536
|
+
reasoning: string;
|
|
1537
|
+
name: string;
|
|
1538
|
+
domain: string;
|
|
1539
|
+
groupId: string;
|
|
1540
|
+
taskIds: string[];
|
|
1541
|
+
}[] | undefined;
|
|
1542
|
+
dagValidation?: {
|
|
1543
|
+
isValid: boolean;
|
|
1544
|
+
hasCycles: boolean;
|
|
1545
|
+
hasConflicts: boolean;
|
|
1546
|
+
topologicalOrder: string[];
|
|
1547
|
+
criticalPath: string[];
|
|
1548
|
+
cycleDetails?: string[] | undefined;
|
|
1549
|
+
conflictDetails?: string[] | undefined;
|
|
1550
|
+
} | undefined;
|
|
1551
|
+
}>>;
|
|
1552
|
+
taskResult: z.ZodOptional<z.ZodObject<{
|
|
1553
|
+
taskId: z.ZodString;
|
|
1554
|
+
status: z.ZodEnum<["pending", "in_progress", "completed", "failed", "skipped"]>;
|
|
1555
|
+
output: z.ZodString;
|
|
1556
|
+
artifacts: z.ZodArray<z.ZodString, "many">;
|
|
1557
|
+
suggestedFiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1558
|
+
}, "strip", z.ZodTypeAny, {
|
|
1559
|
+
status: "in_progress" | "completed" | "failed" | "pending" | "skipped";
|
|
1560
|
+
taskId: string;
|
|
1561
|
+
output: string;
|
|
1562
|
+
artifacts: string[];
|
|
1563
|
+
suggestedFiles?: string[] | undefined;
|
|
1564
|
+
}, {
|
|
1565
|
+
status: "in_progress" | "completed" | "failed" | "pending" | "skipped";
|
|
1566
|
+
taskId: string;
|
|
1567
|
+
output: string;
|
|
1568
|
+
artifacts: string[];
|
|
1569
|
+
suggestedFiles?: string[] | undefined;
|
|
1570
|
+
}>>;
|
|
1571
|
+
structuralResult: z.ZodOptional<z.ZodObject<{
|
|
1572
|
+
commands: z.ZodArray<z.ZodObject<{
|
|
1573
|
+
name: z.ZodString;
|
|
1574
|
+
command: z.ZodString;
|
|
1575
|
+
exitCode: z.ZodNumber;
|
|
1576
|
+
output: z.ZodString;
|
|
1577
|
+
}, "strip", z.ZodTypeAny, {
|
|
1578
|
+
name: string;
|
|
1579
|
+
output: string;
|
|
1580
|
+
command: string;
|
|
1581
|
+
exitCode: number;
|
|
1582
|
+
}, {
|
|
1583
|
+
name: string;
|
|
1584
|
+
output: string;
|
|
1585
|
+
command: string;
|
|
1586
|
+
exitCode: number;
|
|
1587
|
+
}>, "many">;
|
|
1588
|
+
allPassed: z.ZodBoolean;
|
|
1589
|
+
}, "strip", z.ZodTypeAny, {
|
|
1590
|
+
commands: {
|
|
1591
|
+
name: string;
|
|
1592
|
+
output: string;
|
|
1593
|
+
command: string;
|
|
1594
|
+
exitCode: number;
|
|
1595
|
+
}[];
|
|
1596
|
+
allPassed: boolean;
|
|
1597
|
+
}, {
|
|
1598
|
+
commands: {
|
|
1599
|
+
name: string;
|
|
1600
|
+
output: string;
|
|
1601
|
+
command: string;
|
|
1602
|
+
exitCode: number;
|
|
1603
|
+
}[];
|
|
1604
|
+
allPassed: boolean;
|
|
1605
|
+
}>>;
|
|
1606
|
+
evaluationResult: z.ZodOptional<z.ZodObject<{
|
|
1607
|
+
verifications: z.ZodArray<z.ZodObject<{
|
|
1608
|
+
acIndex: z.ZodNumber;
|
|
1609
|
+
satisfied: z.ZodBoolean;
|
|
1610
|
+
evidence: z.ZodString;
|
|
1611
|
+
gaps: z.ZodArray<z.ZodString, "many">;
|
|
1612
|
+
}, "strip", z.ZodTypeAny, {
|
|
1613
|
+
acIndex: number;
|
|
1614
|
+
satisfied: boolean;
|
|
1615
|
+
evidence: string;
|
|
1616
|
+
gaps: string[];
|
|
1617
|
+
}, {
|
|
1618
|
+
acIndex: number;
|
|
1619
|
+
satisfied: boolean;
|
|
1620
|
+
evidence: string;
|
|
1621
|
+
gaps: string[];
|
|
1622
|
+
}>, "many">;
|
|
1623
|
+
overallScore: z.ZodNumber;
|
|
1624
|
+
goalAlignment: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1625
|
+
recommendations: z.ZodArray<z.ZodString, "many">;
|
|
1626
|
+
}, "strip", z.ZodTypeAny, {
|
|
1627
|
+
verifications: {
|
|
1628
|
+
acIndex: number;
|
|
1629
|
+
satisfied: boolean;
|
|
1630
|
+
evidence: string;
|
|
1631
|
+
gaps: string[];
|
|
1632
|
+
}[];
|
|
1633
|
+
overallScore: number;
|
|
1634
|
+
goalAlignment: number;
|
|
1635
|
+
recommendations: string[];
|
|
1636
|
+
}, {
|
|
1637
|
+
verifications: {
|
|
1638
|
+
acIndex: number;
|
|
1639
|
+
satisfied: boolean;
|
|
1640
|
+
evidence: string;
|
|
1641
|
+
gaps: string[];
|
|
1642
|
+
}[];
|
|
1643
|
+
overallScore: number;
|
|
1644
|
+
recommendations: string[];
|
|
1645
|
+
goalAlignment?: number | undefined;
|
|
1646
|
+
}>>;
|
|
1647
|
+
fixTasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1648
|
+
taskId: z.ZodString;
|
|
1649
|
+
failedCommand: z.ZodString;
|
|
1650
|
+
errorOutput: z.ZodString;
|
|
1651
|
+
fixDescription: z.ZodString;
|
|
1652
|
+
artifacts: z.ZodArray<z.ZodString, "many">;
|
|
1653
|
+
}, "strip", z.ZodTypeAny, {
|
|
1654
|
+
taskId: string;
|
|
1655
|
+
artifacts: string[];
|
|
1656
|
+
failedCommand: string;
|
|
1657
|
+
errorOutput: string;
|
|
1658
|
+
fixDescription: string;
|
|
1659
|
+
}, {
|
|
1660
|
+
taskId: string;
|
|
1661
|
+
artifacts: string[];
|
|
1662
|
+
failedCommand: string;
|
|
1663
|
+
errorOutput: string;
|
|
1664
|
+
fixDescription: string;
|
|
1665
|
+
}>, "many">>;
|
|
1666
|
+
specPatch: z.ZodOptional<z.ZodObject<{
|
|
1667
|
+
acceptanceCriteria: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1668
|
+
constraints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1669
|
+
ontologySchema: z.ZodOptional<z.ZodObject<{
|
|
1670
|
+
entities: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1671
|
+
name: z.ZodString;
|
|
1672
|
+
description: z.ZodString;
|
|
1673
|
+
attributes: z.ZodArray<z.ZodString, "many">;
|
|
1674
|
+
}, "strip", z.ZodTypeAny, {
|
|
1675
|
+
name: string;
|
|
1676
|
+
description: string;
|
|
1677
|
+
attributes: string[];
|
|
1678
|
+
}, {
|
|
1679
|
+
name: string;
|
|
1680
|
+
description: string;
|
|
1681
|
+
attributes: string[];
|
|
1682
|
+
}>, "many">>;
|
|
1683
|
+
relations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1684
|
+
from: z.ZodString;
|
|
1685
|
+
to: z.ZodString;
|
|
1686
|
+
type: z.ZodString;
|
|
1687
|
+
}, "strip", z.ZodTypeAny, {
|
|
1688
|
+
type: string;
|
|
1689
|
+
from: string;
|
|
1690
|
+
to: string;
|
|
1691
|
+
}, {
|
|
1692
|
+
type: string;
|
|
1693
|
+
from: string;
|
|
1694
|
+
to: string;
|
|
1695
|
+
}>, "many">>;
|
|
1696
|
+
}, "strip", z.ZodTypeAny, {
|
|
1697
|
+
entities?: {
|
|
1698
|
+
name: string;
|
|
1699
|
+
description: string;
|
|
1700
|
+
attributes: string[];
|
|
1701
|
+
}[] | undefined;
|
|
1702
|
+
relations?: {
|
|
1703
|
+
type: string;
|
|
1704
|
+
from: string;
|
|
1705
|
+
to: string;
|
|
1706
|
+
}[] | undefined;
|
|
1707
|
+
}, {
|
|
1708
|
+
entities?: {
|
|
1709
|
+
name: string;
|
|
1710
|
+
description: string;
|
|
1711
|
+
attributes: string[];
|
|
1712
|
+
}[] | undefined;
|
|
1713
|
+
relations?: {
|
|
1714
|
+
type: string;
|
|
1715
|
+
from: string;
|
|
1716
|
+
to: string;
|
|
1717
|
+
}[] | undefined;
|
|
1718
|
+
}>>;
|
|
1719
|
+
}, "strip", z.ZodTypeAny, {
|
|
1720
|
+
constraints?: string[] | undefined;
|
|
1721
|
+
acceptanceCriteria?: string[] | undefined;
|
|
1722
|
+
ontologySchema?: {
|
|
1723
|
+
entities?: {
|
|
1724
|
+
name: string;
|
|
1725
|
+
description: string;
|
|
1726
|
+
attributes: string[];
|
|
1727
|
+
}[] | undefined;
|
|
1728
|
+
relations?: {
|
|
1729
|
+
type: string;
|
|
1730
|
+
from: string;
|
|
1731
|
+
to: string;
|
|
1732
|
+
}[] | undefined;
|
|
1733
|
+
} | undefined;
|
|
1734
|
+
}, {
|
|
1735
|
+
constraints?: string[] | undefined;
|
|
1736
|
+
acceptanceCriteria?: string[] | undefined;
|
|
1737
|
+
ontologySchema?: {
|
|
1738
|
+
entities?: {
|
|
1739
|
+
name: string;
|
|
1740
|
+
description: string;
|
|
1741
|
+
attributes: string[];
|
|
1742
|
+
}[] | undefined;
|
|
1743
|
+
relations?: {
|
|
1744
|
+
type: string;
|
|
1745
|
+
from: string;
|
|
1746
|
+
to: string;
|
|
1747
|
+
}[] | undefined;
|
|
1748
|
+
} | undefined;
|
|
1749
|
+
}>>;
|
|
1750
|
+
reExecuteTaskResult: z.ZodOptional<z.ZodObject<{
|
|
1751
|
+
taskId: z.ZodString;
|
|
1752
|
+
status: z.ZodEnum<["pending", "in_progress", "completed", "failed", "skipped"]>;
|
|
1753
|
+
output: z.ZodString;
|
|
1754
|
+
artifacts: z.ZodArray<z.ZodString, "many">;
|
|
1755
|
+
}, "strip", z.ZodTypeAny, {
|
|
1756
|
+
status: "in_progress" | "completed" | "failed" | "pending" | "skipped";
|
|
1757
|
+
taskId: string;
|
|
1758
|
+
output: string;
|
|
1759
|
+
artifacts: string[];
|
|
1760
|
+
}, {
|
|
1761
|
+
status: "in_progress" | "completed" | "failed" | "pending" | "skipped";
|
|
1762
|
+
taskId: string;
|
|
1763
|
+
output: string;
|
|
1764
|
+
artifacts: string[];
|
|
1765
|
+
}>>;
|
|
1766
|
+
terminateReason: z.ZodOptional<z.ZodEnum<["caller"]>>;
|
|
1767
|
+
matchResult: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1768
|
+
agentName: z.ZodString;
|
|
1769
|
+
domain: z.ZodArray<z.ZodString, "many">;
|
|
1770
|
+
relevanceScore: z.ZodNumber;
|
|
1771
|
+
reasoning: z.ZodString;
|
|
1772
|
+
}, "strip", z.ZodTypeAny, {
|
|
1773
|
+
reasoning: string;
|
|
1774
|
+
domain: string[];
|
|
1775
|
+
agentName: string;
|
|
1776
|
+
relevanceScore: number;
|
|
1777
|
+
}, {
|
|
1778
|
+
reasoning: string;
|
|
1779
|
+
domain: string[];
|
|
1780
|
+
agentName: string;
|
|
1781
|
+
relevanceScore: number;
|
|
1782
|
+
}>, "many">>;
|
|
1783
|
+
perspectives: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1784
|
+
agentName: z.ZodString;
|
|
1785
|
+
perspective: z.ZodString;
|
|
1786
|
+
confidence: z.ZodNumber;
|
|
1787
|
+
}, "strip", z.ZodTypeAny, {
|
|
1788
|
+
confidence: number;
|
|
1789
|
+
agentName: string;
|
|
1790
|
+
perspective: string;
|
|
1791
|
+
}, {
|
|
1792
|
+
confidence: number;
|
|
1793
|
+
agentName: string;
|
|
1794
|
+
perspective: string;
|
|
1795
|
+
}>, "many">>;
|
|
1796
|
+
consensus: z.ZodOptional<z.ZodObject<{
|
|
1797
|
+
consensus: z.ZodString;
|
|
1798
|
+
conflictResolutions: z.ZodArray<z.ZodString, "many">;
|
|
1799
|
+
perspectives: z.ZodArray<z.ZodObject<{
|
|
1800
|
+
agentName: z.ZodString;
|
|
1801
|
+
perspective: z.ZodString;
|
|
1802
|
+
confidence: z.ZodNumber;
|
|
1803
|
+
}, "strip", z.ZodTypeAny, {
|
|
1804
|
+
confidence: number;
|
|
1805
|
+
agentName: string;
|
|
1806
|
+
perspective: string;
|
|
1807
|
+
}, {
|
|
1808
|
+
confidence: number;
|
|
1809
|
+
agentName: string;
|
|
1810
|
+
perspective: string;
|
|
1811
|
+
}>, "many">;
|
|
1812
|
+
}, "strip", z.ZodTypeAny, {
|
|
1813
|
+
consensus: string;
|
|
1814
|
+
perspectives: {
|
|
1815
|
+
confidence: number;
|
|
1816
|
+
agentName: string;
|
|
1817
|
+
perspective: string;
|
|
1818
|
+
}[];
|
|
1819
|
+
conflictResolutions: string[];
|
|
1820
|
+
}, {
|
|
1821
|
+
consensus: string;
|
|
1822
|
+
perspectives: {
|
|
1823
|
+
confidence: number;
|
|
1824
|
+
agentName: string;
|
|
1825
|
+
perspective: string;
|
|
1826
|
+
}[];
|
|
1827
|
+
conflictResolutions: string[];
|
|
1828
|
+
}>>;
|
|
1829
|
+
lateralResult: z.ZodOptional<z.ZodObject<{
|
|
1830
|
+
persona: z.ZodEnum<["multistability", "simplicity", "reification", "invariance"]>;
|
|
1831
|
+
specPatch: z.ZodObject<{
|
|
1832
|
+
acceptanceCriteria: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1833
|
+
constraints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1834
|
+
ontologySchema: z.ZodOptional<z.ZodObject<{
|
|
1835
|
+
entities: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1836
|
+
name: z.ZodString;
|
|
1837
|
+
description: z.ZodString;
|
|
1838
|
+
attributes: z.ZodArray<z.ZodString, "many">;
|
|
1839
|
+
}, "strip", z.ZodTypeAny, {
|
|
1840
|
+
name: string;
|
|
1841
|
+
description: string;
|
|
1842
|
+
attributes: string[];
|
|
1843
|
+
}, {
|
|
1844
|
+
name: string;
|
|
1845
|
+
description: string;
|
|
1846
|
+
attributes: string[];
|
|
1847
|
+
}>, "many">>;
|
|
1848
|
+
relations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1849
|
+
from: z.ZodString;
|
|
1850
|
+
to: z.ZodString;
|
|
1851
|
+
type: z.ZodString;
|
|
1852
|
+
}, "strip", z.ZodTypeAny, {
|
|
1853
|
+
type: string;
|
|
1854
|
+
from: string;
|
|
1855
|
+
to: string;
|
|
1856
|
+
}, {
|
|
1857
|
+
type: string;
|
|
1858
|
+
from: string;
|
|
1859
|
+
to: string;
|
|
1860
|
+
}>, "many">>;
|
|
1861
|
+
}, "strip", z.ZodTypeAny, {
|
|
1862
|
+
entities?: {
|
|
1863
|
+
name: string;
|
|
1864
|
+
description: string;
|
|
1865
|
+
attributes: string[];
|
|
1866
|
+
}[] | undefined;
|
|
1867
|
+
relations?: {
|
|
1868
|
+
type: string;
|
|
1869
|
+
from: string;
|
|
1870
|
+
to: string;
|
|
1871
|
+
}[] | undefined;
|
|
1872
|
+
}, {
|
|
1873
|
+
entities?: {
|
|
1874
|
+
name: string;
|
|
1875
|
+
description: string;
|
|
1876
|
+
attributes: string[];
|
|
1877
|
+
}[] | undefined;
|
|
1878
|
+
relations?: {
|
|
1879
|
+
type: string;
|
|
1880
|
+
from: string;
|
|
1881
|
+
to: string;
|
|
1882
|
+
}[] | undefined;
|
|
1883
|
+
}>>;
|
|
1884
|
+
}, "strip", z.ZodTypeAny, {
|
|
1885
|
+
constraints?: string[] | undefined;
|
|
1886
|
+
acceptanceCriteria?: string[] | undefined;
|
|
1887
|
+
ontologySchema?: {
|
|
1888
|
+
entities?: {
|
|
1889
|
+
name: string;
|
|
1890
|
+
description: string;
|
|
1891
|
+
attributes: string[];
|
|
1892
|
+
}[] | undefined;
|
|
1893
|
+
relations?: {
|
|
1894
|
+
type: string;
|
|
1895
|
+
from: string;
|
|
1896
|
+
to: string;
|
|
1897
|
+
}[] | undefined;
|
|
1898
|
+
} | undefined;
|
|
1899
|
+
}, {
|
|
1900
|
+
constraints?: string[] | undefined;
|
|
1901
|
+
acceptanceCriteria?: string[] | undefined;
|
|
1902
|
+
ontologySchema?: {
|
|
1903
|
+
entities?: {
|
|
1904
|
+
name: string;
|
|
1905
|
+
description: string;
|
|
1906
|
+
attributes: string[];
|
|
1907
|
+
}[] | undefined;
|
|
1908
|
+
relations?: {
|
|
1909
|
+
type: string;
|
|
1910
|
+
from: string;
|
|
1911
|
+
to: string;
|
|
1912
|
+
}[] | undefined;
|
|
1913
|
+
} | undefined;
|
|
1914
|
+
}>;
|
|
1915
|
+
description: z.ZodString;
|
|
1916
|
+
}, "strip", z.ZodTypeAny, {
|
|
1917
|
+
description: string;
|
|
1918
|
+
specPatch: {
|
|
1919
|
+
constraints?: string[] | undefined;
|
|
1920
|
+
acceptanceCriteria?: string[] | undefined;
|
|
1921
|
+
ontologySchema?: {
|
|
1922
|
+
entities?: {
|
|
1923
|
+
name: string;
|
|
1924
|
+
description: string;
|
|
1925
|
+
attributes: string[];
|
|
1926
|
+
}[] | undefined;
|
|
1927
|
+
relations?: {
|
|
1928
|
+
type: string;
|
|
1929
|
+
from: string;
|
|
1930
|
+
to: string;
|
|
1931
|
+
}[] | undefined;
|
|
1932
|
+
} | undefined;
|
|
1933
|
+
};
|
|
1934
|
+
persona: "multistability" | "simplicity" | "reification" | "invariance";
|
|
1935
|
+
}, {
|
|
1936
|
+
description: string;
|
|
1937
|
+
specPatch: {
|
|
1938
|
+
constraints?: string[] | undefined;
|
|
1939
|
+
acceptanceCriteria?: string[] | undefined;
|
|
1940
|
+
ontologySchema?: {
|
|
1941
|
+
entities?: {
|
|
1942
|
+
name: string;
|
|
1943
|
+
description: string;
|
|
1944
|
+
attributes: string[];
|
|
1945
|
+
}[] | undefined;
|
|
1946
|
+
relations?: {
|
|
1947
|
+
type: string;
|
|
1948
|
+
from: string;
|
|
1949
|
+
to: string;
|
|
1950
|
+
}[] | undefined;
|
|
1951
|
+
} | undefined;
|
|
1952
|
+
};
|
|
1953
|
+
persona: "multistability" | "simplicity" | "reification" | "invariance";
|
|
1954
|
+
}>>;
|
|
1955
|
+
codebaseSnapshot: z.ZodOptional<z.ZodString>;
|
|
1956
|
+
auditResult: z.ZodOptional<z.ZodObject<{
|
|
1957
|
+
implementedACs: z.ZodArray<z.ZodNumber, "many">;
|
|
1958
|
+
partialACs: z.ZodArray<z.ZodNumber, "many">;
|
|
1959
|
+
missingACs: z.ZodArray<z.ZodNumber, "many">;
|
|
1960
|
+
gapAnalysis: z.ZodString;
|
|
1961
|
+
}, "strip", z.ZodTypeAny, {
|
|
1962
|
+
implementedACs: number[];
|
|
1963
|
+
partialACs: number[];
|
|
1964
|
+
missingACs: number[];
|
|
1965
|
+
gapAnalysis: string;
|
|
1966
|
+
}, {
|
|
1967
|
+
implementedACs: number[];
|
|
1968
|
+
partialACs: number[];
|
|
1969
|
+
missingACs: number[];
|
|
1970
|
+
gapAnalysis: string;
|
|
1971
|
+
}>>;
|
|
1972
|
+
parentTaskId: z.ZodOptional<z.ZodString>;
|
|
1973
|
+
subTasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1974
|
+
title: z.ZodString;
|
|
1975
|
+
description: z.ZodString;
|
|
1976
|
+
dependsOn: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1977
|
+
}, "strip", z.ZodTypeAny, {
|
|
1978
|
+
description: string;
|
|
1979
|
+
title: string;
|
|
1980
|
+
dependsOn: string[];
|
|
1981
|
+
}, {
|
|
1982
|
+
description: string;
|
|
1983
|
+
title: string;
|
|
1984
|
+
dependsOn?: string[] | undefined;
|
|
1985
|
+
}>, "many">>;
|
|
1986
|
+
verbose: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1987
|
+
reviewAgentName: z.ZodOptional<z.ZodString>;
|
|
1988
|
+
reviewResult: z.ZodOptional<z.ZodObject<{
|
|
1989
|
+
issues: z.ZodArray<z.ZodObject<{
|
|
1990
|
+
id: z.ZodString;
|
|
1991
|
+
severity: z.ZodEnum<["critical", "high", "warning"]>;
|
|
1992
|
+
category: z.ZodString;
|
|
1993
|
+
file: z.ZodString;
|
|
1994
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
1995
|
+
message: z.ZodString;
|
|
1996
|
+
suggestion: z.ZodString;
|
|
1997
|
+
}, "strip", z.ZodTypeAny, {
|
|
1998
|
+
message: string;
|
|
1999
|
+
id: string;
|
|
2000
|
+
severity: "critical" | "high" | "warning";
|
|
2001
|
+
category: string;
|
|
2002
|
+
file: string;
|
|
2003
|
+
suggestion: string;
|
|
2004
|
+
line?: number | undefined;
|
|
2005
|
+
}, {
|
|
2006
|
+
message: string;
|
|
2007
|
+
id: string;
|
|
2008
|
+
severity: "critical" | "high" | "warning";
|
|
2009
|
+
category: string;
|
|
2010
|
+
file: string;
|
|
2011
|
+
suggestion: string;
|
|
2012
|
+
line?: number | undefined;
|
|
2013
|
+
}>, "many">;
|
|
2014
|
+
approved: z.ZodBoolean;
|
|
2015
|
+
summary: z.ZodString;
|
|
2016
|
+
}, "strip", z.ZodTypeAny, {
|
|
2017
|
+
issues: {
|
|
2018
|
+
message: string;
|
|
2019
|
+
id: string;
|
|
2020
|
+
severity: "critical" | "high" | "warning";
|
|
2021
|
+
category: string;
|
|
2022
|
+
file: string;
|
|
2023
|
+
suggestion: string;
|
|
2024
|
+
line?: number | undefined;
|
|
2025
|
+
}[];
|
|
2026
|
+
approved: boolean;
|
|
2027
|
+
summary: string;
|
|
2028
|
+
}, {
|
|
2029
|
+
issues: {
|
|
2030
|
+
message: string;
|
|
2031
|
+
id: string;
|
|
2032
|
+
severity: "critical" | "high" | "warning";
|
|
2033
|
+
category: string;
|
|
2034
|
+
file: string;
|
|
2035
|
+
suggestion: string;
|
|
2036
|
+
line?: number | undefined;
|
|
2037
|
+
}[];
|
|
2038
|
+
approved: boolean;
|
|
2039
|
+
summary: string;
|
|
2040
|
+
}>>;
|
|
2041
|
+
reviewConsensus: z.ZodOptional<z.ZodObject<{
|
|
2042
|
+
mergedIssues: z.ZodArray<z.ZodObject<{
|
|
2043
|
+
id: z.ZodString;
|
|
2044
|
+
severity: z.ZodEnum<["critical", "high", "warning"]>;
|
|
2045
|
+
category: z.ZodString;
|
|
2046
|
+
file: z.ZodString;
|
|
2047
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
2048
|
+
message: z.ZodString;
|
|
2049
|
+
suggestion: z.ZodString;
|
|
2050
|
+
reportedBy: z.ZodString;
|
|
2051
|
+
}, "strip", z.ZodTypeAny, {
|
|
2052
|
+
message: string;
|
|
2053
|
+
id: string;
|
|
2054
|
+
severity: "critical" | "high" | "warning";
|
|
2055
|
+
category: string;
|
|
2056
|
+
file: string;
|
|
2057
|
+
suggestion: string;
|
|
2058
|
+
reportedBy: string;
|
|
2059
|
+
line?: number | undefined;
|
|
2060
|
+
}, {
|
|
2061
|
+
message: string;
|
|
2062
|
+
id: string;
|
|
2063
|
+
severity: "critical" | "high" | "warning";
|
|
2064
|
+
category: string;
|
|
2065
|
+
file: string;
|
|
2066
|
+
suggestion: string;
|
|
2067
|
+
reportedBy: string;
|
|
2068
|
+
line?: number | undefined;
|
|
2069
|
+
}>, "many">;
|
|
2070
|
+
approvedBy: z.ZodArray<z.ZodString, "many">;
|
|
2071
|
+
blockedBy: z.ZodArray<z.ZodString, "many">;
|
|
2072
|
+
summary: z.ZodString;
|
|
2073
|
+
overallApproved: z.ZodBoolean;
|
|
2074
|
+
}, "strip", z.ZodTypeAny, {
|
|
2075
|
+
summary: string;
|
|
2076
|
+
mergedIssues: {
|
|
2077
|
+
message: string;
|
|
2078
|
+
id: string;
|
|
2079
|
+
severity: "critical" | "high" | "warning";
|
|
2080
|
+
category: string;
|
|
2081
|
+
file: string;
|
|
2082
|
+
suggestion: string;
|
|
2083
|
+
reportedBy: string;
|
|
2084
|
+
line?: number | undefined;
|
|
2085
|
+
}[];
|
|
2086
|
+
approvedBy: string[];
|
|
2087
|
+
blockedBy: string[];
|
|
2088
|
+
overallApproved: boolean;
|
|
2089
|
+
}, {
|
|
2090
|
+
summary: string;
|
|
2091
|
+
mergedIssues: {
|
|
2092
|
+
message: string;
|
|
2093
|
+
id: string;
|
|
2094
|
+
severity: "critical" | "high" | "warning";
|
|
2095
|
+
category: string;
|
|
2096
|
+
file: string;
|
|
2097
|
+
suggestion: string;
|
|
2098
|
+
reportedBy: string;
|
|
2099
|
+
line?: number | undefined;
|
|
2100
|
+
}[];
|
|
2101
|
+
approvedBy: string[];
|
|
2102
|
+
blockedBy: string[];
|
|
2103
|
+
overallApproved: boolean;
|
|
2104
|
+
}>>;
|
|
2105
|
+
reviewSessionId: z.ZodOptional<z.ZodString>;
|
|
2106
|
+
};
|
|
1323
2107
|
export declare const agentCreateInputSchema: z.ZodObject<{
|
|
1324
2108
|
action: z.ZodEnum<["start", "submit"]>;
|
|
1325
2109
|
sessionId: z.ZodString;
|