@collective-intelligence/extensions-sdk 0.1.23 → 0.1.24
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 +46 -1
- package/dist/components/agents.d.ts +6 -0
- package/dist/components/base.d.ts +1 -1
- package/dist/components/declaration.d.ts +2 -1
- package/dist/components/metadata-authoring.d.ts +3 -0
- package/dist/components/organization-instructions.d.ts +25 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.js +2 -2
- package/dist/package/primitive-readers.d.ts +3 -0
- package/dist/package/tenantless-singletons.d.ts +11 -0
- package/package.json +2 -2
|
@@ -7,6 +7,7 @@ import type * as D from "../components/declaration.js";
|
|
|
7
7
|
import type * as Ext from "../components/external-application.js";
|
|
8
8
|
import type * as K from "../components/knowledge.js";
|
|
9
9
|
import type * as Og from "../components/organization-group.js";
|
|
10
|
+
import type * as Oi from "../components/organization-instructions.js";
|
|
10
11
|
import type * as Os from "../components/organization-settings.js";
|
|
11
12
|
import type * as Sp from "../components/service-principal.js";
|
|
12
13
|
import type * as S from "../components/studio.js";
|
|
@@ -28,6 +29,7 @@ export declare const primitives: {
|
|
|
28
29
|
activity?: Ag.AgentActivityPolicy;
|
|
29
30
|
audience?: Ag.AgentAudienceDeclaration;
|
|
30
31
|
behavioralBoundaries: readonly string[];
|
|
32
|
+
bypassOrganizationInstructions?: boolean;
|
|
31
33
|
lifecycle: import("../index.js").LifecycleOptions;
|
|
32
34
|
metadata?: JsonObject;
|
|
33
35
|
maxSteps?: number;
|
|
@@ -427,6 +429,7 @@ export declare const primitives: {
|
|
|
427
429
|
parent?: string;
|
|
428
430
|
subgroups?: readonly Og.OrganizationSubgroup[];
|
|
429
431
|
}> & JsonObject>;
|
|
432
|
+
organizationInstructions: ReadValue<Oi.OrganizationInstructionsDeclaration>;
|
|
430
433
|
organizationSettings: ReadValue<Os.OrganizationSettingsDeclaration>;
|
|
431
434
|
organizationSso: ReadValue<Readonly<{
|
|
432
435
|
description?: string;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { PackagePrimitiveDeclaration } from "../components/declaration.js";
|
|
2
|
+
import type { PackageManifest } from "./manifest.js";
|
|
3
|
+
/** Kinds that a package declares once and that bind to the organization scope only. */
|
|
4
|
+
export declare const tenantlessSingletonKinds: readonly ["organizationInstructions", "organizationSettings"];
|
|
5
|
+
/**
|
|
6
|
+
* Authoring and serialized admission invariant: a package that carries one of
|
|
7
|
+
* these kinds cannot bind to the tenant scope.
|
|
8
|
+
*/
|
|
9
|
+
export declare const assertTenantlessSingletonScopes: (manifest: Pick<PackageManifest, "bindingScopes" | "fqn"> & Readonly<{
|
|
10
|
+
primitives: readonly PackagePrimitiveDeclaration[];
|
|
11
|
+
}>) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@collective-intelligence/extensions-sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.24",
|
|
4
4
|
"description": "Framework-neutral authoring contracts for Collective Intelligence extension packages.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"typescript": "7.0.2",
|
|
46
46
|
"ultracite": "7.10.7"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "8200af5951cee11bdd23c59aba0709412aa8ea62"
|
|
49
49
|
}
|