MCPcopy Create free account

hub / github.com/garrytan/gstack / functions

Functions2,512 in github.com/garrytan/gstack

↓ 15 callersFunctionhasCapability
(allowlist: Allowlist, identity: string, need: Capability)
ios-qa/daemon/src/allowlist.ts:69
↓ 15 callersFunctionimg
(attrs: string)
make-pdf/test/image-policy.test.ts:24
↓ 15 callersMethodincrementFailures
()
browse/src/browser-manager.ts:1669
↓ 15 callersFunctioninlineLocalImages
(html: string, opts: PrepassImageOptions)
make-pdf/src/diagram-prepass.ts:584
↓ 15 callersFunctionmakeCtx
(overrides: Partial<TemplateContext> = {})
test/resolver-entry.test.ts:11
↓ 15 callersFunctionmakeSpawn
* Build a spawnImpl that walks through a scripted sequence of expected calls. * Each call matches its args against `argsMatch`. Unmatched calls retur
ios-qa/daemon/test/tunnel-bootstrap.test.ts:31
↓ 15 callersFunctionmakeStubProvider
(config: StubConfig)
test/agent-sdk-runner.test.ts:173
↓ 15 callersFunctionmakeTmpDir
(prefix = "design-daemon-test")
design/test/daemon-tests-fixtures.ts:23
↓ 15 callersFunctionresolveStageTimeoutMs
( envValue: string | undefined, envName: string, defaultMs: number = DEFAULT_STAGE_TIMEOUT_MS, )
bin/gstack-gbrain-sync.ts:129
↓ 15 callersFunctionrunProbe
(opts: { snippet: string; env?: Record<string, string | undefined>; home?: string; })
test/codex-hardening.test.ts:12
↓ 15 callersFunctionsafeKill
(pid: number, signal: NodeJS.Signals | number)
browse/src/error-handling.ts:31
↓ 15 callersFunctionsanitizeLoneSurrogates
(str: string)
browse/src/server.ts:85
↓ 15 callersFunctionsearch
(args = "")
test/gstack-decision-bins.test.ts:32
↓ 15 callersFunctionshouldRunDream
(args: CliArgs, cycle: CycleStatus | null)
bin/gstack-gbrain-sync.ts:1180
↓ 15 callersMethodtoArray
Return entries in insertion order (oldest first)
browse/src/buffers.ts:45
↓ 15 callersFunctionvalidateHostConfig
(config: HostConfig)
scripts/host-config.ts:120
↓ 14 callersFunctionclassifyVisible
( visible: string, opts?: { /** * When true, treat Write/Edit to `.claude/plans/*` BEFORE any
test/helpers/claude-pty-runner.ts:816
↓ 14 callersFunctionhide
(el)
extension/sidepanel-terminal.js:109
↓ 14 callersFunctionimportCache
()
test/brain-cache-roundtrip.test.ts:41
↓ 14 callersFunctionisPathWithin
(resolvedPath: string, dir: string)
browse/src/platform.ts:15
↓ 14 callersFunctionlogBudgetOverride
(entry: BudgetOverrideEntry)
test/helpers/budget-override.ts:29
↓ 14 callersFunctionmakeEntry
(size: number, url = 'https://example.com')
browse/test/data-platform.test.ts:17
↓ 14 callersFunctionmakeSkillDir
(tierRoot: string, name: string, frontmatter: string, scriptBody: string = '')
browse/test/browser-skill-commands.test.ts:48
↓ 14 callersFunctionmakeValid
()
test/host-config.test.ts:108
↓ 14 callersFunctionmintSkillToken
(opts: MintSkillTokenOptions)
browse/src/skill-token.ts:74
↓ 14 callersFunctionnormalizeFileUrl
(url: string)
browse/src/url-validation.ts:127
↓ 14 callersFunctionparsePdfFromFile
(payloadPath: string)
browse/src/meta-commands.ts:140
↓ 14 callersFunctionparseStoriesFromHtml
(html: string)
browser-skills/hackernews-frontpage/script.ts:53
↓ 14 callersFunctionpublishBoard
(opts: PublishBoardOptions)
design/src/daemon-client.ts:188
↓ 14 callersFunctionreadBrowserSkill
(name: string, tiers?: TierPaths)
browse/src/browser-skills.ts:367
↓ 14 callersFunctionresolveClaudeCommand
( env: NodeJS.ProcessEnv = process.env, )
browse/src/claude-bin.ts:49
↓ 14 callersFunctionrun
(env: Record<string, string | undefined>)
test/gstack-paths.test.ts:18
↓ 14 callersFunctionrun
(args: string[], opts: { env?: Record<string, string> } = {})
test/benchmark-cli.test.ts:23
↓ 14 callersFunctionrunSearch
(args: string = '')
test/learnings.test.ts:32
↓ 14 callersFunctionrunVerify
(arg: string, stdin?: string)
test/gbrain-lib-verify.test.ts:27
↓ 14 callersFunctionrunWorkflowJudge
* DRY helper for workflow SKILL.md judge tests. * Extracts a section from a SKILL.md file and judges its quality as an agent workflow.
test/skill-llm-eval.test.ts:531
↓ 14 callersFunctionsampleFiles
()
browse/test/browser-skill-write.test.ts:50
↓ 14 callersMethodvalidate
* Validate a token. Returns the session if valid (token exists, not * expired). Otherwise returns null with a reason for the audit log.
ios-qa/daemon/src/session-tokens.ts:52
↓ 14 callersFunctionvalidateReadPath
(filePath: string)
browse/src/path-security.ts:78
↓ 13 callersFunctionappendEvent
(paths: DecisionPaths, event: DecisionEvent)
lib/gstack-decision.ts:212
↓ 13 callersFunctioncomputeCacheKey
(inputs: { swiftFiles: string[]; swiftVersion: string; toolGitRev: string; platformTriple: string; })
ios-qa/scripts/gen-accessors.ts:152
↓ 13 callersFunctionencryptCookieValue
( value: string, options?: { key?: Buffer; prefix?: 'v10' | 'v11' }, )
browse/test/cookie-import-browser.test.ts:41
↓ 13 callersFunctionextractDiagramFences
(markdown: string)
make-pdf/src/diagram-prepass.ts:110
↓ 13 callersFunctionextractFunction
* Extract a function body by name — finds `function name(` or `export function name(` * and returns the full balanced-brace block.
browse/test/security-audit-r2.test.ts:45
↓ 13 callersFunctionfp
(promptSnippet: string, optionLabels: string[])
test/helpers/claude-pty-runner.unit.test.ts:966
↓ 13 callersMethodgetSession
Get a TabSession by tab ID. Used by /batch for parallel tab execution.
browse/src/browser-manager.ts:949
↓ 13 callersFunctiongit
(args: string[], cwd = repo)
test/redact-prepush-hook.test.ts:22
↓ 13 callersFunctionjudgeRecommendation
(askUserText: string)
test/helpers/llm-judge.ts:228
↓ 13 callersFunctionmakeFakeCurl
* Write a fake curl shim. Three knobs: * exitCode — what `curl` returns (0=ok, 6=DNS, 28=timeout, etc). * httpCode — what `-w '%{http_code
test/gstack-gbrain-mcp-verify.test.ts:36
↓ 13 callersFunctionmakeFakeGh
(opts: { authStatus?: 'ok' | 'fail'; repoCreate?: 'success' | 'already-exists' | 'fail'; webUrl?: string } = {
test/gstack-artifacts-init.test.ts:35
↓ 13 callersFunctionparseKV
(stdout: string)
test/context-save-hardening.test.ts:66
↓ 13 callersFunctionparseOutArgs
(args: string[])
browse/src/read-commands.ts:65
↓ 13 callersFunctionredactProxyUrl
(input: string | null | undefined)
browse/src/proxy-redact.ts:17
↓ 13 callersFunctionresolvePopplerTool
( tool: "pdffonts" | "pdfimages" | "pdftoppm", env: NodeJS.ProcessEnv = process.env, )
make-pdf/src/pdftotext.ts:127
↓ 13 callersFunctionrun
(...args: string[])
test/host-config.test.ts:296
↓ 13 callersFunctionrunScript
(args: string[], env: Record<string, string> = {})
test/gstack-gbrain-sync.test.ts:29
↓ 13 callersFunctionsh
(cmd: string, cwd: string)
test/skill-e2e-ship-idempotency.test.ts:70
↓ 13 callersFunctionsliceBetween
(source: string, start: string, end: string)
browse/test/dual-listener.test.ts:21
↓ 13 callersFunctionwriteFixture
(name: string, content: string)
test/skill-parser.test.ts:9
↓ 13 callersFunctionwriteProjectPref
(questionId: string, preference: string)
test/question-preference-hook.test.ts:47
↓ 12 callersFunctionauqFingerprint
( promptSnippet: string, opts: Array<{ index: number; label: string }>, )
test/helpers/claude-pty-runner.ts:1040
↓ 12 callersMethodbegin
(stage: string)
make-pdf/src/orchestrator.ts:51
↓ 12 callersFunctioncreateTestRepo
Create a minimal git repo in a tmpdir for testing.
test/worktree.test.ts:17
↓ 12 callersFunctiondetect
(cwd: string)
test/preamble-first-task-scaffold.test.ts:27
↓ 12 callersFunctiondetectBaseBranch
(cwd: string)
test/helpers/touchfiles.ts:828
↓ 12 callersFunctiondlog
(...args: unknown[])
design/src/daemon.ts:102
↓ 12 callersFunctionextractGlobalFlags
(rawArgs: string[], env: NodeJS.ProcessEnv)
browse/src/cli.ts:786
↓ 12 callersFunctionfilterArgs
(command: string, args: string[])
browse/src/activity.ts:54
↓ 12 callersFunctionfindBudgetRegressions
( comparison: ComparisonResult, opts?: { ratioCap?: number; minPriorTools?: number; minPriorTurns?: number
test/helpers/eval-store.ts:576
↓ 12 callersFunctionfinish
(ok: boolean)
browse/src/security-classifier.ts:419
↓ 12 callersFunctionfmtBoxVal
(v)
extension/sidepanel.js:765
↓ 12 callersFunctiongenerateInstructionBlock
(opts: InstructionBlockOptions)
browse/src/cli.ts:663
↓ 12 callersFunctiongetHostConfig
(name: string)
hosts/index.ts:35
↓ 12 callersFunctionimageDims
(buf: Buffer)
make-pdf/src/image-size.ts:19
↓ 12 callersFunctionisRootToken
(token: string)
browse/src/token-registry.ts:167
↓ 12 callersFunctionkind
Run the helper with ONLY the supplied env (plus PATH so bash resolves).
test/gstack-session-kind.test.ts:21
↓ 12 callersFunctionmakeResult
(overrides?: Partial<EvalResult>)
test/helpers/eval-store.test.ts:42
↓ 12 callersFunctionmintSseSessionToken
()
browse/src/sse-session-cookie.ts:39
↓ 12 callersFunctionnormalize
(raw: string)
make-pdf/src/pdftotext.ts:213
↓ 12 callersFunctionparseJsonl
()
test/telemetry.test.ts:32
↓ 12 callersFunctionreadIfExists
(p: string)
browse/test/server-embedder-terminal-port.test.ts:70
↓ 12 callersFunctionreadProfile
()
test/taste-engine.test.ts:70
↓ 12 callersFunctionreadState
()
browse/src/cli.ts:109
↓ 12 callersFunctionreadTmpl
()
test/regression-1624-retro-stale-base.test.ts:28
↓ 12 callersFunctionresolveImportTimeoutMs
( raw: string | undefined = process.env.GSTACK_INGEST_TIMEOUT_MS, )
bin/gstack-memory-ingest.ts:1395
↓ 12 callersFunctionrespond
(res: import('http').ServerResponse, status: number, body: unknown)
test/skill-e2e-ios.test.ts:152
↓ 12 callersFunctionrun
(extraEnv: Record<string, string> = {}, input = '')
test/migrations-v1.27.0.0.test.ts:68
↓ 12 callersFunctionrun
(cmd: string, args: string[])
test/skill-e2e-bws.test.ts:192
↓ 12 callersFunctionrun
(...args: string[])
test/explain-level-config.test.ts:30
↓ 12 callersFunctionrunBun
(script: string, args: string[], env: Record<string, string>)
test/skill-e2e-memory-pipeline.test.ts:89
↓ 12 callersFunctionsetupFakeHome
()
test/artifacts-init-migration.test.ts:13
↓ 12 callersFunctionshouldEnableChromiumSandbox
()
browse/src/browser-manager.ts:63
↓ 12 callersMethodstopWatch
()
browse/src/browser-manager.ts:266
↓ 12 callersFunctionvalidateAuth
(req: Request)
browse/src/server.ts:1574
↓ 12 callersFunctionwithEnv
(env: Record<string, string | undefined>, body: () => void)
browse/test/stealth-layer-c.test.ts:124
↓ 12 callersFunctionwriteFiles
(files: Record<string, string>)
test/ship-version-sync.test.ts:23
↓ 11 callersFunctionapplyStealth
(context: BrowserContext)
browse/src/stealth.ts:455
↓ 11 callersFunctionbuildStealthScript
(hw: HostProfile)
browse/src/stealth.ts:82
↓ 11 callersMethodcheckTabAccess
* Check if a client can access a tab. * * Two policies, distinguished by `options.ownOnly`: * * - **own-only (pair-agent over tunnel):**
browse/src/browser-manager.ts:912
↓ 11 callersFunctioncleanupHiddenMarkers
(page: Page | Frame)
browse/src/content-security.ts:192
← previousnext →201–300 of 2,512, ranked by callers