MCPcopy Create free account

hub / github.com/garrytan/gstack / functions

Functions2,512 in github.com/garrytan/gstack

↓ 22 callersFunctionrunScript
(args: string[], env: Record<string, string> = {})
test/gstack-memory-ingest.test.ts:31
↓ 21 callersFunctionapplyImagePolicy
(html: string, opts: ImagePolicyOptions)
make-pdf/src/image-policy.ts:116
↓ 21 callersFunctionbuildGbrainEnv
(opts: BuildGbrainEnvOptions = {})
lib/gbrain-exec.ts:96
↓ 21 callersMethodgetConnectionMode
()
browse/src/browser-manager.ts:255
↓ 21 callersFunctionrunConfig
(args: string[], extraEnv: Record<string, string> = {})
test/user-slug-fallback.test.ts:33
↓ 21 callersFunctionstripLoneSurrogates
(s: string)
browse/src/sanitize.ts:16
↓ 20 callersFunctionbuildFetchHandler
(cfg: ServerConfig)
browse/src/server.ts:1469
↓ 20 callersFunctionclassifyRoute
(method: string, path: string)
ios-qa/daemon/src/proxy.ts:105
↓ 20 callersMethodcommand
Send an arbitrary command; returns raw response text. Throws on non-2xx.
browser-skills/hackernews-frontpage/_lib/browse-client.ts:149
↓ 20 callersMethodget
()
browse/src/browse-client.ts:237
↓ 20 callersMethodget
()
browser-skills/hackernews-frontpage/_lib/browse-client.ts:237
↓ 20 callersMethodnewTab
(url?: string, clientId?: string)
browse/src/browser-manager.ts:764
↓ 20 callersFunctionparseNumberedOptions
( visible: string, )
test/helpers/claude-pty-runner.ts:638
↓ 20 callersFunctionrun
(cmd: string, args: string[])
test/skill-e2e-qa-workflow.test.ts:96
↓ 20 callersFunctionrun
( bin: string, opts: { mode: "ok" | "error503" | "netfail"; body?: string; json?: boolean;
test/security-dashboard-fallback.test.ts:89
↓ 20 callersFunctionrun
(args: string[])
test/gstack-settings-hook-schema-aware.test.ts:31
↓ 20 callersFunctionrun
(payload: string)
test/gstack-question-log.test.ts:24
↓ 20 callersFunctionrunHook
(stdin: object, cwd?: string, extraEnv?: Record<string, string>)
test/question-preference-hook.test.ts:63
↓ 20 callersFunctionsanitizeExtensionUrl
(url: string | null | undefined)
browse/src/sidebar-utils.ts:10
↓ 20 callersFunctionvalidateToken
(token: string)
browse/src/token-registry.ts:324
↓ 19 callersFunctionescapeHtml
(s: string)
make-pdf/src/render.ts:422
↓ 19 callersFunctionfetch
(req, server)
browse/src/terminal-agent.ts:495
↓ 19 callersFunctionfetchWith
(method: string, url: string, init: { headers?: Record<string, string>; body?: string } = {})
ios-qa/daemon/test/daemon-integration.test.ts:72
↓ 19 callersFunctionisPermissionDialogVisible
(visible: string)
test/helpers/claude-pty-runner.ts:282
↓ 19 callersFunctionisProcessAlive
(pid: number)
design/src/daemon-state.ts:142
↓ 19 callersFunctionmakeEntry
(overrides?: Partial<EvalTestEntry>)
test/helpers/eval-store.test.ts:28
↓ 19 callersFunctionmatchGlob
(file: string, pattern: string)
test/helpers/touchfiles.ts:19
↓ 19 callersFunctionresolveConfig
( env: Record<string, string | undefined> = process.env, )
browse/src/config.ts:53
↓ 19 callersMethodresolveRef
* Resolve a selector that may be a @ref (e.g., "@e3", "@c1") or a CSS selector. * Returns { locator } for refs or { selector } for CSS selectors.
browse/src/tab-session.ts:88
↓ 19 callersFunctionrunBash
(script: string, env: Record<string, string>)
test/context-save-hardening.test.ts:53
↓ 19 callersFunctionrunDetect
(extraEnv: Record<string, string> = {})
test/gstack-gbrain-detect-mcp-mode.test.ts:57
↓ 19 callersFunctionselectTests
( changedFiles: string[], touchfiles: Record<string, string[]>, globalTouchfiles: string[] = GLOBAL_TOUC
test/helpers/touchfiles.ts:859
↓ 19 callersFunctionsetupMockInstall
(skills: string[])
test/relink.test.ts:40
↓ 19 callersFunctionvalidateOutputPath
(filePath: string)
browse/src/path-security.ts:33
↓ 18 callersFunctionappendToRingBuffer
(session: PtySession, frame: Buffer)
browse/src/terminal-agent.ts:188
↓ 18 callersFunctionbuildCtx
(skillName: string)
test/brain-preflight.test.ts:22
↓ 18 callersFunctioncarefulInput
(command: string)
test/hook-scripts.test.ts:41
↓ 18 callersMethodcloseTab
(id?: number)
browse/src/browser-manager.ts:796
↓ 18 callersMethodcreate
Create an isolated worktree. Returns the worktree path. Throws on failure.
lib/worktree.ts:115
↓ 18 callersFunctionescapeHtml
(str)
extension/sidepanel.js:232
↓ 18 callersFunctionformatBytes
(n: number)
browse/src/memory-snapshot.ts:68
↓ 18 callersMethodgetCurrentUrl
()
browse/src/browser-manager.ts:1034
↓ 18 callersMethodgetTabCount
()
browse/src/browser-manager.ts:877
↓ 18 callersFunctionhandleSkillCommand
(args: string[], ctx: SkillCommandContext)
browse/src/browser-skill-commands.ts:49
↓ 18 callersFunctionisErrorResponse
(response: unknown)
hosts/claude/hooks/auq-error-fallback-hook.ts:96
↓ 18 callersFunctionmakeCtx
(explainLevel?: 'default' | 'terse', tier: number = 4)
test/terse-build.test.ts:21
↓ 18 callersFunctionmakeEnv
* Build a tmp HOME + GSTACK_HOME + optional fake `gbrain` on PATH. * * The classifier reads HOME via os.homedir() which reads process.env.HOME, so
test/gbrain-local-status.test.ts:62
↓ 18 callersFunctionmakeFakeGbrain
(opts: { version?: string | null; // null = "binary missing" (don't write the file) syncFails?: boolean; }
test/gstack-gbrain-source-wireup.test.ts:30
↓ 18 callersFunctionpad
(s: string, n: number)
test/helpers/benchmark-runner.ts:152
↓ 18 callersFunctionreadShipUnion
()
test/gen-skill-docs.test.ts:25
↓ 18 callersFunctionreadStateFile
(stateFile: string = resolveStateFilePath())
design/src/daemon-state.ts:89
↓ 18 callersFunctionresultSuccess
(cost = 0.01, turns = 1)
test/agent-sdk-runner.test.ts:95
↓ 18 callersFunctionrun
(args: string[])
test/gstack-artifacts-url.test.ts:15
↓ 18 callersFunctionrun
(argv: string[], opts: { env?: Record<string, string>; input?: string } = {})
test/gstack-artifacts-init.test.ts:123
↓ 18 callersFunctionrun
(cmd: string, args: string[])
test/skill-e2e-cso.test.ts:27
↓ 18 callersFunctionrunBin
( bin: string, args: string[], )
test/plan-tune-gates.test.ts:48
↓ 18 callersFunctionsystemInit
(model = 'claude-opus-4-7', version = '2.1.117')
test/agent-sdk-runner.test.ts:48
↓ 18 callersMethodvisibleSince
Visible text since the most recent (or specific) mark.
test/helpers/claude-pty-runner.ts:112
↓ 17 callersFunctionassistantTurn
( blocks: Array<{ type: 'text'; text: string } | { type: 'tool_use'; name: string; input: unknown }>, )
test/agent-sdk-runner.test.ts:68
↓ 17 callersFunctionbase
(overrides: Partial<OverlayFixture> = {})
test/agent-sdk-runner.test.ts:714
↓ 17 callersFunctionemitActivity
(entry: Omit<ActivityEntry, 'id' | 'timestamp'>)
browse/src/activity.ts:129
↓ 17 callersFunctionfetchJson
(method: string, url: string, init: { headers?: Record<string, string>; body?: string } = {})
test/skill-e2e-ios.test.ts:158
↓ 17 callersFunctiongenerateBrainWriteBack
(ctx: TemplateContext)
scripts/resolvers/gbrain.ts:222
↓ 17 callersMethodgetRefCount
()
browse/src/tab-session.ts:118
↓ 17 callersFunctiongrantIdentity
(opts: { identity: string; capability: Capability; ttlSeconds?: number | null; // null/undefined = no ex
ios-qa/daemon/src/allowlist.ts:78
↓ 17 callersMethodisWatching
()
browse/src/browser-manager.ts:258
↓ 17 callersMethodlaunch
()
browse/src/browser-manager.ts:340
↓ 17 callersFunctionmakeTestHome
()
test/gstack-memory-ingest.test.ts:27
↓ 17 callersMethodmint
* Mint a session token. Returns null on rate limit.
ios-qa/daemon/src/session-tokens.ts:23
↓ 17 callersFunctionpublishTestBoard
(opts: { dir?: string; body?: string; title?: string } = {})
design/test/daemon.test.ts:33
↓ 17 callersFunctionreadJsonl
()
test/telemetry.test.ts:26
↓ 17 callersFunctionreadProfile
()
test/gstack-developer-profile.test.ts:61
↓ 17 callersFunctionrun
(cmd: string, args: string[])
test/skill-e2e-design.test.ts:53
↓ 17 callersFunctionsafeUnlink
(filePath: string)
browse/src/error-handling.ts:15
↓ 17 callersFunctionsendJson
(res: ServerResponse, status: number, body: unknown)
ios-qa/daemon/src/index.ts:217
↓ 17 callersFunctionsetTabCount
Drive the guardrail by writing directly into the manager's pages map.
browse/test/tab-guardrail.test.ts:33
↓ 17 callersFunctionsetupGstackRepo
(remoteUrl: string)
test/gstack-gbrain-source-wireup.test.ts:142
↓ 17 callersFunctionstartTestServer
(port: number = 0)
browse/test/test-server.ts:11
↓ 17 callersFunctiontestIfSelected
Skip an individual test if not selected (for multi-test describe blocks).
test/skill-e2e.test.ts:55
↓ 17 callersFunctionvalidateFixtures
(fixtures: OverlayFixture[])
test/fixtures/overlay-nudges.ts:63
↓ 17 callersFunctionwriteSecureFile
( filePath: string, data: string | NodeJS.ArrayBufferView, )
browse/src/file-permissions.ts:118
↓ 16 callersFunctionapplyEnv
* Apply a FakeEnv to process.env. Returns a function that restores previous values. * * PATH is REPLACED (not prepended) so a real `gbrain` on the i
test/gbrain-local-status.test.ts:156
↓ 16 callersFunctioncreateRepo
(files: string[])
test/diff-scope.test.ts:17
↓ 16 callersMethodfinalize
()
test/helpers/eval-store.ts:698
↓ 16 callersFunctionfreshSem
(cap = 10)
test/agent-sdk-runner.test.ts:221
↓ 16 callersFunctionisNumberedOptionListVisible
(visible: string)
test/helpers/claude-pty-runner.ts:303
↓ 16 callersFunctionlistBrowserSkills
(tiers?: TierPaths)
browse/src/browser-skills.ts:322
↓ 16 callersFunctionmakeMinimalConfig
(overrides: Partial<ServerConfig> = {})
browse/test/server-factory.test.ts:215
↓ 16 callersFunctionparseSkillFile
(content: string, opts: { skillName?: string } = {})
browse/src/browser-skills.ts:132
↓ 16 callersFunctionparseSourcesList
(raw: unknown)
lib/gbrain-sources.ts:53
↓ 16 callersFunctionrun
(bin: string, args: string[], opts: RunOpts = {})
test/gbrain-detect-install.test.ts:34
↓ 16 callersFunctionrunScope
(dir: string)
test/diff-scope.test.ts:47
↓ 16 callersFunctionstageSkill
(opts: StageSkillOptions)
browse/src/browser-skill-write.ts:67
↓ 16 callersFunctiontest
(name: string, fn: any)
test/gstack-artifacts-init.test.ts:24
↓ 15 callersFunctionargs
Build a CliArgs with all flags off, overriding only what a case needs.
test/gbrain-dream-stage.test.ts:37
↓ 15 callersFunctionbuildGStackLaunchArgs
()
browse/src/stealth.ts:511
↓ 15 callersFunctioncanonicalizeRemote
(url: string | null | undefined)
lib/gstack-memory-helpers.ts:93
↓ 15 callersFunctioncheckOwnedStagingDir
(dir: string, gstackHome: string)
lib/staging-guard.ts:70
↓ 15 callersFunctioncleanup
()
browse/src/sse-helpers.ts:81
↓ 15 callersFunctionfreshImport
()
browse/test/domain-skills-storage.test.ts:10
← previousnext →101–200 of 2,512, ranked by callers