@collective-intelligence/external-apps-server-sdk 0.3.5 → 0.3.7
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 +6 -1
- package/dist/admin.d.ts +5 -5
- package/dist/chunks/{index-hzx6hj46.js → index-d1jwmj43.js} +1 -1
- package/dist/effect.js +1 -1
- package/dist/index.js +1 -1
- package/dist/next.js +1 -1
- package/dist/runtime/web.js +1 -1
- package/docs/guide/develop/extensions.md +44 -11
- package/docs/guide/platform/access.md +9 -7
- package/docs/guide/platform/architecture.md +17 -2
- package/docs/guide/template/index.md +23 -30
- package/package.json +8 -9
package/README.md
CHANGED
|
@@ -187,7 +187,12 @@ and is never forwarded. To bring anonymous visitors to a declared Agent, add
|
|
|
187
187
|
so the backend runs only the Agent's own bindings and never the application's
|
|
188
188
|
service authority. An Audit subject with `mappedUserId` is refused with `401`
|
|
189
189
|
for a visitor caller. Forwarding covers `context`, `knowledge`, `agents`,
|
|
190
|
-
`conversations` (continue and history), `skills`, `workflows`,
|
|
190
|
+
`conversations` (continue and history), `skills`, `workflows`, `runs/*`, and
|
|
191
|
+
`chat/*`. The chat routes are for a signed-in user of the app, so use them in
|
|
192
|
+
user-token mode: CI refuses a service or visitor caller with `403`
|
|
193
|
+
`principal_not_allowed`. The BFF passes each answer through unchanged, so a
|
|
194
|
+
chat event stream reaches the browser as CI sends it, and it forwards
|
|
195
|
+
`Last-Event-ID`, so a client resumes a cut presentation stream through the BFF.
|
|
191
196
|
In user-token mode, and for each `ciResources` mount, the BFF passes CI's
|
|
192
197
|
answer to `auth.observeCiResponse`: a `401` or a changed `x-access-version`
|
|
193
198
|
drops the identity that lookups of that Access token reuse, so the next
|
package/dist/admin.d.ts
CHANGED
|
@@ -328,11 +328,6 @@ declare const FeatureFlagRolloutMode: {
|
|
|
328
328
|
readonly DISABLED_FOR_ORGANIZATIONS: "disabled_for_organizations";
|
|
329
329
|
};
|
|
330
330
|
export type FeatureFlagRolloutMode = typeof FeatureFlagRolloutMode[keyof typeof FeatureFlagRolloutMode];
|
|
331
|
-
export type AiSkillDataAccess = {
|
|
332
|
-
datasets?: "user" | "skill";
|
|
333
|
-
documents?: "user" | "skill";
|
|
334
|
-
knowledge?: "user" | "skill";
|
|
335
|
-
};
|
|
336
331
|
export type KnowledgeRelationFieldEntry = {
|
|
337
332
|
autocomplete?: {
|
|
338
333
|
baseFilters?: Array<{
|
|
@@ -641,6 +636,11 @@ export type AiSkillPackageSummaryDto = {
|
|
|
641
636
|
scriptCount: number;
|
|
642
637
|
totalSizeBytes: number;
|
|
643
638
|
};
|
|
639
|
+
export type AiSkillDataAccess = {
|
|
640
|
+
datasets?: "user" | "skill";
|
|
641
|
+
documents?: "user" | "skill";
|
|
642
|
+
knowledge?: "user" | "skill";
|
|
643
|
+
};
|
|
644
644
|
export type UpdateAiSkillRequest = {
|
|
645
645
|
archivedAt?: string | null;
|
|
646
646
|
authoringMode?: string | null;
|