@lakitu/sdk 0.1.52 → 0.1.53

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;AA+MD,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;AAgND,wBAAsB,KAAK,CAAC,OAAO,EAAE,YAAY,iBAgBhD"}
@@ -152,13 +152,14 @@ COPY --chown=user:user start.sh /home/user/start.sh
152
152
  RUN chmod +x /home/user/start.sh && \\
153
153
  cd /home/user/lakitu && /home/user/.bun/bin/bun install
154
154
 
155
- # Python: Lightweight Playwright for JS rendering (no heavy camoufox)
156
- # Bot-protected sites use cloud-side FlareSolverr via gateway
157
- RUN pip3 install playwright markitdown && playwright install-deps chromium
155
+ # Lightpanda browser - 10x faster, 10x less memory than Chrome
156
+ # https://lightpanda.io/docs/getting-started/installation
157
+ RUN curl -L -o /usr/local/bin/lightpanda https://github.com/lightpanda-io/browser/releases/download/nightly/lightpanda-x86_64-linux && \\
158
+ chmod a+x /usr/local/bin/lightpanda
159
+
160
+ # Python: Playwright for CDP connection to Lightpanda
161
+ RUN pip3 install playwright markitdown
158
162
  USER user
159
- # Only install Chromium (lightweight, ~300MB vs 713MB for camoufox)
160
- RUN playwright install chromium
161
- USER root
162
163
 
163
164
  # Create CLI tools
164
165
  RUN printf '#!/bin/bash\\nbun run /home/user/lakitu/runtime/pdf/pdf-generator.ts "$$@"\\n' > /usr/local/bin/generate-pdf && chmod +x /usr/local/bin/generate-pdf
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lakitu/sdk",
3
- "version": "0.1.52",
3
+ "version": "0.1.53",
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",