@cogit/cli 0.26.0 → 0.28.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.26.0",
4
+ "version": "0.28.1",
5
5
  "description": "Git remembers what changed. cogit remembers why.",
6
6
  "author": {
7
7
  "name": "Eren Sertkaya"
package/README.md CHANGED
@@ -25,6 +25,8 @@ Claude Code today.
25
25
  - **Intent, Shape, Code**: a message that landed commits shows why it happened, a small
26
26
  picture of what the change does (a diagram, a before/after or interface table, an example
27
27
  or plain steps), and the diff, in one place.
28
+ - **Captured work**: when a session ends, a small model drafts a few user-level items from
29
+ what it left undone; you accept, dismiss or close them (`cogit captures`, and on the map).
28
30
  - **Pull request descriptions with the decisions**: `cogit pr` writes the goal, the
29
31
  decisions and the rejected options, never the raw chat.
30
32
  - **Teams share the record through git**: after a pull, your teammates' sessions are on the
@@ -21113,6 +21113,8 @@ function projectPaths(root) {
21113
21113
  inboxState: join6(base, "state", "inbox.json"),
21114
21114
  /** How the user left the map: open sessions and dragged row widths; also local. */
21115
21115
  mapView: join6(base, "state", "map.json"),
21116
+ /** The curated captured-work list (Story 15.1); local, never committed. */
21117
+ captures: join6(base, "state", "captures.json"),
21116
21118
  /** What the detached hook children (build, side run) printed; local, capped. */
21117
21119
  detachedLog: join6(base, "state", "detached.log"),
21118
21120
  /** Commits waiting for their message's record before a Shape; local. */
@@ -21204,7 +21206,7 @@ async function migrateProject(root) {
21204
21206
  const next = renameGitignoreLines(text);
21205
21207
  if (next !== text) await atomicWrite(gitignore, next).catch(() => void 0);
21206
21208
  }
21207
- const { installGitHooks: installGitHooks2 } = await import("./git-hooks-WUFX2JYS.js");
21209
+ const { installGitHooks: installGitHooks2 } = await import("./git-hooks-5KGTRKFV.js");
21208
21210
  await installGitHooks2(dir).catch(() => void 0);
21209
21211
  return true;
21210
21212
  }
@@ -21328,6 +21330,12 @@ var Config = external_exports.object({
21328
21330
  * records. Off writes nothing; the map then says so.
21329
21331
  */
21330
21332
  shapes: external_exports.boolean().default(true),
21333
+ /**
21334
+ * Whether the side model distils each session's leftover work into a short
21335
+ * curated list (Story 15.1). Off writes nothing; items already in the store
21336
+ * are kept and come back when it is turned on again.
21337
+ */
21338
+ captures: external_exports.boolean().default(true),
21331
21339
  /**
21332
21340
  * Whether SessionStart hands the agent the lineage of the previous session and
21333
21341
  * how to read the record (`log` / `show`). On by default; costs only tokens.
@@ -24232,6 +24240,7 @@ var PANEL_EDITABLE_KEYS = [
24232
24240
  "recordHeadless",
24233
24241
  "tryBeforeNotes",
24234
24242
  "shapes",
24243
+ "captures",
24235
24244
  "language",
24236
24245
  "shareConversations",
24237
24246
  "recordCommit"
@@ -25550,7 +25559,7 @@ async function onSessionEnd(ctx) {
25550
25559
  // package.json
25551
25560
  var package_default = {
25552
25561
  name: "@cogit/cli",
25553
- version: "0.26.0",
25562
+ version: "0.28.1",
25554
25563
  description: "Git remembers what changed. cogit remembers why.",
25555
25564
  license: "MIT",
25556
25565
  keywords: [
@@ -26198,6 +26207,7 @@ export {
26198
26207
  TOKEN_HEADER_NAME,
26199
26208
  isPanelEditableKey,
26200
26209
  VIEW_SCHEMA,
26210
+ buildMessages,
26201
26211
  lastActive,
26202
26212
  statusCard,
26203
26213
  sessionTitle,