mindexec-ai 0.2.385

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 (99) hide show
  1. package/README.md +354 -0
  2. package/codex-runtime.js +1339 -0
  3. package/launch-bridge.cjs +236 -0
  4. package/package.json +77 -0
  5. package/port-guard.cjs +232 -0
  6. package/remote-fast/osx-arm64/mindexec-remote-fast +0 -0
  7. package/remote-fast/osx-arm64/mindexec-remote-fast.deps.json +24 -0
  8. package/remote-fast/osx-arm64/mindexec-remote-fast.dll +0 -0
  9. package/remote-fast/osx-arm64/mindexec-remote-fast.runtimeconfig.json +13 -0
  10. package/remote-fast/osx-x64/mindexec-remote-fast +0 -0
  11. package/remote-fast/osx-x64/mindexec-remote-fast.deps.json +24 -0
  12. package/remote-fast/osx-x64/mindexec-remote-fast.dll +0 -0
  13. package/remote-fast/osx-x64/mindexec-remote-fast.runtimeconfig.json +13 -0
  14. package/remote-fast/win-x64/mindexec-remote-fast.deps.json +24 -0
  15. package/remote-fast/win-x64/mindexec-remote-fast.dll +0 -0
  16. package/remote-fast/win-x64/mindexec-remote-fast.exe +0 -0
  17. package/remote-fast/win-x64/mindexec-remote-fast.runtimeconfig.json +20 -0
  18. package/remote-hub.js +3106 -0
  19. package/scripts/auth-session-smoke.mjs +262 -0
  20. package/scripts/remote-agent-managed-smoke.mjs +291 -0
  21. package/scripts/remote-agent-package-smoke.mjs +64 -0
  22. package/scripts/remote-agent-ws-smoke.mjs +202 -0
  23. package/scripts/remote-fast-live-rate-smoke.mjs +355 -0
  24. package/scripts/remote-fast-mdm-browser-smoke.mjs +476 -0
  25. package/scripts/remote-fleet-render-smoke.mjs +1491 -0
  26. package/scripts/remote-frame-ws-smoke.mjs +234 -0
  27. package/scripts/remote-http-smoke.mjs +592 -0
  28. package/scripts/remote-hub-identity-smoke.mjs +146 -0
  29. package/scripts/remote-hub-scale-smoke.mjs +124 -0
  30. package/scripts/remote-hub-smoke.mjs +631 -0
  31. package/scripts/remote-input-ws-smoke.mjs +263 -0
  32. package/scripts/remote-registry-follower-smoke.mjs +752 -0
  33. package/scripts/setup-tree-sitter-grammars.mjs +80 -0
  34. package/server.js +15709 -0
  35. package/start-bridge.bat +32 -0
  36. package/start-bridge.sh +81 -0
  37. package/tree-sitter-grammars/README.md +18 -0
  38. package/tree-sitter-grammars/tree-sitter-c_sharp.wasm +0 -0
  39. package/tree-sitter-grammars/tree-sitter-go.wasm +0 -0
  40. package/tree-sitter-grammars/tree-sitter-java.wasm +0 -0
  41. package/tree-sitter-grammars/tree-sitter-javascript.wasm +0 -0
  42. package/tree-sitter-grammars/tree-sitter-python.wasm +0 -0
  43. package/tree-sitter-grammars/tree-sitter-rust.wasm +0 -0
  44. package/tree-sitter-grammars/tree-sitter-tsx.wasm +0 -0
  45. package/tree-sitter-grammars/tree-sitter-typescript.wasm +0 -0
  46. package/wwwroot/_headers +73 -0
  47. package/wwwroot/_redirects +1 -0
  48. package/wwwroot/appsettings.json +83 -0
  49. package/wwwroot/assets/AdminDashboardPage-B2vz2Px9.css +1 -0
  50. package/wwwroot/assets/AdminDashboardPage-DnuCHywn.js +1 -0
  51. package/wwwroot/assets/AppSidebar-DU2OgSiv.js +2 -0
  52. package/wwwroot/assets/AuthPages-BrH6kRcv.css +1 -0
  53. package/wwwroot/assets/AuthPages-Dgezl7Vj.js +1 -0
  54. package/wwwroot/assets/CodePage-7kgZlB3O.js +87 -0
  55. package/wwwroot/assets/CodePage-Bncc352E.css +1 -0
  56. package/wwwroot/assets/CompanyCorePage-ChBnq1ve.css +1 -0
  57. package/wwwroot/assets/CompanyCorePage-CzIZIIU_.js +13 -0
  58. package/wwwroot/assets/ExecutionModePage-B-etp_mc.js +18 -0
  59. package/wwwroot/assets/ExecutionModePage-TLuld9l3.css +1 -0
  60. package/wwwroot/assets/LaunchLeadCapture-Bx9LM0IX.js +1 -0
  61. package/wwwroot/assets/LaunchLeadCapture-CiRI1shz.css +1 -0
  62. package/wwwroot/assets/MarketingHome-BsyerRpe.js +1 -0
  63. package/wwwroot/assets/MarketingHome-DPzaYzA_.css +1 -0
  64. package/wwwroot/assets/MindCanvas-DtqOZnoW.css +1 -0
  65. package/wwwroot/assets/MindCanvas-zEDXzaxW.js +49 -0
  66. package/wwwroot/assets/PlanMasterPage-CJ36rep-.css +1 -0
  67. package/wwwroot/assets/PlanMasterPage-NZ_mPvaE.js +4 -0
  68. package/wwwroot/assets/PricingPage-Cg_0i_ZR.css +1 -0
  69. package/wwwroot/assets/PricingPage-Ylrn8l2g.js +1 -0
  70. package/wwwroot/assets/ToolPages-3M2KqA9k.js +28 -0
  71. package/wwwroot/assets/ToolPages-DIB187pZ.css +1 -0
  72. package/wwwroot/assets/YouTubeSearchPage-COv1oAA7.js +4 -0
  73. package/wwwroot/assets/YouTubeSearchPage-IPPa_BIH.css +1 -0
  74. package/wwwroot/assets/app-runtime-xD2Z3NdN.js +1 -0
  75. package/wwwroot/assets/canvas-runtime-BbicBcOj.js +44 -0
  76. package/wwwroot/assets/code-agent-runtime-B5PPZd1t.js +74 -0
  77. package/wwwroot/assets/executionModeSettings-NJqurj-o.js +1 -0
  78. package/wwwroot/assets/index-CQMKCp-t.js +2 -0
  79. package/wwwroot/assets/index-yNpEK-gp.css +1 -0
  80. package/wwwroot/assets/marketingTools-DN_rnHeB.js +4 -0
  81. package/wwwroot/assets/mindCanvasSearchWorker-BzPMsHOB.js +1 -0
  82. package/wwwroot/assets/mindexecution-mindcanvas.png +0 -0
  83. package/wwwroot/assets/mindexecution-prod-home-current.png +0 -0
  84. package/wwwroot/assets/mindexecution-prod-pricing-current.png +0 -0
  85. package/wwwroot/assets/pricingCheckoutShell-O-DnwmbU.js +1 -0
  86. package/wwwroot/assets/productionAdapterConfig-C5jfk6oG.js +1 -0
  87. package/wwwroot/assets/runtimeSettingsPersistenceProjection-BoNWmYjU.js +1 -0
  88. package/wwwroot/assets/storage-TM3YrWaj.js +1 -0
  89. package/wwwroot/assets/supabaseAuthAdapter-DA43DeSY.js +44 -0
  90. package/wwwroot/assets/toolHandoff-D5e5f7t5.js +4 -0
  91. package/wwwroot/assets/vendor-icons-DE3gIReG.js +681 -0
  92. package/wwwroot/assets/vendor-msgpack-BE8aAsr3.js +1 -0
  93. package/wwwroot/assets/vendor-react-BXzpOyCS.js +40 -0
  94. package/wwwroot/favicon.svg +7 -0
  95. package/wwwroot/index.html +22 -0
  96. package/wwwroot/manifest.webmanifest +19 -0
  97. package/wwwroot/robots.txt +4 -0
  98. package/wwwroot/service-worker.js +7 -0
  99. package/wwwroot/sitemap.xml +39 -0
