@jskit-ai/assistant 0.1.46 → 0.1.48

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.
@@ -1,7 +1,7 @@
1
1
  export default Object.freeze({
2
2
  packageVersion: 1,
3
3
  packageId: "@jskit-ai/assistant",
4
- version: "0.1.46",
4
+ version: "0.1.48",
5
5
  kind: "generator",
6
6
  description: "Install assistant runtime/config for one surface and scaffold assistant pages at explicit target files.",
7
7
  options: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jskit-ai/assistant",
3
- "version": "0.1.46",
3
+ "version": "0.1.48",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "test": "node --test"
@@ -9,6 +9,6 @@
9
9
  "./server/buildTemplateContext": "./src/server/buildTemplateContext.js"
10
10
  },
11
11
  "dependencies": {
12
- "@jskit-ai/kernel": "0.1.37"
12
+ "@jskit-ai/kernel": "0.1.39"
13
13
  }
14
14
  }
@@ -82,8 +82,8 @@ function renderAssistantPageLinkPlacementBlock({
82
82
  " props: {\n" +
83
83
  ` label: "${String(generationContext?.pageLabel || "")}",\n` +
84
84
  ` surface: "${String(pageTarget?.surfaceId || "")}",\n` +
85
- ` workspaceSuffix: "${String(generationContext?.linkWorkspaceSuffix || "")}",\n` +
86
- ` nonWorkspaceSuffix: "${String(generationContext?.linkNonWorkspaceSuffix || "")}",\n` +
85
+ ` scopedSuffix: "${String(generationContext?.linkWorkspaceSuffix || "")}",\n` +
86
+ ` unscopedSuffix: "${String(generationContext?.linkNonWorkspaceSuffix || "")}",\n` +
87
87
  `${String(generationContext?.linkToPropLine || "")} },\n` +
88
88
  `${String(generationContext?.linkWhenLine || "")}` +
89
89
  " });\n" +
@@ -98,7 +98,7 @@ test("assistant page subcommand creates a runtime page at an explicit target fil
98
98
  assert.match(placementSource, /id: "ui-generator\.page\.admin\.ops\.copilot\.link"/);
99
99
  assert.match(placementSource, /target: "shell-layout:primary-menu"/);
100
100
  assert.match(placementSource, /label: "Copilot"/);
101
- assert.match(placementSource, /workspaceSuffix: "\/ops\/copilot"/);
101
+ assert.match(placementSource, /scopedSuffix: "\/ops\/copilot"/);
102
102
  });
103
103
  });
104
104