@mind-harness/mh-workspace 0.2.2 → 0.2.3

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
@@ -385,8 +385,7 @@ let MhWorkspaceService = (() => {
385
385
  if (!isWebUrl(target)) throw unreadable("address is not http or https");
386
386
  let views;
387
387
  try {
388
- views = await this.browser().open("person", [{ url: target }], signal);
389
- await this.browser().bringToFront("person");
388
+ views = await this.browser().open("person", [{ url: target }], signal, { reveal: true });
390
389
  } catch (error) {
391
390
  if (error instanceof RemoteError) throw error;
392
391
  throw unreadable(errorText(error));
@@ -64,7 +64,7 @@ const $remote = createTypertRemoteInfo({
64
64
  create: _mind_harness_mh_workspace_mhWorkspace_ensureWorkspace_result$schema,
65
65
  jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"}},"required":["workspaceId"],"additionalProperties":true},
66
66
  },
67
- sourceLocation: {"file":"packages/mh-workspace/src/service.ts","line":168,"column":9},
67
+ sourceLocation: {"file":"packages/mh-workspace/src/service.ts","line":172,"column":9},
68
68
  },
69
69
  'mhWorkspace/openPersonWindow': {
70
70
  service: 'mhWorkspace',
@@ -95,7 +95,7 @@ const $remote = createTypertRemoteInfo({
95
95
  create: _mind_harness_mh_workspace_mhWorkspace_openPersonWindow_result$schema,
96
96
  jsonSchemaError: 'typert tool schema: unsupported void value',
97
97
  },
98
- sourceLocation: {"file":"packages/mh-workspace/src/service.ts","line":177,"column":9},
98
+ sourceLocation: {"file":"packages/mh-workspace/src/service.ts","line":181,"column":9},
99
99
  },
100
100
  'mhWorkspace/startBrowser': {
101
101
  service: 'mhWorkspace',
@@ -110,7 +110,7 @@ const $remote = createTypertRemoteInfo({
110
110
  create: _mind_harness_mh_workspace_mhWorkspace_startBrowser_result$schema,
111
111
  jsonSchemaError: 'typert tool schema: unsupported void value',
112
112
  },
113
- sourceLocation: {"file":"packages/mh-workspace/src/service.ts","line":201,"column":9},
113
+ sourceLocation: {"file":"packages/mh-workspace/src/service.ts","line":204,"column":9},
114
114
  },
115
115
  'mhWorkspace/syncProjects': {
116
116
  service: 'mhWorkspace',
@@ -125,7 +125,7 @@ const $remote = createTypertRemoteInfo({
125
125
  create: _mind_harness_mh_workspace_mhWorkspace_syncProjects_result$schema,
126
126
  jsonSchema: {"type":"object","properties":{"projects":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string"},"name":{"type":"string"},"projectId":{"type":"string"},"workspaceId":{"type":"string"},"removed":{"type":"boolean","const":true,"description":"The person removed this Project's Workspace. It is not in the sidebar."}},"required":["url","name","projectId"],"additionalProperties":true}},"signedIn":{"type":"boolean","description":"The Memory home names a viewer. Signed out, the list holds only what is public."},"selfLogin":{"type":"boolean"}},"required":["projects","signedIn","selfLogin"],"additionalProperties":true},
127
127
  },
128
- sourceLocation: {"file":"packages/mh-workspace/src/service.ts","line":154,"column":9},
128
+ sourceLocation: {"file":"packages/mh-workspace/src/service.ts","line":158,"column":9},
129
129
  },
130
130
  },
131
131
  }, z)
@@ -64,7 +64,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
64
64
  create: _mind_harness_mh_workspace_mhWorkspace_ensureWorkspace_result$schema,
65
65
  jsonSchema: {"type":"object","properties":{"workspaceId":{"type":"string"}},"required":["workspaceId"],"additionalProperties":true},
66
66
  },
67
- sourceLocation: {"file":"packages/mh-workspace/src/service.ts","line":168,"column":9},
67
+ sourceLocation: {"file":"packages/mh-workspace/src/service.ts","line":172,"column":9},
68
68
  },
69
69
  'mhWorkspace/openPersonWindow': {
70
70
  service: 'mhWorkspace',
@@ -95,7 +95,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
95
95
  create: _mind_harness_mh_workspace_mhWorkspace_openPersonWindow_result$schema,
96
96
  jsonSchemaError: 'typert tool schema: unsupported void value',
97
97
  },
98
- sourceLocation: {"file":"packages/mh-workspace/src/service.ts","line":177,"column":9},
98
+ sourceLocation: {"file":"packages/mh-workspace/src/service.ts","line":181,"column":9},
99
99
  },
100
100
  'mhWorkspace/startBrowser': {
101
101
  service: 'mhWorkspace',
@@ -110,7 +110,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
110
110
  create: _mind_harness_mh_workspace_mhWorkspace_startBrowser_result$schema,
111
111
  jsonSchemaError: 'typert tool schema: unsupported void value',
112
112
  },
113
- sourceLocation: {"file":"packages/mh-workspace/src/service.ts","line":201,"column":9},
113
+ sourceLocation: {"file":"packages/mh-workspace/src/service.ts","line":204,"column":9},
114
114
  },
115
115
  'mhWorkspace/syncProjects': {
116
116
  service: 'mhWorkspace',
@@ -125,7 +125,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
125
125
  create: _mind_harness_mh_workspace_mhWorkspace_syncProjects_result$schema,
126
126
  jsonSchema: {"type":"object","properties":{"projects":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string"},"name":{"type":"string"},"projectId":{"type":"string"},"workspaceId":{"type":"string"},"removed":{"type":"boolean","const":true,"description":"The person removed this Project's Workspace. It is not in the sidebar."}},"required":["url","name","projectId"],"additionalProperties":true}},"signedIn":{"type":"boolean","description":"The Memory home names a viewer. Signed out, the list holds only what is public."},"selfLogin":{"type":"boolean"}},"required":["projects","signedIn","selfLogin"],"additionalProperties":true},
127
127
  },
128
- sourceLocation: {"file":"packages/mh-workspace/src/service.ts","line":154,"column":9},
128
+ sourceLocation: {"file":"packages/mh-workspace/src/service.ts","line":158,"column":9},
129
129
  },
130
130
  },
131
131
  }, z)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mind-harness/mh-workspace",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
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": [
@@ -42,7 +42,7 @@
42
42
  "access": "public"
43
43
  },
44
44
  "dependencies": {
45
- "@mind-harness/mh-browser": "0.2.2",
45
+ "@mind-harness/mh-browser": "0.2.3",
46
46
  "zod": "^4.6.6"
47
47
  },
48
48
  "devDependencies": {