@hyperdrive.bot/fleet-server 0.3.102 → 0.3.103

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.
@@ -849,7 +849,7 @@ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,"__esModule",{v
849
849
  __d(function(g,r,i,a,m,e,d){"use strict";var t=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.shouldAppendSitemap=u,e.shouldAppendNotFound=s,e.getRootStackRouteNames=function(){const t=[n.INTERNAL_SLOT_NAME];s()&&t.push(n.NOT_FOUND_ROUTE_NAME);u()&&t.push(n.SITEMAP_ROUTE_NAME);return t};const o=t(r(d[0])),n=r(d[1]);function u(){const t=o.default.expoConfig?.extra?.router;return!1!==t?.sitemap}function s(){const t=o.default.expoConfig?.extra?.router;return!1!==t?.notFound}},717,[718,721]);
850
850
  __d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return N}}),Object.defineProperty(_e,"AppOwnership",{enumerable:!0,get:function(){return l.AppOwnership}}),Object.defineProperty(_e,"ExecutionEnvironment",{enumerable:!0,get:function(){return l.ExecutionEnvironment}}),Object.defineProperty(_e,"UserInterfaceIdiom",{enumerable:!0,get:function(){return l.UserInterfaceIdiom}});var n=e(r(d[0])),t=r(d[1]);r(d[2]);var u=e(r(d[3])),l=r(d[4]),o=e(r(d[5]));o.default||console.warn("No native ExponentConstants module found, are you sure the expo-constants's module is linked properly?");const s=(0,t.requireOptionalNativeModule)('ExpoUpdates');let f=null;if(s){let e;s.manifest?e=s.manifest:s.manifestString&&(e=JSON.parse(s.manifestString)),e&&Object.keys(e).length>0&&(f=e)}let c=null;if(u.default.EXDevLauncher){let e;u.default.EXDevLauncher.manifestString&&(e=JSON.parse(u.default.EXDevLauncher.manifestString)),e&&Object.keys(e).length>0&&(c=e)}let p=null;if(o.default&&o.default.manifest){const e=o.default.manifest;p='string'==typeof e?JSON.parse(e):e}let b=f??c??p;const E=o.default||{},{appOwnership:O}=E,x=(0,n.default)(E,["name","appOwnership"]),v=Object.assign({},x,{appOwnership:O??null});function _(e){return!h(e)}function h(e){return'metadata'in e}function S(e=!1){if(!b){const e=null===b?'null':'undefined';if(x.executionEnvironment,l.ExecutionEnvironment.Bare,x.executionEnvironment===l.ExecutionEnvironment.StoreClient||x.executionEnvironment===l.ExecutionEnvironment.Standalone)throw new t.CodedError('ERR_CONSTANTS_MANIFEST_UNAVAILABLE',`Constants.manifest is ${e}, must be an object.`)}return b}Object.defineProperties(v,{__unsafeNoWarnManifest:{get(){const e=S(!0);return e&&_(e)?e:null},enumerable:!1},__unsafeNoWarnManifest2:{get(){const e=S(!0);return e&&h(e)?e:null},enumerable:!1},manifest:{get(){const e=S();return e&&_(e)?e:null},enumerable:!0},manifest2:{get(){const e=S();return e&&h(e)?e:null},enumerable:!0},expoConfig:{get(){const e=S(!0);return e?s&&s.isEmbeddedLaunch?p:h(e)?e.extra?.expoClient??null:_(e)?e:null:null},enumerable:!0},expoGoConfig:{get(){const e=S(!0);return e?h(e)?e.extra?.expoGo??null:_(e)?e:null:null},enumerable:!0},easConfig:{get(){const e=S(!0);return e?h(e)?e.extra?.eas??null:_(e)?e:null:null},enumerable:!0},__rawManifest_TEST:{get:()=>b,set(e){b=e},enumerable:!1}});var N=v},718,[35,4,25,637,719,720]);
851
851
  __d(function(g,r,i,a,m,e,d){"use strict";var t,n,o;Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"AppOwnership",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"ExecutionEnvironment",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"UserInterfaceIdiom",{enumerable:!0,get:function(){return o}}),(function(t){t.Expo="expo"})(t||(t={})),(function(t){t.Bare="bare",t.Standalone="standalone",t.StoreClient="storeClient"})(n||(n={})),(function(t){t.Handset="handset",t.Tablet="tablet",t.Desktop="desktop",t.TV="tv",t.Unsupported="unsupported"})(o||(o={}))},719,[]);
852
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return s}});var t=r(d[0]);const n=(Date.now()+'-'+Math.floor(1e9*Math.random())).toString();function o(){if('undefined'!=typeof navigator&&'string'==typeof navigator.userAgent){const t=navigator.userAgent.toLowerCase();if(t.includes('edge'))return'Edge';if(t.includes('edg'))return'Chromium Edge';if(t.includes('opr')&&'opr'in window&&window.opr)return'Opera';if(t.includes('chrome')&&'chrome'in window&&window.chrome)return'Chrome';if(t.includes('trident'))return'IE';if(t.includes('firefox'))return'Firefox';if(t.includes('safari'))return'Safari'}}var s={get appOwnership(){return null},get executionEnvironment(){return t.ExecutionEnvironment.Bare},get sessionId(){return n},get isHeadless(){return'undefined'==typeof navigator||/\bHeadlessChrome\//.test(navigator.userAgent)},get expoVersion(){return this.manifest.sdkVersion||null},get linkingUri(){return'undefined'!=typeof location?location.origin:''},get expoRuntimeVersion(){return this.expoVersion},get deviceName(){return o()},get systemFonts(){return[]},get statusBarHeight(){return 0},get deviceYearClass(){return null},get manifest(){return"{\"name\":\"Paseo\",\"slug\":\"paseo-hyperdrive\",\"version\":\"0.3.102\",\"orientation\":\"portrait\",\"icon\":\"./assets/images/icon.png\",\"scheme\":\"paseo\",\"userInterfaceStyle\":\"automatic\",\"newArchEnabled\":true,\"web\":{\"output\":\"single\",\"favicon\":\"./assets/images/favicon.png\",\"shortName\":\"Paseo\",\"orientation\":\"portrait\",\"name\":\"Paseo\"},\"autolinking\":{\"searchPaths\":[\"../../node_modules\",\"./node_modules\"]},\"experiments\":{\"typedRoutes\":true,\"reactCompiler\":true,\"autolinkingModuleResolution\":true},\"extra\":{\"router\":{},\"eas\":{\"build\":{\"experimental\":{\"ios\":{\"appExtensions\":[{\"bundleIdentifier\":\"bot.hyperdrive.paseo.AgentActivity\",\"targetName\":\"AgentActivity\"}]}}}}},\"sdkVersion\":\"54.0.0\",\"platforms\":[\"ios\",\"android\",\"web\"]}"},get manifest2(){return null},get experienceUrl(){return'undefined'!=typeof location?location.origin:''},get debugMode(){return!1},getWebViewUserAgentAsync:async()=>'undefined'!=typeof navigator?navigator.userAgent:null}},720,[719]);
852
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return s}});var t=r(d[0]);const n=(Date.now()+'-'+Math.floor(1e9*Math.random())).toString();function o(){if('undefined'!=typeof navigator&&'string'==typeof navigator.userAgent){const t=navigator.userAgent.toLowerCase();if(t.includes('edge'))return'Edge';if(t.includes('edg'))return'Chromium Edge';if(t.includes('opr')&&'opr'in window&&window.opr)return'Opera';if(t.includes('chrome')&&'chrome'in window&&window.chrome)return'Chrome';if(t.includes('trident'))return'IE';if(t.includes('firefox'))return'Firefox';if(t.includes('safari'))return'Safari'}}var s={get appOwnership(){return null},get executionEnvironment(){return t.ExecutionEnvironment.Bare},get sessionId(){return n},get isHeadless(){return'undefined'==typeof navigator||/\bHeadlessChrome\//.test(navigator.userAgent)},get expoVersion(){return this.manifest.sdkVersion||null},get linkingUri(){return'undefined'!=typeof location?location.origin:''},get expoRuntimeVersion(){return this.expoVersion},get deviceName(){return o()},get systemFonts(){return[]},get statusBarHeight(){return 0},get deviceYearClass(){return null},get manifest(){return"{\"name\":\"Paseo\",\"slug\":\"paseo-hyperdrive\",\"version\":\"0.3.103\",\"orientation\":\"portrait\",\"icon\":\"./assets/images/icon.png\",\"scheme\":\"paseo\",\"userInterfaceStyle\":\"automatic\",\"newArchEnabled\":true,\"web\":{\"output\":\"single\",\"favicon\":\"./assets/images/favicon.png\",\"shortName\":\"Paseo\",\"orientation\":\"portrait\",\"name\":\"Paseo\"},\"autolinking\":{\"searchPaths\":[\"../../node_modules\",\"./node_modules\"]},\"experiments\":{\"typedRoutes\":true,\"reactCompiler\":true,\"autolinkingModuleResolution\":true},\"extra\":{\"router\":{},\"eas\":{\"build\":{\"experimental\":{\"ios\":{\"appExtensions\":[{\"bundleIdentifier\":\"bot.hyperdrive.paseo.AgentActivity\",\"targetName\":\"AgentActivity\"}]}}}}},\"sdkVersion\":\"54.0.0\",\"platforms\":[\"ios\",\"android\",\"web\"]}"},get manifest2(){return null},get experienceUrl(){return'undefined'!=typeof location?location.origin:''},get debugMode(){return!1},getWebViewUserAgentAsync:async()=>'undefined'!=typeof navigator?navigator.userAgent:null}},720,[719]);
853
853
  __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SITEMAP_ROUTE_NAME=e.NOT_FOUND_ROUTE_NAME=e.INTERNAL_SLOT_NAME=void 0,e.INTERNAL_SLOT_NAME='__root',e.NOT_FOUND_ROUTE_NAME='+not-found',e.SITEMAP_ROUTE_NAME='_sitemap'},721,[]);
