@alook/app 0.0.17 → 0.0.18

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 (25) hide show
  1. package/bundled/web/.open-next/.build/durable-objects/queue.js +4 -4
  2. package/bundled/web/.open-next/assets/BUILD_ID +1 -1
  3. package/bundled/web/.open-next/cache/{f21H7YjqPucaNMIOohPYC → 1KhJxRMQgsspHvsEB0i7h}/_global-error.cache +1 -1
  4. package/bundled/web/.open-next/cache/{f21H7YjqPucaNMIOohPYC → 1KhJxRMQgsspHvsEB0i7h}/_not-found.cache +1 -1
  5. package/bundled/web/.open-next/cache/{f21H7YjqPucaNMIOohPYC → 1KhJxRMQgsspHvsEB0i7h}/sitemap.xml.cache +1 -1
  6. package/bundled/web/.open-next/cloudflare/cache-assets-manifest.sql +1 -1
  7. package/bundled/web/.open-next/cloudflare/init.js +1 -1
  8. package/bundled/web/.open-next/dynamodb-provider/dynamodb-cache.json +1 -1
  9. package/bundled/web/.open-next/middleware/handler.mjs +2 -2
  10. package/bundled/web/.open-next/server-functions/default/src/web/.next/BUILD_ID +1 -1
  11. package/bundled/web/.open-next/server-functions/default/src/web/.next/build-manifest.json +3 -3
  12. package/bundled/web/.open-next/server-functions/default/src/web/.next/server/middleware-build-manifest.js +3 -3
  13. package/bundled/web/.open-next/server-functions/default/src/web/.next/server/middleware-manifest.json +1 -1
  14. package/bundled/web/.open-next/server-functions/default/src/web/handler.mjs +2 -2
  15. package/bundled/web/.open-next/server-functions/default/src/web/handler.mjs.meta.json +91 -91
  16. package/bundled/web/.open-next/server-functions/default/src/web/index.mjs +2 -2
  17. package/dist/cli/index.js +19660 -0
  18. package/dist/cli/meeting-runner.js +888 -0
  19. package/dist/cli/session-runner.js +18794 -0
  20. package/dist/index.js +12 -11
  21. package/package.json +7 -4
  22. /package/bundled/web/.open-next/assets/_next/static/{f21H7YjqPucaNMIOohPYC → 1KhJxRMQgsspHvsEB0i7h}/_buildManifest.js +0 -0
  23. /package/bundled/web/.open-next/assets/_next/static/{f21H7YjqPucaNMIOohPYC → 1KhJxRMQgsspHvsEB0i7h}/_clientMiddlewareManifest.js +0 -0
  24. /package/bundled/web/.open-next/assets/_next/static/{f21H7YjqPucaNMIOohPYC → 1KhJxRMQgsspHvsEB0i7h}/_ssgManifest.js +0 -0
  25. /package/bundled/web/.open-next/cache/{f21H7YjqPucaNMIOohPYC → 1KhJxRMQgsspHvsEB0i7h}/robots.txt.cache +0 -0
package/dist/index.js CHANGED
@@ -19,14 +19,14 @@ var __require = /* @__PURE__ */ createRequire(import.meta.url);
19
19
  // src/index.ts
20
20
  import { Command as Command6 } from "commander";
21
21
  import { readFileSync as readFileSync4 } from "fs";
22
- import { join as join9, dirname as dirname3 } from "path";
23
- import { fileURLToPath as fileURLToPath2 } from "url";
22
+ import { join as join10, dirname as dirname5 } from "path";
23
+ import { fileURLToPath as fileURLToPath4 } from "url";
24
24
 
25
25
  // src/commands/onboard.ts
26
26
  import { Command } from "commander";
27
27
  import { execSync as execSync4, spawnSync, spawn as spawnAsync } from "child_process";
28
- import { join as join8 } from "path";
29
- import { createRequire as createRequire2 } from "module";
28
+ import { join as join8, dirname as dirname3 } from "path";
29
+ import { fileURLToPath as fileURLToPath2 } from "url";
30
30
 
31
31
  // src/lib/checks.ts
32
32
  import { execSync } from "child_process";
@@ -17221,6 +17221,7 @@ port = ${ports.web}
17221
17221
  }
17222
17222
 
17223
17223
  // src/commands/onboard.ts
