@standards/schema 1.0.0-alpha.406 → 1.0.0-alpha.407
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-Bqa1vVKw.d.mts → all-1spF7ByM.d.mts} +10 -10
- package/dist/all-BNOv4MuC.js +2 -0
- package/dist/all-Bzzltedd.mjs +2 -0
- package/dist/{all-B85Wnp0r.d.ts → all-CYfzNNTD.d.ts} +10 -10
- package/dist/api/index.d.mts +54 -167
- package/dist/api/index.d.ts +54 -167
- package/dist/api/index.js +1 -1
- package/dist/api/index.mjs +1 -1
- package/dist/{attributes-Ck0gooEG.d.mts → attributes-CB6EJyu2.d.mts} +1 -1
- package/dist/{attributes-DW963WrS.d.ts → attributes-DPwwMMgq.d.ts} +1 -1
- package/dist/{checkbox-BKYTSUqh.d.mts → checkbox-B6TumdR6.d.mts} +2 -2
- package/dist/{checkbox-nWLlzMJ1.d.ts → checkbox-M5L3PYDZ.d.ts} +2 -2
- package/dist/{date-duOYv4di.d.ts → date-D5D3aP1p.d.ts} +2 -2
- package/dist/{date-DaPijpKs.d.mts → date-DM0ExRcF.d.mts} +2 -2
- package/dist/{exceptions-DXqs9eEl.d.ts → exceptions-BlKiQcvh.d.mts} +2 -6
- package/dist/{exceptions-DXqs9eEl.d.mts → exceptions-BlKiQcvh.d.ts} +2 -6
- package/dist/exceptions.d.mts +1 -1
- package/dist/exceptions.d.ts +1 -1
- package/dist/exceptions.js +1 -1
- package/dist/exceptions.mjs +1 -1
- package/dist/{index-DI3HCT5W.d.mts → index-BQ4MPVw-.d.ts} +137 -259
- package/dist/{index-DYUP0iFu.d.ts → index-Ba5hViTX.d.ts} +1 -1
- package/dist/{index-C5uNsr5k.d.mts → index-CIS58KNs.d.mts} +2 -2
- package/dist/{index-DDYMnrrw.d.ts → index-CPeCTcO1.d.mts} +137 -259
- package/dist/{index-D4QnVstw.d.mts → index-CXyPgHS_.d.mts} +1 -1
- package/dist/{index-DOGNjgeo.d.ts → index-ChyZg9Dl.d.ts} +2 -2
- package/dist/{index-D2VrYWdg.d.ts → index-CkNJkuYX.d.ts} +3 -3
- package/dist/{index-DdPx9mQV.d.mts → index-DfaotFfW.d.mts} +3 -3
- package/dist/index.d.mts +10 -10
- package/dist/index.d.ts +10 -10
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{number-D9YL-T2k.d.mts → number-BulsVlZX.d.mts} +2 -2
- package/dist/{number-wv170cGZ.d.ts → number-CIP0eOB9.d.ts} +2 -2
- package/dist/{objects-BaZWr4GU.d.ts → objects-B07Ix6br.d.ts} +2 -2
- package/dist/{objects-DHddGZu5.d.mts → objects-Cvc21DHf.d.mts} +2 -2
- package/dist/record-aggregates-Bhi1lCSm.js +2 -0
- package/dist/record-aggregates-DEBOOgA0.mjs +2 -0
- package/dist/record-operation-CuRWYQ7i.js +2 -0
- package/dist/record-operation-CylhzAbn.mjs +2 -0
- package/dist/{text-CHRRi3X_.d.mts → text-9dEmwy7y.d.mts} +2 -2
- package/dist/{text-Dbo08j8D.d.ts → text-BsEjIQsm.d.ts} +2 -2
- package/dist/{utils-BUDoiMT0.d.ts → utils-5JI2a7Qr.d.ts} +1 -1
- package/dist/{utils-tn-_IHkr.d.mts → utils-Vep_JDSS.d.mts} +1 -1
- package/dist/utils.d.mts +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/validation/all.d.mts +4 -4
- package/dist/validation/all.d.ts +4 -4
- package/dist/validation/all.js +1 -1
- package/dist/validation/all.mjs +1 -1
- package/dist/validation/complex/currency.d.mts +2 -2
- package/dist/validation/complex/currency.d.ts +2 -2
- package/dist/validation/complex/location.d.mts +2 -2
- package/dist/validation/complex/location.d.ts +2 -2
- package/dist/validation/complex/phone.d.mts +2 -2
- package/dist/validation/complex/phone.d.ts +2 -2
- package/dist/validation/complex/relation.d.mts +2 -2
- package/dist/validation/complex/relation.d.ts +2 -2
- package/dist/validation/complex/richtext.d.mts +2 -2
- package/dist/validation/complex/richtext.d.ts +2 -2
- package/dist/validation/complex/select.d.mts +2 -2
- package/dist/validation/complex/select.d.ts +2 -2
- package/dist/validation/complex/user.d.mts +2 -2
- package/dist/validation/complex/user.d.ts +2 -2
- package/dist/validation/computed/formula.d.mts +2 -2
- package/dist/validation/computed/formula.d.ts +2 -2
- package/dist/validation/computed/rollup.d.mts +2 -2
- package/dist/validation/computed/rollup.d.ts +2 -2
- package/dist/validation/config/index.d.mts +1 -1
- package/dist/validation/config/index.d.ts +1 -1
- package/dist/validation/core/index.d.mts +1 -1
- package/dist/validation/core/index.d.ts +1 -1
- package/dist/validation/object/index.d.mts +1 -1
- package/dist/validation/object/index.d.ts +1 -1
- package/dist/validation/primitives/checkbox.d.mts +1 -1
- package/dist/validation/primitives/checkbox.d.ts +1 -1
- package/dist/validation/primitives/date.d.mts +1 -1
- package/dist/validation/primitives/date.d.ts +1 -1
- package/dist/validation/primitives/number.d.mts +1 -1
- package/dist/validation/primitives/number.d.ts +1 -1
- package/dist/validation/primitives/text.d.mts +1 -1
- package/dist/validation/primitives/text.d.ts +1 -1
- package/package.json +2 -2
- package/dist/all-B8viW8TH.mjs +0 -2
- package/dist/all-BFPhXNTB.js +0 -2
- package/dist/record-aggregates-CkETp1q-.js +0 -2
- package/dist/record-aggregates-ynh52lNO.mjs +0 -2
- package/dist/record-operation-COFZLn3T.mjs +0 -2
- package/dist/record-operation-DeR-ykzG.js +0 -2
package/dist/api/index.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
import { SchemaErrorCode, ValidationError, ValidationErrorDetail } from "../exceptions-
|
|
3
|
-
import { AgentDefinitionAudience, AgentSessionAudience, ObjectDefinition, ObjectRecord, PageAudience, RecordAudience } from "../objects-
|
|
4
|
-
import { Attribute } from "../attributes-
|
|
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, 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, 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,
|
|
6
|
-
import { CollectionContentSource, FilterState, RecordQueryDefinition, SortRule, ViewRead } from "../all-
|
|
7
|
-
import { AddAttributeInput, CreateCustomObjectInput, RelationOption, RelationOptionsResponse, UpdateObjectInput } from "../index-
|
|
2
|
+
import { SchemaErrorCode, ValidationError, ValidationErrorDetail } from "../exceptions-BlKiQcvh.mjs";
|
|
3
|
+
import { AgentDefinitionAudience, AgentSessionAudience, ObjectDefinition, ObjectRecord, PageAudience, RecordAudience } from "../objects-Cvc21DHf.mjs";
|
|
4
|
+
import { Attribute } from "../attributes-CB6EJyu2.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, 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, 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-CPeCTcO1.mjs";
|
|
6
|
+
import { CollectionContentSource, FilterState, RecordQueryDefinition, SortRule, ViewRead } from "../all-1spF7ByM.mjs";
|
|
7
|
+
import { AddAttributeInput, CreateCustomObjectInput, RelationOption, RelationOptionsResponse, UpdateObjectInput } from "../index-CIS58KNs.mjs";
|
|
8
8
|
import * as z$2 from "zod";
|
|
9
9
|
//#region src/api/path.d.ts
|
|
10
10
|
/**
|
|
@@ -2270,10 +2270,6 @@ export declare const createEnvironmentBody: z$2.ZodObject<{
|
|
|
2270
2270
|
}, z$2.core.$strict>], "mode">>;
|
|
2271
2271
|
setupScript: z$2.ZodOptional<z$2.ZodString>;
|
|
2272
2272
|
maintenanceScript: z$2.ZodOptional<z$2.ZodString>;
|
|
2273
|
-
checks: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
|
|
2274
|
-
name: z$2.ZodString;
|
|
2275
|
-
command: z$2.ZodString;
|
|
2276
|
-
}, z$2.core.$strict>>>;
|
|
2277
2273
|
}, z$2.core.$strict>;
|
|
2278
2274
|
/**
|
|
2279
2275
|
* `PATCH /environments/:id`. `harness` is immutable: strict, so naming it is a
|
|
@@ -2312,10 +2308,6 @@ export declare const updateEnvironmentBody: z$2.ZodObject<{
|
|
|
2312
2308
|
allow: z$2.ZodArray<z$2.ZodString>;
|
|
2313
2309
|
}, z$2.core.$strict>], "mode">>;
|
|
2314
2310
|
maintenanceScript: z$2.ZodOptional<z$2.ZodString>;
|
|
2315
|
-
checks: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
|
|
2316
|
-
name: z$2.ZodString;
|
|
2317
|
-
command: z$2.ZodString;
|
|
2318
|
-
}, z$2.core.$strict>>>;
|
|
2319
2311
|
}, z$2.core.$strict>;
|
|
2320
2312
|
/** `GET /environments?include=usedBy` — only the Settings list asks for usage. */
|
|
2321
2313
|
export declare const listEnvironmentsQuery: z$2.ZodObject<{
|
|
@@ -2414,10 +2406,6 @@ export declare const environmentsOperations: {
|
|
|
2414
2406
|
}, z$2.core.$strict>], "mode">>;
|
|
2415
2407
|
setupScript: z$2.ZodOptional<z$2.ZodString>;
|
|
2416
2408
|
maintenanceScript: z$2.ZodOptional<z$2.ZodString>;
|
|
2417
|
-
checks: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
|
|
2418
|
-
name: z$2.ZodString;
|
|
2419
|
-
command: z$2.ZodString;
|
|
2420
|
-
}, z$2.core.$strict>>>;
|
|
2421
2409
|
}, z$2.core.$strict>;
|
|
2422
2410
|
readonly output: OutputType<Environment>;
|
|
2423
2411
|
readonly permission: readonly ["environments", "create"];
|
|
@@ -2459,10 +2447,6 @@ export declare const environmentsOperations: {
|
|
|
2459
2447
|
allow: z$2.ZodArray<z$2.ZodString>;
|
|
2460
2448
|
}, z$2.core.$strict>], "mode">>;
|
|
2461
2449
|
maintenanceScript: z$2.ZodOptional<z$2.ZodString>;
|
|
2462
|
-
checks: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
|
|
2463
|
-
name: z$2.ZodString;
|
|
2464
|
-
command: z$2.ZodString;
|
|
2465
|
-
}, z$2.core.$strict>>>;
|
|
2466
2450
|
}, z$2.core.$strict>;
|
|
2467
2451
|
readonly output: OutputType<Environment>;
|
|
2468
2452
|
}>;
|
|
@@ -10629,6 +10613,11 @@ export declare const sessionInferenceOverridesInput: z$2.ZodObject<{
|
|
|
10629
10613
|
}>>>;
|
|
10630
10614
|
id: z$2.ZodString;
|
|
10631
10615
|
}, z$2.core.$strict>;
|
|
10616
|
+
/** Focus on or off for one conversation (spec 2026-11-01 § 3.1). */
|
|
10617
|
+
export declare const setSessionFocusInput: z$2.ZodObject<{
|
|
10618
|
+
focus: z$2.ZodBoolean;
|
|
10619
|
+
id: z$2.ZodString;
|
|
10620
|
+
}, z$2.core.$strict>;
|
|
10632
10621
|
/** Fork a conversation into a side chat (`POST /agents/sessions/:id/fork`). */
|
|
10633
10622
|
export interface ForkAgentSessionInput {
|
|
10634
10623
|
/** Client-minted id of the fork: a retry with it returns the same fork. */
|
|
@@ -11047,6 +11036,23 @@ export declare const agentSessionsOperations: {
|
|
|
11047
11036
|
readonly permission: readonly ["agents", "read"];
|
|
11048
11037
|
readonly actor: "required";
|
|
11049
11038
|
}>;
|
|
11039
|
+
/**
|
|
11040
|
+
* Focus (spec 2026-11-01 § 3.1): the conversation shows only what its agent
|
|
11041
|
+
* sends, from its next turn the agent speaks only through `send`. Needs
|
|
11042
|
+
* `use` on the definition, like a model change.
|
|
11043
|
+
*/
|
|
11044
|
+
setFocus: Operation<{
|
|
11045
|
+
readonly name: "agentSessions.setFocus";
|
|
11046
|
+
readonly method: "PATCH";
|
|
11047
|
+
readonly path: "/agents/sessions/:id/focus";
|
|
11048
|
+
readonly input: z$2.ZodObject<{
|
|
11049
|
+
focus: z$2.ZodBoolean;
|
|
11050
|
+
id: z$2.ZodString;
|
|
11051
|
+
}, z$2.core.$strict>;
|
|
11052
|
+
readonly output: OutputType<AgentSession>;
|
|
11053
|
+
readonly permission: readonly ["agents", "read"];
|
|
11054
|
+
readonly actor: "required";
|
|
11055
|
+
}>;
|
|
11050
11056
|
/**
|
|
11051
11057
|
* The two persisted mode axes as the single posture people choose in the
|
|
11052
11058
|
* composer. The person's explicit selection is the authority-bearing
|
|
@@ -11506,49 +11512,14 @@ export declare const agentApprovalsOperations: {
|
|
|
11506
11512
|
//#endregion
|
|
11507
11513
|
//#region src/api/record-memory.operations.d.ts
|
|
11508
11514
|
/**
|
|
11509
|
-
*
|
|
11510
|
-
*
|
|
11511
|
-
*
|
|
11512
|
-
*
|
|
11515
|
+
* The one record-memory route left after the per-record Memories tab (#6419):
|
|
11516
|
+
* the "Memory updated" undo deletes the souvenir a pass wrote, named by its
|
|
11517
|
+
* page and opaque key. Gated on the record's object `read`: the record's
|
|
11518
|
+
* visibility, the line's rights (the record's write right, the caller's own
|
|
11519
|
+
* profile line, or the ownership of the line's private source) live in
|
|
11520
|
+
* `MemoryPageCommands` and the page's write rule.
|
|
11513
11521
|
*/
|
|
11514
11522
|
export declare const recordMemoryOperations: {
|
|
11515
|
-
get: Operation<{
|
|
11516
|
-
readonly name: "recordMemory.get";
|
|
11517
|
-
readonly method: "GET";
|
|
11518
|
-
readonly path: "/records/:objectName/:recordId/memory";
|
|
11519
|
-
readonly input: z$2.ZodObject<{
|
|
11520
|
-
objectName: z$2.ZodString;
|
|
11521
|
-
recordId: z$2.ZodGUID;
|
|
11522
|
-
}, z$2.core.$strip>;
|
|
11523
|
-
readonly output: OutputType<RecordMemoryView>;
|
|
11524
|
-
readonly objectPermission: {
|
|
11525
|
-
readonly param: "objectName";
|
|
11526
|
-
readonly action: "read";
|
|
11527
|
-
};
|
|
11528
|
-
readonly actor: "required";
|
|
11529
|
-
}>;
|
|
11530
|
-
/** A person's souvenir, signed ✍ by the page's write rule. */
|
|
11531
|
-
add: Operation<{
|
|
11532
|
-
readonly name: "recordMemory.add";
|
|
11533
|
-
readonly method: "POST";
|
|
11534
|
-
readonly path: "/records/:objectName/:recordId/memory";
|
|
11535
|
-
readonly input: z$2.ZodObject<{
|
|
11536
|
-
objectName: z$2.ZodString;
|
|
11537
|
-
recordId: z$2.ZodGUID;
|
|
11538
|
-
text: z$2.ZodString;
|
|
11539
|
-
}, z$2.core.$strip>;
|
|
11540
|
-
readonly output: OutputType<RecordMemoryView>;
|
|
11541
|
-
readonly objectPermission: {
|
|
11542
|
-
readonly param: "objectName";
|
|
11543
|
-
readonly action: "update";
|
|
11544
|
-
};
|
|
11545
|
-
readonly actor: "required";
|
|
11546
|
-
}>;
|
|
11547
|
-
/**
|
|
11548
|
-
* Correct (`text`) or delete (no `text`) the one line its `key` names.
|
|
11549
|
-
* Gated on `read`: the owner of a private source deletes a souvenir drawn
|
|
11550
|
-
* from it without the record's write right; a correction needs that right.
|
|
11551
|
-
*/
|
|
11552
11523
|
edit: Operation<{
|
|
11553
11524
|
readonly name: "recordMemory.edit";
|
|
11554
11525
|
readonly method: "PATCH";
|
|
@@ -11558,9 +11529,8 @@ export declare const recordMemoryOperations: {
|
|
|
11558
11529
|
recordId: z$2.ZodGUID;
|
|
11559
11530
|
pageId: z$2.ZodString;
|
|
11560
11531
|
key: z$2.ZodString;
|
|
11561
|
-
text: z$2.ZodOptional<z$2.ZodString>;
|
|
11562
11532
|
}, z$2.core.$strip>;
|
|
11563
|
-
readonly output: OutputType<
|
|
11533
|
+
readonly output: OutputType<void>;
|
|
11564
11534
|
readonly objectPermission: {
|
|
11565
11535
|
readonly param: "objectName";
|
|
11566
11536
|
readonly action: "read";
|
|
@@ -12554,23 +12524,9 @@ export declare const recordAccessOperations: {
|
|
|
12554
12524
|
};
|
|
12555
12525
|
//#endregion
|
|
12556
12526
|
//#region src/api/devices.operations.d.ts
|
|
12557
|
-
export type RemoteDevicePlatform = "darwin" | "linux"
|
|
12527
|
+
export type RemoteDevicePlatform = "darwin" | "linux";
|
|
12558
12528
|
export type RemoteDeviceStatus = "online" | "offline" | "revoked";
|
|
12559
|
-
/**
|
|
12560
|
-
export type RemoteDeviceCapability = "shell" | "browser";
|
|
12561
|
-
export interface RemoteDeviceControlLease {
|
|
12562
|
-
held: boolean;
|
|
12563
|
-
/** Only ever the caller's own root session — never another's. */
|
|
12564
|
-
heldByRootSession: string | null;
|
|
12565
|
-
expiresAt: string | null;
|
|
12566
|
-
/**
|
|
12567
|
-
* True only in the window after a person takes the browser back and
|
|
12568
|
-
* before `acquireOrRenew` will let anyone else claim it (its former
|
|
12569
|
-
* holder told, or 120s idle) — `held` stays true and `heldByRootSession`
|
|
12570
|
-
* null through that window rather than the device reading as free.
|
|
12571
|
-
*/
|
|
12572
|
-
revoked?: boolean;
|
|
12573
|
-
}
|
|
12529
|
+
/** A computer paired to its owner; agents run shell commands on it once authorized. */
|
|
12574
12530
|
export interface RemoteDeviceView {
|
|
12575
12531
|
id: string;
|
|
12576
12532
|
tenantId: string;
|
|
@@ -12578,34 +12534,22 @@ export interface RemoteDeviceView {
|
|
|
12578
12534
|
installationId: string;
|
|
12579
12535
|
name: string;
|
|
12580
12536
|
platform: RemoteDevicePlatform;
|
|
12581
|
-
capability: RemoteDeviceCapability;
|
|
12582
12537
|
arch: string;
|
|
12583
12538
|
hostname: string;
|
|
12584
|
-
/** The client-authorization grant carrying a browser device; null for a paired computer. */
|
|
12585
|
-
grantId: string | null;
|
|
12586
|
-
/** The channel protocol the browser last announced; null before any v2+ authentication (spec §5.1). */
|
|
12587
|
-
protocolVersion: number | null;
|
|
12588
12539
|
lastSeenAt: string | null;
|
|
12589
12540
|
revokedAt: string | null;
|
|
12590
12541
|
agentExecutionAuthorizedAt: string | null;
|
|
12591
12542
|
createdAt: string;
|
|
12592
12543
|
updatedAt: string;
|
|
12593
12544
|
status: RemoteDeviceStatus;
|
|
12594
|
-
/** The control lease as the owner may see it (spec §6.3); `heldByRootSession` is only ever one of the owner's own sessions. */
|
|
12595
|
-
control: RemoteDeviceControlLease;
|
|
12596
12545
|
}
|
|
12597
|
-
/** A PATCH answers the device without its lease — the list is what carries `control`. */
|
|
12598
|
-
export type RemoteDeviceUpdate = Omit<RemoteDeviceView, "control">;
|
|
12599
12546
|
/** What pairing answers: the device and the token it authenticates its channel with, shown once. */
|
|
12600
12547
|
export interface PairedRemoteDevice {
|
|
12601
|
-
device:
|
|
12548
|
+
device: RemoteDeviceView;
|
|
12602
12549
|
token: string;
|
|
12603
12550
|
}
|
|
12604
|
-
/**
|
|
12605
|
-
|
|
12606
|
-
* deployments that hand an extension an API key instead of an OAuth consent.
|
|
12607
|
-
*/
|
|
12608
|
-
export declare const pairDeviceBody: z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
12551
|
+
/** A machine pairs its platform, architecture and hostname. */
|
|
12552
|
+
export declare const pairDeviceBody: z$2.ZodObject<{
|
|
12609
12553
|
installationId: z$2.ZodUUID;
|
|
12610
12554
|
name: z$2.ZodString;
|
|
12611
12555
|
platform: z$2.ZodEnum<{
|
|
@@ -12614,40 +12558,21 @@ export declare const pairDeviceBody: z$2.ZodUnion<readonly [z$2.ZodObject<{
|
|
|
12614
12558
|
}>;
|
|
12615
12559
|
arch: z$2.ZodString;
|
|
12616
12560
|
hostname: z$2.ZodString;
|
|
12617
|
-
}, z$2.core.$strict
|
|
12618
|
-
installationId: z$2.ZodUUID;
|
|
12619
|
-
name: z$2.ZodString;
|
|
12620
|
-
browser: z$2.ZodObject<{
|
|
12621
|
-
name: z$2.ZodString;
|
|
12622
|
-
version: z$2.ZodString;
|
|
12623
|
-
}, z$2.core.$strict>;
|
|
12624
|
-
}, z$2.core.$strict>]>;
|
|
12561
|
+
}, z$2.core.$strict>;
|
|
12625
12562
|
export declare const updateDeviceBody: z$2.ZodObject<{
|
|
12626
12563
|
name: z$2.ZodOptional<z$2.ZodString>;
|
|
12627
12564
|
agentExecutionAuthorized: z$2.ZodOptional<z$2.ZodBoolean>;
|
|
12628
12565
|
}, z$2.core.$strict>;
|
|
12629
|
-
/** A browser extension registers the device its delegated token's grant carries. */
|
|
12630
|
-
export declare const registerDeviceBody: z$2.ZodObject<{
|
|
12631
|
-
installationId: z$2.ZodUUID;
|
|
12632
|
-
name: z$2.ZodString;
|
|
12633
|
-
browser: z$2.ZodObject<{
|
|
12634
|
-
name: z$2.ZodString;
|
|
12635
|
-
version: z$2.ZodString;
|
|
12636
|
-
}, z$2.core.$strict>;
|
|
12637
|
-
}, z$2.core.$strict>;
|
|
12638
12566
|
export type PairDeviceBody = z$2.infer<typeof pairDeviceBody>;
|
|
12639
12567
|
export type UpdateDeviceBody = z$2.infer<typeof updateDeviceBody>;
|
|
12640
12568
|
export type UpdateRemoteDeviceInput = z$2.input<typeof updateDeviceBody>;
|
|
12641
|
-
export type RegisterDeviceBody = z$2.infer<typeof registerDeviceBody>;
|
|
12642
12569
|
/**
|
|
12643
|
-
* The caller's own devices. Served by the host's `DevicesController
|
|
12644
|
-
*
|
|
12645
|
-
*
|
|
12646
|
-
* (`POST /devices/register`, a delegated token) and a device revoking itself
|
|
12647
|
-
* (`POST /devices/self/revoke`, its own token) are called by no client here.
|
|
12570
|
+
* The caller's own devices. Served by the host's `DevicesController`, so
|
|
12571
|
+
* these operations have no runtime handler. A device revoking itself
|
|
12572
|
+
* (`POST /devices/self/revoke`, its own token) is called by no client here.
|
|
12648
12573
|
*/
|
|
12649
12574
|
export declare const devicesOperations: {
|
|
12650
|
-
/** The devices the caller owns
|
|
12575
|
+
/** The devices the caller owns. */
|
|
12651
12576
|
list: Operation<{
|
|
12652
12577
|
readonly name: "devices.list";
|
|
12653
12578
|
readonly method: "GET";
|
|
@@ -12655,12 +12580,12 @@ export declare const devicesOperations: {
|
|
|
12655
12580
|
readonly input: z$2.ZodObject<{}, z$2.core.$strip>;
|
|
12656
12581
|
readonly output: OutputType<RemoteDeviceView[]>;
|
|
12657
12582
|
}>;
|
|
12658
|
-
/** Pair this machine
|
|
12583
|
+
/** Pair this machine to the caller. */
|
|
12659
12584
|
pair: Operation<{
|
|
12660
12585
|
readonly name: "devices.pair";
|
|
12661
12586
|
readonly method: "POST";
|
|
12662
12587
|
readonly path: "/devices/pair";
|
|
12663
|
-
readonly input: z$2.
|
|
12588
|
+
readonly input: z$2.ZodObject<{
|
|
12664
12589
|
installationId: z$2.ZodUUID;
|
|
12665
12590
|
name: z$2.ZodString;
|
|
12666
12591
|
platform: z$2.ZodEnum<{
|
|
@@ -12669,14 +12594,7 @@ export declare const devicesOperations: {
|
|
|
12669
12594
|
}>;
|
|
12670
12595
|
arch: z$2.ZodString;
|
|
12671
12596
|
hostname: z$2.ZodString;
|
|
12672
|
-
}, z$2.core.$strict
|
|
12673
|
-
installationId: z$2.ZodUUID;
|
|
12674
|
-
name: z$2.ZodString;
|
|
12675
|
-
browser: z$2.ZodObject<{
|
|
12676
|
-
name: z$2.ZodString;
|
|
12677
|
-
version: z$2.ZodString;
|
|
12678
|
-
}, z$2.core.$strict>;
|
|
12679
|
-
}, z$2.core.$strict>]>;
|
|
12597
|
+
}, z$2.core.$strict>;
|
|
12680
12598
|
readonly output: OutputType<PairedRemoteDevice>;
|
|
12681
12599
|
}>;
|
|
12682
12600
|
update: Operation<{
|
|
@@ -12688,7 +12606,7 @@ export declare const devicesOperations: {
|
|
|
12688
12606
|
agentExecutionAuthorized: z$2.ZodOptional<z$2.ZodBoolean>;
|
|
12689
12607
|
id: z$2.ZodGUID;
|
|
12690
12608
|
}, z$2.core.$strict>;
|
|
12691
|
-
readonly output: OutputType<
|
|
12609
|
+
readonly output: OutputType<RemoteDeviceView>;
|
|
12692
12610
|
}>;
|
|
12693
12611
|
revoke: Operation<{
|
|
12694
12612
|
readonly name: "devices.revoke";
|
|
@@ -12701,36 +12619,9 @@ export declare const devicesOperations: {
|
|
|
12701
12619
|
success: true;
|
|
12702
12620
|
}>;
|
|
12703
12621
|
}>;
|
|
12704
|
-
/** The control lease's current state (devices spec §5.2). User sessions only. */
|
|
12705
|
-
control: Operation<{
|
|
12706
|
-
readonly name: "devices.control";
|
|
12707
|
-
readonly method: "GET";
|
|
12708
|
-
readonly path: "/devices/:id/control";
|
|
12709
|
-
readonly input: z$2.ZodObject<{
|
|
12710
|
-
id: z$2.ZodGUID;
|
|
12711
|
-
}, z$2.core.$strip>;
|
|
12712
|
-
readonly output: OutputType<RemoteDeviceControlLease>;
|
|
12713
|
-
}>;
|
|
12714
|
-
/** Takes the browser back: releases the lease and cancels its in-flight command. */
|
|
12715
|
-
releaseControl: Operation<{
|
|
12716
|
-
readonly name: "devices.releaseControl";
|
|
12717
|
-
readonly method: "DELETE";
|
|
12718
|
-
readonly path: "/devices/:id/control";
|
|
12719
|
-
readonly input: z$2.ZodObject<{
|
|
12720
|
-
id: z$2.ZodGUID;
|
|
12721
|
-
}, z$2.core.$strip>;
|
|
12722
|
-
readonly output: OutputType<void>;
|
|
12723
|
-
readonly status: 204;
|
|
12724
|
-
}>;
|
|
12725
12622
|
};
|
|
12726
12623
|
//#endregion
|
|
12727
12624
|
//#region src/api/connected-apps.operations.d.ts
|
|
12728
|
-
/** A browser carried by an extension connection; it disconnects with its connection, through `connectedApps.revoke`. */
|
|
12729
|
-
export interface ConnectedAppBrowser {
|
|
12730
|
-
deviceId: string;
|
|
12731
|
-
name: string;
|
|
12732
|
-
lastSeenAt: string | null;
|
|
12733
|
-
}
|
|
12734
12625
|
/** One OAuth connection of the caller, on one of their workspaces. */
|
|
12735
12626
|
export interface ConnectedAppView {
|
|
12736
12627
|
grantId: string;
|
|
@@ -12738,19 +12629,16 @@ export interface ConnectedAppView {
|
|
|
12738
12629
|
clientName: string;
|
|
12739
12630
|
/** The host of an HTTPS `clientId` (a client metadata document); null otherwise. */
|
|
12740
12631
|
verifiedHost: string | null;
|
|
12741
|
-
/** `extension` for the browser extension (the devices resource), `mcp` for every other client. */
|
|
12742
|
-
kind: "mcp" | "extension";
|
|
12743
12632
|
tenantId: string;
|
|
12744
12633
|
workspaceName: string;
|
|
12745
12634
|
/**
|
|
12746
|
-
* Null for
|
|
12747
|
-
*
|
|
12748
|
-
* person picks one.
|
|
12635
|
+
* Null for a connection whose scopes match no level (an earlier consent):
|
|
12636
|
+
* it reads as custom until the person picks one.
|
|
12749
12637
|
*/
|
|
12750
12638
|
level: AccessLevel | null;
|
|
12751
|
-
/** The levels the caller's role and the client's request allow
|
|
12639
|
+
/** The levels the caller's role and the client's request allow. */
|
|
12752
12640
|
selectableLevels: AccessLevel[];
|
|
12753
|
-
/** Each level not selectable, with why: the role lacks it, or the client never requested it.
|
|
12641
|
+
/** Each level not selectable, with why: the role lacks it, or the client never requested it. */
|
|
12754
12642
|
unavailableLevels: {
|
|
12755
12643
|
level: AccessLevel;
|
|
12756
12644
|
reason: "role" | "notRequested";
|
|
@@ -12761,7 +12649,6 @@ export interface ConnectedAppView {
|
|
|
12761
12649
|
withheld: (keyof AccessCapabilities)[];
|
|
12762
12650
|
createdAt: string;
|
|
12763
12651
|
lastUsedAt: string | null;
|
|
12764
|
-
browsers: ConnectedAppBrowser[];
|
|
12765
12652
|
}
|
|
12766
12653
|
/** An oidc-provider grant id: an opaque string, not a UUID. */
|
|
12767
12654
|
export declare const connectedAppGrantId: z$2.ZodString;
|
|
@@ -12807,7 +12694,7 @@ export declare const connectedAppsOperations: {
|
|
|
12807
12694
|
success: true;
|
|
12808
12695
|
}>;
|
|
12809
12696
|
}>;
|
|
12810
|
-
/** Revokes the connection
|
|
12697
|
+
/** Revokes the connection. */
|
|
12811
12698
|
revoke: Operation<{
|
|
12812
12699
|
readonly name: "connectedApps.revoke";
|
|
12813
12700
|
readonly credential: "session";
|