MCPcopy Create free account

hub / github.com/Ckokoski/authorclaw / functions

Functions1,032 in github.com/Ckokoski/authorclaw

↓ 1 callersMethodsanitizeUrl
Strip whitespace + ensure URL starts with http(s).
gateway/src/services/video-research.ts:356
↓ 1 callersMethodsave
Persist overrides to disk (atomic write via temp file + rename).
gateway/src/ai/model-config.ts:64
↓ 1 callersFunctionscanCommand
(command: string, args: string[] = [])
gateway/src/services/orchestrator.ts:107
↓ 1 callersMethodscanManuscript
* Run the full panel over every provided chapter. * The caller supplies chapters (id/number/title/text) and AI callables.
gateway/src/services/beta-reader.ts:185
↓ 1 callersMethodscoreProject
* Score a project for priority-based selection. * Higher score = picked first.
gateway/src/services/heartbeat.ts:580
↓ 1 callersMethodsearchGoogleBooks
* Search Google Books API (free, no key required for basic search). * Returns books related to the query.
gateway/src/services/research.ts:230
↓ 1 callersMethodsearchWikipedia
* Search Wikipedia using the MediaWiki API. * Free, no API key, no CAPTCHA, returns titles + snippets.
gateway/src/services/research.ts:197
↓ 1 callersMethodselfImprove
* Self-improvement: After a project completes, analyze the outputs * and store actionable insights for future writing.
gateway/src/services/heartbeat.ts:598
↓ 1 callersMethodsetAuditLogger
(fn: AuditFn)
gateway/src/services/confirmation-gate.ts:117
↓ 1 callersMethodsetAutonomous
* Wire up autonomous capabilities. Called after project engine and AI are ready.
gateway/src/services/heartbeat.ts:125
↓ 1 callersMethodsetDomains
* Replace the domain allowlist and persist to disk.
gateway/src/services/research.ts:46
↓ 1 callersMethodsetExistingSkillsLookup
Wire a callback that returns the names of skills already in the catalog * (so we don't generate duplicates).
gateway/src/services/auto-skill.ts:135
↓ 1 callersMethodsetGate
(gate: ConfirmationGateService)
gateway/src/services/translation-pipeline.ts:172
↓ 1 callersMethodsetLiveIndexHook
(fn: typeof this.liveIndexHook)
gateway/src/services/memory.ts:146
↓ 1 callersMethodsetMessageHandler
* Inject the gateway's message pipeline so the engine can execute project * steps through the full AI stack. Called from index.ts after the gateway
gateway/src/services/projects.ts:272
↓ 1 callersMethodsetReadingOrder
(seriesId: string, order: string[])
gateway/src/services/series-bible.ts:150
↓ 1 callersMethodsetStatus
(goalId: string, status: GoalStatus)
gateway/src/services/goals.ts:156
↓ 1 callersMethodsetStepServices
* Inject the subset of gateway services the step-execution hooks use * (quality judge, activity log, heartbeat, TTS, personas, aiRouter).
gateway/src/services/projects.ts:280
↓ 1 callersMethodsetStyleClone
(styleClone: StyleCloneService)
gateway/src/services/character-voices.ts:138
↓ 1 callersMethodsetupWebSocket
()
gateway/src/index.ts:1124
↓ 1 callersMethodskipStep
* Skip a step
gateway/src/services/projects.ts:732
↓ 1 callersMethodsleep
(ms: number)
gateway/src/services/heartbeat.ts:655
↓ 1 callersFunctionsplitIntoChapters
* Split markdown content into chapters based on # or ## headings.
gateway/src/services/epub-export.ts:212
↓ 1 callersMethodsplitMessage
(text: string, maxLength: number)
gateway/src/bridges/telegram.ts:758
↓ 1 callersMethodsrtToPlainText
Convert SRT to plain text — strip timestamps and indices.
gateway/src/services/video-research.ts:375
↓ 1 callersMethodstartHealthCheck
(intervalMs = 30000)
gateway/src/services/orchestrator.ts:475
↓ 1 callersMethodstartScript
(id: string)
gateway/src/services/orchestrator.ts:429
↓ 1 callersMethodstdDev
(values: number[])
gateway/src/services/style-clone.ts:383
↓ 1 callersMethodstepNeedsFullManuscript
* Returns true if the step requires the FULL manuscript in context (not a * truncated excerpt). Revision-apply rewrites AND consistency checks must
gateway/src/services/step-executor.ts:151
↓ 1 callersMethodstepWantsArchival
* True if this step should pull ARCHIVAL excerpts: revision / consistency * steps (by taskType or phase) or ANY step of a book-production project
gateway/src/services/projects.ts:1033
↓ 1 callersMethodstop
()
gateway/src/services/heartbeat.ts:154
↓ 1 callersMethodstopAll
()
gateway/src/services/orchestrator.ts:450
↓ 1 callersMethodstopScript
(id: string)
gateway/src/services/orchestrator.ts:436
↓ 1 callersMethodstripDisallowedTags
Remove any HTML tag that KDP doesn't accept.
gateway/src/services/kdp-exporter.ts:133
↓ 1 callersMethodstripTags
Strip all HTML tags for the plain-text fallback.
gateway/src/services/kdp-exporter.ts:156
↓ 1 callersMethodsummarizeDealHistory
(prior: Array<{ date: string; priceUSD: number }> | undefined, warnings: string[])
gateway/src/services/bookbub-submitter.ts:137
↓ 1 callersMethodsummarizeProject
(p: ProjectLike)
gateway/src/services/manuscript-hub.ts:132
↓ 1 callersMethodtagsForPostType
(postType: BlogPostType, genre?: string)
gateway/src/services/blog-post-drafter.ts:288
↓ 1 callersMethodtick
()
gateway/src/services/heartbeat.ts:284
↓ 1 callersMethodtranscribeViaWhisper
Whisper API transcription. Downloads audio-only, transcribes, deletes audio.
gateway/src/services/video-research.ts:272
↓ 1 callersMethodtranslateChunk
* Translate a single chunk with one retry. Never throws — on double failure * it returns { failed: true } so the caller can emit an error marker an
gateway/src/services/translation-pipeline.ts:588
↓ 1 callersMethodunlinkProject
(siteId: string, projectId: string)
gateway/src/services/website-sites.ts:184
↓ 1 callersMethodupdateAllowedUsers
Update allowed users on a live bridge (called when dashboard saves users)
gateway/src/bridges/telegram.ts:776
↓ 1 callersMethodupdateAutonomousConfig
* Update autonomous configuration at runtime
gateway/src/services/heartbeat.ts:252
↓ 1 callersMethodupdateEvent
(id: string, patch: Partial<CalendarEvent>)
gateway/src/services/release-calendar.ts:67
↓ 1 callersMethodupdateJob
(id: string, updates: Partial<Omit<CronJob, 'id' | 'createdAt' | 'lastRunAt' | 'runCount'>>)
gateway/src/services/cron-scheduler.ts:238
↓ 1 callersMethodupdateMetadata
(launchId: string, metadata: Partial<LaunchMetadata>)
gateway/src/services/launch-orchestrator.ts:159
↓ 1 callersMethodupdatePromise
(projectId: string, promiseId: string, patch: Partial<PlotPromise>)
gateway/src/services/plot-promises.ts:302
↓ 1 callersMethodupdateTelegramUsers
(users: string[])
gateway/src/index.ts:1801
↓ 1 callersFunctionvalidateCronExpression
(expr: string)
gateway/src/services/cron-scheduler.ts:350
↓ 1 callersMethodvalidateFrontmatter
* Lightweight frontmatter validation. Warns (once per skill) about * missing/malformed fields; never throws — the skill still loads with * whate
gateway/src/skills/loader.ts:109
↓ 1 callersFunctionvalidateKeyFormat
(keyName: string, value: string)
gateway/src/api/context.ts:33
↓ 1 callersMethodwalkDir
(dir: string, results: string[], maxFiles: number)
gateway/src/services/author-os.ts:539
↓ 1 callersMethodwrapTitle
* Wrap a title into lines of roughly `maxCharsPerLine` without breaking words. * Aims for 1-3 lines. Single-word titles return as one line.
gateway/src/services/cover-typography.ts:274
MethodactivityLog
()
gateway/src/index.ts:134
MethodaddPart
(text: string)
gateway/src/services/context-engine.ts:562
MethodaddPart
(block: string)
gateway/src/services/memory-tier.ts:144
MethodaddStep
(dayOffset: number, phase: LaunchPhase, action: string, platform: string, risk: LaunchPlan['timeline'][0
gateway/src/services/launch-orchestrator.ts:194
FunctionaiCompleteFn
(request: any)
gateway/src/api/routes/context-heartbeat.ts:46
FunctionaiCompleteFn
(r: any)
gateway/src/api/routes/manuscript-quality.ts:71
MethodaiCompleteFn
(req: any)
gateway/src/index.ts:1361
MethodaiCompleteFn
(req: any)
gateway/src/services/step-executor.ts:559
MethodaiRouter
()
gateway/src/index.ts:136
FunctionaiSelectFn
(taskType: string)
gateway/src/api/routes/context-heartbeat.ts:47
FunctionaiSelectFn
(t: string)
gateway/src/api/routes/manuscript-quality.ts:72
MethodaiSelectFn
(taskType: string)
gateway/src/index.ts:1362
MethodaiSelectFn
(taskType: string)
gateway/src/services/step-executor.ts:560
MethodamsAds
()
gateway/src/index.ts:234
Methodanalyze
* Analyze a sanitized review set and produce the intelligence report. * All clustering is keyword-based (no AI embeddings) so it's deterministic
gateway/src/services/reader-intel.ts:141
Methodanalyze
* Run the full craft analysis on a set of chapters.
gateway/src/services/craft-critic.ts:139
Methodappearances
(name: string, aliases: string[])
gateway/src/services/sleep-consolidation.ts:440
MethodasArray
(v: any)
gateway/src/services/beta-reader.ts:136
MethodaudiobookPrep
()
gateway/src/index.ts:220
Methodaudit
()
gateway/src/index.ts:143
Methodaudit
* Audit a project's promises against current progress. Returns a report * highlighting at-risk promises (still open near the end of the manuscript)
gateway/src/services/plot-promises.ts:421
MethodauthorOS
()
gateway/src/index.ts:152
MethodautoAdvanceWordCountGoals
* Auto-advance word-count goals using current project word counts. * Call this after step completions / via heartbeat.
gateway/src/services/goals.ts:191
MethodautoExecuteLoop
* Fully autonomous mode: loop over ALL active steps of a project, executing * each through the message pipeline. Long-running — can run for many mi
gateway/src/services/step-executor.ts:325
MethodautoSkill
()
gateway/src/index.ts:174
Methodavg
(arr: ChapterMetrics[])
gateway/src/services/craft-critic.ts:418
MethodawaitDecision
Async helper: poll every `intervalMs` until a terminal state or timeout.
gateway/src/services/confirmation-gate.ts:262
MethodbetaReader
()
gateway/src/index.ts:202
MethodblogPostDrafter
()
gateway/src/index.ts:190
Methodbookbub
()
gateway/src/index.ts:236
MethodbroadcastTelegram
* Broadcast a message to all Telegram users. * Used by routes for conductor status updates.
gateway/src/index.ts:1748
Methodbuild
* Build the full static site to workspace/website/<slug>/. * Returns the output directory path plus a list of pages and warnings.
gateway/src/services/website-builder.ts:114
MethodbuildContext
* Format the user model for system-prompt injection. Keeps the size small * (~300 tokens) so it doesn't dominate context.
gateway/src/services/user-model.ts:419
MethodbuildContext
(maxTokens = 300)
gateway/src/services/preferences.ts:311
MethodbuildPromptContext
* Build a context block for injecting into AI prompts when this persona is assigned to a project.
gateway/src/services/personas.ts:142
MethodbuildStepUserMessage
* Build the user message for project step execution. * Injects uploaded manuscript DIRECTLY into the user message so the AI can't * miss it. For
gateway/src/services/projects.ts:806
MethodcharacterVoices
()
gateway/src/index.ts:186
Methodcheck
(permission: keyof PermissionSet)
gateway/src/security/permissions.ts:65
MethodcheckRateLimit
(channel: string)
gateway/src/security/permissions.ts:69
MethodclampContinue
(n: any)
gateway/src/services/beta-reader.ts:135
MethodclampTension
(n: any)
gateway/src/services/beta-reader.ts:134
Methodcleanup
* Clean up old audio files (older than 24 hours).
gateway/src/services/tts.ts:451
Methodcleanup
* Clean up old images (older than 7 days)
gateway/src/services/image-gen.ts:920
MethodcloseList
()
gateway/src/services/kdp-exporter.ts:65
MethodcomputeAllProgress
Compute progress for all active goals (dashboard convenience).
gateway/src/services/goals.ts:276
Methodconfig
()
gateway/src/index.ts:122
← previousnext →701–800 of 1,032, ranked by callers