MCPcopy Create free account

hub / github.com/garrytan/gstack / functions

Functions2,512 in github.com/garrytan/gstack

↓ 5 callersMethodtype
(text: string)
browse/src/browse-client.ts:217
↓ 5 callersFunctionuserMessage
(text: string)
test/gstack-codex-session-import.test.ts:55
↓ 5 callersFunctionvalidateTempPath
(filePath: string)
browse/src/path-security.ts:102
↓ 5 callersFunctionverifyIdentity
(pid: number, marker: string)
design/src/daemon-state.ts:184
↓ 5 callersFunctionwithEnv
(overrides: Record<string, string | undefined>, fn: () => T)
make-pdf/test/browseClient.test.ts:26
↓ 5 callersFunctionwithEnv
(overrides: Record<string, string | undefined>, fn: () => T)
make-pdf/test/pdftotext.test.ts:116
↓ 5 callersFunctionwithTempFile
(content: string, fn: (filePath: string) => void)
test/test-free-shards.test.ts:49
↓ 5 callersFunctionwriteCarve
Write a syntactically-valid carved skill under `root`.
test/carve-guards-negative.test.ts:23
↓ 5 callersFunctionwriteMemory
(nuggets: Array<{ nugget: string; applies_to_signal_keys: string[]; applied_at?: string }>)
test/memory-cache-injection.test.ts:34
↓ 5 callersFunctionwriteTempJSONL
(name: string, lines: string[])
test/analytics.test.ts:12
↓ 4 callersMethodacquireGlobalCdpLock
* 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 callersFunctionappendSecureFile
( filePath: string, data: string | NodeJS.ArrayBufferView, )
browse/src/file-permissions.ts:133
↓ 4 callersFunctionapplyImageDirectives
(html: string)
make-pdf/src/image-policy.ts:77
↓ 4 callersFunctionassertRequiredReads
( result: TranscriptResultLike, requiredFiles: string[], )
test/helpers/required-reads.ts:31
↓ 4 callersFunctionbinDir
(ctx: TemplateContext)
scripts/resolvers/question-tuning.ts:14
↓ 4 callersFunctionbuildCtx
(skillName: string)
test/skill-preflight-budget.test.ts:29
↓ 4 callersFunctionbuildMissingImagePlaceholder
(src: string)
make-pdf/src/diagram-prepass.ts:736
↓ 4 callersFunctionbuildSeedConfig
(opts: SeedConfigOpts)
test/helpers/hermetic-env.ts:149
↓ 4 callersFunctionbuildWhenToInvokeSection
(parts: CatalogParts)
scripts/gen-skill-docs.ts:381
↓ 4 callersFunctioncaptureInstruction
(outFile: string)
test/skill-e2e-plan-format.test.ts:105
↓ 4 callersFunctioncaptureInstruction
(outFile: string)
test/codex-e2e-plan-format.test.ts:152
↓ 4 callersFunctioncaptureInstruction
(outFile: string)
test/skill-e2e-plan-prosons.test.ts:134
↓ 4 callersFunctionceoStep0Boundary
(fp)
test/helpers/claude-pty-runner.ts:1167
↓ 4 callersFunctioncheckCodexOffering
(skill: string, testName: string, featureName: string)
test/skill-e2e-plan.test.ts:805
↓ 4 callersFunctionclearDecision
(tabId: number)
browse/src/security.ts:613
↓ 4 callersMethodclearLoadedHtml
Clear stored HTML. Called BEFORE goto/back/forward/reload navigation.
browse/src/tab-session.ts:206
↓ 4 callersMethodclearRefs
()
browse/src/tab-session.ts:80
↓ 4 callersFunctionconfigPath
()
design/src/auth.ts:28
↓ 4 callersFunctiondatamark
(text: string)
lib/gstack-decision.ts:77
↓ 4 callersFunctiondaysAgo
(n: number)
test/analytics.test.ts:96
↓ 4 callersFunctionderiveCodeSourceId
* 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 callersFunctiondescribeApiKeySource
(resolution: ApiKeyResolution)
design/src/auth.ts:102
↓ 4 callersFunctiondirectiveFor
(kind: 'spawned' | 'headless' | 'interactive')
hosts/claude/hooks/auq-error-fallback-hook.ts:145
↓ 4 callersMethoddone
(extra: string)
make-pdf/src/orchestrator.ts:64
↓ 4 callersMethodemptyResult
(durationMs: number, error: RunResult['error'], model?: string)
test/helpers/providers/claude.ts:115
↓ 4 callersMethodemptyResult
(durationMs: number, error: RunResult['error'], model?: string)
test/helpers/providers/gpt.ts:117
↓ 4 callersMethodemptyResult
(durationMs: number, error: RunResult['error'], model?: string)
test/helpers/providers/gemini.ts:115
↓ 4 callersFunctionescapeEnvelopeSentinels
(content: string)
browse/src/content-security.ts:217
↓ 4 callersFunctionexitCodeFor
(result: ScanResult)
lib/redact-engine.ts:536
↓ 4 callersFunctionextractDomain
(url: string)
browse/src/security.ts:668
↓ 4 callersFunctionextractGrepLines
(content: string, filename: string)
test/skill-llm-eval.test.ts:415
↓ 4 callersFunctionextractSectionReads
(result: TranscriptResultLike)
test/helpers/transcript-section-logger.ts:69
↓ 4 callersFunctionextractSetContents
(source: string, constName: string)
browse/test/dual-listener.test.ts:29
↓ 4 callersFunctionextractShipActions
(result: TranscriptResultLike)
test/helpers/transcript-section-logger.ts:122
↓ 4 callersFunctionfig
(svgAttrs: string, figAttrs = "")
make-pdf/test/image-policy.test.ts:183
↓ 4 callersFunctionfindInstalledBrowsers
()
browse/src/cookie-import-browser.ts:127
↓ 4 callersFunctionfmtCost
(usd?: number)
test/helpers/benchmark-runner.ts:161
↓ 4 callersFunctionformatComparison
(c: ComparisonResult)
test/helpers/eval-store.ts:323
↓ 4 callersFunctionformatDuration
Format seconds as Xm Ys
scripts/eval-watch.ts:66
↓ 4 callersFunctionformatInbox
Replicate the inbox formatting logic from meta-commands.ts
browse/test/file-drop.test.ts:62
↓ 4 callersFunctiongenerateBrainCacheRefresh
(ctx: TemplateContext)
scripts/resolvers/gbrain.ts:195
↓ 4 callersFunctiongenerateCompletenessSection
(ctx?: TemplateContext)
scripts/resolvers/preamble/generate-completeness-section.ts:3
↓ 4 callersFunctiongenerateConfusionProtocol
(ctx?: TemplateContext)
scripts/resolvers/preamble/generate-confusion-protocol.ts:3
↓ 4 callersMethodgetActiveTabId
()
browse/src/browser-manager.ts:873
↓ 4 callersFunctiongetAuthToken
()
extension/sidepanel-terminal.js:164
↓ 4 callersFunctiongetDedupPath
()
lib/worktree.ts:71
↓ 4 callersFunctiongetFilterMode
()
browse/src/content-security.ts:274
↓ 4 callersFunctiongetFreePort
()
browse/test/findport.test.ts:20
↓ 4 callersFunctiongetGitRoot
()
browse/src/config.ts:32
↓ 4 callersFunctiongetSearchPlatforms
()
browse/src/cookie-import-browser.ts:325
↓ 4 callersFunctiongetServerPort
()
extension/sidepanel-terminal.js:160
↓ 4 callersFunctiongetSessionCookie
Helper: exchange a one-time code and return the session cookie value.
browse/test/cookie-picker-routes.test.ts:45
↓ 4 callersFunctiongetSkillBudget
(skillName: string)
scripts/brain-cache-spec.ts:230
↓ 4 callersFunctiongetSkillSubset
(skillName: string)
scripts/brain-cache-spec.ts:223
↓ 4 callersFunctiongrantToken
(token: string)
browse/test/terminal-agent-integration.test.ts:75
↓ 4 callersFunctionguardFor
(skill: string)
test/carve-guards-negative.test.ts:41
↓ 4 callersFunctionhandleDomainSkillCommand
(args: string[], bm: BrowserManager)
browse/src/domain-skill-commands.ts:258
↓ 4 callersMethodhandoff
* 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 callersMethodhover
(selector: string)
browse/src/browse-client.ts:216
↓ 4 callersFunctionidOf
(cwd: string)
test/gstack-gbrain-sync.test.ts:435
↓ 4 callersFunctionisExtendedStealthEnabled
()
browse/src/stealth.ts:586
↓ 4 callersFunctionisSymlinkLoop
(codexName: string)
test/gen-skill-docs.test.ts:1679
↓ 4 callersFunctionkillAgentByRecord
( record: AgentRecord, signal: NodeJS.Signals = 'SIGTERM', )
browse/src/terminal-agent-control.ts:136
↓ 4 callersFunctionkillByPidWithIdentity
* 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 callersFunctionloadResult
(filepath: string)
scripts/eval-compare.ts:24
↓ 4 callersFunctionloadTestsavant
(onProgress?: (msg: string) => void)
browse/src/security-classifier.ts:204
↓ 4 callersFunctionlogFlag
(flag: string)
test/gstack-decision-bins.test.ts:29
↓ 4 callersFunctionlogTunnelDenial
(req: Request, url: URL, reason: string)
browse/src/tunnel-denial-log.ts:53
↓ 4 callersFunctionmakeCtx
()
test/resolver-ask-user-format.test.ts:25
↓ 4 callersFunctionmakeFakeGlab
(opts: { authStatus?: 'ok' | 'fail'; repoCreate?: 'success' | 'fail'; webUrl?: string } = {})
test/gstack-artifacts-init.test.ts:68
↓ 4 callersFunctionmakeMockBrowserManager
(mode: 'launched' | 'headed')
browse/test/server-factory.test.ts:403
↓ 4 callersFunctionmakeReq
(method: string, body?: any, headers?: Record<string, string>)
browse/test/cookie-picker-routes.test.ts:35
↓ 4 callersFunctionmarkMeaningfulActivity
()
design/src/daemon.ts:138
↓ 4 callersFunctionmockBm
(tabs: Array<{ id: number; url: string; title: string; active: boolean }>)
browse/test/tab-each.test.ts:69
↓ 4 callersFunctionnormalizeRelativePath
(filePath: string)
scripts/test-free-shards.ts:114
↓ 4 callersFunctionnum
(s: string | null)
make-pdf/src/image-policy.ts:221
↓ 4 callersFunctionparseBrief
(input: string, isFile: boolean)
design/src/brief.ts:46
↓ 4 callersFunctionparseFlag
(args: string[], flag: string)
browse/src/cli.ts:756
↓ 4 callersFunctionparseInfoString
(info: string)
make-pdf/src/diagram-prepass.ts:206
↓ 4 callersMethodpress
(key: string)
browse/src/browse-client.ts:218
↓ 4 callersFunctionprintUsage
()
bin/gstack-global-discover.ts:46
↓ 4 callersFunctionprocessVoiceTriggers
* 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 callersFunctionpushTabState
(reason)
extension/background.js:543
↓ 4 callersFunctionrasterizeDiagramFigures
( html: string, tab: RenderTab, contentWidthIn: number, warn: (msg: string) => void, )
make-pdf/src/diagram-prepass.ts:503
↓ 4 callersFunctionread
(fp: string)
test/required-reads.test.ts:11
↓ 4 callersFunctionread
()
browse/test/cli-setsid-daemonize.test.ts:27
↓ 4 callersFunctionreadBody
(req: IncomingMessage, maxBytes = 1_048_576)
ios-qa/daemon/src/index.ts:190
↓ 4 callersFunctionreadJsonl
(path: string)
lib/jsonl-store.ts:77
↓ 4 callersFunctionreadSkill
(host: string, projectSlug: string)
browse/src/domain-skills.ts:220
↓ 4 callersFunctionreadSkillForParity
( repoRoot: string, skill: string, sectioned: boolean, )
test/helpers/parity-harness.ts:67
← previousnext →801–900 of 2,512, ranked by callers