@jsb188/app 1.1.11 → 1.1.13

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.
Files changed (64) hide show
  1. package/LICENSE +21 -0
  2. package/package.json +17 -6
  3. package/src/constants/agent.ts +44 -57
  4. package/src/constants/app.ts +43 -0
  5. package/src/constants/wsActions.ts +1 -15
  6. package/src/i18n/account.ts +1 -1
  7. package/src/i18n/agent.ts +321 -96
  8. package/src/i18n/agentToolBusiness.ts +340 -0
  9. package/src/i18n/agentToolGrid.ts +121 -0
  10. package/src/i18n/agentToolWorkflow.ts +101 -0
  11. package/src/i18n/agent_note.ts +110 -0
  12. package/src/i18n/app.ts +23 -17
  13. package/src/i18n/auth.ts +25 -30
  14. package/src/i18n/billing.ts +3 -85
  15. package/src/i18n/c.ts +953 -0
  16. package/src/i18n/campaign.ts +164 -211
  17. package/src/i18n/datetime.ts +6 -0
  18. package/src/i18n/editor.ts +56 -0
  19. package/src/i18n/email_outreach_editor.ts +526 -0
  20. package/src/i18n/error.ts +430 -202
  21. package/src/i18n/field_doc_editor.ts +21 -0
  22. package/src/i18n/field_doc_programs.ts +51 -0
  23. package/src/i18n/field_docs.ts +171 -8
  24. package/src/i18n/form.ts +7 -491
  25. package/src/i18n/index.ts +23 -3
  26. package/src/i18n/log.ts +234 -39
  27. package/src/i18n/memory.ts +18 -5
  28. package/src/i18n/message.ts +1 -0
  29. package/src/i18n/note.ts +5 -3
  30. package/src/i18n/org.ts +97 -45
  31. package/src/i18n/schedule.ts +133 -0
  32. package/src/i18n/sheet.ts +105 -161
  33. package/src/i18n/sheet_formula.ts +165 -0
  34. package/src/i18n/workflow.ts +112 -11
  35. package/src/main.ts +2 -2
  36. package/src/platform.ts +89 -49
  37. package/src/types/ai.d.ts +16 -1
  38. package/src/types/app.d.ts +29 -73
  39. package/src/types/auth.d.ts +1 -1
  40. package/src/types/other.d.ts +8 -1
  41. package/src/utils/api.ts +60 -10
  42. package/src/utils/clientIP.ts +213 -0
  43. package/src/utils/color.ts +95 -0
  44. package/src/utils/csv.ts +19 -0
  45. package/src/utils/datetime.ts +207 -31
  46. package/src/utils/deferredSave.ts +89 -0
  47. package/src/utils/email.ts +50 -0
  48. package/src/utils/expression.helpers.ts +470 -0
  49. package/src/utils/expression.ts +1633 -239
  50. package/src/utils/language.ts +9 -0
  51. package/src/utils/logic.ts +9 -162
  52. package/src/utils/number.ts +30 -11
  53. package/src/utils/object.ts +69 -127
  54. package/src/utils/promise.ts +78 -7
  55. package/src/utils/queryReset.ts +110 -61
  56. package/src/utils/string.ts +80 -143
  57. package/src/utils/url_client.ts +115 -15
  58. package/src/constants/billing.ts +0 -146
  59. package/src/i18n/agentDoc.ts +0 -110
  60. package/src/types/form.d.ts +0 -101
  61. package/src/utils/billing.ts +0 -141
  62. package/src/utils/managedSessionBff.test.ts +0 -60
  63. package/src/utils/string.test.ts +0 -293
  64. package/tsconfig.json +0 -12