854
854
  __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.resolveHref=void 0,e.resolveHrefStringWithSegments=function(t,{segments:n=[],params:s={}}={},{relativeToDirectory:o}={}){if(t.startsWith('.')){let c=n?.map(t=>{if(!t.startsWith('['))return t;if(t.startsWith('[...')){t=t.slice(4,-1);const n=s[t];return Array.isArray(n)?n.join('/'):n?.split(',')?.join('/')??''}return t=t.slice(1,-1),s[t]}).filter(Boolean).join('/')??'/';o&&(c=`${c}/`);const f=new URL(t,`http://hostname/${c}`);t=`${f.pathname}${f.search}`}return t};function t(t,s){for(const[o,c=""]of Object.entries(s)){const f=`[${o}]`,l=`[...${o}]`;if(t.includes(f))t=t.replace(f,n(c));else{if(!t.includes(l))continue;t=t.replace(l,n(c))}delete s[o]}return{pathname:t,params:s}}function n(t){return Array.isArray(t)?t.map(t=>n(t)).join('/'):encodeURIComponent(t.toString())}function s(t){return Object.entries(t).filter(([,t])=>null!=t).map(([t,n])=>`${t}=${encodeURIComponent(n.toString())}`).join('&')}e.resolveHref=n=>{if('string'==typeof n)return(0,e.resolveHref)({pathname:n});const o=n.pathname??'';if(!n?.params)return o;const{pathname:c,params:f}=t(o,Object.assign({},n.params)),l=s(f);return c+(l?`?${l}`:'')}},722,[]);
855
855
  __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isRoutePreloadedInStack=function(t,o){if(!t||'stack'!==t.type)return!1;return t.preloadedRoutes.some(t=>t.key===o.key)}},723,[]);
@@ -15057,7 +15057,7 @@ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{v
15057
15057
  __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"decodeOfferFragmentPayload",{enumerable:!0,get:function(){return n.decodeOfferFragmentPayload}}),Object.defineProperty(e,"buildDaemonWebSocketUrl",{enumerable:!0,get:function(){return t.buildDaemonWebSocketUrl}}),Object.defineProperty(e,"deriveLabelFromEndpoint",{enumerable:!0,get:function(){return t.deriveLabelFromEndpoint}}),Object.defineProperty(e,"extractHostPortFromWebSocketUrl",{enumerable:!0,get:function(){return t.extractHostPortFromWebSocketUrl}}),Object.defineProperty(e,"normalizeHostPort",{enumerable:!0,get:function(){return t.normalizeHostPort}}),Object.defineProperty(e,"parseConnectionUri",{enumerable:!0,get:function(){return t.parseConnectionUri}}),Object.defineProperty(e,"parseHostPort",{enumerable:!0,get:function(){return t.parseHostPort}}),Object.defineProperty(e,"serializeConnectionUri",{enumerable:!0,get:function(){return t.serializeConnectionUri}}),Object.defineProperty(e,"serializeConnectionUriForStorage",{enumerable:!0,get:function(){return t.serializeConnectionUriForStorage}}),Object.defineProperty(e,"shouldUseTlsForDefaultHostedRelay",{enumerable:!0,get:function(){return t.shouldUseTlsForDefaultHostedRelay}}),e.buildRelayWebSocketUrl=function(n){return(0,t.buildRelayWebSocketUrl)(Object.assign({},n,{role:"client"}))};var t=r(d[0]),n=r(d[1])},3412,[3392,3413]);
15058
15058
  __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"ConnectionOfferV2Schema",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"ConnectionOfferSchema",{enumerable:!0,get:function(){return o}}),e.decodeOfferFragmentPayload=l,e.parseConnectionOfferFromUrl=function(n){const t=f(n);if(!t)return null;const c=l(t);return o.parse(c)};var n=r(d[0]);const t=n.z.object({v:n.z.literal(2),serverId:n.z.string().min(1),daemonPublicKeyB64:n.z.string().min(1),relay:n.z.object({endpoint:n.z.string().min(1),useTls:n.z.boolean().optional()})}),o=t;function c(n){const t=n.replace(/-/g,"+").replace(/_/g,"/"),o=t.padEnd(t.length+(4-t.length%4)%4,"="),c=globalThis.atob(o),l=Uint8Array.from(c,n=>n.charCodeAt(0));return new TextDecoder("utf-8",{fatal:!0}).decode(l)}function l(n){const t=c(n);return JSON.parse(t)}const u="#offer=";function f(n){const t=n.trim();if(!t)return null;const o=t.indexOf(u);if(-1===o)return null;const c=t.slice(o+u.length).trim();return c.length>0?c:null}},3413,[3285]);
15059
15059
  __d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),_e.resolveAppVersion=function(){const e=u(t.default?.version);if(e)return e;const o=u(n.default.expoConfig?.version);if(o)return o;const f=u(n.default.manifest?.version);if(f)return f;return null};var n=e(r(d[0])),t=e(r(d[1]));function u(e){if("string"!=typeof e)return null;const n=e.trim();return 0===n.length?null:n}},3414,[718,3415]);
