Repository navigation
Expand file tree
/
Copy pathstrobe.json
More file actions
41 lines (41 loc) · 1.89 KB
/
Copy pathstrobe.json
File metadata and controls
41 lines (41 loc) · 1.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"$schema": "https://unpkg.com/@hona/strobe/schema/strobe.v1.json",
// The benches in perf/ never build: a variant is an exe (`--base exe:<path> --head exe:<path>`),
// CI's artifact or a profiling build (README in perf/).
"apps": {
// OpenCode (Rune) in a throwaway home: RUNE_DIRS_ROOT moves every folder it reads or writes
// there, and the folders it looks in for other programs' data go with it. `--launch-marks`
// prints the launch's milestones for strobe.
"opencode-rune": {
"kind": "native",
"exe": {
"windows": "./target/release/opencode-desktop.exe",
"macos": "./target/release/opencode-desktop",
"linux": "./target/release/opencode-desktop"
},
"env": {
"RUNE_DIRS_ROOT": "{home}",
"OPENCODE_RUNE_HOME": "{home}",
"HOME": "{home}/home",
"USERPROFILE": "{home}/home",
"APPDATA": "{home}/home/AppData/Roaming",
"LOCALAPPDATA": "{home}/home/AppData/Local",
"XDG_STATE_HOME": "{home}/xdg/state",
"XDG_CONFIG_HOME": "{home}/xdg/config",
"XDG_DATA_HOME": "{home}/xdg/data",
"XDG_CACHE_HOME": "{home}/xdg/cache",
"TEMP": "{home}/tmp",
"TMP": "{home}/tmp",
"TMPDIR": "{home}/tmp",
"OPENCODE_SERVER_PASSWORD": "parity-harness",
"OPENCODE_RUNE_OTEL": "0"
},
// `__COMPAT_LAYER`: a shell an installed app's chain started carries the Program Compatibility
// Assistant's layer, and every process created with it runs with ntdll's shim engine (about
// 4,600 us of this app's start, `exp_a7d0dd`). The Start menu starts the app without it.
"unset": ["OPENCODE_*", "OTEL_*", "SENTRY_*", "RUNE_*", "WGPU_*", "XDG_*", "__COMPAT_LAYER"],
"dirs": ["home/AppData/Roaming", "home/AppData/Local", "home/Documents", "tmp", "xdg/state", "xdg/config", "xdg/data", "xdg/cache"],
"args": ["--launch-marks"]
}
}
}