alchemylab 1.0.12 → 1.0.13

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 CHANGED
@@ -925,9 +925,9 @@ if(parseInt(e.replace("v","").split(".")[0],10)>=a)return"node"}catch{}const e=p
925
925
  if((0,n.existsSync)(t))try{const e=(0,n.readdirSync)(t).filter((e=>parseInt(e.replace("v","").split(".")[0],10)>=a)).sort(((e,t)=>{const s=parseInt(e.replace("v","").split(".")[0],10)
926
926
  return parseInt(t.replace("v","").split(".")[0],10)-s}))
927
927
  if(e.length>0){const s=(0,o.join)(t,e[0],"bin","node")
928
- if((0,n.existsSync)(s))return s}}catch{}throw Error(`AlchemyLab requires Node.js >= ${a} to run the OpenCode server.\nYour current version: ${process.version}\nInstall Node ${a}+: nvm install ${a} (or download from https://nodejs.org)`)}(),prependArgs:["--experimental-strip-types","--experimental-transform-types","--no-warnings","--import",(0,o.join)(e,"node-preload.mjs"),(0,o.join)(e,t)]}}Object.defineProperty(exports,"__esModule",{value:!0}),exports.resolveServeCommand=function(){const e=s()
929
- return e?r((0,o.join)(e,"packages","opencode","src"),"serve.ts"):{command:"opencode",prependArgs:["serve"]}},exports.resolveRunCommand=function(){const e=s()
930
- return e?r((0,o.join)(e,"packages","opencode","src"),"run.ts"):{command:"opencode",prependArgs:[]}}
928
+ if((0,n.existsSync)(s))return s}}catch{}throw Error(`AlchemyLab requires Node.js >= ${a} to run the OpenCode server.\nYour current version: ${process.version}\nInstall Node ${a}+: nvm install ${a} (or download from https://nodejs.org)`)}(),prependArgs:["--no-warnings",(0,o.join)(e,t)]}}Object.defineProperty(exports,"__esModule",{value:!0}),exports.resolveServeCommand=function(){const e=s()
929
+ return e?r((0,o.join)(e,"dist"),"serve.js"):{command:"opencode",prependArgs:["serve"]}},exports.resolveRunCommand=function(){const e=s()
930
+ return e?r((0,o.join)(e,"dist"),"run.js"):{command:"opencode",prependArgs:[]}}
931
931
  const o=t(6928),n=t(9896),i=t(5317),a=24},9266(e,exports,t){"use strict"
932
932
  var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}}
