@aventurevc/api-schemas 0.8.498 → 0.8.499
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/enrichment/enrichment.d.ts +7 -2
- package/dist/harness/chassis.d.ts +8 -3
- package/dist/harness/chassis.js +3 -2
- package/dist/harness/run-detail.d.ts +7 -2
- package/dist/harness/run.d.ts +7 -2
- package/dist/http/problem-detail.d.ts +3 -0
- package/dist/http/problem-detail.js +19 -13
- package/dist/pagination/schemas.d.ts +7 -2
- package/package.json +1 -1
|
@@ -20,10 +20,15 @@ declare const EnrichmentSchemaDefinition: z.ZodObject<{
|
|
|
20
20
|
run: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
21
21
|
attempt: z.ZodInt;
|
|
22
22
|
callerCanFollowRun: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
23
|
-
chassis: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
23
|
+
chassis: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
24
24
|
"claude-agent-sdk": "claude-agent-sdk";
|
|
25
25
|
"pi-agent-sdk": "pi-agent-sdk";
|
|
26
|
-
}
|
|
26
|
+
}>, z.ZodString]> & {
|
|
27
|
+
enum: {
|
|
28
|
+
"claude-agent-sdk": "claude-agent-sdk";
|
|
29
|
+
"pi-agent-sdk": "pi-agent-sdk";
|
|
30
|
+
};
|
|
31
|
+
}>>;
|
|
27
32
|
chassisRouted: z.ZodOptional<z.ZodBoolean>;
|
|
28
33
|
createdAt: z.ZodISODateTime;
|
|
29
34
|
entitySlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
/**
|
|
3
|
-
* Agent framework a research run executes on: the Claude Agent SDK
|
|
3
|
+
* Agent framework a research run executes on: the Claude Agent SDK, Pi agent SDK, or additional harness chassis
|
|
4
4
|
*
|
|
5
5
|
* @openapiSchema HarnessChassis
|
|
6
6
|
* @endpoint GET /v1/research/runs
|
|
@@ -13,9 +13,14 @@ import { z } from "zod/v4";
|
|
|
13
13
|
* @contractShape harness.chassis
|
|
14
14
|
* @contractRole canonical
|
|
15
15
|
*/
|
|
16
|
-
export declare const HarnessChassisSchema: z.ZodEnum<{
|
|
16
|
+
export declare const HarnessChassisSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
17
17
|
"claude-agent-sdk": "claude-agent-sdk";
|
|
18
18
|
"pi-agent-sdk": "pi-agent-sdk";
|
|
19
|
-
}
|
|
19
|
+
}>, z.ZodString]> & {
|
|
20
|
+
enum: {
|
|
21
|
+
"claude-agent-sdk": "claude-agent-sdk";
|
|
22
|
+
"pi-agent-sdk": "pi-agent-sdk";
|
|
23
|
+
};
|
|
24
|
+
};
|
|
20
25
|
export type HarnessChassis = z.infer<typeof HarnessChassisSchema>;
|
|
21
26
|
//# sourceMappingURL=chassis.d.ts.map
|
package/dist/harness/chassis.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
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 HarnessChassisSchemaKnownMembers = z.enum(["claude-agent-sdk", "pi-agent-sdk"]);
|
|
3
4
|
/**
|
|
4
|
-
* Agent framework a research run executes on: the Claude Agent SDK
|
|
5
|
+
* Agent framework a research run executes on: the Claude Agent SDK, Pi agent SDK, or additional harness chassis
|
|
5
6
|
*
|
|
6
7
|
* @openapiSchema HarnessChassis
|
|
7
8
|
* @endpoint GET /v1/research/runs
|
|
@@ -14,5 +15,5 @@ import { z } from "zod/v4";
|
|
|
14
15
|
* @contractShape harness.chassis
|
|
15
16
|
* @contractRole canonical
|
|
16
17
|
*/
|
|
17
|
-
export const HarnessChassisSchema = z.
|
|
18
|
+
export const HarnessChassisSchema = Object.assign(z.union([HarnessChassisSchemaKnownMembers, z.string()]), { enum: HarnessChassisSchemaKnownMembers.enum });
|
|
18
19
|
//# sourceMappingURL=chassis.js.map
|
|
@@ -195,10 +195,15 @@ declare const HarnessRunDetailSchemaDefinition: z.ZodObject<{
|
|
|
195
195
|
run: z.ZodObject<{
|
|
196
196
|
attempt: z.ZodInt;
|
|
197
197
|
callerCanFollowRun: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
198
|
-
chassis: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
198
|
+
chassis: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
199
199
|
"claude-agent-sdk": "claude-agent-sdk";
|
|
200
200
|
"pi-agent-sdk": "pi-agent-sdk";
|
|
201
|
-
}
|
|
201
|
+
}>, z.ZodString]> & {
|
|
202
|
+
enum: {
|
|
203
|
+
"claude-agent-sdk": "claude-agent-sdk";
|
|
204
|
+
"pi-agent-sdk": "pi-agent-sdk";
|
|
205
|
+
};
|
|
206
|
+
}>>;
|
|
202
207
|
chassisRouted: z.ZodOptional<z.ZodBoolean>;
|
|
203
208
|
createdAt: z.ZodISODateTime;
|
|
204
209
|
entitySlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
package/dist/harness/run.d.ts
CHANGED
|
@@ -18,10 +18,15 @@ import { z } from "zod/v4";
|
|
|
18
18
|
export declare const HarnessRunSchema: z.ZodObject<{
|
|
19
19
|
attempt: z.ZodInt;
|
|
20
20
|
callerCanFollowRun: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
21
|
-
chassis: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
21
|
+
chassis: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
22
22
|
"claude-agent-sdk": "claude-agent-sdk";
|
|
23
23
|
"pi-agent-sdk": "pi-agent-sdk";
|
|
24
|
-
}
|
|
24
|
+
}>, z.ZodString]> & {
|
|
25
|
+
enum: {
|
|
26
|
+
"claude-agent-sdk": "claude-agent-sdk";
|
|
27
|
+
"pi-agent-sdk": "pi-agent-sdk";
|
|
28
|
+
};
|
|
29
|
+
}>>;
|
|
25
30
|
chassisRouted: z.ZodOptional<z.ZodBoolean>;
|
|
26
31
|
createdAt: z.ZodISODateTime;
|
|
27
32
|
entitySlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -124,6 +124,9 @@ export declare const ProblemDetailSchema: z.ZodObject<{
|
|
|
124
124
|
suspectedShellStrip: "suspectedShellStrip";
|
|
125
125
|
suspected_shell_strip: "suspected_shell_strip";
|
|
126
126
|
task_plan_operation_unserved: "task_plan_operation_unserved";
|
|
127
|
+
team_last_admin_cannot_leave: "team_last_admin_cannot_leave";
|
|
128
|
+
team_owner_cannot_leave: "team_owner_cannot_leave";
|
|
129
|
+
team_seat_limit_reached: "team_seat_limit_reached";
|
|
127
130
|
text_send_limit_reached: "text_send_limit_reached";
|
|
128
131
|
text_write_job_ended: "text_write_job_ended";
|
|
129
132
|
url_surface_misclassification: "url_surface_misclassification";
|
|
@@ -172,37 +172,37 @@ export const ProblemDetailSchema = z.object({
|
|
|
172
172
|
"search_still_running",
|
|
173
173
|
/** A lookup was accepted as a lookup job instead of answered in the request: it asked for it with Prefer: respond-async, or its live attempt ran out of time. Agent action: poll the Location status URL after Retry-After. */
|
|
174
174
|
"lookup_still_running",
|
|
175
|
-
/** SEC EDGAR lookup failed
|
|
175
|
+
/** SEC EDGAR lookup failed; SEC outages or throttling affect public-company preview. */
|
|
176
176
|
"sec_edgar_fetch_failed",
|
|
177
|
-
/** GitHub repository fetch failed
|
|
177
|
+
/** GitHub repository fetch failed; outages or rate limits affect github-repo sync. */
|
|
178
178
|
"github_fetch_failed",
|
|
179
|
-
/** Machine-token sign-in service failed.
|
|
179
|
+
/** Machine-token sign-in service failed. Retry after retryAfterSeconds. */
|
|
180
180
|
"clerk_m2m_unavailable",
|
|
181
181
|
/** OAuth sign-in failed. Agent action: retry after retryAfterSeconds. */
|
|
182
182
|
"clerk_oauth_unavailable",
|
|
183
183
|
/** Researchly usage API failed. Agent action: retry after retryAfterSeconds. */
|
|
184
184
|
"researchly_usage_unavailable",
|
|
185
|
-
/** LLM inference failed.
|
|
185
|
+
/** LLM inference failed. Retry once with backoff for TRANSIENT only. */
|
|
186
186
|
"INFERENCE_PROVIDER_ERROR",
|
|
187
|
-
/** LLM inference failed.
|
|
187
|
+
/** LLM inference failed. Retry once with backoff for TRANSIENT only. */
|
|
188
188
|
"inference_provider_error",
|
|
189
189
|
/** Text write job ended: stop polling; resubmit if TRANSIENT, else report. */
|
|
190
190
|
"text_write_job_ended",
|
|
191
|
-
/**
|
|
191
|
+
/** Inference provider returned empty body. Retry once; inspect config if persistent. */
|
|
192
192
|
"INFERENCE_PROVIDER_RESPONSE_EMPTY",
|
|
193
|
-
/**
|
|
193
|
+
/** Inference provider returned empty body. Retry once; inspect config if persistent. */
|
|
194
194
|
"inference_provider_response_empty",
|
|
195
|
-
/**
|
|
195
|
+
/** Inference provider returned invalid JSON; prompt or schema may need adjustment. */
|
|
196
196
|
"INFERENCE_PROVIDER_INVALID_JSON",
|
|
197
|
-
/**
|
|
197
|
+
/** Inference provider returned invalid JSON; prompt or schema may need adjustment. */
|
|
198
198
|
"inference_provider_invalid_json",
|
|
199
|
-
/** Language-model configuration is missing
|
|
199
|
+
/** Language-model configuration is missing; wait until aVenture restores it. */
|
|
200
200
|
"INFERENCE_PROFILES_MISSING",
|
|
201
|
-
/** Language-model configuration is missing
|
|
201
|
+
/** Language-model configuration is missing; wait until aVenture restores it. */
|
|
202
202
|
"inference_profiles_missing",
|
|
203
|
-
/** Language-model credentials are missing
|
|
203
|
+
/** Language-model credentials are missing; wait until aVenture restores them. */
|
|
204
204
|
"INFERENCE_PROFILE_API_KEY_MISSING",
|
|
205
|
-
/** Language-model credentials are missing
|
|
205
|
+
/** Language-model credentials are missing; wait until aVenture restores them. */
|
|
206
206
|
"inference_profile_api_key_missing",
|
|
207
207
|
/** No virus scanner is configured; uploads are refused. Do not retry. */
|
|
208
208
|
"vault_scanner_not_configured",
|
|
@@ -210,6 +210,12 @@ export const ProblemDetailSchema = z.object({
|
|
|
210
210
|
"vault_storage_not_configured",
|
|
211
211
|
/** Library writes are not enabled on this deployment. Do not retry. */
|
|
212
212
|
"vault_writers_not_enabled",
|
|
213
|
+
/** The team seat limit has been reached. Do not retry until a seat frees. */
|
|
214
|
+
"team_seat_limit_reached",
|
|
215
|
+
/** The team owner cannot leave or be removed. Do not retry. */
|
|
216
|
+
"team_owner_cannot_leave",
|
|
217
|
+
/** The last active team admin cannot leave until another admin exists. */
|
|
218
|
+
"team_last_admin_cannot_leave",
|
|
213
219
|
/** The workspace owner cannot leave or be removed. Do not retry. */
|
|
214
220
|
"vault_owner_cannot_leave",
|
|
215
221
|
/** The last active admin cannot leave until another admin exists. */
|
|
@@ -15810,10 +15810,15 @@ declare const PageHarnessRunSchemaDefinition: z.ZodObject<{
|
|
|
15810
15810
|
content: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15811
15811
|
attempt: z.ZodInt;
|
|
15812
15812
|
callerCanFollowRun: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
15813
|
-
chassis: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
15813
|
+
chassis: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
15814
15814
|
"claude-agent-sdk": "claude-agent-sdk";
|
|
15815
15815
|
"pi-agent-sdk": "pi-agent-sdk";
|
|
15816
|
-
}
|
|
15816
|
+
}>, z.ZodString]> & {
|
|
15817
|
+
enum: {
|
|
15818
|
+
"claude-agent-sdk": "claude-agent-sdk";
|
|
15819
|
+
"pi-agent-sdk": "pi-agent-sdk";
|
|
15820
|
+
};
|
|
15821
|
+
}>>;
|
|
15817
15822
|
chassisRouted: z.ZodOptional<z.ZodBoolean>;
|
|
15818
15823
|
createdAt: z.ZodISODateTime;
|
|
15819
15824
|
entitySlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|