@lakitu/sdk 0.1.13 → 0.1.15

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.
@@ -1 +1 @@
1
- {"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../../cli/commands/build.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAcH,UAAU,YAAY;IACpB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAgQD,wBAAsB,KAAK,CAAC,OAAO,EAAE,YAAY,iBAiBhD"}
1
+ {"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../../cli/commands/build.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAcH,UAAU,YAAY;IACpB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAsQD,wBAAsB,KAAK,CAAC,OAAO,EAAE,YAAY,iBAiBhD"}
@@ -124,10 +124,15 @@ CONVEX_SELF_HOSTED_ADMIN_KEY=0135d8598650f8f5cb0f30c34ec2e2bb62793bc28717c8eb6fb
124
124
  `);
125
125
  try {
126
126
  // Run from package root where convex.json is (specifies functions: "convex/sandbox")
127
+ // Filter out Bun's node shim from PATH so convex-backend finds real Node.js
128
+ const cleanPath = (process.env.PATH || "")
129
+ .split(":")
130
+ .filter(p => !p.includes("bun-node-"))
131
+ .join(":");
127
132
  execSync(`npx convex dev --once --typecheck disable --env-file ${tempEnvFile}`, {
128
133
  cwd: PACKAGE_ROOT,
129
134
  stdio: "inherit",
130
- env: { ...process.env, CONVEX_DEPLOYMENT: undefined },
135
+ env: { ...process.env, CONVEX_DEPLOYMENT: undefined, PATH: cleanPath },
131
136
  });
132
137
  console.log("Functions deployed successfully!");
133
138
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lakitu/sdk",
3
- "version": "0.1.13",
3
+ "version": "0.1.15",
4
4
  "description": "Self-hosted AI agent framework for Convex + E2B with code execution",
5
5
  "type": "module",
6
6
  "main": "./dist/sdk/index.js",