MCPcopy Create free account

hub / github.com/garrytan/gstack / functions

Functions2,512 in github.com/garrytan/gstack

↓ 11 callersFunctioncomputeConfigHash
(opts: { proxyUrl: string | null | undefined; headed: boolean; })
browse/src/proxy-config.ts:135
↓ 11 callersFunctioncopyDirSync
* Copy a directory tree recursively (files only, follows structure).
test/skill-e2e.test.ts:96
↓ 11 callersFunctiondimToInches
(dim: string | undefined, fallbackIn: number)
make-pdf/src/diagram-prepass.ts:781
↓ 11 callersFunctionensureStateDir
(config: BrowseConfig)
browse/src/config.ts:85
↓ 11 callersFunctionfindLearningsFile
()
test/learnings.test.ts:56
↓ 11 callersFunctionfn
(ctx)
test/resolver-entry.test.ts:30
↓ 11 callersFunctionfresh
()
browse/test/terminal-agent-ring-buffer-runtime.test.ts:14
↓ 11 callersMethodgetActiveFrameOrPage
* Returns the active frame if set, otherwise the current page. * Use this for operations that work on both Page and Frame (locator, evaluate, etc.)
browse/src/tab-session.ts:151
↓ 11 callersFunctionhandleMemoryCommand
(args: string[], bm: BrowserManager)
browse/src/memory-command.ts:103
↓ 11 callersFunctionisConductor
(env: NodeJS.ProcessEnv = process.env)
lib/is-conductor.ts:17
↓ 11 callersFunctionmakeComparison
(deltas: TestDelta[])
test/helpers-unit.test.ts:164
↓ 11 callersFunctionmakeFakeBm
(snapshot: MemorySnapshot)
browse/test/memory-command.test.ts:84
↓ 11 callersFunctionmakeShim
* Build a gbrain shim that responds to specific subcommands with canned * output, then return PATH-prepend value. Lets us run helpers in-process * (
test/gstack-gbrain-sync.test.ts:565
↓ 11 callersFunctionmakeSnapshot
(overrides: Partial<MemorySnapshot> = {})
browse/test/memory-command.test.ts:65
↓ 11 callersFunctionmarkHiddenElements
(page: Page | Frame)
browse/src/content-security.ts:88
↓ 11 callersFunctionnowEpoch
()
browse/test/gstack-update-check.test.ts:60
↓ 11 callersFunctionparseDirectives
(body: string)
make-pdf/src/image-policy.ts:88
↓ 11 callersFunctionparseGeminiJSONL
(lines: string[])
test/helpers/gemini-session-runner.ts:51
↓ 11 callersFunctionreadTmpl
()
test/land-and-deploy-postfail.test.ts:31
↓ 11 callersFunctionrequireValue
(args: string[], i: number, flag: string)
browse/src/meta-commands.ts:184
↓ 11 callersFunctionresolveConfigFromEnv
()
browse/src/server.ts:277
↓ 11 callersFunctionrun
(args: string[])
test/distill-apply.test.ts:55
↓ 11 callersFunctionrunHook
( stdinLines: string, env: Record<string, string> = {}, )
test/redact-prepush-hook.test.ts:34
↓ 11 callersFunctionrunLog
(input: string, opts: { expectFail?: boolean } = {})
test/timeline.test.ts:13
↓ 11 callersFunctionrunScript
(args: string[], env: Record<string, string> = {})
test/gstack-brain-context-load.test.ts:17
↓ 11 callersFunctionrunVerify
(token: string, url: string)
test/gstack-gbrain-mcp-verify.test.ts:80
↓ 11 callersFunctionrunWithSecretSink
(opts: SecretSinkOptions)
test/helpers/secret-sink-harness.ts:74
↓ 11 callersFunctionsanitizeUntrustedHtml
(html: string)
make-pdf/src/render.ts:210
↓ 11 callersMethodscreenshot
(...args: string[])
browse/src/browse-client.ts:227
↓ 11 callersFunctionseedSave
(gstackHome: string, slug: string, filename: string, frontmatter: Record<string, string>, body: string)
test/skill-e2e-context-skills.test.ts:92
↓ 11 callersMethodselect
(selector: string, value: string)
browse/src/browse-client.ts:215
↓ 11 callersFunctionsetPref
(id: string, pref: string)
test/gstack-question-preference.test.ts:70
↓ 11 callersFunctionsmartypants
(html: string)
make-pdf/src/smartypants.ts:31
↓ 11 callersFunctionspawn1
(idleMs = 60_000)
design/test/daemon-discovery.test.ts:65
↓ 11 callersMethodstartWatch
()
browse/src/browser-manager.ts:260
↓ 11 callersFunctiontempHome
()
test/codex-hardening.test.ts:46
↓ 10 callersFunction__resetRegistry
()
browse/src/token-registry.ts:530
↓ 10 callersMethodacquireTabLock
* Acquire the per-tab CDP lock with a timeout. Returns a release fn. * Locks chain: each acquire waits on the prior tail's resolution. * Browser
browse/src/browser-manager.ts:976
↓ 10 callersMethodaddWatchSnapshot
(snapshot: string)
browse/src/browser-manager.ts:279
↓ 10 callersFunctionapi
(pathname: string, opts: RequestInit = {})
test/skill-e2e-sidebar.test.ts:37
↓ 10 callersFunctionassertReviewReportAtBottom
( content: string, )
test/helpers/claude-pty-runner.ts:1085
↓ 10 callersMethodavailable
* Check whether the provider's CLI binary is present and authenticated. * Should never block >2s. Non-throwing: returns { ok: false, reason } on fa
test/helpers/providers/types.ts:69
↓ 10 callersFunctioncanonicalizeCommand
(cmd: string)
browse/src/commands.ts:216
↓ 10 callersFunctioncommit
(file: string, content: string, msg: string)
test/redact-prepush-hook.test.ts:27
↓ 10 callersFunctioncreateRoutingWorkDir
* Create a routing test working directory. * Uses the actual repo checkout (ROOT) which has CLAUDE.md, .claude/skills/, * and full project context.
test/skill-routing-e2e.test.ts:129
↓ 10 callersFunctiondecideResume
(gstackHome: string = GSTACK_HOME)
bin/gstack-gbrain-sync.ts:203
↓ 10 callersFunctiondefaultTierPaths
(opts: { projectRoot?: string; home?: string; bundledRoot?: string } = {})
browse/src/browser-skills.ts:87
↓ 10 callersFunctiondescribeIfSelected
Wrap a describe block to skip if none of its tests are selected.
test/skill-llm-eval.test.ts:51
↓ 10 callersFunctiondetectAutopilot
( env: NodeJS.ProcessEnv = process.env, probe: AutopilotProbe = {}, )
lib/gbrain-guards.ts:82
↓ 10 callersFunctionenvWithBindir
* Build an env dict that prepends `bindir` to PATH. Bun's spawnSync does NOT * pick up runtime mutations of `process.env.PATH` — the env must be pass
test/gstack-gbrain-sync.test.ts:654
↓ 10 callersFunctionfindPreviousRun
( evalDir: string, tier: string, branch: string, excludeFile: string, )
test/helpers/eval-store.ts:177
↓ 10 callersFunctionfreshRepo
(name: string)
test/preamble-first-task-scaffold.test.ts:38
↓ 10 callersFunctiongetDeclaredAnnotation
(signalKey: string)
scripts/declared-annotation.ts:113
↓ 10 callersFunctiongetExternalHosts
()
hosts/index.ts:63
↓ 10 callersFunctiongetQuestion
(id: string)
scripts/question-registry.ts:609
↓ 10 callersFunctiongit
Run a git command and return stdout. Throws on failure unless tolerateFailure is set.
lib/worktree.ts:55
↓ 10 callersFunctiongitRun
(args: string[], cwd: string)
test/skill-e2e.test.ts:3270
↓ 10 callersFunctionhandleCdpCommand
(args: string[], bm: BrowserManager)
browse/src/cdp-commands.ts:26
↓ 10 callersFunctionidempotency
(base: string)
test/ship-version-sync.test.ts:36
↓ 10 callersFunctioninitRegistry
(root: string)
browse/src/token-registry.ts:149
↓ 10 callersFunctionisCustomChromium
()
browse/src/browser-manager.ts:40
↓ 10 callersFunctionisFreeTestFile
(relativePath: string)
scripts/test-free-shards.ts:118
↓ 10 callersFunctionisServerHealthy
(port: number)
browse/src/cli.ts:124
↓ 10 callersFunctionlogCost
(label: string, result: { costEstimate: { turnsUsed: number; estimatedTokens: number; estimatedCost: number };
test/skill-routing-e2e.test.ts:147
↓ 10 callersFunctionmakeDelta
( name: string, beforeTools: Record<string, number>, afterTools: Record<string, number>, beforeTurns?:
test/helpers-unit.test.ts:149
↓ 10 callersFunctionmakeFixtureHome
()
test/skill-e2e-memory-pipeline.test.ts:37
↓ 10 callersFunctionmintLease
()
browse/src/pty-session-lease.ts:53
↓ 10 callersFunctionnormalizeRemoteUrl
(url: string)
bin/gstack-global-discover.ts:124
↓ 10 callersFunctionparseProxyConfig
(opts: { proxyUrl: string; envUser?: string; envPass?: string; })
browse/src/proxy-config.ts:40
↓ 10 callersFunctionpkgJson
(version: string | null, extra: Record<string, unknown> = {})
test/ship-version-sync.test.ts:29
↓ 10 callersFunctionprobeTimeoutMs
(env?: NodeJS.ProcessEnv)
lib/gbrain-local-status.ts:90
↓ 10 callersFunctionrecordRouting
(name: string, result: SkillTestResult, expectedSkill: string, actualSkill: string | undefined)
test/skill-routing-e2e.test.ts:153
↓ 10 callersFunctionrewrite
(version: string, title: string)
test/pr-title-rewrite.test.ts:7
↓ 10 callersFunctionrun
(cmd: string, args: string[])
test/skill-e2e-office-hours.test.ts:35
↓ 10 callersFunctionrun
(cmd: string, args: string[])
test/helpers/auq-sdk-capture.ts:90
↓ 10 callersFunctionrunGbrain
(s: SandboxEnv, args: string[], opts: { timeout?: number } = {})
test/gbrain-sync-voyage-code-3-integration.test.ts:142
↓ 10 callersFunctionrunPlanSkillObservation
(opts: { /** Skill name, e.g. 'plan-ceo-review'. */ skillName: string; /** Whether to launch in plan mod
test/helpers/claude-pty-runner.ts:1538
↓ 10 callersFunctionrunVersionCheck
(versionOutput: string)
test/codex-hardening.test.ts:185
↓ 10 callersFunctionsafeUnlinkQuiet
(filePath: string)
browse/src/error-handling.ts:24
↓ 10 callersFunctionsetupBrowseShims
(dir: string)
test/helpers/e2e-helpers.ts:108
↓ 10 callersFunctionsetupFixture
(home: string)
test/skill-e2e-memory-pipeline.test.ts:41
↓ 10 callersFunctionspawnGbrain
(args: string[], opts: SpawnGbrainOptions = {})
lib/gbrain-exec.ts:161
↓ 10 callersFunctionstartDaemon
(opts: DaemonOptions)
ios-qa/daemon/src/index.ts:52
↓ 10 callersFunctionstartSocksBridge
(opts: { upstream: UpstreamConfig; port?: number; })
browse/src/socks-bridge.ts:104
↓ 10 callersFunctiontestIfSelected
(name: string, fn: () => Promise<void>, timeout?: number)
test/skill-routing-e2e.test.ts:169
↓ 10 callersFunctionvalidateDecide
(input: Partial<DecisionEvent>)
lib/gstack-decision.ts:103
↓ 10 callersFunctionwriteClaudeCodeSession
(home: string, projectName: string, sessionId: string, content: string)
test/gstack-memory-ingest.test.ts:44
↓ 10 callersFunctionwriteProposals
(proposals: Array<Record<string, unknown>>)
test/distill-apply.test.ts:44
↓ 10 callersFunctionwriteSnooze
(version: string, level: number, epochSeconds: number)
browse/test/gstack-update-check.test.ts:52
↓ 9 callersFunctionagentRecordPath
(stateDir: string)
browse/src/terminal-agent-control.ts:93
↓ 9 callersFunctionattrValue
(tag: string, name: string)
make-pdf/src/image-policy.ts:215
↓ 9 callersFunctionbash
(command: string)
test/transcript-section-logger.test.ts:23
↓ 9 callersFunctionbuildSpawnEnv
(opts: BuildEnvOptions)
browse/src/browser-skill-commands.ts:363
↓ 9 callersFunctioncapabilityCovers
(have: Capability, need: Capability)
ios-qa/daemon/src/types.ts:12
↓ 9 callersFunctioncfg
(args: string[])
test/gstack-config-redact-keys.test.ts:15
↓ 9 callersFunctioncheckDomain
(info: TokenInfo, url: string)
browse/src/token-registry.ts:375
↓ 9 callersFunctionclassifyQuestion
(input: ClassifyInput)
scripts/one-way-doors.ts:112
↓ 9 callersFunctioncreateTestPng
(filePath: string)
design/test/gallery.test.ts:12
↓ 9 callersFunctioncycleCompleted
(sourceId: string, env?: NodeJS.ProcessEnv)
lib/gbrain-sources.ts:263
↓ 9 callersFunctionerrorResponse
(message: string, code: string, opts: { port: number; status?: number; action?: string })
browse/src/cookie-picker-routes.ts:99
← previousnext →301–400 of 2,512, ranked by callers