@mind-harness/mh-workspace 0.1.5 → 0.1.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/README.md +1 -1
- package/lib/index.js +2 -2
- package/locale/en.json +1 -1
- package/locale/zh.json +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# @mind-harness/mh-workspace
|
|
2
2
|
|
|
3
|
-
Lists your
|
|
3
|
+
Lists your Mind Harness Projects and gives each one a workspace; a Session started there begins with the Project's README and AGENTS.md.
|
|
4
4
|
|
|
5
5
|
This plugin is part of Mind Harness for DeepSeek Harness (dsh). Install [`@mind-harness/mh-bundle`](https://www.npmjs.com/package/@mind-harness/mh-bundle) rather than this package: the bundle installs it with the other plugins and adds the rows that load it. Configuration, versions and license are described there.
|
package/lib/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import { defineDomain } from "@deepseek-ai/dsh-storage-domain";
|
|
|
9
9
|
//#region lib/types/config.js
|
|
10
10
|
const DEFAULT_HOME = "https://mindharness.com/";
|
|
11
11
|
const workspaceConfig = z.object({
|
|
12
|
-
memory: z.object({ home: z.string().default(DEFAULT_HOME).volatile().description("
|
|
12
|
+
memory: z.object({ home: z.string().default(DEFAULT_HOME).volatile().description("Mind Harness home page address. A new value is read on the next request, without restarting.") }).default({ home: DEFAULT_HOME }).description("The Mind Harness home this installation lists Projects from."),
|
|
13
13
|
projectsDir: z.string().description("Where each Project gets its workspace directory. Defaults to mh/projects under the dsh home.")
|
|
14
14
|
});
|
|
15
15
|
function projectsDirOf(config) {
|
|
@@ -194,7 +194,7 @@ function workingCopySentence(project) {
|
|
|
194
194
|
return `The working directory is a local working copy for the Project ${project}, not the Project itself: it starts empty and does not mirror the Project. Read the Project by opening its pages and change it through the actions they declare. Keep files on their way in or out here, such as downloads and files to upload; a file edited here is not in the Project until you upload it.`;
|
|
195
195
|
}
|
|
196
196
|
function signInSentence(home, gap) {
|
|
197
|
-
return `
|
|
197
|
+
return `Mind Harness at ${home} cannot show this Project to the browser (${gap}). Its README and AGENTS.md were not opened. Tell the person to sign in to Mind Harness in their browser, then continue; Mind Harness pages read before that show only what is public.`;
|
|
198
198
|
}
|
|
199
199
|
const UNREAD_SENTENCE = "The Project page could not be read, so its README and AGENTS.md were not opened; open the Project page to read them.";
|
|
200
200
|
//#endregion
|
package/locale/en.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"meta": {
|
|
3
3
|
"title": "Mind Harness projects",
|
|
4
|
-
"description": "Lists your
|
|
4
|
+
"description": "Lists your Mind Harness Projects and gives each one a workspace; a Session started there begins with the Project page and what its README cites."
|
|
5
5
|
}
|
|
6
6
|
}
|
package/locale/zh.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mind-harness/mh-workspace",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Lists your
|
|
3
|
+
"version": "0.1.6",
|
|
4
|
+
"description": "Lists your Mind Harness Projects and gives each one a workspace; a Session started there begins with the Project's README and AGENTS.md.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"files": [
|
|
7
7
|
"lib/index.js",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@mind-harness/mh-browser": "0.1.
|
|
45
|
+
"@mind-harness/mh-browser": "0.1.6",
|
|
46
46
|
"zod": "^4.6.6"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|