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
4 changes: 3 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,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 the state's `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 thread
started in a folder `deny` names is left out, one sent before the folder was added included
(0.5.3; 0.5.0 to 0.5.2 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/.codex-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "past",
"version": "0.5.2",
"version": "0.5.3",
"description": "One memory for every teammate and every agent on a project. Your Codex 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/codex-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 @@ -45,7 +45,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.2';
const VERSION = '0.5.3';

// ---------------------------------------------------------------------------------------- Codex

Expand Down Expand Up @@ -1576,6 +1576,8 @@ async function modeCounts(config) {
for (const found of listTranscripts(true, '')) {
const before = sessions[found.sessionId];
if (!before) continue;
// An ignored folder is ignored here too, for a thread sent before the folder was named in deny.
if (denied(config, found.dir)) continue;
const parsed = readTranscript(found.path);
if (!parsed) continue;
// Cut as it was sent: a session sent whole is one data point, the others keep their pinned cut.
Expand Down
Loading