@deepseek-ai/dsh-sandbox-windows-acl 0.2.1-rc.5 → 0.2.2-alpha.2

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/lib/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as workspaceWriteSid, i as tempWriteSid, n as ACL_DIAGNOSIS_SKILL, o as AclWriteGrant, r as registerAclDiagnosisSkill, s as assertTempRootOutsideWorkspace, t as AclSandbox } from "./types-Cl_DXjhk.js";
1
+ import { a as workspaceWriteSid, i as tempWriteSid, n as ACL_DIAGNOSIS_SKILL, o as AclWriteGrant, r as registerAclDiagnosisSkill, s as assertTempRootOutsideWorkspace, t as AclSandbox } from "./types-DFdfvhLN.js";
2
2
  export { ACL_DIAGNOSIS_SKILL, AclSandbox, AclWriteGrant, assertTempRootOutsideWorkspace, registerAclDiagnosisSkill, tempWriteSid, workspaceWriteSid };
package/lib/runner.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as workspaceWriteSid, c as win32, i as tempWriteSid, s as assertTempRootOutsideWorkspace, t as AclSandbox } from "./types-Cl_DXjhk.js";
1
+ import { a as workspaceWriteSid, c as win32, i as tempWriteSid, s as assertTempRootOutsideWorkspace, t as AclSandbox } from "./types-DFdfvhLN.js";
2
2
  import { closeSync, existsSync, mkdtempSync, rmSync, statSync } from "node:fs";
3
3
  import { join } from "node:path";
4
4
  import { SUBPROCESS_CONTROL_ENV, SUBPROCESS_CONTROL_FD } from "@deepseek-ai/dsh-subprocess/control";
@@ -890,7 +890,7 @@ function createRestrictedToken(api, currentToken, logonSid, writeSids, known, mo
890
890
  ...writeSids
891
891
  ]);
892
892
  const tokenSlot = allocPtrSlot();
893
- if (api.createRestrictedToken(currentToken, 13, 0, null, 0, null, restrictingSids.length / 16, restrictingSids, tokenSlot) === 0) throwLastError$1(api, "CreateRestrictedToken", `restricting SIDs: ${restrictingSids.length / 16}`);
893
+ if (api.createRestrictedToken(currentToken, 9, 0, null, 0, null, restrictingSids.length / 16, restrictingSids, tokenSlot) === 0) throwLastError$1(api, "CreateRestrictedToken", `restricting SIDs: ${restrictingSids.length / 16}`);
894
894
  const token = decodePtr(tokenSlot);
895
895
  if (token === null) throwWin32(api, "CreateRestrictedToken", api.getLastError(), "null token handle");
896
896
  return token;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-sandbox-windows-acl",
3
3
  "description": "Windows ACL write-restriction sandbox backend (restricted-token spawn with capability-SID write allowlist) for the DeepSeek Harness sandbox seam",
4
- "version": "0.2.1-rc.5",
4
+ "version": "0.2.2-alpha.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -34,24 +34,24 @@
34
34
  ],
35
35
  "license": "MIT",
36
36
  "peerDependencies": {
37
- "@deepseek-ai/cordis": "~4.0.5",
38
- "@deepseek-ai/dsh-skill": "0.2.1-rc.5",
39
- "@deepseek-ai/dsh-subprocess": "0.2.1-rc.5"
37
+ "@deepseek-ai/cordis": "~4.0.6-alpha.1",
38
+ "@deepseek-ai/dsh-skill": "0.2.2-alpha.2",
39
+ "@deepseek-ai/dsh-subprocess": "0.2.2-alpha.2"
40
40
  },
41
41
  "dependencies": {
42
- "@deepseek-ai/dsh-lazy-require": "0.2.1-rc.5",
43
- "@deepseek-ai/dsh-win32-process": "0.2.1-rc.5",
42
+ "@deepseek-ai/dsh-lazy-require": "0.2.2-alpha.2",
43
+ "@deepseek-ai/dsh-win32-process": "0.2.2-alpha.2",
44
44
  "koffi": "3.1.1",
45
45
  "yaml": "^2.4.2"
46
46
  },
47
47
  "devDependencies": {
48
- "@deepseek-ai/cordis-plugin-loader": "~1.0.6",
49
- "@deepseek-ai/cordis-plugin-include": "~1.0.10",
50
- "@deepseek-ai/dsh-pwsh-local": "0.2.1-rc.5",
51
- "@deepseek-ai/dsh-sandbox-local": "0.2.1-rc.5",
52
- "@deepseek-ai/cordis": "~4.0.5",
53
- "@deepseek-ai/dsh-skill": "0.2.1-rc.5",
54
- "@deepseek-ai/dsh-subprocess": "0.2.1-rc.5",
55
- "@deepseek-ai/dsh-subprocess-local": "0.2.1-rc.5"
48
+ "@deepseek-ai/cordis-plugin-loader": "~1.0.7-alpha.1",
49
+ "@deepseek-ai/cordis-plugin-include": "~1.0.11-alpha.1",
50
+ "@deepseek-ai/dsh-pwsh-local": "0.2.2-alpha.2",
51
+ "@deepseek-ai/dsh-sandbox-local": "0.2.2-alpha.2",
52
+ "@deepseek-ai/cordis": "~4.0.6-alpha.1",
53
+ "@deepseek-ai/dsh-skill": "0.2.2-alpha.2",
54
+ "@deepseek-ai/dsh-subprocess": "0.2.2-alpha.2",
55
+ "@deepseek-ai/dsh-subprocess-local": "0.2.2-alpha.2"
56
56
  }
57
57
  }