byterover-cli 2.5.2 → 3.0.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/.env.production +8 -0
- package/LICENSE +44 -0
- package/README.md +240 -14
- package/bin/dev.js +8 -1
- package/bin/run.js +8 -1
- package/dist/agent/core/domain/knowledge/conflict-detector.d.ts +38 -0
- package/dist/agent/core/domain/knowledge/conflict-detector.js +71 -0
- package/dist/agent/core/domain/knowledge/conflict-resolver.d.ts +17 -0
- package/dist/agent/core/domain/knowledge/conflict-resolver.js +118 -0
- package/dist/agent/core/domain/knowledge/utils.d.ts +4 -0
- package/dist/agent/core/domain/knowledge/utils.js +6 -0
- package/dist/agent/core/interfaces/i-curate-service.d.ts +6 -0
- package/dist/agent/infra/tools/implementations/curate-tool.d.ts +67 -34
- package/dist/agent/infra/tools/implementations/curate-tool.js +294 -47
- package/dist/agent/resources/prompts/system-prompt.yml +15 -8
- package/dist/agent/resources/tools/code_exec.txt +3 -0
- package/dist/agent/resources/tools/curate.txt +12 -3
- package/dist/oclif/commands/connectors/install.d.ts +2 -1
- package/dist/oclif/commands/connectors/install.js +38 -3
- package/dist/oclif/commands/curate/index.d.ts +18 -0
- package/dist/oclif/commands/curate/index.js +78 -1
- package/dist/oclif/commands/init.d.ts +12 -0
- package/dist/oclif/commands/init.js +75 -0
- package/dist/oclif/commands/locations.js +1 -1
- package/dist/oclif/commands/providers/connect.d.ts +31 -1
- package/dist/oclif/commands/providers/connect.js +307 -27
- package/dist/oclif/commands/pull.d.ts +1 -0
- package/dist/oclif/commands/pull.js +7 -0
- package/dist/oclif/commands/push.d.ts +1 -0
- package/dist/oclif/commands/push.js +8 -0
- package/dist/oclif/commands/review/approve.d.ts +17 -0
- package/dist/oclif/commands/review/approve.js +37 -0
- package/dist/oclif/commands/review/base-review-decision.d.ts +18 -0
- package/dist/oclif/commands/review/base-review-decision.js +71 -0
- package/dist/oclif/commands/review/pending.d.ts +13 -0
- package/dist/oclif/commands/review/pending.js +94 -0
- package/dist/oclif/commands/review/reject.d.ts +17 -0
- package/dist/oclif/commands/review/reject.js +38 -0
- package/dist/oclif/commands/space/list.d.ts +2 -2
- package/dist/oclif/commands/space/list.js +13 -35
- package/dist/oclif/commands/space/switch.d.ts +2 -7
- package/dist/oclif/commands/space/switch.js +13 -56
- package/dist/oclif/commands/status.d.ts +1 -0
- package/dist/oclif/commands/status.js +11 -1
- package/dist/oclif/commands/vc/add.d.ts +7 -0
- package/dist/oclif/commands/vc/add.js +29 -0
- package/dist/oclif/commands/vc/branch.d.ts +15 -0
- package/dist/oclif/commands/vc/branch.js +70 -0
- package/dist/oclif/commands/vc/checkout.d.ts +14 -0
- package/dist/oclif/commands/vc/checkout.js +47 -0
- package/dist/oclif/commands/vc/clone.d.ts +9 -0
- package/dist/oclif/commands/vc/clone.js +61 -0
- package/dist/oclif/commands/vc/commit.d.ts +10 -0
- package/dist/oclif/commands/vc/commit.js +32 -0
- package/dist/oclif/commands/vc/config.d.ts +10 -0
- package/dist/oclif/commands/vc/config.js +30 -0
- package/dist/oclif/commands/vc/fetch.d.ts +10 -0
- package/dist/oclif/commands/vc/fetch.js +42 -0
- package/dist/oclif/commands/vc/index.d.ts +6 -0
- package/dist/oclif/commands/vc/index.js +8 -0
- package/dist/oclif/commands/vc/init.d.ts +6 -0
- package/dist/oclif/commands/vc/init.js +25 -0
- package/dist/oclif/commands/vc/log.d.ts +13 -0
- package/dist/oclif/commands/vc/log.js +48 -0
- package/dist/oclif/commands/vc/merge.d.ts +19 -0
- package/dist/oclif/commands/vc/merge.js +130 -0
- package/dist/oclif/commands/vc/pull.d.ts +13 -0
- package/dist/oclif/commands/vc/pull.js +60 -0
- package/dist/oclif/commands/vc/push.d.ts +13 -0
- package/dist/oclif/commands/vc/push.js +60 -0
- package/dist/oclif/commands/vc/remote/add.d.ts +10 -0
- package/dist/oclif/commands/vc/remote/add.js +30 -0
- package/dist/oclif/commands/vc/remote/index.d.ts +6 -0
- package/dist/oclif/commands/vc/remote/index.js +16 -0
- package/dist/oclif/commands/vc/remote/set-url.d.ts +10 -0
- package/dist/oclif/commands/vc/remote/set-url.js +30 -0
- package/dist/oclif/commands/vc/reset.d.ts +13 -0
- package/dist/oclif/commands/vc/reset.js +62 -0
- package/dist/oclif/commands/vc/status.d.ts +8 -0
- package/dist/oclif/commands/vc/status.js +106 -0
- package/dist/oclif/hooks/init/validate-brv-config.d.ts +26 -0
- package/dist/oclif/hooks/init/validate-brv-config.js +62 -0
- package/dist/oclif/lib/daemon-client.d.ts +2 -0
- package/dist/oclif/lib/daemon-client.js +36 -10
- package/dist/oclif/lib/prompt-utils.d.ts +43 -0
- package/dist/oclif/lib/prompt-utils.js +84 -0
- package/dist/oclif/lib/spinner.d.ts +8 -0
- package/dist/oclif/lib/spinner.js +23 -0
- package/dist/oclif/lib/task-client.d.ts +5 -0
- package/dist/oclif/lib/task-client.js +15 -2
- package/dist/server/config/environment.d.ts +2 -19
- package/dist/server/config/environment.js +31 -38
- package/dist/server/constants.d.ts +3 -9
- package/dist/server/constants.js +9 -12
- package/dist/server/core/domain/entities/auth-token.d.ts +2 -0
- package/dist/server/core/domain/entities/auth-token.js +7 -1
- package/dist/server/core/domain/entities/curate-log-entry.d.ts +11 -0
- package/dist/server/core/domain/entities/space.d.ts +4 -0
- package/dist/server/core/domain/entities/space.js +8 -0
- package/dist/server/core/domain/entities/team.d.ts +2 -0
- package/dist/server/core/domain/entities/team.js +4 -0
- package/dist/server/core/domain/errors/auth-error.d.ts +0 -6
- package/dist/server/core/domain/errors/auth-error.js +0 -12
- package/dist/server/core/domain/errors/git-error.d.ts +6 -0
- package/dist/server/core/domain/errors/git-error.js +12 -0
- package/dist/server/core/domain/errors/task-error.d.ts +4 -3
- package/dist/server/core/domain/errors/task-error.js +8 -8
- package/dist/server/core/domain/errors/transport-error.d.ts +0 -31
- package/dist/server/core/domain/errors/transport-error.js +0 -50
- package/dist/server/core/domain/errors/vc-error.d.ts +5 -0
- package/dist/server/core/domain/errors/vc-error.js +8 -0
- package/dist/server/core/domain/knowledge/markdown-writer.d.ts +4 -1
- package/dist/server/core/domain/knowledge/markdown-writer.js +37 -7
- package/dist/server/core/domain/transport/schemas.d.ts +6 -6
- package/dist/server/core/interfaces/context-tree/i-context-tree-service.d.ts +11 -0
- package/dist/server/core/interfaces/process/i-task-lifecycle-hook.d.ts +6 -0
- package/dist/server/core/interfaces/services/i-git-service.d.ts +234 -0
- package/dist/server/core/interfaces/storage/i-curate-log-store.d.ts +5 -0
- package/dist/server/core/interfaces/storage/i-review-backup-store.d.ts +19 -0
- package/dist/server/core/interfaces/vc/i-vc-git-config-store.d.ts +8 -0
- package/dist/server/infra/config/auto-init.d.ts +0 -2
- package/dist/server/infra/config/auto-init.js +0 -1
- package/dist/server/infra/connectors/rules/rules-connector-config.d.ts +0 -4
- package/dist/server/infra/context-tree/file-context-tree-service.d.ts +2 -0
- package/dist/server/infra/context-tree/file-context-tree-service.js +13 -0
- package/dist/server/infra/daemon/brv-server.js +23 -3
- package/dist/server/infra/git/cogit-url.d.ts +17 -0
- package/dist/server/infra/git/cogit-url.js +39 -0
- package/dist/server/infra/git/git-http-wrapper.d.ts +20 -0
- package/dist/server/infra/git/git-http-wrapper.js +334 -0
- package/dist/server/infra/git/isomorphic-git-service.d.ts +78 -0
- package/dist/server/infra/git/isomorphic-git-service.js +983 -0
- package/dist/server/infra/http/models-dev-client.d.ts +0 -4
- package/dist/server/infra/http/models-dev-client.js +0 -6
- package/dist/server/infra/http/openrouter-api-client.d.ts +0 -8
- package/dist/server/infra/http/openrouter-api-client.js +0 -13
- package/dist/server/infra/http/provider-model-fetcher-registry.d.ts +0 -5
- package/dist/server/infra/http/provider-model-fetcher-registry.js +0 -7
- package/dist/server/infra/http/review-api-handler.d.ts +13 -0
- package/dist/server/infra/http/review-api-handler.js +286 -0
- package/dist/server/infra/http/review-ui.d.ts +7 -0
- package/dist/server/infra/http/review-ui.js +606 -0
- package/dist/server/infra/mcp/tools/brv-curate-tool.d.ts +2 -2
- package/dist/server/infra/process/curate-log-handler.d.ts +18 -2
- package/dist/server/infra/process/curate-log-handler.js +50 -13
- package/dist/server/infra/process/feature-handlers.js +41 -1
- package/dist/server/infra/process/task-router.js +16 -0
- package/dist/server/infra/provider/env-provider-detector.d.ts +0 -20
- package/dist/server/infra/provider/env-provider-detector.js +0 -27
- package/dist/server/infra/space/http-space-service.js +2 -0
- package/dist/server/infra/storage/file-curate-log-store.d.ts +10 -0
- package/dist/server/infra/storage/file-curate-log-store.js +35 -0
- package/dist/server/infra/storage/file-provider-config-store.d.ts +0 -4
- package/dist/server/infra/storage/file-provider-config-store.js +0 -6
- package/dist/server/infra/storage/file-review-backup-store.d.ts +29 -0
- package/dist/server/infra/storage/file-review-backup-store.js +121 -0
- package/dist/server/infra/transport/handlers/auth-handler.js +9 -5
- package/dist/server/infra/transport/handlers/handler-types.d.ts +9 -0
- package/dist/server/infra/transport/handlers/handler-types.js +11 -0
- package/dist/server/infra/transport/handlers/index.d.ts +4 -0
- package/dist/server/infra/transport/handlers/index.js +2 -0
- package/dist/server/infra/transport/handlers/init-handler.d.ts +1 -0
- package/dist/server/infra/transport/handlers/init-handler.js +13 -1
- package/dist/server/infra/transport/handlers/pull-handler.d.ts +3 -0
- package/dist/server/infra/transport/handlers/pull-handler.js +5 -1
- package/dist/server/infra/transport/handlers/push-handler.d.ts +20 -0
- package/dist/server/infra/transport/handlers/push-handler.js +116 -14
- package/dist/server/infra/transport/handlers/reset-handler.d.ts +11 -0
- package/dist/server/infra/transport/handlers/reset-handler.js +37 -1
- package/dist/server/infra/transport/handlers/review-handler.d.ts +35 -0
- package/dist/server/infra/transport/handlers/review-handler.js +162 -0
- package/dist/server/infra/transport/handlers/space-handler.d.ts +3 -0
- package/dist/server/infra/transport/handlers/space-handler.js +4 -1
- package/dist/server/infra/transport/handlers/status-handler.d.ts +5 -0
- package/dist/server/infra/transport/handlers/status-handler.js +51 -16
- package/dist/server/infra/transport/handlers/vc-handler.d.ts +100 -0
- package/dist/server/infra/transport/handlers/vc-handler.js +1050 -0
- package/dist/server/infra/transport/socket-io-transport-server.d.ts +7 -0
- package/dist/server/infra/transport/socket-io-transport-server.js +12 -1
- package/dist/server/infra/transport/transport-connector.d.ts +1 -1
- package/dist/server/infra/transport/transport-connector.js +2 -1
- package/dist/server/infra/vc/file-vc-git-config-store.d.ts +11 -0
- package/dist/server/infra/vc/file-vc-git-config-store.js +43 -0
- package/dist/server/templates/skill/SKILL.md +167 -33
- package/dist/server/utils/curate-result-parser.d.ts +64 -0
- package/dist/server/utils/curate-result-parser.js +8 -0
- package/dist/server/utils/file-content-reader.d.ts +2 -1
- package/dist/server/utils/file-helpers.d.ts +0 -24
- package/dist/server/utils/file-helpers.js +0 -81
- package/dist/server/utils/gitignore.d.ts +9 -0
- package/dist/server/utils/gitignore.js +47 -0
- package/dist/server/utils/process-logger.d.ts +0 -13
- package/dist/server/utils/process-logger.js +1 -78
- package/dist/shared/transport/events/index.d.ts +6 -0
- package/dist/shared/transport/events/index.js +3 -0
- package/dist/shared/transport/events/init-events.d.ts +8 -0
- package/dist/shared/transport/events/init-events.js +1 -0
- package/dist/shared/transport/events/push-events.d.ts +6 -0
- package/dist/shared/transport/events/review-events.d.ts +41 -0
- package/dist/shared/transport/events/review-events.js +5 -0
- package/dist/shared/transport/events/vc-events.d.ts +257 -0
- package/dist/shared/transport/events/vc-events.js +67 -0
- package/dist/shared/transport/types/dto.d.ts +6 -1
- package/dist/tui/app/pages/init-project-page.d.ts +9 -0
- package/dist/tui/app/pages/init-project-page.js +54 -0
- package/dist/tui/app/pages/protected-routes.js +14 -6
- package/dist/tui/components/index.d.ts +0 -2
- package/dist/tui/components/index.js +0 -1
- package/dist/tui/features/activity/hooks/use-activity-logs.js +7 -1
- package/dist/tui/features/commands/definitions/index.js +3 -0
- package/dist/tui/features/commands/definitions/space-list.js +9 -18
- package/dist/tui/features/commands/definitions/space-switch.js +10 -6
- package/dist/tui/features/commands/definitions/vc-add.d.ts +2 -0
- package/dist/tui/features/commands/definitions/vc-add.js +15 -0
- package/dist/tui/features/commands/definitions/vc-branch.d.ts +2 -0
- package/dist/tui/features/commands/definitions/vc-branch.js +33 -0
- package/dist/tui/features/commands/definitions/vc-checkout.d.ts +2 -0
- package/dist/tui/features/commands/definitions/vc-checkout.js +32 -0
- package/dist/tui/features/commands/definitions/vc-clone.d.ts +2 -0
- package/dist/tui/features/commands/definitions/vc-clone.js +18 -0
- package/dist/tui/features/commands/definitions/vc-commit.d.ts +2 -0
- package/dist/tui/features/commands/definitions/vc-commit.js +32 -0
- package/dist/tui/features/commands/definitions/vc-config.d.ts +2 -0
- package/dist/tui/features/commands/definitions/vc-config.js +40 -0
- package/dist/tui/features/commands/definitions/vc-fetch.d.ts +2 -0
- package/dist/tui/features/commands/definitions/vc-fetch.js +37 -0
- package/dist/tui/features/commands/definitions/vc-init.d.ts +2 -0
- package/dist/tui/features/commands/definitions/vc-init.js +11 -0
- package/dist/tui/features/commands/definitions/vc-log.d.ts +2 -0
- package/dist/tui/features/commands/definitions/vc-log.js +25 -0
- package/dist/tui/features/commands/definitions/vc-merge.d.ts +2 -0
- package/dist/tui/features/commands/definitions/vc-merge.js +48 -0
- package/dist/tui/features/commands/definitions/vc-pull.d.ts +2 -0
- package/dist/tui/features/commands/definitions/vc-pull.js +42 -0
- package/dist/tui/features/commands/definitions/vc-push.d.ts +2 -0
- package/dist/tui/features/commands/definitions/vc-push.js +38 -0
- package/dist/tui/features/commands/definitions/vc-remote.d.ts +2 -0
- package/dist/tui/features/commands/definitions/vc-remote.js +57 -0
- package/dist/tui/features/commands/definitions/vc-reset.d.ts +2 -0
- package/dist/tui/features/commands/definitions/vc-reset.js +35 -0
- package/dist/tui/features/commands/definitions/vc-status.d.ts +2 -0
- package/dist/tui/features/commands/definitions/vc-status.js +11 -0
- package/dist/tui/features/commands/definitions/vc.d.ts +2 -0
- package/dist/tui/features/commands/definitions/vc.js +36 -0
- package/dist/tui/features/commands/hooks/use-slash-command-processor.js +5 -5
- package/dist/tui/features/log/api/execute-log.d.ts +8 -0
- package/dist/tui/features/log/api/execute-log.js +13 -0
- package/dist/tui/features/log/components/log-flow.d.ts +14 -0
- package/dist/tui/features/log/components/log-flow.js +29 -0
- package/dist/tui/features/log/utils/format-log.d.ts +3 -0
- package/dist/tui/features/log/utils/format-log.js +42 -0
- package/dist/tui/features/onboarding/hooks/use-app-view-mode.d.ts +9 -5
- package/dist/tui/features/onboarding/hooks/use-app-view-mode.js +12 -5
- package/dist/tui/features/push/components/push-flow.js +9 -2
- package/dist/tui/features/reset/components/reset-flow.js +2 -1
- package/dist/tui/features/status/components/status-view.js +2 -1
- package/dist/tui/features/status/utils/format-status.js +9 -0
- package/dist/tui/features/tasks/hooks/use-task-subscriptions.js +11 -0
- package/dist/tui/features/tasks/stores/tasks-store.d.ts +10 -0
- package/dist/tui/features/tasks/stores/tasks-store.js +16 -0
- package/dist/tui/features/vc/add/api/execute-vc-add.d.ts +8 -0
- package/dist/tui/features/vc/add/api/execute-vc-add.js +13 -0
- package/dist/tui/features/vc/add/components/vc-add-flow.d.ts +7 -0
- package/dist/tui/features/vc/add/components/vc-add-flow.js +35 -0
- package/dist/tui/features/vc/branch/api/execute-vc-branch.d.ts +8 -0
- package/dist/tui/features/vc/branch/api/execute-vc-branch.js +13 -0
- package/dist/tui/features/vc/branch/components/vc-branch-flow.d.ts +8 -0
- package/dist/tui/features/vc/branch/components/vc-branch-flow.js +53 -0
- package/dist/tui/features/vc/branch/utils/format-branch.d.ts +4 -0
- package/dist/tui/features/vc/branch/utils/format-branch.js +12 -0
- package/dist/tui/features/vc/checkout/api/execute-vc-checkout.d.ts +8 -0
- package/dist/tui/features/vc/checkout/api/execute-vc-checkout.js +13 -0
- package/dist/tui/features/vc/checkout/components/vc-checkout-flow.d.ts +8 -0
- package/dist/tui/features/vc/checkout/components/vc-checkout-flow.js +33 -0
- package/dist/tui/features/vc/clone/api/execute-vc-clone.d.ts +8 -0
- package/dist/tui/features/vc/clone/api/execute-vc-clone.js +13 -0
- package/dist/tui/features/vc/clone/components/vc-clone-flow.d.ts +7 -0
- package/dist/tui/features/vc/clone/components/vc-clone-flow.js +79 -0
- package/dist/tui/features/vc/commit/api/execute-vc-commit.d.ts +8 -0
- package/dist/tui/features/vc/commit/api/execute-vc-commit.js +13 -0
- package/dist/tui/features/vc/commit/components/vc-commit-flow.d.ts +7 -0
- package/dist/tui/features/vc/commit/components/vc-commit-flow.js +29 -0
- package/dist/tui/features/vc/config/api/execute-vc-config.d.ts +8 -0
- package/dist/tui/features/vc/config/api/execute-vc-config.js +13 -0
- package/dist/tui/features/vc/config/components/vc-config-flow.d.ts +9 -0
- package/dist/tui/features/vc/config/components/vc-config-flow.js +30 -0
- package/dist/tui/features/vc/fetch/api/execute-vc-fetch.d.ts +8 -0
- package/dist/tui/features/vc/fetch/api/execute-vc-fetch.js +13 -0
- package/dist/tui/features/vc/fetch/components/vc-fetch-flow.d.ts +8 -0
- package/dist/tui/features/vc/fetch/components/vc-fetch-flow.js +75 -0
- package/dist/tui/features/vc/init/api/execute-vc-init.d.ts +8 -0
- package/dist/tui/features/vc/init/api/execute-vc-init.js +13 -0
- package/dist/tui/features/vc/init/components/vc-init-flow.d.ts +10 -0
- package/dist/tui/features/vc/init/components/vc-init-flow.js +37 -0
- package/dist/tui/features/vc/merge/api/execute-vc-merge.d.ts +8 -0
- package/dist/tui/features/vc/merge/api/execute-vc-merge.js +13 -0
- package/dist/tui/features/vc/merge/components/vc-merge-flow.d.ts +11 -0
- package/dist/tui/features/vc/merge/components/vc-merge-flow.js +72 -0
- package/dist/tui/features/vc/pull/api/execute-vc-pull.d.ts +8 -0
- package/dist/tui/features/vc/pull/api/execute-vc-pull.js +13 -0
- package/dist/tui/features/vc/pull/components/vc-pull-flow.d.ts +9 -0
- package/dist/tui/features/vc/pull/components/vc-pull-flow.js +83 -0
- package/dist/tui/features/vc/push/api/execute-vc-push.d.ts +8 -0
- package/dist/tui/features/vc/push/api/execute-vc-push.js +13 -0
- package/dist/tui/features/vc/push/components/vc-push-flow.d.ts +8 -0
- package/dist/tui/features/vc/push/components/vc-push-flow.js +83 -0
- package/dist/tui/features/vc/remote/api/execute-vc-remote.d.ts +8 -0
- package/dist/tui/features/vc/remote/api/execute-vc-remote.js +13 -0
- package/dist/tui/features/vc/remote/components/vc-remote-flow.d.ts +9 -0
- package/dist/tui/features/vc/remote/components/vc-remote-flow.js +42 -0
- package/dist/tui/features/vc/reset/api/execute-vc-reset.d.ts +8 -0
- package/dist/tui/features/vc/reset/api/execute-vc-reset.js +13 -0
- package/dist/tui/features/vc/reset/components/vc-reset-flow.d.ts +10 -0
- package/dist/tui/features/vc/reset/components/vc-reset-flow.js +63 -0
- package/dist/tui/features/vc/status/api/execute-vc-status.d.ts +8 -0
- package/dist/tui/features/vc/status/api/execute-vc-status.js +13 -0
- package/dist/tui/features/vc/status/components/vc-status-flow.d.ts +10 -0
- package/dist/tui/features/vc/status/components/vc-status-flow.js +133 -0
- package/dist/tui/lib/environment.d.ts +8 -0
- package/dist/tui/lib/environment.js +8 -0
- package/dist/tui/utils/error-messages.d.ts +5 -1
- package/dist/tui/utils/error-messages.js +32 -3
- package/node_modules/@campfirein/brv-transport-client/LICENSE +95 -0
- package/node_modules/@campfirein/brv-transport-client/README.md +3 -4
- package/node_modules/@campfirein/brv-transport-client/package.json +2 -2
- package/oclif.manifest.json +985 -65
- package/package.json +13 -5
- package/dist/oclif/hooks/prerun/validate-brv-config-version.d.ts +0 -33
- package/dist/oclif/hooks/prerun/validate-brv-config-version.js +0 -86
- package/dist/server/core/domain/entities/bullet.d.ts +0 -51
- package/dist/server/core/domain/entities/bullet.js +0 -94
- package/dist/server/core/domain/entities/memory.d.ts +0 -55
- package/dist/server/core/domain/entities/memory.js +0 -90
- package/dist/server/core/domain/entities/playbook.d.ts +0 -80
- package/dist/server/core/domain/entities/playbook.js +0 -214
- package/dist/server/core/domain/entities/presigned-url.d.ts +0 -9
- package/dist/server/core/domain/entities/presigned-url.js +0 -18
- package/dist/server/core/domain/entities/presigned-urls-response.d.ts +0 -10
- package/dist/server/core/domain/entities/presigned-urls-response.js +0 -18
- package/dist/server/core/domain/entities/retrieve-result.d.ts +0 -35
- package/dist/server/core/domain/entities/retrieve-result.js +0 -35
- package/dist/server/core/domain/errors/headless-prompt-error.d.ts +0 -11
- package/dist/server/core/domain/errors/headless-prompt-error.js +0 -18
- package/dist/server/core/interfaces/services/i-legacy-rule-detector.d.ts +0 -56
- package/dist/server/core/interfaces/services/i-memory-retrieval-service.d.ts +0 -39
- package/dist/server/core/interfaces/services/i-memory-storage-service.d.ts +0 -53
- package/dist/server/core/interfaces/services/i-terminal.d.ts +0 -146
- package/dist/server/core/interfaces/services/i-terminal.js +0 -1
- package/dist/server/core/interfaces/services/i-workspace-detector-service.d.ts +0 -8
- package/dist/server/core/interfaces/services/i-workspace-detector-service.js +0 -1
- package/dist/server/core/interfaces/storage/i-onboarding-preference-store.d.ts +0 -20
- package/dist/server/core/interfaces/storage/i-onboarding-preference-store.js +0 -1
- package/dist/server/infra/connectors/rules/legacy-rule-detector.d.ts +0 -21
- package/dist/server/infra/connectors/rules/legacy-rule-detector.js +0 -106
- package/dist/server/infra/memory/http-memory-retrieval-service.d.ts +0 -18
- package/dist/server/infra/memory/http-memory-retrieval-service.js +0 -64
- package/dist/server/infra/memory/http-memory-storage-service.d.ts +0 -18
- package/dist/server/infra/memory/http-memory-storage-service.js +0 -72
- package/dist/server/infra/memory/memory-to-playbook-mapper.d.ts +0 -33
- package/dist/server/infra/memory/memory-to-playbook-mapper.js +0 -51
- package/dist/server/infra/storage/file-onboarding-preference-store.d.ts +0 -10
- package/dist/server/infra/storage/file-onboarding-preference-store.js +0 -45
- package/dist/server/infra/terminal/headless-terminal.d.ts +0 -91
- package/dist/server/infra/terminal/headless-terminal.js +0 -211
- package/dist/server/infra/workspace/workspace-detector-service.d.ts +0 -57
- package/dist/server/infra/workspace/workspace-detector-service.js +0 -165
- package/dist/server/utils/crash-log.d.ts +0 -14
- package/dist/server/utils/crash-log.js +0 -19
- package/dist/server/utils/emoji-helpers.d.ts +0 -38
- package/dist/server/utils/emoji-helpers.js +0 -42
- package/dist/server/utils/error-handler.d.ts +0 -51
- package/dist/server/utils/error-handler.js +0 -169
- package/dist/server/utils/oclif-error-helpers.d.ts +0 -40
- package/dist/server/utils/oclif-error-helpers.js +0 -46
- package/dist/server/utils/tool-display-formatter.d.ts +0 -53
- package/dist/server/utils/tool-display-formatter.js +0 -257
- package/dist/tui/components/init.d.ts +0 -33
- package/dist/tui/components/init.js +0 -234
- package/dist/tui/features/space/api/get-spaces.d.ts +0 -16
- package/dist/tui/features/space/api/get-spaces.js +0 -17
- package/dist/tui/features/space/api/switch-space.d.ts +0 -11
- package/dist/tui/features/space/api/switch-space.js +0 -24
- package/dist/tui/features/space/components/space-list-view.d.ts +0 -12
- package/dist/tui/features/space/components/space-list-view.js +0 -56
- package/dist/tui/features/space/components/space-switch-flow.d.ts +0 -13
- package/dist/tui/features/space/components/space-switch-flow.js +0 -97
- /package/dist/server/core/interfaces/services/{i-legacy-rule-detector.js → i-git-service.js} +0 -0
- /package/dist/server/core/interfaces/{services/i-memory-retrieval-service.js → storage/i-review-backup-store.js} +0 -0
- /package/dist/server/core/interfaces/{services/i-memory-storage-service.js → vc/i-vc-git-config-store.js} +0 -0
package/oclif.manifest.json
CHANGED
|
@@ -75,6 +75,40 @@
|
|
|
75
75
|
"hook-prompt-submit.js"
|
|
76
76
|
]
|
|
77
77
|
},
|
|
78
|
+
"init": {
|
|
79
|
+
"aliases": [],
|
|
80
|
+
"args": {},
|
|
81
|
+
"description": "Initialize a ByteRover project in the current directory",
|
|
82
|
+
"examples": [
|
|
83
|
+
"<%= config.bin %> <%= command.id %>",
|
|
84
|
+
"<%= config.bin %> <%= command.id %> --force"
|
|
85
|
+
],
|
|
86
|
+
"flags": {
|
|
87
|
+
"force": {
|
|
88
|
+
"char": "f",
|
|
89
|
+
"description": "Force re-initialization even if already initialized",
|
|
90
|
+
"name": "force",
|
|
91
|
+
"allowNo": false,
|
|
92
|
+
"type": "boolean"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"hasDynamicHelp": false,
|
|
96
|
+
"hidden": true,
|
|
97
|
+
"hiddenAliases": [],
|
|
98
|
+
"id": "init",
|
|
99
|
+
"pluginAlias": "byterover-cli",
|
|
100
|
+
"pluginName": "byterover-cli",
|
|
101
|
+
"pluginType": "core",
|
|
102
|
+
"strict": true,
|
|
103
|
+
"enableJsonFlag": false,
|
|
104
|
+
"isESM": true,
|
|
105
|
+
"relativePath": [
|
|
106
|
+
"dist",
|
|
107
|
+
"oclif",
|
|
108
|
+
"commands",
|
|
109
|
+
"init.js"
|
|
110
|
+
]
|
|
111
|
+
},
|
|
78
112
|
"locations": {
|
|
79
113
|
"aliases": [],
|
|
80
114
|
"args": {},
|
|
@@ -513,9 +547,9 @@
|
|
|
513
547
|
"aliases": [],
|
|
514
548
|
"args": {
|
|
515
549
|
"agent": {
|
|
516
|
-
"description": "Agent name to install connector for (e.g., \"Claude Code\", \"Cursor\")",
|
|
550
|
+
"description": "Agent name to install connector for (e.g., \"Claude Code\", \"Cursor\"). Omit for interactive selection.",
|
|
517
551
|
"name": "agent",
|
|
518
|
-
"required":
|
|
552
|
+
"required": false
|
|
519
553
|
}
|
|
520
554
|
},
|
|
521
555
|
"description": "Install or switch a connector for an agent\n\n Connector Types:\n Rules Agent reads instructions from rule file\n Hook Instructions injected on each prompt\n MCP Agent connects via MCP protocol\n Agent Skill Agent reads skill files from project directory\n\n Available agents Default Supported Types\n ──────────────────── ─────────────── ─────────────────────────\n Amp Agent Skill Rules, MCP, Agent Skill\n Antigravity Agent Skill Rules, MCP, Agent Skill\n Auggie CLI Agent Skill Rules, MCP, Agent Skill\n Augment Code MCP Rules, MCP\n Claude Code Agent Skill Rules, Hook, MCP, Agent Skill\n Cline MCP Rules, MCP\n Codex Agent Skill Rules, MCP, Agent Skill\n Cursor Agent Skill Rules, MCP, Agent Skill\n Gemini CLI Agent Skill Rules, MCP, Agent Skill\n Github Copilot Agent Skill Rules, MCP, Agent Skill\n Junie Agent Skill Rules, MCP, Agent Skill\n Kilo Code Agent Skill Rules, MCP, Agent Skill\n Kiro Agent Skill Rules, MCP, Agent Skill\n OpenClaw Agent Skill Agent Skill\n OpenCode Agent Skill Rules, MCP, Agent Skill\n Qoder Agent Skill Rules, MCP, Agent Skill\n Qwen Code MCP Rules, MCP\n Roo Code Agent Skill Rules, MCP, Agent Skill\n Trae.ai Agent Skill Rules, MCP, Agent Skill\n Warp Agent Skill Rules, MCP, Agent Skill\n Windsurf Agent Skill Rules, MCP, Agent Skill\n Zed MCP Rules, MCP",
|
|
@@ -1083,23 +1117,227 @@
|
|
|
1083
1117
|
"switch.js"
|
|
1084
1118
|
]
|
|
1085
1119
|
},
|
|
1120
|
+
"review:approve": {
|
|
1121
|
+
"aliases": [],
|
|
1122
|
+
"args": {
|
|
1123
|
+
"taskId": {
|
|
1124
|
+
"description": "Task ID shown in the curate output (e.g. \"brv review approve abc-123\")",
|
|
1125
|
+
"name": "taskId",
|
|
1126
|
+
"required": true
|
|
1127
|
+
}
|
|
1128
|
+
},
|
|
1129
|
+
"description": "Approve pending review operations for a curate task",
|
|
1130
|
+
"examples": [
|
|
1131
|
+
"# Approve all pending changes from a curate task",
|
|
1132
|
+
"<%= config.bin %> review approve abc-123",
|
|
1133
|
+
"",
|
|
1134
|
+
"# Approve specific files",
|
|
1135
|
+
"<%= config.bin %> review approve abc-123 --file architecture/security/audit.md",
|
|
1136
|
+
"<%= config.bin %> review approve abc-123 --file auth/jwt.md --file auth/oauth.md",
|
|
1137
|
+
"",
|
|
1138
|
+
"# Approve and get structured output (useful for coding agents)",
|
|
1139
|
+
"<%= config.bin %> review approve abc-123 --format json"
|
|
1140
|
+
],
|
|
1141
|
+
"flags": {
|
|
1142
|
+
"file": {
|
|
1143
|
+
"description": "Approve only the specified file path(s) (relative to context tree)",
|
|
1144
|
+
"name": "file",
|
|
1145
|
+
"hasDynamicHelp": false,
|
|
1146
|
+
"multiple": true,
|
|
1147
|
+
"type": "option"
|
|
1148
|
+
},
|
|
1149
|
+
"format": {
|
|
1150
|
+
"description": "Output format (text or json)",
|
|
1151
|
+
"name": "format",
|
|
1152
|
+
"default": "text",
|
|
1153
|
+
"hasDynamicHelp": false,
|
|
1154
|
+
"multiple": false,
|
|
1155
|
+
"options": [
|
|
1156
|
+
"text",
|
|
1157
|
+
"json"
|
|
1158
|
+
],
|
|
1159
|
+
"type": "option"
|
|
1160
|
+
}
|
|
1161
|
+
},
|
|
1162
|
+
"hasDynamicHelp": false,
|
|
1163
|
+
"hiddenAliases": [],
|
|
1164
|
+
"id": "review:approve",
|
|
1165
|
+
"pluginAlias": "byterover-cli",
|
|
1166
|
+
"pluginName": "byterover-cli",
|
|
1167
|
+
"pluginType": "core",
|
|
1168
|
+
"strict": true,
|
|
1169
|
+
"enableJsonFlag": false,
|
|
1170
|
+
"isESM": true,
|
|
1171
|
+
"relativePath": [
|
|
1172
|
+
"dist",
|
|
1173
|
+
"oclif",
|
|
1174
|
+
"commands",
|
|
1175
|
+
"review",
|
|
1176
|
+
"approve.js"
|
|
1177
|
+
]
|
|
1178
|
+
},
|
|
1179
|
+
"review:base-review-decision": {
|
|
1180
|
+
"aliases": [],
|
|
1181
|
+
"args": {
|
|
1182
|
+
"taskId": {
|
|
1183
|
+
"name": "taskId",
|
|
1184
|
+
"required": true
|
|
1185
|
+
}
|
|
1186
|
+
},
|
|
1187
|
+
"flags": {
|
|
1188
|
+
"file": {
|
|
1189
|
+
"name": "file",
|
|
1190
|
+
"hasDynamicHelp": false,
|
|
1191
|
+
"multiple": true,
|
|
1192
|
+
"type": "option"
|
|
1193
|
+
},
|
|
1194
|
+
"format": {
|
|
1195
|
+
"description": "Output format (text or json)",
|
|
1196
|
+
"name": "format",
|
|
1197
|
+
"default": "text",
|
|
1198
|
+
"hasDynamicHelp": false,
|
|
1199
|
+
"multiple": false,
|
|
1200
|
+
"options": [
|
|
1201
|
+
"text",
|
|
1202
|
+
"json"
|
|
1203
|
+
],
|
|
1204
|
+
"type": "option"
|
|
1205
|
+
}
|
|
1206
|
+
},
|
|
1207
|
+
"hasDynamicHelp": false,
|
|
1208
|
+
"hiddenAliases": [],
|
|
1209
|
+
"id": "review:base-review-decision",
|
|
1210
|
+
"pluginAlias": "byterover-cli",
|
|
1211
|
+
"pluginName": "byterover-cli",
|
|
1212
|
+
"pluginType": "core",
|
|
1213
|
+
"strict": true,
|
|
1214
|
+
"enableJsonFlag": false,
|
|
1215
|
+
"isESM": true,
|
|
1216
|
+
"relativePath": [
|
|
1217
|
+
"dist",
|
|
1218
|
+
"oclif",
|
|
1219
|
+
"commands",
|
|
1220
|
+
"review",
|
|
1221
|
+
"base-review-decision.js"
|
|
1222
|
+
]
|
|
1223
|
+
},
|
|
1224
|
+
"review:pending": {
|
|
1225
|
+
"aliases": [],
|
|
1226
|
+
"args": {},
|
|
1227
|
+
"description": "List all pending review operations for the current project",
|
|
1228
|
+
"examples": [
|
|
1229
|
+
"# Show all pending reviews",
|
|
1230
|
+
"<%= config.bin %> review pending",
|
|
1231
|
+
"",
|
|
1232
|
+
"# Get structured output for agent-driven workflows",
|
|
1233
|
+
"<%= config.bin %> review pending --format json"
|
|
1234
|
+
],
|
|
1235
|
+
"flags": {
|
|
1236
|
+
"format": {
|
|
1237
|
+
"description": "Output format (text or json)",
|
|
1238
|
+
"name": "format",
|
|
1239
|
+
"default": "text",
|
|
1240
|
+
"hasDynamicHelp": false,
|
|
1241
|
+
"multiple": false,
|
|
1242
|
+
"options": [
|
|
1243
|
+
"text",
|
|
1244
|
+
"json"
|
|
1245
|
+
],
|
|
1246
|
+
"type": "option"
|
|
1247
|
+
}
|
|
1248
|
+
},
|
|
1249
|
+
"hasDynamicHelp": false,
|
|
1250
|
+
"hiddenAliases": [],
|
|
1251
|
+
"id": "review:pending",
|
|
1252
|
+
"pluginAlias": "byterover-cli",
|
|
1253
|
+
"pluginName": "byterover-cli",
|
|
1254
|
+
"pluginType": "core",
|
|
1255
|
+
"strict": true,
|
|
1256
|
+
"enableJsonFlag": false,
|
|
1257
|
+
"isESM": true,
|
|
1258
|
+
"relativePath": [
|
|
1259
|
+
"dist",
|
|
1260
|
+
"oclif",
|
|
1261
|
+
"commands",
|
|
1262
|
+
"review",
|
|
1263
|
+
"pending.js"
|
|
1264
|
+
]
|
|
1265
|
+
},
|
|
1266
|
+
"review:reject": {
|
|
1267
|
+
"aliases": [],
|
|
1268
|
+
"args": {
|
|
1269
|
+
"taskId": {
|
|
1270
|
+
"description": "Task ID shown in the curate output (e.g. \"brv review reject abc-123\")",
|
|
1271
|
+
"name": "taskId",
|
|
1272
|
+
"required": true
|
|
1273
|
+
}
|
|
1274
|
+
},
|
|
1275
|
+
"description": "Reject pending review operations for a curate task (restores files from backup)",
|
|
1276
|
+
"examples": [
|
|
1277
|
+
"# Reject all pending changes from a curate task",
|
|
1278
|
+
"<%= config.bin %> review reject abc-123",
|
|
1279
|
+
"",
|
|
1280
|
+
"# Reject specific files",
|
|
1281
|
+
"<%= config.bin %> review reject abc-123 --file architecture/security/audit.md",
|
|
1282
|
+
"<%= config.bin %> review reject abc-123 --file auth/jwt.md --file auth/oauth.md",
|
|
1283
|
+
"",
|
|
1284
|
+
"# Reject and get structured output (useful for coding agents)",
|
|
1285
|
+
"<%= config.bin %> review reject abc-123 --format json"
|
|
1286
|
+
],
|
|
1287
|
+
"flags": {
|
|
1288
|
+
"file": {
|
|
1289
|
+
"description": "Reject only the specified file path(s) (relative to context tree)",
|
|
1290
|
+
"name": "file",
|
|
1291
|
+
"hasDynamicHelp": false,
|
|
1292
|
+
"multiple": true,
|
|
1293
|
+
"type": "option"
|
|
1294
|
+
},
|
|
1295
|
+
"format": {
|
|
1296
|
+
"description": "Output format (text or json)",
|
|
1297
|
+
"name": "format",
|
|
1298
|
+
"default": "text",
|
|
1299
|
+
"hasDynamicHelp": false,
|
|
1300
|
+
"multiple": false,
|
|
1301
|
+
"options": [
|
|
1302
|
+
"text",
|
|
1303
|
+
"json"
|
|
1304
|
+
],
|
|
1305
|
+
"type": "option"
|
|
1306
|
+
}
|
|
1307
|
+
},
|
|
1308
|
+
"hasDynamicHelp": false,
|
|
1309
|
+
"hiddenAliases": [],
|
|
1310
|
+
"id": "review:reject",
|
|
1311
|
+
"pluginAlias": "byterover-cli",
|
|
1312
|
+
"pluginName": "byterover-cli",
|
|
1313
|
+
"pluginType": "core",
|
|
1314
|
+
"strict": true,
|
|
1315
|
+
"enableJsonFlag": false,
|
|
1316
|
+
"isESM": true,
|
|
1317
|
+
"relativePath": [
|
|
1318
|
+
"dist",
|
|
1319
|
+
"oclif",
|
|
1320
|
+
"commands",
|
|
1321
|
+
"review",
|
|
1322
|
+
"reject.js"
|
|
1323
|
+
]
|
|
1324
|
+
},
|
|
1086
1325
|
"providers:connect": {
|
|
1087
1326
|
"aliases": [],
|
|
1088
1327
|
"args": {
|
|
1089
1328
|
"provider": {
|
|
1090
|
-
"description": "Provider ID to connect (e.g., anthropic, openai, openrouter)",
|
|
1329
|
+
"description": "Provider ID to connect (e.g., anthropic, openai, openrouter). Omit for interactive selection.",
|
|
1091
1330
|
"name": "provider",
|
|
1092
|
-
"required":
|
|
1331
|
+
"required": false
|
|
1093
1332
|
}
|
|
1094
1333
|
},
|
|
1095
1334
|
"description": "Connect or switch to an LLM provider",
|
|
1096
1335
|
"examples": [
|
|
1336
|
+
"<%= config.bin %> providers connect",
|
|
1097
1337
|
"<%= config.bin %> providers connect anthropic --api-key sk-xxx",
|
|
1098
|
-
"<%= config.bin %> providers connect openai --api-key sk-xxx --model gpt-4.1",
|
|
1099
1338
|
"<%= config.bin %> providers connect openai --oauth",
|
|
1100
1339
|
"<%= config.bin %> providers connect byterover",
|
|
1101
|
-
"<%= config.bin %> providers connect openai-compatible --base-url http://localhost:11434/v1"
|
|
1102
|
-
"<%= config.bin %> providers connect openai-compatible --base-url http://localhost:11434/v1 --api-key sk-xxx --model llama3"
|
|
1340
|
+
"<%= config.bin %> providers connect openai-compatible --base-url http://localhost:11434/v1 --api-key sk-xxx"
|
|
1103
1341
|
],
|
|
1104
1342
|
"flags": {
|
|
1105
1343
|
"api-key": {
|
|
@@ -1342,10 +1580,9 @@
|
|
|
1342
1580
|
"space:list": {
|
|
1343
1581
|
"aliases": [],
|
|
1344
1582
|
"args": {},
|
|
1345
|
-
"description": "List all teams and spaces",
|
|
1583
|
+
"description": "List all teams and spaces (deprecated)",
|
|
1346
1584
|
"examples": [
|
|
1347
|
-
"<%= config.bin %> space list"
|
|
1348
|
-
"<%= config.bin %> space list --format json"
|
|
1585
|
+
"<%= config.bin %> space list"
|
|
1349
1586
|
],
|
|
1350
1587
|
"flags": {
|
|
1351
1588
|
"format": {
|
|
@@ -1382,10 +1619,9 @@
|
|
|
1382
1619
|
"space:switch": {
|
|
1383
1620
|
"aliases": [],
|
|
1384
1621
|
"args": {},
|
|
1385
|
-
"description": "Switch to a different space",
|
|
1622
|
+
"description": "Switch to a different space (deprecated)",
|
|
1386
1623
|
"examples": [
|
|
1387
|
-
"<%= config.bin %> space switch
|
|
1388
|
-
"<%= config.bin %> space switch --team acme --name my-space --format json"
|
|
1624
|
+
"<%= config.bin %> space switch"
|
|
1389
1625
|
],
|
|
1390
1626
|
"flags": {
|
|
1391
1627
|
"format": {
|
|
@@ -1400,24 +1636,6 @@
|
|
|
1400
1636
|
"json"
|
|
1401
1637
|
],
|
|
1402
1638
|
"type": "option"
|
|
1403
|
-
},
|
|
1404
|
-
"name": {
|
|
1405
|
-
"char": "n",
|
|
1406
|
-
"description": "Name of the space to switch to",
|
|
1407
|
-
"name": "name",
|
|
1408
|
-
"required": true,
|
|
1409
|
-
"hasDynamicHelp": false,
|
|
1410
|
-
"multiple": false,
|
|
1411
|
-
"type": "option"
|
|
1412
|
-
},
|
|
1413
|
-
"team": {
|
|
1414
|
-
"char": "t",
|
|
1415
|
-
"description": "Team name",
|
|
1416
|
-
"name": "team",
|
|
1417
|
-
"required": true,
|
|
1418
|
-
"hasDynamicHelp": false,
|
|
1419
|
-
"multiple": false,
|
|
1420
|
-
"type": "option"
|
|
1421
1639
|
}
|
|
1422
1640
|
},
|
|
1423
1641
|
"hasDynamicHelp": false,
|
|
@@ -1437,54 +1655,656 @@
|
|
|
1437
1655
|
"switch.js"
|
|
1438
1656
|
]
|
|
1439
1657
|
},
|
|
1440
|
-
"
|
|
1658
|
+
"vc:add": {
|
|
1659
|
+
"aliases": [],
|
|
1660
|
+
"args": {},
|
|
1661
|
+
"description": "Stage files for the next commit",
|
|
1662
|
+
"examples": [
|
|
1663
|
+
"<%= config.bin %> <%= command.id %> .",
|
|
1664
|
+
"<%= config.bin %> <%= command.id %> notes.md",
|
|
1665
|
+
"<%= config.bin %> <%= command.id %> design/architecture.md",
|
|
1666
|
+
"<%= config.bin %> <%= command.id %> docs/"
|
|
1667
|
+
],
|
|
1668
|
+
"flags": {},
|
|
1669
|
+
"hasDynamicHelp": false,
|
|
1670
|
+
"hiddenAliases": [],
|
|
1671
|
+
"id": "vc:add",
|
|
1672
|
+
"pluginAlias": "byterover-cli",
|
|
1673
|
+
"pluginName": "byterover-cli",
|
|
1674
|
+
"pluginType": "core",
|
|
1675
|
+
"strict": false,
|
|
1676
|
+
"enableJsonFlag": false,
|
|
1677
|
+
"isESM": true,
|
|
1678
|
+
"relativePath": [
|
|
1679
|
+
"dist",
|
|
1680
|
+
"oclif",
|
|
1681
|
+
"commands",
|
|
1682
|
+
"vc",
|
|
1683
|
+
"add.js"
|
|
1684
|
+
]
|
|
1685
|
+
},
|
|
1686
|
+
"vc:branch": {
|
|
1441
1687
|
"aliases": [],
|
|
1442
1688
|
"args": {
|
|
1443
1689
|
"name": {
|
|
1444
|
-
"description": "
|
|
1445
|
-
"name": "name"
|
|
1446
|
-
"required": true
|
|
1690
|
+
"description": "Branch name to create",
|
|
1691
|
+
"name": "name"
|
|
1447
1692
|
}
|
|
1448
1693
|
},
|
|
1449
|
-
"description": "
|
|
1694
|
+
"description": "List, create, or delete local branches",
|
|
1450
1695
|
"examples": [
|
|
1451
|
-
"<%= config.bin %>
|
|
1452
|
-
"<%= config.bin %>
|
|
1453
|
-
"<%= config.bin %>
|
|
1454
|
-
"<%= config.bin %>
|
|
1696
|
+
"<%= config.bin %> <%= command.id %>",
|
|
1697
|
+
"<%= config.bin %> <%= command.id %> feature/new-context",
|
|
1698
|
+
"<%= config.bin %> <%= command.id %> -d feature/new-context",
|
|
1699
|
+
"<%= config.bin %> <%= command.id %> -a",
|
|
1700
|
+
"<%= config.bin %> <%= command.id %> --set-upstream-to origin/main"
|
|
1455
1701
|
],
|
|
1456
1702
|
"flags": {
|
|
1457
|
-
"
|
|
1458
|
-
"char": "
|
|
1459
|
-
"description": "
|
|
1460
|
-
"name": "
|
|
1703
|
+
"all": {
|
|
1704
|
+
"char": "a",
|
|
1705
|
+
"description": "List all branches including remote-tracking",
|
|
1706
|
+
"name": "all",
|
|
1707
|
+
"allowNo": false,
|
|
1708
|
+
"type": "boolean"
|
|
1709
|
+
},
|
|
1710
|
+
"delete": {
|
|
1711
|
+
"char": "d",
|
|
1712
|
+
"description": "Delete a branch by name",
|
|
1713
|
+
"name": "delete",
|
|
1461
1714
|
"hasDynamicHelp": false,
|
|
1462
1715
|
"multiple": false,
|
|
1463
|
-
"options": [
|
|
1464
|
-
"bearer",
|
|
1465
|
-
"token",
|
|
1466
|
-
"basic",
|
|
1467
|
-
"custom-header",
|
|
1468
|
-
"none"
|
|
1469
|
-
],
|
|
1470
1716
|
"type": "option"
|
|
1471
1717
|
},
|
|
1472
|
-
"
|
|
1473
|
-
"
|
|
1474
|
-
"
|
|
1475
|
-
"name": "format",
|
|
1476
|
-
"default": "text",
|
|
1718
|
+
"set-upstream-to": {
|
|
1719
|
+
"description": "Set upstream tracking (e.g. origin/main)",
|
|
1720
|
+
"name": "set-upstream-to",
|
|
1477
1721
|
"hasDynamicHelp": false,
|
|
1478
1722
|
"multiple": false,
|
|
1479
|
-
"options": [
|
|
1480
|
-
"text",
|
|
1481
|
-
"json"
|
|
1482
|
-
],
|
|
1483
1723
|
"type": "option"
|
|
1484
|
-
}
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1724
|
+
}
|
|
1725
|
+
},
|
|
1726
|
+
"hasDynamicHelp": false,
|
|
1727
|
+
"hiddenAliases": [],
|
|
1728
|
+
"id": "vc:branch",
|
|
1729
|
+
"pluginAlias": "byterover-cli",
|
|
1730
|
+
"pluginName": "byterover-cli",
|
|
1731
|
+
"pluginType": "core",
|
|
1732
|
+
"strict": true,
|
|
1733
|
+
"enableJsonFlag": false,
|
|
1734
|
+
"isESM": true,
|
|
1735
|
+
"relativePath": [
|
|
1736
|
+
"dist",
|
|
1737
|
+
"oclif",
|
|
1738
|
+
"commands",
|
|
1739
|
+
"vc",
|
|
1740
|
+
"branch.js"
|
|
1741
|
+
]
|
|
1742
|
+
},
|
|
1743
|
+
"vc:checkout": {
|
|
1744
|
+
"aliases": [],
|
|
1745
|
+
"args": {
|
|
1746
|
+
"branch": {
|
|
1747
|
+
"description": "Branch to switch to",
|
|
1748
|
+
"name": "branch",
|
|
1749
|
+
"required": true
|
|
1750
|
+
}
|
|
1751
|
+
},
|
|
1752
|
+
"description": "Switch to an existing branch, or create and switch with -b",
|
|
1753
|
+
"examples": [
|
|
1754
|
+
"<%= config.bin %> <%= command.id %> feature/my-branch",
|
|
1755
|
+
"<%= config.bin %> <%= command.id %> -b feature/new-branch",
|
|
1756
|
+
"<%= config.bin %> <%= command.id %> --force feature/my-branch"
|
|
1757
|
+
],
|
|
1758
|
+
"flags": {
|
|
1759
|
+
"create": {
|
|
1760
|
+
"char": "b",
|
|
1761
|
+
"description": "Create a new branch and switch to it",
|
|
1762
|
+
"name": "create",
|
|
1763
|
+
"allowNo": false,
|
|
1764
|
+
"type": "boolean"
|
|
1765
|
+
},
|
|
1766
|
+
"force": {
|
|
1767
|
+
"description": "Discard local changes and switch",
|
|
1768
|
+
"name": "force",
|
|
1769
|
+
"allowNo": false,
|
|
1770
|
+
"type": "boolean"
|
|
1771
|
+
}
|
|
1772
|
+
},
|
|
1773
|
+
"hasDynamicHelp": false,
|
|
1774
|
+
"hiddenAliases": [],
|
|
1775
|
+
"id": "vc:checkout",
|
|
1776
|
+
"pluginAlias": "byterover-cli",
|
|
1777
|
+
"pluginName": "byterover-cli",
|
|
1778
|
+
"pluginType": "core",
|
|
1779
|
+
"strict": true,
|
|
1780
|
+
"enableJsonFlag": false,
|
|
1781
|
+
"isESM": true,
|
|
1782
|
+
"relativePath": [
|
|
1783
|
+
"dist",
|
|
1784
|
+
"oclif",
|
|
1785
|
+
"commands",
|
|
1786
|
+
"vc",
|
|
1787
|
+
"checkout.js"
|
|
1788
|
+
]
|
|
1789
|
+
},
|
|
1790
|
+
"vc:clone": {
|
|
1791
|
+
"aliases": [],
|
|
1792
|
+
"args": {
|
|
1793
|
+
"url": {
|
|
1794
|
+
"description": "Clone URL (e.g. https://byterover.dev/<team>/<space>.git)",
|
|
1795
|
+
"name": "url"
|
|
1796
|
+
}
|
|
1797
|
+
},
|
|
1798
|
+
"description": "Clone a ByteRover space repository",
|
|
1799
|
+
"examples": [
|
|
1800
|
+
"<%= config.bin %> vc clone https://byterover.dev/acme/project.git"
|
|
1801
|
+
],
|
|
1802
|
+
"flags": {},
|
|
1803
|
+
"hasDynamicHelp": false,
|
|
1804
|
+
"hiddenAliases": [],
|
|
1805
|
+
"id": "vc:clone",
|
|
1806
|
+
"pluginAlias": "byterover-cli",
|
|
1807
|
+
"pluginName": "byterover-cli",
|
|
1808
|
+
"pluginType": "core",
|
|
1809
|
+
"strict": true,
|
|
1810
|
+
"enableJsonFlag": false,
|
|
1811
|
+
"isESM": true,
|
|
1812
|
+
"relativePath": [
|
|
1813
|
+
"dist",
|
|
1814
|
+
"oclif",
|
|
1815
|
+
"commands",
|
|
1816
|
+
"vc",
|
|
1817
|
+
"clone.js"
|
|
1818
|
+
]
|
|
1819
|
+
},
|
|
1820
|
+
"vc:commit": {
|
|
1821
|
+
"aliases": [],
|
|
1822
|
+
"args": {},
|
|
1823
|
+
"description": "Save staged changes as a commit",
|
|
1824
|
+
"examples": [
|
|
1825
|
+
"<%= config.bin %> <%= command.id %> -m \"Add project architecture notes\""
|
|
1826
|
+
],
|
|
1827
|
+
"flags": {
|
|
1828
|
+
"message": {
|
|
1829
|
+
"char": "m",
|
|
1830
|
+
"description": "Commit message",
|
|
1831
|
+
"name": "message",
|
|
1832
|
+
"hasDynamicHelp": false,
|
|
1833
|
+
"multiple": false,
|
|
1834
|
+
"type": "option"
|
|
1835
|
+
}
|
|
1836
|
+
},
|
|
1837
|
+
"hasDynamicHelp": false,
|
|
1838
|
+
"hiddenAliases": [],
|
|
1839
|
+
"id": "vc:commit",
|
|
1840
|
+
"pluginAlias": "byterover-cli",
|
|
1841
|
+
"pluginName": "byterover-cli",
|
|
1842
|
+
"pluginType": "core",
|
|
1843
|
+
"strict": false,
|
|
1844
|
+
"enableJsonFlag": false,
|
|
1845
|
+
"isESM": true,
|
|
1846
|
+
"relativePath": [
|
|
1847
|
+
"dist",
|
|
1848
|
+
"oclif",
|
|
1849
|
+
"commands",
|
|
1850
|
+
"vc",
|
|
1851
|
+
"commit.js"
|
|
1852
|
+
]
|
|
1853
|
+
},
|
|
1854
|
+
"vc:config": {
|
|
1855
|
+
"aliases": [],
|
|
1856
|
+
"args": {
|
|
1857
|
+
"key": {
|
|
1858
|
+
"description": "Config key (user.name or user.email)",
|
|
1859
|
+
"name": "key",
|
|
1860
|
+
"required": true
|
|
1861
|
+
},
|
|
1862
|
+
"value": {
|
|
1863
|
+
"description": "Value to set (omit to read current value)",
|
|
1864
|
+
"name": "value"
|
|
1865
|
+
}
|
|
1866
|
+
},
|
|
1867
|
+
"description": "Get or set commit author for ByteRover version control",
|
|
1868
|
+
"examples": [
|
|
1869
|
+
"<%= config.bin %> <%= command.id %> user.name \"Your Name\"",
|
|
1870
|
+
"<%= config.bin %> <%= command.id %> user.email \"you@example.com\"",
|
|
1871
|
+
"<%= config.bin %> <%= command.id %> user.name",
|
|
1872
|
+
"<%= config.bin %> <%= command.id %> user.email"
|
|
1873
|
+
],
|
|
1874
|
+
"flags": {},
|
|
1875
|
+
"hasDynamicHelp": false,
|
|
1876
|
+
"hiddenAliases": [],
|
|
1877
|
+
"id": "vc:config",
|
|
1878
|
+
"pluginAlias": "byterover-cli",
|
|
1879
|
+
"pluginName": "byterover-cli",
|
|
1880
|
+
"pluginType": "core",
|
|
1881
|
+
"strict": true,
|
|
1882
|
+
"enableJsonFlag": false,
|
|
1883
|
+
"isESM": true,
|
|
1884
|
+
"relativePath": [
|
|
1885
|
+
"dist",
|
|
1886
|
+
"oclif",
|
|
1887
|
+
"commands",
|
|
1888
|
+
"vc",
|
|
1889
|
+
"config.js"
|
|
1890
|
+
]
|
|
1891
|
+
},
|
|
1892
|
+
"vc:fetch": {
|
|
1893
|
+
"aliases": [],
|
|
1894
|
+
"args": {
|
|
1895
|
+
"remote": {
|
|
1896
|
+
"description": "Remote name (only origin supported)",
|
|
1897
|
+
"name": "remote",
|
|
1898
|
+
"required": false
|
|
1899
|
+
},
|
|
1900
|
+
"branch": {
|
|
1901
|
+
"description": "Branch to fetch",
|
|
1902
|
+
"name": "branch",
|
|
1903
|
+
"required": false
|
|
1904
|
+
}
|
|
1905
|
+
},
|
|
1906
|
+
"description": "Fetch refs from ByteRover cloud",
|
|
1907
|
+
"examples": [
|
|
1908
|
+
"<%= config.bin %> <%= command.id %>",
|
|
1909
|
+
"<%= config.bin %> <%= command.id %> origin",
|
|
1910
|
+
"<%= config.bin %> <%= command.id %> origin main"
|
|
1911
|
+
],
|
|
1912
|
+
"flags": {},
|
|
1913
|
+
"hasDynamicHelp": false,
|
|
1914
|
+
"hiddenAliases": [],
|
|
1915
|
+
"id": "vc:fetch",
|
|
1916
|
+
"pluginAlias": "byterover-cli",
|
|
1917
|
+
"pluginName": "byterover-cli",
|
|
1918
|
+
"pluginType": "core",
|
|
1919
|
+
"strict": true,
|
|
1920
|
+
"enableJsonFlag": false,
|
|
1921
|
+
"isESM": true,
|
|
1922
|
+
"relativePath": [
|
|
1923
|
+
"dist",
|
|
1924
|
+
"oclif",
|
|
1925
|
+
"commands",
|
|
1926
|
+
"vc",
|
|
1927
|
+
"fetch.js"
|
|
1928
|
+
]
|
|
1929
|
+
},
|
|
1930
|
+
"vc": {
|
|
1931
|
+
"aliases": [],
|
|
1932
|
+
"args": {},
|
|
1933
|
+
"description": "Version control commands for the context tree",
|
|
1934
|
+
"examples": [
|
|
1935
|
+
"<%= config.bin %> <%= command.id %> --help"
|
|
1936
|
+
],
|
|
1937
|
+
"flags": {},
|
|
1938
|
+
"hasDynamicHelp": false,
|
|
1939
|
+
"hiddenAliases": [],
|
|
1940
|
+
"id": "vc",
|
|
1941
|
+
"pluginAlias": "byterover-cli",
|
|
1942
|
+
"pluginName": "byterover-cli",
|
|
1943
|
+
"pluginType": "core",
|
|
1944
|
+
"strict": true,
|
|
1945
|
+
"enableJsonFlag": false,
|
|
1946
|
+
"isESM": true,
|
|
1947
|
+
"relativePath": [
|
|
1948
|
+
"dist",
|
|
1949
|
+
"oclif",
|
|
1950
|
+
"commands",
|
|
1951
|
+
"vc",
|
|
1952
|
+
"index.js"
|
|
1953
|
+
]
|
|
1954
|
+
},
|
|
1955
|
+
"vc:init": {
|
|
1956
|
+
"aliases": [],
|
|
1957
|
+
"args": {},
|
|
1958
|
+
"description": "Initialize ByteRover version control for context tree",
|
|
1959
|
+
"examples": [
|
|
1960
|
+
"<%= config.bin %> <%= command.id %>"
|
|
1961
|
+
],
|
|
1962
|
+
"flags": {},
|
|
1963
|
+
"hasDynamicHelp": false,
|
|
1964
|
+
"hiddenAliases": [],
|
|
1965
|
+
"id": "vc:init",
|
|
1966
|
+
"pluginAlias": "byterover-cli",
|
|
1967
|
+
"pluginName": "byterover-cli",
|
|
1968
|
+
"pluginType": "core",
|
|
1969
|
+
"strict": true,
|
|
1970
|
+
"enableJsonFlag": false,
|
|
1971
|
+
"isESM": true,
|
|
1972
|
+
"relativePath": [
|
|
1973
|
+
"dist",
|
|
1974
|
+
"oclif",
|
|
1975
|
+
"commands",
|
|
1976
|
+
"vc",
|
|
1977
|
+
"init.js"
|
|
1978
|
+
]
|
|
1979
|
+
},
|
|
1980
|
+
"vc:log": {
|
|
1981
|
+
"aliases": [],
|
|
1982
|
+
"args": {
|
|
1983
|
+
"branch": {
|
|
1984
|
+
"description": "Branch name to show history for",
|
|
1985
|
+
"name": "branch"
|
|
1986
|
+
}
|
|
1987
|
+
},
|
|
1988
|
+
"description": "Show commit history for the context-tree",
|
|
1989
|
+
"examples": [
|
|
1990
|
+
"<%= config.bin %> <%= command.id %>",
|
|
1991
|
+
"<%= config.bin %> <%= command.id %> --limit 20",
|
|
1992
|
+
"<%= config.bin %> <%= command.id %> main",
|
|
1993
|
+
"<%= config.bin %> <%= command.id %> --all"
|
|
1994
|
+
],
|
|
1995
|
+
"flags": {
|
|
1996
|
+
"all": {
|
|
1997
|
+
"char": "a",
|
|
1998
|
+
"description": "Show commits from all branches",
|
|
1999
|
+
"name": "all",
|
|
2000
|
+
"allowNo": false,
|
|
2001
|
+
"type": "boolean"
|
|
2002
|
+
},
|
|
2003
|
+
"limit": {
|
|
2004
|
+
"description": "Number of commits to show",
|
|
2005
|
+
"name": "limit",
|
|
2006
|
+
"default": 10,
|
|
2007
|
+
"hasDynamicHelp": false,
|
|
2008
|
+
"multiple": false,
|
|
2009
|
+
"type": "option"
|
|
2010
|
+
}
|
|
2011
|
+
},
|
|
2012
|
+
"hasDynamicHelp": false,
|
|
2013
|
+
"hiddenAliases": [],
|
|
2014
|
+
"id": "vc:log",
|
|
2015
|
+
"pluginAlias": "byterover-cli",
|
|
2016
|
+
"pluginName": "byterover-cli",
|
|
2017
|
+
"pluginType": "core",
|
|
2018
|
+
"strict": true,
|
|
2019
|
+
"enableJsonFlag": false,
|
|
2020
|
+
"isESM": true,
|
|
2021
|
+
"relativePath": [
|
|
2022
|
+
"dist",
|
|
2023
|
+
"oclif",
|
|
2024
|
+
"commands",
|
|
2025
|
+
"vc",
|
|
2026
|
+
"log.js"
|
|
2027
|
+
]
|
|
2028
|
+
},
|
|
2029
|
+
"vc:merge": {
|
|
2030
|
+
"aliases": [],
|
|
2031
|
+
"args": {
|
|
2032
|
+
"branch": {
|
|
2033
|
+
"description": "Branch to merge into the current branch",
|
|
2034
|
+
"name": "branch",
|
|
2035
|
+
"required": false
|
|
2036
|
+
}
|
|
2037
|
+
},
|
|
2038
|
+
"description": "Merge a branch into the current branch",
|
|
2039
|
+
"examples": [
|
|
2040
|
+
"<%= config.bin %> <%= command.id %> feature/my-branch",
|
|
2041
|
+
"<%= config.bin %> <%= command.id %> --abort",
|
|
2042
|
+
"<%= config.bin %> <%= command.id %> --continue",
|
|
2043
|
+
"<%= config.bin %> <%= command.id %> -m \"Custom merge message\" feature/my-branch"
|
|
2044
|
+
],
|
|
2045
|
+
"flags": {
|
|
2046
|
+
"abort": {
|
|
2047
|
+
"description": "Abort the current merge",
|
|
2048
|
+
"exclusive": [
|
|
2049
|
+
"continue"
|
|
2050
|
+
],
|
|
2051
|
+
"name": "abort",
|
|
2052
|
+
"allowNo": false,
|
|
2053
|
+
"type": "boolean"
|
|
2054
|
+
},
|
|
2055
|
+
"allow-unrelated-histories": {
|
|
2056
|
+
"description": "Allow merging unrelated histories",
|
|
2057
|
+
"name": "allow-unrelated-histories",
|
|
2058
|
+
"allowNo": false,
|
|
2059
|
+
"type": "boolean"
|
|
2060
|
+
},
|
|
2061
|
+
"continue": {
|
|
2062
|
+
"description": "Continue the current merge after resolving conflicts",
|
|
2063
|
+
"exclusive": [
|
|
2064
|
+
"abort"
|
|
2065
|
+
],
|
|
2066
|
+
"name": "continue",
|
|
2067
|
+
"allowNo": false,
|
|
2068
|
+
"type": "boolean"
|
|
2069
|
+
},
|
|
2070
|
+
"message": {
|
|
2071
|
+
"char": "m",
|
|
2072
|
+
"description": "Merge commit message",
|
|
2073
|
+
"name": "message",
|
|
2074
|
+
"hasDynamicHelp": false,
|
|
2075
|
+
"multiple": false,
|
|
2076
|
+
"type": "option"
|
|
2077
|
+
}
|
|
2078
|
+
},
|
|
2079
|
+
"hasDynamicHelp": false,
|
|
2080
|
+
"hiddenAliases": [],
|
|
2081
|
+
"id": "vc:merge",
|
|
2082
|
+
"pluginAlias": "byterover-cli",
|
|
2083
|
+
"pluginName": "byterover-cli",
|
|
2084
|
+
"pluginType": "core",
|
|
2085
|
+
"strict": true,
|
|
2086
|
+
"enableJsonFlag": false,
|
|
2087
|
+
"isESM": true,
|
|
2088
|
+
"relativePath": [
|
|
2089
|
+
"dist",
|
|
2090
|
+
"oclif",
|
|
2091
|
+
"commands",
|
|
2092
|
+
"vc",
|
|
2093
|
+
"merge.js"
|
|
2094
|
+
]
|
|
2095
|
+
},
|
|
2096
|
+
"vc:pull": {
|
|
2097
|
+
"aliases": [],
|
|
2098
|
+
"args": {
|
|
2099
|
+
"remote": {
|
|
2100
|
+
"description": "Remote name (only origin supported)",
|
|
2101
|
+
"name": "remote",
|
|
2102
|
+
"required": false
|
|
2103
|
+
},
|
|
2104
|
+
"branch": {
|
|
2105
|
+
"description": "Branch to pull",
|
|
2106
|
+
"name": "branch",
|
|
2107
|
+
"required": false
|
|
2108
|
+
}
|
|
2109
|
+
},
|
|
2110
|
+
"description": "Pull commits from ByteRover cloud",
|
|
2111
|
+
"examples": [
|
|
2112
|
+
"<%= config.bin %> <%= command.id %>",
|
|
2113
|
+
"<%= config.bin %> <%= command.id %> origin main",
|
|
2114
|
+
"<%= config.bin %> <%= command.id %> origin main --allow-unrelated-histories"
|
|
2115
|
+
],
|
|
2116
|
+
"flags": {
|
|
2117
|
+
"allow-unrelated-histories": {
|
|
2118
|
+
"description": "Allow merging unrelated histories",
|
|
2119
|
+
"name": "allow-unrelated-histories",
|
|
2120
|
+
"allowNo": false,
|
|
2121
|
+
"type": "boolean"
|
|
2122
|
+
}
|
|
2123
|
+
},
|
|
2124
|
+
"hasDynamicHelp": false,
|
|
2125
|
+
"hiddenAliases": [],
|
|
2126
|
+
"id": "vc:pull",
|
|
2127
|
+
"pluginAlias": "byterover-cli",
|
|
2128
|
+
"pluginName": "byterover-cli",
|
|
2129
|
+
"pluginType": "core",
|
|
2130
|
+
"strict": true,
|
|
2131
|
+
"enableJsonFlag": false,
|
|
2132
|
+
"isESM": true,
|
|
2133
|
+
"relativePath": [
|
|
2134
|
+
"dist",
|
|
2135
|
+
"oclif",
|
|
2136
|
+
"commands",
|
|
2137
|
+
"vc",
|
|
2138
|
+
"pull.js"
|
|
2139
|
+
]
|
|
2140
|
+
},
|
|
2141
|
+
"vc:push": {
|
|
2142
|
+
"aliases": [],
|
|
2143
|
+
"args": {
|
|
2144
|
+
"remote": {
|
|
2145
|
+
"description": "Remote name (only origin supported)",
|
|
2146
|
+
"name": "remote",
|
|
2147
|
+
"required": false
|
|
2148
|
+
},
|
|
2149
|
+
"branch": {
|
|
2150
|
+
"description": "Branch to push",
|
|
2151
|
+
"name": "branch",
|
|
2152
|
+
"required": false
|
|
2153
|
+
}
|
|
2154
|
+
},
|
|
2155
|
+
"description": "Push commits to ByteRover cloud",
|
|
2156
|
+
"examples": [
|
|
2157
|
+
"<%= config.bin %> <%= command.id %>",
|
|
2158
|
+
"<%= config.bin %> <%= command.id %> -u",
|
|
2159
|
+
"<%= config.bin %> <%= command.id %> origin feat/my-branch"
|
|
2160
|
+
],
|
|
2161
|
+
"flags": {
|
|
2162
|
+
"set-upstream": {
|
|
2163
|
+
"char": "u",
|
|
2164
|
+
"description": "Set upstream tracking branch",
|
|
2165
|
+
"name": "set-upstream",
|
|
2166
|
+
"allowNo": false,
|
|
2167
|
+
"type": "boolean"
|
|
2168
|
+
}
|
|
2169
|
+
},
|
|
2170
|
+
"hasDynamicHelp": false,
|
|
2171
|
+
"hiddenAliases": [],
|
|
2172
|
+
"id": "vc:push",
|
|
2173
|
+
"pluginAlias": "byterover-cli",
|
|
2174
|
+
"pluginName": "byterover-cli",
|
|
2175
|
+
"pluginType": "core",
|
|
2176
|
+
"strict": true,
|
|
2177
|
+
"enableJsonFlag": false,
|
|
2178
|
+
"isESM": true,
|
|
2179
|
+
"relativePath": [
|
|
2180
|
+
"dist",
|
|
2181
|
+
"oclif",
|
|
2182
|
+
"commands",
|
|
2183
|
+
"vc",
|
|
2184
|
+
"push.js"
|
|
2185
|
+
]
|
|
2186
|
+
},
|
|
2187
|
+
"vc:reset": {
|
|
2188
|
+
"aliases": [],
|
|
2189
|
+
"args": {},
|
|
2190
|
+
"description": "Unstage files or undo commits",
|
|
2191
|
+
"examples": [
|
|
2192
|
+
"<%= config.bin %> <%= command.id %>",
|
|
2193
|
+
"<%= config.bin %> <%= command.id %> notes.md",
|
|
2194
|
+
"<%= config.bin %> <%= command.id %> --soft HEAD~1",
|
|
2195
|
+
"<%= config.bin %> <%= command.id %> --hard HEAD~1",
|
|
2196
|
+
"<%= config.bin %> <%= command.id %> --hard"
|
|
2197
|
+
],
|
|
2198
|
+
"flags": {
|
|
2199
|
+
"hard": {
|
|
2200
|
+
"description": "Reset HEAD, index, and working tree",
|
|
2201
|
+
"exclusive": [
|
|
2202
|
+
"soft"
|
|
2203
|
+
],
|
|
2204
|
+
"name": "hard",
|
|
2205
|
+
"allowNo": false,
|
|
2206
|
+
"type": "boolean"
|
|
2207
|
+
},
|
|
2208
|
+
"soft": {
|
|
2209
|
+
"description": "Reset HEAD only, keep changes staged",
|
|
2210
|
+
"exclusive": [
|
|
2211
|
+
"hard"
|
|
2212
|
+
],
|
|
2213
|
+
"name": "soft",
|
|
2214
|
+
"allowNo": false,
|
|
2215
|
+
"type": "boolean"
|
|
2216
|
+
}
|
|
2217
|
+
},
|
|
2218
|
+
"hasDynamicHelp": false,
|
|
2219
|
+
"hiddenAliases": [],
|
|
2220
|
+
"id": "vc:reset",
|
|
2221
|
+
"pluginAlias": "byterover-cli",
|
|
2222
|
+
"pluginName": "byterover-cli",
|
|
2223
|
+
"pluginType": "core",
|
|
2224
|
+
"strict": false,
|
|
2225
|
+
"enableJsonFlag": false,
|
|
2226
|
+
"isESM": true,
|
|
2227
|
+
"relativePath": [
|
|
2228
|
+
"dist",
|
|
2229
|
+
"oclif",
|
|
2230
|
+
"commands",
|
|
2231
|
+
"vc",
|
|
2232
|
+
"reset.js"
|
|
2233
|
+
]
|
|
2234
|
+
},
|
|
2235
|
+
"vc:status": {
|
|
2236
|
+
"aliases": [],
|
|
2237
|
+
"args": {},
|
|
2238
|
+
"description": "Show ByteRover version control status",
|
|
2239
|
+
"examples": [
|
|
2240
|
+
"<%= config.bin %> <%= command.id %>"
|
|
2241
|
+
],
|
|
2242
|
+
"flags": {},
|
|
2243
|
+
"hasDynamicHelp": false,
|
|
2244
|
+
"hiddenAliases": [],
|
|
2245
|
+
"id": "vc:status",
|
|
2246
|
+
"pluginAlias": "byterover-cli",
|
|
2247
|
+
"pluginName": "byterover-cli",
|
|
2248
|
+
"pluginType": "core",
|
|
2249
|
+
"strict": true,
|
|
2250
|
+
"enableJsonFlag": false,
|
|
2251
|
+
"isESM": true,
|
|
2252
|
+
"relativePath": [
|
|
2253
|
+
"dist",
|
|
2254
|
+
"oclif",
|
|
2255
|
+
"commands",
|
|
2256
|
+
"vc",
|
|
2257
|
+
"status.js"
|
|
2258
|
+
]
|
|
2259
|
+
},
|
|
2260
|
+
"hub:registry:add": {
|
|
2261
|
+
"aliases": [],
|
|
2262
|
+
"args": {
|
|
2263
|
+
"name": {
|
|
2264
|
+
"description": "Registry name",
|
|
2265
|
+
"name": "name",
|
|
2266
|
+
"required": true
|
|
2267
|
+
}
|
|
2268
|
+
},
|
|
2269
|
+
"description": "Add a hub registry",
|
|
2270
|
+
"examples": [
|
|
2271
|
+
"<%= config.bin %> hub registry add myco --url https://example.com/registry.json",
|
|
2272
|
+
"<%= config.bin %> hub registry add myco --url https://example.com/registry.json --token secret",
|
|
2273
|
+
"<%= config.bin %> hub registry add ghrepo --url https://raw.githubusercontent.com/org/repo/main/registry.json --auth-scheme token --token ghp_xxx",
|
|
2274
|
+
"<%= config.bin %> hub registry add gitlab --url https://gitlab.com/.../registry.json --auth-scheme custom-header --header-name PRIVATE-TOKEN --token glpat-xxx"
|
|
2275
|
+
],
|
|
2276
|
+
"flags": {
|
|
2277
|
+
"auth-scheme": {
|
|
2278
|
+
"char": "s",
|
|
2279
|
+
"description": "Auth scheme for hub registry",
|
|
2280
|
+
"name": "auth-scheme",
|
|
2281
|
+
"hasDynamicHelp": false,
|
|
2282
|
+
"multiple": false,
|
|
2283
|
+
"options": [
|
|
2284
|
+
"bearer",
|
|
2285
|
+
"token",
|
|
2286
|
+
"basic",
|
|
2287
|
+
"custom-header",
|
|
2288
|
+
"none"
|
|
2289
|
+
],
|
|
2290
|
+
"type": "option"
|
|
2291
|
+
},
|
|
2292
|
+
"format": {
|
|
2293
|
+
"char": "f",
|
|
2294
|
+
"description": "Output format",
|
|
2295
|
+
"name": "format",
|
|
2296
|
+
"default": "text",
|
|
2297
|
+
"hasDynamicHelp": false,
|
|
2298
|
+
"multiple": false,
|
|
2299
|
+
"options": [
|
|
2300
|
+
"text",
|
|
2301
|
+
"json"
|
|
2302
|
+
],
|
|
2303
|
+
"type": "option"
|
|
2304
|
+
},
|
|
2305
|
+
"header-name": {
|
|
2306
|
+
"description": "Custom header name (for custom-header auth scheme)",
|
|
2307
|
+
"name": "header-name",
|
|
1488
2308
|
"hasDynamicHelp": false,
|
|
1489
2309
|
"multiple": false,
|
|
1490
2310
|
"type": "option"
|
|
@@ -1634,7 +2454,107 @@
|
|
|
1634
2454
|
"registry",
|
|
1635
2455
|
"remove.js"
|
|
1636
2456
|
]
|
|
2457
|
+
},
|
|
2458
|
+
"vc:remote:add": {
|
|
2459
|
+
"aliases": [],
|
|
2460
|
+
"args": {
|
|
2461
|
+
"name": {
|
|
2462
|
+
"description": "Remote name",
|
|
2463
|
+
"name": "name",
|
|
2464
|
+
"required": true
|
|
2465
|
+
},
|
|
2466
|
+
"url": {
|
|
2467
|
+
"description": "Remote URL (e.g. https://byterover.dev/<team>/<space>.git)",
|
|
2468
|
+
"name": "url",
|
|
2469
|
+
"required": true
|
|
2470
|
+
}
|
|
2471
|
+
},
|
|
2472
|
+
"description": "Add a named remote",
|
|
2473
|
+
"examples": [
|
|
2474
|
+
"<%= config.bin %> <%= command.id %> origin https://byterover.dev/acme/project.git"
|
|
2475
|
+
],
|
|
2476
|
+
"flags": {},
|
|
2477
|
+
"hasDynamicHelp": false,
|
|
2478
|
+
"hiddenAliases": [],
|
|
2479
|
+
"id": "vc:remote:add",
|
|
2480
|
+
"pluginAlias": "byterover-cli",
|
|
2481
|
+
"pluginName": "byterover-cli",
|
|
2482
|
+
"pluginType": "core",
|
|
2483
|
+
"strict": true,
|
|
2484
|
+
"enableJsonFlag": false,
|
|
2485
|
+
"isESM": true,
|
|
2486
|
+
"relativePath": [
|
|
2487
|
+
"dist",
|
|
2488
|
+
"oclif",
|
|
2489
|
+
"commands",
|
|
2490
|
+
"vc",
|
|
2491
|
+
"remote",
|
|
2492
|
+
"add.js"
|
|
2493
|
+
]
|
|
2494
|
+
},
|
|
2495
|
+
"vc:remote": {
|
|
2496
|
+
"aliases": [],
|
|
2497
|
+
"args": {},
|
|
2498
|
+
"description": "Show current remote origin",
|
|
2499
|
+
"examples": [
|
|
2500
|
+
"<%= config.bin %> <%= command.id %>"
|
|
2501
|
+
],
|
|
2502
|
+
"flags": {},
|
|
2503
|
+
"hasDynamicHelp": false,
|
|
2504
|
+
"hiddenAliases": [],
|
|
2505
|
+
"id": "vc:remote",
|
|
2506
|
+
"pluginAlias": "byterover-cli",
|
|
2507
|
+
"pluginName": "byterover-cli",
|
|
2508
|
+
"pluginType": "core",
|
|
2509
|
+
"strict": true,
|
|
2510
|
+
"enableJsonFlag": false,
|
|
2511
|
+
"isESM": true,
|
|
2512
|
+
"relativePath": [
|
|
2513
|
+
"dist",
|
|
2514
|
+
"oclif",
|
|
2515
|
+
"commands",
|
|
2516
|
+
"vc",
|
|
2517
|
+
"remote",
|
|
2518
|
+
"index.js"
|
|
2519
|
+
]
|
|
2520
|
+
},
|
|
2521
|
+
"vc:remote:set-url": {
|
|
2522
|
+
"aliases": [],
|
|
2523
|
+
"args": {
|
|
2524
|
+
"name": {
|
|
2525
|
+
"description": "Remote name",
|
|
2526
|
+
"name": "name",
|
|
2527
|
+
"required": true
|
|
2528
|
+
},
|
|
2529
|
+
"url": {
|
|
2530
|
+
"description": "Remote URL (e.g. https://byterover.dev/<team>/<space>.git)",
|
|
2531
|
+
"name": "url",
|
|
2532
|
+
"required": true
|
|
2533
|
+
}
|
|
2534
|
+
},
|
|
2535
|
+
"description": "Update a remote URL",
|
|
2536
|
+
"examples": [
|
|
2537
|
+
"<%= config.bin %> <%= command.id %> origin https://byterover.dev/acme/project.git"
|
|
2538
|
+
],
|
|
2539
|
+
"flags": {},
|
|
2540
|
+
"hasDynamicHelp": false,
|
|
2541
|
+
"hiddenAliases": [],
|
|
2542
|
+
"id": "vc:remote:set-url",
|
|
2543
|
+
"pluginAlias": "byterover-cli",
|
|
2544
|
+
"pluginName": "byterover-cli",
|
|
2545
|
+
"pluginType": "core",
|
|
2546
|
+
"strict": true,
|
|
2547
|
+
"enableJsonFlag": false,
|
|
2548
|
+
"isESM": true,
|
|
2549
|
+
"relativePath": [
|
|
2550
|
+
"dist",
|
|
2551
|
+
"oclif",
|
|
2552
|
+
"commands",
|
|
2553
|
+
"vc",
|
|
2554
|
+
"remote",
|
|
2555
|
+
"set-url.js"
|
|
2556
|
+
]
|
|
1637
2557
|
}
|
|
1638
2558
|
},
|
|
1639
|
-
"version": "
|
|
2559
|
+
"version": "3.0.0"
|
|
1640
2560
|
}
|