15060
- __d(function(e,t,r,a,i,o,n){i.exports={name:"@hyperdrive.bot/fleet-app",version:"0.3.102",private:!0,main:"index.ts",scripts:{start:"npm run start:expo","start:expo":"cross-env APP_VARIANT=development expo start","reset-project":"node ./scripts/reset-project.js","build:terminal-webview":"node ./scripts/build-terminal-webview-html.mjs","eas-build-post-install":"npm --prefix ../.. run build:app-deps && npm run build:terminal-webview",android:"npm run android:development","android:development":"npm --prefix ../.. run build:client && cross-env APP_VARIANT=development expo prebuild --platform android --non-interactive && cross-env APP_VARIANT=development expo run:android --variant=debug","android:production":"npm --prefix ../.. run build:client && cross-env APP_VARIANT=production expo prebuild --platform android --non-interactive && cross-env APP_VARIANT=production expo run:android --variant=release","android:release":"npm run android:production","android:clear":"node -e \"require('node:fs').rmSync('android', { recursive: true, force: true })\"",ios:"npm --prefix ../.. run build:client && expo run:ios","ios:release":"npm --prefix ../.. run build:client && expo run:ios --configuration Release",web:"npm --prefix ../.. run build:client && concurrently --kill-others --names protocol,client,expo --prefix-colors yellow,blue,magenta \"npm --prefix ../.. run watch:protocol\" \"npm --prefix ../.. run watch:client\" \"npm run web:expo\"","web:expo":"expo start --web",lint:"expo lint",typecheck:"tsgo --noEmit",test:"vitest run","test:browser":"vitest run --project browser","test:e2e":"playwright test --project='Desktop Chrome'","test:e2e:real":"cross-env E2E_FORK_PASEO_HOME_FROM=../../.dev/paseo-home playwright test --project=real-provider","test:e2e:ui":"playwright test --ui","test:coverage":"vitest run --project unit --coverage",build:"npm run build:web","build:web":"npm --prefix ../.. run build:app-deps && expo export --platform web --source-maps","profile:workspace-tabs":"node ./scripts/profile-workspace-tabs.mjs","deploy:web":"npm run build:web && wrangler pages deploy dist --project-name paseo-app --branch main"},dependencies:{"@bacons/apple-targets":"4.0.6","@datadog/browser-rum":"^6.23.0","@datadog/browser-rum-react":"^6.23.0","@datadog/mobile-react-native":"^2.7.0","@datadog/mobile-react-native-session-replay":"^2.14.8","@dnd-kit/core":"^6.3.1","@dnd-kit/sortable":"^10.0.0","@dnd-kit/utilities":"^3.2.2","@expo/image-utils":"0.8.8","@expo/plist":"0.4.9","@expo/prebuild-config":"54.0.8","@floating-ui/react-native":"^0.10.7","@gorhom/bottom-sheet":"^5.2.14","@gorhom/portal":"^1.0.14","@hyperdrive.bot/fleet-client":"*","@hyperdrive.bot/fleet-expo-two-way-audio":"*","@hyperdrive.bot/fleet-extension-sdk":"*","@hyperdrive.bot/fleet-highlight":"*","@react-native-async-storage/async-storage":"2.2.0","@react-native-masked-view/masked-view":"^0.3.2","@react-native/normalize-colors":"^0.81.5","@react-navigation/native":"^7.1.8","@sentry/electron":"^6.11.0","@sentry/react-native":"^6.20.0","@tanstack/react-query":"^5.90.11","@tanstack/react-virtual":"^3.13.21","@xterm/addon-clipboard":"^0.3.0-beta.213","@xterm/addon-fit":"^0.12.0-beta.213","@xterm/addon-image":"^0.10.0-beta.213","@xterm/addon-ligatures":"0.11.0-beta.213","@xterm/addon-search":"^0.17.0-beta.213","@xterm/addon-unicode11":"^0.10.0-beta.213","@xterm/addon-web-links":"^0.13.0-beta.213","@xterm/addon-webgl":"^0.20.0-beta.212","@xterm/xterm":"^6.1.0-beta.213",buffer:"^6.0.3",expo:"^54.0.18","expo-asset":"~12.0.12","expo-audio":"~1.0.13","expo-background-fetch":"~14.0.9","expo-build-properties":"^1.0.9","expo-camera":"~17.0.10","expo-clipboard":"~8.0.7","expo-constants":"~18.0.9","expo-crypto":"^15.0.8","expo-dev-client":"^6.0.15","expo-document-picker":"~14.0.8","expo-file-system":"~19.0.17","expo-haptics":"~15.0.7","expo-image":"~3.0.10","expo-image-manipulator":"~14.0.8","expo-image-picker":"^17.0.8","expo-keep-awake":"^15.0.7","expo-linking":"~8.0.8","expo-localization":"~17.0.9","expo-notifications":"^0.32.16","expo-router":"~6.0.13","expo-sharing":"^14.0.8","expo-speech":"~14.0.8","expo-speech-recognition":"^56.0.1","expo-splash-screen":"~31.0.10","expo-system-ui":"~6.0.7","expo-task-manager":"~14.0.9","expo-video":"~3.0.16","fast-deep-equal":"^3.1.3",htmlparser2:"^12.0.0",i18next:"^26.3.0","lucide-react-native":"^0.546.0","markdown-it":"^10.0.0","mnemonic-id":"^3.2.7",qrcode:"^1.5.4",react:"19.1.0","react-dom":"19.1.0","react-i18next":"^17.0.8","react-native":"0.81.5","react-native-draggable-flatlist":"^4.0.3","react-native-edge-to-edge":"^1.7.0","react-native-gesture-handler":"~2.28.0","react-native-keyboard-controller":"^1.21.7","react-native-markdown-display":"^7.0.2","react-native-nitro-modules":"0.35.5","react-native-reanimated":"~4.3.1","react-native-safe-area-context":"~5.6.0","react-native-screens":"~4.16.0","react-native-svg":"^15.14.0","react-native-uitextview":"^2.2.0","react-native-unistyles":"^3.2.4","react-native-web":"~0.21.0","react-native-webview":"^13.16.0","react-native-worklets":"~0.8.3","tiny-invariant":"^1.3.3","use-sync-external-store":"^1.6.0",zod:"^4.4.3",zustand:"^5.0.9"},devDependencies:{"@playwright/test":"^1.56.1","@testing-library/dom":"^10.4.1","@testing-library/react":"^16.3.2","@types/chai":"^5.2.2","@types/markdown-it":"^14.1.2","@types/qrcode":"^1.5.6","@types/react":"~19.2.0","@types/ws":"^8.18.1","@vitest/browser":"^4.1.7","@vitest/browser-playwright":"^4.1.7","@vitest/coverage-v8":"^4.1.7","@xterm/headless":"^6.1.0-beta.213",dotenv:"^17.2.3",eslint:"^9.25.0","eslint-config-expo":"~10.0.0",jsdom:"^20.0.3","material-icon-theme":"^5.32.0",playwright:"^1.56.1","serve-sim":"^0.1.40",typescript:"~5.9.2",vitest:"^4.1.6",wrangler:"^4.105.0",ws:"^8.20.0"}}},3415,[]);
15060
+ __d(function(e,t,r,a,i,o,n){i.exports={name:"@hyperdrive.bot/fleet-app",version:"0.3.103",private:!0,main:"index.ts",scripts:{start:"npm run start:expo","start:expo":"cross-env APP_VARIANT=development expo start","reset-project":"node ./scripts/reset-project.js","build:terminal-webview":"node ./scripts/build-terminal-webview-html.mjs","eas-build-post-install":"npm --prefix ../.. run build:app-deps && npm run build:terminal-webview",android:"npm run android:development","android:development":"npm --prefix ../.. run build:client && cross-env APP_VARIANT=development expo prebuild --platform android --non-interactive && cross-env APP_VARIANT=development expo run:android --variant=debug","android:production":"npm --prefix ../.. run build:client && cross-env APP_VARIANT=production expo prebuild --platform android --non-interactive && cross-env APP_VARIANT=production expo run:android --variant=release","android:release":"npm run android:production","android:clear":"node -e \"require('node:fs').rmSync('android', { recursive: true, force: true })\"",ios:"npm --prefix ../.. run build:client && expo run:ios","ios:release":"npm --prefix ../.. run build:client && expo run:ios --configuration Release",web:"npm --prefix ../.. run build:client && concurrently --kill-others --names protocol,client,expo --prefix-colors yellow,blue,magenta \"npm --prefix ../.. run watch:protocol\" \"npm --prefix ../.. run watch:client\" \"npm run web:expo\"","web:expo":"expo start --web",lint:"expo lint",typecheck:"tsgo --noEmit",test:"vitest run","test:browser":"vitest run --project browser","test:e2e":"playwright test --project='Desktop Chrome'","test:e2e:real":"cross-env E2E_FORK_PASEO_HOME_FROM=../../.dev/paseo-home playwright test --project=real-provider","test:e2e:ui":"playwright test --ui","test:coverage":"vitest run --project unit --coverage",build:"npm run build:web","build:web":"npm --prefix ../.. run build:app-deps && expo export --platform web --source-maps","profile:workspace-tabs":"node ./scripts/profile-workspace-tabs.mjs","deploy:web":"npm run build:web && wrangler pages deploy dist --project-name paseo-app --branch main"},dependencies:{"@bacons/apple-targets":"4.0.6","@datadog/browser-rum":"^6.23.0","@datadog/browser-rum-react":"^6.23.0","@datadog/mobile-react-native":"^2.7.0","@datadog/mobile-react-native-session-replay":"^2.14.8","@dnd-kit/core":"^6.3.1","@dnd-kit/sortable":"^10.0.0","@dnd-kit/utilities":"^3.2.2","@expo/image-utils":"0.8.8","@expo/plist":"0.4.9","@expo/prebuild-config":"54.0.8","@floating-ui/react-native":"^0.10.7","@gorhom/bottom-sheet":"^5.2.14","@gorhom/portal":"^1.0.14","@hyperdrive.bot/fleet-client":"*","@hyperdrive.bot/fleet-expo-two-way-audio":"*","@hyperdrive.bot/fleet-extension-sdk":"*","@hyperdrive.bot/fleet-highlight":"*","@react-native-async-storage/async-storage":"2.2.0","@react-native-masked-view/masked-view":"^0.3.2","@react-native/normalize-colors":"^0.81.5","@react-navigation/native":"^7.1.8","@sentry/electron":"^6.11.0","@sentry/react-native":"^6.20.0","@tanstack/react-query":"^5.90.11","@tanstack/react-virtual":"^3.13.21","@xterm/addon-clipboard":"^0.3.0-beta.213","@xterm/addon-fit":"^0.12.0-beta.213","@xterm/addon-image":"^0.10.0-beta.213","@xterm/addon-ligatures":"0.11.0-beta.213","@xterm/addon-search":"^0.17.0-beta.213","@xterm/addon-unicode11":"^0.10.0-beta.213","@xterm/addon-web-links":"^0.13.0-beta.213","@xterm/addon-webgl":"^0.20.0-beta.212","@xterm/xterm":"^6.1.0-beta.213",buffer:"^6.0.3",expo:"^54.0.18","expo-asset":"~12.0.12","expo-audio":"~1.0.13","expo-background-fetch":"~14.0.9","expo-build-properties":"^1.0.9","expo-camera":"~17.0.10","expo-clipboard":"~8.0.7","expo-constants":"~18.0.9","expo-crypto":"^15.0.8","expo-dev-client":"^6.0.15","expo-document-picker":"~14.0.8","expo-file-system":"~19.0.17","expo-haptics":"~15.0.7","expo-image":"~3.0.10","expo-image-manipulator":"~14.0.8","expo-image-picker":"^17.0.8","expo-keep-awake":"^15.0.7","expo-linking":"~8.0.8","expo-localization":"~17.0.9","expo-notifications":"^0.32.16","expo-router":"~6.0.13","expo-sharing":"^14.0.8","expo-speech":"~14.0.8","expo-speech-recognition":"^56.0.1","expo-splash-screen":"~31.0.10","expo-system-ui":"~6.0.7","expo-task-manager":"~14.0.9","expo-video":"~3.0.16","fast-deep-equal":"^3.1.3",htmlparser2:"^12.0.0",i18next:"^26.3.0","lucide-react-native":"^0.546.0","markdown-it":"^10.0.0","mnemonic-id":"^3.2.7",qrcode:"^1.5.4",react:"19.1.0","react-dom":"19.1.0","react-i18next":"^17.0.8","react-native":"0.81.5","react-native-draggable-flatlist":"^4.0.3","react-native-edge-to-edge":"^1.7.0","react-native-gesture-handler":"~2.28.0","react-native-keyboard-controller":"^1.21.7","react-native-markdown-display":"^7.0.2","react-native-nitro-modules":"0.35.5","react-native-reanimated":"~4.3.1","react-native-safe-area-context":"~5.6.0","react-native-screens":"~4.16.0","react-native-svg":"^15.14.0","react-native-uitextview":"^2.2.0","react-native-unistyles":"^3.2.4","react-native-web":"~0.21.0","react-native-webview":"^13.16.0","react-native-worklets":"~0.8.3","tiny-invariant":"^1.3.3","use-sync-external-store":"^1.6.0",zod:"^4.4.3",zustand:"^5.0.9"},devDependencies:{"@playwright/test":"^1.56.1","@testing-library/dom":"^10.4.1","@testing-library/react":"^16.3.2","@types/chai":"^5.2.2","@types/markdown-it":"^14.1.2","@types/qrcode":"^1.5.6","@types/react":"~19.2.0","@types/ws":"^8.18.1","@vitest/browser":"^4.1.7","@vitest/browser-playwright":"^4.1.7","@vitest/coverage-v8":"^4.1.7","@xterm/headless":"^6.1.0-beta.213",dotenv:"^17.2.3",eslint:"^9.25.0","eslint-config-expo":"~10.0.0",jsdom:"^20.0.3","material-icon-theme":"^5.32.0",playwright:"^1.56.1","serve-sim":"^0.1.40",typescript:"~5.9.2",vitest:"^4.1.6",wrangler:"^4.105.0",ws:"^8.20.0"}}},3415,[]);
15061
15061
  __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.shouldUseDesktopDaemon=function(){return(0,n.isElectronRuntime)()},e.getDesktopDaemonStatus=async function(){return c(await(0,t.invokeDesktopCommand)("desktop_daemon_status"))},e.startDesktopDaemon=async function(){return c(await(0,t.invokeDesktopCommand)("start_desktop_daemon"))},e.stopDesktopDaemon=async function(n="manual_ipc"){return c(await(0,t.invokeDesktopCommand)("stop_desktop_daemon",{reason:n}))},e.restartDesktopDaemon=async function(){return c(await(0,t.invokeDesktopCommand)("restart_desktop_daemon"))},e.getDesktopDaemonLogs=async function(){return p(await(0,t.invokeDesktopCommand)("desktop_daemon_logs"))},e.getDesktopDaemonPairing=async function(){return k(await(0,t.invokeDesktopCommand)("desktop_daemon_pairing"))},e.getCliDaemonStatus=async function(){const n=await(0,t.invokeDesktopCommand)("cli_daemon_status");if("string"!=typeof n)throw new Error("Unexpected CLI daemon status response.");return n},e.listenToLocalTransportEvents=async function(t){const u=(0,n.getDesktopHost)()?.events?.on;if("function"!=typeof u)throw new Error("Desktop events API is unavailable.");const c=await u("local-daemon-transport-event",n=>{o(n)&&t({sessionId:s(n.sessionId)??"",kind:s(n.kind)??"error",text:s(n.text),binaryBase64:s(n.binaryBase64),code:l(n.code),reason:s(n.reason),error:s(n.error)})});return"function"==typeof c?c:()=>{}},e.openLocalTransportSession=async function(n){const o=await(0,t.invokeDesktopCommand)("open_local_daemon_transport",n);if("string"!=typeof o||0===o.trim().length)throw new Error("Unexpected local transport session response.");return o},e.sendLocalTransportMessage=async function(n){await(0,t.invokeDesktopCommand)("send_local_daemon_transport_message",Object.assign({sessionId:n.sessionId},n.text?{text:n.text}:{},n.binaryBase64?{binaryBase64:n.binaryBase64}:{}))},e.closeLocalTransportSession=async function(n){await(0,t.invokeDesktopCommand)("close_local_daemon_transport",{sessionId:n})},e.getCliInstallStatus=async function(){return f(await(0,t.invokeDesktopCommand)("get_cli_install_status"))},e.installCli=async function(){return f(await(0,t.invokeDesktopCommand)("install_cli"))},e.getSkillsStatus=async function(){return y(await(0,t.invokeDesktopCommand)("get_skills_status"))},e.installSkills=async function(){return y(await(0,t.invokeDesktopCommand)("install_skills"))},e.updateSkills=async function(){return y(await(0,t.invokeDesktopCommand)("update_skills"))},e.uninstallSkills=async function(){return y(await(0,t.invokeDesktopCommand)("uninstall_skills"))};var n=r(d[0]),t=r(d[1]);function o(n){return"object"==typeof n&&null!==n}function s(n){return"string"==typeof n&&n.trim().length>0?n:null}function l(n){return"number"==typeof n&&Number.isFinite(n)?n:null}function u(n){const t=s(n)?.toLowerCase();switch(t){case"starting":return"starting";case"running":return"running";case"errored":case"error":return"errored";default:return"stopped"}}function c(n){if(!o(n))throw new Error("Unexpected desktop daemon status response.");return{serverId:s(n.serverId)??"",status:u(n.status),listen:s(n.listen),hostname:s(n.hostname),pid:l(n.pid),home:s(n.home)??"",version:s(n.version),desktopManaged:!0===n.desktopManaged,error:s(n.error)}}function p(n){if(!o(n))throw new Error("Unexpected desktop daemon logs response.");return{logPath:s(n.logPath)??"",contents:"string"==typeof n.contents?n.contents:""}}function k(n){if(!o(n))throw new Error("Unexpected desktop daemon pairing response.");return{relayEnabled:!0===n.relayEnabled,url:s(n.url),qr:s(n.qr)}}function f(n){if(!o(n))throw new Error("Unexpected install status response.");return{installed:!0===n.installed}}function w(n){switch(n){case"not-installed":case"up-to-date":case"drift":return n;default:throw new Error(`Unexpected skills status state: ${String(n)}`)}}function _(n){if(!o(n))throw new Error("Unexpected skill op response.");const t=s(n.name);if(!t)throw new Error("Skill op missing name.");switch(n.kind){case"add":return{kind:"add",name:t};case"update":return{kind:"update",name:t};case"delete":return{kind:"delete",name:t};default:throw new Error(`Unexpected skill op kind: ${String(n.kind)}`)}}function y(n){if(!o(n))throw new Error("Unexpected skills status response.");const t=Array.isArray(n.ops)?n.ops.map(_):[];return{state:w(n.state),ops:t}}},3416,[3417,3419]);
