coder-config 0.42.31 → 0.42.33

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/README.md CHANGED
@@ -389,10 +389,9 @@ Save context from a Claude Code session and restore it on the next session start
389
389
  ### How It Works
390
390
 
391
391
  1. **Save context** - Use `/flush` in Claude Code to write a context summary
392
- 2. **Auto-preserve** - The `session-end` hook preserves your flushed context when the session ends
393
- 3. **Auto-restore** - The `session-start` hook injects saved context into your next session
392
+ 2. **Auto-restore** - The `session-start` hook injects saved context into your next session
394
393
 
395
- Context is automatically restored within 24 hours of being saved.
394
+ Context is stored per-project in `.claude/session-context.md`.
396
395
 
397
396
  ### Setup
398
397
 
@@ -403,7 +402,7 @@ Context is automatically restored within 24 hours of being saved.
403
402
  coder-config session install
404
403
  ```
405
404
 
406
- This installs the Claude Code hooks and the `/flush` command.
405
+ This installs the SessionStart hook and the `/flush` command.
407
406
 
408
407
  ### CLI Commands
409
408
 
@@ -415,10 +414,7 @@ coder-config session clear # Clear saved context
415
414
 
416
415
  ### Storage Location
417
416
 
418
- Session data is stored in `~/.coder-config/sessions/`:
419
- - `flushed-context.md` - Context saved by /flush command
420
- - `last-flushed-context.md` - Preserved context from last session end
421
- - `last-session.json` - Metadata about the last session
417
+ Session context is stored in each project at `.claude/session-context.md`.
422
418
 
423
419
  ## Workstreams
424
420
 
package/lib/constants.js CHANGED
@@ -2,7 +2,7 @@
2
2
  * Constants and tool path configurations
3
3
  */
4
4
 
5
- const VERSION = '0.42.31';
5
+ const VERSION = '0.42.33';
6
6
 
7
7
  // Tool-specific path configurations
8
8
  const TOOL_PATHS = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coder-config",
3
- "version": "0.42.31",
3
+ "version": "0.42.33",
4
4
  "description": "Configuration manager for AI coding tools - Claude Code, Gemini CLI, Codex CLI, Antigravity. Manage MCPs, rules, permissions, memory, and workstreams.",
5
5
  "author": "regression.io",
6
6
  "main": "config-loader.js",
@@ -1935,7 +1935,9 @@ When a Claude Code session ends (context limit, exit, crash), you lose all the c
1935
1935
 
1936
1936
  Session persistence lets you:
1937
1937
  1. Save context before exiting with \`/flush\`
1938
- 2. Automatically restore that context when you start a new session
1938
+ 2. Automatically restore that context when you start a new session in the same project
1939
+
1940
+ Context is stored locally in each project's \`.claude/session-context.md\` - each project has its own context.
1939
1941
 
1940
1942
  ### Quick Setup
1941
1943
 
@@ -1947,8 +1949,7 @@ coder-config session install
1947
1949
  \`\`\`
1948
1950
 
1949
1951
  This installs:
1950
- - **SessionStart hook** - Restores saved context
1951
- - **SessionEnd hook** - Preserves flushed context
1952
+ - **SessionStart hook** - Restores saved context from project
1952
1953
  - **/flush command** - Tells Claude to save context
1953
1954
  `},"sessions-usage":{title:"Using Session Persistence",content:`
1954
1955
  ## Using Session Persistence
@@ -1961,7 +1962,7 @@ Before exiting Claude Code, run:
1961
1962
  /flush
1962
1963
  \`\`\`
1963
1964
 
1964
- Claude will write a summary including:
1965
+ Claude will write a summary to \`.claude/session-context.md\` including:
1965
1966
  - Task summary and current state
1966
1967
  - Key decisions made
1967
1968
  - Files modified
@@ -1970,7 +1971,7 @@ Claude will write a summary including:
1970
1971
 
1971
1972
  ### Restoring Context
1972
1973
 
1973
- Just start a new Claude Code session. If you have saved context from the last 24 hours, it's automatically injected.
1974
+ Just start a new Claude Code session in the same project. If you have saved context, it's automatically injected.
1974
1975
 
1975
1976
  ### Checking Status
1976
1977
 
@@ -1978,10 +1979,7 @@ Just start a new Claude Code session. If you have saved context from the last 24
1978
1979
  coder-config session
1979
1980
  \`\`\`
1980
1981
 
1981
- Shows:
1982
- - Whether saved context exists
1983
- - How old the context is
1984
- - Last session metadata
1982
+ Shows whether saved context exists for the current project.
1985
1983
 
1986
1984
  ### Clearing Context
1987
1985
 
@@ -1989,25 +1987,25 @@ Shows:
1989
1987
  coder-config session clear
1990
1988
  \`\`\`
1991
1989
 
1992
- Removes all saved session data.
1990
+ Removes saved context for the current project.
1993
1991
  `},"sessions-storage":{title:"Session Storage",content:`
1994
1992
  ## Session Storage
1995
1993
 
1996
- Session data is stored in \`~/.coder-config/sessions/\`:
1994
+ Session context is stored in each project:
1995
+
1996
+ \`\`\`
1997
+ <project>/.claude/session-context.md
1998
+ \`\`\`
1997
1999
 
1998
- | File | Purpose |
1999
- |------|---------|
2000
- | \`flushed-context.md\` | Context saved by /flush |
2001
- | \`last-flushed-context.md\` | Preserved from last session end |
2002
- | \`last-session.json\` | Metadata about last session |
2000
+ Each project has its own session context. /flush saves to the current project, and the next session in that project restores it.
2003
2001
 
2004
2002
  ### Context Expiration
2005
2003
 
2006
- Saved context is automatically restored if it's less than 24 hours old. Older context is ignored (but not deleted).
2004
+ Saved context is automatically restored if it's less than 7 days old.
2007
2005
 
2008
2006
  ### Manual Context
2009
2007
 
2010
- You can also manually edit \`flushed-context.md\` to inject custom context into your next session.
2008
+ You can manually edit \`.claude/session-context.md\` to inject custom context into your next session.
2011
2009
  `}},Iz={permissions:{title:"Permissions",content:`
2012
2010
  ## Permissions
2013
2011
 
@@ -19,7 +19,7 @@
19
19
 
20
20
  <!-- PWA Manifest -->
21
21
  <link rel="manifest" href="/manifest.json">
22
- <script type="module" crossorigin src="/assets/index-BmOt8KXX.js"></script>
22
+ <script type="module" crossorigin src="/assets/index-DCsS8NHo.js"></script>
23
23
  <link rel="stylesheet" crossorigin href="/assets/index-B0EJaqXM.css">
24
24
  </head>
25
25
  <body>