librechat-data-provider 0.8.523 → 0.8.524
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-Bx6IFaSa.mjs → data-service-B-WUVvTH.mjs} +434 -174
- package/dist/data-service-B-WUVvTH.mjs.map +1 -0
- package/dist/{data-service-CTX0tVO5.js → data-service-CUG1qdeC.js} +577 -203
- package/dist/data-service-CUG1qdeC.js.map +1 -0
- package/dist/index.js +346 -72
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +307 -68
- 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/actions.d.ts +1 -1
- package/dist/types/agentToolOptions.d.ts +1 -1
- package/dist/types/api-endpoints.d.ts +1 -0
- package/dist/types/backgroundResults.d.ts +13 -0
- package/dist/types/balance.d.ts +4 -0
- package/dist/types/bedrock.d.ts +77 -70
- package/dist/types/code/workspace.d.ts +22 -0
- package/dist/types/config.d.ts +5362 -4206
- package/dist/types/data-service.d.ts +14 -12
- package/dist/types/file-config.d.ts +81 -42
- package/dist/types/filters.d.ts +205 -205
- package/dist/types/footer.d.ts +20 -0
- package/dist/types/generate.d.ts +28 -28
- package/dist/types/index.d.ts +4 -0
- package/dist/types/keys.d.ts +2 -1
- package/dist/types/limits.d.ts +8 -0
- package/dist/types/mcp.d.ts +999 -352
- package/dist/types/messages.d.ts +12 -7
- package/dist/types/models.d.ts +429 -429
- package/dist/types/parameterSettings.d.ts +2 -1
- package/dist/types/parsers.d.ts +25 -1
- package/dist/types/resolve-llm-delivery-path.d.ts +97 -4
- package/dist/types/schemas.d.ts +646 -643
- package/dist/types/types/agents.d.ts +233 -2
- package/dist/types/types/assistants.d.ts +2 -641
- package/dist/types/types/content.d.ts +286 -0
- package/dist/types/types/files.d.ts +14 -1
- package/dist/types/types/mutations.d.ts +3 -2
- package/dist/types/types/queuedTurns.d.ts +124 -90
- package/dist/types/types/runs.d.ts +9 -0
- package/dist/types/types/schedules.d.ts +10 -10
- package/dist/types/types/skills.d.ts +43 -0
- package/dist/types/types/tools.d.ts +132 -0
- package/dist/types/types/traces.d.ts +49 -0
- package/dist/types/types.d.ts +31 -1
- package/package.json +1 -1
- package/dist/data-service-Bx6IFaSa.mjs.map +0 -1
- package/dist/data-service-CTX0tVO5.js.map +0 -1
|
@@ -3,19 +3,41 @@ export declare const CODE_WORKSPACE_ID_PATTERN: RegExp;
|
|
|
3
3
|
export declare const CODE_WORKSPACE_MAX_COUNT = 32;
|
|
4
4
|
/** API/client protocol for immutable conversation-owned environment decisions. */
|
|
5
5
|
export declare const CODE_ENVIRONMENT_DECISION_VERSION: 1;
|
|
6
|
+
/** API/client protocol for an owner's explicit move of a sealed environment decision. */
|
|
7
|
+
export declare const CODE_ENVIRONMENT_MOVE_VERSION: 1;
|
|
6
8
|
export declare const CODE_WORKSPACE_OPERATIONS: readonly ["read_file", "search_text", "list_files", "write_file", "preview_edit", "edit_file", "execute_command"];
|
|
9
|
+
export declare const CODE_WORKSPACE_INSTANCE_TYPES: readonly ["git_worktree"];
|
|
7
10
|
export declare const CODE_WORKSPACE_SELECTION_ERROR_REASONS: readonly ["required", "invalid", "worker_unavailable", "unsupported", "missing", "locked"];
|
|
8
11
|
export declare const CODE_ENVIRONMENT_MODES: readonly ["attached", "without_attached"];
|
|
9
12
|
export type CodeWorkspaceOperation = (typeof CODE_WORKSPACE_OPERATIONS)[number];
|
|
13
|
+
export type CodeWorkspaceInstanceType = (typeof CODE_WORKSPACE_INSTANCE_TYPES)[number];
|
|
10
14
|
export type CodeWorkspaceSelectionErrorReason = (typeof CODE_WORKSPACE_SELECTION_ERROR_REASONS)[number];
|
|
11
15
|
export type CodeEnvironmentMode = (typeof CODE_ENVIRONMENT_MODES)[number];
|
|
12
16
|
/** Public, path-free description of one root registered by an attached worker. */
|
|
13
17
|
export interface CodeWorkspaceDescriptor {
|
|
14
18
|
id: string;
|
|
15
19
|
name?: string;
|
|
20
|
+
instructions?: RepositoryInstructionDescriptor[];
|
|
16
21
|
/** Omitted when every worker-level operation applies to this workspace. */
|
|
17
22
|
operations?: CodeWorkspaceOperation[];
|
|
23
|
+
/** Optional worker-managed isolation modes available beneath this root. */
|
|
24
|
+
workspaceInstances?: CodeWorkspaceInstanceType[];
|
|
25
|
+
environment?: {
|
|
26
|
+
fingerprint: string;
|
|
27
|
+
repo?: string;
|
|
28
|
+
ref?: string;
|
|
29
|
+
actions: string[];
|
|
30
|
+
};
|
|
18
31
|
}
|
|
32
|
+
export type RepositoryInstructionMode = 'prefer' | 'defer' | 'off';
|
|
33
|
+
export interface RepositoryInstructionDescriptor {
|
|
34
|
+
path: 'AGENTS.md' | 'CLAUDE.md';
|
|
35
|
+
bytes: number;
|
|
36
|
+
sha256: string;
|
|
37
|
+
truncated: boolean;
|
|
38
|
+
}
|
|
39
|
+
export declare function isRepositoryInstructionDescriptor(value: unknown): value is RepositoryInstructionDescriptor;
|
|
40
|
+
export declare function isCodeWorkspaceEnvironment(value: unknown): value is NonNullable<CodeWorkspaceDescriptor['environment']>;
|
|
19
41
|
/** Conversation-owned selection, bound to the environment that advertised it. */
|
|
20
42
|
export interface CodeWorkspaceSelection {
|
|
21
43
|
environmentId: string;
|