@collective-intelligence/extensions-sdk 0.1.12 → 0.1.13

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 CHANGED
@@ -166,11 +166,37 @@ none required. The run starts only once every id is such an entity and every
166
166
  value is that entity's; nodes bind `{{ trigger.form.<key>.values }}` for the
167
167
  list of, for example, tag slugs, and `{{ trigger.form.<key>.entityIds }}` for
168
168
  the ids. A prefill link may carry the same value; it is checked the same way.
169
+ Studio trigger forms declare Organization member references explicitly:
170
+
171
+ ```ts
172
+ withStudioTriggerForm(trigger, {
173
+ organizationGroup: members,
174
+ fields: [
175
+ { key: "owner", label: "Owner", type: "user_select" },
176
+ {
177
+ key: "reviewers",
178
+ label: "Reviewers",
179
+ type: "user_select",
180
+ multiple: true,
181
+ required: false
182
+ }
183
+ ]
184
+ })
185
+ ```
186
+
187
+ `StudioTriggerFormUserField` defaults to a single required user. `multiple: true`
188
+ selects an ordered list of IDs; `required: false` permits absence or `null` for a
189
+ single field, or `[]` for a list. These defaults are interpreted by the Host;
190
+ the portable declaration preserves omitted options. Both options accept booleans
191
+ only. The Host must validate current Organization membership at run admission;
192
+ labels and profile objects never replace the IDs in `form.<key>`.
193
+
169
194
  `withStudioAgentForm(agent, { fields })` gives a declared Agent a Studio form,
170
195
  stored under the Agent's `metadata.studioForm`; `readStudioAgentForm` reads it
171
- back. `fields` takes exactly the trigger-form field types above (`file`,
172
- `text`, `textarea`, `number`, `boolean`, `enum`, `json`, `entities`); any other
173
- type, or a repeated key, fails at declaration and at manifest admission.
196
+ back. `StudioAgentFormField` retains the shared field types (`file`,
197
+ `text`, `textarea`, `number`, `boolean`, `enum`, `json`, `entities`).
198
+ Workflow-only `user_select`, any other type, or a repeated key fails at Agent
199
+ form declaration and manifest admission.
174
200
  `builtin:view.agent-form` names the Agent by FQN in `props.agentRef`. A submit
175
201
  runs the Agent for the Studio user, within the Agent's audience, with the JSON
176
202
  object of the declared field values as its task.
@@ -394,6 +420,25 @@ projects a Draft 2020-12 `knowledge_record` document (`enum`, `format`, root
394
420
  `type: "object"`, `required` array). Adapter-owned codecs still use
395
421
  `definePackageSchema`.
396
422
 
423
+ `declareKnowledgeEntitySchema` declares Organization member references in
424
+ `userFields`, keyed by top-level property name:
425
+
426
+ ```ts
427
+ userFields: {
428
+ owner: { multiple: false },
429
+ reviewers: { multiple: true }
430
+ }
431
+ ```
432
+
433
+ These declarations compile to `fieldSemantics["/owner"].user` and
434
+ `fieldSemantics["/reviewers"].user`. The host generates UUID or UUID-array
435
+ value schemas. Declare requiredness through the existing authored schema;
436
+ the host replaces the value shape while preserving its required list. Ordinary UUID properties do not
437
+ implicitly become User fields. User fields cannot share File or Relation
438
+ semantics and are not supported on relation schemas or nested properties.
439
+ Values contain IDs only; the host owns membership validation and profile
440
+ resolution, duplicate rejection, and preservation of list order.
441
+
397
442
  `declareKnowledgeEntitySchema` declares File fields in `fileFields`, keyed by
