MCPcopy Create free account

hub / github.com/garrytan/gstack / functions

Functions2,512 in github.com/garrytan/gstack

↓ 5 callersFunctionderivePathOnlyHashLegacyId
(repoPath: string)
bin/gstack-gbrain-sync.ts:396
↓ 5 callersFunctiondoctor
(check: { name: string; status: string; message?: string } | null)
test/gbrain-cycle-completed.test.ts:59
↓ 5 callersFunctionencodeWordPiece
(text: string, tok: TokenizerState, maxLength: number = 512)
browse/src/security-bunnative.ts:103
↓ 5 callersFunctionengineCachePath
()
lib/gstack-memory-helpers.ts:205
↓ 5 callersFunctionensureSourceRegistered
( id: string, path: string, options: EnsureOptions = {} )
lib/gbrain-sources.ts:133
↓ 5 callersFunctionenv
()
test/gstack-decision-semantic.test.ts:76
↓ 5 callersFunctionevaluateConsentGate
* Simulate the consent-gate check as the agent would evaluate it from * the template's Step 0 prose. Mirrors exactly the conditions in * plan-tune/S
test/plan-tune-gates.test.ts:71
↓ 5 callersMethodexitCode
Exit code, if known.
test/helpers/claude-pty-runner.ts:132
↓ 5 callersFunctionextractDescription
(content: string)
test/gen-skill-docs.test.ts:29
↓ 5 callersFunctionfence
(over: Partial<{ lang: string; source: string; ordinal: number }>)
make-pdf/test/coverage-gaps.test.ts:39
↓ 5 callersFunctionfetch
(req)
test/skill-e2e.test.ts:1333
↓ 5 callersMethodfill
(selector: string, value: string)
browse/src/browse-client.ts:214
↓ 5 callersFunctionfindExecutable
(base: string)
make-pdf/src/pdftotext.ts:52
↓ 5 callersFunctionfirstLine
(s: string)
make-pdf/src/diagram-prepass.ts:844
↓ 5 callersFunctionformatStage
(s: StageResult)
bin/gstack-gbrain-sync.ts:1461
↓ 5 callersFunctionfreshPrivacyMap
()
test/gstack-upgrade-migration-v1_40_0_0.test.ts:141
↓ 5 callersFunctiongenerateAskUserFormat
(_ctx: TemplateContext)
scripts/resolvers/preamble/generate-ask-user-format.ts:3
↓ 5 callersFunctiongenerateCompareHtml
(images: string[])
design/src/compare.ts:20
↓ 5 callersFunctiongenerateLlmsTxt
(opts: GenerateOptions = {})
scripts/gen-llms-txt.ts:131
↓ 5 callersFunctiongeneratePickerCode
()
browse/src/cookie-picker-routes.ts:37
↓ 5 callersFunctiongenerateWritingStyle
(ctx: TemplateContext)
scripts/resolvers/preamble/generate-writing-style.ts:16
↓ 5 callersFunctiongetCleanTextWithStripping
(page: Page | Frame)
browse/src/content-security.ts:170
↓ 5 callersFunctiongetDeviceTunnelIPv6FromDevicectl
( udid: string, spawn: SpawnImpl = defaultSpawn, )
ios-qa/daemon/src/devicectl.ts:110
↓ 5 callersFunctiongetOrCreateCdpSession
( page: Page, cache: WeakMap<Page, any>, )
browse/src/cdp-bridge.ts:79
↓ 5 callersFunctiongetSessionMarker
()
browse/src/content-security.ts:30
↓ 5 callersFunctiongetTokenInfo
Validate token and return TokenInfo. Returns null if invalid/expired.
browse/src/server.ts:477
↓ 5 callersFunctiongit
(...a: string[])
test/gstack-version-bump.test.ts:108
↓ 5 callersFunctiongit
(args: string[])
test/skill-e2e-opus-47.test.ts:117
↓ 5 callersFunctiongitRun
(args: string[])
test/skill-e2e-autoplan-chain.test.ts:57
↓ 5 callersFunctionglobalFile
()
browse/src/domain-skills.ts:69
↓ 5 callersFunctionhashPayload
(payload: string)
browse/src/security.ts:362
↓ 5 callersFunctionimportCookies
( browserName: string, domains: string[], profile = 'Default', )
browse/src/cookie-import-browser.ts:247
↓ 5 callersFunctionisInside
(p: string, dir: string)
lib/gbrain-guards.ts:53
↓ 5 callersFunctionisPublicIPv4
(ip: string)
lib/redact-patterns.ts:112
↓ 5 callersFunctionisTransactionModePooler
(url: string)
lib/gbrain-exec.ts:66
↓ 5 callersFunctionjudge
(section: string, content: string)
test/helpers/llm-judge.ts:89
↓ 5 callersFunctionlogHookError
(msg: string)
hosts/claude/hooks/question-preference-hook.ts:71
↓ 5 callersFunctionlogPath
()
test/redact-audit-log.test.ts:16
↓ 5 callersFunctionmakeEnv
(extra: Record<string, string> = {})
test/distill-free-text.test.ts:34
↓ 5 callersFunctionmakeEnv
(opts: { remoteHttpMcp?: boolean; hasLocalConfig?: boolean; optedOut?: boolean; })
test/gstack-upgrade-migration-v1_37_0_0.test.ts:48
↓ 5 callersFunctionmakeFakeGbrainScript
( behavior: "ok" | "broken-db" | "broken-config" | "throws" | "slow", )
test/gbrain-local-status.test.ts:104
↓ 5 callersFunctionmakeFixture
(detectionJson: string | null)
test/gbrain-detection-override.test.ts:34
↓ 5 callersFunctionmakeReturn
(exit: number, stdout: string, stderr: string)
ios-qa/daemon/test/tunnel-bootstrap.test.ts:60
↓ 5 callersFunctionmakeStubFetch
( responses: Response[], calls: CallRecord[], )
design/test/variants-retry-after.test.ts:30
↓ 5 callersFunctionmkTmpDir
()
test/team-mode.test.ts:12
↓ 5 callersFunctionmockReq
(cookieHeader: string | null)
browse/test/sse-session-cookie.test.ts:117
↓ 5 callersFunctionmsToStr
(ms: number)
test/helpers/benchmark-runner.ts:156
↓ 5 callersFunctionop
(label: string, holdMs: number)
browse/test/cdp-mutex.test.ts:18
↓ 5 callersMethodopen
* Open a tab and load the diagram-render bundle. The bundle HTML is staged * under /tmp (content-addressed, reused across runs — load-html only rea
make-pdf/src/diagram-prepass.ts:314
↓ 5 callersFunctionparseSkillRunArgs
(args: string[])
browse/src/browser-skill-commands.ts:130
↓ 5 callersFunctionpostCommand
(baseUrl: string, token: string, body: any)
browse/test/pair-agent-tunnel-eval.test.ts:132
↓ 5 callersFunctionprimaryDimensionFor
(signalKey: string)
scripts/declared-annotation.ts:87
↓ 5 callersFunctionprobeUnion
(snap: Map<string, string>)
test/gbrain-detection-override.test.ts:112
↓ 5 callersFunctionpromoteConductorEnv
()
lib/conductor-env-shim.ts:29
↓ 5 callersFunctionrateLimited
(retryAfter?: string)
design/test/variants-retry-after.test.ts:20
↓ 5 callersFunctionreadImportedEvents
()
test/gstack-codex-session-import.test.ts:79
↓ 5 callersFunctionreadPidStartTime
(pid: number)
browse/src/xvfb.ts:88
↓ 5 callersFunctionreadPolicy
()
test/gbrain-repo-policy.test.ts:43
↓ 5 callersFunctionreadSection
(file: string)
test/template-context-parity.test.ts:22
↓ 5 callersFunctionreadSkillUnion
(skill: string)
test/skill-validation.test.ts:14
↓ 5 callersFunctionreadSnapshot
(paths: DecisionPaths)
lib/gstack-decision.ts:233
↓ 5 callersFunctionregenAndSnapshot
* Run gen-skill-docs with --respect-detection and an isolated GSTACK_HOME. * Returns the regenerated office-hours/SKILL.md content WITHOUT writing *
test/gbrain-detection-override.test.ts:63
↓ 5 callersFunctionrenderDashboard
(heartbeat: HeartbeatData | null, partial: PartialData | null)
scripts/eval-watch.ts:74
↓ 5 callersFunctionresolveBrowser
(nameOrAlias: string)
browse/src/cookie-import-browser.ts:295
↓ 5 callersFunctionresolveHostArg
(arg: string)
hosts/index.ts:47
↓ 5 callersFunctionresolveLockFilePath
(stateFile: string = resolveStateFilePath())
design/src/daemon-state.ts:46
↓ 5 callersFunctionresolveServerScript
( env: Record<string, string | undefined> = process.env, metaDir: string = import.meta.dir, execPath: st
browse/src/cli.ts:26
↓ 5 callersFunctionresolveTunnelIPv6
(opts: { udid: string; deviceName: string; spawn?: SpawnImpl; resolve?: ResolveImpl; legacyResolve?:
ios-qa/daemon/src/devicectl.ts:219
↓ 5 callersFunctionrestrictFilePermissions
(filePath: string)
browse/src/file-permissions.ts:67
↓ 5 callersFunctionrun
(cmd: string, args: string[])
test/skill-e2e-autoplan-dual-voice.test.ts:26
↓ 5 callersFunctionrun
(cmd: string, args: string[])
test/skill-e2e-office-hours-brain-writeback.test.ts:77
↓ 5 callersFunctionrun
(cmd: string, args: string[])
test/skill-e2e-plan-format.test.ts:83
↓ 5 callersFunctionrun
(cmd: string, args: string[])
test/codex-e2e-plan-format.test.ts:129
↓ 5 callersFunctionrun
(cmd: string, args: string[])
test/skill-e2e-office-hours-phase4.test.ts:54
↓ 5 callersFunctionrun
(cmd: string, args: string[])
test/skill-e2e-session-intelligence.test.ts:33
↓ 5 callersFunctionrun
(cmd: string, args: string[])
test/skill-e2e-plan-prosons.test.ts:114
↓ 5 callersFunctionrun
(cmd: string, args: string[])
test/skill-e2e-skillify.test.ts:69
↓ 5 callersFunctionrun
(cmd: string, args: string[])
test/skill-e2e-context-skills.test.ts:36
↓ 5 callersFunctionrun
(cmd: string, args: string[])
test/skill-e2e-learnings.test.ts:27
↓ 5 callersFunctionrun
(cmd: string, args: string[])
test/skill-e2e-plan-tune.test.ts:33
↓ 5 callersFunctionrunBin
( bin: string, args: string[], env: Record<string, string | undefined>, )
test/gstack-state-root-override.test.ts:41
↓ 5 callersFunctionrunHook
Spawn the hook with synthetic stdin + controlled env; parse its JSON stdout.
test/auq-error-fallback-hook.test.ts:80
↓ 5 callersFunctionsanitizeTestName
(name: string)
test/helpers/session-runner.ts:20
↓ 5 callersFunctionscaffoldFixture
Scaffold a fixture project with the bins + scripts the cathedral needs.
test/skill-e2e-plan-tune-cathedral.test.ts:42
↓ 5 callersFunctionscanPageContent
(text: string)
browse/src/security-classifier.ts:283
↓ 5 callersFunctionseedInstallDir
(version: string)
test/gbrain-detect-install.test.ts:187
↓ 5 callersFunctionsemanticRecall
( query: string, env?: NodeJS.ProcessEnv, minScore = 0.1, limit = 3, )
lib/gstack-decision-semantic.ts:78
↓ 5 callersFunctionsend
(event, data)
browse/src/sse-helpers.ts:99
↓ 5 callersFunctionsetupSkillifyWorkdir
* Build a working directory that has: * - The /scrape and /skillify skills installed under .claude/skills/ * - The browse binary symlinked + fin
test/skill-e2e-skillify.test.ts:64
↓ 5 callersFunctionsliceBetween
(source: string, start: string, end: string)
browse/test/server-pty-lease-routes.test.ts:88
↓ 5 callersFunctionsourcePageCount
(id: string, env?: NodeJS.ProcessEnv)
lib/gbrain-sources.ts:197
↓ 5 callersFunctionspawnDaemonForTest
( opts: { stateFile?: string; idleMs?: number; checkMs?: number; env?: Record<string, string> } = {}, )
design/test/daemon-tests-fixtures.ts:63
↓ 5 callersFunctionstableHash
(input: string)
scripts/test-free-shards.ts:197
↓ 5 callersFunctionstartEcho
* Minimal echo TCP server. Used as the destination behind the mock upstream * so we can verify byte-for-byte round trip from a SOCKS5 client through
browse/test/socks-bridge.test.ts:138
↓ 5 callersFunctionstartServer
(extraEnv?: Record<string, string>)
browse/src/cli.ts:295
↓ 5 callersFunctionstartStubStateServer
(initial: StubState)
test/skill-e2e-ios.test.ts:61
↓ 5 callersFunctionsubstituteSlots
(html: string, slots: Map<string, string>)
make-pdf/src/diagram-prepass.ts:225
↓ 5 callersFunctionsuccessResponse
()
design/test/variants-retry-after.test.ts:11
↓ 5 callersFunctiontotalBrainBytes
(skillName: string)
test/skill-preflight-budget.test.ts:38
↓ 5 callersFunctiontryAutoConnect
* Eager-connect when the sidebar opens. Polls for sidepanel.js to populate * window.gstackServerPort + window.gstackAuthToken (which it does as soo
extension/sidepanel-terminal.js:983
← previousnext →701–800 of 2,512, ranked by callers