@aventurevc/api-schemas 0.8.428 → 0.8.430
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/agent/help.d.ts +12 -0
- package/dist/billing/catalog-plan.d.ts +4 -0
- package/dist/billing/catalog-tier.d.ts +2 -0
- package/dist/billing/catalog.d.ts +1 -1
- package/dist/billing/catalog.js +1 -1
- package/dist/billing/checkout-mutation.d.ts +2 -0
- package/dist/billing/checkout.d.ts +2 -0
- package/dist/billing/plan-change-mutation.d.ts +2 -0
- package/dist/billing/plan-change.d.ts +2 -0
- package/dist/billing/plan-type.d.ts +2 -0
- package/dist/billing/plan-type.js +1 -0
- package/dist/billing/subscription.d.ts +7 -1
- package/dist/billing/subscription.js +1 -1
- package/dist/billing/tier-type.d.ts +2 -0
- package/dist/billing/tier-type.js +7 -1
- package/dist/harness/run-lane.d.ts +1 -1
- package/dist/harness/run-lane.js +1 -1
- package/dist/harness/task-no-write-outcome.d.ts +23 -0
- package/dist/harness/task-no-write-outcome.js +18 -0
- package/dist/harness/task-plan.d.ts +12 -0
- package/dist/harness/task-plan.js +5 -0
- package/dist/help/resolution.d.ts +12 -0
- package/dist/openapi-component-manifest.js +4 -0
- package/dist/pagination/schemas.d.ts +2 -0
- package/dist/problem/type.d.ts +2 -0
- package/dist/problem/type.js +1 -0
- package/dist/publication/publication.d.ts +1 -0
- package/dist/publication/publication.js +2 -0
- package/package.json +1 -1
package/dist/agent/help.d.ts
CHANGED
|
@@ -58,6 +58,18 @@ declare const AgentHelpSchemaDefinition: z.ZodObject<{
|
|
|
58
58
|
required?: boolean | undefined;
|
|
59
59
|
type: string;
|
|
60
60
|
}, import("../harness/task.ts").HarnessTaskSchemaInput>>>;
|
|
61
|
+
noWriteCompletion: z.ZodOptional<z.ZodBoolean>;
|
|
62
|
+
noWriteOutcome: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
63
|
+
ALREADY_PRESENT: "ALREADY_PRESENT";
|
|
64
|
+
NO_LEADS: "NO_LEADS";
|
|
65
|
+
UNRESOLVED: "UNRESOLVED";
|
|
66
|
+
}>, z.ZodString]> & {
|
|
67
|
+
enum: {
|
|
68
|
+
ALREADY_PRESENT: "ALREADY_PRESENT";
|
|
69
|
+
NO_LEADS: "NO_LEADS";
|
|
70
|
+
UNRESOLVED: "UNRESOLVED";
|
|
71
|
+
};
|
|
72
|
+
}>>;
|
|
61
73
|
step: z.ZodArray<z.ZodType<{
|
|
62
74
|
cliCommand: string;
|
|
63
75
|
mcpTool?: string | null | undefined;
|
|
@@ -12,6 +12,7 @@ declare const BillingCatalogPlanSchemaDefinition: z.ZodObject<{
|
|
|
12
12
|
PRO_MONTHLY: "PRO_MONTHLY";
|
|
13
13
|
PRO_YEARLY: "PRO_YEARLY";
|
|
14
14
|
PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
|
|
15
|
+
STARTUPS_MONTHLY: "STARTUPS_MONTHLY";
|
|
15
16
|
UNLIMITED_MONTHLY: "UNLIMITED_MONTHLY";
|
|
16
17
|
}>, z.ZodString]> & {
|
|
17
18
|
enum: {
|
|
@@ -20,6 +21,7 @@ declare const BillingCatalogPlanSchemaDefinition: z.ZodObject<{
|
|
|
20
21
|
PRO_MONTHLY: "PRO_MONTHLY";
|
|
21
22
|
PRO_YEARLY: "PRO_YEARLY";
|
|
22
23
|
PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
|
|
24
|
+
STARTUPS_MONTHLY: "STARTUPS_MONTHLY";
|
|
23
25
|
UNLIMITED_MONTHLY: "UNLIMITED_MONTHLY";
|
|
24
26
|
};
|
|
25
27
|
};
|
|
@@ -27,12 +29,14 @@ declare const BillingCatalogPlanSchemaDefinition: z.ZodObject<{
|
|
|
27
29
|
ESSENTIAL: "ESSENTIAL";
|
|
28
30
|
PLUS: "PLUS";
|
|
29
31
|
PRO: "PRO";
|
|
32
|
+
STARTUPS: "STARTUPS";
|
|
30
33
|
UNLIMITED: "UNLIMITED";
|
|
31
34
|
}>, z.ZodString]> & {
|
|
32
35
|
enum: {
|
|
33
36
|
ESSENTIAL: "ESSENTIAL";
|
|
34
37
|
PLUS: "PLUS";
|
|
35
38
|
PRO: "PRO";
|
|
39
|
+
STARTUPS: "STARTUPS";
|
|
36
40
|
UNLIMITED: "UNLIMITED";
|
|
37
41
|
};
|
|
38
42
|
};
|
|
@@ -16,12 +16,14 @@ declare const BillingCatalogTierSchemaDefinition: z.ZodObject<{
|
|
|
16
16
|
ESSENTIAL: "ESSENTIAL";
|
|
17
17
|
PLUS: "PLUS";
|
|
18
18
|
PRO: "PRO";
|
|
19
|
+
STARTUPS: "STARTUPS";
|
|
19
20
|
UNLIMITED: "UNLIMITED";
|
|
20
21
|
}>, z.ZodString]> & {
|
|
21
22
|
enum: {
|
|
22
23
|
ESSENTIAL: "ESSENTIAL";
|
|
23
24
|
PLUS: "PLUS";
|
|
24
25
|
PRO: "PRO";
|
|
26
|
+
STARTUPS: "STARTUPS";
|
|
25
27
|
UNLIMITED: "UNLIMITED";
|
|
26
28
|
};
|
|
27
29
|
};
|
|
@@ -66,7 +66,7 @@ type BillingCatalogDefinition = z.infer<typeof BillingCatalogSchemaDefinition>;
|
|
|
66
66
|
export interface BillingCatalogSchemaInput extends z.input<typeof BillingCatalogSchemaDefinition> {
|
|
67
67
|
}
|
|
68
68
|
/**
|
|
69
|
-
* Every self-serve subscription tier with its monthly allowance caps and free daily allowances, every plan Checkout sells, and the prices of eligible usage past those caps. The Unlimited
|
|
69
|
+
* Every self-serve subscription tier with its monthly allowance caps and free daily allowances, every plan Checkout sells, and the prices of eligible usage past those caps. The operator-granted Startups and Unlimited tiers are not sold through Checkout and are omitted.
|
|
70
70
|
*
|
|
71
71
|
* @openapiSchema BillingCatalog
|
|
72
72
|
* @endpoint GET /v1/billing/plans
|
package/dist/billing/catalog.js
CHANGED
|
@@ -13,7 +13,7 @@ const BillingCatalogSchemaDefinition = z.object({
|
|
|
13
13
|
tier: z.array(BillingCatalogTierSchema),
|
|
14
14
|
});
|
|
15
15
|
/**
|
|
16
|
-
* Every self-serve subscription tier with its monthly allowance caps and free daily allowances, every plan Checkout sells, and the prices of eligible usage past those caps. The Unlimited
|
|
16
|
+
* Every self-serve subscription tier with its monthly allowance caps and free daily allowances, every plan Checkout sells, and the prices of eligible usage past those caps. The operator-granted Startups and Unlimited tiers are not sold through Checkout and are omitted.
|
|
17
17
|
*
|
|
18
18
|
* @openapiSchema BillingCatalog
|
|
19
19
|
* @endpoint GET /v1/billing/plans
|
|
@@ -6,6 +6,7 @@ declare const BillingCheckoutMutationSchemaDefinition: z.ZodObject<{
|
|
|
6
6
|
PRO_MONTHLY: "PRO_MONTHLY";
|
|
7
7
|
PRO_YEARLY: "PRO_YEARLY";
|
|
8
8
|
PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
|
|
9
|
+
STARTUPS_MONTHLY: "STARTUPS_MONTHLY";
|
|
9
10
|
UNLIMITED_MONTHLY: "UNLIMITED_MONTHLY";
|
|
10
11
|
}>, z.ZodString]> & {
|
|
11
12
|
enum: {
|
|
@@ -14,6 +15,7 @@ declare const BillingCheckoutMutationSchemaDefinition: z.ZodObject<{
|
|
|
14
15
|
PRO_MONTHLY: "PRO_MONTHLY";
|
|
15
16
|
PRO_YEARLY: "PRO_YEARLY";
|
|
16
17
|
PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
|
|
18
|
+
STARTUPS_MONTHLY: "STARTUPS_MONTHLY";
|
|
17
19
|
UNLIMITED_MONTHLY: "UNLIMITED_MONTHLY";
|
|
18
20
|
};
|
|
19
21
|
};
|
|
@@ -8,6 +8,7 @@ declare const BillingCheckoutSchemaDefinition: z.ZodObject<{
|
|
|
8
8
|
PRO_MONTHLY: "PRO_MONTHLY";
|
|
9
9
|
PRO_YEARLY: "PRO_YEARLY";
|
|
10
10
|
PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
|
|
11
|
+
STARTUPS_MONTHLY: "STARTUPS_MONTHLY";
|
|
11
12
|
UNLIMITED_MONTHLY: "UNLIMITED_MONTHLY";
|
|
12
13
|
}>, z.ZodString]> & {
|
|
13
14
|
enum: {
|
|
@@ -16,6 +17,7 @@ declare const BillingCheckoutSchemaDefinition: z.ZodObject<{
|
|
|
16
17
|
PRO_MONTHLY: "PRO_MONTHLY";
|
|
17
18
|
PRO_YEARLY: "PRO_YEARLY";
|
|
18
19
|
PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
|
|
20
|
+
STARTUPS_MONTHLY: "STARTUPS_MONTHLY";
|
|
19
21
|
UNLIMITED_MONTHLY: "UNLIMITED_MONTHLY";
|
|
20
22
|
};
|
|
21
23
|
};
|
|
@@ -6,6 +6,7 @@ declare const BillingPlanChangeMutationSchemaDefinition: z.ZodObject<{
|
|
|
6
6
|
PRO_MONTHLY: "PRO_MONTHLY";
|
|
7
7
|
PRO_YEARLY: "PRO_YEARLY";
|
|
8
8
|
PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
|
|
9
|
+
STARTUPS_MONTHLY: "STARTUPS_MONTHLY";
|
|
9
10
|
UNLIMITED_MONTHLY: "UNLIMITED_MONTHLY";
|
|
10
11
|
}>, z.ZodString]> & {
|
|
11
12
|
enum: {
|
|
@@ -14,6 +15,7 @@ declare const BillingPlanChangeMutationSchemaDefinition: z.ZodObject<{
|
|
|
14
15
|
PRO_MONTHLY: "PRO_MONTHLY";
|
|
15
16
|
PRO_YEARLY: "PRO_YEARLY";
|
|
16
17
|
PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
|
|
18
|
+
STARTUPS_MONTHLY: "STARTUPS_MONTHLY";
|
|
17
19
|
UNLIMITED_MONTHLY: "UNLIMITED_MONTHLY";
|
|
18
20
|
};
|
|
19
21
|
};
|
|
@@ -9,6 +9,7 @@ declare const BillingPlanChangeSchemaDefinition: z.ZodObject<{
|
|
|
9
9
|
PRO_MONTHLY: "PRO_MONTHLY";
|
|
10
10
|
PRO_YEARLY: "PRO_YEARLY";
|
|
11
11
|
PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
|
|
12
|
+
STARTUPS_MONTHLY: "STARTUPS_MONTHLY";
|
|
12
13
|
UNLIMITED_MONTHLY: "UNLIMITED_MONTHLY";
|
|
13
14
|
}>, z.ZodString]> & {
|
|
14
15
|
enum: {
|
|
@@ -17,6 +18,7 @@ declare const BillingPlanChangeSchemaDefinition: z.ZodObject<{
|
|
|
17
18
|
PRO_MONTHLY: "PRO_MONTHLY";
|
|
18
19
|
PRO_YEARLY: "PRO_YEARLY";
|
|
19
20
|
PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
|
|
21
|
+
STARTUPS_MONTHLY: "STARTUPS_MONTHLY";
|
|
20
22
|
UNLIMITED_MONTHLY: "UNLIMITED_MONTHLY";
|
|
21
23
|
};
|
|
22
24
|
};
|
|
@@ -23,6 +23,7 @@ export declare const BillingPlanTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
|
23
23
|
PRO_MONTHLY: "PRO_MONTHLY";
|
|
24
24
|
PRO_YEARLY: "PRO_YEARLY";
|
|
25
25
|
PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
|
|
26
|
+
STARTUPS_MONTHLY: "STARTUPS_MONTHLY";
|
|
26
27
|
UNLIMITED_MONTHLY: "UNLIMITED_MONTHLY";
|
|
27
28
|
}>, z.ZodString]> & {
|
|
28
29
|
enum: {
|
|
@@ -31,6 +32,7 @@ export declare const BillingPlanTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
|
31
32
|
PRO_MONTHLY: "PRO_MONTHLY";
|
|
32
33
|
PRO_YEARLY: "PRO_YEARLY";
|
|
33
34
|
PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
|
|
35
|
+
STARTUPS_MONTHLY: "STARTUPS_MONTHLY";
|
|
34
36
|
UNLIMITED_MONTHLY: "UNLIMITED_MONTHLY";
|
|
35
37
|
};
|
|
36
38
|
};
|
|
@@ -185,6 +185,7 @@ declare const BillingSubscriptionSchemaDefinition: z.ZodObject<{
|
|
|
185
185
|
PRO_MONTHLY: "PRO_MONTHLY";
|
|
186
186
|
PRO_YEARLY: "PRO_YEARLY";
|
|
187
187
|
PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
|
|
188
|
+
STARTUPS_MONTHLY: "STARTUPS_MONTHLY";
|
|
188
189
|
UNLIMITED_MONTHLY: "UNLIMITED_MONTHLY";
|
|
189
190
|
}>, z.ZodString]> & {
|
|
190
191
|
enum: {
|
|
@@ -193,6 +194,7 @@ declare const BillingSubscriptionSchemaDefinition: z.ZodObject<{
|
|
|
193
194
|
PRO_MONTHLY: "PRO_MONTHLY";
|
|
194
195
|
PRO_YEARLY: "PRO_YEARLY";
|
|
195
196
|
PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
|
|
197
|
+
STARTUPS_MONTHLY: "STARTUPS_MONTHLY";
|
|
196
198
|
UNLIMITED_MONTHLY: "UNLIMITED_MONTHLY";
|
|
197
199
|
};
|
|
198
200
|
}>>;
|
|
@@ -205,6 +207,7 @@ declare const BillingSubscriptionSchemaDefinition: z.ZodObject<{
|
|
|
205
207
|
PRO_MONTHLY: "PRO_MONTHLY";
|
|
206
208
|
PRO_YEARLY: "PRO_YEARLY";
|
|
207
209
|
PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
|
|
210
|
+
STARTUPS_MONTHLY: "STARTUPS_MONTHLY";
|
|
208
211
|
UNLIMITED_MONTHLY: "UNLIMITED_MONTHLY";
|
|
209
212
|
}>, z.ZodString]> & {
|
|
210
213
|
enum: {
|
|
@@ -213,6 +216,7 @@ declare const BillingSubscriptionSchemaDefinition: z.ZodObject<{
|
|
|
213
216
|
PRO_MONTHLY: "PRO_MONTHLY";
|
|
214
217
|
PRO_YEARLY: "PRO_YEARLY";
|
|
215
218
|
PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
|
|
219
|
+
STARTUPS_MONTHLY: "STARTUPS_MONTHLY";
|
|
216
220
|
UNLIMITED_MONTHLY: "UNLIMITED_MONTHLY";
|
|
217
221
|
};
|
|
218
222
|
}>>;
|
|
@@ -240,12 +244,14 @@ declare const BillingSubscriptionSchemaDefinition: z.ZodObject<{
|
|
|
240
244
|
ESSENTIAL: "ESSENTIAL";
|
|
241
245
|
PLUS: "PLUS";
|
|
242
246
|
PRO: "PRO";
|
|
247
|
+
STARTUPS: "STARTUPS";
|
|
243
248
|
UNLIMITED: "UNLIMITED";
|
|
244
249
|
}>, z.ZodString]> & {
|
|
245
250
|
enum: {
|
|
246
251
|
ESSENTIAL: "ESSENTIAL";
|
|
247
252
|
PLUS: "PLUS";
|
|
248
253
|
PRO: "PRO";
|
|
254
|
+
STARTUPS: "STARTUPS";
|
|
249
255
|
UNLIMITED: "UNLIMITED";
|
|
250
256
|
};
|
|
251
257
|
};
|
|
@@ -254,7 +260,7 @@ type BillingSubscriptionDefinition = z.infer<typeof BillingSubscriptionSchemaDef
|
|
|
254
260
|
export interface BillingSubscriptionSchemaInput extends z.input<typeof BillingSubscriptionSchemaDefinition> {
|
|
255
261
|
}
|
|
256
262
|
/**
|
|
257
|
-
* Current plan (Essential, AI Plus, AI Pro, or Unlimited), subscription status, and monthly usage.
|
|
263
|
+
* Current plan (Essential, Startups, AI Plus, AI Pro, or Unlimited), subscription status, and monthly usage.
|
|
258
264
|
*
|
|
259
265
|
* @openapiSchema BillingSubscription
|
|
260
266
|
* @endpoint GET /v1/billing/subscription
|
|
@@ -48,7 +48,7 @@ const BillingSubscriptionSchemaDefinition = z.object({
|
|
|
48
48
|
tier: BillingTierTypeSchema,
|
|
49
49
|
});
|
|
50
50
|
/**
|
|
51
|
-
* Current plan (Essential, AI Plus, AI Pro, or Unlimited), subscription status, and monthly usage.
|
|
51
|
+
* Current plan (Essential, Startups, AI Plus, AI Pro, or Unlimited), subscription status, and monthly usage.
|
|
52
52
|
*
|
|
53
53
|
* @openapiSchema BillingSubscription
|
|
54
54
|
* @endpoint GET /v1/billing/subscription
|
|
@@ -15,12 +15,14 @@ export declare const BillingTierTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
|
15
15
|
ESSENTIAL: "ESSENTIAL";
|
|
16
16
|
PLUS: "PLUS";
|
|
17
17
|
PRO: "PRO";
|
|
18
|
+
STARTUPS: "STARTUPS";
|
|
18
19
|
UNLIMITED: "UNLIMITED";
|
|
19
20
|
}>, z.ZodString]> & {
|
|
20
21
|
enum: {
|
|
21
22
|
ESSENTIAL: "ESSENTIAL";
|
|
22
23
|
PLUS: "PLUS";
|
|
23
24
|
PRO: "PRO";
|
|
25
|
+
STARTUPS: "STARTUPS";
|
|
24
26
|
UNLIMITED: "UNLIMITED";
|
|
25
27
|
};
|
|
26
28
|
};
|
|
@@ -1,6 +1,12 @@
|
|
|
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
|
-
const BillingTierTypeSchemaKnownMembers = z.enum([
|
|
3
|
+
const BillingTierTypeSchemaKnownMembers = z.enum([
|
|
4
|
+
"ESSENTIAL",
|
|
5
|
+
"STARTUPS",
|
|
6
|
+
"PLUS",
|
|
7
|
+
"PRO",
|
|
8
|
+
"UNLIMITED",
|
|
9
|
+
]);
|
|
4
10
|
/**
|
|
5
11
|
* Subscription tier that sets an account's monthly caps and included features.
|
|
6
12
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
/**
|
|
3
|
-
* Queue priority of a run: live (search and lookup) and interactive (one client run) share the interactive queue; bulk (client batch) and background (
|
|
3
|
+
* Queue priority of a run: live (search and lookup) and interactive (one client run) share the interactive queue; bulk (client batch) and background (scheduled work) share the background queue
|
|
4
4
|
*
|
|
5
5
|
* @openapiSchema HarnessRunLane
|
|
6
6
|
* @endpoint GET /v1/research/runs
|
package/dist/harness/run-lane.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { z } from "zod/v4";
|
|
3
3
|
const HarnessRunLaneSchemaKnownMembers = z.enum(["live", "interactive", "bulk", "background"]);
|
|
4
4
|
/**
|
|
5
|
-
* Queue priority of a run: live (search and lookup) and interactive (one client run) share the interactive queue; bulk (client batch) and background (
|
|
5
|
+
* Queue priority of a run: live (search and lookup) and interactive (one client run) share the interactive queue; bulk (client batch) and background (scheduled work) share the background queue
|
|
6
6
|
*
|
|
7
7
|
* @openapiSchema HarnessRunLane
|
|
8
8
|
* @endpoint GET /v1/research/runs
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* NO_LEADS: the source held no accepted lead and the run attempted no write. ALREADY_PRESENT: each accepted lead is already present, proved by its owning read or a required create answering 409; the run committed no mutation. UNRESOLVED: a lead's identity stayed unresolved after a committed lookup read, with a stated reason.
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema HarnessTaskNoWriteOutcome
|
|
6
|
+
* @endpoint POST /v1/help
|
|
7
|
+
* @usedBySchema HarnessTaskPlanSchema
|
|
8
|
+
* @contractShape harness.task-no-write-outcome
|
|
9
|
+
* @contractRole canonical
|
|
10
|
+
*/
|
|
11
|
+
export declare const HarnessTaskNoWriteOutcomeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
12
|
+
ALREADY_PRESENT: "ALREADY_PRESENT";
|
|
13
|
+
NO_LEADS: "NO_LEADS";
|
|
14
|
+
UNRESOLVED: "UNRESOLVED";
|
|
15
|
+
}>, z.ZodString]> & {
|
|
16
|
+
enum: {
|
|
17
|
+
ALREADY_PRESENT: "ALREADY_PRESENT";
|
|
18
|
+
NO_LEADS: "NO_LEADS";
|
|
19
|
+
UNRESOLVED: "UNRESOLVED";
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export type HarnessTaskNoWriteOutcome = z.infer<typeof HarnessTaskNoWriteOutcomeSchema>;
|
|
23
|
+
//# sourceMappingURL=task-no-write-outcome.d.ts.map
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
const HarnessTaskNoWriteOutcomeSchemaKnownMembers = z.enum([
|
|
4
|
+
"NO_LEADS",
|
|
5
|
+
"ALREADY_PRESENT",
|
|
6
|
+
"UNRESOLVED",
|
|
7
|
+
]);
|
|
8
|
+
/**
|
|
9
|
+
* NO_LEADS: the source held no accepted lead and the run attempted no write. ALREADY_PRESENT: each accepted lead is already present, proved by its owning read or a required create answering 409; the run committed no mutation. UNRESOLVED: a lead's identity stayed unresolved after a committed lookup read, with a stated reason.
|
|
10
|
+
*
|
|
11
|
+
* @openapiSchema HarnessTaskNoWriteOutcome
|
|
12
|
+
* @endpoint POST /v1/help
|
|
13
|
+
* @usedBySchema HarnessTaskPlanSchema
|
|
14
|
+
* @contractShape harness.task-no-write-outcome
|
|
15
|
+
* @contractRole canonical
|
|
16
|
+
*/
|
|
17
|
+
export const HarnessTaskNoWriteOutcomeSchema = Object.assign(z.union([HarnessTaskNoWriteOutcomeSchemaKnownMembers, z.string()]), { enum: HarnessTaskNoWriteOutcomeSchemaKnownMembers.enum });
|
|
18
|
+
//# sourceMappingURL=task-no-write-outcome.js.map
|
|
@@ -24,6 +24,18 @@ export declare const HarnessTaskPlanSchema: z.ZodObject<{
|
|
|
24
24
|
required?: boolean | undefined;
|
|
25
25
|
type: string;
|
|
26
26
|
}, import("./task.ts").HarnessTaskSchemaInput>>>;
|
|
27
|
+
noWriteCompletion: z.ZodOptional<z.ZodBoolean>;
|
|
28
|
+
noWriteOutcome: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
29
|
+
ALREADY_PRESENT: "ALREADY_PRESENT";
|
|
30
|
+
NO_LEADS: "NO_LEADS";
|
|
31
|
+
UNRESOLVED: "UNRESOLVED";
|
|
32
|
+
}>, z.ZodString]> & {
|
|
33
|
+
enum: {
|
|
34
|
+
ALREADY_PRESENT: "ALREADY_PRESENT";
|
|
35
|
+
NO_LEADS: "NO_LEADS";
|
|
36
|
+
UNRESOLVED: "UNRESOLVED";
|
|
37
|
+
};
|
|
38
|
+
}>>;
|
|
27
39
|
step: z.ZodArray<z.ZodType<{
|
|
28
40
|
cliCommand: string;
|
|
29
41
|
mcpTool?: string | null | undefined;
|
|
@@ -1,5 +1,6 @@
|
|
|
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
|
+
import { HarnessTaskNoWriteOutcomeSchema } from "./task-no-write-outcome.js";
|
|
3
4
|
import { HarnessTaskPlanStepSchema } from "./task-plan-step.js";
|
|
4
5
|
import { HarnessTaskSchema } from "./task.js";
|
|
5
6
|
/**
|
|
@@ -18,6 +19,10 @@ export const HarnessTaskPlanSchema = z.object({
|
|
|
18
19
|
gateId: z.array(z.string()).optional(),
|
|
19
20
|
/** Typed task inputs; required inputs must be bound before it runs. */
|
|
20
21
|
input: z.array(HarnessTaskSchema),
|
|
22
|
+
/** Whether a run may complete with no committed required mutation when every gateId already passes on the target, because those gates measure the required write. False means the run must commit its required write. */
|
|
23
|
+
noWriteCompletion: z.boolean().optional(),
|
|
24
|
+
/** Outcome classes a run may report to complete with no committed required mutation; the harness checks the reported class against the run's tool stream and records it on the mutation receipt. Empty means this task accepts no such outcome. */
|
|
25
|
+
noWriteOutcome: z.array(HarnessTaskNoWriteOutcomeSchema).optional(),
|
|
21
26
|
/** Steps in run order; an empty list means this catalog task is unplanned. */
|
|
22
27
|
step: z.array(HarnessTaskPlanStepSchema),
|
|
23
28
|
/** Agent-task catalog key. */
|
|
@@ -47,6 +47,18 @@ export declare const HelpResolutionSchema: z.ZodObject<{
|
|
|
47
47
|
required?: boolean | undefined;
|
|
48
48
|
type: string;
|
|
49
49
|
}, import("../harness/task.ts").HarnessTaskSchemaInput>>>;
|
|
50
|
+
noWriteCompletion: z.ZodOptional<z.ZodBoolean>;
|
|
51
|
+
noWriteOutcome: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
52
|
+
ALREADY_PRESENT: "ALREADY_PRESENT";
|
|
53
|
+
NO_LEADS: "NO_LEADS";
|
|
54
|
+
UNRESOLVED: "UNRESOLVED";
|
|
55
|
+
}>, z.ZodString]> & {
|
|
56
|
+
enum: {
|
|
57
|
+
ALREADY_PRESENT: "ALREADY_PRESENT";
|
|
58
|
+
NO_LEADS: "NO_LEADS";
|
|
59
|
+
UNRESOLVED: "UNRESOLVED";
|
|
60
|
+
};
|
|
61
|
+
}>>;
|
|
50
62
|
step: z.ZodArray<z.ZodType<{
|
|
51
63
|
cliCommand: string;
|
|
52
64
|
mcpTool?: string | null | undefined;
|
|
@@ -769,6 +769,10 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
|
|
|
769
769
|
modulePath: "harness/task-input-type",
|
|
770
770
|
schemaName: "HarnessTaskInputTypeSchema",
|
|
771
771
|
},
|
|
772
|
+
HarnessTaskNoWriteOutcome: {
|
|
773
|
+
modulePath: "harness/task-no-write-outcome",
|
|
774
|
+
schemaName: "HarnessTaskNoWriteOutcomeSchema",
|
|
775
|
+
},
|
|
772
776
|
HarnessTaskPlan: { modulePath: "harness/task-plan", schemaName: "HarnessTaskPlanSchema" },
|
|
773
777
|
HarnessTaskPlanStep: {
|
|
774
778
|
modulePath: "harness/task-plan-step",
|
|
@@ -21331,6 +21331,7 @@ declare const PagePublicationSchemaDefinition: z.ZodObject<{
|
|
|
21331
21331
|
createdAt?: string | null | undefined;
|
|
21332
21332
|
publishedAt?: string | null | undefined;
|
|
21333
21333
|
relation?: "about" | "by" | null | undefined;
|
|
21334
|
+
screenshotUrl?: string | null | undefined;
|
|
21334
21335
|
sourceDomain?: string | null | undefined;
|
|
21335
21336
|
sourceName?: string | null | undefined;
|
|
21336
21337
|
summary?: string | null | undefined;
|
|
@@ -21346,6 +21347,7 @@ declare const PagePublicationSchemaDefinition: z.ZodObject<{
|
|
|
21346
21347
|
createdAt?: string | null | undefined;
|
|
21347
21348
|
publishedAt?: string | null | undefined;
|
|
21348
21349
|
relation?: "about" | "by" | null | undefined;
|
|
21350
|
+
screenshotUrl?: string | null | undefined;
|
|
21349
21351
|
sourceDomain?: string | null | undefined;
|
|
21350
21352
|
sourceName?: string | null | undefined;
|
|
21351
21353
|
summary?: string | null | undefined;
|
package/dist/problem/type.d.ts
CHANGED
|
@@ -44,6 +44,7 @@ export declare const ProblemTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
|
44
44
|
readonly MALFORMED_FORM_BODY: "https://api.aventure.vc/errors/malformed-form-body";
|
|
45
45
|
readonly STATE_CONFLICT: "https://api.aventure.vc/errors/state-conflict";
|
|
46
46
|
readonly ANALYSIS_TURN_PENDING: "https://api.aventure.vc/errors/analysis-turn-pending";
|
|
47
|
+
readonly HARNESS_RUN_LEASE_MISMATCH: "https://api.aventure.vc/errors/harness-run-lease-mismatch";
|
|
47
48
|
readonly SLUG_HELD_BY_RECORD: "https://api.aventure.vc/errors/slug-held-by-record";
|
|
48
49
|
readonly SLUG_HELD_BY_REDIRECT: "https://api.aventure.vc/errors/slug-held-by-redirect";
|
|
49
50
|
readonly SLUG_AMBIGUOUS: "https://api.aventure.vc/errors/slug-ambiguous";
|
|
@@ -102,6 +103,7 @@ export declare const ProblemTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
|
102
103
|
readonly MALFORMED_FORM_BODY: "https://api.aventure.vc/errors/malformed-form-body";
|
|
103
104
|
readonly STATE_CONFLICT: "https://api.aventure.vc/errors/state-conflict";
|
|
104
105
|
readonly ANALYSIS_TURN_PENDING: "https://api.aventure.vc/errors/analysis-turn-pending";
|
|
106
|
+
readonly HARNESS_RUN_LEASE_MISMATCH: "https://api.aventure.vc/errors/harness-run-lease-mismatch";
|
|
105
107
|
readonly SLUG_HELD_BY_RECORD: "https://api.aventure.vc/errors/slug-held-by-record";
|
|
106
108
|
readonly SLUG_HELD_BY_REDIRECT: "https://api.aventure.vc/errors/slug-held-by-redirect";
|
|
107
109
|
readonly SLUG_AMBIGUOUS: "https://api.aventure.vc/errors/slug-ambiguous";
|
package/dist/problem/type.js
CHANGED
|
@@ -36,6 +36,7 @@ const ProblemTypeSchemaKnownMembers = z.enum({
|
|
|
36
36
|
MALFORMED_FORM_BODY: "https://api.aventure.vc/errors/malformed-form-body",
|
|
37
37
|
STATE_CONFLICT: "https://api.aventure.vc/errors/state-conflict",
|
|
38
38
|
ANALYSIS_TURN_PENDING: "https://api.aventure.vc/errors/analysis-turn-pending",
|
|
39
|
+
HARNESS_RUN_LEASE_MISMATCH: "https://api.aventure.vc/errors/harness-run-lease-mismatch",
|
|
39
40
|
SLUG_HELD_BY_RECORD: "https://api.aventure.vc/errors/slug-held-by-record",
|
|
40
41
|
SLUG_HELD_BY_REDIRECT: "https://api.aventure.vc/errors/slug-held-by-redirect",
|
|
41
42
|
SLUG_AMBIGUOUS: "https://api.aventure.vc/errors/slug-ambiguous",
|
|
@@ -18,6 +18,7 @@ declare const PublicationSchemaDefinition: z.ZodObject<{
|
|
|
18
18
|
about: "about";
|
|
19
19
|
by: "by";
|
|
20
20
|
}>>>;
|
|
21
|
+
screenshotUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
22
|
sourceDomain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
23
|
sourceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
24
|
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -15,6 +15,8 @@ const PublicationSchemaDefinition = z.object({
|
|
|
15
15
|
publishedAt: z.iso.datetime({ offset: true }).nullish(),
|
|
16
16
|
/** How this content relates to the requested owner. */
|
|
17
17
|
relation: PublicationRelationSchema.nullish(),
|
|
18
|
+
/** CDN URL of the newest screenshot of this page. Only webPage cards for the first page of a section the web-crawl contract flags for screenshots carry one; null for other cards and before the first capture. */
|
|
19
|
+
screenshotUrl: z.string().nullish(),
|
|
18
20
|
/** Registrable source domain when known. */
|
|
19
21
|
sourceDomain: z.string().nullish(),
|
|
20
22
|
/** Publication, platform owner, or source label. */
|