15062
15062
  __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.getDesktopHost=n,e.isElectronRuntime=o,e.isElectronRuntimeMac=function(){if(!o())return!1;if("undefined"==typeof navigator)return!1;const t=n()?.platform?.toLowerCase();if("darwin"===t||"mac"===t||"macos"===t)return!0;const u=navigator.userAgent;return u.includes("Mac OS")||u.includes("Macintosh")},r(d[0]);var t=r(d[1]);function n(){return(0,t.getElectronHost)()}function o(){return null!==n()}},3417,[25,3418]);
15063
15063
  __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.getElectronHost=function(){if("undefined"==typeof window)return null;const t=window.paseoDesktop;if(!t||"object"!=typeof t)return null;return t}},3418,[]);
@@ -16664,9 +16664,9 @@ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{v
16664
16664
  __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"sourcesQueryBaseKey",{enumerable:!0,get:function(){return l}}),Object.defineProperty(e,"sourceCatalogueQueryBaseKey",{enumerable:!0,get:function(){return f}}),e.isSourcesNotConfiguredError=h,e.sourcesQueryKey=E,e.useSources=function(){const u=(0,t.c)(28),l=(0,n.useHosts)();let f;u[0]===Symbol.for("react.memo_cache_sentinel")?(f=(0,n.getHostRuntimeStore)(),u[0]=f):f=u[0];const y=f;let h,b,C;u[1]===Symbol.for("react.memo_cache_sentinel")?(h=t=>y.subscribeAll(t),b=()=>y.getVersion(),C=()=>y.getVersion(),u[1]=h,u[2]=b,u[3]=C):(h=u[1],b=u[2],C=u[3]);const p=(0,o.useSyncExternalStore)(h,b,C);let O;u[4]!==l?(O=l.map(v),u[4]=l,u[5]=O):O=u[5];const I=O;let P,w,R;u[6]!==I||u[7]!==p?(P=[...E(I.map(_)),p],u[6]=I,u[7]=p,u[8]=P):P=u[8];u[9]!==I?(w=()=>(0,c.fetchAggregatedSources)({hosts:I,runtime:y}),u[9]=I,u[10]=w):w=u[10];u[11]!==P||u[12]!==w?(R={queryKey:P,queryFn:w,staleTime:5e3,placeholderData:s.keepPreviousData,refetchInterval:S},u[11]=P,u[12]=w,u[13]=R):R=u[13];const q=(0,s.useQuery)(R);let x,F;u[14]!==q.data?.sources?(x=q.data?.sources??[],u[14]=q.data?.sources,u[15]=x):x=u[15];u[16]!==q.data?.hostErrors?(F=q.data?.hostErrors??[],u[16]=q.data?.hostErrors,u[17]=F):F=u[17];const j=q.isLoading&&void 0===q.data;let D,K;u[18]!==q?(D=()=>{q.refetch()},u[18]=q,u[19]=D):D=u[19];u[20]!==q.error||u[21]!==q.isError||u[22]!==q.isRefetching||u[23]!==j||u[24]!==D||u[25]!==x||u[26]!==F?(K={sources:x,hostErrors:F,isInitialLoad:j,isError:q.isError,error:q.error,refetch:D,isRefetching:q.isRefetching},u[20]=q.error,u[21]=q.isError,u[22]=q.isRefetching,u[23]=j,u[24]=D,u[25]=x,u[26]=F,u[27]=K):K=u[27];return K},e.useSourceCatalogue=function(c){const l=(0,t.c)(30),{serverId:y,kind:E,query:S,cursor:b,enabled:_}=c,v=void 0===_||_;let C;l[0]===Symbol.for("react.memo_cache_sentinel")?(C=(0,n.getHostRuntimeStore)(),l[0]=C):C=l[0];const p=C;let O,I,P;l[1]===Symbol.for("react.memo_cache_sentinel")?(O=t=>p.subscribeAll(t),I=()=>p.getVersion(),P=()=>p.getVersion(),l[1]=O,l[2]=I,l[3]=P):(O=l[1],I=l[2],P=l[3]);const w=(0,o.useSyncExternalStore)(O,I,P),R=y??"",q=b??"";let x;l[4]!==E||l[5]!==S||l[6]!==w||l[7]!==R||l[8]!==q?(x=[...f,R,E,S,q,w],l[4]=E,l[5]=S,l[6]=w,l[7]=R,l[8]=q,l[9]=x):x=l[9];const F=v&&Boolean(y);let j,D;l[10]!==b||l[11]!==E||l[12]!==S||l[13]!==y?(j=async()=>{if(!y)throw new Error("No connected host");const t=u.useSessionStore.getState().sessions[y]?.client??null;if(!t)throw new Error("No connected host");const o=await t.sourceCatalogue(Object.assign({kind:E,query:S},b?{cursor:b}:{}));if(o.error)throw new Error(o.error);return{items:o.items,nextCursor:o.nextCursor}},l[10]=b,l[11]=E,l[12]=S,l[13]=y,l[14]=j):j=l[14];l[15]!==j||l[16]!==x||l[17]!==F?(D={queryKey:x,enabled:F,staleTime:5e3,placeholderData:s.keepPreviousData,retry:!1,queryFn:j},l[15]=j,l[16]=x,l[17]=F,l[18]=D):D=l[18];const K=(0,s.useQuery)(D);let N;l[19]!==K.data?.items?(N=K.data?.items??[],l[19]=K.data?.items,l[20]=N):N=l[20];const Q=K.data?.nextCursor??null,k=K.isLoading&&void 0===K.data,A=K.isError,L=K.error;let V,B;l[21]!==K.error?(V=h(K.error),l[21]=K.error,l[22]=V):V=l[22];l[23]!==K.error||l[24]!==K.isError||l[25]!==N||l[26]!==Q||l[27]!==k||l[28]!==V?(B={entries:N,nextCursor:Q,isLoading:k,isError:A,error:L,isNotConfigured:V},l[23]=K.error,l[24]=K.isError,l[25]=N,l[26]=Q,l[27]=k,l[28]=V,l[29]=B):B=l[29];return B};var t=r(d[0]),o=r(d[1]),s=r(d[2]),n=r(d[3]),c=r(d[4]),u=r(d[5]);const l=["sources"],f=["source-catalogue"],y=["PIPEDREAM_OFF","COMPOSIO_OFF"];function h(t){const o=t instanceof Error?t.message:String(t??"");return y.some(t=>o.includes(t))}function E(t){return[...l,[...t].sort().join("|")]}function S(t){return!!t.state.data?.sources.some(b)&&2e3}function b(t){return"connecting"===t.status}function _(t){return t.serverId}function v(t){return{serverId:t.serverId,serverName:t.label}}},4905,[350,36,3030,3274,4906,3427]);
16665
16665
  __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"ALL_SOURCE_HOSTS_FAILED_MESSAGE",{enumerable:!0,get:function(){return t}}),e.fetchAggregatedSources=async function(o){const n=[],c=[];let u=0;if(await Promise.all(o.hosts.map(async t=>{const h=o.runtime.getSnapshot(t.serverId),l="online"===h?.connectionStatus,v=o.runtime.getClient(t.serverId);if(v&&l){u+=1;try{const s=await v.sourceList();if(s.error)throw new Error(s.error);for(const o of s.sources)n.push(Object.assign({},o,{serverId:t.serverId,serverName:t.serverName}))}catch(o){c.push({serverId:t.serverId,serverName:t.serverName,message:(0,s.toErrorMessage)(o)})}}})),u>0&&0===n.length&&c.length===u)throw new Error(t);return{sources:n,hostErrors:c}};var s=r(d[0]);const t="No connected hosts could load sources"},4906,[3996]);
