Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cursor/plugins
/ functions
Functions
412 in github.com/cursor/plugins
⨍
Functions
412
◇
Types & classes
44
↓ 4 callers
Method
spawnTask
* Spawn a cloud agent for `def`. One call = one logical attempt (bumps * `attempts`), with an inner transient-retry loop for network hiccups. *
orchestrate/skills/orchestrate/scripts/core/agent-manager.ts:591
↓ 4 callers
Method
stopTask
* Stop a task: cancel if running, prune if pending. If the SDK cancel fails * (backend drift, stale agentId), mark error locally so the operator is
orchestrate/skills/orchestrate/scripts/core/agent-manager.ts:1158
↓ 4 callers
Function
writePlan
(workspace: string)
orchestrate/skills/orchestrate/scripts/__tests__/wait-handoff-failure.test.ts:101
↓ 3 callers
Method
addReaction
(args: SlackMessageRef & { name: string })
orchestrate/skills/orchestrate/scripts/adapters/types.ts:60
↓ 3 callers
Function
assertOperatorModeOrBail
( action: string, flagPath?: string )
orchestrate/skills/orchestrate/scripts/cli/util.ts:508
↓ 3 callers
Function
buildManagerStub
(args: { workspace: string; tasks: TaskState[]; syncedReasons: string[]; onRecover?: (task: TaskState)
orchestrate/skills/orchestrate/scripts/__tests__/exit-on-error.test.ts:34
↓ 3 callers
Function
buildPromptScopedGoal
(t: PlanTask)
orchestrate/skills/orchestrate/scripts/core/prompts.ts:287
↓ 3 callers
Function
buildSlackBlock
( t: PlanTask, agentId: string | undefined, ctx: PromptRenderContext )
orchestrate/skills/orchestrate/scripts/core/prompts.ts:262
↓ 3 callers
Function
buildSubplannerPrompt
( t: PlanTask, agentId: string | undefined, ctx: PromptRenderContext )
orchestrate/skills/orchestrate/scripts/core/prompts.ts:201
↓ 3 callers
Function
buildUpstreamHandoffsSection
* Paste each dep's handoff into the downstream prompt so `dependsOn` carries * payload, not just scheduling. Workers live on sibling branches and can
orchestrate/skills/orchestrate/scripts/core/prompts.ts:87
↓ 3 callers
Function
buildVerifierPrompt
( t: Extract<PlanTask, { type: "verifier" }>, agentId: string | undefined, ctx: PromptRenderContext )
orchestrate/skills/orchestrate/scripts/core/prompts.ts:151
↓ 3 callers
Method
commitStateSnapshot
* Commit and push state.json + plan.json so remote observers can * `bun cli.ts crawl`. Called only on status transitions, not every * `lastUpdat
orchestrate/skills/orchestrate/scripts/core/agent-manager.ts:1488
↓ 3 callers
Function
fakeTask
(overrides: Partial<TaskState> = {})
orchestrate/skills/orchestrate/scripts/__tests__/failure-handoff.test.ts:14
↓ 3 callers
Function
inferKickoffRootSlug
(goal: string)
orchestrate/skills/orchestrate/scripts/cli/task.ts:510
↓ 3 callers
Function
initialTaskState
(plan: Plan, t: PlanTask)
orchestrate/skills/orchestrate/scripts/core/agent-manager.ts:1570
↓ 3 callers
Function
inspectRunStream
(args: { run: Run; task: string; agentId: string; runId: string; timeoutMs: number; })
orchestrate/skills/orchestrate/scripts/core/agent-manager.ts:1935
↓ 3 callers
Method
isRootPlanner
()
orchestrate/skills/orchestrate/scripts/core/agent-manager.ts:308
↓ 3 callers
Function
loadAllowedSlackThreadOrBail
( workspace: string | undefined )
orchestrate/skills/orchestrate/scripts/cli/util.ts:523
↓ 3 callers
Function
loadKickoffThreadTsOrBail
(args: { workspace: string; taskName: string; })
orchestrate/skills/orchestrate/scripts/cli/comments.ts:224
↓ 3 callers
Function
makeWorkspace
(args: { plan: unknown; state: unknown })
orchestrate/skills/orchestrate/scripts/__tests__/measurements-mismatch.test.ts:90
↓ 3 callers
Function
mergeWorkerTargetBranch
( plan: Pick<Plan, "rootSlug">, t: Pick<PlanTask | TaskState, "name" | "type"> )
orchestrate/skills/orchestrate/scripts/core/branches.ts:15
↓ 3 callers
Function
messageRefFromResponse
( payload: ChatPostMessageResponse | ChatUpdateResponse, args: { method: string; fallback?: SlackMessageRe
orchestrate/skills/orchestrate/scripts/adapters/slack/index.ts:270
↓ 3 callers
Function
normalizeEnumValue
(raw: string)
orchestrate/skills/orchestrate/scripts/core/handoff.ts:140
↓ 3 callers
Function
now
()
orchestrate/skills/orchestrate/scripts/tools/nudge-root.ts:18
↓ 3 callers
Function
parseJsonWithSchema
(args: { schema: Schema; text: string; source: string; recoveryHint: string; rejectDeletedTrackerFie
orchestrate/skills/orchestrate/scripts/schemas.ts:620
↓ 3 callers
Function
parseStateJson
(text: string, source: string)
orchestrate/skills/orchestrate/scripts/schemas.ts:580
↓ 3 callers
Function
parseTreeStateJson
(text: string, source: string)
orchestrate/skills/orchestrate/scripts/schemas.ts:590
↓ 3 callers
Function
printProbeResults
(results: ProbeResult[])
orchestrate/skills/orchestrate/scripts/tools/probe-models.ts:71
↓ 3 callers
Function
probeModelCatalog
( apiKey: string, opts: { catalog?: ModelProfile[]; agentApi?: ProbeAgentApi; } = {} )
orchestrate/skills/orchestrate/scripts/tools/probe-models.ts:29
↓ 3 callers
Function
profile
( slug: string, selection: ModelProfile["selection"] )
orchestrate/skills/orchestrate/scripts/__tests__/probe-models.test.ts:62
↓ 3 callers
Function
readPlan
(workspace: string)
orchestrate/skills/orchestrate/scripts/__tests__/agent-manager-slack-mirror.test.ts:37
↓ 3 callers
Function
readQueue
(path: string)
orchestrate/skills/orchestrate/scripts/core/comment-retry-queue.ts:200
↓ 3 callers
Method
recoverRunning
Re-attach to a task still `running` after a script restart.
orchestrate/skills/orchestrate/scripts/core/agent-manager.ts:751
↓ 3 callers
Function
requireSlackChannelIfTokenSet
(channel: string | undefined)
orchestrate/skills/orchestrate/scripts/cli/util.ts:471
↓ 3 callers
Function
requireTask
(plan: Plan, name: string)
orchestrate/skills/orchestrate/scripts/__tests__/worker-branch-discipline.test.ts:111
↓ 3 callers
Function
requireTask
(task: TaskState | undefined, name: string)
orchestrate/skills/orchestrate/scripts/__tests__/measurements-mismatch.test.ts:44
↓ 3 callers
Function
runPromptWithPlan
(plan: unknown)
orchestrate/skills/orchestrate/scripts/__tests__/prompt-plan-validation.test.ts:7
↓ 3 callers
Function
runningTask
(name: string)
orchestrate/skills/orchestrate/scripts/__tests__/exit-on-error.test.ts:10
↓ 3 callers
Function
setFakeRun
(opts: FakeRunOpts)
orchestrate/skills/orchestrate/scripts/__tests__/wait-handoff-failure.test.ts:44
↓ 3 callers
Function
setMessageSource
( current: MessageSource | undefined, next: MessageSource )
orchestrate/skills/orchestrate/scripts/tools/nudge-root.ts:143
↓ 3 callers
Function
stringField
(value: unknown)
orchestrate/skills/orchestrate/scripts/core/agent-manager.ts:2085
↓ 3 callers
Method
syncStateToGit
(reason: string)
orchestrate/skills/orchestrate/scripts/core/agent-manager.ts:1317
↓ 3 callers
Method
uploadFileToThread
(args: { threadTs: string; filename: string; content: Buffer | Uint8Array; initialComment?: st
orchestrate/skills/orchestrate/scripts/adapters/types.ts:35
↓ 3 callers
Function
useTempHome
()
orchestrate/skills/orchestrate/scripts/__tests__/operator-boundary.test.ts:106
↓ 3 callers
Function
writeQueue
(path: string, queue: CommentRetryEntry[])
orchestrate/skills/orchestrate/scripts/core/comment-retry-queue.ts:214
↓ 2 callers
Function
assertSlackDestinationAllowed
( destination: string, allowedThread: { channel: string; threadTs: string } | undefined )
orchestrate/skills/orchestrate/scripts/core/comment-retry-queue.ts:281
↓ 2 callers
Function
assertThreadAllowed
( threadTs: string, allowedThread: { channel: string; threadTs: string } | undefined )
orchestrate/skills/orchestrate/scripts/cli/comments.ts:280
↓ 2 callers
Function
atomicWrite
(path: string, body: string)
orchestrate/skills/orchestrate/scripts/core/failure-handoff.ts:196
↓ 2 callers
Function
buildMeasurementEnv
(args: { source: NodeJS.ProcessEnv; homeDir: string; })
orchestrate/skills/orchestrate/scripts/measurements.ts:285
↓ 2 callers
Method
callIgnoringSlackError
( call: () => Promise<unknown>, benignError: string )
orchestrate/skills/orchestrate/scripts/adapters/slack/index.ts:206
↓ 2 callers
Function
collapseWhitespace
(value: string)
orchestrate/skills/orchestrate/scripts/measurements.ts:227
↓ 2 callers
Function
createSlackWebClient
()
orchestrate/skills/orchestrate/scripts/adapters/slack/client.ts:3
↓ 2 callers
Function
defaultSender
()
orchestrate/skills/orchestrate/scripts/cli/andon.ts:121
↓ 2 callers
Method
editThreadMessage
(args: { threadTs: string; ts: string; text: string; })
orchestrate/skills/orchestrate/scripts/adapters/types.ts:30
↓ 2 callers
Method
enqueueSlackMirror
(task: TaskState)
orchestrate/skills/orchestrate/scripts/core/agent-manager.ts:1357
↓ 2 callers
Function
errorMessage
(err: unknown)
orchestrate/skills/orchestrate/scripts/core/andon.ts:249
↓ 2 callers
Function
exitOnErrorReturn
( mgr: AgentManager, preExistingErrors: Set<string> )
orchestrate/skills/orchestrate/scripts/core/loop.ts:109
↓ 2 callers
Function
formatToolCallIdleWarning
(args: { taskLabel: string; idleMs: number; lastToolCallAt: number | null; waitStartedAt: number; })
orchestrate/skills/orchestrate/scripts/core/agent-manager.ts:2004
↓ 2 callers
Method
getReactions
(args: SlackMessageRef)
orchestrate/skills/orchestrate/scripts/adapters/types.ts:41
↓ 2 callers
Method
getThreadReplies
( args: SlackMessageRef & { limit: number; cursor?: string; latest?: string; } )
orchestrate/skills/orchestrate/scripts/adapters/types.ts:44
↓ 2 callers
Method
gitOutput
(args: string[])
orchestrate/skills/orchestrate/scripts/core/agent-manager.ts:1462
↓ 2 callers
Function
hasNewTerminalError
( mgr: AgentManager, preExistingErrors: Set<string> )
orchestrate/skills/orchestrate/scripts/core/loop.ts:100
↓ 2 callers
Function
iconOverride
(args: { iconUrl?: string; iconEmoji?: string; })
orchestrate/skills/orchestrate/scripts/adapters/slack/index.ts:261
↓ 2 callers
Function
installSlackWebApiMock
()
orchestrate/skills/orchestrate/scripts/__tests__/support/slack-web-api-mock.ts:24
↓ 2 callers
Function
isFailedTerminalStatus
(status: TaskState["status"])
orchestrate/skills/orchestrate/scripts/core/loop.ts:232
↓ 2 callers
Function
isRecord
(value: unknown)
orchestrate/skills/orchestrate/scripts/cli/task.ts:574
↓ 2 callers
Method
latestStuckIdleMs
(task: TaskState)
orchestrate/skills/orchestrate/scripts/core/agent-manager.ts:1473
↓ 2 callers
Function
line
(cells: string[])
orchestrate/skills/orchestrate/scripts/cli/inspect.ts:93
↓ 2 callers
Function
loadAndonTargetOrBail
(opts: { workspace?: string })
orchestrate/skills/orchestrate/scripts/cli/util.ts:551
↓ 2 callers
Function
loadKickoffRefOrBail
(args: { workspace: string; taskName: string })
orchestrate/skills/orchestrate/scripts/cli/comments.ts:231
↓ 2 callers
Function
loadSDK
()
orchestrate/skills/orchestrate/scripts/core/agent-manager.ts:97
↓ 2 callers
Function
main
(argv: string[] = process.argv)
orchestrate/skills/orchestrate/scripts/cli/index.ts:10
↓ 2 callers
Function
makeFakeRun
(opts: FakeRunOpts)
orchestrate/skills/orchestrate/scripts/__tests__/wait-handoff-failure.test.ts:48
↓ 2 callers
Function
makeFixtureRepo
Build a local bare repo with `branch` containing `loc` lines in Settings.tsx.
orchestrate/skills/orchestrate/scripts/__tests__/measurements-mismatch.test.ts:57
↓ 2 callers
Function
mergeWorkerSourceBranches
(plan: Plan, t: PlanTask)
orchestrate/skills/orchestrate/scripts/core/branches.ts:24
↓ 2 callers
Method
mirrorTaskToSlack
( task: TaskState, rendered = this.slackRenderForTask(task) )
orchestrate/skills/orchestrate/scripts/core/agent-manager.ts:1324
↓ 2 callers
Function
normWs
(s)
cursor-team-kit/skills/pr-review-canvas/renderer.js:23
↓ 2 callers
Function
normalizedDependsOn
(task: PlanTask)
orchestrate/skills/orchestrate/scripts/schemas.ts:701
↓ 2 callers
Function
normalizedDependsOn
(t: PlanTask)
orchestrate/skills/orchestrate/scripts/core/agent-manager.ts:1609
↓ 2 callers
Function
parseIdleWarningMs
(message: string)
orchestrate/skills/orchestrate/scripts/core/agent-manager.ts:1789
↓ 2 callers
Function
parseNumericWithUnit
* Parse a value like `2.41 MB`, `84 passing`, or `100` as a numeric + * optional unit pair. End-anchored: "1.2 MB extra" returns null so callers * f
orchestrate/skills/orchestrate/scripts/measurements.ts:206
↓ 2 callers
Function
parsePositiveIntegerOrBail
(args: { value: string; flag: string; })
orchestrate/skills/orchestrate/scripts/cli/util.ts:314
↓ 2 callers
Function
parseSlackDestination
(destination: string)
orchestrate/skills/orchestrate/scripts/core/comment-retry-queue.ts:302
↓ 2 callers
Function
planIsRootPlanner
(plan: Plan)
orchestrate/skills/orchestrate/scripts/core/agent-manager.ts:1696
↓ 2 callers
Function
planTasks
(plan: Plan)
orchestrate/skills/orchestrate/scripts/core/prompts.ts:300
↓ 2 callers
Function
planTasks
(plan: Plan)
orchestrate/skills/orchestrate/scripts/core/loop.ts:293
↓ 2 callers
Function
postComment
(args: { destinations: CommentDestinations; destination: string; body: string; sender: string; criti
orchestrate/skills/orchestrate/scripts/core/comment-retry-queue.ts:254
↓ 2 callers
Method
postMessageInThread
(args: { threadTs: string; text: string; username?: string; iconUrl?: string; iconEmoji?:
orchestrate/skills/orchestrate/scripts/adapters/slack/index.ts:238
↓ 2 callers
Method
postRunKickoff
(args: { text: string; username: string; iconUrl?: string; iconEmoji?: string; })
orchestrate/skills/orchestrate/scripts/adapters/types.ts:10
↓ 2 callers
Function
promptContext
(plan: Plan)
orchestrate/skills/orchestrate/scripts/__tests__/worker-branch-discipline.test.ts:117
↓ 2 callers
Function
readAttention
(workspace: string)
orchestrate/skills/orchestrate/scripts/__tests__/measurements-mismatch.test.ts:103
↓ 2 callers
Function
readState
(workspace: string)
orchestrate/skills/orchestrate/scripts/__tests__/verifier-startingref-reconcile.test.ts:27
↓ 2 callers
Function
redactDeep
(value: unknown)
orchestrate/skills/orchestrate/scripts/core/agent-manager.ts:2063
↓ 2 callers
Method
removeReaction
(args: SlackMessageRef & { name: string })
orchestrate/skills/orchestrate/scripts/adapters/types.ts:61
↓ 2 callers
Function
renderModelCatalog
()
orchestrate/skills/orchestrate/scripts/models.ts:185
↓ 2 callers
Function
requirePlanSlackChannel
(plan: Plan)
orchestrate/skills/orchestrate/scripts/cli/comments.ts:265
↓ 2 callers
Function
requireSafeCommentBody
(body: string)
orchestrate/skills/orchestrate/scripts/cli/comments.ts:164
↓ 2 callers
Function
resolveSlackChannelOption
( explicit: string | undefined )
orchestrate/skills/orchestrate/scripts/cli/util.ts:437
↓ 2 callers
Function
resolveWorkspaceSlackChannelOrBail
(args: { workspace: string; explicit?: string; })
orchestrate/skills/orchestrate/scripts/cli/util.ts:454
↓ 2 callers
Method
respawnTask
Reset a terminal task to pending; the next `run` re-spawns it.
orchestrate/skills/orchestrate/scripts/core/agent-manager.ts:708
← previous
next →
101–200 of 412, ranked by callers