@@ -0,0 +1,4 @@
1
+ import{R as v}from"./app-runtime-xD2Z3NdN.js";const h="mindexec-react-tool-handoff-v1",y="mindexec-react-tool-handoff-consumed-v1",T=6e3,A=80,B=12;function k(){return typeof crypto<"u"&&"randomUUID"in crypto?crypto.randomUUID():`tool-${Date.now()}-${Math.random().toString(36).slice(2,8)}`}function u(t){const e=t.trim();return e.length<=T?e:`${e.slice(0,T)}...`}function d(t,e=360){return String(t||"").trim().slice(0,e)}function w(t){return Array.isArray(t)?t.map(e=>{if(!e||typeof e!="object")return null;const o=e,l=d(o.id||o.videoId||o.url,160),r=d(o.title,180);if(!l||!r)return null;const n=["youtube-video","web-url","reference"].includes(String(o.kind))?o.kind:o.videoId||/youtu\.?be|youtube\.com/i.test(String(o.url||""))?"youtube-video":"reference";return{id:l,kind:n,title:r,url:d(o.url,1e3),videoId:d(o.videoId,80),thumbnailUrl:d(o.thumbnailUrl,1e3),summary:d(o.summary,720),channel:d(o.channel,180),publishedAt:d(o.publishedAt,80),duration:d(o.duration,80),views:d(o.views,80),source:d(o.source,80)}}).filter(e=>!!e).slice(0,B):[]}function b(){try{const t=window.localStorage.getItem(y),e=t?JSON.parse(t):[];return Array.isArray(e)?e.map(o=>String(o)).filter(Boolean):[]}catch{return[]}}function H(t){return b().includes(t)}function N(t){try{const e=Array.from(new Set([t,...b()])).slice(0,A);window.localStorage.setItem(y,JSON.stringify(e))}catch{}}function U(t){const e={...t,id:k(),createdAt:new Date().toISOString(),sourceBody:u(t.sourceBody),resultBody:u(t.resultBody),taskBody:u(t.taskBody),resultItems:w(t.resultItems)};return window.localStorage.setItem(h,JSON.stringify(e)),v.emit("tool.handoff.created",{handoffId:e.id,toolKey:e.toolKey,toolTitle:e.toolTitle}),e}function p(){const t=window.localStorage.getItem(h);if(!t)return null;window.localStorage.removeItem(h);try{const e=JSON.parse(t);if(!e.id||!e.toolKey||!e.toolTitle)return null;const o=String(e.id);return H(o)?null:{id:o,createdAt:String(e.createdAt||new Date().toISOString()),toolKey:String(e.toolKey),toolTitle:String(e.toolTitle),sourceTitle:String(e.sourceTitle||"Tool source"),sourceBody:u(String(e.sourceBody||"")),resultTitle:String(e.resultTitle||"Tool result"),resultBody:u(String(e.resultBody||"")),taskBody:u(String(e.taskBody||"Review this tool output and propose the next action.")),resultItems:w(e.resultItems)}}catch{return null}}function D(t,e){const o=`node-tool-source-${t.id}`,l=`node-tool-task-${t.id}`,r=t.resultItems??[],n=t.resultBody.trim(),i=[`Source from ${t.toolTitle}`,"",t.sourceBody,n?["",`Result: ${t.resultTitle}`,"",n].join(`
2
+ `):""].filter(Boolean).join(`
3
+ `),a={id:o,kind:"note",title:t.sourceTitle,body:i,x:e.x,y:e.y,width:360,height:250,tags:["Tool handoff",t.toolTitle],metadata:{SourceKind:"tool-handoff",ToolHandoffId:t.id,ToolKey:t.toolKey,ToolTitle:t.toolTitle,ToolHandoffCreatedAt:t.createdAt,ToolHandoffRole:"source"}},s=r.map((c,f)=>$(t,c,f,{x:e.x+420+f%2*500,y:e.y+Math.floor(f/2)*292})),I=Math.max(1,Math.ceil(s.length/2)),g={id:l,kind:"ai-task",title:`Continue ${t.toolTitle}`,body:t.taskBody,x:e.x+420,y:s.length>0?e.y+I*292+34:e.y+26,width:360,height:230,status:"idle",tags:["AI Task",t.toolTitle],metadata:{SourceKind:"tool-handoff",ToolHandoffId:t.id,ToolKey:t.toolKey,ToolTitle:t.toolTitle,ToolHandoffCreatedAt:t.createdAt,ToolHandoffRole:"task",LinkedSourceNodeId:o}},m={id:`edge-tool-${t.id}`,from:o,to:l,kind:"context"},S=s.map(c=>({id:`edge-tool-item-${t.id}-${c.id}`,from:c.id,to:l,kind:"context"}));return{sourceNode:a,itemNodes:s,taskNode:g,edge:m,edges:[m,...S]}}function $(t,e,o,l){const r=e.kind==="youtube-video"||!!e.videoId,n=e.url||(e.videoId?`https://www.youtube.com/watch?v=${e.videoId}`:""),i=e.videoId||O(n),a=r?`YouTube: ${e.title}`:e.title,s=[e.summary||"",e.channel?`Channel: ${e.channel}`:"",e.publishedAt?`Published: ${e.publishedAt}`:"",e.duration?`Duration: ${e.duration}`:"",e.views?`Views: ${e.views}`:"",n?`URL: ${n}`:""].filter(Boolean).join(`
4
+ `);return{id:`node-tool-item-${t.id}-${o+1}`,kind:n?"embed":"note",title:a,body:n||s,x:l.x,y:l.y,width:n?460:340,height:n?260:210,assetUrl:n||void 0,tags:r?["YouTube","Tool handoff"]:["Tool handoff",t.toolTitle],metadata:{SourceKind:"tool-handoff",ToolHandoffId:t.id,ToolKey:t.toolKey,ToolTitle:t.toolTitle,ToolHandoffCreatedAt:t.createdAt,ToolHandoffRole:"result-item",ToolHandoffItemId:e.id,ToolHandoffItemIndex:String(o+1),AdapterState:"local-reference",...n?{source:r?"youtube":"embed",pluginType:r?"youtube.video":"",OriginalPluginType:r?"youtube.video":"",embedType:r?"youtube":"webpage",provider:r?"youtube":"web",renderMode:"card",aspectRatio:r?"16:9":"auto",sourceUrl:n,url:n,embedUrl:i?`https://www.youtube.com/embed/${i}`:"",videoId:i,thumbnailUrl:e.thumbnailUrl||(i?`https://img.youtube.com/vi/${i}/hqdefault.jpg`:""),title:e.title,channel:e.channel||"",publishedAt:e.publishedAt||"",duration:e.duration||"",views:e.views||"",summary:e.summary||"",domain:x(n),iframeAllowed:r?"true":"false",iframeBlockedReason:r?"":"react-card-shell",captureStatus:"idle"}:{}}}}function O(t){try{const e=new URL(t),o=e.hostname.toLowerCase().replace(/^www\./,"");if(o==="youtu.be")return e.pathname.split("/").filter(Boolean)[0]??"";if(!o.endsWith("youtube.com"))return"";const l=e.searchParams.get("v");if(l)return l;const r=e.pathname.split("/").filter(Boolean),n=r.findIndex(i=>["embed","shorts","live","v"].includes(i));return n>=0?r[n+1]??"":""}catch{return""}}function x(t){try{return new URL(t).hostname.replace(/^www\./,"")}catch{return""}}export{D as a,U as b,p as c,N as r};