@frumu/tandem-panel 0.4.30 → 0.4.31
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/dist/assets/{index-AgRnRoIi.css → index-Bk_1J3q1.css} +1 -1
- package/dist/assets/{index-Cw_S6Xqs.js → index-Cm325d0n.js} +53 -53
- package/dist/index.html +2 -2
- package/lib/setup/control-panel-config.js +17 -0
- package/package.json +2 -2
- package/server/routes/capabilities.js +10 -0
- package/server/routes/control-panel-config.js +10 -0
package/dist/index.html
CHANGED
|
@@ -11,14 +11,14 @@
|
|
|
11
11
|
href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600&family=Rubik:wght@500;700;800&family=Manrope:wght@400;500;600;700&display=swap"
|
|
12
12
|
rel="stylesheet"
|
|
13
13
|
/>
|
|
14
|
-
<script type="module" crossorigin src="/assets/index-
|
|
14
|
+
<script type="module" crossorigin src="/assets/index-Cm325d0n.js"></script>
|
|
15
15
|
<link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-Dgq8h090.js">
|
|
16
16
|
<link rel="modulepreload" crossorigin href="/assets/motion-CDTIPPIC.js">
|
|
17
17
|
<link rel="modulepreload" crossorigin href="/assets/react-query-KP80i6J5.js">
|
|
18
18
|
<link rel="modulepreload" crossorigin href="/assets/preact-vendor-DunqJIIk.js">
|
|
19
19
|
<link rel="modulepreload" crossorigin href="/assets/vendor-DwUHlh0G.js">
|
|
20
20
|
<link rel="modulepreload" crossorigin href="/assets/markdown-Dd89TVib.js">
|
|
21
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
21
|
+
<link rel="stylesheet" crossorigin href="/assets/index-Bk_1J3q1.css">
|
|
22
22
|
</head>
|
|
23
23
|
<body>
|
|
24
24
|
<div id="app"></div>
|
|
@@ -21,6 +21,22 @@ const DEFAULT_CONTROL_PANEL_CONFIG = {
|
|
|
21
21
|
update_policy: "notify",
|
|
22
22
|
engine_command: "scripts/tandem-engine-serve.sh",
|
|
23
23
|
},
|
|
24
|
+
hosted: {
|
|
25
|
+
managed: false,
|
|
26
|
+
provider: "",
|
|
27
|
+
deployment_id: "",
|
|
28
|
+
deployment_slug: "",
|
|
29
|
+
hostname: "",
|
|
30
|
+
public_url: "",
|
|
31
|
+
control_plane_url: "",
|
|
32
|
+
release_version: "",
|
|
33
|
+
release_channel: "",
|
|
34
|
+
engine_image: "",
|
|
35
|
+
aca_image: "",
|
|
36
|
+
control_panel_image: "",
|
|
37
|
+
proxy_image: "",
|
|
38
|
+
update_policy: "manual",
|
|
39
|
+
},
|
|
24
40
|
task_source: {
|
|
25
41
|
type: "kanban_board",
|
|
26
42
|
owner: "",
|
|
@@ -179,6 +195,7 @@ function summarizeControlPanelConfig(config) {
|
|
|
179
195
|
}
|
|
180
196
|
return {
|
|
181
197
|
...normalized,
|
|
198
|
+
hosted: normalized.hosted || {},
|
|
182
199
|
missing,
|
|
183
200
|
ready: missing.length === 0,
|
|
184
201
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frumu/tandem-panel",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.31",
|
|
4
4
|
"description": "Full web control center for Tandem Engine (chat, routines, swarm, memory, channels, and ops)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"yaml": "^2.8.2"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@preact/preset-vite": "^2.10.
|
|
61
|
+
"@preact/preset-vite": "^2.10.5",
|
|
62
62
|
"@tailwindcss/forms": "^0.5.11",
|
|
63
63
|
"@types/react": "^19.2.14",
|
|
64
64
|
"@types/react-dom": "^19.2.3",
|
|
@@ -166,6 +166,16 @@ export function createCapabilitiesHandler(deps) {
|
|
|
166
166
|
? installProfile.control_panel_config_missing
|
|
167
167
|
: [],
|
|
168
168
|
control_panel_compact_nav: !!installProfile?.control_panel_compact_nav,
|
|
169
|
+
hosted_managed: installProfile?.hosted_managed === true,
|
|
170
|
+
hosted_provider: installProfile?.hosted_provider || "",
|
|
171
|
+
hosted_deployment_id: installProfile?.hosted_deployment_id || "",
|
|
172
|
+
hosted_deployment_slug: installProfile?.hosted_deployment_slug || "",
|
|
173
|
+
hosted_hostname: installProfile?.hosted_hostname || "",
|
|
174
|
+
hosted_public_url: installProfile?.hosted_public_url || "",
|
|
175
|
+
hosted_control_plane_url: installProfile?.hosted_control_plane_url || "",
|
|
176
|
+
hosted_release_version: installProfile?.hosted_release_version || "",
|
|
177
|
+
hosted_release_channel: installProfile?.hosted_release_channel || "",
|
|
178
|
+
hosted_update_policy: installProfile?.hosted_update_policy || "",
|
|
169
179
|
_internal: {
|
|
170
180
|
capability_detect_duration_ms: durationMs,
|
|
171
181
|
},
|
|
@@ -64,6 +64,16 @@ export function createControlPanelConfigHandler(deps) {
|
|
|
64
64
|
control_panel_config_ready: summary.ready,
|
|
65
65
|
control_panel_config_missing: summary.missing,
|
|
66
66
|
control_panel_compact_nav: !!summary.control_panel?.aca_compact_nav,
|
|
67
|
+
hosted_managed: summary.hosted?.managed === true,
|
|
68
|
+
hosted_provider: String(summary.hosted?.provider || "").trim(),
|
|
69
|
+
hosted_deployment_id: String(summary.hosted?.deployment_id || "").trim(),
|
|
70
|
+
hosted_deployment_slug: String(summary.hosted?.deployment_slug || "").trim(),
|
|
71
|
+
hosted_hostname: String(summary.hosted?.hostname || "").trim(),
|
|
72
|
+
hosted_public_url: String(summary.hosted?.public_url || "").trim(),
|
|
73
|
+
hosted_control_plane_url: String(summary.hosted?.control_plane_url || "").trim(),
|
|
74
|
+
hosted_release_version: String(summary.hosted?.release_version || "").trim(),
|
|
75
|
+
hosted_release_channel: String(summary.hosted?.release_channel || "").trim(),
|
|
76
|
+
hosted_update_policy: String(summary.hosted?.update_policy || "").trim(),
|
|
67
77
|
config: summary,
|
|
68
78
|
};
|
|
69
79
|
}
|