@mindexec/cli 0.2.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.
Files changed (232) hide show
  1. package/README.md +275 -0
  2. package/codex-runtime.js +960 -0
  3. package/launch-bridge.cjs +162 -0
  4. package/package.json +61 -0
  5. package/port-guard.cjs +232 -0
  6. package/scripts/setup-tree-sitter-grammars.mjs +59 -0
  7. package/server.js +8422 -0
  8. package/start-bridge.bat +32 -0
  9. package/start-bridge.sh +81 -0
  10. package/tree-sitter-grammars/README.md +18 -0
  11. package/tree-sitter-grammars/tree-sitter-c_sharp.wasm +0 -0
  12. package/tree-sitter-grammars/tree-sitter-go.wasm +0 -0
  13. package/tree-sitter-grammars/tree-sitter-java.wasm +0 -0
  14. package/tree-sitter-grammars/tree-sitter-javascript.wasm +0 -0
  15. package/tree-sitter-grammars/tree-sitter-python.wasm +0 -0
  16. package/tree-sitter-grammars/tree-sitter-rust.wasm +0 -0
  17. package/tree-sitter-grammars/tree-sitter-tsx.wasm +0 -0
  18. package/tree-sitter-grammars/tree-sitter-typescript.wasm +0 -0
  19. package/wwwroot/MindExecution.Web.styles.css +3 -0
  20. package/wwwroot/_content/MindExecution.Plugins.Admin/css/admin-dashboard.css +546 -0
  21. package/wwwroot/_content/MindExecution.Plugins.Directory/MindExecution.Plugins.Directory.u7utcng611.bundle.scp.css +7 -0
  22. package/wwwroot/_content/MindExecution.Plugins.Directory/background.png +0 -0
  23. package/wwwroot/_content/MindExecution.Plugins.Directory/directory-manager.js +202 -0
  24. package/wwwroot/_content/MindExecution.Plugins.Directory/exampleJsInterop.js +6 -0
  25. package/wwwroot/_content/MindExecution.Plugins.YouTube/css/youtube-search.css +251 -0
  26. package/wwwroot/_content/MindExecution.Shared/MindExecution.Shared.wsano1j4wp.bundle.scp.css +4 -0
  27. package/wwwroot/_content/MindExecution.Shared/css/admin-dashboard.css +559 -0
  28. package/wwwroot/_content/MindExecution.Shared/css/app.css +1 -0
  29. package/wwwroot/_content/MindExecution.Shared/css/mind-map-overrides.css +2936 -0
  30. package/wwwroot/_content/MindExecution.Shared/fonts/NotoSansKR-Bold.ttf +0 -0
  31. package/wwwroot/_content/MindExecution.Shared/fonts/NotoSansKR-Regular.ttf +0 -0
  32. package/wwwroot/_content/MindExecution.Shared/js/agent-visualization.js +359 -0
  33. package/wwwroot/_content/MindExecution.Shared/js/background-themes.js +1721 -0
  34. package/wwwroot/_content/MindExecution.Shared/js/code-master.js +8316 -0
  35. package/wwwroot/_content/MindExecution.Shared/js/file-system-helper.js +639 -0
  36. package/wwwroot/_content/MindExecution.Shared/js/helpers/InfiniteGridHelper.js +109 -0
  37. package/wwwroot/_content/MindExecution.Shared/js/marked.min.js +69 -0
  38. package/wwwroot/_content/MindExecution.Shared/js/mind-map-core.js +7982 -0
  39. package/wwwroot/_content/MindExecution.Shared/js/mind-map-core.js.backup +1059 -0
  40. package/wwwroot/_content/MindExecution.Shared/js/mind-map-css3d-manager.js +15803 -0
  41. package/wwwroot/_content/MindExecution.Shared/js/mind-map-dev-guards.js +325 -0
  42. package/wwwroot/_content/MindExecution.Shared/js/mind-map-dnd.js +1430 -0
  43. package/wwwroot/_content/MindExecution.Shared/js/mind-map-dnd.js.bak +434 -0
  44. package/wwwroot/_content/MindExecution.Shared/js/mind-map-glow-shader.js +260 -0
  45. package/wwwroot/_content/MindExecution.Shared/js/mind-map-interactions.js +7640 -0
  46. package/wwwroot/_content/MindExecution.Shared/js/mind-map-lod-plan-worker.js +160 -0
  47. package/wwwroot/_content/MindExecution.Shared/js/mind-map-lod-renderer.js +9923 -0
  48. package/wwwroot/_content/MindExecution.Shared/js/mind-map-logic-workers.js +977 -0
  49. package/wwwroot/_content/MindExecution.Shared/js/mind-map-menu-manager.js +1431 -0
  50. package/wwwroot/_content/MindExecution.Shared/js/mind-map-multi-select.js +1716 -0
  51. package/wwwroot/_content/MindExecution.Shared/js/mind-map-node-search-worker.js +553 -0
  52. package/wwwroot/_content/MindExecution.Shared/js/mind-map-nodes.js +4541 -0
  53. package/wwwroot/_content/MindExecution.Shared/js/mind-map-object-manager.js +489 -0
  54. package/wwwroot/_content/MindExecution.Shared/js/mind-map-object-manager.js.backup +372 -0
  55. package/wwwroot/_content/MindExecution.Shared/js/mind-map-pipeline.js +2075 -0
  56. package/wwwroot/_content/MindExecution.Shared/js/mind-map-text-lod-system.js +646 -0
  57. package/wwwroot/_content/MindExecution.Shared/js/mind-map-text-overlay-v2.js +4323 -0
  58. package/wwwroot/_content/MindExecution.Shared/js/mind-map-texture-factory.js +2260 -0
  59. package/wwwroot/_content/MindExecution.Shared/js/mind-map-texture-factory.js.backup +1258 -0
  60. package/wwwroot/_content/MindExecution.Shared/js/mind-map-visibility-worker.js +890 -0
  61. package/wwwroot/_content/MindExecution.Shared/js/mindmap-toolbar.js +594 -0
  62. package/wwwroot/_content/MindExecution.Shared/js/native-drop-handler.js +170 -0
  63. package/wwwroot/_content/MindExecution.Shared/js/plan-master.js +788 -0
  64. package/wwwroot/_content/MindExecution.Shared/js/renderers/CSS3DRenderer.js +50 -0
  65. package/wwwroot/_content/MindExecution.Shared/js/texture-worker-manager.js +188 -0
  66. package/wwwroot/_content/MindExecution.Shared/js/texture-worker.js +208 -0
  67. package/wwwroot/_content/MindExecution.Shared/js/three.min.js +6 -0
  68. package/wwwroot/_content/MindExecution.Shared/js/titlebar-handler.js +191 -0
  69. package/wwwroot/_content/MindExecution.Shared/js/token-manager.js +37 -0
  70. package/wwwroot/_content/MindExecution.Shared/js/token-worker.js +28 -0
  71. package/wwwroot/_content/MindExecution.Shared/js/troika-bundle.js +5626 -0
  72. package/wwwroot/_content/MindExecution.Shared/js/troika-bundle.js.map +7 -0
  73. package/wwwroot/_content/MindExecution.Shared/lib/font-awesome/css/all.min.css +9 -0
  74. package/wwwroot/_content/MindExecution.Shared/lib/font-awesome/webfonts/fa-brands-400.ttf +0 -0
  75. package/wwwroot/_content/MindExecution.Shared/lib/font-awesome/webfonts/fa-brands-400.woff2 +0 -0
  76. package/wwwroot/_content/MindExecution.Shared/lib/font-awesome/webfonts/fa-regular-400.ttf +0 -0
  77. package/wwwroot/_content/MindExecution.Shared/lib/font-awesome/webfonts/fa-regular-400.woff2 +0 -0
  78. package/wwwroot/_content/MindExecution.Shared/lib/font-awesome/webfonts/fa-solid-900.ttf +0 -0
  79. package/wwwroot/_content/MindExecution.Shared/lib/font-awesome/webfonts/fa-solid-900.woff2 +0 -0
  80. package/wwwroot/_content/MindExecution.Shared/models/all-MiniLM-L6-v2-quantized.onnx +0 -0
  81. package/wwwroot/_content/MindExecution.Shared/models/vocab.txt +30522 -0
  82. package/wwwroot/_framework/Google.Protobuf.9h59ukbel7.dll +0 -0
  83. package/wwwroot/_framework/Markdig.d1j7v41cl1.dll +0 -0
  84. package/wwwroot/_framework/MessagePack.Annotations.l6qv48kgpt.dll +0 -0
  85. package/wwwroot/_framework/MessagePack.eqoptzx9d5.dll +0 -0
  86. package/wwwroot/_framework/Microsoft.AspNetCore.Authorization.k7dsih5y5g.dll +0 -0
  87. package/wwwroot/_framework/Microsoft.AspNetCore.Components.6nyje9sa0g.dll +0 -0
  88. package/wwwroot/_framework/Microsoft.AspNetCore.Components.Authorization.iycd6unprw.dll +0 -0
  89. package/wwwroot/_framework/Microsoft.AspNetCore.Components.Web.487u3twia4.dll +0 -0
  90. package/wwwroot/_framework/Microsoft.AspNetCore.Components.WebAssembly.d0gcnmlxxz.dll +0 -0
  91. package/wwwroot/_framework/Microsoft.AspNetCore.Metadata.h4yevl9adi.dll +0 -0
  92. package/wwwroot/_framework/Microsoft.CSharp.qrvp77qmhs.dll +0 -0
  93. package/wwwroot/_framework/Microsoft.Data.Sqlite.jdlxgv2jtg.dll +0 -0
  94. package/wwwroot/_framework/Microsoft.EntityFrameworkCore.4gjazp7kjf.dll +0 -0
  95. package/wwwroot/_framework/Microsoft.EntityFrameworkCore.Abstractions.gocudnvz7b.dll +0 -0
  96. package/wwwroot/_framework/Microsoft.EntityFrameworkCore.Relational.lt4rsvinuo.dll +0 -0
  97. package/wwwroot/_framework/Microsoft.EntityFrameworkCore.Sqlite.69luj0fa9r.dll +0 -0
  98. package/wwwroot/_framework/Microsoft.Extensions.Caching.Abstractions.364t4jh3zz.dll +0 -0
  99. package/wwwroot/_framework/Microsoft.Extensions.Caching.Memory.izlxhpzosu.dll +0 -0
  100. package/wwwroot/_framework/Microsoft.Extensions.Configuration.8zq7hh41o7.dll +0 -0
  101. package/wwwroot/_framework/Microsoft.Extensions.Configuration.Abstractions.8if74zs6ea.dll +0 -0
  102. package/wwwroot/_framework/Microsoft.Extensions.Configuration.Json.duvlngw8i0.dll +0 -0
  103. package/wwwroot/_framework/Microsoft.Extensions.DependencyInjection.Abstractions.t2hh9kvx0o.dll +0 -0
  104. package/wwwroot/_framework/Microsoft.Extensions.DependencyInjection.n4tg99oy8l.dll +0 -0
  105. package/wwwroot/_framework/Microsoft.Extensions.DependencyModel.h0d06ixk3e.dll +0 -0
  106. package/wwwroot/_framework/Microsoft.Extensions.Logging.Abstractions.rl32bkx2sd.dll +0 -0
  107. package/wwwroot/_framework/Microsoft.Extensions.Logging.dlht1xei0t.dll +0 -0
  108. package/wwwroot/_framework/Microsoft.Extensions.Options.qeunebioml.dll +0 -0
  109. package/wwwroot/_framework/Microsoft.Extensions.Primitives.18cr6vnuuz.dll +0 -0
  110. package/wwwroot/_framework/Microsoft.IO.RecyclableMemoryStream.r915vovvw4.dll +0 -0
  111. package/wwwroot/_framework/Microsoft.IdentityModel.Abstractions.1ejljk3erv.dll +0 -0
  112. package/wwwroot/_framework/Microsoft.IdentityModel.JsonWebTokens.1596zr8gne.dll +0 -0
  113. package/wwwroot/_framework/Microsoft.IdentityModel.Logging.229uyvpgio.dll +0 -0
  114. package/wwwroot/_framework/Microsoft.IdentityModel.Tokens.9sibtajc9f.dll +0 -0
  115. package/wwwroot/_framework/Microsoft.JSInterop.17lq4j1j7g.dll +0 -0
  116. package/wwwroot/_framework/Microsoft.JSInterop.WebAssembly.ryia5gxiad.dll +0 -0
  117. package/wwwroot/_framework/Microsoft.ML.OnnxRuntime.w9deo1m5ss.dll +0 -0
  118. package/wwwroot/_framework/Microsoft.ML.Tokenizers.cm2vuv2z61.dll +0 -0
  119. package/wwwroot/_framework/Microsoft.NET.StringTools.3qbrf4v2ki.dll +0 -0
  120. package/wwwroot/_framework/MimeMapping.og9ys58ylm.dll +0 -0
  121. package/wwwroot/_framework/MindExecution.Core.1q1trifbuu.dll +0 -0
  122. package/wwwroot/_framework/MindExecution.Kernel.gwwc40sc45.dll +0 -0
  123. package/wwwroot/_framework/MindExecution.Plugins.Admin.0jgrn1sckv.dll +0 -0
  124. package/wwwroot/_framework/MindExecution.Plugins.Business.13mme2qcag.dll +0 -0
  125. package/wwwroot/_framework/MindExecution.Plugins.Concept.dfp2mdt45q.dll +0 -0
  126. package/wwwroot/_framework/MindExecution.Plugins.Directory.3w4t6n3se0.dll +0 -0
  127. package/wwwroot/_framework/MindExecution.Plugins.PlanMaster.s0qpntz420.dll +0 -0
  128. package/wwwroot/_framework/MindExecution.Plugins.YouTube.iu11fq8d16.dll +0 -0
  129. package/wwwroot/_framework/MindExecution.Shared.7j27dcqnrc.dll +0 -0
  130. package/wwwroot/_framework/MindExecution.Web.pq1ty8ov2v.dll +0 -0
  131. package/wwwroot/_framework/Newtonsoft.Json.a56zs13vug.dll +0 -0
  132. package/wwwroot/_framework/SQLitePCLRaw.batteries_v2.rrd1nzawpp.dll +0 -0
  133. package/wwwroot/_framework/SQLitePCLRaw.core.1dxloztpfz.dll +0 -0
  134. package/wwwroot/_framework/SQLitePCLRaw.provider.e_sqlite3.oekyzl53i1.dll +0 -0
  135. package/wwwroot/_framework/Supabase.Core.s1pkj4aj0l.dll +0 -0
  136. package/wwwroot/_framework/Supabase.Functions.qz4nu782sg.dll +0 -0
  137. package/wwwroot/_framework/Supabase.Gotrue.twah27pkik.dll +0 -0
  138. package/wwwroot/_framework/Supabase.Postgrest.gmuuv369ih.dll +0 -0
  139. package/wwwroot/_framework/Supabase.Realtime.ox3kchdy3w.dll +0 -0
  140. package/wwwroot/_framework/Supabase.Storage.fnjnepaowr.dll +0 -0
  141. package/wwwroot/_framework/Supabase.azmaw5pgcz.dll +0 -0
  142. package/wwwroot/_framework/System.Collections.Concurrent.y1zmvuyipi.dll +0 -0
  143. package/wwwroot/_framework/System.Collections.Immutable.ug3j698qms.dll +0 -0
  144. package/wwwroot/_framework/System.Collections.NonGeneric.h66hj3863h.dll +0 -0
  145. package/wwwroot/_framework/System.Collections.Specialized.umr3y27ntj.dll +0 -0
  146. package/wwwroot/_framework/System.Collections.x53e19vfsj.dll +0 -0
  147. package/wwwroot/_framework/System.ComponentModel.Annotations.tz6gnt4ebt.dll +0 -0
  148. package/wwwroot/_framework/System.ComponentModel.Primitives.j7tiphu4rg.dll +0 -0
  149. package/wwwroot/_framework/System.ComponentModel.TypeConverter.ujlztox1gx.dll +0 -0
  150. package/wwwroot/_framework/System.ComponentModel.x9xz0ojfb6.dll +0 -0
  151. package/wwwroot/_framework/System.Console.ijzpqmj7ne.dll +0 -0
  152. package/wwwroot/_framework/System.Data.Common.1r0sqffq1p.dll +0 -0
  153. package/wwwroot/_framework/System.Diagnostics.DiagnosticSource.9upoqwq09o.dll +0 -0
  154. package/wwwroot/_framework/System.Diagnostics.Process.m99azzntjm.dll +0 -0
  155. package/wwwroot/_framework/System.Diagnostics.TraceSource.pl7wv26myr.dll +0 -0
  156. package/wwwroot/_framework/System.Diagnostics.Tracing.crlhfx6tut.dll +0 -0
  157. package/wwwroot/_framework/System.Drawing.Primitives.22e4y9ikq9.dll +0 -0
  158. package/wwwroot/_framework/System.Drawing.mi7d8hwowb.dll +0 -0
  159. package/wwwroot/_framework/System.Formats.Asn1.jx23sjiqnn.dll +0 -0
  160. package/wwwroot/_framework/System.IO.Compression.6fyoii3uej.dll +0 -0
  161. package/wwwroot/_framework/System.IO.Pipelines.vg77t4cd4d.dll +0 -0
  162. package/wwwroot/_framework/System.IdentityModel.Tokens.Jwt.t67es60z5b.dll +0 -0
  163. package/wwwroot/_framework/System.Linq.1bkoxlqgmq.dll +0 -0
  164. package/wwwroot/_framework/System.Linq.Expressions.24xqiypwdt.dll +0 -0
  165. package/wwwroot/_framework/System.Linq.Queryable.hvd01d6rsa.dll +0 -0
  166. package/wwwroot/_framework/System.Memory.8dx3lwgym4.dll +0 -0
  167. package/wwwroot/_framework/System.Net.Http.Json.3mhdm9l1rf.dll +0 -0
  168. package/wwwroot/_framework/System.Net.Http.eitrz660my.dll +0 -0
  169. package/wwwroot/_framework/System.Net.NetworkInformation.3pkuofcv9r.dll +0 -0
  170. package/wwwroot/_framework/System.Net.Ping.8clj5pklrp.dll +0 -0
  171. package/wwwroot/_framework/System.Net.Primitives.qrp4wcjz1p.dll +0 -0
  172. package/wwwroot/_framework/System.Net.WebSockets.Client.2u6pv01g69.dll +0 -0
  173. package/wwwroot/_framework/System.Net.WebSockets.qp6u31zvm5.dll +0 -0
  174. package/wwwroot/_framework/System.Numerics.Tensors.0c7z4mt3on.dll +0 -0
  175. package/wwwroot/_framework/System.Numerics.Vectors.kc7ufp2j4l.dll +0 -0
  176. package/wwwroot/_framework/System.ObjectModel.qv82fot1ib.dll +0 -0
  177. package/wwwroot/_framework/System.Private.CoreLib.rkafq04oma.dll +0 -0
  178. package/wwwroot/_framework/System.Private.Uri.t9542hmr6j.dll +0 -0
  179. package/wwwroot/_framework/System.Private.Xml.Linq.n8n3ptrbwu.dll +0 -0
  180. package/wwwroot/_framework/System.Private.Xml.rxd3tytisn.dll +0 -0
  181. package/wwwroot/_framework/System.Reactive.t3fuon548l.dll +0 -0
  182. package/wwwroot/_framework/System.Reflection.Emit.9tjhp6y0j3.dll +0 -0
  183. package/wwwroot/_framework/System.Reflection.Emit.ILGeneration.stxyk8zoo1.dll +0 -0
  184. package/wwwroot/_framework/System.Reflection.Emit.Lightweight.6xrd5v8vg0.dll +0 -0
  185. package/wwwroot/_framework/System.Reflection.Primitives.wgn8fpwwvv.dll +0 -0
  186. package/wwwroot/_framework/System.Runtime.InteropServices.JavaScript.sliym526xh.dll +0 -0
  187. package/wwwroot/_framework/System.Runtime.InteropServices.RuntimeInformation.oji7zut14z.dll +0 -0
  188. package/wwwroot/_framework/System.Runtime.InteropServices.te07xr2we9.dll +0 -0
  189. package/wwwroot/_framework/System.Runtime.Intrinsics.507y4h8nzq.dll +0 -0
  190. package/wwwroot/_framework/System.Runtime.Loader.v7gk4bse0k.dll +0 -0
  191. package/wwwroot/_framework/System.Runtime.Numerics.eqy5xjv3nd.dll +0 -0
  192. package/wwwroot/_framework/System.Runtime.Serialization.Formatters.zpkrub8lab.dll +0 -0
  193. package/wwwroot/_framework/System.Runtime.Serialization.Primitives.vhkpnbxjip.dll +0 -0
  194. package/wwwroot/_framework/System.Runtime.jn319d5nyg.dll +0 -0
  195. package/wwwroot/_framework/System.Security.Claims.0ztig1q9vo.dll +0 -0
  196. package/wwwroot/_framework/System.Security.Cryptography.vttizqc9ho.dll +0 -0
  197. package/wwwroot/_framework/System.Text.Encoding.Extensions.utdd47ny8f.dll +0 -0
  198. package/wwwroot/_framework/System.Text.Encodings.Web.wah8r1zoe0.dll +0 -0
  199. package/wwwroot/_framework/System.Text.Json.kxlfxj0wrs.dll +0 -0
  200. package/wwwroot/_framework/System.Text.RegularExpressions.dbqn58klox.dll +0 -0
  201. package/wwwroot/_framework/System.Threading.42ao9vi047.dll +0 -0
  202. package/wwwroot/_framework/System.Threading.Channels.hfa7j0uv2w.dll +0 -0
  203. package/wwwroot/_framework/System.Threading.Thread.caul0pdqul.dll +0 -0
  204. package/wwwroot/_framework/System.Transactions.Local.fimi2hamzo.dll +0 -0
  205. package/wwwroot/_framework/System.Web.HttpUtility.gq8yz50p2e.dll +0 -0
  206. package/wwwroot/_framework/System.Xml.Linq.kitin4zjoj.dll +0 -0
  207. package/wwwroot/_framework/System.Xml.ReaderWriter.kzvw3qgxb0.dll +0 -0
  208. package/wwwroot/_framework/System.Xml.XDocument.c539ki6cuq.dll +0 -0
  209. package/wwwroot/_framework/System.m05i39uvk9.dll +0 -0
  210. package/wwwroot/_framework/Websocket.Client.vapounvmnl.dll +0 -0
  211. package/wwwroot/_framework/blazor.boot.json +305 -0
  212. package/wwwroot/_framework/blazor.webassembly.js +1 -0
  213. package/wwwroot/_framework/dotnet.js +4 -0
  214. package/wwwroot/_framework/dotnet.native.vz0adxojrz.wasm +0 -0
  215. package/wwwroot/_framework/dotnet.native.xsn1d6x2kd.js +16 -0
  216. package/wwwroot/_framework/dotnet.runtime.dstopyvqzi.js +4 -0
  217. package/wwwroot/_framework/icudt_CJK.tjcz0u77k5.dat +0 -0
  218. package/wwwroot/_framework/icudt_EFIGS.tptq2av103.dat +0 -0
  219. package/wwwroot/_framework/icudt_no_CJK.lfu7j35m59.dat +0 -0
  220. package/wwwroot/_framework/netstandard.0xet7jg7ky.dll +0 -0
  221. package/wwwroot/_headers +40 -0
  222. package/wwwroot/_redirects +1 -0
  223. package/wwwroot/appsettings.json +71 -0
  224. package/wwwroot/icon-192.png +0 -0
  225. package/wwwroot/icon-512.png +0 -0
  226. package/wwwroot/index.html +710 -0
  227. package/wwwroot/js/marketing-tool.js +180 -0
  228. package/wwwroot/manifest.webmanifest +22 -0
  229. package/wwwroot/robots.txt +4 -0
  230. package/wwwroot/service-worker-assets.js +857 -0
  231. package/wwwroot/service-worker.js +33 -0
  232. package/wwwroot/sitemap.xml +27 -0
