@re-cinq/floor-studio 0.0.0-stage → 0.6.2

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.
Files changed (96) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +208 -2
  3. package/dist/backend/agent-file-text.d.ts +16 -0
  4. package/dist/backend/agent-file-text.js +37 -0
  5. package/dist/backend/agent-views.d.ts +8 -0
  6. package/dist/backend/agent-views.js +28 -0
  7. package/dist/backend/collection-view.d.ts +3 -0
  8. package/dist/backend/collection-view.js +108 -0
  9. package/dist/backend/environment-usage.d.ts +5 -0
  10. package/dist/backend/environment-usage.js +19 -0
  11. package/dist/backend/fixture-files.d.ts +4 -0
  12. package/dist/backend/fixture-files.js +14 -0
  13. package/dist/backend/fixture-requests.d.ts +12 -0
  14. package/dist/backend/fixture-requests.js +25 -0
  15. package/dist/backend/guard.d.ts +14 -0
  16. package/dist/backend/guard.js +20 -0
  17. package/dist/backend/index.d.ts +2 -0
  18. package/dist/backend/index.js +3 -0
  19. package/dist/backend/present.d.ts +2 -0
  20. package/dist/backend/present.js +5 -0
  21. package/dist/backend/read-line.d.ts +11 -0
  22. package/dist/backend/read-line.js +46 -0
  23. package/dist/backend/requests.d.ts +47 -0
  24. package/dist/backend/requests.js +74 -0
  25. package/dist/backend/run-cancel-request.d.ts +6 -0
  26. package/dist/backend/run-cancel-request.js +12 -0
  27. package/dist/backend/run-files.d.ts +5 -0
  28. package/dist/backend/run-files.js +15 -0
  29. package/dist/backend/run-preview-request.d.ts +15 -0
  30. package/dist/backend/run-preview-request.js +25 -0
  31. package/dist/backend/run-read-request.d.ts +6 -0
  32. package/dist/backend/run-read-request.js +12 -0
  33. package/dist/backend/run-start-request.d.ts +6 -0
  34. package/dist/backend/run-start-request.js +35 -0
  35. package/dist/backend/skill-names.d.ts +3 -0
  36. package/dist/backend/skill-names.js +20 -0
  37. package/dist/backend/sources-on-disk.d.ts +2 -0
  38. package/dist/backend/sources-on-disk.js +9 -0
  39. package/dist/backend/start-studio.d.ts +19 -0
  40. package/dist/backend/start-studio.js +93 -0
  41. package/dist/backend/store-folder.d.ts +1 -0
  42. package/dist/backend/store-folder.js +10 -0
  43. package/dist/backend/watcher.d.ts +6 -0
  44. package/dist/backend/watcher.js +33 -0
  45. package/dist/cli.d.ts +2 -0
  46. package/dist/cli.js +15 -0
  47. package/dist/protocol.d.ts +261 -0
  48. package/dist/protocol.js +79 -0
  49. package/dist/run/agent-command.d.ts +14 -0
  50. package/dist/run/agent-command.js +33 -0
  51. package/dist/run/prepare-workspace.d.ts +2 -0
  52. package/dist/run/prepare-workspace.js +14 -0
  53. package/dist/run/render-prompt.d.ts +1 -0
  54. package/dist/run/render-prompt.js +6 -0
  55. package/dist/run/run-edge.d.ts +8 -0
  56. package/dist/run/run-edge.js +8 -0
  57. package/dist/run/run-outcome.d.ts +12 -0
  58. package/dist/run/run-outcome.js +26 -0
  59. package/dist/run/run-preview.d.ts +29 -0
  60. package/dist/run/run-preview.js +31 -0
  61. package/dist/run/run-process.d.ts +16 -0
  62. package/dist/run/run-process.js +26 -0
  63. package/dist/run/run-produces.d.ts +12 -0
  64. package/dist/run/run-produces.js +13 -0
  65. package/dist/run/run-records.d.ts +22 -0
  66. package/dist/run/run-records.js +11 -0
  67. package/dist/run/run-result.d.ts +13 -0
  68. package/dist/run/run-result.js +10 -0
  69. package/dist/run/station-fixtures.d.ts +3 -0
  70. package/dist/run/station-fixtures.js +3 -0
  71. package/dist/run/vendor.d.ts +2 -0
  72. package/dist/run/vendor.js +11 -0
  73. package/dist/run/workspace.d.ts +21 -0
  74. package/dist/run/workspace.js +27 -0
  75. package/dist/shell/arguments.d.ts +15 -0
  76. package/dist/shell/arguments.js +32 -0
  77. package/dist/shell/open-browser.d.ts +7 -0
  78. package/dist/shell/open-browser.js +17 -0
  79. package/dist/shell/page-url.d.ts +6 -0
  80. package/dist/shell/page-url.js +5 -0
  81. package/dist/shell/static-files.d.ts +7 -0
  82. package/dist/shell/static-files.js +75 -0
  83. package/dist/shell/studio-command.d.ts +20 -0
  84. package/dist/shell/studio-command.js +48 -0
  85. package/dist/view.d.ts +100 -0
  86. package/dist/view.js +2 -0
  87. package/dist/web/assets/ibm-plex-sans-latin-300-b4i7YzLG.woff2 +0 -0
  88. package/dist/web/assets/ibm-plex-sans-latin-400-CDDApCn2.woff2 +0 -0
  89. package/dist/web/assets/ibm-plex-sans-latin-500-6ng42L7E.woff2 +0 -0
  90. package/dist/web/assets/ibm-plex-sans-latin-600-CuJfVYMP.woff2 +0 -0
  91. package/dist/web/assets/ibm-plex-sans-latin-700-Bxkt5Cjx.woff2 +0 -0
  92. package/dist/web/assets/index-Bb0f0ToW.css +1 -0
  93. package/dist/web/assets/index-bPZxSQCP.js +195 -0
  94. package/dist/web/assets/jetbrains-mono-latin-wght-B9CIFXIH.woff2 +0 -0
  95. package/dist/web/index.html +26 -0
  96. package/package.json +78 -4