16666
16666
  __d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),_e.SourceConnectSheet=function(e){const l=(0,s.c)(41),{visible:u,onClose:b,appSlug:j,redirectUrl:D,sourceId:I}=e,{sources:T}=(0,f.useSources)();let E;l[0]!==I||l[1]!==T?(E=null===I?null:T.find(e=>e.id===I)??null,l[0]=I,l[1]=T,l[2]=E):E=l[2];const M=E,w=null!==M&&"connecting"!==M.status,N=w&&"active"!==M.status;let C,O;l[3]!==N||l[4]!==b||l[5]!==w||l[6]!==u?(C=()=>{u&&w&&!N&&b()},O=[u,w,N,b],l[3]=N,l[4]=b,l[5]=w,l[6]=u,l[7]=C,l[8]=O):(C=l[7],O=l[8]);(0,o.useEffect)(C,O);const k=`Authorize ${j}`;let A;l[9]!==k?(A={title:k},l[9]=k,l[10]=A):A=l[10];const L=A;let P;l[11]!==D?(P=()=>{D&&c.default.openURL(D)},l[11]=D,l[12]=P):P=l[12];const U=P;let B;e:{if(!N||null===M){B=null;break e}let e;l[13]!==M.displayName||l[14]!==M.lastError||l[15]!==M.status?(e=(0,y.resolveSourceDisplayState)({status:M.status,lastError:M.lastError,displayName:M.displayName}),l[13]=M.displayName,l[14]=M.lastError,l[15]=M.status,l[16]=e):e=l[16],B=e.detail}const F=B,R=N?x:v;let V,W,Y;l[17]!==R?(V=(0,S.jsx)(n.Text,{style:z.copy,children:R}),l[17]=R,l[18]=V):V=l[18];l[19]!==F?(W=F?(0,S.jsx)(n.Text,{style:z.hint,testID:"sources-connect-failed",children:F}):null,l[19]=F,l[20]=W):W=l[20];l[21]!==N||l[22]!==D?(Y=D&&!N?(0,S.jsx)(n.Text,{style:z.url,numberOfLines:2,testID:"sources-connect-url",children:D}):null,l[21]=N,l[22]=D,l[23]=Y):Y=l[23];const $=!D,q=N?"Try again":"Open authorization page";let G,H,J,K;l[24]!==U||l[25]!==$||l[26]!==q?(G=(0,S.jsx)(h.Button,{disabled:$,onPress:U,testID:"sources-connect-open",children:q}),l[24]=U,l[25]=$,l[26]=q,l[27]=G):G=l[27];l[28]!==N?(H=N?null:(0,S.jsx)(n.Text,{style:z.hint,testID:"sources-connect-waiting",children:_}),l[28]=N,l[29]=H):H=l[29];l[30]!==W||l[31]!==Y||l[32]!==G||l[33]!==H||l[34]!==V?(J=(0,S.jsxs)(t.View,{style:z.body,children:[V,W,Y,G,H]}),l[30]=W,l[31]=Y,l[32]=G,l[33]=H,l[34]=V,l[35]=J):J=l[35];l[36]!==L||l[37]!==b||l[38]!==J||l[39]!==u?(K=(0,S.jsx)(p.AdaptiveModalSheet,{header:L,visible:u,onClose:b,testID:"sources-connect-sheet",children:J}),l[36]=L,l[37]=b,l[38]=J,l[39]=u,l[40]=K):K=l[40];return K};var e,t=r(d[0]),n=r(d[1]),s=r(d[2]),o=r(d[3]),l=r(d[4]),c=(e=l)&&e.__esModule?e:{default:e};r(d[5]),r(d[6]);var u=r(d[7]),p=r(d[8]),h=r(d[9]),f=r(d[10]),y=r(d[11]),S=r(d[12]);const v="Finish connecting on the provider's own authorization page. paseo never sees, holds or stores your credentials.",_="Waiting for the provider to confirm. paseo checks every couple of seconds and this closes itself when it lands.",x="The provider never confirmed, so nothing is connected. You can try authorizing again.";const z=u.StyleSheet.create(e=>({body:{gap:e.spacing[4],padding:e.spacing[4],uni__dependencies:[0]},copy:{color:e.colors.foreground,fontSize:e.fontSize.sm,uni__dependencies:[0]},url:{color:e.colors.foregroundMuted,fontSize:e.fontSize.xs,uni__dependencies:[0]},hint:{color:e.colors.foregroundMuted,fontSize:e.fontSize.xs,uni__dependencies:[0]}}))},4907,[348,349,350,36,648,234,146,56,3481,2475,4905,4908,279]);
16667
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.resolveSourceDisplayState=function(o){const c=(u=o.displayName,u.trim().length>0?u:"the provider"),l=o.lastError;var u;if("connecting"===o.status)return{label:"Connecting",tone:"muted",detail:`Waiting for ${c} to confirm.`,primaryAction:"cancel"};if("active"===o.status)return{label:"Connected",tone:"success",detail:null,primaryAction:"check"};if("authorization_not_confirmed"===l)return{label:"Not authorized",tone:"error",detail:"You did not finish authorizing. Nothing is running.",primaryAction:"authorize"};if("revoked"===o.status||null!==l&&n.has(l))return{label:"Revoked",tone:"error",detail:`${c} no longer has this connection. Reconnect to restore it.`,primaryAction:"reconnect"};if(null!==l&&t.has(l))return{label:"Check failed",tone:"muted",detail:"paseo could not reach the provider. The connection itself may be fine.",primaryAction:"check"};return{label:"Needs attention",tone:"error",detail:null===o.lastError?null:`Reported: ${o.lastError}`,primaryAction:"check"}},e.buildAccountLine=function(t){return t??"Not linked to an account"},e.buildWorkLine=function(t){if(0===t)return"No filters - nothing runs";return 1===t?"1 filter":`${t} filters`};const t=new Set(["PIPEDREAM_OFF","PIPEDREAM_OFFLINE","COMPOSIO_OFF","COMPOSIO_OFFLINE","COMPOSIO_NEEDS_SETUP","COMPOSIO_ERROR","SOURCE_ERROR","FILTER_MISSING","SOURCE_MISSING","check_failed"]),n=new Set(["PIPEDREAM_AUTH","COMPOSIO_AUTH","SOURCE_GONE"])},4908,[]);
16667
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.resolveSourceDisplayState=function(o){const l=(u=o.displayName,u.trim().length>0?u:"the provider"),c=o.lastError;var u;if("connecting"===o.status)return{label:"Connecting",tone:"muted",detail:`Waiting for ${l} to confirm.`,primaryAction:"cancel"};if("active"===o.status)return{label:"Connected",tone:"success",detail:null,primaryAction:"check"};if("authorization_not_confirmed"===c)return{label:"Not authorized",tone:"error",detail:"You did not finish authorizing. Nothing is running.",primaryAction:"authorize"};if("revoked"===o.status||null!==c&&n.has(c))return{label:"Revoked",tone:"error",detail:`${l} no longer has this connection. Reconnect to restore it.`,primaryAction:"reconnect"};if(null!==c&&t.has(c))return{label:"Check failed",tone:"muted",detail:"paseo could not reach the provider. The connection itself may be fine.",primaryAction:"check"};return{label:"Needs attention",tone:"error",detail:null===o.lastError?null:`Reported: ${o.lastError}`,primaryAction:"check"}},e.buildAccountLine=function(t,n=null){if(null!==t&&t.trim().length>0)return t;return null===n?"Not linked to an account":"Linked (name unavailable)"},e.buildWorkLine=function(t){if(0===t)return"No filters - nothing runs";return 1===t?"1 filter":`${t} filters`};const t=new Set(["PIPEDREAM_OFF","PIPEDREAM_OFFLINE","COMPOSIO_OFF","COMPOSIO_OFFLINE","COMPOSIO_NEEDS_SETUP","COMPOSIO_ERROR","SOURCE_ERROR","FILTER_MISSING","SOURCE_MISSING","check_failed"]),n=new Set(["PIPEDREAM_AUTH","COMPOSIO_AUTH","SOURCE_GONE"])},4908,[]);
16668
16668
  __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.SourcesTable=function(n){const c=(0,s.c)(9),{sources:o,singleHost:l,onRetryConnect:u}=n;let C,S;if(c[0]!==u||c[1]!==l||c[2]!==o){let t;c[4]!==u||c[5]!==l?(t=(t,s)=>(0,h.jsx)(f,{source:t,singleHost:l,isFirst:0===s,onRetryConnect:u},`${t.serverId}:${t.id}`),c[4]=u,c[5]=l,c[6]=t):t=c[6],C=o.map(t),c[0]=u,c[1]=l,c[2]=o,c[3]=C}else C=c[3];c[7]!==C?(S=(0,h.jsx)(t.View,{style:p.listContent,testID:"sources-table",children:(0,h.jsx)(t.View,{style:y.settingsStyles.card,children:C})}),c[7]=C,c[8]=S):S=c[8];return S};var t=r(d[0]),s=r(d[1]),n=r(d[2]);r(d[3]);var c=r(d[4]),o=r(d[5]),l=r(d[6]),u=r(d[7]),y=r(d[8]),h=r(d[9]);function f({source:t,singleHost:s,isFirst:c,onRetryConnect:y}){const{checkSource:f,disconnectSource:p}=(0,u.useSourceMutations)({serverId:t.serverId}),[C,S]=(0,n.useState)(!1),[v,w]=(0,n.useState)(!1),b=(0,n.useCallback)(()=>{S(!0),f(t.id).catch(()=>{}).finally(()=>{S(!1)})},[f,t.id]),k=(0,n.useCallback)(()=>{y(t)},[y,t]),D=(0,n.useCallback)(()=>{(async()=>{if(await(0,l.confirmDialog)({title:`Disconnect ${t.displayName}?`,message:"paseo will forget this source and the filters watching it stop running. Your authorization stays with the provider, so reconnecting is immediate.",confirmLabel:"Disconnect",destructive:!0})){w(!0);try{await p(t.id)}catch{}finally{w(!1)}}})()},[p,t.displayName,t.id]);return(0,h.jsx)(o.SourceRow,{source:t,singleHost:s,isFirst:c,isChecking:C,isDisconnecting:v,onCheck:b,onRetryConnect:k,onDisconnect:D})}const p=c.StyleSheet.create(t=>({listContent:{paddingHorizontal:{xs:t.spacing[3],md:t.spacing[6]},uni__dependencies:[0]}}))},4909,[348,350,36,146,56,4910,3696,4911,3933,279]);
