@minded-ai/mindedjs 2.0.29-beta.5 → 2.0.29-beta.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -140,7 +140,7 @@ class ScreenshotCapture:
140
140
  return
141
141
 
142
142
  # Upload to S3 with KMS encryption
143
- # Only add tagging if MINDED_CLOUD is set (to avoid permission issues on-prem)
143
+ # Only add tagging if ENABLE_SCREENSHOTS_TAGGING is set (to avoid permission issues on-prem)
144
144
  put_params = {
145
145
  'Bucket': self.s3_bucket,
146
146
  'Key': s3_key,
@@ -149,7 +149,7 @@ class ScreenshotCapture:
149
149
  'ServerSideEncryption': 'aws:kms'
150
150
  }
151
151
 
152
- if os.getenv('MINDED_CLOUD'):
152
+ if os.getenv('ENABLE_SCREENSHOTS_TAGGING') == 'true':
153
153
  put_params['Tagging'] = 'retention=30d'
154
154
 
155
155
  self.s3_client.put_object(**put_params)
@@ -238,7 +238,7 @@ class LogsCapture:
238
238
  logs_bytes = logs_json.encode('utf-8')
239
239
 
240
240
  # Upload to S3 with KMS encryption
241
- # Only add tagging if MINDED_CLOUD is set (to avoid permission issues on-prem)
241
+ # Only add tagging if ENABLE_SCREENSHOTS_TAGGING is set (to avoid permission issues on-prem)
242
242
  put_params = {
243
243
  'Bucket': self.s3_bucket,
244
244
  'Key': s3_key,
@@ -247,7 +247,7 @@ class LogsCapture:
247
247
  'ServerSideEncryption': 'aws:kms'
248
248
  }
249
249
 
250
- if os.getenv('MINDED_CLOUD'):
250
+ if os.getenv('ENABLE_SCREENSHOTS_TAGGING') == 'true':
251
251
  put_params['Tagging'] = 'retention=30d'
252
252
 
253
253
  self.s3_client.put_object(**put_params)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minded-ai/mindedjs",
3
- "version": "2.0.29-beta.5",
3
+ "version": "2.0.29-beta.6",
4
4
  "description": "MindedJS is a TypeScript library for building agents.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -140,7 +140,7 @@ class ScreenshotCapture:
140
140
  return
141
141
 
142
142
  # Upload to S3 with KMS encryption
143
- # Only add tagging if MINDED_CLOUD is set (to avoid permission issues on-prem)
143
+ # Only add tagging if ENABLE_SCREENSHOTS_TAGGING is set (to avoid permission issues on-prem)
144
144
  put_params = {
145
145
  'Bucket': self.s3_bucket,
146
146
  'Key': s3_key,
@@ -149,7 +149,7 @@ class ScreenshotCapture:
149
149
  'ServerSideEncryption': 'aws:kms'
150
150
  }
151
151
 
152
- if os.getenv('MINDED_CLOUD'):
152
+ if os.getenv('ENABLE_SCREENSHOTS_TAGGING') == 'true':
153
153
  put_params['Tagging'] = 'retention=30d'
154
154
 
155
155
  self.s3_client.put_object(**put_params)
@@ -238,7 +238,7 @@ class LogsCapture:
238
238
  logs_bytes = logs_json.encode('utf-8')
239
239
 
240
240
  # Upload to S3 with KMS encryption
241
- # Only add tagging if MINDED_CLOUD is set (to avoid permission issues on-prem)
241
+ # Only add tagging if ENABLE_SCREENSHOTS_TAGGING is set (to avoid permission issues on-prem)
242
242
  put_params = {
243
243
  'Bucket': self.s3_bucket,
244
244
  'Key': s3_key,
@@ -247,7 +247,7 @@ class LogsCapture:
247
247
  'ServerSideEncryption': 'aws:kms'
248
248
  }
249
249
 
250
- if os.getenv('MINDED_CLOUD'):
250
+ if os.getenv('ENABLE_SCREENSHOTS_TAGGING') == 'true':
251
251
  put_params['Tagging'] = 'retention=30d'
252
252
 
253
253
  self.s3_client.put_object(**put_params)