@simple-ai-lab/sdk 0.3.0 → 0.4.0

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/index.d.cts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { z } from 'zod';
2
+ export { A as ActionContext, a as ActionHandler, B as BatchUpsertResult, D as DataClient, b as DataFilter, c as DataRecord, d as DeleteResult, F as FacetsResult, I as IngestBatchStatus, L as ListOptions, e as ListResult, M as MAX_BATCH_ROWS, f as MAX_QUERY_SIZE, Q as QueryInput, g as QueryResult, R as RecordPayload, h as RecordResult, S as SIMPLE_ACTION_BRAND, i as SimpleAI, j as SimpleAIOptions, k as batchUpsertRowsSchema, l as dataColumnPathSchema, m as dataFilterSchema, n as defineAction, o as listOptionsSchema, q as queryInputSchema, r as recordPayloadSchema, t as tableNameSchema } from './code-action-CDt77m7I.cjs';
2
3
 
3
4
  type ActionsIoScalarType = 'string' | 'number' | 'boolean';
4
5
  type ActionsIoSchemaNode = {
@@ -55,7 +56,7 @@ type CodeActionValues = {
55
56
  language: 'typescript';
56
57
  source: string;
57
58
  compiledJs: string | null;
58
- runtime: 'node22';
59
+ runtime: 'cloudflare-worker';
59
60
  timeoutMs: number;
60
61
  };
61
62
  };
@@ -742,188 +743,6 @@ declare function canonicalAuthoringKeys(values: {
742
743
  }[]): string[];
743
744
  declare function compileAgent(definition: AgentDefinition, options?: AgentCompileOptions): CompiledAgentProject;
744
745
 