933
933
  Object.defineProperty(exports,"__esModule",{value:!0}),exports.handleOpenCodeProxyAction=async function(e,t){const{method:s,path:i,body:a,headers:c}=e
@@ -5267,9 +5267,9 @@ if(parseInt(e.replace("v","").split(".")[0],10)>=a)return"node"}catch{}const e=p
5267
5267
  if((0,s.existsSync)(t))try{const e=(0,s.readdirSync)(t).filter((e=>parseInt(e.replace("v","").split(".")[0],10)>=a)).sort(((e,t)=>{const r=parseInt(e.replace("v","").split(".")[0],10)
5268
5268
  return parseInt(t.replace("v","").split(".")[0],10)-r}))
5269
5269
  if(e.length>0){const r=(0,o.join)(t,e[0],"bin","node")
5270
- if((0,s.existsSync)(r))return r}}catch{}throw Error(`AlchemyLab requires Node.js >= ${a} to run the OpenCode server.\nYour current version: ${process.version}\nInstall Node ${a}+: nvm install ${a} (or download from https://nodejs.org)`)}(),prependArgs:["--experimental-strip-types","--experimental-transform-types","--no-warnings","--import",(0,o.join)(e,"node-preload.mjs"),(0,o.join)(e,t)]}}Object.defineProperty(exports,"__esModule",{value:!0}),exports.resolveServeCommand=function(){const e=r()
5271
- return e?n((0,o.join)(e,"packages","opencode","src"),"serve.ts"):{command:"opencode",prependArgs:["serve"]}},exports.resolveRunCommand=function(){const e=r()
5272
- return e?n((0,o.join)(e,"packages","opencode","src"),"run.ts"):{command:"opencode",prependArgs:[]}}
5270
+ if((0,s.existsSync)(r))return r}}catch{}throw Error(`AlchemyLab requires Node.js >= ${a} to run the OpenCode server.\nYour current version: ${process.version}\nInstall Node ${a}+: nvm install ${a} (or download from https://nodejs.org)`)}(),prependArgs:["--no-warnings",(0,o.join)(e,t)]}}Object.defineProperty(exports,"__esModule",{value:!0}),exports.resolveServeCommand=function(){const e=r()
5271
+ return e?n((0,o.join)(e,"dist"),"serve.js"):{command:"opencode",prependArgs:["serve"]}},exports.resolveRunCommand=function(){const e=r()
5272
+ return e?n((0,o.join)(e,"dist"),"run.js"):{command:"opencode",prependArgs:[]}}
5273
5273
  const o=t(6928),s=t(9896),i=t(5317),a=24},9072(e,exports,t){"use strict"
5274
5274
  async function r(e,t,r,n){try{const o=await(0,u.getServerUrl)(r,n)
5275
5275
  if(!o)return n.warn("Could not get server URL for notification",{sessionId:e}),!1
package/dist/index.js CHANGED
@@ -5337,9 +5337,9 @@ if(parseInt(e.replace("v","").split(".")[0],10)>=a)return"node"}catch{}const e=p
5337
5337
  if((0,s.existsSync)(t))try{const e=(0,s.readdirSync)(t).filter((e=>parseInt(e.replace("v","").split(".")[0],10)>=a)).sort(((e,t)=>{const r=parseInt(e.replace("v","").split(".")[0],10)
5338
5338
  return parseInt(t.replace("v","").split(".")[0],10)-r}))
5339
5339
  if(e.length>0){const r=(0,o.join)(t,e[0],"bin","node")
5340
- if((0,s.existsSync)(r))return r}}catch{}throw Error(`AlchemyLab requires Node.js >= ${a} to run the OpenCode server.\nYour current version: ${process.version}\nInstall Node ${a}+: nvm install ${a} (or download from https://nodejs.org)`)}(),prependArgs:["--experimental-strip-types","--experimental-transform-types","--no-warnings","--import",(0,o.join)(e,"node-preload.mjs"),(0,o.join)(e,t)]}}Object.defineProperty(exports,"__esModule",{value:!0}),exports.resolveServeCommand=function(){const e=r()
5341
- return e?n((0,o.join)(e,"packages","opencode","src"),"serve.ts"):{command:"opencode",prependArgs:["serve"]}},exports.resolveRunCommand=function(){const e=r()
5342
- return e?n((0,o.join)(e,"packages","opencode","src"),"run.ts"):{command:"opencode",prependArgs:[]}}
5340
+ if((0,s.existsSync)(r))return r}}catch{}throw Error(`AlchemyLab requires Node.js >= ${a} to run the OpenCode server.\nYour current version: ${process.version}\nInstall Node ${a}+: nvm install ${a} (or download from https://nodejs.org)`)}(),prependArgs:["--no-warnings",(0,o.join)(e,t)]}}Object.defineProperty(exports,"__esModule",{value:!0}),exports.resolveServeCommand=function(){const e=r()
5341
+ return e?n((0,o.join)(e,"dist"),"serve.js"):{command:"opencode",prependArgs:["serve"]}},exports.resolveRunCommand=function(){const e=r()
5342
+ return e?n((0,o.join)(e,"dist"),"run.js"):{command:"opencode",prependArgs:[]}}
5343
5343
  const o=t(6928),s=t(9896),i=t(5317),a=24},9072(e,exports,t){"use strict"
5344
5344
  async function r(e,t,r,n){try{const o=await(0,u.getServerUrl)(r,n)
5345
5345
  if(!o)return n.warn("Could not get server URL for notification",{sessionId:e}),!1
@@ -5033,9 +5033,9 @@ if(parseInt(e.replace("v","").split(".")[0],10)>=a)return"node"}catch{}const e=p
5033
5033
  if((0,s.existsSync)(t))try{const e=(0,s.readdirSync)(t).filter((e=>parseInt(e.replace("v","").split(".")[0],10)>=a)).sort(((e,t)=>{const r=parseInt(e.replace("v","").split(".")[0],10)
5034
5034
  return parseInt(t.replace("v","").split(".")[0],10)-r}))
5035
5035
  if(e.length>0){const r=(0,o.join)(t,e[0],"bin","node")
5036
- if((0,s.existsSync)(r))return r}}catch{}throw Error(`AlchemyLab requires Node.js >= ${a} to run the OpenCode server.\nYour current version: ${process.version}\nInstall Node ${a}+: nvm install ${a} (or download from https://nodejs.org)`)}(),prependArgs:["--experimental-strip-types","--experimental-transform-types","--no-warnings","--import",(0,o.join)(e,"node-preload.mjs"),(0,o.join)(e,t)]}}Object.defineProperty(exports,"__esModule",{value:!0}),exports.resolveServeCommand=function(){const e=r()
5037
- return e?n((0,o.join)(e,"packages","opencode","src"),"serve.ts"):{command:"opencode",prependArgs:["serve"]}},exports.resolveRunCommand=function(){const e=r()
5038
- return e?n((0,o.join)(e,"packages","opencode","src"),"run.ts"):{command:"opencode",prependArgs:[]}}
5036
+ if((0,s.existsSync)(r))return r}}catch{}throw Error(`AlchemyLab requires Node.js >= ${a} to run the OpenCode server.\nYour current version: ${process.version}\nInstall Node ${a}+: nvm install ${a} (or download from https://nodejs.org)`)}(),prependArgs:["--no-warnings",(0,o.join)(e,t)]}}Object.defineProperty(exports,"__esModule",{value:!0}),exports.resolveServeCommand=function(){const e=r()
5037
+ return e?n((0,o.join)(e,"dist"),"serve.js"):{command:"opencode",prependArgs:["serve"]}},exports.resolveRunCommand=function(){const e=r()
5038
+ return e?n((0,o.join)(e,"dist"),"run.js"):{command:"opencode",prependArgs:[]}}
5039
5039
  const o=t(6928),s=t(9896),i=t(5317),a=24},9072(e,exports,t){"use strict"
5040
5040
  async function r(e,t,r,n){try{const o=await(0,u.getServerUrl)(r,n)
5041
5041
  if(!o)return n.warn("Could not get server URL for notification",{sessionId:e}),!1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "alchemylab",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "private": false,
5
5
  "description": "AlchemyLab - agentic coding IDEm",
6
6
  "author": "Testfire Software",