Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/garrytan/gstack
/ functions
Functions
2,512 in github.com/garrytan/gstack
⨍
Functions
2,512
◇
Types & classes
436
↓ 4 callers
Function
readVersionHash
(execPath: string = process.execPath)
browse/src/config.ts:148
↓ 4 callers
Function
recordCodexResult
(testName: string, result: CodexResult, passed: boolean)
test/codex-e2e-plan-format.test.ts:87
↓ 4 callers
Method
recreateContext
* Recreate the browser context to apply user agent changes. * Saves and restores cookies, localStorage, sessionStorage, and open pages. * Falls
browse/src/browser-manager.ts:1396
↓ 4 callers
Function
renderFenceSlots
( fences: DiagramFence[], tab: RenderTab, warn: (msg: string) => void, )
make-pdf/src/diagram-prepass.ts:464
↓ 4 callers
Function
repoRoot
()
bin/gstack-gbrain-sync.ts:306
↓ 4 callers
Function
resetIdleTimer
()
browse/src/server.ts:629
↓ 4 callers
Function
resetSessionMarker
()
browse/src/content-security.ts:35
↓ 4 callers
Function
resolveMemorySourceId
(env?: NodeJS.ProcessEnv)
lib/gstack-decision-semantic.ts:37
↓ 4 callers
Function
resolveNodeServerScript
( metaDir: string = import.meta.dir, execPath: string = process.execPath )
browse/src/cli.ts:64
↓ 4 callers
Function
revokePtySessionToken
(token: string | null | undefined)
browse/src/pty-session-cookie.ts:68
↓ 4 callers
Function
revokeToken
(clientId: string)
browse/src/token-registry.ts:422
↓ 4 callers
Function
riff
(fmt: string, body: Buffer)
make-pdf/test/coverage-gaps.test.ts:141
↓ 4 callers
Function
run
()
test/upgrade-migration-v1.test.ts:28
↓ 4 callers
Function
runConfig
(args: string[], tmpHome: string)
test/docs-config-keys.test.ts:49
↓ 4 callers
Function
runGen
(extraArgs: string[] = [])
test/gen-skill-docs-idempotency.test.ts:52
↓ 4 callers
Function
runHelper
( isWindows: '0' | '1', srcKind: 'file' | 'dir', )
test/setup-windows-fallback.test.ts:69
↓ 4 callers
Function
runPlanSkillFloorCheck
(opts: { /** Skill name, e.g. 'plan-eng-review'. Used for diagnostic strings only. */ skillName: string;
test/helpers/claude-pty-runner.ts:2065
↓ 4 callers
Function
runRead
(args: string = '')
test/timeline.test.ts:31
↓ 4 callers
Function
runScript
(cwd: string)
test/readme-throughput.test.ts:37
↓ 4 callers
Function
saveAllowlist
(allowlist: Allowlist, path: string = defaultAllowlistPath())
ios-qa/daemon/src/allowlist.ts:43
↓ 4 callers
Function
saveState
(state: IngestState)
bin/gstack-memory-ingest.ts:296
↓ 4 callers
Function
searchWithPath
(args: string, pathPrefix?: string)
test/gstack-decision-bins.test.ts:114
↓ 4 callers
Function
secretScanFile
(path: string)
lib/gstack-memory-helpers.ts:151
↓ 4 callers
Function
seedFakeGbrainBinary
(version: string)
test/gbrain-detect-install.test.ts:196
↓ 4 callers
Function
setConnState
(state)
extension/sidepanel.js:35
↓ 4 callers
Function
setDisconnected
()
extension/background.js:101
↓ 4 callers
Method
setLastSnapshot
(text: string | null)
browse/src/tab-session.ts:130
↓ 4 callers
Method
setRefMap
(refs: Map<string, RefEntry>)
browse/src/tab-session.ts:76
↓ 4 callers
Function
setupCodexSkillDir
(tmpPrefix: string, skillName: 'plan-ceo-review' | 'plan-eng-review')
test/codex-e2e-plan-format.test.ts:127
↓ 4 callers
Function
setupPlanCeoDir
(opts: { skillMd: string; sectionsFrom?: string | null; tmpPrefix?: string; })
test/helpers/auq-sdk-capture.ts:84
↓ 4 callers
Function
setupPlanDir
(tmpPrefix: string, skillName: 'plan-ceo-review' | 'plan-eng-review')
test/skill-e2e-plan-format.test.ts:81
↓ 4 callers
Function
setupPlanDir
(tmpPrefix: string, planContent: string, skillName: string)
test/skill-e2e-plan-prosons.test.ts:112
↓ 4 callers
Function
setupSkillDir
(opts: { skillName: string; skillMd: string; sectionsFrom?: string | null; fixtures?: Record<string, s
test/helpers/auq-sdk-capture.ts:125
↓ 4 callers
Function
shannonEntropy
(s: string)
lib/redact-patterns.ts:99
↓ 4 callers
Function
showStatusPill
(connected, refs)
extension/content.js:16
↓ 4 callers
Function
shutdownChild
()
browse/src/security-sidecar-client.ts:113
↓ 4 callers
Function
shutdownDaemon
(opts: { force?: boolean } = {})
design/src/daemon-client.ts:372
↓ 4 callers
Function
skillFromWorktree
(skillName: string)
test/helpers/auq-sdk-capture.ts:153
↓ 4 callers
Function
sliceBetween
(source: string, start: string, end: string)
browse/test/sidepanel-reattach.test.ts:87
↓ 4 callers
Function
snapshot
(files: string[] = STABLE_OUTPUTS)
test/gen-skill-docs-idempotency.test.ts:64
↓ 4 callers
Function
spawn1
()
design/test/feedback-roundtrip-daemon.test.ts:57
↓ 4 callers
Function
stateRoot
()
hosts/claude/hooks/question-preference-hook.ts:63
↓ 4 callers
Function
stripComments
(s: string)
browse/test/from-file-path-validation.test.ts:26
↓ 4 callers
Function
stubCalls
()
test/gstack-upgrade-migration-v1_17_0_0.test.ts:70
↓ 4 callers
Function
substituteTemplateVars
(s: string, args: CliArgs)
bin/gstack-brain-context-load.ts:141
↓ 4 callers
Function
testIfSelected
(name: string, fn: () => Promise<void>, timeout?: number)
test/codex-e2e-plan-format.test.ts:72
↓ 4 callers
Function
testUpstream
(opts: UpstreamTestOpts)
browse/src/socks-bridge.ts:273
↓ 4 callers
Function
tmp
()
test/jsonl-store.test.ts:13
↓ 4 callers
Function
tmpSiblings
(destDir: string, destBase: string)
browse/test/security-classifier-download-cleanup.test.ts:20
↓ 4 callers
Function
tmpStatePath
* Per-process state-file temp path. The state-file write pattern is * `writeFileSync(tmp, ...) → renameSync(tmp, stateFile)` for atomicity, * but a
browse/src/server.ts:559
↓ 4 callers
Function
token
()
make-pdf/test/e2e/emoji-gate.test.ts:107
↓ 4 callers
Function
token
()
make-pdf/test/e2e/diagram-gate.test.ts:52
↓ 4 callers
Function
undoModification
(page: Page, index?: number)
browse/src/cdp-inspector.ts:612
↓ 4 callers
Function
updateConnection
(url, token)
extension/sidepanel.js:1159
↓ 4 callers
Function
validateSkillName
(name: string)
browse/src/browser-skill-write.ts:36
↓ 4 callers
Method
wirePageEvents
(page: Page)
browse/src/browser-manager.ts:1685
↓ 4 callers
Function
withInstalledProfile
( relativeBrowserDir: string, sourceDb: string, run: () => Promise<T>, profile = 'Default', )
browse/test/cookie-import-browser.test.ts:227
↓ 4 callers
Function
writeSnapshot
(paths: DecisionPaths, active: ActiveDecision[])
lib/gstack-decision.ts:226
↓ 3 callers
Function
__resetSemaphoreForTests
(capacity: number)
test/helpers/agent-sdk-runner.ts:212
↓ 3 callers
Function
_resetTelemetryCache
()
browse/src/telemetry.ts:77
↓ 3 callers
Function
acquireLock
(lockPath: string)
design/src/daemon-state.ts:194
↓ 3 callers
Function
addNetworkEntry
(entry: NetworkEntry)
browse/src/buffers.ts:131
↓ 3 callers
Function
applySignal
( dims: Record<Dimension, number>, signal_key: string, user_choice: string, )
scripts/psychographic-signals.ts:234
↓ 3 callers
Function
assertNoBudgetRegression
( comparison: ComparisonResult, opts?: { ratioCap?: number; minPriorTools?: number; minPriorTurns?: number
test/helpers/eval-store.ts:605
↓ 3 callers
Function
authHeaders
()
extension/sidepanel.js:27
↓ 3 callers
Function
baselinePath
(situation: string, dir = DEFAULT_BASELINE_DIR)
test/helpers/transcript-section-logger.ts:155
↓ 3 callers
Function
basicPickerCleanup
()
extension/content.js:261
↓ 3 callers
Function
bump
(newVer: string)
test/ship-version-sync.test.ts:79
↓ 3 callers
Function
capBody
(s: string)
bin/gstack-brain-context-load.ts:348
↓ 3 callers
Function
captureModeSelectionAuq
(opts: { planDir: string; testName: string; runId?: string; model?: string; })
test/helpers/auq-sdk-capture.ts:299
↓ 3 callers
Function
captureSectionReads
(opts: { planDir: string; skillName: string; scenario: string; /** Relative filename the agent writes
test/helpers/auq-sdk-capture.ts:219
↓ 3 callers
Function
carve
(source: string, pattern: RegExp)
make-pdf/src/smartypants.ts:39
↓ 3 callers
Function
carvedSkill
()
test/helpers/auq-sdk-capture.ts:275
↓ 3 callers
Function
cb
(_toolName: string, input: Record<string, unknown>)
test/agent-sdk-runner.test.ts:417
↓ 3 callers
Function
checkConnectRateLimit
()
browse/src/token-registry.ts:513
↓ 3 callers
Function
checkPortAvailable
(port: number, hostname: string = '127.0.0.1')
browse/src/server.ts:853
↓ 3 callers
Function
chromiumEpoch
(unixSeconds: number)
browse/test/cookie-import-browser.test.ts:63
↓ 3 callers
Function
chunk
(t: string, d: Buffer)
make-pdf/test/diagram-prepass.test.ts:167
↓ 3 callers
Function
cleanChromiumProfileLocks
Remove Chromium SingletonLock/Socket/Cookie so a relaunch can acquire the * profile. Safe to call when absent.
browse/src/cli.ts:222
↓ 3 callers
Function
cleanup
()
bin/gstack-gbrain-sync.ts:1491
↓ 3 callers
Function
clearAgentRecord
(stateDir: string)
browse/src/terminal-agent-control.ts:120
↓ 3 callers
Function
clearInbox
Replicate the --clear logic from meta-commands.ts
browse/test/file-drop.test.ts:81
↓ 3 callers
Method
clearRefs
()
browse/src/browser-manager.ts:1157
↓ 3 callers
Function
closeAll
(s: ReturnType<typeof createServer> | null | undefined)
ios-qa/daemon/src/index.ts:145
↓ 3 callers
Function
closeTunnel
* Tear down the tunnel: close the ngrok listener and stop the tunnel-surface * Bun.serve listener. Safe to call with nothing running. Always clears
browse/src/server.ts:385
↓ 3 callers
Function
codexPreflight
(opts: { modeVar?: string; disabledBehavior: 'skip-all' | 'codex-only' })
scripts/resolvers/constants.ts:89
↓ 3 callers
Function
collectFreeTestFiles
(rootDir = ROOT)
scripts/test-free-shards.ts:156
↓ 3 callers
Function
compact
(paths: DecisionPaths)
lib/gstack-decision.ts:274
↓ 3 callers
Function
contentWidthInches
(opts: { pageSize?: string; margins?: string; marginLeft?: string; marginRight?: string; })
make-pdf/src/diagram-prepass.ts:796
↓ 3 callers
Function
createCoverageAuditFixture
(dir: string)
test/fixtures/coverage-audit-fixture.ts:15
↓ 3 callers
Function
createTestPng
(filePath: string)
design/test/feedback-roundtrip.test.ts:31
↓ 3 callers
Function
createTestPng
(filePath: string)
design/test/serve.test.ts:20
↓ 3 callers
Function
createTestPng
(filePath: string)
browse/test/compare-board.test.ts:32
↓ 3 callers
Function
createTestWorktree
(testName: string)
test/helpers/e2e-helpers.ts:299
↓ 3 callers
Function
describeBinary
(bin: string)
make-pdf/src/pdftotext.ts:154
↓ 3 callers
Function
designQualityJudge
* LLM judge for DESIGN.md quality — checks font blacklist compliance, * coherence, specificity, and AI slop avoidance.
test/skill-e2e.test.ts:1949
↓ 3 callers
Function
designStep0Boundary
(fp)
test/helpers/claude-pty-runner.ts:1180
↓ 3 callers
Function
devexStep0Boundary
(fp)
test/helpers/claude-pty-runner.ts:1185
↓ 3 callers
Function
disposeSession
Cleanup a PTY session: SIGINT, then SIGKILL after 3s.
browse/src/terminal-agent.ts:356
↓ 3 callers
Function
emitInspectorEvent
(event: any)
browse/src/server.ts:751
← previous
next →
901–1,000 of 2,512, ranked by callers