package/src/i18n/log.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  export default {
2
2
  en: {
3
+ created_by_ai: 'Created by AI',
3
4
  // General
4
5
  log: 'Log',
5
6
  logs: 'Logs',
6
- all_logs: 'All logs',
7
7
  related_logs: 'Related logs',
8
8
  nothing_found: 'No logs found.',
9
9
  log_missing: 'Log missing',
@@ -22,6 +22,7 @@ export default {
22
22
  receipt_for: 'Receipt for',
23
23
  otherParty: 'For',
24
24
  childOrgName: 'For',
25
+ projectName: 'Project name',
25
26
  market: 'Market',
26
27
  marketCredits: 'Market credits',
27
28
  marketCredits_ph: '$25 MC, $5 EBT, etc.',
@@ -29,6 +30,8 @@ export default {
29
30
  seeding: 'Seeding',
30
31
  transplanting: 'Transplanting',
31
32
  field_work: 'Field work',
33
+ temperature: 'Cooking & Cooling',
34
+ inspections: 'Inspections',
32
35
  harvest: 'Harvest',
33
36
  harvested: 'Harvested',
34
37
  post_harvest: 'Post-harvest',
@@ -52,18 +55,99 @@ export default {
52
55
  note_ph: 'Write additional notes about this log.',
53
56
  note_ph_voided: 'Voided logs cannot be edited.',
54
57
  unknown_crop: 'Unknown crop',
55
- delete_confirm_msg:
56
- 'Are you sure you want to delete this %{content}? This action cannot be undone.',
57
58
  yes_delete_log: 'Yes, delete this %{content}',
58
- loaded_more_than_:
59
- 'You loaded more than %{limit} logs. Please refine your search to see more logs.',
60
- change_sorting_option_for_more_data:
61
- 'Change the sorting option for more data.',
59
+ loaded_more_than_: 'You loaded more than %{limit} records. Refine your search to see more.',
60
+ change_sorting_option_for_more_data: 'Change the sorting option for more data.',
62
61
  end_of_list_:
63
62
  'You reached the end of this list with %{smart_count} record.||||' +
64
63
  'You reached the end of this list with %{smart_count} records.',
64
+ logs_end: 'There is %{smart_count} log for this organization.||||' + 'There are %{smart_count} logs for this organization.',
65
+ logs_empty: "There aren't any logs for this organization.",
66
+ receipts_end:
67
+ 'There is %{smart_count} receipt for this organization.||||' + 'There are %{smart_count} receipts for this organization.',
68
+ receipts_empty: "There aren't any receipts for this organization.",
69
+ sales_orders_end:
70
+ 'There is %{smart_count} sales order for this organization.||||' +
71
+ 'There are %{smart_count} sales orders for this organization.',
72
+ sales_orders_empty: "There aren't any sales orders for this organization.",
73
+ purchases_end:
74
+ 'There is %{smart_count} purchase for this organization.||||' + 'There are %{smart_count} purchases for this organization.',
75
+ purchases_empty: "There aren't any purchases for this organization.",
76
+ seeding_logs_end:
77
+ 'There is %{smart_count} seeding log for this organization.||||' +
78
+ 'There are %{smart_count} seeding logs for this organization.',
79
+ seeding_logs_empty: "There aren't any seeding logs for this organization.",
80
+ greenhouse_seeding_logs_end:
81
+ 'There is %{smart_count} greenhouse seeding log for this organization.||||' +
82
+ 'There are %{smart_count} greenhouse seeding logs for this organization.',
83
+ greenhouse_seeding_logs_empty: "There aren't any greenhouse seeding logs for this organization.",
84
+ transplanting_logs_end:
85
+ 'There is %{smart_count} transplanting log for this organization.||||' +
86
+ 'There are %{smart_count} transplanting logs for this organization.',
87
+ transplanting_logs_empty: "There aren't any transplanting logs for this organization.",
88
+ harvest_logs_end:
89
+ 'There is %{smart_count} harvest log for this organization.||||' +
90
+ 'There are %{smart_count} harvest logs for this organization.',
91
+ harvest_logs_empty: "There aren't any harvest logs for this organization.",
92
+ post_harvest_logs_end:
93
+ 'There is %{smart_count} post-harvest log for this organization.||||' +
94
+ 'There are %{smart_count} post-harvest logs for this organization.',
95
+ post_harvest_logs_empty: "There aren't any post-harvest logs for this organization.",
96
+ field_work_logs_end:
97
+ 'There is %{smart_count} field work log for this organization.||||' +
98
+ 'There are %{smart_count} field work logs for this organization.',
99
+ field_work_logs_empty: "There aren't any field work logs for this organization.",
100
+ temperature_logs_end:
101
+ 'There is %{smart_count} temperature log for this organization.||||' +
102
+ 'There are %{smart_count} temperature logs for this organization.',
103
+ temperature_logs_empty: "There aren't any temperature logs for this organization.",
104
+ inspections_logs_end:
105
+ 'There is %{smart_count} inspection log for this organization.||||' +
106
+ 'There are %{smart_count} inspection logs for this organization.',
107
+ inspections_logs_empty: "There aren't any inspection logs for this organization.",
108
+ revision_history: 'History',
109
+ revision_history_empty: 'No revision history has been recorded yet.',
110
+ revision_history_failed: 'Revision history could not be loaded.',
111
+ revision_history_load_older: 'Load older revisions',
112
+ revision_history_more_failed: 'Older revisions could not be loaded.',
113
+ revision_title: 'Revision %{number} · %{action}',
114
+ revision_actor_at: '%{actor} · %{timestamp}',
115
+ revision_actor_with_id: '%{kind} %{id}',
116
+ revision_full_snapshot: 'A complete snapshot was recorded for this revision.',
117
+ revision_value_missing: '(not present)',
118
+ revision_download_proof: 'Download proof',
119
+ revision_proof_download_failed: 'The archived proof could not be downloaded.',
120
+
121
+ revision_action: {
122
+ BASELINE: 'Baseline',
123
+ CREATE: 'Created',
124
+ UPDATE: 'Updated',
125
+ DELETE: 'Deleted',
126
+ ATTACHMENT_LINK: 'Attachment linked',
127
+ ATTACHMENT_UNLINK: 'Attachment unlinked',
128
+ },
129
+
130
+ revision_actor: {
131
+ ACCOUNT: 'Account',
132
+ AGENT: 'Agent',
133
+ IMPORT: 'Import',
134
+ SYSTEM: 'System',
135
+ },
136
+
137
+ revision_change: {
138
+ ADD: 'Added %{path}: %{after}',
139
+ UPDATE: 'Changed %{path} from %{before} to %{after}',
140
+ REMOVE: 'Removed %{path}: %{before}',
141
+ },
142
+
143
+ revision_proof_status: {
144
+ NOT_REQUIRED: 'Proof not required',
145
+ PENDING: 'Proof pending',
146
+ VERIFIED: 'Proof verified',
147
+ FAILED: 'Proof failed',
148
+ UNANCHORED: 'Unanchored',
149
+ },
65
150
 
66
- log_type_is_created_updated: 'When %{type} logs are created/updated.',
67
151
  risk_flags: 'Potential risks',
68
152
  no_potential_risks: 'This log does not indicate any potential risks.',
69
153
  animalRisk: 'Animal risk',
@@ -82,6 +166,7 @@ export default {
82
166
  edit_log: 'Edit log',
83
167
  edit_invoice: 'Edit invoice',
84
168
  edit_receipt: 'Edit receipt',
169
+ view_log: 'View log',
85
170
 
86
171
  view_edit_log: 'View or edit log',
87
172
  view_edit_invoice: 'View or edit invoice',
@@ -100,54 +185,105 @@ export default {
100
185
  WORKFLOW: 'workflow',
101
186
  },
102
187
 
188
+ rack_position: { top: 'Top', middle: 'Middle', bottom: 'Bottom' },
189
+ rack_temperature: { top: 'Top temperature', middle: 'Middle temperature', bottom: 'Bottom temperature' },
190
+
103
191
  // Types
192
+ market_operations: 'Market operations',
104
193
  type: {
194
+ APP_INTERACTIONS: 'Interactions',
195
+ FOOD_PRODUCTION: 'Production',
196
+ FOOD_WAREHOUSING: 'Warehousing',
197
+ FULFILLMENT: 'Fulfillment',
198
+ FOOD_TEMPERATURE: 'Food temperatures',
199
+ FOOD_INSPECTION: 'Inspections',
200
+ SANITATION: 'Sanitation',
201
+ SHIPPING_HANDLING: 'Shipping and handling',
202
+ EMS_INCIDENT: 'EMS incidents',
105
203
  // #### ARABLE
106
- SEED: 'Seed purchase',
204
+ SEED: 'Seed purchases',
107
205
  PLANTING: 'Seeding & transplanting',
108
- FIELD: 'Field',
206
+ FIELD: 'Field work',
109
207
  HARVEST: 'Harvest',
110
208
  POST_HARVEST: 'Post-harvest',
111
- SALES: 'Sales order',
209
+ SALES: 'Sales orders',
112
210
  WATER: 'Water testing',
113
211
  CLEANING_AND_SANITATION: 'Cleaning and sanitation',
114
212
 
115
213
  // #### FARMERS_MARKET
116
- MARKET_RECEIPT: 'Receipt',
117
- MARKET_OPERATION: 'Operation',
118
- VOID_MARKET_RECEIPT: 'Void receipt',
214
+ MARKET_RECEIPT: 'Receipts',
215
+ MARKET_OPERATION: 'Market operations',
216
+ VOID_MARKET_RECEIPT: 'Voided receipts',
119
217
 
120
218
  // #### GROWER_NETWORK
121
219
  WORKER_PRACTICE: 'Personnel practices',
122
220
  EQUIPMENT: 'Equipment & materials',
123
221
  PRODUCTION_INPUT: 'Production inputs',
124
222
  OPERATION: 'Operations',
223
+
224
+ // #### CONSTRUCTION_INSPECTION_AGENCY (OPERATION is shared above)
225
+ SITE_INSPECTION: 'Inspections',
226
+ PROJECT: 'Projects',
125
227
  },
126
228
  type_short: {
229
+ APP_INTERACTIONS: 'Interactions',
230
+ FOOD_PRODUCTION: 'Production',
231
+ FOOD_WAREHOUSING: 'Warehousing',
232
+ FULFILLMENT: 'Fulfillment',
233
+ FOOD_TEMPERATURE: 'Food temperatures',
234
+ FOOD_INSPECTION: 'Inspections',
235
+ SANITATION: 'Sanitation',
236
+ SHIPPING_HANDLING: 'Shipping and handling',
237
+ EMS_INCIDENT: 'EMS incidents',
127
238
  // #### ARABLE
128
- SEED: 'Seed purchase',
239
+ SEED: 'Seed purchases',
129
240
  PLANTING: 'Planting',
130
- FIELD: 'Field',
241
+ FIELD: 'Field work',
131
242
  HARVEST: 'Harvest',
132
243
  POST_HARVEST: 'Post-harvest',
133
- SALES: 'Sale',
244
+ SALES: 'Sales',
134
245
  WATER: 'Water testing',
135
246
  CLEANING_AND_SANITATION: 'Cleaning',
136
247
 
137
248
  // #### FARMERS_MARKET
138
- MARKET_RECEIPT: 'Receipt',
139
- MARKET_OPERATION: 'Operation',
140
- VOID_MARKET_RECEIPT: 'Void receipt',
249
+ MARKET_RECEIPT: 'Receipts',
250
+ MARKET_OPERATION: 'Operations',
251
+ VOID_MARKET_RECEIPT: 'Voided receipts',
141
252
 
142
253
  // #### GROWER_NETWORK
143
254
  WORKER_PRACTICE: 'Personnel',
144
255
  EQUIPMENT: 'Equipment',
145
256
  PRODUCTION_INPUT: 'Inputs',
146
257
  OPERATION: 'Operations',
258
+
259
+ // #### CONSTRUCTION_INSPECTION_AGENCY (OPERATION is shared above)
260
+ SITE_INSPECTION: 'Inspections',
261
+ PROJECT: 'Projects',
147
262
  },
148
263
 
149
264
  // Activities
150
265
  activity: {
266
+ CAMPAIGN_FORM_SUBMISSION: 'Form submission',
267
+ UNSORTED_INBOUND_EMAIL: 'Unsorted email',
268
+ OTHER_PRODUCT_PROCESSING_ACTIVITY: 'Other product processing',
269
+ PRODUCT_TRANSFER: 'Product transfer',
270
+ OTHER_PRODUCT_STORAGE_HANDLING_ACTIVITY: 'Other storage & handling',
271
+ OTHER_PACKAGING_SHIPPING_ACTIVITY: 'Other packaging & shipping',
272
+ COOKING_TEMPERATURE: 'Cooking temperature',
273
+ COOLING_TEMPERATURE: 'Cooling temperature',
274
+ THERMOMETER_CALIBRATION: 'Thermometer calibration',
275
+ OTHER_FOOD_TEMPERATURE_ACTIVITY: 'Other food temperature',
276
+ FOOD_INGREDIENT: 'Ingredient inspection',
277
+ METAL_DETECTOR_X_RAY: 'Metal detector / X-ray check',
278
+ ALLERGEN: 'Allergen control',
279
+ OTHER_FOOD_SAFETY_ACTIVITY: 'Other food safety activity',
280
+ OTHER_HYGIENE_SANITATION_ACTIVITY: 'Other hygiene & sanitation',
281
+ PRE_SHIPMENT: 'Pre-shipment review',
282
+ PACKAGING_AND_LABEL: 'Packaging and label check',
283
+ OTHER_SHIPPING_HANDLING_ACTIVITY: 'Other shipping & handling',
284
+ EMS_INCIDENT_CHART: 'Patient care report',
285
+ EMS_CALL_OR_COMPUTER_AIDED_DISPATCH: 'CAD call sheet',
286
+ OTHER_EMS_INCIDENT_ACTIVITY: 'Other EMS incident activity',
151
287
  // #### ARABLE
152
288
 
153
289
  // # Seed activities
@@ -160,43 +296,43 @@ export default {
160
296
  GREENHOUSE_SEEDING: 'Greenhouse seeding',
161
297
  TRANSPLANTING: 'Transplanting',
162
298
  SEED_COMPLIANCE_NOTE: 'Seeding compliance',
163
- OTHER_TRANSPLANT_ACTIVITY: 'Other seeding/transplanting activities',
299
+ OTHER_TRANSPLANT_ACTIVITY: 'Other seeding/transplanting',
164
300
 
165
301
  // # Field activities
166
302
  PREPARE_SOIL: 'Soil/bed preparation',
167
303
  IRRIGATION: 'Irrigation, water management',
168
304
  FERTILIZATION_COMPOST: 'Fertilization, compost',
169
- PROTECT_CROP: 'Crop protection (weeds, pests, diseases)',
305
+ PROTECT_CROP: 'Crop protection',
170
306
  MONITOR_CROP: 'Crop monitoring',
171
307
  PRUNING: 'Pruning',
172
- STRUCTURE_MAINTENANCE: 'Trellising/structure maintenance',
308
+ STRUCTURE_MAINTENANCE: 'Trellis/structure maintenance',
173
309
  PREPARE_HARVEST: 'Preparing crops for harvest',
174
- OTHER_FIELD_ACTIVITY: 'General field notes',
310
+ OTHER_FIELD_ACTIVITY: 'General field note',
175
311
 
176
312
  // # Harvest activities
177
313
  HARVEST_CROP: 'Harvested crops',
178
314
  HARVEST_COUNT: 'Counting/weighing crops',
179
315
  SORT_GRADE: 'Sorting/grading crops',
180
316
  YIELD_LOSS_ESTIMATE: 'Estimating yield or loss',
181
- OTHER_HARVEST_ACTIVITY: 'Other harvest activities',
317
+ OTHER_HARVEST_ACTIVITY: 'Other harvest',
182
318
 
183
319
  // # Post-harvest activities
184
320
  POST_HARVEST_HANDLING: 'Handling/grading produce',
185
321
  POST_HARVEST_PACKAGING: 'Packaging/moving to storage',
186
322
  COLD_STORAGE_TEMPERATURE: 'Cold storage temperature',
187
- OTHER_POST_HARVEST_ACTIVITY: 'Other post-harvest activities',
323
+ OTHER_POST_HARVEST_ACTIVITY: 'Other post-harvest',
188
324
 
189
325
  // # Sales activities
190
- SALE_PRODUCE_ORDER: 'sales order (produce)',
191
- OTHER_SALE_ORDER: 'sales order (other)',
326
+ SALE_PRODUCE_ORDER: 'Sales order (produce)',
327
+ OTHER_SALE_ORDER: 'Sales order (other)',
192
328
 
193
329
  // # Water testing activities
194
- WATER_TESTING: 'Water testing (chlorine levels)',
195
- OTHER_WATER_TESTING_ACTIVITY: 'Other water testing activities',
330
+ WATER_TESTING: 'Water testing (chlorine)',
331
+ OTHER_WATER_TESTING_ACTIVITY: 'Other water testing',
196
332
 
197
333
  // # Food safety and operation notes
198
334
  EMPLOYEE_NOTE: 'Employee note',
199
- OPERATION_NOTE: 'General operation notes',
335
+ OPERATION_NOTE: 'General operation note',
200
336
 
201
337
  // #### FARMERS MARKET
202
338
 
@@ -210,9 +346,9 @@ export default {
210
346
  // #### GROWER NETWORK
211
347
 
212
348
  // # Grower network activities
213
- HYGIENE_PROCEDURE: 'Hygiene procedures',
349
+ HYGIENE_PROCEDURE: 'Hygiene procedure',
214
350
  SANITATION_PRACTICE: 'Sanitation',
215
- PERSONNEL_PRACTICE: 'Personnel practices',
351
+ PERSONNEL_PRACTICE: 'Personnel practice',
216
352
  EQUIPMENT_MATERIAL: 'Equipment & materials',
217
353
  PACKAGING_STORAGE: 'Packaging & storage',
218
354
  ENVIRONMENT: 'Environment',
@@ -223,11 +359,51 @@ export default {
223
359
  FERTILIZER_INPUT: 'Fertilizer inputs',
224
360
  RECORDKEEPING: 'Recordkeeping',
225
361
  FACILITIES: 'Infrastructure (physical)',
362
+
363
+ // #### CONSTRUCTION INSPECTION AGENCY
364
+
365
+ // # Site inspection activities
366
+ MATERIAL: 'Construction materials',
367
+ MATERIAL_TESTING: 'Material testing',
368
+ BEHAVIOR_ISSUE: 'Worker conduct or safety',
369
+ OTHER_INSPECTION_ACTIVITY: 'Other inspection',
370
+
371
+ // # Project activities
372
+ PROJECT_SCHEDULING: 'Project scheduling',
373
+ PROJECT_SCOPE: 'Project scope or changes',
374
+ PROJECT_PROGRESS: 'Project progress',
375
+ PROJECT_BID_PROPOSAL: 'Bid or proposal',
376
+ PROJECT_BILLING_INVOICE: 'Billing or invoice',
377
+ OTHER_PROJECT_ACTIVITY: 'Other project activity',
378
+
379
+ // # Operation activities (RECORDKEEPING and OPERATION_NOTE are shared above)
380
+ OFFICE_NOTE: 'Office note',
226
381
  },
227
382
 
228
383
  // Short versions will override longer version for UI purposes
229
384
 
230
385
  activity_short: {
386
+ CAMPAIGN_FORM_SUBMISSION: 'Form',
387
+ UNSORTED_INBOUND_EMAIL: 'Unsorted',
388
+ OTHER_PRODUCT_PROCESSING_ACTIVITY: 'Other processing',
389
+ PRODUCT_TRANSFER: 'Product transfer',
390
+ OTHER_PRODUCT_STORAGE_HANDLING_ACTIVITY: 'Other storage/handling',
391
+ OTHER_PACKAGING_SHIPPING_ACTIVITY: 'Other packaging/shipping',
392
+ COOKING_TEMPERATURE: 'Cooking temperature',
393
+ COOLING_TEMPERATURE: 'Cooling temperature',
394
+ THERMOMETER_CALIBRATION: 'Thermometer calibration',
395
+ OTHER_FOOD_TEMPERATURE_ACTIVITY: 'Other food temperature',
396
+ FOOD_INGREDIENT: 'Ingredient inspection',
397
+ METAL_DETECTOR_X_RAY: 'Metal detector / X-ray check',
398
+ ALLERGEN: 'Allergen control',
399
+ OTHER_FOOD_SAFETY_ACTIVITY: 'Other food safety activity',
400
+ OTHER_HYGIENE_SANITATION_ACTIVITY: 'Other hygiene/sanitation',
401
+ PRE_SHIPMENT: 'Pre-shipment review',
402
+ PACKAGING_AND_LABEL: 'Packaging and label check',
403
+ OTHER_SHIPPING_HANDLING_ACTIVITY: 'Other shipping/handling',
404
+ EMS_INCIDENT_CHART: 'Patient care report',
405
+ EMS_CALL_OR_COMPUTER_AIDED_DISPATCH: 'CAD call sheet',
406
+ OTHER_EMS_INCIDENT_ACTIVITY: 'Other EMS incident activity',
231
407
  // # Seed activities
232
408
  SEED_PURCHASE_INFO: 'Seed purchase',
233
409
  OTHER_SUPPLY_PURCHASE_ACTIVITY: 'Supply purchase',
@@ -237,19 +413,19 @@ export default {
237
413
  DIRECT_SEEDING: 'Direct seeding',
238
414
  GREENHOUSE_SEEDING: 'Greenhouse seeding',
239
415
  TRANSPLANTING: 'Transplanting',
240
- SEED_COMPLIANCE_NOTE: 'Notes',
416
+ SEED_COMPLIANCE_NOTE: 'Note',
241
417
  OTHER_TRANSPLANT_ACTIVITY: 'Other',
242
418
 
243
419
  // # Field activities
244
420
  PREPARE_SOIL: 'Soil prep',
245
421
  IRRIGATION: 'Irrigation',
246
422
  FERTILIZATION_COMPOST: 'Fertilization',
247
- PROTECT_CROP: 'Protection',
423
+ PROTECT_CROP: 'Crop protection',
248
424
  MONITOR_CROP: 'Monitoring',
249
425
  PRUNING: 'Pruning',
250
- STRUCTURE_MAINTENANCE: 'Structure',
426
+ STRUCTURE_MAINTENANCE: 'Structure maintenance',
251
427
  PREPARE_HARVEST: 'Harvest prep',
252
- OTHER_FIELD_ACTIVITY: 'Notes',
428
+ OTHER_FIELD_ACTIVITY: 'Note',
253
429
 
254
430
  // # Harvest activities
255
431
  HARVEST_CROP: 'Harvested',
@@ -265,8 +441,8 @@ export default {
265
441
  OTHER_POST_HARVEST_ACTIVITY: 'Post-harvest',
266
442
 
267
443
  // # Sales activities
268
- SALE_PRODUCE_ORDER: 'Purchase',
269
- OTHER_SALE_ORDER: 'Purchase (other)',
444
+ SALE_PRODUCE_ORDER: 'Sale',
445
+ OTHER_SALE_ORDER: 'Sale (other)',
270
446
 
271
447
  // # Water testing activities
272
448
  WATER_TESTING: 'Water testing',
@@ -300,6 +476,25 @@ export default {
300
476
  FERTILIZER_INPUT: 'Fertilizer',
301
477
  RECORDKEEPING: 'Records',
302
478
  FACILITIES: 'Infrastructure',
479
+
480
+ // #### CONSTRUCTION INSPECTION AGENCY
481
+
482
+ // # Site inspection activities
483
+ MATERIAL: 'Materials',
484
+ MATERIAL_TESTING: 'Testing',
485
+ BEHAVIOR_ISSUE: 'Conduct',
486
+ OTHER_INSPECTION_ACTIVITY: 'Inspection',
487
+
488
+ // # Project activities
489
+ PROJECT_SCHEDULING: 'Schedule',
490
+ PROJECT_SCOPE: 'Scope',
491
+ PROJECT_PROGRESS: 'Progress',
492
+ PROJECT_BID_PROPOSAL: 'Bid/proposal',
493
+ PROJECT_BILLING_INVOICE: 'Billing',
494
+ OTHER_PROJECT_ACTIVITY: 'Project',
495
+
496
+ // # Operation activities (RECORDKEEPING and OPERATION_NOTE are shared above)
497
+ OFFICE_NOTE: 'Office',
303
498
  },
304
499
 
305
500
  // Search sort
@@ -1,10 +1,8 @@
1
1
  export default {
2
2
  en: {
3
- assistant_memories: 'What the assistant remembers',
4
- screen_description:
5
- 'Standing facts the assistant applies to every conversation. Things that happened on a date are saved as logs instead.',
6
- empty_state:
7
- 'The assistant has not learned anything yet. Tell it a standing rule in chat and it will appear here.',
3
+ assistant_memories: 'Memories',
4
+ screen_description: 'Memories are saved and updated automatically, helping the AI agent apply the right context when needed.',
5
+ empty_state: 'No memories yet. Teach the assistant a standing fact in a conversation.',
8
6
 
9
7
  what_is_remembered: 'Remembered',
10
8
  applies_to: 'Applies to',
@@ -16,6 +14,20 @@ export default {
16
14
  scope_organization: 'Everyone',
17
15
  scope_you: 'Only you',
18
16
  scope_customer: 'One customer',
17
+ scope_member: 'Organization member',
18
+ select_member: 'Select member',
19
+ select_contact: 'Select contact',
20
+ search_contacts: 'Search contacts',
21
+ all_contacts: 'All contacts',
22
+ add_memory: 'Add memory',
23
+ edit_memory: 'Edit memory',
24
+ channels: 'Channels',
25
+ channels_help: 'Leave all unchecked to use this memory in every channel.',
26
+ surface_all: 'All channels',
27
+ surface_CHAT: 'Chat',
28
+ surface_EMAIL: 'Email',
29
+ surface_WORKFLOW: 'Workflows',
30
+ save_failed: 'The memory could not be saved. Review the error and try again.',
19
31
 
20
32
  category_UNIT: 'Units',
21
33
  category_PRODUCT: 'Products',
@@ -28,6 +40,7 @@ export default {
28
40
  status_protected: 'Protected',
29
41
 
30
42
  learned_automatically: 'Learned from a conversation',
43
+ learned_from_email: 'Learned from an email',
31
44
  told_by: 'Told by %{name}',
32
45
  told_in_chat: 'Told in chat',
33
46
  edited_here: 'Edited here',
@@ -5,6 +5,7 @@
5
5
  export default {
6
6
  en: {
7
7
  email_from_name: 'Marketday',
8
+ email_outreach_test_subject: '[Test] %{subject}',
8
9
  from_: 'From: %{name}',
9
10
  sent_by_ai_msg:
10
11
  'This email was sent by <a href="https://marketday.ai">Marketday AI</a>.<br />' +
package/src/i18n/note.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  export default {
2
2
  en: {
3
- // Editor block/format menu (consumed by the @jsb188/agent-docs editor
4
- // package; entity texts for the agent docs feature live in agentDoc.ts)
3
+ // Editor block/format menu (consumed by the @jsb188/editor package)
5
4
 
6
5
  block_paragraph: 'Paragraph',
7
6
  block_heading_1: 'Heading 1',
@@ -11,7 +10,10 @@ export default {
11
10
  block_ordered_list: 'Numbered list',
12
11
  block_quote: 'Quote',
13
12
  block_divider: 'Divider',
14
- content_placeholder: 'Write something…',
13
+ clear_formatting: 'Clear formatting',
15
14
  highlight_color: 'Highlight color',
15
+ inline_code: 'Inline code',
16
+ insert_image: 'Insert image',
17
+ link_prompt: 'Enter a link URL',
16
18
  },
17
19
  };