16669
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.SourceRow=function(c){const u=(0,n.c)(54),{source:x,singleHost:_,isFirst:S,onCheck:z,onRetryConnect:D,onDisconnect:v,isChecking:j,isDisconnecting:w}=c;let L;u[0]!==x.displayName||u[1]!==x.lastError||u[2]!==x.status?(L=(0,f.resolveSourceDisplayState)({status:x.status,lastError:x.lastError,displayName:x.displayName}),u[0]=x.displayName,u[1]=x.lastError,u[2]=x.status,u[3]=L):L=u[3];const $=L,I="authorize"===$.primaryAction||"reconnect"===$.primaryAction,N=S?b:h,C=`source-row-${x.id}`;let A;u[4]!==x.displayName?(A=(0,p.jsx)(s.Text,{style:y.title,numberOfLines:1,children:x.displayName}),u[4]=x.displayName,u[5]=A):A=u[5];const T=`source-account-${x.id}`;let k,E;u[6]!==_||u[7]!==x.accountLabel||u[8]!==x.serverName?(k=_?(0,f.buildAccountLine)(x.accountLabel):`${(0,f.buildAccountLine)(x.accountLabel)} - ${x.serverName}`,u[6]=_,u[7]=x.accountLabel,u[8]=x.serverName,u[9]=k):k=u[9];u[10]!==T||u[11]!==k?(E=(0,p.jsx)(s.Text,{style:y.subtitle,numberOfLines:1,testID:T,children:k}),u[10]=T,u[11]=k,u[12]=E):E=u[12];const O=`source-work-${x.id}`;let M,P,R,B;u[13]!==x.filterCount?(M=(0,f.buildWorkLine)(x.filterCount),u[13]=x.filterCount,u[14]=M):M=u[14];u[15]!==O||u[16]!==M?(P=(0,p.jsx)(s.Text,{style:y.detail,numberOfLines:1,testID:O,children:M}),u[15]=O,u[16]=M,u[17]=P):P=u[17];u[18]!==$.detail||u[19]!==x.id?(R=$.detail?(0,p.jsx)(s.Text,{style:y.detail,numberOfLines:2,testID:`source-detail-${x.id}`,children:$.detail}):null,u[18]=$.detail,u[19]=x.id,u[20]=R):R=u[20];u[21]!==P||u[22]!==R||u[23]!==A||u[24]!==E?(B=(0,p.jsxs)(t.View,{style:y.main,children:[A,E,P,R]}),u[21]=P,u[22]=R,u[23]=A,u[24]=E,u[25]=B):B=u[25];const V="error"===$.tone?y.statusError:y.status,W=`source-status-${x.id}`,F=`${$.label} (${x.status})`;let H,q;u[26]!==$.label||u[27]!==V||u[28]!==W||u[29]!==F?(H=(0,p.jsx)(s.Text,{style:V,testID:W,accessibilityLabel:F,children:$.label}),u[26]=$.label,u[27]=V,u[28]=W,u[29]=F,u[30]=H):H=u[30];u[31]!==$.primaryAction||u[32]!==D||u[33]!==I||u[34]!==x.id?(q=I?(0,p.jsx)(l.Button,{variant:"ghost",size:"sm",onPress:D,testID:`source-connect-retry-${x.id}`,children:"reconnect"===$.primaryAction?"Reconnect":"Authorize"}):null,u[31]=$.primaryAction,u[32]=D,u[33]=I,u[34]=x.id,u[35]=q):q=u[35];const G=`source-check-btn-${x.id}`;let J;u[36]!==j||u[37]!==z||u[38]!==G?(J=(0,p.jsx)(l.Button,{variant:"ghost",size:"sm",leftIcon:o.RotateCw,onPress:z,disabled:j,testID:G,children:"Check"}),u[36]=j,u[37]=z,u[38]=G,u[39]=J):J=u[39];const K=`source-disconnect-btn-${x.id}`;let Q,U,X;u[40]!==w||u[41]!==v||u[42]!==K?(Q=(0,p.jsx)(l.Button,{variant:"ghost",size:"sm",leftIcon:o.Trash2,onPress:v,disabled:w,testID:K,children:"Disconnect"}),u[40]=w,u[41]=v,u[42]=K,u[43]=Q):Q=u[43];u[44]!==H||u[45]!==q||u[46]!==J||u[47]!==Q?(U=(0,p.jsxs)(t.View,{style:y.actions,children:[H,q,J,Q]}),u[44]=H,u[45]=q,u[46]=J,u[47]=Q,u[48]=U):U=u[48];u[49]!==B||u[50]!==N||u[51]!==U||u[52]!==C?(X=(0,p.jsxs)(t.View,{style:N,testID:C,children:[B,U]}),u[49]=B,u[50]=N,u[51]=U,u[52]=C,u[53]=X):X=u[53];return X};var t=r(d[0]),s=r(d[1]),n=r(d[2]),o=r(d[3]);r(d[4]),r(d[5]);var c=r(d[6]),l=r(d[7]),u=r(d[8]),f=r(d[9]),p=r(d[10]);const y=c.StyleSheet.create(t=>({rowDivider:{borderTopWidth:1,borderTopColor:t.colors.border,uni__dependencies:[0]},main:{flex:1,minWidth:0,gap:t.spacing[1],uni__dependencies:[0]},title:{color:t.colors.foreground,fontSize:t.fontSize.sm,uni__dependencies:[0]},subtitle:{color:t.colors.foregroundMuted,fontSize:t.fontSize.xs,uni__dependencies:[0]},actions:{flexDirection:"row",alignItems:"center",gap:t.spacing[2],uni__dependencies:[0]},status:{color:t.colors.foregroundMuted,fontSize:t.fontSize.xs,uni__dependencies:[0]},statusError:{color:t.colors.destructive,fontSize:t.fontSize.xs,uni__dependencies:[0]},detail:{color:t.colors.foregroundMuted,fontSize:t.fontSize.xs,uni__dependencies:[0]}})),b=[u.settingsStyles.row],h=[u.settingsStyles.row,y.rowDivider]},4910,[348,349,350,811,234,146,56,2475,3933,4908,279]);
16669
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.SourceRow=function(c){const u=(0,n.c)(55),{source:h,singleHost:_,isFirst:S,onCheck:z,onRetryConnect:D,onDisconnect:I,isChecking:v,isDisconnecting:j}=c;let w;u[0]!==h.displayName||u[1]!==h.lastError||u[2]!==h.status?(w=(0,f.resolveSourceDisplayState)({status:h.status,lastError:h.lastError,displayName:h.displayName}),u[0]=h.displayName,u[1]=h.lastError,u[2]=h.status,u[3]=w):w=u[3];const A=w,L="authorize"===A.primaryAction||"reconnect"===A.primaryAction,$=S?b:x,N=`source-row-${h.id}`;let C;u[4]!==h.displayName?(C=(0,p.jsx)(s.Text,{style:y.title,numberOfLines:1,children:h.displayName}),u[4]=h.displayName,u[5]=C):C=u[5];const T=`source-account-${h.id}`;let k,E;u[6]!==_||u[7]!==h.accountLabel||u[8]!==h.externalAccountId||u[9]!==h.serverName?(k=_?(0,f.buildAccountLine)(h.accountLabel,h.externalAccountId):`${(0,f.buildAccountLine)(h.accountLabel,h.externalAccountId)} - ${h.serverName}`,u[6]=_,u[7]=h.accountLabel,u[8]=h.externalAccountId,u[9]=h.serverName,u[10]=k):k=u[10];u[11]!==T||u[12]!==k?(E=(0,p.jsx)(s.Text,{style:y.subtitle,numberOfLines:1,testID:T,children:k}),u[11]=T,u[12]=k,u[13]=E):E=u[13];const O=`source-work-${h.id}`;let M,P,R,B;u[14]!==h.filterCount?(M=(0,f.buildWorkLine)(h.filterCount),u[14]=h.filterCount,u[15]=M):M=u[15];u[16]!==O||u[17]!==M?(P=(0,p.jsx)(s.Text,{style:y.detail,numberOfLines:1,testID:O,children:M}),u[16]=O,u[17]=M,u[18]=P):P=u[18];u[19]!==A.detail||u[20]!==h.id?(R=A.detail?(0,p.jsx)(s.Text,{style:y.detail,numberOfLines:2,testID:`source-detail-${h.id}`,children:A.detail}):null,u[19]=A.detail,u[20]=h.id,u[21]=R):R=u[21];u[22]!==P||u[23]!==R||u[24]!==C||u[25]!==E?(B=(0,p.jsxs)(t.View,{style:y.main,children:[C,E,P,R]}),u[22]=P,u[23]=R,u[24]=C,u[25]=E,u[26]=B):B=u[26];const V="error"===A.tone?y.statusError:y.status,W=`source-status-${h.id}`,F=`${A.label} (${h.status})`;let H,q;u[27]!==A.label||u[28]!==V||u[29]!==W||u[30]!==F?(H=(0,p.jsx)(s.Text,{style:V,testID:W,accessibilityLabel:F,children:A.label}),u[27]=A.label,u[28]=V,u[29]=W,u[30]=F,u[31]=H):H=u[31];u[32]!==A.primaryAction||u[33]!==D||u[34]!==L||u[35]!==h.id?(q=L?(0,p.jsx)(l.Button,{variant:"ghost",size:"sm",onPress:D,testID:`source-connect-retry-${h.id}`,children:"reconnect"===A.primaryAction?"Reconnect":"Authorize"}):null,u[32]=A.primaryAction,u[33]=D,u[34]=L,u[35]=h.id,u[36]=q):q=u[36];const G=`source-check-btn-${h.id}`;let J;u[37]!==v||u[38]!==z||u[39]!==G?(J=(0,p.jsx)(l.Button,{variant:"ghost",size:"sm",leftIcon:o.RotateCw,onPress:z,disabled:v,testID:G,children:"Check"}),u[37]=v,u[38]=z,u[39]=G,u[40]=J):J=u[40];const K=`source-disconnect-btn-${h.id}`;let Q,U,X;u[41]!==j||u[42]!==I||u[43]!==K?(Q=(0,p.jsx)(l.Button,{variant:"ghost",size:"sm",leftIcon:o.Trash2,onPress:I,disabled:j,testID:K,children:"Disconnect"}),u[41]=j,u[42]=I,u[43]=K,u[44]=Q):Q=u[44];u[45]!==H||u[46]!==q||u[47]!==J||u[48]!==Q?(U=(0,p.jsxs)(t.View,{style:y.actions,children:[H,q,J,Q]}),u[45]=H,u[46]=q,u[47]=J,u[48]=Q,u[49]=U):U=u[49];u[50]!==B||u[51]!==$||u[52]!==U||u[53]!==N?(X=(0,p.jsxs)(t.View,{style:$,testID:N,children:[B,U]}),u[50]=B,u[51]=$,u[52]=U,u[53]=N,u[54]=X):X=u[54];return X};var t=r(d[0]),s=r(d[1]),n=r(d[2]),o=r(d[3]);r(d[4]),r(d[5]);var c=r(d[6]),l=r(d[7]),u=r(d[8]),f=r(d[9]),p=r(d[10]);const y=c.StyleSheet.create(t=>({rowDivider:{borderTopWidth:1,borderTopColor:t.colors.border,uni__dependencies:[0]},main:{flex:1,minWidth:0,gap:t.spacing[1],uni__dependencies:[0]},title:{color:t.colors.foreground,fontSize:t.fontSize.sm,uni__dependencies:[0]},subtitle:{color:t.colors.foregroundMuted,fontSize:t.fontSize.xs,uni__dependencies:[0]},actions:{flexDirection:"row",alignItems:"center",gap:t.spacing[2],uni__dependencies:[0]},status:{color:t.colors.foregroundMuted,fontSize:t.fontSize.xs,uni__dependencies:[0]},statusError:{color:t.colors.destructive,fontSize:t.fontSize.xs,uni__dependencies:[0]},detail:{color:t.colors.foregroundMuted,fontSize:t.fontSize.xs,uni__dependencies:[0]}})),b=[u.settingsStyles.row],x=[u.settingsStyles.row,y.rowDivider]},4910,[348,349,350,811,234,146,56,2475,3933,4908,279]);
16670
16670
  __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.useSourceMutations=function(c){const l=(0,n.c)(33),{serverId:y}=c,w=(0,t.useQueryClient)(),{t:P}=(0,o.useTranslation)();let S;l[0]!==w?(S=()=>{w.invalidateQueries({queryKey:s.sourcesQueryBaseKey})},l[0]=w,l[1]=S):S=l[1];const v=S;let f,C;l[2]!==y||l[3]!==P?(f=async n=>{const t=u(y,P("common.errors.daemonClientUnavailable")),o=await t.sourceConnect(n);if(o.error)throw new Error(o.error);return{source:o.source,redirectUrl:o.redirectUrl}},l[2]=y,l[3]=P,l[4]=f):f=l[4];l[5]!==v||l[6]!==f?(C={mutationFn:f,onSettled:v},l[5]=v,l[6]=f,l[7]=C):C=l[7];const h=(0,t.useMutation)(C);let M,U;l[8]!==y||l[9]!==P?(M=async n=>{const t=u(y,P("common.errors.daemonClientUnavailable")),o=await t.sourceCheck({sourceId:n});if(o.error)throw new Error(o.error)},l[8]=y,l[9]=P,l[10]=M):M=l[10];l[11]!==v||l[12]!==M?(U={mutationFn:M,onSettled:v},l[11]=v,l[12]=M,l[13]=U):U=l[13];const b=(0,t.useMutation)(U);let E,F;l[14]!==y||l[15]!==P?(E=async n=>{const t=u(y,P("common.errors.daemonClientUnavailable")),o=await t.sourceDisconnect({sourceId:n});if(o.error)throw new Error(o.error);return o.removedFilterIds},l[14]=y,l[15]=P,l[16]=E):E=l[16];l[17]!==v||l[18]!==E?(F={mutationFn:E,onSettled:v},l[17]=v,l[18]=E,l[19]=F):F=l[19];const I=(0,t.useMutation)(F);let _,k,A,Q;l[20]!==h?(_=n=>h.mutateAsync(n),l[20]=h,l[21]=_):_=l[21];l[22]!==b?(k=n=>b.mutateAsync(n),l[22]=b,l[23]=k):k=l[23];l[24]!==I?(A=n=>I.mutateAsync(n),l[24]=I,l[25]=A):A=l[25];l[26]!==b.isPending||l[27]!==h.isPending||l[28]!==I.isPending||l[29]!==A||l[30]!==_||l[31]!==k?(Q={connectSource:_,checkSource:k,disconnectSource:A,isConnecting:h.isPending,isChecking:b.isPending,isDisconnecting:I.isPending},l[26]=b.isPending,l[27]=h.isPending,l[28]=I.isPending,l[29]=A,l[30]=_,l[31]=k,l[32]=Q):Q=l[32];return Q};var n=r(d[0]);r(d[1]);var t=r(d[2]),o=r(d[3]),s=r(d[4]),c=r(d[5]);function u(n,t){const o=c.useSessionStore.getState().sessions[n]?.client??null;if(!o)throw new Error(t);return o}},4911,[350,36,3030,352,4905,3427]);
