i-repo 2.1.0 → 2.3.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/dist/bin/irepo.d.ts +0 -1
- package/dist/bin/irepo.js +49 -3
- package/dist/commands/auth.d.ts +0 -1
- package/dist/commands/auth.js +0 -1
- package/dist/commands/batch-result.d.ts +2 -0
- package/dist/commands/batch-result.js +24 -0
- package/dist/commands/config.d.ts +0 -1
- package/dist/commands/config.js +0 -1
- package/dist/commands/definition-batches/index.d.ts +0 -1
- package/dist/commands/definition-batches/index.js +2 -1
- package/dist/commands/definitions/get.d.ts +0 -1
- package/dist/commands/definitions/get.js +0 -1
- package/dist/commands/definitions/index.d.ts +0 -1
- package/dist/commands/definitions/index.js +0 -1
- package/dist/commands/definitions/labels.d.ts +0 -1
- package/dist/commands/definitions/labels.js +0 -1
- package/dist/commands/definitions/list.d.ts +0 -1
- package/dist/commands/definitions/list.js +0 -1
- package/dist/commands/definitions/lock.d.ts +0 -1
- package/dist/commands/definitions/lock.js +0 -1
- package/dist/commands/definitions/roles.d.ts +0 -1
- package/dist/commands/definitions/roles.js +0 -1
- package/dist/commands/index.d.ts +0 -1
- package/dist/commands/index.js +0 -1
- package/dist/commands/plugin.d.ts +0 -1
- package/dist/commands/plugin.js +0 -1
- package/dist/commands/raw.d.ts +0 -1
- package/dist/commands/raw.js +7 -1
- package/dist/commands/report-batches/index.d.ts +0 -1
- package/dist/commands/report-batches/index.js +5 -1
- package/dist/commands/reports/cluster-value.d.ts +0 -1
- package/dist/commands/reports/cluster-value.js +0 -1
- package/dist/commands/reports/copy.d.ts +0 -1
- package/dist/commands/reports/copy.js +0 -1
- package/dist/commands/reports/create-sorted.d.ts +0 -1
- package/dist/commands/reports/create-sorted.js +0 -1
- package/dist/commands/reports/download.d.ts +0 -1
- package/dist/commands/reports/download.js +0 -1
- package/dist/commands/reports/get.d.ts +0 -1
- package/dist/commands/reports/get.js +0 -1
- package/dist/commands/reports/index.d.ts +0 -1
- package/dist/commands/reports/index.js +0 -1
- package/dist/commands/reports/labels.d.ts +0 -1
- package/dist/commands/reports/labels.js +0 -1
- package/dist/commands/reports/list.d.ts +0 -1
- package/dist/commands/reports/list.js +0 -1
- package/dist/commands/reports/lock.d.ts +0 -1
- package/dist/commands/reports/lock.js +0 -1
- package/dist/commands/reports/roles.d.ts +0 -1
- package/dist/commands/reports/roles.js +0 -1
- package/dist/commands/schema.d.ts +0 -1
- package/dist/commands/schema.js +0 -1
- package/dist/commands/shared-options.d.ts +0 -1
- package/dist/commands/shared-options.js +0 -1
- package/dist/commands/systems/index.d.ts +0 -1
- package/dist/commands/systems/index.js +0 -1
- package/dist/config/client.d.ts +0 -1
- package/dist/config/client.js +0 -1
- package/dist/config/command-gate.d.ts +0 -1
- package/dist/config/command-gate.js +0 -1
- package/dist/config/index.d.ts +0 -1
- package/dist/config/index.js +0 -1
- package/dist/config/migrate.d.ts +0 -1
- package/dist/config/migrate.js +0 -1
- package/dist/config/scoped-store.d.ts +0 -1
- package/dist/config/scoped-store.js +54 -11
- package/dist/config/store.d.ts +0 -1
- package/dist/config/store.js +0 -1
- package/dist/contracts/registry.d.ts +0 -1
- package/dist/contracts/registry.js +0 -1
- package/dist/core/errors.d.ts +1 -1
- package/dist/core/errors.js +4 -1
- package/dist/core/index.d.ts +0 -1
- package/dist/core/index.js +0 -1
- package/dist/core/logger.d.ts +0 -1
- package/dist/core/logger.js +0 -1
- package/dist/i18n/command-labels.d.ts +0 -1
- package/dist/i18n/command-labels.js +0 -1
- package/dist/i18n/index.d.ts +0 -1
- package/dist/i18n/index.js +0 -1
- package/dist/i18n/locales/en.d.ts +0 -1
- package/dist/i18n/locales/en.js +0 -1
- package/dist/i18n/locales/ja.d.ts +0 -1
- package/dist/i18n/locales/ja.js +0 -1
- package/dist/i18n/types.d.ts +0 -1
- package/dist/i18n/types.js +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/ink/App.d.ts +0 -1
- package/dist/ink/App.js +0 -1
- package/dist/ink/components/Banner.d.ts +0 -1
- package/dist/ink/components/Banner.js +0 -1
- package/dist/ink/components/DetailView.d.ts +0 -1
- package/dist/ink/components/DetailView.js +0 -1
- package/dist/ink/components/ErrorView.d.ts +0 -1
- package/dist/ink/components/ErrorView.js +0 -1
- package/dist/ink/components/FilterSelect.d.ts +0 -1
- package/dist/ink/components/FilterSelect.js +0 -1
- package/dist/ink/components/Layout.d.ts +0 -1
- package/dist/ink/components/Layout.js +0 -1
- package/dist/ink/components/OptionForm.d.ts +0 -1
- package/dist/ink/components/OptionForm.js +0 -1
- package/dist/ink/components/ResultView.d.ts +0 -1
- package/dist/ink/components/ResultView.js +0 -1
- package/dist/ink/components/SpinnerView.d.ts +0 -1
- package/dist/ink/components/SpinnerView.js +0 -1
- package/dist/ink/components/TableView.d.ts +0 -1
- package/dist/ink/components/TableView.js +0 -1
- package/dist/ink/escape-sequences.d.ts +0 -1
- package/dist/ink/escape-sequences.js +0 -1
- package/dist/ink/index.d.ts +0 -1
- package/dist/ink/index.js +0 -1
- package/dist/ink/keymap.d.ts +0 -1
- package/dist/ink/keymap.js +0 -1
- package/dist/ink/registry/commands.d.ts +0 -1
- package/dist/ink/registry/commands.js +0 -1
- package/dist/ink/registry/executors.d.ts +0 -1
- package/dist/ink/registry/executors.js +4 -7
- package/dist/ink/screens/AuthLoginScreen.d.ts +0 -1
- package/dist/ink/screens/AuthLoginScreen.js +0 -1
- package/dist/ink/screens/CommandScreen.d.ts +0 -1
- package/dist/ink/screens/CommandScreen.js +0 -1
- package/dist/ink/screens/HomeScreen.d.ts +0 -1
- package/dist/ink/screens/HomeScreen.js +0 -1
- package/dist/ink/screens/PluginsScreen.d.ts +0 -1
- package/dist/ink/screens/PluginsScreen.js +0 -1
- package/dist/ink/screens/UpdateCheckScreen.d.ts +0 -1
- package/dist/ink/screens/UpdateCheckScreen.js +0 -1
- package/dist/ink/theme.d.ts +0 -1
- package/dist/ink/theme.js +0 -1
- package/dist/ink/types.d.ts +0 -1
- package/dist/ink/types.js +0 -1
- package/dist/ink/ui-theme.d.ts +0 -1
- package/dist/ink/ui-theme.js +0 -1
- package/dist/ink/use-stdin-recovery.d.ts +0 -1
- package/dist/ink/use-stdin-recovery.js +0 -1
- package/dist/plugins/describe.d.ts +0 -1
- package/dist/plugins/describe.js +0 -1
- package/dist/plugins/dispatch.d.ts +0 -1
- package/dist/plugins/dispatch.js +0 -1
- package/dist/plugins/templates.d.ts +0 -1
- package/dist/plugins/templates.js +0 -1
- package/dist/plugins/verify.d.ts +0 -1
- package/dist/plugins/verify.js +0 -1
- package/dist/sdk/api/auth.d.ts +0 -1
- package/dist/sdk/api/auth.js +0 -1
- package/dist/sdk/api/definition-batch.d.ts +0 -1
- package/dist/sdk/api/definition-batch.js +0 -1
- package/dist/sdk/api/definition.d.ts +0 -1
- package/dist/sdk/api/definition.js +0 -1
- package/dist/sdk/api/report-batch.d.ts +0 -1
- package/dist/sdk/api/report-batch.js +0 -1
- package/dist/sdk/api/report.d.ts +0 -1
- package/dist/sdk/api/report.js +0 -1
- package/dist/sdk/api/system.d.ts +0 -1
- package/dist/sdk/api/system.js +0 -1
- package/dist/sdk/client.d.ts +0 -1
- package/dist/sdk/client.js +0 -1
- package/dist/sdk/core/base-api.d.ts +7 -1
- package/dist/sdk/core/base-api.js +39 -1
- package/dist/sdk/core/errors.d.ts +0 -1
- package/dist/sdk/core/errors.js +0 -1
- package/dist/sdk/core/http-client.d.ts +0 -1
- package/dist/sdk/core/http-client.js +0 -1
- package/dist/sdk/core/index.d.ts +0 -1
- package/dist/sdk/core/index.js +0 -1
- package/dist/sdk/core/params.d.ts +0 -1
- package/dist/sdk/core/params.js +0 -1
- package/dist/sdk/core/xml-parser.d.ts +0 -1
- package/dist/sdk/core/xml-parser.js +0 -1
- package/dist/sdk/generated/types.d.ts +0 -1
- package/dist/sdk/generated/types.js +0 -1
- package/dist/sdk/index.d.ts +0 -1
- package/dist/sdk/index.js +0 -1
- package/dist/sdk/resources/definition-batches.d.ts +0 -1
- package/dist/sdk/resources/definition-batches.js +0 -1
- package/dist/sdk/resources/definitions.d.ts +0 -1
- package/dist/sdk/resources/definitions.js +0 -1
- package/dist/sdk/resources/index.d.ts +0 -1
- package/dist/sdk/resources/index.js +0 -1
- package/dist/sdk/resources/report-batches.d.ts +0 -1
- package/dist/sdk/resources/report-batches.js +0 -1
- package/dist/sdk/resources/reports.d.ts +0 -1
- package/dist/sdk/resources/reports.js +0 -1
- package/dist/sdk/resources/shared.d.ts +0 -1
- package/dist/sdk/resources/shared.js +0 -1
- package/dist/sdk/resources/systems.d.ts +0 -1
- package/dist/sdk/resources/systems.js +0 -1
- package/dist/sdk/types/common.d.ts +0 -1
- package/dist/sdk/types/common.js +0 -1
- package/dist/sdk/types/definition-batch.d.ts +0 -1
- package/dist/sdk/types/definition-batch.js +0 -1
- package/dist/sdk/types/definition.d.ts +0 -1
- package/dist/sdk/types/definition.js +0 -1
- package/dist/sdk/types/index.d.ts +0 -1
- package/dist/sdk/types/index.js +0 -1
- package/dist/sdk/types/public.d.ts +0 -1
- package/dist/sdk/types/public.js +0 -1
- package/dist/sdk/types/report-batch.d.ts +0 -1
- package/dist/sdk/types/report-batch.js +0 -1
- package/dist/sdk/types/report.d.ts +0 -1
- package/dist/sdk/types/report.js +0 -1
- package/dist/sdk/types/system.d.ts +0 -1
- package/dist/sdk/types/system.js +0 -1
- package/dist/ui/banner.d.ts +0 -1
- package/dist/ui/banner.js +0 -1
- package/dist/ui/error.d.ts +5 -2
- package/dist/ui/error.js +12 -6
- package/dist/ui/formatters/csv.d.ts +12 -1
- package/dist/ui/formatters/csv.js +21 -6
- package/dist/ui/formatters/envelope.d.ts +0 -1
- package/dist/ui/formatters/envelope.js +0 -1
- package/dist/ui/formatters/index.d.ts +0 -1
- package/dist/ui/formatters/index.js +0 -1
- package/dist/ui/formatters/json.d.ts +0 -7
- package/dist/ui/formatters/json.js +11 -2
- package/dist/ui/formatters/ndjson.d.ts +0 -1
- package/dist/ui/formatters/ndjson.js +0 -1
- package/dist/ui/formatters/quiet.d.ts +0 -1
- package/dist/ui/formatters/quiet.js +0 -1
- package/dist/ui/formatters/renderers.d.ts +0 -1
- package/dist/ui/formatters/renderers.js +0 -1
- package/dist/ui/formatters/table.d.ts +0 -1
- package/dist/ui/formatters/table.js +4 -3
- package/dist/ui/formatters/writer.d.ts +0 -1
- package/dist/ui/formatters/writer.js +2 -1
- package/dist/ui/index.d.ts +0 -1
- package/dist/ui/index.js +0 -1
- package/dist/ui/progress.d.ts +0 -1
- package/dist/ui/progress.js +0 -1
- package/dist/ui/prompt.d.ts +0 -1
- package/dist/ui/prompt.js +0 -1
- package/dist/ui/spinner.d.ts +0 -1
- package/dist/ui/spinner.js +0 -1
- package/dist/ui/table.d.ts +0 -1
- package/dist/ui/table.js +0 -1
- package/dist/ui/theme.d.ts +0 -1
- package/dist/ui/theme.js +0 -1
- package/dist/ui/width.d.ts +12 -1
- package/dist/ui/width.js +17 -1
- package/dist/utils/constants.d.ts +0 -1
- package/dist/utils/constants.js +0 -1
- package/dist/utils/file.d.ts +6 -1
- package/dist/utils/file.js +78 -3
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils/index.js +0 -1
- package/dist/utils/output.d.ts +0 -1
- package/dist/utils/output.js +0 -1
- package/dist/utils/version.d.ts +0 -1
- package/dist/utils/version.js +0 -1
- package/package.json +2 -2
- package/dist/bin/irepo.d.ts.map +0 -1
- package/dist/bin/irepo.js.map +0 -1
- package/dist/commands/auth.d.ts.map +0 -1
- package/dist/commands/auth.js.map +0 -1
- package/dist/commands/config.d.ts.map +0 -1
- package/dist/commands/config.js.map +0 -1
- package/dist/commands/definition-batches/index.d.ts.map +0 -1
- package/dist/commands/definition-batches/index.js.map +0 -1
- package/dist/commands/definitions/get.d.ts.map +0 -1
- package/dist/commands/definitions/get.js.map +0 -1
- package/dist/commands/definitions/index.d.ts.map +0 -1
- package/dist/commands/definitions/index.js.map +0 -1
- package/dist/commands/definitions/labels.d.ts.map +0 -1
- package/dist/commands/definitions/labels.js.map +0 -1
- package/dist/commands/definitions/list.d.ts.map +0 -1
- package/dist/commands/definitions/list.js.map +0 -1
- package/dist/commands/definitions/lock.d.ts.map +0 -1
- package/dist/commands/definitions/lock.js.map +0 -1
- package/dist/commands/definitions/roles.d.ts.map +0 -1
- package/dist/commands/definitions/roles.js.map +0 -1
- package/dist/commands/index.d.ts.map +0 -1
- package/dist/commands/index.js.map +0 -1
- package/dist/commands/plugin.d.ts.map +0 -1
- package/dist/commands/plugin.js.map +0 -1
- package/dist/commands/raw.d.ts.map +0 -1
- package/dist/commands/raw.js.map +0 -1
- package/dist/commands/report-batches/index.d.ts.map +0 -1
- package/dist/commands/report-batches/index.js.map +0 -1
- package/dist/commands/reports/cluster-value.d.ts.map +0 -1
- package/dist/commands/reports/cluster-value.js.map +0 -1
- package/dist/commands/reports/copy.d.ts.map +0 -1
- package/dist/commands/reports/copy.js.map +0 -1
- package/dist/commands/reports/create-sorted.d.ts.map +0 -1
- package/dist/commands/reports/create-sorted.js.map +0 -1
- package/dist/commands/reports/download.d.ts.map +0 -1
- package/dist/commands/reports/download.js.map +0 -1
- package/dist/commands/reports/get.d.ts.map +0 -1
- package/dist/commands/reports/get.js.map +0 -1
- package/dist/commands/reports/index.d.ts.map +0 -1
- package/dist/commands/reports/index.js.map +0 -1
- package/dist/commands/reports/labels.d.ts.map +0 -1
- package/dist/commands/reports/labels.js.map +0 -1
- package/dist/commands/reports/list.d.ts.map +0 -1
- package/dist/commands/reports/list.js.map +0 -1
- package/dist/commands/reports/lock.d.ts.map +0 -1
- package/dist/commands/reports/lock.js.map +0 -1
- package/dist/commands/reports/roles.d.ts.map +0 -1
- package/dist/commands/reports/roles.js.map +0 -1
- package/dist/commands/schema.d.ts.map +0 -1
- package/dist/commands/schema.js.map +0 -1
- package/dist/commands/shared-options.d.ts.map +0 -1
- package/dist/commands/shared-options.js.map +0 -1
- package/dist/commands/systems/index.d.ts.map +0 -1
- package/dist/commands/systems/index.js.map +0 -1
- package/dist/config/client.d.ts.map +0 -1
- package/dist/config/client.js.map +0 -1
- package/dist/config/command-gate.d.ts.map +0 -1
- package/dist/config/command-gate.js.map +0 -1
- package/dist/config/index.d.ts.map +0 -1
- package/dist/config/index.js.map +0 -1
- package/dist/config/migrate.d.ts.map +0 -1
- package/dist/config/migrate.js.map +0 -1
- package/dist/config/scoped-store.d.ts.map +0 -1
- package/dist/config/scoped-store.js.map +0 -1
- package/dist/config/store.d.ts.map +0 -1
- package/dist/config/store.js.map +0 -1
- package/dist/contracts/registry.d.ts.map +0 -1
- package/dist/contracts/registry.js.map +0 -1
- package/dist/core/errors.d.ts.map +0 -1
- package/dist/core/errors.js.map +0 -1
- package/dist/core/index.d.ts.map +0 -1
- package/dist/core/index.js.map +0 -1
- package/dist/core/logger.d.ts.map +0 -1
- package/dist/core/logger.js.map +0 -1
- package/dist/i18n/command-labels.d.ts.map +0 -1
- package/dist/i18n/command-labels.js.map +0 -1
- package/dist/i18n/index.d.ts.map +0 -1
- package/dist/i18n/index.js.map +0 -1
- package/dist/i18n/locales/en.d.ts.map +0 -1
- package/dist/i18n/locales/en.js.map +0 -1
- package/dist/i18n/locales/ja.d.ts.map +0 -1
- package/dist/i18n/locales/ja.js.map +0 -1
- package/dist/i18n/types.d.ts.map +0 -1
- package/dist/i18n/types.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/ink/App.d.ts.map +0 -1
- package/dist/ink/App.js.map +0 -1
- package/dist/ink/components/Banner.d.ts.map +0 -1
- package/dist/ink/components/Banner.js.map +0 -1
- package/dist/ink/components/DetailView.d.ts.map +0 -1
- package/dist/ink/components/DetailView.js.map +0 -1
- package/dist/ink/components/ErrorView.d.ts.map +0 -1
- package/dist/ink/components/ErrorView.js.map +0 -1
- package/dist/ink/components/FilterSelect.d.ts.map +0 -1
- package/dist/ink/components/FilterSelect.js.map +0 -1
- package/dist/ink/components/Layout.d.ts.map +0 -1
- package/dist/ink/components/Layout.js.map +0 -1
- package/dist/ink/components/OptionForm.d.ts.map +0 -1
- package/dist/ink/components/OptionForm.js.map +0 -1
- package/dist/ink/components/ResultView.d.ts.map +0 -1
- package/dist/ink/components/ResultView.js.map +0 -1
- package/dist/ink/components/SpinnerView.d.ts.map +0 -1
- package/dist/ink/components/SpinnerView.js.map +0 -1
- package/dist/ink/components/TableView.d.ts.map +0 -1
- package/dist/ink/components/TableView.js.map +0 -1
- package/dist/ink/escape-sequences.d.ts.map +0 -1
- package/dist/ink/escape-sequences.js.map +0 -1
- package/dist/ink/index.d.ts.map +0 -1
- package/dist/ink/index.js.map +0 -1
- package/dist/ink/keymap.d.ts.map +0 -1
- package/dist/ink/keymap.js.map +0 -1
- package/dist/ink/registry/commands.d.ts.map +0 -1
- package/dist/ink/registry/commands.js.map +0 -1
- package/dist/ink/registry/executors.d.ts.map +0 -1
- package/dist/ink/registry/executors.js.map +0 -1
- package/dist/ink/screens/AuthLoginScreen.d.ts.map +0 -1
- package/dist/ink/screens/AuthLoginScreen.js.map +0 -1
- package/dist/ink/screens/CommandScreen.d.ts.map +0 -1
- package/dist/ink/screens/CommandScreen.js.map +0 -1
- package/dist/ink/screens/HomeScreen.d.ts.map +0 -1
- package/dist/ink/screens/HomeScreen.js.map +0 -1
- package/dist/ink/screens/PluginsScreen.d.ts.map +0 -1
- package/dist/ink/screens/PluginsScreen.js.map +0 -1
- package/dist/ink/screens/UpdateCheckScreen.d.ts.map +0 -1
- package/dist/ink/screens/UpdateCheckScreen.js.map +0 -1
- package/dist/ink/theme.d.ts.map +0 -1
- package/dist/ink/theme.js.map +0 -1
- package/dist/ink/types.d.ts.map +0 -1
- package/dist/ink/types.js.map +0 -1
- package/dist/ink/ui-theme.d.ts.map +0 -1
- package/dist/ink/ui-theme.js.map +0 -1
- package/dist/ink/use-stdin-recovery.d.ts.map +0 -1
- package/dist/ink/use-stdin-recovery.js.map +0 -1
- package/dist/plugins/describe.d.ts.map +0 -1
- package/dist/plugins/describe.js.map +0 -1
- package/dist/plugins/dispatch.d.ts.map +0 -1
- package/dist/plugins/dispatch.js.map +0 -1
- package/dist/plugins/templates.d.ts.map +0 -1
- package/dist/plugins/templates.js.map +0 -1
- package/dist/plugins/verify.d.ts.map +0 -1
- package/dist/plugins/verify.js.map +0 -1
- package/dist/sdk/api/auth.d.ts.map +0 -1
- package/dist/sdk/api/auth.js.map +0 -1
- package/dist/sdk/api/definition-batch.d.ts.map +0 -1
- package/dist/sdk/api/definition-batch.js.map +0 -1
- package/dist/sdk/api/definition.d.ts.map +0 -1
- package/dist/sdk/api/definition.js.map +0 -1
- package/dist/sdk/api/report-batch.d.ts.map +0 -1
- package/dist/sdk/api/report-batch.js.map +0 -1
- package/dist/sdk/api/report.d.ts.map +0 -1
- package/dist/sdk/api/report.js.map +0 -1
- package/dist/sdk/api/system.d.ts.map +0 -1
- package/dist/sdk/api/system.js.map +0 -1
- package/dist/sdk/client.d.ts.map +0 -1
- package/dist/sdk/client.js.map +0 -1
- package/dist/sdk/core/base-api.d.ts.map +0 -1
- package/dist/sdk/core/base-api.js.map +0 -1
- package/dist/sdk/core/errors.d.ts.map +0 -1
- package/dist/sdk/core/errors.js.map +0 -1
- package/dist/sdk/core/http-client.d.ts.map +0 -1
- package/dist/sdk/core/http-client.js.map +0 -1
- package/dist/sdk/core/index.d.ts.map +0 -1
- package/dist/sdk/core/index.js.map +0 -1
- package/dist/sdk/core/params.d.ts.map +0 -1
- package/dist/sdk/core/params.js.map +0 -1
- package/dist/sdk/core/xml-parser.d.ts.map +0 -1
- package/dist/sdk/core/xml-parser.js.map +0 -1
- package/dist/sdk/generated/types.d.ts.map +0 -1
- package/dist/sdk/generated/types.js.map +0 -1
- package/dist/sdk/index.d.ts.map +0 -1
- package/dist/sdk/index.js.map +0 -1
- package/dist/sdk/resources/definition-batches.d.ts.map +0 -1
- package/dist/sdk/resources/definition-batches.js.map +0 -1
- package/dist/sdk/resources/definitions.d.ts.map +0 -1
- package/dist/sdk/resources/definitions.js.map +0 -1
- package/dist/sdk/resources/index.d.ts.map +0 -1
- package/dist/sdk/resources/index.js.map +0 -1
- package/dist/sdk/resources/report-batches.d.ts.map +0 -1
- package/dist/sdk/resources/report-batches.js.map +0 -1
- package/dist/sdk/resources/reports.d.ts.map +0 -1
- package/dist/sdk/resources/reports.js.map +0 -1
- package/dist/sdk/resources/shared.d.ts.map +0 -1
- package/dist/sdk/resources/shared.js.map +0 -1
- package/dist/sdk/resources/systems.d.ts.map +0 -1
- package/dist/sdk/resources/systems.js.map +0 -1
- package/dist/sdk/types/common.d.ts.map +0 -1
- package/dist/sdk/types/common.js.map +0 -1
- package/dist/sdk/types/definition-batch.d.ts.map +0 -1
- package/dist/sdk/types/definition-batch.js.map +0 -1
- package/dist/sdk/types/definition.d.ts.map +0 -1
- package/dist/sdk/types/definition.js.map +0 -1
- package/dist/sdk/types/index.d.ts.map +0 -1
- package/dist/sdk/types/index.js.map +0 -1
- package/dist/sdk/types/public.d.ts.map +0 -1
- package/dist/sdk/types/public.js.map +0 -1
- package/dist/sdk/types/report-batch.d.ts.map +0 -1
- package/dist/sdk/types/report-batch.js.map +0 -1
- package/dist/sdk/types/report.d.ts.map +0 -1
- package/dist/sdk/types/report.js.map +0 -1
- package/dist/sdk/types/system.d.ts.map +0 -1
- package/dist/sdk/types/system.js.map +0 -1
- package/dist/ui/banner.d.ts.map +0 -1
- package/dist/ui/banner.js.map +0 -1
- package/dist/ui/error.d.ts.map +0 -1
- package/dist/ui/error.js.map +0 -1
- package/dist/ui/formatters/csv.d.ts.map +0 -1
- package/dist/ui/formatters/csv.js.map +0 -1
- package/dist/ui/formatters/envelope.d.ts.map +0 -1
- package/dist/ui/formatters/envelope.js.map +0 -1
- package/dist/ui/formatters/index.d.ts.map +0 -1
- package/dist/ui/formatters/index.js.map +0 -1
- package/dist/ui/formatters/json.d.ts.map +0 -1
- package/dist/ui/formatters/json.js.map +0 -1
- package/dist/ui/formatters/ndjson.d.ts.map +0 -1
- package/dist/ui/formatters/ndjson.js.map +0 -1
- package/dist/ui/formatters/quiet.d.ts.map +0 -1
- package/dist/ui/formatters/quiet.js.map +0 -1
- package/dist/ui/formatters/renderers.d.ts.map +0 -1
- package/dist/ui/formatters/renderers.js.map +0 -1
- package/dist/ui/formatters/table.d.ts.map +0 -1
- package/dist/ui/formatters/table.js.map +0 -1
- package/dist/ui/formatters/writer.d.ts.map +0 -1
- package/dist/ui/formatters/writer.js.map +0 -1
- package/dist/ui/index.d.ts.map +0 -1
- package/dist/ui/index.js.map +0 -1
- package/dist/ui/progress.d.ts.map +0 -1
- package/dist/ui/progress.js.map +0 -1
- package/dist/ui/prompt.d.ts.map +0 -1
- package/dist/ui/prompt.js.map +0 -1
- package/dist/ui/spinner.d.ts.map +0 -1
- package/dist/ui/spinner.js.map +0 -1
- package/dist/ui/table.d.ts.map +0 -1
- package/dist/ui/table.js.map +0 -1
- package/dist/ui/theme.d.ts.map +0 -1
- package/dist/ui/theme.js.map +0 -1
- package/dist/ui/width.d.ts.map +0 -1
- package/dist/ui/width.js.map +0 -1
- package/dist/utils/constants.d.ts.map +0 -1
- package/dist/utils/constants.js.map +0 -1
- package/dist/utils/file.d.ts.map +0 -1
- package/dist/utils/file.js.map +0 -1
- package/dist/utils/index.d.ts.map +0 -1
- package/dist/utils/index.js.map +0 -1
- package/dist/utils/output.d.ts.map +0 -1
- package/dist/utils/output.js.map +0 -1
- package/dist/utils/version.d.ts.map +0 -1
- package/dist/utils/version.js.map +0 -1
package/dist/bin/irepo.d.ts
CHANGED
package/dist/bin/irepo.js
CHANGED
|
@@ -281,6 +281,52 @@ const isMain = (() => {
|
|
|
281
281
|
return false;
|
|
282
282
|
}
|
|
283
283
|
})();
|
|
284
|
-
if (isMain)
|
|
285
|
-
|
|
286
|
-
|
|
284
|
+
if (isMain) {
|
|
285
|
+
// パイプ下流が早く閉じると stdout への書き込みが EPIPE を投げる
|
|
286
|
+
// (`i-repo rep list | head` など)。握りつぶさないと Node が生の
|
|
287
|
+
// スタックトレースを吐く — ndjson パイプを売りにする CLI で最も目立つ
|
|
288
|
+
// 行儀の悪さなので、パイプ切断系のみ静かに終了する。
|
|
289
|
+
// Windows の閉じパイプは EPIPE とは限らず EOF / ERR_STREAM_DESTROYED を
|
|
290
|
+
// 出すため、それらも同じ「下流が消えた」扱いにする (他のエラーは握りつぶさない)。
|
|
291
|
+
const PIPE_CLOSED = new Set(["EPIPE", "EOF", "ERR_STREAM_DESTROYED"]);
|
|
292
|
+
const onStreamError = (err) => {
|
|
293
|
+
if (PIPE_CLOSED.has(err.code ?? ""))
|
|
294
|
+
process.exit(0);
|
|
295
|
+
throw err;
|
|
296
|
+
};
|
|
297
|
+
process.stdout.on("error", onStreamError);
|
|
298
|
+
process.stderr.on("error", onStreamError);
|
|
299
|
+
// run() 内部は try/catch で整形済みだが、try ブロック外 (引数の事前パース等)
|
|
300
|
+
// や finally の例外、未捕捉の Promise 拒否がここまで漏れると生スタックトレースに
|
|
301
|
+
// なる。最後の安全網として整形し、終了コードを必ず非ゼロにする。
|
|
302
|
+
const printFatal = (error) => {
|
|
303
|
+
const info = extractErrorInfo(error);
|
|
304
|
+
printError(error);
|
|
305
|
+
return info.exitCode || 1;
|
|
306
|
+
};
|
|
307
|
+
// run() 由来の拒否: 仕事は終わっているので exitCode を立ててイベントループを
|
|
308
|
+
// 自然にドレインさせる (process.exit で stdout のバッファ出力を切らない —
|
|
309
|
+
// 本体が一貫して採る方針)。
|
|
310
|
+
run().catch((error) => {
|
|
311
|
+
process.exitCode = printFatal(error);
|
|
312
|
+
});
|
|
313
|
+
// 未捕捉例外 / 未処理 Promise 拒否: 状態が不明なうえ、活きたハンドル
|
|
314
|
+
// (Ink レンダループ・spinner のタイマー・処理中の通信) があるとイベント
|
|
315
|
+
// ループが終わらずハングしうる。ハンドラを登録した時点で Node 既定の
|
|
316
|
+
// 即時終了を奪っているので、整形後に明示的に終了させて非ゼロを保証する。
|
|
317
|
+
const onFatal = (error) => {
|
|
318
|
+
// Ink 描画中の致命例外でもここに来て process.exit するため、Ink の
|
|
319
|
+
// クリーンアップ (raw mode 解除) を経ずに即死しうる。Windows conhost は
|
|
320
|
+
// raw mode のまま終了するとエコー不能になるので、落とす前に端末を素に戻す。
|
|
321
|
+
try {
|
|
322
|
+
if (process.stdin.isTTY)
|
|
323
|
+
process.stdin.setRawMode(false);
|
|
324
|
+
}
|
|
325
|
+
catch {
|
|
326
|
+
/* 既に detach 済み等は無視 */
|
|
327
|
+
}
|
|
328
|
+
process.exit(printFatal(error));
|
|
329
|
+
};
|
|
330
|
+
process.on("uncaughtException", onFatal);
|
|
331
|
+
process.on("unhandledRejection", onFatal);
|
|
332
|
+
}
|
package/dist/commands/auth.d.ts
CHANGED
package/dist/commands/auth.js
CHANGED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 一括処理の部分失敗を exit code に反映する。
|
|
3
|
+
*
|
|
4
|
+
* AutoGenerate / Update / CreateBinder などはレコード単位の結果配列
|
|
5
|
+
* (BatchCommandResult[]) を返し、各 code が "0" 以外なら**その行**が失敗。
|
|
6
|
+
* サーバ全体のエラーは SDK が ApiError (exit 3) を投げるのでここには来ない。
|
|
7
|
+
*
|
|
8
|
+
* 以前は失敗行があっても exit 0 で終わっていた。cron / CI で一括登録を回すと
|
|
9
|
+
* 失敗行が誰にも気づかれず欠損し続ける (沈黙の失敗)。1件でも失敗があれば
|
|
10
|
+
* ExitCode.PartialFailure (7) を立て、件数と code を stderr に出す。
|
|
11
|
+
*
|
|
12
|
+
* 注: 破壊系 delete のトランザクション応答 (successCount/targetCount) は
|
|
13
|
+
* 形が異なり実サーバ挙動の確認が要るため、ここでは扱わない (別途)。
|
|
14
|
+
*/
|
|
15
|
+
import { ExitCode } from "../core/errors.js";
|
|
16
|
+
export function reportPartialFailures(results) {
|
|
17
|
+
const failed = results.filter((r) => String(r.code) !== "0");
|
|
18
|
+
if (failed.length === 0)
|
|
19
|
+
return;
|
|
20
|
+
process.exitCode = ExitCode.PartialFailure;
|
|
21
|
+
const codes = [...new Set(failed.map((f) => String(f.code)))].join(", ");
|
|
22
|
+
// stderr へ: stdout のデータ (整形済み結果) を汚さない
|
|
23
|
+
console.error(` ${failed.length} of ${results.length} item(s) failed (code ${codes}; 0 = success). exit ${ExitCode.PartialFailure}`);
|
|
24
|
+
}
|
package/dist/commands/config.js
CHANGED
|
@@ -8,6 +8,7 @@ import { readFile } from "node:fs/promises";
|
|
|
8
8
|
import { basename } from "node:path";
|
|
9
9
|
import { createClient } from "../../config/client.js";
|
|
10
10
|
import { handleError } from "../../core/errors.js";
|
|
11
|
+
import { reportPartialFailures } from "../batch-result.js";
|
|
11
12
|
import { choiceOption, fileTypeXmlCsv, parseDateTime, parseLabelId, parseNumeric, } from "../shared-options.js";
|
|
12
13
|
import { formatOutput } from "../../ui/formatters/index.js";
|
|
13
14
|
import { withSpinner, confirmDestructive, printInfo } from "../../ui/index.js";
|
|
@@ -39,6 +40,7 @@ definitionBatchesCommand
|
|
|
39
40
|
columns: ["code", "remarks"],
|
|
40
41
|
quiet: globalOpts.quiet,
|
|
41
42
|
});
|
|
43
|
+
reportPartialFailures(results);
|
|
42
44
|
}
|
|
43
45
|
catch (error) {
|
|
44
46
|
handleError(error, { format: globalOpts.format });
|
|
@@ -109,4 +111,3 @@ const flagMap = { no: "0", yes: "1", "0": "0", "1": "1" };
|
|
|
109
111
|
function resolveMap(v, map) {
|
|
110
112
|
return v ? map[v.toLowerCase()] : undefined;
|
|
111
113
|
}
|
|
112
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -24,4 +24,3 @@ registerDefinitionsGet(definitionsCommand, getClient);
|
|
|
24
24
|
registerDefinitionsLock(definitionsCommand, getClient);
|
|
25
25
|
registerDefinitionsRoles(definitionsCommand, getClient);
|
|
26
26
|
registerDefinitionsLabels(definitionsCommand, getClient);
|
|
27
|
-
//# sourceMappingURL=index.js.map
|
package/dist/commands/index.d.ts
CHANGED
|
@@ -8,4 +8,3 @@ export { reportsCommand } from "./reports/index.js";
|
|
|
8
8
|
export { reportBatchesCommand } from "./report-batches/index.js";
|
|
9
9
|
export { definitionBatchesCommand } from "./definition-batches/index.js";
|
|
10
10
|
export { systemsCommand } from "./systems/index.js";
|
|
11
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/commands/index.js
CHANGED
|
@@ -8,4 +8,3 @@ export { reportsCommand } from "./reports/index.js";
|
|
|
8
8
|
export { reportBatchesCommand } from "./report-batches/index.js";
|
|
9
9
|
export { definitionBatchesCommand } from "./definition-batches/index.js";
|
|
10
10
|
export { systemsCommand } from "./systems/index.js";
|
|
11
|
-
//# sourceMappingURL=index.js.map
|
package/dist/commands/plugin.js
CHANGED
package/dist/commands/raw.d.ts
CHANGED
package/dist/commands/raw.js
CHANGED
|
@@ -9,6 +9,7 @@ import { readFile, writeFile } from "node:fs/promises";
|
|
|
9
9
|
import { basename } from "node:path";
|
|
10
10
|
import { createClient } from "../config/client.js";
|
|
11
11
|
import { handleError, ValidationError } from "../core/errors.js";
|
|
12
|
+
import { assertSafeOutputPath } from "../utils/file.js";
|
|
12
13
|
import { withSpinner, out } from "../ui/index.js";
|
|
13
14
|
export const rawCommand = new Command("raw")
|
|
14
15
|
.description("Execute raw API command (returns XML)")
|
|
@@ -29,6 +30,11 @@ export const rawCommand = new Command("raw")
|
|
|
29
30
|
}
|
|
30
31
|
parsedParams[param.substring(0, eqIdx)] = param.substring(eqIdx + 1);
|
|
31
32
|
}
|
|
33
|
+
// 出力先の検証は API 送信より前に行う。raw は状態変更コマンド
|
|
34
|
+
// (作成/更新/削除) も実行しうるため、送信後に保存パスで弾くと
|
|
35
|
+
// 「実行済みなのに検証エラー → 直して再実行で二重実行」になる。
|
|
36
|
+
if (opts.output)
|
|
37
|
+
assertSafeOutputPath(opts.output);
|
|
32
38
|
const client = await createClient(globalOpts);
|
|
33
39
|
let xml;
|
|
34
40
|
if (opts.file) {
|
|
@@ -49,6 +55,7 @@ export const rawCommand = new Command("raw")
|
|
|
49
55
|
});
|
|
50
56
|
}
|
|
51
57
|
if (opts.output) {
|
|
58
|
+
// 検証は送信前に済ませてある (上記)
|
|
52
59
|
await writeFile(opts.output, xml, "utf-8");
|
|
53
60
|
if (!globalOpts.quiet) {
|
|
54
61
|
console.error(`Saved to ${opts.output}`);
|
|
@@ -62,4 +69,3 @@ export const rawCommand = new Command("raw")
|
|
|
62
69
|
handleError(error, { format: globalOpts.format });
|
|
63
70
|
}
|
|
64
71
|
});
|
|
65
|
-
//# sourceMappingURL=raw.js.map
|
|
@@ -11,6 +11,7 @@ import { createClient } from "../../config/client.js";
|
|
|
11
11
|
import { assertNumericId, handleError, ValidationError } from "../../core/errors.js";
|
|
12
12
|
import { choiceOption, encodingOption, fileTypeWithZip, parseDate, parseDateList, parseDateTime, parseChoiceList, parseIntInRange, parseLabelId, parseNumeric, parseNumericList, } from "../shared-options.js";
|
|
13
13
|
import { formatOutput } from "../../ui/formatters/index.js";
|
|
14
|
+
import { reportPartialFailures } from "../batch-result.js";
|
|
14
15
|
import { saveBinaryDownload } from "../../utils/file.js";
|
|
15
16
|
import { withSpinner, confirmDestructive, printInfo } from "../../ui/index.js";
|
|
16
17
|
import { t as tr } from "../../i18n/index.js";
|
|
@@ -54,6 +55,7 @@ reportBatchesCommand
|
|
|
54
55
|
quiet: globalOpts.quiet,
|
|
55
56
|
quietField: "topId",
|
|
56
57
|
});
|
|
58
|
+
reportPartialFailures(results);
|
|
57
59
|
}
|
|
58
60
|
catch (error) {
|
|
59
61
|
handleError(error, { format: globalOpts.format });
|
|
@@ -96,6 +98,7 @@ reportBatchesCommand
|
|
|
96
98
|
quiet: globalOpts.quiet,
|
|
97
99
|
quietField: "topId",
|
|
98
100
|
});
|
|
101
|
+
reportPartialFailures(results);
|
|
99
102
|
}
|
|
100
103
|
catch (error) {
|
|
101
104
|
handleError(error, { format: globalOpts.format });
|
|
@@ -144,6 +147,7 @@ reportBatchesCommand
|
|
|
144
147
|
quiet: globalOpts.quiet,
|
|
145
148
|
quietField: "topId",
|
|
146
149
|
});
|
|
150
|
+
reportPartialFailures(results);
|
|
147
151
|
}
|
|
148
152
|
catch (error) {
|
|
149
153
|
handleError(error, { format: globalOpts.format });
|
|
@@ -471,6 +475,7 @@ reportBatchesCommand
|
|
|
471
475
|
columns: ["code", "remarks"],
|
|
472
476
|
quiet: globalOpts.quiet,
|
|
473
477
|
});
|
|
478
|
+
reportPartialFailures(results);
|
|
474
479
|
}
|
|
475
480
|
catch (error) {
|
|
476
481
|
handleError(error, { format: globalOpts.format });
|
|
@@ -484,4 +489,3 @@ const flagMap = { no: "0", yes: "1", "0": "0", "1": "1" };
|
|
|
484
489
|
function resolveMap(v, map) {
|
|
485
490
|
return v ? map[v.toLowerCase()] : undefined;
|
|
486
491
|
}
|
|
487
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -4,4 +4,3 @@
|
|
|
4
4
|
import type { Command } from "commander";
|
|
5
5
|
import type { IReporterClient } from "../../sdk/index.js";
|
|
6
6
|
export declare function registerReportsClusterValue(parent: Command, getClient: (cmd: Command) => Promise<IReporterClient>): void;
|
|
7
|
-
//# sourceMappingURL=cluster-value.d.ts.map
|
|
@@ -4,4 +4,3 @@
|
|
|
4
4
|
import type { Command } from "commander";
|
|
5
5
|
import type { IReporterClient } from "../../sdk/index.js";
|
|
6
6
|
export declare function registerReportsCreateSorted(parent: Command, getClient: (cmd: Command) => Promise<IReporterClient>): void;
|
|
7
|
-
//# sourceMappingURL=create-sorted.d.ts.map
|
package/dist/commands/schema.js
CHANGED
|
@@ -59,4 +59,3 @@ export declare function parseChoiceList(allowed: readonly string[]): (value: str
|
|
|
59
59
|
* 「フィルタなしの全件」が成功の顔で返るため、明示エラーにする。
|
|
60
60
|
*/
|
|
61
61
|
export declare function collectSystemKeys(value: string, previous: Record<string, string>): Record<string, string>;
|
|
62
|
-
//# sourceMappingURL=shared-options.d.ts.map
|
package/dist/config/client.d.ts
CHANGED
package/dist/config/client.js
CHANGED
|
@@ -66,4 +66,3 @@ export declare function isPluginGated(name: string): boolean;
|
|
|
66
66
|
* subcommand aliases ("whoami" for "auth status") the same way.
|
|
67
67
|
*/
|
|
68
68
|
export declare function uiGateReason(group: string, alias: string | undefined, sub?: string, subAliases?: string[]): GateReason | null;
|
|
69
|
-
//# sourceMappingURL=command-gate.d.ts.map
|
package/dist/config/index.d.ts
CHANGED
|
@@ -9,4 +9,3 @@ export { getUserConfigPath, getUserConfigDir, getProjectConfigPath, getLocalConf
|
|
|
9
9
|
export { createClient } from "./client.js";
|
|
10
10
|
export type { CreateClientOptions } from "./client.js";
|
|
11
11
|
export { migrateFromConf } from "./migrate.js";
|
|
12
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/config/index.js
CHANGED
|
@@ -7,4 +7,3 @@ export { getConfig, getConfigWithSource, setConfig, deleteConfig, resetConfig, g
|
|
|
7
7
|
export { getUserConfigPath, getUserConfigDir, getProjectConfigPath, getLocalConfigPath, getConfigPath, getAllConfigPaths, findProjectRoot, } from "./scoped-store.js";
|
|
8
8
|
export { createClient } from "./client.js";
|
|
9
9
|
export { migrateFromConf } from "./migrate.js";
|
|
10
|
-
//# sourceMappingURL=index.js.map
|
package/dist/config/migrate.d.ts
CHANGED
package/dist/config/migrate.js
CHANGED