sootsim 0.1.218 → 0.1.220
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 +5 -3
- package/detox/index.ts +6 -7
- package/dist-cli/bin.js +4 -4
- package/dist-cli/chunks/{agent-TQJDQNML.js → agent-LCKEPMVH.js} +2 -2
- package/dist-cli/chunks/{agent-wrapper-OAOFXHX2.js → agent-wrapper-ND5JHQSI.js} +2 -2
- package/dist-cli/chunks/{app-fonts-4VPAP3RZ.js → app-fonts-N2W5BQXE.js} +2 -2
- package/dist-cli/chunks/{assert-DKNRGH4M.js → assert-O3QO4ZFV.js} +2 -2
- package/dist-cli/chunks/{auth-ZYOAQEI2.js → auth-7VXPQOZP.js} +2 -2
- package/dist-cli/chunks/beta-ZIOECOJB.js +2 -0
- package/dist-cli/chunks/{camera-BJCRYG27.js → camera-OROQGFMH.js} +2 -2
- package/dist-cli/chunks/chunk-3HJXCSYI.js +119 -0
- package/dist-cli/chunks/{chunk-SXS5SPIZ.js → chunk-3ZWOQPLC.js} +1 -1
- package/dist-cli/chunks/{chunk-Q7U5TPQN.js → chunk-4JSQTD75.js} +1 -1
- package/dist-cli/chunks/{chunk-RZMI7IKL.js → chunk-64GMEXIP.js} +2 -2
- package/dist-cli/chunks/{chunk-JDCABF7Y.js → chunk-6HBN4KIM.js} +2 -2
- package/dist-cli/chunks/{chunk-B4KB5TBV.js → chunk-7TOHX4IF.js} +1 -1
- package/dist-cli/chunks/chunk-AMUOGO6F.js +1 -0
- package/dist-cli/chunks/{chunk-YMFQOXT4.js → chunk-BI3I5X3U.js} +1 -1
- package/dist-cli/chunks/{chunk-XB6FCXX3.js → chunk-BXNMPK4X.js} +2 -2
- package/dist-cli/chunks/{chunk-OTCJCVFR.js → chunk-EFLOJBBN.js} +3 -3
- package/dist-cli/chunks/{chunk-T2NAWDMZ.js → chunk-F5XBOFGK.js} +2 -2
- package/dist-cli/chunks/{chunk-FEMAFOUH.js → chunk-FRQOTDD6.js} +2 -2
- package/dist-cli/chunks/{chunk-F5H6XTMN.js → chunk-GBALEYV4.js} +1 -1
- package/dist-cli/chunks/{chunk-Q7K5GJR4.js → chunk-GWQWCFMR.js} +2 -2
- package/dist-cli/chunks/{chunk-IKZ4Z6ND.js → chunk-H7EGEWCF.js} +1 -1
- package/dist-cli/chunks/{chunk-AY5S4CWZ.js → chunk-HAXE5SZL.js} +1 -1
- package/dist-cli/chunks/{chunk-FAUOGIHF.js → chunk-J3QE2UZI.js} +1 -1
- package/dist-cli/chunks/{chunk-NN7XOWXY.js → chunk-JMXBQ4RD.js} +3 -3
- package/dist-cli/chunks/{chunk-CMGPYPUE.js → chunk-KJVNP5B5.js} +2 -2
- package/dist-cli/chunks/{chunk-24FHNNST.js → chunk-KZUGDZ3Q.js} +6 -6
- package/dist-cli/chunks/{chunk-MW3G72KG.js → chunk-NPK2TDEV.js} +91 -14
- package/dist-cli/chunks/{chunk-73WAFGRP.js → chunk-NRHZHQOH.js} +2 -2
- package/dist-cli/chunks/{chunk-6WWKUDWP.js → chunk-OBWXIGPP.js} +2 -2
- package/dist-cli/chunks/{chunk-AK4CONMS.js → chunk-OCEYXYKG.js} +2 -2
- package/dist-cli/chunks/{chunk-ZJI2JP7F.js → chunk-PJ76I3KZ.js} +1 -1
- package/dist-cli/chunks/{chunk-V64N734Y.js → chunk-PWLK4BGI.js} +2 -2
- package/dist-cli/chunks/{chunk-TGXLBFTC.js → chunk-RIB5CQ34.js} +1 -1
- package/dist-cli/chunks/{chunk-CRPOEKYT.js → chunk-RTZNRPD4.js} +3 -3
- package/dist-cli/chunks/{chunk-7NP5BWIH.js → chunk-RWJM23VH.js} +1 -1
- package/dist-cli/chunks/{chunk-EEUNNW2P.js → chunk-S6XSCI45.js} +1 -1
- package/dist-cli/chunks/{chunk-QWJG2WVA.js → chunk-TEFCJZH5.js} +1 -1
- package/dist-cli/chunks/{chunk-LIR2VPPJ.js → chunk-TH7ODXC5.js} +9 -9
- package/dist-cli/chunks/{chunk-4DLUGQXQ.js → chunk-U3OSSCTT.js} +3 -3
- package/dist-cli/chunks/{chunk-AHTGZMT4.js → chunk-UHEKB33X.js} +2 -2
- package/dist-cli/chunks/{chunk-DVZVP32W.js → chunk-UODAA57Q.js} +2 -2
- package/dist-cli/chunks/{chunk-Z4QP44SI.js → chunk-UXLMOEFU.js} +2 -2
- package/dist-cli/chunks/{chunk-TNEHHCMZ.js → chunk-VCLV5GYE.js} +2 -2
- package/dist-cli/chunks/chunk-VQ4VGI36.js +1 -0
- package/dist-cli/chunks/{chunk-2HJU3NAO.js → chunk-XHPOQKUA.js} +1 -1
- package/dist-cli/chunks/{chunk-VOZZ62OJ.js → chunk-XKOYH7ES.js} +1 -1
- package/dist-cli/chunks/{chunk-L5HYRG4P.js → chunk-YRHLQY6J.js} +2 -2
- package/dist-cli/chunks/{chunk-CJHPCUUV.js → chunk-ZU6ECPCC.js} +1 -1
- package/dist-cli/chunks/{chunk-KLBOD2JL.js → chunk-ZW5IAKXC.js} +2 -2
- package/dist-cli/chunks/cli-version-MY4N7YDM.js +2 -0
- package/dist-cli/chunks/{compat-IETPHSZ3.js → compat-NRYECFCC.js} +3 -3
- package/dist-cli/chunks/{config-BOOBJ25W.js → config-4KKKEHH2.js} +2 -2
- package/dist-cli/chunks/{control-U52Q4YES.js → control-ZH7X66II.js} +2 -2
- package/dist-cli/chunks/daemon-6QQWVRFD.js +2 -0
- package/dist-cli/chunks/{debug-X4AW6CXJ.js → debug-Z66GNDYA.js} +3 -3
- package/dist-cli/chunks/{desktop-HHREMDE2.js → desktop-DO2BQKM4.js} +3 -3
- package/dist-cli/chunks/{detox-AXETJDTZ.js → detox-66YMXFQ5.js} +2 -2
- package/dist-cli/chunks/{device-B7PBIMER.js → device-KPQXKN5R.js} +2 -2
- package/dist-cli/chunks/{diagnose-7YEDF42J.js → diagnose-OMCHVX2X.js} +2 -2
- package/dist-cli/chunks/drivers-T2AZY5KL.js +2 -0
- package/dist-cli/chunks/{film-XQMAOELQ.js → film-PV6DPBRX.js} +3 -3
- package/dist-cli/chunks/flow-BCJH7MUK.js +2 -0
- package/dist-cli/chunks/help-KRIPS56R.js +2 -0
- package/dist-cli/chunks/{home-paths-I3NOFS6P.js → home-paths-LGQZZOPD.js} +2 -2
- package/dist-cli/chunks/inspect-3XG2QTVU.js +2 -0
- package/dist-cli/chunks/install-desktop-SH73YM3O.js +2 -0
- package/dist-cli/chunks/{login-O4ZPWWEU.js → login-QQH2UU2S.js} +4 -4
- package/dist-cli/chunks/{logout-REEPRXWZ.js → logout-KMGAWWAS.js} +2 -2
- package/dist-cli/chunks/{maestro-OCUCS5DY.js → maestro-IKINYBBR.js} +3 -3
- package/dist-cli/chunks/{maestro-generate-VHUHJFHR.js → maestro-generate-NWVVHDBL.js} +3 -3
- package/dist-cli/chunks/{mode-T24V4RZ4.js → mode-T576L6ZK.js} +2 -2
- package/dist-cli/chunks/optional-demo-registry-2F3PLJXV.js +2 -0
- package/dist-cli/chunks/{perf-ZUER6TVQ.js → perf-TRPZNIQH.js} +2 -2
- package/dist-cli/chunks/{record-XDKPMUBK.js → record-O5HUQAK4.js} +3 -3
- package/dist-cli/chunks/runtime-RLXYAF2A.js +2 -0
- package/dist-cli/chunks/{screenshot-command-MMUGPJ4I.js → screenshot-command-5FI7RD5L.js} +3 -3
- package/dist-cli/chunks/screenshots-capture-RLEAPJ45.js +41 -0
- package/dist-cli/chunks/{serve-BCATAS4S.js → serve-4SIWGY4S.js} +3 -3
- package/dist-cli/chunks/{setup-LXPQLQ6I.js → setup-LDHVGPS2.js} +9 -9
- package/dist-cli/chunks/{skills-OOPLWNI2.js → skills-CCIOVHHV.js} +2 -2
- package/dist-cli/chunks/{storage-E7MGHPIG.js → storage-HV7PNB7R.js} +2 -2
- package/dist-cli/chunks/store-DF56QJJG.js +2 -0
- package/dist-cli/chunks/telemetry-OFJVUJ34.js +2 -0
- package/dist-cli/chunks/{timeline-4AN6A5CV.js → timeline-NZY4TIYS.js} +2 -2
- package/dist-cli/chunks/upgrade-3SRHX5MN.js +4 -0
- package/dist-cli/chunks/upload-ZKKGG3CU.js +2 -0
- package/dist-cli/chunks/{version-LI2X5HLA.js → version-EWVUUOUL.js} +2 -2
- package/dist-cli/chunks/web-OT6OKUVX.js +2 -0
- package/dist-cli/chunks/{what-happened-2NTKQ4AT.js → what-happened-K2NQG7LZ.js} +2 -2
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/agent-identity.cjs +1 -1
- package/dist-lib/agent-sessions.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/cli-constants.cjs +1 -1
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/detox/index.cjs +53 -7
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +14 -2
- package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +1 -1
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +1 -1
- package/dist-lib/metro.cjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/render-mode.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +1 -1
- package/dist-lib/skills.cjs +178 -22
- package/dist-lib/vite.cjs +1 -1
- package/package.json +1 -1
- package/src/host/bridge-host.ts +21 -1
- package/src/skills/builtin/a11y-review.ts +4 -1
- package/src/skills/builtin/perf-profile.ts +4 -1
- package/src/skills/builtin/screenshot-all.ts +4 -1
- package/src/skills/builtin/visual-diff.ts +4 -1
- package/dist-cli/chunks/beta-HL46FNX3.js +0 -2
- package/dist-cli/chunks/chunk-BZRIJJIK.js +0 -1
- package/dist-cli/chunks/chunk-FP3DRAKI.js +0 -119
- package/dist-cli/chunks/chunk-OUZAVYUG.js +0 -1
- package/dist-cli/chunks/cli-version-5FG6LIHX.js +0 -2
- package/dist-cli/chunks/daemon-EJDBU2UY.js +0 -2
- package/dist-cli/chunks/drivers-325S27FC.js +0 -2
- package/dist-cli/chunks/flow-V2SWGBAR.js +0 -2
- package/dist-cli/chunks/help-F4VH4LXF.js +0 -2
- package/dist-cli/chunks/inspect-NY5VGZNC.js +0 -2
- package/dist-cli/chunks/install-desktop-X7SXH7IN.js +0 -2
- package/dist-cli/chunks/optional-demo-registry-HPLGNZCO.js +0 -2
- package/dist-cli/chunks/runtime-4A24ALGX.js +0 -2
- package/dist-cli/chunks/screenshots-capture-OM6BE572.js +0 -41
- package/dist-cli/chunks/store-3DU64I7C.js +0 -2
- package/dist-cli/chunks/telemetry-AKRLP3AR.js +0 -2
- package/dist-cli/chunks/upgrade-FRBWFDPI.js +0 -4
- package/dist-cli/chunks/upload-XGUWNMYV.js +0 -2
- package/dist-cli/chunks/web-UDCVLGPU.js +0 -2
package/README.md
CHANGED
|
@@ -196,14 +196,16 @@ bridge always addresses the **shell worker**, never an undifferentiated sim.
|
|
|
196
196
|
## Getting started
|
|
197
197
|
|
|
198
198
|
```sh
|
|
199
|
-
|
|
199
|
+
curl -fsSL https://sootsim.com/install.sh | sh
|
|
200
200
|
sootsim setup # guided one-time machine setup
|
|
201
201
|
sootsim open 8081 # load a running metro/expo dev server
|
|
202
202
|
sootsim open /settings # dispatch a React Native deep link into that app
|
|
203
203
|
```
|
|
204
204
|
|
|
205
|
-
|
|
206
|
-
|
|
205
|
+
The public shell script is the recommended, inspectable bootstrap path;
|
|
206
|
+
`sootsim` is the normal path afterward. Manual installs can use `npm install
|
|
207
|
+
--global sootsim`, `bun add --global sootsim`, or `pnpm add --global sootsim`,
|
|
208
|
+
followed by `sootsim setup`. There is no per-app install:
|
|
207
209
|
start your Metro, Expo, or One dev server the way you already do, then open it
|
|
208
210
|
from the CLI. There is no iOS native build in the inner loop; Metro alone is
|
|
209
211
|
enough. `sootsim open` starts a local bridge when no daemon is reachable; the
|
package/detox/index.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import * as fs from 'fs'
|
|
6
6
|
import * as path from 'path'
|
|
7
7
|
import { chromium } from 'playwright'
|
|
8
|
-
import {
|
|
8
|
+
import { launchReapedChromeScoped } from '../../../scripts/lib/reap-browser'
|
|
9
9
|
import { createExpect, createWaitFor } from './expectations'
|
|
10
10
|
import {
|
|
11
11
|
dispatchTwoFingerGesture,
|
|
@@ -1111,13 +1111,12 @@ export const device = {
|
|
|
1111
1111
|
// The canonical GPU args force Metal/Vulkan and stripping Playwright's
|
|
1112
1112
|
// --enable-unsafe-swiftshader default makes GPU init fail loudly. The
|
|
1113
1113
|
// scoped reaper owns the whole Chrome process tree if Detox is interrupted.
|
|
1114
|
-
const launched = await
|
|
1115
|
-
chromium.launch(
|
|
1116
|
-
|
|
1114
|
+
const launched = await launchReapedChromeScoped(
|
|
1115
|
+
(options) => chromium.launch(options),
|
|
1116
|
+
{
|
|
1117
1117
|
headless: true,
|
|
1118
|
-
args: [
|
|
1119
|
-
|
|
1120
|
-
}),
|
|
1118
|
+
args: ['--enable-unsafe-webgpu'],
|
|
1119
|
+
},
|
|
1121
1120
|
)
|
|
1122
1121
|
_browser = launched.browser
|
|
1123
1122
|
_reapBrowserNow = launched.reapNow
|
package/dist-cli/bin.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
/*! sootsim v0.1.
|
|
3
|
-
import{a as w,b as u}from"./chunks/chunk-
|
|
2
|
+
/*! sootsim v0.1.220 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
3
|
+
import{a as w,b as u}from"./chunks/chunk-TEFCJZH5.js";import"./chunks/chunk-S6XSCI45.js";function f(t){let a=t instanceof Error?t.message:String(t);(/^command timed out after \d+s$/.test(a)||a.startsWith("sim disconnected:")||a.startsWith("bridge never reconnected")||a.startsWith("no sim connected with id ")||a.startsWith("could not connect to ws://")||a.startsWith("sootsim bridge daemon is not running")||a.startsWith("sootsim bridge lockfile is fresh")||a.startsWith("sootsim bridge exited before becoming ready")||a.startsWith("background daemon setup is unavailable")||a.startsWith("sootsim bridge did not start within"))&&!process.env.SOOTSIM_VERBOSE&&(process.stderr.write(` ${a}
|
|
4
4
|
`),process.exit(1)),t instanceof Error&&t.stack?process.stderr.write(`${t.stack}
|
|
5
5
|
`):process.stderr.write(`${a}
|
|
6
6
|
`),process.exit(1)}process.on("unhandledRejection",f);process.on("uncaughtException",f);var h=typeof __SOOTSIM_STANDALONE__<"u"&&__SOOTSIM_STANDALONE__,A=new Set(["desktop"]);function k(t){!h||!A.has(t)||(process.stderr.write(` sootsim ${t} isn't available in the standalone binary \u2014
|
|
7
7
|
it needs vite / electron / playwright from a project's node_modules.
|
|
8
8
|
run the npm package instead:
|
|
9
9
|
sootsim ${t}
|
|
10
|
-
`),process.exit(1))}var e=u(process.argv);{let{trackCliEvent:t}=await import("./chunks/telemetry-
|
|
11
|
-
`)}async function c(t){let{flushCliTelemetry:a}=await import("./chunks/telemetry-
|
|
10
|
+
`),process.exit(1))}var e=u(process.argv);{let{trackCliEvent:t}=await import("./chunks/telemetry-OFJVUJ34.js");t({event:"cli_command_invoked",properties:{command:e.command||(e.version?"version":e.help?"help":"none"),arg_count:e.commandArgs.length,platform:process.platform,arch:process.arch,node_version:process.versions.node}})}if(e.command!=="serve"&&e.command!=="daemon"){let{consumeRuntimeUpgradeNotice:t}=await import("./chunks/home-paths-LGQZZOPD.js"),a=t();a&&process.stderr.write(` SootSim engine upgraded to v${a.to}`+(a.from?` (from v${a.from})`:"")+` \xB7 what's new: https://sootsim.com/changelog
|
|
11
|
+
`)}async function c(t){let{flushCliTelemetry:a}=await import("./chunks/telemetry-OFJVUJ34.js");await a(),process.exit(t)}if(e.version){let{getCliVersion:t}=await import("./chunks/cli-version-MY4N7YDM.js"),{IS_BETA:a,BETA_LABEL:i}=await import("./chunks/beta-ZIOECOJB.js"),p=a?` \xB7 ${i}`:"";console.log(`sootsim v${t()}${p}`);let{readActiveRuntime:b}=await import("./chunks/home-paths-LGQZZOPD.js"),l=b();console.log(l?`runtime v${l}`:"runtime not installed"),await c(0)}if(e.help&&!e.command){let{printHelp:t}=await import("./chunks/help-KRIPS56R.js");t(),await c(0)}var o=e.globalFlags.port,r=e.verbose,m=e.globalFlags.device,d=e.globalFlags.theme,v=e.globalFlags.driver,_=e.globalFlags.headless===!0,g=e.globalFlags.sim??e.globalFlags.session??e.globalFlags.tab,s=g?["--sim",g,...e.commandArgs]:e.commandArgs;if(m||d){let{settingsStore:t}=await import("./chunks/store-DF56QJJG.js"),a={};m&&(a.deviceModel=m),d&&(a.colorScheme=d),t.apply(a)}if(!e.command&&e.commandArgs.length===0){let{runSetup:t,shouldRunSetupForBareCommand:a}=await import("./chunks/setup-LDHVGPS2.js");a()&&(await t(["--from-welcome"]),await c(0));let{printHelp:i}=await import("./chunks/help-KRIPS56R.js");i(),await c(0)}var n=e.command??"";if(!n){if(e.commandArgs.length>0){let a=e.commandArgs.find(i=>!i.startsWith("-"))??e.commandArgs[0];console.error(` unknown command: ${a}`),console.error(" run `sootsim --help` to see the full surface."),await c(1)}let{printHelp:t}=await import("./chunks/help-KRIPS56R.js");t(),await c(0)}if(e.help||e.commandArgs.includes("--help")||e.commandArgs.includes("-h")){if(n==="skill"){let{runSkill:i}=await import("./chunks/skills-CCIOVHHV.js");await i(e.commandArgs),await c(0)}let t=n==="do"||n==="get"||n==="debug"||n==="shell"||n==="wait",a=e.commandArgs.find(i=>!i.startsWith("-"));if(n!=="shell")if(t&&!a){let{printGroupHelp:i}=await import("./chunks/help-KRIPS56R.js");i(n)&&await c(0)}else{let{printCommandHelp:i}=await import("./chunks/help-KRIPS56R.js");i(t&&a?a:n,{prefer:t&&a?"verb":"command",group:t&&a?n:void 0}),await c(0)}}k(n);if(w.has(n)){let{runInspect:t}=await import("./chunks/inspect-3XG2QTVU.js");await t([n,...s],{port:o,verbose:r})}else switch(n){case"assert":{let{runAssert:t}=await import("./chunks/assert-O3QO4ZFV.js");await t(e.commandArgs);break}case"detox":{let{runDetox:t}=await import("./chunks/detox-66YMXFQ5.js");await t(e.commandArgs,{port:o,verbose:r});break}case"maestro":{let{runMaestro:t}=await import("./chunks/maestro-IKINYBBR.js"),a=await t(s,{port:o,verbose:r});process.exit(typeof a=="number"?a:0)}case"record":{let{runRecord:t}=await import("./chunks/record-O5HUQAK4.js");await t(s,{port:o,verbose:r});break}case"film":{let{runFilm:t}=await import("./chunks/film-PV6DPBRX.js"),a=await t(s,{port:o,verbose:r});process.exit(typeof a=="number"?a:0)}case"storage":{let{runStorage:t}=await import("./chunks/storage-HV7PNB7R.js"),a=await t(s,{port:o,verbose:r});process.exit(typeof a=="number"?a:0)}case"perf":{let{runPerf:t}=await import("./chunks/perf-TRPZNIQH.js"),a=await t(s,{port:o,verbose:r});process.exit(typeof a=="number"?a:0)}case"screenshot":{let{runScreenshotCommand:t}=await import("./chunks/screenshot-command-5FI7RD5L.js"),a=await t(s,{port:o,verbose:r});process.exit(typeof a=="number"?a:0)}case"mode":{let{runMode:t}=await import("./chunks/mode-T576L6ZK.js");await t(s,{port:o,verbose:r});break}case"inspect":{let{runInspect:t}=await import("./chunks/inspect-3XG2QTVU.js");await t(s,{port:o,verbose:r});break}case"debug":{let{runDebug:t}=await import("./chunks/debug-Z66GNDYA.js");await t(s,{port:o,verbose:r});break}case"timeline":{let{runTimeline:t}=await import("./chunks/timeline-NZY4TIYS.js");await t(s,{port:o,verbose:r});break}case"what-happened":{let{runWhatHappened:t}=await import("./chunks/what-happened-K2NQG7LZ.js");await t(s,{port:o,verbose:r});break}case"open":{let{runOpenCommand:t}=await import("./chunks/control-ZH7X66II.js");await t(s,{port:o});break}case"use":{let{runUseCommand:t}=await import("./chunks/control-ZH7X66II.js");await t(s,{port:o});break}case"claim":{let{runClaimCommand:t}=await import("./chunks/control-ZH7X66II.js");await t(s,{port:o});break}case"close":{let{runCloseCommand:t}=await import("./chunks/control-ZH7X66II.js");await t(s,{port:o});break}case"device":{let{runDeviceCommand:t}=await import("./chunks/device-KPQXKN5R.js");await t(s,{port:o});break}case"compat":{let{runCompat:t}=await import("./chunks/compat-NRYECFCC.js");await t(e.commandArgs);break}case"desktop":{let{runDesktop:t}=await import("./chunks/desktop-DO2BQKM4.js");await t(e.commandArgs,{port:o,device:m,driver:v});break}case"login":{let{runLogin:t}=await import("./chunks/login-QQH2UU2S.js");await t(e.commandArgs);break}case"logout":{let{runLogout:t}=await import("./chunks/logout-KMGAWWAS.js");await t();break}case"auth":{let{runAuth:t}=await import("./chunks/auth-7VXPQOZP.js");await t(e.commandArgs);break}case"setup":{let{runSetup:t}=await import("./chunks/setup-LDHVGPS2.js");await t(e.commandArgs);break}case"serve":{let{runServe:t}=await import("./chunks/serve-4SIWGY4S.js");await t(e.commandArgs,{port:o});break}case"daemon":{let{runDaemon:t}=await import("./chunks/daemon-6QQWVRFD.js");await t(e.commandArgs,{port:o});break}case"runtime":{let{runRuntime:t}=await import("./chunks/runtime-RLXYAF2A.js");await t(e.commandArgs);break}case"upgrade":{let{runUpgrade:t}=await import("./chunks/upgrade-3SRHX5MN.js");await t(e.commandArgs);break}case"version":{let{runVersion:t}=await import("./chunks/version-EWVUUOUL.js");await t(e.commandArgs);break}case"agent":{let{runAgentCommand:t}=await import("./chunks/agent-LCKEPMVH.js"),a=await t(e.commandArgs);process.exit(a)}case"agent-wrapper":{let{runAgentWrapper:t}=await import("./chunks/agent-wrapper-ND5JHQSI.js"),a=await t(e.commandArgs);process.exit(a)}case"skill":{let{runSkill:t}=await import("./chunks/skills-CCIOVHHV.js");await t(e.commandArgs);break}case"app-fonts":{let{runAppFonts:t}=await import("./chunks/app-fonts-N2W5BQXE.js");await t(e.commandArgs);break}case"config":{let{runConfig:t}=await import("./chunks/config-4KKKEHH2.js");await t(e.commandArgs);break}default:console.error(` unknown command: ${n}`),console.error(" run `sootsim --help` to see the full surface."),process.exit(1)}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
2
|
-
import{a as b,b as E,c as A,d as l,e as S,g as j,h as T,j as I,m as k,n as D,o as x,p as g,q as O,r as C}from"./chunk-
|
|
1
|
+
/*! sootsim v0.1.220 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
+
import{a as b,b as E,c as A,d as l,e as S,g as j,h as T,j as I,m as k,n as D,o as x,p as g,q as O,r as C}from"./chunk-ZW5IAKXC.js";import"./chunk-XKOYH7ES.js";import{c as $}from"./chunk-64GMEXIP.js";import"./chunk-NRHZHQOH.js";import"./chunk-3HJXCSYI.js";import"./chunk-BXNMPK4X.js";import"./chunk-4JSQTD75.js";import"./chunk-ZU6ECPCC.js";import{j as y}from"./chunk-BI3I5X3U.js";import"./chunk-3ZWOQPLC.js";import"./chunk-RIB5CQ34.js";import"./chunk-H7EGEWCF.js";import"./chunk-S6XSCI45.js";import w from"node:fs";import d from"node:path";import{spawn as _}from"node:child_process";import F from"node:net";import{WebSocket as R}from"ws";var c=class extends Error{code;constructor(e,t){super(e),this.name="AgentDaemonError",this.code=t}},f=class{ws;port;commandTimeoutMs;ready;closed=!1;nextId=1;pending=new Map;eventListeners=new Set;statusListeners=new Set;disconnectListeners=new Set;constructor(e={}){this.port=e.port??7668,this.commandTimeoutMs=e.commandTimeoutMs??15e3,this.ws=new R(`ws://localhost:${this.port}`),this.ready=new Promise((t,r)=>{let s=()=>{this.ws.off("error",o),t()},o=i=>{this.ws.off("open",s),r(new c(`could not connect to sootsim daemon on port ${this.port}: ${i.message}`,"NO_DAEMON"))};this.ws.once("open",s),this.ws.once("error",o)}),this.ws.on("message",t=>this.handleMessage(t)),this.ws.on("close",()=>this.handleClose()),this.ws.on("error",()=>{})}async waitReady(){return this.ready}async listProjects(){return this.send("agent:list-projects")}async upsertProject(e){return this.send("agent:upsert-project",{input:e})}async deleteProject(e){return this.send("agent:delete-project",{projectId:e})}async autoAttachForUrl(e){return this.send("agent:auto-attach-for-url",{input:e})}async listSessions(e){return this.send("agent:list-sessions",{projectId:e})}async startSession(e){return this.send("agent:start-session",{input:e})}async sendPrompt(e,t){return this.send("agent:send-prompt",{sessionId:e,prompt:t})}async sendClaimedPrompt(e,t){return this.send("agent:send-claimed-prompt",{simId:e,prompt:t})}async endSession(e){return this.send("agent:end-session",{sessionId:e})}async getTranscript(e){return this.send("agent:get-transcript",{sessionId:e})}async getPaths(){return this.send("agent:get-paths")}async subscribeEvents(e){return this.send("agent:subscribe-events",{sessionId:e})}async unsubscribeEvents(e){return this.send("agent:unsubscribe-events",{sessionId:e})}onAgentEvent(e){return this.eventListeners.add(e),()=>this.eventListeners.delete(e)}onSessionStatusChange(e){return this.statusListeners.add(e),()=>this.statusListeners.delete(e)}onDisconnect(e){return this.disconnectListeners.add(e),()=>this.disconnectListeners.delete(e)}close(){if(!this.closed){this.closed=!0;try{this.ws.close()}catch{}}}async send(e,t={}){if(await this.ready,this.closed||this.ws.readyState!==R.OPEN)throw new c("daemon connection is closed","NO_DAEMON");let r=this.nextId++;return new Promise((s,o)=>{let i=setTimeout(()=>{this.pending.delete(r),o(new c(`${e} timed out after ${Math.round(this.commandTimeoutMs/1e3)}s`,"TIMEOUT"))},this.commandTimeoutMs);this.pending.set(r,{resolve:s,reject:o,timer:i});try{this.ws.send(JSON.stringify({id:r,type:e,...t}))}catch(a){clearTimeout(i),this.pending.delete(r),o(a instanceof Error?a:new Error(String(a)))}})}handleMessage(e){let t;try{t=JSON.parse(String(e))}catch{return}if(!t||typeof t!="object")return;if(t.type==="agent:event"){for(let s of this.eventListeners)try{s({sessionId:t.sessionId,event:t.event})}catch{}return}if(t.type==="agent:session-status"){for(let s of this.statusListeners)try{s(t.session)}catch{}return}if(typeof t.id!="number")return;let r=this.pending.get(t.id);r&&(this.pending.delete(t.id),clearTimeout(r.timer),t.error?r.reject(new c(t.error,t.code)):r.resolve(t.result))}handleClose(){if(!this.closed){this.closed=!0;for(let[,e]of this.pending)clearTimeout(e.timer),e.reject(new c("daemon disconnected","DISCONNECT"));this.pending.clear();for(let e of this.disconnectListeners)try{e()}catch{}}}};function M(n=7668,e=400){return new Promise(t=>{let r=new F.Socket,s=!1,o=i=>{s||(s=!0,r.destroy(),t(i))};r.setTimeout(e),r.once("connect",()=>o(!0)),r.once("timeout",()=>o(!1)),r.once("error",()=>o(!1)),r.connect(n,"127.0.0.1")})}async function B(n={}){let e=n.port??7668;if(await M(e))return{alreadyRunning:!0};if(y())throw new c(`no sootsim bridge on port ${e}. run \`sootsim setup\` to install the background daemon, or \`sootsim serve\` in another shell.`,"DEV_HOST_REFUSED");let{cmd:t,prefixArgs:r}=C(),s=[...r,"serve","--quiet"];e!==7668&&s.push("--port",String(e));let o=_(t,s,{detached:!0,stdio:"ignore",env:process.env,cwd:process.cwd()});o.unref();let i=Date.now()+(n.startupTimeoutMs??5e3);for(;Date.now()<i;){if(await M(e))return{alreadyRunning:!1,pid:o.pid};await new Promise(a=>setTimeout(a,100))}throw new c(`spawned sootsim daemon on port ${e} but it did not come up in time. run \`sootsim serve\` manually to diagnose.`,"SPAWN_TIMEOUT")}async function h(n={}){await B({port:n.port,startupTimeoutMs:n.startupTimeoutMs});let e=new f(n);try{await e.waitReady()}catch(t){throw e.close(),t}return e}async function ge(n){let[e,...t]=n;try{switch(e){case void 0:case"--help":case"-h":case"help":return L(),0;case"attach":return await W(t);case"projects":return await J();case"project":return await V(t);case"sessions":return await H(t);case"start":return await G(t);case"prompt":return await q(t);case"watch":return await K(t);case"transcript":return await z(t);case"end":return await Q(t);case"paths":return await Y();default:return process.stderr.write(`unknown agent subcommand: ${e}
|
|
3
3
|
`),L(),2}}catch(r){if(r instanceof c)return process.stderr.write(`${r.message}
|
|
4
4
|
`),1;throw r}}async function v(n){let e=await h({clientLabel:"sootsim-agent-cli"});try{return await n(e)}finally{e.close()}}function L(){$("agent")}function P(n,e){let t={},r=[];for(let s=0;s<n.length;s++){let o=n[s],i=e[o];i==="value"?(t[o]=n[s+1]??"",s++):i==="bool"?t[o]=!0:r.push(o)}return{flags:t,positional:r}}function U(n,e="codex"){return n==="codex"||n==="claude"?n:e}async function W(n){let{flags:e,positional:t}=P(n,{"--name":"value","--provider":"value"}),r=t[0];if(!r)return process.stderr.write(`usage: sootsim agent attach <dir> [--name X] [--provider codex|claude]
|
|
5
5
|
`),2;let s=d.resolve(r);if(!w.existsSync(s))return process.stderr.write(`directory does not exist: ${s}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
2
|
-
import{b as M}from"./chunk-
|
|
1
|
+
/*! sootsim v0.1.220 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
+
import{b as M}from"./chunk-XKOYH7ES.js";import"./chunk-S6XSCI45.js";import{execFile as G,spawn as q}from"node:child_process";import{randomUUID as X}from"node:crypto";import{constants as R,createReadStream as Y,createWriteStream as j,existsSync as I,openSync as J}from"node:fs";import V from"node:fs/promises";import z from"node:path";import K from"node:readline";import{promisify as Q}from"node:util";import{spawn as H}from"node:child_process";import L from"node:readline";var b=class extends Error{code;data;constructor(t,r,m){super(t),this.name="CodexRpcError",this.code=r,this.data=m}};function W(d){let t=H(d.bin,["app-server"],{cwd:d.cwd,env:{...process.env,...d.env},stdio:["pipe","pipe","pipe"]}),r=new Map,m=new Map,u=1,g=!1,a=new Promise(s=>{t.on("exit",(i,e)=>{g=!0;let p=new Error(`codex app-server exited (code=${i}, signal=${e??""})`);for(let{reject:f}of r.values())f(p);r.clear(),s({code:i,signal:e})})});L.createInterface({input:t.stdout,crlfDelay:1/0}).on("line",s=>{let i=s.trim();if(!i)return;let e;try{e=JSON.parse(i)}catch{return}if(e.id!=null&&(e.result!==void 0||e.error!==void 0)){let p=typeof e.id=="string"?Number(e.id):e.id,f=p!=null?r.get(p):void 0;if(!f)return;r.delete(p),e.error?f.reject(new b(e.error.message,e.error.code,e.error.data)):f.resolve(e.result);return}if(e.method){let p=m.get(e.method);if(!p)return;for(let f of p)try{f(e.params)}catch(l){console.error(`[codex-client] handler for "${e.method}" threw:`,l instanceof Error?l.stack??l.message:l)}}}),t.stderr.setEncoding("utf8"),t.stderr.on("data",s=>{let i=m.get("__stderr__");if(i)for(let e of i)try{e({text:s})}catch{}});function n(s){if(!g)try{t.stdin.write(JSON.stringify(s)+`
|
|
3
3
|
`)}catch{}}return{exited:a,on(s,i){let e=m.get(s);return e||(e=new Set,m.set(s,e)),e.add(i),()=>{e?.delete(i)}},request(s,i){if(g)return Promise.reject(new Error(`codex app-server closed; cannot call ${s}`));let e=u++;return new Promise((p,f)=>{r.set(e,{resolve:l=>p(l),reject:f,method:s}),n({jsonrpc:"2.0",id:e,method:s,params:i})})},notify(s,i){n({jsonrpc:"2.0",method:s,params:i})},async shutdown(s=1500){if(g)return;try{t.stdin.end()}catch{}let i=setTimeout(()=>{if(!g)try{t.kill("SIGTERM")}catch{}},s);try{await a}finally{clearTimeout(i)}},kill(s="SIGTERM"){if(!g)try{t.kill(s)}catch{}}}}var O="never",F="danger-full-access",Z={type:"dangerFullAccess"},D="fast",ee="medium",te=Q(G);async function ne(d,t){let r=t||d;if(r.includes("/")||r.includes("\\"))return I(r)?{ok:!0,path:r}:{ok:!1,message:`agent binary not found at path: ${r}`};try{let{stdout:m}=await te("which",[r],{timeout:1500}),u=m.trim();return u?{ok:!0,path:u}:{ok:!1,message:`${r} not found on PATH`}}catch{return{ok:!1,message:`${r} not found on PATH. install the ${d} CLI and retry, or pass --${d}-bin /path/to/${d} to agent start.`}}}function re(d){let t={"--session-id":"sessionId","--project-id":"projectId","--provider":"provider","--cwd":"cwd","--prompt-in":"promptIn","--events-out":"eventsOut","--transcript":"transcript","--codex-bin":"codexBin","--claude-bin":"claudeBin","--claude-session-uuid":"claudeSessionUuid"},r={};for(let m=0;m<d.length;m++){let u=d[m];if(u==="--fresh-thread"){r.freshThread=!0;continue}let g=t[u];g&&(r[g]=d[m+1],m++)}return r}async function Ie(d){let t=re(d);if(!t.sessionId||!t.projectId||!t.provider||!t.cwd||!t.promptIn||!t.eventsOut)return process.stderr.write(`usage: sootsim agent-wrapper --session-id <id> --project-id <id>
|
|
4
4
|
--provider codex|claude --cwd <path>
|
|
5
5
|
--prompt-in <fifo> --events-out <fifo>
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
2
|
-
import{d as p}from"./chunk-
|
|
1
|
+
/*! sootsim v0.1.220 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
+
import{d as p}from"./chunk-7TOHX4IF.js";import"./chunk-S6XSCI45.js";import{existsSync as h,mkdirSync as d,readFileSync as y,writeFileSync as g}from"node:fs";import{join as m}from"node:path";import{gzipSync as w}from"node:zlib";function f(t,e){let o=t.indexOf(`--${e}`);if(o!==-1&&o+1<t.length)return t[o+1];let i=t.find(r=>r.startsWith(`--${e}=`));return i?i.slice(e.length+3):void 0}async function S(t){let e=f(t,"wire")||"",o=f(t,"out-dir"),i=f(t,"manifest");if((!o||!i)&&(console.error(" usage: sootsim app-fonts stage --wire <wire> --out-dir <dir> --manifest <path>"),process.exit(1)),!e.trim()){console.log("no app fonts declared \u2014 nothing to stage");return}d(o,{recursive:!0});let r=await p(e,{onStaged:({url:n,byteLength:s})=>console.log(` staged app font: ${n} (${(s/1024).toFixed(1)} KiB)`),onError:(n,s)=>console.error(` warning: failed to fetch app font ${n}: ${s instanceof Error?s.message:s}`)}),a=[];for(let n of r){let s=w(n.bytes);g(m(o,n.urlhash),s),a.push({url:n.url,urlhash:n.urlhash,contentType:n.contentType,encoding:"gzip",sizeBytes:s.length,rawBytes:n.bytes.byteLength})}let c=[];if(h(i))try{let n=JSON.parse(y(i,"utf8"));Array.isArray(n)&&(c=n)}catch{}let u=new Set(c.map(n=>n.urlhash)),l=[...c,...a.filter(n=>!u.has(n.urlhash))];g(i,JSON.stringify(l)),console.log(`staged ${a.length} app font(s); manifest now has ${l.length} file(s)`)}async function E(t){let e=t[0];if(e==="stage"){await S(t.slice(1));return}console.error(` unknown app-fonts subcommand: ${e??"(none)"}`),console.error(" available: stage"),process.exit(1)}export{E as runAppFonts};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
2
|
-
import"./chunk-
|
|
1
|
+
/*! sootsim v0.1.220 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
+
import"./chunk-S6XSCI45.js";import{spawn as x}from"child_process";var w=new Set(["describe","find","list","network","logs","count","tree","url","a11y","node","layout","keyboard","errors","warnings","requests","animations","animation","state","sample-color"]),S=new Set(["--exists","--empty","--negate","--quiet","--allow-timeout","!"]),q=new Set(["--count","--count-at-least","--count-at-most","--contains","--not-contains","--matches","--not-matches","--equals","--jq","--has-path","--within"]),P=new Set(["--path-equals"]);function j(s){let r=[],u=[],n=0,e=!1,t=!1,i=!1;for(let o=0;o<s.length;o++){let a=s[o];if(a==="--within"){let c=Number(s[o+1]);if(!Number.isFinite(c)||c<0)return{error:`--within requires a non-negative number, got: ${s[o+1]}`};n=c,o++;continue}if(a==="--negate"||a==="!"){e=!0;continue}if(a==="--quiet"){t=!0;continue}if(a==="--allow-timeout"){i=!0;continue}if(S.has(a)){u.push({kind:a,args:[]});continue}if(q.has(a)){let c=s[o+1];if(c==null)return{error:`${a} requires a value`};u.push({kind:a,args:[c]}),o++;continue}if(P.has(a)){let c=s[o+1],f=s[o+2];if(c==null||f==null)return{error:`${a} requires <path> <value>`};u.push({kind:a,args:[c,f]}),o+=2;continue}r.push(a)}return r.length===0?{error:"assert requires a verb (e.g. find, describe, get errors)"}:{verbArgs:r,predicates:u,withinMs:n,negate:e,quiet:t,allowTimeout:i}}function N(s){return s[0]==="get"||s[0]==="debug"?w.has(s[1])?s[1]:null:s[0]==="do"||s[0]==="wait"?null:w.has(s[0])?s[0]:null}async function R(s){let u=[process.argv[1],...s,"--json"];return new Promise(n=>{let e=x(process.execPath,u,{stdio:["ignore","pipe","pipe"],env:process.env}),t="",i="";e.stdout.on("data",o=>t+=o.toString()),e.stderr.on("data",o=>i+=o.toString()),e.on("error",o=>{n({ok:!1,payload:null,reason:`spawn failed: ${o.message}`})}),e.on("close",o=>{if(o!==0){let a=i.trim().split(`
|
|
3
3
|
`).slice(-2).join(" | ").slice(0,200);n({ok:!1,payload:null,reason:`verb exited ${o}${a?`: ${a}`:""}`});return}if(!t.trim()){n({ok:!1,payload:null,reason:"verb produced no output"});return}try{let a=JSON.parse(t);n({ok:!0,payload:a})}catch{n({ok:!1,payload:null,reason:`verb output was not valid json: ${t.slice(0,120)}`})}})})}function y(s,r){let u=r.split(".").filter(e=>e.length>0),n=s;for(let e of u){if(n==null)return{found:!1};if(Array.isArray(n)){let t=Number(e);if(!Number.isInteger(t)||t<0||t>=n.length)return{found:!1};n=n[t];continue}if(typeof n=="object"){let t=n;if(!(e in t))return{found:!1};n=t[e];continue}return{found:!1}}return{found:!0,value:n}}function d(s){return Array.isArray(s)?s.length:s&&typeof s=="object"?Object.keys(s).length:null}async function A(s,r){let{kind:u,args:n}=s;switch(u){case"--exists":return r==null?{ok:!1,reason:"payload is null"}:d(r)===0?{ok:!1,reason:"payload is empty"}:{ok:!0,reason:"exists"};case"--empty":{if(r==null)return{ok:!0,reason:"payload is null"};let e=d(r);return e===0?{ok:!0,reason:"payload is empty"}:{ok:!1,reason:`payload has ${e} item(s)`}}case"--count":{let e=Number(n[0]),t=d(r);return t==null?{ok:!1,reason:`payload not countable (${typeof r})`}:{ok:t===e,reason:`count=${t}, want=${e}`}}case"--count-at-least":{let e=Number(n[0]),t=d(r);return t==null?{ok:!1,reason:"payload not countable"}:{ok:t>=e,reason:`count=${t}, want>=${e}`}}case"--count-at-most":{let e=Number(n[0]),t=d(r);return t==null?{ok:!1,reason:"payload not countable"}:{ok:t<=e,reason:`count=${t}, want<=${e}`}}case"--contains":{let e=n[0],t=JSON.stringify(r);return{ok:t.includes(e),reason:t.includes(e)?`contains "${e}"`:`missing "${e}"`}}case"--not-contains":{let e=n[0],t=JSON.stringify(r);return{ok:!t.includes(e),reason:t.includes(e)?`unexpected "${e}"`:`not contains "${e}"`}}case"--matches":{let e=new RegExp(n[0]),t=JSON.stringify(r),i=e.test(t);return{ok:i,reason:i?`matches /${n[0]}/`:`no match for /${n[0]}/`}}case"--not-matches":{let e=new RegExp(n[0]),t=JSON.stringify(r),i=!e.test(t);return{ok:i,reason:i?`not matches /${n[0]}/`:`unexpected /${n[0]}/`}}case"--equals":{let e=n[0],t=typeof r=="string"?r:typeof r=="number"||typeof r=="boolean"?String(r):JSON.stringify(r);return{ok:t===e,reason:`got=${JSON.stringify(t)}, want=${JSON.stringify(e)}`}}case"--has-path":{let e=y(r,n[0]);return{ok:e.found,reason:e.found?`path ${n[0]} present`:`path ${n[0]} missing`}}case"--path-equals":{let[e,t]=n,i=y(r,e);if(!i.found)return{ok:!1,reason:`path ${e} missing`};let o=typeof i.value=="string"||typeof i.value=="number"||typeof i.value=="boolean"?String(i.value):JSON.stringify(i.value);return{ok:o===t,reason:`${e}=${o}, want=${t}`}}case"--jq":{let e=n[0];try{let i=(await O(e,r)).trim();return{ok:i.length>0&&i!=="null"&&i!=="false"&&i!=='""',reason:`jq: ${i.slice(0,120)}`}}catch(t){throw new Error(`jq evaluation failed: ${t.message}`)}}default:return{ok:!1,reason:`unknown predicate ${u}`}}}function O(s,r){return new Promise((u,n)=>{let e=x("jq",[s],{stdio:["pipe","pipe","pipe"]}),t="",i="";e.stdout.on("data",o=>t+=o.toString()),e.stderr.on("data",o=>i+=o.toString()),e.on("error",n),e.on("close",o=>{if(o!==0){n(new Error(i.trim()||`jq exited ${o}`));return}u(t)}),e.stdin.end(JSON.stringify(r))})}async function T(s){(s[0]==="--help"||s[0]==="-h"||s.length===0)&&(J(),process.exit(s.length===0?2:0));let r=j(s);"error"in r&&(process.stderr.write(` assert: ${r.error}
|
|
4
4
|
`),process.exit(2));let{verbArgs:u,predicates:n,withinMs:e,negate:t,quiet:i,allowTimeout:o}=r;N(u)||(process.stderr.write(` assert: unknown or non-read verb: ${u.join(" ")}
|
|
5
5
|
supported: ${Array.from(w).sort().join(", ")}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
2
|
-
import{a as t}from"./chunk-
|
|
1
|
+
/*! sootsim v0.1.220 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
+
import{a as t}from"./chunk-OCEYXYKG.js";import{d as s}from"./chunk-VCLV5GYE.js";import"./chunk-BI3I5X3U.js";import"./chunk-S6XSCI45.js";function i(){console.log(`
|
|
3
3
|
sootsim auth \u2014 inspect CLI auth
|
|
4
4
|
|
|
5
5
|
usage:
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
2
|
-
import{m as d}from"./chunk-
|
|
1
|
+
/*! sootsim v0.1.220 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
+
import{m as d}from"./chunk-KJVNP5B5.js";import"./chunk-RWJM23VH.js";import{g as l,i as m,k as p}from"./chunk-UHEKB33X.js";import"./chunk-4JSQTD75.js";import"./chunk-ZU6ECPCC.js";import"./chunk-BI3I5X3U.js";import"./chunk-S6XSCI45.js";function f(){console.log(`
|
|
3
3
|
sootsim do scan \u2014 inject a barcode scan
|
|
4
4
|
|
|
5
5
|
usage:
|