Commit f6736cd
authored
Weekend updates to all packages (#58)
* Update security workflow to define SARIF output environment variable
- Set the SEMGREP_SARIF_OUTPUT environment variable to specify the output file for SARIF reports.
- Removed the previous publishDeployment and generateSarif configurations for clarity.
* Update pydantic dependency to version 2.4.0 to mitigate ReDoS vulnerability (CVE-2024-3772) in pyproject.toml and requirements.txt
* Remove Python virtual environment files and scripts for .venv-12
- Deleted configuration and activation scripts for the Python virtual environment located in .venv-12, including pyvenv.cfg, activate scripts for bash, csh, fish, and PowerShell, as well as various executable scripts for tools like black, coverage, and pip.
- This cleanup is part of a broader effort to streamline the project structure and remove unnecessary files.
* Enhance GitHub Actions workflows and .gitignore
- Added Python virtual environment and artifact exclusions to .gitignore for better project cleanliness.
- Updated permissions in GitHub Actions workflows to default to read-only, with explicit write permissions at the job level, improving security and clarity.
- Refactored file operations in `convex-setup.ts`, `env-generator.ts`, and `file-operations.ts` to implement atomic file handling and improved error management for existing files, enhancing robustness.
* Enhance security in GitHub Actions and improve command execution validation
- Updated GitHub Actions workflow permissions to default to read-only, with explicit write permissions at the job level for better security.
- Added command validation in `execCommand` and `execCommandLive` functions to ensure only allowed commands are executed, enhancing security against potential command injection vulnerabilities.
* Refactor GitHub Actions workflow and enhance command validation
- Simplified PR number extraction logic in the auto-merge workflow to improve clarity and reliability.
- Expanded the command allowlist in `execCommand` and `execCommandLive` functions to include 'docker', enhancing the flexibility of command execution while maintaining security.
* Refactor and clean up code formatting across multiple files
- Removed unnecessary blank lines and improved code readability in various files, including `.socket.dev.yml`, `README.md`, and several TypeScript files.
- Enhanced consistency in function definitions and object structures for better maintainability.
- Updated changelog and documentation to reflect recent changes and improvements.
- prettier run
* Refactor auto-merge workflow to improve event handling and PR validation
- Updated the condition for running the auto-merge job to handle different event contexts more effectively, ensuring it only processes PRs targeting the main branch.
- Enhanced PR number extraction logic from check suite events with null safety and added base reference validation to skip non-main targets.
- Improved output handling by including the base reference in the workflow output for better context.
* Update package.json to include additional keywords for improved package discoverability
- Added new keywords: "vercel-ai-sdk", "persistent-memory", "self-hosted", "convex", "multi-tenant", "semantic-search", "embeddings", "rag", and "typescript" to enhance the package's visibility and categorization.
* Update version in package.json from 0.1.1 to 0.1.2 for @cortexmemory/vercel-ai-provider
* Enhance GitHub Actions workflows to exclude Dependabot PRs from triggering jobs
- Updated conditions in auto-merge, PR checks, and security workflows to skip actions for PRs created by Dependabot, ensuring that dependency updates do not trigger unnecessary CI processes.
- Added comments for clarity on the exclusion of Dependabot in relevant job conditions.
* Release v0.11.0: Major enhancements to the RememberStream API with progressive processing, real-time monitoring, and validated graph sync across all APIs. Introduced new features including adaptive streaming, error recovery, and comprehensive metrics. Added new configuration files for Jest and Docker, and implemented multiple new methods for agent and context management. Updated documentation and tests to reflect these changes.
* Refactor Docker Compose and Python SDK for enhanced graph synchronization and streaming capabilities
- Removed outdated Docker Compose configuration for graph services.
- Updated Python SDK to version 0.11.0, introducing major enhancements to the RememberStream API, including adaptive streaming, error recovery, and comprehensive metrics.
- Added new streaming components for improved memory storage and real-time processing.
- Implemented extensive tests for streaming functionality, ensuring actual data validation across all layers.
- Cleaned up and organized test structure for better maintainability and clarity.
* bump python sdk
* Release v0.2.0: Introduced enhanced streaming capabilities in the Cortex Memory Provider, leveraging the new `rememberStream()` API. Added features for progressive storage, streaming hooks, comprehensive metrics, and error recovery. Updated documentation and tests to reflect these enhancements. Bumped dependency on `@cortexmemory/sdk` to version 0.11.0.
* Release v0.2.0: Introduced smart version detection for the CLI, automatically fetching the latest SDK and compatible Convex version. Enhanced user experience with new spinners and messaging. Updated template to use the latest SDK version and improved package.json handling for dynamic Convex versioning. Updated documentation to reflect these changes.
* Update documentation and code references to use gpt-5-nano model across various files, replacing instances of gpt-4 and gpt-4o-mini. This includes changes in the CHANGELOG, README, and multiple documentation files, ensuring consistency in model usage and reflecting the latest advancements in AI integration tests and features.
* Remove deprecated cortexmemory-vercel-ai-provider-0.2.0.tgz file from the package directory, streamlining the project structure.
* Update .gitignore to include Python tool caches and enhance CHANGELOG with new performance insights and error recovery information. Refactor docker-compose file for improved readability and update various documentation files for consistency. Clean up code formatting across multiple files for better maintainability.
* Refactor Cortex SDK components for improved type safety and code clarity. Updated graph synchronization logic to use the correct graph adapter instance. Enhanced MemoryAPI initialization by streamlining parameter handling and ensuring consistent type annotations. Removed unused imports and cleaned up code formatting across multiple files for better maintainability.
* Refactor MemoryAPI and streaming components for improved clarity and future integration. Removed unused types and imports, updated variable names for consistency, and added comments for future implementation notes. Enhanced error handling in streaming functions and ensured consistent type annotations across various files.
* Enhance Jest configuration with custom test timing reporter and update agent tests for improved readability and timeout handling. Adjust temperature settings in interactive tests for compatibility with gpt-5-nano, and relax constraints on summarized content length for better performance. Refactor streaming integration tests for clarity in event handling.
* Add backward compatibility helpers for context versioning
Introduce functions to handle legacy context versioning and previous versions. Update mutation and query methods to utilize these helpers, ensuring smooth version tracking and compatibility with existing data structures.
* Update security workflow message and add total_data_deleted field in AgentsAPI responses for improved clarity and data tracking.
* Remove 'active' status from test agent in comprehensive data validation to streamline test setup and improve clarity.
* Refactor CypherGraphAdapter to use explicit transactions for atomic operations and improve error handling. Update memory test to adjust content length constraint for better validation accuracy.
---------
Signed-off-by: Nicholas Geil <[email protected]>1 parent 62909a1 commit f6736cd
File tree
139 files changed
+19737
-997
lines changed- .github/workflows
- Documentation
- 01-getting-started
- 02-core-features
- 03-api-reference
- 04-architecture
- 08-integrations
- vercel-ai-sdk
- convex-dev
- cortex-sdk-python
- cortex
- agents
- graph/adapters
- memory
- streaming
- vector
- tests
- graph
- helpers
- streaming
- packages
- create-cortex-memories
- src
- templates/basic
- vercel-ai-provider
- examples
- next-chat
- app/api/chat
- next-multimodal
- next-rag/app/api/chat
- src
- tests
- src
- agents
- contexts
- graph/adapters
- memorySpaces
- memory
- streaming
- types
- users
- vector
- tests
- graph
- streaming
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
139 files changed
+19737
-997
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
384 | | - | |
| 384 | + | |
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
357 | 357 | | |
358 | 358 | | |
359 | 359 | | |
360 | | - | |
| 360 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
27 | 37 | | |
28 | 38 | | |
29 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
22 | 293 | | |
23 | 294 | | |
24 | 295 | | |
| |||
449 | 720 | | |
450 | 721 | | |
451 | 722 | | |
452 | | - | |
| 723 | + | |
453 | 724 | | |
454 | 725 | | |
455 | 726 | | |
| |||
1825 | 2096 | | |
1826 | 2097 | | |
1827 | 2098 | | |
1828 | | - | |
| 2099 | + | |
1829 | 2100 | | |
1830 | 2101 | | |
1831 | 2102 | | |
| |||
1857 | 2128 | | |
1858 | 2129 | | |
1859 | 2130 | | |
1860 | | - | |
| 2131 | + | |
1861 | 2132 | | |
1862 | 2133 | | |
1863 | 2134 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
233 | | - | |
| 233 | + | |
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
330 | | - | |
| 330 | + | |
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
742 | 742 | | |
743 | 743 | | |
744 | 744 | | |
745 | | - | |
| 745 | + | |
746 | 746 | | |
747 | 747 | | |
748 | 748 | | |
| |||
768 | 768 | | |
769 | 769 | | |
770 | 770 | | |
771 | | - | |
| 771 | + | |
772 | 772 | | |
773 | 773 | | |
774 | 774 | | |
| |||
901 | 901 | | |
902 | 902 | | |
903 | 903 | | |
904 | | - | |
| 904 | + | |
905 | 905 | | |
906 | 906 | | |
907 | 907 | | |
| |||
0 commit comments