@@ -0,0 +1,26 @@
1
+ <!doctype html>
2
+ <html lang="en" data-theme-family="lore" data-color-scheme="light">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
6
+ <title>floor studio</title>
7
+ <link rel="icon" href="data:," />
8
+ <script>
9
+ // Before first paint, so the page never flashes the wrong scheme. The same key and rule as src/theme/scheme.ts.
10
+ (function () {
11
+ try {
12
+ var pref = localStorage.getItem("floor-studio-color-scheme");
13
+ var dark = pref === "dark" || (pref !== "light" && matchMedia("(prefers-color-scheme: dark)").matches);
14
+ document.documentElement.setAttribute("data-color-scheme", dark ? "dark" : "light");
15
+ } catch (blocked) {
16
+ document.documentElement.setAttribute("data-color-scheme", "light");
17
+ }
18
+ })();
19
+ </script>
20
+ <script type="module" crossorigin src="./assets/index-bPZxSQCP.js"></script>
21
+ <link rel="stylesheet" crossorigin href="./assets/index-Bb0f0ToW.css">
22
+ </head>
23
+ <body>
24
+ <div id="root"></div>
25
+ </body>
26
+ </html>
package/package.json CHANGED
@@ -1,6 +1,80 @@
1
1
  {
2
2
  "name": "@re-cinq/floor-studio",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.6.2",
4
+ "description": "A local studio for a collection of assembly lines: a backend that reads the folder and tells every client over a WebSocket, a protocol of typed frames, and a command that serves the page and opens it.",
5
+ "license": "Apache-2.0",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/re-cinq/floor.git",
9
+ "directory": "packages/studio"
10
+ },
11
+ "homepage": "https://github.com/re-cinq/floor/tree/main/packages/studio#readme",
12
+ "bugs": {
13
+ "url": "https://github.com/re-cinq/floor/issues"
14
+ },
15
+ "keywords": [
16
+ "floor",
17
+ "assembly-line",
18
+ "collection",
19
+ "studio",
20
+ "cli"
21
+ ],
22
+ "type": "module",
23
+ "bin": {
24
+ "floor-studio": "dist/cli.js"
25
+ },
26
+ "exports": {
27
+ "./backend": {
28
+ "types": "./dist/backend/index.d.ts",
29
+ "default": "./dist/backend/index.js"
30
+ },
31
+ "./protocol": {
32
+ "types": "./dist/protocol.d.ts",
33
+ "default": "./dist/protocol.js"
34
+ }
35
+ },
36
+ "files": [
37
+ "dist",
38
+ "!dist/**/*.map"
39
+ ],
40
+ "engines": {
41
+ "node": ">=22"
42
+ },
43
+ "publishConfig": {
44
+ "access": "public"
45
+ },
46
+ "scripts": {
47
+ "build": "tsc -p tsconfig.build.json && vite build --config web/vite.config.ts",
48
+ "dev": "tsc --watch -p tsconfig.build.json",
49
+ "test": "vitest run",
50
+ "test:watch": "vitest",
51
+ "typecheck": "tsc --noEmit && tsc --noEmit -p web/tsconfig.json",
52
+ "dev:web": "vite --config web/vite.config.ts"
53
+ },
54
+ "dependencies": {
55
+ "@re-cinq/floor-assembly-lines": "0.6.2",
56
+ "@re-cinq/floor-contracts": "0.6.2",
57
+ "@re-cinq/floor-graph": "0.6.2",
58
+ "@re-cinq/floor-pipeline": "0.6.2",
59
+ "ws": "^8.22.0",
60
+ "yaml": "^2.7.0",
61
+ "zod": "^4.5.4"
62
+ },
63
+ "devDependencies": {
64
+ "@testing-library/dom": "^10.4.2",
65
+ "@testing-library/react": "^16.3.3",
66
+ "@testing-library/user-event": "^14.6.13",
67
+ "@types/node": "^22.20.1",
68
+ "@types/react": "^19.3.0",
69
+ "@types/react-dom": "^19.3.0",
70
+ "@types/ws": "^8.18.2",
71
+ "@vitejs/plugin-react": "^6.3.0",
72
+ "@vitest/coverage-v8": "^5.0.0",
73
+ "jsdom": "^31.0.1",
74
+ "react": "^19.3.1",
75
+ "react-dom": "^19.3.1",
76
+ "typescript": "^7.0.2",
77
+ "vite": "^8.3.8",
78
+ "vitest": "^5.0.0"
79
+ }
80
+ }