@seeka-labs/cli-apps 3.8.7 → 3.8.8
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.
- package/dist/ai-context/internal/examples/v1/activecampaign/_ai-summary.md +24 -16
- package/dist/ai-context/internal/examples/v1/complianz/_ai-summary.md +23 -29
- package/dist/ai-context/internal/examples/v1/ivvy/_ai-summary.md +15 -20
- package/dist/ai-context/internal/examples/v1/me-and-u-connect/_ai-summary.md +24 -16
- package/dist/ai-context/internal/examples/v1/me-and-u-manage/_ai-summary.md +30 -16
- package/dist/ai-context/internal/examples/v1/nowbookit/_ai-summary.md +24 -27
- package/dist/ai-context/internal/examples/v1/sevenrooms/_ai-summary.md +25 -25
- package/dist/ai-context/internal/examples/v1/tradable-bits/_ai-summary.md +24 -29
- package/dist/ai-context/internal/examples/v1/transcend/_ai-summary.md +16 -17
- package/dist/ai-context/internal/examples/v2/calendly/_ai-summary.md +14 -28
- package/dist/ai-context/internal/examples/v2/clarity/_ai-summary.md +12 -22
- package/dist/ai-context/internal/examples/v2/google-bigquery/_ai-summary.md +24 -22
- package/dist/ai-context/internal/examples/v2/klaviyo-events/_ai-summary.md +26 -17
- package/dist/ai-context/internal/examples/v2/navitas/_ai-summary.md +13 -29
- package/dist/ai-context/internal/examples/v2/trustarc/_ai-summary.md +11 -26
- package/dist/ai-context/internal/examples/v2/typeform/_ai-summary.md +18 -43
- package/dist/ai-context/internal/examples/v2/webhook/_ai-summary.md +20 -27
- package/dist/ai-context/internal/examples/v2/yeastar/_ai-summary.md +12 -13
- package/dist/ai-context/internal/examples/v3/google-ads/_ai-summary.md +23 -21
- package/dist/index.cjs +4 -3
- package/dist/index.cjs.map +2 -2
- package/dist/init-template/README.azurefunc.md +1 -1
- package/dist/init-template/app/browser/package.json +1 -1
- package/dist/init-template/app/lib/package.json +1 -1
- package/dist/init-template/app/server-azurefunc/README.md +1 -1
- package/dist/init-template/app/server-azurefunc/package.json +1 -1
- package/dist/init-template/app/ui/package.json +1 -1
- package/package.json +2 -2
|
@@ -1,25 +1,24 @@
|
|
|
1
1
|
# AI Summary for Yeastar App
|
|
2
2
|
|
|
3
3
|
## Purpose and Functionality
|
|
4
|
-
The Yeastar app is designed
|
|
4
|
+
The Yeastar app is designed for integration 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 event logging.
|
|
5
5
|
|
|
6
6
|
## Key Implementation Patterns
|
|
7
|
-
- **Monorepo Structure**: The app uses a monorepo setup with Yarn workspaces,
|
|
8
|
-
- **Azure Functions**: The server
|
|
9
|
-
- **Webhook Handling**: The app processes
|
|
10
|
-
- **Logging**: Winston is used for logging, providing detailed logs for webhook processing and error handling.
|
|
7
|
+
- **Monorepo Structure**: The app uses a monorepo setup managed with Yarn workspaces, allowing for organized development across multiple components (`lib`, `server`, `ui`).
|
|
8
|
+
- **Azure Functions**: The server-side logic is implemented using Azure Functions, providing a scalable and serverless architecture for handling HTTP requests, particularly webhooks.
|
|
9
|
+
- **Webhook Handling**: The app processes various webhook events from Seeka, including installation, uninstallation, and activity updates, ensuring real-time synchronization with the PBX system.
|
|
11
10
|
|
|
12
11
|
## External APIs/Services Integrated
|
|
13
|
-
- **
|
|
14
|
-
- **Seeka SDK**:
|
|
12
|
+
- **Azure Functions**: Utilized for deploying serverless functions that handle HTTP requests and webhooks.
|
|
13
|
+
- **Seeka SDK**: The app integrates with the Seeka SDK to handle webhook payloads and validate signatures, ensuring secure and reliable communication.
|
|
15
14
|
|
|
16
15
|
## Important Data Transformations
|
|
17
|
-
- **Webhook Payload Parsing**: The app parses incoming webhook payloads to extract
|
|
18
|
-
- **Installation State Management**: It manages the state of app installations,
|
|
16
|
+
- **Webhook Payload Parsing**: The app parses incoming webhook payloads to extract relevant information and determine the type of event (e.g., installation, activity accepted).
|
|
17
|
+
- **Installation State Management**: It manages the state of app installations, checking for existing installations and updating settings as necessary.
|
|
19
18
|
|
|
20
19
|
## Notable Code Patterns
|
|
21
|
-
- **Webhook Signature Validation**:
|
|
22
|
-
- **
|
|
23
|
-
- **
|
|
20
|
+
- **Webhook Signature Validation**: The app includes a robust mechanism for validating webhook signatures using environment variables, enhancing security.
|
|
21
|
+
- **Logging with Winston**: Comprehensive logging is implemented using the Winston library, providing detailed insights into webhook processing and error handling.
|
|
22
|
+
- **Error Handling**: The app employs structured error handling to manage exceptions during webhook processing, ensuring graceful degradation and informative responses.
|
|
24
23
|
|
|
25
|
-
This summary provides
|
|
24
|
+
This summary provides an overview of the Yeastar app's architecture and implementation, highlighting its integration with external services and key patterns that can be leveraged in similar applications.
|
|
@@ -1,33 +1,35 @@
|
|
|
1
1
|
```markdown
|
|
2
|
-
# AI Summary: Google Ads
|
|
2
|
+
# AI Summary: Seeka Google Ads App
|
|
3
3
|
|
|
4
4
|
## Purpose and Functionality
|
|
5
|
-
The
|
|
5
|
+
The Seeka Google Ads app facilitates conversion tracking and offline conversion imports for Google Ads. It integrates with the Google Ads API to receive activity data from Seeka and push conversion data to Google Ads, enhancing advertising tracking capabilities.
|
|
6
6
|
|
|
7
7
|
## Key Implementation Patterns
|
|
8
|
-
- **
|
|
9
|
-
- **
|
|
10
|
-
- **Concurrent Development**:
|
|
11
|
-
- **Webhook Handling**: Implements
|
|
8
|
+
- **Azure Functions**: The app is structured to deploy as an Azure Function, handling HTTP requests for webhooks and other interactions.
|
|
9
|
+
- **Monorepo with Yarn Workspaces**: The app uses a monorepo structure managed by Yarn workspaces, organizing components into `lib`, `browser`, `ui`, and `server`.
|
|
10
|
+
- **Concurrent Development**: Utilizes `concurrently` for parallel execution of server, browser, and UI components during development.
|
|
11
|
+
- **Webhook Handling**: Implements webhook handlers to process various Seeka events, such as app installation, uninstallation, and activity acceptance.
|
|
12
12
|
|
|
13
13
|
## External APIs/Services Integrated
|
|
14
|
-
- **Google Ads API**: The
|
|
15
|
-
- **Azure
|
|
14
|
+
- **Google Ads API**: The app interfaces with the Google Ads API to manage conversion tracking and import offline conversions.
|
|
15
|
+
- **Azure Storage Queue**: Utilized for queuing background tasks related to Google Ads activities.
|
|
16
16
|
|
|
17
17
|
## Important Data Transformations
|
|
18
18
|
- **Activity to Conversion Mapping**: The app transforms Seeka activity data into Google Ads conversion actions using defined mappings (`SeekaActivityToGoogleConversionActionMapping`).
|
|
19
|
-
- **Webhook Payload Processing**:
|
|
19
|
+
- **Webhook Payload Processing**: Converts incoming webhook payloads into actionable data for Google Ads conversion tracking.
|
|
20
20
|
|
|
21
21
|
## Notable Code Patterns
|
|
22
|
-
- **TypeScript Interfaces and Types**: Extensive use of TypeScript interfaces and types
|
|
23
|
-
- **
|
|
24
|
-
- **Environment Configuration**: Uses environment variables and GitHub secrets for configuration,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
- **
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
22
|
+
- **TypeScript Interfaces and Types**: Extensive use of TypeScript interfaces and types to define data structures, enhancing type safety and code clarity.
|
|
23
|
+
- **Logging with Winston**: Implements structured logging using the Winston library for tracking and debugging webhook events and other operations.
|
|
24
|
+
- **Environment Configuration**: Uses environment variables and GitHub secrets for managing configuration, particularly for Azure deployment and API authentication.
|
|
25
|
+
|
|
26
|
+
## Deployment and CI/CD
|
|
27
|
+
- **GitHub Actions**: Automated deployment to Azure Functions is configured via GitHub Actions, triggered on pushes to the `main` and `staging` branches.
|
|
28
|
+
- **Environment Management**: Uses GitHub secrets and environment variables to manage deployment settings and credentials securely.
|
|
29
|
+
|
|
30
|
+
## Reusable Patterns
|
|
31
|
+
- **Webhook Signature Validation**: A pattern for validating webhook signatures to ensure secure communication.
|
|
32
|
+
- **Activity Processing Pipeline**: A modular approach to processing activity data, which can be adapted for other integrations requiring similar data transformations.
|
|
33
|
+
|
|
34
|
+
This summary provides an overview of the app's architecture, key functionalities, and integration points, aiding AI systems in understanding and referencing the app's implementation.
|
|
35
|
+
```
|
package/dist/index.cjs
CHANGED
|
@@ -39932,7 +39932,7 @@ var os2 = __toESM(require("os"), 1);
|
|
|
39932
39932
|
var path6 = __toESM(require("path"), 1);
|
|
39933
39933
|
|
|
39934
39934
|
// package.json
|
|
39935
|
-
var version = "3.8.
|
|
39935
|
+
var version = "3.8.8";
|
|
39936
39936
|
|
|
39937
39937
|
// src/helpers/index.ts
|
|
39938
39938
|
var fs2 = __toESM(require("fs"), 1);
|
|
@@ -52556,9 +52556,10 @@ var buildProgram = () => {
|
|
|
52556
52556
|
}).showHelpAfterError(true);
|
|
52557
52557
|
const aiCmd = program2.command("ai").description(aiCommand.description);
|
|
52558
52558
|
aiCmd.command("context").description(aiCommand.context.description).option("--target <directory>", aiCommand.context.options.target.description).addOption(new Option("--contextPackageUrl <url>", aiCommand.context.options.contextPackageUrl.description).hideHelp()).action(async (options) => {
|
|
52559
|
-
|
|
52559
|
+
const targetDir = options.target || process.cwd();
|
|
52560
|
+
let packageUrl = getContextPackageUrl(targetDir, options.contextPackageUrl);
|
|
52560
52561
|
await aiContextCommand({
|
|
52561
|
-
targetDir
|
|
52562
|
+
targetDir,
|
|
52562
52563
|
contextPackageUrl: packageUrl
|
|
52563
52564
|
});
|
|
52564
52565
|
}).showHelpAfterError(true);
|