superfactory 0.0.0-stage → 0.4.30
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.
- package/README.md +34 -2
- package/THIRD-PARTY-NOTICES.md +27604 -0
- package/bin/superfactory.js +57 -0
- package/cli/agent-rf446fr1.js +2 -0
- package/cli/agent-state-wv62c1td.js +2 -0
- package/cli/bin-0cvfmkhh.js +33 -0
- package/cli/bin-0t68hf99.js +3 -0
- package/cli/bin-19vpzq7g.js +4 -0
- package/cli/bin-37w316c6.js +3 -0
- package/cli/bin-3dsqxzbz.js +3 -0
- package/cli/bin-4j0jjd8g.js +3 -0
- package/cli/bin-4tdqjbbd.js +229 -0
- package/cli/bin-4zvje4sn.js +502 -0
- package/cli/bin-674kd343.js +7 -0
- package/cli/bin-8jdkg4ke.js +3 -0
- package/cli/bin-d99yte0j.js +5 -0
- package/cli/bin-fgvkq9cq.js +867 -0
- package/cli/bin-fkp3j5f3.js +3 -0
- package/cli/bin-fypan1f6.js +951 -0
- package/cli/bin-gg19acwr.js +4 -0
- package/cli/bin-ghp5x0x5.js +139 -0
- package/cli/bin-gk00mnmn.js +5 -0
- package/cli/bin-gne2w036.js +29 -0
- package/cli/bin-grxzwpe8.js +3 -0
- package/cli/bin-h57gajkz.js +8 -0
- package/cli/bin-mbpvzx2b.js +8 -0
- package/cli/bin-nnq8kd9z.js +4 -0
- package/cli/bin-ven2efjq.js +3 -0
- package/cli/bin-yqb1d1mw.js +22 -0
- package/cli/bin-z5b3tt05.js +20 -0
- package/cli/bin-za1by1n5.js +3 -0
- package/cli/bin-zpfe0pxz.js +1 -0
- package/cli/bin.js +3 -0
- package/cli/child-agent-qgeqvs03.js +4 -0
- package/cli/connect-chn8pxyf.js +2 -0
- package/cli/container-j6zr9gww.js +4 -0
- package/cli/dev-gsaehf19.js +7 -0
- package/cli/health-nqzge5kh.js +2 -0
- package/cli/home-lock-5seng0k3.js +2 -0
- package/cli/host-7dfjhf0z.js +1507 -0
- package/cli/index-1wseh1tm.js +2 -0
- package/cli/index-axfe8zef.js +2 -0
- package/cli/index-s9pw90xe.js +2 -0
- package/cli/install-17r8t45e.js +2 -0
- package/cli/join-551zg7yr.js +31 -0
- package/cli/local-server-2smsafvg.js +2 -0
- package/cli/machine-zfjmpw7h.js +2 -0
- package/cli/main-0mxhd968.js +33 -0
- package/cli/main-53qmhxmd.js +303 -0
- package/cli/move-to-xrr2b135.js +2 -0
- package/cli/npm-package.json +1 -0
- package/cli/pair-phone-070c9ztt.js +5 -0
- package/cli/prompt-psc4drtd.js +2 -0
- package/cli/reached-vwzx2cdg.js +2 -0
- package/cli/sessions-bm4mk37y.js +3 -0
- package/cli/sf-cli-s42gkp0b.js +2 -0
- package/cli/sf-db-r8f1a20b.js +23 -0
- package/cli/sf-deploy-wqaa4fdm.js +21 -0
- package/cli/sf-pr-rg3q3tn6.js +13 -0
- package/cli/sf-test-pff158qc.js +10 -0
- package/cli/tart-isolation-wr3xwfmw.js +3 -0
- package/cli/tray-4rr0y1dv.png +0 -0
- package/cli/tray-mac-offline-89dva0gs.png +0 -0
- package/cli/tray-mac-paused-hq3a1cxv.png +0 -0
- package/cli/tray-mac-tvtavf0g.png +0 -0
- package/cli/tray-offline-xj6b5ta4.png +0 -0
- package/cli/tray-paused-6pzdv5ze.png +0 -0
- package/cli/vm-keeper-p0ggcw3z.js +3 -0
- package/package.json +50 -4
- package/plugins/sf-video-review/.claude-plugin/plugin.json +17 -0
- package/plugins/sf-video-review/.mcp.json +9 -0
- package/plugins/sf-video-review/dist/video-review.mjs +135 -0
- package/plugins/sf-video-review/skills/video-review/SKILL.md +65 -0
- package/plugins/sf-video-studio/.claude-plugin/plugin.json +17 -0
- package/plugins/sf-video-studio/.mcp.json +19 -0
- package/plugins/sf-video-studio/dist/demo-video.mjs +139 -0
- package/plugins/sf-video-studio/dist/narration-voice.mjs +134 -0
- package/plugins/sf-video-studio/dist/video-generation.mjs +131 -0
- package/plugins/sf-video-studio/fonts/DejaVuSansMono-Bold.ttf +0 -0
- package/plugins/sf-video-studio/fonts/DejaVuSansMono.ttf +0 -0
- package/plugins/sf-video-studio/fonts/LICENSE-DejaVu +187 -0
- package/plugins/sf-video-studio/hooks/hooks.json +17 -0
- package/plugins/sf-video-studio/hooks/no-robot-voice.sh +77 -0
- package/plugins/sf-video-studio/kokoro/package-lock.json +1137 -0
- package/plugins/sf-video-studio/kokoro/package.json +11 -0
- package/plugins/sf-video-studio/skills/demo-video/SKILL.md +101 -0
- package/plugins/sf-video-studio/skills/narration-voice/SKILL.md +49 -0
- package/plugins/sf-video-studio/skills/video-generation/SKILL.md +30 -0
- package/server/dist/account.js +3 -0
- package/server/dist/backup-process.js +2 -0
- package/server/dist/backup.js +3 -0
- package/server/dist/chunk-0tbq288f.js +3055 -0
- package/server/dist/chunk-18n7tr66.js +3 -0
- package/server/dist/chunk-1kgfrgmv.js +3 -0
- package/server/dist/chunk-1rnmxaav.js +209 -0
- package/server/dist/chunk-26zhqbyn.js +25 -0
- package/server/dist/chunk-34mn2zj2.js +2 -0
- package/server/dist/chunk-3psgsw9t.js +2 -0
- package/server/dist/chunk-8zbwppny.js +391 -0
- package/server/dist/chunk-9pn7q001.js +3 -0
- package/server/dist/chunk-9y7a9gkf.js +2 -0
- package/server/dist/chunk-bhm6jzch.js +8 -0
- package/server/dist/chunk-dbzjsqvb.js +17 -0
- package/server/dist/chunk-fxn504n0.js +2 -0
- package/server/dist/chunk-g6pwaap3.js +2 -0
- package/server/dist/chunk-gefgv8rg.js +7 -0
- package/server/dist/chunk-jg8b833v.js +2 -0
- package/server/dist/chunk-jy148bhn.js +3 -0
- package/server/dist/chunk-ky4nz39j.js +7 -0
- package/server/dist/chunk-mbd1y9qk.js +2 -0
- package/server/dist/chunk-neyhk32g.js +13 -0
- package/server/dist/chunk-nrz953bx.js +2 -0
- package/server/dist/chunk-padvv31s.js +2 -0
- package/server/dist/chunk-q1s2ez77.js +3 -0
- package/server/dist/chunk-q403h2bh.js +10 -0
- package/server/dist/chunk-t64r6enn.js +4 -0
- package/server/dist/chunk-vccappg7.js +59 -0
- package/server/dist/chunk-vj60fbhw.js +2 -0
- package/server/dist/chunk-xj26rwda.js +3 -0
- package/server/dist/chunk-xyw98jst.js +5 -0
- package/server/dist/main.js +43 -0
- package/server/dist/move.js +3 -0
- package/server/drizzle/pg/0000_baseline.sql +632 -0
- package/server/drizzle/pg/0001_transcripts_packed.sql +2 -0
- package/server/drizzle/pg/0002_vm_server_origin.sql +1 -0
- package/server/drizzle/pg/0003_reached_machines.sql +1 -0
- package/server/drizzle/pg/0004_link_records.sql +2 -0
- package/server/drizzle/pg/0005_task_columns.sql +7 -0
- package/server/drizzle/pg/0006_task_bundle.sql +3 -0
- package/server/drizzle/pg/0007_server_log.sql +9 -0
- package/server/drizzle/pg/0008_notification_pauses.sql +6 -0
- package/server/drizzle/pg/0009_vm_replaces.sql +1 -0
- package/server/drizzle/pg/0010_question_told_once.sql +10 -0
- package/server/drizzle/pg/0011_node_next_key.sql +3 -0
- package/server/drizzle/pg/0012_task_work.sql +8 -0
- package/server/drizzle/pg/0013_task_secret_grants.sql +9 -0
- package/server/drizzle/pg/0014_node_paused.sql +2 -0
- package/server/drizzle/pg/0015_ssh_machines.sql +19 -0
- package/server/drizzle/pg/0016_node_wake.sql +1 -0
- package/server/drizzle/pg/0017_node_uninstall_key.sql +1 -0
- package/server/drizzle/pg/0018_release_starts.sql +6 -0
- package/server/drizzle/pg/0019_session_memory.sql +7 -0
- package/server/drizzle/pg/meta/_journal.json +146 -0
- package/server/drizzle/sqlite/0000_pre_drizzle_schema.sql +351 -0
- package/server/drizzle/sqlite/0001_cluster.sql +36 -0
- package/server/drizzle/sqlite/0002_task_records.sql +22 -0
- package/server/drizzle/sqlite/0003_indexes.sql +12 -0
- package/server/drizzle/sqlite/0004_project_machines.sql +19 -0
- package/server/drizzle/sqlite/0005_session_events.sql +7 -0
- package/server/drizzle/sqlite/0006_task_platforms.sql +8 -0
- package/server/drizzle/sqlite/0007_session_event_tags.sql +7 -0
- package/server/drizzle/sqlite/0008_sprints.sql +7 -0
- package/server/drizzle/sqlite/0009_project_vms.sql +19 -0
- package/server/drizzle/sqlite/0010_server_repairs.sql +4 -0
- package/server/drizzle/sqlite/0011_drop_todos.sql +2 -0
- package/server/drizzle/sqlite/0012_hypervisors.sql +14 -0
- package/server/drizzle/sqlite/0013_manager_leads.sql +2 -0
- package/server/drizzle/sqlite/0014_session_text.sql +35 -0
- package/server/drizzle/sqlite/0015_vm_resize_machine_instructions_access.sql +22 -0
- package/server/drizzle/sqlite/0016_tunnel.sql +23 -0
- package/server/drizzle/sqlite/0017_session_secret_grants.sql +7 -0
- package/server/drizzle/sqlite/0018_https.sql +18 -0
- package/server/drizzle/sqlite/0019_secret_grant_runs.sql +1 -0
- package/server/drizzle/sqlite/0020_session_transcripts.sql +16 -0
- package/server/drizzle/sqlite/0021_claude_signed_out.sql +2 -0
- package/server/drizzle/sqlite/0022_machine_disabled.sql +1 -0
- package/server/drizzle/sqlite/0023_machine_access_granted_by.sql +1 -0
- package/server/drizzle/sqlite/0024_machine_vms.sql +27 -0
- package/server/drizzle/sqlite/0025_machine_tunnel_fallback.sql +1 -0
- package/server/drizzle/sqlite/0026_tunnel_peer_linked.sql +3 -0
- package/server/drizzle/sqlite/0027_tunnel_upgrade_grace.sql +2 -0
- package/server/drizzle/sqlite/0028_dialed_machines.sql +2 -0
- package/server/drizzle/sqlite/0029_node_link.sql +3 -0
- package/server/drizzle/sqlite/0030_sprint_calendar.sql +1 -0
- package/server/drizzle/sqlite/0031_transcripts_packed.sql +2 -0
- package/server/drizzle/sqlite/0032_vm_server_origin.sql +1 -0
- package/server/drizzle/sqlite/meta/_journal.json +237 -0
- package/server/src/account.ts +2 -0
- package/server/src/backup.ts +2 -0
- package/server/src/features/backups/backup-process.ts +2 -0
- package/server/src/main.ts +2 -0
- package/server/src/move.ts +2 -0
- package/ui/dist/_expo/static/css/global-d378e211074d97e633bc15418ccf57d4.css +2 -0
- package/ui/dist/_expo/static/css/xterm-8a7c4e0dca731c11dbe6bdff98fb667c.css +1 -0
- package/ui/dist/_expo/static/js/web/Network-f300a5960620f5029c91c06cae29dba5.js +3 -0
- package/ui/dist/_expo/static/js/web/[...rest]-9e454d985f211f5c983f42bec15b6ad9.js +1 -0
- package/ui/dist/_expo/static/js/web/[managerId]-2580b90e8d862ad66197eecb1dc04a12.js +1 -0
- package/ui/dist/_expo/static/js/web/[managerId]-39308153b42eed025c0abb9242ae6c71.js +1 -0
- package/ui/dist/_expo/static/js/web/[managerId]-8b7a94ec818e50a371b6b2750b73df6a.js +1 -0
- package/ui/dist/_expo/static/js/web/[managerId]-ac3a14c7607e4576d7e6c39c1014bcaf.js +1 -0
- package/ui/dist/_expo/static/js/web/[managerId]-e8549b2313a119437c373e30207518c0.js +1 -0
- package/ui/dist/_expo/static/js/web/[ref]-9b46f1ec4348f980e9838b68d47c34bf.js +2 -0
- package/ui/dist/_expo/static/js/web/[sessionId]-09e376674fb8b3edc4ae8aa9b3a189d7.js +1 -0
- package/ui/dist/_expo/static/js/web/[sessionId]-0e5fdba25c9f78220cea4cb66227743d.js +1 -0
- package/ui/dist/_expo/static/js/web/[sessionId]-104af3c3885009e6a8d204b6fd6e2c3a.js +1 -0
- package/ui/dist/_expo/static/js/web/[sessionId]-863a34ca3835b469134ddbc4ebc6fafc.js +1 -0
- package/ui/dist/_expo/static/js/web/[taskId]-1218e1dd3ecf175ffb7701fc886d62c9.js +1 -0
- package/ui/dist/_expo/static/js/web/[taskId]-31a48c7017dbd096f8ece9dc102a9762.js +1 -0
- package/ui/dist/_expo/static/js/web/[taskId]-a56cf85bcfd14f2d6b5d4180ea17e8d7.js +1 -0
- package/ui/dist/_expo/static/js/web/[taskId]-f2a157b3cb676b3c5d04c8eadfe90cdd.js +1 -0
- package/ui/dist/_expo/static/js/web/__common-1ad58e53e08528a67b99f53a1690b669.js +2078 -0
- package/ui/dist/_expo/static/js/web/__expo-metro-runtime-1f8f5d3ca6b7f58204d51e14506d73fb.js +5 -0
- package/ui/dist/_expo/static/js/web/_layout-057457e97e0af20433ed41b39cb5e809.js +1 -0
- package/ui/dist/_expo/static/js/web/_layout-2a7d73d5356823e1f7d2dab23e440d09.js +7 -0
- package/ui/dist/_expo/static/js/web/_layout-42e6a6b7855655d456015ce41aefdd39.js +1 -0
- package/ui/dist/_expo/static/js/web/_layout-a5e5a5b2fb3bfbfcc2914131976679e7.js +1 -0
- package/ui/dist/_expo/static/js/web/_layout-b2cbba92506f66815a5d744fd7cd5d8c.js +1 -0
- package/ui/dist/_expo/static/js/web/_layout-b4d13dc52bbcb65b18b4e52813d53883.js +198 -0
- package/ui/dist/_expo/static/js/web/_layout-fb0f75b354800de2e1582dc963f5c148.js +1 -0
- package/ui/dist/_expo/static/js/web/index-41299a961569cc8e5410ec53ba2b87c4.js +4 -0
- package/ui/dist/_expo/static/js/web/index-6c2bb0d3b6d00c5c007a663e9f4ce108.js +1 -0
- package/ui/dist/_expo/static/js/web/index-70484f7d2769d9ae01dac1fdb22aef1d.js +14 -0
- package/ui/dist/_expo/static/js/web/index-7d764cb7cefe0a217728c24d44990057.js +14 -0
- package/ui/dist/_expo/static/js/web/index-a5eb3d0c6aa4c483674beb5de428634c.js +12 -0
- package/ui/dist/_expo/static/js/web/index-b1c2543003cba86eeb3abfa4d21fd8da.js +14 -0
- package/ui/dist/_expo/static/js/web/index-d200aded5448966e5e05d9ccb77b56a4.js +5 -0
- package/ui/dist/_expo/static/js/web/index-ea43f51ceec4a981c942fc6dce9cedc4.js +2378 -0
- package/ui/dist/_expo/static/js/web/index-efa68d817a7febbf8c0163303bf4cd49.js +29 -0
- package/ui/dist/_expo/static/js/web/licenses-30f8c0555f7f4d434a68ee4706fa433d.js +1 -0
- package/ui/dist/_expo/static/js/web/pair-3f6f72208023894f43f4f07db5116cca.js +1 -0
- package/ui/dist/_expo/static/js/web/rich-markdown-editor-dea9c0f7c0306da4146e54ee44cce173.js +228 -0
- package/ui/dist/_expo/static/js/web/sign-in-67d2a0c00232e0e6f40efade1a83dc4b.js +4 -0
- package/ui/dist/_expo/static/js/web/terminal-view-32db8e6f8a21dd073f6a310862d36db8.js +90 -0
- package/ui/dist/apple-touch-icon.png +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+geist-mono@0.4.3-2a25012349fb7712/node_modules/@expo-google-fonts/geist-mono/100Thin/GeistMono_100Thin.95eed4519d8c395e41b3b837ca97edea.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+geist-mono@0.4.3-2a25012349fb7712/node_modules/@expo-google-fonts/geist-mono/100Thin_Italic/GeistMono_100Thin_Italic.2e50fb9a43d70ceb4925a2c54502097c.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+geist-mono@0.4.3-2a25012349fb7712/node_modules/@expo-google-fonts/geist-mono/200ExtraLight/GeistMono_200ExtraLight.0714ea94ac265d76bc16698dd1808599.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+geist-mono@0.4.3-2a25012349fb7712/node_modules/@expo-google-fonts/geist-mono/200ExtraLight_Italic/GeistMono_200ExtraLight_Italic.107f2670e94507223548f1d38eb14087.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+geist-mono@0.4.3-2a25012349fb7712/node_modules/@expo-google-fonts/geist-mono/300Light/GeistMono_300Light.d6a3533adfd5834dd9f68ee37faa1e2d.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+geist-mono@0.4.3-2a25012349fb7712/node_modules/@expo-google-fonts/geist-mono/300Light_Italic/GeistMono_300Light_Italic.09420cdceda8d1f1612daceae1e4890e.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+geist-mono@0.4.3-2a25012349fb7712/node_modules/@expo-google-fonts/geist-mono/400Regular/GeistMono_400Regular.3656dcb247d3a6cd141f7601c2101125.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+geist-mono@0.4.3-2a25012349fb7712/node_modules/@expo-google-fonts/geist-mono/400Regular_Italic/GeistMono_400Regular_Italic.88343c321b266476ad3bc56735cc6ac7.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+geist-mono@0.4.3-2a25012349fb7712/node_modules/@expo-google-fonts/geist-mono/500Medium/GeistMono_500Medium.a298cd61aebdb709299e2a7deb73ed93.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+geist-mono@0.4.3-2a25012349fb7712/node_modules/@expo-google-fonts/geist-mono/500Medium_Italic/GeistMono_500Medium_Italic.e149441dd9360bd7dbffeb1de9aa1685.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+geist-mono@0.4.3-2a25012349fb7712/node_modules/@expo-google-fonts/geist-mono/600SemiBold/GeistMono_600SemiBold.cae945cb3b6156e396a1008b6252af21.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+geist-mono@0.4.3-2a25012349fb7712/node_modules/@expo-google-fonts/geist-mono/600SemiBold_Italic/GeistMono_600SemiBold_Italic.e939ba436795ee2f0a379e7271bb957d.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+geist-mono@0.4.3-2a25012349fb7712/node_modules/@expo-google-fonts/geist-mono/700Bold/GeistMono_700Bold.7fcc8478bc1dcadc865d97626ba3206b.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+geist-mono@0.4.3-2a25012349fb7712/node_modules/@expo-google-fonts/geist-mono/700Bold_Italic/GeistMono_700Bold_Italic.8cc57ff1f3c45e7ed84e74853c141e06.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+geist-mono@0.4.3-2a25012349fb7712/node_modules/@expo-google-fonts/geist-mono/800ExtraBold/GeistMono_800ExtraBold.b09b5457204e06ea7bacff03f0880065.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+geist-mono@0.4.3-2a25012349fb7712/node_modules/@expo-google-fonts/geist-mono/800ExtraBold_Italic/GeistMono_800ExtraBold_Italic.0b4dd8c1b0e6d8791ea34c8f1417edfd.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+geist-mono@0.4.3-2a25012349fb7712/node_modules/@expo-google-fonts/geist-mono/900Black/GeistMono_900Black.9ec025adf049c8a476588eeac81a36e4.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+geist-mono@0.4.3-2a25012349fb7712/node_modules/@expo-google-fonts/geist-mono/900Black_Italic/GeistMono_900Black_Italic.8dfe24b2fef43fb3d535316e2412be7d.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+hanken-grotesk@0.4.3-9a0105bf7cbf8f8b/node_modules/@expo-google-fonts/hanken-grotesk/100Thin/HankenGrotesk_100Thin.2d9c9415d97b66fb3bbca06b538f11d8.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+hanken-grotesk@0.4.3-9a0105bf7cbf8f8b/node_modules/@expo-google-fonts/hanken-grotesk/100Thin_Italic/HankenGrotesk_100Thin_Italic.5ad53da9f1ff702f55cf870763a159ff.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+hanken-grotesk@0.4.3-9a0105bf7cbf8f8b/node_modules/@expo-google-fonts/hanken-grotesk/200ExtraLight/HankenGrotesk_200ExtraLight.2cae1a1078b5af081aff084011b07522.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+hanken-grotesk@0.4.3-9a0105bf7cbf8f8b/node_modules/@expo-google-fonts/hanken-grotesk/200ExtraLight_Italic/HankenGrotesk_200ExtraLight_Italic.5d4eff887cdb33164b4fba2066c687e3.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+hanken-grotesk@0.4.3-9a0105bf7cbf8f8b/node_modules/@expo-google-fonts/hanken-grotesk/300Light/HankenGrotesk_300Light.2be9fd730ff95b91631e3f99bc449709.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+hanken-grotesk@0.4.3-9a0105bf7cbf8f8b/node_modules/@expo-google-fonts/hanken-grotesk/300Light_Italic/HankenGrotesk_300Light_Italic.4ae6910889ffdf69093da607b369b0a8.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+hanken-grotesk@0.4.3-9a0105bf7cbf8f8b/node_modules/@expo-google-fonts/hanken-grotesk/400Regular/HankenGrotesk_400Regular.2e544d6119b4e635f6cc5a47800523bb.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+hanken-grotesk@0.4.3-9a0105bf7cbf8f8b/node_modules/@expo-google-fonts/hanken-grotesk/400Regular_Italic/HankenGrotesk_400Regular_Italic.ed9d322cffe9e614205ce9512f144834.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+hanken-grotesk@0.4.3-9a0105bf7cbf8f8b/node_modules/@expo-google-fonts/hanken-grotesk/500Medium/HankenGrotesk_500Medium.a822d33614b51eb05478e0e29cf757f3.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+hanken-grotesk@0.4.3-9a0105bf7cbf8f8b/node_modules/@expo-google-fonts/hanken-grotesk/500Medium_Italic/HankenGrotesk_500Medium_Italic.bc71c45237e12974e52335b615fab7da.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+hanken-grotesk@0.4.3-9a0105bf7cbf8f8b/node_modules/@expo-google-fonts/hanken-grotesk/600SemiBold/HankenGrotesk_600SemiBold.b016ff502f15ce9b59c453304c74fb48.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+hanken-grotesk@0.4.3-9a0105bf7cbf8f8b/node_modules/@expo-google-fonts/hanken-grotesk/600SemiBold_Italic/HankenGrotesk_600SemiBold_Italic.94428d43b74e372dc47910fd4fc6b552.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+hanken-grotesk@0.4.3-9a0105bf7cbf8f8b/node_modules/@expo-google-fonts/hanken-grotesk/700Bold/HankenGrotesk_700Bold.14d2af6df606492d846389d2108dae50.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+hanken-grotesk@0.4.3-9a0105bf7cbf8f8b/node_modules/@expo-google-fonts/hanken-grotesk/700Bold_Italic/HankenGrotesk_700Bold_Italic.d075966aaf26126d8aaac0802735e310.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+hanken-grotesk@0.4.3-9a0105bf7cbf8f8b/node_modules/@expo-google-fonts/hanken-grotesk/800ExtraBold/HankenGrotesk_800ExtraBold.b419489745bc870b4e4288e969945f31.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+hanken-grotesk@0.4.3-9a0105bf7cbf8f8b/node_modules/@expo-google-fonts/hanken-grotesk/800ExtraBold_Italic/HankenGrotesk_800ExtraBold_Italic.ea7ac4778026e067a5d637f4a494b2d2.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+hanken-grotesk@0.4.3-9a0105bf7cbf8f8b/node_modules/@expo-google-fonts/hanken-grotesk/900Black/HankenGrotesk_900Black.55e860e6549b53fa530d9eda7c7518a2.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+hanken-grotesk@0.4.3-9a0105bf7cbf8f8b/node_modules/@expo-google-fonts/hanken-grotesk/900Black_Italic/HankenGrotesk_900Black_Italic.dcad6f722a66aae93f70a72604112754.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+newsreader@0.4.1-869d74885c3fd9d6/node_modules/@expo-google-fonts/newsreader/200ExtraLight/Newsreader_200ExtraLight.1ee07dc260606863f8bf8101308d85f2.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+newsreader@0.4.1-869d74885c3fd9d6/node_modules/@expo-google-fonts/newsreader/200ExtraLight_Italic/Newsreader_200ExtraLight_Italic.52c51abab458715d1205b8732b55735f.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+newsreader@0.4.1-869d74885c3fd9d6/node_modules/@expo-google-fonts/newsreader/300Light/Newsreader_300Light.bf0dfa126654b01f65e1c53a4507ec12.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+newsreader@0.4.1-869d74885c3fd9d6/node_modules/@expo-google-fonts/newsreader/300Light_Italic/Newsreader_300Light_Italic.03190fe46aa9b7083610981ac13b10f3.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+newsreader@0.4.1-869d74885c3fd9d6/node_modules/@expo-google-fonts/newsreader/400Regular/Newsreader_400Regular.b1d919187d5645f84124ef065868ba9e.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+newsreader@0.4.1-869d74885c3fd9d6/node_modules/@expo-google-fonts/newsreader/400Regular_Italic/Newsreader_400Regular_Italic.f7b81d92eb42d85de96b6dc1c72d2c36.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+newsreader@0.4.1-869d74885c3fd9d6/node_modules/@expo-google-fonts/newsreader/500Medium/Newsreader_500Medium.df89e83cfd4e37176dda53076a01b3b7.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+newsreader@0.4.1-869d74885c3fd9d6/node_modules/@expo-google-fonts/newsreader/500Medium_Italic/Newsreader_500Medium_Italic.fb45099c4fb3c395e8f12e181475230c.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+newsreader@0.4.1-869d74885c3fd9d6/node_modules/@expo-google-fonts/newsreader/600SemiBold/Newsreader_600SemiBold.20bce29dc5180892ce1fbf4a563737a0.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+newsreader@0.4.1-869d74885c3fd9d6/node_modules/@expo-google-fonts/newsreader/600SemiBold_Italic/Newsreader_600SemiBold_Italic.93e2816e201fa363d3289e741f757ff0.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+newsreader@0.4.1-869d74885c3fd9d6/node_modules/@expo-google-fonts/newsreader/700Bold/Newsreader_700Bold.bf7c54edbd2afe9b289d5da777f489e9.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+newsreader@0.4.1-869d74885c3fd9d6/node_modules/@expo-google-fonts/newsreader/700Bold_Italic/Newsreader_700Bold_Italic.e2f5e5260513d7d4f9f3edbdcbc9f43f.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+newsreader@0.4.1-869d74885c3fd9d6/node_modules/@expo-google-fonts/newsreader/800ExtraBold/Newsreader_800ExtraBold.702211ca77927e4c276b28169dc3694c.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/@expo-google-fonts+newsreader@0.4.1-869d74885c3fd9d6/node_modules/@expo-google-fonts/newsreader/800ExtraBold_Italic/Newsreader_800ExtraBold_Italic.9b9eacc7d72e5152e692cb144ef7a9fd.ttf +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/expo-router@57.0.24+dc951f634b001cec-a06b318b98b13101/node_modules/expo-router/assets/arrow_down.017bc6ba3fc25503e5eb5e53826d48a8.png +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/expo-router@57.0.24+dc951f634b001cec-a06b318b98b13101/node_modules/expo-router/assets/error.d1ea1496f9057eb392d5bbf3732a61b7.png +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/expo-router@57.0.24+dc951f634b001cec-a06b318b98b13101/node_modules/expo-router/assets/file.19eeb73b9593a38f8e9f418337fc7d10.png +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/expo-router@57.0.24+dc951f634b001cec-a06b318b98b13101/node_modules/expo-router/assets/forward.d8b800c443b8972542883e0b9de2bdc6.png +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/expo-router@57.0.24+dc951f634b001cec-a06b318b98b13101/node_modules/expo-router/assets/pkg.ab19f4cbc543357183a20571f68380a3.png +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/expo-router@57.0.24+dc951f634b001cec-a06b318b98b13101/node_modules/expo-router/assets/react-navigation/drawer/toggle-drawer-icon.ae74bb20586a731af545e6b00fe14a09.png +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/expo-router@57.0.24+dc951f634b001cec-a06b318b98b13101/node_modules/expo-router/assets/react-navigation/elements/back-icon-mask.0a328cd9c1afd0afe8e3b1ec5165b1b4.png +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/expo-router@57.0.24+dc951f634b001cec-a06b318b98b13101/node_modules/expo-router/assets/react-navigation/elements/back-icon.35ba0eaec5a4f5ed12ca16fabeae451d.png +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/expo-router@57.0.24+dc951f634b001cec-a06b318b98b13101/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55.png +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/expo-router@57.0.24+dc951f634b001cec-a06b318b98b13101/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@2x.png +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/expo-router@57.0.24+dc951f634b001cec-a06b318b98b13101/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@3x.png +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/expo-router@57.0.24+dc951f634b001cec-a06b318b98b13101/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@4x.png +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/expo-router@57.0.24+dc951f634b001cec-a06b318b98b13101/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7.png +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/expo-router@57.0.24+dc951f634b001cec-a06b318b98b13101/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@2x.png +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/expo-router@57.0.24+dc951f634b001cec-a06b318b98b13101/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@3x.png +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/expo-router@57.0.24+dc951f634b001cec-a06b318b98b13101/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@4x.png +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/expo-router@57.0.24+dc951f634b001cec-a06b318b98b13101/node_modules/expo-router/assets/react-navigation/elements/search-icon.286d67d3f74808a60a78d3ebf1a5fb57.png +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/expo-router@57.0.24+dc951f634b001cec-a06b318b98b13101/node_modules/expo-router/assets/sitemap.412dd9275b6b48ad28f5e3d81bb1f626.png +0 -0
- package/ui/dist/assets/_____.bun/install/cache/links/expo-router@57.0.24+dc951f634b001cec-a06b318b98b13101/node_modules/expo-router/assets/unmatched.20e71bdf79e3a97bf55fd9e164041578.png +0 -0
- package/ui/dist/favicon.ico +0 -0
- package/ui/dist/favicon.svg +10 -0
- package/ui/dist/icon-192.png +0 -0
- package/ui/dist/icon-512.png +0 -0
- package/ui/dist/index.html +45 -0
- package/ui/dist/legal/privacy-policy.md +174 -0
- package/ui/dist/legal/terms-of-use.md +76 -0
- package/ui/dist/load-again.js +42 -0
- package/ui/dist/manifest.webmanifest +12 -0
- package/ui/dist/metadata.json +1 -0
- package/ui/dist/sounds/bell.wav +0 -0
- package/ui/dist/sounds/chime.wav +0 -0
- package/ui/dist/sounds/knock.wav +0 -0
- package/ui/dist/sounds/pop.wav +0 -0
- package/ui/dist/sw.js +121 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Superfactory",
|
|
3
|
+
"short_name": "Superfactory",
|
|
4
|
+
"start_url": "/",
|
|
5
|
+
"display": "standalone",
|
|
6
|
+
"background_color": "#FCFCFB",
|
|
7
|
+
"theme_color": "#FCFCFB",
|
|
8
|
+
"icons": [
|
|
9
|
+
{ "src": "/icon-192.png", "sizes": "192x192", "type": "image/png" },
|
|
10
|
+
{ "src": "/icon-512.png", "sizes": "512x512", "type": "image/png" }
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":0,"bundler":"metro","fileMetadata":{}}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/ui/dist/sw.js
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
// Superfactory's service worker: shows Web Push notifications (src/features/notifications/web-push.ts
|
|
2
|
+
// subscribes) and opens the task when one is clicked. Nothing else: no caching.
|
|
3
|
+
|
|
4
|
+
// Open tabs of the app are this worker's from the start, so a click can take one to the task.
|
|
5
|
+
self.addEventListener("activate", (event) => event.waitUntil(self.clients.claim()));
|
|
6
|
+
|
|
7
|
+
self.addEventListener("push", (event) => {
|
|
8
|
+
event.waitUntil(show(event.data ? event.data.json() : null));
|
|
9
|
+
});
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Only for whoever is signed in here now: a browser that signed out (or was handed to someone else)
|
|
13
|
+
* drops its subscription instead of showing someone's notifications.
|
|
14
|
+
*/
|
|
15
|
+
async function show(message) {
|
|
16
|
+
if (!message || typeof message.title !== "string") return;
|
|
17
|
+
const status = await fetch("/api/notifications/status", { credentials: "same-origin" }).catch(() => null);
|
|
18
|
+
if (!status || status.status === 404) {
|
|
19
|
+
const subscription = await self.registration.pushManager.getSubscription();
|
|
20
|
+
await subscription?.unsubscribe();
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
const badge = status.ok ? (await status.json()).openQuestions : message.badge;
|
|
24
|
+
if ("setAppBadge" in navigator) await navigator.setAppBadge(badge).catch(() => {});
|
|
25
|
+
await closeRead().catch(() => {});
|
|
26
|
+
await self.registration.showNotification(message.title, {
|
|
27
|
+
body: message.body,
|
|
28
|
+
tag: message.tag,
|
|
29
|
+
data: message.data,
|
|
30
|
+
// A usage limit's: Use another account, Sign in another account, Wait; a machine asking to join's:
|
|
31
|
+
// Approve, Deny.
|
|
32
|
+
actions: Array.isArray(message.actions) ? message.actions : undefined,
|
|
33
|
+
icon: "/favicon.ico",
|
|
34
|
+
// Silent when they chose no sound, or while a tab is in front: it plays their own (sound.ts).
|
|
35
|
+
silent: message.silent === true || (await tabInFront()),
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Notifications seen or settled since they came (a question answered anywhere), closed: a push can't
|
|
41
|
+
* close them by itself, as every push must show one. Open tabs close them at once (dismiss.ts); this is
|
|
42
|
+
* for a browser with none open. Each is tagged with its ref.
|
|
43
|
+
*/
|
|
44
|
+
async function closeRead() {
|
|
45
|
+
const res = await fetch("/api/notifications", { credentials: "same-origin" });
|
|
46
|
+
if (!res.ok) return;
|
|
47
|
+
const { notifications } = await res.json();
|
|
48
|
+
const read = new Set(notifications.filter((n) => n.read).map((n) => n.id));
|
|
49
|
+
for (const shown of await self.registration.getNotifications()) {
|
|
50
|
+
if (read.has(shown.tag)) shown.close();
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
async function tabInFront() {
|
|
55
|
+
const windows = await self.clients.matchAll({ type: "window" });
|
|
56
|
+
return windows.some((w) => w.visibilityState === "visible");
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
self.addEventListener("notificationclick", (event) => {
|
|
60
|
+
event.notification.close();
|
|
61
|
+
// Wait: nothing to open, its sessions carry on by themselves at the reset.
|
|
62
|
+
if (event.action === "wait") return;
|
|
63
|
+
const ref = event.notification.data?.ref;
|
|
64
|
+
event.waitUntil(taskPath(ref, event.action === "sign-in").then((path) => open(path, ref, event.action)));
|
|
65
|
+
});
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* The push names nothing but an opaque ref: this server says what it was about, to whoever is signed
|
|
69
|
+
* in here, and the task (or the Managers page) opens. Otherwise the Tasks page.
|
|
70
|
+
*/
|
|
71
|
+
async function taskPath(ref, signIn) {
|
|
72
|
+
if (typeof ref !== "string") return "/tasks";
|
|
73
|
+
const res = await fetch(`/api/notifications/refs/${encodeURIComponent(ref)}`, {
|
|
74
|
+
credentials: "same-origin",
|
|
75
|
+
}).catch(() => null);
|
|
76
|
+
if (!res?.ok) return "/tasks";
|
|
77
|
+
return notificationPath(await res.json(), signIn);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/** notificationPath in packages/contracts/src/notifications.ts, which this worker can't import: keep them alike. */
|
|
81
|
+
function notificationPath(
|
|
82
|
+
{ projectId, taskId, managerId, sessionId, messageId, limit, deviceId, joinCode },
|
|
83
|
+
signIn,
|
|
84
|
+
) {
|
|
85
|
+
const query = (params) => {
|
|
86
|
+
const set = Object.entries(params).filter(([, v]) => v);
|
|
87
|
+
return set.length ? `?${set.map(([k, v]) => `${k}=${encodeURIComponent(v)}`).join("&")}` : "";
|
|
88
|
+
};
|
|
89
|
+
// A machine asking to join: its row in Machines (Approve opens it there; Deny, the tab refuses it).
|
|
90
|
+
if (joinCode) return `/machines?join=${encodeURIComponent(joinCode)}`;
|
|
91
|
+
// A phone asking to confirm it's you with Face ID: that device, in Settings › Devices.
|
|
92
|
+
if (deviceId) return `/tasks?settings=security&item=${encodeURIComponent(deviceId)}`;
|
|
93
|
+
// A Claude login at its usage limit: Claude accounts, with the limit on top (limitPath).
|
|
94
|
+
if (limit) {
|
|
95
|
+
const key = limit.accountId ?? `machine:${limit.nodeId ?? ""}`;
|
|
96
|
+
const where = limit.projectId
|
|
97
|
+
? `/projects/${encodeURIComponent(limit.projectId)}/settings/claude?setting=claude.accounts`
|
|
98
|
+
: "/tasks?settings=claude-accounts";
|
|
99
|
+
return `${where}&limit=${encodeURIComponent(key)}&until=${encodeURIComponent(limit.until)}${signIn ? "&signIn=1" : ""}`;
|
|
100
|
+
}
|
|
101
|
+
// A manager's important message about no task: that manager's chat, scrolled to it.
|
|
102
|
+
if (!projectId || !taskId)
|
|
103
|
+
return managerId
|
|
104
|
+
? `/managers/${encodeURIComponent(managerId)}${query({ message: messageId })}`
|
|
105
|
+
: "/managers";
|
|
106
|
+
// An answer to your reply opens the task's conversation with it; the page scrolls to what it's about.
|
|
107
|
+
return `/tasks/${encodeURIComponent(projectId)}/${encodeURIComponent(taskId)}${query({ claude: sessionId, message: messageId })}`;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* An open tab of the app goes to the task without reloading, and marks the notification read (web-push.ts
|
|
112
|
+
* listens); else a new one.
|
|
113
|
+
*/
|
|
114
|
+
async function open(path, ref, action) {
|
|
115
|
+
const windows = await self.clients.matchAll({ type: "window", includeUncontrolled: true });
|
|
116
|
+
const app = windows.find((w) => new URL(w.url).origin === self.location.origin);
|
|
117
|
+
if (!app) return self.clients.openWindow(new URL(path, self.location.origin).href);
|
|
118
|
+
await app.focus().catch(() => {});
|
|
119
|
+
const about = typeof ref === "string" ? { ref, action: action || undefined } : {};
|
|
120
|
+
app.postMessage({ type: "superfactory.open", path, ...about });
|
|
121
|
+
}
|