@jxsuite/studio 0.31.1 → 0.33.0

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": "@jxsuite/studio",
3
- "version": "0.31.1",
3
+ "version": "0.33.0",
4
4
  "description": "Jx Studio — visual builder for Jx documents",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -26,6 +26,8 @@
26
26
  "build": "bun run scripts/build.ts",
27
27
  "build:metafile": "bun build ./src/studio.ts --outdir dist --target browser --sourcemap=linked --metafile=metafile.json",
28
28
  "gen:webdata": "bun run scripts/gen-webdata.js",
29
+ "eval": "bun run evals/cli.ts",
30
+ "eval:headless": "bun run tests/harness/run-eval.ts",
29
31
  "lint:styles": "bun run scripts/check-styles.ts",
30
32
  "test": "bun run lint:styles && bun test --isolate",
31
33
  "test:coverage": "bun test --isolate --coverage",
@@ -34,9 +36,10 @@
34
36
  "dependencies": {
35
37
  "@atlaskit/pragmatic-drag-and-drop": "^2.0.1",
36
38
  "@atlaskit/pragmatic-drag-and-drop-hitbox": "^2.0.0",
37
- "@jxsuite/parser": "^0.31.1",
38
- "@jxsuite/runtime": "^0.31.1",
39
- "@jxsuite/schema": "^0.31.1",
39
+ "@jxsuite/ai": "^0.1.0",
40
+ "@jxsuite/parser": "^0.33.0",
41
+ "@jxsuite/runtime": "^0.33.0",
42
+ "@jxsuite/schema": "^0.33.0",
40
43
  "@spectrum-web-components/accordion": "^1.12.1",
41
44
  "@spectrum-web-components/action-bar": "1.12.1",
42
45
  "@spectrum-web-components/action-button": "^1.12.1",
@@ -73,7 +76,9 @@
73
76
  "@spectrum-web-components/toast": "^1.12.1",
74
77
  "@spectrum-web-components/tooltip": "^1.12.1",
75
78
  "@spectrum-web-components/underlay": "^1.12.1",
76
- "@vue/reactivity": "3.5.38",
79
+ "@vue/reactivity": "3.5.39",
80
+ "ajv": "^8.20.0",
81
+ "ajv-formats": "^3.0.1",
77
82
  "lit": "^3.3.3",
78
83
  "lit-html": "^3.3.3",
79
84
  "monaco-editor": "^0.55.1",
@@ -95,6 +95,7 @@ export async function loadProject() {
95
95
  });
96
96
 
97
97
  if (info.isSiteProject) {
98
+ addRecentProject(requireProjectState().name, meta.root);
98
99
  await ensureDependenciesInstalled();
99
100
  await loadDirectory(".");
100
101
  await loadComponentRegistry();
@@ -1053,7 +1054,11 @@ export async function openFileInTab(path: string) {
1053
1054
  sourceFormat: format?.name ?? null,
1054
1055
  });
1055
1056
  requireProjectState().selectedPath = path;
1056
- trackRecentFile({ name: path.split("/").pop() || path, path });
1057
+ trackRecentFile({
1058
+ name: path.split("/").pop() || path,
1059
+ path,
1060
+ root: requireProjectState().projectRoot,
1061
+ });
1057
1062
 
1058
1063
  statusMessage(`Opened ${path.split("/").pop()}`);
1059
1064
  } catch (error) {