claudekit-cli 3.40.3-dev.1 → 3.40.3

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.
Files changed (2) hide show
  1. package/dist/index.js +7 -259
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -42376,7 +42376,7 @@ function normalizeCkConfigInput(value) {
42376
42376
  }
42377
42377
  return normalized;
42378
42378
  }
42379
- var PlanValidationModeSchema, PlanFocusAreaSchema, PlanResolutionOrderSchema, ProjectTypeSchema, PackageManagerSchema, FrameworkSchema, GEMINI_MODEL_VALUES, LEGACY_GEMINI_MODEL_ALIASES, GeminiModelSchema, StatuslineModeSchema, StatuslineSectionIdSchema, StatuslineSectionSchema, StatuslineThemeSchema, StatuslineLayoutSchema, CodingLevelSchema, PlanResolutionSchema, PlanValidationSchema, CkPlanConfigSchema, CkDocsConfigSchema, CkPathsConfigSchema, CkLocaleConfigSchema, CkTrustConfigSchema, CkProjectConfigSchema, CkGeminiConfigSchema, CkSkillsConfigSchema, UpdatePipelineSchema, ResolvedModelConfigSchema, ModelTierMapSchema, CkModelTaxonomySchema, CkAssertionSchema, CkHooksConfigSchema, CkConfigSchema, DEFAULT_CK_CONFIG, CK_HOOK_NAMES;
42379
+ var PlanValidationModeSchema, PlanFocusAreaSchema, PlanResolutionOrderSchema, ProjectTypeSchema, PackageManagerSchema, FrameworkSchema, GEMINI_MODEL_VALUES, LEGACY_GEMINI_MODEL_ALIASES, GeminiModelSchema, StatuslineModeSchema, CodingLevelSchema, PlanResolutionSchema, PlanValidationSchema, CkPlanConfigSchema, CkDocsConfigSchema, CkPathsConfigSchema, CkLocaleConfigSchema, CkTrustConfigSchema, CkProjectConfigSchema, CkGeminiConfigSchema, CkSkillsConfigSchema, UpdatePipelineSchema, ResolvedModelConfigSchema, ModelTierMapSchema, CkModelTaxonomySchema, CkAssertionSchema, CkHooksConfigSchema, CkConfigSchema, DEFAULT_CK_CONFIG, CK_HOOK_NAMES;
42380
42380
  var init_ck_config = __esm(() => {
42381
42381
  init_zod();
42382
42382
  PlanValidationModeSchema = exports_external.enum(["prompt", "auto", "strict", "none"]);
@@ -42429,45 +42429,6 @@ var init_ck_config = __esm(() => {
42429
42429
  };
42430
42430
  GeminiModelSchema = exports_external.enum(GEMINI_MODEL_VALUES);
42431
42431
  StatuslineModeSchema = exports_external.enum(["full", "compact", "minimal", "none"]);
42432
- StatuslineSectionIdSchema = exports_external.enum([
42433
- "model",
42434
- "context",
42435
- "quota",
42436
- "directory",
42437
- "git",
42438
- "cost",
42439
- "changes",
42440
- "agents",
42441
- "todos"
42442
- ]);
42443
- StatuslineSectionSchema = exports_external.object({
42444
- id: StatuslineSectionIdSchema,
42445
- enabled: exports_external.boolean().default(true),
42446
- order: exports_external.number().int().min(0).max(99),
42447
- icon: exports_external.string().max(20).optional(),
42448
- label: exports_external.string().max(50).optional(),
42449
- color: exports_external.string().max(30).regex(/^[a-zA-Z]+$/).optional(),
42450
- maxWidth: exports_external.number().int().min(10).max(500).optional()
42451
- });
42452
- StatuslineThemeSchema = exports_external.object({
42453
- name: exports_external.string().max(50).optional(),
42454
- contextLow: exports_external.string().max(30).regex(/^[a-zA-Z]+$/).default("green"),
42455
- contextMid: exports_external.string().max(30).regex(/^[a-zA-Z]+$/).default("yellow"),
42456
- contextHigh: exports_external.string().max(30).regex(/^[a-zA-Z]+$/).default("red"),
42457
- accent: exports_external.string().max(30).regex(/^[a-zA-Z]+$/).default("cyan"),
42458
- muted: exports_external.string().max(30).regex(/^[a-zA-Z]+$/).default("dim"),
42459
- separator: exports_external.string().max(30).regex(/^[a-zA-Z]+$/).default("dim")
42460
- });
42461
- StatuslineLayoutSchema = exports_external.object({
42462
- baseMode: StatuslineModeSchema.default("full"),
42463
- sections: exports_external.array(StatuslineSectionSchema).max(9).refine((arr) => new Set(arr.map((s) => s.id)).size === arr.length, {
42464
- message: "Section IDs must be unique"
42465
- }).optional(),
42466
- theme: StatuslineThemeSchema.optional(),
42467
- responsiveBreakpoint: exports_external.number().min(0.5).max(1).default(0.85),
42468
- maxAgentRows: exports_external.number().int().min(1).max(10).default(4),
42469
- todoTruncation: exports_external.number().int().min(20).max(100).default(50)
42470
- });
42471
42432
  CodingLevelSchema = exports_external.number().int().min(-1).max(5);
42472
42433
  PlanResolutionSchema = exports_external.object({
42473
42434
  order: exports_external.array(PlanResolutionOrderSchema).optional(),
@@ -42552,7 +42513,6 @@ var init_ck_config = __esm(() => {
42552
42513
  statusline: StatuslineModeSchema.optional(),
42553
42514
  statuslineColors: exports_external.boolean().optional(),
42554
42515
  statuslineQuota: exports_external.boolean().optional(),
42555
- statuslineLayout: StatuslineLayoutSchema.optional(),
42556
42516
  privacyBlock: exports_external.boolean().optional(),
42557
42517
  docs: CkDocsConfigSchema.optional(),
42558
42518
  plan: CkPlanConfigSchema.optional(),
@@ -42572,7 +42532,6 @@ var init_ck_config = __esm(() => {
42572
42532
  statusline: "full",
42573
42533
  statuslineColors: true,
42574
42534
  statuslineQuota: true,
42575
- statuslineLayout: undefined,
42576
42535
  privacyBlock: true,
42577
42536
  docs: {
42578
42537
  maxLoc: 800
@@ -42649,44 +42608,6 @@ var init_ck_config = __esm(() => {
42649
42608
  ];
42650
42609
  });
42651
42610
 
42652
- // src/types/statusline-section-defaults.ts
42653
- var DEFAULT_STATUSLINE_SECTIONS, SECTION_LABELS, SECTION_DESCRIPTIONS;
42654
- var init_statusline_section_defaults = __esm(() => {
42655
- DEFAULT_STATUSLINE_SECTIONS = [
42656
- { id: "model", enabled: true, order: 0, icon: "\uD83E\uDD16" },
42657
- { id: "context", enabled: true, order: 1 },
42658
- { id: "quota", enabled: true, order: 2, icon: "⌛" },
42659
- { id: "directory", enabled: true, order: 3, icon: "\uD83D\uDCC1" },
42660
- { id: "git", enabled: true, order: 4, icon: "\uD83C\uDF3F" },
42661
- { id: "cost", enabled: true, order: 5, icon: "\uD83D\uDCB0" },
42662
- { id: "changes", enabled: true, order: 6, icon: "\uD83D\uDCDD" },
42663
- { id: "agents", enabled: true, order: 7, icon: "\uD83D\uDD04" },
42664
- { id: "todos", enabled: true, order: 8, icon: "✅" }
42665
- ];
42666
- SECTION_LABELS = {
42667
- model: "Model",
42668
- context: "Context Window",
42669
- quota: "Usage Quota",
42670
- directory: "Directory",
42671
- git: "Git Status",
42672
- cost: "Cost",
42673
- changes: "Changes",
42674
- agents: "Agents",
42675
- todos: "Tasks"
42676
- };
42677
- SECTION_DESCRIPTIONS = {
42678
- model: "AI model name and provider",
42679
- context: "Context window usage bar",
42680
- quota: "5-hour and weekly usage quota",
42681
- directory: "Current working directory",
42682
- git: "Git branch, staged/unstaged changes",
42683
- cost: "Session cost estimate",
42684
- changes: "Lines added and removed",
42685
- agents: "Recent agent activity",
42686
- todos: "Current task progress"
42687
- };
42688
- });
42689
-
42690
42611
  // src/types/index.ts
42691
42612
  var exports_types = {};
42692
42613
  __export(exports_types, {
@@ -42701,17 +42622,11 @@ __export(exports_types, {
42701
42622
  UninstallCommandOptionsSchema: () => UninstallCommandOptionsSchema,
42702
42623
  USER_CONFIG_PATTERNS: () => USER_CONFIG_PATTERNS,
42703
42624
  TrackedFileSchema: () => TrackedFileSchema,
42704
- StatuslineThemeSchema: () => StatuslineThemeSchema,
42705
- StatuslineSectionSchema: () => StatuslineSectionSchema,
42706
- StatuslineSectionIdSchema: () => StatuslineSectionIdSchema,
42707
42625
  StatuslineModeSchema: () => StatuslineModeSchema,
42708
- StatuslineLayoutSchema: () => StatuslineLayoutSchema,
42709
42626
  SkillsMigrationError: () => SkillsMigrationError,
42710
42627
  SkillsManifestSchema: () => SkillsManifestSchema,
42711
42628
  ServicesListSchema: () => ServicesListSchema,
42712
42629
  ServiceSchema: () => ServiceSchema,
42713
- SECTION_LABELS: () => SECTION_LABELS,
42714
- SECTION_DESCRIPTIONS: () => SECTION_DESCRIPTIONS,
42715
42630
  ReviewwebOptionsSchema: () => ReviewwebOptionsSchema,
42716
42631
  RegisteredProjectSchema: () => RegisteredProjectSchema,
42717
42632
  RateLimitInfoSchema: () => RateLimitInfoSchema,
@@ -42744,7 +42659,6 @@ __export(exports_types, {
42744
42659
  ExtractionError: () => ExtractionError,
42745
42660
  ExcludePatternSchema: () => ExcludePatternSchema,
42746
42661
  DownloadError: () => DownloadError,
42747
- DEFAULT_STATUSLINE_SECTIONS: () => DEFAULT_STATUSLINE_SECTIONS,
42748
42662
  DEFAULT_PROJECTS_REGISTRY: () => DEFAULT_PROJECTS_REGISTRY,
42749
42663
  DEFAULT_FOLDERS: () => DEFAULT_FOLDERS,
42750
42664
  DEFAULT_CK_CONFIG: () => DEFAULT_CK_CONFIG,
@@ -42781,7 +42695,6 @@ var init_types3 = __esm(() => {
42781
42695
  init_claudekit_data();
42782
42696
  init_claudekit_api();
42783
42697
  init_ck_config();
42784
- init_statusline_section_defaults();
42785
42698
  });
42786
42699
 
42787
42700
  // src/domains/config/config-manager.ts
@@ -48641,154 +48554,6 @@ var init_ck_config_schema = __esm(() => {
48641
48554
  default: true,
48642
48555
  description: "Show the cosmetic 5h / wk quota chips in the statusline. Disable to keep the statusline layout without usage-window percentages."
48643
48556
  },
48644
- statuslineLayout: {
48645
- type: "object",
48646
- description: "Advanced statusline layout config for the visual builder. When absent, uses hardcoded defaults (backward compatible). Takes precedence over the statusline field when both are set.",
48647
- properties: {
48648
- baseMode: {
48649
- type: "string",
48650
- enum: ["full", "compact", "minimal", "none"],
48651
- default: "full",
48652
- description: "Starting template mode for the layout"
48653
- },
48654
- sections: {
48655
- type: "array",
48656
- description: "Ordered section configurations. Section IDs must be unique (enforced at runtime by the Zod schema, not JSON Schema).",
48657
- items: {
48658
- type: "object",
48659
- required: ["id", "order"],
48660
- properties: {
48661
- id: {
48662
- type: "string",
48663
- enum: [
48664
- "model",
48665
- "context",
48666
- "quota",
48667
- "directory",
48668
- "git",
48669
- "cost",
48670
- "changes",
48671
- "agents",
48672
- "todos"
48673
- ],
48674
- description: "Section identifier"
48675
- },
48676
- enabled: {
48677
- type: "boolean",
48678
- default: true,
48679
- description: "Whether this section is visible"
48680
- },
48681
- order: {
48682
- type: "integer",
48683
- minimum: 0,
48684
- description: "Display position (0-indexed)",
48685
- maximum: 99
48686
- },
48687
- icon: {
48688
- type: "string",
48689
- description: "Custom emoji/icon override",
48690
- maxLength: 20
48691
- },
48692
- label: {
48693
- type: "string",
48694
- description: "Custom label override",
48695
- maxLength: 50
48696
- },
48697
- color: {
48698
- type: "string",
48699
- description: "ANSI named color (e.g. red, cyan, green). Hex codes not supported.",
48700
- maxLength: 30,
48701
- pattern: "^[a-zA-Z]+$"
48702
- },
48703
- maxWidth: {
48704
- type: "integer",
48705
- minimum: 10,
48706
- description: "Maximum character width for this section",
48707
- maximum: 500
48708
- }
48709
- },
48710
- additionalProperties: false
48711
- },
48712
- maxItems: 9
48713
- },
48714
- theme: {
48715
- type: "object",
48716
- description: "Color theme overrides",
48717
- properties: {
48718
- name: {
48719
- type: "string",
48720
- description: "Theme name (informational)",
48721
- maxLength: 50
48722
- },
48723
- contextLow: {
48724
- type: "string",
48725
- default: "green",
48726
- description: "Context bar color when usage <50%",
48727
- maxLength: 30,
48728
- pattern: "^[a-zA-Z]+$"
48729
- },
48730
- contextMid: {
48731
- type: "string",
48732
- default: "yellow",
48733
- description: "Context bar color when usage 50-75%",
48734
- maxLength: 30,
48735
- pattern: "^[a-zA-Z]+$"
48736
- },
48737
- contextHigh: {
48738
- type: "string",
48739
- default: "red",
48740
- description: "Context bar color when usage >75%",
48741
- maxLength: 30,
48742
- pattern: "^[a-zA-Z]+$"
48743
- },
48744
- accent: {
48745
- type: "string",
48746
- default: "cyan",
48747
- description: "Accent color for highlights",
48748
- maxLength: 30,
48749
- pattern: "^[a-zA-Z]+$"
48750
- },
48751
- muted: {
48752
- type: "string",
48753
- default: "dim",
48754
- description: "Muted text color",
48755
- maxLength: 30,
48756
- pattern: "^[a-zA-Z]+$"
48757
- },
48758
- separator: {
48759
- type: "string",
48760
- default: "dim",
48761
- description: "Separator color",
48762
- maxLength: 30,
48763
- pattern: "^[a-zA-Z]+$"
48764
- }
48765
- },
48766
- additionalProperties: false
48767
- },
48768
- responsiveBreakpoint: {
48769
- type: "number",
48770
- minimum: 0.5,
48771
- maximum: 1,
48772
- default: 0.85,
48773
- description: "Terminal width fraction at which compact mode activates"
48774
- },
48775
- maxAgentRows: {
48776
- type: "integer",
48777
- minimum: 1,
48778
- maximum: 10,
48779
- default: 4,
48780
- description: "Maximum rows to show in agents section"
48781
- },
48782
- todoTruncation: {
48783
- type: "integer",
48784
- minimum: 20,
48785
- maximum: 100,
48786
- default: 50,
48787
- description: "Max characters before truncating todo text"
48788
- }
48789
- },
48790
- additionalProperties: false
48791
- },
48792
48557
  hooks: {
48793
48558
  type: "object",
48794
48559
  description: "Toggle individual hooks on/off. Default: all enabled.",
@@ -48857,16 +48622,8 @@ var init_ck_config_schema = __esm(() => {
48857
48622
  },
48858
48623
  migrateProviders: {
48859
48624
  oneOf: [
48860
- {
48861
- type: "string",
48862
- const: "auto"
48863
- },
48864
- {
48865
- type: "array",
48866
- items: {
48867
- type: "string"
48868
- }
48869
- }
48625
+ { type: "string", const: "auto" },
48626
+ { type: "array", items: { type: "string" } }
48870
48627
  ],
48871
48628
  default: "auto",
48872
48629
  description: "Which providers to auto-migrate. 'auto' scans filesystem."
@@ -48883,10 +48640,7 @@ var init_ck_config_schema = __esm(() => {
48883
48640
  heavy: {
48884
48641
  type: "object",
48885
48642
  properties: {
48886
- model: {
48887
- type: "string",
48888
- description: "Target model name"
48889
- },
48643
+ model: { type: "string", description: "Target model name" },
48890
48644
  effort: {
48891
48645
  type: "string",
48892
48646
  description: "Effort/reasoning level (provider-specific)"
@@ -48897,10 +48651,7 @@ var init_ck_config_schema = __esm(() => {
48897
48651
  balanced: {
48898
48652
  type: "object",
48899
48653
  properties: {
48900
- model: {
48901
- type: "string",
48902
- description: "Target model name"
48903
- },
48654
+ model: { type: "string", description: "Target model name" },
48904
48655
  effort: {
48905
48656
  type: "string",
48906
48657
  description: "Effort/reasoning level (provider-specific)"
@@ -48911,10 +48662,7 @@ var init_ck_config_schema = __esm(() => {
48911
48662
  light: {
48912
48663
  type: "object",
48913
48664
  properties: {
48914
- model: {
48915
- type: "string",
48916
- description: "Target model name"
48917
- },
48665
+ model: { type: "string", description: "Target model name" },
48918
48666
  effort: {
48919
48667
  type: "string",
48920
48668
  description: "Effort/reasoning level (provider-specific)"
@@ -57581,7 +57329,7 @@ var package_default;
57581
57329
  var init_package = __esm(() => {
57582
57330
  package_default = {
57583
57331
  name: "claudekit-cli",
57584
- version: "3.40.3-dev.1",
57332
+ version: "3.40.3",
57585
57333
  description: "CLI tool for bootstrapping and updating ClaudeKit projects",
57586
57334
  type: "module",
57587
57335
  repository: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claudekit-cli",
3
- "version": "3.40.3-dev.1",
3
+ "version": "3.40.3",
4
4
  "description": "CLI tool for bootstrapping and updating ClaudeKit projects",
5
5
  "type": "module",
6
6
  "repository": {