@autocode-cli/autocode 0.22.1 → 0.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.output/nitro.json +1 -1
- package/.output/public/_nuxt/{D4ccGohf.js → 4sw7JTbp.js} +1 -1
- package/.output/public/_nuxt/{C8zYf6XG.js → B6pOO9Bz.js} +1 -1
- package/.output/public/_nuxt/{DyKP0gIs.js → BAAVMorC.js} +1 -1
- package/.output/public/_nuxt/{BWjtijDJ.js → BJ-MtkWm.js} +1 -1
- package/.output/public/_nuxt/{CHthacwI.js → BJz8iexS.js} +1 -1
- package/.output/public/_nuxt/{CeGEYC5e.js → BMCm0zjc.js} +1 -1
- package/.output/public/_nuxt/{BpbgMwRp.js → BU6KT1Jg.js} +1 -1
- package/.output/public/_nuxt/{BmRTYUr0.js → BXorvbPI.js} +1 -1
- package/.output/public/_nuxt/{DYmLAFAd.js → BdgB0Sk8.js} +1 -1
- package/.output/public/_nuxt/{Gta14GRt.js → BiqphZN8.js} +1 -1
- package/.output/public/_nuxt/{DkaRU1td.js → Bn2y2u4i.js} +1 -1
- package/.output/public/_nuxt/{BbW8KYxr.js → BtXQIoy8.js} +1 -1
- package/.output/public/_nuxt/{DJ2H_vRy.js → Byshfb8L.js} +1 -1
- package/.output/public/_nuxt/{DWbJWuyK.js → C10TWEVH.js} +1 -1
- package/.output/public/_nuxt/{CLj3in4y.js → C2rmiAJ1.js} +1 -1
- package/.output/public/_nuxt/{BtTUkw76.js → CMIuQb6D.js} +1 -1
- package/.output/public/_nuxt/{Dc16Qic7.js → CTbIP459.js} +1 -1
- package/.output/public/_nuxt/{CDadZeec.js → ClY4a-PO.js} +1 -1
- package/.output/public/_nuxt/{SqPShwdq.js → D0HHOq4k.js} +3 -3
- package/.output/public/_nuxt/{CbxAQSTv.js → D1JH-OfY.js} +1 -1
- package/.output/public/_nuxt/{CUEEgayd.js → D9fas07B.js} +1 -1
- package/.output/public/_nuxt/{B6NAkb0r.js → DAd8dbng.js} +1 -1
- package/.output/public/_nuxt/{BmOTLnHc.js → DNMLSDtV.js} +1 -1
- package/.output/public/_nuxt/{CEFhX48l.js → DbZiOpag.js} +1 -1
- package/.output/public/_nuxt/{BbhjDWRO.js → DuqM_LGj.js} +1 -1
- package/.output/public/_nuxt/{CAUTSIgP.js → DxFm2Qrx.js} +1 -1
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/35ace9c2-472c-4755-ae87-74fdb84336dd.json +1 -0
- package/.output/public/_nuxt/{DFBRLek2.js → c4NRZ8AG.js} +1 -1
- package/.output/public/_nuxt/{BJ08PNmw.js → g7WOzF8b.js} +1 -1
- package/.output/public/_nuxt/{BFa6Ww2q.js → kNuGsBnB.js} +1 -1
- package/.output/public/_nuxt/{D_NTz30l.js → kZiZQgsI.js} +1 -1
- package/.output/public/_nuxt/{Ckqs5yhG.js → mty-mFWB.js} +1 -1
- package/.output/public/_payload.json +1 -1
- package/.output/public/fake-features/cocktail-generator/cocktails.js +541 -0
- package/.output/public/fake-features/cocktail-generator/index.html +620 -0
- package/.output/public/index.html +1 -1
- package/.output/server/chunks/build/_name_-UJA12Rs2.mjs +1 -1
- package/.output/server/chunks/build/client.precomputed.mjs +1 -1
- package/.output/server/chunks/build/fetch-B5NxMLIO.mjs +1 -1
- package/.output/server/chunks/build/nuxt-link-Cq8xZgFP.mjs +1 -1
- package/.output/server/chunks/build/server.mjs +3 -3
- package/.output/server/chunks/build/styles.mjs +5 -5
- package/.output/server/chunks/build/usePipeline-ZPHbtOs6.mjs +1 -1
- package/.output/server/chunks/nitro/nitro.mjs +707 -395
- package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
- package/.output/server/chunks/routes/_ws.mjs +1 -1
- package/.output/server/chunks/routes/api/index.get2.mjs +6 -2
- package/.output/server/chunks/routes/api/index.get2.mjs.map +1 -1
- package/.output/server/chunks/routes/api/index.get3.mjs +1 -1
- package/.output/server/chunks/routes/api/index.get4.mjs +1 -1
- package/.output/server/chunks/routes/api/index.post2.mjs +1 -1
- package/.output/server/chunks/routes/api/index.post3.mjs +1 -1
- package/.output/server/chunks/routes/api/issues/_id/comments.get.mjs +1 -2
- package/.output/server/chunks/routes/api/issues/_id/comments.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/issues/_id/comments.post.mjs +1 -2
- package/.output/server/chunks/routes/api/issues/_id/comments.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/issues/_id/full-history.get.mjs +1 -1
- package/.output/server/chunks/routes/api/issues/_id/full-terminal.get.mjs +1 -1
- package/.output/server/chunks/routes/api/issues/_id/history/_sessionId/log.get.mjs +1 -1
- package/.output/server/chunks/routes/api/issues/_id/history/_sessionId/prompt.get.mjs +1 -1
- package/.output/server/chunks/routes/api/issues/_id/history.get.mjs +1 -1
- package/.output/server/chunks/routes/api/issues/_id/log.get.mjs +1 -1
- package/.output/server/chunks/routes/api/issues/_id/move.post.mjs +1 -1
- package/.output/server/chunks/routes/api/issues/_id/next.post.mjs +1 -1
- package/.output/server/chunks/routes/api/issues/actionable.get.mjs +1 -1
- package/.output/server/chunks/routes/api/issues/autocomplete.post.mjs +1 -1
- package/.output/server/chunks/routes/api/issues/graph.get.mjs +1 -1
- package/.output/server/chunks/routes/api/pipelines/_name/activate.put.mjs +1 -1
- package/.output/server/chunks/routes/api/pipelines/_name/versions/_version/activate.put.mjs +1 -1
- package/.output/server/chunks/routes/api/pipelines/_name/versions/_version/finalize.post.mjs +1 -1
- package/.output/server/chunks/routes/api/pipelines/_name/versions/_version_.delete.mjs +1 -1
- package/.output/server/chunks/routes/api/pipelines/_name/versions/_version_.get.mjs +1 -1
- package/.output/server/chunks/routes/api/pipelines/_name/versions/_version_.put.mjs +1 -1
- package/.output/server/chunks/routes/api/pipelines/_name/versions.get.mjs +1 -1
- package/.output/server/chunks/routes/api/pipelines/_name/versions.post.mjs +1 -1
- package/.output/server/chunks/routes/api/pipelines/_name_.delete.mjs +1 -1
- package/.output/server/chunks/routes/api/pipelines/_name_.get.mjs +1 -1
- package/.output/server/chunks/routes/api/pipelines/_name_.put.mjs +1 -1
- package/.output/server/chunks/routes/api/stats.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workflow/health.get.mjs +1 -1
- package/.output/server/chunks/routes/api/ws/status.get.mjs +1 -1
- package/.output/server/chunks/routes/renderer.mjs +1 -1
- package/.output/server/index.mjs +1 -1
- package/.output/server/node_modules/.prisma/client/index.js +6 -3
- package/.output/server/node_modules/.prisma/client/package.json +1 -1
- package/.output/server/package.json +1 -1
- package/bin/autocode +50 -0
- package/package.json +1 -1
- package/templates/prompts/_transition-decision.en.md +69 -0
- package/templates/prompts/_transition-decision.fr.md +69 -0
- package/templates/prompts/backlog.en.md +1 -3
- package/templates/prompts/backlog.fr.md +1 -3
- package/templates/prompts/changelog.en.md +1 -4
- package/templates/prompts/changelog.fr.md +1 -4
- package/templates/prompts/deploy-prod.en.md +1 -4
- package/templates/prompts/deploy-prod.fr.md +1 -4
- package/templates/prompts/deploy-staging.en.md +1 -4
- package/templates/prompts/deploy-staging.fr.md +1 -4
- package/templates/prompts/design.en.md +1 -4
- package/templates/prompts/design.fr.md +1 -4
- package/templates/prompts/dev.en.md +1 -4
- package/templates/prompts/dev.fr.md +1 -4
- package/templates/prompts/done.en.md +2 -3
- package/templates/prompts/done.fr.md +2 -3
- package/templates/prompts/git-commit.en.md +1 -4
- package/templates/prompts/git-commit.fr.md +1 -4
- package/templates/prompts/git-push.en.md +1 -4
- package/templates/prompts/git-push.fr.md +1 -4
- package/templates/prompts/git-tag.en.md +1 -4
- package/templates/prompts/git-tag.fr.md +1 -4
- package/templates/prompts/in-progress.en.md +2 -8
- package/templates/prompts/in-progress.fr.md +1 -7
- package/templates/prompts/qualification.en.md +1 -4
- package/templates/prompts/qualification.fr.md +0 -3
- package/templates/prompts/ready.en.md +3 -6
- package/templates/prompts/ready.fr.md +3 -6
- package/templates/prompts/retest-cypress.en.md +1 -4
- package/templates/prompts/retest-cypress.fr.md +1 -4
- package/templates/prompts/retest-playwright.en.md +1 -4
- package/templates/prompts/retest-playwright.fr.md +1 -4
- package/templates/prompts/retest-unit.en.md +1 -4
- package/templates/prompts/retest-unit.fr.md +1 -4
- package/templates/prompts/retest.en.md +1 -4
- package/templates/prompts/retest.fr.md +1 -4
- package/templates/prompts/review-best-practices.en.md +1 -4
- package/templates/prompts/review-best-practices.fr.md +1 -4
- package/templates/prompts/review-code.en.md +1 -4
- package/templates/prompts/review-code.fr.md +1 -4
- package/templates/prompts/review-consistency.en.md +1 -4
- package/templates/prompts/review-consistency.fr.md +1 -4
- package/templates/prompts/review-no-duplication.en.md +1 -4
- package/templates/prompts/review-no-duplication.fr.md +1 -4
- package/templates/prompts/review-security.en.md +1 -4
- package/templates/prompts/review-security.fr.md +1 -4
- package/templates/prompts/specification.en.md +1 -4
- package/templates/prompts/specification.fr.md +1 -4
- package/templates/prompts/splitter.en.md +1 -4
- package/templates/prompts/splitter.fr.md +0 -3
- package/templates/prompts/testing-cypress.en.md +1 -4
- package/templates/prompts/testing-cypress.fr.md +1 -4
- package/templates/prompts/testing-integration.en.md +1 -4
- package/templates/prompts/testing-integration.fr.md +1 -4
- package/templates/prompts/testing-playwright.en.md +1 -4
- package/templates/prompts/testing-playwright.fr.md +1 -4
- package/templates/prompts/testing-unit.en.md +1 -4
- package/templates/prompts/testing-unit.fr.md +1 -4
- package/templates/prompts/update-docs.en.md +1 -4
- package/templates/prompts/update-docs.fr.md +1 -4
- package/templates/prompts/validate-staging.en.md +1 -4
- package/templates/prompts/validate-staging.fr.md +1 -4
- package/.output/public/_nuxt/builds/meta/15da26ff-7ede-4b62-b084-0737b9d90fb3.json +0 -1
- package/.output/server/chunks/_/comments.service.mjs +0 -26
- package/.output/server/chunks/_/comments.service.mjs.map +0 -1
- /package/.output/public/_i18n/{xH8GmHpZ → __ad3z6g}/en/messages.json +0 -0
- /package/.output/public/_i18n/{xH8GmHpZ → __ad3z6g}/fr/messages.json +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nitro.mjs","sources":["../../../../node_modules/uncrypto/dist/crypto.node.mjs","../../../../node_modules/crossws/dist/shared/crossws.DfCzGthR.mjs","../../../../node_modules/crossws/dist/shared/crossws.D9ehKjSh.mjs","../../../../node_modules/crossws/dist/shared/crossws.By9qWDAI.mjs","../../../../node_modules/crossws/dist/shared/crossws.CipVM6lf.mjs","../../../../node_modules/crossws/dist/adapters/node.mjs","../../../../node_modules/destr/dist/index.mjs","../../../../node_modules/ufo/dist/index.mjs","../../../../node_modules/cookie-es/dist/index.mjs","../../../../node_modules/radix3/dist/index.mjs","../../../../node_modules/defu/dist/defu.mjs","../../../../node_modules/node-mock-http/dist/index.mjs","../../../../node_modules/h3/dist/index.mjs","../../../../node_modules/hookable/dist/index.mjs","../../../../node_modules/node-fetch-native/dist/native.mjs","../../../../node_modules/ofetch/dist/shared/ofetch.CWycOUEr.mjs","../../../../node_modules/ofetch/dist/node.mjs","../../../../node_modules/unstorage/dist/shared/unstorage.zVDD2mZo.mjs","../../../../node_modules/unstorage/dist/index.mjs","../../../../node_modules/unstorage/drivers/utils/index.mjs","../../../../node_modules/unstorage/drivers/memory.mjs","../../../../node_modules/unstorage/drivers/utils/node-fs.mjs","../../../../node_modules/unstorage/drivers/fs-lite.mjs","../../../../node_modules/nitropack/dist/runtime/internal/storage.mjs","../../../../node_modules/ohash/dist/shared/ohash.D__AXeF1.mjs","../../../../node_modules/ohash/dist/crypto/node/index.mjs","../../../../node_modules/ohash/dist/index.mjs","../../../../node_modules/nitropack/dist/runtime/internal/hash.mjs","../../../../node_modules/nitropack/dist/runtime/internal/cache.mjs","../../../../node_modules/klona/dist/index.mjs","../../../../node_modules/scule/dist/index.mjs","../../../../node_modules/nitropack/dist/runtime/internal/utils.env.mjs","../../../../node_modules/nitropack/dist/runtime/internal/config.mjs","../../../../node_modules/unctx/dist/index.mjs","../../../../node_modules/nitropack/dist/runtime/internal/context.mjs","../../../../node_modules/nitropack/dist/runtime/internal/route-rules.mjs","../../../../node_modules/nitropack/dist/runtime/internal/utils.mjs","../../../../node_modules/@nuxt/nitro-server/dist/runtime/utils/error.js","../../../../node_modules/@nuxt/nitro-server/dist/runtime/handlers/error.js","../../../../node_modules/nitropack/dist/runtime/internal/error/utils.mjs","../../../../node_modules/nitropack/dist/runtime/internal/error/prod.mjs","../../../../node_modules/@intlify/shared/dist/shared.mjs","../../../../node_modules/@nuxtjs/i18n/dist/runtime/shared/messages.js","../../../../node_modules/@nuxtjs/i18n/dist/runtime/shared/vue-i18n.js","../../../../node_modules/nitropack/dist/runtime/internal/plugin.mjs","../../../../node_modules/nitropack/dist/runtime/internal/renderer.mjs","../../../../node_modules/@nuxt/nitro-server/dist/runtime/utils/paths.js","../../../../node_modules/@intlify/utils/dist/shared/utils.9f8159f5.mjs","../../../../server/plugins/websocket.ts","../../../../server/utils/stats.ts","../../../../server/utils/logger.ts","../../../../server/utils/claude.ts","../../../../server/utils/columns.ts","../../../../server/utils/config.ts","../../../../server/utils/loop-detector.ts","../../../../server/utils/prisma.ts","../../../../server/services/sequence.service.ts","../../../../server/services/columns.service.ts","../../../../server/services/issues.service.ts","../../../../server/services/history.service.ts","../../../../server/utils/monitoring.ts","../../../../server/utils/slugify.ts","../../../../server/utils/websocket.ts","../../../../node_modules/@nuxtjs/i18n/dist/runtime/shared/utils.js","../../../../node_modules/@nuxtjs/i18n/dist/runtime/shared/locales.js","../../../../node_modules/@nuxtjs/i18n/dist/runtime/server/context.js","../../../../node_modules/@nuxtjs/i18n/dist/runtime/kit/browser.js","../../../../node_modules/@nuxtjs/i18n/dist/runtime/kit/routing.js","../../../../node_modules/@nuxtjs/i18n/dist/runtime/shared/domain.js","../../../../node_modules/@nuxtjs/i18n/dist/runtime/shared/detection.js","../../../../node_modules/@nuxtjs/i18n/dist/runtime/shared/matching.js","../../../../node_modules/@nuxtjs/i18n/dist/runtime/server/plugin.js","../../../../server/services/execution-logs.service.ts","../../../../server/services/workflow.service.ts","../../../../server/plugins/auto-process.ts","../../../../shared/constants.ts","../../../../server/services/pipelines.service.ts","../../../../server/config/pipeline-templates.ts","../../../../server/plugins/database.ts","../../../../server/plugins/stats.ts","../../../../node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs","../../../../node_modules/nitropack/dist/runtime/internal/static.mjs","../../../../server/middleware/error-handler.ts","../../../../node_modules/@nuxtjs/i18n/dist/runtime/server/utils/cache.js","../../../../node_modules/@nuxtjs/i18n/dist/runtime/server/utils/messages.js","../../../../node_modules/@nuxtjs/i18n/dist/runtime/server/routes/messages.js","../../../../node_modules/nitropack/dist/runtime/internal/app.mjs","../../../../node_modules/nitropack/dist/runtime/internal/lib/http-graceful-shutdown.mjs","../../../../node_modules/nitropack/dist/runtime/internal/shutdown.mjs","../../../../node_modules/nitropack/dist/presets/node/runtime/node-server.mjs"],"names":["isPlainObject","decode","getQuery","parse","serialize","createRouter","remove","f","h","c","i","l","createError","process","mergeHeaders","s","nodeFetch","fetch","Headers","Headers$1","AbortController$1","$fetch","normalizeKey","defineDriver","DRIVER_NAME","dirname","fsPromises","resolve","fsp","storage","hash","_inlineAppConfig","createRadixRouter","create","_localeCodes","broadcast","existsSync","join","debug","readFile","findAll","columnsService.findBySlugInActivePipeline","columnsService.findFirst","columnsService.findById","columnsService.findLast","findByIssue","columnsService.isActionableById","columnsService.isLastById","issuesService.findAll","historyService.findByIssue","_a","issuesService.getChildren","columnsService.findByPipeline","issuesService.findByKey","issuesService.moveToColumnById","executionLogsService.generateSessionId","executionLogsService.create","historyService.create","executionLogsService.updateTerminalLog","
|
|
1
|
+
{"version":3,"file":"nitro.mjs","sources":["../../../../node_modules/uncrypto/dist/crypto.node.mjs","../../../../node_modules/crossws/dist/shared/crossws.DfCzGthR.mjs","../../../../node_modules/crossws/dist/shared/crossws.D9ehKjSh.mjs","../../../../node_modules/crossws/dist/shared/crossws.By9qWDAI.mjs","../../../../node_modules/crossws/dist/shared/crossws.CipVM6lf.mjs","../../../../node_modules/crossws/dist/adapters/node.mjs","../../../../node_modules/destr/dist/index.mjs","../../../../node_modules/ufo/dist/index.mjs","../../../../node_modules/cookie-es/dist/index.mjs","../../../../node_modules/radix3/dist/index.mjs","../../../../node_modules/defu/dist/defu.mjs","../../../../node_modules/node-mock-http/dist/index.mjs","../../../../node_modules/h3/dist/index.mjs","../../../../node_modules/hookable/dist/index.mjs","../../../../node_modules/node-fetch-native/dist/native.mjs","../../../../node_modules/ofetch/dist/shared/ofetch.CWycOUEr.mjs","../../../../node_modules/ofetch/dist/node.mjs","../../../../node_modules/unstorage/dist/shared/unstorage.zVDD2mZo.mjs","../../../../node_modules/unstorage/dist/index.mjs","../../../../node_modules/unstorage/drivers/utils/index.mjs","../../../../node_modules/unstorage/drivers/memory.mjs","../../../../node_modules/unstorage/drivers/utils/node-fs.mjs","../../../../node_modules/unstorage/drivers/fs-lite.mjs","../../../../node_modules/nitropack/dist/runtime/internal/storage.mjs","../../../../node_modules/ohash/dist/shared/ohash.D__AXeF1.mjs","../../../../node_modules/ohash/dist/crypto/node/index.mjs","../../../../node_modules/ohash/dist/index.mjs","../../../../node_modules/nitropack/dist/runtime/internal/hash.mjs","../../../../node_modules/nitropack/dist/runtime/internal/cache.mjs","../../../../node_modules/klona/dist/index.mjs","../../../../node_modules/scule/dist/index.mjs","../../../../node_modules/nitropack/dist/runtime/internal/utils.env.mjs","../../../../node_modules/nitropack/dist/runtime/internal/config.mjs","../../../../node_modules/unctx/dist/index.mjs","../../../../node_modules/nitropack/dist/runtime/internal/context.mjs","../../../../node_modules/nitropack/dist/runtime/internal/route-rules.mjs","../../../../node_modules/nitropack/dist/runtime/internal/utils.mjs","../../../../node_modules/@nuxt/nitro-server/dist/runtime/utils/error.js","../../../../node_modules/@nuxt/nitro-server/dist/runtime/handlers/error.js","../../../../node_modules/nitropack/dist/runtime/internal/error/utils.mjs","../../../../node_modules/nitropack/dist/runtime/internal/error/prod.mjs","../../../../node_modules/@intlify/shared/dist/shared.mjs","../../../../node_modules/@nuxtjs/i18n/dist/runtime/shared/messages.js","../../../../node_modules/@nuxtjs/i18n/dist/runtime/shared/vue-i18n.js","../../../../node_modules/nitropack/dist/runtime/internal/plugin.mjs","../../../../node_modules/nitropack/dist/runtime/internal/renderer.mjs","../../../../node_modules/@nuxt/nitro-server/dist/runtime/utils/paths.js","../../../../node_modules/@intlify/utils/dist/shared/utils.9f8159f5.mjs","../../../../server/plugins/websocket.ts","../../../../server/utils/stats.ts","../../../../server/utils/logger.ts","../../../../server/utils/claude.ts","../../../../server/utils/columns.ts","../../../../server/utils/config.ts","../../../../server/utils/loop-detector.ts","../../../../server/utils/prisma.ts","../../../../server/services/sequence.service.ts","../../../../server/services/columns.service.ts","../../../../server/services/issues.service.ts","../../../../server/services/history.service.ts","../../../../server/utils/monitoring.ts","../../../../server/utils/slugify.ts","../../../../server/utils/transition-decider.ts","../../../../server/utils/websocket.ts","../../../../node_modules/@nuxtjs/i18n/dist/runtime/shared/utils.js","../../../../node_modules/@nuxtjs/i18n/dist/runtime/shared/locales.js","../../../../node_modules/@nuxtjs/i18n/dist/runtime/server/context.js","../../../../node_modules/@nuxtjs/i18n/dist/runtime/kit/browser.js","../../../../node_modules/@nuxtjs/i18n/dist/runtime/kit/routing.js","../../../../node_modules/@nuxtjs/i18n/dist/runtime/shared/domain.js","../../../../node_modules/@nuxtjs/i18n/dist/runtime/shared/detection.js","../../../../node_modules/@nuxtjs/i18n/dist/runtime/shared/matching.js","../../../../node_modules/@nuxtjs/i18n/dist/runtime/server/plugin.js","../../../../server/services/execution-logs.service.ts","../../../../server/services/workflow.service.ts","../../../../server/services/comments.service.ts","../../../../server/plugins/auto-process.ts","../../../../shared/constants.ts","../../../../server/services/pipelines.service.ts","../../../../server/config/pipeline-templates.ts","../../../../server/plugins/database.ts","../../../../server/plugins/stats.ts","../../../../node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs","../../../../node_modules/nitropack/dist/runtime/internal/static.mjs","../../../../server/middleware/error-handler.ts","../../../../node_modules/@nuxtjs/i18n/dist/runtime/server/utils/cache.js","../../../../node_modules/@nuxtjs/i18n/dist/runtime/server/utils/messages.js","../../../../node_modules/@nuxtjs/i18n/dist/runtime/server/routes/messages.js","../../../../node_modules/nitropack/dist/runtime/internal/app.mjs","../../../../node_modules/nitropack/dist/runtime/internal/lib/http-graceful-shutdown.mjs","../../../../node_modules/nitropack/dist/runtime/internal/shutdown.mjs","../../../../node_modules/nitropack/dist/presets/node/runtime/node-server.mjs"],"names":["isPlainObject","decode","getQuery","parse","serialize","createRouter","remove","f","h","c","i","l","createError","process","mergeHeaders","s","nodeFetch","fetch","Headers","Headers$1","AbortController$1","$fetch","normalizeKey","defineDriver","DRIVER_NAME","dirname","fsPromises","resolve","fsp","storage","hash","_inlineAppConfig","createRadixRouter","create","_localeCodes","broadcast","existsSync","join","debug","readFile","findAll","columnsService.findBySlugInActivePipeline","columnsService.findFirst","columnsService.findById","columnsService.findLast","findByIssue","columnsService.isActionableById","columnsService.isLastById","issuesService.findAll","historyService.findByIssue","_a","issuesService.getChildren","columnsService.findByPipeline","issuesService.findByKey","issuesService.moveToColumnById","columnsService.findNextById","columnsService.findActiveColumns","sorted","executionLogsService.generateSessionId","issuesService.acquireProcessingLock","executionLogsService.create","historyService.create","executionLogsService.updateTerminalLog","issuesService.releaseProcessingLock","workflowService.findActionableIssue","workflowService.processIssueInCurrentColumn","commentsService.findByIssue","commentsService.create","mkdirSync","pipelinesService.findAll","pipelinesService.create","pipelinesService.finalizeDraft","pipelinesService.activate","nitroApp","callNodeRequestHandler","fetchNodeRequestHandler","gracefulShutdown","HttpsServer","HttpServer","wsAdapter"],"mappings":"","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,64,65,66,67,68,69,70,71,72,82,83,85,86,87,88,89,90,91]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a1 as defineWebSocketHandler, a2 as unregisterClient, a3 as handleMessage, a4 as registerClient } from '../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -28,10 +28,14 @@ import 'node:url';
|
|
|
28
28
|
|
|
29
29
|
const index_get = defineEventHandler(async () => {
|
|
30
30
|
const columns = await findActiveColumns();
|
|
31
|
-
return columns.map((column) => ({
|
|
31
|
+
return columns.map((column, idx, arr) => ({
|
|
32
32
|
slug: column.slug,
|
|
33
33
|
name: column.name,
|
|
34
|
-
index: column.index
|
|
34
|
+
index: column.index,
|
|
35
|
+
segment: column.segment,
|
|
36
|
+
isFirst: idx === 0,
|
|
37
|
+
isLast: idx === arr.length - 1,
|
|
38
|
+
isActionable: idx > 0 && idx < arr.length - 1
|
|
35
39
|
}));
|
|
36
40
|
});
|
|
37
41
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.get2.mjs","sources":["../../../../../server/api/columns/index.get.ts"],"names":["columnsService.findActiveColumns"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,kBAAA,mBAAA,YAAA;AACA,EAAA,MAAA,OAAA,GAAA,MAAAA,iBAAA,EAAA;AAEA,EAAA,OAAA,OAAA,CAAA,
|
|
1
|
+
{"version":3,"file":"index.get2.mjs","sources":["../../../../../server/api/columns/index.get.ts"],"names":["columnsService.findActiveColumns"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,kBAAA,mBAAA,YAAA;AACA,EAAA,MAAA,OAAA,GAAA,MAAAA,iBAAA,EAAA;AAEA,EAAA,OAAA,OAAA,CAAA,GAAA,CAAA,CAAA,MAAA,EAAA,KAAA,GAAA,MAAA;AAAA,IACA,MAAA,MAAA,CAAA,IAAA;AAAA,IACA,MAAA,MAAA,CAAA,IAAA;AAAA,IACA,OAAA,MAAA,CAAA,KAAA;AAAA,IACA,SAAA,MAAA,CAAA,OAAA;AAAA,IACA,SAAA,GAAA,KAAA,CAAA;AAAA,IACA,MAAA,EAAA,GAAA,KAAA,GAAA,CAAA,MAAA,GAAA,CAAA;AAAA,IACA,YAAA,EAAA,GAAA,GAAA,CAAA,IAAA,GAAA,GAAA,IAAA,MAAA,GAAA;AAAA,GACA,CAAA,CAAA;AACA,CAAA,CAAA;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineEventHandler, g as getQuery, i as debug,
|
|
1
|
+
import { d as defineEventHandler, g as getQuery, i as debug, K as findAll } from '../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineEventHandler, r as readBody, i as debug, c as createError,
|
|
1
|
+
import { d as defineEventHandler, r as readBody, i as debug, c as createError, L as create, n as notifyIssueUpdate } from '../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineEventHandler, r as readBody, c as createError,
|
|
1
|
+
import { d as defineEventHandler, r as readBody, c as createError, W as create } from '../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { d as defineEventHandler, b as getRouterParam, i as debug, c as createError } from '../../../../nitro/nitro.mjs';
|
|
2
|
-
import { f as findByIssue } from '../../../../_/comments.service.mjs';
|
|
1
|
+
import { d as defineEventHandler, b as getRouterParam, i as debug, c as createError, z as findByIssue } from '../../../../nitro/nitro.mjs';
|
|
3
2
|
import 'node:http';
|
|
4
3
|
import 'node:https';
|
|
5
4
|
import 'node:crypto';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"comments.get.mjs","sources":["../../../../../../../server/api/issues/[id]/comments.get.ts"],"names":["commentsService.findByIssue"],"mappings":"
|
|
1
|
+
{"version":3,"file":"comments.get.mjs","sources":["../../../../../../../server/api/issues/[id]/comments.get.ts"],"names":["commentsService.findByIssue"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUA,qBAAA,kBAAA,CAAA,OAAA,KAAA,KAAA;AACA,EAAA,MAAA,EAAA,GAAA,cAAA,CAAA,KAAA,EAAA,IAAA,CAAA;AACA,EAAA,KAAA,CAAA,KAAA,EAAA,+BAAA,EAAA,EAAA,EAAA,EAAA,CAAA;AAEA,EAAA,IAAA,CAAA,EAAA,EAAA;AACA,IAAA,MAAA,WAAA,CAAA;AAAA,MACA,UAAA,EAAA,GAAA;AAAA,MACA,OAAA,EAAA;AAAA,KACA,CAAA;AAAA,EACA;AAEA,EAAA,MAAA,QAAA,GAAA,MAAAA,WAAA,CAAA,EAAA,CAAA;AACA,EAAA,KAAA,CAAA,OAAA,qBAAA,EAAA,EAAA,IAAA,KAAA,EAAA,QAAA,CAAA,QAAA,CAAA;AAEA,EAAA,OAAA,QAAA,CAAA,IAAA,CAAA,OAAA,MAAA;AAAA,IACA,IAAA,OAAA,CAAA,EAAA;AAAA,IACA,SAAA,OAAA,CAAA,OAAA;AAAA,IACA,QAAA,OAAA,CAAA,MAAA;AAAA,IACA,SAAA,EAAA,OAAA,CAAA,SAAA,CAAA,WAAA;AAAA,GACA,CAAA,CAAA;AACA,CAAA,CAAA;;;;"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { d as defineEventHandler, b as getRouterParam, r as readBody, i as debug, c as createError, v as exists } from '../../../../nitro/nitro.mjs';
|
|
2
|
-
import { c as create } from '../../../../_/comments.service.mjs';
|
|
1
|
+
import { d as defineEventHandler, b as getRouterParam, r as readBody, i as debug, c as createError, v as exists, A as create } from '../../../../nitro/nitro.mjs';
|
|
3
2
|
import 'node:http';
|
|
4
3
|
import 'node:https';
|
|
5
4
|
import 'node:crypto';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"comments.post.mjs","sources":["../../../../../../../server/api/issues/[id]/comments.post.ts"],"names":["issuesService.exists","commentsService.create"],"mappings":"
|
|
1
|
+
{"version":3,"file":"comments.post.mjs","sources":["../../../../../../../server/api/issues/[id]/comments.post.ts"],"names":["issuesService.exists","commentsService.create"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,sBAAA,kBAAA,CAAA,OAAA,KAAA,KAAA;;AACA,EAAA,MAAA,EAAA,GAAA,cAAA,CAAA,KAAA,EAAA,IAAA,CAAA;AACA,EAAA,MAAA,IAAA,GAAA,MAAA,QAAA,CAAA,KAAA,CAAA;AAEA,EAAA,KAAA,CAAA,OAAA,gCAAA,EAAA;AAAA,IACA,EAAA;AAAA,IACA,QAAA,IAAA,CAAA,MAAA;AAAA,IACA,aAAA,EAAA,CAAA,EAAA,GAAA,IAAA,CAAA,OAAA,KAAA,IAAA,GAAA,MAAA,GAAA,EAAA,CAAA;AAAA,GACA,CAAA;AAEA,EAAA,IAAA,CAAA,EAAA,IAAA,CAAA,IAAA,CAAA,OAAA,EAAA;AACA,IAAA,KAAA,CAAA,KAAA,EAAA,gDAAA,EAAA,EAAA,EAAA,YAAA,CAAA,CAAA,IAAA,CAAA,OAAA,EAAA,CAAA;AACA,IAAA,MAAA,WAAA,CAAA;AAAA,MACA,UAAA,EAAA,GAAA;AAAA,MACA,OAAA,EAAA;AAAA,KACA,CAAA;AAAA,EACA;AAGA,EAAA,MAAA,WAAA,GAAA,MAAAA,MAAA,CAAA,EAAA,CAAA;AACA,EAAA,IAAA,CAAA,WAAA,EAAA;AACA,IAAA,MAAA,WAAA,CAAA;AAAA,MACA,UAAA,EAAA,GAAA;AAAA,MACA,OAAA,EAAA,oBAAA,EAAA,CAAA;AAAA,KACA,CAAA;AAAA,EACA;AAGA,EAAA,MAAA,OAAA,GAAA,MAAAC,MAAA,CAAA,EAAA,EAAA;AAAA,IACA,SAAA,IAAA,CAAA,OAAA;AAAA,IACA,MAAA,EAAA,KAAA,MAAA,IAAA;AAAA,GACA,CAAA;AAEA,EAAA,OAAA;AAAA,IACA,IAAA,OAAA,CAAA,EAAA;AAAA,IACA,SAAA,OAAA,CAAA,OAAA;AAAA,IACA,QAAA,OAAA,CAAA,MAAA;AAAA,IACA,SAAA,EAAA,OAAA,CAAA,SAAA,CAAA,WAAA;AAAA,GACA;AACA,CAAA,CAAA;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineEventHandler, b as getRouterParam, i as debug, c as createError,
|
|
1
|
+
import { d as defineEventHandler, b as getRouterParam, i as debug, c as createError, B as findByIssue, C as findByIssue$1, D as parseChanges } from '../../../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineEventHandler, b as getRouterParam, i as debug, c as createError,
|
|
1
|
+
import { d as defineEventHandler, b as getRouterParam, i as debug, c as createError, C as findByIssue } from '../../../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineEventHandler, b as getRouterParam, i as debug, c as createError,
|
|
1
|
+
import { d as defineEventHandler, b as getRouterParam, i as debug, c as createError, E as findBySessionId } from '../../../../../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineEventHandler, b as getRouterParam, i as debug, c as createError,
|
|
1
|
+
import { d as defineEventHandler, b as getRouterParam, i as debug, c as createError, E as findBySessionId } from '../../../../../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineEventHandler, b as getRouterParam, i as debug, c as createError,
|
|
1
|
+
import { d as defineEventHandler, b as getRouterParam, i as debug, c as createError, B as findByIssue, D as parseChanges, E as findBySessionId } from '../../../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineEventHandler, b as getRouterParam, i as debug, c as createError,
|
|
1
|
+
import { d as defineEventHandler, b as getRouterParam, i as debug, c as createError, C as findByIssue } from '../../../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineEventHandler, b as getRouterParam, r as readBody, i as debug, c as createError, l as findBySlugInActivePipeline,
|
|
1
|
+
import { d as defineEventHandler, b as getRouterParam, r as readBody, i as debug, c as createError, l as findBySlugInActivePipeline, F as moveAndProcessIssueById, n as notifyIssueUpdate, t as notifyRefresh } from '../../../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineEventHandler, b as getRouterParam, r as readBody, i as debug, c as createError,
|
|
1
|
+
import { d as defineEventHandler, b as getRouterParam, r as readBody, i as debug, c as createError, G as moveToNextColumnAndProcess, n as notifyIssueUpdate, t as notifyRefresh } from '../../../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineEventHandler, i as debug,
|
|
1
|
+
import { d as defineEventHandler, i as debug, H as findActionableIssue } from '../../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineEventHandler, r as readBody, i as debug, c as createError,
|
|
1
|
+
import { d as defineEventHandler, r as readBody, i as debug, c as createError, I as executeClaudePrompt, J as parseClaudeJson } from '../../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineEventHandler, b as getRouterParam, r as readBody, c as createError,
|
|
1
|
+
import { d as defineEventHandler, b as getRouterParam, r as readBody, c as createError, R as getLatestVersion, S as activate } from '../../../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineEventHandler, b as getRouterParam, c as createError,
|
|
1
|
+
import { d as defineEventHandler, b as getRouterParam, c as createError, S as activate } from '../../../../../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
package/.output/server/chunks/routes/api/pipelines/_name/versions/_version/finalize.post.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineEventHandler, b as getRouterParam, c as createError,
|
|
1
|
+
import { d as defineEventHandler, b as getRouterParam, c as createError, U as finalizeDraft } from '../../../../../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineEventHandler, b as getRouterParam, c as createError,
|
|
1
|
+
import { d as defineEventHandler, b as getRouterParam, c as createError, N as remove } from '../../../../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineEventHandler, b as getRouterParam, c as createError,
|
|
1
|
+
import { d as defineEventHandler, b as getRouterParam, c as createError, O as findByNameAndVersion } from '../../../../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineEventHandler, b as getRouterParam, r as readBody, c as createError,
|
|
1
|
+
import { d as defineEventHandler, b as getRouterParam, r as readBody, c as createError, Q as updateDraft } from '../../../../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineEventHandler, b as getRouterParam, c as createError,
|
|
1
|
+
import { d as defineEventHandler, b as getRouterParam, c as createError, T as listVersions } from '../../../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineEventHandler, b as getRouterParam, c as createError,
|
|
1
|
+
import { d as defineEventHandler, b as getRouterParam, c as createError, P as createDraft } from '../../../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineEventHandler, b as getRouterParam, c as createError,
|
|
1
|
+
import { d as defineEventHandler, b as getRouterParam, c as createError, M as findDraft, N as remove } from '../../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineEventHandler, b as getRouterParam, g as getQuery, c as createError,
|
|
1
|
+
import { d as defineEventHandler, b as getRouterParam, g as getQuery, c as createError, O as findByNameAndVersion } from '../../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineEventHandler, b as getRouterParam, r as readBody, c as createError,
|
|
1
|
+
import { d as defineEventHandler, b as getRouterParam, r as readBody, c as createError, M as findDraft, P as createDraft, Q as updateDraft } from '../../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineEventHandler, u as useRuntimeConfig,
|
|
1
|
+
import { d as defineEventHandler, u as useRuntimeConfig, X as initStats, Y as getStats, Z as isInitialized } from '../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineEventHandler, g as getQuery,
|
|
1
|
+
import { d as defineEventHandler, g as getQuery, _ as generateMonitoringReport, $ as getHealthStatus } from '../../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createRenderer, getRequestDependencies, getPreloadLinks, getPrefetchLinks } from 'vue-bundle-renderer/runtime';
|
|
2
|
-
import {
|
|
2
|
+
import { a5 as buildAssetsURL, a6 as appRootTag, a7 as appRootAttrs, a8 as appSpaLoaderTag, a9 as appSpaLoaderAttrs, u as useRuntimeConfig, aa as getResponseStatusText, ab as getResponseStatus, ac as appId, ad as defineRenderHandler, ae as publicAssetsURL, af as appTeleportTag, ag as appTeleportAttrs, g as getQuery, c as createError, ah as appHead, ai as destr, aj as getRouteRules, ak as useNitroApp } from '../nitro/nitro.mjs';
|
|
3
3
|
import { renderToString } from 'vue/server-renderer';
|
|
4
4
|
import { createHead as createHead$1, propsToString, renderSSRHead } from 'unhead/server';
|
|
5
5
|
import { stringify, uneval } from 'devalue';
|
package/.output/server/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import process from 'node:process';globalThis._importMeta_={url:import.meta.url,env:process.env};import 'node:http';
|
|
2
2
|
import 'node:https';
|
|
3
|
-
export {
|
|
3
|
+
export { aO as default } from './chunks/nitro/nitro.mjs';
|
|
4
4
|
import 'node:crypto';
|
|
5
5
|
import 'stream';
|
|
6
6
|
import 'events';
|
|
@@ -120,7 +120,10 @@ exports.Prisma.IssueScalarFieldEnum = {
|
|
|
120
120
|
columnId: 'columnId',
|
|
121
121
|
parentKey: 'parentKey',
|
|
122
122
|
createdAt: 'createdAt',
|
|
123
|
-
updatedAt: 'updatedAt'
|
|
123
|
+
updatedAt: 'updatedAt',
|
|
124
|
+
processingColumnId: 'processingColumnId',
|
|
125
|
+
processingStartedAt: 'processingStartedAt',
|
|
126
|
+
processingSessionId: 'processingSessionId'
|
|
124
127
|
};
|
|
125
128
|
|
|
126
129
|
exports.Prisma.AcceptanceCriterionScalarFieldEnum = {
|
|
@@ -203,10 +206,10 @@ const config = {
|
|
|
203
206
|
"clientVersion": "7.2.0",
|
|
204
207
|
"engineVersion": "0c8ef2ce45c83248ab3df073180d5eda9e8be7a3",
|
|
205
208
|
"activeProvider": "sqlite",
|
|
206
|
-
"inlineSchema": "// AutoCode - Prisma Schema\n// Base de données SQLite par projet\n// VERSION 2.0 - Pipelines Versionnés & Immuables\n\ngenerator client {\n provider = \"prisma-client-js\"\n}\n\ndatasource db {\n provider = \"sqlite\"\n}\n\n// ═══════════════════════════════════════════════════════════════\n// PIPELINES & COLUMNS - VERSIONNÉS ET IMMUABLES\n// ═══════════════════════════════════════════════════════════════\n\nmodel Pipeline {\n name String // Partie de la clé composite\n version Int // v1, v2, v3... (pas semver)\n description String?\n active Boolean @default(false)\n draft Boolean @default(true) // Brouillon éditable ou verrouillé\n createdAt DateTime @default(now()) @map(\"created_at\")\n createdFromVersion Int? @map(\"created_from_version\") // Version source du brouillon\n\n columns Column[]\n\n @@id([name, version]) // Clé composite: nom + version\n @@map(\"pipelines\")\n}\n\nmodel Column {\n id Int @id @default(autoincrement()) // ID stable pour références\n slug String // \"backlog\", \"testing-unit\" (slug lisible)\n name String // \"Backlog\", \"Testing Unit\"\n index Int // Position 0, 1, 2...\n segment String // 'definition' | 'action' | 'finish'\n pipelineName String @map(\"pipeline_name\")\n pipelineVersion Int @map(\"pipeline_version\")\n\n pipeline Pipeline @relation(fields: [pipelineName, pipelineVersion], references: [name, version], onDelete: Cascade)\n issues Issue[]\n executionLogs ExecutionLog[]\n\n @@unique([pipelineName, pipelineVersion, slug]) // Slug unique par version de pipeline\n @@index([pipelineName, pipelineVersion])\n @@index([index])\n @@map(\"columns\")\n}\n\n// ═══════════════════════════════════════════════════════════════\n// ISSUES\n// ═══════════════════════════════════════════════════════════════\n\nmodel Issue {\n key String @id // \"AC-000001\"\n title String\n description String? // Markdown\n priority String @default(\"P2\") // P0, P1, P2, P3\n semver String @default(\"patch\") // patch | minor | major\n labels String @default(\"[]\") // JSON array\n columnId Int @map(\"column_id\") // Référence stable par ID\n parentKey String? @map(\"parent_key\")\n createdAt DateTime @default(now()) @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n\n column Column @relation(fields: [columnId], references: [id])\n parent Issue? @relation(\"IssueHierarchy\", fields: [parentKey], references: [key], onDelete: SetNull)\n children Issue[] @relation(\"IssueHierarchy\")\n acceptanceCriteria AcceptanceCriterion[]\n history IssueHistory[]\n comments Comment[]\n attachments Attachment[]\n executionLogs ExecutionLog[]\n\n @@index([columnId])\n @@index([parentKey])\n @@index([priority])\n @@index([updatedAt(sort: Desc)])\n @@map(\"issues\")\n}\n\nmodel AcceptanceCriterion {\n id Int @id @default(autoincrement())\n issueKey String @map(\"issue_key\")\n criterion String\n position Int\n\n issue Issue @relation(fields: [issueKey], references: [key], onDelete: Cascade)\n\n @@index([issueKey])\n @@map(\"acceptance_criteria\")\n}\n\n// ═══════════════════════════════════════════════════════════════\n// HISTORY & EXECUTION\n// ═══════════════════════════════════════════════════════════════\n\nmodel IssueHistory {\n id Int @id @default(autoincrement())\n issueKey String @map(\"issue_key\")\n at DateTime\n action String // 'created' | 'moved' | 'started' | 'forced' | 'edited'\n fromColumn String? @map(\"from_column\") // Slug pour historique (texte)\n toColumn String @map(\"to_column\") // Slug pour historique (texte)\n sessionId String? @map(\"session_id\") // 8 chars hex\n changes String? // JSON pour 'edited'\n\n issue Issue @relation(fields: [issueKey], references: [key], onDelete: Cascade)\n\n @@index([issueKey])\n @@index([sessionId])\n @@index([at(sort: Desc)])\n @@map(\"issue_history\")\n}\n\nmodel ExecutionLog {\n sessionId String @id @map(\"session_id\") // 8 chars hex\n issueKey String @map(\"issue_key\")\n columnId Int @map(\"column_id\") // Référence par ID\n prompt String? // Contenu du prompt\n terminalLog String? @map(\"terminal_log\") // Logs d'execution\n createdAt DateTime @default(now()) @map(\"created_at\")\n\n issue Issue @relation(fields: [issueKey], references: [key], onDelete: Cascade)\n column Column @relation(fields: [columnId], references: [id])\n\n @@index([issueKey])\n @@index([columnId])\n @@map(\"execution_logs\")\n}\n\n// ═══════════════════════════════════════════════════════════════\n// COMMENTS & ATTACHMENTS\n// ═══════════════════════════════════════════════════════════════\n\nmodel Comment {\n id String @id // Timestamp Unix en ms\n issueKey String @map(\"issue_key\")\n content String\n author String\n createdAt DateTime @default(now()) @map(\"created_at\")\n\n issue Issue @relation(fields: [issueKey], references: [key], onDelete: Cascade)\n\n @@index([issueKey])\n @@index([createdAt(sort: Desc)])\n @@map(\"comments\")\n}\n\nmodel Attachment {\n id Int @id @default(autoincrement())\n issueKey String @map(\"issue_key\")\n filename String // Nom original\n filepath String // Chemin relatif sur disque\n mimetype String?\n size Int? // Bytes\n createdAt DateTime @default(now()) @map(\"created_at\")\n\n issue Issue @relation(fields: [issueKey], references: [key], onDelete: Cascade)\n\n @@index([issueKey])\n @@map(\"attachments\")\n}\n\n// ═══════════════════════════════════════════════════════════════\n// SEQUENCE (pour generation AC-XXXXXX)\n// ═══════════════════════════════════════════════════════════════\n\nmodel Sequence {\n name String @id // 'issue_key'\n currentValue Int @default(0) @map(\"current_value\")\n\n @@map(\"sequences\")\n}\n"
|
|
209
|
+
"inlineSchema": "// AutoCode - Prisma Schema\n// Base de données SQLite par projet\n// VERSION 2.0 - Pipelines Versionnés & Immuables\n\ngenerator client {\n provider = \"prisma-client-js\"\n}\n\ndatasource db {\n provider = \"sqlite\"\n}\n\n// ═══════════════════════════════════════════════════════════════\n// PIPELINES & COLUMNS - VERSIONNÉS ET IMMUABLES\n// ═══════════════════════════════════════════════════════════════\n\nmodel Pipeline {\n name String // Partie de la clé composite\n version Int // v1, v2, v3... (pas semver)\n description String?\n active Boolean @default(false)\n draft Boolean @default(true) // Brouillon éditable ou verrouillé\n createdAt DateTime @default(now()) @map(\"created_at\")\n createdFromVersion Int? @map(\"created_from_version\") // Version source du brouillon\n\n columns Column[]\n\n @@id([name, version]) // Clé composite: nom + version\n @@map(\"pipelines\")\n}\n\nmodel Column {\n id Int @id @default(autoincrement()) // ID stable pour références\n slug String // \"backlog\", \"testing-unit\" (slug lisible)\n name String // \"Backlog\", \"Testing Unit\"\n index Int // Position 0, 1, 2...\n segment String // 'definition' | 'action' | 'finish'\n pipelineName String @map(\"pipeline_name\")\n pipelineVersion Int @map(\"pipeline_version\")\n\n pipeline Pipeline @relation(fields: [pipelineName, pipelineVersion], references: [name, version], onDelete: Cascade)\n issues Issue[]\n executionLogs ExecutionLog[]\n\n @@unique([pipelineName, pipelineVersion, slug]) // Slug unique par version de pipeline\n @@index([pipelineName, pipelineVersion])\n @@index([index])\n @@map(\"columns\")\n}\n\n// ═══════════════════════════════════════════════════════════════\n// ISSUES\n// ═══════════════════════════════════════════════════════════════\n\nmodel Issue {\n key String @id // \"AC-000001\"\n title String\n description String? // Markdown\n priority String @default(\"P2\") // P0, P1, P2, P3\n semver String @default(\"patch\") // patch | minor | major\n labels String @default(\"[]\") // JSON array\n columnId Int @map(\"column_id\") // Référence stable par ID\n parentKey String? @map(\"parent_key\")\n createdAt DateTime @default(now()) @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n\n // Processing lock - prevents duplicate executions\n processingColumnId Int? @map(\"processing_column_id\")\n processingStartedAt DateTime? @map(\"processing_started_at\")\n processingSessionId String? @map(\"processing_session_id\")\n\n column Column @relation(fields: [columnId], references: [id])\n parent Issue? @relation(\"IssueHierarchy\", fields: [parentKey], references: [key], onDelete: SetNull)\n children Issue[] @relation(\"IssueHierarchy\")\n acceptanceCriteria AcceptanceCriterion[]\n history IssueHistory[]\n comments Comment[]\n attachments Attachment[]\n executionLogs ExecutionLog[]\n\n @@index([columnId])\n @@index([parentKey])\n @@index([priority])\n @@index([updatedAt(sort: Desc)])\n @@map(\"issues\")\n}\n\nmodel AcceptanceCriterion {\n id Int @id @default(autoincrement())\n issueKey String @map(\"issue_key\")\n criterion String\n position Int\n\n issue Issue @relation(fields: [issueKey], references: [key], onDelete: Cascade)\n\n @@index([issueKey])\n @@map(\"acceptance_criteria\")\n}\n\n// ═══════════════════════════════════════════════════════════════\n// HISTORY & EXECUTION\n// ═══════════════════════════════════════════════════════════════\n\nmodel IssueHistory {\n id Int @id @default(autoincrement())\n issueKey String @map(\"issue_key\")\n at DateTime\n action String // 'created' | 'moved' | 'started' | 'forced' | 'edited'\n fromColumn String? @map(\"from_column\") // Slug pour historique (texte)\n toColumn String @map(\"to_column\") // Slug pour historique (texte)\n sessionId String? @map(\"session_id\") // 8 chars hex\n changes String? // JSON pour 'edited'\n\n issue Issue @relation(fields: [issueKey], references: [key], onDelete: Cascade)\n\n @@index([issueKey])\n @@index([sessionId])\n @@index([at(sort: Desc)])\n @@map(\"issue_history\")\n}\n\nmodel ExecutionLog {\n sessionId String @id @map(\"session_id\") // 8 chars hex\n issueKey String @map(\"issue_key\")\n columnId Int @map(\"column_id\") // Référence par ID\n prompt String? // Contenu du prompt\n terminalLog String? @map(\"terminal_log\") // Logs d'execution\n createdAt DateTime @default(now()) @map(\"created_at\")\n\n issue Issue @relation(fields: [issueKey], references: [key], onDelete: Cascade)\n column Column @relation(fields: [columnId], references: [id])\n\n @@index([issueKey])\n @@index([columnId])\n @@map(\"execution_logs\")\n}\n\n// ═══════════════════════════════════════════════════════════════\n// COMMENTS & ATTACHMENTS\n// ═══════════════════════════════════════════════════════════════\n\nmodel Comment {\n id String @id // Timestamp Unix en ms\n issueKey String @map(\"issue_key\")\n content String\n author String\n createdAt DateTime @default(now()) @map(\"created_at\")\n\n issue Issue @relation(fields: [issueKey], references: [key], onDelete: Cascade)\n\n @@index([issueKey])\n @@index([createdAt(sort: Desc)])\n @@map(\"comments\")\n}\n\nmodel Attachment {\n id Int @id @default(autoincrement())\n issueKey String @map(\"issue_key\")\n filename String // Nom original\n filepath String // Chemin relatif sur disque\n mimetype String?\n size Int? // Bytes\n createdAt DateTime @default(now()) @map(\"created_at\")\n\n issue Issue @relation(fields: [issueKey], references: [key], onDelete: Cascade)\n\n @@index([issueKey])\n @@map(\"attachments\")\n}\n\n// ═══════════════════════════════════════════════════════════════\n// SEQUENCE (pour generation AC-XXXXXX)\n// ═══════════════════════════════════════════════════════════════\n\nmodel Sequence {\n name String @id // 'issue_key'\n currentValue Int @default(0) @map(\"current_value\")\n\n @@map(\"sequences\")\n}\n"
|
|
207
210
|
}
|
|
208
211
|
|
|
209
|
-
config.runtimeDataModel = JSON.parse("{\"models\":{\"Pipeline\":{\"fields\":[{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"version\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"description\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"active\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"draft\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"createdFromVersion\",\"kind\":\"scalar\",\"type\":\"Int\",\"dbName\":\"created_from_version\"},{\"name\":\"columns\",\"kind\":\"object\",\"type\":\"Column\",\"relationName\":\"ColumnToPipeline\"}],\"dbName\":\"pipelines\"},\"Column\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"slug\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"index\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"segment\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"pipelineName\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"pipeline_name\"},{\"name\":\"pipelineVersion\",\"kind\":\"scalar\",\"type\":\"Int\",\"dbName\":\"pipeline_version\"},{\"name\":\"pipeline\",\"kind\":\"object\",\"type\":\"Pipeline\",\"relationName\":\"ColumnToPipeline\"},{\"name\":\"issues\",\"kind\":\"object\",\"type\":\"Issue\",\"relationName\":\"ColumnToIssue\"},{\"name\":\"executionLogs\",\"kind\":\"object\",\"type\":\"ExecutionLog\",\"relationName\":\"ColumnToExecutionLog\"}],\"dbName\":\"columns\"},\"Issue\":{\"fields\":[{\"name\":\"key\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"title\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"description\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"priority\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"semver\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"labels\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"columnId\",\"kind\":\"scalar\",\"type\":\"Int\",\"dbName\":\"column_id\"},{\"name\":\"parentKey\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"parent_key\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"updated_at\"},{\"name\":\"column\",\"kind\":\"object\",\"type\":\"Column\",\"relationName\":\"ColumnToIssue\"},{\"name\":\"parent\",\"kind\":\"object\",\"type\":\"Issue\",\"relationName\":\"IssueHierarchy\"},{\"name\":\"children\",\"kind\":\"object\",\"type\":\"Issue\",\"relationName\":\"IssueHierarchy\"},{\"name\":\"acceptanceCriteria\",\"kind\":\"object\",\"type\":\"AcceptanceCriterion\",\"relationName\":\"AcceptanceCriterionToIssue\"},{\"name\":\"history\",\"kind\":\"object\",\"type\":\"IssueHistory\",\"relationName\":\"IssueToIssueHistory\"},{\"name\":\"comments\",\"kind\":\"object\",\"type\":\"Comment\",\"relationName\":\"CommentToIssue\"},{\"name\":\"attachments\",\"kind\":\"object\",\"type\":\"Attachment\",\"relationName\":\"AttachmentToIssue\"},{\"name\":\"executionLogs\",\"kind\":\"object\",\"type\":\"ExecutionLog\",\"relationName\":\"ExecutionLogToIssue\"}],\"dbName\":\"issues\"},\"AcceptanceCriterion\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"issueKey\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"issue_key\"},{\"name\":\"criterion\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"position\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"issue\",\"kind\":\"object\",\"type\":\"Issue\",\"relationName\":\"AcceptanceCriterionToIssue\"}],\"dbName\":\"acceptance_criteria\"},\"IssueHistory\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"issueKey\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"issue_key\"},{\"name\":\"at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"action\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"fromColumn\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"from_column\"},{\"name\":\"toColumn\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"to_column\"},{\"name\":\"sessionId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"session_id\"},{\"name\":\"changes\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"issue\",\"kind\":\"object\",\"type\":\"Issue\",\"relationName\":\"IssueToIssueHistory\"}],\"dbName\":\"issue_history\"},\"ExecutionLog\":{\"fields\":[{\"name\":\"sessionId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"session_id\"},{\"name\":\"issueKey\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"issue_key\"},{\"name\":\"columnId\",\"kind\":\"scalar\",\"type\":\"Int\",\"dbName\":\"column_id\"},{\"name\":\"prompt\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"terminalLog\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"terminal_log\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"issue\",\"kind\":\"object\",\"type\":\"Issue\",\"relationName\":\"ExecutionLogToIssue\"},{\"name\":\"column\",\"kind\":\"object\",\"type\":\"Column\",\"relationName\":\"ColumnToExecutionLog\"}],\"dbName\":\"execution_logs\"},\"Comment\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"issueKey\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"issue_key\"},{\"name\":\"content\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"author\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"issue\",\"kind\":\"object\",\"type\":\"Issue\",\"relationName\":\"CommentToIssue\"}],\"dbName\":\"comments\"},\"Attachment\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"issueKey\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"issue_key\"},{\"name\":\"filename\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"filepath\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"mimetype\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"size\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"issue\",\"kind\":\"object\",\"type\":\"Issue\",\"relationName\":\"AttachmentToIssue\"}],\"dbName\":\"attachments\"},\"Sequence\":{\"fields\":[{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"currentValue\",\"kind\":\"scalar\",\"type\":\"Int\",\"dbName\":\"current_value\"}],\"dbName\":\"sequences\"}},\"enums\":{},\"types\":{}}")
|
|
212
|
+
config.runtimeDataModel = JSON.parse("{\"models\":{\"Pipeline\":{\"fields\":[{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"version\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"description\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"active\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"draft\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"createdFromVersion\",\"kind\":\"scalar\",\"type\":\"Int\",\"dbName\":\"created_from_version\"},{\"name\":\"columns\",\"kind\":\"object\",\"type\":\"Column\",\"relationName\":\"ColumnToPipeline\"}],\"dbName\":\"pipelines\"},\"Column\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"slug\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"index\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"segment\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"pipelineName\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"pipeline_name\"},{\"name\":\"pipelineVersion\",\"kind\":\"scalar\",\"type\":\"Int\",\"dbName\":\"pipeline_version\"},{\"name\":\"pipeline\",\"kind\":\"object\",\"type\":\"Pipeline\",\"relationName\":\"ColumnToPipeline\"},{\"name\":\"issues\",\"kind\":\"object\",\"type\":\"Issue\",\"relationName\":\"ColumnToIssue\"},{\"name\":\"executionLogs\",\"kind\":\"object\",\"type\":\"ExecutionLog\",\"relationName\":\"ColumnToExecutionLog\"}],\"dbName\":\"columns\"},\"Issue\":{\"fields\":[{\"name\":\"key\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"title\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"description\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"priority\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"semver\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"labels\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"columnId\",\"kind\":\"scalar\",\"type\":\"Int\",\"dbName\":\"column_id\"},{\"name\":\"parentKey\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"parent_key\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"updated_at\"},{\"name\":\"processingColumnId\",\"kind\":\"scalar\",\"type\":\"Int\",\"dbName\":\"processing_column_id\"},{\"name\":\"processingStartedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"processing_started_at\"},{\"name\":\"processingSessionId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"processing_session_id\"},{\"name\":\"column\",\"kind\":\"object\",\"type\":\"Column\",\"relationName\":\"ColumnToIssue\"},{\"name\":\"parent\",\"kind\":\"object\",\"type\":\"Issue\",\"relationName\":\"IssueHierarchy\"},{\"name\":\"children\",\"kind\":\"object\",\"type\":\"Issue\",\"relationName\":\"IssueHierarchy\"},{\"name\":\"acceptanceCriteria\",\"kind\":\"object\",\"type\":\"AcceptanceCriterion\",\"relationName\":\"AcceptanceCriterionToIssue\"},{\"name\":\"history\",\"kind\":\"object\",\"type\":\"IssueHistory\",\"relationName\":\"IssueToIssueHistory\"},{\"name\":\"comments\",\"kind\":\"object\",\"type\":\"Comment\",\"relationName\":\"CommentToIssue\"},{\"name\":\"attachments\",\"kind\":\"object\",\"type\":\"Attachment\",\"relationName\":\"AttachmentToIssue\"},{\"name\":\"executionLogs\",\"kind\":\"object\",\"type\":\"ExecutionLog\",\"relationName\":\"ExecutionLogToIssue\"}],\"dbName\":\"issues\"},\"AcceptanceCriterion\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"issueKey\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"issue_key\"},{\"name\":\"criterion\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"position\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"issue\",\"kind\":\"object\",\"type\":\"Issue\",\"relationName\":\"AcceptanceCriterionToIssue\"}],\"dbName\":\"acceptance_criteria\"},\"IssueHistory\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"issueKey\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"issue_key\"},{\"name\":\"at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"action\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"fromColumn\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"from_column\"},{\"name\":\"toColumn\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"to_column\"},{\"name\":\"sessionId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"session_id\"},{\"name\":\"changes\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"issue\",\"kind\":\"object\",\"type\":\"Issue\",\"relationName\":\"IssueToIssueHistory\"}],\"dbName\":\"issue_history\"},\"ExecutionLog\":{\"fields\":[{\"name\":\"sessionId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"session_id\"},{\"name\":\"issueKey\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"issue_key\"},{\"name\":\"columnId\",\"kind\":\"scalar\",\"type\":\"Int\",\"dbName\":\"column_id\"},{\"name\":\"prompt\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"terminalLog\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"terminal_log\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"issue\",\"kind\":\"object\",\"type\":\"Issue\",\"relationName\":\"ExecutionLogToIssue\"},{\"name\":\"column\",\"kind\":\"object\",\"type\":\"Column\",\"relationName\":\"ColumnToExecutionLog\"}],\"dbName\":\"execution_logs\"},\"Comment\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"issueKey\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"issue_key\"},{\"name\":\"content\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"author\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"issue\",\"kind\":\"object\",\"type\":\"Issue\",\"relationName\":\"CommentToIssue\"}],\"dbName\":\"comments\"},\"Attachment\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"issueKey\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"issue_key\"},{\"name\":\"filename\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"filepath\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"mimetype\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"size\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"issue\",\"kind\":\"object\",\"type\":\"Issue\",\"relationName\":\"AttachmentToIssue\"}],\"dbName\":\"attachments\"},\"Sequence\":{\"fields\":[{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"currentValue\",\"kind\":\"scalar\",\"type\":\"Int\",\"dbName\":\"current_value\"}],\"dbName\":\"sequences\"}},\"enums\":{},\"types\":{}}")
|
|
210
213
|
defineDmmfProperty(exports.Prisma, config.runtimeDataModel)
|
|
211
214
|
config.compilerWasm = {
|
|
212
215
|
getRuntime: async () => require('./query_compiler_bg.js'),
|
package/bin/autocode
CHANGED
|
@@ -37,6 +37,7 @@ Commands:
|
|
|
37
37
|
show <key> Show issue details
|
|
38
38
|
history <key> Show full issue history
|
|
39
39
|
list [options] List issues
|
|
40
|
+
columns List all columns in active pipeline
|
|
40
41
|
comment <key> <text> Add comment to an issue
|
|
41
42
|
start <key> Start issue (move from backlog only)
|
|
42
43
|
next <key> Advance issue to next column
|
|
@@ -98,6 +99,9 @@ New Issue Options:
|
|
|
98
99
|
Move Options:
|
|
99
100
|
-f, --force Force move (skip validation)
|
|
100
101
|
|
|
102
|
+
Columns Options:
|
|
103
|
+
--json Output as JSON
|
|
104
|
+
|
|
101
105
|
Health Options:
|
|
102
106
|
--json Output as JSON
|
|
103
107
|
-v, --verbose Show detailed information
|
|
@@ -1225,6 +1229,49 @@ async function parentCmd() {
|
|
|
1225
1229
|
}
|
|
1226
1230
|
}
|
|
1227
1231
|
|
|
1232
|
+
// ============================================
|
|
1233
|
+
// columns - List columns in active pipeline
|
|
1234
|
+
// ============================================
|
|
1235
|
+
async function columnsCmd() {
|
|
1236
|
+
const jsonOutput = commandArgs.includes('--json');
|
|
1237
|
+
|
|
1238
|
+
try {
|
|
1239
|
+
const res = await fetch(`${getApiBase()}/api/columns`);
|
|
1240
|
+
|
|
1241
|
+
if (!res.ok) {
|
|
1242
|
+
console.error('Failed to get columns');
|
|
1243
|
+
process.exit(1);
|
|
1244
|
+
}
|
|
1245
|
+
|
|
1246
|
+
const columns = await res.json();
|
|
1247
|
+
|
|
1248
|
+
if (jsonOutput) {
|
|
1249
|
+
console.log(JSON.stringify(columns, null, 2));
|
|
1250
|
+
return;
|
|
1251
|
+
}
|
|
1252
|
+
|
|
1253
|
+
console.log('\nColumns in active pipeline:\n');
|
|
1254
|
+
console.log(' # Slug Segment Actionable');
|
|
1255
|
+
console.log('─'.repeat(60));
|
|
1256
|
+
|
|
1257
|
+
for (const col of columns) {
|
|
1258
|
+
const idx = String(col.index + 1).padStart(3, ' ');
|
|
1259
|
+
const slug = col.slug.padEnd(24, ' ');
|
|
1260
|
+
const segment = (col.segment || 'action').padEnd(12, ' ');
|
|
1261
|
+
const actionable = col.isActionable ? '\x1b[32m✓\x1b[0m' : '\x1b[90m-\x1b[0m';
|
|
1262
|
+
console.log(` ${idx}. ${slug} ${segment} ${actionable}`);
|
|
1263
|
+
}
|
|
1264
|
+
|
|
1265
|
+
console.log('─'.repeat(60));
|
|
1266
|
+
console.log(` Total: ${columns.length} columns`);
|
|
1267
|
+
console.log(` Actionable: ${columns.filter(c => c.isActionable).length} columns`);
|
|
1268
|
+
console.log();
|
|
1269
|
+
} catch (err) {
|
|
1270
|
+
console.error('Error:', err.message);
|
|
1271
|
+
process.exit(1);
|
|
1272
|
+
}
|
|
1273
|
+
}
|
|
1274
|
+
|
|
1228
1275
|
// ============================================
|
|
1229
1276
|
// stats - Show usage statistics
|
|
1230
1277
|
// ============================================
|
|
@@ -2287,6 +2334,9 @@ switch (command) {
|
|
|
2287
2334
|
case 'ls':
|
|
2288
2335
|
listCmd();
|
|
2289
2336
|
break;
|
|
2337
|
+
case 'columns':
|
|
2338
|
+
columnsCmd();
|
|
2339
|
+
break;
|
|
2290
2340
|
case 'comment':
|
|
2291
2341
|
commentCmd();
|
|
2292
2342
|
break;
|