@collective-intelligence/extensions-sdk 0.1.10 → 0.1.11

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.
@@ -48,6 +48,7 @@ export declare const localized: ReadValue<Readonly<{
48
48
  export declare const catalogTags: ReadValue<Readonly<Record<string, readonly string[]>> | undefined>;
49
49
  export declare const connectionRefs: ReadValue<readonly (Readonly<{
50
50
  catalogCollection?: string;
51
+ connectionInstanceFqn?: string;
51
52
  connectionTemplateFqn: string;
52
53
  label: string;
53
54
  required?: boolean;
@@ -2,6 +2,58 @@ import type * as K from "../components/knowledge.js";
2
2
  import type { ReadValue } from "./readers.js";
3
3
  export declare const overviewInputMaxChars: ReadValue<number | null | undefined>;
4
4
  export declare const richEnrichment: ReadValue<boolean | null | undefined>;
5
+ export declare const relation: ReadValue<(Readonly<{
6
+ inverseOf: Readonly<{
7
+ schemaFqn: string;
8
+ field: string;
9
+ }>;
10
+ display?: Readonly<{
11
+ fields: readonly K.KnowledgeAutocompleteFieldReference[];
12
+ }>;
13
+ autocomplete?: never;
14
+ cardinality?: never;
15
+ maxItems?: never;
16
+ onDelete?: never;
17
+ targetSchemaFqn?: never;
18
+ }> & import("../index.js").JsonObject) | (Readonly<{
19
+ autocomplete?: Readonly<{
20
+ baseFilters?: readonly Readonly<{
21
+ caseSensitive?: boolean;
22
+ field: string;
23
+ operator: "contains" | "ends_with" | "eq" | "exists" | "gt" | "gte" | "in" | "is_empty" | "is_not_empty" | "lt" | "lte" | "ne" | "nin" | "not_contains" | "starts_with";
24
+ value: import("../index.js").JsonValue;
25
+ }>[];
26
+ fields?: readonly K.KnowledgeAutocompleteFieldReference[];
27
+ }>;
28
+ display?: Readonly<{
29
+ fields: readonly K.KnowledgeAutocompleteFieldReference[];
30
+ }>;
31
+ onDelete?: "clear" | "restrict";
32
+ targetSchemaFqn: string;
33
+ inverseOf?: never;
34
+ }> & Readonly<{
35
+ cardinality: "one_to_one" | "many_to_one";
36
+ maxItems?: never;
37
+ }> & import("../index.js").JsonObject) | (Readonly<{
38
+ autocomplete?: Readonly<{
39
+ baseFilters?: readonly Readonly<{
40
+ caseSensitive?: boolean;
41
+ field: string;
42
+ operator: "contains" | "ends_with" | "eq" | "exists" | "gt" | "gte" | "in" | "is_empty" | "is_not_empty" | "lt" | "lte" | "ne" | "nin" | "not_contains" | "starts_with";
43
+ value: import("../index.js").JsonValue;
44
+ }>[];
45
+ fields?: readonly K.KnowledgeAutocompleteFieldReference[];
46
+ }>;
47
+ display?: Readonly<{
48
+ fields: readonly K.KnowledgeAutocompleteFieldReference[];
49
+ }>;
50
+ onDelete?: "clear" | "restrict";
51
+ targetSchemaFqn: string;
52
+ inverseOf?: never;
53
+ }> & Readonly<{
54
+ cardinality: "one_to_many" | "many_to_many";
55
+ maxItems?: number;
56
+ }> & import("../index.js").JsonObject)>;
5
57
  export declare const fieldSemantics: ReadValue<Readonly<{
6
58
  overviewInputMaxChars?: number | null;
7
59
  richEnrichment?: boolean | null;
@@ -1,12 +1,14 @@
1
1
  import type * as Ag from "../components/agents.js";
2
2
  import type * as B from "../components/base.js";
3
3
  import type * as Cat from "../components/catalog.js";
4
+ import type { ConnectionInstanceDeclaration } from "../components/connection-instances.js";
4
5
  import type * as C from "../components/connectors.js";
5
6
  import type * as D from "../components/declaration.js";
6
7
  import type * as Ext from "../components/external-application.js";
7
8
  import type * as K from "../components/knowledge.js";
8
9
  import type * as Og from "../components/organization-group.js";
9
10
  import type * as Os from "../components/organization-settings.js";
11
+ import type * as Sp from "../components/service-principal.js";
10
12
  import type * as S from "../components/studio.js";
11
13
  import type * as T from "../components/tools.js";
12
14
  import type * as W from "../components/workflows.js";
@@ -21,6 +23,7 @@ export declare const primitives: {
21
23
  tags?: readonly string[];
22
24
  version: string;
23
25
  }> & Readonly<{
26
+ dataAccess?: import("../index.js").DataAccess<"agent">;
24
27
  activity?: Ag.AgentActivityPolicy;
25
28
  audience?: Ag.AgentAudienceDeclaration;
26
29
  behavioralBoundaries: readonly string[];
@@ -66,6 +69,7 @@ export declare const primitives: {
66
69
  label: string;
67
70
  }>;
68
71
  }> & import("../index.js").JsonObject>;
72
+ connectionInstance: ReadValue<ConnectionInstanceDeclaration>;
69
73
  datasetBlueprint: ReadValue<Readonly<{
70
74
  description?: string;
71
75
  displayName: string;
@@ -464,6 +468,18 @@ export declare const primitives: {
464
468
  gatewayRef: string;
465
469
  operationReferences: readonly string[];
466
470
  }> & import("../index.js").JsonObject>;
471
+ servicePrincipal: ReadValue<Readonly<{
472
+ description?: string;
473
+ displayName: string;
474
+ fqn: string;
475
+ icon?: string;
476
+ kind: "servicePrincipal";
477
+ tags?: readonly string[];
478
+ version: string;
479
+ }> & Readonly<{
480
+ groups: readonly string[];
481
+ organizationRole: Sp.ServicePrincipalOrganizationRole;
482
+ }> & import("../index.js").JsonObject>;
467
483
  skill: ReadValue<Readonly<{
468
484
  description?: string;
469
485
  displayName: string;
@@ -473,6 +489,7 @@ export declare const primitives: {
473
489
  tags?: readonly string[];
474
490
  version: string;
475
491
  }> & Readonly<{
492
+ dataAccess?: import("../index.js").DataAccess<"skill">;
476
493
  instructions: string;
477
494
  lifecycle: import("../index.js").LifecycleOptions;
478
495
  tools: Ag.DeclaredToolBindings;
@@ -608,6 +625,7 @@ export declare const primitives: {
608
625
  tags?: readonly string[];
609
626
  version: string;
610
627
  }> & Readonly<{
628
+ dataAccess?: import("../index.js").DataAccess<"workflow">;
611
629
  definition: W.WorkflowAuthoringDefinition;
612
630
  lifecycle: import("../index.js").LifecycleOptions;
613
631
  name: string;
@@ -149,6 +149,7 @@ export declare const uiLayout: ReadValue<Readonly<{
149
149
  }> | null;
150
150
  }> & JsonObject>;
151
151
  export declare const authoringDefinition: ReadValue<Readonly<{
152
+ dataAccess?: import("../index.js").DataAccess<"workflow">;
152
153
  edges: readonly W.WorkflowAuthoringEdge[];
153
154
  inputBoundary: W.WorkflowAuthoringTemplateRef;
154
155
  inputContract: W.WorkflowAuthoringInputContract;
@@ -11,8 +11,9 @@ export declare const storedPrimitiveKind: (stored: unknown) => string | undefine
11
11
  * the current spelling: current kind names, a Studio App Template in place of
12
12
  * a `studioApp` without the Declared Studio App lifecycle, an Agent `audience` in place of
13
13
  * `invokingApplicationFqns`, and Organization Group names in place of
14
- * Organization Team names. The mapping is a one-to-one rename of
15
- * retired spellings; every other value is returned as is. A reader that
14
+ * Organization Team names. Historical Entity Relation Field cardinalities map
15
+ * one/many to many_to_one/many_to_many; valid redundant scalar maxItems is
16
+ * removed. Every other relation setting is retained. A reader that
16
17
  * executes the release archive compares the verbatim stored JSON with the
17
18
  * archive before it calls this function.
18
19
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@collective-intelligence/extensions-sdk",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "Framework-neutral authoring contracts for Collective Intelligence extension packages.",
5
5
  "type": "module",
6
6
  "sideEffects": false,