745
- type FetchLike = (url: string, init: RequestInit) => Promise<Response>;
746
- type HttpClient = {
747
- request: (args: {
748
- method: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
749
- path: string;
750
- query?: Record<string, string>;
751
- body?: unknown;
752
- }) => Promise<unknown>;
753
- };
754
-
755
- /**
756
- * Request wire schemas for the Simple AI public REST API (`/api/v1`).
757
- *
758
- * These deliberately mirror the server's own schemas (see
759
- * `projects/server-v2/src/domains/data/query-schemas.ts` and
760
- * `domains/data/public/types.ts`); a contract test in server-v2 keeps the two
761
- * in sync. Responses are typed but not strictly validated, so additive server
762
- * changes never break deployed SDK consumers.
763
- */
764
- /** Hard cap on hits a single query may return. */
765
- declare const MAX_QUERY_SIZE = 50;
766
- /** Maximum rows accepted by a single batch-upsert chunk. */
767
- declare const MAX_BATCH_ROWS = 1000;
768
- declare const tableNameSchema: z.ZodString;
769
- declare const dataColumnPathSchema: z.ZodString;
770
- declare const dataFilterSchema: z.ZodObject<{
771
- column: z.ZodString;
772
- values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
773
- }, z.core.$strip>;
774
- type DataFilter = z.infer<typeof dataFilterSchema>;
775
- declare const queryInputSchema: z.ZodObject<{
776
- tableName: z.ZodString;
777
- filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
778
- column: z.ZodString;
779
- values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
780
- }, z.core.$strip>>>;
781
- text: z.ZodOptional<z.ZodString>;
782
- size: z.ZodOptional<z.ZodNumber>;
783
- from: z.ZodOptional<z.ZodNumber>;
784
- }, z.core.$strip>;
785
- type QueryInput = z.input<typeof queryInputSchema>;
786
- declare const listOptionsSchema: z.ZodObject<{
787
- page: z.ZodOptional<z.ZodNumber>;
788
- perPage: z.ZodOptional<z.ZodNumber>;
789
- orderBy: z.ZodOptional<z.ZodString>;
790
- orderDirection: z.ZodOptional<z.ZodEnum<{
791
- asc: "asc";
792
- desc: "desc";
793
- }>>;
794
- filters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
795
- }, z.core.$strip>;
796
- type ListOptions = z.input<typeof listOptionsSchema>;
797
- declare const recordPayloadSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
798
- type RecordPayload = z.infer<typeof recordPayloadSchema>;
799
- declare const batchUpsertRowsSchema: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
800
- type DataRecord = Record<string, unknown>;
801
- type QueryResult = {
802
- records: DataRecord[];
803
- total: number;
804
- };
805
- type ListResult = {
806
- records: DataRecord[];
807
- total_count: number;
808
- page: number;
809
- per_page: number;
810
- };
811
- type RecordResult = {
812
- record: DataRecord;
813
- };
814
- type DeleteResult = {
815
- success: boolean;
816
- message: string;
817
- };
818
- type BatchUpsertResult = {
819
- ingestBatchId: string;
820
- status: string;
821
- };
822
- type IngestBatchStatus = {
823
- id: string;
824
- tableName: string;
825
- status: string;
826
- rowCount: number;
827
- upsertedCount: number | null;
828
- errorMessage: string | null;
829
- createdAt: string;
830
- startedAt: string | null;
831
- finishedAt: string | null;
832
- };
833
- type FacetsResult = Record<string, unknown>;
834
-
835
- /**
836
- * Custom data tables — query, read, and write your organization's records.
837
- * Wraps the `/api/v1/data` REST endpoints.
838
- */
839
- declare class DataClient {
840
- #private;
841
- constructor(http: HttpClient);
842
- /** Facet-filtered search over an indexed table (Elasticsearch-backed, max 50 hits). */
843
- query<TRecord extends DataRecord = DataRecord>(input: QueryInput): Promise<{
844
- records: TRecord[];
845
- total: number;
846
- }>;
847
- /** Facet values for an indexed table. */
848
- facets(tableName: string): Promise<FacetsResult>;
849
- /** Paginated listing straight from the relational store. */
850
- list<TRecord extends DataRecord = DataRecord>(tableName: string, options?: ListOptions): Promise<{
851
- records: TRecord[];
852
- total_count: number;
853
- page: number;
854
- per_page: number;
855
- }>;
856
- get<TRecord extends DataRecord = DataRecord>(tableName: string, id: number): Promise<{
857
- record: TRecord;
858
- }>;
859
- create<TRecord extends DataRecord = DataRecord>(tableName: string, payload: RecordPayload): Promise<{
860
- record: TRecord;
861
- }>;
862
- update<TRecord extends DataRecord = DataRecord>(tableName: string, id: number, payload: RecordPayload): Promise<{
863
- record: TRecord;
864
- }>;
865
- delete(tableName: string, id: number): Promise<DeleteResult>;
866
- /** Deletes every record in the table. Irreversible. */
867
- deleteAll(tableName: string): Promise<DeleteResult>;
868
- /**
869
- * Asynchronous bulk upsert (max 1000 rows per call). Rows are FULL-ROW
870
- * REPLACE on key conflict — omitted columns are cleared, not preserved.
871
- * Returns a batch handle; poll `getBatch` for completion.
872
- */
873
- batchUpsert(tableName: string, rows: RecordPayload[]): Promise<BatchUpsertResult>;
874
- /** Status of an async upsert batch created by `batchUpsert`. */
875
- getBatch(ingestBatchId: string): Promise<IngestBatchStatus>;
876
- }
877
-
878
- type SimpleAIOptions = {
879
- /** API key (dashboard: Settings → API Keys). Defaults to SIMPLE_API_KEY — inside code actions this is injected automatically. */
880
- apiKey?: string;
881
- /** API base URL. Defaults to SIMPLE_BASE_URL, then the production API. */
882
- baseUrl?: string;
883
- /** Custom fetch implementation (for testing or instrumentation). */
884
- fetch?: FetchLike;
885
- };
886
- declare class SimpleAI {
887
- /** Custom data tables — query, read, and write records. */
888
- readonly data: DataClient;
889
- constructor(options?: SimpleAIOptions);
890
- }
891
-
892
- /**
893
- * Brand the code-action runner uses to recognize `defineAction` handlers. The
894
- * runner calls the default export with `{ inputs, config }` either way; the
895
- * wrapper adds the authenticated `client` to the handler's context.
896
- */
897
- declare const SIMPLE_ACTION_BRAND: unique symbol;
898
- type ActionContext<TInputs = Record<string, unknown>> = {
899
- /** The Action's declared inputs, already validated against its input schema. */
900
- inputs: TInputs;
901
- /** Your organization's configuration variables. */
902
- config: Record<string, string>;
903
- /** The Simple AI SDK, authenticated for your organization. */
904
- client: SimpleAI;
905
- };
906
- type ActionHandler<TInputs = Record<string, unknown>, TResult = unknown> = ((args: {
907
- inputs: TInputs;
908
- config: Record<string, string>;
909
- }) => Promise<TResult>) & {
910
- [SIMPLE_ACTION_BRAND]: true;
911
- };
912
- /**
913
- * Define a code action with a typed context and an org-authenticated SDK
914
- * client. The returned value must be your module's default export.
915
- *
916
- * ```ts
917
- * import { defineAction } from '@simple-ai-lab/sdk';
918
- *
919
- * export default defineAction(async ({ inputs, config, client }) => {
920
- * const { records } = await client.data.query({ tableName: 'customers', text: inputs.email });
921
- * return { found: records.length > 0 };
922
- * });
923
- * ```
924
- */
925
- declare function defineAction<TInputs = Record<string, unknown>, TResult = unknown>(handler: (context: ActionContext<TInputs>) => Promise<TResult> | TResult): ActionHandler<TInputs, TResult>;
926
-
927
746
  /** Error thrown for any non-2xx response from the Simple AI API. */
