@treeseed/sdk 0.13.0-rc.53 → 0.13.0-rc.54
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/validation/agent-lab-forensics-schema.d.ts +2 -2
- package/dist/capacity-provider/client.d.ts +15 -0
- package/dist/capacity-provider/client.js +6 -0
- package/dist/content/validation/agent-operational-content-schemas.d.ts +14 -14
- package/dist/content/validation/auxiliary-content-schemas.d.ts +4 -4
- package/dist/content/validation/content-model-schemas.d.ts +28 -28
- package/dist/content/validation/portable-content-data.d.ts +5 -5
- package/dist/operator-contracts/canonical-command-tree.js +24 -3
- package/dist/operator-contracts/catalog/communication-operations.d.ts +286 -19
- 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 +1223 -33
- package/dist/operator-contracts/communication/contracts.js +99 -7
- package/dist/operator-contracts/control-plane-operations.d.ts +577 -51
- 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/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# `@treeseed/sdk`
|
|
2
2
|
|
|
3
|
+
The operator catalog includes versioned `inbox.*` operations for unified team inbox queries, ordered events, private drafts, routed question creation, and exact-version governance actions.
|
|
4
|
+
|
|
3
5
|
`@treeseed/sdk` is TreeSeed's portable contract and remote API package. It gives API, CLI, Agent, browser, and external integrations one versioned description of the control plane and typed conduits to remote TreeSeed and TreeDX services.
|
|
4
6
|
|
|
5
7
|
The SDK does not own control-plane persistence, scheduling, repository mutation, content publication, deployment, provider runtimes, or server-side business workflows. Those implementations belong to the API or their dedicated runtime packages.
|
|
@@ -35,6 +37,8 @@ const health = await client.invoke(CONTROL_PLANE_OPERATIONS.health.readiness, {
|
|
|
35
37
|
|
|
36
38
|
The client provides typed operation dispatch, RFC 9457 problem handling, OAuth device and refresh flows, server-profile normalization, idempotency keys, optimistic-concurrency headers, and request cancellation. Operation bindings come from the versioned operation catalog; callers do not construct control-plane paths. Token and profile persistence belong to the consuming CLI, application, or host credential store.
|
|
37
39
|
|
|
40
|
+
Communication contracts treat discussion topics as team-wide coordination scopes. Qualified `@project/agent` addresses select one agent, while unqualified `@agent` addresses expand to every matching chat-enabled agent across active team projects. The API maintains a project-local TreeDX discussion stream for each addressed project and aggregates their invocations under one send identity.
|
|
41
|
+
|
|
38
42
|
## TreeDX API
|
|
39
43
|
|
|
40
44
|
```ts
|
|
@@ -18,6 +18,7 @@ const CHAT_ALLOWED_TOOLS = /* @__PURE__ */ new Set([
|
|
|
18
18
|
...OPERATIONAL_TOOLS,
|
|
19
19
|
...MESSAGING_TOOLS,
|
|
20
20
|
...CONTENT_TOOLS,
|
|
21
|
+
...SOURCE_READ_TOOLS,
|
|
21
22
|
"treedx.build_context",
|
|
22
23
|
"treedx.read_repository_files",
|
|
23
24
|
"treedx.search_workspace",
|
|
@@ -32,7 +33,7 @@ const PROFILE_PRESETS = {
|
|
|
32
33
|
acting: ["source-execution", "influence"],
|
|
33
34
|
reviewing: ["review-authority", "plan-contribution"],
|
|
34
35
|
reporting: ["messaging", "reporting"],
|
|
35
|
-
chat: ["
|
|
36
|
+
chat: ["review-authority"]
|
|
36
37
|
};
|
|
37
38
|
function toolsForPreset(preset) {
|
|
38
39
|
if (preset === "messaging") return MESSAGING_TOOLS;
|
|
@@ -19,9 +19,9 @@ export declare const agentActivityQuerySchema: z.ZodObject<{
|
|
|
19
19
|
type?: string | string[] | undefined;
|
|
20
20
|
limit?: number | undefined;
|
|
21
21
|
agent?: string | string[] | undefined;
|
|
22
|
+
after?: number | undefined;
|
|
22
23
|
agentClass?: string | string[] | undefined;
|
|
23
24
|
severity?: string | string[] | undefined;
|
|
24
|
-
after?: number | undefined;
|
|
25
25
|
}>;
|
|
26
26
|
export declare const agentActivityPageSchema: z.ZodObject<{
|
|
27
27
|
items: z.ZodArray<z.ZodType<AgentActivityEvent, z.ZodTypeDef, AgentActivityEvent>, "many">;
|
|
@@ -179,13 +179,13 @@ export declare const agentForensicPayloadSchema: z.ZodObject<{
|
|
|
179
179
|
}, {
|
|
180
180
|
contract: "treeseed.agent-forensic-payload/v1";
|
|
181
181
|
activity: AgentActivityEvent;
|
|
182
|
-
payload?: Record<string, unknown> | undefined;
|
|
183
182
|
diagnostics?: {
|
|
184
183
|
code: string;
|
|
185
184
|
path: string;
|
|
186
185
|
message: string;
|
|
187
186
|
severity: "error" | "warning" | "info";
|
|
188
187
|
}[] | undefined;
|
|
188
|
+
payload?: Record<string, unknown> | undefined;
|
|
189
189
|
transcript?: {
|
|
190
190
|
entries: Record<string, unknown>[];
|
|
191
191
|
page: {
|
|
@@ -52,6 +52,21 @@ export declare class ProviderProtocolClient {
|
|
|
52
52
|
messageRef: string;
|
|
53
53
|
settledAt: string;
|
|
54
54
|
}>;
|
|
55
|
+
acknowledgeCommunicationNotification(assignmentId: string, request: {
|
|
56
|
+
providerId: string;
|
|
57
|
+
runnerId: string;
|
|
58
|
+
observedAt: string;
|
|
59
|
+
}): Promise<Record<string, unknown>>;
|
|
60
|
+
createCommunicationTraceEvent(assignmentId: string, request: {
|
|
61
|
+
leaseToken: string;
|
|
62
|
+
runnerId: string;
|
|
63
|
+
sequence: number;
|
|
64
|
+
type: string;
|
|
65
|
+
occurredAt: string;
|
|
66
|
+
summary: string;
|
|
67
|
+
payload: Record<string, unknown>;
|
|
68
|
+
protectedPayload?: Record<string, unknown>;
|
|
69
|
+
}): Promise<Record<string, unknown>>;
|
|
55
70
|
returnAssignment(assignmentId: string, request?: ProviderAssignmentLifecycleRequest): Promise<ProviderAssignmentLifecycleResult>;
|
|
56
71
|
completeAssignment(assignmentId: string, request?: ProviderAssignmentLifecycleRequest): Promise<ProviderAssignmentLifecycleResult>;
|
|
57
72
|
failAssignment(assignmentId: string, request?: ProviderAssignmentLifecycleRequest): Promise<ProviderAssignmentLifecycleResult>;
|
|
@@ -129,6 +129,12 @@ class ProviderProtocolClient {
|
|
|
129
129
|
respondToAssignmentDiscussion(assignmentId, request, idempotencyKey) {
|
|
130
130
|
return this.invoke(CONTROL_PLANE_OPERATIONS.providers.discussionResponse, { path: { assignmentId }, body: request }, { idempotencyKey });
|
|
131
131
|
}
|
|
132
|
+
acknowledgeCommunicationNotification(assignmentId, request) {
|
|
133
|
+
return this.invoke(CONTROL_PLANE_OPERATIONS.providers.notificationAcknowledge, { path: { assignmentId }, body: request });
|
|
134
|
+
}
|
|
135
|
+
createCommunicationTraceEvent(assignmentId, request) {
|
|
136
|
+
return this.invoke(CONTROL_PLANE_OPERATIONS.providers.traceEvent, { path: { assignmentId }, body: request });
|
|
137
|
+
}
|
|
132
138
|
returnAssignment(assignmentId, request = {}) {
|
|
133
139
|
return this.invoke(CONTROL_PLANE_OPERATIONS.providers.returnAssignment, { path: { assignmentId }, body: request });
|
|
134
140
|
}
|
|
@@ -52,8 +52,8 @@ export declare const agentContextQueryContentSchema: z.ZodObject<{
|
|
|
52
52
|
query: string;
|
|
53
53
|
depth: number;
|
|
54
54
|
title: string;
|
|
55
|
-
filters: Record<string, unknown>;
|
|
56
55
|
purpose: string;
|
|
56
|
+
filters: Record<string, unknown>;
|
|
57
57
|
maturity: "draft" | "validated" | "simulated" | "proven";
|
|
58
58
|
relations: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[];
|
|
59
59
|
resultLimit: number;
|
|
@@ -62,7 +62,7 @@ export declare const agentContextQueryContentSchema: z.ZodObject<{
|
|
|
62
62
|
maxCharacters?: number | undefined;
|
|
63
63
|
};
|
|
64
64
|
tokenBudget: number;
|
|
65
|
-
format: "map" | "summary" | "list" | "
|
|
65
|
+
format: "map" | "summary" | "list" | "full" | "brief" | "sources";
|
|
66
66
|
scope?: string | undefined;
|
|
67
67
|
codeScopes?: string[] | undefined;
|
|
68
68
|
}, {
|
|
@@ -90,7 +90,7 @@ export declare const agentContextQueryContentSchema: z.ZodObject<{
|
|
|
90
90
|
filters?: Record<string, unknown> | undefined;
|
|
91
91
|
codeScopes?: string[] | undefined;
|
|
92
92
|
relations?: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[] | undefined;
|
|
93
|
-
format?: "map" | "summary" | "list" | "
|
|
93
|
+
format?: "map" | "summary" | "list" | "full" | "brief" | "sources" | undefined;
|
|
94
94
|
}>;
|
|
95
95
|
export declare const agentContextQuerySetContentSchema: z.ZodObject<{
|
|
96
96
|
id: z.ZodString;
|
|
@@ -356,8 +356,8 @@ export declare const assignmentStatusContentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
356
356
|
projectId: string;
|
|
357
357
|
createdAt: Date;
|
|
358
358
|
teamId: string;
|
|
359
|
-
title: string;
|
|
360
359
|
sequence: number;
|
|
360
|
+
title: string;
|
|
361
361
|
phase: string;
|
|
362
362
|
reason?: string | undefined;
|
|
363
363
|
description?: string | undefined;
|
|
@@ -375,8 +375,8 @@ export declare const assignmentStatusContentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
375
375
|
projectId: string;
|
|
376
376
|
createdAt: Date;
|
|
377
377
|
teamId: string;
|
|
378
|
-
title: string;
|
|
379
378
|
sequence: number;
|
|
379
|
+
title: string;
|
|
380
380
|
phase: string;
|
|
381
381
|
reason?: string | undefined;
|
|
382
382
|
description?: string | undefined;
|
|
@@ -394,8 +394,8 @@ export declare const assignmentStatusContentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
394
394
|
projectId: string;
|
|
395
395
|
createdAt: Date;
|
|
396
396
|
teamId: string;
|
|
397
|
-
title: string;
|
|
398
397
|
sequence: number;
|
|
398
|
+
title: string;
|
|
399
399
|
phase: string;
|
|
400
400
|
reason?: string | undefined;
|
|
401
401
|
description?: string | undefined;
|
|
@@ -413,8 +413,8 @@ export declare const assignmentStatusContentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
413
413
|
projectId: string;
|
|
414
414
|
createdAt: Date;
|
|
415
415
|
teamId: string;
|
|
416
|
-
title: string;
|
|
417
416
|
sequence: number;
|
|
417
|
+
title: string;
|
|
418
418
|
phase: string;
|
|
419
419
|
reason?: string | undefined;
|
|
420
420
|
description?: string | undefined;
|
|
@@ -722,8 +722,8 @@ export declare const agentOperationalContentSchemas: {
|
|
|
722
722
|
query: string;
|
|
723
723
|
depth: number;
|
|
724
724
|
title: string;
|
|
725
|
-
filters: Record<string, unknown>;
|
|
726
725
|
purpose: string;
|
|
726
|
+
filters: Record<string, unknown>;
|
|
727
727
|
maturity: "draft" | "validated" | "simulated" | "proven";
|
|
728
728
|
relations: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[];
|
|
729
729
|
resultLimit: number;
|
|
@@ -732,7 +732,7 @@ export declare const agentOperationalContentSchemas: {
|
|
|
732
732
|
maxCharacters?: number | undefined;
|
|
733
733
|
};
|
|
734
734
|
tokenBudget: number;
|
|
735
|
-
format: "map" | "summary" | "list" | "
|
|
735
|
+
format: "map" | "summary" | "list" | "full" | "brief" | "sources";
|
|
736
736
|
scope?: string | undefined;
|
|
737
737
|
codeScopes?: string[] | undefined;
|
|
738
738
|
}, {
|
|
@@ -760,7 +760,7 @@ export declare const agentOperationalContentSchemas: {
|
|
|
760
760
|
filters?: Record<string, unknown> | undefined;
|
|
761
761
|
codeScopes?: string[] | undefined;
|
|
762
762
|
relations?: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[] | undefined;
|
|
763
|
-
format?: "map" | "summary" | "list" | "
|
|
763
|
+
format?: "map" | "summary" | "list" | "full" | "brief" | "sources" | undefined;
|
|
764
764
|
}>;
|
|
765
765
|
agent_context_query_set: z.ZodObject<{
|
|
766
766
|
id: z.ZodString;
|
|
@@ -1026,8 +1026,8 @@ export declare const agentOperationalContentSchemas: {
|
|
|
1026
1026
|
projectId: string;
|
|
1027
1027
|
createdAt: Date;
|
|
1028
1028
|
teamId: string;
|
|
1029
|
-
title: string;
|
|
1030
1029
|
sequence: number;
|
|
1030
|
+
title: string;
|
|
1031
1031
|
phase: string;
|
|
1032
1032
|
reason?: string | undefined;
|
|
1033
1033
|
description?: string | undefined;
|
|
@@ -1045,8 +1045,8 @@ export declare const agentOperationalContentSchemas: {
|
|
|
1045
1045
|
projectId: string;
|
|
1046
1046
|
createdAt: Date;
|
|
1047
1047
|
teamId: string;
|
|
1048
|
-
title: string;
|
|
1049
1048
|
sequence: number;
|
|
1049
|
+
title: string;
|
|
1050
1050
|
phase: string;
|
|
1051
1051
|
reason?: string | undefined;
|
|
1052
1052
|
description?: string | undefined;
|
|
@@ -1064,8 +1064,8 @@ export declare const agentOperationalContentSchemas: {
|
|
|
1064
1064
|
projectId: string;
|
|
1065
1065
|
createdAt: Date;
|
|
1066
1066
|
teamId: string;
|
|
1067
|
-
title: string;
|
|
1068
1067
|
sequence: number;
|
|
1068
|
+
title: string;
|
|
1069
1069
|
phase: string;
|
|
1070
1070
|
reason?: string | undefined;
|
|
1071
1071
|
description?: string | undefined;
|
|
@@ -1083,8 +1083,8 @@ export declare const agentOperationalContentSchemas: {
|
|
|
1083
1083
|
projectId: string;
|
|
1084
1084
|
createdAt: Date;
|
|
1085
1085
|
teamId: string;
|
|
1086
|
-
title: string;
|
|
1087
1086
|
sequence: number;
|
|
1087
|
+
title: string;
|
|
1088
1088
|
phase: string;
|
|
1089
1089
|
reason?: string | undefined;
|
|
1090
1090
|
description?: string | undefined;
|
|
@@ -410,6 +410,7 @@ export declare const templateProductContentSchema: z.ZodObject<{
|
|
|
410
410
|
summary: string;
|
|
411
411
|
slug: string;
|
|
412
412
|
title: string;
|
|
413
|
+
relatedObjectives: string[];
|
|
413
414
|
groupIds: string[];
|
|
414
415
|
featured: boolean;
|
|
415
416
|
listingEnabled: boolean;
|
|
@@ -450,7 +451,6 @@ export declare const templateProductContentSchema: z.ZodObject<{
|
|
|
450
451
|
};
|
|
451
452
|
relatedBooks: string[];
|
|
452
453
|
relatedKnowledge: string[];
|
|
453
|
-
relatedObjectives: string[];
|
|
454
454
|
teamId?: string | undefined;
|
|
455
455
|
sourceRef?: string | undefined;
|
|
456
456
|
}, {
|
|
@@ -490,6 +490,7 @@ export declare const templateProductContentSchema: z.ZodObject<{
|
|
|
490
490
|
};
|
|
491
491
|
audience?: string[] | undefined;
|
|
492
492
|
teamId?: string | undefined;
|
|
493
|
+
relatedObjectives?: string[] | undefined;
|
|
493
494
|
groupIds?: string[] | undefined;
|
|
494
495
|
sourceRef?: string | undefined;
|
|
495
496
|
featured?: boolean | undefined;
|
|
@@ -502,7 +503,6 @@ export declare const templateProductContentSchema: z.ZodObject<{
|
|
|
502
503
|
} | undefined;
|
|
503
504
|
relatedBooks?: string[] | undefined;
|
|
504
505
|
relatedKnowledge?: string[] | undefined;
|
|
505
|
-
relatedObjectives?: string[] | undefined;
|
|
506
506
|
}>;
|
|
507
507
|
export declare const agentTestContentSchema: z.ZodEffects<z.ZodObject<{
|
|
508
508
|
id: z.ZodString;
|
|
@@ -1618,6 +1618,7 @@ export declare const auxiliaryContentSchemas: {
|
|
|
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 const auxiliaryContentSchemas: {
|
|
|
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
|
}, {
|
|
@@ -1698,6 +1698,7 @@ export declare const auxiliaryContentSchemas: {
|
|
|
1698
1698
|
};
|
|
1699
1699
|
audience?: string[] | undefined;
|
|
1700
1700
|
teamId?: string | undefined;
|
|
1701
|
+
relatedObjectives?: string[] | undefined;
|
|
1701
1702
|
groupIds?: string[] | undefined;
|
|
1702
1703
|
sourceRef?: string | undefined;
|
|
1703
1704
|
featured?: boolean | undefined;
|
|
@@ -1710,6 +1711,5 @@ export declare const auxiliaryContentSchemas: {
|
|
|
1710
1711
|
} | undefined;
|
|
1711
1712
|
relatedBooks?: string[] | undefined;
|
|
1712
1713
|
relatedKnowledge?: string[] | undefined;
|
|
1713
|
-
relatedObjectives?: string[] | undefined;
|
|
1714
1714
|
}>;
|
|
1715
1715
|
};
|
|
@@ -55,8 +55,8 @@ declare const schemas: {
|
|
|
55
55
|
query: string;
|
|
56
56
|
depth: number;
|
|
57
57
|
title: string;
|
|
58
|
-
filters: Record<string, unknown>;
|
|
59
58
|
purpose: string;
|
|
59
|
+
filters: Record<string, unknown>;
|
|
60
60
|
maturity: "draft" | "validated" | "simulated" | "proven";
|
|
61
61
|
relations: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[];
|
|
62
62
|
resultLimit: number;
|
|
@@ -65,7 +65,7 @@ declare const schemas: {
|
|
|
65
65
|
maxCharacters?: number | undefined;
|
|
66
66
|
};
|
|
67
67
|
tokenBudget: number;
|
|
68
|
-
format: "map" | "summary" | "list" | "
|
|
68
|
+
format: "map" | "summary" | "list" | "full" | "brief" | "sources";
|
|
69
69
|
scope?: string | undefined;
|
|
70
70
|
codeScopes?: string[] | undefined;
|
|
71
71
|
}, {
|
|
@@ -93,7 +93,7 @@ declare const schemas: {
|
|
|
93
93
|
filters?: Record<string, unknown> | undefined;
|
|
94
94
|
codeScopes?: string[] | undefined;
|
|
95
95
|
relations?: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[] | undefined;
|
|
96
|
-
format?: "map" | "summary" | "list" | "
|
|
96
|
+
format?: "map" | "summary" | "list" | "full" | "brief" | "sources" | undefined;
|
|
97
97
|
}>;
|
|
98
98
|
agent_context_query_set: z.ZodObject<{
|
|
99
99
|
id: z.ZodString;
|
|
@@ -359,8 +359,8 @@ declare const schemas: {
|
|
|
359
359
|
projectId: string;
|
|
360
360
|
createdAt: Date;
|
|
361
361
|
teamId: string;
|
|
362
|
-
title: string;
|
|
363
362
|
sequence: number;
|
|
363
|
+
title: string;
|
|
364
364
|
phase: string;
|
|
365
365
|
reason?: string | undefined;
|
|
366
366
|
description?: string | undefined;
|
|
@@ -378,8 +378,8 @@ declare const schemas: {
|
|
|
378
378
|
projectId: string;
|
|
379
379
|
createdAt: Date;
|
|
380
380
|
teamId: string;
|
|
381
|
-
title: string;
|
|
382
381
|
sequence: number;
|
|
382
|
+
title: string;
|
|
383
383
|
phase: string;
|
|
384
384
|
reason?: string | undefined;
|
|
385
385
|
description?: string | undefined;
|
|
@@ -397,8 +397,8 @@ declare const schemas: {
|
|
|
397
397
|
projectId: string;
|
|
398
398
|
createdAt: Date;
|
|
399
399
|
teamId: string;
|
|
400
|
-
title: string;
|
|
401
400
|
sequence: number;
|
|
401
|
+
title: string;
|
|
402
402
|
phase: string;
|
|
403
403
|
reason?: string | undefined;
|
|
404
404
|
description?: string | undefined;
|
|
@@ -416,8 +416,8 @@ declare const schemas: {
|
|
|
416
416
|
projectId: string;
|
|
417
417
|
createdAt: Date;
|
|
418
418
|
teamId: string;
|
|
419
|
-
title: string;
|
|
420
419
|
sequence: number;
|
|
420
|
+
title: string;
|
|
421
421
|
phase: string;
|
|
422
422
|
reason?: string | undefined;
|
|
423
423
|
description?: string | undefined;
|
|
@@ -1433,6 +1433,7 @@ declare const schemas: {
|
|
|
1433
1433
|
summary: string;
|
|
1434
1434
|
slug: string;
|
|
1435
1435
|
title: string;
|
|
1436
|
+
relatedObjectives: string[];
|
|
1436
1437
|
groupIds: string[];
|
|
1437
1438
|
featured: boolean;
|
|
1438
1439
|
listingEnabled: boolean;
|
|
@@ -1473,7 +1474,6 @@ declare const schemas: {
|
|
|
1473
1474
|
};
|
|
1474
1475
|
relatedBooks: string[];
|
|
1475
1476
|
relatedKnowledge: string[];
|
|
1476
|
-
relatedObjectives: string[];
|
|
1477
1477
|
teamId?: string | undefined;
|
|
1478
1478
|
sourceRef?: string | undefined;
|
|
1479
1479
|
}, {
|
|
@@ -1513,6 +1513,7 @@ declare const schemas: {
|
|
|
1513
1513
|
};
|
|
1514
1514
|
audience?: string[] | undefined;
|
|
1515
1515
|
teamId?: string | undefined;
|
|
1516
|
+
relatedObjectives?: string[] | undefined;
|
|
1516
1517
|
groupIds?: string[] | undefined;
|
|
1517
1518
|
sourceRef?: string | undefined;
|
|
1518
1519
|
featured?: boolean | undefined;
|
|
@@ -1525,7 +1526,6 @@ declare const schemas: {
|
|
|
1525
1526
|
} | undefined;
|
|
1526
1527
|
relatedBooks?: string[] | undefined;
|
|
1527
1528
|
relatedKnowledge?: string[] | undefined;
|
|
1528
|
-
relatedObjectives?: string[] | undefined;
|
|
1529
1529
|
}>;
|
|
1530
1530
|
page: z.ZodObject<{
|
|
1531
1531
|
title: z.ZodString;
|
|
@@ -1595,7 +1595,7 @@ declare const schemas: {
|
|
|
1595
1595
|
summary?: string | undefined;
|
|
1596
1596
|
draft?: boolean | undefined;
|
|
1597
1597
|
author?: string | undefined;
|
|
1598
|
-
feedback_kind?: "
|
|
1598
|
+
feedback_kind?: "question" | "support" | "concern" | "response" | undefined;
|
|
1599
1599
|
entity_refs?: {
|
|
1600
1600
|
id: string;
|
|
1601
1601
|
model: string;
|
|
@@ -1616,7 +1616,7 @@ declare const schemas: {
|
|
|
1616
1616
|
summary?: string | undefined;
|
|
1617
1617
|
draft?: boolean | undefined;
|
|
1618
1618
|
author?: string | undefined;
|
|
1619
|
-
feedback_kind?: "
|
|
1619
|
+
feedback_kind?: "question" | "support" | "concern" | "response" | undefined;
|
|
1620
1620
|
entity_refs?: {
|
|
1621
1621
|
id: string;
|
|
1622
1622
|
model: string;
|
|
@@ -11436,6 +11436,7 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
|
|
|
11436
11436
|
summary: string;
|
|
11437
11437
|
slug: string;
|
|
11438
11438
|
title: string;
|
|
11439
|
+
relatedObjectives: string[];
|
|
11439
11440
|
groupIds: string[];
|
|
11440
11441
|
featured: boolean;
|
|
11441
11442
|
listingEnabled: boolean;
|
|
@@ -11476,7 +11477,6 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
|
|
|
11476
11477
|
};
|
|
11477
11478
|
relatedBooks: string[];
|
|
11478
11479
|
relatedKnowledge: string[];
|
|
11479
|
-
relatedObjectives: string[];
|
|
11480
11480
|
teamId?: string | undefined;
|
|
11481
11481
|
sourceRef?: string | undefined;
|
|
11482
11482
|
} | {
|
|
@@ -11536,8 +11536,8 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
|
|
|
11536
11536
|
query: string;
|
|
11537
11537
|
depth: number;
|
|
11538
11538
|
title: string;
|
|
11539
|
-
filters: Record<string, unknown>;
|
|
11540
11539
|
purpose: string;
|
|
11540
|
+
filters: Record<string, unknown>;
|
|
11541
11541
|
maturity: "draft" | "validated" | "simulated" | "proven";
|
|
11542
11542
|
relations: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[];
|
|
11543
11543
|
resultLimit: number;
|
|
@@ -11546,7 +11546,7 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
|
|
|
11546
11546
|
maxCharacters?: number | undefined;
|
|
11547
11547
|
};
|
|
11548
11548
|
tokenBudget: number;
|
|
11549
|
-
format: "map" | "summary" | "list" | "
|
|
11549
|
+
format: "map" | "summary" | "list" | "full" | "brief" | "sources";
|
|
11550
11550
|
scope?: string | undefined;
|
|
11551
11551
|
codeScopes?: string[] | undefined;
|
|
11552
11552
|
} | {
|
|
@@ -11618,8 +11618,8 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
|
|
|
11618
11618
|
projectId: string;
|
|
11619
11619
|
createdAt: Date;
|
|
11620
11620
|
teamId: string;
|
|
11621
|
-
title: string;
|
|
11622
11621
|
sequence: number;
|
|
11622
|
+
title: string;
|
|
11623
11623
|
phase: string;
|
|
11624
11624
|
reason?: string | undefined;
|
|
11625
11625
|
description?: string | undefined;
|
|
@@ -11712,7 +11712,7 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
|
|
|
11712
11712
|
summary?: string | undefined;
|
|
11713
11713
|
draft?: boolean | undefined;
|
|
11714
11714
|
author?: string | undefined;
|
|
11715
|
-
feedback_kind?: "
|
|
11715
|
+
feedback_kind?: "question" | "support" | "concern" | "response" | undefined;
|
|
11716
11716
|
entity_refs?: {
|
|
11717
11717
|
id: string;
|
|
11718
11718
|
model: string;
|
|
@@ -19933,6 +19933,7 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
|
|
|
19933
19933
|
summary: string;
|
|
19934
19934
|
slug: string;
|
|
19935
19935
|
title: string;
|
|
19936
|
+
relatedObjectives: string[];
|
|
19936
19937
|
groupIds: string[];
|
|
19937
19938
|
featured: boolean;
|
|
19938
19939
|
listingEnabled: boolean;
|
|
@@ -19973,7 +19974,6 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
|
|
|
19973
19974
|
};
|
|
19974
19975
|
relatedBooks: string[];
|
|
19975
19976
|
relatedKnowledge: string[];
|
|
19976
|
-
relatedObjectives: string[];
|
|
19977
19977
|
teamId?: string | undefined;
|
|
19978
19978
|
sourceRef?: string | undefined;
|
|
19979
19979
|
}, {
|
|
@@ -20013,6 +20013,7 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
|
|
|
20013
20013
|
};
|
|
20014
20014
|
audience?: string[] | undefined;
|
|
20015
20015
|
teamId?: string | undefined;
|
|
20016
|
+
relatedObjectives?: string[] | undefined;
|
|
20016
20017
|
groupIds?: string[] | undefined;
|
|
20017
20018
|
sourceRef?: string | undefined;
|
|
20018
20019
|
featured?: boolean | undefined;
|
|
@@ -20025,7 +20026,6 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
|
|
|
20025
20026
|
} | undefined;
|
|
20026
20027
|
relatedBooks?: string[] | undefined;
|
|
20027
20028
|
relatedKnowledge?: string[] | undefined;
|
|
20028
|
-
relatedObjectives?: string[] | undefined;
|
|
20029
20029
|
}> | z.ZodEffects<z.ZodObject<{
|
|
20030
20030
|
id: z.ZodString;
|
|
20031
20031
|
agent: z.ZodString;
|
|
@@ -20429,8 +20429,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
|
|
|
20429
20429
|
query: string;
|
|
20430
20430
|
depth: number;
|
|
20431
20431
|
title: string;
|
|
20432
|
-
filters: Record<string, unknown>;
|
|
20433
20432
|
purpose: string;
|
|
20433
|
+
filters: Record<string, unknown>;
|
|
20434
20434
|
maturity: "draft" | "validated" | "simulated" | "proven";
|
|
20435
20435
|
relations: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[];
|
|
20436
20436
|
resultLimit: number;
|
|
@@ -20439,7 +20439,7 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
|
|
|
20439
20439
|
maxCharacters?: number | undefined;
|
|
20440
20440
|
};
|
|
20441
20441
|
tokenBudget: number;
|
|
20442
|
-
format: "map" | "summary" | "list" | "
|
|
20442
|
+
format: "map" | "summary" | "list" | "full" | "brief" | "sources";
|
|
20443
20443
|
scope?: string | undefined;
|
|
20444
20444
|
codeScopes?: string[] | undefined;
|
|
20445
20445
|
}, {
|
|
@@ -20467,7 +20467,7 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
|
|
|
20467
20467
|
filters?: Record<string, unknown> | undefined;
|
|
20468
20468
|
codeScopes?: string[] | undefined;
|
|
20469
20469
|
relations?: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[] | undefined;
|
|
20470
|
-
format?: "map" | "summary" | "list" | "
|
|
20470
|
+
format?: "map" | "summary" | "list" | "full" | "brief" | "sources" | undefined;
|
|
20471
20471
|
}> | z.ZodObject<{
|
|
20472
20472
|
id: z.ZodString;
|
|
20473
20473
|
title: z.ZodString;
|
|
@@ -20728,8 +20728,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
|
|
|
20728
20728
|
projectId: string;
|
|
20729
20729
|
createdAt: Date;
|
|
20730
20730
|
teamId: string;
|
|
20731
|
-
title: string;
|
|
20732
20731
|
sequence: number;
|
|
20732
|
+
title: string;
|
|
20733
20733
|
phase: string;
|
|
20734
20734
|
reason?: string | undefined;
|
|
20735
20735
|
description?: string | undefined;
|
|
@@ -20747,8 +20747,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
|
|
|
20747
20747
|
projectId: string;
|
|
20748
20748
|
createdAt: Date;
|
|
20749
20749
|
teamId: string;
|
|
20750
|
-
title: string;
|
|
20751
20750
|
sequence: number;
|
|
20751
|
+
title: string;
|
|
20752
20752
|
phase: string;
|
|
20753
20753
|
reason?: string | undefined;
|
|
20754
20754
|
description?: string | undefined;
|
|
@@ -20766,8 +20766,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
|
|
|
20766
20766
|
projectId: string;
|
|
20767
20767
|
createdAt: Date;
|
|
20768
20768
|
teamId: string;
|
|
20769
|
-
title: string;
|
|
20770
20769
|
sequence: number;
|
|
20770
|
+
title: string;
|
|
20771
20771
|
phase: string;
|
|
20772
20772
|
reason?: string | undefined;
|
|
20773
20773
|
description?: string | undefined;
|
|
@@ -20785,8 +20785,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
|
|
|
20785
20785
|
projectId: string;
|
|
20786
20786
|
createdAt: Date;
|
|
20787
20787
|
teamId: string;
|
|
20788
|
-
title: string;
|
|
20789
20788
|
sequence: number;
|
|
20789
|
+
title: string;
|
|
20790
20790
|
phase: string;
|
|
20791
20791
|
reason?: string | undefined;
|
|
20792
20792
|
description?: string | undefined;
|
|
@@ -21104,7 +21104,7 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
|
|
|
21104
21104
|
summary?: string | undefined;
|
|
21105
21105
|
draft?: boolean | undefined;
|
|
21106
21106
|
author?: string | undefined;
|
|
21107
|
-
feedback_kind?: "
|
|
21107
|
+
feedback_kind?: "question" | "support" | "concern" | "response" | undefined;
|
|
21108
21108
|
entity_refs?: {
|
|
21109
21109
|
id: string;
|
|
21110
21110
|
model: string;
|
|
@@ -21125,7 +21125,7 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
|
|
|
21125
21125
|
summary?: string | undefined;
|
|
21126
21126
|
draft?: boolean | undefined;
|
|
21127
21127
|
author?: string | undefined;
|
|
21128
|
-
feedback_kind?: "
|
|
21128
|
+
feedback_kind?: "question" | "support" | "concern" | "response" | undefined;
|
|
21129
21129
|
entity_refs?: {
|
|
21130
21130
|
id: string;
|
|
21131
21131
|
model: string;
|
|
@@ -21721,7 +21721,7 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
|
|
|
21721
21721
|
}>;
|
|
21722
21722
|
/** A JSON-safe description derived directly from the canonical validation schema. */
|
|
21723
21723
|
export declare function describeContentFrontmatterContract(model: PortableContentModel): {
|
|
21724
|
-
model: "knowledge" | "agent" | "decision" | "objective" | "workday" | "
|
|
21724
|
+
model: "knowledge" | "agent" | "decision" | "objective" | "workday" | "proposal" | "question" | "discussion" | "page" | "person" | "note" | "book" | "discussion_message" | "discussion_event" | "group" | "group_edge" | "agent_context_query" | "agent_context_query_set" | "agent_instruction_template" | "discussion_topic" | "assignment_plan" | "assignment_status" | "assignment_summary" | "agent_evaluation" | "agent_test" | "template_product";
|
|
21725
21725
|
fields: {
|
|
21726
21726
|
[k: string]: Record<string, unknown>;
|
|
21727
21727
|
};
|
|
@@ -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
|
} | {
|
|
@@ -1718,8 +1718,8 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1718
1718
|
query: string;
|
|
1719
1719
|
depth: number;
|
|
1720
1720
|
title: string;
|
|
1721
|
-
filters: Record<string, unknown>;
|
|
1722
1721
|
purpose: string;
|
|
1722
|
+
filters: Record<string, unknown>;
|
|
1723
1723
|
maturity: "draft" | "validated" | "simulated" | "proven";
|
|
1724
1724
|
relations: import("../../sdk-types/support/sdk-search-request.js").SdkGraphDslRelation[];
|
|
1725
1725
|
resultLimit: number;
|
|
@@ -1728,7 +1728,7 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1728
1728
|
maxCharacters?: number | undefined;
|
|
1729
1729
|
};
|
|
1730
1730
|
tokenBudget: number;
|
|
1731
|
-
format: "map" | "summary" | "list" | "
|
|
1731
|
+
format: "map" | "summary" | "list" | "full" | "brief" | "sources";
|
|
1732
1732
|
scope?: string | undefined;
|
|
1733
1733
|
codeScopes?: string[] | undefined;
|
|
1734
1734
|
} | {
|
|
@@ -1800,8 +1800,8 @@ export declare function validatePortableContentData(model: string, value: unknow
|
|
|
1800
1800
|
projectId: string;
|
|
1801
1801
|
createdAt: Date;
|
|
1802
1802
|
teamId: string;
|
|
1803
|
-
title: string;
|
|
1804
1803
|
sequence: number;
|
|
1804
|
+
title: string;
|
|
1805
1805
|
phase: string;
|
|
1806
1806
|
reason?: string | undefined;
|
|
1807
1807
|
description?: string | 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;
|