398
443
  top-level property key. Each declaration takes `multiple`, `accepts` (matched
399
444
  like the HTML `accept` attribute: MIME types, `type/*` wildcards or `.ext` file
@@ -456,6 +501,10 @@ inverse field is exposed. One means at most one, not a required link.
456
501
  and `autocomplete.fields` name `{ field, scope: "data" | "entity" }` fields of
457
502
  the target schema; `autocomplete.baseFilters` are ANDed schema-aware filters
458
503
  `{ field, operator, value, caseSensitive? }` that limit the selectable targets.
504
+ User targets support `eq`, `ne`, `in`, `not_in` for single values and
505
+ `contains_any`, `contains_all`, `contains_none` for lists. Both support
506
+ `is_null` and `is_not_null`; existing `nin`, `is_empty` and `is_not_empty`
507
+ spellings remain accepted. The target schema determines operand validation.
459
508
  The schema does not define the property: the platform generates its value
460
509
  schema at install. Localization, presentation and semantics pointers may address
461
510
  the relation field. Declaration rejects a relation entry whose pointer is not a
@@ -2355,3 +2404,20 @@ supplied, they must agree for every source after omitted entries default to
2355
2404
  settings and reject unknown sources or another runtime's kind. These SDK checks
2356
2405
  validate declarations; the Host implements runtime authorization and per-step
2357
2406
  rechecks.
2407
+
2408
+ ### Workflow User fields
2409
+
2410
+ A workflow field declares Organization member references explicitly with
2411
+ `definition.contract.user: { multiple: false }` (one user ID) or
2412
+ `{ multiple: true }` (an ordered list of user IDs). This metadata survives
2413
+ canonical package serialization and manifest admission. UUID schemas alone do
2414
+ not imply User semantics. `multiple` must be a boolean; malformed metadata is
2415
+ rejected at manifest admission. Value schemas remain separate, and live member
2416
+ eligibility belongs to the backend SDK authoritative validation hook.
2417
+
2418
+ Portable form presentation supports `"ui:widget": "user_select"` and
2419
+ `"ui:widget": "user_multi_select"` as plain controls without `ui:options`.
2420
+ Hosts bind their authorized member picker at the renderer boundary. These names
2421
+ select presentation only: they neither supply directory access nor infer User
2422
+ semantics from a UUID schema. Workflow field catalog metadata must still carry
2423
+ its explicit User descriptor.
@@ -26,6 +26,12 @@ export type KnowledgeFileField = Readonly<{
26
26
  export type KnowledgeFileFieldDeclaration = KnowledgeFileField & Readonly<{
27
27
  visibility?: KnowledgeFieldSemantics["mediaVisibility"];
28
28
  }>;
29
+ /** Explicit top-level Organization member references; the host generates UUID values. */
30
+ export type KnowledgeUserField = Readonly<{
31
+ multiple: boolean;
32
+ }>;
33
+ /** Declares a User field by top-level key, separate from its host-generated value schema. */
34
+ export type KnowledgeUserFieldDeclaration = KnowledgeUserField;
29
35
  export type KnowledgeFieldSemantics = Readonly<{
30
36
  /** Extracted-text prefix budget; null or omission inherits the schema/organization default. */
31
37
  overviewInputMaxChars?: number | null;
@@ -36,6 +42,7 @@ export type KnowledgeFieldSemantics = Readonly<{
36
42
  /** Include this scalar or scalar-list field in the item YAML vector; omitted means off. */
37
43
  includeInItemEmbedding?: boolean;
38
44
  faceted?: boolean;
45
+ user?: KnowledgeUserField;
39
46
  file?: KnowledgeFileField;
40
47
  indexContent?: boolean;
41
48
  indexOverview?: boolean;
@@ -111,7 +118,7 @@ export type KnowledgeAutocompleteFieldReference = Readonly<{
111
118
  type KnowledgeRelationBaseFilter = Readonly<{
112
119
  caseSensitive?: boolean;
113
120
  field: string;
114
- operator: "contains" | "ends_with" | "eq" | "exists" | "gt" | "gte" | "in" | "is_empty" | "is_not_empty" | "lt" | "lte" | "ne" | "nin" | "not_contains" | "starts_with";
121
+ operator: "contains" | "contains_all" | "contains_any" | "contains_none" | "ends_with" | "eq" | "exists" | "gt" | "gte" | "in" | "is_empty" | "is_not_empty" | "is_not_null" | "is_null" | "lt" | "lte" | "ne" | "nin" | "not_contains" | "not_in" | "starts_with";
115
122
  value: JsonValue;
116
123
  }>;
117
124
  /**
@@ -9,7 +9,7 @@ import type { DatasetParserImplementation } from "./dataset-parser.js";
9
9
  import type { ExternalDatasetProviderImplementation, ManagedDatasetProviderImplementation } from "./datasets.js";
10
10
  import type { ExternalAppGatewayDeclaration } from "./external-app-gateway.js";
11
11
  import type { ExternalApplicationAccessKey, ExternalApplicationDeclaration, ExternalApplicationGroupBinding, ExternalApplicationServerRole, ExternalApplicationUserRole } from "./external-application.js";
12
- import type { KnowledgeEntitySchemaDeclaration, KnowledgeFieldSemantics, KnowledgeFileFieldDeclaration, KnowledgePolicyDeclaration, KnowledgeRelationSchemaDeclaration } from "./knowledge.js";
12
+ import type { KnowledgeEntitySchemaDeclaration, KnowledgeFieldSemantics, KnowledgeFileFieldDeclaration, KnowledgeUserFieldDeclaration, KnowledgePolicyDeclaration, KnowledgeRelationSchemaDeclaration } from "./knowledge.js";
13
13
  import type { LifecycleOptions } from "./lifecycle.js";
14
14
  import type { OrganizationGroupDeclaration } from "./organization-group.js";
15
15
  import type { OrganizationSettingsDeclaration, VaryingOrganizationSettingsAuthentication, VaryingOrganizationSettingsSso } from "./organization-settings.js";
@@ -71,14 +71,16 @@ type OrganizationSettingsDefinitionInput = VaryingDefinition<Omit<MetadataDefini
71
71
  /** Declares the settings of the Organization that installs the package. */
72
72
  export declare const declareOrganizationSettings: (input: MetadataClassDeclaration<OrganizationSettingsDeclaration, OrganizationSettingsDefinitionInput>) => DeclaredComponent<OrganizationSettingsDeclaration>;
73
73
  export declare const declareSkillTemplate: (input: MetadataClassDeclaration<SkillTemplateDeclaration>) => DeclaredComponent<SkillTemplateDeclaration>;
74
- /** Authored field semantics; File field entries come from `fileFields`. */
75
- type KnowledgeFieldSemanticsInput = Readonly<Record<string, Omit<KnowledgeFieldSemantics, "file">>>;
76
- /** Relation schemas take no File or relation field entries. */
77
- type KnowledgeRelationFieldSemanticsInput = Readonly<Record<string, Omit<KnowledgeFieldSemantics, "file" | "relation">>>;
74
+ /** Authored field semantics; File and User entries come from `fileFields` and `userFields`. */
75
+ type KnowledgeFieldSemanticsInput = Readonly<Record<string, Omit<KnowledgeFieldSemantics, "file" | "user">>>;
76
+ /** Relation schemas take no File, User or relation field entries. */
77
+ type KnowledgeRelationFieldSemanticsInput = Readonly<Record<string, Omit<KnowledgeFieldSemantics, "file" | "relation" | "user">>>;
78
78
  type KnowledgeEntityDefinitionInput<Schema> = Omit<MetadataDefinition<KnowledgeEntitySchemaDeclaration>, "fieldSemantics" | "schema"> & Readonly<{
79
79
  fieldSemantics?: KnowledgeFieldSemanticsInput;
80
80
  /** The File fields of the schema, by top-level property key. */
81
81
  fileFields?: Readonly<Record<string, KnowledgeFileFieldDeclaration>>;
82
+ /** Organization member selections, by top-level property key. */
83
+ userFields?: Readonly<Record<string, KnowledgeUserFieldDeclaration>>;
82
84
  schema: DecoderSource<Schema>;
83
85
  }>;
84
86
  type KnowledgeRelationDefinitionInput<Schema> = Omit<MetadataDefinition<KnowledgeRelationSchemaDeclaration>, "fieldSemantics" | "schema" | "lifecycle"> & Readonly<{
@@ -6,16 +6,19 @@ import type { StudioTriggerFormField } from "./studio.js";
6
6
  /**
7
7
  * The Studio form of an Agent. `builtin:view.agent-form` renders its fields
8
8
  * and runs the Agent with the filled values as the task. The fields are the
9
- * trigger-form fields.
9
+ * shared form fields except workflow-only User selection.
10
10
  */
11
+ export type StudioAgentFormField = Exclude<StudioTriggerFormField, {
12
+ type: "user_select";
13
+ }>;
11
14
  export type StudioAgentFormDeclaration = Readonly<{
12
- fields: readonly StudioTriggerFormField[];
15
+ fields: readonly StudioAgentFormField[];
13
16
  }>;
14
17
  /** Admits Agent metadata whose Studio form, when present, is well formed. */
15
18
  export declare const studioAgentMetadata: (read: ReadValue<JsonObject>) => ReadValue<JsonObject>;
16
19
  /**
17
- * Gives an Agent a Studio form. A field type that trigger forms do not
18
- * declare, or a repeated field key, fails here with a `TypeError`.
20
+ * Gives an Agent a Studio form. Unsupported types (including workflow-only
21
+ * User fields) or repeated field keys fail here with a `TypeError`.
19
22
  */
20
23
  export declare const withStudioAgentForm: (agent: DeclaredComponent<AgentDeclaration>, form: StudioAgentFormDeclaration) => DeclaredComponent<AgentDeclaration>;
21
24
  /**
@@ -76,8 +76,18 @@ export type StudioTriggerFormEntitiesField = Readonly<{
76
76
  */
77
77
  valueKey?: string;
78
78
  }>;
79
+ /** Organization member IDs, revalidated by the Host when a run starts. */
80
+ export type StudioTriggerFormUserField = Readonly<{
81
+ key: string;
82
+ label: string;
83
+ /** One ID when omitted or false; an ordered list of IDs when true. */
84
+ multiple?: boolean;
85
+ /** Required when omitted. False permits an absent/null single or empty list. */
86
+ required?: boolean;
87
+ type: "user_select";
88
+ }>;
79
89
  /** A field of a Studio trigger form; its value lands at `form.<key>` of the run. */
80
- export type StudioTriggerFormField = StudioTriggerFormEntitiesField | StudioTriggerFormEnumField | StudioTriggerFormFileField | StudioTriggerFormJsonField | StudioTriggerFormValueField;
90
+ export type StudioTriggerFormField = StudioTriggerFormEntitiesField | StudioTriggerFormEnumField | StudioTriggerFormFileField | StudioTriggerFormJsonField | StudioTriggerFormUserField | StudioTriggerFormValueField;
81
91
  /**
82
92
  * The Studio form of a user-invoked Workflow trigger. Studio shows and runs
83
93
  * the trigger only for users of `organizationGroup`.
@@ -255,6 +255,10 @@ export type WorkflowNodeContract = Readonly<{
255
255
  triggerActivation?: WorkflowTriggerActivationDeclaration;
256
256
  }>;
257
257
  export type WorkflowFieldContract = Readonly<{
258
+ /** Explicit Organization member references; never inferred from UUID schemas. */
259
+ user?: Readonly<{
260
+ multiple: boolean;
261
+ }>;
258
262
  availableForInput?: boolean;
259
263
  availableForOutput?: boolean;
260
264
  clearOnDependencyChange?: boolean;
package/dist/index.d.ts CHANGED
@@ -31,8 +31,8 @@ export { BACKEND_EXECUTION_LANES, declareHostedContribution, FRONTEND_CATALOG_CO
31
31
  export type { BackendExecutionLane, BackendHostedContributionManifest, ExtensionHost, FrontendCatalogContract, FrontendCatalogContributionManifest, FrontendCatalogExportName, FrontendExtensionHost, HostedContributionDeclaration, HostedContributionInput, HostedContributionManifest, HostedContributionSourceIdentity } from "./hosted/contributions.js";
32
32
  export type { ComponentManifest, ComponentPresentation, DeclarationHandle, DeclarationReference, DeclaredComponent, DocumentsConnectorImplementation, PackageSchemaRuntimeSidecar, MetadataComponentManifest, ToolClassDeclaration, WorkflowFieldClassDeclaration, KnowledgeEntityAdapterClassDeclaration, ConnectionClassDeclaration, KnowledgeConnectorClassDeclaration, KnowledgeConnectorOAuthClassDeclaration, EventListenerClassDeclaration, FieldTransformerClassDeclaration, NotificationChannelClassDeclaration, KnowledgeRelationAdapterClassDeclaration, ToolSettingsOptionsClassDeclaration, WorkflowNodeClassDeclaration, WorkflowNodePortInput } from "./components/authoring-core.js";
33
33
  export type { DeclaredPackageComponent, DeclaredPackageManifest, PackageDefinition, PackageManifestInput, NormalizedPackageDefinition, PackageComponent } from "./package/definition.js";
34
- export type { StudioAppDeclaration, StudioAppDeclarationInput, StudioAppDefinition, StudioAppDefinitionInput, StudioAppGrant, StudioAppLayoutDefinition, StudioAppLifecycle, StudioAppPageDefinition, StudioAppPageInput, StudioAppRole, StudioAppSectionDefinition, StudioAppSectionInput, StudioAppTemplateDeclaration, StudioAppTemplateDefinition, StudioAppTemplatePageDefinition, StudioAppTemplateSectionDefinition, StudioAppViewDataBinding, StudioAppViewDefinition, StudioAppViewInput, StudioAppViewPropsInput, StudioNodeAccess, StudioNodeAccessInput, StudioTriggerReference, StudioComponentDeclaration, StudioTriggerFormDeclaration, StudioTriggerFormEntitiesField, StudioTriggerFormEnumField, StudioTriggerFormField, StudioTriggerFormFileField, StudioTriggerFormInput, StudioTriggerFormJsonField, StudioTriggerFormOption, StudioTriggerFormValueField } from "./components/studio.js";
35
- export type { StudioAgentFormDeclaration } from "./components/studio-agent-form.js";
34
+ export type { StudioAppDeclaration, StudioAppDeclarationInput, StudioAppDefinition, StudioAppDefinitionInput, StudioAppGrant, StudioAppLayoutDefinition, StudioAppLifecycle, StudioAppPageDefinition, StudioAppPageInput, StudioAppRole, StudioAppSectionDefinition, StudioAppSectionInput, StudioAppTemplateDeclaration, StudioAppTemplateDefinition, StudioAppTemplatePageDefinition, StudioAppTemplateSectionDefinition, StudioAppViewDataBinding, StudioAppViewDefinition, StudioAppViewInput, StudioAppViewPropsInput, StudioNodeAccess, StudioNodeAccessInput, StudioTriggerReference, StudioComponentDeclaration, StudioTriggerFormDeclaration, StudioTriggerFormEntitiesField, StudioTriggerFormEnumField, StudioTriggerFormField, StudioTriggerFormFileField, StudioTriggerFormInput, StudioTriggerFormJsonField, StudioTriggerFormOption, StudioTriggerFormUserField, StudioTriggerFormValueField } from "./components/studio.js";
35
+ export type { StudioAgentFormDeclaration, StudioAgentFormField } from "./components/studio-agent-form.js";
36
36
  export { readStudioAgentForm, withStudioAgentForm } from "./components/studio-agent-form.js";
37
37
  export { defaultStudioTriggerFormFileAccept, maxStudioTriggerFormFileBytes, readStudioTriggerForm, studioViewKey, withStudioTriggerForm } from "./components/studio.js";
38
38
  export type { FieldUiSchema, FieldValidationRule, FieldVisibilityRule, FormMarkdownBlock, FormDefinition, FormMetadata, FormSchemaSource, FormLayout, FormSection, FormSectionItem, FormStep, FormWidget, PlainFormWidget, PortableFormDefinition, SelectFormWidget, SelectOption as FormSelectOption, SelectOptions, StructuredFileBrowserOptions, StructuredFileUploadOptions, DynamicFormAiFillConfig, VisibilityCondition } from "./schema/forms.js";
@@ -62,7 +62,7 @@ export type { AgentActivityPolicy, AgentAudience, AgentAudienceDeclaration, Agen
62
62
  export type { DocumentsDeltaCursorExpired, DocumentsDeltaItem, DocumentsDeltaPage, DocumentsDeltaRequest, DocumentsDrive, DocumentsDrivesPage, DocumentsFolder, DocumentsFoldersPage, DocumentsFetchedContent, DocumentsRootAncestry, DocumentsSource, KnowledgeEntityAdapterDeclaration, ConnectionDeclaration, DatasetParserDeclaration, ExternalDatasetProviderDeclaration, KnowledgeConnectorContribution, KnowledgeConnectorBindingExtraConfig, KnowledgeConnectorDeclaration, KnowledgeConnectorFieldMapRule, KnowledgeEntitySchemaCapability, KnowledgeConnectorOAuthDeclaration, KnowledgeConnectorOAuthTokens, KnowledgeConnectorRemoteReference, EventListenerDeclaration, EventListenerInternalOccurrence, EventListenerPollRequest, EventListenerPollResult, EventListenerWebhookRequest, KnowledgePredefinedSchedule, ManagedDatasetProviderDeclaration, KnowledgeRelationAdapterDeclaration, KnowledgeRelationSchemaCapability } from "./components/connectors.js";
63
63
  export type { PackagePrimitiveDeclaration } from "./components/declaration.js";
64
64
  export type { DatasetBlueprintClassDeclaration, DatasetBlueprintDeclaration, DatasetTableTemplateClassDeclaration, DatasetTableTemplateDeclaration, DatasetTableTemplateHint, DatasetTableTemplatePhysicalCode, DatasetTableTemplateSemanticRole, DatasetTableTemplateUniqueness } from "./components/templates.js";
65
- export type { KnowledgeAutocompleteConfiguration, KnowledgeAutocompleteFieldReference, KnowledgeEntityRelationField, KnowledgeEntitySchemaDeclaration, KnowledgeDisplayDefaults, KnowledgeFieldLocalization, KnowledgeFieldPresentation, KnowledgeFieldSemantics, KnowledgeFileField, KnowledgeFileFieldDeclaration, KnowledgeManagedProjection, LocalizedFieldText, KnowledgePolicyDeclaration, KnowledgeRelationSchemaDeclaration } from "./components/knowledge.js";
65
+ export type { KnowledgeAutocompleteConfiguration, KnowledgeAutocompleteFieldReference, KnowledgeEntityRelationField, KnowledgeEntitySchemaDeclaration, KnowledgeDisplayDefaults, KnowledgeFieldLocalization, KnowledgeFieldPresentation, KnowledgeFieldSemantics, KnowledgeFileField, KnowledgeFileFieldDeclaration, KnowledgeUserField, KnowledgeUserFieldDeclaration, KnowledgeManagedProjection, LocalizedFieldText, KnowledgePolicyDeclaration, KnowledgeRelationSchemaDeclaration } from "./components/knowledge.js";
66
66
  export { toolResultBrand } from "./components/tools.js";
67
67
  export type { FieldTransformerDeclaration, NotificationChannelDeclaration, RemoteToolCollectionDeclaration, RemoteToolCollectionDefinition, SetupInstructions, ToolCollectionDeclaration, ToolCollectionVisibilityGrant, ToolDeclaration, ToolDisplayPart, ToolExtraLoader, ToolGuidance, ToolHealthCheck, ToolResultWithDisplay, ToolSettingsOption, ToolSettingsOptionPage, ToolSettingsOptionsContext, ToolSettingsOptionsDeclaration } from "./components/tools.js";
68
68
  export type { WorkflowAuthoringActionEndpoint, WorkflowAuthoringDefinition, WorkflowAuthoringEdge, WorkflowAuthoringEdgeSource, WorkflowAuthoringEdgeTarget, WorkflowAuthoringFieldProjection, WorkflowAuthoringInputContract, WorkflowAuthoringInputEndpoint, WorkflowAuthoringNode, WorkflowAuthoringOutputBinding, WorkflowAuthoringOutputContract, WorkflowAuthoringOutputEndpoint, WorkflowAuthoringTemplateRef, WorkflowAuthoringTrigger, WorkflowAuthoringTriggerBinding, WorkflowAuthoringTriggerEndpoint, WorkflowAuthoredValue, WorkflowBindingExpression, WorkflowBindingSource, WorkflowBindingSpan, WorkflowDeclaration, WorkflowFieldCollectionDeclaration, WorkflowFieldContract, WorkflowFieldDeclaration, WorkflowConnectionRequirementDeclaration, WorkflowEditorDeclaration, WorkflowEditorFieldDeclaration, WorkflowEditorFieldOverride, WorkflowEditorOption, WorkflowEditorOptionSource, WorkflowEditorOverrides, WorkflowEditorSectionDeclaration, WorkflowEditorSectionOverride, WorkflowEditorValueSource, WorkflowEditorVisibilityRule, WorkflowEditorWidget, WorkflowEventIngressDeclaration, WorkflowEventSelectorProjection, WorkflowFieldBindingDeclaration, WorkflowDynamicPortDeclaration, WorkflowNodeContract, WorkflowNodeCollectionDeclaration, WorkflowNodeDeclaration, WorkflowNodeExecutionContract, WorkflowNodeExecutionSettings, WorkflowNodeInstancePolicy, WorkflowNodePortDeclaration, WorkflowOutputChannelDeclaration, WorkflowPortSchemaInjection, WorkflowPortSchemaResolution, WorkflowReusableDependencyDeclaration, WorkflowTemplateKind, WorkflowTriggerActivationDeclaration, WorkflowTemplateDeclaration, WorkflowTemplateGraphDefinition, WorkflowTemplateGraphSchemaContract, WorkflowTemplateUiLayout, WorkflowTriggerInvocation } from "./components/workflows.js";