dsh-codex-style-computer-use 2.2.7 → 2.2.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-codex-style-computer-use",
3
- "version": "2.2.7",
3
+ "version": "2.2.8",
4
4
  "description": "Codex-style Computer Use for DeepSeek Harness: Windows desktop control, screenshots, UI Automation, human input handoff, approval gates and prebuilt native workers. Install and update from dsh-market without PowerShell 7 or build steps.",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -11,7 +11,8 @@
11
11
  "exports": {
12
12
  ".": "./lib/index.js",
13
13
  "./package.json": "./package.json",
14
- "./cordis.patch.yml": "./cordis.patch.yml"
14
+ "./cordis.patch.yml": "./cordis.patch.yml",
15
+ "./client": "./client.js"
15
16
  },
16
17
  "files": [
17
18
  "icon.svg",
@@ -32,7 +32,7 @@ const excluded = {
32
32
  }
33
33
  const reviewed = new Set([
34
34
  'action-feedback', 'agent-pointer', 'approval-attribution', 'ask-invariants', 'ask-merge', 'ask-orphan', 'ask-release',
35
- 'attention-native', 'attention', 'audit-completion', 'batch-coverage', 'buildusermessage', 'bundled-skill',
35
+ 'attention-native', 'attention', 'audit-completion', 'batch-coverage', 'buildusermessage', 'bundled-skill', 'client-export',
36
36
  'coactive', 'compact-feedback', 'control-targets', 'core-system-recovery', 'cursor', 'cycle-completion',
37
37
  'cycle-no-timeout', 'cycle-open', 'desktop-acceptance-io', 'desktop-ownership', 'drag-options', 'evidence-protocol',
38
38
  'exit-coherence', 'feedback-cache-integration', 'feedback-policy', 'glow-pump', 'glow-visual', 'handoff-continuation',
@@ -6,6 +6,14 @@ const root = path.resolve(process.argv[2] || path.join(import.meta.dirname, '..'
6
6
  const pkg = JSON.parse(fs.readFileSync(path.join(root, 'package.json'), 'utf8'))
7
7
  assert.equal(pkg.name, 'dsh-codex-style-computer-use')
8
8
  assert.equal(pkg.dsh?.bundle?.patch, './cordis.patch.yml')
9
+ // dsh-client-modules discovers the settings bundle through exports["./client"]; without it the
10
+ // client.js below becomes a silent dead file and the settings section never appears.
11
+ assert.equal(pkg.dsh?.client?.platform, 'web', 'dsh.client platform must be web')
12
+ const clientExport = pkg.exports?.['./client']
13
+ assert.ok(clientExport, 'exports["./client"] is required for the settings client bundle')
14
+ const clientTarget = typeof clientExport === 'string' ? clientExport : clientExport?.default
15
+ assert.equal(clientTarget, './client.js', 'exports["./client"] must resolve to ./client.js')
16
+ assert(fs.existsSync(path.join(root, 'client.js')), 'client.js is missing')
9
17
  assert.equal(pkg.packageManager, undefined, 'git installs must not invoke a nested package manager')
10
18
  for (const hook of ['prepare', 'prepack', 'prepublish', 'prepublishOnly', 'preinstall', 'install', 'postinstall']) assert.equal(pkg.scripts?.[hook], undefined, hook)
11
19
  const patch = fs.readFileSync(path.join(root, 'cordis.patch.yml'), 'utf8')