modelroom 0.0.6 → 0.1.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/CHANGELOG.md +8 -0
- package/README.md +40 -8
- package/dist/bin/modelroom.js +241 -75
- package/dist/bin/modelroom.js.map +1 -1
- package/dist/lib/agents/index.d.ts.map +1 -1
- package/dist/lib/agents/index.js +19 -4
- package/dist/lib/agents/index.js.map +1 -1
- package/dist/lib/artifact.d.ts +1 -1
- package/dist/lib/artifact.d.ts.map +1 -1
- package/dist/lib/artifact.js +9 -5
- package/dist/lib/artifact.js.map +1 -1
- package/dist/lib/config.d.ts +17 -1
- package/dist/lib/config.d.ts.map +1 -1
- package/dist/lib/config.js +40 -4
- package/dist/lib/config.js.map +1 -1
- package/dist/lib/frontmatter.d.ts +2 -0
- package/dist/lib/frontmatter.d.ts.map +1 -1
- package/dist/lib/frontmatter.js +11 -2
- package/dist/lib/frontmatter.js.map +1 -1
- package/dist/lib/i18n.d.ts +315 -0
- package/dist/lib/i18n.d.ts.map +1 -0
- package/dist/lib/i18n.js +651 -0
- package/dist/lib/i18n.js.map +1 -0
- package/dist/lib/lang.d.ts +4 -0
- package/dist/lib/lang.d.ts.map +1 -0
- package/dist/lib/lang.js +5 -0
- package/dist/lib/lang.js.map +1 -0
- package/dist/lib/lint.d.ts +3 -0
- package/dist/lib/lint.d.ts.map +1 -1
- package/dist/lib/lint.js +22 -12
- package/dist/lib/lint.js.map +1 -1
- package/dist/lib/locale.d.ts +9 -0
- package/dist/lib/locale.d.ts.map +1 -0
- package/dist/lib/locale.js +32 -0
- package/dist/lib/locale.js.map +1 -0
- package/dist/lib/server.d.ts +3 -0
- package/dist/lib/server.d.ts.map +1 -1
- package/dist/lib/server.js +44 -27
- package/dist/lib/server.js.map +1 -1
- package/dist/lib/templates.d.ts +7 -0
- package/dist/lib/templates.d.ts.map +1 -0
- package/dist/lib/templates.js +30 -0
- package/dist/lib/templates.js.map +1 -0
- package/docs/02-convention.md +10 -5
- package/docs/03-cli.md +59 -14
- package/docs/04-agents.md +10 -2
- package/package.json +9 -19
- package/templates/{AGENTS.md → en/AGENTS.md} +8 -3
- package/templates/ja/AGENTS.md +38 -0
- package/templates/ja/room/BEHAVIOUR.md +18 -0
- package/templates/ja/room/BRIEF.md +16 -0
- package/templates/ja/room/SPEC.md +9 -0
- package/templates/ja/room/index.html +53 -0
- package/templates/modelroom.json +3 -1
- package/ui/assets/app.js +120 -47
- package/ui/dashboard.html +11 -7
- package/ui/kit.html +13 -9
- package/ui/modelroom.css +1 -2
- package/ui/room.html +11 -7
- package/ui/settings.html +11 -7
- /package/templates/{room → en/room}/BEHAVIOUR.md +0 -0
- /package/templates/{room → en/room}/BRIEF.md +0 -0
- /package/templates/{room → en/room}/SPEC.md +0 -0
- /package/templates/{room → en/room}/index.html +0 -0
package/ui/room.html
CHANGED
|
@@ -9,17 +9,21 @@
|
|
|
9
9
|
<title>Room — modelroom</title>
|
|
10
10
|
<link rel="stylesheet" href="/ui/modelroom.css">
|
|
11
11
|
<script>
|
|
12
|
-
// Theme before paint:
|
|
12
|
+
// Theme before paint: Mantine reads `data-mantine-color-scheme`, so the first
|
|
13
|
+
// frame is already the right colour and nothing flashes on load.
|
|
13
14
|
try {
|
|
14
15
|
var stored = localStorage.getItem('modelroom.theme');
|
|
15
|
-
document.documentElement.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
document.documentElement.setAttribute(
|
|
17
|
+
'data-mantine-color-scheme',
|
|
18
|
+
stored
|
|
19
|
+
? JSON.parse(stored)
|
|
20
|
+
: (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light'),
|
|
21
|
+
);
|
|
22
|
+
} catch (error) { /* Mantine falls back to the OS preference */ }
|
|
19
23
|
</script>
|
|
20
24
|
</head>
|
|
21
|
-
<body
|
|
22
|
-
<div id="root" data-app="room" class="
|
|
25
|
+
<body>
|
|
26
|
+
<div id="root" data-app="room" class="mr-app mr-app-fixed"></div>
|
|
23
27
|
<script type="module" src="/ui/assets/app.js"></script>
|
|
24
28
|
</body>
|
|
25
29
|
</html>
|
package/ui/settings.html
CHANGED
|
@@ -7,17 +7,21 @@
|
|
|
7
7
|
<title>Settings — modelroom</title>
|
|
8
8
|
<link rel="stylesheet" href="/ui/modelroom.css">
|
|
9
9
|
<script>
|
|
10
|
-
// Theme before paint:
|
|
10
|
+
// Theme before paint: Mantine reads `data-mantine-color-scheme`, so the first
|
|
11
|
+
// frame is already the right colour and nothing flashes on load.
|
|
11
12
|
try {
|
|
12
13
|
var stored = localStorage.getItem('modelroom.theme');
|
|
13
|
-
document.documentElement.
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
document.documentElement.setAttribute(
|
|
15
|
+
'data-mantine-color-scheme',
|
|
16
|
+
stored
|
|
17
|
+
? JSON.parse(stored)
|
|
18
|
+
: (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light'),
|
|
19
|
+
);
|
|
20
|
+
} catch (error) { /* Mantine falls back to the OS preference */ }
|
|
17
21
|
</script>
|
|
18
22
|
</head>
|
|
19
|
-
<body
|
|
20
|
-
<div id="root" data-app="settings"></div>
|
|
23
|
+
<body>
|
|
24
|
+
<div id="root" data-app="settings" class="mr-app"></div>
|
|
21
25
|
<script type="module" src="/ui/assets/app.js"></script>
|
|
22
26
|
</body>
|
|
23
27
|
</html>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|