alchemylab 1.0.2 → 1.0.3

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 (2) hide show
  1. package/dist/cli.js +9 -8
  2. package/package.json +9 -5
package/dist/cli.js CHANGED
@@ -392,14 +392,15 @@ exports.defaultLogger=s.default
392
392
  const n=t(6540)
393
393
  Object.defineProperty(exports,"LogLevel",{enumerable:!0,get(){return n.LogLevel}}),exports.default=s.default},3785(module){module.exports=require("readline")},3807(module){module.exports=require("simple-git")},3962(e,exports,t){function r(){if(n)return n
394
394
  const e=process.argv[1]||""
395
- let t=""
396
- if(e.includes("node_modules")){const r=e.lastIndexOf("/dist/")
397
- r>0&&(t=e.substring(0,r+5))}else{const r=e.lastIndexOf("/dist-dev/")
398
- if(r>0)t=e.substring(0,r+9)
399
- else{const r=e.lastIndexOf("/dist/")
400
- r>0&&(t=e.substring(0,r+5))}}if(!t){const e=process.cwd()
401
- t=e.includes("alchemy-local")||e.includes("alchemy")?s.default.join(e,"dist-dev"):s.default.join(e,"dist")}const r=t.includes("dist-dev")||process.env.REMOTE_SERVER_URL?.includes("localhost")||!1,o=s.default.join(t,"mcp-direct.js"),i=process.env.REMOTE_SERVER_URL||"https://api.alchemylabcode.com"
402
- return n={installPath:t,scriptPath:o,nodePath:process.execPath,isDevMode:r,serverName:"alchemy",remoteServerUrl:i},n}var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}}
395
+ let r=e
396
+ try{r=t(9896).realpathSync(e)}catch{}let o=""
397
+ if(r.includes("node_modules")){const e=r.lastIndexOf("/dist/")
398
+ e>0&&(o=r.substring(0,e+5))}else{const e=r.lastIndexOf("/dist-dev/")
399
+ if(e>0)o=r.substring(0,e+9)
400
+ else{const e=r.lastIndexOf("/dist/")
401
+ e>0&&(o=r.substring(0,e+5))}}if(!o){const e=process.cwd()
402
+ o=e.includes("alchemy-local")||e.includes("alchemy")?s.default.join(e,"dist-dev"):s.default.join(e,"dist")}const i=o.includes("dist-dev")||process.env.REMOTE_SERVER_URL?.includes("localhost")||!1,a=s.default.join(o,"mcp-direct.js"),c=process.env.REMOTE_SERVER_URL||"https://api.alchemylabcode.com"
403
+ return n={installPath:o,scriptPath:a,nodePath:process.execPath,isDevMode:i,serverName:"alchemy",remoteServerUrl:c},n}var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}}
403
404
  Object.defineProperty(exports,"__esModule",{value:!0}),exports.getInstallContext=r,exports.clearInstallContextCache=function(){n=null},exports.isDevMode=function(e){return e?e.includes("dist-dev")||process.env.REMOTE_SERVER_URL?.includes("localhost")||!1:r().isDevMode},exports.getServerName=function(e){return e??r().isDevMode,"alchemy"}
404
405
  const s=o(t(6928))
405
406
  let n=null},4139(e,exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.ALCHEMY_DIR_NAME=exports.TOKEN_DIR_NAME=void 0,exports.TOKEN_DIR_NAME="alchemy-key",exports.ALCHEMY_DIR_NAME=".alchemy_lab"},4192(e,exports,t){Object.defineProperty(exports,"__esModule",{value:!0}),exports.BaseApiClient=void 0
package/package.json CHANGED
@@ -1,13 +1,19 @@
1
1
  {
2
2
  "name": "alchemylab",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "private": false,
5
-
6
5
  "description": "AlchemyLab - agentic coding IDEm",
7
6
  "author": "Testfire Software",
8
7
  "license": "SEE LICENSE IN LICENSE.txt",
9
8
  "homepage": "https://alchemylabcode.com",
10
- "keywords": ["ai", "development", "orchestration", "mcp", "opencode", "claude"],
9
+ "keywords": [
10
+ "ai",
11
+ "development",
12
+ "orchestration",
13
+ "mcp",
14
+ "opencode",
15
+ "claude"
16
+ ],
11
17
  "main": "dist/index.js",
12
18
  "bin": {
13
19
  "alchemy": "dist/cli.js",
@@ -19,7 +25,6 @@
19
25
  "package.json",
20
26
  "README.md"
21
27
  ],
22
-
23
28
  "scripts": {
24
29
  "build": "npm run build:dev",
25
30
  "build:dev": "tsc -p tsconfig.json && chmod +x dist-dev/*.js",
@@ -34,7 +39,6 @@
34
39
  "@modelcontextprotocol/sdk": "^1.7.0",
35
40
  "cors": "^2.8.5",
36
41
  "express": "^4.18.2",
37
-
38
42
  "micromatch": "^4.0.5",
39
43
  "simple-git": "^3.19.0",
40
44
  "winston": "^3.8.2",