@cogit/cli 0.25.0 → 0.25.1

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cogit",
3
3
  "displayName": "cogit",
4
- "version": "0.25.0",
4
+ "version": "0.25.1",
5
5
  "description": "Git remembers what changed. cogit remembers why.",
6
6
  "author": {
7
7
  "name": "Eren Sertkaya"
@@ -21210,7 +21210,7 @@ async function migrateProject(root) {
21210
21210
  const next = renameGitignoreLines(text);
21211
21211
  if (next !== text) await atomicWrite(gitignore, next).catch(() => void 0);
21212
21212
  }
21213
- const { installGitHooks: installGitHooks2 } = await import("./git-hooks-DDPCNHQ6.js");
21213
+ const { installGitHooks: installGitHooks2 } = await import("./git-hooks-DQ2SKMD3.js");
21214
21214
  await installGitHooks2(dir).catch(() => void 0);
21215
21215
  return true;
21216
21216
  }
@@ -21428,9 +21428,11 @@ var AgentDecision = external_exports.object({
21428
21428
  alternatives: external_exports.array(Alternative).max(10).optional()
21429
21429
  });
21430
21430
  var MESSAGE_ID = /^m[1-9][0-9]*$/;
21431
- var ShapeKind = external_exports.enum(["pseudo", "mermaid"]);
21431
+ var ShapeKind = external_exports.enum(["pseudo", "mermaid", "table"]);
21432
21432
  var ShapeTool = external_exports.object({
21433
- kind: ShapeKind,
21433
+ // Any kind is stored: a tool a newer CLI added must not make this record
21434
+ // unreadable here. A kind this CLI does not know is shown as text.
21435
+ kind: external_exports.string().min(1).max(40),
21434
21436
  text: external_exports.string().min(1).max(4e3),
21435
21437
  valid: external_exports.boolean().optional()
21436
21438
  });
@@ -21444,7 +21446,8 @@ var Shape = external_exports.object({
21444
21446
  at: IsoDate.optional()
21445
21447
  });
21446
21448
  var ShapeInput = Shape.omit({ by: true, at: true }).extend({
21447
- tools: external_exports.array(ShapeTool.omit({ valid: true })).max(3)
21449
+ // A writer names a tool this CLI knows; the record keeps any kind it is given.
21450
+ tools: external_exports.array(ShapeTool.omit({ valid: true }).extend({ kind: ShapeKind })).max(3)
21448
21451
  });
21449
21452
  var BranchSummary = external_exports.object({
21450
21453
  title: external_exports.string().min(1).max(80),
@@ -25709,7 +25712,7 @@ async function onSessionEnd(ctx) {
25709
25712
  // package.json
25710
25713
  var package_default = {
25711
25714
  name: "@cogit/cli",
25712
- version: "0.25.0",
25715
+ version: "0.25.1",
25713
25716
  description: "Git remembers what changed. cogit remembers why.",
25714
25717
  license: "MIT",
25715
25718
  keywords: [