LearnNewsExamplesServices
Frontmatter
id7357
titleCreate and Integrate `ai:get-last-session` Script
stateClosed
labels
documentationenhancementai
assigneestobiu
createdAtOct 4, 2025, 3:27 PM
updatedAtOct 4, 2025, 3:28 PM
githubUrlhttps://github.com/neomjs/neo/issues/7357
authortobiu
commentsCount0
parentIssue7316
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtOct 4, 2025, 3:28 PM

Create and Integrate ai:get-last-session Script

Closed v11.0.0 documentationenhancementai
tobiu
tobiu commented on Oct 4, 2025, 3:27 PM

To make the agent's session initialization process more robust, a new script was needed to reliably find the ID of the most recent session from the memory database. This ticket covers the creation of that script and its integration into the agent's workflow.

Acceptance Criteria

  1. The buildScripts/ai/getLastSession.mjs script is created to find the most recent session ID and its summarization status.
  2. The package.json file is updated with a new ai:get-last-session npm script.
  3. The AGENTS.md file is updated to instruct the agent to use the new npm run ai:get-last-session script during its initialization.
tobiu assigned to @tobiu on Oct 4, 2025, 3:27 PM
tobiu added the documentation label on Oct 4, 2025, 3:27 PM
tobiu added the enhancement label on Oct 4, 2025, 3:27 PM
tobiu added the ai label on Oct 4, 2025, 3:27 PM
tobiu added parent issue #7316 on Oct 4, 2025, 3:27 PM
tobiu referenced in commit 95d52c5 - "Create and Integrate ai:get-last-session Script #7357" on Oct 4, 2025, 3:28 PM
tobiu closed this issue on Oct 4, 2025, 3:28 PM