mirror of
https://github.com/iflytek/skillhub.git
synced 2026-10-07 02:57:51 +00:00
- Exit non-zero (code 6) when --dry-run validation fails, enabling CI/CD pipeline integration - Add archived skill check: dry-run now detects when the publisher's own skill is archived - Add version-exists check: dry-run now detects when the resolved version is already published - Use StandardCharsets.UTF_8 for SKILL.md content parsing
13 lines
333 B
TypeScript
13 lines
333 B
TypeScript
import { PKG_NAME, PKG_VERSION } from '../generated/pkg-info'
|
|
|
|
export const DEFAULT_REGISTRY = 'https://skill.xfyun.cn'
|
|
export const CLI_VERSION: string = PKG_VERSION
|
|
export const CLI_PACKAGE_NAME: string = PKG_NAME
|
|
export const EXIT = {
|
|
generic: 1,
|
|
auth: 2,
|
|
network: 3,
|
|
filesystem: 4,
|
|
usage: 5,
|
|
validation: 6
|
|
} as const
|