librechat-data-provider 0.8.522 → 0.8.523
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/{data-service-CaB7saTP.mjs → data-service-Bx6IFaSa.mjs} +638 -27
- package/dist/data-service-Bx6IFaSa.mjs.map +1 -0
- package/dist/{data-service-D5kHzBt-.js → data-service-CTX0tVO5.js} +871 -26
- package/dist/data-service-CTX0tVO5.js.map +1 -0
- package/dist/index.js +557 -19
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +491 -20
- package/dist/index.mjs.map +1 -1
- package/dist/react-query/index.js +1 -1
- package/dist/react-query/index.mjs +1 -1
- package/dist/types/accessPermissions.d.ts +54 -1
- package/dist/types/api-endpoints.d.ts +6 -0
- package/dist/types/bedrock.d.ts +80 -20
- package/dist/types/code/approval.d.ts +26 -0
- package/dist/types/code/worker.d.ts +10 -0
- package/dist/types/code/workspace.d.ts +28 -0
- package/dist/types/codeEnvRef.d.ts +5 -0
- package/dist/types/config.d.ts +6062 -3828
- package/dist/types/data-service.d.ts +8 -0
- package/dist/types/errors.d.ts +2 -0
- package/dist/types/file-config.d.ts +137 -9
- package/dist/types/filters.d.ts +176 -176
- package/dist/types/generate.d.ts +28 -4
- package/dist/types/index.d.ts +7 -0
- package/dist/types/keys.d.ts +11 -1
- package/dist/types/mcp.d.ts +336 -330
- package/dist/types/messages.d.ts +19 -0
- package/dist/types/models.d.ts +367 -238
- package/dist/types/parameterSettings.d.ts +8 -0
- package/dist/types/providers.d.ts +1 -0
- package/dist/types/resolve-llm-delivery-path.d.ts +68 -0
- package/dist/types/schemas.d.ts +628 -317
- package/dist/types/svg.d.ts +34 -0
- package/dist/types/types/agents.d.ts +24 -0
- package/dist/types/types/assistants.d.ts +27 -3
- package/dist/types/types/files.d.ts +34 -0
- package/dist/types/types/insights.d.ts +9 -0
- package/dist/types/types/queries.d.ts +8 -1
- package/dist/types/types/queuedTurns.d.ts +16 -16
- package/dist/types/types/runs.d.ts +24 -5
- package/dist/types/types/schedules.d.ts +44 -11
- package/dist/types/types/traces.d.ts +85 -0
- package/dist/types/types.d.ts +41 -1
- package/package.json +2 -2
- package/dist/data-service-CaB7saTP.mjs.map +0 -1
- package/dist/data-service-D5kHzBt-.js.map +0 -1
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export declare const CODE_WORKSPACE_ID_PATTERN: RegExp;
|
|
2
|
+
/** Protocol-v1 ceiling enforced by the worker and Code API. */
|
|
3
|
+
export declare const CODE_WORKSPACE_MAX_COUNT = 32;
|
|
4
|
+
/** API/client protocol for immutable conversation-owned environment decisions. */
|
|
5
|
+
export declare const CODE_ENVIRONMENT_DECISION_VERSION: 1;
|
|
6
|
+
export declare const CODE_WORKSPACE_OPERATIONS: readonly ["read_file", "search_text", "list_files", "write_file", "preview_edit", "edit_file", "execute_command"];
|
|
7
|
+
export declare const CODE_WORKSPACE_SELECTION_ERROR_REASONS: readonly ["required", "invalid", "worker_unavailable", "unsupported", "missing", "locked"];
|
|
8
|
+
export declare const CODE_ENVIRONMENT_MODES: readonly ["attached", "without_attached"];
|
|
9
|
+
export type CodeWorkspaceOperation = (typeof CODE_WORKSPACE_OPERATIONS)[number];
|
|
10
|
+
export type CodeWorkspaceSelectionErrorReason = (typeof CODE_WORKSPACE_SELECTION_ERROR_REASONS)[number];
|
|
11
|
+
export type CodeEnvironmentMode = (typeof CODE_ENVIRONMENT_MODES)[number];
|
|
12
|
+
/** Public, path-free description of one root registered by an attached worker. */
|
|
13
|
+
export interface CodeWorkspaceDescriptor {
|
|
14
|
+
id: string;
|
|
15
|
+
name?: string;
|
|
16
|
+
/** Omitted when every worker-level operation applies to this workspace. */
|
|
17
|
+
operations?: CodeWorkspaceOperation[];
|
|
18
|
+
}
|
|
19
|
+
/** Conversation-owned selection, bound to the environment that advertised it. */
|
|
20
|
+
export interface CodeWorkspaceSelection {
|
|
21
|
+
environmentId: string;
|
|
22
|
+
workspaceId: string;
|
|
23
|
+
}
|
|
24
|
+
export declare function isCodeEnvironmentMode(value: unknown): value is CodeEnvironmentMode;
|
|
25
|
+
export declare function isCodeWorkspaceSelectionErrorReason(value: unknown): value is CodeWorkspaceSelectionErrorReason;
|
|
26
|
+
export declare function isCodeWorkspaceSelection(value: unknown): value is CodeWorkspaceSelection;
|
|
27
|
+
/** One exact workspace per attached environment used by a conversation. */
|
|
28
|
+
export declare function isCodeWorkspaceSelections(value: unknown): value is CodeWorkspaceSelection[];
|
|
@@ -57,6 +57,11 @@ interface CodeEnvRefBase {
|
|
|
57
57
|
* the same wire profile, so this key prevents their file IDs from being
|
|
58
58
|
* reused against a different Code API server. */
|
|
59
59
|
executionRouteKey?: string;
|
|
60
|
+
/** Epoch ms when the file was uploaded to the code env; drives the liveness
|
|
61
|
+
* fast-path (distinct from the usage-bumped `updatedAt`). */
|
|
62
|
+
provisionedAt?: number;
|
|
63
|
+
/** Actual destination used when uploading this storage object. */
|
|
64
|
+
sandboxFilename?: string;
|
|
60
65
|
}
|
|
61
66
|
export type CodeExecutionProfile = 'default' | 'stateful';
|
|
62
67
|
export type CodeEnvRef = (CodeEnvRefBase & {
|