Skip to content

Implemented long term memory #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Implemented long term memory #5

wants to merge 2 commits into from

Conversation

Kitenite
Copy link

Description

Added script inside packages/memory directory for long term rules

Related Issues

related onlook-dev#1816

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Release
  • Refactor
  • Other (please describe):

Testing

Tested using jest

Screenshots (if applicable)

Screenshot from 2025-05-04 16-17-52


Important

Introduces LongTermMemory class for rule management with Jest tests and package configuration.

  • New Feature:
    • Implements LongTermMemory class in index.ts for managing rules with methods to add, update, delete, and retrieve rules.
    • Supports rule retrieval by tag and initializes with a specified directory.
  • Testing:
    • Adds index.test.ts with Jest tests for LongTermMemory methods: initialization, add, update, delete, and get rules by tag.
    • Configures Jest in jest.config.js for TypeScript testing.
  • Configuration:
    • Adds package.json for the @onlook/memory package with build and test scripts, dependencies, and devDependencies.

This description was created by Ellipsis for d2640e2. You can customize this summary. It will automatically update as commits are pushed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants