@morlay/dsh-sandbox-local 0.0.5 → 0.0.6
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/client.d.cts +5 -6
- package/dist/client.d.mts +5 -6
- package/dist/index.d.cts +6 -6
- package/dist/index.d.mts +6 -6
- package/dist/rows.d.cts +4 -5
- package/dist/rows.d.mts +4 -5
- package/package.json +3 -3
package/dist/client.d.cts
CHANGED
|
@@ -7,14 +7,13 @@ declare const zh: {
|
|
|
7
7
|
type SandboxFieldLocaleKey = keyof typeof zh;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/client/index.d.ts
|
|
10
|
-
declare const SANDBOX_NS = "sandbox-local";
|
|
11
|
-
declare const NS = "settings.sandbox-local";
|
|
10
|
+
export declare const SANDBOX_NS = "sandbox-local";
|
|
11
|
+
export declare const NS = "settings.sandbox-local";
|
|
12
12
|
declare module "@deepseek-ai/dsh-client-ui-slots" {
|
|
13
13
|
interface LocaleNamespaceMap {
|
|
14
14
|
"settings.sandbox-local": SandboxFieldLocaleKey;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
declare const inject: string[];
|
|
18
|
-
declare function apply(ctx: Context): void;
|
|
19
|
-
//#endregion
|
|
20
|
-
export { NS, SANDBOX_NS, apply, inject };
|
|
17
|
+
export declare const inject: string[];
|
|
18
|
+
export declare function apply(ctx: Context): void;
|
|
19
|
+
//#endregion
|
package/dist/client.d.mts
CHANGED
|
@@ -7,14 +7,13 @@ declare const zh: {
|
|
|
7
7
|
type SandboxFieldLocaleKey = keyof typeof zh;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/client/index.d.ts
|
|
10
|
-
declare const SANDBOX_NS = "sandbox-local";
|
|
11
|
-
declare const NS = "settings.sandbox-local";
|
|
10
|
+
export declare const SANDBOX_NS = "sandbox-local";
|
|
11
|
+
export declare const NS = "settings.sandbox-local";
|
|
12
12
|
declare module "@deepseek-ai/dsh-client-ui-slots" {
|
|
13
13
|
interface LocaleNamespaceMap {
|
|
14
14
|
"settings.sandbox-local": SandboxFieldLocaleKey;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
declare const inject: string[];
|
|
18
|
-
declare function apply(ctx: Context): void;
|
|
19
|
-
//#endregion
|
|
20
|
-
export { NS, SANDBOX_NS, apply, inject };
|
|
17
|
+
export declare const inject: string[];
|
|
18
|
+
export declare function apply(ctx: Context): void;
|
|
19
|
+
//#endregion
|
package/dist/index.d.cts
CHANGED
|
@@ -4,7 +4,7 @@ import z from "@deepseek-ai/schemastery";
|
|
|
4
4
|
import { Config as Config$1 } from "@deepseek-ai/dsh-fs-local";
|
|
5
5
|
import { Config as Config$2 } from "@deepseek-ai/dsh-sandbox-local";
|
|
6
6
|
//#region src/config.d.ts
|
|
7
|
-
interface Config extends Config$2, Config$1 {
|
|
7
|
+
export interface Config extends Config$2, Config$1 {
|
|
8
8
|
access?: string | string[];
|
|
9
9
|
}
|
|
10
10
|
interface ResolvedConfig extends Omit<Config, "access" | "runnerCommand" | "runnerFailureSignatures" | "probeTimeoutMs" | "cwd" | "diffBasisMaxBytes"> {
|
|
@@ -15,11 +15,11 @@ interface ResolvedConfig extends Omit<Config, "access" | "runnerCommand" | "runn
|
|
|
15
15
|
readonly cwd: Volatile<string>;
|
|
16
16
|
readonly diffBasisMaxBytes: Volatile<number>;
|
|
17
17
|
}
|
|
18
|
-
declare const Config: z<Config, ResolvedConfig>;
|
|
18
|
+
export declare const Config: z<Config, ResolvedConfig>;
|
|
19
19
|
//#endregion
|
|
20
20
|
//#region src/index.d.ts
|
|
21
|
-
declare const name = "sandbox-local";
|
|
22
|
-
declare const inject: string[];
|
|
23
|
-
declare function apply(ctx: Context, config: ResolvedConfig): void;
|
|
21
|
+
export declare const name = "sandbox-local";
|
|
22
|
+
export declare const inject: string[];
|
|
23
|
+
export declare function apply(ctx: Context, config: ResolvedConfig): void;
|
|
24
24
|
//#endregion
|
|
25
|
-
export {
|
|
25
|
+
export type { ResolvedConfig };
|
package/dist/index.d.mts
CHANGED
|
@@ -4,7 +4,7 @@ import { Config as Config$2 } from "@deepseek-ai/dsh-sandbox-local";
|
|
|
4
4
|
import { Context } from "@deepseek-ai/cordis";
|
|
5
5
|
import { Volatile } from "@deepseek-ai/cosmokit";
|
|
6
6
|
//#region src/config.d.ts
|
|
7
|
-
interface Config extends Config$2, Config$1 {
|
|
7
|
+
export interface Config extends Config$2, Config$1 {
|
|
8
8
|
access?: string | string[];
|
|
9
9
|
}
|
|
10
10
|
interface ResolvedConfig extends Omit<Config, "access" | "runnerCommand" | "runnerFailureSignatures" | "probeTimeoutMs" | "cwd" | "diffBasisMaxBytes"> {
|
|
@@ -15,11 +15,11 @@ interface ResolvedConfig extends Omit<Config, "access" | "runnerCommand" | "runn
|
|
|
15
15
|
readonly cwd: Volatile<string>;
|
|
16
16
|
readonly diffBasisMaxBytes: Volatile<number>;
|
|
17
17
|
}
|
|
18
|
-
declare const Config: z<Config, ResolvedConfig>;
|
|
18
|
+
export declare const Config: z<Config, ResolvedConfig>;
|
|
19
19
|
//#endregion
|
|
20
20
|
//#region src/index.d.ts
|
|
21
|
-
declare const name = "sandbox-local";
|
|
22
|
-
declare const inject: string[];
|
|
23
|
-
declare function apply(ctx: Context, config: ResolvedConfig): void;
|
|
21
|
+
export declare const name = "sandbox-local";
|
|
22
|
+
export declare const inject: string[];
|
|
23
|
+
export declare function apply(ctx: Context, config: ResolvedConfig): void;
|
|
24
24
|
//#endregion
|
|
25
|
-
export {
|
|
25
|
+
export type { ResolvedConfig };
|
package/dist/rows.d.cts
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
//#region src/rows.d.ts
|
|
2
|
-
interface PatchRow {
|
|
2
|
+
export interface PatchRow {
|
|
3
3
|
readonly id?: string;
|
|
4
4
|
readonly disabled?: boolean;
|
|
5
5
|
readonly insert?: readonly RowEntry[];
|
|
6
6
|
}
|
|
7
|
-
interface RowEntry {
|
|
7
|
+
export interface RowEntry {
|
|
8
8
|
readonly id: string;
|
|
9
9
|
readonly name: string;
|
|
10
10
|
readonly config?: Readonly<Record<string, unknown>>;
|
|
11
11
|
}
|
|
12
|
-
declare function sandboxRows(): readonly PatchRow[];
|
|
13
|
-
//#endregion
|
|
14
|
-
export { PatchRow, RowEntry, sandboxRows };
|
|
12
|
+
export declare function sandboxRows(): readonly PatchRow[];
|
|
13
|
+
//#endregion
|
package/dist/rows.d.mts
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
//#region src/rows.d.ts
|
|
2
|
-
interface PatchRow {
|
|
2
|
+
export interface PatchRow {
|
|
3
3
|
readonly id?: string;
|
|
4
4
|
readonly disabled?: boolean;
|
|
5
5
|
readonly insert?: readonly RowEntry[];
|
|
6
6
|
}
|
|
7
|
-
interface RowEntry {
|
|
7
|
+
export interface RowEntry {
|
|
8
8
|
readonly id: string;
|
|
9
9
|
readonly name: string;
|
|
10
10
|
readonly config?: Readonly<Record<string, unknown>>;
|
|
11
11
|
}
|
|
12
|
-
declare function sandboxRows(): readonly PatchRow[];
|
|
13
|
-
//#endregion
|
|
14
|
-
export { PatchRow, RowEntry, sandboxRows };
|
|
12
|
+
export declare function sandboxRows(): readonly PatchRow[];
|
|
13
|
+
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@morlay/dsh-sandbox-local",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"description": "Configurable sandbox bundle: replaces the shipped process-sandbox provider and filesystem fence with implementations that add extra writable roots, read-only roots and access denials on top of the upstream semantics, and owns the runtime-context snapshot (`sandbox:policy` / `approval:policy`) with the deployment's own wording.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dsh",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@deepseek-ai/dsh-session": "0.2.0-rc.1",
|
|
49
49
|
"@deepseek-ai/dsh-system-prompt": "0.2.0-rc.1",
|
|
50
50
|
"@deepseek-ai/dsh-user-approval": "0.2.0-rc.1",
|
|
51
|
-
"@morlay/dsh-client-ui-primitives": "0.0.
|
|
51
|
+
"@morlay/dsh-client-ui-primitives": "0.0.6"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"@deepseek-ai/cordis": "^4.0.4",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"@deepseek-ai/dsh-session": "^0.2.0-rc.1",
|
|
66
66
|
"@deepseek-ai/dsh-system-prompt": "^0.2.0-rc.1",
|
|
67
67
|
"@deepseek-ai/schemastery": "^3.18.4",
|
|
68
|
-
"@morlay/dsh-client-ui-primitives": "0.0.
|
|
68
|
+
"@morlay/dsh-client-ui-primitives": "0.0.6"
|
|
69
69
|
},
|
|
70
70
|
"dsh": {
|
|
71
71
|
"client": {
|