928
747
  declare class SimpleAIError extends Error {
929
748
  /** HTTP status code, or 0 when the request never reached the API. */
@@ -958,4 +777,4 @@ declare function defineAgentSnapshot(definition: Omit<AgentSnapshotDefinition, '
958
777
  declare function compileAgentProject(definition: AgentProjectSource, options?: AgentCompileOptions): CompiledAgentProject;
959
778
  declare function collectActionVersionUuids(content: AgentV2CommitContentWire): string[];
960
779
 
961
- export { type AbTestNodeDefinition, type ActionCompileOptions, type ActionContext, type ActionDefinition, type ActionHandler, type ActionNodeDefinition, type ActionOutputParameters, type ActionRunDefinition, type ActionVersionValues, type ActionsIoSchema, type ActionsIoSchemaNode, type AgentActionInput, type AgentCompileOptions, type AgentDefinition, type AgentDefinitionInput, type AgentIdentityKind, type AgentProjectSource, type AgentSnapshotDefinition, type AgentV2CommitContentWire, type AgentV2ConfigWire, type AgentV2EdgeWire, type AgentV2NodeWire, type BackgroundNoise, type BatchUpsertResult, type CallableActionDefinition, type CompiledAgentProject, DataClient, type DataFilter, type DataRecord, type DeleteResult, type EdgeDefinition, type EnabledWithDescription, type EndCallNodeDefinition, type ExtractNodeDefinition, type ExtractionField, type FacetsResult, type GlobalNodeDefinition, type HttpNodeDefinition, type IngestBatchStatus, type InlineActionDefinition, type InterruptionMode, type ListOptions, type ListResult, MAX_BATCH_ROWS, MAX_QUERY_SIZE, type NodeDefinition, type PromptNodeDefinition, type PromptReference, type QueryInput, type QueryResult, type RecordPayload, type RecordResult, type ReferencedActionDefinition, type RemoteReference, type RouteNodeDefinition, SIMPLE_ACTION_BRAND, type SayNodeDefinition, SimpleAI, SimpleAIError, type SimpleAIOptions, type SnapshotAction, type SourceFileReference, type ToolUseSiteWire, type TransferCapability, type TransferChatNodeDefinition, type TransferNodeDefinition, action, actionsIoSchemaFromZod, batchUpsertRowsSchema, canonicalAuthoringKey, canonicalAuthoringKeys, collectActionVersionUuids, compileAction, compileAgent, compileAgentProject, dataColumnPathSchema, dataFilterSchema, defineAction, defineAgent, defineAgentSnapshot, listOptionsSchema, node, prompt, queryInputSchema, recordPayloadSchema, reference, sourceFile, tableNameSchema };
780
+ export { type AbTestNodeDefinition, type ActionCompileOptions, type ActionDefinition, type ActionNodeDefinition, type ActionOutputParameters, type ActionRunDefinition, type ActionVersionValues, type ActionsIoSchema, type ActionsIoSchemaNode, type AgentActionInput, type AgentCompileOptions, type AgentDefinition, type AgentDefinitionInput, type AgentIdentityKind, type AgentProjectSource, type AgentSnapshotDefinition, type AgentV2CommitContentWire, type AgentV2ConfigWire, type AgentV2EdgeWire, type AgentV2NodeWire, type BackgroundNoise, type CallableActionDefinition, type CompiledAgentProject, type EdgeDefinition, type EnabledWithDescription, type EndCallNodeDefinition, type ExtractNodeDefinition, type ExtractionField, type GlobalNodeDefinition, type HttpNodeDefinition, type InlineActionDefinition, type InterruptionMode, type NodeDefinition, type PromptNodeDefinition, type PromptReference, type ReferencedActionDefinition, type RemoteReference, type RouteNodeDefinition, type SayNodeDefinition, SimpleAIError, type SnapshotAction, type SourceFileReference, type ToolUseSiteWire, type TransferCapability, type TransferChatNodeDefinition, type TransferNodeDefinition, action, actionsIoSchemaFromZod, canonicalAuthoringKey, canonicalAuthoringKeys, collectActionVersionUuids, compileAction, compileAgent, compileAgentProject, defineAgent, defineAgentSnapshot, node, prompt, reference, sourceFile };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { z } from 'zod';
2
+ export { A as ActionContext, a as ActionHandler, B as BatchUpsertResult, D as DataClient, b as DataFilter, c as DataRecord, d as DeleteResult, F as FacetsResult, I as IngestBatchStatus, L as ListOptions, e as ListResult, M as MAX_BATCH_ROWS, f as MAX_QUERY_SIZE, Q as QueryInput, g as QueryResult, R as RecordPayload, h as RecordResult, S as SIMPLE_ACTION_BRAND, i as SimpleAI, j as SimpleAIOptions, k as batchUpsertRowsSchema, l as dataColumnPathSchema, m as dataFilterSchema, n as defineAction, o as listOptionsSchema, q as queryInputSchema, r as recordPayloadSchema, t as tableNameSchema } from './code-action-CDt77m7I.js';
2
3
 
3
4
  type ActionsIoScalarType = 'string' | 'number' | 'boolean';
4
5
  type ActionsIoSchemaNode = {
@@ -55,7 +56,7 @@ type CodeActionValues = {
55
56
  language: 'typescript';
56
57
  source: string;
57
58
  compiledJs: string | null;
58
- runtime: 'node22';
59
+ runtime: 'cloudflare-worker';
59
60
  timeoutMs: number;
60
61
  };
61
62
  };
@@ -742,188 +743,6 @@ declare function canonicalAuthoringKeys(values: {
742
743
  }[]): string[];
743
744
  declare function compileAgent(definition: AgentDefinition, options?: AgentCompileOptions): CompiledAgentProject;
744
745
 
745
- type FetchLike = (url: string, init: RequestInit) => Promise<Response>;
746
- type HttpClient = {
747
- request: (args: {
748
- method: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
749
- path: string;
750
- query?: Record<string, string>;
751
- body?: unknown;
752
- }) => Promise<unknown>;
753
- };
754
-
755
- /**
756
- * Request wire schemas for the Simple AI public REST API (`/api/v1`).
757
- *
758
- * These deliberately mirror the server's own schemas (see
759
- * `projects/server-v2/src/domains/data/query-schemas.ts` and
760
- * `domains/data/public/types.ts`); a contract test in server-v2 keeps the two
761
- * in sync. Responses are typed but not strictly validated, so additive server
762
- * changes never break deployed SDK consumers.
763
- */
764
- /** Hard cap on hits a single query may return. */
765
- declare const MAX_QUERY_SIZE = 50;
766
- /** Maximum rows accepted by a single batch-upsert chunk. */
767
- declare const MAX_BATCH_ROWS = 1000;
768
- declare const tableNameSchema: z.ZodString;
769
- declare const dataColumnPathSchema: z.ZodString;
770
- declare const dataFilterSchema: z.ZodObject<{
771
- column: z.ZodString;
772
- values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
773
- }, z.core.$strip>;
774
- type DataFilter = z.infer<typeof dataFilterSchema>;
775
- declare const queryInputSchema: z.ZodObject<{
776
- tableName: z.ZodString;
777
- filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
778
- column: z.ZodString;
779
- values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
780
- }, z.core.$strip>>>;
781
- text: z.ZodOptional<z.ZodString>;
782
- size: z.ZodOptional<z.ZodNumber>;
783
- from: z.ZodOptional<z.ZodNumber>;
784
- }, z.core.$strip>;
785
- type QueryInput = z.input<typeof queryInputSchema>;
786
- declare const listOptionsSchema: z.ZodObject<{
787
- page: z.ZodOptional<z.ZodNumber>;
788
- perPage: z.ZodOptional<z.ZodNumber>;
789
- orderBy: z.ZodOptional<z.ZodString>;
790
- orderDirection: z.ZodOptional<z.ZodEnum<{
791
- asc: "asc";
792
- desc: "desc";
793
- }>>;
794
- filters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
795
- }, z.core.$strip>;
796
- type ListOptions = z.input<typeof listOptionsSchema>;
797
- declare const recordPayloadSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
798
- type RecordPayload = z.infer<typeof recordPayloadSchema>;
799
- declare const batchUpsertRowsSchema: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
800
- type DataRecord = Record<string, unknown>;
801
- type QueryResult = {
802
- records: DataRecord[];
803
- total: number;
804
- };
805
- type ListResult = {
806
- records: DataRecord[];
807
- total_count: number;
808
- page: number;
809
- per_page: number;
810
- };
811
- type RecordResult = {
812
- record: DataRecord;
813
- };
814
- type DeleteResult = {
815
- success: boolean;
816
- message: string;
817
- };
818
- type BatchUpsertResult = {
819
- ingestBatchId: string;
820
- status: string;
821
- };
822
- type IngestBatchStatus = {
823
- id: string;
824
- tableName: string;
825
- status: string;
826
- rowCount: number;
827
- upsertedCount: number | null;
828
- errorMessage: string | null;
829
- createdAt: string;
830
- startedAt: string | null;
831
- finishedAt: string | null;
832
- };
833
- type FacetsResult = Record<string, unknown>;
834
-
835
- /**
836
- * Custom data tables — query, read, and write your organization's records.
837
- * Wraps the `/api/v1/data` REST endpoints.
838
- */
839
- declare class DataClient {
840
- #private;
841
- constructor(http: HttpClient);
842
- /** Facet-filtered search over an indexed table (Elasticsearch-backed, max 50 hits). */
843
- query<TRecord extends DataRecord = DataRecord>(input: QueryInput): Promise<{
844
- records: TRecord[];
845
- total: number;
846
- }>;
847
- /** Facet values for an indexed table. */
848
- facets(tableName: string): Promise<FacetsResult>;
849
- /** Paginated listing straight from the relational store. */
850
- list<TRecord extends DataRecord = DataRecord>(tableName: string, options?: ListOptions): Promise<{
851
- records: TRecord[];
852
- total_count: number;
853
- page: number;
854
- per_page: number;
855
- }>;
856
- get<TRecord extends DataRecord = DataRecord>(tableName: string, id: number): Promise<{
857
- record: TRecord;
858
- }>;
859
- create<TRecord extends DataRecord = DataRecord>(tableName: string, payload: RecordPayload): Promise<{
860
- record: TRecord;
861
- }>;
862
- update<TRecord extends DataRecord = DataRecord>(tableName: string, id: number, payload: RecordPayload): Promise<{
863
- record: TRecord;
864
- }>;
865
- delete(tableName: string, id: number): Promise<DeleteResult>;
866
- /** Deletes every record in the table. Irreversible. */
867
- deleteAll(tableName: string): Promise<DeleteResult>;
868
- /**
869
- * Asynchronous bulk upsert (max 1000 rows per call). Rows are FULL-ROW
870
- * REPLACE on key conflict — omitted columns are cleared, not preserved.
871
- * Returns a batch handle; poll `getBatch` for completion.
872
- */
873
- batchUpsert(tableName: string, rows: RecordPayload[]): Promise<BatchUpsertResult>;
874
- /** Status of an async upsert batch created by `batchUpsert`. */
875
- getBatch(ingestBatchId: string): Promise<IngestBatchStatus>;
876
- }
877
-
878
- type SimpleAIOptions = {
879
- /** API key (dashboard: Settings → API Keys). Defaults to SIMPLE_API_KEY — inside code actions this is injected automatically. */
880
- apiKey?: string;
881
- /** API base URL. Defaults to SIMPLE_BASE_URL, then the production API. */
882
- baseUrl?: string;
883
- /** Custom fetch implementation (for testing or instrumentation). */
884
- fetch?: FetchLike;
885
- };
886
- declare class SimpleAI {
887
- /** Custom data tables — query, read, and write records. */
888
- readonly data: DataClient;
889
- constructor(options?: SimpleAIOptions);
890
- }
891
-
892
- /**
893
- * Brand the code-action runner uses to recognize `defineAction` handlers. The
894
- * runner calls the default export with `{ inputs, config }` either way; the
895
- * wrapper adds the authenticated `client` to the handler's context.
896
- */
897
- declare const SIMPLE_ACTION_BRAND: unique symbol;
898
- type ActionContext<TInputs = Record<string, unknown>> = {
899
- /** The Action's declared inputs, already validated against its input schema. */
900
- inputs: TInputs;
901
- /** Your organization's configuration variables. */
902
- config: Record<string, string>;
903
- /** The Simple AI SDK, authenticated for your organization. */
904
- client: SimpleAI;
905
- };
906
- type ActionHandler<TInputs = Record<string, unknown>, TResult = unknown> = ((args: {
907
- inputs: TInputs;
908
- config: Record<string, string>;
909
- }) => Promise<TResult>) & {
910
- [SIMPLE_ACTION_BRAND]: true;
911
- };
912
- /**
913
- * Define a code action with a typed context and an org-authenticated SDK
914
- * client. The returned value must be your module's default export.
915
- *
916
- * ```ts
917
- * import { defineAction } from '@simple-ai-lab/sdk';
918
- *
919
- * export default defineAction(async ({ inputs, config, client }) => {
920
- * const { records } = await client.data.query({ tableName: 'customers', text: inputs.email });
921
- * return { found: records.length > 0 };
922
- * });
923
- * ```
924
- */
925
- declare function defineAction<TInputs = Record<string, unknown>, TResult = unknown>(handler: (context: ActionContext<TInputs>) => Promise<TResult> | TResult): ActionHandler<TInputs, TResult>;
926
-
927
746
  /** Error thrown for any non-2xx response from the Simple AI API. */
928
747
  declare class SimpleAIError extends Error {
929
748
  /** HTTP status code, or 0 when the request never reached the API. */
@@ -958,4 +777,4 @@ declare function defineAgentSnapshot(definition: Omit<AgentSnapshotDefinition, '
958
777
  declare function compileAgentProject(definition: AgentProjectSource, options?: AgentCompileOptions): CompiledAgentProject;
959
778
  declare function collectActionVersionUuids(content: AgentV2CommitContentWire): string[];
960
779
 
961
- export { type AbTestNodeDefinition, type ActionCompileOptions, type ActionContext, type ActionDefinition, type ActionHandler, type ActionNodeDefinition, type ActionOutputParameters, type ActionRunDefinition, type ActionVersionValues, type ActionsIoSchema, type ActionsIoSchemaNode, type AgentActionInput, type AgentCompileOptions, type AgentDefinition, type AgentDefinitionInput, type AgentIdentityKind, type AgentProjectSource, type AgentSnapshotDefinition, type AgentV2CommitContentWire, type AgentV2ConfigWire, type AgentV2EdgeWire, type AgentV2NodeWire, type BackgroundNoise, type BatchUpsertResult, type CallableActionDefinition, type CompiledAgentProject, DataClient, type DataFilter, type DataRecord, type DeleteResult, type EdgeDefinition, type EnabledWithDescription, type EndCallNodeDefinition, type ExtractNodeDefinition, type ExtractionField, type FacetsResult, type GlobalNodeDefinition, type HttpNodeDefinition, type IngestBatchStatus, type InlineActionDefinition, type InterruptionMode, type ListOptions, type ListResult, MAX_BATCH_ROWS, MAX_QUERY_SIZE, type NodeDefinition, type PromptNodeDefinition, type PromptReference, type QueryInput, type QueryResult, type RecordPayload, type RecordResult, type ReferencedActionDefinition, type RemoteReference, type RouteNodeDefinition, SIMPLE_ACTION_BRAND, type SayNodeDefinition, SimpleAI, SimpleAIError, type SimpleAIOptions, type SnapshotAction, type SourceFileReference, type ToolUseSiteWire, type TransferCapability, type TransferChatNodeDefinition, type TransferNodeDefinition, action, actionsIoSchemaFromZod, batchUpsertRowsSchema, canonicalAuthoringKey, canonicalAuthoringKeys, collectActionVersionUuids, compileAction, compileAgent, compileAgentProject, dataColumnPathSchema, dataFilterSchema, defineAction, defineAgent, defineAgentSnapshot, listOptionsSchema, node, prompt, queryInputSchema, recordPayloadSchema, reference, sourceFile, tableNameSchema };
780
+ export { type AbTestNodeDefinition, type ActionCompileOptions, type ActionDefinition, type ActionNodeDefinition, type ActionOutputParameters, type ActionRunDefinition, type ActionVersionValues, type ActionsIoSchema, type ActionsIoSchemaNode, type AgentActionInput, type AgentCompileOptions, type AgentDefinition, type AgentDefinitionInput, type AgentIdentityKind, type AgentProjectSource, type AgentSnapshotDefinition, type AgentV2CommitContentWire, type AgentV2ConfigWire, type AgentV2EdgeWire, type AgentV2NodeWire, type BackgroundNoise, type CallableActionDefinition, type CompiledAgentProject, type EdgeDefinition, type EnabledWithDescription, type EndCallNodeDefinition, type ExtractNodeDefinition, type ExtractionField, type GlobalNodeDefinition, type HttpNodeDefinition, type InlineActionDefinition, type InterruptionMode, type NodeDefinition, type PromptNodeDefinition, type PromptReference, type ReferencedActionDefinition, type RemoteReference, type RouteNodeDefinition, type SayNodeDefinition, SimpleAIError, type SnapshotAction, type SourceFileReference, type ToolUseSiteWire, type TransferCapability, type TransferChatNodeDefinition, type TransferNodeDefinition, action, actionsIoSchemaFromZod, canonicalAuthoringKey, canonicalAuthoringKeys, collectActionVersionUuids, compileAction, compileAgent, compileAgentProject, defineAgent, defineAgentSnapshot, node, prompt, reference, sourceFile };