@keystrokehq/cli 0.1.171 → 0.1.173
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/README.md +24 -1
- package/dist/dist-BOlrsYA4.mjs +3 -0
- package/dist/{dist-CnddVrzY.mjs → dist-BUDyVVbj.mjs} +642 -6
- package/dist/dist-BUDyVVbj.mjs.map +1 -0
- package/dist/{dist-B8ZXKNXj.mjs → dist-D2xubfXd.mjs} +3560 -2633
- package/dist/dist-D2xubfXd.mjs.map +1 -0
- package/dist/{dist-C5ooQsTQ.mjs → dist-DRSCtW8V.mjs} +40 -4
- package/dist/dist-DRSCtW8V.mjs.map +1 -0
- package/dist/dist-n16MYIv2.mjs +4 -0
- package/dist/index.mjs +1 -1
- package/dist/{maybe-auto-update-28IpqxhP.mjs → maybe-auto-update-Dmcj8aoh.mjs} +2 -2
- package/dist/{maybe-auto-update-28IpqxhP.mjs.map → maybe-auto-update-Dmcj8aoh.mjs.map} +1 -1
- package/dist/{program-Ckl_ELbL.mjs → program-DO7ZQHjx.mjs} +651 -14
- package/dist/program-DO7ZQHjx.mjs.map +1 -0
- package/dist/{run-package-manager-update-CcJWW5xj.mjs → run-package-manager-update-Dvl8GJr2.mjs} +2 -2
- package/dist/{run-package-manager-update-CcJWW5xj.mjs.map → run-package-manager-update-Dvl8GJr2.mjs.map} +1 -1
- package/package.json +5 -4
- package/dist/dist-B8ZXKNXj.mjs.map +0 -1
- package/dist/dist-Brtmx-yx.mjs +0 -3
- package/dist/dist-C5ooQsTQ.mjs.map +0 -1
- package/dist/dist-CPGQbDRC.mjs +0 -4
- package/dist/dist-CnddVrzY.mjs.map +0 -1
- package/dist/program-Ckl_ELbL.mjs.map +0 -1
|
@@ -4794,7 +4794,7 @@ function number(params) {
|
|
|
4794
4794
|
return /* @__PURE__ */ _coercedNumber(ZodNumber, params);
|
|
4795
4795
|
}
|
|
4796
4796
|
//#endregion
|
|
4797
|
-
//#region ../../packages/shared/dist/billing-
|
|
4797
|
+
//#region ../../packages/shared/dist/billing-Bar2XMfx.mjs
|
|
4798
4798
|
const isoDateTime$7 = string().datetime();
|
|
4799
4799
|
const subscriptionStatusSchema = _enum([
|
|
4800
4800
|
"none",
|
|
@@ -4933,20 +4933,25 @@ const UpdateAutoTopupRequestSchema = object({
|
|
|
4933
4933
|
const BillingUsageEventSourceSchema = _enum([
|
|
4934
4934
|
"ai_gateway",
|
|
4935
4935
|
"sandbox",
|
|
4936
|
+
"browser",
|
|
4936
4937
|
"web_proxy",
|
|
4937
4938
|
"storage",
|
|
4938
4939
|
"dispatch",
|
|
4939
|
-
"poll"
|
|
4940
|
+
"poll",
|
|
4941
|
+
"brain"
|
|
4940
4942
|
]);
|
|
4941
4943
|
const BillingUsageMeterKeySchema = _enum([
|
|
4942
4944
|
"llm",
|
|
4943
4945
|
"vm_second",
|
|
4946
|
+
"browser_second",
|
|
4944
4947
|
"web_search",
|
|
4945
4948
|
"web_fetch",
|
|
4946
4949
|
"workflow_run",
|
|
4947
4950
|
"agent_run",
|
|
4948
4951
|
"poll_trigger",
|
|
4949
|
-
"tigris_storage"
|
|
4952
|
+
"tigris_storage",
|
|
4953
|
+
"brain_search",
|
|
4954
|
+
"brain_indexing"
|
|
4950
4955
|
]);
|
|
4951
4956
|
const BillingUsageKeySourceSchema = _enum(["platform", "byok"]);
|
|
4952
4957
|
const BillingUsageRunKindSchema = _enum([
|
|
@@ -4976,7 +4981,7 @@ object({
|
|
|
4976
4981
|
chargeMicroCredits: number$1().int().nonnegative()
|
|
4977
4982
|
});
|
|
4978
4983
|
//#endregion
|
|
4979
|
-
//#region ../../packages/shared/dist/credential-runtime-
|
|
4984
|
+
//#region ../../packages/shared/dist/credential-runtime-B1aMt2H1.mjs
|
|
4980
4985
|
const ACTIVE_ORG_HEADER = "x-keystroke-org-id";
|
|
4981
4986
|
/**
|
|
4982
4987
|
* Client surface that originated the request. The hosted web app and CLI set this
|
|
@@ -5756,6 +5761,15 @@ const ORGANIZATION_NAME_APOSTROPHE_PATTERN = /[''\u2018\u2019]/g;
|
|
|
5756
5761
|
function normalizeOrganizationNameToSlugBase(name) {
|
|
5757
5762
|
return name.trim().toLowerCase().replace(ORGANIZATION_NAME_APOSTROPHE_PATTERN, "").replace(/[^a-z0-9]+/g, "-").replace(/-+/g, "-").replace(/^-|-$/g, "");
|
|
5758
5763
|
}
|
|
5764
|
+
object({
|
|
5765
|
+
tabs: array(object({
|
|
5766
|
+
url: string(),
|
|
5767
|
+
title: string().optional(),
|
|
5768
|
+
active: boolean()
|
|
5769
|
+
})),
|
|
5770
|
+
lastScreenshotStorageKey: string().optional(),
|
|
5771
|
+
capturedAt: string()
|
|
5772
|
+
});
|
|
5759
5773
|
/** Same format as organization slugs — org-scoped, no global reserved list. */
|
|
5760
5774
|
const ProjectSlugSchema = OrganizationSlugSchema;
|
|
5761
5775
|
/** Derive a URL slug from a project display name (not guaranteed unique within the org). */
|
|
@@ -5948,6 +5962,617 @@ function zodToStoredJsonSchema(schema, options = {}) {
|
|
|
5948
5962
|
}
|
|
5949
5963
|
/** Thin modular project index (source of truth for emit hashes + shard paths). */
|
|
5950
5964
|
const PROJECT_MANIFEST_REL_PATH = "dist/.keystroke/manifest.json";
|
|
5965
|
+
/** Lowercase dash-separated Brain slug (2–64 chars). */
|
|
5966
|
+
const BrainSlugSchema = string().trim().toLowerCase().min(2, "Slug must be at least 2 characters").max(64, "Slug must be at most 64 characters").regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/, "Use lowercase letters, numbers, and dashes only");
|
|
5967
|
+
/** Splits on the first `:` and validates each component as a Brain slug. */
|
|
5968
|
+
function parseBrainReference(value) {
|
|
5969
|
+
const separatorIndex = value.indexOf(":");
|
|
5970
|
+
if (separatorIndex === -1) {
|
|
5971
|
+
const slug = BrainSlugSchema.safeParse(value);
|
|
5972
|
+
return slug.success ? {
|
|
5973
|
+
brainSlug: slug.data,
|
|
5974
|
+
filterSlug: null
|
|
5975
|
+
} : void 0;
|
|
5976
|
+
}
|
|
5977
|
+
const brain = BrainSlugSchema.safeParse(value.slice(0, separatorIndex));
|
|
5978
|
+
const filter = BrainSlugSchema.safeParse(value.slice(separatorIndex + 1));
|
|
5979
|
+
if (!brain.success || !filter.success) return;
|
|
5980
|
+
return {
|
|
5981
|
+
brainSlug: brain.data,
|
|
5982
|
+
filterSlug: filter.data
|
|
5983
|
+
};
|
|
5984
|
+
}
|
|
5985
|
+
/** Base Brain slug or qualified `{brain}:{filter}` reference. */
|
|
5986
|
+
const BrainReferenceSchema = string().trim().toLowerCase().refine((value) => parseBrainReference(value) !== void 0, { message: "Expected a Brain slug or a {brain}:{filter} reference" });
|
|
5987
|
+
/**
|
|
5988
|
+
* Where a document's content originated (`linear`, `notion`, `slack`,
|
|
5989
|
+
* `manual`, or a customer-defined slug). Required on every upload and distinct
|
|
5990
|
+
* from trusted provisioner provenance (how the version entered the Brain).
|
|
5991
|
+
* Not a closed enum: known sources get branded presentation, unknown valid
|
|
5992
|
+
* sources remain supported.
|
|
5993
|
+
*/
|
|
5994
|
+
const BrainSourceSchema = string().trim().toLowerCase().regex(/^[a-z0-9][a-z0-9_-]{0,63}$/, "Use 1-64 lowercase letters, numbers, dashes, and underscores (starting alphanumeric)");
|
|
5995
|
+
/** Required, non-empty human description shown in list/detail views and agent tool catalogs. */
|
|
5996
|
+
const BrainDescriptionSchema = string().trim().min(1).max(2e3);
|
|
5997
|
+
const BRAIN_MAX_FILE_BYTES = 100 * 1024 * 1024;
|
|
5998
|
+
const BRAIN_MAX_FOLDER_FILES = 1e3;
|
|
5999
|
+
const BRAIN_READ_MAX_CHARS = 2e4;
|
|
6000
|
+
/** Inline `content` / `blocks` put payload cap; larger content must use the file upload flow. */
|
|
6001
|
+
const BRAIN_MAX_INLINE_CONTENT_CHARS = 2e6;
|
|
6002
|
+
const BRAIN_MAX_BLOCKS_PER_DOCUMENT = 5e3;
|
|
6003
|
+
const BRAIN_MAX_BLOCK_CHARS = 4e4;
|
|
6004
|
+
const BRAIN_MAX_METADATA_STRING_CHARS = 1024;
|
|
6005
|
+
const BRAIN_CHUNK_DEFAULT_MAX_CHARACTERS = 8e3;
|
|
6006
|
+
const BRAIN_CHUNK_MAX_CHARACTERS = 4e4;
|
|
6007
|
+
_enum([
|
|
6008
|
+
"doc",
|
|
6009
|
+
"docx",
|
|
6010
|
+
"docm",
|
|
6011
|
+
"ppt",
|
|
6012
|
+
"pps",
|
|
6013
|
+
"pot",
|
|
6014
|
+
"pptx",
|
|
6015
|
+
"pptm",
|
|
6016
|
+
"ppsx",
|
|
6017
|
+
"ppsm",
|
|
6018
|
+
"xls",
|
|
6019
|
+
"xlsx",
|
|
6020
|
+
"xlsm",
|
|
6021
|
+
"xlsb",
|
|
6022
|
+
"odt",
|
|
6023
|
+
"ods",
|
|
6024
|
+
"odp",
|
|
6025
|
+
"rtf",
|
|
6026
|
+
"epub",
|
|
6027
|
+
"csv",
|
|
6028
|
+
"pdf",
|
|
6029
|
+
"txt",
|
|
6030
|
+
"md",
|
|
6031
|
+
"markdown",
|
|
6032
|
+
"html",
|
|
6033
|
+
"htm",
|
|
6034
|
+
"json",
|
|
6035
|
+
"xml",
|
|
6036
|
+
"yaml",
|
|
6037
|
+
"yml"
|
|
6038
|
+
]);
|
|
6039
|
+
_enum([
|
|
6040
|
+
"doc",
|
|
6041
|
+
"docx",
|
|
6042
|
+
"ppt",
|
|
6043
|
+
"pptx",
|
|
6044
|
+
"xlsx",
|
|
6045
|
+
"odt",
|
|
6046
|
+
"ods",
|
|
6047
|
+
"odp",
|
|
6048
|
+
"rtf",
|
|
6049
|
+
"epub",
|
|
6050
|
+
"csv",
|
|
6051
|
+
"pdf",
|
|
6052
|
+
"txt",
|
|
6053
|
+
"md",
|
|
6054
|
+
"html",
|
|
6055
|
+
"json",
|
|
6056
|
+
"xml",
|
|
6057
|
+
"yaml"
|
|
6058
|
+
]);
|
|
6059
|
+
const BrainStatusSchema = _enum([
|
|
6060
|
+
"active",
|
|
6061
|
+
"rebuilding",
|
|
6062
|
+
"rebuild_failed",
|
|
6063
|
+
"deleting"
|
|
6064
|
+
]);
|
|
6065
|
+
/** Brain resource membership roles. Owners additionally manage members and deletion. */
|
|
6066
|
+
const BrainMemberRoleSchema = _enum(["owner", "admin"]);
|
|
6067
|
+
/** `write` implies read. Grants authorize deployed project runtimes, not humans. */
|
|
6068
|
+
const BrainGrantAccessSchema = _enum(["read", "write"]);
|
|
6069
|
+
const BrainDocumentVersionStatusSchema = _enum([
|
|
6070
|
+
"pending_upload",
|
|
6071
|
+
"pending_ingest",
|
|
6072
|
+
"queued",
|
|
6073
|
+
"processing",
|
|
6074
|
+
"ready",
|
|
6075
|
+
"failed"
|
|
6076
|
+
]);
|
|
6077
|
+
const BrainDocumentFailureCodeSchema = _enum([
|
|
6078
|
+
"format_mismatch",
|
|
6079
|
+
"invalid_document",
|
|
6080
|
+
"encrypted_document",
|
|
6081
|
+
"unsupported_encoding",
|
|
6082
|
+
"needs_ocr",
|
|
6083
|
+
"no_extractable_text",
|
|
6084
|
+
"extracted_content_too_large",
|
|
6085
|
+
"too_many_chunks",
|
|
6086
|
+
"parser_timeout",
|
|
6087
|
+
"parser_resource_limit",
|
|
6088
|
+
"parser_unavailable",
|
|
6089
|
+
"embedding_failed",
|
|
6090
|
+
"index_write_failed"
|
|
6091
|
+
]);
|
|
6092
|
+
const BrainSkippedReasonSchema = _enum([
|
|
6093
|
+
"unsupported_extension",
|
|
6094
|
+
"empty_file",
|
|
6095
|
+
"file_too_large",
|
|
6096
|
+
"duplicate_path",
|
|
6097
|
+
"invalid_relative_path",
|
|
6098
|
+
"hidden_path",
|
|
6099
|
+
"operation_limit"
|
|
6100
|
+
]);
|
|
6101
|
+
const BrainDocumentWriteInputKindSchema = _enum([
|
|
6102
|
+
"content",
|
|
6103
|
+
"blocks",
|
|
6104
|
+
"file"
|
|
6105
|
+
]);
|
|
6106
|
+
const BrainDocumentWriteOutcomeSchema = _enum([
|
|
6107
|
+
"pending",
|
|
6108
|
+
"ready",
|
|
6109
|
+
"unchanged",
|
|
6110
|
+
"failed"
|
|
6111
|
+
]);
|
|
6112
|
+
/**
|
|
6113
|
+
* Gateway embedding model id (`provider/model`). The catalog is discovered at
|
|
6114
|
+
* runtime from the Vercel AI Gateway, so this is a bounded shape check only;
|
|
6115
|
+
* existence and `type === 'embedding'` are validated server-side against a
|
|
6116
|
+
* cached catalog at Brain create/update.
|
|
6117
|
+
*/
|
|
6118
|
+
const BrainEmbeddingModelSchema = string().trim().min(3).max(128).regex(/^[a-z0-9][a-z0-9._-]*\/[a-z0-9][a-z0-9._-]*$/i, "Expected a provider/model embedding id");
|
|
6119
|
+
const BRAIN_EMBEDDING_MODEL_DEFAULT = "voyage/voyage-4";
|
|
6120
|
+
const BrainLanguageSchema = _enum([
|
|
6121
|
+
"multilingual",
|
|
6122
|
+
"arabic",
|
|
6123
|
+
"danish",
|
|
6124
|
+
"dutch",
|
|
6125
|
+
"english",
|
|
6126
|
+
"finnish",
|
|
6127
|
+
"french",
|
|
6128
|
+
"german",
|
|
6129
|
+
"greek",
|
|
6130
|
+
"hungarian",
|
|
6131
|
+
"italian",
|
|
6132
|
+
"norwegian",
|
|
6133
|
+
"portuguese",
|
|
6134
|
+
"romanian",
|
|
6135
|
+
"russian",
|
|
6136
|
+
"spanish",
|
|
6137
|
+
"swedish",
|
|
6138
|
+
"tamil",
|
|
6139
|
+
"turkish"
|
|
6140
|
+
]);
|
|
6141
|
+
const BRAIN_LANGUAGE_DEFAULT = "english";
|
|
6142
|
+
/**
|
|
6143
|
+
* Character-exact chunk controls. An exact separator is preferred when
|
|
6144
|
+
* present; chunks still respect maxCharacters.
|
|
6145
|
+
*/
|
|
6146
|
+
const BrainCharacterChunkingSchema = object({
|
|
6147
|
+
maxCharacters: number$1().int().min(1).max(BRAIN_CHUNK_MAX_CHARACTERS).default(BRAIN_CHUNK_DEFAULT_MAX_CHARACTERS),
|
|
6148
|
+
overlapCharacters: number$1().int().nonnegative().default(0),
|
|
6149
|
+
separator: string().min(1).optional()
|
|
6150
|
+
}).strict().refine((value) => value.overlapCharacters < value.maxCharacters, {
|
|
6151
|
+
message: "overlapCharacters must be less than maxCharacters",
|
|
6152
|
+
path: ["overlapCharacters"]
|
|
6153
|
+
});
|
|
6154
|
+
const BrainIndexConfigSchema = object({
|
|
6155
|
+
embeddingModel: BrainEmbeddingModelSchema.default(BRAIN_EMBEDDING_MODEL_DEFAULT),
|
|
6156
|
+
chunking: BrainCharacterChunkingSchema.prefault({}),
|
|
6157
|
+
language: BrainLanguageSchema.default(BRAIN_LANGUAGE_DEFAULT)
|
|
6158
|
+
}).strict();
|
|
6159
|
+
const BRAIN_RESERVED_ATTRIBUTE_NAMES = [
|
|
6160
|
+
"id",
|
|
6161
|
+
"documentId",
|
|
6162
|
+
"brainId",
|
|
6163
|
+
"versionId",
|
|
6164
|
+
"revision",
|
|
6165
|
+
"generation",
|
|
6166
|
+
"chunkIndex",
|
|
6167
|
+
"title",
|
|
6168
|
+
"text",
|
|
6169
|
+
"source",
|
|
6170
|
+
"vector"
|
|
6171
|
+
];
|
|
6172
|
+
const BrainMetadataKeySchema = string().regex(/^[a-zA-Z][a-zA-Z0-9_]{0,63}$/, "Metadata keys must start with a letter and use letters, numbers, and underscores").refine((key) => !BRAIN_RESERVED_ATTRIBUTE_NAMES.includes(key) && !key.startsWith("titleFts") && !key.startsWith("textFts"), { message: "Metadata key collides with a reserved index attribute" });
|
|
6173
|
+
const BrainMetadataScalarSchema = union([
|
|
6174
|
+
string().max(BRAIN_MAX_METADATA_STRING_CHARS),
|
|
6175
|
+
number$1().finite(),
|
|
6176
|
+
boolean()
|
|
6177
|
+
]);
|
|
6178
|
+
const BrainDocumentMetadataSchema = record(BrainMetadataKeySchema, union([BrainMetadataScalarSchema, array(string().max(BRAIN_MAX_METADATA_STRING_CHARS)).max(64)])).refine((value) => Object.keys(value).length <= 32, { message: `At most 32 metadata keys are allowed` });
|
|
6179
|
+
/**
|
|
6180
|
+
* Flat filter over metadata attributes: scalar → equals, array → any-of
|
|
6181
|
+
* (In for scalar attributes, ContainsAny for array attributes). Entries AND
|
|
6182
|
+
* together.
|
|
6183
|
+
*/
|
|
6184
|
+
const BrainMetadataFilterSchema = record(BrainMetadataKeySchema, union([BrainMetadataScalarSchema, array(BrainMetadataScalarSchema).min(1).max(64)])).refine((value) => Object.keys(value).length <= 32, { message: `At most 32 filter keys are allowed` });
|
|
6185
|
+
/**
|
|
6186
|
+
* Filter expression persisted by Brain filters and accepted as query-time
|
|
6187
|
+
* narrowing: an optional reserved `source` operand (scalar equals or any-of)
|
|
6188
|
+
* plus a flat metadata filter. Entries AND together. The stored document
|
|
6189
|
+
* `source` is always one scalar string; an array here only widens matching.
|
|
6190
|
+
*/
|
|
6191
|
+
const BrainFilterExpressionSchema = object({
|
|
6192
|
+
source: union([BrainSourceSchema, array(BrainSourceSchema).min(1).max(64)]).optional(),
|
|
6193
|
+
metadata: BrainMetadataFilterSchema.optional()
|
|
6194
|
+
}).strict().refine((value) => value.source !== void 0 || value.metadata !== void 0 && Object.keys(value.metadata).length > 0, { message: "Filter requires a source or at least one metadata entry" });
|
|
6195
|
+
const BrainSummarySchema = object({
|
|
6196
|
+
id: string().min(1),
|
|
6197
|
+
slug: BrainSlugSchema,
|
|
6198
|
+
name: string().min(1),
|
|
6199
|
+
description: BrainDescriptionSchema,
|
|
6200
|
+
indexConfig: BrainIndexConfigSchema,
|
|
6201
|
+
status: BrainStatusSchema,
|
|
6202
|
+
/** Number of filters defined on this Brain (rendered as “Filtered views”). */
|
|
6203
|
+
filterCount: number$1().int().nonnegative(),
|
|
6204
|
+
/** Requesting user's Brain membership role (management surfaces are membership-only). */
|
|
6205
|
+
callerRole: BrainMemberRoleSchema,
|
|
6206
|
+
createdAt: string().datetime(),
|
|
6207
|
+
updatedAt: string().datetime()
|
|
6208
|
+
});
|
|
6209
|
+
const BrainDetailSchema = BrainSummarySchema.extend({
|
|
6210
|
+
createdByUserId: string().min(1).nullable(),
|
|
6211
|
+
documentCount: number$1().int().nonnegative(),
|
|
6212
|
+
readyDocumentCount: number$1().int().nonnegative()
|
|
6213
|
+
});
|
|
6214
|
+
const BrainNameSchema = string().trim().min(1).max(120);
|
|
6215
|
+
/** Creates a base Brain. The caller becomes its sole owner; no project is granted. */
|
|
6216
|
+
const CreateBrainRequestSchema = object({
|
|
6217
|
+
name: BrainNameSchema,
|
|
6218
|
+
slug: BrainSlugSchema.optional(),
|
|
6219
|
+
description: BrainDescriptionSchema,
|
|
6220
|
+
indexConfig: BrainIndexConfigSchema.prefault({})
|
|
6221
|
+
}).strict();
|
|
6222
|
+
/** Index config changes trigger a rebuild into a fresh namespace generation. */
|
|
6223
|
+
const UpdateBrainRequestSchema = object({
|
|
6224
|
+
name: BrainNameSchema.optional(),
|
|
6225
|
+
description: BrainDescriptionSchema.optional(),
|
|
6226
|
+
indexConfig: BrainIndexConfigSchema.optional()
|
|
6227
|
+
}).strict().refine((value) => Object.values(value).some((field) => field !== void 0), { message: "At least one field is required" });
|
|
6228
|
+
const UpdateBrainResponseSchema = object({
|
|
6229
|
+
brain: BrainSummarySchema,
|
|
6230
|
+
/** Set when an indexConfig change kicked off a rebuild. */
|
|
6231
|
+
rebuildStarted: boolean()
|
|
6232
|
+
});
|
|
6233
|
+
const ListBrainsResponseSchema = object({ brains: array(BrainSummarySchema) });
|
|
6234
|
+
const BrainMemberSchema = object({
|
|
6235
|
+
userId: string().min(1),
|
|
6236
|
+
role: BrainMemberRoleSchema,
|
|
6237
|
+
createdByUserId: string().min(1).nullable(),
|
|
6238
|
+
createdAt: string().datetime(),
|
|
6239
|
+
updatedAt: string().datetime()
|
|
6240
|
+
});
|
|
6241
|
+
const AddBrainMemberRequestSchema = object({
|
|
6242
|
+
userId: string().min(1),
|
|
6243
|
+
role: BrainMemberRoleSchema.default("admin")
|
|
6244
|
+
}).strict();
|
|
6245
|
+
const UpdateBrainMemberRequestSchema = object({ role: BrainMemberRoleSchema }).strict();
|
|
6246
|
+
const ListBrainMembersResponseSchema = object({ members: array(BrainMemberSchema) });
|
|
6247
|
+
const BrainGrantSchema = object({
|
|
6248
|
+
id: string().min(1),
|
|
6249
|
+
brainId: string().min(1),
|
|
6250
|
+
projectId: string().min(1),
|
|
6251
|
+
access: BrainGrantAccessSchema,
|
|
6252
|
+
createdByUserId: string().min(1).nullable(),
|
|
6253
|
+
createdAt: string().datetime()
|
|
6254
|
+
});
|
|
6255
|
+
const CreateBrainGrantRequestSchema = object({
|
|
6256
|
+
projectId: string().min(1),
|
|
6257
|
+
access: BrainGrantAccessSchema.default("read")
|
|
6258
|
+
}).strict();
|
|
6259
|
+
const ListBrainGrantsResponseSchema = object({ grants: array(BrainGrantSchema) });
|
|
6260
|
+
const BrainFilterSummarySchema = object({
|
|
6261
|
+
id: string().min(1),
|
|
6262
|
+
/** Local slug, unique per Brain and colon-free. */
|
|
6263
|
+
slug: BrainSlugSchema,
|
|
6264
|
+
/** `{brain-slug}:{filter-slug}` — the externally addressable reference. */
|
|
6265
|
+
qualifiedSlug: BrainReferenceSchema,
|
|
6266
|
+
name: string().min(1),
|
|
6267
|
+
description: BrainDescriptionSchema,
|
|
6268
|
+
filter: BrainFilterExpressionSchema,
|
|
6269
|
+
createdByUserId: string().min(1).nullable(),
|
|
6270
|
+
createdAt: string().datetime(),
|
|
6271
|
+
updatedAt: string().datetime()
|
|
6272
|
+
});
|
|
6273
|
+
const CreateBrainFilterRequestSchema = object({
|
|
6274
|
+
name: BrainNameSchema,
|
|
6275
|
+
slug: BrainSlugSchema.optional(),
|
|
6276
|
+
description: BrainDescriptionSchema,
|
|
6277
|
+
filter: BrainFilterExpressionSchema
|
|
6278
|
+
}).strict();
|
|
6279
|
+
const UpdateBrainFilterRequestSchema = object({
|
|
6280
|
+
name: BrainNameSchema.optional(),
|
|
6281
|
+
description: BrainDescriptionSchema.optional(),
|
|
6282
|
+
filter: BrainFilterExpressionSchema.optional()
|
|
6283
|
+
}).strict().refine((value) => Object.values(value).some((field) => field !== void 0), { message: "At least one field is required" });
|
|
6284
|
+
const ListBrainFiltersResponseSchema = object({ filters: array(BrainFilterSummarySchema) });
|
|
6285
|
+
const BrainDocumentIdSchema = string().trim().min(1).max(512).refine((value) => ![...value].some((ch) => ch.charCodeAt(0) < 32 || ch.charCodeAt(0) === 127), { message: "documentId must not contain control characters" });
|
|
6286
|
+
const BrainDocumentTitleSchema = string().trim().min(1).max(500);
|
|
6287
|
+
const BrainEmbeddingContextSchema = string().trim().min(1).max(2e3);
|
|
6288
|
+
const BrainDocumentRevisionSchema = string().trim().min(1).max(256);
|
|
6289
|
+
string().trim().min(1).max(1024).refine((value) => ![...value].some((ch) => ch.charCodeAt(0) < 32 || ch.charCodeAt(0) === 127), { message: "file name must not contain control characters" });
|
|
6290
|
+
string().trim().min(1).max(256);
|
|
6291
|
+
/** Authored semantic block: one caller-supplied block becomes one exact chunk. */
|
|
6292
|
+
const BrainDocumentBlockSchema = object({
|
|
6293
|
+
text: string().min(1).max(BRAIN_MAX_BLOCK_CHARS),
|
|
6294
|
+
heading: string().trim().min(1).max(500).optional(),
|
|
6295
|
+
meta: record(string().max(64), string().max(BRAIN_MAX_METADATA_STRING_CHARS)).optional()
|
|
6296
|
+
}).strict();
|
|
6297
|
+
const sha256Hex$2 = string().regex(/^[a-f0-9]{64}$/, "Expected a lowercase hex sha256 digest");
|
|
6298
|
+
object({
|
|
6299
|
+
documentId: BrainDocumentIdSchema,
|
|
6300
|
+
title: BrainDocumentTitleSchema.optional(),
|
|
6301
|
+
/** Where the content originated (`linear`, `notion`, `manual`, …). Required. */
|
|
6302
|
+
source: BrainSourceSchema,
|
|
6303
|
+
content: string().min(1).max(BRAIN_MAX_INLINE_CONTENT_CHARS).optional(),
|
|
6304
|
+
blocks: array(BrainDocumentBlockSchema).min(1).max(BRAIN_MAX_BLOCKS_PER_DOCUMENT).optional(),
|
|
6305
|
+
metadata: BrainDocumentMetadataSchema.optional(),
|
|
6306
|
+
/** Extra text prefixed into chunk embeddings (like the title); never returned by read. */
|
|
6307
|
+
embeddingContext: BrainEmbeddingContextSchema.optional(),
|
|
6308
|
+
revision: BrainDocumentRevisionSchema.optional(),
|
|
6309
|
+
chunking: BrainCharacterChunkingSchema.optional()
|
|
6310
|
+
}).strict().refine((value) => value.content !== void 0 !== (value.blocks !== void 0), { message: "Provide exactly one of content or blocks" }).refine((value) => value.blocks === void 0 || value.chunking === void 0, {
|
|
6311
|
+
message: "Chunking controls are not allowed with blocks",
|
|
6312
|
+
path: ["chunking"]
|
|
6313
|
+
});
|
|
6314
|
+
object({
|
|
6315
|
+
documentId: BrainDocumentIdSchema,
|
|
6316
|
+
/** `queued` created a new version; `unchanged` skipped (revision or content hash matched). */
|
|
6317
|
+
outcome: _enum(["queued", "unchanged"]),
|
|
6318
|
+
versionId: string().min(1).nullable(),
|
|
6319
|
+
metadataUpdated: boolean()
|
|
6320
|
+
});
|
|
6321
|
+
const UpdateBrainDocumentMetadataRequestSchema = object({
|
|
6322
|
+
/** Full replacement of the document's metadata attributes; never re-embeds. */
|
|
6323
|
+
metadata: BrainDocumentMetadataSchema }).strict();
|
|
6324
|
+
const DeleteBrainDocumentsRequestSchema = object({ documentIds: array(BrainDocumentIdSchema).min(1).max(100) }).strict();
|
|
6325
|
+
const DeleteBrainDocumentsResponseSchema = object({ deletedDocumentIds: array(BrainDocumentIdSchema) });
|
|
6326
|
+
const BrainProvisionerKindSchema = _enum(["workflow", "manual"]);
|
|
6327
|
+
/**
|
|
6328
|
+
* Trusted system provenance for how a version entered the Brain: a workflow
|
|
6329
|
+
* run (project-scoped) or a manual Brain-admin upload (organization-scoped,
|
|
6330
|
+
* user identity only). Distinct from document `source` (content origin).
|
|
6331
|
+
*/
|
|
6332
|
+
const BrainDocumentProvisionerSchema = discriminatedUnion("kind", [object({
|
|
6333
|
+
kind: literal("workflow"),
|
|
6334
|
+
projectId: string().min(1),
|
|
6335
|
+
workflowRunId: string().min(1),
|
|
6336
|
+
workflowSlug: string().min(1),
|
|
6337
|
+
correlationId: string().min(1)
|
|
6338
|
+
}).strict(), object({
|
|
6339
|
+
kind: literal("manual"),
|
|
6340
|
+
userId: string().min(1)
|
|
6341
|
+
}).strict()]);
|
|
6342
|
+
const BrainDocumentWriteEventSchema = object({
|
|
6343
|
+
id: string().min(1),
|
|
6344
|
+
documentId: BrainDocumentIdSchema,
|
|
6345
|
+
provisioner: BrainDocumentProvisionerSchema,
|
|
6346
|
+
inputKind: BrainDocumentWriteInputKindSchema,
|
|
6347
|
+
outcome: BrainDocumentWriteOutcomeSchema,
|
|
6348
|
+
failureCode: string().trim().min(1).max(128).nullable().optional(),
|
|
6349
|
+
failureMessage: string().trim().min(1).max(2e3).nullable().optional(),
|
|
6350
|
+
submittedAt: string().datetime(),
|
|
6351
|
+
contentReceivedAt: string().datetime().nullable().optional(),
|
|
6352
|
+
completedAt: string().datetime().nullable().optional()
|
|
6353
|
+
}).strict().superRefine((event, context) => {
|
|
6354
|
+
const hasFailure = event.failureCode != null || event.failureMessage != null;
|
|
6355
|
+
if (event.outcome === "pending") {
|
|
6356
|
+
if (event.completedAt != null || hasFailure) context.addIssue({
|
|
6357
|
+
code: "custom",
|
|
6358
|
+
message: "Pending writes cannot have completion or failure fields"
|
|
6359
|
+
});
|
|
6360
|
+
return;
|
|
6361
|
+
}
|
|
6362
|
+
if (event.completedAt == null) context.addIssue({
|
|
6363
|
+
code: "custom",
|
|
6364
|
+
message: "Terminal writes require completedAt",
|
|
6365
|
+
path: ["completedAt"]
|
|
6366
|
+
});
|
|
6367
|
+
if (event.outcome !== "failed" && hasFailure) context.addIssue({
|
|
6368
|
+
code: "custom",
|
|
6369
|
+
message: "Failure fields are only valid for failed writes"
|
|
6370
|
+
});
|
|
6371
|
+
});
|
|
6372
|
+
/** List entry doubling as the ETL diffing primitive (compare sha256 / revision, then put). */
|
|
6373
|
+
const BrainDocumentSummarySchema = object({
|
|
6374
|
+
documentId: BrainDocumentIdSchema,
|
|
6375
|
+
title: string().min(1),
|
|
6376
|
+
/** Where the current content originated (`linear`, `notion`, `manual`, …). */
|
|
6377
|
+
source: BrainSourceSchema,
|
|
6378
|
+
status: BrainDocumentVersionStatusSchema.nullable(),
|
|
6379
|
+
/** Content hash of the live version; null until first ingest completes. */
|
|
6380
|
+
sha256: string().nullable(),
|
|
6381
|
+
/** Caller-supplied revision fingerprint from the last put. */
|
|
6382
|
+
revision: string().nullable(),
|
|
6383
|
+
failureCode: BrainDocumentFailureCodeSchema.nullable().optional(),
|
|
6384
|
+
failureMessage: string().nullable().optional(),
|
|
6385
|
+
byteSize: number$1().int().nonnegative().nullable().optional(),
|
|
6386
|
+
chunkCount: number$1().int().nonnegative().nullable().optional(),
|
|
6387
|
+
/**
|
|
6388
|
+
* Provenance for the event whose version is current. Null means legacy or
|
|
6389
|
+
* unavailable provenance; later failed/unchanged writes never replace it.
|
|
6390
|
+
*/
|
|
6391
|
+
currentProvenance: BrainDocumentWriteEventSchema.nullable(),
|
|
6392
|
+
createdAt: string().datetime(),
|
|
6393
|
+
updatedAt: string().datetime()
|
|
6394
|
+
});
|
|
6395
|
+
const BrainDocumentDetailSchema = BrainDocumentSummarySchema.extend({
|
|
6396
|
+
metadata: BrainDocumentMetadataSchema.nullable(),
|
|
6397
|
+
contentType: string().nullable(),
|
|
6398
|
+
format: string().nullable()
|
|
6399
|
+
});
|
|
6400
|
+
/** Accepts one repeated query param or an array; normalizes to an array. */
|
|
6401
|
+
function queryList(schema) {
|
|
6402
|
+
return union([schema, array(schema).min(1)]).transform((value) => Array.isArray(value) ? value : [value]).optional();
|
|
6403
|
+
}
|
|
6404
|
+
const ListBrainDocumentsQuerySchema = object({
|
|
6405
|
+
/** Filters documentIds by prefix (e.g. `slack:C123:`). */
|
|
6406
|
+
prefix: string().min(1).max(512).optional(),
|
|
6407
|
+
/** Case-insensitive substring over title and documentId. */
|
|
6408
|
+
search: string().trim().min(1).max(256).optional(),
|
|
6409
|
+
/** Any-of filter over document source. */
|
|
6410
|
+
source: queryList(BrainSourceSchema),
|
|
6411
|
+
/** Any-of filter over the current version's provisioner kind. */
|
|
6412
|
+
provisionerKind: queryList(BrainProvisionerKindSchema),
|
|
6413
|
+
/** Applies one persisted Brain filter expression (local filter slug). */
|
|
6414
|
+
filterSlug: BrainSlugSchema.optional(),
|
|
6415
|
+
cursor: string().min(1).optional(),
|
|
6416
|
+
limit: number().int().min(1).max(500).default(100)
|
|
6417
|
+
});
|
|
6418
|
+
const ListBrainDocumentsResponseSchema = object({
|
|
6419
|
+
documents: array(BrainDocumentSummarySchema),
|
|
6420
|
+
nextCursor: string().nullable()
|
|
6421
|
+
});
|
|
6422
|
+
const ListBrainDocumentWritesQuerySchema = object({
|
|
6423
|
+
documentId: BrainDocumentIdSchema,
|
|
6424
|
+
cursor: string().min(1).optional(),
|
|
6425
|
+
limit: number().int().min(1).max(100).default(50)
|
|
6426
|
+
});
|
|
6427
|
+
const ListBrainDocumentWritesResponseSchema = object({
|
|
6428
|
+
writes: array(BrainDocumentWriteEventSchema),
|
|
6429
|
+
nextCursor: string().nullable()
|
|
6430
|
+
});
|
|
6431
|
+
const PrepareBrainUploadsRequestSchema = object({ files: array(object({
|
|
6432
|
+
idempotencyId: string().uuid(),
|
|
6433
|
+
/** Doubles as the documentId; normalized as a relative path. */
|
|
6434
|
+
documentId: BrainDocumentIdSchema,
|
|
6435
|
+
size: number$1().int().nonnegative().max(BRAIN_MAX_FILE_BYTES),
|
|
6436
|
+
contentType: string().min(1).max(255),
|
|
6437
|
+
/** Local hash, verified by the worker and used for safe prepare-time dedupe. */
|
|
6438
|
+
sha256: sha256Hex$2,
|
|
6439
|
+
/** Where the content originated; manual UI uploads default to `manual`. */
|
|
6440
|
+
source: BrainSourceSchema,
|
|
6441
|
+
metadata: BrainDocumentMetadataSchema.optional()
|
|
6442
|
+
})).min(1).max(BRAIN_MAX_FOLDER_FILES) }).strict();
|
|
6443
|
+
const BrainUploadAcceptedSchema = object({
|
|
6444
|
+
idempotencyId: string().uuid(),
|
|
6445
|
+
documentId: BrainDocumentIdSchema,
|
|
6446
|
+
versionId: string().min(1),
|
|
6447
|
+
/**
|
|
6448
|
+
* Null when a verified content-addressed blob was reused and ingestion was
|
|
6449
|
+
* queued immediately. Otherwise, submit the file as multipart form data.
|
|
6450
|
+
*/
|
|
6451
|
+
upload: object({
|
|
6452
|
+
method: literal("POST"),
|
|
6453
|
+
url: string().url(),
|
|
6454
|
+
fields: record(string(), string())
|
|
6455
|
+
}).nullable()
|
|
6456
|
+
});
|
|
6457
|
+
const BrainUploadSkippedSchema = object({
|
|
6458
|
+
documentId: BrainDocumentIdSchema,
|
|
6459
|
+
reason: BrainSkippedReasonSchema,
|
|
6460
|
+
message: string().min(1).optional()
|
|
6461
|
+
});
|
|
6462
|
+
const PrepareBrainUploadsResponseSchema = object({
|
|
6463
|
+
accepted: array(BrainUploadAcceptedSchema),
|
|
6464
|
+
skipped: array(BrainUploadSkippedSchema)
|
|
6465
|
+
});
|
|
6466
|
+
const FinalizeBrainUploadsRequestSchema = object({ versionIds: array(string().min(1)).min(1).max(100) }).strict();
|
|
6467
|
+
const FinalizeBrainUploadsResponseSchema = object({ results: array(object({
|
|
6468
|
+
versionId: string().min(1),
|
|
6469
|
+
documentId: BrainDocumentIdSchema,
|
|
6470
|
+
status: BrainDocumentVersionStatusSchema,
|
|
6471
|
+
failureCode: BrainDocumentFailureCodeSchema.nullable().optional(),
|
|
6472
|
+
failureMessage: string().nullable().optional()
|
|
6473
|
+
})) });
|
|
6474
|
+
/** `hybrid` = ANN + BM25 with server fusion; `semantic` / `keyword` drop one leg. */
|
|
6475
|
+
const BrainSearchModeSchema = _enum([
|
|
6476
|
+
"hybrid",
|
|
6477
|
+
"semantic",
|
|
6478
|
+
"keyword"
|
|
6479
|
+
]);
|
|
6480
|
+
object({
|
|
6481
|
+
query: string().trim().min(1).max(4e3),
|
|
6482
|
+
mode: BrainSearchModeSchema.default("hybrid"),
|
|
6483
|
+
limit: number$1().int().min(1).max(20).default(5),
|
|
6484
|
+
minScore: number$1().min(0).max(1).optional(),
|
|
6485
|
+
rerank: boolean().default(true),
|
|
6486
|
+
/** Query-time narrowing; ANDs with the persisted filter when a qualified reference is searched. */
|
|
6487
|
+
filters: BrainFilterExpressionSchema.optional()
|
|
6488
|
+
}).strict();
|
|
6489
|
+
const BrainSearchHitSchema = object({
|
|
6490
|
+
/** Reference the hit was served through (qualified when searching a filter). */
|
|
6491
|
+
brain: BrainReferenceSchema,
|
|
6492
|
+
documentId: BrainDocumentIdSchema,
|
|
6493
|
+
chunkId: string().min(1),
|
|
6494
|
+
score: number$1(),
|
|
6495
|
+
title: string().min(1),
|
|
6496
|
+
text: string().min(1),
|
|
6497
|
+
/** Where the document's content originated. */
|
|
6498
|
+
source: BrainSourceSchema,
|
|
6499
|
+
/** Human-readable location within the document (page/slide/heading) when known. */
|
|
6500
|
+
locationLabel: string().nullable(),
|
|
6501
|
+
metadata: BrainDocumentMetadataSchema.nullable()
|
|
6502
|
+
});
|
|
6503
|
+
object({
|
|
6504
|
+
hits: array(BrainSearchHitSchema),
|
|
6505
|
+
reranked: boolean()
|
|
6506
|
+
});
|
|
6507
|
+
object({
|
|
6508
|
+
query: string().trim().min(1).max(4e3),
|
|
6509
|
+
hits: array(BrainSearchHitSchema).min(1).max(320),
|
|
6510
|
+
limit: number$1().int().min(1).max(20)
|
|
6511
|
+
}).strict();
|
|
6512
|
+
object({
|
|
6513
|
+
offset: number().int().nonnegative().default(0),
|
|
6514
|
+
maxChars: number().int().min(1).max(BRAIN_READ_MAX_CHARS).default(BRAIN_READ_MAX_CHARS)
|
|
6515
|
+
});
|
|
6516
|
+
object({
|
|
6517
|
+
brain: BrainReferenceSchema,
|
|
6518
|
+
documentId: BrainDocumentIdSchema,
|
|
6519
|
+
title: string().min(1),
|
|
6520
|
+
offset: number$1().int().nonnegative(),
|
|
6521
|
+
text: string(),
|
|
6522
|
+
truncated: boolean()
|
|
6523
|
+
});
|
|
6524
|
+
object({
|
|
6525
|
+
/** Reference the agent addresses (base slug or qualified `{brain}:{filter}`). */
|
|
6526
|
+
slug: BrainReferenceSchema,
|
|
6527
|
+
name: string().min(1),
|
|
6528
|
+
description: BrainDescriptionSchema,
|
|
6529
|
+
/** Base Brain that owns the documents and index. */
|
|
6530
|
+
brainSlug: BrainSlugSchema,
|
|
6531
|
+
/** Filter slug when attached through a qualified reference; null otherwise. */
|
|
6532
|
+
filterSlug: BrainSlugSchema.nullable(),
|
|
6533
|
+
/** Persisted narrowing applied over the base Brain; null for base references. */
|
|
6534
|
+
filter: BrainFilterExpressionSchema.nullable()
|
|
6535
|
+
});
|
|
6536
|
+
const RebuildBrainResponseSchema = object({
|
|
6537
|
+
brainId: string().min(1),
|
|
6538
|
+
status: BrainStatusSchema,
|
|
6539
|
+
/** Namespace generation the rebuild is writing into. */
|
|
6540
|
+
targetGeneration: number$1().int().positive()
|
|
6541
|
+
});
|
|
6542
|
+
const BrainRuntimeJobCommonSchema = object({
|
|
6543
|
+
operationId: string().regex(/^[a-f0-9]{64}$/),
|
|
6544
|
+
/** Originating project for workflow-scoped jobs; null for organization-scoped
|
|
6545
|
+
* operations (manual uploads, admin rebuilds/deletes). */
|
|
6546
|
+
projectId: string().min(1).nullable(),
|
|
6547
|
+
brainId: string().min(1),
|
|
6548
|
+
brainSlug: BrainSlugSchema
|
|
6549
|
+
}).strict();
|
|
6550
|
+
discriminatedUnion("operation", [
|
|
6551
|
+
BrainRuntimeJobCommonSchema.extend({
|
|
6552
|
+
operation: literal("ingest-version"),
|
|
6553
|
+
versionId: string().min(1)
|
|
6554
|
+
}),
|
|
6555
|
+
BrainRuntimeJobCommonSchema.extend({ operation: literal("rebuild-brain") }),
|
|
6556
|
+
BrainRuntimeJobCommonSchema.extend({
|
|
6557
|
+
operation: literal("reconcile-metadata"),
|
|
6558
|
+
documentId: BrainDocumentIdSchema
|
|
6559
|
+
}),
|
|
6560
|
+
BrainRuntimeJobCommonSchema.extend({
|
|
6561
|
+
operation: literal("cleanup-document"),
|
|
6562
|
+
documentRowId: string().min(1),
|
|
6563
|
+
deletionEpoch: number$1().int().positive(),
|
|
6564
|
+
versionIds: array(string().min(1))
|
|
6565
|
+
}),
|
|
6566
|
+
BrainRuntimeJobCommonSchema.extend({
|
|
6567
|
+
operation: literal("cleanup-version"),
|
|
6568
|
+
versionId: string().min(1)
|
|
6569
|
+
}),
|
|
6570
|
+
BrainRuntimeJobCommonSchema.extend({
|
|
6571
|
+
operation: literal("cleanup-generation"),
|
|
6572
|
+
generation: number$1().int().positive()
|
|
6573
|
+
}),
|
|
6574
|
+
BrainRuntimeJobCommonSchema.extend({ operation: literal("delete-brain") })
|
|
6575
|
+
]);
|
|
5951
6576
|
const TriggerTypeSchema = _enum([
|
|
5952
6577
|
"webhook",
|
|
5953
6578
|
"poll",
|
|
@@ -6036,6 +6661,7 @@ const WorkflowCanvasNodeTypeSchema = _enum([
|
|
|
6036
6661
|
_enum([
|
|
6037
6662
|
"workflow-step",
|
|
6038
6663
|
"agent",
|
|
6664
|
+
"brain",
|
|
6039
6665
|
"llm",
|
|
6040
6666
|
"wait",
|
|
6041
6667
|
"hook",
|
|
@@ -6231,6 +6857,7 @@ const storedRouteManifestEntryV2Schema = discriminatedUnion("kind", [
|
|
|
6231
6857
|
toolCount: number$1().int().nonnegative(),
|
|
6232
6858
|
credentialCount: number$1().int().nonnegative(),
|
|
6233
6859
|
sandboxMode: AgentSandboxModeSchema.optional(),
|
|
6860
|
+
brainSlugs: array(BrainReferenceSchema).default([]),
|
|
6234
6861
|
appSlugs: array(string()).default([]),
|
|
6235
6862
|
toolSlugs: array(string()).default([]),
|
|
6236
6863
|
/** Credential requirements per tool slug (the agent's credential consumer key). */
|
|
@@ -6379,6 +7006,7 @@ object({
|
|
|
6379
7006
|
toolCount: number$1().int().nonnegative(),
|
|
6380
7007
|
credentialCount: number$1().int().nonnegative(),
|
|
6381
7008
|
sandboxMode: AgentSandboxModeSchema.optional(),
|
|
7009
|
+
brainSlugs: array(BrainReferenceSchema).default([]),
|
|
6382
7010
|
appSlugs: array(string()).default([]),
|
|
6383
7011
|
toolSlugs: array(string()).default([]),
|
|
6384
7012
|
toolRequirements: record(string(), array(CredentialRequirementSummarySchema)).optional(),
|
|
@@ -7424,6 +8052,14 @@ const SubmitMarketingContactRequestSchema = object({
|
|
|
7424
8052
|
/** Honeypot — must stay empty; bots that fill it are ignored silently. */
|
|
7425
8053
|
companyWebsite: string().optional()
|
|
7426
8054
|
});
|
|
8055
|
+
const ListEmbeddingModelsResponseSchema = object({ models: array(object({
|
|
8056
|
+
id: BrainEmbeddingModelSchema,
|
|
8057
|
+
name: string().min(1),
|
|
8058
|
+
provider: string().min(1),
|
|
8059
|
+
contextWindow: number$1().int().positive().optional(),
|
|
8060
|
+
/** USD per 1M input tokens, when the catalog prices the model. */
|
|
8061
|
+
inputPerMillionUsd: number$1().nonnegative().optional()
|
|
8062
|
+
})) });
|
|
7427
8063
|
const CredentialAccessUnavailableReasonSchema = _enum(["request_access", "reconnect_required"]);
|
|
7428
8064
|
object({
|
|
7429
8065
|
error: literal("credential_access_unavailable"),
|
|
@@ -9791,6 +10427,6 @@ const AgentEnvImageSnapshotResponseSchema = object({
|
|
|
9791
10427
|
});
|
|
9792
10428
|
const WorkflowRunInputsPutBodySchema = record(string(), unknown());
|
|
9793
10429
|
//#endregion
|
|
9794
|
-
export { DeclineOrganizationInvitationResponseSchema as $, ConfirmCheckoutResponseSchema as $i, STORED_JSON_SCHEMA_TARGET as $n, WorkflowRunResponseSchema as $r, McpDiscoverResponseSchema as $t, CreateApiKeyRequestSchema as A, NEVER as Aa, CredentialAssignmentListResponseSchema as Ai, ProjectGitRemoteResponseSchema as An, UpdateOrganizationMemberResponseSchema as Ar, ListAgentWorkspaceFilesResponseSchema as At, CreateOrganizationResponseSchema as B, LOCAL_PLATFORM_ORIGIN as Bi, PublicFormSubmitBodySchema as Bn, UserAvatarSchema as Br, ListOrganizationMembersPageQuerySchema as Bt, CompleteManagedDeployArtifactRequestSchema as C, record as Ca, parseStoredRouteManifest as Ci, PresignOrgLogoResponseSchema as Cn, TriggerRunDetailResponseSchema as Cr, HistoryRunListQuerySchema as Ct, ConnectAuthorizeUrlResponseSchema as D, url as Da, zodToStoredJsonSchema as Di, PresignUserAvatarResponseSchema as Dn, UpdateCredentialRequestSchema as Dr, InviteProjectMembersRequestSchema as Dt, CompleteProjectArtifactResponseSchema as E, unknown as Ea, slugifyAppName as Ei, PresignUserAvatarRequestSchema as En, UpdateCredentialInstanceBodySchema as Er, InviteOrganizationMembersResponseSchema as Et, CreateCustomAppRequestSchema as F, credentialInputSchema as Fi, ProjectSettingsResponseSchema as Fn, UpdateProjectSettingsRequestSchema as Fr, ListCredentialsPageResponseSchema as Ft, CreateSlackAppRequestSchema as G, PublicModelsResponseSchema as Gi, PublishedFormSchema as Gn, WorkflowCanvasSchema as Gr, ListProjectMembersResponseSchema as Gt, CreateProjectArtifactResponseSchema as H, CLIENT_CHANNEL_HEADER as Hi, PublishManagedDeployCandidateRequestSchema as Hn, UserPreferencesSchema as Hr, ListOrganizationsResponseSchema as Ht, CreateCustomAppResponseSchema as I, getOpenApiJsonSchema as Ii, ProjectSlugAvailabilityResponseSchema as In, UploadProjectSourceManifestRequestSchema as Ir, ListDraftFilesResponseSchema as It, CreateSlackChannelResponseSchema as J, BillingInvoiceUrlResponseSchema as Ji, RecentResourceListResponseSchema as Jn, WorkflowRunDetailResponseSchema as Jr, ListTemplatesResponseSchema as Jt, CreateSlackAppResponseSchema as K, AutoTopupSummarySchema as Ki, QueuedAgentPromptResponseSchema as Kn, WorkflowFormResponseSchema as Kr, ListProjectMetricsResponseSchema as Kt, CreateDraftCommitRequestSchema as L, normalizeCredentialList as Li, PromptInputSchema as Ln, UploadProjectSourceResponseSchema as Lr, ListManagedServiceCredentialsResponseSchema as Lt, CreateCredentialInstanceBodySchema as M, CredentialConsumerListQuerySchema as Mi, ProjectPullStateSchema as Mn, UpdateProjectMemberRequestSchema as Mr, ListAppsResponseSchema as Mt, CreateCredentialsRequestSchema as N, CredentialConsumerListResponseSchema as Ni, ProjectReachabilityResponseSchema as Nn, UpdateProjectMemberResponseSchema as Nr, ListChannelPlatformsResponseSchema as Nt, ConnectManagedServiceCredentialRequestSchema as O, datetime as Oa, AssignCredentialBodySchema as Oi, ProjectArtifactIndexSchema as On, UpdateManagedServiceCredentialRequestSchema as Or, InviteProjectMembersResponseSchema as Ot, CreateCredentialsResponseSchema as P, ExecuteKeystrokeToolRequestSchema as Pi, ProjectResponseSchema as Pn, UpdateProjectRequestSchema as Pr, ListCredentialsPageQuerySchema as Pt, DOCS_SEARCH_TOOL as Q, ConfirmCheckoutRequestSchema as Qi, SLACK_PERSONAL_APP_SLUG as Qn, WorkflowRunListResponseSchema as Qr, ManagedServiceKindSchema as Qt, CreateDraftDiffCommitRequestSchema as R, requiredDisplayTextSchema as Ri, PromptResponseSchema as Rn, UpsertGatewayAttachmentBodySchema as Rr, ListMcpAppToolsResponseSchema as Rt, ChannelDirectoryListResponseSchema as S, preprocess as Sa, parseSlackConnectFlow as Si, PresignOrgLogoRequestSchema as Sn, TriggerListResponseSchema as Sr, HistoryRunDetailResponseSchema as St, CompleteProjectArtifactRequestSchema as T, union as Ta, resolveDocsMcpUrl as Ti, PresignProjectSourceResponseSchema as Tn, UpdateChannelBindingBodySchema as Tr, InviteOrganizationMembersRequestSchema as Tt, CreateProjectRequestSchema as U, PresignChatAttachmentRequestSchema as Ui, PublishManagedDeployCandidateResponseSchema as Un, WorkflowCanvasCredentialBindingsSchema as Ur, ListProjectDeploymentsResponseSchema as Ut, CreateProjectArtifactRequestSchema as V, ACTIVE_ORG_HEADER as Vi, PublicFormSubmitResponseSchema as Vn, UserPreferencesPatchSchema as Vr, ListOrganizationMembersPageResponseSchema as Vt, CreateProjectResponseSchema as W, PresignChatAttachmentResponseSchema as Wi, PublishedFormListResponseSchema as Wn, WorkflowCanvasRunSchema as Wr, ListProjectFilesResponseSchema as Wt, CredentialInstanceRecordSchema as X, BillingSummaryResponseSchema as Xi, RenewManagedDeployUploadResponseSchema as Xn, WorkflowRunInputsPutBodySchema as Xr, ManagedDeployResourceKeySchema as Xt, CredentialInstanceListResponseSchema as Y, BillingRedirectResponseSchema as Yi, RenewManagedDeployUploadRequestSchema as Yn, WorkflowRunHooksResponseSchema as Yr, MANAGED_DEPLOY_REQUEST_TIMEOUT_MS as Yt, DOCS_QUERY_TOOL as Z, BillingUsageResponseSchema as Zi, SLACK_KEYSTROKE_APP_SLUG as Zn, WorkflowRunInputsSchema as Zr, ManagedServiceCredentialSchema as Zt, CatalogAppDetailResponseSchema as _, literal as _a, normalizeDocsSearchPaths as _i, PlatformAgentSessionListResponseSchema as _n, SubmitTeamRequestRequestSchema as _r, GraphqlDiscoverResponseSchema as _t, AgentSessionDetailResponseSchema as a, ZodIssueCode as aa, WorkspaceTriggerOverviewSchema as ai, PROJECT_DRAFT_DIFF_MAX_BYTES as an, SlackAppManifestRequestSchema as ar, DraftRevisionResponseSchema as at, ChannelConnectionListResponseSchema as b, object as ba, parseErrorResponse as bi, PresignCustomAppLogoRequestSchema as bn, TriggerInvokeInputsSchema as br, HeartbeatManagedDeployResponseSchema as bt, AgentSummaryListResponseSchema as c, _function as ca, buildAgentSlackDeeplink as ci, PROJECT_REACHABILITY_REQUEST_TIMEOUT_MS as cn, SlugAvailabilityResponseSchema as cr, DuplicateCredentialsResponseSchema as ct, BindAgentSlackAppBodySchema as d, array as da, detectProjectPackageManagerFromSnapshot as di, PROJECT_SOURCE_MAX_FILE_BYTES as dn, StartMcpOAuthConnectionInputSchema as dr, FormFieldConfigSchema as dt, CreateBillingPortalRequestSchema as ea, WorkflowSummaryDetailResponseSchema as ei, OpenApiDiscoverResponseSchema as en, SkillSummaryDetailResponseSchema as er, DownloadActiveProjectArtifactResponseSchema as et, BindChannelBodySchema as f, boolean as fa, gitPorcelainLineTouchesManagedDraftPublishPath as fi, PROJECT_SOURCE_MAX_TOTAL_BYTES as fn, StartMcpOAuthConnectionResultSchema as fr, GatewayAttachmentRecordSchema as ft, CatalogActionsPageResponseSchema as g, lazy as ga, isProbablyBinaryProjectSource as gi, PlatformAgentSessionDetailResponseSchema as gn, SubmitMarketingContactRequestSchema as gr, GetTemplateResponseSchema as gt, CatalogActionDetailResponseSchema as h, intersection as ha, isIgnoredProjectSourcePath as hi, PlatformAgentPromptResponseSchema as hn, SubmitAgentFeedbackRequestSchema as hr, GetCustomAppResponseSchema as ht, AgentEnvImageSnapshotResponseSchema as i, number as ia, WorkspaceTriggerListResponseSchema as ii, PROJECT_DRAFT_COMMIT_REQUEST_TIMEOUT_MS as in, SlackAppListResponseSchema as ir, DraftFileContentResponseSchema as it, CreateApiKeyResponseSchema as j, CredentialAssignmentRecordSchema as ji, ProjectGitStatusResponseSchema as jn, UpdateOrganizationRequestSchema as jr, ListApiKeysResponseSchema as jt, ConnectProvidersResponseSchema as k, safeParse$1 as ka, CredentialAssignmentListQuerySchema as ki, ProjectGitRemoteRequestSchema as kn, UpdateOrganizationMemberRequestSchema as kr, ListAgentMemoryFilesResponseSchema as kt, AgentTriggerSummaryListResponseSchema as l, _null as la, buildConnectDeeplink as li, PROJECT_SOURCE_IGNORED_DIRS as ln, StartKeystrokeConnectionInputSchema as lr, FinalizeCustomAppLogoRequestSchema as lt, CancelManagedDeployResponseSchema as m, discriminatedUnion as ma, isIgnoredProjectSourceFileName as mi, PlatformAgentPromptInputSchema as mn, StartOAuthConnectionResultSchema as mr, GetCredentialResponseSchema as mt, ActiveOrganizationResponseSchema as n, CreateSubscriptionCheckoutRequestSchema as na, WorkspaceTriggerDetailSchema as ni, OrganizationSidebarBrandingSchema as nn, SlackAgentMembershipsResponseSchema as nr, DraftCommitResponseSchema as nt, AgentSessionListResponseSchema as o, ZodType as oa, WorkspaceTriggerRunListResponseSchema as oi, PROJECT_MANIFEST_REL_PATH as on, SlackAppManifestResponseSchema as or, DraftUpdateEventSchema as ot, CancelManagedDeployRequestSchema as p, custom as pa, isAcceptableInstallExit as pi, PlatformAgentCancelResponseSchema as pn, StartOAuthConnectionInputSchema as pr, GetAppCatalogEntryResponseSchema as pt, CreateSlackChannelBodySchema as q, BillingActivityResponseSchema as qi, QueuedRunResponseSchema as qn, WorkflowFormUpsertBodySchema as qr, ListProjectsResponseSchema as qt, ActiveProjectSourceRevisionSchema as r, UpdateAutoTopupRequestSchema as ra, WorkspaceTriggerFileSchema as ri, PNPM_FROZEN_INSTALL_ARGS as rn, SlackAppInstallStartResponseSchema as rr, DraftConflictResponseSchema as rt, AgentSummaryDetailResponseSchema as s, _enum as sa, WorkspaceWorkflowOverviewSchema as si, PROJECT_PULL_STATE_RELATIVE_PATH as sn, SlackMembershipChannelBodySchema as sr, DuplicateCredentialRequestSchema as st, AcceptOrganizationInvitationResponseSchema as t, CreateCreditsCheckoutRequestSchema as ta, WorkflowSummaryListResponseSchema as ti, OrganizationSidebarBrandingPatchSchema as tn, SkillSummaryListResponseSchema as tr, DownloadActiveProjectSourceResponseSchema as tt, AppSlugAvailabilityResponseSchema as u, any as ua, deriveCustomAppDisplay as ui, PROJECT_SOURCE_MAX_FILES as un, StartKeystrokeConnectionResultSchema as ur, FinalizeCustomAppLogoResponseSchema as ut, CatalogAppsPageResponseSchema as v, looseObject as va, originFromPublicUrl as vi, PrepareManagedDeployRequestSchema as vn, TemplateFilesResponseSchema as vr, HealthResponseSchema as vt, CompleteManagedDeployArtifactResponseSchema as w, string as wa, resolveConnectAppSlug as wi, PresignProjectSourceRequestSchema as wn, TriggerRunListResponseSchema as wr, HistoryRunListResponseSchema as wt, ChannelConnectionSchema as x, optional as xa, parseProjectManifest as xi, PresignCustomAppLogoResponseSchema as xn, TriggerInvokeResponseSchema as xr, HistoryRunCancelResponseSchema as xt, ChannelAccountListResponseSchema as y, number$1 as ya, parseAppSlug as yi, PrepareManagedDeployResponseSchema as yn, TriggerDetailResponseSchema as yr, HeartbeatManagedDeployRequestSchema as yt, CreateOrganizationRequestSchema as z, DEFAULT_CLOUD_PLATFORM_ORIGIN as zi, PublicFormMetadataSchema as zn, UserAvatarPatchSchema as zr, ListOrganizationInvitationsResponseSchema as zt };
|
|
10430
|
+
export { CreateProjectArtifactRequestSchema as $, object as $a, parseErrorResponse as $i, PresignUserAvatarRequestSchema as $n, UpdateBrainDocumentMetadataRequestSchema as $r, ListBrainFiltersResponseSchema as $t, ChannelConnectionSchema as A, BillingUsageResponseSchema as Aa, WorkflowRunInputsSchema as Ai, PROJECT_DRAFT_DIFF_MAX_BYTES as An, SlackAgentMembershipsResponseSchema as Ar, GetCredentialResponseSchema as At, CreateApiKeyResponseSchema as B, _enum as Ba, WorkspaceWorkflowOverviewSchema as Bi, PlatformAgentPromptResponseSchema as Bn, StartMcpOAuthConnectionResultSchema as Br, HistoryRunListResponseSchema as Bt, CancelManagedDeployResponseSchema as C, PresignChatAttachmentResponseSchema as Ca, WorkflowCanvasRunSchema as Ci, ManagedServiceKindSchema as Cn, RenewManagedDeployUploadRequestSchema as Cr, FinalizeBrainUploadsRequestSchema as Ct, CatalogAppsPageResponseSchema as D, BillingInvoiceUrlResponseSchema as Da, WorkflowRunDetailResponseSchema as Di, OrganizationSidebarBrandingSchema as Dn, STORED_JSON_SCHEMA_TARGET as Dr, FormFieldConfigSchema as Dt, CatalogAppDetailResponseSchema as E, BillingActivityResponseSchema as Ea, WorkflowFormUpsertBodySchema as Ei, OrganizationSidebarBrandingPatchSchema as En, SLACK_PERSONAL_APP_SLUG as Er, FinalizeCustomAppLogoResponseSchema as Et, CompleteProjectArtifactResponseSchema as F, CreateSubscriptionCheckoutRequestSchema as Fa, WorkspaceTriggerDetailSchema as Fi, PROJECT_SOURCE_MAX_FILES as Fn, SlackMembershipChannelBodySchema as Fr, HeartbeatManagedDeployRequestSchema as Ft, CreateCredentialsRequestSchema as G, boolean as Ga, gitPorcelainLineTouchesManagedDraftPublishPath as Gi, PrepareManagedDeployRequestSchema as Gn, SubmitTeamRequestRequestSchema as Gr, ListAgentMemoryFilesResponseSchema as Gt, CreateBrainGrantRequestSchema as H, _null as Ha, buildConnectDeeplink as Hi, PlatformAgentSessionListResponseSchema as Hn, StartOAuthConnectionResultSchema as Hr, InviteOrganizationMembersResponseSchema as Ht, ConnectAuthorizeUrlResponseSchema as I, UpdateAutoTopupRequestSchema as Ia, WorkspaceTriggerFileSchema as Ii, PROJECT_SOURCE_MAX_FILE_BYTES as In, SlugAvailabilityResponseSchema as Ir, HeartbeatManagedDeployResponseSchema as It, CreateCustomAppResponseSchema as J, intersection as Ja, isIgnoredProjectSourcePath as Ji, PresignCustomAppLogoResponseSchema as Jn, TriggerInvokeInputsSchema as Jr, ListAppsResponseSchema as Jt, CreateCredentialsResponseSchema as K, custom as Ka, isAcceptableInstallExit as Ki, PrepareManagedDeployResponseSchema as Kn, TemplateFilesResponseSchema as Kr, ListAgentWorkspaceFilesResponseSchema as Kt, ConnectManagedServiceCredentialRequestSchema as L, number as La, WorkspaceTriggerListResponseSchema as Li, PROJECT_SOURCE_MAX_TOTAL_BYTES as Ln, StartKeystrokeConnectionInputSchema as Lr, HistoryRunCancelResponseSchema as Lt, CompleteManagedDeployArtifactRequestSchema as M, ConfirmCheckoutResponseSchema as Ma, WorkflowRunResponseSchema as Mi, PROJECT_PULL_STATE_RELATIVE_PATH as Mn, SlackAppListResponseSchema as Mr, GetTemplateResponseSchema as Mt, CompleteManagedDeployArtifactResponseSchema as N, CreateBillingPortalRequestSchema as Na, WorkflowSummaryDetailResponseSchema as Ni, PROJECT_REACHABILITY_REQUEST_TIMEOUT_MS as Nn, SlackAppManifestRequestSchema as Nr, GraphqlDiscoverResponseSchema as Nt, ChannelAccountListResponseSchema as O, BillingRedirectResponseSchema as Oa, WorkflowRunHooksResponseSchema as Oi, PNPM_FROZEN_INSTALL_ARGS as On, SkillSummaryDetailResponseSchema as Or, GatewayAttachmentRecordSchema as Ot, CompleteProjectArtifactRequestSchema as P, CreateCreditsCheckoutRequestSchema as Pa, WorkflowSummaryListResponseSchema as Pi, PROJECT_SOURCE_IGNORED_DIRS as Pn, SlackAppManifestResponseSchema as Pr, HealthResponseSchema as Pt, CreateOrganizationResponseSchema as Q, number$1 as Qa, parseAppSlug as Qi, PresignProjectSourceResponseSchema as Qn, TriggerRunListResponseSchema as Qr, ListBrainDocumentsResponseSchema as Qt, ConnectProvidersResponseSchema as R, ZodIssueCode as Ra, WorkspaceTriggerOverviewSchema as Ri, PlatformAgentCancelResponseSchema as Rn, StartKeystrokeConnectionResultSchema as Rr, HistoryRunDetailResponseSchema as Rt, CancelManagedDeployRequestSchema as S, PresignChatAttachmentRequestSchema as Sa, WorkflowCanvasCredentialBindingsSchema as Si, ManagedServiceCredentialSchema as Sn, RecentResourceListResponseSchema as Sr, DuplicateCredentialsResponseSchema as St, CatalogActionsPageResponseSchema as T, AutoTopupSummarySchema as Ta, WorkflowFormResponseSchema as Ti, OpenApiDiscoverResponseSchema as Tn, SLACK_KEYSTROKE_APP_SLUG as Tr, FinalizeCustomAppLogoRequestSchema as Tt, CreateBrainRequestSchema as U, any as Ua, deriveCustomAppDisplay as Ui, PrepareBrainUploadsRequestSchema as Un, SubmitAgentFeedbackRequestSchema as Ur, InviteProjectMembersRequestSchema as Ut, CreateBrainFilterRequestSchema as V, _function as Va, buildAgentSlackDeeplink as Vi, PlatformAgentSessionDetailResponseSchema as Vn, StartOAuthConnectionInputSchema as Vr, InviteOrganizationMembersRequestSchema as Vt, CreateCredentialInstanceBodySchema as W, array as Wa, detectProjectPackageManagerFromSnapshot as Wi, PrepareBrainUploadsResponseSchema as Wn, SubmitMarketingContactRequestSchema as Wr, InviteProjectMembersResponseSchema as Wt, CreateDraftDiffCommitRequestSchema as X, literal as Xa, normalizeDocsSearchPaths as Xi, PresignOrgLogoResponseSchema as Xn, TriggerListResponseSchema as Xr, ListBrainDocumentWritesResponseSchema as Xt, CreateDraftCommitRequestSchema as Y, lazy as Ya, isProbablyBinaryProjectSource as Yi, PresignOrgLogoRequestSchema as Yn, TriggerInvokeResponseSchema as Yr, ListBrainDocumentWritesQuerySchema as Yt, CreateOrganizationRequestSchema as Z, looseObject as Za, originFromPublicUrl as Zi, PresignProjectSourceRequestSchema as Zn, TriggerRunDetailResponseSchema as Zr, ListBrainDocumentsQuerySchema as Zt, BrainFilterExpressionSchema as _, requiredDisplayTextSchema as _a, UpsertGatewayAttachmentBodySchema as _i, ListProjectMetricsResponseSchema as _n, PublishedFormListResponseSchema as _r, DraftConflictResponseSchema as _t, AgentEnvImageSnapshotResponseSchema as a, slugifyAppName as aa, UpdateCredentialInstanceBodySchema as ai, ListCredentialsPageResponseSchema as an, unknown as ao, ProjectPullStateSchema as ar, CreateSlackChannelBodySchema as at, BrainIndexConfigSchema as b, ACTIVE_ORG_HEADER as ba, UserPreferencesPatchSchema as bi, MANAGED_DEPLOY_REQUEST_TIMEOUT_MS as bn, QueuedRunResponseSchema as br, DraftUpdateEventSchema as bt, AgentSummaryDetailResponseSchema as c, CredentialAssignmentListQuerySchema as ca, UpdateOrganizationMemberRequestSchema as ci, ListManagedServiceCredentialsResponseSchema as cn, safeParse$1 as co, ProjectSettingsResponseSchema as cr, CredentialInstanceRecordSchema as ct, AppSlugAvailabilityResponseSchema as d, CredentialConsumerListQuerySchema as da, UpdateProjectMemberRequestSchema as di, ListOrganizationMembersPageQuerySchema as dn, PromptResponseSchema as dr, DeclineOrganizationInvitationResponseSchema as dt, parseProjectManifest as ea, UpdateBrainFilterRequestSchema as ei, ListBrainGrantsResponseSchema as en, optional as eo, PresignUserAvatarResponseSchema as er, CreateProjectArtifactResponseSchema as et, BindAgentSlackAppBodySchema as f, CredentialConsumerListResponseSchema as fa, UpdateProjectMemberResponseSchema as fi, ListOrganizationMembersPageResponseSchema as fn, PublicFormMetadataSchema as fr, DeleteBrainDocumentsRequestSchema as ft, BrainDocumentIdSchema as g, normalizeCredentialList as ga, UploadProjectSourceResponseSchema as gi, ListProjectMembersResponseSchema as gn, PublishManagedDeployCandidateResponseSchema as gr, DraftCommitResponseSchema as gt, BrainDocumentDetailSchema as h, getOpenApiJsonSchema as ha, UploadProjectSourceManifestRequestSchema as hi, ListProjectFilesResponseSchema as hn, PublishManagedDeployCandidateRequestSchema as hr, DownloadActiveProjectSourceResponseSchema as ht, AddBrainMemberRequestSchema as i, resolveDocsMcpUrl as ia, UpdateChannelBindingBodySchema as ii, ListCredentialsPageQuerySchema as in, union as io, ProjectGitStatusResponseSchema as ir, CreateSlackAppResponseSchema as it, ChannelDirectoryListResponseSchema as j, ConfirmCheckoutRequestSchema as ja, WorkflowRunListResponseSchema as ji, PROJECT_MANIFEST_REL_PATH as jn, SlackAppInstallStartResponseSchema as jr, GetCustomAppResponseSchema as jt, ChannelConnectionListResponseSchema as k, BillingSummaryResponseSchema as ka, WorkflowRunInputsPutBodySchema as ki, PROJECT_DRAFT_COMMIT_REQUEST_TIMEOUT_MS as kn, SkillSummaryListResponseSchema as kr, GetAppCatalogEntryResponseSchema as kt, AgentSummaryListResponseSchema as l, CredentialAssignmentListResponseSchema as la, UpdateOrganizationMemberResponseSchema as li, ListMcpAppToolsResponseSchema as ln, NEVER as lo, ProjectSlugAvailabilityResponseSchema as lr, DOCS_QUERY_TOOL as lt, BrainDetailSchema as m, credentialInputSchema as ma, UpdateProjectSettingsRequestSchema as mi, ListProjectDeploymentsResponseSchema as mn, PublicFormSubmitResponseSchema as mr, DownloadActiveProjectArtifactResponseSchema as mt, ActiveOrganizationResponseSchema as n, parseStoredRouteManifest as na, UpdateBrainRequestSchema as ni, ListBrainsResponseSchema as nn, record as no, ProjectGitRemoteRequestSchema as nr, CreateProjectResponseSchema as nt, AgentSessionDetailResponseSchema as o, zodToStoredJsonSchema as oa, UpdateCredentialRequestSchema as oi, ListDraftFilesResponseSchema as on, url as oo, ProjectReachabilityResponseSchema as or, CreateSlackChannelResponseSchema as ot, BindChannelBodySchema as p, ExecuteKeystrokeToolRequestSchema as pa, UpdateProjectRequestSchema as pi, ListOrganizationsResponseSchema as pn, PublicFormSubmitBodySchema as pr, DeleteBrainDocumentsResponseSchema as pt, CreateCustomAppRequestSchema as q, discriminatedUnion as qa, isIgnoredProjectSourceFileName as qi, PresignCustomAppLogoRequestSchema as qn, TriggerDetailResponseSchema as qr, ListApiKeysResponseSchema as qt, ActiveProjectSourceRevisionSchema as r, resolveConnectAppSlug as ra, UpdateBrainResponseSchema as ri, ListChannelPlatformsResponseSchema as rn, string as ro, ProjectGitRemoteResponseSchema as rr, CreateSlackAppRequestSchema as rt, AgentSessionListResponseSchema as s, AssignCredentialBodySchema as sa, UpdateManagedServiceCredentialRequestSchema as si, ListEmbeddingModelsResponseSchema as sn, datetime as so, ProjectResponseSchema as sr, CredentialInstanceListResponseSchema as st, AcceptOrganizationInvitationResponseSchema as t, parseSlackConnectFlow as ta, UpdateBrainMemberRequestSchema as ti, ListBrainMembersResponseSchema as tn, preprocess as to, ProjectArtifactIndexSchema as tr, CreateProjectRequestSchema as tt, AgentTriggerSummaryListResponseSchema as u, CredentialAssignmentRecordSchema as ua, UpdateOrganizationRequestSchema as ui, ListOrganizationInvitationsResponseSchema as un, PromptInputSchema as ur, DOCS_SEARCH_TOOL as ut, BrainFilterSummarySchema as v, DEFAULT_CLOUD_PLATFORM_ORIGIN as va, UserAvatarPatchSchema as vi, ListProjectsResponseSchema as vn, PublishedFormSchema as vr, DraftFileContentResponseSchema as vt, CatalogActionDetailResponseSchema as w, PublicModelsResponseSchema as wa, WorkflowCanvasSchema as wi, McpDiscoverResponseSchema as wn, RenewManagedDeployUploadResponseSchema as wr, FinalizeBrainUploadsResponseSchema as wt, BrainMemberSchema as x, CLIENT_CHANNEL_HEADER as xa, UserPreferencesSchema as xi, ManagedDeployResourceKeySchema as xn, RebuildBrainResponseSchema as xr, DuplicateCredentialRequestSchema as xt, BrainGrantSchema as y, LOCAL_PLATFORM_ORIGIN as ya, UserAvatarSchema as yi, ListTemplatesResponseSchema as yn, QueuedAgentPromptResponseSchema as yr, DraftRevisionResponseSchema as yt, CreateApiKeyRequestSchema as z, ZodType as za, WorkspaceTriggerRunListResponseSchema as zi, PlatformAgentPromptInputSchema as zn, StartMcpOAuthConnectionInputSchema as zr, HistoryRunListQuerySchema as zt };
|
|
9795
10431
|
|
|
9796
|
-
//# sourceMappingURL=dist-
|
|
10432
|
+
//# sourceMappingURL=dist-BUDyVVbj.mjs.map
|