MCPcopy Index your code

hub / github.com/paperclipai/paperclip / functions

Functions13,941 in github.com/paperclipai/paperclip

↓ 2,338 callersMethodget
* Read a state value. * * Returns the stored JSON value as-is, or `null` if no entry has been set * for this scope+key combination. Falsy val
packages/plugins/sdk/src/types.ts:767
↓ 1,544 callersMethodset
* Write a state value. Creates the row if it does not exist; replaces it * atomically (upsert) if it does. Safe to call concurrently. * * Any
packages/plugins/sdk/src/types.ts:779
↓ 1,344 callersMethoddelete
* Delete a state value. No-ops silently if the entry does not exist * (idempotent by design — safe to call without prior `get()`). * * @param
packages/plugins/sdk/src/types.ts:787
↓ 1,009 callersFunctionrequest
(path: string, init?: RequestInit)
ui/src/api/client.ts:15
↓ 897 callersMethodpost
(path: string, body?: unknown, opts?: RequestOptions)
cli/src/client/http.ts:70
↓ 852 callersMethodupdate
( goalId: string, patch: Partial<Pick< Goal, "title" | "description" | "level" | "status"
packages/plugins/sdk/src/types.ts:1595
↓ 838 callersFunctioncn
(...inputs: ClassValue[])
ui/src/lib/utils.ts:6
↓ 772 callersMethodsend
(data: string)
server/src/realtime/live-events-ws.ts:16
↓ 727 callersMethodstatus
Check the stored folder readiness for a company and folder key.
packages/plugins/sdk/src/types.ts:505
↓ 673 callersFunctionact
(callback: () => void | Promise<void>)
ui/src/components/Layout.test.tsx:214
↓ 669 callersMethodparse
* Try to parse `input` as a plugin manifest. * * Returns a {@link ManifestParseSuccess} when the input passes all * validation rules, or a {@
server/src/services/plugin-manifest-validator.ts:72
↓ 634 callersMethodregisterPath
(pathRegistration: OpenApiPathRegistration)
server/src/routes/openapi.ts:358
↓ 623 callersMethodlist
(input: { companyId: string; level?: Goal["level"]; status?: Goal["status"]; limit?: number;
packages/plugins/sdk/src/types.ts:1578
↓ 586 callersFunctiontext
(testId)
scripts/measure-issue-chat-long-thread.mjs:59
↓ 533 callersMethodrender
(_url: string)
server/src/vite-html-renderer.ts:14
↓ 478 callersMethodlog
* Write an activity log entry attributed to this plugin. * * The host writes the entry with `actor_type = plugin` and * `actor_id = <pluginId
packages/plugins/sdk/src/types.ts:700
↓ 478 callersMethodresolve
* Resolve a secret reference to its current value. * * The reference is a string identifier pointing to a secret configured * in the Papercli
packages/plugins/sdk/src/types.ts:663
↓ 473 callersFunctionuuid
()
ui/src/lib/issue-output.test.ts:38
↓ 453 callersMethodon
* Subscribe to a core Paperclip domain event or a plugin-namespaced event. * * @param name - Event type, e.g. `"issue.created"` or `"plugin.@acm
packages/plugins/sdk/src/types.ts:536
↓ 447 callersFunctionunprocessable
(message: string, details?: unknown)
server/src/errors.ts:32
↓ 402 callersFunctionasString
(value: unknown, fallback: string)
packages/adapter-utils/src/server-utils.ts:316
↓ 401 callersMethodwriteFile
(remotePath: string, bytes: ArrayBuffer, options?: SandboxTransferProgressOptions)
packages/adapter-utils/src/sandbox-managed-runtime.ts:76
↓ 390 callersMethodresolve
(input: { companyId: string; object: ExternalObjectRecord; })
server/src/services/external-objects.ts:83
↓ 366 callersMethodnow
()
packages/adapters/codex-local/src/server/output-inactivity-monitor.test.ts:15
↓ 348 callersFunctionprintOutput
(data: unknown, opts: { json?: boolean; label?: string } = {})
cli/src/commands/client/common.ts:193
↓ 327 callersFunctionnotFound
(message = "Not found")
server/src/errors.ts:24
↓ 313 callersFunctiontimestamp
(date: Date = new Date())
packages/db/src/backup-lib.ts:90
↓ 298 callersFunctionresolveCommandContext
( options: BaseClientOptions, opts?: { requireCompany?: boolean }, )
cli/src/commands/client/common.ts:48
↓ 293 callersFunctionaddCommonClientOptions
(command: Command, opts?: { includeCompany?: boolean })
cli/src/commands/client/common.ts:30
↓ 293 callersFunctionhandleCommandError
(error: unknown)
cli/src/commands/client/common.ts:288
↓ 284 callersMethodwarn
Log a warning.
packages/plugins/sdk/src/types.ts:1009
↓ 283 callersMethodpatch
(path: string, body?: unknown, opts?: RequestOptions)
cli/src/client/http.ts:77
↓ 269 callersFunctionlogActivity
(db: Db, input: LogActivityInput)
server/src/services/activity-log.ts:65
↓ 257 callersFunctionapiPath
(strings: TemplateStringsArray, ...values: Array<string | number | boolean | null | undefined>)
cli/src/commands/client/common.ts:124
↓ 248 callersFunctionassertCompanyAccess
(req: Request, companyId: string)
server/src/routes/authz.ts:53
↓ 237 callersMethodreadFile
( remotePath: string, options?: SandboxTransferProgressOptions, )
packages/adapter-utils/src/sandbox-managed-runtime.ts:77
↓ 229 callersMethodcreate
(input: { companyId: string; title: string; description?: string; level?: Goal["level"]; s
packages/plugins/sdk/src/types.ts:1586
↓ 210 callersFunctionact
(callback: () => void | Promise<void>)
ui/src/pages/Auth.test.tsx:57
↓ 205 callersMethodremove
(remotePath: string)
packages/adapter-utils/src/sandbox-managed-runtime.ts:82
↓ 199 callersFunctionreadNonEmptyString
(value: unknown)
server/src/services/heartbeat.ts:1746
↓ 191 callersFunctionstringField
(value: unknown)
packages/plugins/plugin-llm-wiki/src/worker.ts:64
↓ 175 callersFunctionconflict
(message: string, details?: unknown)
server/src/errors.ts:28
↓ 159 callersMethoderror
Log an error.
packages/plugins/sdk/src/types.ts:1011
↓ 155 callersFunctionheartbeatService
(db: Db, options: HeartbeatServiceOptions = {})
server/src/services/heartbeat.ts:3518
↓ 154 callersMethodcall
* Send a typed host→worker RPC call. * * @param method - The RPC method name * @param params - Method parameters * @param timeoutMs - Opti
server/src/services/plugin-worker-manager.ts:260
↓ 151 callersMethodinfo
Log an informational message.
packages/plugins/sdk/src/types.ts:1007
↓ 150 callersMethodcleanup
()
packages/adapter-utils/src/sandbox-callback-bridge.ts:132
↓ 148 callersFunctionvalidate
(schema: ZodSchema)
server/src/middleware/validate.ts:4
↓ 140 callersFunctiongetActorInfo
(req: Request)
server/src/routes/authz.ts:77
↓ 139 callersFunctionparseObject
(value: unknown)
server/src/services/workspace-realization.ts:10
↓ 136 callersFunctionasString
(value: unknown)
server/src/services/company-portability.ts:711
↓ 130 callersFunctionrecent
(minutesAgo: number)
ui/storybook/fixtures/paperclipData.ts:28
↓ 121 callersMethodclear
* Remove all subscriptions registered by this plugin.
server/src/services/plugin-event-bus.ts:411
↓ 119 callersFunctioncreateDb
(url: string)
packages/db/src/client.ts:48
↓ 119 callersFunctionparseObject
(value: unknown)
packages/adapter-utils/src/server-utils.ts:309
↓ 117 callersMethodregister
* Register a handler for a scheduled job. * * The `key` must match a `jobKey` declared in the plugin manifest. * The host calls this handler
packages/plugins/sdk/src/types.ts:584
↓ 116 callersFunctionwriteFile
(target: string, content: string)
packages/plugins/create-paperclip-plugin/src/index.ts:51
↓ 114 callersFunctionforbidden
(message = "Forbidden")
server/src/errors.ts:20
↓ 113 callersFunctionjsonBody
(schema: z.ZodTypeAny)
server/src/routes/openapi.ts:444
↓ 112 callersMethodwrite
* Write a numeric metric data point. * * @param name - Metric name (plugin-namespaced by the host) * @param value - Numeric value * @param
packages/plugins/sdk/src/types.ts:1035
↓ 108 callersFunctiononLog
(stream: "stdout" | "stderr", chunk: string)
server/src/routes/projects.ts:539
↓ 107 callersFunctionjsonBody
(schema: z.ZodTypeAny)
doc/plans/2026-05-23-cli-api-parity-openapi-reference.ts:154
↓ 104 callersFunctionreadFile
(companyId: string, skillId: string, relativePath: string)
server/src/services/company-skills.ts:2949
↓ 103 callersFunctionstartEmbeddedPostgresTestDatabase
( tempDirPrefix: string, )
packages/db/src/test-embedded-postgres.ts:146
↓ 95 callersFunctionasNumber
(value: unknown, fallback: number)
packages/adapter-utils/src/server-utils.ts:320
↓ 95 callersFunctionuseCompany
()
ui/src/context/CompanyContext.tsx:172
↓ 94 callersFunctioncallHost
* Send a typed JSON-RPC request to the host and await the response.
packages/plugins/sdk/src/worker-rpc-host.ts:331
↓ 93 callersMethodend
(chunk?: string)
server/src/__tests__/live-events-ws.test.ts:23
↓ 93 callersFunctiongated
* Create a capability-gated proxy handler for a method. * * @param method - The RPC method name (used for capability lookup) * @param handler
packages/plugins/sdk/src/host-client-factory.ts:613
↓ 93 callersFunctiongetEmbeddedPostgresTestSupport
()
packages/db/src/test-embedded-postgres.ts:139
↓ 90 callersFunctionasString
(value)
packages/adapters/hermes/gateway-ui-parser.cjs:16
↓ 90 callersFunctionisPlainRecord
(value: unknown)
server/src/services/company-portability.ts:707
↓ 90 callersFunctiononChange
(event: MediaQueryListEvent)
ui/src/components/SidebarProjects.tsx:104
↓ 89 callersFunctionsecretService
(db: Db)
server/src/services/secrets.ts:358
↓ 88 callersMethodexecute
(input: SandboxExecuteInput)
server/src/services/sandbox-provider-runtime.ts:94
↓ 86 callersFunctionasString
(value: unknown)
server/src/services/company-skills.ts:374
↓ 85 callersFunctionbadRequest
(message: string, details?: unknown)
server/src/errors.ts:12
↓ 85 callersFunctionresolve
(params)
server/src/services/plugin-host-services.ts:1241
↓ 83 callersMethoddecide
* Inspect a single shell command (the literal argument to `sh -c <cmd>`). * Returns the action the plugin should take.
packages/plugins/sandbox-providers/kubernetes/src/upload-interceptor.ts:70
↓ 82 callersFunctionrequireCapability
(manifest: PaperclipPluginManifestV1, allowed: Set<PluginCapability>, capability: PluginCapability)
packages/plugins/sdk/src/testing.ts:420
↓ 80 callersFunctionnonEmpty
(value: unknown)
packages/adapters/openclaw-gateway/src/server/execute.ts:106
↓ 78 callersMethodpost
(path: string, body: unknown)
cli/src/commands/client/cloud-transfer.ts:181
↓ 77 callersMethodon
(event: "pong", listener: () => void)
server/src/realtime/live-events-ws.ts:19
↓ 76 callersFunctionact
(callback: () => void | Promise<void>)
ui/src/components/IssueProperties.test.tsx:136
↓ 76 callersFunctioncreateTestHarness
(options: TestHarnessOptions)
packages/plugins/sdk/src/testing.ts:443
↓ 75 callersFunctionexecute
(ctx: AdapterExecutionContext)
server/src/adapters/http/execute.ts:4
↓ 75 callersFunctionmakeIssue
(status: "todo" | "done" | "blocked" | "cancelled" | "in_progress")
server/src/__tests__/issue-comment-reopen-routes.test.ts:206
↓ 73 callersFunctionassertBoard
(req: Request)
server/src/routes/authz.ts:10
↓ 72 callersFunctionensureCompanyId
(companyId?: string)
server/src/services/plugin-host-services.ts:552
↓ 72 callersFunctionensurePluginAvailableForCompany
(_companyId: string)
server/src/services/plugin-host-services.ts:593
↓ 70 callersFunctionflushReact
()
ui/src/pages/IssueDetail.test.tsx:885
↓ 69 callersFunctionshellQuote
(value: string)
packages/adapter-utils/src/ssh.ts:149
↓ 68 callersMethodclose
(code?: number, reason?: string)
server/src/realtime/live-events-ws.ts:18
↓ 68 callersMethodquery
Run a restricted SELECT against the plugin namespace and whitelisted core tables.
packages/plugins/sdk/src/types.ts:611
↓ 68 callersFunctionresolve
(secretRef)
packages/plugins/sdk/src/testing.ts:849
↓ 66 callersFunctionrunGit
(cwd: string, args: string[])
server/src/__tests__/workspace-runtime.test.ts:73
↓ 66 callersMethodsetup
* Called once when the plugin worker starts up, after `initialize` completes. * * This is where the plugin registers all its handlers: event sub
packages/plugins/sdk/src/define-plugin.ts:183
↓ 65 callersFunctioneff
Read effective value: overlay if dirty, else original
ui/src/components/AgentConfigForm.tsx:296
↓ 65 callersFunctionreadString
(value: unknown)
ui/src/context/LiveUpdatesProvider.tsx:35
↓ 64 callersFunctionusePluginAction
(key: string)
packages/plugins/sdk/src/ui/hooks.ts:87
next →1–100 of 13,941, ranked by callers