@squidcloud/client 1.0.480 → 1.0.482
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/cjs/index.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/internal-common/src/public-types/ai-agent.public-types.d.ts +26 -0
- package/dist/internal-common/src/public-types/ai-knowledge-base.public-types.d.ts +643 -4
- package/dist/internal-common/src/public-types/ai-matchmaking.public-types.d.ts +4 -3
- package/dist/internal-common/src/public-types/connector.public-types.d.ts +1 -1
- package/dist/internal-common/src/public-types/extraction.public-types.d.ts +4 -1
- package/dist/internal-common/src/public-types/integration.public-types.d.ts +1 -1
- package/dist/internal-common/src/public-types/metadata-filter.public-types.d.ts +6 -2
- package/dist/typescript-client/src/ai-knowledge-base/ai-knowledge-base-client-reference.d.ts +34 -1
- package/dist/typescript-client/src/version.d.ts +1 -1
- package/dist/typescript-client/src/web-client.d.ts +4 -1
- package/package.json +1 -1
|
@@ -715,6 +715,13 @@ export declare const AGENT_STATUS_TITLE_CALLING_AI_FUNCTION = "Calling AI Functi
|
|
|
715
715
|
* @category AI
|
|
716
716
|
*/
|
|
717
717
|
export declare const AGENT_STATUS_TITLE_INSPECTING_KB_METADATA = "Inspecting Knowledge Base Metadata";
|
|
718
|
+
/**
|
|
719
|
+
* Status update title broadcast when the agent invokes the knowledge-graph query callable (offered
|
|
720
|
+
* automatically for graph-enabled KBs). Distinct from {@link AGENT_STATUS_TITLE_ACCESSING_KB} so a
|
|
721
|
+
* caller can tell graph navigation apart from an ordinary KB search.
|
|
722
|
+
* @category AI
|
|
723
|
+
*/
|
|
724
|
+
export declare const AGENT_STATUS_TITLE_QUERYING_KB_GRAPH = "Querying Knowledge Base Graph";
|
|
718
725
|
/**
|
|
719
726
|
* Status update title broadcast when the agent queries a spreadsheet file callable.
|
|
720
727
|
* @category AI
|
|
@@ -845,6 +852,19 @@ export interface UpsertContextStatusSuccess extends BaseUpsertContextStatus {
|
|
|
845
852
|
* @category AI
|
|
846
853
|
*/
|
|
847
854
|
export type UpsertContextErrorCode = 'DUPLICATE_CONTENT';
|
|
855
|
+
/**
|
|
856
|
+
* The existing context a `DUPLICATE_CONTENT` rejection points at — where the byte-identical original
|
|
857
|
+
* already lives.
|
|
858
|
+
* @category AI
|
|
859
|
+
*/
|
|
860
|
+
export interface UpsertContextDuplicateOf {
|
|
861
|
+
/** The id of the already-stored context whose content is byte-identical to the rejected request. */
|
|
862
|
+
contextId: string;
|
|
863
|
+
/** The existing context's source reference (file name / URL), when it has one. */
|
|
864
|
+
reference?: string;
|
|
865
|
+
/** The existing context's `folderPath` metadata, when it was ingested with a folder path. */
|
|
866
|
+
folderPath?: string;
|
|
867
|
+
}
|
|
848
868
|
/**
|
|
849
869
|
* Status of an individual context item after it failed to upsert.
|
|
850
870
|
*
|
|
@@ -858,6 +878,12 @@ export interface UpsertContextStatusError extends BaseUpsertContextStatus {
|
|
|
858
878
|
errorMessage: string;
|
|
859
879
|
/** Machine-readable code for the failure, when one applies. */
|
|
860
880
|
errorCode?: UpsertContextErrorCode;
|
|
881
|
+
/**
|
|
882
|
+
* The existing context this request duplicated, when `errorCode` is `DUPLICATE_CONTENT`. Lets a caller
|
|
883
|
+
* point the user at where the original already lives (e.g. its folder) instead of only reporting the
|
|
884
|
+
* rejection. `reference`/`folderPath` are present when the existing context carries them.
|
|
885
|
+
*/
|
|
886
|
+
duplicateOf?: UpsertContextDuplicateOf;
|
|
861
887
|
}
|
|
862
888
|
/**
|
|
863
889
|
* Status of an individual context item after attempting to upsert it.
|