17224
+ var __dirname3 = dirname3(fileURLToPath2(import.meta.url));
17224
17225
  function onboardCommand() {
17225
17226
  return new Command("onboard").description("Set up and start Alook locally").option("--port-web <port>", "Web server port", String(DEFAULT_PORTS.web)).option("--port-email <port>", "Email worker port", String(DEFAULT_PORTS.emailWorker)).option("--port-ws <port>", "WebSocket worker port", String(DEFAULT_PORTS.wsDo)).option("--skip-register", "Skip account creation (just start services)").action(async (opts) => {
17226
17227
  const ports = {
@@ -17281,8 +17282,7 @@ Waiting for server to be ready...`);
17281
17282
  const { sessionCookie } = await registerUser(baseURL, email3);
17282
17283
  const workspace2 = await createWorkspace(baseURL, sessionCookie);
17283
17284
  const { token } = await createMachineToken(baseURL, sessionCookie, workspace2.id);
17284
- const require2 = createRequire2(import.meta.url);
17285
- const cliEntry = require2.resolve("@alook/cli/dist/index.js");
17285
+ const cliEntry = join8(__dirname3, "cli", "index.js");
17286
17286
  const cliEnv = {
17287
17287
  ...process.env,
17288
17288
  ALOOK_SERVER_URL: baseURL,
@@ -17391,10 +17391,11 @@ function updateCommand() {
17391
17391
  // src/commands/cli.ts
17392
17392
  import { Command as Command5 } from "commander";
17393
17393
  import { spawnSync as spawnSync2 } from "child_process";
17394
- import { createRequire as createRequire3 } from "module";
17395
- var require2 = createRequire3(import.meta.url);
17394
+ import { dirname as dirname4, join as join9 } from "path";
17395
+ import { fileURLToPath as fileURLToPath3 } from "url";
17396
+ var __dirname4 = dirname4(fileURLToPath3(import.meta.url));
17396
17397
  function findCliEntry() {
17397
- return require2.resolve("@alook/cli/dist/index.js");
17398
+ return join9(__dirname4, "cli", "index.js");
17398
17399
  }
17399
17400
  function runCli(args) {
17400
17401
  const result = spawnSync2("node", [findCliEntry(), ...args], {
@@ -17434,8 +17435,8 @@ function cliPassthroughCommand() {
17434
17435
 
17435
17436
  // src/index.ts
17436
17437
  function getVersion() {
17437
- const __dirname3 = dirname3(fileURLToPath2(import.meta.url));
17438
- for (const candidate of [join9(__dirname3, "..", "package.json"), join9(__dirname3, "..", "..", "package.json")]) {
17438
+ const __dirname5 = dirname5(fileURLToPath4(import.meta.url));
17439
+ for (const candidate of [join10(__dirname5, "..", "package.json"), join10(__dirname5, "..", "..", "package.json")]) {
17439
17440
  try {
17440
17441
  const pkg = JSON.parse(readFileSync4(candidate, "utf-8"));
17441
17442
  if (pkg.version)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alook/app",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "description": "Run Alook locally — one command, no clone needed",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/alookai/alook#readme",
@@ -30,19 +30,22 @@
30
30
  "access": "public"
31
31
  },
32
32
  "dependencies": {
33
+ "citty": "^0.2.2",
33
34
  "commander": "^14.0.3",
34
- "wrangler": "^4.90.0",
35
- "@alook/cli": "0.0.60"
35
+ "playwright-core": "^1.59.1",
36
+ "postal-mime": "^2.7.4",
37
+ "wrangler": "^4.90.0"
36
38
  },
37
39
  "devDependencies": {
38
40
  "@types/bun": "^1.3.13",
39
41
  "eslint": "^9.39.4",
40
42
  "typescript": "^6.0.3",
41
43
  "typescript-eslint": "^8.59.3",
44
+ "@alook/cli": "0.0.60",
42
45
  "@alook/shared": "0.0.60"
43
46
  },
44
47
  "scripts": {
45
- "build": "bun build src/index.ts --outdir dist --target node --format esm --external commander --external wrangler --external @alook/cli",
48
+ "build": "bun build src/index.ts --outdir dist --target node --format esm --external commander --external wrangler && node scripts/bundle-cli.mjs",
46
49
  "bundle": "bun run scripts/bundle.ts",
47
50
  "lint": "eslint src/",
48
51
  "test": "vitest run"