claudekit-cli 3.41.4-dev.30 → 3.41.4-dev.32
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/index.js
CHANGED
|
@@ -15057,7 +15057,7 @@ function normalizeCkConfigInput(value) {
|
|
|
15057
15057
|
}
|
|
15058
15058
|
return normalized;
|
|
15059
15059
|
}
|
|
15060
|
-
var PlanValidationModeSchema, PlanFocusAreaSchema, PlanResolutionOrderSchema, ProjectTypeSchema, PackageManagerSchema, FrameworkSchema, GEMINI_MODEL_VALUES, LEGACY_GEMINI_MODEL_ALIASES, GeminiModelSchema, StatuslineModeSchema, StatuslineSectionIdSchema, StatuslineSectionConfigSchema, 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;
|
|
15060
|
+
var PlanValidationModeSchema, PlanFocusAreaSchema, PlanResolutionOrderSchema, ProjectTypeSchema, PackageManagerSchema, FrameworkSchema, GEMINI_MODEL_VALUES, LEGACY_GEMINI_MODEL_ALIASES, GeminiModelSchema, StatuslineModeSchema, StatuslineSectionIdSchema, StatuslineSectionConfigSchema, StatuslineThemeSchema, StatuslineLayoutSchema, CodingLevelSchema, PlanResolutionSchema, PlanValidationSchema, CkPlanConfigSchema, CkDocsConfigSchema, CkPathsConfigSchema, CkLocaleConfigSchema, CkTrustConfigSchema, CkProjectConfigSchema, CkGeminiConfigSchema, CkSkillsConfigSchema, UpdatePipelineSchema, ResolvedModelConfigSchema, ModelTierMapSchema, CkModelTaxonomySchema, CkAssertionSchema, CkHooksConfigSchema, CkSimplifyConfigSchema, CkConfigSchema, DEFAULT_CK_CONFIG, CK_HOOK_NAMES;
|
|
15061
15061
|
var init_ck_config = __esm(() => {
|
|
15062
15062
|
init_zod();
|
|
15063
15063
|
PlanValidationModeSchema = exports_external.enum(["prompt", "auto", "strict", "none"]);
|
|
@@ -15224,8 +15224,20 @@ var init_ck_config = __esm(() => {
|
|
|
15224
15224
|
"context-tracking": exports_external.boolean().optional(),
|
|
15225
15225
|
"scout-block": exports_external.boolean().optional(),
|
|
15226
15226
|
"privacy-block": exports_external.boolean().optional(),
|
|
15227
|
-
"
|
|
15227
|
+
"simplify-gate": exports_external.boolean().optional()
|
|
15228
15228
|
});
|
|
15229
|
+
CkSimplifyConfigSchema = exports_external.object({
|
|
15230
|
+
threshold: exports_external.object({
|
|
15231
|
+
locDelta: exports_external.number().int().nonnegative().default(400),
|
|
15232
|
+
fileCount: exports_external.number().int().nonnegative().default(8),
|
|
15233
|
+
singleFileLoc: exports_external.number().int().nonnegative().default(200)
|
|
15234
|
+
}).passthrough().default({}),
|
|
15235
|
+
gate: exports_external.object({
|
|
15236
|
+
enabled: exports_external.boolean().default(false),
|
|
15237
|
+
hardVerbs: exports_external.array(exports_external.string()).default(["ship", "merge", "pr", "deploy", "publish"]),
|
|
15238
|
+
softVerbs: exports_external.array(exports_external.string()).default(["commit", "finalize", "release"])
|
|
15239
|
+
}).passthrough().default({})
|
|
15240
|
+
}).strict();
|
|
15229
15241
|
CkConfigSchema = exports_external.object({
|
|
15230
15242
|
$schema: exports_external.string().optional(),
|
|
15231
15243
|
codingLevel: CodingLevelSchema.optional(),
|
|
@@ -15244,6 +15256,7 @@ var init_ck_config = __esm(() => {
|
|
|
15244
15256
|
skills: CkSkillsConfigSchema.optional(),
|
|
15245
15257
|
assertions: exports_external.array(CkAssertionSchema).optional(),
|
|
15246
15258
|
hooks: CkHooksConfigSchema.optional(),
|
|
15259
|
+
simplify: CkSimplifyConfigSchema.optional(),
|
|
15247
15260
|
updatePipeline: UpdatePipelineSchema.optional(),
|
|
15248
15261
|
modelTaxonomy: CkModelTaxonomySchema.optional()
|
|
15249
15262
|
}).passthrough();
|
|
@@ -15309,7 +15322,15 @@ var init_ck_config = __esm(() => {
|
|
|
15309
15322
|
"context-tracking": true,
|
|
15310
15323
|
"scout-block": true,
|
|
15311
15324
|
"privacy-block": true,
|
|
15312
|
-
"
|
|
15325
|
+
"simplify-gate": true
|
|
15326
|
+
},
|
|
15327
|
+
simplify: {
|
|
15328
|
+
threshold: { locDelta: 400, fileCount: 8, singleFileLoc: 200 },
|
|
15329
|
+
gate: {
|
|
15330
|
+
enabled: false,
|
|
15331
|
+
hardVerbs: ["ship", "merge", "pr", "deploy", "publish"],
|
|
15332
|
+
softVerbs: ["commit", "finalize", "release"]
|
|
15333
|
+
}
|
|
15313
15334
|
},
|
|
15314
15335
|
updatePipeline: {
|
|
15315
15336
|
autoInitAfterUpdate: false,
|
|
@@ -15326,7 +15347,7 @@ var init_ck_config = __esm(() => {
|
|
|
15326
15347
|
"context-tracking",
|
|
15327
15348
|
"scout-block",
|
|
15328
15349
|
"privacy-block",
|
|
15329
|
-
"
|
|
15350
|
+
"simplify-gate"
|
|
15330
15351
|
];
|
|
15331
15352
|
});
|
|
15332
15353
|
|
|
@@ -49294,10 +49315,64 @@ var init_ck_config_schema = __esm(() => {
|
|
|
49294
49315
|
default: true,
|
|
49295
49316
|
description: "PreToolUse hook - blocks sensitive files"
|
|
49296
49317
|
},
|
|
49297
|
-
"
|
|
49318
|
+
"simplify-gate": {
|
|
49298
49319
|
type: "boolean",
|
|
49299
49320
|
default: true,
|
|
49300
|
-
description: "
|
|
49321
|
+
description: "UserPromptSubmit hook - hard-blocks ship/merge/pr/deploy/publish and soft-warns commit/finalize/release when live diff exceeds simplify thresholds. Bypass via CK_SIMPLIFY_DISABLED=1."
|
|
49322
|
+
}
|
|
49323
|
+
},
|
|
49324
|
+
additionalProperties: false
|
|
49325
|
+
},
|
|
49326
|
+
simplify: {
|
|
49327
|
+
type: "object",
|
|
49328
|
+
description: "Signal-driven simplifier orchestration. Live git diff thresholds + verb-based gate.",
|
|
49329
|
+
properties: {
|
|
49330
|
+
threshold: {
|
|
49331
|
+
type: "object",
|
|
49332
|
+
description: "LOC/file thresholds that trip the gate. Nested object stays open for forward-compat fields.",
|
|
49333
|
+
properties: {
|
|
49334
|
+
locDelta: {
|
|
49335
|
+
type: "integer",
|
|
49336
|
+
minimum: 0,
|
|
49337
|
+
default: 400,
|
|
49338
|
+
description: "Total LOC change (across all files) above which the gate fires."
|
|
49339
|
+
},
|
|
49340
|
+
fileCount: {
|
|
49341
|
+
type: "integer",
|
|
49342
|
+
minimum: 0,
|
|
49343
|
+
default: 8,
|
|
49344
|
+
description: "Number of changed files above which the gate fires."
|
|
49345
|
+
},
|
|
49346
|
+
singleFileLoc: {
|
|
49347
|
+
type: "integer",
|
|
49348
|
+
minimum: 0,
|
|
49349
|
+
default: 200,
|
|
49350
|
+
description: "Per-file LOC change above which the gate fires."
|
|
49351
|
+
}
|
|
49352
|
+
}
|
|
49353
|
+
},
|
|
49354
|
+
gate: {
|
|
49355
|
+
type: "object",
|
|
49356
|
+
description: "UserPromptSubmit gate behavior. Nested object stays open for forward-compat fields.",
|
|
49357
|
+
properties: {
|
|
49358
|
+
enabled: {
|
|
49359
|
+
type: "boolean",
|
|
49360
|
+
default: false,
|
|
49361
|
+
description: "Master toggle. Off by default (opt-in). Set true to activate; env CK_SIMPLIFY_DISABLED=1 always bypasses."
|
|
49362
|
+
},
|
|
49363
|
+
hardVerbs: {
|
|
49364
|
+
type: "array",
|
|
49365
|
+
items: { type: "string" },
|
|
49366
|
+
default: ["ship", "merge", "pr", "deploy", "publish"],
|
|
49367
|
+
description: "Verbs that hard-block (continue:false) when thresholds breached."
|
|
49368
|
+
},
|
|
49369
|
+
softVerbs: {
|
|
49370
|
+
type: "array",
|
|
49371
|
+
items: { type: "string" },
|
|
49372
|
+
default: ["commit", "finalize", "release"],
|
|
49373
|
+
description: "Verbs that soft-warn (additionalContext) when thresholds breached."
|
|
49374
|
+
}
|
|
49375
|
+
}
|
|
49301
49376
|
}
|
|
49302
49377
|
},
|
|
49303
49378
|
additionalProperties: false
|
|
@@ -60663,7 +60738,7 @@ var package_default;
|
|
|
60663
60738
|
var init_package = __esm(() => {
|
|
60664
60739
|
package_default = {
|
|
60665
60740
|
name: "claudekit-cli",
|
|
60666
|
-
version: "3.41.4-dev.
|
|
60741
|
+
version: "3.41.4-dev.32",
|
|
60667
60742
|
description: "CLI tool for bootstrapping and updating ClaudeKit projects",
|
|
60668
60743
|
type: "module",
|
|
60669
60744
|
repository: {
|