@tensorix/metahub 0.1.7 → 0.1.8

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.
@@ -1 +1 @@
1
- {"version":3,"file":"webui.d.ts","sourceRoot":"","sources":["../../../src/core/sync/webui.ts"],"names":[],"mappings":"AAgvBA;;;8EAG8E;AAC9E,wBAAgB,cAAc,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAE/C;AAoBD;;;;2EAI2E;AAC3E,wBAAsB,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC,CAM/C;AAED;0CAC0C;AAC1C,wBAAsB,UAAU,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC,CAsBvE"}
1
+ {"version":3,"file":"webui.d.ts","sourceRoot":"","sources":["../../../src/core/sync/webui.ts"],"names":[],"mappings":"AA4vBA;;;8EAG8E;AAC9E,wBAAgB,cAAc,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAE/C;AAoBD;;;;2EAI2E;AAC3E,wBAAsB,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC,CAM/C;AAED;0CAC0C;AAC1C,wBAAsB,UAAU,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC,CAsBvE"}
package/dist/index.js CHANGED
@@ -784,6 +784,18 @@ var HTML = `<!doctype html>
784
784
  .btn-primary:hover { filter:brightness(1.07); }
785
785
  .btn-danger { background:var(--danger); color:#fff; } .btn-danger:hover { filter:brightness(1.05); }
786
786
 
787
+ /* desktop app (frameless): drop the sidebar logo; on macOS reserve a draggable
788
+ strip for the inset traffic lights so they never overlap our controls */
789
+ body.desktop .brand { display:none; }
790
+ /* logo gone \u2192 keep the collapse button on the right (where .brand's flex used to push it) */
791
+ body.desktop .sb-head .iconbtn { margin-left:auto; }
792
+ body.desktop-mac .sb-head { -webkit-app-region:drag; }
793
+ body.desktop-mac .sb-head .iconbtn { -webkit-app-region:no-drag; }
794
+ body.desktop-mac .topbar { -webkit-app-region:drag; }
795
+ body.desktop-mac .topbar .iconbtn, body.desktop-mac .topbar .btn { -webkit-app-region:no-drag; }
796
+ /* sidebar collapsed \u2192 traffic lights sit over the main header; clear the hamburger */
797
+ body.desktop-mac .sidebar.collapsed ~ .main .topbar { padding-left:80px; }
798
+
787
799
  /* document editor */
788
800
  .doc { max-width:740px; margin:0 auto; padding:60px 60px 36vh; }
789
801
  .doc-title { font-size:38px; font-weight:700; letter-spacing:-.02em; outline:none; line-height:1.15; margin-bottom:4px; }
@@ -17016,7 +17028,7 @@ function getServerConfig(db) {
17016
17028
  // package.json
17017
17029
  var package_default = {
17018
17030
  name: "@tensorix/metahub",
17019
- version: "0.1.7",
17031
+ version: "0.1.8",
17020
17032
  description: "Metahub core library and CLI",
17021
17033
  license: "AGPL-3.0-only",
17022
17034
  type: "module",
@@ -17053,10 +17065,13 @@ var package_default = {
17053
17065
  citty: "^0.1.6",
17054
17066
  "highlight.js": "^11.11.1",
17055
17067
  preact: "^10.29.2",
17068
+ turndown: "^7.2.4",
17069
+ "turndown-plugin-gfm": "^1.0.2",
17056
17070
  zod: "^4.4.3"
17057
17071
  },
17058
17072
  devDependencies: {
17059
17073
  "@types/bun": "latest",
17074
+ "@types/turndown": "^5.0.6",
17060
17075
  typescript: "^5"
17061
17076
  }
17062
17077
  };
@@ -18105,4 +18120,4 @@ export {
18105
18120
  ChangeSchema
18106
18121
  };
18107
18122
 
18108
- //# debugId=548591A808956A3F64756E2164756E21
18123
+ //# debugId=D4C8ECDF76A598A964756E2164756E21