@treeseed/sdk 0.13.0-rc.53 → 0.13.0-rc.55
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/README.md +4 -0
- package/dist/agent-capacity/authority/agent-authority-presets.js +2 -1
- package/dist/agent-capacity/contracts/configuration/configuration.js +1 -1
- package/dist/agent-capacity/validation/agent-definition-schema.d.ts +240 -240
- package/dist/agent-capacity/validation/agent-lab-forensics-schema.d.ts +1 -1
- package/dist/capacity-provider/client.d.ts +18 -3
- package/dist/capacity-provider/client.js +6 -0
- package/dist/capacity-provider/contracts/governance.d.ts +28 -1
- package/dist/capacity-provider/index.d.ts +1 -0
- package/dist/capacity-provider/index.js +1 -0
- package/dist/capacity-provider/sandbox-contracts.d.ts +422 -0
- package/dist/capacity-provider/sandbox-contracts.js +71 -0
- package/dist/capacity-provider/validation.d.ts +2 -1
- package/dist/capacity-provider/validation.js +23 -0
- package/dist/content/validation/agent-operational-content-schemas.d.ts +76 -76
- package/dist/content/validation/auxiliary-content-schemas.d.ts +20 -20
- package/dist/content/validation/content-model-schemas.d.ts +570 -570
- package/dist/content/validation/portable-content-data.d.ts +61 -61
- package/dist/deployment/ai-mode.d.ts +4 -4
- package/dist/deployment/schemas.d.ts +418 -100
- package/dist/deployment/schemas.js +23 -1
- package/dist/development/schemas.d.ts +22 -22
- package/dist/operator-contracts/canonical-command-tree.js +63 -3
- package/dist/operator-contracts/catalog/communication-operations.d.ts +300 -33
- package/dist/operator-contracts/catalog/communication-operations.js +56 -2
- package/dist/operator-contracts/catalog/inbox-operations.d.ts +261 -0
- package/dist/operator-contracts/catalog/inbox-operations.js +36 -0
- package/dist/operator-contracts/communication/contracts.d.ts +1261 -71
- package/dist/operator-contracts/communication/contracts.js +99 -7
- package/dist/operator-contracts/control-plane-operations.d.ts +592 -66
- package/dist/operator-contracts/control-plane-operations.js +4 -1
- package/dist/operator-contracts/inbox/contracts.d.ts +1099 -0
- package/dist/operator-contracts/inbox/contracts.js +134 -0
- package/dist/operator-contracts/index.d.ts +1 -0
- package/dist/operator-contracts/index.js +1 -0
- package/dist/operator-contracts/mcp.js +1 -1
- package/dist/security/encrypted-envelope.d.ts +177 -0
- package/dist/security/encrypted-envelope.js +34 -0
- package/dist/security/envelope-codec.d.ts +38 -0
- package/dist/security/envelope-codec.js +96 -0
- package/dist/security/index.d.ts +2 -0
- package/dist/security/index.js +2 -0
- package/package.json +5 -1
|
@@ -727,8 +727,8 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
727
727
|
agentSlug: import("zod").ZodOptional<import("zod").ZodString>;
|
|
728
728
|
}, "strict", import("zod").ZodTypeAny, {
|
|
729
729
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
730
|
-
projectId?: string | undefined;
|
|
731
730
|
teamId?: string | undefined;
|
|
731
|
+
projectId?: string | undefined;
|
|
732
732
|
agentSlug?: string | undefined;
|
|
733
733
|
requiredRoles?: string[] | undefined;
|
|
734
734
|
allowedRoles?: string[] | undefined;
|
|
@@ -738,8 +738,8 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
738
738
|
teamMemberId?: string | undefined;
|
|
739
739
|
}, {
|
|
740
740
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
741
|
-
projectId?: string | undefined;
|
|
742
741
|
teamId?: string | undefined;
|
|
742
|
+
projectId?: string | undefined;
|
|
743
743
|
agentSlug?: string | undefined;
|
|
744
744
|
requiredRoles?: string[] | undefined;
|
|
745
745
|
allowedRoles?: string[] | undefined;
|
|
@@ -751,8 +751,8 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
751
751
|
}, "strict", import("zod").ZodTypeAny, {
|
|
752
752
|
defaultAnswerPolicy?: {
|
|
753
753
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
754
|
-
projectId?: string | undefined;
|
|
755
754
|
teamId?: string | undefined;
|
|
755
|
+
projectId?: string | undefined;
|
|
756
756
|
agentSlug?: string | undefined;
|
|
757
757
|
requiredRoles?: string[] | undefined;
|
|
758
758
|
allowedRoles?: string[] | undefined;
|
|
@@ -765,8 +765,8 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
765
765
|
}, {
|
|
766
766
|
defaultAnswerPolicy?: {
|
|
767
767
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
768
|
-
projectId?: string | undefined;
|
|
769
768
|
teamId?: string | undefined;
|
|
769
|
+
projectId?: string | undefined;
|
|
770
770
|
agentSlug?: string | undefined;
|
|
771
771
|
requiredRoles?: string[] | undefined;
|
|
772
772
|
allowedRoles?: string[] | undefined;
|
|
@@ -794,12 +794,12 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
794
794
|
amount: import("zod").ZodNumber;
|
|
795
795
|
enforceable: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
796
796
|
}, "strict", import("zod").ZodTypeAny, {
|
|
797
|
-
amount: number;
|
|
798
797
|
unit: string;
|
|
798
|
+
amount: number;
|
|
799
799
|
enforceable?: boolean | undefined;
|
|
800
800
|
}, {
|
|
801
|
-
amount: number;
|
|
802
801
|
unit: string;
|
|
802
|
+
amount: number;
|
|
803
803
|
enforceable?: boolean | undefined;
|
|
804
804
|
}>, "many">>;
|
|
805
805
|
pricingGeneration: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -812,6 +812,11 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
812
812
|
closeoutSeconds?: number | undefined;
|
|
813
813
|
closeoutWarningSeconds?: number | undefined;
|
|
814
814
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
815
|
+
nativeLimits?: {
|
|
816
|
+
unit: string;
|
|
817
|
+
amount: number;
|
|
818
|
+
enforceable?: boolean | undefined;
|
|
819
|
+
}[] | undefined;
|
|
815
820
|
maxRuntimeSeconds?: number | undefined;
|
|
816
821
|
maxRetries?: number | undefined;
|
|
817
822
|
verificationRequired?: boolean | undefined;
|
|
@@ -819,11 +824,6 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
819
824
|
warningTokens?: number | undefined;
|
|
820
825
|
maxCostAmount?: number | undefined;
|
|
821
826
|
costCurrency?: string | undefined;
|
|
822
|
-
nativeLimits?: {
|
|
823
|
-
amount: number;
|
|
824
|
-
unit: string;
|
|
825
|
-
enforceable?: boolean | undefined;
|
|
826
|
-
}[] | undefined;
|
|
827
827
|
pricingGeneration?: string | undefined;
|
|
828
828
|
allowedPaths?: string[] | undefined;
|
|
829
829
|
forbiddenPaths?: string[] | undefined;
|
|
@@ -833,6 +833,11 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
833
833
|
closeoutSeconds?: number | undefined;
|
|
834
834
|
closeoutWarningSeconds?: number | undefined;
|
|
835
835
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
836
|
+
nativeLimits?: {
|
|
837
|
+
unit: string;
|
|
838
|
+
amount: number;
|
|
839
|
+
enforceable?: boolean | undefined;
|
|
840
|
+
}[] | undefined;
|
|
836
841
|
maxRuntimeSeconds?: number | undefined;
|
|
837
842
|
maxRetries?: number | undefined;
|
|
838
843
|
verificationRequired?: boolean | undefined;
|
|
@@ -840,11 +845,6 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
840
845
|
warningTokens?: number | undefined;
|
|
841
846
|
maxCostAmount?: number | undefined;
|
|
842
847
|
costCurrency?: string | undefined;
|
|
843
|
-
nativeLimits?: {
|
|
844
|
-
amount: number;
|
|
845
|
-
unit: string;
|
|
846
|
-
enforceable?: boolean | undefined;
|
|
847
|
-
}[] | undefined;
|
|
848
848
|
pricingGeneration?: string | undefined;
|
|
849
849
|
allowedPaths?: string[] | undefined;
|
|
850
850
|
forbiddenPaths?: string[] | undefined;
|
|
@@ -881,6 +881,11 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
881
881
|
closeoutSeconds?: number | undefined;
|
|
882
882
|
closeoutWarningSeconds?: number | undefined;
|
|
883
883
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
884
|
+
nativeLimits?: {
|
|
885
|
+
unit: string;
|
|
886
|
+
amount: number;
|
|
887
|
+
enforceable?: boolean | undefined;
|
|
888
|
+
}[] | undefined;
|
|
884
889
|
maxRuntimeSeconds?: number | undefined;
|
|
885
890
|
maxRetries?: number | undefined;
|
|
886
891
|
verificationRequired?: boolean | undefined;
|
|
@@ -888,11 +893,6 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
888
893
|
warningTokens?: number | undefined;
|
|
889
894
|
maxCostAmount?: number | undefined;
|
|
890
895
|
costCurrency?: string | undefined;
|
|
891
|
-
nativeLimits?: {
|
|
892
|
-
amount: number;
|
|
893
|
-
unit: string;
|
|
894
|
-
enforceable?: boolean | undefined;
|
|
895
|
-
}[] | undefined;
|
|
896
896
|
pricingGeneration?: string | undefined;
|
|
897
897
|
allowedPaths?: string[] | undefined;
|
|
898
898
|
forbiddenPaths?: string[] | undefined;
|
|
@@ -1010,8 +1010,8 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1010
1010
|
questionPolicy?: {
|
|
1011
1011
|
defaultAnswerPolicy?: {
|
|
1012
1012
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
1013
|
-
projectId?: string | undefined;
|
|
1014
1013
|
teamId?: string | undefined;
|
|
1014
|
+
projectId?: string | undefined;
|
|
1015
1015
|
agentSlug?: string | undefined;
|
|
1016
1016
|
requiredRoles?: string[] | undefined;
|
|
1017
1017
|
allowedRoles?: string[] | undefined;
|
|
@@ -1054,6 +1054,11 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1054
1054
|
closeoutSeconds?: number | undefined;
|
|
1055
1055
|
closeoutWarningSeconds?: number | undefined;
|
|
1056
1056
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
1057
|
+
nativeLimits?: {
|
|
1058
|
+
unit: string;
|
|
1059
|
+
amount: number;
|
|
1060
|
+
enforceable?: boolean | undefined;
|
|
1061
|
+
}[] | undefined;
|
|
1057
1062
|
maxRuntimeSeconds?: number | undefined;
|
|
1058
1063
|
maxRetries?: number | undefined;
|
|
1059
1064
|
verificationRequired?: boolean | undefined;
|
|
@@ -1061,11 +1066,6 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1061
1066
|
warningTokens?: number | undefined;
|
|
1062
1067
|
maxCostAmount?: number | undefined;
|
|
1063
1068
|
costCurrency?: string | undefined;
|
|
1064
|
-
nativeLimits?: {
|
|
1065
|
-
amount: number;
|
|
1066
|
-
unit: string;
|
|
1067
|
-
enforceable?: boolean | undefined;
|
|
1068
|
-
}[] | undefined;
|
|
1069
1069
|
pricingGeneration?: string | undefined;
|
|
1070
1070
|
allowedPaths?: string[] | undefined;
|
|
1071
1071
|
forbiddenPaths?: string[] | undefined;
|
|
@@ -1183,8 +1183,8 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1183
1183
|
questionPolicy?: {
|
|
1184
1184
|
defaultAnswerPolicy?: {
|
|
1185
1185
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
1186
|
-
projectId?: string | undefined;
|
|
1187
1186
|
teamId?: string | undefined;
|
|
1187
|
+
projectId?: string | undefined;
|
|
1188
1188
|
agentSlug?: string | undefined;
|
|
1189
1189
|
requiredRoles?: string[] | undefined;
|
|
1190
1190
|
allowedRoles?: string[] | undefined;
|
|
@@ -1227,6 +1227,11 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1227
1227
|
closeoutSeconds?: number | undefined;
|
|
1228
1228
|
closeoutWarningSeconds?: number | undefined;
|
|
1229
1229
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
1230
|
+
nativeLimits?: {
|
|
1231
|
+
unit: string;
|
|
1232
|
+
amount: number;
|
|
1233
|
+
enforceable?: boolean | undefined;
|
|
1234
|
+
}[] | undefined;
|
|
1230
1235
|
maxRuntimeSeconds?: number | undefined;
|
|
1231
1236
|
maxRetries?: number | undefined;
|
|
1232
1237
|
verificationRequired?: boolean | undefined;
|
|
@@ -1234,11 +1239,6 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1234
1239
|
warningTokens?: number | undefined;
|
|
1235
1240
|
maxCostAmount?: number | undefined;
|
|
1236
1241
|
costCurrency?: string | undefined;
|
|
1237
|
-
nativeLimits?: {
|
|
1238
|
-
amount: number;
|
|
1239
|
-
unit: string;
|
|
1240
|
-
enforceable?: boolean | undefined;
|
|
1241
|
-
}[] | undefined;
|
|
1242
1242
|
pricingGeneration?: string | undefined;
|
|
1243
1243
|
allowedPaths?: string[] | undefined;
|
|
1244
1244
|
forbiddenPaths?: string[] | undefined;
|
|
@@ -1356,8 +1356,8 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1356
1356
|
questionPolicy?: {
|
|
1357
1357
|
defaultAnswerPolicy?: {
|
|
1358
1358
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
1359
|
-
projectId?: string | undefined;
|
|
1360
1359
|
teamId?: string | undefined;
|
|
1360
|
+
projectId?: string | undefined;
|
|
1361
1361
|
agentSlug?: string | undefined;
|
|
1362
1362
|
requiredRoles?: string[] | undefined;
|
|
1363
1363
|
allowedRoles?: string[] | undefined;
|
|
@@ -1400,6 +1400,11 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1400
1400
|
closeoutSeconds?: number | undefined;
|
|
1401
1401
|
closeoutWarningSeconds?: number | undefined;
|
|
1402
1402
|
enforcementConfidence?: "exact" | "bounded" | "estimated" | "opaque" | undefined;
|
|
1403
|
+
nativeLimits?: {
|
|
1404
|
+
unit: string;
|
|
1405
|
+
amount: number;
|
|
1406
|
+
enforceable?: boolean | undefined;
|
|
1407
|
+
}[] | undefined;
|
|
1403
1408
|
maxRuntimeSeconds?: number | undefined;
|
|
1404
1409
|
maxRetries?: number | undefined;
|
|
1405
1410
|
verificationRequired?: boolean | undefined;
|
|
@@ -1407,11 +1412,6 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1407
1412
|
warningTokens?: number | undefined;
|
|
1408
1413
|
maxCostAmount?: number | undefined;
|
|
1409
1414
|
costCurrency?: string | undefined;
|
|
1410
|
-
nativeLimits?: {
|
|
1411
|
-
amount: number;
|
|
1412
|
-
unit: string;
|
|
1413
|
-
enforceable?: boolean | undefined;
|
|
1414
|
-
}[] | undefined;
|
|
1415
1415
|
pricingGeneration?: string | undefined;
|
|
1416
1416
|
allowedPaths?: string[] | undefined;
|
|
1417
1417
|
forbiddenPaths?: string[] | undefined;
|
|
@@ -1529,8 +1529,8 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1529
1529
|
questionPolicy?: {
|
|
1530
1530
|
defaultAnswerPolicy?: {
|
|
1531
1531
|
kind: "team-human" | "human-or-agent" | "specific-human" | "specific-agent";
|
|
1532
|
-
projectId?: string | undefined;
|
|
1533
1532
|
teamId?: string | undefined;
|
|
1533
|
+
projectId?: string | undefined;
|
|
1534
1534
|
agentSlug?: string | undefined;
|
|
1535
1535
|
requiredRoles?: string[] | undefined;
|
|
1536
1536
|
allowedRoles?: string[] | undefined;
|
|
@@ -1597,8 +1597,8 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1597
1597
|
releases: {
|
|
1598
1598
|
status: string;
|
|
1599
1599
|
deploymentKind: string;
|
|
1600
|
-
id?: string | undefined;
|
|
1601
1600
|
createdAt?: Date | undefined;
|
|
1601
|
+
id?: string | undefined;
|
|
1602
1602
|
startedAt?: Date | undefined;
|
|
1603
1603
|
commitSha?: string | null | undefined;
|
|
1604
1604
|
finishedAt?: Date | undefined;
|
|
@@ -1607,8 +1607,8 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1607
1607
|
}[];
|
|
1608
1608
|
scaleDecision: Record<string, unknown>;
|
|
1609
1609
|
scaleResult: Record<string, unknown>;
|
|
1610
|
-
createdAt?: Date | undefined;
|
|
1611
1610
|
teamId?: string | undefined;
|
|
1611
|
+
createdAt?: Date | undefined;
|
|
1612
1612
|
endedAt?: Date | null | undefined;
|
|
1613
1613
|
prioritySnapshotId?: string | null | undefined;
|
|
1614
1614
|
} | {
|
|
@@ -1618,6 +1618,7 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1618
1618
|
summary: string;
|
|
1619
1619
|
slug: string;
|
|
1620
1620
|
title: string;
|
|
1621
|
+
relatedObjectives: string[];
|
|
1621
1622
|
groupIds: string[];
|
|
1622
1623
|
featured: boolean;
|
|
1623
1624
|
listingEnabled: boolean;
|
|
@@ -1658,7 +1659,6 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1658
1659
|
};
|
|
1659
1660
|
relatedBooks: string[];
|
|
1660
1661
|
relatedKnowledge: string[];
|
|
1661
|
-
relatedObjectives: string[];
|
|
1662
1662
|
teamId?: string | undefined;
|
|
1663
1663
|
sourceRef?: string | undefined;
|
|
1664
1664
|
} | {
|
|
@@ -1706,6 +1706,7 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1706
1706
|
} | undefined;
|
|
1707
1707
|
maxLatencyMs?: number | undefined;
|
|
1708
1708
|
} | {
|
|
1709
|
+
purpose: string;
|
|
1709
1710
|
id: string;
|
|
1710
1711
|
target: {
|
|
1711
1712
|
kind: "code" | "content" | "mixed" | "graph";
|
|
@@ -1714,12 +1715,12 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1714
1715
|
};
|
|
1715
1716
|
required: boolean;
|
|
1716
1717
|
revision: number;
|
|
1718
|
+
format: "map" | "summary" | "list" | "full" | "brief" | "sources";
|
|
1717
1719
|
description: string;
|
|
1718
1720
|
query: string;
|
|
1719
1721
|
depth: number;
|
|
1720
1722
|
title: string;
|
|
1721
1723
|
filters: Record<string, unknown>;
|
|
1722
|
-
purpose: string;
|
|
1723
1724
|
maturity: "draft" | "validated" | "simulated" | "proven";
|
|
1724
1725
|
relations: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[];
|
|
1725
1726
|
resultLimit: number;
|
|
@@ -1728,7 +1729,6 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1728
1729
|
maxCharacters?: number | undefined;
|
|
1729
1730
|
};
|
|
1730
1731
|
tokenBudget: number;
|
|
1731
|
-
format: "map" | "summary" | "list" | "brief" | "full" | "sources";
|
|
1732
1732
|
scope?: string | undefined;
|
|
1733
1733
|
codeScopes?: string[] | undefined;
|
|
1734
1734
|
} | {
|
|
@@ -1760,12 +1760,12 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1760
1760
|
groupIds: string[];
|
|
1761
1761
|
parentTopicId?: string | undefined;
|
|
1762
1762
|
} | {
|
|
1763
|
+
teamId: string;
|
|
1763
1764
|
status: "ready" | "active" | "completed" | "superseded" | "draft";
|
|
1765
|
+
createdAt: Date;
|
|
1764
1766
|
id: string;
|
|
1765
1767
|
projectId: string;
|
|
1766
|
-
createdAt: Date;
|
|
1767
1768
|
revision: number;
|
|
1768
|
-
teamId: string;
|
|
1769
1769
|
objective: string;
|
|
1770
1770
|
completed: {
|
|
1771
1771
|
id: string;
|
|
@@ -1783,10 +1783,10 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1783
1783
|
description: string;
|
|
1784
1784
|
title: string;
|
|
1785
1785
|
}[];
|
|
1786
|
+
assignmentId?: string | undefined;
|
|
1786
1787
|
description?: string | undefined;
|
|
1787
1788
|
decisionId?: string | undefined;
|
|
1788
1789
|
capacityPlanId?: string | undefined;
|
|
1789
|
-
assignmentId?: string | undefined;
|
|
1790
1790
|
updatedAt?: Date | undefined;
|
|
1791
1791
|
workdayId?: string | undefined;
|
|
1792
1792
|
resumeState?: {
|
|
@@ -1795,17 +1795,17 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1795
1795
|
contextRefs: string[];
|
|
1796
1796
|
} | undefined;
|
|
1797
1797
|
} | {
|
|
1798
|
+
teamId: string;
|
|
1799
|
+
sequence: number;
|
|
1798
1800
|
status: "pending" | "failed" | "running" | "completed" | "cancelled" | "admitted" | "suspended" | "waiting" | "leased";
|
|
1801
|
+
createdAt: Date;
|
|
1799
1802
|
id: string;
|
|
1800
1803
|
projectId: string;
|
|
1801
|
-
createdAt: Date;
|
|
1802
|
-
teamId: string;
|
|
1803
1804
|
title: string;
|
|
1804
|
-
sequence: number;
|
|
1805
1805
|
phase: string;
|
|
1806
|
+
assignmentId?: string | undefined;
|
|
1806
1807
|
reason?: string | undefined;
|
|
1807
1808
|
description?: string | undefined;
|
|
1808
|
-
assignmentId?: string | undefined;
|
|
1809
1809
|
updatedAt?: Date | undefined;
|
|
1810
1810
|
workdayId?: string | undefined;
|
|
1811
1811
|
previousStatusRef?: {
|
|
@@ -1814,13 +1814,13 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1814
1814
|
} | undefined;
|
|
1815
1815
|
progress?: number | undefined;
|
|
1816
1816
|
} | {
|
|
1817
|
+
teamId: string;
|
|
1817
1818
|
status: "failed" | "completed" | "cancelled" | "suspended";
|
|
1819
|
+
createdAt: Date;
|
|
1818
1820
|
id: string;
|
|
1819
1821
|
projectId: string;
|
|
1820
|
-
createdAt: Date;
|
|
1821
1822
|
blockers: string[];
|
|
1822
1823
|
summary: string;
|
|
1823
|
-
teamId: string;
|
|
1824
1824
|
title: string;
|
|
1825
1825
|
artifactRefs: string[];
|
|
1826
1826
|
lessons: string[];
|
|
@@ -1829,8 +1829,8 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1829
1829
|
metrics: Record<string, number>;
|
|
1830
1830
|
};
|
|
1831
1831
|
verificationRefs: string[];
|
|
1832
|
-
description?: string | undefined;
|
|
1833
1832
|
assignmentId?: string | undefined;
|
|
1833
|
+
description?: string | undefined;
|
|
1834
1834
|
updatedAt?: Date | undefined;
|
|
1835
1835
|
workdayId?: string | undefined;
|
|
1836
1836
|
resumeState?: {
|
|
@@ -1839,11 +1839,11 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1839
1839
|
contextRefs: string[];
|
|
1840
1840
|
} | undefined;
|
|
1841
1841
|
} | {
|
|
1842
|
+
teamId: string;
|
|
1842
1843
|
status: string;
|
|
1844
|
+
createdAt: Date;
|
|
1843
1845
|
id: string;
|
|
1844
1846
|
projectId: string;
|
|
1845
|
-
createdAt: Date;
|
|
1846
|
-
teamId: string;
|
|
1847
1847
|
outcome: "passed" | "failed" | "needs-revision";
|
|
1848
1848
|
title: string;
|
|
1849
1849
|
contextQueryRefs: {
|
|
@@ -1871,8 +1871,8 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1871
1871
|
evidenceRefs: string[];
|
|
1872
1872
|
notes?: string | undefined;
|
|
1873
1873
|
}[];
|
|
1874
|
-
description?: string | undefined;
|
|
1875
1874
|
assignmentId?: string | undefined;
|
|
1875
|
+
description?: string | undefined;
|
|
1876
1876
|
updatedAt?: Date | undefined;
|
|
1877
1877
|
workdayId?: string | undefined;
|
|
1878
1878
|
score?: number | undefined;
|
|
@@ -1894,7 +1894,7 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1894
1894
|
summary?: string | undefined;
|
|
1895
1895
|
draft?: boolean | undefined;
|
|
1896
1896
|
author?: string | undefined;
|
|
1897
|
-
feedback_kind?: "
|
|
1897
|
+
feedback_kind?: "question" | "support" | "concern" | "response" | undefined;
|
|
1898
1898
|
entity_refs?: {
|
|
1899
1899
|
id: string;
|
|
1900
1900
|
model: string;
|
|
@@ -2000,10 +2000,10 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
2000
2000
|
decision_type?: "approved" | "rejected" | "deferred" | "superseded" | "request_changes" | undefined;
|
|
2001
2001
|
rationale?: string | undefined;
|
|
2002
2002
|
} | {
|
|
2003
|
+
schemaVersion: "treeseed.book/v2";
|
|
2003
2004
|
status: "review" | "archived" | "draft" | "published";
|
|
2004
2005
|
id: string;
|
|
2005
2006
|
visibility: "project" | "team" | "public" | "admin" | "authenticated";
|
|
2006
|
-
schemaVersion: "treeseed.book/v2";
|
|
2007
2007
|
order: number;
|
|
2008
2008
|
summary: string;
|
|
2009
2009
|
slug: string;
|
|
@@ -2013,10 +2013,10 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
2013
2013
|
groupIds?: string[] | undefined;
|
|
2014
2014
|
relatedBookIds?: string[] | undefined;
|
|
2015
2015
|
} | {
|
|
2016
|
+
schemaVersion: "treeseed.knowledge-page/v1";
|
|
2016
2017
|
status: "review" | "archived" | "draft" | "published";
|
|
2017
2018
|
id: string;
|
|
2018
2019
|
visibility: "project" | "team" | "public" | "admin" | "authenticated";
|
|
2019
|
-
schemaVersion: "treeseed.knowledge-page/v1";
|
|
2020
2020
|
summary: string;
|
|
2021
2021
|
slug: string;
|
|
2022
2022
|
title: string;
|
|
@@ -19,13 +19,13 @@ export declare const aiModeRequestSchema: z.ZodObject<{
|
|
|
19
19
|
idempotencyKey: z.ZodString;
|
|
20
20
|
drainTimeoutSeconds: z.ZodDefault<z.ZodNumber>;
|
|
21
21
|
}, "strict", z.ZodTypeAny, {
|
|
22
|
-
target: "awake" | "sleep";
|
|
23
22
|
schemaVersion: "treeseed.ai-mode-request/v1";
|
|
23
|
+
target: "awake" | "sleep";
|
|
24
24
|
idempotencyKey: string;
|
|
25
25
|
drainTimeoutSeconds: number;
|
|
26
26
|
}, {
|
|
27
|
-
target: "awake" | "sleep";
|
|
28
27
|
schemaVersion: "treeseed.ai-mode-request/v1";
|
|
28
|
+
target: "awake" | "sleep";
|
|
29
29
|
idempotencyKey: string;
|
|
30
30
|
drainTimeoutSeconds?: number | undefined;
|
|
31
31
|
}>;
|
|
@@ -421,8 +421,8 @@ export declare const aiModeInternalControlSchema: z.ZodObject<{
|
|
|
421
421
|
requestSchema: z.ZodLiteral<"treeseed.ai-mode-request/v1">;
|
|
422
422
|
receiptSchema: z.ZodLiteral<"treeseed.ai-mode-transition-receipt/v1">;
|
|
423
423
|
}, "strict", z.ZodTypeAny, {
|
|
424
|
-
path: string;
|
|
425
424
|
schemaVersion: "treeseed.ai-mode-internal-control/v1";
|
|
425
|
+
path: string;
|
|
426
426
|
transport: "mtls";
|
|
427
427
|
clientCommonName: "client-ai-lab-mode";
|
|
428
428
|
method: "POST";
|
|
@@ -435,8 +435,8 @@ export declare const aiModeInternalControlSchema: z.ZodObject<{
|
|
|
435
435
|
requestSchema: "treeseed.ai-mode-request/v1";
|
|
436
436
|
receiptSchema: "treeseed.ai-mode-transition-receipt/v1";
|
|
437
437
|
}, {
|
|
438
|
-
path: string;
|
|
439
438
|
schemaVersion: "treeseed.ai-mode-internal-control/v1";
|
|
439
|
+
path: string;
|
|
440
440
|
transport: "mtls";
|
|
441
441
|
clientCommonName: "client-ai-lab-mode";
|
|
442
442
|
method: "POST";
|