@mindexec/cli 0.2.367 → 0.2.369
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/package.json +1 -1
- package/wwwroot/assets/{AdminDashboardPage-3LcuAtsJ.js → AdminDashboardPage-CTr-QRCb.js} +1 -1
- package/wwwroot/assets/AppSidebar-DzOsvUsP.js +2 -0
- package/wwwroot/assets/{AuthPages-Dy6PF7Bt.js → AuthPages-C5lUqzIU.js} +1 -1
- package/wwwroot/assets/{CodePage-CYXq8GTo.js → CodePage-Do4K07Ge.js} +1 -1
- package/wwwroot/assets/{CompanyCorePage-C5XVok23.js → CompanyCorePage-iD32axX4.js} +1 -1
- package/wwwroot/assets/{ExecutionModePage-DIApda43.js → ExecutionModePage-BHn-i9eu.js} +1 -1
- package/wwwroot/assets/{LaunchLeadCapture-BBRvHVnf.js → LaunchLeadCapture-Btre_FaA.js} +1 -1
- package/wwwroot/assets/{MarketingHome-GDLBvBqb.js → MarketingHome-BJI2zEYK.js} +1 -1
- package/wwwroot/assets/MindCanvas-CE6MTFCJ.js +48 -0
- package/wwwroot/assets/{PlanMasterPage-DLMFSdXW.js → PlanMasterPage-B9XXbERQ.js} +1 -1
- package/wwwroot/assets/{PricingPage-B49awnso.js → PricingPage-DynAXBL4.js} +1 -1
- package/wwwroot/assets/{ToolPages-baTmOCPP.js → ToolPages-DLme_QLb.js} +1 -1
- package/wwwroot/assets/{YouTubeSearchPage-D5mKtwgV.js → YouTubeSearchPage-BSQIhWnY.js} +1 -1
- package/wwwroot/assets/{canvas-runtime-BT5B2knz.js → canvas-runtime-CcSvL_l6.js} +1 -1
- package/wwwroot/assets/{index-bMdZ9KL8.js → index-CVhGWqQM.js} +2 -2
- package/wwwroot/assets/index-yNpEK-gp.css +1 -0
- package/wwwroot/assets/{storage-CWBhPPV8.js → storage-C8yTm9Oa.js} +1 -1
- package/wwwroot/assets/{supabaseAuthAdapter-DbmbdXn-.js → supabaseAuthAdapter-BRbhWFpi.js} +1 -1
- package/wwwroot/assets/{vendor-icons-Bt6FQ3FW.js → vendor-icons-678PAT8P.js} +1 -1
- package/wwwroot/index.html +3 -3
- package/wwwroot/assets/AppSidebar-DOM7tVOy.js +0 -2
- package/wwwroot/assets/MindCanvas-DYMYQl1C.js +0 -48
- package/wwwroot/assets/index-C59PJe77.css +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as c,j as t}from"./vendor-react-BXzpOyCS.js";import{g as Ce,o as je,y as Me,aF as Qe,aG as ze,aH as Ge,aI as _e}from"./canvas-runtime-BT5B2knz.js";import{R as g}from"./app-runtime-xD2Z3NdN.js";import{l as Ve,s as Xe}from"./executionModeSettings-NJqurj-o.js";import{A as Ye,a8 as Ze,R as et,b9 as tt,b7 as nt}from"./vendor-icons-Bt6FQ3FW.js";import"./runtimeSettingsPersistenceProjection-BoNWmYjU.js";const Ee=["Concept.KernelHelp","Concept.Hash64","Concept.DefineComposite","Concept.Embed","Concept.Execute"],ot=0x0000000080000000n,F=11400714785074694791n,Z=14029467366897019727n,ve=1609587929392839161n,Ie=9650029242287828579n,we=2870177450012600261n;function m(e){return BigInt.asUintN(64,e)}function q(e,s){const o=BigInt(s);return m(m(e)<<o|m(e)>>64n-o)}function Y(e,s){let o=0n;for(let a=0;a<8;a+=1)o|=BigInt(e[s+a])<<BigInt(a*8);return m(o)}function st(e,s){return(e[s]|e[s+1]<<8|e[s+2]<<16|e[s+3]<<24)>>>0}function Q(e,s){let o=m(e+m(s*Z));return o=q(o,31),m(o*F)}function oe(e,s){let o=m(e^Q(0n,s));return o=m(o*F+Ie),o}function k(e){const s=e.trim();if(!s)throw new Error("signature is empty");const o=new TextEncoder().encode(s),a=o.length;let i=0,r;if(a>=32){let d=m(F+Z),w=m(Z),y=0n,N=m(-F);const u=a-32;for(;i<=u;)d=Q(d,Y(o,i)),i+=8,w=Q(w,Y(o,i)),i+=8,y=Q(y,Y(o,i)),i+=8,N=Q(N,Y(o,i)),i+=8;r=m(q(d,1)+q(w,7)+q(y,12)+q(N,18)),r=oe(r,d),r=oe(r,w),r=oe(r,y),r=oe(r,N)}else r=m(we);for(r=m(r+BigInt(a));i<=a-8;){const d=Q(0n,Y(o,i));r=m(r^d),r=m(q(r,27)*F+Ie),i+=8}for(i<=a-4&&(r=m(r^BigInt(st(o,i))*F),r=m(q(r,23)*Z+ve),i+=4);i<a;)r=m(r^BigInt(o[i])*we),r=m(q(r,11)*F),i+=1;return r=m(r^r>>33n),r=m(r*Z),r=m(r^r>>29n),r=m(r*ve),r=m(r^r>>32n),`0x${r.toString(16).padStart(16,"0")}`}const le=[{category:"Math.Double",signature:"MindExecution.Kernel.Add(System.Double,System.Double)",summary:"a+b",supported:!0},{category:"Math.Double",signature:"MindExecution.Kernel.Sub(System.Double,System.Double)",summary:"a-b",supported:!0},{category:"Math.Double",signature:"MindExecution.Kernel.Mul(System.Double,System.Double)",summary:"a*b",supported:!0},{category:"Math.Double",signature:"MindExecution.Kernel.Div(System.Double,System.Double)",summary:"a/b",supported:!0},{category:"Math.Double",signature:"MindExecution.Kernel.Min(System.Double,System.Double)",summary:"min(a,b)",supported:!0},{category:"Math.Double",signature:"MindExecution.Kernel.Max(System.Double,System.Double)",summary:"max(a,b)",supported:!0},{category:"Math.Double",signature:"MindExecution.Kernel.Round(System.Double)",summary:"round(x)",supported:!0},{category:"Math.Int64",signature:"MindExecution.Kernel.Add(System.Int64,System.Int64)",summary:"a+b",supported:!0},{category:"Math.Int64",signature:"MindExecution.Kernel.Sub(System.Int64,System.Int64)",summary:"a-b",supported:!0},{category:"Math.Int64",signature:"MindExecution.Kernel.Mul(System.Int64,System.Int64)",summary:"a*b",supported:!0},{category:"Compare.Double",signature:"MindExecution.Kernel.Gt(System.Double,System.Double)",summary:"a>b",supported:!0},{category:"Compare.Double",signature:"MindExecution.Kernel.Eq(System.Double,System.Double)",summary:"a==b",supported:!0},{category:"Logic",signature:"MindExecution.Kernel.IfElse(System.Boolean,System.Object,System.Object)",summary:"cond ? a : b",supported:!0},{category:"String",signature:"MindExecution.Kernel.Concat(System.String,System.String)",summary:"a+b",supported:!0},{category:"String",signature:"MindExecution.Kernel.Length(System.String)",summary:"len(s)",supported:!0},{category:"String",signature:"MindExecution.Kernel.ToString(System.Object)",summary:"x?.ToString()",supported:!0},{category:"Convert",signature:"MindExecution.Kernel.ToDouble(System.Object)",summary:"Convert.ToDouble",supported:!0},{category:"Convert",signature:"MindExecution.Kernel.ToInt64(System.Object)",summary:"Convert.ToInt64",supported:!0},{category:"Json",signature:"MindExecution.Kernel.Json.Parse(System.String)",summary:"parse JSON",supported:!0},{category:"Json",signature:"MindExecution.Kernel.Json.Stringify(System.Object)",summary:"serialize JSON",supported:!0},{category:"System",signature:"MindExecution.Kernel.System.GetManifest()",summary:"local manifest subset",supported:!0},{category:"System",signature:"MindExecution.Kernel.System.SignatureToId(System.String)",summary:"signature -> local 0x hash",supported:!0},{category:"Debug",signature:"MindExecution.Kernel.Print(System.Object)",summary:"ToString",supported:!0},{category:"Debug",signature:"MindExecution.Kernel.TypeOf(System.Object)",summary:"JavaScript type name",supported:!0},{category:"Time",signature:"MindExecution.Kernel.UtcNow()",summary:"UTC ISO timestamp",supported:!0},{category:"Hash",signature:"MindExecution.Kernel.Hash.Sha256(System.String)",summary:"adapter-gated in React shell",supported:!1}],Ke=new Map(le.map(e=>[k(e.signature),e]));function x(e){const s=typeof e=="number"?e:Number(e);if(!Number.isFinite(s))throw new Error(`Expected numeric value, got ${A(e)}.`);return s}function J(e){return Math.trunc(x(e))}function L(e,s){if(typeof e=="number"&&Number.isInteger(e)&&e>=0)return`0x${e.toString(16).padStart(16,"0")}`;if(typeof e!="string")throw new Error(`${s} must be a hex slot string or integer.`);const o=e.trim();if(/^0x[0-9a-f]{1,16}$/i.test(o))return`0x${o.slice(2).toLowerCase().padStart(16,"0")}`;if(/^\d+$/.test(o))return`0x${Number(o).toString(16).padStart(16,"0")}`;throw new Error(`${s} must be 0x[0-9a-f]{16}, short hex, or integer.`)}function rt(e){return`0x${(ot+BigInt(e)).toString(16).padStart(16,"0")}`}function Le(e){const s=JSON.parse(e),o=Array.isArray(s.literals)?s.literals:[],a=Array.isArray(s.instructions)?s.instructions:[];if(a.length===0)throw new Error("IR must include an instructions array.");return{literals:o,instructions:a}}function $e(e){var o;if(typeof e=="string"&&e.trim().startsWith("$")){const a=e.trim().slice(1).trim();if(!a)throw new Error("target signature cannot be empty.");return{id:k(a),signature:a}}const s=L(e,"target");return{id:s,signature:(o=Ke.get(s))==null?void 0:o.signature}}function A(e){if(e===void 0)return"<unset>";if(e===null)return"<null>";if(typeof e=="string")return JSON.stringify(e);if(typeof e=="number"||typeof e=="boolean")return String(e);try{return JSON.stringify(e)}catch{return String(e)}}function it(e){if(!e||typeof e!="object")throw new Error("Literal entries must be objects.");const s=e,o=L(s.id??s.slot,"literal.id"),a=String(s.type??"json").toLowerCase(),i=s.value;return a==="null"?{slot:o,value:null}:a==="bool"?{slot:o,value:!!i}:a==="int"?{slot:o,value:J(i)}:a==="double"?{slot:o,value:x(i)}:a==="string"?{slot:o,value:String(i??"")}:{slot:o,value:i}}const at={"MindExecution.Kernel.Add(System.Double,System.Double)":e=>x(e[0])+x(e[1]),"MindExecution.Kernel.Sub(System.Double,System.Double)":e=>x(e[0])-x(e[1]),"MindExecution.Kernel.Mul(System.Double,System.Double)":e=>x(e[0])*x(e[1]),"MindExecution.Kernel.Div(System.Double,System.Double)":e=>x(e[1])===0?Number.NaN:x(e[0])/x(e[1]),"MindExecution.Kernel.Min(System.Double,System.Double)":e=>Math.min(x(e[0]),x(e[1])),"MindExecution.Kernel.Max(System.Double,System.Double)":e=>Math.max(x(e[0]),x(e[1])),"MindExecution.Kernel.Round(System.Double)":e=>Math.round(x(e[0])),"MindExecution.Kernel.Add(System.Int64,System.Int64)":e=>J(e[0])+J(e[1]),"MindExecution.Kernel.Sub(System.Int64,System.Int64)":e=>J(e[0])-J(e[1]),"MindExecution.Kernel.Mul(System.Int64,System.Int64)":e=>J(e[0])*J(e[1]),"MindExecution.Kernel.Gt(System.Double,System.Double)":e=>x(e[0])>x(e[1]),"MindExecution.Kernel.Eq(System.Double,System.Double)":e=>x(e[0])===x(e[1]),"MindExecution.Kernel.IfElse(System.Boolean,System.Object,System.Object)":e=>e[0]?e[1]:e[2],"MindExecution.Kernel.Concat(System.String,System.String)":e=>`${e[0]??""}${e[1]??""}`,"MindExecution.Kernel.Length(System.String)":e=>String(e[0]??"").length,"MindExecution.Kernel.ToString(System.Object)":e=>e[0]==null?"":String(e[0]),"MindExecution.Kernel.ToDouble(System.Object)":e=>x(e[0]),"MindExecution.Kernel.ToInt64(System.Object)":e=>J(e[0]),"MindExecution.Kernel.Json.Parse(System.String)":e=>JSON.parse(String(e[0]??"null")),"MindExecution.Kernel.Json.Stringify(System.Object)":e=>JSON.stringify(e[0]),"MindExecution.Kernel.System.GetManifest()":()=>le.map(e=>({...e,id:k(e.signature)})),"MindExecution.Kernel.System.SignatureToId(System.String)":e=>k(String(e[0]??"")),"MindExecution.Kernel.Print(System.Object)":e=>A(e[0]),"MindExecution.Kernel.TypeOf(System.Object)":e=>e[0]===null?"null":Array.isArray(e[0])?"array":typeof e[0],"MindExecution.Kernel.UtcNow()":()=>new Date().toISOString()};function Oe(e){const s=e.trim();if(!s)return[];if(s.startsWith("[")){const o=JSON.parse(s);if(!Array.isArray(o))throw new Error("Watch JSON must be an array of slots.");return o.map(a=>L(a,"watch"))}return s.split(/[\s,]+/).filter(Boolean).map(o=>L(o,"watch"))}function Re(e,s,o,a,i,r=0){var N;if(r>8)throw new Error("FLOW recursion limit exceeded.");const d=new Map;for(const[u,l]of a.entries())d.set(u,l);for(const u of e){const{slot:l,value:$}=it(u);d.set(l,$),i.push(`${" ".repeat(r)}literal ${l} = ${A($)}`)}let w,y=!1;for(const[u,l]of s.entries()){const $=String(l.op??"").trim().toUpperCase();if($==="SET"){const f=L(l.dstSlot,`instructions[${u}].dstSlot`),C=L(l.srcSlot,`instructions[${u}].srcSlot`),O=d.get(C);d.set(f,O),i.push(`${" ".repeat(r)}${u}: SET ${f} = ${A(O)} from ${C}`);continue}if($==="CALL"){const f=$e(l.target??l.targetId),C=f.signature??((N=Ke.get(f.id))==null?void 0:N.signature),O=C?at[C]:void 0;if(!C||!O)throw new Error(`CALL target ${f.id} is not supported by the React local kernel.`);const U=(Array.isArray(l.args)?l.args.map(P=>L(P,`instructions[${u}].args`)):[]).map(P=>d.get(P)),I=O(U),R=l.dstSlot==null?null:L(l.dstSlot,`instructions[${u}].dstSlot`);R&&d.set(R,I),i.push(`${" ".repeat(r)}${u}: CALL ${C} -> ${R??"<no dst>"} = ${A(I)}`);continue}if($==="FLOW"){const f=$e(l.target??l.targetId),C=o.get(f.id);if(!C)throw new Error(`FLOW target ${f.id} is not registered in the React local composite registry.`);const O=Array.isArray(l.args)?l.args.map(R=>L(R,`instructions[${u}].args`)):[],j=new Map;for(const[R,P]of O.entries())j.set(rt(R),d.get(P));i.push(`${" ".repeat(r)}${u}: FLOW ${C.signature} (${f.id}) args=${O.length}`);const U=Re(C.literals,C.instructions,o,j,i,r+1),I=l.dstSlot==null?null:L(l.dstSlot,`instructions[${u}].dstSlot`);I&&U.didReturn&&d.set(I,U.returned),i.push(`${" ".repeat(r)}${u}: FLOW return -> ${I??"<no dst>"} = ${A(U.returned)}`);continue}if($==="RETURN"||$==="RET"){const f=l.srcSlot==null?null:L(l.srcSlot,`instructions[${u}].srcSlot`);w=f?d.get(f):void 0,y=!0,i.push(`${" ".repeat(r)}${u}: RETURN ${f??"<void>"} = ${A(w)}`);break}throw new Error(`Unknown op at instructions[${u}]: ${$||"<empty>"}`)}return{memory:d,returned:w,didReturn:y}}function ct(e,s,o=new Map){const{literals:a,instructions:i}=Le(e),r=[],{memory:d,returned:w}=Re(a,i,o,new Map,r),y=Oe(s),u=(y.length>0?y:Array.from(d.keys()).sort().slice(0,64)).map(l=>`- ${l} = ${A(d.get(l))}`);return[`OK: executed locally (atoms=${i.length}, literals=${a.length})`,`return: ${A(w)}`,"","trace:",...r,"",y.length>0?"watch:":"root user-space slots:",...u.length>0?u:["(none)"],"","adapter: local-react-shell"].join(`
|
|
1
|
+
import{r as c,j as t}from"./vendor-react-BXzpOyCS.js";import{g as Ce,o as je,y as Me,aF as Qe,aG as ze,aH as Ge,aI as _e}from"./canvas-runtime-CcSvL_l6.js";import{R as g}from"./app-runtime-xD2Z3NdN.js";import{l as Ve,s as Xe}from"./executionModeSettings-NJqurj-o.js";import{A as Ye,a8 as Ze,R as et,b9 as tt,b7 as nt}from"./vendor-icons-678PAT8P.js";import"./runtimeSettingsPersistenceProjection-BoNWmYjU.js";const Ee=["Concept.KernelHelp","Concept.Hash64","Concept.DefineComposite","Concept.Embed","Concept.Execute"],ot=0x0000000080000000n,F=11400714785074694791n,Z=14029467366897019727n,ve=1609587929392839161n,Ie=9650029242287828579n,we=2870177450012600261n;function m(e){return BigInt.asUintN(64,e)}function q(e,s){const o=BigInt(s);return m(m(e)<<o|m(e)>>64n-o)}function Y(e,s){let o=0n;for(let a=0;a<8;a+=1)o|=BigInt(e[s+a])<<BigInt(a*8);return m(o)}function st(e,s){return(e[s]|e[s+1]<<8|e[s+2]<<16|e[s+3]<<24)>>>0}function Q(e,s){let o=m(e+m(s*Z));return o=q(o,31),m(o*F)}function oe(e,s){let o=m(e^Q(0n,s));return o=m(o*F+Ie),o}function k(e){const s=e.trim();if(!s)throw new Error("signature is empty");const o=new TextEncoder().encode(s),a=o.length;let i=0,r;if(a>=32){let d=m(F+Z),w=m(Z),y=0n,N=m(-F);const u=a-32;for(;i<=u;)d=Q(d,Y(o,i)),i+=8,w=Q(w,Y(o,i)),i+=8,y=Q(y,Y(o,i)),i+=8,N=Q(N,Y(o,i)),i+=8;r=m(q(d,1)+q(w,7)+q(y,12)+q(N,18)),r=oe(r,d),r=oe(r,w),r=oe(r,y),r=oe(r,N)}else r=m(we);for(r=m(r+BigInt(a));i<=a-8;){const d=Q(0n,Y(o,i));r=m(r^d),r=m(q(r,27)*F+Ie),i+=8}for(i<=a-4&&(r=m(r^BigInt(st(o,i))*F),r=m(q(r,23)*Z+ve),i+=4);i<a;)r=m(r^BigInt(o[i])*we),r=m(q(r,11)*F),i+=1;return r=m(r^r>>33n),r=m(r*Z),r=m(r^r>>29n),r=m(r*ve),r=m(r^r>>32n),`0x${r.toString(16).padStart(16,"0")}`}const le=[{category:"Math.Double",signature:"MindExecution.Kernel.Add(System.Double,System.Double)",summary:"a+b",supported:!0},{category:"Math.Double",signature:"MindExecution.Kernel.Sub(System.Double,System.Double)",summary:"a-b",supported:!0},{category:"Math.Double",signature:"MindExecution.Kernel.Mul(System.Double,System.Double)",summary:"a*b",supported:!0},{category:"Math.Double",signature:"MindExecution.Kernel.Div(System.Double,System.Double)",summary:"a/b",supported:!0},{category:"Math.Double",signature:"MindExecution.Kernel.Min(System.Double,System.Double)",summary:"min(a,b)",supported:!0},{category:"Math.Double",signature:"MindExecution.Kernel.Max(System.Double,System.Double)",summary:"max(a,b)",supported:!0},{category:"Math.Double",signature:"MindExecution.Kernel.Round(System.Double)",summary:"round(x)",supported:!0},{category:"Math.Int64",signature:"MindExecution.Kernel.Add(System.Int64,System.Int64)",summary:"a+b",supported:!0},{category:"Math.Int64",signature:"MindExecution.Kernel.Sub(System.Int64,System.Int64)",summary:"a-b",supported:!0},{category:"Math.Int64",signature:"MindExecution.Kernel.Mul(System.Int64,System.Int64)",summary:"a*b",supported:!0},{category:"Compare.Double",signature:"MindExecution.Kernel.Gt(System.Double,System.Double)",summary:"a>b",supported:!0},{category:"Compare.Double",signature:"MindExecution.Kernel.Eq(System.Double,System.Double)",summary:"a==b",supported:!0},{category:"Logic",signature:"MindExecution.Kernel.IfElse(System.Boolean,System.Object,System.Object)",summary:"cond ? a : b",supported:!0},{category:"String",signature:"MindExecution.Kernel.Concat(System.String,System.String)",summary:"a+b",supported:!0},{category:"String",signature:"MindExecution.Kernel.Length(System.String)",summary:"len(s)",supported:!0},{category:"String",signature:"MindExecution.Kernel.ToString(System.Object)",summary:"x?.ToString()",supported:!0},{category:"Convert",signature:"MindExecution.Kernel.ToDouble(System.Object)",summary:"Convert.ToDouble",supported:!0},{category:"Convert",signature:"MindExecution.Kernel.ToInt64(System.Object)",summary:"Convert.ToInt64",supported:!0},{category:"Json",signature:"MindExecution.Kernel.Json.Parse(System.String)",summary:"parse JSON",supported:!0},{category:"Json",signature:"MindExecution.Kernel.Json.Stringify(System.Object)",summary:"serialize JSON",supported:!0},{category:"System",signature:"MindExecution.Kernel.System.GetManifest()",summary:"local manifest subset",supported:!0},{category:"System",signature:"MindExecution.Kernel.System.SignatureToId(System.String)",summary:"signature -> local 0x hash",supported:!0},{category:"Debug",signature:"MindExecution.Kernel.Print(System.Object)",summary:"ToString",supported:!0},{category:"Debug",signature:"MindExecution.Kernel.TypeOf(System.Object)",summary:"JavaScript type name",supported:!0},{category:"Time",signature:"MindExecution.Kernel.UtcNow()",summary:"UTC ISO timestamp",supported:!0},{category:"Hash",signature:"MindExecution.Kernel.Hash.Sha256(System.String)",summary:"adapter-gated in React shell",supported:!1}],Ke=new Map(le.map(e=>[k(e.signature),e]));function x(e){const s=typeof e=="number"?e:Number(e);if(!Number.isFinite(s))throw new Error(`Expected numeric value, got ${A(e)}.`);return s}function J(e){return Math.trunc(x(e))}function L(e,s){if(typeof e=="number"&&Number.isInteger(e)&&e>=0)return`0x${e.toString(16).padStart(16,"0")}`;if(typeof e!="string")throw new Error(`${s} must be a hex slot string or integer.`);const o=e.trim();if(/^0x[0-9a-f]{1,16}$/i.test(o))return`0x${o.slice(2).toLowerCase().padStart(16,"0")}`;if(/^\d+$/.test(o))return`0x${Number(o).toString(16).padStart(16,"0")}`;throw new Error(`${s} must be 0x[0-9a-f]{16}, short hex, or integer.`)}function rt(e){return`0x${(ot+BigInt(e)).toString(16).padStart(16,"0")}`}function Le(e){const s=JSON.parse(e),o=Array.isArray(s.literals)?s.literals:[],a=Array.isArray(s.instructions)?s.instructions:[];if(a.length===0)throw new Error("IR must include an instructions array.");return{literals:o,instructions:a}}function $e(e){var o;if(typeof e=="string"&&e.trim().startsWith("$")){const a=e.trim().slice(1).trim();if(!a)throw new Error("target signature cannot be empty.");return{id:k(a),signature:a}}const s=L(e,"target");return{id:s,signature:(o=Ke.get(s))==null?void 0:o.signature}}function A(e){if(e===void 0)return"<unset>";if(e===null)return"<null>";if(typeof e=="string")return JSON.stringify(e);if(typeof e=="number"||typeof e=="boolean")return String(e);try{return JSON.stringify(e)}catch{return String(e)}}function it(e){if(!e||typeof e!="object")throw new Error("Literal entries must be objects.");const s=e,o=L(s.id??s.slot,"literal.id"),a=String(s.type??"json").toLowerCase(),i=s.value;return a==="null"?{slot:o,value:null}:a==="bool"?{slot:o,value:!!i}:a==="int"?{slot:o,value:J(i)}:a==="double"?{slot:o,value:x(i)}:a==="string"?{slot:o,value:String(i??"")}:{slot:o,value:i}}const at={"MindExecution.Kernel.Add(System.Double,System.Double)":e=>x(e[0])+x(e[1]),"MindExecution.Kernel.Sub(System.Double,System.Double)":e=>x(e[0])-x(e[1]),"MindExecution.Kernel.Mul(System.Double,System.Double)":e=>x(e[0])*x(e[1]),"MindExecution.Kernel.Div(System.Double,System.Double)":e=>x(e[1])===0?Number.NaN:x(e[0])/x(e[1]),"MindExecution.Kernel.Min(System.Double,System.Double)":e=>Math.min(x(e[0]),x(e[1])),"MindExecution.Kernel.Max(System.Double,System.Double)":e=>Math.max(x(e[0]),x(e[1])),"MindExecution.Kernel.Round(System.Double)":e=>Math.round(x(e[0])),"MindExecution.Kernel.Add(System.Int64,System.Int64)":e=>J(e[0])+J(e[1]),"MindExecution.Kernel.Sub(System.Int64,System.Int64)":e=>J(e[0])-J(e[1]),"MindExecution.Kernel.Mul(System.Int64,System.Int64)":e=>J(e[0])*J(e[1]),"MindExecution.Kernel.Gt(System.Double,System.Double)":e=>x(e[0])>x(e[1]),"MindExecution.Kernel.Eq(System.Double,System.Double)":e=>x(e[0])===x(e[1]),"MindExecution.Kernel.IfElse(System.Boolean,System.Object,System.Object)":e=>e[0]?e[1]:e[2],"MindExecution.Kernel.Concat(System.String,System.String)":e=>`${e[0]??""}${e[1]??""}`,"MindExecution.Kernel.Length(System.String)":e=>String(e[0]??"").length,"MindExecution.Kernel.ToString(System.Object)":e=>e[0]==null?"":String(e[0]),"MindExecution.Kernel.ToDouble(System.Object)":e=>x(e[0]),"MindExecution.Kernel.ToInt64(System.Object)":e=>J(e[0]),"MindExecution.Kernel.Json.Parse(System.String)":e=>JSON.parse(String(e[0]??"null")),"MindExecution.Kernel.Json.Stringify(System.Object)":e=>JSON.stringify(e[0]),"MindExecution.Kernel.System.GetManifest()":()=>le.map(e=>({...e,id:k(e.signature)})),"MindExecution.Kernel.System.SignatureToId(System.String)":e=>k(String(e[0]??"")),"MindExecution.Kernel.Print(System.Object)":e=>A(e[0]),"MindExecution.Kernel.TypeOf(System.Object)":e=>e[0]===null?"null":Array.isArray(e[0])?"array":typeof e[0],"MindExecution.Kernel.UtcNow()":()=>new Date().toISOString()};function Oe(e){const s=e.trim();if(!s)return[];if(s.startsWith("[")){const o=JSON.parse(s);if(!Array.isArray(o))throw new Error("Watch JSON must be an array of slots.");return o.map(a=>L(a,"watch"))}return s.split(/[\s,]+/).filter(Boolean).map(o=>L(o,"watch"))}function Re(e,s,o,a,i,r=0){var N;if(r>8)throw new Error("FLOW recursion limit exceeded.");const d=new Map;for(const[u,l]of a.entries())d.set(u,l);for(const u of e){const{slot:l,value:$}=it(u);d.set(l,$),i.push(`${" ".repeat(r)}literal ${l} = ${A($)}`)}let w,y=!1;for(const[u,l]of s.entries()){const $=String(l.op??"").trim().toUpperCase();if($==="SET"){const f=L(l.dstSlot,`instructions[${u}].dstSlot`),C=L(l.srcSlot,`instructions[${u}].srcSlot`),O=d.get(C);d.set(f,O),i.push(`${" ".repeat(r)}${u}: SET ${f} = ${A(O)} from ${C}`);continue}if($==="CALL"){const f=$e(l.target??l.targetId),C=f.signature??((N=Ke.get(f.id))==null?void 0:N.signature),O=C?at[C]:void 0;if(!C||!O)throw new Error(`CALL target ${f.id} is not supported by the React local kernel.`);const U=(Array.isArray(l.args)?l.args.map(P=>L(P,`instructions[${u}].args`)):[]).map(P=>d.get(P)),I=O(U),R=l.dstSlot==null?null:L(l.dstSlot,`instructions[${u}].dstSlot`);R&&d.set(R,I),i.push(`${" ".repeat(r)}${u}: CALL ${C} -> ${R??"<no dst>"} = ${A(I)}`);continue}if($==="FLOW"){const f=$e(l.target??l.targetId),C=o.get(f.id);if(!C)throw new Error(`FLOW target ${f.id} is not registered in the React local composite registry.`);const O=Array.isArray(l.args)?l.args.map(R=>L(R,`instructions[${u}].args`)):[],j=new Map;for(const[R,P]of O.entries())j.set(rt(R),d.get(P));i.push(`${" ".repeat(r)}${u}: FLOW ${C.signature} (${f.id}) args=${O.length}`);const U=Re(C.literals,C.instructions,o,j,i,r+1),I=l.dstSlot==null?null:L(l.dstSlot,`instructions[${u}].dstSlot`);I&&U.didReturn&&d.set(I,U.returned),i.push(`${" ".repeat(r)}${u}: FLOW return -> ${I??"<no dst>"} = ${A(U.returned)}`);continue}if($==="RETURN"||$==="RET"){const f=l.srcSlot==null?null:L(l.srcSlot,`instructions[${u}].srcSlot`);w=f?d.get(f):void 0,y=!0,i.push(`${" ".repeat(r)}${u}: RETURN ${f??"<void>"} = ${A(w)}`);break}throw new Error(`Unknown op at instructions[${u}]: ${$||"<empty>"}`)}return{memory:d,returned:w,didReturn:y}}function ct(e,s,o=new Map){const{literals:a,instructions:i}=Le(e),r=[],{memory:d,returned:w}=Re(a,i,o,new Map,r),y=Oe(s),u=(y.length>0?y:Array.from(d.keys()).sort().slice(0,64)).map(l=>`- ${l} = ${A(d.get(l))}`);return[`OK: executed locally (atoms=${i.length}, literals=${a.length})`,`return: ${A(w)}`,"","trace:",...r,"",y.length>0?"watch:":"root user-space slots:",...u.length>0?u:["(none)"],"","adapter: local-react-shell"].join(`
|
|
2
2
|
`)}function lt(e,s,o=16){const a=`${e}
|
|
3
3
|
|
|
4
4
|
Description: ${s}`,i=Array.from({length:o},(d,w)=>{const y=BigInt(k(`${a}#${w}`)),N=Number(y&0xffffn)/32767.5-1;return Number(N.toFixed(6))}),r=a.trim().length===0?0:a.trim().split(/\s+/).length;return{input:a,vector:i,tokens:r}}const Ne=JSON.stringify({literals:[{id:"0x0000000000000000",type:"double",value:1},{id:"0x0000000000000001",type:"double",value:10}],instructions:[{op:"CALL",target:"$MindExecution.Kernel.Add(System.Double,System.Double)",args:["0x0000000000000000","0x0000000000000001"],dstSlot:"0x0000000000000002"},{op:"RETURN",srcSlot:"0x0000000000000002"}]},null,2),De=JSON.stringify({literals:[],instructions:[{op:"CALL",target:"$MindExecution.Kernel.Add(System.Double,System.Double)",args:["0x0000000080000000","0x0000000080000001"],dstSlot:"0x0000000000000000"},{op:"RETURN",srcSlot:"0x0000000000000000"}]},null,2);function dt(e,s){var a;const o=((a=e.latestRows)==null?void 0:a[0])||{};return{provider:e.provider||"LocalBridgeJsonConceptStore",adapterState:e.adapterState||"json-row-projection",nativeSqliteAdapterState:e.nativeSqliteAdapterState||"adapter-gated",paidEmbeddingAdapterState:e.paidEmbeddingAdapterState||"adapter-gated",originalTable:e.originalTable||"tbl_concepts",rowCount:Number(e.rowCount||0),indexPath:e.indexPath||"",latestRowId:(s==null?void 0:s.id)||o.id||"",latestRowSqlKey:(s==null?void 0:s.sqlKey)||o.sqlKey||"",latestRowSignature:(s==null?void 0:s.signature)||o.signature||"",sqliteReadyColumns:(e.sqliteReadyColumns||[]).slice(0,16)}}function ht(){const[e,s]=c.useState(Ne),[o,a]=c.useState(()=>Ve()),[i,r]=c.useState("MindExecution.Kernel.Add(System.Double,System.Double)"),[d,w]=c.useState("MindExecution.Dynamic.Sum(System.Double,System.Double)"),[y,N]=c.useState("Adds two double values through a browser-local FLOW composite."),[u,l]=c.useState(De),[$,f]=c.useState("MindExecution.Dynamic.Sum(System.Double,System.Double)"),[C,O]=c.useState("Adds two doubles through a Concept FLOW composite. Browser preview only."),[j,U]=c.useState([]),[I,R]=c.useState("0x0000000000000002"),[P,M]=c.useState(""),[z,de]=c.useState(!1),[H,se]=c.useState("idle"),[ue,pe]=c.useState(""),[Ae,me]=c.useState(""),[ke,ge]=c.useState(""),[h,xe]=c.useState(null),[p,Pe]=c.useState(null),[re,ie]=c.useState("idle"),[Se,he]=c.useState(""),G=c.useRef(0),_=c.useMemo(()=>le.map(n=>({...n,id:k(n.signature)})),[]),be=c.useMemo(()=>new Map(j.map(n=>[n.id,n])),[j]),T=o.executionMode,V=o.directInstructionQueueMode,ye=c.useCallback((n,S)=>{const v=Xe({...o,...n},S);a(v),g.emit("executionMode.settings.changed",{source:S,executionMode:v.executionMode,directInstructionQueueMode:v.directInstructionQueueMode})},[o]),Te=c.useCallback(()=>{de(!0),g.emit("executionMode.tool.run",{toolName:T==="PureLLM"?"PureLLM.AdapterGate":"Concept.Execute"}),g.emit("executionMode.run.local",{hasPrompt:!!e.trim(),mode:T,directInstructionQueueMode:V,adapterGated:T==="PureLLM"}),window.setTimeout(()=>{const n=e.trim();if(T==="PureLLM")M(["PureLLM mode selected.","","Live direct LLM execution is adapter-gated in this React shell.",`Queue mode: ${V}`,"","Use Concept mode for deterministic browser-local JSON IR testing until a verified Agent adapter is connected."].join(`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,j as e}from"./vendor-react-BXzpOyCS.js";import{R as b}from"./app-runtime-xD2Z3NdN.js";import{aT as A}from"./vendor-icons-
|
|
1
|
+
import{r as s,j as e}from"./vendor-react-BXzpOyCS.js";import{R as b}from"./app-runtime-xD2Z3NdN.js";import{aT as A}from"./vendor-icons-678PAT8P.js";const u="mindexec-react-launch-leads-v1";function O(){const t=window.localStorage.getItem(u);if(!t)return[];const i=JSON.parse(t);return Array.isArray(i)?i.filter(r=>typeof r=="object"&&r!==null):[]}function R(){return navigator.language||"en"}function $({productKey:t="mindexec",eyebrow:i="Launch list",headline:r="Get the launch notes.",body:w="Short English updates for the product launch, payment rollout, and practical workflow examples.",buttonText:y="Join list",sourceTag:a="unknown",compact:L=!1}){const h=s.useId(),[m,p]=s.useState(""),[o,E]=s.useState("solo-builder"),[l,x]=s.useState(!1),[f,c]=s.useState(""),[N,j]=s.useState(!1),k=n=>{if(n.preventDefault(),l)return;const d=m.trim().toLowerCase();if(c(""),j(!1),!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(d)){c("Enter a valid email address.");return}x(!0),window.setTimeout(()=>{const g=window.location.pathname,v=R();try{const C={email:d,productKey:t,sourcePath:g,sourceTag:a,intent:o,locale:v,metadata:{source_tag:a,host:window.location.host},capturedAt:new Date().toISOString()},I=O();window.localStorage.setItem(u,JSON.stringify([C,...I.filter(S=>S.email!==d||S.sourceTag!==a).slice(0,49)]))}catch{}b.emit("launchLead.captured",{productKey:t,sourcePath:g,sourceTag:a,intent:o,locale:v}),a==="pricing"&&b.emit("pricing.lead.captured",{intent:o,sourceTag:a}),x(!1),j(!0),c("You're on the launch list."),p("")},450)};return e.jsxs("section",{className:`launch-lead ${L?"launch-lead--compact":""}`,"data-testid":"launch-lead","data-lead-storage-key":u,"data-product-key":t,"data-source-tag":a,children:[e.jsxs("div",{className:"launch-lead-copy",children:[e.jsx("div",{className:"eyebrow",children:i}),e.jsx("h2",{children:r}),e.jsx("p",{children:w})]}),e.jsxs("form",{className:"launch-lead-form",onSubmit:k,"data-testid":"launch-lead-form",children:[e.jsx("label",{htmlFor:h,children:"Email"}),e.jsxs("div",{className:"launch-lead-controls",children:[e.jsxs("div",{className:"launch-lead-input",children:[e.jsx(A,{size:17}),e.jsx("input",{id:h,value:m,onChange:n=>p(n.target.value),type:"email",autoComplete:"email",placeholder:"you@example.com",disabled:l,"data-testid":"launch-lead-email"})]}),e.jsxs("select",{value:o,onChange:n=>E(n.target.value),"aria-label":"Launch interest",disabled:l,"data-testid":"launch-lead-intent",children:[e.jsx("option",{value:"solo-builder",children:"Solo builder"}),e.jsx("option",{value:"researcher",children:"Researcher"}),e.jsx("option",{value:"developer",children:"Developer"}),e.jsx("option",{value:"creator",children:"Creator"})]}),e.jsx("button",{type:"submit",disabled:l,"data-testid":"launch-lead-submit",children:l?"Saving...":y})]}),f&&e.jsx("p",{className:`launch-lead-status ${N?"is-ok":""}`,role:"status","data-testid":"launch-lead-status",children:f})]})]})}export{$ as L};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as f,j as e}from"./vendor-react-BXzpOyCS.js";import{L as v}from"./LaunchLeadCapture-
|
|
1
|
+
import{r as f,j as e}from"./vendor-react-BXzpOyCS.js";import{L as v}from"./LaunchLeadCapture-Btre_FaA.js";import{m as b}from"./marketingTools-DN_rnHeB.js";import{g as j}from"./vendor-icons-678PAT8P.js";import"./app-runtime-xD2Z3NdN.js";const w=b.slice(0,6),k=[["Researchers","Move from reading notes and loose fragments into a board that can hold context and structure."],["Writers","Preview docs and README content quickly, then collect the related work in one saved project."],["Developers","Use local-first utility pages without upload friction, then expand into a canvas when the work becomes multi-file or collaborative."]];function g(r){switch(r.key){case"markdown-viewer":return"Markdown";case"bulk-markdown-viewer":return"Bulk";case"markdown-outline":return"Outline";case"markdown-table-formatter":return"Tables";case"markdown-link-checker":return"Links";case"readme-previewer":return"README";case"markdown-to-html":return"HTML";case"browser-notepad":return"Notes";case"clipboard-board":return"Clipboard";default:return r.chip||"Tool"}}function l(r,t,o){const a=document.head.querySelector(r),s=a??t(),i=s.getAttribute("content"),c=!a;return c&&document.head.appendChild(s),s.setAttribute("content",o),()=>{c?s.remove():i===null?s.removeAttribute("content"):s.setAttribute("content",i)}}function y(r){const t=document.createElement("meta");return t.setAttribute("name",r),t}function d(r){const t=document.createElement("meta");return t.setAttribute("property",r),t}function N(){const r=document.title,t="MindExec | Run your ideas as AI task graphs",o="MindExec is an AI execution canvas for solo builders, researchers, developers, and creators. Start with free browser tools, then move serious work into saved MindCanvas projects.",a="https://mindexec.pages.dev/",s=document.head.querySelector('link[rel="canonical"]')??document.createElement("link"),i=!s.parentElement,c=s.getAttribute("href");s.setAttribute("rel","canonical"),s.setAttribute("href",a),i&&document.head.appendChild(s);const h={"@context":"https://schema.org","@type":"SoftwareApplication",name:"MindExec",applicationCategory:"ProductivityApplication",operatingSystem:"Web",description:"AI execution canvas for markdown, notes, research, and technical planning.",url:a,offers:{"@type":"Offer",price:"9",priceCurrency:"USD"}},n=document.head.querySelector("#platform-home-structured-data")??document.createElement("script"),p=!n.parentElement,u=n.textContent;n.id="platform-home-structured-data",n.type="application/ld+json",n.setAttribute("data-testid","platform-home-structured-data"),n.textContent=JSON.stringify(h),p&&document.head.appendChild(n),document.title=t;const m=[l('meta[name="description"]',()=>y("description"),o),l('meta[property="og:title"]',()=>d("og:title"),t),l('meta[property="og:description"]',()=>d("og:description"),"Use free markdown, notes, and clipboard tools instantly, then move larger work into MindCanvas for saved projects, AI task graphs, and visual organization."),l('meta[property="og:type"]',()=>d("og:type"),"website"),l('meta[property="og:url"]',()=>d("og:url"),a)];return()=>{document.title=r,m.forEach(x=>x()),i?s.remove():c===null?s.removeAttribute("href"):s.setAttribute("href",c),p?n.remove():n.textContent=u}}function I({navigate:r}){return f.useEffect(()=>N(),[]),e.jsxs("div",{className:"page platform-page","data-testid":"platform-home",children:[e.jsxs("section",{className:"platform-hero",children:[e.jsx("div",{className:"eyebrow",children:"AI business execution canvas"}),e.jsxs("div",{className:"platform-hero-grid",children:[e.jsxs("div",{className:"platform-copy",children:[e.jsx("h1",{children:"MindExec"}),e.jsx("p",{children:"Run your ideas as AI task graphs. Start with quick browser tools, then keep serious work in MindCanvas where notes, assets, AI runs, and execution evidence stay visible."}),e.jsxs("div",{className:"action-row",children:[e.jsx("button",{className:"btn btn-primary",type:"button",onClick:()=>r("/mindcanvas"),children:"Open MindCanvas"}),e.jsx("button",{className:"btn btn-secondary",type:"button",onClick:()=>r("/tools"),children:"Browse free tools"}),e.jsx("button",{className:"btn btn-ghost",type:"button",onClick:()=>r("/pricing"),children:"See pricing"})]}),e.jsxs("div",{className:"trust-row",children:[e.jsx("span",{children:"English-first global launch"}),e.jsx("span",{children:"Local-first by default"}),e.jsx("span",{children:"USD paid path"}),e.jsx("span",{children:"Built for solo builders"})]})]}),e.jsxs("div",{className:"hero-product-panel","aria-label":"MindExec workflow preview",children:[e.jsxs("div",{className:"preview-toolbar",children:[e.jsx("span",{}),e.jsx("span",{}),e.jsx("span",{})]}),e.jsxs("div",{className:"preview-canvas",children:[e.jsxs("article",{className:"preview-node preview-node--note",children:[e.jsx("strong",{children:"Context"}),e.jsx("p",{children:"Audience, offer, proof, and reusable launch notes."})]}),e.jsxs("article",{className:"preview-node preview-node--task",children:[e.jsx(j,{size:16}),e.jsx("strong",{children:"AI Task"}),e.jsx("p",{children:"Create launch plan"})]}),e.jsx("svg",{className:"preview-edge",viewBox:"0 0 360 210","aria-hidden":"true",children:e.jsx("path",{d:"M130 92 C180 70 205 70 250 100"})})]})]})]})]}),e.jsx(v,{eyebrow:"Global launch list",headline:"Get the English launch notes before the paid rollout.",body:"Short product updates, practical MindCanvas examples, and launch pricing notices for builders who want a durable visual workspace.",sourceTag:"home"}),e.jsxs("section",{className:"page-section",children:[e.jsxs("div",{className:"section-head",children:[e.jsx("div",{className:"eyebrow",children:"How it fits"}),e.jsx("h2",{children:"Use the light tool first. Keep the bigger work in one place."}),e.jsx("p",{children:"The React port keeps MindExec canvas-first: fast utility work stays quick, and durable project work moves into a saved board."})]}),e.jsx("div",{className:"step-grid",children:[["01","Open a tool instantly","Markdown, notes, snippets, and quick review without login friction."],["02","Find the point where it matters","When work needs structure, compare, evidence, or repeatability."],["03","Continue in MindCanvas","Connect context, run AI tasks, and keep the output reusable."]].map(([t,o,a])=>e.jsxs("article",{className:"step-card",children:[e.jsx("span",{children:t}),e.jsx("h3",{children:o}),e.jsx("p",{children:a})]},t))})]}),e.jsxs("section",{className:"page-section","data-testid":"platform-featured-tools",children:[e.jsxs("div",{className:"section-head",children:[e.jsx("div",{className:"eyebrow",children:"Free entry points"}),e.jsx("h2",{children:"Start with the tool that matches the job"}),e.jsx("p",{children:"Each tool is meant to solve one narrow problem quickly, then hand larger work off to MindCanvas at the right moment."})]}),e.jsx("div",{className:"platform-tool-grid",children:w.map(t=>e.jsxs("article",{className:"platform-tool-card","data-testid":"platform-featured-tool-card","data-tool-key":t.key,children:[e.jsx("div",{className:"platform-tool-chip",children:g(t)}),e.jsx("h3",{children:t.title}),e.jsx("p",{children:t.description}),e.jsx("a",{href:t.liveUrl,target:"_blank",rel:"noreferrer","data-live-url":t.liveUrl,children:"Open tool"})]},t.key))}),e.jsx("div",{className:"platform-section-link",children:e.jsx("button",{className:"btn btn-ghost",type:"button",onClick:()=>r("/tools"),children:"See the full tools directory"})})]}),e.jsxs("section",{className:"page-section","data-testid":"platform-audience",children:[e.jsxs("div",{className:"section-head",children:[e.jsx("div",{className:"eyebrow",children:"Best fit"}),e.jsx("h2",{children:"Built for researchers, writers, developers, and solo builders"}),e.jsx("p",{children:"If your work begins as markdown, snippets, notes, links, or loose planning artifacts, MindExec gives you a cleaner path into a persistent AI execution canvas."})]}),e.jsx("div",{className:"platform-audience-grid",children:k.map(([t,o])=>e.jsxs("article",{children:[e.jsx("h3",{children:t}),e.jsx("p",{children:o})]},t))})]}),e.jsxs("section",{className:"platform-closing","data-testid":"platform-closing",children:[e.jsxs("div",{children:[e.jsx("div",{className:"eyebrow",children:"Next step"}),e.jsx("h2",{children:"Start free. Upgrade when the work becomes worth keeping."}),e.jsx("p",{children:"Use the free entry points first, then keep the work that deserves persistence, cloud access, and AI support."})]}),e.jsxs("div",{className:"action-row",children:[e.jsx("button",{className:"btn btn-primary",type:"button",onClick:()=>r("/mindcanvas"),children:"Open MindCanvas"}),e.jsx("button",{className:"btn btn-ghost",type:"button",onClick:()=>r("/pricing"),children:"See pricing"})]})]})]})}export{I as MarketingHome};
|