Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"name": "pastdotdev",
"source": "./plugins/past",
"description": "One memory for every teammate and every agent on a project. Your Claude Code sessions go in, and each prompt gets what was decided before, with dated sources.",
"version": "0.5.0",
"version": "0.5.1",
"author": {
"name": "past.dev",
"url": "https://past.dev"
Expand Down
4 changes: 3 additions & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,9 @@ Use `updateState` for every change. Keep transcript hashes and pending sessions
under another one, and under another project's key it would be a new paid data point; the
route keeps counts for the data points the project holds and ignores every other id.
`SessionStart` detaches it while `state.counts` holds no `doneAt`. It asks with no items
first, and where the deployment has no such route it tries again a day later.
first, and where the deployment has no such route it tries again a day later. A session whose
folder `deny` names is left out, one sent before the folder was added included (0.5.1; 0.5.0
sent its ids and counts).
- `cut` and `status` say what travels beside the text, since that is where a person reads what
leaves. `WAITER_VERSION` went to 8 with it.

Expand Down
2 changes: 1 addition & 1 deletion plugins/past/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "pastdotdev",
"displayName": "past.dev",
"version": "0.5.0",
"version": "0.5.1",
"description": "One memory for every teammate and every agent on a project. Your Claude Code sessions go in, and each prompt gets what was decided before, with dated sources.",
"author": { "name": "past.dev", "url": "https://past.dev" },
"homepage": "https://github.com/pastdotdev/claude-code-plugin",
Expand Down
4 changes: 3 additions & 1 deletion plugins/past/bin/past-hook.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const MIN_SITTING_KILOBYTES = 10;
const COMPACTION_RESEND_MS = 60 * 60000;
const DEFAULT_API_URL = 'https://api.past.dev';
const MARKER = '=== past · recalled from memory ===';
const VERSION = '0.5.0';
const VERSION = '0.5.1';

// ---------------------------------------------------------------------------------- Claude Code

Expand Down Expand Up @@ -1489,6 +1489,8 @@ async function modeCounts(config) {
if (!before) continue;
const parsed = withSubagents(readTranscript(found.path), found.path);
if (!parsed) continue;
// An ignored folder is ignored here too, for a session sent before the folder was named in deny.
if (denied(config, parsed.cwd)) continue;
// Cut as it was sent: a session sent whole is one data point, the others keep their pinned cut.
const whole = !Array.isArray(before.sittings);
const pinned = Boolean(before.sittingMinutes);
Expand Down
Loading