@standards/schema 1.0.0-alpha.411 → 1.0.0-alpha.412
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-CuE-2q6r.d.mts → all-B1wPXYWF.d.mts} +10 -10
- package/dist/{all-B606hHr3.mjs → all-BPIA8DP2.mjs} +1 -1
- package/dist/{all-C-dQf23e.js → all-C46IPclG.js} +1 -1
- package/dist/{all-DaEjCqVl.d.ts → all-LNCDQFk5.d.ts} +10 -10
- package/dist/api/index.d.mts +225 -24
- package/dist/api/index.d.ts +225 -24
- package/dist/api/index.js +1 -1
- package/dist/api/index.mjs +1 -1
- package/dist/{attributes-D4nvUmw6.d.ts → attributes-HkhFubZE.d.ts} +1 -1
- package/dist/{attributes-BgPCTw3y.d.mts → attributes-oDsTQ689.d.mts} +1 -1
- package/dist/{checkbox-DSAorFpa.d.ts → checkbox-BN3EcJMd.d.ts} +2 -2
- package/dist/{checkbox-D11vN4kY.d.mts → checkbox-Dd8-zfTD.d.mts} +2 -2
- package/dist/{date-C29k_cah.d.ts → date-CEi4zU-G.d.ts} +2 -2
- package/dist/{date-CtZVrU3Z.d.mts → date-CTR5SI6F.d.mts} +2 -2
- package/dist/{exceptions-CmMd5DGH.d.ts → exceptions-C420ndUi.d.mts} +3 -0
- package/dist/{exceptions-CmMd5DGH.d.mts → exceptions-C420ndUi.d.ts} +3 -0
- 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-CcFQSyk9.d.mts → index-BEKmQS4Q.d.mts} +2 -2
- package/dist/{index-B6XCKKgD.d.mts → index-BW5-F7CG.d.mts} +1 -1
- package/dist/{index-CKiYLDTp.d.mts → index-BcSCcPYP.d.mts} +239 -28
- package/dist/{index-CK8JL1dT.d.ts → index-CtcIhiFv.d.ts} +2 -2
- package/dist/{index-CCt_hCgK.d.ts → index-Cxr1ytkx.d.ts} +1 -1
- package/dist/{index-BgJpzGaC.d.ts → index-DML62rLJ.d.ts} +239 -28
- package/dist/{index-Ckbiu3d9.d.mts → index-Dl5E_5ex.d.mts} +3 -3
- package/dist/{index-BDMlzqIt.d.ts → index-DungcUbX.d.ts} +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-BGpvOweC.d.ts → number-BeaqB8WD.d.ts} +2 -2
- package/dist/{number-g88uoxhJ.d.mts → number-CwD0yOIv.d.mts} +2 -2
- package/dist/{objects-Ddi_zEYp.d.mts → objects-CkhVZFNC.d.mts} +2 -2
- package/dist/{objects-Bt5C4BNO.d.ts → objects-DDtMv0oN.d.ts} +2 -2
- package/dist/record-aggregates-BrLE4IsX.mjs +2 -0
- package/dist/record-aggregates-BuOfVWPJ.js +2 -0
- package/dist/record-operation-B1J86dGW.js +2 -0
- package/dist/record-operation-BTmK3mBi.mjs +2 -0
- package/dist/{text-Dyxn_QlR.d.mts → text-Bf12HDTw.d.mts} +2 -2
- package/dist/{text-CMMMIBIT.d.ts → text-Dim46h6u.d.ts} +2 -2
- package/dist/{utils-mBdW0zGZ.d.mts → utils-BwO5qkWb.d.mts} +1 -1
- package/dist/{utils-Du85J1nY.d.ts → utils-Damrow3z.d.ts} +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/record-aggregates-Cl_62tuW.mjs +0 -2
- package/dist/record-aggregates-eFfvQOzG.js +0 -2
- package/dist/record-operation-BI3fiAdX.js +0 -2
- package/dist/record-operation-C-IkTR6T.mjs +0 -2
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
import { SchemaError, SchemaErrorCode, ValidationError } from "./exceptions-
|
|
3
|
-
import { TenantId, Uuid } from "./utils-
|
|
4
|
-
import { DocumentLayout, ImageShape, ListViewTabVisibility, ObjectDefinition, ObjectImage, ObjectRecord, RecordAppearance, RecordListScope, ResourceVisibility, Timestamps, ViewerAccess } from "./objects-
|
|
5
|
-
import { Attribute, AttributeType, BilateralConfig, CheckboxAttribute, Currency, CurrencyAttribute, DateAttribute, DatePrecision, DateRangeValue, DocumentAttribute, FormulaAttribute, FormulaReturnType, Location, LocationAttribute, LocationGranularity, MultiRelationAttribute, MultiselectAttribute, NumberAttribute, Option, Phone, PhoneAttribute, PropertyAttribute, PropertySchema, RelationAttribute, RelationTarget, RichtextAttribute, RollupAttribute, RollupFunction, SelectAttribute, SingleRelationAttribute, StatusAttribute, TextAttribute, TimeFormat, UserAttribute, UserReferenceType } from "./attributes-
|
|
6
|
-
import { ActivityContentDefinition, BLOCK_PERIODS, BlockContext, BlockDefinition, BlockInput, BlockWidth, CollectionAction, CollectionContentDefinition, CollectionContentSource, ColumnReference, ContentConfiguration, ContentCreateMode, ContentField, ContentFieldGroup, ContentOpenMode, ContentViewContext, ContentViewDefinition, CustomContentDefinition, DocumentsContentDefinition, DynamicValue, Eager, EmailsContentDefinition, FilterOperator, FilterRule, FilterState, FilterValue, FormContentDefinition, FormDensity, FormsContentDefinition, GridPosition, GridViolation, HeightMode, InferAttributeValue, InferQualifiedProps, InputShape, LayoutTraits, ListableBlockInput, MeetingsContentDefinition, ObjectBuilderLike, ObjectViewContext, ObjectViewDefinition, PageContentDefinition, PageViewDefinition, QualifiedDocumentAttributeBuilder, QualifiedDocumentBrand, QueryState, RecordMetadata, RecordQuery, RecordQueryDefinition, RelativeDateValue, RichtextContentDefinition, SortRule, ViewContentDefinition, ViewRead, WithCustomAttributes, WithCustomRecordAttributes, WithoutSystemFields } from "./all-
|
|
7
|
-
import { UpdateObjectInput } from "./index-
|
|
2
|
+
import { SchemaError, SchemaErrorCode, ValidationError } from "./exceptions-C420ndUi.js";
|
|
3
|
+
import { TenantId, Uuid } from "./utils-Damrow3z.js";
|
|
4
|
+
import { DocumentLayout, ImageShape, ListViewTabVisibility, ObjectDefinition, ObjectImage, ObjectRecord, RecordAppearance, RecordListScope, ResourceVisibility, Timestamps, ViewerAccess } from "./objects-DDtMv0oN.js";
|
|
5
|
+
import { Attribute, AttributeType, BilateralConfig, CheckboxAttribute, Currency, CurrencyAttribute, DateAttribute, DatePrecision, DateRangeValue, DocumentAttribute, FormulaAttribute, FormulaReturnType, Location, LocationAttribute, LocationGranularity, MultiRelationAttribute, MultiselectAttribute, NumberAttribute, Option, Phone, PhoneAttribute, PropertyAttribute, PropertySchema, RelationAttribute, RelationTarget, RichtextAttribute, RollupAttribute, RollupFunction, SelectAttribute, SingleRelationAttribute, StatusAttribute, TextAttribute, TimeFormat, UserAttribute, UserReferenceType } from "./attributes-HkhFubZE.js";
|
|
6
|
+
import { ActivityContentDefinition, BLOCK_PERIODS, BlockContext, BlockDefinition, BlockInput, BlockWidth, CollectionAction, CollectionContentDefinition, CollectionContentSource, ColumnReference, ContentConfiguration, ContentCreateMode, ContentField, ContentFieldGroup, ContentOpenMode, ContentViewContext, ContentViewDefinition, CustomContentDefinition, DocumentsContentDefinition, DynamicValue, Eager, EmailsContentDefinition, FilterOperator, FilterRule, FilterState, FilterValue, FormContentDefinition, FormDensity, FormsContentDefinition, GridPosition, GridViolation, HeightMode, InferAttributeValue, InferQualifiedProps, InputShape, LayoutTraits, ListableBlockInput, MeetingsContentDefinition, ObjectBuilderLike, ObjectViewContext, ObjectViewDefinition, PageContentDefinition, PageViewDefinition, QualifiedDocumentAttributeBuilder, QualifiedDocumentBrand, QueryState, RecordMetadata, RecordQuery, RecordQueryDefinition, RelativeDateValue, RichtextContentDefinition, SortRule, ViewContentDefinition, ViewRead, WithCustomAttributes, WithCustomRecordAttributes, WithoutSystemFields } from "./all-LNCDQFk5.js";
|
|
7
|
+
import { UpdateObjectInput } from "./index-CtcIhiFv.js";
|
|
8
8
|
import * as z$2 from "zod";
|
|
9
9
|
import z, { z as z$1 } from "zod";
|
|
10
10
|
import { ColorId, CountryIso3, CurrencyCode, IconName, MimeType } from "@standards/constants";
|
|
@@ -853,6 +853,9 @@ export type MeetingResponse = (typeof MEETING_RESPONSES)[number];
|
|
|
853
853
|
/** Every reason a recording is failed for a bot that never answered ends with
|
|
854
854
|
* this, so a reader can say so in words without parsing the sentence. */
|
|
855
855
|
export declare const MEETING_BOT_SILENT_REASON = "sent nothing back";
|
|
856
|
+
/** The `failureReason` of a recording whose bot was never sent because the
|
|
857
|
+
* workspace had no credits to pay for it. */
|
|
858
|
+
export declare const MEETING_BOT_NO_CREDITS = "MEETING_BOT_NO_CREDITS";
|
|
856
859
|
/** Lifecycle of the recording bot's transcript for one meeting. */
|
|
857
860
|
export type TranscriptStatus = "scheduled" | "recording" | "completed" | "failed";
|
|
858
861
|
/** An explicit per-meeting choice that beats the workspace policy. */
|
|
@@ -1349,13 +1352,19 @@ export declare const meetingsOperations: {
|
|
|
1349
1352
|
* Capacity quotas. The union stays finite so
|
|
1350
1353
|
* every key is a deliberate addition, never a free-form string.
|
|
1351
1354
|
*/
|
|
1352
|
-
export type QuotaKey = "storage.bytes" | "members.seats" | "data.live_records";
|
|
1353
|
-
export declare const QUOTA_KEYS: readonly ["storage.bytes", "members.seats", "data.live_records"];
|
|
1355
|
+
export type QuotaKey = "storage.bytes" | "members.seats" | "data.live_records" | "email.mailboxes" | "calendar.connections";
|
|
1356
|
+
export declare const QUOTA_KEYS: readonly ["storage.bytes", "members.seats", "data.live_records", "email.mailboxes", "calendar.connections"];
|
|
1357
|
+
/**
|
|
1358
|
+
* Counted by a database trigger on the rows themselves: no reservation, commit
|
|
1359
|
+
* or adjustment may touch them. `members.seats` is not here, seats hold a
|
|
1360
|
+
* reservation before an invitation goes out.
|
|
1361
|
+
*/
|
|
1362
|
+
export declare const PERSISTENCE_OWNED_QUOTA_KEYS: ReadonlySet<QuotaKey>;
|
|
1354
1363
|
export interface QuotaState {
|
|
1355
1364
|
key: QuotaKey;
|
|
1356
1365
|
/** `null`: no limit projected by the host, nothing is enforced. */
|
|
1357
1366
|
limit: number | null;
|
|
1358
|
-
/** Committed quantity: bytes, active member profiles,
|
|
1367
|
+
/** Committed quantity: bytes, active member profiles, non-deleted object records, or connections not disconnected. */
|
|
1359
1368
|
used: number;
|
|
1360
1369
|
/** Open reservations: not expired, not committed, not released. */
|
|
1361
1370
|
reserved: number;
|
|
@@ -1550,7 +1559,13 @@ export declare const DECISION_TYPE_ENVIRONMENT_BUILD_FAILED = "environment.build
|
|
|
1550
1559
|
* wakes no agent.
|
|
1551
1560
|
*/
|
|
1552
1561
|
export declare const DECISION_TYPE_PERSON = "person.decision";
|
|
1553
|
-
|
|
1562
|
+
/**
|
|
1563
|
+
* A bundle's setup invitation, a `handoff` to whoever added it: `payload.bundleName`
|
|
1564
|
+
* names the bundle and `payload.prompt` is the message that starts the
|
|
1565
|
+
* configuration. Threaded by bundle (`bundle:<name>`), one open at a time.
|
|
1566
|
+
*/
|
|
1567
|
+
export declare const DECISION_TYPE_BUNDLE_SETUP = "bundle.setup";
|
|
1568
|
+
export declare const DECISION_TYPES_V1: readonly ["agent.question", "agent.approval", "agent.review", "agent.setup", "agent.routine_run.failed", "agent.message", "connector.connection.reauth_required", "connector.connection.error", "record.assigned", "record.mentioned", "access.granted", "environment.build.failed", "person.decision", "bundle.setup"];
|
|
1554
1569
|
export type DecisionV1Type = (typeof DECISION_TYPES_V1)[number];
|
|
1555
1570
|
/** Kinds that await an answer: always delivered in-app (#5448), and the only ones « À trancher » lists. */
|
|
1556
1571
|
export declare const ACTIONABLE_DECISION_KINDS: readonly ["question", "approval", "review", "handoff"];
|
|
@@ -1618,6 +1633,10 @@ export declare const DECISION_TYPE_KINDS: {
|
|
|
1618
1633
|
readonly kind: "question";
|
|
1619
1634
|
readonly area: null;
|
|
1620
1635
|
};
|
|
1636
|
+
readonly "bundle.setup": {
|
|
1637
|
+
readonly kind: "handoff";
|
|
1638
|
+
readonly area: null;
|
|
1639
|
+
};
|
|
1621
1640
|
};
|
|
1622
1641
|
/** The types the Account ▸ Decisions screen lists: those with a settings area. */
|
|
1623
1642
|
export type DecisionSettingsType = { [Type in keyof typeof DECISION_TYPE_KINDS]: (typeof DECISION_TYPE_KINDS)[Type]["area"] extends null ? never : Type; }[keyof typeof DECISION_TYPE_KINDS];
|
|
@@ -1784,6 +1803,15 @@ export interface DecisionCounts {
|
|
|
1784
1803
|
export interface DecisionArchiveAllResult {
|
|
1785
1804
|
archivedCount: number;
|
|
1786
1805
|
}
|
|
1806
|
+
/**
|
|
1807
|
+
* Whom an open question can be handed to (« Transférer », #6570): `to` lists
|
|
1808
|
+
* the only people its type accepts (an agent's question goes to whom its
|
|
1809
|
+
* conversation may ask, A12), `null` means any active person. A decision that
|
|
1810
|
+
* is never handed over lists nobody.
|
|
1811
|
+
*/
|
|
1812
|
+
export interface DecisionTransferTargets {
|
|
1813
|
+
to: string[] | null;
|
|
1814
|
+
}
|
|
1787
1815
|
export interface CreateDecisionRecipientInput {
|
|
1788
1816
|
recipientActorId: Uuid;
|
|
1789
1817
|
inboxState?: DecisionInboxState;
|
|
@@ -2352,7 +2380,7 @@ export declare const githubTriggerMatchSchema: z$2.ZodPipe<z$2.ZodObject<{
|
|
|
2352
2380
|
conditions: never[];
|
|
2353
2381
|
} | {
|
|
2354
2382
|
family: "issue";
|
|
2355
|
-
actions: ("closed" | "opened" | "edited" | "reopened" | "labeled" | "unlabeled" | "assigned" | "unassigned" | "milestoned" | "demilestoned" | "transferred"
|
|
2383
|
+
actions: ("closed" | "pinned" | "opened" | "edited" | "reopened" | "labeled" | "unlabeled" | "assigned" | "unassigned" | "milestoned" | "demilestoned" | "transferred")[];
|
|
2356
2384
|
repositories: string[];
|
|
2357
2385
|
sender: GithubTriggerSender;
|
|
2358
2386
|
conditions: ({
|
|
@@ -2903,7 +2931,7 @@ export declare const connectorTriggerMatchSchema: z$2.ZodUnion<readonly [z$2.Zod
|
|
|
2903
2931
|
conditions: never[];
|
|
2904
2932
|
} | {
|
|
2905
2933
|
family: "issue";
|
|
2906
|
-
actions: ("closed" | "opened" | "edited" | "reopened" | "labeled" | "unlabeled" | "assigned" | "unassigned" | "milestoned" | "demilestoned" | "transferred"
|
|
2934
|
+
actions: ("closed" | "pinned" | "opened" | "edited" | "reopened" | "labeled" | "unlabeled" | "assigned" | "unassigned" | "milestoned" | "demilestoned" | "transferred")[];
|
|
2907
2935
|
repositories: string[];
|
|
2908
2936
|
sender: GithubTriggerSender;
|
|
2909
2937
|
conditions: ({
|
|
@@ -3492,7 +3520,7 @@ export interface MemoryUpdateMetadata {
|
|
|
3492
3520
|
* Typed agent references: `<kind>:<id>`. The one parser shared by the runtime
|
|
3493
3521
|
* verbs and the UI tool views; it never guesses a kind from a bare id.
|
|
3494
3522
|
*/
|
|
3495
|
-
export declare const REFERENCE_KINDS: readonly ["record", "document", "file", "email", "thread", "event", "memory", "skill", "schema", "user", "guide", "bundle", "draft", "decision", "session"];
|
|
3523
|
+
export declare const REFERENCE_KINDS: readonly ["record", "document", "file", "email", "thread", "event", "memory", "skill", "schema", "user", "guide", "bundle", "draft", "decision", "session", "catalog"];
|
|
3496
3524
|
export type ReferenceKind = (typeof REFERENCE_KINDS)[number];
|
|
3497
3525
|
export type Reference = {
|
|
3498
3526
|
kind: ReferenceKind;
|
|
@@ -3618,6 +3646,8 @@ export declare const CONNECTOR_CALLBACK_PARAM: {
|
|
|
3618
3646
|
readonly status: "connector_status";
|
|
3619
3647
|
readonly error: "connector_error";
|
|
3620
3648
|
readonly provider: "connector_provider";
|
|
3649
|
+
/** The `QuotaKey` that refused the connection, with `error` at `QUOTA_EXCEEDED`. */
|
|
3650
|
+
readonly quota: "connector_quota";
|
|
3621
3651
|
};
|
|
3622
3652
|
/** Values `CONNECTOR_CALLBACK_PARAM.status` can take on the redirect. */
|
|
3623
3653
|
export type ConnectorCallbackStatusValue = "connected" | "error";
|
|
@@ -4106,7 +4136,11 @@ export declare function moveWidensAudience(impact: MoveImpact): boolean;
|
|
|
4106
4136
|
* `runtime` re-exports this and `react` imports it; never duplicate the literals.
|
|
4107
4137
|
*/
|
|
4108
4138
|
export type CompactionStrategy = "no-op" | "summary" | "truncation";
|
|
4109
|
-
export type AgentRunStatus = "pending" | "running" | "completed" | "failed" | "cancelled" | "paused"
|
|
4139
|
+
export type AgentRunStatus = "pending" | "running" | "completed" | "failed" | "cancelled" | "paused" |
|
|
4140
|
+
/** Never started: the workspace had no credits left (see {@link AgentRunSkipReason}). */
|
|
4141
|
+
"skipped";
|
|
4142
|
+
/** Why a run was `skipped`. */
|
|
4143
|
+
export type AgentRunSkipReason = "credits_exhausted";
|
|
4110
4144
|
/**
|
|
4111
4145
|
* A session is `idle` (no turn in flight), `running` (one turn in flight) or
|
|
4112
4146
|
* `parked` (the turn is suspended on something). How the last turn ended is a
|
|
@@ -4612,6 +4646,8 @@ export interface AgentRun {
|
|
|
4612
4646
|
*/
|
|
4613
4647
|
authorityActorId?: string;
|
|
4614
4648
|
status: AgentRunStatus;
|
|
4649
|
+
/** Set on a `skipped` run, and only there. */
|
|
4650
|
+
skipReason?: AgentRunSkipReason;
|
|
4615
4651
|
retryCount: number;
|
|
4616
4652
|
input: Record<string, unknown>;
|
|
4617
4653
|
output?: Record<string, unknown>;
|
|
@@ -4895,13 +4931,34 @@ export interface ToolImpact {
|
|
|
4895
4931
|
* approves. Its label only.
|
|
4896
4932
|
*/
|
|
4897
4933
|
parent?: NonNullable<ToolImpact["record"]> | null;
|
|
4898
|
-
/**
|
|
4934
|
+
/**
|
|
4935
|
+
* The catalog skill a `copy` would install, as data: the card composes its
|
|
4936
|
+
* own headline. `source` is pinned to the commit approved, and only that
|
|
4937
|
+
* commit lands. `files` counts what the card lists, `SKILL.md` included.
|
|
4938
|
+
*/
|
|
4939
|
+
skill?: {
|
|
4940
|
+
source: string;
|
|
4941
|
+
description: string;
|
|
4942
|
+
audience: "private" | "workspace";
|
|
4943
|
+
files: number;
|
|
4944
|
+
hasScripts: boolean;
|
|
4945
|
+
};
|
|
4946
|
+
/** The text a call would send outside Standards: approving it means reading it. */
|
|
4947
|
+
outgoingText?: string;
|
|
4948
|
+
/**
|
|
4949
|
+
* Named counts, e.g. `{ records: 1284, brokenLinks: 63 }`. The keys the
|
|
4950
|
+
* runtime writes are `TOOL_IMPACT_COUNT_KEYS`, the ones a card can name.
|
|
4951
|
+
*/
|
|
4899
4952
|
counts?: Record<string, number>;
|
|
4900
4953
|
warnings?: string[];
|
|
4901
4954
|
}
|
|
4955
|
+
/** The `ToolImpact.counts` keys the runtime writes, each named by the approval card. */
|
|
4956
|
+
export declare const TOOL_IMPACT_COUNT_KEYS: readonly ["records", "descendants", "brokenLinks", "denied", "files"];
|
|
4957
|
+
export type ToolImpactCountKey = (typeof TOOL_IMPACT_COUNT_KEYS)[number];
|
|
4958
|
+
export declare function isToolImpactCountKey(key: string): key is ToolImpactCountKey;
|
|
4902
4959
|
/** Why the server ended a turn with a line of its own in the transcript. */
|
|
4903
|
-
export type SystemPartCode = "CREDITS_EXHAUSTED";
|
|
4904
|
-
export declare const SYSTEM_PART_CODES: readonly ["CREDITS_EXHAUSTED"];
|
|
4960
|
+
export type SystemPartCode = "CREDITS_EXHAUSTED" | "MEMBER_CAP_REACHED";
|
|
4961
|
+
export declare const SYSTEM_PART_CODES: readonly ["CREDITS_EXHAUSTED", "MEMBER_CAP_REACHED"];
|
|
4905
4962
|
export declare function isSystemPartCode(value: unknown): value is SystemPartCode;
|
|
4906
4963
|
export type AgentMessagePart = {
|
|
4907
4964
|
type: "text";
|
|
@@ -5430,7 +5487,7 @@ export type CompactionPartData = {
|
|
|
5430
5487
|
};
|
|
5431
5488
|
/** `reason` names why the turn stopped; absent for a plain network/abort interruption. */
|
|
5432
5489
|
export type InterruptionPartData = {
|
|
5433
|
-
reason?: "credits";
|
|
5490
|
+
reason?: "credits" | "member_cap";
|
|
5434
5491
|
};
|
|
5435
5492
|
/**
|
|
5436
5493
|
* One rendered part of a chat message, discriminated on `type`.
|
|
@@ -7041,9 +7098,21 @@ export type BundleLocale = (typeof BUNDLE_LOCALES)[number];
|
|
|
7041
7098
|
* `views.<object>.<view>.label | contents.<content>.label | markdown`;
|
|
7042
7099
|
* `pages.<page>.label | contents.<content>.label | markdown`;
|
|
7043
7100
|
* `agents.<agent>.label | description | systemPrompt`;
|
|
7101
|
+
* `setup.title | why | prompt`;
|
|
7044
7102
|
* `samples.<sample id>.<attribute>`.
|
|
7045
7103
|
*/
|
|
7046
7104
|
export type BundleTranslationTable = Record<string, string>;
|
|
7105
|
+
/** The longest `prompt` of a bundle's setup invitation. */
|
|
7106
|
+
export declare const BUNDLE_SETUP_PROMPT_MAX_LENGTH = 2000;
|
|
7107
|
+
/**
|
|
7108
|
+
* The invitation a bundle makes once added: a decision's title and `why`, and
|
|
7109
|
+
* the prompt that starts its configuration. Outside the hash.
|
|
7110
|
+
*/
|
|
7111
|
+
export interface BundleSetup {
|
|
7112
|
+
title: string;
|
|
7113
|
+
why: string;
|
|
7114
|
+
prompt: string;
|
|
7115
|
+
}
|
|
7047
7116
|
/** What `bundle(...).build()` returns: plain, serializable, hashed over its pieces only. */
|
|
7048
7117
|
export interface BuiltBundle {
|
|
7049
7118
|
name: string;
|
|
@@ -7058,6 +7127,17 @@ export interface BuiltBundle {
|
|
|
7058
7127
|
/** Names of the bundles this one uses. */
|
|
7059
7128
|
uses: string[];
|
|
7060
7129
|
samples: DraftableSampleRecord[];
|
|
7130
|
+
/**
|
|
7131
|
+
* The setup invitation, outside the hash; absent when the bundle makes none,
|
|
7132
|
+
* so a bundle without one still syncs to a server that predates the key.
|
|
7133
|
+
*/
|
|
7134
|
+
setup?: BundleSetup;
|
|
7135
|
+
/**
|
|
7136
|
+
* Official skill sources (`standardshq/skills@name`) the bundle brings,
|
|
7137
|
+
* outside the hash; absent when it declares none, so a bundle without any
|
|
7138
|
+
* still syncs to a server that predates the key.
|
|
7139
|
+
*/
|
|
7140
|
+
skills?: string[];
|
|
7061
7141
|
translations: Partial<Record<BundleLocale, BundleTranslationTable>>;
|
|
7062
7142
|
}
|
|
7063
7143
|
/** How a bundle sits in a workspace: synced keeps owning its pieces, added is a copy the workspace owns. */
|
|
@@ -7121,6 +7201,8 @@ export interface BundleContents {
|
|
|
7121
7201
|
icon: string | null;
|
|
7122
7202
|
color: ColorId | null;
|
|
7123
7203
|
}[];
|
|
7204
|
+
/** The names of the skills adding the bundle brings, its own and those of bundles it uses not yet installed. */
|
|
7205
|
+
skills: string[];
|
|
7124
7206
|
}
|
|
7125
7207
|
/** A bundle the workspace may add, localized for the asked locale. */
|
|
7126
7208
|
export interface AvailableBundleSummary {
|
|
@@ -7258,12 +7340,15 @@ export interface SchemaStateDiff {
|
|
|
7258
7340
|
//#endregion
|
|
7259
7341
|
//#region src/types/ai-usage.d.ts
|
|
7260
7342
|
/** Client-safe AI usage and wallet vocabulary, shared by the journal, the API and the composer. */
|
|
7261
|
-
export type UsageModality = "text" | "image" | "audio" | "video" | "embedding" | "decision";
|
|
7343
|
+
export type UsageModality = "text" | "image" | "audio" | "video" | "embedding" | "decision" | "meeting" | "compute" | "browser";
|
|
7262
7344
|
/** Whose usage a report covers: the caller's own (agents folded into their principal) or the whole workspace. */
|
|
7263
7345
|
export type UsageScope = "me" | "workspace";
|
|
7264
7346
|
/** One aggregate of journal rows; money as decimal strings, counts as integers. */
|
|
7265
7347
|
export interface UsageBucket {
|
|
7266
|
-
/**
|
|
7348
|
+
/**
|
|
7349
|
+
* Money the Gateway reported or looked up, plus time-based resources charged at
|
|
7350
|
+
* the public rate card (`cost_source` gateway-response, gateway-lookup, rate-card).
|
|
7351
|
+
*/
|
|
7267
7352
|
confirmedCostUsd: string;
|
|
7268
7353
|
/**
|
|
7269
7354
|
* Cost of successful rows the Gateway never priced: catalogue estimates, else
|
|
@@ -7311,7 +7396,7 @@ export interface UsageReport {
|
|
|
7311
7396
|
/** Absent under metering-only. */
|
|
7312
7397
|
wallet?: WalletState;
|
|
7313
7398
|
}
|
|
7314
|
-
export type UsageCostSource = "gateway-response" | "gateway-lookup" | "catalog-estimate";
|
|
7399
|
+
export type UsageCostSource = "gateway-response" | "gateway-lookup" | "catalog-estimate" | "rate-card";
|
|
7315
7400
|
/**
|
|
7316
7401
|
* Unknown billing evidence is never represented by a zero-dollar charge.
|
|
7317
7402
|
* `usd` is a decimal string, never a float.
|
|
@@ -8042,6 +8127,8 @@ export interface EnvironmentBuildFailure {
|
|
|
8042
8127
|
step: "setup" | "bake" | "publish" | "interrupted";
|
|
8043
8128
|
/** `124` when the step hit its time cap. */
|
|
8044
8129
|
exitCode?: number;
|
|
8130
|
+
/** The wallet would not start the build, or the compute meter stopped it. */
|
|
8131
|
+
reason?: "credits_exhausted";
|
|
8045
8132
|
}
|
|
8046
8133
|
/** An environment as every read returns it. No secret ever leaves the server. */
|
|
8047
8134
|
export interface Environment {
|
|
@@ -9202,6 +9289,12 @@ export interface TenantSettings {
|
|
|
9202
9289
|
* the logo search of the appearance menu keeps working.
|
|
9203
9290
|
*/
|
|
9204
9291
|
findImages: boolean;
|
|
9292
|
+
/**
|
|
9293
|
+
* What one member may spend per billing period, in credits. Null: the larger
|
|
9294
|
+
* of half the period's included grant and the floor. Read in `wallet` billing
|
|
9295
|
+
* only.
|
|
9296
|
+
*/
|
|
9297
|
+
memberMonthlyCapCredits: number | null;
|
|
9205
9298
|
}
|
|
9206
9299
|
/** `GET /tenant/settings`: the settings plus what the deployment can do. */
|
|
9207
9300
|
export interface TenantSettingsResponse extends TenantSettings {
|
|
@@ -10007,6 +10100,30 @@ export declare function isSystemEmailCategory(key: string): key is SystemEmailCa
|
|
|
10007
10100
|
export declare function isSystemEmailCategoryName(name: string): boolean;
|
|
10008
10101
|
export declare function isPublicMailDomain(domain: string): boolean;
|
|
10009
10102
|
//#endregion
|
|
10103
|
+
//#region src/constants/metered-rates.d.ts
|
|
10104
|
+
/**
|
|
10105
|
+
* Public prices of time-based resources, decimal USD. The journal records what
|
|
10106
|
+
* the customer was charged at these rates, never what the vendor billed.
|
|
10107
|
+
*/
|
|
10108
|
+
export declare const METERED_RATES_USD: {
|
|
10109
|
+
readonly meetingHour: "0.80";
|
|
10110
|
+
readonly computeVcpuHour: "0.20";
|
|
10111
|
+
readonly browserHour: "0.60";
|
|
10112
|
+
};
|
|
10113
|
+
/**
|
|
10114
|
+
* What a resource no model runs is charged as. The journal records the kind as
|
|
10115
|
+
* the row's model, so these are the `model` of a `UsageReport.byModel` row
|
|
10116
|
+
* that names no AI model.
|
|
10117
|
+
*/
|
|
10118
|
+
export declare const METERED_CHARGE_KINDS: readonly ["meeting.recording", "sandbox.agent", "sandbox.harness", "sandbox.build", "browser.session"];
|
|
10119
|
+
export type MeteredChargeKind = (typeof METERED_CHARGE_KINDS)[number];
|
|
10120
|
+
export declare function isMeteredChargeKind(value: string): value is MeteredChargeKind;
|
|
10121
|
+
/**
|
|
10122
|
+
* `rateUsd` for `hours`, rounded up to 4 decimals, canonical (`"0.6"`). The
|
|
10123
|
+
* product runs on scaled integers, so `0.20 × 0.2` is exactly `0.04`.
|
|
10124
|
+
*/
|
|
10125
|
+
export declare function meteredUsd(rateUsd: string, hours: number): string;
|
|
10126
|
+
//#endregion
|
|
10010
10127
|
//#region src/builders/agent-builder.d.ts
|
|
10011
10128
|
/** Configuration for the `agent()` builder factory. */
|
|
10012
10129
|
export interface AgentBuilderConfig {
|
|
@@ -11124,6 +11241,8 @@ export interface BundlePiecesInput {
|
|
|
11124
11241
|
agents: AgentBlueprint[];
|
|
11125
11242
|
uses?: string[];
|
|
11126
11243
|
samples?: DraftableSampleRecord[];
|
|
11244
|
+
setup?: BundleSetup;
|
|
11245
|
+
skills?: string[];
|
|
11127
11246
|
translations?: Partial<Record<BundleLocale, BundleTranslationTable>>;
|
|
11128
11247
|
}
|
|
11129
11248
|
/**
|
|
@@ -11167,6 +11286,8 @@ export declare class BundleBuilder<N extends string, TObjects extends readonly O
|
|
|
11167
11286
|
private readonly used;
|
|
11168
11287
|
private descriptionText;
|
|
11169
11288
|
private sampleRecords;
|
|
11289
|
+
private setupInvitation;
|
|
11290
|
+
private skillSources;
|
|
11170
11291
|
private readonly translationTables;
|
|
11171
11292
|
private built;
|
|
11172
11293
|
constructor(name: N, label: string);
|
|
@@ -11174,6 +11295,13 @@ export declare class BundleBuilder<N extends string, TObjects extends readonly O
|
|
|
11174
11295
|
add<const P extends readonly BundlePiece[]>(...pieces: P): BundleBuilder<N, [...TObjects, ...ObjectsIn<P>]>;
|
|
11175
11296
|
uses(...bundles: AnyBundleBuilder[]): this;
|
|
11176
11297
|
samples(records: DraftableSampleRecord[]): this;
|
|
11298
|
+
/** The invitation to configure this bundle once added; it stays out of the hash. */
|
|
11299
|
+
setup(value: BundleSetup): this;
|
|
11300
|
+
/**
|
|
11301
|
+
* Official skills to install with the bundle, as `standardshq/skills@name`;
|
|
11302
|
+
* they stay out of the hash.
|
|
11303
|
+
*/
|
|
11304
|
+
skills(...sources: string[]): this;
|
|
11177
11305
|
translations(locale: BundleLocale, table: BundleTranslationTable): this;
|
|
11178
11306
|
/** Builds, validates and hashes once; the result is shared until the bundle changes. */
|
|
11179
11307
|
build(): Promise<BuiltBundle>;
|
|
@@ -13130,6 +13258,31 @@ export declare function sourcedAttributeOf(viewObject: string | undefined, conte
|
|
|
13130
13258
|
attribute: string;
|
|
13131
13259
|
} | undefined;
|
|
13132
13260
|
//#endregion
|
|
13261
|
+
//#region src/agents/skill-source.d.ts
|
|
13262
|
+
/**
|
|
13263
|
+
* Where a catalog skill lives: `owner/repo@skill` or `owner/repo@skill#ref`,
|
|
13264
|
+
* optionally prefixed by `github.com/`. GitHub is the only host.
|
|
13265
|
+
*/
|
|
13266
|
+
export interface SkillSource {
|
|
13267
|
+
host: "github.com";
|
|
13268
|
+
owner: string;
|
|
13269
|
+
repo: string;
|
|
13270
|
+
skill: string;
|
|
13271
|
+
ref: string | null;
|
|
13272
|
+
}
|
|
13273
|
+
/** The official skills repository, read at its `stable` ref. */
|
|
13274
|
+
export declare const OFFICIAL_SKILLS_REPO: {
|
|
13275
|
+
readonly owner: "standardshq";
|
|
13276
|
+
readonly repo: "skills";
|
|
13277
|
+
readonly ref: "stable";
|
|
13278
|
+
};
|
|
13279
|
+
export declare function parseSkillSource(text: string): SkillSource;
|
|
13280
|
+
/** Whether `text` is exactly `owner/repo`, under the same rules as a source. */
|
|
13281
|
+
export declare function isSkillRepository(text: string): boolean;
|
|
13282
|
+
export declare function formatSkillSource(source: SkillSource): string;
|
|
13283
|
+
/** A source is pinned when its ref is a full commit SHA, which never moves. */
|
|
13284
|
+
export declare function isPinnedSkillSource(source: SkillSource): boolean;
|
|
13285
|
+
//#endregion
|
|
13133
13286
|
//#region src/filters/polarity.d.ts
|
|
13134
13287
|
export declare function getOperatorPolarity(op: FilterOperator): "any" | "none";
|
|
13135
13288
|
export declare function normalizeForEdgeRpc(op: FilterOperator): FilterOperator;
|
|
@@ -14737,6 +14890,17 @@ export declare const toolImpactSchema: z$2.ZodObject<{
|
|
|
14737
14890
|
label: z$2.ZodString;
|
|
14738
14891
|
objectIcon: z$2.ZodOptional<z$2.ZodString>;
|
|
14739
14892
|
}, z$2.core.$strict>>>;
|
|
14893
|
+
skill: z$2.ZodOptional<z$2.ZodObject<{
|
|
14894
|
+
source: z$2.ZodString;
|
|
14895
|
+
description: z$2.ZodString;
|
|
14896
|
+
audience: z$2.ZodEnum<{
|
|
14897
|
+
workspace: "workspace";
|
|
14898
|
+
private: "private";
|
|
14899
|
+
}>;
|
|
14900
|
+
files: z$2.ZodNumber;
|
|
14901
|
+
hasScripts: z$2.ZodBoolean;
|
|
14902
|
+
}, z$2.core.$strict>>;
|
|
14903
|
+
outgoingText: z$2.ZodOptional<z$2.ZodString>;
|
|
14740
14904
|
counts: z$2.ZodOptional<z$2.ZodRecord<z$2.ZodString, z$2.ZodNumber>>;
|
|
14741
14905
|
warnings: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
|
|
14742
14906
|
}, z$2.core.$strict>;
|
|
@@ -14750,6 +14914,7 @@ export declare const agentMessagePartSchema: z$2.ZodUnion<readonly [z$2.ZodObjec
|
|
|
14750
14914
|
type: z$2.ZodLiteral<"system">;
|
|
14751
14915
|
code: z$2.ZodEnum<{
|
|
14752
14916
|
CREDITS_EXHAUSTED: "CREDITS_EXHAUSTED";
|
|
14917
|
+
MEMBER_CAP_REACHED: "MEMBER_CAP_REACHED";
|
|
14753
14918
|
}>;
|
|
14754
14919
|
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
14755
14920
|
type: z$2.ZodLiteral<"sent-message">;
|
|
@@ -14838,6 +15003,17 @@ export declare const agentMessagePartSchema: z$2.ZodUnion<readonly [z$2.ZodObjec
|
|
|
14838
15003
|
label: z$2.ZodString;
|
|
14839
15004
|
objectIcon: z$2.ZodOptional<z$2.ZodString>;
|
|
14840
15005
|
}, z$2.core.$strict>>>;
|
|
15006
|
+
skill: z$2.ZodOptional<z$2.ZodObject<{
|
|
15007
|
+
source: z$2.ZodString;
|
|
15008
|
+
description: z$2.ZodString;
|
|
15009
|
+
audience: z$2.ZodEnum<{
|
|
15010
|
+
workspace: "workspace";
|
|
15011
|
+
private: "private";
|
|
15012
|
+
}>;
|
|
15013
|
+
files: z$2.ZodNumber;
|
|
15014
|
+
hasScripts: z$2.ZodBoolean;
|
|
15015
|
+
}, z$2.core.$strict>>;
|
|
15016
|
+
outgoingText: z$2.ZodOptional<z$2.ZodString>;
|
|
14841
15017
|
counts: z$2.ZodOptional<z$2.ZodRecord<z$2.ZodString, z$2.ZodNumber>>;
|
|
14842
15018
|
warnings: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
|
|
14843
15019
|
}, z$2.core.$strict>>;
|
|
@@ -14942,6 +15118,7 @@ export declare const agentSessionMessageSchema: z$2.ZodObject<{
|
|
|
14942
15118
|
type: z$2.ZodLiteral<"system">;
|
|
14943
15119
|
code: z$2.ZodEnum<{
|
|
14944
15120
|
CREDITS_EXHAUSTED: "CREDITS_EXHAUSTED";
|
|
15121
|
+
MEMBER_CAP_REACHED: "MEMBER_CAP_REACHED";
|
|
14945
15122
|
}>;
|
|
14946
15123
|
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
14947
15124
|
type: z$2.ZodLiteral<"sent-message">;
|
|
@@ -15030,6 +15207,17 @@ export declare const agentSessionMessageSchema: z$2.ZodObject<{
|
|
|
15030
15207
|
label: z$2.ZodString;
|
|
15031
15208
|
objectIcon: z$2.ZodOptional<z$2.ZodString>;
|
|
15032
15209
|
}, z$2.core.$strict>>>;
|
|
15210
|
+
skill: z$2.ZodOptional<z$2.ZodObject<{
|
|
15211
|
+
source: z$2.ZodString;
|
|
15212
|
+
description: z$2.ZodString;
|
|
15213
|
+
audience: z$2.ZodEnum<{
|
|
15214
|
+
workspace: "workspace";
|
|
15215
|
+
private: "private";
|
|
15216
|
+
}>;
|
|
15217
|
+
files: z$2.ZodNumber;
|
|
15218
|
+
hasScripts: z$2.ZodBoolean;
|
|
15219
|
+
}, z$2.core.$strict>>;
|
|
15220
|
+
outgoingText: z$2.ZodOptional<z$2.ZodString>;
|
|
15033
15221
|
counts: z$2.ZodOptional<z$2.ZodRecord<z$2.ZodString, z$2.ZodNumber>>;
|
|
15034
15222
|
warnings: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
|
|
15035
15223
|
}, z$2.core.$strict>>;
|
|
@@ -15235,6 +15423,7 @@ export declare const customDataChunkSchemas: {
|
|
|
15235
15423
|
type: z$2.ZodLiteral<"system">;
|
|
15236
15424
|
code: z$2.ZodEnum<{
|
|
15237
15425
|
CREDITS_EXHAUSTED: "CREDITS_EXHAUSTED";
|
|
15426
|
+
MEMBER_CAP_REACHED: "MEMBER_CAP_REACHED";
|
|
15238
15427
|
}>;
|
|
15239
15428
|
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
15240
15429
|
type: z$2.ZodLiteral<"sent-message">;
|
|
@@ -15323,6 +15512,17 @@ export declare const customDataChunkSchemas: {
|
|
|
15323
15512
|
label: z$2.ZodString;
|
|
15324
15513
|
objectIcon: z$2.ZodOptional<z$2.ZodString>;
|
|
15325
15514
|
}, z$2.core.$strict>>>;
|
|
15515
|
+
skill: z$2.ZodOptional<z$2.ZodObject<{
|
|
15516
|
+
source: z$2.ZodString;
|
|
15517
|
+
description: z$2.ZodString;
|
|
15518
|
+
audience: z$2.ZodEnum<{
|
|
15519
|
+
workspace: "workspace";
|
|
15520
|
+
private: "private";
|
|
15521
|
+
}>;
|
|
15522
|
+
files: z$2.ZodNumber;
|
|
15523
|
+
hasScripts: z$2.ZodBoolean;
|
|
15524
|
+
}, z$2.core.$strict>>;
|
|
15525
|
+
outgoingText: z$2.ZodOptional<z$2.ZodString>;
|
|
15326
15526
|
counts: z$2.ZodOptional<z$2.ZodRecord<z$2.ZodString, z$2.ZodNumber>>;
|
|
15327
15527
|
warnings: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
|
|
15328
15528
|
}, z$2.core.$strict>>;
|
|
@@ -15468,6 +15668,17 @@ export declare const customDataChunkSchemas: {
|
|
|
15468
15668
|
label: z$2.ZodString;
|
|
15469
15669
|
objectIcon: z$2.ZodOptional<z$2.ZodString>;
|
|
15470
15670
|
}, z$2.core.$strict>>>;
|
|
15671
|
+
skill: z$2.ZodOptional<z$2.ZodObject<{
|
|
15672
|
+
source: z$2.ZodString;
|
|
15673
|
+
description: z$2.ZodString;
|
|
15674
|
+
audience: z$2.ZodEnum<{
|
|
15675
|
+
workspace: "workspace";
|
|
15676
|
+
private: "private";
|
|
15677
|
+
}>;
|
|
15678
|
+
files: z$2.ZodNumber;
|
|
15679
|
+
hasScripts: z$2.ZodBoolean;
|
|
15680
|
+
}, z$2.core.$strict>>;
|
|
15681
|
+
outgoingText: z$2.ZodOptional<z$2.ZodString>;
|
|
15471
15682
|
counts: z$2.ZodOptional<z$2.ZodRecord<z$2.ZodString, z$2.ZodNumber>>;
|
|
15472
15683
|
warnings: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
|
|
15473
15684
|
}, z$2.core.$strict>>;
|
|
@@ -15634,8 +15845,8 @@ export declare const agentScheduleSchema: z$2.ZodObject<{
|
|
|
15634
15845
|
enabled: z$2.ZodBoolean;
|
|
15635
15846
|
input: z$2.ZodOptional<z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>>;
|
|
15636
15847
|
runFor: z$2.ZodOptional<z$2.ZodEnum<{
|
|
15637
|
-
armer: "armer";
|
|
15638
15848
|
audience: "audience";
|
|
15849
|
+
armer: "armer";
|
|
15639
15850
|
}>>;
|
|
15640
15851
|
audience: z$2.ZodOptional<z$2.ZodObject<{
|
|
15641
15852
|
workspace: z$2.ZodBoolean;
|
|
@@ -15928,7 +16139,7 @@ export declare const agentTriggerBaseSchema: z$2.ZodObject<{
|
|
|
15928
16139
|
conditions: never[];
|
|
15929
16140
|
} | {
|
|
15930
16141
|
family: "issue";
|
|
15931
|
-
actions: ("closed" | "opened" | "edited" | "reopened" | "labeled" | "unlabeled" | "assigned" | "unassigned" | "milestoned" | "demilestoned" | "transferred"
|
|
16142
|
+
actions: ("closed" | "pinned" | "opened" | "edited" | "reopened" | "labeled" | "unlabeled" | "assigned" | "unassigned" | "milestoned" | "demilestoned" | "transferred")[];
|
|
15932
16143
|
repositories: string[];
|
|
15933
16144
|
sender: GithubTriggerSender;
|
|
15934
16145
|
conditions: ({
|
|
@@ -16366,7 +16577,7 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
|
|
|
16366
16577
|
conditions: never[];
|
|
16367
16578
|
} | {
|
|
16368
16579
|
family: "issue";
|
|
16369
|
-
actions: ("closed" | "opened" | "edited" | "reopened" | "labeled" | "unlabeled" | "assigned" | "unassigned" | "milestoned" | "demilestoned" | "transferred"
|
|
16580
|
+
actions: ("closed" | "pinned" | "opened" | "edited" | "reopened" | "labeled" | "unlabeled" | "assigned" | "unassigned" | "milestoned" | "demilestoned" | "transferred")[];
|
|
16370
16581
|
repositories: string[];
|
|
16371
16582
|
sender: GithubTriggerSender;
|
|
16372
16583
|
conditions: ({
|
|
@@ -16644,7 +16855,7 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
|
|
|
16644
16855
|
conditions: never[];
|
|
16645
16856
|
} | {
|
|
16646
16857
|
family: "issue";
|
|
16647
|
-
actions: ("closed" | "opened" | "edited" | "reopened" | "labeled" | "unlabeled" | "assigned" | "unassigned" | "milestoned" | "demilestoned" | "transferred"
|
|
16858
|
+
actions: ("closed" | "pinned" | "opened" | "edited" | "reopened" | "labeled" | "unlabeled" | "assigned" | "unassigned" | "milestoned" | "demilestoned" | "transferred")[];
|
|
16648
16859
|
repositories: string[];
|
|
16649
16860
|
sender: GithubTriggerSender;
|
|
16650
16861
|
conditions: ({
|
|
@@ -16923,7 +17134,7 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
|
|
|
16923
17134
|
conditions: never[];
|
|
16924
17135
|
} | {
|
|
16925
17136
|
family: "issue";
|
|
16926
|
-
actions: ("closed" | "opened" | "edited" | "reopened" | "labeled" | "unlabeled" | "assigned" | "unassigned" | "milestoned" | "demilestoned" | "transferred"
|
|
17137
|
+
actions: ("closed" | "pinned" | "opened" | "edited" | "reopened" | "labeled" | "unlabeled" | "assigned" | "unassigned" | "milestoned" | "demilestoned" | "transferred")[];
|
|
16927
17138
|
repositories: string[];
|
|
16928
17139
|
sender: GithubTriggerSender;
|
|
16929
17140
|
conditions: ({
|
|
@@ -17200,7 +17411,7 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
|
|
|
17200
17411
|
conditions: never[];
|
|
17201
17412
|
} | {
|
|
17202
17413
|
family: "issue";
|
|
17203
|
-
actions: ("closed" | "opened" | "edited" | "reopened" | "labeled" | "unlabeled" | "assigned" | "unassigned" | "milestoned" | "demilestoned" | "transferred"
|
|
17414
|
+
actions: ("closed" | "pinned" | "opened" | "edited" | "reopened" | "labeled" | "unlabeled" | "assigned" | "unassigned" | "milestoned" | "demilestoned" | "transferred")[];
|
|
17204
17415
|
repositories: string[];
|
|
17205
17416
|
sender: GithubTriggerSender;
|
|
17206
17417
|
conditions: ({
|
|
@@ -17625,7 +17836,7 @@ export declare const agentTriggerPatchSchema: z$2.ZodObject<{
|
|
|
17625
17836
|
conditions: never[];
|
|
17626
17837
|
} | {
|
|
17627
17838
|
family: "issue";
|
|
17628
|
-
actions: ("closed" | "opened" | "edited" | "reopened" | "labeled" | "unlabeled" | "assigned" | "unassigned" | "milestoned" | "demilestoned" | "transferred"
|
|
17839
|
+
actions: ("closed" | "pinned" | "opened" | "edited" | "reopened" | "labeled" | "unlabeled" | "assigned" | "unassigned" | "milestoned" | "demilestoned" | "transferred")[];
|
|
17629
17840
|
repositories: string[];
|
|
17630
17841
|
sender: GithubTriggerSender;
|
|
17631
17842
|
conditions: ({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
import { ObjectDefinition } from "./objects-
|
|
3
|
-
import { Attribute } from "./attributes-
|
|
4
|
-
import { ValidationMessages, ValidationResult } from "./index-
|
|
2
|
+
import { ObjectDefinition } from "./objects-CkhVZFNC.mjs";
|
|
3
|
+
import { Attribute } from "./attributes-oDsTQ689.mjs";
|
|
4
|
+
import { ValidationMessages, ValidationResult } from "./index-BW5-F7CG.mjs";
|
|
5
5
|
import * as z$2 from "zod";
|
|
6
6
|
//#region src/validation/object/attribute-factory.d.ts
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
import { ObjectDefinition } from "./objects-
|
|
3
|
-
import { Attribute } from "./attributes-
|
|
4
|
-
import { ValidationMessages, ValidationResult } from "./index-
|
|
2
|
+
import { ObjectDefinition } from "./objects-DDtMv0oN.js";
|
|
3
|
+
import { Attribute } from "./attributes-HkhFubZE.js";
|
|
4
|
+
import { ValidationMessages, ValidationResult } from "./index-Cxr1ytkx.js";
|
|
5
5
|
import * as z$2 from "zod";
|
|
6
6
|
//#region src/validation/object/attribute-factory.d.ts
|
|
7
7
|
/**
|