@squidcloud/backend 1.0.503 → 1.0.504
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/backend/src/source-code/source-git-command.d.ts +6 -2
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/internal/source-code.js +1 -1
- package/dist/cjs/langgraph.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/internal/source-code.js +1 -1
- package/dist/esm/langgraph.js +1 -1
- package/dist/internal-common/src/public-types-backend/ai-agent.public-context.d.ts +16 -0
- package/dist/internal-common/src/public-types-backend/langgraph.public-context.d.ts +11 -0
- package/dist/internal-common/src/public-types-backend/storage.public-types.d.ts +5 -1
- package/package.json +2 -2
|
@@ -3,9 +3,13 @@ export type SourceGitFailureKind = 'authentication' | 'repository-unavailable' |
|
|
|
3
3
|
/** Carries a bounded trusted Git failure category. */
|
|
4
4
|
export declare class SourceGitCommandError extends Error {
|
|
5
5
|
readonly kind: SourceGitFailureKind;
|
|
6
|
+
readonly exitCode?: number | undefined;
|
|
6
7
|
readonly name = "SourceGitCommandError";
|
|
7
|
-
/**
|
|
8
|
-
|
|
8
|
+
/**
|
|
9
|
+
* Creates a Git error that contains no command, URL, repository, or credential. [exitCode] is set only when
|
|
10
|
+
* Git itself exited with it, not on a timeout, kill or spawn failure.
|
|
11
|
+
*/
|
|
12
|
+
constructor(kind: SourceGitFailureKind, exitCode?: number | undefined);
|
|
9
13
|
}
|
|
10
14
|
/** Selects the protocol policy for one trusted Git command. */
|
|
11
15
|
export type SourceGitCommandMode = 'local' | 'remote';
|