@mind-harness/mh-bundle 0.0.0-stage → 0.1.1

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/CHANGELOG.md ADDED
@@ -0,0 +1,13 @@
1
+ # Changelog
2
+
3
+ All five `@mind-harness` packages share these versions. In 0.x a minor release may break compatibility; its entry says what breaks and what to do.
4
+
5
+ ## 0.1.1
6
+
7
+ Each dsh profile now gets its own browser profile, at `mh/profiles/<dsh profile>/browser` under the dsh home. Two dsh profiles no longer fail to start a browser because they share one. Sites you signed into under the old shared location (`mh/browser`) need signing in again; to keep them for one dsh profile, move that directory to the new path while dsh is stopped.
8
+
9
+ A declared action on a page that declares a `version` is now judged stale only when that version changed. Before, any byte change on the page refused the action, so a write elsewhere on the site could block it again and again while the model was still preparing the call.
10
+
11
+ ## 0.1.0
12
+
13
+ First public release. Requires dsh `>=0.2.1-rc.3 <0.3.0` and Google Chrome.
package/LICENSE ADDED
@@ -0,0 +1,57 @@
1
+ Required Notice: Copyright 2026 Mind Harness
2
+
3
+ # PolyForm Internal Use License 1.0.0
4
+
5
+ <https://polyformproject.org/licenses/internal-use/1.0.0>
6
+
7
+ ## Acceptance
8
+
9
+ In order to get any license under these terms, you must agree to them as both strict obligations and conditions to all your licenses.
10
+
11
+ ## Copyright License
12
+
13
+ The licensor grants you a copyright license for the software to do everything you might do with the software that would otherwise infringe the licensor's copyright in it for any permitted purpose. However, you may only make changes or new works based on the software according to [Changes and New Works License](#changes-and-new-works-license), and you may not distribute the software.
14
+
15
+ ## Changes and New Works License
16
+
17
+ The licensor grants you an additional copyright license to make changes and new works based on the software for any permitted purpose.
18
+
19
+ ## Patent License
20
+
21
+ The licensor grants you a patent license for the software that covers patent claims the licensor can license, or becomes able to license, that you would infringe by using the software.
22
+
23
+ ## Fair Use
24
+
25
+ You may have "fair use" rights for the software under the law. These terms do not limit them.
26
+
27
+ ## Internal Business Use
28
+
29
+ Use of the software for the internal business operations of you and your company is use for a permitted purpose.
30
+
31
+ ## No Other Rights
32
+
33
+ These terms do not allow you to sublicense or transfer any of your licenses to anyone else, or prevent the licensor from granting licenses to anyone else. These terms do not imply any other licenses.
34
+
35
+ ## Patent Defense
36
+
37
+ If you make any written claim that the software infringes or contributes to infringement of any patent, your patent license for the software granted under these terms ends immediately. If your company makes such a claim, your patent license ends immediately for work on behalf of your company.
38
+
39
+ ## Violations
40
+
41
+ The first time you are notified in writing that you have violated any of these terms, or done anything with the software not covered by your licenses, your licenses can nonetheless continue if you come into full compliance with these terms, and take practical steps to correct past violations, within 32 days of receiving notice. Otherwise, all your licenses end immediately.
42
+
43
+ ## No Liability
44
+
45
+ ***As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will not be liable to you for any damages arising out of these terms or the use or nature of the software, under any kind of legal claim.***
46
+
47
+ ## Definitions
48
+
49
+ The **licensor** is the individual or entity offering these terms, and the **software** is the software the licensor makes available under these terms.
50
+
51
+ **You** refers to the individual or entity agreeing to these terms.
52
+
53
+ **Your company** is any legal entity, sole proprietorship, or other kind of organization that you work for, plus all organizations that have control over, are under the control of, or are under common control with that organization. **Control** means ownership of substantially all the assets of an entity, or the power to direct its management and policies by vote, contract, or otherwise. Control can be direct or indirect.
54
+
55
+ **Your licenses** are all the licenses granted to you for the software under these terms.
56
+
57
+ **Use** means anything you do with the software requiring one of your licenses.
package/README.md CHANGED
@@ -1,3 +1,47 @@
1
- # Temporary Holding Version
1
+ # @mind-harness/mh-bundle
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Mind Harness for [DeepSeek Harness](https://www.npmjs.com/package/@deepseek-ai/dsh) (dsh). Your Memory Projects appear as Workspaces in the sidebar, a Session started in one begins from the Project's pages, and the agent works in a real browser that it can hand over to you when a person is needed.
4
+
5
+ ## Install
6
+
7
+ Requires dsh `>=0.2.1-rc.3 <0.3.0` and Google Chrome.
8
+
9
+ ```sh
10
+ dsh plugin --profile <profile> add @mind-harness/mh-bundle
11
+ dsh --profile <profile>
12
+ ```
13
+
14
+ The bundle installs four plugins with it: `@mind-harness/mh-browser`, `@mind-harness/mh-workspace`, `@mind-harness/ui-mh-workspace` and `@mind-harness/ui-mh-browser`. It also:
15
+
16
+ - adds the **Mind Harness** agent preset and makes it the default for new Sessions; a preset you pick in the Web UI stays your default;
17
+ - turns off dsh's `agent-instructions` and `tool-web` rows.
18
+
19
+ ## Configure
20
+
21
+ The Memory address can be changed under Settings. Other options are set in the profile's `cordis.patch.yml` by row id. A row you restate replaces the bundle's whole `config` for that row, so keep the keys you do not change.
22
+
23
+ | Row | Key | Default |
24
+ | -------------- | ------------------- | ------------------------------------------------------------------------------------- |
25
+ | `mh-workspace` | `memory.home` | `https://mindharness.com/` |
26
+ | `mh-workspace` | `projectsDir` | `mh/projects` under the dsh home |
27
+ | `mh-browser` | `browser` | `chrome`; also `msedge`, or `chromium` after `npx playwright@1.64.1 install chromium` |
28
+ | `mh-browser` | `profileDir` | `mh/profiles/<dsh profile>/browser` under the dsh home; one per dsh profile |
29
+ | `mh-browser` | `headless` | `false` |
30
+ | `mh-browser` | `presence.maxBytes` | `65536` |
31
+
32
+ ```yaml
33
+ - id: mh-browser
34
+ name: '@mind-harness/mh-browser'
35
+ config:
36
+ presence:
37
+ maxBytes: 65536
38
+ browser: msedge
39
+ ```
40
+
41
+ ## Versions
42
+
43
+ The five `@mind-harness` packages are released together under one version. In 0.x a minor release may break Session logs written by earlier versions, tool names and results, or the row ids above; [CHANGELOG.md](CHANGELOG.md) says what each release breaks and what to do.
44
+
45
+ ## License
46
+
47
+ [PolyForm Internal Use License 1.0.0](https://polyformproject.org/licenses/internal-use/1.0.0): you may use these packages, and change them, for your own internal business operations; you may not distribute them. Each package carries the terms in `LICENSE`. Packages that include third-party code ship its notices in `THIRD-PARTY-NOTICES`.
@@ -0,0 +1,121 @@
1
+ - id: agent-instructions
2
+ disabled: true
3
+ - id: tool-web
4
+ disabled: true
5
+ - insert:
6
+ - id: mh-browser
7
+ name: '@mind-harness/mh-browser'
8
+ config:
9
+ presence:
10
+ maxBytes: 65536
11
+ - id: mh-workspace
12
+ name: '@mind-harness/mh-workspace'
13
+ - id: ui-mh-workspace
14
+ name: '@mind-harness/ui-mh-workspace'
15
+ - id: ui-mh-browser
16
+ name: '@mind-harness/ui-mh-browser'
17
+
18
+ # Sessions start on preset mh. A person who picked another preset in the Web
19
+ # UI keeps it: the registry's `selectedDefault` wins over this `default`.
20
+ - id: agent-preset-registry
21
+ name: '@deepseek-ai/dsh-agent-preset-registry'
22
+ config:
23
+ default: mh
24
+
25
+ # Preset mh: the standard preset without what work in a Memory Project does not
26
+ # use (scheduling, goals, plan mode, subagents, workflows, web search, AGENTS.md
27
+ # from the working directory, skills from the machine's skill folders). Rules
28
+ # come from the Project page, so the working directory contributes none.
29
+ - insert:
30
+ - id: preset-mh
31
+ name: '@deepseek-ai/dsh-agent-preset'
32
+ config:
33
+ id: mh
34
+ name: Mind Harness
35
+ description: >-
36
+ Work in a Project you keep in Memory. The agent starts from the Project's
37
+ pages, works in a browser it can hand over to you, and writes results back
38
+ to the Project. Leaves out scheduling, goals, plan mode, subagents,
39
+ workflows, and web search.
40
+ order: 0
41
+ plugins:
42
+ - id: persona
43
+ name: '@deepseek-ai/dsh-persona'
44
+ config:
45
+ prefix: >-
46
+ You are an agent powered by the {{model}} model, working on behalf of one
47
+ person in a Project they keep on the web.
48
+ The Project's pages hold its rules and the work done so far; what the
49
+ person says in this conversation adds to them.
50
+ Work counts once it is written into the Project through an action its
51
+ pages declare: whoever picks the work up next, the person tomorrow, a
52
+ colleague or another agent, starts from the Project, not from this
53
+ conversation.
54
+ So write into the Project what someone would still need once this
55
+ conversation is gone: the judgments, their grounds, and what is still
56
+ open. Keep only the progress of this line of work in your todo list.
57
+ Within the scope you were given, decide and finish the work yourself;
58
+ ask the person only when the answer depends on their preference or lies
59
+ outside that scope, and offer your recommendation when you ask.
60
+ When earlier steps of this conversation have been compacted, you can search
61
+ this session for their original text by keyword.
62
+ - id: time-context
63
+ name: '@deepseek-ai/dsh-time-context'
64
+ - id: tool-bash
65
+ name: '@deepseek-ai/dsh-tool-bash'
66
+ disabled: !!js process.platform === 'win32'
67
+ - id: tool-pwsh
68
+ name: '@deepseek-ai/dsh-tool-pwsh'
69
+ disabled: !!js process.platform !== 'win32'
70
+ - id: tool-fs
71
+ name: '@deepseek-ai/dsh-tool-fs'
72
+ - id: tool-fs-search
73
+ name: '@deepseek-ai/dsh-tool-fs-search'
74
+ config:
75
+ sampleOverCapGlobResults: false
76
+ - id: tool-jobs
77
+ name: '@deepseek-ai/dsh-tool-jobs'
78
+ - id: skill-filesystem
79
+ name: '@deepseek-ai/dsh-skill-filesystem'
80
+ config:
81
+ includeDefaultRoots: false
82
+ - id: tool-skill
83
+ name: '@deepseek-ai/dsh-tool-skill'
84
+ - id: compaction
85
+ name: cordis:group
86
+ group: true
87
+ isolate:
88
+ compaction: true
89
+ toolResultPruner: true
90
+ config:
91
+ - id: compaction-basic
92
+ name: '@deepseek-ai/dsh-compaction-basic'
93
+ - id: command-compact
94
+ name: '@deepseek-ai/dsh-command-compact'
95
+ - id: tool-result-pruner
96
+ name: '@deepseek-ai/dsh-compaction-tool-result-pruner'
97
+ config:
98
+ thresholdChars: 8192
99
+ headChars: 4096
100
+ tailChars: 1024
101
+ - id: session-search
102
+ name: cordis:group
103
+ group: true
104
+ isolate:
105
+ sessionQuery: true
106
+ config:
107
+ - id: session-query-sqlite
108
+ name: '@deepseek-ai/dsh-session-query-sqlite'
109
+ config:
110
+ path: ':memory:'
111
+ openAt: first-search
112
+ - id: tool-session-query
113
+ name: '@deepseek-ai/dsh-tool-session-query'
114
+ - id: tool-ask-user
115
+ name: '@deepseek-ai/dsh-tool-ask-user'
116
+ - id: tool-todo
117
+ name: '@deepseek-ai/dsh-tool-todo'
118
+ config:
119
+ allowParallelInProgress: true
120
+ - id: present
121
+ name: '@deepseek-ai/dsh-tool-present'
package/icon.svg ADDED
@@ -0,0 +1,5 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64" fill="none">
2
+ <rect x="4" y="4" width="56" height="56" rx="14" fill="#1F2A44"/>
3
+ <path d="M18 44V20l14 14 14-14v24" stroke="#F2F4F8" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <circle cx="32" cy="48" r="3" fill="#7FB3FF"/>
5
+ </svg>
package/locale/en.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Mind Harness",
4
+ "description": "Memory Projects, a real browser, and Agent View presence for DeepSeek Harness. Each Project is a Workspace in the built-in sidebar."
5
+ }
6
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Mind Harness",
4
+ "description": "为 DeepSeek Harness 提供 Memory Project、真实浏览器与 Agent View 在场。每个 Project 是内置侧栏里的一个 Workspace。"
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,6 +1,38 @@
1
1
  {
2
2
  "name": "@mind-harness/mh-bundle",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.1.1",
4
+ "description": "Memory Projects, a real browser, and Agent View presence for DeepSeek Harness. Each Project is a Workspace in the built-in sidebar.",
5
+ "license": "SEE LICENSE IN LICENSE",
6
+ "files": [
7
+ "cordis.patch.yml",
8
+ "locale/*.json",
9
+ "icon.svg",
10
+ "CHANGELOG.md"
11
+ ],
12
+ "type": "module",
13
+ "exports": {
14
+ "./package.json": "./package.json",
15
+ "./cordis.patch.yml": "./cordis.patch.yml",
16
+ "./locale/*.json": "./locale/*.json",
17
+ "./icon": "./icon.svg"
18
+ },
19
+ "publishConfig": {
20
+ "access": "public"
21
+ },
22
+ "dependencies": {
23
+ "@mind-harness/mh-browser": "0.1.1",
24
+ "@mind-harness/mh-workspace": "0.1.1",
25
+ "@mind-harness/ui-mh-browser": "0.1.1",
26
+ "@mind-harness/ui-mh-workspace": "0.1.1"
27
+ },
28
+ "icon": "./icon.svg",
29
+ "engines": {
30
+ "dsh": ">=0.2.1-rc.3 <0.3.0"
31
+ },
32
+ "dsh": {
33
+ "bundle": {
34
+ "patch": "./cordis.patch.yml"
35
+ }
36
+ },
37
+ "scripts": {}
6
38
  }