@@ -0,0 +1,32 @@
1
+ @echo off
2
+ setlocal EnableExtensions EnableDelayedExpansion
3
+
4
+ echo ================================
5
+ echo MindExec Local Bridge
6
+ echo ================================
7
+ echo.
8
+
9
+ cd /d "%~dp0"
10
+
11
+ if "%WORKSPACE_PATH%"=="" (
12
+ for %%I in ("%~dp0..") do set "WORKSPACE_PATH=%%~fI"
13
+ )
14
+
15
+ if "%BRIDGE_PORT%"=="" (
16
+ set "BRIDGE_PORT=5147"
17
+ )
18
+
19
+ if not exist "node_modules" (
20
+ echo Installing dependencies...
21
+ npm install
22
+ echo.
23
+ )
24
+
25
+ echo Starting bridge server...
26
+ echo Workspace: %WORKSPACE_PATH%
27
+ echo Port: %BRIDGE_PORT%
28
+ echo.
29
+ node launch-bridge.cjs
30
+
31
+ pause
32
+ goto :eof
@@ -0,0 +1,81 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+
4
+ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd -P)"
5
+ cd "$SCRIPT_DIR"
6
+
7
+ echo "================================"
8
+ echo "MindExec Local Bridge"
9
+ echo "================================"
10
+ echo
11
+
12
+ if ! command -v node >/dev/null 2>&1; then
13
+ echo "Node.js is required. Install Node.js 20+ and try again."
14
+ exit 1
15
+ fi
16
+
17
+ if ! command -v npm >/dev/null 2>&1; then
18
+ echo "npm is required. Install Node.js/npm and try again."
19
+ exit 1
20
+ fi
21
+
22
+ normalize_dir_path() {
23
+ local target="${1:-}"
24
+ if [[ -n "$target" && -d "$target" ]]; then
25
+ (cd "$target" && pwd -P)
26
+ else
27
+ printf '%s' "$target"
28
+ fi
29
+ }
30
+
31
+ WORKSPACE_PATH="${WORKSPACE_PATH:-$(cd "$SCRIPT_DIR/.." && pwd -P)}"
32
+ WORKSPACE_PATH="$(normalize_dir_path "$WORKSPACE_PATH")"
33
+ BRIDGE_PORT="${BRIDGE_PORT:-5147}"
34
+ RUNTIME_MARKER_FILE=".bridge-runtime"
35
+ CURRENT_RUNTIME="$(node -p "process.platform + '-' + process.arch")"
36
+
37
+ ensure_dependencies() {
38
+ local needs_install="false"
39
+ local reason=""
40
+
41
+ if [[ ! -d "node_modules" ]]; then
42
+ needs_install="true"
43
+ reason="node_modules not found"
44
+ elif [[ ! -f "$RUNTIME_MARKER_FILE" ]]; then
45
+ needs_install="true"
46
+ reason="runtime marker missing"
47
+ else
48
+ local recorded_runtime
49
+ recorded_runtime="$(tr -d '\r\n' < "$RUNTIME_MARKER_FILE" 2>/dev/null || true)"
50
+ if [[ "$recorded_runtime" != "$CURRENT_RUNTIME" ]]; then
51
+ needs_install="true"
52
+ reason="runtime changed (${recorded_runtime:-unknown} -> $CURRENT_RUNTIME)"
53
+ fi
54
+ fi
55
+
56
+ if [[ "$needs_install" != "true" ]]; then
57
+ return
58
+ fi
59
+
60
+ echo "Installing bridge dependencies..."
61
+ if [[ -n "$reason" ]]; then
62
+ echo "Reason: $reason"
63
+ fi
64
+
65
+ rm -rf node_modules
66
+ npm install
67
+ printf '%s\n' "$CURRENT_RUNTIME" > "$RUNTIME_MARKER_FILE"
68
+ echo
69
+ }
70
+
71
+ ensure_dependencies
72
+
73
+ echo "Starting bridge server..."
74
+ echo "Workspace: $WORKSPACE_PATH"
75
+ echo "Port: $BRIDGE_PORT"
76
+ echo
77
+
78
+ export WORKSPACE_PATH
79
+ export BRIDGE_PORT
80
+
81
+ node launch-bridge.cjs
@@ -0,0 +1,18 @@
1
+ # Tree-sitter WASM Grammars
2
+
3
+ Put language grammar `.wasm` files in this folder.
4
+
5
+ Expected filenames used by `server.js`:
6
+
7
+ - `tree-sitter-javascript.wasm`
8
+ - `tree-sitter-typescript.wasm`
9
+ - `tree-sitter-tsx.wasm`
10
+ - `tree-sitter-c_sharp.wasm`
11
+ - `tree-sitter-python.wasm`
12
+ - `tree-sitter-java.wasm`
13
+ - `tree-sitter-go.wasm`
14
+ - `tree-sitter-rust.wasm`
15
+
16
+ Run `npm run setup:grammars` in `LocalBridge/` to copy these files automatically from `tree-sitter-wasms`.
17
+
18
+ If a grammar is missing, the bridge falls back to lightweight regex parsing for that language.
@@ -0,0 +1,3 @@
1
+ @import '_content/MindExecution.Plugins.Directory/MindExecution.Plugins.Directory.u7utcng611.bundle.scp.css';
2
+ @import '_content/MindExecution.Shared/MindExecution.Shared.wsano1j4wp.bundle.scp.css';
3
+
@@ -0,0 +1,546 @@
1
+ .admin-dashboard-shell {
2
+ max-width: 1400px;
3
+ margin: 0 auto;
4
+ padding: 14px 24px 24px;
5
+ color: #e5e7eb;
6
+ }
7
+
8
+ .admin-dashboard-header {
9
+ display: flex;
10
+ justify-content: space-between;
11
+ gap: 24px;
12
+ align-items: flex-start;
13
+ margin-bottom: 18px;
14
+ }
15
+
16
+ .eyebrow {
17
+ font-size: 0.75rem;
18
+ text-transform: uppercase;
19
+ letter-spacing: 0.08em;
20
+ color: #93c5fd;
21
+ margin-bottom: 8px;
22
+ }
23
+
24
+ .admin-dashboard-header h1 {
25
+ margin: 0;
26
+ font-size: 2rem;
27
+ color: #f8fafc;
28
+ }
29
+
30
+ .dashboard-subtitle {
31
+ margin: 8px 0 0;
32
+ color: #94a3b8;
33
+ max-width: 720px;
34
+ }
35
+
36
+ .header-actions {
37
+ display: flex;
38
+ flex-wrap: wrap;
39
+ justify-content: flex-end;
40
+ gap: 10px;
41
+ }
42
+
43
+ .admin-dashboard-badge,
44
+ .meta-chip,
45
+ .status-pill,
46
+ .tag {
47
+ display: inline-flex;
48
+ align-items: center;
49
+ gap: 8px;
50
+ border-radius: 999px;
51
+ padding: 8px 12px;
52
+ font-size: 0.8125rem;
53
+ line-height: 1;
54
+ white-space: nowrap;
55
+ }
56
+
57
+ .admin-dashboard-badge {
58
+ background: rgba(59, 130, 246, 0.16);
59
+ border: 1px solid rgba(59, 130, 246, 0.3);
60
+ color: #bfdbfe;
61
+ text-transform: capitalize;
62
+ }
63
+
64
+ .meta-chip,
65
+ .status-pill,
66
+ .tag {
67
+ background: rgba(15, 23, 42, 0.65);
68
+ border: 1px solid rgba(148, 163, 184, 0.18);
69
+ color: #cbd5e1;
70
+ }
71
+
72
+ .status-strip {
73
+ display: flex;
74
+ flex-wrap: wrap;
75
+ gap: 10px;
76
+ margin-bottom: 18px;
77
+ }
78
+
79
+ .status-pill.accent {
80
+ border-color: rgba(34, 197, 94, 0.24);
81
+ color: #bbf7d0;
82
+ }
83
+
84
+ .alert-stack {
85
+ display: flex;
86
+ flex-direction: column;
87
+ gap: 10px;
88
+ margin-bottom: 18px;
89
+ }
90
+
91
+ .admin-alert-banner {
92
+ display: flex;
93
+ gap: 12px;
94
+ align-items: flex-start;
95
+ border-radius: 10px;
96
+ padding: 14px 16px;
97
+ border: 1px solid transparent;
98
+ }
99
+
100
+ .admin-alert-banner.warning {
101
+ background: rgba(245, 158, 11, 0.12);
102
+ border-color: rgba(245, 158, 11, 0.25);
103
+ color: #fcd34d;
104
+ }
105
+
106
+ .admin-alert-banner.critical {
107
+ background: rgba(239, 68, 68, 0.12);
108
+ border-color: rgba(239, 68, 68, 0.25);
109
+ color: #fca5a5;
110
+ }
111
+
112
+ .dashboard-tabs {
113
+ display: flex;
114
+ flex-wrap: wrap;
115
+ gap: 8px;
116
+ margin-bottom: 20px;
117
+ }
118
+
119
+ .tab-button {
120
+ display: inline-flex;
121
+ align-items: center;
122
+ gap: 8px;
123
+ padding: 10px 14px;
124
+ border-radius: 10px;
125
+ border: 1px solid rgba(148, 163, 184, 0.18);
126
+ background: rgba(15, 23, 42, 0.6);
127
+ color: #cbd5e1;
128
+ cursor: pointer;
129
+ transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
130
+ }
131
+
132
+ .tab-button:hover {
133
+ border-color: rgba(96, 165, 250, 0.4);
134
+ color: #eff6ff;
135
+ }
136
+
137
+ .tab-button.active {
138
+ background: rgba(37, 99, 235, 0.2);
139
+ border-color: rgba(96, 165, 250, 0.5);
140
+ color: #eff6ff;
141
+ }
142
+
143
+ .admin-kpi-grid {
144
+ display: grid;
145
+ grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
146
+ gap: 12px;
147
+ margin-bottom: 20px;
148
+ }
149
+
150
+ .admin-kpi-card,
151
+ .panel,
152
+ .admin-dashboard-access-card {
153
+ background: rgba(15, 23, 42, 0.72);
154
+ border: 1px solid rgba(148, 163, 184, 0.16);
155
+ border-radius: 10px;
156
+ }
157
+
158
+ .admin-kpi-card {
159
+ min-height: 108px;
160
+ padding: 16px;
161
+ display: flex;
162
+ flex-direction: column;
163
+ justify-content: space-between;
164
+ }
165
+
166
+ .admin-kpi-label {
167
+ color: #94a3b8;
168
+ font-size: 0.8125rem;
169
+ }
170
+
171
+ .admin-kpi-value {
172
+ font-size: 1.45rem;
173
+ font-weight: 700;
174
+ color: #f8fafc;
175
+ }
176
+
177
+ .panel-grid {
178
+ display: grid;
179
+ gap: 16px;
180
+ margin-bottom: 16px;
181
+ }
182
+
183
+ .panel-grid.two-up {
184
+ grid-template-columns: repeat(2, minmax(0, 1fr));
185
+ }
186
+
187
+ .panel-grid.three-up {
188
+ grid-template-columns: repeat(3, minmax(0, 1fr));
189
+ }
190
+
191
+ .panel {
192
+ padding: 18px;
193
+ margin-bottom: 16px;
194
+ }
195
+
196
+ .panel-header {
197
+ display: flex;
198
+ justify-content: space-between;
199
+ gap: 12px;
200
+ align-items: center;
201
+ margin-bottom: 14px;
202
+ }
203
+
204
+ .panel-header h3 {
205
+ margin: 0;
206
+ font-size: 1rem;
207
+ color: #f8fafc;
208
+ }
209
+
210
+ .panel-note {
211
+ font-size: 0.8125rem;
212
+ color: #94a3b8;
213
+ }
214
+
215
+ .metric-list {
216
+ display: flex;
217
+ flex-direction: column;
218
+ gap: 10px;
219
+ }
220
+
221
+ .metric-list.compact {
222
+ gap: 8px;
223
+ }
224
+
225
+ .metric-row,
226
+ .goal-row {
227
+ display: flex;
228
+ justify-content: space-between;
229
+ gap: 12px;
230
+ align-items: center;
231
+ }
232
+
233
+ .metric-row span,
234
+ .goal-row span {
235
+ color: #cbd5e1;
236
+ }
237
+
238
+ .metric-row strong,
239
+ .goal-row strong {
240
+ color: #f8fafc;
241
+ text-align: right;
242
+ }
243
+
244
+ .admin-mini-chart {
245
+ display: flex;
246
+ align-items: flex-end;
247
+ gap: 8px;
248
+ height: 180px;
249
+ padding: 8px 4px 26px;
250
+ }
251
+
252
+ .admin-bar-item {
253
+ flex: 1;
254
+ display: flex;
255
+ flex-direction: column;
256
+ align-items: center;
257
+ justify-content: flex-end;
258
+ min-width: 0;
259
+ height: 100%;
260
+ position: relative;
261
+ }
262
+
263
+ .admin-bar-item .bar {
264
+ width: 100%;
265
+ max-width: 22px;
266
+ border-radius: 6px 6px 0 0;
267
+ background: linear-gradient(180deg, #60a5fa, #2563eb);
268
+ }
269
+
270
+ .admin-revenue-chart .bar {
271
+ background: linear-gradient(180deg, #34d399, #059669);
272
+ }
273
+
274
+ .bar-label {
275
+ position: absolute;
276
+ bottom: -22px;
277
+ font-size: 0.68rem;
278
+ color: #94a3b8;
279
+ transform: rotate(-45deg);
280
+ transform-origin: left center;
281
+ }
282
+
283
+ .admin-settings-grid {
284
+ display: grid;
285
+ grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
286
+ gap: 14px;
287
+ }
288
+
289
+ .admin-setting-item {
290
+ display: flex;
291
+ flex-direction: column;
292
+ gap: 8px;
293
+ }
294
+
295
+ .admin-setting-item label {
296
+ font-size: 0.8125rem;
297
+ color: #94a3b8;
298
+ }
299
+
300
+ .admin-setting-item input,
301
+ .admin-setting-item select {
302
+ width: 100%;
303
+ border-radius: 10px;
304
+ border: 1px solid rgba(148, 163, 184, 0.18);
305
+ background: rgba(2, 6, 23, 0.72);
306
+ color: #f8fafc;
307
+ padding: 12px 14px;
308
+ }
309
+
310
+ .admin-setting-item input:focus,
311
+ .admin-setting-item select:focus {
312
+ outline: none;
313
+ border-color: rgba(96, 165, 250, 0.56);
314
+ box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.14);
315
+ }
316
+
317
+ .button-row {
318
+ display: flex;
319
+ flex-wrap: wrap;
320
+ gap: 10px;
321
+ margin-top: 16px;
322
+ }
323
+
324
+ .btn-primary,
325
+ .btn-secondary,
326
+ .btn-danger {
327
+ display: inline-flex;
328
+ align-items: center;
329
+ justify-content: center;
330
+ gap: 8px;
331
+ border-radius: 10px;
332
+ padding: 10px 14px;
333
+ font-size: 0.875rem;
334
+ font-weight: 600;
335
+ cursor: pointer;
336
+ transition: opacity 0.15s ease, background 0.15s ease, border-color 0.15s ease;
337
+ }
338
+
339
+ .btn-primary {
340
+ background: #2563eb;
341
+ color: #eff6ff;
342
+ border: 1px solid #2563eb;
343
+ }
344
+
345
+ .btn-secondary {
346
+ background: rgba(15, 23, 42, 0.72);
347
+ color: #e2e8f0;
348
+ border: 1px solid rgba(148, 163, 184, 0.18);
349
+ }
350
+
351
+ .btn-danger {
352
+ background: rgba(127, 29, 29, 0.25);
353
+ color: #fecaca;
354
+ border: 1px solid rgba(248, 113, 113, 0.3);
355
+ }
356
+
357
+ .btn-primary:disabled,
358
+ .btn-secondary:disabled,
359
+ .btn-danger:disabled {
360
+ opacity: 0.6;
361
+ cursor: not-allowed;
362
+ }
363
+
364
+ .admin-data-table {
365
+ width: 100%;
366
+ border-collapse: collapse;
367
+ }
368
+
369
+ .admin-data-table th,
370
+ .admin-data-table td {
371
+ padding: 11px 10px;
372
+ border-bottom: 1px solid rgba(148, 163, 184, 0.12);
373
+ text-align: left;
374
+ vertical-align: top;
375
+ }
376
+
377
+ .admin-data-table th {
378
+ font-size: 0.75rem;
379
+ text-transform: uppercase;
380
+ letter-spacing: 0.06em;
381
+ color: #94a3b8;
382
+ }
383
+
384
+ .admin-data-table td {
385
+ color: #e2e8f0;
386
+ font-size: 0.875rem;
387
+ }
388
+
389
+ .admin-compact-table th,
390
+ .admin-compact-table td {
391
+ padding: 9px 8px;
392
+ }
393
+
394
+ .funnel-table td:nth-child(2),
395
+ .funnel-table td:nth-child(3),
396
+ .funnel-table td:nth-child(4) {
397
+ font-variant-numeric: tabular-nums;
398
+ }
399
+
400
+ .mono {
401
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
402
+ }
403
+
404
+ .goal-list {
405
+ display: flex;
406
+ flex-direction: column;
407
+ gap: 12px;
408
+ }
409
+
410
+ .goal-item {
411
+ display: flex;
412
+ flex-direction: column;
413
+ gap: 8px;
414
+ }
415
+
416
+ .admin-progress-track {
417
+ width: 100%;
418
+ height: 8px;
419
+ background: rgba(51, 65, 85, 0.8);
420
+ border-radius: 999px;
421
+ overflow: hidden;
422
+ }
423
+
424
+ .admin-progress-fill {
425
+ height: 100%;
426
+ background: linear-gradient(90deg, #34d399, #10b981);
427
+ }
428
+
429
+ .tag-list {
430
+ display: flex;
431
+ flex-wrap: wrap;
432
+ gap: 8px;
433
+ margin-top: 16px;
434
+ }
435
+
436
+ .tag {
437
+ background: rgba(30, 41, 59, 0.88);
438
+ color: #bfdbfe;
439
+ }
440
+
441
+ .timeline-list {
442
+ display: flex;
443
+ flex-direction: column;
444
+ gap: 12px;
445
+ }
446
+
447
+ .timeline-item {
448
+ display: grid;
449
+ grid-template-columns: 100px minmax(0, 1fr);
450
+ gap: 14px;
451
+ padding-top: 12px;
452
+ border-top: 1px solid rgba(148, 163, 184, 0.1);
453
+ }
454
+
455
+ .timeline-item:first-child {
456
+ padding-top: 0;
457
+ border-top: none;
458
+ }
459
+
460
+ .timeline-time {
461
+ color: #94a3b8;
462
+ font-size: 0.75rem;
463
+ font-variant-numeric: tabular-nums;
464
+ }
465
+
466
+ .timeline-body {
467
+ color: #e2e8f0;
468
+ }
469
+
470
+ .timeline-detail {
471
+ margin-top: 4px;
472
+ color: #94a3b8;
473
+ font-size: 0.8125rem;
474
+ }
475
+
476
+ .empty-state {
477
+ margin: 0;
478
+ padding: 28px 0;
479
+ color: #94a3b8;
480
+ text-align: center;
481
+ }
482
+
483
+ .admin-dashboard-access-denied {
484
+ min-height: 80vh;
485
+ display: flex;
486
+ align-items: center;
487
+ justify-content: center;
488
+ padding: 24px;
489
+ }
490
+
491
+ .admin-dashboard-access-card {
492
+ max-width: 480px;
493
+ text-align: center;
494
+ padding: 36px 28px;
495
+ }
496
+
497
+ .admin-dashboard-access-card i {
498
+ font-size: 3.25rem;
499
+ color: #fca5a5;
500
+ margin-bottom: 18px;
501
+ }
502
+
503
+ .admin-dashboard-access-card h2 {
504
+ margin: 0 0 10px;
505
+ color: #f8fafc;
506
+ }
507
+
508
+ .admin-dashboard-access-card p {
509
+ margin: 0 0 20px;
510
+ color: #94a3b8;
511
+ }
512
+
513
+ @media (max-width: 1080px) {
514
+ .panel-grid.two-up,
515
+ .panel-grid.three-up {
516
+ grid-template-columns: 1fr;
517
+ }
518
+ }
519
+
520
+ @media (max-width: 768px) {
521
+ .admin-dashboard-shell {
522
+ padding: 12px 16px 16px;
523
+ }
524
+
525
+ .admin-dashboard-header {
526
+ flex-direction: column;
527
+ }
528
+
529
+ .header-actions {
530
+ justify-content: flex-start;
531
+ }
532
+
533
+ .admin-kpi-grid {
534
+ grid-template-columns: repeat(2, minmax(0, 1fr));
535
+ }
536
+
537
+ .timeline-item {
538
+ grid-template-columns: 1fr;
539
+ }
540
+ }
541
+
542
+ @media (max-width: 560px) {
543
+ .admin-kpi-grid {
544
+ grid-template-columns: 1fr;
545
+ }
546
+ }
@@ -0,0 +1,7 @@
1
+ /* _content/MindExecution.Plugins.Directory/Component1.razor.rz.scp.css */
2
+ .my-component[b-85xaj3gg5s] {
3
+ border: 2px dashed red;
4
+ padding: 1em;
5
+ margin: 1em 0;
6
+ background-image: url('background.png');
7
+ }