@seeka-labs/cli-apps 3.8.2 → 3.8.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.
Files changed (34) hide show
  1. package/dist/ai-context/internal/examples/_index.md +1 -1
  2. package/dist/ai-context/internal/examples/v1/activecampaign/_ai-summary.md +25 -32
  3. package/dist/ai-context/internal/examples/v1/complianz/_ai-summary.md +17 -23
  4. package/dist/ai-context/internal/examples/v1/ivvy/_ai-summary.md +20 -19
  5. package/dist/ai-context/internal/examples/v1/me-and-u-connect/_ai-summary.md +18 -16
  6. package/dist/ai-context/internal/examples/v1/me-and-u-manage/_ai-summary.md +22 -34
  7. package/dist/ai-context/internal/examples/v1/nowbookit/_ai-summary.md +26 -26
  8. package/dist/ai-context/internal/examples/v1/sevenrooms/_ai-summary.md +22 -21
  9. package/dist/ai-context/internal/examples/v1/tradable-bits/_ai-summary.md +20 -22
  10. package/dist/ai-context/internal/examples/v1/transcend/_ai-summary.md +43 -23
  11. package/dist/ai-context/internal/examples/v2/calendly/_ai-summary.md +19 -16
  12. package/dist/ai-context/internal/examples/v2/clarity/_ai-summary.md +14 -21
  13. package/dist/ai-context/internal/examples/v2/google-bigquery/_ai-summary.md +15 -14
  14. package/dist/ai-context/internal/examples/v2/klaviyo-events/_ai-summary.md +24 -15
  15. package/dist/ai-context/internal/examples/v2/navitas/_ai-summary.md +16 -28
  16. package/dist/ai-context/internal/examples/v2/trustarc/_ai-summary.md +14 -16
  17. package/dist/ai-context/internal/examples/v2/typeform/_ai-summary.md +20 -19
  18. package/dist/ai-context/internal/examples/v2/webhook/_ai-summary.md +16 -14
  19. package/dist/ai-context/internal/examples/v2/yeastar/_ai-summary.md +19 -15
  20. package/dist/ai-context/internal/examples/v3/google-ads/_ai-summary.md +19 -17
  21. package/dist/index.cjs +2465 -281
  22. package/dist/index.cjs.map +4 -4
  23. package/dist/init-template/README.azurefunc.md +1 -1
  24. package/dist/init-template/app/browser/package.json +1 -1
  25. package/dist/init-template/app/lib/package.json +1 -1
  26. package/dist/init-template/app/server-azurefunc/package.json +1 -1
  27. package/dist/init-template/app/ui/package.json +1 -1
  28. package/package.json +5 -2
  29. package/dist/ai-context/internal/architecture/v1-structure.md +0 -192
  30. package/dist/ai-context/internal/architecture/v2-structure.md +0 -261
  31. package/dist/ai-context/internal/architecture/v3-structure.md +0 -386
  32. package/dist/ai-context/internal/examples/v1/_index.md +0 -53
  33. package/dist/ai-context/internal/examples/v2/_index.md +0 -66
  34. package/dist/ai-context/internal/examples/v3/_index.md +0 -105
