@aventurevc/api-schemas 0.8.291 → 0.8.293
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/harness/run-create.d.ts +131 -0
- package/dist/harness/run-create.js +3 -0
- package/dist/harness/task-fact.d.ts +18 -0
- package/dist/harness/task-fact.js +21 -0
- package/dist/harness/task-input-binding.d.ts +124 -0
- package/dist/harness/task-input-binding.js +30 -0
- package/dist/openapi-component-manifest.js +5 -0
- package/dist/person/similar-param.js +1 -1
- package/dist/research/paragraph-shape.d.ts +1 -0
- package/dist/research/paragraph-shape.js +2 -0
- package/dist/research/snippet-type.d.ts +1 -0
- package/dist/text/type-option.d.ts +1 -0
- package/dist/writer/analysis-section.d.ts +2 -0
- package/dist/writer/analysis-section.js +2 -0
- package/dist/writer/brief.d.ts +3 -0
- package/dist/writer/brief.js +3 -0
- package/dist/writer/change-signal.d.ts +2 -0
- package/dist/writer/change-signal.js +2 -0
- package/dist/writer/gap-reason.d.ts +2 -0
- package/dist/writer/gap-reason.js +2 -0
- package/dist/writer/gap.d.ts +2 -0
- package/dist/writer/gap.js +2 -0
- package/dist/writer/judgment.d.ts +2 -0
- package/dist/writer/judgment.js +2 -0
- package/dist/writer/meta-analysis.d.ts +2 -0
- package/dist/writer/meta-analysis.js +2 -0
- package/dist/writer/paragraph-analysis.d.ts +2 -0
- package/dist/writer/paragraph-analysis.js +2 -0
- package/dist/writer/paragraph.d.ts +2 -0
- package/dist/writer/paragraph.js +2 -0
- package/dist/writer/positioning-element.d.ts +2 -0
- package/dist/writer/positioning-element.js +2 -0
- package/dist/writer/positioning.d.ts +2 -0
- package/dist/writer/positioning.js +2 -0
- package/dist/writer/scope.d.ts +2 -0
- package/dist/writer/scope.js +2 -0
- package/package.json +1 -1
|
@@ -25,6 +25,137 @@ declare const HarnessRunCreateSchemaDefinition: z.ZodObject<{
|
|
|
25
25
|
}>>;
|
|
26
26
|
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
taskInput: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
29
|
+
entityId?: string | null | undefined;
|
|
30
|
+
fact?: {
|
|
31
|
+
eventDate?: string | null | undefined;
|
|
32
|
+
sourceUrl: string;
|
|
33
|
+
statement: string;
|
|
34
|
+
} | null | undefined;
|
|
35
|
+
key?: string | null | undefined;
|
|
36
|
+
newsId?: number | null | undefined;
|
|
37
|
+
text?: string | null | undefined;
|
|
38
|
+
writerBrief?: {
|
|
39
|
+
claim: {
|
|
40
|
+
end?: number | null | undefined;
|
|
41
|
+
gateId?: string | null | undefined;
|
|
42
|
+
quote?: string | undefined;
|
|
43
|
+
sourceDocumentId?: string | null | undefined;
|
|
44
|
+
sourceUrl: string;
|
|
45
|
+
start?: number | null | undefined;
|
|
46
|
+
statement?: string | undefined;
|
|
47
|
+
writerSurface?: string | null | undefined;
|
|
48
|
+
}[];
|
|
49
|
+
metaAnalysis?: {
|
|
50
|
+
answer: {
|
|
51
|
+
claim: number[];
|
|
52
|
+
statement: string;
|
|
53
|
+
};
|
|
54
|
+
asOfDate: string;
|
|
55
|
+
changeSignal: {
|
|
56
|
+
claim: number[];
|
|
57
|
+
statement: string;
|
|
58
|
+
}[];
|
|
59
|
+
gap: {
|
|
60
|
+
claim: number[];
|
|
61
|
+
reason: string;
|
|
62
|
+
statement: string;
|
|
63
|
+
}[];
|
|
64
|
+
question: string;
|
|
65
|
+
scope: {
|
|
66
|
+
boundary: string;
|
|
67
|
+
geography?: string | null | undefined;
|
|
68
|
+
period?: string | null | undefined;
|
|
69
|
+
};
|
|
70
|
+
section: {
|
|
71
|
+
judgment: {
|
|
72
|
+
claim: number[];
|
|
73
|
+
statement: string;
|
|
74
|
+
};
|
|
75
|
+
label: string;
|
|
76
|
+
}[];
|
|
77
|
+
} | undefined;
|
|
78
|
+
outputClaim?: number[] | undefined;
|
|
79
|
+
paragraph: {
|
|
80
|
+
analysis?: {
|
|
81
|
+
answer: boolean;
|
|
82
|
+
section: string[];
|
|
83
|
+
} | undefined;
|
|
84
|
+
claim: number[];
|
|
85
|
+
positioning?: string[] | undefined;
|
|
86
|
+
}[];
|
|
87
|
+
positioning: {
|
|
88
|
+
claim: number[];
|
|
89
|
+
element: string;
|
|
90
|
+
statement: string;
|
|
91
|
+
}[];
|
|
92
|
+
} | null | undefined;
|
|
93
|
+
}, import("./task-input-binding.ts").HarnessTaskInputBindingSchemaInput, z.core.$ZodTypeInternals<{
|
|
94
|
+
entityId?: string | null | undefined;
|
|
95
|
+
fact?: {
|
|
96
|
+
eventDate?: string | null | undefined;
|
|
97
|
+
sourceUrl: string;
|
|
98
|
+
statement: string;
|
|
99
|
+
} | null | undefined;
|
|
100
|
+
key?: string | null | undefined;
|
|
101
|
+
newsId?: number | null | undefined;
|
|
102
|
+
text?: string | null | undefined;
|
|
103
|
+
writerBrief?: {
|
|
104
|
+
claim: {
|
|
105
|
+
end?: number | null | undefined;
|
|
106
|
+
gateId?: string | null | undefined;
|
|
107
|
+
quote?: string | undefined;
|
|
108
|
+
sourceDocumentId?: string | null | undefined;
|
|
109
|
+
sourceUrl: string;
|
|
110
|
+
start?: number | null | undefined;
|
|
111
|
+
statement?: string | undefined;
|
|
112
|
+
writerSurface?: string | null | undefined;
|
|
113
|
+
}[];
|
|
114
|
+
metaAnalysis?: {
|
|
115
|
+
answer: {
|
|
116
|
+
claim: number[];
|
|
117
|
+
statement: string;
|
|
118
|
+
};
|
|
119
|
+
asOfDate: string;
|
|
120
|
+
changeSignal: {
|
|
121
|
+
claim: number[];
|
|
122
|
+
statement: string;
|
|
123
|
+
}[];
|
|
124
|
+
gap: {
|
|
125
|
+
claim: number[];
|
|
126
|
+
reason: string;
|
|
127
|
+
statement: string;
|
|
128
|
+
}[];
|
|
129
|
+
question: string;
|
|
130
|
+
scope: {
|
|
131
|
+
boundary: string;
|
|
132
|
+
geography?: string | null | undefined;
|
|
133
|
+
period?: string | null | undefined;
|
|
134
|
+
};
|
|
135
|
+
section: {
|
|
136
|
+
judgment: {
|
|
137
|
+
claim: number[];
|
|
138
|
+
statement: string;
|
|
139
|
+
};
|
|
140
|
+
label: string;
|
|
141
|
+
}[];
|
|
142
|
+
} | undefined;
|
|
143
|
+
outputClaim?: number[] | undefined;
|
|
144
|
+
paragraph: {
|
|
145
|
+
analysis?: {
|
|
146
|
+
answer: boolean;
|
|
147
|
+
section: string[];
|
|
148
|
+
} | undefined;
|
|
149
|
+
claim: number[];
|
|
150
|
+
positioning?: string[] | undefined;
|
|
151
|
+
}[];
|
|
152
|
+
positioning: {
|
|
153
|
+
claim: number[];
|
|
154
|
+
element: string;
|
|
155
|
+
statement: string;
|
|
156
|
+
}[];
|
|
157
|
+
} | null | undefined;
|
|
158
|
+
}, import("./task-input-binding.ts").HarnessTaskInputBindingSchemaInput>>>>;
|
|
28
159
|
taskPresetKey: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
29
160
|
url: z.ZodString;
|
|
30
161
|
userPrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
|
|
2
2
|
import { z } from "zod/v4";
|
|
3
3
|
import { EnrichmentModeSchema } from "../enrichment/mode.js";
|
|
4
|
+
import { HarnessTaskInputBindingSchema } from "./task-input-binding.js";
|
|
4
5
|
import { ResearchFindingSchema } from "../research/finding.js";
|
|
5
6
|
const HarnessRunCreateSchemaDefinition = z.object({
|
|
6
7
|
/** Facts you already read verbatim on an external source page for an entity, each citing the page and exact text that support it. Omit taskPresetKey to default to apply-cited-findings, or send a preset from GET /v1/research/runs/presets; the run checks each quote against its page and writes only the facts it confirms. When the detail comes from an indexed news article or a page not read verbatim, send userPrompt instead. */
|
|
@@ -11,6 +12,8 @@ const HarnessRunCreateSchemaDefinition = z.object({
|
|
|
11
12
|
model: z.string().nullish(),
|
|
12
13
|
/** Name of the subject at url, such as Clarity Health; the run verifies it and uses it to pick the right subject when the site names several */
|
|
13
14
|
name: z.string().max(200).nullish(),
|
|
15
|
+
/** Requester values keyed by the selected task's input definitions. ENTITY binds from url and a supplied entityId must match it. TEXT requires explicit text; a missing required or ambiguous supplied value is rejected before enqueue; omitted optional inputs stay unbound. Never infer values from userPrompt. */
|
|
16
|
+
taskInput: z.array(HarnessTaskInputBindingSchema).optional(),
|
|
14
17
|
/** Research presets that focus the run, listed by GET /v1/research/runs/presets; omit them for a full run */
|
|
15
18
|
taskPresetKey: z.array(z.string()).nullish(),
|
|
16
19
|
/** Official website or profile URL of the company, Product, Service, or person to research; a URL no current record owns researches a new one */
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* One source-bound fact the requester asks the task run to research.
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema HarnessTaskFact
|
|
6
|
+
* @endpoint POST /v1/research-runs
|
|
7
|
+
* @endpoint POST /v1/research/runs
|
|
8
|
+
* @usedBySchema HarnessTaskInputBindingSchema
|
|
9
|
+
* @contractShape harness.task-fact
|
|
10
|
+
* @contractRole canonical
|
|
11
|
+
*/
|
|
12
|
+
export declare const HarnessTaskFactSchema: z.ZodObject<{
|
|
13
|
+
eventDate: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
14
|
+
sourceUrl: z.ZodString;
|
|
15
|
+
statement: z.ZodString;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
export type HarnessTaskFact = z.infer<typeof HarnessTaskFactSchema>;
|
|
18
|
+
//# sourceMappingURL=task-fact.d.ts.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
|
|
2
|
+
import { z } from "zod/v4";
|
|
3
|
+
/**
|
|
4
|
+
* One source-bound fact the requester asks the task run to research.
|
|
5
|
+
*
|
|
6
|
+
* @openapiSchema HarnessTaskFact
|
|
7
|
+
* @endpoint POST /v1/research-runs
|
|
8
|
+
* @endpoint POST /v1/research/runs
|
|
9
|
+
* @usedBySchema HarnessTaskInputBindingSchema
|
|
10
|
+
* @contractShape harness.task-fact
|
|
11
|
+
* @contractRole canonical
|
|
12
|
+
*/
|
|
13
|
+
export const HarnessTaskFactSchema = z.object({
|
|
14
|
+
/** Date of the event, when known. */
|
|
15
|
+
eventDate: z.iso.date().nullish(),
|
|
16
|
+
/** Absolute http or https URL of the page supporting the fact. */
|
|
17
|
+
sourceUrl: z.string(),
|
|
18
|
+
/** The single fact to research; non-blank and bounded by the task-input text limit. */
|
|
19
|
+
statement: z.string(),
|
|
20
|
+
});
|
|
21
|
+
//# sourceMappingURL=task-fact.js.map
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const HarnessTaskInputBindingSchemaDefinition: z.ZodObject<{
|
|
3
|
+
entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
4
|
+
fact: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5
|
+
eventDate: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
6
|
+
sourceUrl: z.ZodString;
|
|
7
|
+
statement: z.ZodString;
|
|
8
|
+
}, z.core.$strip>>>;
|
|
9
|
+
key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
newsId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
11
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
writerBrief: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
13
|
+
claim: z.ZodArray<z.ZodType<{
|
|
14
|
+
end?: number | null | undefined;
|
|
15
|
+
gateId?: string | null | undefined;
|
|
16
|
+
quote?: string | undefined;
|
|
17
|
+
sourceDocumentId?: string | null | undefined;
|
|
18
|
+
sourceUrl: string;
|
|
19
|
+
start?: number | null | undefined;
|
|
20
|
+
statement?: string | undefined;
|
|
21
|
+
writerSurface?: string | null | undefined;
|
|
22
|
+
}, import("../research/finding.ts").ResearchFindingSchemaInput, z.core.$ZodTypeInternals<{
|
|
23
|
+
end?: number | null | undefined;
|
|
24
|
+
gateId?: string | null | undefined;
|
|
25
|
+
quote?: string | undefined;
|
|
26
|
+
sourceDocumentId?: string | null | undefined;
|
|
27
|
+
sourceUrl: string;
|
|
28
|
+
start?: number | null | undefined;
|
|
29
|
+
statement?: string | undefined;
|
|
30
|
+
writerSurface?: string | null | undefined;
|
|
31
|
+
}, import("../research/finding.ts").ResearchFindingSchemaInput>>>;
|
|
32
|
+
metaAnalysis: z.ZodOptional<z.ZodObject<{
|
|
33
|
+
answer: z.ZodType<{
|
|
34
|
+
claim: number[];
|
|
35
|
+
statement: string;
|
|
36
|
+
}, import("../writer/judgment.ts").WriterJudgmentSchemaInput, z.core.$ZodTypeInternals<{
|
|
37
|
+
claim: number[];
|
|
38
|
+
statement: string;
|
|
39
|
+
}, import("../writer/judgment.ts").WriterJudgmentSchemaInput>>;
|
|
40
|
+
asOfDate: z.ZodISODate;
|
|
41
|
+
changeSignal: z.ZodArray<z.ZodType<{
|
|
42
|
+
claim: number[];
|
|
43
|
+
statement: string;
|
|
44
|
+
}, import("../writer/change-signal.ts").WriterChangeSignalSchemaInput, z.core.$ZodTypeInternals<{
|
|
45
|
+
claim: number[];
|
|
46
|
+
statement: string;
|
|
47
|
+
}, import("../writer/change-signal.ts").WriterChangeSignalSchemaInput>>>;
|
|
48
|
+
gap: z.ZodArray<z.ZodType<{
|
|
49
|
+
claim: number[];
|
|
50
|
+
reason: string;
|
|
51
|
+
statement: string;
|
|
52
|
+
}, import("../writer/gap.ts").WriterGapSchemaInput, z.core.$ZodTypeInternals<{
|
|
53
|
+
claim: number[];
|
|
54
|
+
reason: string;
|
|
55
|
+
statement: string;
|
|
56
|
+
}, import("../writer/gap.ts").WriterGapSchemaInput>>>;
|
|
57
|
+
question: z.ZodString;
|
|
58
|
+
scope: z.ZodType<{
|
|
59
|
+
boundary: string;
|
|
60
|
+
geography?: string | null | undefined;
|
|
61
|
+
period?: string | null | undefined;
|
|
62
|
+
}, import("../writer/scope.ts").WriterScopeSchemaInput, z.core.$ZodTypeInternals<{
|
|
63
|
+
boundary: string;
|
|
64
|
+
geography?: string | null | undefined;
|
|
65
|
+
period?: string | null | undefined;
|
|
66
|
+
}, import("../writer/scope.ts").WriterScopeSchemaInput>>;
|
|
67
|
+
section: z.ZodArray<z.ZodType<{
|
|
68
|
+
judgment: {
|
|
69
|
+
claim: number[];
|
|
70
|
+
statement: string;
|
|
71
|
+
};
|
|
72
|
+
label: string;
|
|
73
|
+
}, import("../writer/analysis-section.ts").WriterAnalysisSectionSchemaInput, z.core.$ZodTypeInternals<{
|
|
74
|
+
judgment: {
|
|
75
|
+
claim: number[];
|
|
76
|
+
statement: string;
|
|
77
|
+
};
|
|
78
|
+
label: string;
|
|
79
|
+
}, import("../writer/analysis-section.ts").WriterAnalysisSectionSchemaInput>>>;
|
|
80
|
+
}, z.core.$strip>>;
|
|
81
|
+
outputClaim: z.ZodOptional<z.ZodArray<z.ZodInt>>;
|
|
82
|
+
paragraph: z.ZodArray<z.ZodType<{
|
|
83
|
+
analysis?: {
|
|
84
|
+
answer: boolean;
|
|
85
|
+
section: string[];
|
|
86
|
+
} | undefined;
|
|
87
|
+
claim: number[];
|
|
88
|
+
positioning?: string[] | undefined;
|
|
89
|
+
}, import("../writer/paragraph.ts").WriterParagraphSchemaInput, z.core.$ZodTypeInternals<{
|
|
90
|
+
analysis?: {
|
|
91
|
+
answer: boolean;
|
|
92
|
+
section: string[];
|
|
93
|
+
} | undefined;
|
|
94
|
+
claim: number[];
|
|
95
|
+
positioning?: string[] | undefined;
|
|
96
|
+
}, import("../writer/paragraph.ts").WriterParagraphSchemaInput>>>;
|
|
97
|
+
positioning: z.ZodArray<z.ZodType<{
|
|
98
|
+
claim: number[];
|
|
99
|
+
element: string;
|
|
100
|
+
statement: string;
|
|
101
|
+
}, import("../writer/positioning.ts").WriterPositioningSchemaInput, z.core.$ZodTypeInternals<{
|
|
102
|
+
claim: number[];
|
|
103
|
+
element: string;
|
|
104
|
+
statement: string;
|
|
105
|
+
}, import("../writer/positioning.ts").WriterPositioningSchemaInput>>>;
|
|
106
|
+
}, z.core.$strip>>>;
|
|
107
|
+
}, z.core.$strip>;
|
|
108
|
+
type HarnessTaskInputBindingDefinition = z.infer<typeof HarnessTaskInputBindingSchemaDefinition>;
|
|
109
|
+
export interface HarnessTaskInputBindingSchemaInput extends z.input<typeof HarnessTaskInputBindingSchemaDefinition> {
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* One task input value bound before the run starts; the server validates its key and type.
|
|
113
|
+
*
|
|
114
|
+
* @openapiSchema HarnessTaskInputBinding
|
|
115
|
+
* @endpoint POST /v1/research-runs
|
|
116
|
+
* @endpoint POST /v1/research/runs
|
|
117
|
+
* @usedBySchema HarnessRunCreateSchema
|
|
118
|
+
* @contractShape harness.task-input-binding
|
|
119
|
+
* @contractRole canonical
|
|
120
|
+
*/
|
|
121
|
+
export declare const HarnessTaskInputBindingSchema: z.ZodType<HarnessTaskInputBindingDefinition, HarnessTaskInputBindingSchemaInput>;
|
|
122
|
+
export type HarnessTaskInputBinding = z.infer<typeof HarnessTaskInputBindingSchema>;
|
|
123
|
+
export {};
|
|
124
|
+
//# sourceMappingURL=task-input-binding.d.ts.map
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
|
|
2
|
+
import { z } from "zod/v4";
|
|
3
|
+
import { HarnessTaskFactSchema } from "./task-fact.js";
|
|
4
|
+
import { WriterBriefSchema } from "../writer/brief.js";
|
|
5
|
+
const HarnessTaskInputBindingSchemaDefinition = z.object({
|
|
6
|
+
/** Canonical entity UUID; exclusive with newsId, text, writerBrief and fact. */
|
|
7
|
+
entityId: z.uuid().nullish(),
|
|
8
|
+
/** One source-bound fact for a FACT input; exclusive with entityId, newsId, text and writerBrief. */
|
|
9
|
+
fact: HarnessTaskFactSchema.nullish(),
|
|
10
|
+
/** Catalog input key; omit it to bind the task's only declared input of the value's type. */
|
|
11
|
+
key: z.string().nullish(),
|
|
12
|
+
/** Canonical news id; exclusive with entityId, text, writerBrief and fact. */
|
|
13
|
+
newsId: z.int().nullish(),
|
|
14
|
+
/** Literal requester text; exclusive with entityId, newsId, writerBrief and fact. */
|
|
15
|
+
text: z.string().nullish(),
|
|
16
|
+
/** Typed writer brief for a WRITER_BRIEF input; exclusive with entityId, newsId, text and fact. */
|
|
17
|
+
writerBrief: WriterBriefSchema.nullish(),
|
|
18
|
+
});
|
|
19
|
+
/**
|
|
20
|
+
* One task input value bound before the run starts; the server validates its key and type.
|
|
21
|
+
*
|
|
22
|
+
* @openapiSchema HarnessTaskInputBinding
|
|
23
|
+
* @endpoint POST /v1/research-runs
|
|
24
|
+
* @endpoint POST /v1/research/runs
|
|
25
|
+
* @usedBySchema HarnessRunCreateSchema
|
|
26
|
+
* @contractShape harness.task-input-binding
|
|
27
|
+
* @contractRole canonical
|
|
28
|
+
*/
|
|
29
|
+
export const HarnessTaskInputBindingSchema = HarnessTaskInputBindingSchemaDefinition;
|
|
30
|
+
//# sourceMappingURL=task-input-binding.js.map
|
|
@@ -694,7 +694,12 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
|
|
|
694
694
|
HarnessRunStatus: { modulePath: "harness/run-status", schemaName: "HarnessRunStatusSchema" },
|
|
695
695
|
HarnessRunTurn: { modulePath: "harness/run-turn", schemaName: "HarnessRunTurnSchema" },
|
|
696
696
|
HarnessRunType: { modulePath: "harness/run-type", schemaName: "HarnessRunTypeSchema" },
|
|
697
|
+
HarnessTaskFact: { modulePath: "harness/task-fact", schemaName: "HarnessTaskFactSchema" },
|
|
697
698
|
HarnessTaskInput: { modulePath: "harness/task", schemaName: "HarnessTaskSchema" },
|
|
699
|
+
HarnessTaskInputBinding: {
|
|
700
|
+
modulePath: "harness/task-input-binding",
|
|
701
|
+
schemaName: "HarnessTaskInputBindingSchema",
|
|
702
|
+
},
|
|
698
703
|
HarnessTaskInputType: {
|
|
699
704
|
modulePath: "harness/task-input-type",
|
|
700
705
|
schemaName: "HarnessTaskInputTypeSchema",
|
|
@@ -16,6 +16,6 @@ export const PersonSimilarParamSchema = z.object({
|
|
|
16
16
|
/** Permit monogram fallback */
|
|
17
17
|
permitMonogram: z.boolean().optional(),
|
|
18
18
|
/** The size of the page to be returned */
|
|
19
|
-
size: z.int().min(1).default(
|
|
19
|
+
size: z.int().min(1).default(20).optional(),
|
|
20
20
|
});
|
|
21
21
|
//# sourceMappingURL=similar-param.js.map
|
|
@@ -13,6 +13,7 @@ import { z } from "zod/v4";
|
|
|
13
13
|
*/
|
|
14
14
|
export declare const ResearchParagraphShapeSchema: z.ZodObject<{
|
|
15
15
|
maxChars: z.ZodInt;
|
|
16
|
+
maxClaimWords: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
16
17
|
maxParagraphs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
17
18
|
maxSentences: z.ZodInt;
|
|
18
19
|
minChars: z.ZodInt;
|
|
@@ -15,6 +15,8 @@ import { z } from "zod/v4";
|
|
|
15
15
|
export const ResearchParagraphShapeSchema = z.object({
|
|
16
16
|
/** Maximum characters per paragraph (inclusive). */
|
|
17
17
|
maxChars: z.int(),
|
|
18
|
+
/** Maximum words across the statements of the claims one planned writer paragraph states (paragraph.claim); null means unbounded. */
|
|
19
|
+
maxClaimWords: z.int().nullish(),
|
|
18
20
|
/** Maximum paragraph count (inclusive); null means unbounded. */
|
|
19
21
|
maxParagraphs: z.int().nullish(),
|
|
20
22
|
/** Maximum sentences per paragraph (inclusive). */
|
|
@@ -19,6 +19,7 @@ declare const ResearchSnippetTypeSchemaDefinition: z.ZodObject<{
|
|
|
19
19
|
minLength: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
20
20
|
paragraphShape: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
21
21
|
maxChars: z.ZodInt;
|
|
22
|
+
maxClaimWords: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
22
23
|
maxParagraphs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
23
24
|
maxSentences: z.ZodInt;
|
|
24
25
|
minChars: z.ZodInt;
|
|
@@ -5,6 +5,7 @@ declare const TextTypeOptionSchemaDefinition: z.ZodObject<{
|
|
|
5
5
|
minWords: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
6
6
|
paragraphShape: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7
7
|
maxChars: z.ZodInt;
|
|
8
|
+
maxClaimWords: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
8
9
|
maxParagraphs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
9
10
|
maxSentences: z.ZodInt;
|
|
10
11
|
minChars: z.ZodInt;
|
|
@@ -16,6 +16,8 @@ export interface WriterAnalysisSectionSchemaInput extends z.input<typeof WriterA
|
|
|
16
16
|
* One ordered framework judgment.
|
|
17
17
|
*
|
|
18
18
|
* @openapiSchema WriterAnalysisSection
|
|
19
|
+
* @endpoint POST /v1/research-runs
|
|
20
|
+
* @endpoint POST /v1/research/runs
|
|
19
21
|
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
20
22
|
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
21
23
|
* @usedBySchema WriterMetaAnalysisSchema
|
|
@@ -11,6 +11,8 @@ const WriterAnalysisSectionSchemaDefinition = z.object({
|
|
|
11
11
|
* One ordered framework judgment.
|
|
12
12
|
*
|
|
13
13
|
* @openapiSchema WriterAnalysisSection
|
|
14
|
+
* @endpoint POST /v1/research-runs
|
|
15
|
+
* @endpoint POST /v1/research/runs
|
|
14
16
|
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
15
17
|
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
16
18
|
* @usedBySchema WriterMetaAnalysisSchema
|
package/dist/writer/brief.d.ts
CHANGED
|
@@ -3,9 +3,12 @@ import { z } from "zod/v4";
|
|
|
3
3
|
* Finished research analysis for a governed prose write. The writer may phrase only the selected output claims and supplied judgments.
|
|
4
4
|
*
|
|
5
5
|
* @openapiSchema WriterBrief
|
|
6
|
+
* @endpoint POST /v1/research-runs
|
|
7
|
+
* @endpoint POST /v1/research/runs
|
|
6
8
|
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
7
9
|
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
8
10
|
* @usedBySchema EntityAnalysisSectionMutationSchema
|
|
11
|
+
* @usedBySchema HarnessTaskInputBindingSchema
|
|
9
12
|
* @contractShape writer.brief
|
|
10
13
|
* @contractRole canonical
|
|
11
14
|
*/
|
package/dist/writer/brief.js
CHANGED
|
@@ -8,9 +8,12 @@ import { WriterPositioningSchema } from "./positioning.js";
|
|
|
8
8
|
* Finished research analysis for a governed prose write. The writer may phrase only the selected output claims and supplied judgments.
|
|
9
9
|
*
|
|
10
10
|
* @openapiSchema WriterBrief
|
|
11
|
+
* @endpoint POST /v1/research-runs
|
|
12
|
+
* @endpoint POST /v1/research/runs
|
|
11
13
|
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
12
14
|
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
13
15
|
* @usedBySchema EntityAnalysisSectionMutationSchema
|
|
16
|
+
* @usedBySchema HarnessTaskInputBindingSchema
|
|
14
17
|
* @contractShape writer.brief
|
|
15
18
|
* @contractRole canonical
|
|
16
19
|
*/
|
|
@@ -10,6 +10,8 @@ export interface WriterChangeSignalSchemaInput extends z.input<typeof WriterChan
|
|
|
10
10
|
* Evidence that would change the supplied judgment.
|
|
11
11
|
*
|
|
12
12
|
* @openapiSchema WriterChangeSignal
|
|
13
|
+
* @endpoint POST /v1/research-runs
|
|
14
|
+
* @endpoint POST /v1/research/runs
|
|
13
15
|
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
14
16
|
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
15
17
|
* @usedBySchema WriterMetaAnalysisSchema
|
|
@@ -10,6 +10,8 @@ const WriterChangeSignalSchemaDefinition = z.object({
|
|
|
10
10
|
* Evidence that would change the supplied judgment.
|
|
11
11
|
*
|
|
12
12
|
* @openapiSchema WriterChangeSignal
|
|
13
|
+
* @endpoint POST /v1/research-runs
|
|
14
|
+
* @endpoint POST /v1/research/runs
|
|
13
15
|
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
14
16
|
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
15
17
|
* @usedBySchema WriterMetaAnalysisSchema
|
|
@@ -3,6 +3,8 @@ import { z } from "zod/v4";
|
|
|
3
3
|
* Reason a research gap remains unresolved.
|
|
4
4
|
*
|
|
5
5
|
* @openapiSchema WriterGapReason
|
|
6
|
+
* @endpoint POST /v1/research-runs
|
|
7
|
+
* @endpoint POST /v1/research/runs
|
|
6
8
|
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
7
9
|
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
8
10
|
* @usedBySchema WriterGapSchema
|
|
@@ -10,6 +10,8 @@ const WriterGapReasonSchemaKnownMembers = z.enum([
|
|
|
10
10
|
* Reason a research gap remains unresolved.
|
|
11
11
|
*
|
|
12
12
|
* @openapiSchema WriterGapReason
|
|
13
|
+
* @endpoint POST /v1/research-runs
|
|
14
|
+
* @endpoint POST /v1/research/runs
|
|
13
15
|
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
14
16
|
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
15
17
|
* @usedBySchema WriterGapSchema
|
package/dist/writer/gap.d.ts
CHANGED
|
@@ -23,6 +23,8 @@ export interface WriterGapSchemaInput extends z.input<typeof WriterGapSchemaDefi
|
|
|
23
23
|
* A known evidence gap or conflict.
|
|
24
24
|
*
|
|
25
25
|
* @openapiSchema WriterGap
|
|
26
|
+
* @endpoint POST /v1/research-runs
|
|
27
|
+
* @endpoint POST /v1/research/runs
|
|
26
28
|
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
27
29
|
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
28
30
|
* @usedBySchema WriterMetaAnalysisSchema
|
package/dist/writer/gap.js
CHANGED
|
@@ -13,6 +13,8 @@ const WriterGapSchemaDefinition = z.object({
|
|
|
13
13
|
* A known evidence gap or conflict.
|
|
14
14
|
*
|
|
15
15
|
* @openapiSchema WriterGap
|
|
16
|
+
* @endpoint POST /v1/research-runs
|
|
17
|
+
* @endpoint POST /v1/research/runs
|
|
16
18
|
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
17
19
|
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
18
20
|
* @usedBySchema WriterMetaAnalysisSchema
|
|
@@ -10,6 +10,8 @@ export interface WriterJudgmentSchemaInput extends z.input<typeof WriterJudgment
|
|
|
10
10
|
* One sourced research judgment.
|
|
11
11
|
*
|
|
12
12
|
* @openapiSchema WriterJudgment
|
|
13
|
+
* @endpoint POST /v1/research-runs
|
|
14
|
+
* @endpoint POST /v1/research/runs
|
|
13
15
|
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
14
16
|
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
15
17
|
* @usedBySchema WriterAnalysisSectionSchema
|
package/dist/writer/judgment.js
CHANGED
|
@@ -10,6 +10,8 @@ const WriterJudgmentSchemaDefinition = z.object({
|
|
|
10
10
|
* One sourced research judgment.
|
|
11
11
|
*
|
|
12
12
|
* @openapiSchema WriterJudgment
|
|
13
|
+
* @endpoint POST /v1/research-runs
|
|
14
|
+
* @endpoint POST /v1/research/runs
|
|
13
15
|
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
14
16
|
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
15
17
|
* @usedBySchema WriterAnalysisSectionSchema
|
|
@@ -3,6 +3,8 @@ import { z } from "zod/v4";
|
|
|
3
3
|
* Research judgment the writer must preserve.
|
|
4
4
|
*
|
|
5
5
|
* @openapiSchema WriterMetaAnalysis
|
|
6
|
+
* @endpoint POST /v1/research-runs
|
|
7
|
+
* @endpoint POST /v1/research/runs
|
|
6
8
|
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
7
9
|
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
8
10
|
* @usedBySchema WriterBriefSchema
|
|
@@ -9,6 +9,8 @@ import { WriterScopeSchema } from "./scope.js";
|
|
|
9
9
|
* Research judgment the writer must preserve.
|
|
10
10
|
*
|
|
11
11
|
* @openapiSchema WriterMetaAnalysis
|
|
12
|
+
* @endpoint POST /v1/research-runs
|
|
13
|
+
* @endpoint POST /v1/research/runs
|
|
12
14
|
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
13
15
|
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
14
16
|
* @usedBySchema WriterBriefSchema
|
|
@@ -3,6 +3,8 @@ import { z } from "zod/v4";
|
|
|
3
3
|
* Meta-analysis judgments assigned to one paragraph.
|
|
4
4
|
*
|
|
5
5
|
* @openapiSchema WriterParagraphAnalysis
|
|
6
|
+
* @endpoint POST /v1/research-runs
|
|
7
|
+
* @endpoint POST /v1/research/runs
|
|
6
8
|
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
7
9
|
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
8
10
|
* @usedBySchema WriterParagraphSchema
|
|
@@ -4,6 +4,8 @@ import { z } from "zod/v4";
|
|
|
4
4
|
* Meta-analysis judgments assigned to one paragraph.
|
|
5
5
|
*
|
|
6
6
|
* @openapiSchema WriterParagraphAnalysis
|
|
7
|
+
* @endpoint POST /v1/research-runs
|
|
8
|
+
* @endpoint POST /v1/research/runs
|
|
7
9
|
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
8
10
|
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
9
11
|
* @usedBySchema WriterParagraphSchema
|
|
@@ -28,6 +28,8 @@ export interface WriterParagraphSchemaInput extends z.input<typeof WriterParagra
|
|
|
28
28
|
* One planned paragraph.
|
|
29
29
|
*
|
|
30
30
|
* @openapiSchema WriterParagraph
|
|
31
|
+
* @endpoint POST /v1/research-runs
|
|
32
|
+
* @endpoint POST /v1/research/runs
|
|
31
33
|
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
32
34
|
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
33
35
|
* @usedBySchema WriterBriefSchema
|
package/dist/writer/paragraph.js
CHANGED
|
@@ -14,6 +14,8 @@ const WriterParagraphSchemaDefinition = z.object({
|
|
|
14
14
|
* One planned paragraph.
|
|
15
15
|
*
|
|
16
16
|
* @openapiSchema WriterParagraph
|
|
17
|
+
* @endpoint POST /v1/research-runs
|
|
18
|
+
* @endpoint POST /v1/research/runs
|
|
17
19
|
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
18
20
|
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
19
21
|
* @usedBySchema WriterBriefSchema
|
|
@@ -3,6 +3,8 @@ import { z } from "zod/v4";
|
|
|
3
3
|
* Research-selected category, buyer, approach, differentiation, or alternative.
|
|
4
4
|
*
|
|
5
5
|
* @openapiSchema WriterPositioningElement
|
|
6
|
+
* @endpoint POST /v1/research-runs
|
|
7
|
+
* @endpoint POST /v1/research/runs
|
|
6
8
|
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
7
9
|
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
8
10
|
* @usedBySchema WriterParagraphSchema
|
|
@@ -11,6 +11,8 @@ const WriterPositioningElementSchemaKnownMembers = z.enum([
|
|
|
11
11
|
* Research-selected category, buyer, approach, differentiation, or alternative.
|
|
12
12
|
*
|
|
13
13
|
* @openapiSchema WriterPositioningElement
|
|
14
|
+
* @endpoint POST /v1/research-runs
|
|
15
|
+
* @endpoint POST /v1/research/runs
|
|
14
16
|
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
15
17
|
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
16
18
|
* @usedBySchema WriterParagraphSchema
|
|
@@ -25,6 +25,8 @@ export interface WriterPositioningSchemaInput extends z.input<typeof WriterPosit
|
|
|
25
25
|
* One positioning decision and supporting claims.
|
|
26
26
|
*
|
|
27
27
|
* @openapiSchema WriterPositioning
|
|
28
|
+
* @endpoint POST /v1/research-runs
|
|
29
|
+
* @endpoint POST /v1/research/runs
|
|
28
30
|
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
29
31
|
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
30
32
|
* @usedBySchema WriterBriefSchema
|
|
@@ -13,6 +13,8 @@ const WriterPositioningSchemaDefinition = z.object({
|
|
|
13
13
|
* One positioning decision and supporting claims.
|
|
14
14
|
*
|
|
15
15
|
* @openapiSchema WriterPositioning
|
|
16
|
+
* @endpoint POST /v1/research-runs
|
|
17
|
+
* @endpoint POST /v1/research/runs
|
|
16
18
|
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
17
19
|
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
18
20
|
* @usedBySchema WriterBriefSchema
|
package/dist/writer/scope.d.ts
CHANGED
|
@@ -11,6 +11,8 @@ export interface WriterScopeSchemaInput extends z.input<typeof WriterScopeSchema
|
|
|
11
11
|
* Research boundary used by a writer brief.
|
|
12
12
|
*
|
|
13
13
|
* @openapiSchema WriterScope
|
|
14
|
+
* @endpoint POST /v1/research-runs
|
|
15
|
+
* @endpoint POST /v1/research/runs
|
|
14
16
|
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
15
17
|
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
16
18
|
* @usedBySchema WriterMetaAnalysisSchema
|
package/dist/writer/scope.js
CHANGED
|
@@ -12,6 +12,8 @@ const WriterScopeSchemaDefinition = z.object({
|
|
|
12
12
|
* Research boundary used by a writer brief.
|
|
13
13
|
*
|
|
14
14
|
* @openapiSchema WriterScope
|
|
15
|
+
* @endpoint POST /v1/research-runs
|
|
16
|
+
* @endpoint POST /v1/research/runs
|
|
15
17
|
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
16
18
|
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
17
19
|
* @usedBySchema WriterMetaAnalysisSchema
|