@jskit-ai/workspaces-core 0.1.128 → 0.1.130

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": "@jskit-ai/workspaces-core",
3
- "version": "0.1.128",
3
+ "version": "0.1.130",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "test": "node --test"
@@ -17,14 +17,14 @@
17
17
  "./shared/resources/workspaceSettingsResource": "./src/shared/resources/workspaceSettingsResource.js"
18
18
  },
19
19
  "dependencies": {
20
- "@jskit-ai/auth-core": "0.1.148",
21
- "@jskit-ai/database-runtime": "0.1.150",
22
- "@jskit-ai/http-runtime": "0.1.148",
23
- "@jskit-ai/json-rest-api-core": "0.1.94",
24
- "@jskit-ai/kernel": "0.1.150",
25
- "@jskit-ai/resource-core": "0.1.92",
26
- "@jskit-ai/resource-crud-core": "0.1.92",
27
- "@jskit-ai/users-core": "0.1.163",
20
+ "@jskit-ai/auth-core": "0.1.150",
21
+ "@jskit-ai/database-runtime": "0.1.152",
22
+ "@jskit-ai/http-runtime": "0.1.150",
23
+ "@jskit-ai/json-rest-api-core": "0.1.96",
24
+ "@jskit-ai/kernel": "0.1.152",
25
+ "@jskit-ai/resource-core": "0.1.94",
26
+ "@jskit-ai/resource-crud-core": "0.1.94",
27
+ "@jskit-ai/users-core": "0.1.165",
28
28
  "json-rest-schema": "^1.0.17"
29
29
  },
30
30
  "description": "Workspace tenancy runtime plus HTTP routes, role catalog, and workspace config scaffolding.",
@@ -167,10 +167,10 @@
167
167
  "mutations": {
168
168
  "dependencies": {
169
169
  "runtime": {
170
- "@jskit-ai/json-rest-api-core": "0.1.94",
171
- "@jskit-ai/resource-core": "0.1.92",
172
- "@jskit-ai/resource-crud-core": "0.1.92",
173
- "@jskit-ai/users-core": "0.1.163"
170
+ "@jskit-ai/json-rest-api-core": "0.1.96",
171
+ "@jskit-ai/resource-core": "0.1.94",
172
+ "@jskit-ai/resource-crud-core": "0.1.94",
173
+ "@jskit-ai/users-core": "0.1.165"
174
174
  },
175
175
  "dev": {}
176
176
  },
@@ -95,7 +95,7 @@ test("workspace settings and invite operations expose canonical validators", ()
95
95
  }
96
96
  });
97
97
 
98
- test("workspaces-core no longer uses a workspace schema helper that exposes raw schema leaves", () => {
98
+ test("workspaces-core keeps raw workspace schema leaves private", () => {
99
99
  const testFilePath = fileURLToPath(import.meta.url);
100
100
  const packageRoot = path.resolve(path.dirname(testFilePath), "..");
101
101
  const workspaceRoutesFilePath = path.join(packageRoot, "src", "server", "common", "routes", "workspaceRoutes.js");
@@ -179,7 +179,7 @@ function createWorkspaceServiceFixture({
179
179
  return { service, calls, insertedPayloads };
180
180
  }
181
181
 
182
- test("workspaceService no longer exposes bootstrap payload assembly", () => {
182
+ test("workspaceService keeps bootstrap payload assembly outside its API", () => {
183
183
  const { service } = createWorkspaceServiceFixture();
184
184
  assert.equal(service.buildBootstrapPayload, undefined);
185
185
  });
@@ -199,7 +199,7 @@ test("workspaceService.listWorkspacesForUser returns only accessible workspaces"
199
199
  assert.equal(calls.insert, 0);
200
200
  });
201
201
 
202
- test("workspaceService.listWorkspacesForUser no longer provisions personal workspace in workspace mode", async () => {
202
+ test("workspaceService.listWorkspacesForUser does not provision a personal workspace in workspace mode", async () => {
203
203
  const { service, calls } = createWorkspaceServiceFixture({
204
204
  tenancyMode: "workspaces",
205
205
  personalWorkspace: null
@@ -16,7 +16,7 @@ test("workspace settings actions live in their own action array", () => {
16
16
  assert.equal(workspaceSettingsActions[1].extensions?.assistant?.description, "Update workspace settings.");
17
17
  });
18
18
 
19
- test("workspace actions array no longer owns workspace settings actions", () => {
19
+ test("workspace actions array excludes workspace settings actions", () => {
20
20
  const otherWorkspaceActionIds = [
21
21
  ...workspaceDirectoryActions,
22
22
  ...workspacePendingInvitationsActions,