@standards/schema 1.0.0-alpha.409 → 1.0.0-alpha.410
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/all-B606hHr3.mjs +2 -0
- package/dist/{all-BSKNqzGh.d.mts → all-B802p9b-.d.mts} +3 -3
- package/dist/all-C-dQf23e.js +2 -0
- package/dist/{all-BwAwSr3s.d.ts → all-CbM6xRtw.d.ts} +3 -3
- package/dist/api/index.d.mts +247 -150
- package/dist/api/index.d.ts +247 -150
- package/dist/api/index.js +1 -1
- package/dist/api/index.mjs +1 -1
- package/dist/{config-BWgga8mu.js → config-YSw2jzWj.js} +1 -1
- package/dist/{config-BwshhFai.mjs → config-iUwnquKr.mjs} +1 -1
- package/dist/{index-CXO6_OVC.d.ts → index-BDMlzqIt.d.ts} +1 -1
- package/dist/{index-qj0Sxls-.d.ts → index-CFSSj05K.d.ts} +1 -1
- package/dist/{index-QZR1nwQt.d.mts → index-Ckbiu3d9.d.mts} +1 -1
- package/dist/{index-BDkw6z3G.d.mts → index-CpWy2-oS.d.mts} +1 -1
- package/dist/{index-DDCXoccV.d.mts → index-DeUkwS45.d.mts} +117 -36
- package/dist/{index-BJwJSvSN.d.ts → index-ayjc-chp.d.ts} +117 -36
- package/dist/index.d.mts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{objects-CfWCm1OL.d.ts → objects-Bt5C4BNO.d.ts} +6 -1
- package/dist/{objects-C9F-MirX.d.mts → objects-Ddi_zEYp.d.mts} +6 -1
- package/dist/{primitives-D9A6pmXV.mjs → primitives-BCJLtpaI.mjs} +1 -1
- package/dist/{primitives-BBtVhLdq.js → primitives-CVbrjJ24.js} +1 -1
- package/dist/record-aggregates-Cl_62tuW.mjs +2 -0
- package/dist/record-aggregates-eFfvQOzG.js +2 -0
- package/dist/record-operation-CyVr9RBO.js +2 -0
- package/dist/record-operation-prlqtHAm.mjs +2 -0
- package/dist/validation/all.d.mts +3 -3
- package/dist/validation/all.d.ts +3 -3
- package/dist/validation/all.js +1 -1
- package/dist/validation/all.mjs +1 -1
- package/dist/validation/config/index.d.mts +1 -1
- package/dist/validation/config/index.d.ts +1 -1
- package/dist/validation/config/index.js +1 -1
- package/dist/validation/config/index.mjs +1 -1
- package/dist/validation/object/index.d.mts +1 -1
- package/dist/validation/object/index.d.ts +1 -1
- package/package.json +2 -2
- package/dist/all-DoPwVWIX.js +0 -2
- package/dist/all-FfziiXML.mjs +0 -2
- package/dist/record-aggregates-Bhi1lCSm.js +0 -2
- package/dist/record-aggregates-DEBOOgA0.mjs +0 -2
- package/dist/record-operation-B9XPdpM4.js +0 -2
- package/dist/record-operation-DR_4hSNA.mjs +0 -2
package/dist/api/index.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
2
|
import { SchemaErrorCode, ValidationError, ValidationErrorDetail } from "../exceptions-CmMd5DGH.mjs";
|
|
3
|
-
import { AgentDefinitionAudience, AgentSessionAudience, DeviceAudience, ObjectDefinition, ObjectRecord, PageAudience, RecordAudience } from "../objects-
|
|
3
|
+
import { AgentDefinitionAudience, AgentSessionAudience, DeviceAudience, ObjectDefinition, ObjectRecord, PageAudience, RecordAudience } from "../objects-Ddi_zEYp.mjs";
|
|
4
4
|
import { Attribute } from "../attributes-BgPCTw3y.mjs";
|
|
5
|
-
import { AIAvailableModel, AIGenerationResult, AIGenerationType, AccessCapabilities, AccessLevel, Actor, ActorStatus, ActorType, AgentAsideExchange, AgentConversationOverview, AgentDefinition, AgentDefinitionActivity, AgentDefinitionDailyActivity, AgentMemoryView, AgentMessageAttachment, AgentRun, AgentSession, AgentSessionHistoryPage, AgentSessionLink, AgentSessionMessage, AgentSessionMode, AgentTodoPlanView, AgentToolCatalog, AgentTriggerDefinition, AggregateGroupByInput, ApiKey, ApiKeyWithSecret, ArchitectProjection, ArtifactQuote, ArtifactRevisionView, AuditListOptions, AuditLogEntry, AuthorizedGlobalSearchResult, AuthorizedSearchPage, AvailableBundleSummary, BinaryResponse, BrowserProfileView, BundleAddPlan, BundleAddResult, ClassifyEmailResult, CloudBrowserLiveView, CollectionResponse, CollectionScreen, ConnectionView, ConnectorProvidersResult, ConnectorTriggerMatch, CreateAgentTriggerResult, CreatePermissionInput, CreateUserProfile, Decision, DecisionArchiveAllResult, DecisionAttachment, DecisionCounts, DecisionListParams, DecisionListResult, DecisionWithRecipient, DeviceDesktopStatus, DeviceShell, DictationAdmission, DictationCapabilities, DictationUsageSummary, Document, DocumentFile, DocumentRecordOwnerPage, DownloadedFile, DraftAppendCommand, DraftCommandGuard, DraftPublishCommand, EffectivePermissions, EmailCategory, EmailCategoryUsage, EmailSenderRule, EmailVerdict, EnvVarEntry, Environment, EnvironmentDetail, EnvironmentHarnessId, EnvironmentList, File, FileUrlsResponse, FilterGenerationInput, FormDefinition, FormRow, FormStatus, FormSubmission, FormulaGenerationInput, GeocodingAutocompleteParams, GeocodingSuggestion, GithubTriggerSender, GlobalSearchResultItem, HarnessModelList, HttpMethod, ImageModelCatalog, InstalledBundleSummary, LastPublication, LastPublishError, LoginSecretEntry, LogoSearchCandidate, MEETINGS_MAX_ONLY_CONNECTIONS, MailDraft, MailDraftAttachment, MailSignature, MailboxAccount, MailboxCursor, MailboxEmail, MailboxListResponse, MailboxLocation, MailboxQuery, MailboxReadState, MailboxThreadDetail, McpCatalogEntry, McpOAuthAttemptStarted, McpOAuthAttemptView, McpOAuthCompletionMode, McpServerView, Member, MentionReference, ModelDefinition, MoveImpact, MutationReceipt, MyPreferences, NativeToolGroup, NewsBody, NewsIndex, ObjectPermissions, Operation, OperationDefinition, OperationInput, OperationObjectPermission, OperationOutput, OperationParsedInput, OperationPermission, OperationResult, OperationStatus, OperationThrottle, OperationUpload, OutputType, PageData, PageRead, PageSummary, PathParams, Permission, PreferenceEntry, ProposalRevision, PublishBlocker, QuotaState, RecipientIdentity, RecipientSuggestion, RecordAggregates, RecordDocuments, RecordDriveChild, RecordDriveChildrenPage, RecordDriveSearchResult, RecordGraphNodeRef, RecordGraphRequest, RecordGraphResponse, RecordOperationResult, RecordScreen, RegexGenerationInput, RelationScope, ResolvedRecentActivity, Role, RoutineAudiencePreview, SchemaGroupList, SchemaState, SecretEntry, SessionApprovalMode, SessionImageUsage, SlackTriggerSender, SortGenerationInput, StartConnectorAuthResult, SubmitOutcome, SyncBundleInput, SyncBundleResult, SystemPermissions, TenantInvitation, TenantSettingsResponse, TriageResult, TriggerEventType, UploadedPart, UsageReport, UserProfile, UserStatus, ViewOperation, WalletState, meetingsOperations, meetingsQuery, meetingsQueryFields, operation, operationGroup, recordMeetingsBody, type } from "../index-
|
|
6
|
-
import { CollectionContentSource, FilterState, RecordQueryDefinition, SortRule, ViewRead } from "../all-
|
|
7
|
-
import { AddAttributeInput, CreateCustomObjectInput, RelationOption, RelationOptionsResponse, UpdateObjectInput } from "../index-
|
|
5
|
+
import { AIAvailableModel, AIGenerationResult, AIGenerationType, AccessCapabilities, AccessLevel, Actor, ActorStatus, ActorType, AgentAsideExchange, AgentConversationOverview, AgentDefinition, AgentDefinitionActivity, AgentDefinitionDailyActivity, AgentMemoryView, AgentMessageAttachment, AgentRun, AgentSession, AgentSessionHistoryPage, AgentSessionLink, AgentSessionMessage, AgentSessionMode, AgentTodoPlanView, AgentToolCatalog, AgentTriggerDefinition, AggregateGroupByInput, ApiKey, ApiKeyWithSecret, ArchitectProjection, ArtifactQuote, ArtifactRevisionView, AuditListOptions, AuditLogEntry, AuthorizedGlobalSearchResult, AuthorizedSearchPage, AvailableBundleSummary, BinaryResponse, BrowserProfileView, BundleAddPlan, BundleAddResult, ClassifyEmailResult, CloudBrowserLiveView, CollectionResponse, CollectionScreen, ConnectionView, ConnectorProvidersResult, ConnectorTriggerMatch, CreateAgentTriggerResult, CreatePermissionInput, CreateUserProfile, Decision, DecisionArchiveAllResult, DecisionAttachment, DecisionCounts, DecisionListParams, DecisionListResult, DecisionWithRecipient, DeviceDesktopStatus, DeviceShell, DictationAdmission, DictationCapabilities, DictationUsageSummary, Document, DocumentFile, DocumentRecordOwnerPage, DownloadedFile, DraftAppendCommand, DraftCommandGuard, DraftPublishCommand, EffectivePermissions, EmailCategory, EmailCategoryUsage, EmailSenderRule, EmailVerdict, EnvVarEntry, Environment, EnvironmentDetail, EnvironmentHarnessId, EnvironmentList, File, FileUrlsResponse, FilterGenerationInput, FormDefinition, FormRow, FormStatus, FormSubmission, FormulaGenerationInput, GeocodingAutocompleteParams, GeocodingSuggestion, GithubTriggerSender, GlobalSearchResultItem, HarnessModelList, HttpMethod, ImageModelCatalog, InstalledBundleSummary, LastPublication, LastPublishError, LoginSecretEntry, LogoSearchCandidate, MEETINGS_MAX_ONLY_CONNECTIONS, MailDraft, MailDraftAttachment, MailSignature, MailboxAccount, MailboxCursor, MailboxEmail, MailboxListResponse, MailboxLocation, MailboxQuery, MailboxReadState, MailboxThreadDetail, McpCatalogEntry, McpOAuthAttemptStarted, McpOAuthAttemptView, McpOAuthCompletionMode, McpServerView, Member, MentionReference, ModelDefinition, MoveImpact, MutationReceipt, MyPreferences, NativeToolGroup, NewsBody, NewsIndex, ObjectPermissions, Operation, OperationDefinition, OperationInput, OperationObjectPermission, OperationOutput, OperationParsedInput, OperationPermission, OperationResult, OperationStatus, OperationThrottle, OperationUpload, OutputType, PageData, PageRead, PageSummary, PathParams, Permission, PreferenceEntry, ProposalRevision, PublishBlocker, QuotaState, RecipientIdentity, RecipientSuggestion, RecordAggregates, RecordDocuments, RecordDriveChild, RecordDriveChildrenPage, RecordDriveSearchResult, RecordGraphNodeRef, RecordGraphRequest, RecordGraphResponse, RecordOperationResult, RecordScreen, RegexGenerationInput, RelationScope, ResolvedRecentActivity, Role, RoutineAudiencePreview, SchemaGroupList, SchemaState, SecretEntry, SessionApprovalMode, SessionImageUsage, SlackTriggerSender, SortGenerationInput, StartConnectorAuthResult, SubmitOutcome, SyncBundleInput, SyncBundleResult, SystemPermissions, TenantInvitation, TenantSettingsResponse, TriageResult, TriggerEventType, UploadedPart, UsageReport, UserProfile, UserStatus, ViewOperation, WalletState, meetingsOperations, meetingsQuery, meetingsQueryFields, operation, operationGroup, recordMeetingsBody, type } from "../index-DeUkwS45.mjs";
|
|
6
|
+
import { CollectionContentSource, FilterState, RecordQueryDefinition, SortRule, ViewRead } from "../all-B802p9b-.mjs";
|
|
7
|
+
import { AddAttributeInput, CreateCustomObjectInput, RelationOption, RelationOptionsResponse, UpdateObjectInput } from "../index-CpWy2-oS.mjs";
|
|
8
8
|
import * as z$2 from "zod";
|
|
9
9
|
//#region src/api/path.d.ts
|
|
10
10
|
/**
|
|
@@ -842,6 +842,26 @@ export declare const decisionsOperations: {
|
|
|
842
842
|
readonly output: OutputType<DecisionWithRecipient>;
|
|
843
843
|
readonly status: 200;
|
|
844
844
|
}>;
|
|
845
|
+
/**
|
|
846
|
+
* « Transférer » (#6451): the caller hands their own open row of a
|
|
847
|
+
* `question` to `to`, an active person, who gets a pending row of the same
|
|
848
|
+
* decision; the caller's row closes `dismissed`, its reason recorded in
|
|
849
|
+
* `payload.transfers`. Returns the caller's closed row. Another's row: 404;
|
|
850
|
+
* no longer open: `STATE_GATE`; a kind or type that cannot be handed over,
|
|
851
|
+
* a target its type refuses, a target already asked, or an attachment the
|
|
852
|
+
* caller may not share: `ValidationError`.
|
|
853
|
+
*/
|
|
854
|
+
transfer: Operation<{
|
|
855
|
+
readonly name: "decisions.transfer";
|
|
856
|
+
readonly method: "POST";
|
|
857
|
+
readonly path: "/decisions/:recipientId/transfer";
|
|
858
|
+
readonly input: z$2.ZodObject<{
|
|
859
|
+
recipientId: z$2.ZodGUID;
|
|
860
|
+
to: z$2.ZodGUID;
|
|
861
|
+
}, z$2.core.$strip>;
|
|
862
|
+
readonly output: OutputType<DecisionWithRecipient>;
|
|
863
|
+
readonly status: 200;
|
|
864
|
+
}>;
|
|
845
865
|
/** « Plus tard » (§ 6): an open decision leaves « À trancher » until `until`. */
|
|
846
866
|
snooze: Operation<{
|
|
847
867
|
readonly name: "decisions.snooze";
|
|
@@ -4107,14 +4127,20 @@ export declare const formsOperations: {
|
|
|
4107
4127
|
//#region src/api/relations.operations.d.ts
|
|
4108
4128
|
/** `POST /relations/resolve` — the ids of one relation attribute to label. */
|
|
4109
4129
|
export declare const resolveRelationsBody: z$2.ZodObject<{
|
|
4110
|
-
attributeId: z$2.ZodString
|
|
4130
|
+
attributeId: z$2.ZodUnion<readonly [z$2.ZodString, z$2.ZodEnum<{
|
|
4131
|
+
"hierarchy:parentId": "hierarchy:parentId";
|
|
4132
|
+
"hierarchy:childIds": "hierarchy:childIds";
|
|
4133
|
+
}>]>;
|
|
4111
4134
|
ids: z$2.ZodDefault<z$2.ZodArray<z$2.ZodString>>;
|
|
4112
4135
|
}, z$2.core.$strip>;
|
|
4113
4136
|
export type ResolveRelationsBody = z$2.infer<typeof resolveRelationsBody>;
|
|
4114
4137
|
/** `POST /relations/resolve-batch` — several attributes' ids in one call. */
|
|
4115
4138
|
export declare const resolveRelationsBatchBody: z$2.ZodObject<{
|
|
4116
4139
|
requests: z$2.ZodArray<z$2.ZodObject<{
|
|
4117
|
-
attributeId: z$2.ZodString
|
|
4140
|
+
attributeId: z$2.ZodUnion<readonly [z$2.ZodString, z$2.ZodEnum<{
|
|
4141
|
+
"hierarchy:parentId": "hierarchy:parentId";
|
|
4142
|
+
"hierarchy:childIds": "hierarchy:childIds";
|
|
4143
|
+
}>]>;
|
|
4118
4144
|
ids: z$2.ZodArray<z$2.ZodString>;
|
|
4119
4145
|
}, z$2.core.$strip>>;
|
|
4120
4146
|
}, z$2.core.$strip>;
|
|
@@ -4164,7 +4190,10 @@ export declare const relationsOperations: {
|
|
|
4164
4190
|
readonly method: "POST";
|
|
4165
4191
|
readonly path: "/relations/resolve";
|
|
4166
4192
|
readonly input: z$2.ZodObject<{
|
|
4167
|
-
attributeId: z$2.ZodString
|
|
4193
|
+
attributeId: z$2.ZodUnion<readonly [z$2.ZodString, z$2.ZodEnum<{
|
|
4194
|
+
"hierarchy:parentId": "hierarchy:parentId";
|
|
4195
|
+
"hierarchy:childIds": "hierarchy:childIds";
|
|
4196
|
+
}>]>;
|
|
4168
4197
|
ids: z$2.ZodDefault<z$2.ZodArray<z$2.ZodString>>;
|
|
4169
4198
|
}, z$2.core.$strip>;
|
|
4170
4199
|
readonly output: OutputType<RelationOption[]>;
|
|
@@ -4176,7 +4205,10 @@ export declare const relationsOperations: {
|
|
|
4176
4205
|
readonly path: "/relations/resolve-batch";
|
|
4177
4206
|
readonly input: z$2.ZodObject<{
|
|
4178
4207
|
requests: z$2.ZodArray<z$2.ZodObject<{
|
|
4179
|
-
attributeId: z$2.ZodString
|
|
4208
|
+
attributeId: z$2.ZodUnion<readonly [z$2.ZodString, z$2.ZodEnum<{
|
|
4209
|
+
"hierarchy:parentId": "hierarchy:parentId";
|
|
4210
|
+
"hierarchy:childIds": "hierarchy:childIds";
|
|
4211
|
+
}>]>;
|
|
4180
4212
|
ids: z$2.ZodArray<z$2.ZodString>;
|
|
4181
4213
|
}, z$2.core.$strip>>;
|
|
4182
4214
|
}, z$2.core.$strip>;
|
|
@@ -4263,6 +4295,107 @@ export declare const searchOperations: {
|
|
|
4263
4295
|
}>;
|
|
4264
4296
|
};
|
|
4265
4297
|
//#endregion
|
|
4298
|
+
//#region src/api/skills.operations.d.ts
|
|
4299
|
+
/**
|
|
4300
|
+
* One file of an exported skill folder, at its path relative to the folder:
|
|
4301
|
+
* UTF-8 text as `content`, any other bytes as a signed `url`.
|
|
4302
|
+
*/
|
|
4303
|
+
export type ExportedSkillFile = {
|
|
4304
|
+
path: string;
|
|
4305
|
+
} & ({
|
|
4306
|
+
content: string;
|
|
4307
|
+
} | {
|
|
4308
|
+
url: string;
|
|
4309
|
+
});
|
|
4310
|
+
/** A skill as an Agent Skills folder: `SKILL.md` first, then every file of its drive. */
|
|
4311
|
+
export interface ExportedSkillFolder {
|
|
4312
|
+
name: string;
|
|
4313
|
+
files: ExportedSkillFile[];
|
|
4314
|
+
}
|
|
4315
|
+
export interface ExportSkillsResult {
|
|
4316
|
+
folders: ExportedSkillFolder[];
|
|
4317
|
+
}
|
|
4318
|
+
/** `POST /skills/export`: the named skills, or every skill the caller can open. */
|
|
4319
|
+
export declare const exportSkillsBody: z$2.ZodObject<{
|
|
4320
|
+
names: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
|
|
4321
|
+
}, z$2.core.$strip>;
|
|
4322
|
+
export type ExportSkillsBody = z$2.infer<typeof exportSkillsBody>;
|
|
4323
|
+
/**
|
|
4324
|
+
* `POST /skills/import`: every folder is checked before anything is written,
|
|
4325
|
+
* and one invalid folder refuses the whole import. `onConflict: "replace"`
|
|
4326
|
+
* makes the skill a name reads equal to its folder; `"fail"` refuses a name
|
|
4327
|
+
* already held.
|
|
4328
|
+
*/
|
|
4329
|
+
export declare const importSkillsBody: z$2.ZodObject<{
|
|
4330
|
+
folders: z$2.ZodArray<z$2.ZodObject<{
|
|
4331
|
+
name: z$2.ZodString;
|
|
4332
|
+
files: z$2.ZodArray<z$2.ZodObject<{
|
|
4333
|
+
path: z$2.ZodString;
|
|
4334
|
+
content: z$2.ZodOptional<z$2.ZodString>;
|
|
4335
|
+
fileId: z$2.ZodOptional<z$2.ZodString>;
|
|
4336
|
+
}, z$2.core.$strip>>;
|
|
4337
|
+
}, z$2.core.$strip>>;
|
|
4338
|
+
onConflict: z$2.ZodEnum<{
|
|
4339
|
+
replace: "replace";
|
|
4340
|
+
fail: "fail";
|
|
4341
|
+
}>;
|
|
4342
|
+
}, z$2.core.$strip>;
|
|
4343
|
+
export type ImportSkillsBody = z$2.infer<typeof importSkillsBody>;
|
|
4344
|
+
export interface ImportSkillsResult {
|
|
4345
|
+
/** Names of the skills created, in the order they were written (parents first). */
|
|
4346
|
+
created: string[];
|
|
4347
|
+
/** Names of the skills whose record was rewritten from its folder. */
|
|
4348
|
+
replaced: string[];
|
|
4349
|
+
/** Each folder's warnings, and the other skills sharing a replaced name. */
|
|
4350
|
+
warnings: string[];
|
|
4351
|
+
}
|
|
4352
|
+
/**
|
|
4353
|
+
* Skills as Agent Skills folders (spec 2026-11-02 § 3). Gated on the `skill`
|
|
4354
|
+
* object: export reads it, import creates (a replaced skill is also judged
|
|
4355
|
+
* `update` by the record write itself).
|
|
4356
|
+
*/
|
|
4357
|
+
export declare const skillsOperations: {
|
|
4358
|
+
readonly export: Operation<{
|
|
4359
|
+
readonly name: "skills.export";
|
|
4360
|
+
readonly method: "POST";
|
|
4361
|
+
readonly path: "/skills/export";
|
|
4362
|
+
readonly input: z$2.ZodObject<{
|
|
4363
|
+
names: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
|
|
4364
|
+
}, z$2.core.$strip>;
|
|
4365
|
+
readonly output: OutputType<ExportSkillsResult>;
|
|
4366
|
+
readonly status: 200;
|
|
4367
|
+
readonly objectPermission: {
|
|
4368
|
+
readonly object: "skill";
|
|
4369
|
+
readonly action: "read";
|
|
4370
|
+
};
|
|
4371
|
+
}>;
|
|
4372
|
+
readonly import: Operation<{
|
|
4373
|
+
readonly name: "skills.import";
|
|
4374
|
+
readonly method: "POST";
|
|
4375
|
+
readonly path: "/skills/import";
|
|
4376
|
+
readonly input: z$2.ZodObject<{
|
|
4377
|
+
folders: z$2.ZodArray<z$2.ZodObject<{
|
|
4378
|
+
name: z$2.ZodString;
|
|
4379
|
+
files: z$2.ZodArray<z$2.ZodObject<{
|
|
4380
|
+
path: z$2.ZodString;
|
|
4381
|
+
content: z$2.ZodOptional<z$2.ZodString>;
|
|
4382
|
+
fileId: z$2.ZodOptional<z$2.ZodString>;
|
|
4383
|
+
}, z$2.core.$strip>>;
|
|
4384
|
+
}, z$2.core.$strip>>;
|
|
4385
|
+
onConflict: z$2.ZodEnum<{
|
|
4386
|
+
replace: "replace";
|
|
4387
|
+
fail: "fail";
|
|
4388
|
+
}>;
|
|
4389
|
+
}, z$2.core.$strip>;
|
|
4390
|
+
readonly output: OutputType<ImportSkillsResult>;
|
|
4391
|
+
readonly status: 200;
|
|
4392
|
+
readonly objectPermission: {
|
|
4393
|
+
readonly object: "skill";
|
|
4394
|
+
readonly action: "create";
|
|
4395
|
+
};
|
|
4396
|
+
}>;
|
|
4397
|
+
};
|
|
4398
|
+
//#endregion
|
|
4266
4399
|
//#region src/api/recent-activity.operations.d.ts
|
|
4267
4400
|
/** `POST /recent-activity/resolve` — the ledger to resolve. */
|
|
4268
4401
|
export declare const resolveRecentActivityBody: z$2.ZodObject<{
|
|
@@ -5663,8 +5796,8 @@ export declare const createDefinitionBody: z$2.ZodObject<{
|
|
|
5663
5796
|
model: z$2.ZodObject<{
|
|
5664
5797
|
provider: z$2.ZodEnum<{
|
|
5665
5798
|
cursor: "cursor";
|
|
5666
|
-
anthropic: "anthropic";
|
|
5667
5799
|
openai: "openai";
|
|
5800
|
+
anthropic: "anthropic";
|
|
5668
5801
|
google: "google";
|
|
5669
5802
|
spacexai: "spacexai";
|
|
5670
5803
|
deepseek: "deepseek";
|
|
@@ -5729,8 +5862,8 @@ export declare const createDefinitionBody: z$2.ZodObject<{
|
|
|
5729
5862
|
model: z$2.ZodOptional<z$2.ZodObject<{
|
|
5730
5863
|
provider: z$2.ZodEnum<{
|
|
5731
5864
|
cursor: "cursor";
|
|
5732
|
-
anthropic: "anthropic";
|
|
5733
5865
|
openai: "openai";
|
|
5866
|
+
anthropic: "anthropic";
|
|
5734
5867
|
google: "google";
|
|
5735
5868
|
spacexai: "spacexai";
|
|
5736
5869
|
deepseek: "deepseek";
|
|
@@ -5807,8 +5940,8 @@ export declare const updateDefinitionBody: z$2.ZodObject<{
|
|
|
5807
5940
|
model: z$2.ZodOptional<z$2.ZodObject<{
|
|
5808
5941
|
provider: z$2.ZodEnum<{
|
|
5809
5942
|
cursor: "cursor";
|
|
5810
|
-
anthropic: "anthropic";
|
|
5811
5943
|
openai: "openai";
|
|
5944
|
+
anthropic: "anthropic";
|
|
5812
5945
|
google: "google";
|
|
5813
5946
|
spacexai: "spacexai";
|
|
5814
5947
|
deepseek: "deepseek";
|
|
@@ -5873,8 +6006,8 @@ export declare const updateDefinitionBody: z$2.ZodObject<{
|
|
|
5873
6006
|
model: z$2.ZodOptional<z$2.ZodObject<{
|
|
5874
6007
|
provider: z$2.ZodEnum<{
|
|
5875
6008
|
cursor: "cursor";
|
|
5876
|
-
anthropic: "anthropic";
|
|
5877
6009
|
openai: "openai";
|
|
6010
|
+
anthropic: "anthropic";
|
|
5878
6011
|
google: "google";
|
|
5879
6012
|
spacexai: "spacexai";
|
|
5880
6013
|
deepseek: "deepseek";
|
|
@@ -5950,17 +6083,11 @@ export declare const applySetupBody: z$2.ZodObject<{
|
|
|
5950
6083
|
private: "private";
|
|
5951
6084
|
}>>;
|
|
5952
6085
|
name: z$2.ZodOptional<z$2.ZodString>;
|
|
5953
|
-
harness: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodEnum<{
|
|
5954
|
-
cursor: "cursor";
|
|
5955
|
-
"claude-code": "claude-code";
|
|
5956
|
-
codex: "codex";
|
|
5957
|
-
}>>>;
|
|
5958
|
-
mcpServers: z$2.ZodOptional<z$2.ZodNever>;
|
|
5959
6086
|
model: z$2.ZodOptional<z$2.ZodObject<{
|
|
5960
6087
|
provider: z$2.ZodEnum<{
|
|
5961
6088
|
cursor: "cursor";
|
|
5962
|
-
anthropic: "anthropic";
|
|
5963
6089
|
openai: "openai";
|
|
6090
|
+
anthropic: "anthropic";
|
|
5964
6091
|
google: "google";
|
|
5965
6092
|
spacexai: "spacexai";
|
|
5966
6093
|
deepseek: "deepseek";
|
|
@@ -5974,36 +6101,12 @@ export declare const applySetupBody: z$2.ZodObject<{
|
|
|
5974
6101
|
model: z$2.ZodString;
|
|
5975
6102
|
maxTokens: z$2.ZodOptional<z$2.ZodNumber>;
|
|
5976
6103
|
}, z$2.core.$strip>>;
|
|
5977
|
-
|
|
5978
|
-
|
|
5979
|
-
|
|
5980
|
-
|
|
5981
|
-
|
|
5982
|
-
|
|
5983
|
-
provider: z$2.ZodEnum<{
|
|
5984
|
-
cursor: "cursor";
|
|
5985
|
-
anthropic: "anthropic";
|
|
5986
|
-
openai: "openai";
|
|
5987
|
-
google: "google";
|
|
5988
|
-
spacexai: "spacexai";
|
|
5989
|
-
deepseek: "deepseek";
|
|
5990
|
-
moonshotai: "moonshotai";
|
|
5991
|
-
alibaba: "alibaba";
|
|
5992
|
-
mistral: "mistral";
|
|
5993
|
-
minimax: "minimax";
|
|
5994
|
-
meta: "meta";
|
|
5995
|
-
zai: "zai";
|
|
5996
|
-
}>;
|
|
5997
|
-
model: z$2.ZodString;
|
|
5998
|
-
maxTokens: z$2.ZodOptional<z$2.ZodNumber>;
|
|
5999
|
-
}, z$2.core.$strip>>;
|
|
6000
|
-
systemPrompt: z$2.ZodOptional<z$2.ZodString>;
|
|
6001
|
-
maxRetries: z$2.ZodOptional<z$2.ZodNumber>;
|
|
6002
|
-
}, z$2.core.$strip>>>;
|
|
6003
|
-
toolGroups: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
|
|
6004
|
-
environmentId: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodGUID>>;
|
|
6005
|
-
tools: z$2.ZodOptional<z$2.ZodNever>;
|
|
6006
|
-
canDelegate: z$2.ZodOptional<z$2.ZodNever>;
|
|
6104
|
+
harness: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodEnum<{
|
|
6105
|
+
cursor: "cursor";
|
|
6106
|
+
"claude-code": "claude-code";
|
|
6107
|
+
codex: "codex";
|
|
6108
|
+
}>>>;
|
|
6109
|
+
mcpServers: z$2.ZodOptional<z$2.ZodNever>;
|
|
6007
6110
|
avatar: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodObject<{
|
|
6008
6111
|
type: z$2.ZodEnum<{
|
|
6009
6112
|
circle: "circle";
|
|
@@ -6038,7 +6141,37 @@ export declare const applySetupBody: z$2.ZodObject<{
|
|
|
6038
6141
|
}>>;
|
|
6039
6142
|
}, z$2.core.$strict>>>;
|
|
6040
6143
|
starters: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodArray<z$2.ZodString>>>;
|
|
6144
|
+
systemPrompt: z$2.ZodOptional<z$2.ZodString>;
|
|
6145
|
+
toolGroups: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
|
|
6146
|
+
maxDepth: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodNumber>>;
|
|
6147
|
+
maxTreeCostUsd: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodNumber>>;
|
|
6148
|
+
critic: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodObject<{
|
|
6149
|
+
enabled: z$2.ZodBoolean;
|
|
6150
|
+
model: z$2.ZodOptional<z$2.ZodObject<{
|
|
6151
|
+
provider: z$2.ZodEnum<{
|
|
6152
|
+
cursor: "cursor";
|
|
6153
|
+
openai: "openai";
|
|
6154
|
+
anthropic: "anthropic";
|
|
6155
|
+
google: "google";
|
|
6156
|
+
spacexai: "spacexai";
|
|
6157
|
+
deepseek: "deepseek";
|
|
6158
|
+
moonshotai: "moonshotai";
|
|
6159
|
+
alibaba: "alibaba";
|
|
6160
|
+
mistral: "mistral";
|
|
6161
|
+
minimax: "minimax";
|
|
6162
|
+
meta: "meta";
|
|
6163
|
+
zai: "zai";
|
|
6164
|
+
}>;
|
|
6165
|
+
model: z$2.ZodString;
|
|
6166
|
+
maxTokens: z$2.ZodOptional<z$2.ZodNumber>;
|
|
6167
|
+
}, z$2.core.$strip>>;
|
|
6168
|
+
systemPrompt: z$2.ZodOptional<z$2.ZodString>;
|
|
6169
|
+
maxRetries: z$2.ZodOptional<z$2.ZodNumber>;
|
|
6170
|
+
}, z$2.core.$strip>>>;
|
|
6041
6171
|
autoDecide: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodBoolean>>;
|
|
6172
|
+
environmentId: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodGUID>>;
|
|
6173
|
+
tools: z$2.ZodOptional<z$2.ZodNever>;
|
|
6174
|
+
canDelegate: z$2.ZodOptional<z$2.ZodNever>;
|
|
6042
6175
|
kind: z$2.ZodOptional<z$2.ZodEnum<{
|
|
6043
6176
|
agent: "agent";
|
|
6044
6177
|
routine: "routine";
|
|
@@ -6231,7 +6364,7 @@ export declare const applySetupBody: z$2.ZodObject<{
|
|
|
6231
6364
|
})[];
|
|
6232
6365
|
} | {
|
|
6233
6366
|
family: "workflow";
|
|
6234
|
-
actions: ("in_progress" | "
|
|
6367
|
+
actions: ("in_progress" | "requested" | "completed")[];
|
|
6235
6368
|
repositories: string[];
|
|
6236
6369
|
sender: GithubTriggerSender;
|
|
6237
6370
|
conditions: ({
|
|
@@ -6509,7 +6642,7 @@ export declare const applySetupBody: z$2.ZodObject<{
|
|
|
6509
6642
|
})[];
|
|
6510
6643
|
} | {
|
|
6511
6644
|
family: "workflow";
|
|
6512
|
-
actions: ("in_progress" | "
|
|
6645
|
+
actions: ("in_progress" | "requested" | "completed")[];
|
|
6513
6646
|
repositories: string[];
|
|
6514
6647
|
sender: GithubTriggerSender;
|
|
6515
6648
|
conditions: ({
|
|
@@ -6747,17 +6880,11 @@ export declare const agentDefinitionsOperations: {
|
|
|
6747
6880
|
private: "private";
|
|
6748
6881
|
}>>;
|
|
6749
6882
|
name: z$2.ZodOptional<z$2.ZodString>;
|
|
6750
|
-
harness: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodEnum<{
|
|
6751
|
-
cursor: "cursor";
|
|
6752
|
-
"claude-code": "claude-code";
|
|
6753
|
-
codex: "codex";
|
|
6754
|
-
}>>>;
|
|
6755
|
-
mcpServers: z$2.ZodOptional<z$2.ZodNever>;
|
|
6756
6883
|
model: z$2.ZodOptional<z$2.ZodObject<{
|
|
6757
6884
|
provider: z$2.ZodEnum<{
|
|
6758
6885
|
cursor: "cursor";
|
|
6759
|
-
anthropic: "anthropic";
|
|
6760
6886
|
openai: "openai";
|
|
6887
|
+
anthropic: "anthropic";
|
|
6761
6888
|
google: "google";
|
|
6762
6889
|
spacexai: "spacexai";
|
|
6763
6890
|
deepseek: "deepseek";
|
|
@@ -6771,36 +6898,12 @@ export declare const agentDefinitionsOperations: {
|
|
|
6771
6898
|
model: z$2.ZodString;
|
|
6772
6899
|
maxTokens: z$2.ZodOptional<z$2.ZodNumber>;
|
|
6773
6900
|
}, z$2.core.$strip>>;
|
|
6774
|
-
|
|
6775
|
-
|
|
6776
|
-
|
|
6777
|
-
|
|
6778
|
-
|
|
6779
|
-
|
|
6780
|
-
provider: z$2.ZodEnum<{
|
|
6781
|
-
cursor: "cursor";
|
|
6782
|
-
anthropic: "anthropic";
|
|
6783
|
-
openai: "openai";
|
|
6784
|
-
google: "google";
|
|
6785
|
-
spacexai: "spacexai";
|
|
6786
|
-
deepseek: "deepseek";
|
|
6787
|
-
moonshotai: "moonshotai";
|
|
6788
|
-
alibaba: "alibaba";
|
|
6789
|
-
mistral: "mistral";
|
|
6790
|
-
minimax: "minimax";
|
|
6791
|
-
meta: "meta";
|
|
6792
|
-
zai: "zai";
|
|
6793
|
-
}>;
|
|
6794
|
-
model: z$2.ZodString;
|
|
6795
|
-
maxTokens: z$2.ZodOptional<z$2.ZodNumber>;
|
|
6796
|
-
}, z$2.core.$strip>>;
|
|
6797
|
-
systemPrompt: z$2.ZodOptional<z$2.ZodString>;
|
|
6798
|
-
maxRetries: z$2.ZodOptional<z$2.ZodNumber>;
|
|
6799
|
-
}, z$2.core.$strip>>>;
|
|
6800
|
-
toolGroups: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
|
|
6801
|
-
environmentId: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodGUID>>;
|
|
6802
|
-
tools: z$2.ZodOptional<z$2.ZodNever>;
|
|
6803
|
-
canDelegate: z$2.ZodOptional<z$2.ZodNever>;
|
|
6901
|
+
harness: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodEnum<{
|
|
6902
|
+
cursor: "cursor";
|
|
6903
|
+
"claude-code": "claude-code";
|
|
6904
|
+
codex: "codex";
|
|
6905
|
+
}>>>;
|
|
6906
|
+
mcpServers: z$2.ZodOptional<z$2.ZodNever>;
|
|
6804
6907
|
avatar: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodObject<{
|
|
6805
6908
|
type: z$2.ZodEnum<{
|
|
6806
6909
|
circle: "circle";
|
|
@@ -6835,7 +6938,37 @@ export declare const agentDefinitionsOperations: {
|
|
|
6835
6938
|
}>>;
|
|
6836
6939
|
}, z$2.core.$strict>>>;
|
|
6837
6940
|
starters: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodArray<z$2.ZodString>>>;
|
|
6941
|
+
systemPrompt: z$2.ZodOptional<z$2.ZodString>;
|
|
6942
|
+
toolGroups: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
|
|
6943
|
+
maxDepth: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodNumber>>;
|
|
6944
|
+
maxTreeCostUsd: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodNumber>>;
|
|
6945
|
+
critic: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodObject<{
|
|
6946
|
+
enabled: z$2.ZodBoolean;
|
|
6947
|
+
model: z$2.ZodOptional<z$2.ZodObject<{
|
|
6948
|
+
provider: z$2.ZodEnum<{
|
|
6949
|
+
cursor: "cursor";
|
|
6950
|
+
openai: "openai";
|
|
6951
|
+
anthropic: "anthropic";
|
|
6952
|
+
google: "google";
|
|
6953
|
+
spacexai: "spacexai";
|
|
6954
|
+
deepseek: "deepseek";
|
|
6955
|
+
moonshotai: "moonshotai";
|
|
6956
|
+
alibaba: "alibaba";
|
|
6957
|
+
mistral: "mistral";
|
|
6958
|
+
minimax: "minimax";
|
|
6959
|
+
meta: "meta";
|
|
6960
|
+
zai: "zai";
|
|
6961
|
+
}>;
|
|
6962
|
+
model: z$2.ZodString;
|
|
6963
|
+
maxTokens: z$2.ZodOptional<z$2.ZodNumber>;
|
|
6964
|
+
}, z$2.core.$strip>>;
|
|
6965
|
+
systemPrompt: z$2.ZodOptional<z$2.ZodString>;
|
|
6966
|
+
maxRetries: z$2.ZodOptional<z$2.ZodNumber>;
|
|
6967
|
+
}, z$2.core.$strip>>>;
|
|
6838
6968
|
autoDecide: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodBoolean>>;
|
|
6969
|
+
environmentId: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodGUID>>;
|
|
6970
|
+
tools: z$2.ZodOptional<z$2.ZodNever>;
|
|
6971
|
+
canDelegate: z$2.ZodOptional<z$2.ZodNever>;
|
|
6839
6972
|
kind: z$2.ZodOptional<z$2.ZodEnum<{
|
|
6840
6973
|
agent: "agent";
|
|
6841
6974
|
routine: "routine";
|
|
@@ -7028,7 +7161,7 @@ export declare const agentDefinitionsOperations: {
|
|
|
7028
7161
|
})[];
|
|
7029
7162
|
} | {
|
|
7030
7163
|
family: "workflow";
|
|
7031
|
-
actions: ("in_progress" | "
|
|
7164
|
+
actions: ("in_progress" | "requested" | "completed")[];
|
|
7032
7165
|
repositories: string[];
|
|
7033
7166
|
sender: GithubTriggerSender;
|
|
7034
7167
|
conditions: ({
|
|
@@ -7306,7 +7439,7 @@ export declare const agentDefinitionsOperations: {
|
|
|
7306
7439
|
})[];
|
|
7307
7440
|
} | {
|
|
7308
7441
|
family: "workflow";
|
|
7309
|
-
actions: ("in_progress" | "
|
|
7442
|
+
actions: ("in_progress" | "requested" | "completed")[];
|
|
7310
7443
|
repositories: string[];
|
|
7311
7444
|
sender: GithubTriggerSender;
|
|
7312
7445
|
conditions: ({
|
|
@@ -7506,8 +7639,8 @@ export declare const agentDefinitionsOperations: {
|
|
|
7506
7639
|
model: z$2.ZodObject<{
|
|
7507
7640
|
provider: z$2.ZodEnum<{
|
|
7508
7641
|
cursor: "cursor";
|
|
7509
|
-
anthropic: "anthropic";
|
|
7510
7642
|
openai: "openai";
|
|
7643
|
+
anthropic: "anthropic";
|
|
7511
7644
|
google: "google";
|
|
7512
7645
|
spacexai: "spacexai";
|
|
7513
7646
|
deepseek: "deepseek";
|
|
@@ -7572,8 +7705,8 @@ export declare const agentDefinitionsOperations: {
|
|
|
7572
7705
|
model: z$2.ZodOptional<z$2.ZodObject<{
|
|
7573
7706
|
provider: z$2.ZodEnum<{
|
|
7574
7707
|
cursor: "cursor";
|
|
7575
|
-
anthropic: "anthropic";
|
|
7576
7708
|
openai: "openai";
|
|
7709
|
+
anthropic: "anthropic";
|
|
7577
7710
|
google: "google";
|
|
7578
7711
|
spacexai: "spacexai";
|
|
7579
7712
|
deepseek: "deepseek";
|
|
@@ -7662,8 +7795,8 @@ export declare const agentDefinitionsOperations: {
|
|
|
7662
7795
|
model: z$2.ZodOptional<z$2.ZodObject<{
|
|
7663
7796
|
provider: z$2.ZodEnum<{
|
|
7664
7797
|
cursor: "cursor";
|
|
7665
|
-
anthropic: "anthropic";
|
|
7666
7798
|
openai: "openai";
|
|
7799
|
+
anthropic: "anthropic";
|
|
7667
7800
|
google: "google";
|
|
7668
7801
|
spacexai: "spacexai";
|
|
7669
7802
|
deepseek: "deepseek";
|
|
@@ -7728,8 +7861,8 @@ export declare const agentDefinitionsOperations: {
|
|
|
7728
7861
|
model: z$2.ZodOptional<z$2.ZodObject<{
|
|
7729
7862
|
provider: z$2.ZodEnum<{
|
|
7730
7863
|
cursor: "cursor";
|
|
7731
|
-
anthropic: "anthropic";
|
|
7732
7864
|
openai: "openai";
|
|
7865
|
+
anthropic: "anthropic";
|
|
7733
7866
|
google: "google";
|
|
7734
7867
|
spacexai: "spacexai";
|
|
7735
7868
|
deepseek: "deepseek";
|
|
@@ -7896,11 +8029,11 @@ export declare const listRunsQuery: z$2.ZodObject<{
|
|
|
7896
8029
|
routine: "routine";
|
|
7897
8030
|
}>>;
|
|
7898
8031
|
status: z$2.ZodOptional<z$2.ZodEnum<{
|
|
7899
|
-
running: "running";
|
|
7900
8032
|
completed: "completed";
|
|
8033
|
+
pending: "pending";
|
|
8034
|
+
running: "running";
|
|
7901
8035
|
failed: "failed";
|
|
7902
8036
|
cancelled: "cancelled";
|
|
7903
|
-
pending: "pending";
|
|
7904
8037
|
paused: "paused";
|
|
7905
8038
|
}>>;
|
|
7906
8039
|
limit: z$2.ZodOptional<z$2.ZodCoercedNumber<unknown>>;
|
|
@@ -7935,11 +8068,11 @@ export declare const agentRunsOperations: {
|
|
|
7935
8068
|
routine: "routine";
|
|
7936
8069
|
}>>;
|
|
7937
8070
|
status: z$2.ZodOptional<z$2.ZodEnum<{
|
|
7938
|
-
running: "running";
|
|
7939
8071
|
completed: "completed";
|
|
8072
|
+
pending: "pending";
|
|
8073
|
+
running: "running";
|
|
7940
8074
|
failed: "failed";
|
|
7941
8075
|
cancelled: "cancelled";
|
|
7942
|
-
pending: "pending";
|
|
7943
8076
|
paused: "paused";
|
|
7944
8077
|
}>>;
|
|
7945
8078
|
limit: z$2.ZodOptional<z$2.ZodCoercedNumber<unknown>>;
|
|
@@ -8142,7 +8275,7 @@ export declare const createTriggerBody: z$2.ZodType<{
|
|
|
8142
8275
|
})[];
|
|
8143
8276
|
} | {
|
|
8144
8277
|
family: "workflow";
|
|
8145
|
-
actions: ("in_progress" | "
|
|
8278
|
+
actions: ("in_progress" | "requested" | "completed")[];
|
|
8146
8279
|
repositories: string[];
|
|
8147
8280
|
sender: GithubTriggerSender;
|
|
8148
8281
|
conditions: ({
|
|
@@ -8421,7 +8554,7 @@ export declare const createTriggerBody: z$2.ZodType<{
|
|
|
8421
8554
|
})[];
|
|
8422
8555
|
} | {
|
|
8423
8556
|
family: "workflow";
|
|
8424
|
-
actions: ("in_progress" | "
|
|
8557
|
+
actions: ("in_progress" | "requested" | "completed")[];
|
|
8425
8558
|
repositories: string[];
|
|
8426
8559
|
sender: GithubTriggerSender;
|
|
8427
8560
|
conditions: ({
|
|
@@ -8846,7 +8979,7 @@ export declare const updateTriggerBody: z$2.ZodObject<{
|
|
|
8846
8979
|
})[];
|
|
8847
8980
|
} | {
|
|
8848
8981
|
family: "workflow";
|
|
8849
|
-
actions: ("in_progress" | "
|
|
8982
|
+
actions: ("in_progress" | "requested" | "completed")[];
|
|
8850
8983
|
repositories: string[];
|
|
8851
8984
|
sender: GithubTriggerSender;
|
|
8852
8985
|
conditions: ({
|
|
@@ -9332,7 +9465,7 @@ export declare const agentTriggersOperations: {
|
|
|
9332
9465
|
})[];
|
|
9333
9466
|
} | {
|
|
9334
9467
|
family: "workflow";
|
|
9335
|
-
actions: ("in_progress" | "
|
|
9468
|
+
actions: ("in_progress" | "requested" | "completed")[];
|
|
9336
9469
|
repositories: string[];
|
|
9337
9470
|
sender: GithubTriggerSender;
|
|
9338
9471
|
conditions: ({
|
|
@@ -9611,7 +9744,7 @@ export declare const agentTriggersOperations: {
|
|
|
9611
9744
|
})[];
|
|
9612
9745
|
} | {
|
|
9613
9746
|
family: "workflow";
|
|
9614
|
-
actions: ("in_progress" | "
|
|
9747
|
+
actions: ("in_progress" | "requested" | "completed")[];
|
|
9615
9748
|
repositories: string[];
|
|
9616
9749
|
sender: GithubTriggerSender;
|
|
9617
9750
|
conditions: ({
|
|
@@ -10068,7 +10201,7 @@ export declare const agentTriggersOperations: {
|
|
|
10068
10201
|
})[];
|
|
10069
10202
|
} | {
|
|
10070
10203
|
family: "workflow";
|
|
10071
|
-
actions: ("in_progress" | "
|
|
10204
|
+
actions: ("in_progress" | "requested" | "completed")[];
|
|
10072
10205
|
repositories: string[];
|
|
10073
10206
|
sender: GithubTriggerSender;
|
|
10074
10207
|
conditions: ({
|
|
@@ -10367,8 +10500,8 @@ export declare const createSessionBody: z$2.ZodObject<{
|
|
|
10367
10500
|
model: z$2.ZodObject<{
|
|
10368
10501
|
provider: z$2.ZodEnum<{
|
|
10369
10502
|
cursor: "cursor";
|
|
10370
|
-
anthropic: "anthropic";
|
|
10371
10503
|
openai: "openai";
|
|
10504
|
+
anthropic: "anthropic";
|
|
10372
10505
|
google: "google";
|
|
10373
10506
|
spacexai: "spacexai";
|
|
10374
10507
|
deepseek: "deepseek";
|
|
@@ -10408,8 +10541,8 @@ export declare const createSessionBody: z$2.ZodObject<{
|
|
|
10408
10541
|
model: z$2.ZodOptional<z$2.ZodObject<{
|
|
10409
10542
|
provider: z$2.ZodEnum<{
|
|
10410
10543
|
cursor: "cursor";
|
|
10411
|
-
anthropic: "anthropic";
|
|
10412
10544
|
openai: "openai";
|
|
10545
|
+
anthropic: "anthropic";
|
|
10413
10546
|
google: "google";
|
|
10414
10547
|
spacexai: "spacexai";
|
|
10415
10548
|
deepseek: "deepseek";
|
|
@@ -10435,8 +10568,8 @@ export declare const createSessionBody: z$2.ZodObject<{
|
|
|
10435
10568
|
model: z$2.ZodOptional<z$2.ZodObject<{
|
|
10436
10569
|
provider: z$2.ZodEnum<{
|
|
10437
10570
|
cursor: "cursor";
|
|
10438
|
-
anthropic: "anthropic";
|
|
10439
10571
|
openai: "openai";
|
|
10572
|
+
anthropic: "anthropic";
|
|
10440
10573
|
google: "google";
|
|
10441
10574
|
spacexai: "spacexai";
|
|
10442
10575
|
deepseek: "deepseek";
|
|
@@ -10581,8 +10714,8 @@ export declare const sessionInferenceOverridesInput: z$2.ZodObject<{
|
|
|
10581
10714
|
model: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodObject<{
|
|
10582
10715
|
provider: z$2.ZodEnum<{
|
|
10583
10716
|
cursor: "cursor";
|
|
10584
|
-
anthropic: "anthropic";
|
|
10585
10717
|
openai: "openai";
|
|
10718
|
+
anthropic: "anthropic";
|
|
10586
10719
|
google: "google";
|
|
10587
10720
|
spacexai: "spacexai";
|
|
10588
10721
|
deepseek: "deepseek";
|
|
@@ -10702,8 +10835,8 @@ export declare const agentSessionsOperations: {
|
|
|
10702
10835
|
model: z$2.ZodObject<{
|
|
10703
10836
|
provider: z$2.ZodEnum<{
|
|
10704
10837
|
cursor: "cursor";
|
|
10705
|
-
anthropic: "anthropic";
|
|
10706
10838
|
openai: "openai";
|
|
10839
|
+
anthropic: "anthropic";
|
|
10707
10840
|
google: "google";
|
|
10708
10841
|
spacexai: "spacexai";
|
|
10709
10842
|
deepseek: "deepseek";
|
|
@@ -10743,8 +10876,8 @@ export declare const agentSessionsOperations: {
|
|
|
10743
10876
|
model: z$2.ZodOptional<z$2.ZodObject<{
|
|
10744
10877
|
provider: z$2.ZodEnum<{
|
|
10745
10878
|
cursor: "cursor";
|
|
10746
|
-
anthropic: "anthropic";
|
|
10747
10879
|
openai: "openai";
|
|
10880
|
+
anthropic: "anthropic";
|
|
10748
10881
|
google: "google";
|
|
10749
10882
|
spacexai: "spacexai";
|
|
10750
10883
|
deepseek: "deepseek";
|
|
@@ -10770,8 +10903,8 @@ export declare const agentSessionsOperations: {
|
|
|
10770
10903
|
model: z$2.ZodOptional<z$2.ZodObject<{
|
|
10771
10904
|
provider: z$2.ZodEnum<{
|
|
10772
10905
|
cursor: "cursor";
|
|
10773
|
-
anthropic: "anthropic";
|
|
10774
10906
|
openai: "openai";
|
|
10907
|
+
anthropic: "anthropic";
|
|
10775
10908
|
google: "google";
|
|
10776
10909
|
spacexai: "spacexai";
|
|
10777
10910
|
deepseek: "deepseek";
|
|
@@ -11000,8 +11133,8 @@ export declare const agentSessionsOperations: {
|
|
|
11000
11133
|
model: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodObject<{
|
|
11001
11134
|
provider: z$2.ZodEnum<{
|
|
11002
11135
|
cursor: "cursor";
|
|
11003
|
-
anthropic: "anthropic";
|
|
11004
11136
|
openai: "openai";
|
|
11137
|
+
anthropic: "anthropic";
|
|
11005
11138
|
google: "google";
|
|
11006
11139
|
spacexai: "spacexai";
|
|
11007
11140
|
deepseek: "deepseek";
|
|
@@ -12693,7 +12826,7 @@ export declare const deviceAccessOperations: {
|
|
|
12693
12826
|
export declare const REMOTE_DEVICE_PLATFORMS: readonly ["darwin", "linux", "win32"];
|
|
12694
12827
|
export type RemoteDevicePlatform = (typeof REMOTE_DEVICE_PLATFORMS)[number];
|
|
12695
12828
|
export type RemoteDeviceStatus = "online" | "offline" | "revoked";
|
|
12696
|
-
/** A computer
|
|
12829
|
+
/** A computer enrolled for its owner; agents run shell commands on it once authorized. */
|
|
12697
12830
|
export interface RemoteDeviceView {
|
|
12698
12831
|
id: string;
|
|
12699
12832
|
tenantId: string;
|
|
@@ -12715,23 +12848,6 @@ export interface RemoteDeviceView {
|
|
|
12715
12848
|
updatedAt: string;
|
|
12716
12849
|
status: RemoteDeviceStatus;
|
|
12717
12850
|
}
|
|
12718
|
-
/** What pairing answers: the device and the token it authenticates its channel with, shown once. */
|
|
12719
|
-
export interface PairedRemoteDevice {
|
|
12720
|
-
device: RemoteDeviceView;
|
|
12721
|
-
token: string;
|
|
12722
|
-
}
|
|
12723
|
-
/** A machine pairs its platform, architecture and hostname. */
|
|
12724
|
-
export declare const pairDeviceBody: z$2.ZodObject<{
|
|
12725
|
-
installationId: z$2.ZodUUID;
|
|
12726
|
-
name: z$2.ZodString;
|
|
12727
|
-
platform: z$2.ZodEnum<{
|
|
12728
|
-
darwin: "darwin";
|
|
12729
|
-
linux: "linux";
|
|
12730
|
-
win32: "win32";
|
|
12731
|
-
}>;
|
|
12732
|
-
arch: z$2.ZodString;
|
|
12733
|
-
hostname: z$2.ZodString;
|
|
12734
|
-
}, z$2.core.$strict>;
|
|
12735
12851
|
/** `POST /devices/enroll`: the token names the tenant; a known installation also proves itself. */
|
|
12736
12852
|
export declare const enrollDeviceBody: z$2.ZodObject<{
|
|
12737
12853
|
token: z$2.ZodString;
|
|
@@ -12785,7 +12901,6 @@ export declare const updateDeviceBody: z$2.ZodObject<{
|
|
|
12785
12901
|
name: z$2.ZodOptional<z$2.ZodString>;
|
|
12786
12902
|
agentExecutionAuthorized: z$2.ZodOptional<z$2.ZodBoolean>;
|
|
12787
12903
|
}, z$2.core.$strict>;
|
|
12788
|
-
export type PairDeviceBody = z$2.infer<typeof pairDeviceBody>;
|
|
12789
12904
|
export type UpdateDeviceBody = z$2.infer<typeof updateDeviceBody>;
|
|
12790
12905
|
export type UpdateRemoteDeviceInput = z$2.input<typeof updateDeviceBody>;
|
|
12791
12906
|
/**
|
|
@@ -12802,24 +12917,6 @@ export declare const devicesOperations: {
|
|
|
12802
12917
|
readonly input: z$2.ZodObject<{}, z$2.core.$strip>;
|
|
12803
12918
|
readonly output: OutputType<RemoteDeviceView[]>;
|
|
12804
12919
|
}>;
|
|
12805
|
-
/** Pair this machine to the caller. */
|
|
12806
|
-
pair: Operation<{
|
|
12807
|
-
readonly name: "devices.pair";
|
|
12808
|
-
readonly method: "POST";
|
|
12809
|
-
readonly path: "/devices/pair";
|
|
12810
|
-
readonly input: z$2.ZodObject<{
|
|
12811
|
-
installationId: z$2.ZodUUID;
|
|
12812
|
-
name: z$2.ZodString;
|
|
12813
|
-
platform: z$2.ZodEnum<{
|
|
12814
|
-
darwin: "darwin";
|
|
12815
|
-
linux: "linux";
|
|
12816
|
-
win32: "win32";
|
|
12817
|
-
}>;
|
|
12818
|
-
arch: z$2.ZodString;
|
|
12819
|
-
hostname: z$2.ZodString;
|
|
12820
|
-
}, z$2.core.$strict>;
|
|
12821
|
-
readonly output: OutputType<PairedRemoteDevice>;
|
|
12822
|
-
}>;
|
|
12823
12920
|
/**
|
|
12824
12921
|
* A machine enrolls with a token. Unauthenticated: the token names the
|
|
12825
12922
|
* tenant. Ten attempts a minute per address: a token is a secret to guess.
|
|
@@ -12913,7 +13010,7 @@ export declare const deviceEnrollmentTokensOperations: {
|
|
|
12913
13010
|
readonly permission: readonly ["devices", "manage"];
|
|
12914
13011
|
readonly credential: "session";
|
|
12915
13012
|
}>;
|
|
12916
|
-
/** A single-use, 10 minute token for the caller's own machine
|
|
13013
|
+
/** A single-use, 10 minute token for the caller's own machine. */
|
|
12917
13014
|
createPersonal: Operation<{
|
|
12918
13015
|
readonly name: "deviceEnrollmentTokens.createPersonal";
|
|
12919
13016
|
readonly method: "POST";
|