16671
16671
  __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return o}});var t=r(d[0]),n=r(d[1]),c=r(d[2]);function o(){const o=(0,t.c)(1);let u;return o[0]===Symbol.for("react.memo_cache_sentinel")?(u=(0,c.jsx)(n.WelcomeScreen,{}),o[0]=u):u=o[0],u}},4912,[350,4913,279]);
16672
16672
  __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.WelcomeScreen=function(I){const V=(0,c.c)(63),{onHostAdded:W}=I,{theme:A}=(0,f.useUnistyles)(),{t:M}=(0,u.useTranslation)(),R=(0,h.useSafeAreaInsets)(),H=(0,p.useRouter)();let O;if(V[0]===Symbol.for("react.memo_cache_sentinel")){const t=(0,j.resolveAppVersion)();O=(0,k.formatVersionWithPrefix)(t),V[0]=O}else O=V[0];const E=O,[U,q]=(0,l.useState)(!1),[F,G]=(0,l.useState)(!1),Q=(0,b.useHosts)();let N;V[1]!==Q?(N=Q.map(B),V[1]=Q,V[2]=N):N=V[2];const J=v(N);let K,X,Y;V[3]!==J||V[4]!==H?(K=()=>{J&&H.replace((0,P.buildOpenProjectRoute)())},X=[J,H],V[3]=J,V[4]=H,V[5]=K,V[6]=X):(K=V[5],X=V[6]);(0,l.useEffect)(K,X),V[7]!==H?(Y=()=>{H.replace((0,P.buildOpenProjectRoute)())},V[7]=H,V[8]=Y):Y=V[8];const Z=Y,$=L;let ee;V[9]!==H?(ee=()=>{H.push("/settings")},V[9]=H,V[10]=ee):ee=V[10];const te=ee;let ne;V[11]===Symbol.for("react.memo_cache_sentinel")?(ne=()=>q(!0),V[11]=ne):ne=V[11];const oe=ne;let se;V[12]===Symbol.for("react.memo_cache_sentinel")?(se=()=>q(!1),V[12]=se):se=V[12];const ie=se;let ce;V[13]===Symbol.for("react.memo_cache_sentinel")?(ce=()=>G(!0),V[13]=ce):ce=V[13];const re=ce;let le;V[14]===Symbol.for("react.memo_cache_sentinel")?(le=()=>G(!1),V[14]=le):le=V[14];const ae=le;let de;V[15]!==H?(de=()=>{H.push("/pair-scan?source=onboarding")},V[15]=H,V[16]=de):de=V[16];const ue=de;let pe;V[17]!==Z||V[18]!==W?(pe=t=>{const{profile:n}=t;W?.(n),Z()},V[17]=Z,V[18]=W,V[19]=pe):pe=V[19];const me=pe;let ge;V[20]!==ue||V[21]!==M?(ge=C.isWeb?[{key:"direct-connection",label:M("pairing.connectionMethods.direct.title"),testID:"welcome-direct-connection",primary:!0,icon:y.Link2,onPress:oe},{key:"paste-pairing-link",label:M("pairing.connectionMethods.pasteLink.title"),testID:"welcome-paste-pairing-link",primary:!1,icon:y.ClipboardPaste,onPress:re}]:[{key:"scan-qr",label:M("pairing.connectionMethods.scanQr.title"),testID:"welcome-scan-qr",primary:!0,icon:y.QrCode,onPress:ue},{key:"direct-connection",label:M("pairing.connectionMethods.direct.title"),testID:"welcome-direct-connection",primary:!1,icon:y.Link2,onPress:oe},{key:"paste-pairing-link",label:M("pairing.connectionMethods.pasteLink.title"),testID:"welcome-paste-pairing-link",primary:!1,icon:y.ClipboardPaste,onPress:re}],V[20]=ue,V[21]=M,V[22]=ge):ge=V[22];const fe=ge,ye=A.spacing[6]+R.bottom;let he;V[23]!==ye?(he=[T.container,{paddingBottom:ye}],V[23]=ye,V[24]=he):he=V[24];const be=he;let _e,xe,Se,je,ke,Pe,we,Ie,Ce,ze,Te,ve,De,Le,Be;V[25]===Symbol.for("react.memo_cache_sentinel")?(_e=(0,z.jsx)(w.PaseoLogo,{size:96}),V[25]=_e):_e=V[25];V[26]!==M?(xe=M("onboarding.title"),V[26]=M,V[27]=xe):xe=V[27];V[28]!==xe?(Se=(0,z.jsx)(o.Text,{style:T.title,children:xe}),V[28]=xe,V[29]=Se):Se=V[29];V[30]!==M?(je=M("onboarding.subtitle"),V[30]=M,V[31]=je):je=V[31];V[32]!==je?(ke=(0,z.jsx)(o.Text,{style:T.subtitle,children:je}),V[32]=je,V[33]=ke):ke=V[33];V[34]!==A.colors?(Pe=C.isNative?(0,z.jsxs)(s.Pressable,{style:T.setupLink,onPress:$,children:[(0,z.jsx)(o.Text,{style:T.setupLinkText,children:"paseo.sh"}),(0,z.jsx)(y.ExternalLink,{size:14,color:A.colors.accent})]}):null,V[34]=A.colors,V[35]=Pe):Pe=V[35];V[36]!==Se||V[37]!==ke||V[38]!==Pe?(we=(0,z.jsxs)(n.View,{style:T.copyBlock,children:[Se,ke,Pe]}),V[36]=Se,V[37]=ke,V[38]=Pe,V[39]=we):we=V[39];V[40]!==fe?(Ie=(0,z.jsx)(n.View,{style:T.actions,children:fe.map(D)}),V[40]=fe,V[41]=Ie):Ie=V[41];V[42]!==M?(Ce=M("onboarding.actions.settings"),V[42]=M,V[43]=Ce):Ce=V[43];V[44]!==te||V[45]!==Ce?(ze=(0,z.jsx)(S.Button,{variant:"ghost",size:"sm",leftIcon:y.Settings,onPress:te,style:T.settingsButton,testID:"welcome-open-settings",children:Ce}),V[44]=te,V[45]=Ce,V[46]=ze):ze=V[46];V[47]!==we||V[48]!==Ie||V[49]!==ze?(Te=(0,z.jsxs)(n.View,{style:T.content,children:[_e,we,Ie,ze]}),V[47]=we,V[48]=Ie,V[49]=ze,V[50]=Te):Te=V[50];V[51]===Symbol.for("react.memo_cache_sentinel")?(ve=(0,z.jsx)(o.Text,{style:T.versionLabel,children:E}),V[51]=ve):ve=V[51];V[52]!==me||V[53]!==U?(De=(0,z.jsx)(_.AddHostModal,{visible:U,onClose:ie,onSaved:me}),V[52]=me,V[53]=U,V[54]=De):De=V[54];V[55]!==me||V[56]!==F?(Le=(0,z.jsx)(x.PairLinkModal,{visible:F,onClose:ae,onSaved:me}),V[55]=me,V[56]=F,V[57]=Le):Le=V[57];V[58]!==be||V[59]!==Te||V[60]!==De||V[61]!==Le?(Be=(0,z.jsx)(n.View,{style:T.root,children:(0,z.jsxs)(t.ScrollView,{style:T.scrollView,contentContainerStyle:be,showsVerticalScrollIndicator:!1,testID:"welcome-screen",children:[Te,ve,De,Le]})}),V[58]=be,V[59]=Te,V[60]=De,V[61]=Le,V[62]=Be):Be=V[62];return Be};var t=r(d[0]),n=r(d[1]),o=r(d[2]),s=r(d[3]),c=r(d[4]),l=r(d[5]),u=r(d[6]);r(d[7]),r(d[8]),r(d[9]),r(d[10]);var p=r(d[11]),f=r(d[12]),y=r(d[13]),h=r(d[14]),b=r(d[15]),_=r(d[16]),x=r(d[17]),S=r(d[18]),j=r(d[19]),k=r(d[20]),P=r(d[21]),w=r(d[22]),I=r(d[23]),C=r(d[24]),z=r(d[25]);const T=f.StyleSheet.create(t=>({root:{flex:1,backgroundColor:t.colors.surface0,uni__dependencies:[0]},scrollView:{flex:1},container:{flexGrow:1,padding:t.spacing[6],paddingBottom:0,alignItems:"center",uni__dependencies:[0]},content:{width:"100%",flexGrow:1,justifyContent:"center",alignItems:"center"},title:{color:t.colors.foreground,fontSize:t.fontSize.xl,fontWeight:t.fontWeight.medium,textAlign:"center",uni__dependencies:[0]},subtitle:{color:t.colors.foregroundMuted,fontSize:t.fontSize.sm,textAlign:"center",uni__dependencies:[0]},copyBlock:{alignItems:"center",gap:t.spacing[2],marginBottom:t.spacing[12],uni__dependencies:[0]},actions:{width:"100%",maxWidth:420,gap:t.spacing[3],uni__dependencies:[0]},actionButton:{flexDirection:"row",alignItems:"center",justifyContent:"center",gap:t.spacing[3],paddingVertical:t.spacing[4],borderRadius:t.borderRadius.xl,backgroundColor:t.colors.surface2,borderWidth:1,borderColor:t.colors.border,uni__dependencies:[0]},actionButtonPrimary:{backgroundColor:t.colors.accent,borderColor:t.colors.accent,uni__dependencies:[0]},actionText:{color:t.colors.foreground,fontSize:t.fontSize.base,fontWeight:t.fontWeight.medium,uni__dependencies:[0]},actionTextPrimary:{color:t.colors.accentForeground,uni__dependencies:[0]},setupLink:{flexDirection:"row",alignItems:"center",justifyContent:"center",gap:6},setupLinkText:{color:t.colors.accent,fontSize:t.fontSize.sm,fontWeight:t.fontWeight.medium,uni__dependencies:[0]},versionLabel:{color:t.colors.foregroundMuted,fontSize:t.fontSize.xs,textAlign:"center",marginTop:t.spacing[6],uni__dependencies:[0]},settingsButton:{alignSelf:"center",marginTop:t.spacing[6],uni__dependencies:[0]}}));function v(t){const n=(0,c.c)(5);let o;n[0]===Symbol.for("react.memo_cache_sentinel")?(o=(0,b.getHostRuntimeStore)(),n[0]=o):o=n[0];const s=o;let u,p,f;return n[1]===Symbol.for("react.memo_cache_sentinel")?(u=t=>s.subscribeAll(t),n[1]=u):u=n[1],n[2]!==t?(p=()=>{let n=null,o=null;for(const c of t){const t=s.getSnapshot(c),l=t?.lastOnlineAt??null;(0,b.isHostRuntimeConnected)(t)&&l&&((!o||l<o)&&(o=l,n=c))}return n},f=()=>{let n=null,o=null;for(const c of t){const t=s.getSnapshot(c),l=t?.lastOnlineAt??null;(0,b.isHostRuntimeConnected)(t)&&l&&((!o||l<o)&&(o=l,n=c))}return n},n[2]=t,n[3]=p,n[4]=f):(p=n[3],f=n[4]),(0,l.useSyncExternalStore)(u,p,f)}function D(t){return(0,z.jsx)(V,{action:t},t.key)}function L(){(0,I.openExternalUrl)("https://paseo.sh")}function B(t){return t.serverId}function V(t){const n=(0,c.c)(16),{action:l}=t,{theme:u}=(0,f.useUnistyles)(),p=l.icon,y=l.primary?T.actionButtonPrimary:null;let h;n[0]!==y?(h=[T.actionButton,y],n[0]=y,n[1]=h):h=n[1];const b=h,_=l.primary?T.actionTextPrimary:null;let x;n[2]!==_?(x=[T.actionText,_],n[2]=_,n[3]=x):x=n[3];const S=x,j=l.primary?u.colors.accentForeground:u.colors.foreground;let k,P,w;return n[4]!==p||n[5]!==j?(k=(0,z.jsx)(p,{size:18,color:j}),n[4]=p,n[5]=j,n[6]=k):k=n[6],n[7]!==l.label||n[8]!==S?(P=(0,z.jsx)(o.Text,{style:S,children:l.label}),n[7]=l.label,n[8]=S,n[9]=P):P=n[9],n[10]!==l.onPress||n[11]!==l.testID||n[12]!==b||n[13]!==k||n[14]!==P?(w=(0,z.jsxs)(s.Pressable,{style:b,onPress:l.onPress,testID:l.testID,children:[k,P]}),n[10]=l.onPress,n[11]=l.testID,n[12]=b,n[13]=k,n[14]=P,n[15]=w):w=n[15],w}},4913,[2815,348,349,2476,350,36,352,546,234,146,182,379,56,811,558,3274,4864,4865,2475,3414,4201,3492,4478,3577,3420,279]);
