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
↓ 5 callers
Method
type
(text: string)
browse/src/browse-client.ts:217
↓ 5 callers
Function
userMessage
(text: string)
test/gstack-codex-session-import.test.ts:55
↓ 5 callers
Function
validateTempPath
(filePath: string)
browse/src/path-security.ts:102
↓ 5 callers
Function
verifyIdentity
(pid: number, marker: string)
design/src/daemon-state.ts:184
↓ 5 callers
Function
withEnv
(overrides: Record<string, string | undefined>, fn: () => T)
make-pdf/test/browseClient.test.ts:26
↓ 5 callers
Function
withEnv
(overrides: Record<string, string | undefined>, fn: () => T)
make-pdf/test/pdftotext.test.ts:116
↓ 5 callers
Function
withTempFile
(content: string, fn: (filePath: string) => void)
test/test-free-shards.test.ts:49
↓ 5 callers
Function
writeCarve
Write a syntactically-valid carved skill under `root`.
test/carve-guards-negative.test.ts:23
↓ 5 callers
Function
writeMemory
(nuggets: Array<{ nugget: string; applies_to_signal_keys: string[]; applied_at?: string }>)
test/memory-cache-injection.test.ts:34
↓ 5 callers
Function
writeTempJSONL
(name: string, lines: string[])
test/analytics.test.ts:12
↓ 4 callers
Method
acquireGlobalCdpLock
* Acquire the global CDP lock. Blocks until all tab locks are released, and * blocks new tab-lock acquisitions until released.
browse/src/browser-manager.ts:1005
↓ 4 callers
Function
appendSecureFile
( filePath: string, data: string | NodeJS.ArrayBufferView, )
browse/src/file-permissions.ts:133
↓ 4 callers
Function
applyImageDirectives
(html: string)
make-pdf/src/image-policy.ts:77
↓ 4 callers
Function
assertRequiredReads
( result: TranscriptResultLike, requiredFiles: string[], )
test/helpers/required-reads.ts:31
↓ 4 callers
Function
binDir
(ctx: TemplateContext)
scripts/resolvers/question-tuning.ts:14
↓ 4 callers
Function
buildCtx
(skillName: string)
test/skill-preflight-budget.test.ts:29
↓ 4 callers
Function
buildMissingImagePlaceholder
(src: string)
make-pdf/src/diagram-prepass.ts:736
↓ 4 callers
Function
buildSeedConfig
(opts: SeedConfigOpts)
test/helpers/hermetic-env.ts:149
↓ 4 callers
Function
buildWhenToInvokeSection
(parts: CatalogParts)
scripts/gen-skill-docs.ts:381
↓ 4 callers
Function
captureInstruction
(outFile: string)
test/skill-e2e-plan-format.test.ts:105
↓ 4 callers
Function
captureInstruction
(outFile: string)
test/codex-e2e-plan-format.test.ts:152
↓ 4 callers
Function
captureInstruction
(outFile: string)
test/skill-e2e-plan-prosons.test.ts:134
↓ 4 callers
Function
ceoStep0Boundary
(fp)
test/helpers/claude-pty-runner.ts:1167
↓ 4 callers
Function
checkCodexOffering
(skill: string, testName: string, featureName: string)
test/skill-e2e-plan.test.ts:805
↓ 4 callers
Function
clearDecision
(tabId: number)
browse/src/security.ts:613
↓ 4 callers
Method
clearLoadedHtml
Clear stored HTML. Called BEFORE goto/back/forward/reload navigation.
browse/src/tab-session.ts:206
↓ 4 callers
Method
clearRefs
()
browse/src/tab-session.ts:80
↓ 4 callers
Function
configPath
()
design/src/auth.ts:28
↓ 4 callers
Function
datamark
(text: string)
lib/gstack-decision.ts:77
↓ 4 callers
Function
daysAgo
(n: number)
test/analytics.test.ts:96
↓ 4 callers
Function
deriveCodeSourceId
* Derive a host- and worktree-aware source id for the cwd code corpus. * * Pattern: `gstack-code-<slug>-<hostpathhash8>` where slug comes from origi
bin/gstack-gbrain-sync.ts:343
↓ 4 callers
Function
describeApiKeySource
(resolution: ApiKeyResolution)
design/src/auth.ts:102
↓ 4 callers
Function
directiveFor
(kind: 'spawned' | 'headless' | 'interactive')
hosts/claude/hooks/auq-error-fallback-hook.ts:145
↓ 4 callers
Method
done
(extra: string)
make-pdf/src/orchestrator.ts:64
↓ 4 callers
Method
emptyResult
(durationMs: number, error: RunResult['error'], model?: string)
test/helpers/providers/claude.ts:115
↓ 4 callers
Method
emptyResult
(durationMs: number, error: RunResult['error'], model?: string)
test/helpers/providers/gpt.ts:117
↓ 4 callers
Method
emptyResult
(durationMs: number, error: RunResult['error'], model?: string)
test/helpers/providers/gemini.ts:115
↓ 4 callers
Function
escapeEnvelopeSentinels
(content: string)
browse/src/content-security.ts:217
↓ 4 callers
Function
exitCodeFor
(result: ScanResult)
lib/redact-engine.ts:536
↓ 4 callers
Function
extractDomain
(url: string)
browse/src/security.ts:668
↓ 4 callers
Function
extractGrepLines
(content: string, filename: string)
test/skill-llm-eval.test.ts:415
↓ 4 callers
Function
extractSectionReads
(result: TranscriptResultLike)
test/helpers/transcript-section-logger.ts:69
↓ 4 callers
Function
extractSetContents
(source: string, constName: string)
browse/test/dual-listener.test.ts:29
↓ 4 callers
Function
extractShipActions
(result: TranscriptResultLike)
test/helpers/transcript-section-logger.ts:122
↓ 4 callers
Function
fig
(svgAttrs: string, figAttrs = "")
make-pdf/test/image-policy.test.ts:183
↓ 4 callers
Function
findInstalledBrowsers
()
browse/src/cookie-import-browser.ts:127
↓ 4 callers
Function
fmtCost
(usd?: number)
test/helpers/benchmark-runner.ts:161
↓ 4 callers
Function
formatComparison
(c: ComparisonResult)
test/helpers/eval-store.ts:323
↓ 4 callers
Function
formatDuration
Format seconds as Xm Ys
scripts/eval-watch.ts:66
↓ 4 callers
Function
formatInbox
Replicate the inbox formatting logic from meta-commands.ts
browse/test/file-drop.test.ts:62
↓ 4 callers
Function
generateBrainCacheRefresh
(ctx: TemplateContext)
scripts/resolvers/gbrain.ts:195
↓ 4 callers
Function
generateCompletenessSection
(ctx?: TemplateContext)
scripts/resolvers/preamble/generate-completeness-section.ts:3
↓ 4 callers
Function
generateConfusionProtocol
(ctx?: TemplateContext)
scripts/resolvers/preamble/generate-confusion-protocol.ts:3
↓ 4 callers
Method
getActiveTabId
()
browse/src/browser-manager.ts:873
↓ 4 callers
Function
getAuthToken
()
extension/sidepanel-terminal.js:164
↓ 4 callers
Function
getDedupPath
()
lib/worktree.ts:71
↓ 4 callers
Function
getFilterMode
()
browse/src/content-security.ts:274
↓ 4 callers
Function
getFreePort
()
browse/test/findport.test.ts:20
↓ 4 callers
Function
getGitRoot
()
browse/src/config.ts:32
↓ 4 callers
Function
getSearchPlatforms
()
browse/src/cookie-import-browser.ts:325
↓ 4 callers
Function
getServerPort
()
extension/sidepanel-terminal.js:160
↓ 4 callers
Function
getSessionCookie
Helper: exchange a one-time code and return the session cookie value.
browse/test/cookie-picker-routes.test.ts:45
↓ 4 callers
Function
getSkillBudget
(skillName: string)
scripts/brain-cache-spec.ts:230
↓ 4 callers
Function
getSkillSubset
(skillName: string)
scripts/brain-cache-spec.ts:223
↓ 4 callers
Function
grantToken
(token: string)
browse/test/terminal-agent-integration.test.ts:75
↓ 4 callers
Function
guardFor
(skill: string)
test/carve-guards-negative.test.ts:41
↓ 4 callers
Function
handleDomainSkillCommand
(args: string[], bm: BrowserManager)
browse/src/domain-skill-commands.ts:258
↓ 4 callers
Method
handoff
* Hand off browser control to the user by relaunching in headed mode. * * Flow (launch-first-close-second for safe rollback): * 1. Save sta
browse/src/browser-manager.ts:1537
↓ 4 callers
Method
hover
(selector: string)
browse/src/browse-client.ts:216
↓ 4 callers
Function
idOf
(cwd: string)
test/gstack-gbrain-sync.test.ts:435
↓ 4 callers
Function
isExtendedStealthEnabled
()
browse/src/stealth.ts:586
↓ 4 callers
Function
isSymlinkLoop
(codexName: string)
test/gen-skill-docs.test.ts:1679
↓ 4 callers
Function
killAgentByRecord
( record: AgentRecord, signal: NodeJS.Signals = 'SIGTERM', )
browse/src/terminal-agent-control.ts:136
↓ 4 callers
Function
killByPidWithIdentity
* Send SIGTERM (then SIGKILL) to `pid`, but ONLY if the running cmdline * contains `marker`. Prevents a stale state file from causing us to signal *
design/src/daemon-client.ts:332
↓ 4 callers
Function
loadResult
(filepath: string)
scripts/eval-compare.ts:24
↓ 4 callers
Function
loadTestsavant
(onProgress?: (msg: string) => void)
browse/src/security-classifier.ts:204
↓ 4 callers
Function
logFlag
(flag: string)
test/gstack-decision-bins.test.ts:29
↓ 4 callers
Function
logTunnelDenial
(req: Request, url: URL, reason: string)
browse/src/tunnel-denial-log.ts:53
↓ 4 callers
Function
makeCtx
()
test/resolver-ask-user-format.test.ts:25
↓ 4 callers
Function
makeFakeGlab
(opts: { authStatus?: 'ok' | 'fail'; repoCreate?: 'success' | 'fail'; webUrl?: string } = {})
test/gstack-artifacts-init.test.ts:68
↓ 4 callers
Function
makeMockBrowserManager
(mode: 'launched' | 'headed')
browse/test/server-factory.test.ts:403
↓ 4 callers
Function
makeReq
(method: string, body?: any, headers?: Record<string, string>)
browse/test/cookie-picker-routes.test.ts:35
↓ 4 callers
Function
markMeaningfulActivity
()
design/src/daemon.ts:138
↓ 4 callers
Function
mockBm
(tabs: Array<{ id: number; url: string; title: string; active: boolean }>)
browse/test/tab-each.test.ts:69
↓ 4 callers
Function
normalizeRelativePath
(filePath: string)
scripts/test-free-shards.ts:114
↓ 4 callers
Function
num
(s: string | null)
make-pdf/src/image-policy.ts:221
↓ 4 callers
Function
parseBrief
(input: string, isFile: boolean)
design/src/brief.ts:46
↓ 4 callers
Function
parseFlag
(args: string[], flag: string)
browse/src/cli.ts:756
↓ 4 callers
Function
parseInfoString
(info: string)
make-pdf/src/diagram-prepass.ts:206
↓ 4 callers
Method
press
(key: string)
browse/src/browse-client.ts:218
↓ 4 callers
Function
printUsage
()
bin/gstack-global-discover.ts:46
↓ 4 callers
Function
processVoiceTriggers
* Preprocess voice triggers: fold voice-triggers YAML field into description, * then strip the field from frontmatter. Must run BEFORE transformFront
scripts/gen-skill-docs.ts:262
↓ 4 callers
Function
pushTabState
(reason)
extension/background.js:543
↓ 4 callers
Function
rasterizeDiagramFigures
( html: string, tab: RenderTab, contentWidthIn: number, warn: (msg: string) => void, )
make-pdf/src/diagram-prepass.ts:503
↓ 4 callers
Function
read
(fp: string)
test/required-reads.test.ts:11
↓ 4 callers
Function
read
()
browse/test/cli-setsid-daemonize.test.ts:27
↓ 4 callers
Function
readBody
(req: IncomingMessage, maxBytes = 1_048_576)
ios-qa/daemon/src/index.ts:190
↓ 4 callers
Function
readJsonl
(path: string)
lib/jsonl-store.ts:77
↓ 4 callers
Function
readSkill
(host: string, projectSlug: string)
browse/src/domain-skills.ts:220
↓ 4 callers
Function
readSkillForParity
( repoRoot: string, skill: string, sectioned: boolean, )
test/helpers/parity-harness.ts:67
← previous
next →
801–900 of 2,512, ranked by callers