centy 0.2.8 → 0.4.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/bin/run.js +3 -3
- package/dist/commands/close.d.ts +1 -4
- package/dist/commands/close.d.ts.map +1 -1
- package/dist/commands/close.js +21 -108
- package/dist/commands/close.js.map +1 -1
- package/dist/commands/compact.d.ts +1 -5
- package/dist/commands/compact.d.ts.map +1 -1
- package/dist/commands/compact.js +23 -128
- package/dist/commands/compact.js.map +1 -1
- package/dist/commands/get/doc.d.ts +1 -0
- package/dist/commands/get/doc.d.ts.map +1 -1
- package/dist/commands/get/doc.js +19 -75
- package/dist/commands/get/doc.js.map +1 -1
- package/dist/commands/get/issue.d.ts.map +1 -1
- package/dist/commands/get/issue.js +13 -109
- package/dist/commands/get/issue.js.map +1 -1
- package/dist/commands/init.d.ts +0 -3
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +0 -16
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/show.d.ts +1 -0
- package/dist/commands/show.d.ts.map +1 -1
- package/dist/commands/show.js +15 -60
- package/dist/commands/show.js.map +1 -1
- package/dist/commands/start.d.ts +0 -3
- package/dist/commands/start.d.ts.map +1 -1
- package/dist/commands/start.js +17 -80
- package/dist/commands/start.js.map +1 -1
- package/dist/daemon/daemon-response-error.d.ts +8 -1
- package/dist/daemon/daemon-response-error.d.ts.map +1 -1
- package/dist/daemon/daemon-response-error.js +23 -2
- package/dist/daemon/daemon-response-error.js.map +1 -1
- package/dist/daemon/grpc-client-data.d.ts +26 -0
- package/dist/daemon/grpc-client-data.d.ts.map +1 -0
- package/dist/daemon/grpc-client-data.js +2 -0
- package/dist/daemon/grpc-client-data.js.map +1 -0
- package/dist/daemon/grpc-client-extended.d.ts +29 -0
- package/dist/daemon/grpc-client-extended.d.ts.map +1 -0
- package/dist/daemon/grpc-client-extended.js +2 -0
- package/dist/daemon/grpc-client-extended.js.map +1 -0
- package/dist/daemon/grpc-client-init.d.ts +23 -0
- package/dist/daemon/grpc-client-init.d.ts.map +1 -0
- package/dist/daemon/grpc-client-init.js +2 -0
- package/dist/daemon/grpc-client-init.js.map +1 -0
- package/dist/daemon/grpc-client-ops.d.ts +23 -0
- package/dist/daemon/grpc-client-ops.d.ts.map +1 -0
- package/dist/daemon/grpc-client-ops.js +2 -0
- package/dist/daemon/grpc-client-ops.js.map +1 -0
- package/dist/daemon/grpc-client-project.d.ts +22 -0
- package/dist/daemon/grpc-client-project.d.ts.map +1 -0
- package/dist/daemon/grpc-client-project.js +2 -0
- package/dist/daemon/grpc-client-project.js.map +1 -0
- package/dist/daemon/grpc-config.d.ts +14 -0
- package/dist/daemon/grpc-config.d.ts.map +1 -0
- package/dist/daemon/grpc-config.js +26 -0
- package/dist/daemon/grpc-config.js.map +1 -0
- package/dist/daemon/grpc-utils.d.ts +32 -0
- package/dist/daemon/grpc-utils.d.ts.map +1 -0
- package/dist/daemon/grpc-utils.js +54 -0
- package/dist/daemon/grpc-utils.js.map +1 -0
- package/dist/daemon/load-proto.d.ts +9 -135
- package/dist/daemon/load-proto.d.ts.map +1 -1
- package/dist/daemon/load-proto.js +4 -77
- package/dist/daemon/load-proto.js.map +1 -1
- package/dist/daemon/parse-error-response.d.ts +14 -0
- package/dist/daemon/parse-error-response.d.ts.map +1 -0
- package/dist/daemon/parse-error-response.js +45 -0
- package/dist/daemon/parse-error-response.js.map +1 -0
- package/dist/daemon/types/asset.d.ts +64 -0
- package/dist/daemon/types/asset.d.ts.map +1 -0
- package/dist/daemon/types/asset.js +6 -0
- package/dist/daemon/types/asset.js.map +1 -0
- package/dist/daemon/types/config.d.ts +57 -0
- package/dist/daemon/types/config.d.ts.map +1 -0
- package/dist/daemon/types/config.js +6 -0
- package/dist/daemon/types/config.js.map +1 -0
- package/dist/daemon/types/daemon-error-message.d.ts +6 -0
- package/dist/daemon/types/daemon-error-message.d.ts.map +1 -0
- package/dist/daemon/types/daemon-error-message.js +2 -0
- package/dist/daemon/types/daemon-error-message.js.map +1 -0
- package/dist/daemon/types/daemon-error-response.d.ts +7 -0
- package/dist/daemon/types/daemon-error-response.d.ts.map +1 -0
- package/dist/daemon/types/daemon-error-response.js +2 -0
- package/dist/daemon/types/daemon-error-response.js.map +1 -0
- package/dist/daemon/types/daemon.d.ts +25 -0
- package/dist/daemon/types/daemon.d.ts.map +1 -0
- package/dist/daemon/types/daemon.js +6 -0
- package/dist/daemon/types/daemon.js.map +1 -0
- package/dist/daemon/types/doc-lifecycle.d.ts +55 -0
- package/dist/daemon/types/doc-lifecycle.d.ts.map +1 -0
- package/dist/daemon/types/doc-lifecycle.js +7 -0
- package/dist/daemon/types/doc-lifecycle.js.map +1 -0
- package/dist/daemon/types/doc.d.ts +93 -0
- package/dist/daemon/types/doc.d.ts.map +1 -0
- package/dist/daemon/types/doc.js +6 -0
- package/dist/daemon/types/doc.js.map +1 -0
- package/dist/daemon/types/entity-action.d.ts +23 -0
- package/dist/daemon/types/entity-action.d.ts.map +1 -0
- package/dist/daemon/types/entity-action.js +6 -0
- package/dist/daemon/types/entity-action.js.map +1 -0
- package/dist/daemon/types/feature.d.ts +61 -0
- package/dist/daemon/types/feature.d.ts.map +1 -0
- package/dist/daemon/types/feature.js +6 -0
- package/dist/daemon/types/feature.js.map +1 -0
- package/dist/daemon/types/init.d.ts +66 -0
- package/dist/daemon/types/init.d.ts.map +1 -0
- package/dist/daemon/types/init.js +6 -0
- package/dist/daemon/types/init.js.map +1 -0
- package/dist/daemon/types/issue-lifecycle.d.ts +62 -0
- package/dist/daemon/types/issue-lifecycle.d.ts.map +1 -0
- package/dist/daemon/types/issue-lifecycle.js +7 -0
- package/dist/daemon/types/issue-lifecycle.js.map +1 -0
- package/dist/daemon/types/issue-search.d.ts +39 -0
- package/dist/daemon/types/issue-search.d.ts.map +1 -0
- package/dist/daemon/types/issue-search.js +6 -0
- package/dist/daemon/types/issue-search.js.map +1 -0
- package/dist/daemon/types/issue.d.ts +97 -0
- package/dist/daemon/types/issue.d.ts.map +1 -0
- package/dist/daemon/types/issue.js +6 -0
- package/dist/daemon/types/issue.js.map +1 -0
- package/dist/daemon/types/link.d.ts +58 -0
- package/dist/daemon/types/link.d.ts.map +1 -0
- package/dist/daemon/types/link.js +6 -0
- package/dist/daemon/types/link.js.map +1 -0
- package/dist/daemon/types/organization.d.ts +62 -0
- package/dist/daemon/types/organization.d.ts.map +1 -0
- package/dist/daemon/types/organization.js +6 -0
- package/dist/daemon/types/organization.js.map +1 -0
- package/dist/daemon/types/project.d.ts +101 -0
- package/dist/daemon/types/project.d.ts.map +1 -0
- package/dist/daemon/types/project.js +6 -0
- package/dist/daemon/types/project.js.map +1 -0
- package/dist/daemon/types/sync.d.ts +72 -0
- package/dist/daemon/types/sync.d.ts.map +1 -0
- package/dist/daemon/types/sync.js +6 -0
- package/dist/daemon/types/sync.js.map +1 -0
- package/dist/daemon/types/user-lifecycle.d.ts +45 -0
- package/dist/daemon/types/user-lifecycle.d.ts.map +1 -0
- package/dist/daemon/types/user-lifecycle.js +7 -0
- package/dist/daemon/types/user-lifecycle.js.map +1 -0
- package/dist/daemon/types/user.d.ts +67 -0
- package/dist/daemon/types/user.d.ts.map +1 -0
- package/dist/daemon/types/user.js +6 -0
- package/dist/daemon/types/user.js.map +1 -0
- package/dist/daemon/types/workspace-ops.d.ts +66 -0
- package/dist/daemon/types/workspace-ops.d.ts.map +1 -0
- package/dist/daemon/types/workspace-ops.js +7 -0
- package/dist/daemon/types/workspace-ops.js.map +1 -0
- package/dist/daemon/types/workspace.d.ts +70 -0
- package/dist/daemon/types/workspace.d.ts.map +1 -0
- package/dist/daemon/types/workspace.js +6 -0
- package/dist/daemon/types/workspace.js.map +1 -0
- package/dist/daemon/types.d.ts +23 -1226
- package/dist/daemon/types.d.ts.map +1 -1
- package/dist/daemon/types.js +23 -2
- package/dist/daemon/types.js.map +1 -1
- package/dist/lib/autostart/launchd.d.ts.map +1 -1
- package/dist/lib/autostart/launchd.js +10 -3
- package/dist/lib/autostart/launchd.js.map +1 -1
- package/dist/lib/close/close-entity-error.d.ts +4 -0
- package/dist/lib/close/close-entity-error.d.ts.map +1 -0
- package/dist/lib/close/close-entity-error.js +7 -0
- package/dist/lib/close/close-entity-error.js.map +1 -0
- package/dist/lib/close/close-issue.d.ts +2 -0
- package/dist/lib/close/close-issue.d.ts.map +1 -0
- package/dist/lib/close/close-issue.js +23 -0
- package/dist/lib/close/close-issue.js.map +1 -0
- package/dist/lib/close/find-entity.d.ts +8 -0
- package/dist/lib/close/find-entity.d.ts.map +1 -0
- package/dist/lib/close/find-entity.js +21 -0
- package/dist/lib/close/find-entity.js.map +1 -0
- package/dist/lib/compact/apply-llm-response.d.ts +8 -0
- package/dist/lib/compact/apply-llm-response.d.ts.map +1 -0
- package/dist/lib/compact/apply-llm-response.js +28 -0
- package/dist/lib/compact/apply-llm-response.js.map +1 -0
- package/dist/lib/compact/compact-parse-error.d.ts +4 -0
- package/dist/lib/compact/compact-parse-error.d.ts.map +1 -0
- package/dist/lib/compact/compact-parse-error.js +7 -0
- package/dist/lib/compact/compact-parse-error.js.map +1 -0
- package/dist/lib/compact/compact-save-error.d.ts +4 -0
- package/dist/lib/compact/compact-save-error.d.ts.map +1 -0
- package/dist/lib/compact/compact-save-error.js +7 -0
- package/dist/lib/compact/compact-save-error.js.map +1 -0
- package/dist/lib/compact/format-dry-run.d.ts +8 -0
- package/dist/lib/compact/format-dry-run.d.ts.map +1 -0
- package/dist/lib/compact/format-dry-run.js +15 -0
- package/dist/lib/compact/format-dry-run.js.map +1 -0
- package/dist/lib/compact/generate-llm-context.d.ts +7 -0
- package/dist/lib/compact/generate-llm-context.d.ts.map +1 -0
- package/dist/lib/compact/generate-llm-context.js +30 -0
- package/dist/lib/compact/generate-llm-context.js.map +1 -0
- package/dist/lib/compact/mark-issues.d.ts +6 -0
- package/dist/lib/compact/mark-issues.d.ts.map +1 -0
- package/dist/lib/compact/mark-issues.js +24 -0
- package/dist/lib/compact/mark-issues.js.map +1 -0
- package/dist/lib/compact/parse-llm-response.d.ts +6 -0
- package/dist/lib/compact/parse-llm-response.d.ts.map +1 -0
- package/dist/lib/compact/parse-llm-response.js +22 -0
- package/dist/lib/compact/parse-llm-response.js.map +1 -0
- package/dist/lib/compact/save-results.d.ts +5 -0
- package/dist/lib/compact/save-results.d.ts.map +1 -0
- package/dist/lib/compact/save-results.js +24 -0
- package/dist/lib/compact/save-results.js.map +1 -0
- package/dist/lib/create-issue/converters.d.ts +15 -0
- package/dist/lib/create-issue/converters.d.ts.map +1 -0
- package/dist/lib/create-issue/converters.js +53 -0
- package/dist/lib/create-issue/converters.js.map +1 -0
- package/dist/lib/create-issue/create-issue.d.ts.map +1 -1
- package/dist/lib/create-issue/create-issue.js +1 -52
- package/dist/lib/create-issue/create-issue.js.map +1 -1
- package/dist/lib/get-doc/cross-project-hint.d.ts +6 -0
- package/dist/lib/get-doc/cross-project-hint.d.ts.map +1 -0
- package/dist/lib/get-doc/cross-project-hint.js +27 -0
- package/dist/lib/get-doc/cross-project-hint.js.map +1 -0
- package/dist/lib/get-doc/format-doc-output.d.ts +3 -0
- package/dist/lib/get-doc/format-doc-output.d.ts.map +1 -0
- package/dist/lib/get-doc/format-doc-output.js +8 -0
- package/dist/lib/get-doc/format-doc-output.js.map +1 -0
- package/dist/lib/get-doc/handle-global-search.d.ts +3 -0
- package/dist/lib/get-doc/handle-global-search.d.ts.map +1 -0
- package/dist/lib/get-doc/handle-global-search.js +32 -0
- package/dist/lib/get-doc/handle-global-search.js.map +1 -0
- package/dist/lib/get-doc/handle-not-initialized.d.ts +6 -0
- package/dist/lib/get-doc/handle-not-initialized.d.ts.map +1 -0
- package/dist/lib/get-doc/handle-not-initialized.js +21 -0
- package/dist/lib/get-doc/handle-not-initialized.js.map +1 -0
- package/dist/lib/get-issue/cross-project-hint.d.ts +6 -0
- package/dist/lib/get-issue/cross-project-hint.d.ts.map +1 -0
- package/dist/lib/get-issue/cross-project-hint.js +27 -0
- package/dist/lib/get-issue/cross-project-hint.js.map +1 -0
- package/dist/lib/get-issue/fetch-and-display.d.ts +12 -0
- package/dist/lib/get-issue/fetch-and-display.d.ts.map +1 -0
- package/dist/lib/get-issue/fetch-and-display.js +39 -0
- package/dist/lib/get-issue/fetch-and-display.js.map +1 -0
- package/dist/lib/get-issue/format-issue-output.d.ts +3 -0
- package/dist/lib/get-issue/format-issue-output.d.ts.map +1 -0
- package/dist/lib/get-issue/format-issue-output.js +14 -0
- package/dist/lib/get-issue/format-issue-output.js.map +1 -0
- package/dist/lib/get-issue/handle-global-search.d.ts +3 -0
- package/dist/lib/get-issue/handle-global-search.d.ts.map +1 -0
- package/dist/lib/get-issue/handle-global-search.js +36 -0
- package/dist/lib/get-issue/handle-global-search.js.map +1 -0
- package/dist/lib/get-issue/handle-not-initialized.d.ts +6 -0
- package/dist/lib/get-issue/handle-not-initialized.d.ts.map +1 -0
- package/dist/lib/get-issue/handle-not-initialized.js +22 -0
- package/dist/lib/get-issue/handle-not-initialized.js.map +1 -0
- package/dist/lib/init/config-builder.d.ts +9 -0
- package/dist/lib/init/config-builder.d.ts.map +1 -0
- package/dist/lib/init/config-builder.js +29 -0
- package/dist/lib/init/config-builder.js.map +1 -0
- package/dist/lib/init/gather-decisions.d.ts +14 -0
- package/dist/lib/init/gather-decisions.d.ts.map +1 -0
- package/dist/lib/init/gather-decisions.js +38 -0
- package/dist/lib/init/gather-decisions.js.map +1 -0
- package/dist/lib/init/init.d.ts +1 -7
- package/dist/lib/init/init.d.ts.map +1 -1
- package/dist/lib/init/init.js +3 -99
- package/dist/lib/init/init.js.map +1 -1
- package/dist/lib/init/type-converters.d.ts +13 -0
- package/dist/lib/init/type-converters.d.ts.map +1 -0
- package/dist/lib/init/type-converters.js +15 -0
- package/dist/lib/init/type-converters.js.map +1 -0
- package/dist/lib/show/format-results.d.ts +3 -0
- package/dist/lib/show/format-results.d.ts.map +1 -0
- package/dist/lib/show/format-results.js +19 -0
- package/dist/lib/show/format-results.js.map +1 -0
- package/dist/lib/show/search-entities.d.ts +6 -0
- package/dist/lib/show/search-entities.d.ts.map +1 -0
- package/dist/lib/show/search-entities.js +7 -0
- package/dist/lib/show/search-entities.js.map +1 -0
- package/dist/lib/start/handle-missing-daemon.d.ts +2 -0
- package/dist/lib/start/handle-missing-daemon.d.ts.map +1 -0
- package/dist/lib/start/handle-missing-daemon.js +46 -0
- package/dist/lib/start/handle-missing-daemon.js.map +1 -0
- package/dist/lib/start/start-background.d.ts +2 -0
- package/dist/lib/start/start-background.d.ts.map +1 -0
- package/dist/lib/start/start-background.js +18 -0
- package/dist/lib/start/start-background.js.map +1 -0
- package/dist/lib/start/start-foreground.d.ts +2 -0
- package/dist/lib/start/start-foreground.d.ts.map +1 -0
- package/dist/lib/start/start-foreground.js +25 -0
- package/dist/lib/start/start-foreground.js.map +1 -0
- package/dist/types/init-options.d.ts +0 -6
- package/dist/types/init-options.d.ts.map +1 -1
- package/dist/utils/format-cross-project-hint.d.ts +1 -1
- package/dist/utils/format-cross-project-hint.d.ts.map +1 -1
- package/dist/utils/format-cross-project-hint.js.map +1 -1
- package/dist/utils/handle-not-initialized-with-search.d.ts +1 -1
- package/dist/utils/handle-not-initialized-with-search.d.ts.map +1 -1
- package/dist/utils/process-timeout-config.d.ts +17 -0
- package/dist/utils/process-timeout-config.d.ts.map +1 -0
- package/dist/utils/process-timeout-config.js +18 -0
- package/dist/utils/process-timeout-config.js.map +1 -0
- package/dist/utils/process-timeout-error.d.ts +4 -0
- package/dist/utils/process-timeout-error.d.ts.map +1 -0
- package/dist/utils/process-timeout-error.js +7 -0
- package/dist/utils/process-timeout-error.js.map +1 -0
- package/oclif.manifest.json +284 -716
- package/package.json +1 -1
- package/proto/centy.proto +42 -233
- package/dist/commands/create/pr.d.ts +0 -21
- package/dist/commands/create/pr.d.ts.map +0 -1
- package/dist/commands/create/pr.js +0 -85
- package/dist/commands/create/pr.js.map +0 -1
- package/dist/commands/delete/pr.d.ts +0 -17
- package/dist/commands/delete/pr.d.ts.map +0 -1
- package/dist/commands/delete/pr.js +0 -74
- package/dist/commands/delete/pr.js.map +0 -1
- package/dist/commands/get/pr.d.ts +0 -19
- package/dist/commands/get/pr.d.ts.map +0 -1
- package/dist/commands/get/pr.js +0 -193
- package/dist/commands/get/pr.js.map +0 -1
- package/dist/commands/list/prs.d.ts +0 -19
- package/dist/commands/list/prs.d.ts.map +0 -1
- package/dist/commands/list/prs.js +0 -90
- package/dist/commands/list/prs.js.map +0 -1
- package/dist/commands/update/pr.d.ts +0 -21
- package/dist/commands/update/pr.d.ts.map +0 -1
- package/dist/commands/update/pr.js +0 -108
- package/dist/commands/update/pr.js.map +0 -1
- package/dist/daemon/daemon-create-pr.d.ts +0 -6
- package/dist/daemon/daemon-create-pr.d.ts.map +0 -1
- package/dist/daemon/daemon-create-pr.js +0 -9
- package/dist/daemon/daemon-create-pr.js.map +0 -1
- package/dist/daemon/daemon-delete-pr.d.ts +0 -6
- package/dist/daemon/daemon-delete-pr.d.ts.map +0 -1
- package/dist/daemon/daemon-delete-pr.js +0 -9
- package/dist/daemon/daemon-delete-pr.js.map +0 -1
- package/dist/daemon/daemon-get-pr-by-display-number.d.ts +0 -6
- package/dist/daemon/daemon-get-pr-by-display-number.d.ts.map +0 -1
- package/dist/daemon/daemon-get-pr-by-display-number.js +0 -14
- package/dist/daemon/daemon-get-pr-by-display-number.js.map +0 -1
- package/dist/daemon/daemon-get-pr.d.ts +0 -6
- package/dist/daemon/daemon-get-pr.d.ts.map +0 -1
- package/dist/daemon/daemon-get-pr.js +0 -14
- package/dist/daemon/daemon-get-pr.js.map +0 -1
- package/dist/daemon/daemon-get-prs-by-uuid.d.ts +0 -6
- package/dist/daemon/daemon-get-prs-by-uuid.d.ts.map +0 -1
- package/dist/daemon/daemon-get-prs-by-uuid.js +0 -9
- package/dist/daemon/daemon-get-prs-by-uuid.js.map +0 -1
- package/dist/daemon/daemon-list-prs.d.ts +0 -6
- package/dist/daemon/daemon-list-prs.d.ts.map +0 -1
- package/dist/daemon/daemon-list-prs.js +0 -9
- package/dist/daemon/daemon-list-prs.js.map +0 -1
- package/dist/daemon/daemon-update-pr.d.ts +0 -6
- package/dist/daemon/daemon-update-pr.d.ts.map +0 -1
- package/dist/daemon/daemon-update-pr.js +0 -9
- package/dist/daemon/daemon-update-pr.js.map +0 -1
- package/dist/lib/create-pr/create-pr.d.ts +0 -8
- package/dist/lib/create-pr/create-pr.d.ts.map +0 -1
- package/dist/lib/create-pr/create-pr.js +0 -116
- package/dist/lib/create-pr/create-pr.js.map +0 -1
- package/dist/lib/create-pr/gather-basic-fields.d.ts +0 -8
- package/dist/lib/create-pr/gather-basic-fields.d.ts.map +0 -1
- package/dist/lib/create-pr/gather-basic-fields.js +0 -34
- package/dist/lib/create-pr/gather-basic-fields.js.map +0 -1
- package/dist/lib/create-pr/gather-metadata-fields.d.ts +0 -11
- package/dist/lib/create-pr/gather-metadata-fields.d.ts.map +0 -1
- package/dist/lib/create-pr/gather-metadata-fields.js +0 -36
- package/dist/lib/create-pr/gather-metadata-fields.js.map +0 -1
- package/dist/lib/create-pr/gather-pr-input.d.ts +0 -8
- package/dist/lib/create-pr/gather-pr-input.d.ts.map +0 -1
- package/dist/lib/create-pr/gather-pr-input.js +0 -38
- package/dist/lib/create-pr/gather-pr-input.js.map +0 -1
- package/dist/lib/create-pr/index.d.ts +0 -2
- package/dist/lib/create-pr/index.d.ts.map +0 -1
- package/dist/lib/create-pr/index.js +0 -2
- package/dist/lib/create-pr/index.js.map +0 -1
- package/dist/lib/create-pr/prompt-for-description.d.ts +0 -6
- package/dist/lib/create-pr/prompt-for-description.d.ts.map +0 -1
- package/dist/lib/create-pr/prompt-for-description.js +0 -12
- package/dist/lib/create-pr/prompt-for-description.js.map +0 -1
- package/dist/lib/create-pr/prompt-for-linked-issues.d.ts +0 -7
- package/dist/lib/create-pr/prompt-for-linked-issues.d.ts.map +0 -1
- package/dist/lib/create-pr/prompt-for-linked-issues.js +0 -22
- package/dist/lib/create-pr/prompt-for-linked-issues.js.map +0 -1
- package/dist/lib/create-pr/prompt-for-priority.d.ts +0 -9
- package/dist/lib/create-pr/prompt-for-priority.d.ts.map +0 -1
- package/dist/lib/create-pr/prompt-for-priority.js +0 -27
- package/dist/lib/create-pr/prompt-for-priority.js.map +0 -1
- package/dist/lib/create-pr/prompt-for-reviewers.d.ts +0 -7
- package/dist/lib/create-pr/prompt-for-reviewers.d.ts.map +0 -1
- package/dist/lib/create-pr/prompt-for-reviewers.js +0 -22
- package/dist/lib/create-pr/prompt-for-reviewers.js.map +0 -1
- package/dist/lib/create-pr/prompt-for-source-branch.d.ts +0 -7
- package/dist/lib/create-pr/prompt-for-source-branch.d.ts.map +0 -1
- package/dist/lib/create-pr/prompt-for-source-branch.js +0 -20
- package/dist/lib/create-pr/prompt-for-source-branch.js.map +0 -1
- package/dist/lib/create-pr/prompt-for-status.d.ts +0 -9
- package/dist/lib/create-pr/prompt-for-status.d.ts.map +0 -1
- package/dist/lib/create-pr/prompt-for-status.js +0 -27
- package/dist/lib/create-pr/prompt-for-status.js.map +0 -1
- package/dist/lib/create-pr/prompt-for-target-branch.d.ts +0 -7
- package/dist/lib/create-pr/prompt-for-target-branch.d.ts.map +0 -1
- package/dist/lib/create-pr/prompt-for-target-branch.js +0 -15
- package/dist/lib/create-pr/prompt-for-target-branch.js.map +0 -1
- package/dist/lib/create-pr/prompt-for-title.d.ts +0 -6
- package/dist/lib/create-pr/prompt-for-title.d.ts.map +0 -1
- package/dist/lib/create-pr/prompt-for-title.js +0 -12
- package/dist/lib/create-pr/prompt-for-title.js.map +0 -1
- package/dist/lib/create-pr/types.d.ts +0 -14
- package/dist/lib/create-pr/types.d.ts.map +0 -1
- package/dist/lib/create-pr/types.js +0 -2
- package/dist/lib/create-pr/types.js.map +0 -1
- package/dist/types/create-pr-options.d.ts +0 -30
- package/dist/types/create-pr-options.d.ts.map +0 -1
- package/dist/types/create-pr-options.js +0 -2
- package/dist/types/create-pr-options.js.map +0 -1
- package/dist/types/create-pr-result.d.ts +0 -16
- package/dist/types/create-pr-result.d.ts.map +0 -1
- package/dist/types/create-pr-result.js +0 -2
- package/dist/types/create-pr-result.js.map +0 -1
package/package.json
CHANGED
package/proto/centy.proto
CHANGED
|
@@ -164,38 +164,6 @@ service CentyDaemon {
|
|
|
164
164
|
// Get daemon version info
|
|
165
165
|
rpc GetDaemonInfo(GetDaemonInfoRequest) returns (DaemonInfo);
|
|
166
166
|
|
|
167
|
-
// ============ PR RPCs ============
|
|
168
|
-
|
|
169
|
-
// Create a new pull request
|
|
170
|
-
rpc CreatePr(CreatePrRequest) returns (CreatePrResponse);
|
|
171
|
-
|
|
172
|
-
// Get a single PR by ID (UUID)
|
|
173
|
-
rpc GetPr(GetPrRequest) returns (GetPrResponse);
|
|
174
|
-
|
|
175
|
-
// Get a single PR by display number (human-readable number like 1, 2, 3)
|
|
176
|
-
rpc GetPrByDisplayNumber(GetPrByDisplayNumberRequest) returns (GetPrResponse);
|
|
177
|
-
|
|
178
|
-
// Get PRs by UUID across all tracked projects (global search)
|
|
179
|
-
rpc GetPrsByUuid(GetPrsByUuidRequest) returns (GetPrsByUuidResponse);
|
|
180
|
-
|
|
181
|
-
// List all PRs with optional filtering
|
|
182
|
-
rpc ListPrs(ListPrsRequest) returns (ListPrsResponse);
|
|
183
|
-
|
|
184
|
-
// Update an existing PR
|
|
185
|
-
rpc UpdatePr(UpdatePrRequest) returns (UpdatePrResponse);
|
|
186
|
-
|
|
187
|
-
// Delete a PR (hard delete - permanent removal)
|
|
188
|
-
rpc DeletePr(DeletePrRequest) returns (DeletePrResponse);
|
|
189
|
-
|
|
190
|
-
// Soft-delete a PR (set deleted_at timestamp - recoverable)
|
|
191
|
-
rpc SoftDeletePr(SoftDeletePrRequest) returns (SoftDeletePrResponse);
|
|
192
|
-
|
|
193
|
-
// Restore a soft-deleted PR (clear deleted_at timestamp)
|
|
194
|
-
rpc RestorePr(RestorePrRequest) returns (RestorePrResponse);
|
|
195
|
-
|
|
196
|
-
// Get the next PR number
|
|
197
|
-
rpc GetNextPrNumber(GetNextPrNumberRequest) returns (GetNextPrNumberResponse);
|
|
198
|
-
|
|
199
167
|
// ============ Daemon Control RPCs ============
|
|
200
168
|
|
|
201
169
|
// Shutdown the daemon gracefully
|
|
@@ -357,6 +325,9 @@ message ReconciliationPlan {
|
|
|
357
325
|
|
|
358
326
|
// Whether user decisions are needed
|
|
359
327
|
bool needs_decisions = 6;
|
|
328
|
+
|
|
329
|
+
bool success = 7;
|
|
330
|
+
string error = 8;
|
|
360
331
|
}
|
|
361
332
|
|
|
362
333
|
message ExecuteReconciliationRequest {
|
|
@@ -418,6 +389,8 @@ message GetNextIssueNumberRequest {
|
|
|
418
389
|
|
|
419
390
|
message GetNextIssueNumberResponse {
|
|
420
391
|
string issue_number = 1;
|
|
392
|
+
bool success = 2;
|
|
393
|
+
string error = 3;
|
|
421
394
|
}
|
|
422
395
|
|
|
423
396
|
// Issue represents a full issue with all its data
|
|
@@ -488,6 +461,8 @@ message GetIssuesByUuidResponse {
|
|
|
488
461
|
repeated IssueWithProject issues = 1;
|
|
489
462
|
int32 total_count = 2;
|
|
490
463
|
repeated string errors = 3; // Non-fatal errors (e.g., projects that couldn't be accessed)
|
|
464
|
+
bool success = 4;
|
|
465
|
+
string error = 5;
|
|
491
466
|
}
|
|
492
467
|
|
|
493
468
|
message ListIssuesRequest {
|
|
@@ -503,6 +478,8 @@ message ListIssuesRequest {
|
|
|
503
478
|
message ListIssuesResponse {
|
|
504
479
|
repeated Issue issues = 1;
|
|
505
480
|
int32 total_count = 2;
|
|
481
|
+
bool success = 3;
|
|
482
|
+
string error = 4;
|
|
506
483
|
}
|
|
507
484
|
|
|
508
485
|
// Advanced search request
|
|
@@ -676,10 +653,16 @@ message Config {
|
|
|
676
653
|
string version = 6; // Project version (semver, empty = daemon default)
|
|
677
654
|
map<string, string> state_colors = 7; // State name → hex color (e.g., "open" → "#10b981")
|
|
678
655
|
map<string, string> priority_colors = 8; // Priority level → hex color (e.g., "1" → "#ef4444")
|
|
679
|
-
|
|
656
|
+
reserved 9; // Previously: LlmConfig llm (removed)
|
|
680
657
|
repeated LinkTypeDefinition custom_link_types = 10; // Custom link types (in addition to built-in)
|
|
681
658
|
string default_editor = 11; // Default editor ID for this project (e.g., "vscode", "terminal", "zed")
|
|
682
659
|
repeated HookDefinition hooks = 12; // Lifecycle hooks
|
|
660
|
+
WorkspaceConfig workspace = 13; // Workspace settings
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
// Workspace configuration section
|
|
664
|
+
message WorkspaceConfig {
|
|
665
|
+
optional bool update_status_on_open = 1; // Auto-update issue status to "in-progress" when opening a temp workspace
|
|
683
666
|
}
|
|
684
667
|
|
|
685
668
|
message CustomFieldDefinition {
|
|
@@ -690,13 +673,6 @@ message CustomFieldDefinition {
|
|
|
690
673
|
repeated string enum_values = 5; // For enum type
|
|
691
674
|
}
|
|
692
675
|
|
|
693
|
-
message LlmConfig {
|
|
694
|
-
bool auto_close_on_complete = 1; // Auto-close issues when marked complete by LLM
|
|
695
|
-
optional bool update_status_on_start = 2; // Update status to in-progress when LLM starts work (null = prompt user)
|
|
696
|
-
bool allow_direct_edits = 3; // Allow LLM to directly edit issue files
|
|
697
|
-
WorkspaceMode default_workspace_mode = 4; // Default workspace mode for agent operations
|
|
698
|
-
}
|
|
699
|
-
|
|
700
676
|
// Lifecycle hook definition (bash scripts to run before/after operations)
|
|
701
677
|
message HookDefinition {
|
|
702
678
|
string pattern = 1; // Pattern like "pre:issue:create" or "*:*:delete"
|
|
@@ -792,6 +768,8 @@ message GetDocsBySlugResponse {
|
|
|
792
768
|
repeated DocWithProject docs = 1;
|
|
793
769
|
int32 total_count = 2;
|
|
794
770
|
repeated string errors = 3; // Non-fatal errors (e.g., projects that couldn't be accessed)
|
|
771
|
+
bool success = 4;
|
|
772
|
+
string error = 5;
|
|
795
773
|
}
|
|
796
774
|
|
|
797
775
|
message ListDocsRequest {
|
|
@@ -802,6 +780,8 @@ message ListDocsRequest {
|
|
|
802
780
|
message ListDocsResponse {
|
|
803
781
|
repeated Doc docs = 1;
|
|
804
782
|
int32 total_count = 2;
|
|
783
|
+
bool success = 3;
|
|
784
|
+
string error = 4;
|
|
805
785
|
}
|
|
806
786
|
|
|
807
787
|
// Doc represents a documentation file
|
|
@@ -946,6 +926,8 @@ message ListAssetsRequest {
|
|
|
946
926
|
message ListAssetsResponse {
|
|
947
927
|
repeated Asset assets = 1;
|
|
948
928
|
int32 total_count = 2;
|
|
929
|
+
bool success = 3;
|
|
930
|
+
string error = 4;
|
|
949
931
|
}
|
|
950
932
|
|
|
951
933
|
message GetAssetRequest {
|
|
@@ -1013,6 +995,8 @@ message ListProjectsRequest {
|
|
|
1013
995
|
message ListProjectsResponse {
|
|
1014
996
|
repeated ProjectInfo projects = 1;
|
|
1015
997
|
int32 total_count = 2;
|
|
998
|
+
bool success = 3;
|
|
999
|
+
string error = 4;
|
|
1016
1000
|
}
|
|
1017
1001
|
|
|
1018
1002
|
message RegisterProjectRequest {
|
|
@@ -1042,6 +1026,8 @@ message GetProjectInfoRequest {
|
|
|
1042
1026
|
message GetProjectInfoResponse {
|
|
1043
1027
|
bool found = 1;
|
|
1044
1028
|
ProjectInfo project = 2;
|
|
1029
|
+
bool success = 3;
|
|
1030
|
+
string error = 4;
|
|
1045
1031
|
}
|
|
1046
1032
|
|
|
1047
1033
|
message SetProjectFavoriteRequest {
|
|
@@ -1137,6 +1123,8 @@ message ListOrganizationsRequest {}
|
|
|
1137
1123
|
message ListOrganizationsResponse {
|
|
1138
1124
|
repeated Organization organizations = 1;
|
|
1139
1125
|
int32 total_count = 2;
|
|
1126
|
+
bool success = 3;
|
|
1127
|
+
string error = 4;
|
|
1140
1128
|
}
|
|
1141
1129
|
|
|
1142
1130
|
message GetOrganizationRequest {
|
|
@@ -1146,6 +1134,8 @@ message GetOrganizationRequest {
|
|
|
1146
1134
|
message GetOrganizationResponse {
|
|
1147
1135
|
bool found = 1;
|
|
1148
1136
|
Organization organization = 2;
|
|
1137
|
+
bool success = 3;
|
|
1138
|
+
string error = 4;
|
|
1149
1139
|
}
|
|
1150
1140
|
|
|
1151
1141
|
message UpdateOrganizationRequest {
|
|
@@ -1177,6 +1167,7 @@ message GetDaemonInfoRequest {}
|
|
|
1177
1167
|
|
|
1178
1168
|
message DaemonInfo {
|
|
1179
1169
|
string version = 1; // Current daemon version (e.g., "0.1.0")
|
|
1170
|
+
reserved 2; // was: repeated string available_versions (removed)
|
|
1180
1171
|
string binary_path = 3; // Absolute path to the running daemon binary
|
|
1181
1172
|
bool vscode_available = 4; // Whether VS Code is installed and accessible
|
|
1182
1173
|
}
|
|
@@ -1203,194 +1194,6 @@ message RestartResponse {
|
|
|
1203
1194
|
string message = 2;
|
|
1204
1195
|
}
|
|
1205
1196
|
|
|
1206
|
-
// ============ PR Messages ============
|
|
1207
|
-
|
|
1208
|
-
message CreatePrRequest {
|
|
1209
|
-
string project_path = 1;
|
|
1210
|
-
string title = 2;
|
|
1211
|
-
string description = 3;
|
|
1212
|
-
string source_branch = 4; // Source branch name (auto-detected if empty)
|
|
1213
|
-
string target_branch = 5; // Target branch name (default: "main")
|
|
1214
|
-
reserved 6; // Removed: linked_issues (use Link system instead)
|
|
1215
|
-
repeated string reviewers = 7; // Reviewer usernames/identifiers
|
|
1216
|
-
int32 priority = 8; // 1 = highest priority, 0 = use default
|
|
1217
|
-
string status = 9; // default: "draft"
|
|
1218
|
-
map<string, string> custom_fields = 10;
|
|
1219
|
-
string template = 11; // Optional template name (without .md extension)
|
|
1220
|
-
}
|
|
1221
|
-
|
|
1222
|
-
message CreatePrResponse {
|
|
1223
|
-
bool success = 1;
|
|
1224
|
-
string error = 2;
|
|
1225
|
-
|
|
1226
|
-
// The created PR ID (UUID)
|
|
1227
|
-
string id = 3;
|
|
1228
|
-
|
|
1229
|
-
// Human-readable display number (1, 2, 3...)
|
|
1230
|
-
uint32 display_number = 4;
|
|
1231
|
-
|
|
1232
|
-
// Paths to created files
|
|
1233
|
-
repeated string created_files = 5;
|
|
1234
|
-
|
|
1235
|
-
// The updated manifest
|
|
1236
|
-
Manifest manifest = 6;
|
|
1237
|
-
|
|
1238
|
-
// Git info
|
|
1239
|
-
string detected_source_branch = 7; // The source branch that was used
|
|
1240
|
-
}
|
|
1241
|
-
|
|
1242
|
-
message GetNextPrNumberRequest {
|
|
1243
|
-
string project_path = 1;
|
|
1244
|
-
}
|
|
1245
|
-
|
|
1246
|
-
message GetNextPrNumberResponse {
|
|
1247
|
-
uint32 next_number = 1;
|
|
1248
|
-
}
|
|
1249
|
-
|
|
1250
|
-
// PullRequest represents a full PR with all its data
|
|
1251
|
-
message PullRequest {
|
|
1252
|
-
// UUID-based PR ID (folder name)
|
|
1253
|
-
string id = 1;
|
|
1254
|
-
|
|
1255
|
-
// Human-readable display number (1, 2, 3...)
|
|
1256
|
-
uint32 display_number = 2;
|
|
1257
|
-
|
|
1258
|
-
string title = 3;
|
|
1259
|
-
string description = 4;
|
|
1260
|
-
PrMetadata metadata = 5;
|
|
1261
|
-
}
|
|
1262
|
-
|
|
1263
|
-
message PrMetadata {
|
|
1264
|
-
// Human-readable display number (1, 2, 3...)
|
|
1265
|
-
uint32 display_number = 1;
|
|
1266
|
-
string status = 2; // e.g., "draft", "open", "merged", "closed"
|
|
1267
|
-
string source_branch = 3;
|
|
1268
|
-
string target_branch = 4;
|
|
1269
|
-
reserved 5; // Removed: linked_issues (use Link system instead)
|
|
1270
|
-
repeated string reviewers = 6;
|
|
1271
|
-
int32 priority = 7; // 1 = highest priority, N = lowest
|
|
1272
|
-
string priority_label = 8; // Human-readable label (e.g., "high", "P1")
|
|
1273
|
-
string created_at = 9; // ISO timestamp
|
|
1274
|
-
string updated_at = 10; // ISO timestamp
|
|
1275
|
-
string merged_at = 11; // ISO timestamp (empty if not merged)
|
|
1276
|
-
string closed_at = 12; // ISO timestamp (empty if not closed)
|
|
1277
|
-
map<string, string> custom_fields = 13;
|
|
1278
|
-
string deleted_at = 14; // ISO timestamp when soft-deleted (empty if not deleted)
|
|
1279
|
-
}
|
|
1280
|
-
|
|
1281
|
-
message GetPrRequest {
|
|
1282
|
-
string project_path = 1;
|
|
1283
|
-
string pr_id = 2; // UUID
|
|
1284
|
-
}
|
|
1285
|
-
|
|
1286
|
-
message GetPrByDisplayNumberRequest {
|
|
1287
|
-
string project_path = 1;
|
|
1288
|
-
uint32 display_number = 2; // Human-readable number (1, 2, 3...)
|
|
1289
|
-
}
|
|
1290
|
-
|
|
1291
|
-
// Wrapper response for GetPr and GetPrByDisplayNumber RPCs
|
|
1292
|
-
message GetPrResponse {
|
|
1293
|
-
bool success = 1;
|
|
1294
|
-
string error = 2;
|
|
1295
|
-
PullRequest pr = 3;
|
|
1296
|
-
}
|
|
1297
|
-
|
|
1298
|
-
// ============ Global PR Search Messages ============
|
|
1299
|
-
|
|
1300
|
-
message GetPrsByUuidRequest {
|
|
1301
|
-
string uuid = 1; // The UUID to search for (must be valid UUID format)
|
|
1302
|
-
}
|
|
1303
|
-
|
|
1304
|
-
// A PR with its source project path
|
|
1305
|
-
message PrWithProject {
|
|
1306
|
-
PullRequest pr = 1;
|
|
1307
|
-
string project_path = 2; // Absolute path to the project where this PR was found
|
|
1308
|
-
string project_name = 3; // Human-readable project name (directory name)
|
|
1309
|
-
string display_path = 4; // Human-readable path with ~/ for home dir (use for display only)
|
|
1310
|
-
}
|
|
1311
|
-
|
|
1312
|
-
message GetPrsByUuidResponse {
|
|
1313
|
-
repeated PrWithProject prs = 1;
|
|
1314
|
-
int32 total_count = 2;
|
|
1315
|
-
repeated string errors = 3; // Non-fatal errors (e.g., projects that couldn't be accessed)
|
|
1316
|
-
}
|
|
1317
|
-
|
|
1318
|
-
message ListPrsRequest {
|
|
1319
|
-
string project_path = 1;
|
|
1320
|
-
|
|
1321
|
-
// Optional filters
|
|
1322
|
-
string status = 2; // Filter by status (empty = all)
|
|
1323
|
-
string source_branch = 3; // Filter by source branch (empty = all)
|
|
1324
|
-
string target_branch = 4; // Filter by target branch (empty = all)
|
|
1325
|
-
int32 priority = 5; // Filter by priority (0 = all)
|
|
1326
|
-
bool include_deleted = 6; // Include soft-deleted PRs (default: false)
|
|
1327
|
-
}
|
|
1328
|
-
|
|
1329
|
-
message ListPrsResponse {
|
|
1330
|
-
repeated PullRequest prs = 1;
|
|
1331
|
-
int32 total_count = 2;
|
|
1332
|
-
}
|
|
1333
|
-
|
|
1334
|
-
message UpdatePrRequest {
|
|
1335
|
-
string project_path = 1;
|
|
1336
|
-
string pr_id = 2; // UUID or display number
|
|
1337
|
-
|
|
1338
|
-
// Fields to update (empty string = don't update, 0 = don't update priority)
|
|
1339
|
-
string title = 3;
|
|
1340
|
-
string description = 4;
|
|
1341
|
-
string status = 5;
|
|
1342
|
-
string source_branch = 6;
|
|
1343
|
-
string target_branch = 7;
|
|
1344
|
-
reserved 8; // Removed: linked_issues (use Link system instead)
|
|
1345
|
-
repeated string reviewers = 9;
|
|
1346
|
-
int32 priority = 10; // 0 = don't update, otherwise 1-N
|
|
1347
|
-
map<string, string> custom_fields = 11;
|
|
1348
|
-
}
|
|
1349
|
-
|
|
1350
|
-
message UpdatePrResponse {
|
|
1351
|
-
bool success = 1;
|
|
1352
|
-
string error = 2;
|
|
1353
|
-
PullRequest pr = 3; // The updated PR
|
|
1354
|
-
Manifest manifest = 4;
|
|
1355
|
-
}
|
|
1356
|
-
|
|
1357
|
-
message DeletePrRequest {
|
|
1358
|
-
string project_path = 1;
|
|
1359
|
-
string pr_id = 2; // UUID or display number
|
|
1360
|
-
}
|
|
1361
|
-
|
|
1362
|
-
message DeletePrResponse {
|
|
1363
|
-
bool success = 1;
|
|
1364
|
-
string error = 2;
|
|
1365
|
-
Manifest manifest = 3; // Updated manifest after deletion
|
|
1366
|
-
}
|
|
1367
|
-
|
|
1368
|
-
// Soft-delete a PR (set deleted_at timestamp)
|
|
1369
|
-
message SoftDeletePrRequest {
|
|
1370
|
-
string project_path = 1;
|
|
1371
|
-
string pr_id = 2; // UUID or display number
|
|
1372
|
-
}
|
|
1373
|
-
|
|
1374
|
-
message SoftDeletePrResponse {
|
|
1375
|
-
bool success = 1;
|
|
1376
|
-
string error = 2;
|
|
1377
|
-
PullRequest pr = 3; // The soft-deleted PR (with deleted_at set)
|
|
1378
|
-
Manifest manifest = 4;
|
|
1379
|
-
}
|
|
1380
|
-
|
|
1381
|
-
// Restore a soft-deleted PR (clear deleted_at timestamp)
|
|
1382
|
-
message RestorePrRequest {
|
|
1383
|
-
string project_path = 1;
|
|
1384
|
-
string pr_id = 2; // UUID or display number
|
|
1385
|
-
}
|
|
1386
|
-
|
|
1387
|
-
message RestorePrResponse {
|
|
1388
|
-
bool success = 1;
|
|
1389
|
-
string error = 2;
|
|
1390
|
-
PullRequest pr = 3; // The restored PR (with deleted_at cleared)
|
|
1391
|
-
Manifest manifest = 4;
|
|
1392
|
-
}
|
|
1393
|
-
|
|
1394
1197
|
// ============ Temp Workspace Messages ============
|
|
1395
1198
|
|
|
1396
1199
|
// Action types for workspace operations
|
|
@@ -1545,6 +1348,8 @@ message ListTempWorkspacesResponse {
|
|
|
1545
1348
|
repeated TempWorkspace workspaces = 1;
|
|
1546
1349
|
uint32 total_count = 2;
|
|
1547
1350
|
uint32 expired_count = 3; // Number of expired workspaces (not included unless include_expired)
|
|
1351
|
+
bool success = 4;
|
|
1352
|
+
string error = 5;
|
|
1548
1353
|
}
|
|
1549
1354
|
|
|
1550
1355
|
message CloseTempWorkspaceRequest {
|
|
@@ -1576,12 +1381,12 @@ enum LinkTargetType {
|
|
|
1576
1381
|
LINK_TARGET_TYPE_UNSPECIFIED = 0;
|
|
1577
1382
|
LINK_TARGET_TYPE_ISSUE = 1;
|
|
1578
1383
|
LINK_TARGET_TYPE_DOC = 2;
|
|
1579
|
-
|
|
1384
|
+
reserved 3; // Removed: LINK_TARGET_TYPE_PR
|
|
1580
1385
|
}
|
|
1581
1386
|
|
|
1582
1387
|
// A link between two entities
|
|
1583
1388
|
message Link {
|
|
1584
|
-
string target_id = 1; // Target entity ID (UUID for issues
|
|
1389
|
+
string target_id = 1; // Target entity ID (UUID for issues, slug for docs)
|
|
1585
1390
|
LinkTargetType target_type = 2; // Type of the target entity
|
|
1586
1391
|
string link_type = 3; // Relationship type (e.g., "blocks", "parent-of")
|
|
1587
1392
|
string created_at = 4; // ISO timestamp when link was created
|
|
@@ -1630,6 +1435,8 @@ message ListLinksRequest {
|
|
|
1630
1435
|
message ListLinksResponse {
|
|
1631
1436
|
repeated Link links = 1;
|
|
1632
1437
|
int32 total_count = 2;
|
|
1438
|
+
bool success = 3;
|
|
1439
|
+
string error = 4;
|
|
1633
1440
|
}
|
|
1634
1441
|
|
|
1635
1442
|
// Get all available link types (builtin + custom)
|
|
@@ -1698,6 +1505,8 @@ message ListUsersRequest {
|
|
|
1698
1505
|
message ListUsersResponse {
|
|
1699
1506
|
repeated User users = 1;
|
|
1700
1507
|
int32 total_count = 2;
|
|
1508
|
+
bool success = 3;
|
|
1509
|
+
string error = 4;
|
|
1701
1510
|
}
|
|
1702
1511
|
|
|
1703
1512
|
message UpdateUserRequest {
|
|
@@ -1780,7 +1589,7 @@ message SyncUsersResponse {
|
|
|
1780
1589
|
enum EntityType {
|
|
1781
1590
|
ENTITY_TYPE_UNSPECIFIED = 0;
|
|
1782
1591
|
ENTITY_TYPE_ISSUE = 1;
|
|
1783
|
-
|
|
1592
|
+
reserved 2; // Removed: ENTITY_TYPE_PR
|
|
1784
1593
|
ENTITY_TYPE_DOC = 3;
|
|
1785
1594
|
}
|
|
1786
1595
|
|
|
@@ -1807,7 +1616,7 @@ message EntityAction {
|
|
|
1807
1616
|
// Request to get available actions for an entity
|
|
1808
1617
|
message GetEntityActionsRequest {
|
|
1809
1618
|
string project_path = 1; // Project path for config/state lookup
|
|
1810
|
-
EntityType entity_type = 2; // Type of entity (issue,
|
|
1619
|
+
EntityType entity_type = 2; // Type of entity (issue, doc)
|
|
1811
1620
|
string entity_id = 3; // Optional: entity ID for contextual actions (empty = general actions like "create")
|
|
1812
1621
|
}
|
|
1813
1622
|
|
|
@@ -1823,7 +1632,7 @@ message GetEntityActionsResponse {
|
|
|
1823
1632
|
// Sync conflict information
|
|
1824
1633
|
message SyncConflict {
|
|
1825
1634
|
string id = 1; // Unique conflict ID
|
|
1826
|
-
string item_type = 2; // Type of item (issue, doc
|
|
1635
|
+
string item_type = 2; // Type of item (issue, doc)
|
|
1827
1636
|
string item_id = 3; // ID of the item with conflict
|
|
1828
1637
|
string file_path = 4; // Relative file path within .centy
|
|
1829
1638
|
string created_at = 5; // When the conflict was detected
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Command } from '@oclif/core';
|
|
2
|
-
/**
|
|
3
|
-
* Create a new pull request in the .centy/prs folder
|
|
4
|
-
*/
|
|
5
|
-
export default class CreatePrCommand extends Command {
|
|
6
|
-
static description: string;
|
|
7
|
-
static examples: string[];
|
|
8
|
-
static flags: {
|
|
9
|
-
title: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
10
|
-
description: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
11
|
-
source: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
12
|
-
target: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
13
|
-
issues: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
14
|
-
reviewers: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
15
|
-
priority: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
16
|
-
status: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
17
|
-
project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
18
|
-
};
|
|
19
|
-
run(): Promise<void>;
|
|
20
|
-
}
|
|
21
|
-
//# sourceMappingURL=pr.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pr.d.ts","sourceRoot":"","sources":["../../../src/commands/create/pr.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAS,MAAM,aAAa,CAAA;AAM5C;;GAEG;AAEH,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,OAAO;IAElD,OAAgB,WAAW,SAAmD;IAG9E,OAAgB,QAAQ,WAMvB;IAGD,OAAgB,KAAK;;;;;;;;;;MAkCpB;IAEY,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CA8BlC"}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
// eslint-disable-next-line import/order
|
|
2
|
-
import { Command, Flags } from '@oclif/core';
|
|
3
|
-
import { projectFlag } from '../../flags/project-flag.js';
|
|
4
|
-
import { createPr } from '../../lib/create-pr/index.js';
|
|
5
|
-
import { resolveProjectPath } from '../../utils/resolve-project-path.js';
|
|
6
|
-
/**
|
|
7
|
-
* Create a new pull request in the .centy/prs folder
|
|
8
|
-
*/
|
|
9
|
-
// eslint-disable-next-line custom/no-default-class-export, class-export/class-export
|
|
10
|
-
export default class CreatePrCommand extends Command {
|
|
11
|
-
// eslint-disable-next-line no-restricted-syntax
|
|
12
|
-
static description = 'Create a new pull request in the .centy folder';
|
|
13
|
-
// eslint-disable-next-line no-restricted-syntax
|
|
14
|
-
static examples = [
|
|
15
|
-
'<%= config.bin %> create pr',
|
|
16
|
-
'<%= config.bin %> create pr --title "Add feature" --source feature-branch',
|
|
17
|
-
'<%= config.bin %> create pr -t "Bug fix" -s bugfix/123 --target main',
|
|
18
|
-
'<%= config.bin %> create pr -t "Feature" --issues 1,2 --reviewers alice,bob',
|
|
19
|
-
'<%= config.bin %> create pr -t "Feature" --project centy-daemon',
|
|
20
|
-
];
|
|
21
|
-
// eslint-disable-next-line no-restricted-syntax
|
|
22
|
-
static flags = {
|
|
23
|
-
title: Flags.string({
|
|
24
|
-
char: 't',
|
|
25
|
-
description: 'PR title',
|
|
26
|
-
}),
|
|
27
|
-
description: Flags.string({
|
|
28
|
-
char: 'd',
|
|
29
|
-
description: 'PR description',
|
|
30
|
-
}),
|
|
31
|
-
source: Flags.string({
|
|
32
|
-
char: 's',
|
|
33
|
-
description: 'Source branch name (auto-detected if not provided)',
|
|
34
|
-
}),
|
|
35
|
-
target: Flags.string({
|
|
36
|
-
description: 'Target branch name (defaults to main)',
|
|
37
|
-
}),
|
|
38
|
-
issues: Flags.string({
|
|
39
|
-
char: 'i',
|
|
40
|
-
description: 'Linked issue IDs (comma-separated)',
|
|
41
|
-
}),
|
|
42
|
-
reviewers: Flags.string({
|
|
43
|
-
char: 'r',
|
|
44
|
-
description: 'Reviewers (comma-separated)',
|
|
45
|
-
}),
|
|
46
|
-
priority: Flags.string({
|
|
47
|
-
char: 'p',
|
|
48
|
-
description: 'Priority level (low/medium/high)',
|
|
49
|
-
options: ['low', 'medium', 'high'],
|
|
50
|
-
}),
|
|
51
|
-
status: Flags.string({
|
|
52
|
-
description: 'Initial status (draft/open)',
|
|
53
|
-
options: ['draft', 'open'],
|
|
54
|
-
}),
|
|
55
|
-
project: projectFlag,
|
|
56
|
-
};
|
|
57
|
-
async run() {
|
|
58
|
-
const { flags } = await this.parse(CreatePrCommand);
|
|
59
|
-
const cwd = await resolveProjectPath(flags.project);
|
|
60
|
-
// Parse comma-separated lists
|
|
61
|
-
const linkedIssues = flags.issues
|
|
62
|
-
? flags.issues.split(',').map(s => s.trim())
|
|
63
|
-
: undefined;
|
|
64
|
-
const reviewers = flags.reviewers
|
|
65
|
-
? flags.reviewers.split(',').map(s => s.trim())
|
|
66
|
-
: undefined;
|
|
67
|
-
const result = await createPr({
|
|
68
|
-
cwd,
|
|
69
|
-
title: flags.title,
|
|
70
|
-
description: flags.description,
|
|
71
|
-
sourceBranch: flags.source,
|
|
72
|
-
targetBranch: flags.target,
|
|
73
|
-
linkedIssues,
|
|
74
|
-
reviewers,
|
|
75
|
-
// eslint-disable-next-line no-restricted-syntax
|
|
76
|
-
priority: flags.priority,
|
|
77
|
-
// eslint-disable-next-line no-restricted-syntax
|
|
78
|
-
status: flags.status,
|
|
79
|
-
});
|
|
80
|
-
if (!result.success) {
|
|
81
|
-
this.error(result.error);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
//# sourceMappingURL=pr.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pr.js","sourceRoot":"","sources":["../../../src/commands/create/pr.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Command } from '@oclif/core';
|
|
2
|
-
/**
|
|
3
|
-
* Delete a pull request
|
|
4
|
-
*/
|
|
5
|
-
export default class DeletePr extends Command {
|
|
6
|
-
static args: {
|
|
7
|
-
id: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
|
8
|
-
};
|
|
9
|
-
static description: string;
|
|
10
|
-
static examples: string[];
|
|
11
|
-
static flags: {
|
|
12
|
-
force: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
13
|
-
project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
14
|
-
};
|
|
15
|
-
run(): Promise<void>;
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=pr.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pr.d.ts","sourceRoot":"","sources":["../../../src/commands/delete/pr.ts"],"names":[],"mappings":"AACA,OAAO,EAAQ,OAAO,EAAS,MAAM,aAAa,CAAA;AAUlD;;GAEG;AAEH,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,OAAO;IAE3C,OAAgB,IAAI;;MAKnB;IAGD,OAAgB,WAAW,SAA0B;IAGrD,OAAgB,QAAQ,WAKvB;IAGD,OAAgB,KAAK;;;MAOpB;IAEY,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CA2ClC"}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
// eslint-disable-next-line import/order
|
|
2
|
-
import { Args, Command, Flags } from '@oclif/core';
|
|
3
|
-
import { daemonDeletePr } from '../../daemon/daemon-delete-pr.js';
|
|
4
|
-
import { projectFlag } from '../../flags/project-flag.js';
|
|
5
|
-
import { ensureInitialized, NotInitializedError, } from '../../utils/ensure-initialized.js';
|
|
6
|
-
import { resolveProjectPath } from '../../utils/resolve-project-path.js';
|
|
7
|
-
/**
|
|
8
|
-
* Delete a pull request
|
|
9
|
-
*/
|
|
10
|
-
// eslint-disable-next-line custom/no-default-class-export, class-export/class-export
|
|
11
|
-
export default class DeletePr extends Command {
|
|
12
|
-
// eslint-disable-next-line no-restricted-syntax
|
|
13
|
-
static args = {
|
|
14
|
-
id: Args.string({
|
|
15
|
-
description: 'PR ID (UUID) or display number',
|
|
16
|
-
required: true,
|
|
17
|
-
}),
|
|
18
|
-
};
|
|
19
|
-
// eslint-disable-next-line no-restricted-syntax
|
|
20
|
-
static description = 'Delete a pull request';
|
|
21
|
-
// eslint-disable-next-line no-restricted-syntax
|
|
22
|
-
static examples = [
|
|
23
|
-
'<%= config.bin %> delete pr 1',
|
|
24
|
-
'<%= config.bin %> delete pr abc123-uuid',
|
|
25
|
-
'<%= config.bin %> delete pr 1 --force',
|
|
26
|
-
'<%= config.bin %> delete pr 1 --project centy-daemon',
|
|
27
|
-
];
|
|
28
|
-
// eslint-disable-next-line no-restricted-syntax
|
|
29
|
-
static flags = {
|
|
30
|
-
force: Flags.boolean({
|
|
31
|
-
char: 'f',
|
|
32
|
-
description: 'Skip confirmation prompt',
|
|
33
|
-
default: false,
|
|
34
|
-
}),
|
|
35
|
-
project: projectFlag,
|
|
36
|
-
};
|
|
37
|
-
async run() {
|
|
38
|
-
const { args, flags } = await this.parse(DeletePr);
|
|
39
|
-
const cwd = await resolveProjectPath(flags.project);
|
|
40
|
-
try {
|
|
41
|
-
await ensureInitialized(cwd);
|
|
42
|
-
}
|
|
43
|
-
catch (error) {
|
|
44
|
-
if (error instanceof NotInitializedError) {
|
|
45
|
-
this.error(error.message);
|
|
46
|
-
}
|
|
47
|
-
throw error instanceof Error ? error : new Error(String(error));
|
|
48
|
-
}
|
|
49
|
-
if (!flags.force) {
|
|
50
|
-
const readline = await import('node:readline');
|
|
51
|
-
const rl = readline.createInterface({
|
|
52
|
-
input: process.stdin,
|
|
53
|
-
output: process.stdout,
|
|
54
|
-
});
|
|
55
|
-
const answer = await new Promise(resolve => {
|
|
56
|
-
rl.question(`Are you sure you want to delete PR ${args.id}? (y/N) `, resolve);
|
|
57
|
-
});
|
|
58
|
-
rl.close();
|
|
59
|
-
if (answer.toLowerCase() !== 'y') {
|
|
60
|
-
this.log('Cancelled.');
|
|
61
|
-
return;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
const response = await daemonDeletePr({
|
|
65
|
-
projectPath: cwd,
|
|
66
|
-
prId: args.id,
|
|
67
|
-
});
|
|
68
|
-
if (!response.success) {
|
|
69
|
-
this.error(response.error);
|
|
70
|
-
}
|
|
71
|
-
this.log(`Deleted PR ${args.id}`);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
//# sourceMappingURL=pr.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pr.js","sourceRoot":"","sources":["../../../src/commands/delete/pr.ts"],"names":[],"mappings":"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"}
|