@@ -16680,5 +16680,5 @@ __d(function(g,r,_i,a,_m,_e,d){"use strict";var e,t=r(d[0]),n=this&&this.__creat
16680
16680
  __r(694);
16681
16681
  __r(341);
16682
16682
  __r(0);
16683
- //# sourceMappingURL=/_expo/static/js/web/index-ea21f43eebd5b96bf3cb1be6496567ed.js.map
16684
- //# debugId=3e339315-5ab5-4d7b-9b1d-d7904c7b5cf5
16683
+ //# sourceMappingURL=/_expo/static/js/web/index-7849a27fe21660d450f204d0cabd4cbe.js.map
16684
+ //# debugId=00bb8ed0-6c24-4d07-81f4-eb75bd097cf1
@@ -191,6 +191,6 @@
191
191
  <body>
192
192
  <noscript>You need to enable JavaScript to run this app.</noscript>
193
193
  <div id="root"></div>
194
- <script src="/_expo/static/js/web/index-ea21f43eebd5b96bf3cb1be6496567ed.js" defer></script>
194
+ <script src="/_expo/static/js/web/index-7849a27fe21660d450f204d0cabd4cbe.js" defer></script>
195
195
  </body>
196
196
  </html>
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperdrive.bot/fleet-server",
3
- "version": "0.3.102",
3
+ "version": "0.3.103",
4
4
  "description": "Paseo backend server",
5
5
  "license": "Apache-2.0",
6
6
  "files": [
@@ -66,11 +66,11 @@
66
66
  "@agentclientprotocol/sdk": "^0.17.1",
67
67
  "@anthropic-ai/claude-agent-sdk": "^0.3.195",
68
68
  "@anthropic-ai/sdk": "^0.104.2",
69
- "@hyperdrive.bot/fleet-client": "0.3.102",
70
- "@hyperdrive.bot/fleet-extension-sdk": "0.3.102",
71
- "@hyperdrive.bot/fleet-highlight": "0.3.102",
72
- "@hyperdrive.bot/fleet-protocol": "0.3.102",
73
- "@hyperdrive.bot/fleet-relay": "0.3.102",
69
+ "@hyperdrive.bot/fleet-client": "0.3.103",
70
+ "@hyperdrive.bot/fleet-extension-sdk": "0.3.103",
71
+ "@hyperdrive.bot/fleet-highlight": "0.3.103",
72
+ "@hyperdrive.bot/fleet-protocol": "0.3.103",
73
+ "@hyperdrive.bot/fleet-relay": "0.3.103",
74
74
  "@isaacs/ttlcache": "^2.1.4",
75
75
  "@modelcontextprotocol/sdk": "^1.20.1",
76
76
  "@opencode-ai/sdk": "1.2.6",