@@ -1,26 +1,30 @@
1
- ```markdown
2
- # AI Summary: Yeastar App
1
+ # AI Summary for Yeastar App
3
2
 
4
3
  ## Purpose and Functionality
5
- The Yeastar app is designed to integrate with Yeastar PBX systems to track phone calls and call events. It serves as a bridge between telephony systems and CRM platforms, enabling seamless call tracking and management.
4
+
5
+ The Yeastar app is designed to integrate with Yeastar PBX systems to track phone calls and call events. It facilitates the synchronization of telephony data with CRM systems, allowing for efficient call tracking and management within business environments.
6
6
 
7
7
  ## Key Implementation Patterns
8
- - **Monorepo Structure**: The app is organized using a monorepo structure with Yarn workspaces, separating concerns into `lib`, `server`, and `ui` components.
9
- - **Azure Functions**: The server-side logic is implemented using Azure Functions, specifically handling HTTP requests for webhook events.
10
- - **Webhook Handling**: The app processes various webhook events such as app installation, settings updates, and call activities using a centralized handler function.
8
+
9
+ - **Monorepo Structure**: The app uses a monorepo setup managed by Yarn workspaces, organizing the codebase into separate components (`lib`, `server`, `ui`).
10
+ - **Azure Functions**: The server-side logic is implemented using Azure Functions, providing a scalable and serverless architecture for handling HTTP requests.
11
+ - **Webhook Handling**: The app processes various webhook events from the Seeka platform, such as app installations, settings updates, and call activities.
11
12
 
12
13
  ## External APIs/Services Integrated
13
- - **Azure Functions**: Utilized for serverless execution of webhook handlers.
14
- - **Seeka SDK**: The app integrates with the Seeka SDK to manage webhook payloads and validate webhook signatures.
14
+
15
+ - **Yeastar PBX**: The app integrates with Yeastar PBX systems to track and manage telephony events.
16
+ - **Seeka Platform**: Utilizes the Seeka SDK for handling webhook payloads and managing app installation states.
17
+ - **Azure Functions**: Deployed on Azure Functions for executing server-side logic in response to HTTP requests.
15
18
 
16
19
  ## Important Data Transformations
17
- - **Webhook Payload Parsing**: Incoming HTTP requests are parsed to extract JSON payloads, which are then transformed into specific types defined by the Seeka SDK.
18
- - **Installation State Management**: The app manages installation states, updating or deleting records based on webhook events.
20
+
21
+ - **Webhook Payload Parsing**: Incoming webhook requests are parsed and validated to ensure they are from trusted sources, using the `throwOnInvalidWebhookSignature` function.
22
+ - **Installation State Management**: The app maintains the state of app installations, updating or deleting records based on webhook events like `AppInstalled` or `AppUninstalled`.
19
23
 
20
24
  ## Notable Code Patterns
21
- - **Logger Integration**: The app uses the `winston` library for logging, providing detailed logs for debugging and monitoring.
22
- - **Error Handling**: Comprehensive error handling is implemented to manage invalid webhook signatures and unknown installation IDs.
23
- - **Version Management**: The app includes scripts for automated version bumping and Git tagging, ensuring consistent version control.
24
25
 
25
- This summary provides a high-level overview of the Yeastar app's architecture and implementation, highlighting key patterns and integrations that can be referenced for similar telephony and CRM integration projects.
26
- ```
26
+ - **Logging with Winston**: The app employs the Winston logging library to log detailed information about webhook processing, aiding in debugging and monitoring.
27
+ - **Error Handling**: Comprehensive error handling is implemented to manage exceptions during webhook processing, ensuring robust and reliable operations.
28
+ - **Version Bumping Scripts**: Custom scripts are provided for automating version management and Git operations, ensuring consistent version control practices.
29
+
30
+ This summary provides an overview of the Yeastar app's architecture and implementation, highlighting its integration with external services and the patterns used to handle telephony data effectively.
@@ -1,31 +1,33 @@
1
1
  ```markdown
2
- # AI Summary for Seeka App: Google Ads
2
+ # AI Summary for Google Ads Seeka App
3
3
 
4
4
  ## Purpose and Functionality
5
- The Google Ads app is designed to facilitate conversion tracking and offline conversion imports for Google Ads. It receives activity data from Seeka and pushes conversion data to Google Ads using the Google Ads API. This app is particularly useful for businesses looking to integrate their advertising efforts with Google Ads for enhanced conversion tracking.
5
+ The Google Ads Seeka app is designed to facilitate conversion tracking and offline conversion imports for Google Ads. It receives activity data from Seeka and communicates these conversions to Google Ads using the Google Ads API. This integration helps advertisers track the effectiveness of their campaigns by linking offline activities to online conversions.
6
6
 
7
7
  ## Key Implementation Patterns
8
- - **Monorepo Structure**: The app is structured as a monorepo using Yarn workspaces, with separate components for the browser, UI, and server.
9
- - **Azure Functions**: The app is deployed as an Azure Function, allowing it to handle webhooks and other asynchronous tasks efficiently.
10
- - **Webhook Handling**: The app processes various webhook events from Seeka, such as app installations, uninstalls, and activity acceptance, to manage conversions and user interactions.
11
- - **Concurrency Management**: The app uses the `concurrently` package to run multiple processes in parallel, such as server, browser plugin, and UI development.
8
+ - **Monorepo Structure**: The app uses a monorepo setup with Yarn workspaces, organizing the codebase into distinct components: browser, UI, and server.
9
+ - **Azure Functions**: The server-side logic is deployed as Azure Functions, enabling scalable and event-driven execution.
10
+ - **Webhook Handling**: The app processes various webhook events from Seeka, such as app installation, uninstallation, and activity acceptance, to manage conversion tracking and app state.
11
+ - **Concurrent Processes**: The app utilizes `concurrently` to run multiple processes in parallel, such as server, UI, and browser plugin development.
12
12
 
13
13
  ## External APIs/Services Integrated
14
- - **Google Ads API**: The app integrates with the Google Ads API to push conversion data and manage conversion actions.
15
- - **Azure Storage Queue**: Utilized for managing background jobs and tasks related to conversion tracking.
14
+ - **Google Ads API**: The core functionality of the app revolves around integrating with the Google Ads API to track and import conversions.
15
+ - **Azure Storage Queues**: Used for managing background jobs and processing conversion data asynchronously.
16
+ - **Seeka SDK**: Utilizes Seeka's SDK for handling app installation contexts and webhook payloads.
16
17
 
17
18
  ## Important Data Transformations
18
- - **Conversion Mapping**: The app transforms Seeka activity data into Google Ads conversion actions using defined mappings (`SeekaActivityToGoogleConversionActionMapping`).
19
- - **Webhook Payload Processing**: The app parses and validates webhook payloads to ensure data integrity and proper handling of conversion events.
19
+ - **Activity to Conversion Mapping**: The app defines mappings between Seeka activities and Google Ads conversion actions, enabling precise tracking of specific user activities as conversions.
20
+ - **Webhook Payload Processing**: Incoming webhook payloads are validated and transformed into actionable tasks, such as updating installation states or triggering conversion tracking.
20
21
 
21
22
  ## Notable Code Patterns
22
- - **TypeScript Interfaces and Types**: Extensive use of TypeScript interfaces and types for defining data structures, such as `GoogleAdsAppBrowserSdkPluginConfig`, `GoogleAdsConversionSettings`, and `SeekaActivityToGoogleConversionActionMapping`.
23
- - **Validation Logic**: Although currently a placeholder, the app includes a validation function for installation settings, which is intended to block invalid installation requests.
24
- - **Logging**: The app employs the `winston` logging library to provide detailed logging for debugging and monitoring purposes.
23
+ - **TypeScript Interfaces and Types**: The app extensively uses TypeScript for defining data models and ensuring type safety across components.
24
+ - **Logging with Winston**: The app employs the Winston library for structured logging, facilitating easier debugging and monitoring.
25
+ - **Environment Configuration**: The app uses environment variables and GitHub secrets for configuration, ensuring secure and flexible deployments.
25
26
 
26
- ## Deployment and Configuration
27
- - **GitHub Actions**: Automated deployment to Azure Functions is managed via GitHub Actions, with specific workflows for different environments (production and staging).
28
- - **Environment Variables**: The app requires several GitHub secrets and environment variables for configuration, including Azure credentials and Seeka API URLs.
27
+ ## Reusable Code Patterns
28
+ - **Webhook Signature Validation**: A reusable pattern for validating webhook signatures to ensure secure communication.
29
+ - **Concurrent Development Scripts**: The use of `concurrently` for parallel process management can be adapted for other projects requiring simultaneous execution of multiple components.
30
+ - **Azure Function Deployment via GitHub Actions**: The deployment workflow using GitHub Actions and Azure Functions can be a template for other serverless applications.
29
31
 
30
- This summary provides an overview of the Google Ads app's architecture, integration points, and key functionalities, which can be referenced for further development or integration efforts.
32
+ This summary provides an overview of the Google Ads Seeka app's architecture and implementation, highlighting key patterns and integrations that could be useful for similar applications.
31
33
  ```