hotsheet 0.12.2 → 0.12.3
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/cli.js +17 -17
- package/dist/client/app.global.js +24 -23
- package/dist/client/styles.css +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -17956,6 +17956,15 @@ dashboardRoutes.get("/global-config", async (c) => {
|
|
|
17956
17956
|
const { readGlobalConfig: readGlobalConfig2 } = await Promise.resolve().then(() => (init_global_config(), global_config_exports));
|
|
17957
17957
|
return c.json(readGlobalConfig2());
|
|
17958
17958
|
});
|
|
17959
|
+
dashboardRoutes.patch("/global-config", async (c) => {
|
|
17960
|
+
const body = await c.req.json();
|
|
17961
|
+
if (typeof body !== "object" || body === null || Array.isArray(body)) {
|
|
17962
|
+
return c.json({ error: "Invalid body: expected an object" }, 400);
|
|
17963
|
+
}
|
|
17964
|
+
const { writeGlobalConfig: writeGlobalConfig2 } = await Promise.resolve().then(() => (init_global_config(), global_config_exports));
|
|
17965
|
+
const merged = writeGlobalConfig2(body);
|
|
17966
|
+
return c.json(merged);
|
|
17967
|
+
});
|
|
17959
17968
|
dashboardRoutes.post("/ensure-skills", (c) => {
|
|
17960
17969
|
for (const p of getAllProjects()) {
|
|
17961
17970
|
const projectRoot2 = p.dataDir.replace(/\/.hotsheet\/?$/, "");
|
|
@@ -18735,6 +18744,13 @@ pageRoutes.get("/", (c) => {
|
|
|
18735
18744
|
/* @__PURE__ */ jsx("button", { id: "update-banner-dismiss", className: "btn btn-sm", children: "Later" })
|
|
18736
18745
|
] })
|
|
18737
18746
|
] }),
|
|
18747
|
+
/* @__PURE__ */ jsx("div", { id: "share-banner", className: "share-banner", style: "display:none", children: [
|
|
18748
|
+
/* @__PURE__ */ jsx("span", { children: "Enjoying Hot Sheet? Share it with others!" }),
|
|
18749
|
+
/* @__PURE__ */ jsx("div", { className: "share-banner-actions", children: [
|
|
18750
|
+
/* @__PURE__ */ jsx("button", { id: "share-banner-share", className: "btn btn-sm btn-share", children: "Share" }),
|
|
18751
|
+
/* @__PURE__ */ jsx("button", { id: "share-banner-dismiss", className: "btn btn-sm", children: "Not now" })
|
|
18752
|
+
] })
|
|
18753
|
+
] }),
|
|
18738
18754
|
/* @__PURE__ */ jsx("div", { className: "app-body", children: [
|
|
18739
18755
|
/* @__PURE__ */ jsx("nav", { className: "sidebar", children: [
|
|
18740
18756
|
/* @__PURE__ */ jsx("div", { className: "channel-disconnected-warning", id: "channel-disconnected", style: "display:none", children: "Claude not connected" }),
|
|
@@ -18972,23 +18988,7 @@ pageRoutes.get("/", (c) => {
|
|
|
18972
18988
|
] })
|
|
18973
18989
|
] }),
|
|
18974
18990
|
/* @__PURE__ */ jsx("footer", { className: "app-footer", children: [
|
|
18975
|
-
/* @__PURE__ */ jsx("div", { className: "
|
|
18976
|
-
/* @__PURE__ */ jsx("span", { children: [
|
|
18977
|
-
/* @__PURE__ */ jsx("kbd", { children: "Enter" }),
|
|
18978
|
-
" new ticket"
|
|
18979
|
-
] }),
|
|
18980
|
-
/* @__PURE__ */ jsx("span", { children: [
|
|
18981
|
-
/* @__PURE__ */ jsx("kbd", { children: [
|
|
18982
|
-
"\u2318",
|
|
18983
|
-
"D"
|
|
18984
|
-
] }),
|
|
18985
|
-
" up next"
|
|
18986
|
-
] }),
|
|
18987
|
-
/* @__PURE__ */ jsx("span", { children: [
|
|
18988
|
-
/* @__PURE__ */ jsx("kbd", { children: "Esc" }),
|
|
18989
|
-
" close"
|
|
18990
|
-
] })
|
|
18991
|
-
] }),
|
|
18991
|
+
/* @__PURE__ */ jsx("div", { className: "footer-left", children: /* @__PURE__ */ jsx("a", { href: "#", id: "share-link", className: "share-link", children: "Know someone who'd love this? Share Hot Sheet" }) }),
|
|
18992
18992
|
/* @__PURE__ */ jsx("div", { className: "status-bar-right", children: [
|
|
18993
18993
|
/* @__PURE__ */ jsx("div", { id: "status-bar", className: "status-bar" }),
|
|
18994
18994
|
/* @__PURE__ */ jsx("button", { id: "command-log-btn", className: "command-log-btn", title: "Commands Log", children: [
|