@lakitu/sdk 0.1.55 → 0.1.57
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;
|
|
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;AAqND,wBAAsB,KAAK,CAAC,OAAO,EAAE,YAAY,iBAgBhD"}
|
|
@@ -160,6 +160,12 @@ RUN curl -L -o /usr/local/bin/lightpanda https://github.com/lightpanda-io/browse
|
|
|
160
160
|
# Python: Playwright for CDP connection to Lightpanda
|
|
161
161
|
RUN pip3 install playwright markitdown
|
|
162
162
|
|
|
163
|
+
# Patchright - stealth Chromium that bypasses CDP detection (Cloudflare, DataDome)
|
|
164
|
+
# https://github.com/Kaliiiiiiiiii-Vinyzu/patchright
|
|
165
|
+
# Install globally AND in lakitu project so dynamic imports work from KSA context
|
|
166
|
+
RUN npm install -g patchright && npx patchright install chrome && \
|
|
167
|
+
cd /home/user/lakitu && bun add patchright
|
|
168
|
+
|
|
163
169
|
# Create CLI tools (must be root)
|
|
164
170
|
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
|
|
165
171
|
RUN printf '#!/bin/bash\\nbun run /home/user/lakitu/runtime/browser/agent-browser-cli.ts "$$@"\\n' > /usr/local/bin/agent-browser && chmod +x /usr/local/bin/agent-browser
|