@lakitu/sdk 0.1.26 → 0.1.27

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;;;;;GAKG;AAaH,UAAU,YAAY;IACpB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAkMD,wBAAsB,KAAK,CAAC,OAAO,EAAE,YAAY,iBAgBhD"}
1
+ {"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../../cli/commands/build.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAaH,UAAU,YAAY;IACpB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAsND,wBAAsB,KAAK,CAAC,OAAO,EAAE,YAAY,iBAgBhD"}
@@ -123,9 +123,29 @@ async function buildCustom(apiKey, baseId) {
123
123
  }
124
124
  // Copy start script
125
125
  cpSync(join(PACKAGE_ROOT, "template/e2b/start.sh"), join(buildDir, "start.sh"));
126
- // Create Dockerfile that builds on base template
126
+ // Create Dockerfile - must use real Docker image, not E2B template alias
127
127
  const dockerfile = `# Lakitu Custom Template
128
- FROM ${baseId}
128
+ FROM e2bdev/code-interpreter:latest
129
+
130
+ # System dependencies
131
+ RUN apt-get update && apt-get install -y git curl sqlite3 libsqlite3-dev build-essential unzip && rm -rf /var/lib/apt/lists/*
132
+
133
+ # Bun runtime
134
+ RUN curl -fsSL https://bun.sh/install | bash
135
+ ENV PATH="/root/.bun/bin:/home/user/.bun/bin:$PATH"
136
+
137
+ # Node.js for npx convex
138
+ RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && apt-get install -y nodejs && rm -rf /var/lib/apt/lists/*
139
+
140
+ # Convex local backend
141
+ RUN curl -L -o /tmp/convex.zip "https://github.com/get-convex/convex-backend/releases/download/precompiled-2026-01-08-272e7f4/convex-local-backend-x86_64-unknown-linux-gnu.zip" && \\
142
+ unzip /tmp/convex.zip -d /tmp && \\
143
+ mv /tmp/convex-local-backend /usr/local/bin/convex-backend && \\
144
+ chmod +x /usr/local/bin/convex-backend && \\
145
+ rm /tmp/convex.zip
146
+
147
+ # Directory structure
148
+ RUN mkdir -p /home/user/workspace /home/user/.convex/convex-backend-state/lakitu /home/user/artifacts && chown -R user:user /home/user
129
149
 
130
150
  # Copy lakitu code (using Docker's COPY, not SDK's tar streaming)
131
151
  COPY --chown=user:user lakitu/ /home/user/lakitu/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lakitu/sdk",
3
- "version": "0.1.26",
3
+ "version": "0.1.27",
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",