CodeIssuesDiscussionsWikiPull RequestsProjectsCommitsActionsReleasesContributorsPulse● GatesSecuritySettingsDeploymentsPipelineInsightsAgents✨ Explain✨ Ask AI✨ Workspace✨ Spec✨ Tests▓ Debt Map✨ NL Search🏛 Archaeology
Blame · Line-by-line history
index.ts
Each line is annotated with the commit that last touched it. Click any SHA to jump to that commit and see the surrounding change.
| fc1817a | 1 | import { mkdir } from "fs/promises"; |
| 2 | import app from "./app"; | |
| 3 | import { config } from "./lib/config"; | |
| eafe8c6 | 4 | import { startWorker } from "./lib/workflow-runner"; |
| fc1817a | 5 | |
| 6 | // Ensure repos directory exists | |
| 7 | await mkdir(config.gitReposPath, { recursive: true }); | |
| 8 | ||
| eafe8c6 | 9 | // Start the Actions-equivalent workflow worker (Block C1). Polls |
| 10 | // workflow_runs for queued rows and executes them sequentially. | |
| 11 | startWorker(); | |
| 12 | ||
| fc1817a | 13 | console.log(` |
| 14 | gluecron v0.1.0 | |
| 15 | ────────────────────── | |
| 16 | http://localhost:${config.port} | |
| 17 | repos: ${config.gitReposPath} | |
| 18 | `); | |
| 19 | ||
| 20 | export default { | |
| 21 | port: config.port, | |
| 22 | fetch: app.fetch, | |
| 23 | }; |