@seeka-labs/cli-apps 3.8.5 → 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.
- package/dist/ai-context/internal/examples/v1/activecampaign/_ai-summary.md +16 -26
- package/dist/ai-context/internal/examples/v1/complianz/_ai-summary.md +16 -24
- package/dist/ai-context/internal/examples/v1/ivvy/_ai-summary.md +21 -20
- package/dist/ai-context/internal/examples/v1/me-and-u-connect/_ai-summary.md +18 -27
- package/dist/ai-context/internal/examples/v1/me-and-u-manage/_ai-summary.md +23 -21
- package/dist/ai-context/internal/examples/v1/nowbookit/_ai-summary.md +17 -20
- package/dist/ai-context/internal/examples/v1/sevenrooms/_ai-summary.md +22 -22
- package/dist/ai-context/internal/examples/v1/tradable-bits/_ai-summary.md +23 -18
- package/dist/ai-context/internal/examples/v1/transcend/_ai-summary.md +37 -26
- package/dist/ai-context/internal/examples/v2/calendly/_ai-summary.md +19 -24
- package/dist/ai-context/internal/examples/v2/clarity/_ai-summary.md +14 -14
- package/dist/ai-context/internal/examples/v2/google-bigquery/_ai-summary.md +14 -13
- package/dist/ai-context/internal/examples/v2/klaviyo-events/_ai-summary.md +18 -16
- package/dist/ai-context/internal/examples/v2/navitas/_ai-summary.md +15 -17
- package/dist/ai-context/internal/examples/v2/trustarc/_ai-summary.md +15 -14
- package/dist/ai-context/internal/examples/v2/typeform/_ai-summary.md +18 -17
- package/dist/ai-context/internal/examples/v2/webhook/_ai-summary.md +14 -16
- package/dist/ai-context/internal/examples/v2/yeastar/_ai-summary.md +17 -14
- package/dist/ai-context/internal/examples/v3/google-ads/_ai-summary.md +21 -16
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +2 -2
- 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/package.json +1 -1
- package/dist/init-template/app/ui/package.json +1 -1
- package/package.json +2 -2
- package/dist/ai-context/internal/architecture/v1-structure.md +0 -192
- package/dist/ai-context/internal/architecture/v2-structure.md +0 -261
- package/dist/ai-context/internal/architecture/v3-structure.md +0 -386
- package/dist/ai-context/internal/examples/v1/_index.md +0 -53
- package/dist/ai-context/internal/examples/v2/_index.md +0 -66
- package/dist/ai-context/internal/examples/v3/_index.md +0 -105
|
@@ -1,28 +1,33 @@
|
|
|
1
1
|
```markdown
|
|
2
|
-
# AI Summary
|
|
2
|
+
# AI Summary for Google Ads Seeka App
|
|
3
3
|
|
|
4
4
|
## Purpose and Functionality
|
|
5
|
-
The
|
|
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 uses a monorepo setup with Yarn workspaces, organizing the
|
|
9
|
-
- **Azure Functions**: The server-side logic is deployed as Azure Functions,
|
|
10
|
-
- **Webhook Handling**: The app processes various webhook events from Seeka, such as app installation, uninstallation, and activity acceptance, to manage
|
|
11
|
-
- **Concurrent
|
|
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
|
|
15
|
-
- **Azure Storage
|
|
16
|
-
- **Seeka SDK**: Utilizes Seeka's SDK for handling
|
|
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.
|
|
17
17
|
|
|
18
18
|
## Important Data Transformations
|
|
19
|
-
- **Activity to Conversion Mapping**: The app
|
|
20
|
-
- **Webhook Payload Processing**:
|
|
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.
|
|
21
21
|
|
|
22
22
|
## Notable Code Patterns
|
|
23
|
-
- **
|
|
24
|
-
- **
|
|
25
|
-
- **Environment Configuration
|
|
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.
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
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.
|
|
31
|
+
|
|
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.
|
|
33
|
+
```
|
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.6";
|
|
39936
39936
|
|
|
39937
39937
|
// src/helpers/index.ts
|
|
39938
39938
|
var fs2 = __toESM(require("fs"), 1);
|
|
@@ -48774,7 +48774,7 @@ async function extractZipToDirectory(zipBuffer, destDir) {
|
|
|
48774
48774
|
var aiContextCommand = async (options = {}) => {
|
|
48775
48775
|
const targetDir = options.targetDir || process.cwd();
|
|
48776
48776
|
const contextDestDir = path5.join(targetDir, ".seeka", "ai", "context");
|
|
48777
|
-
const contextUrl = getContextPackageUrl(
|
|
48777
|
+
const contextUrl = getContextPackageUrl(targetDir, options.contextPackageUrl);
|
|
48778
48778
|
console.log("Seeka AI Context");
|
|
48779
48779
|
console.log("================");
|
|
48780
48780
|
console.log("");
|
|
@@ -52549,7 +52549,7 @@ var buildProgram = () => {
|
|
|
52549
52549
|
// appSettings: options.appSettings ? map(stringArrayToMap(options.appSettings), (k, v) => { return { name: k } }) : [],
|
|
52550
52550
|
npmUsername: options.npmUsername,
|
|
52551
52551
|
npmPassword: options.npmPassword,
|
|
52552
|
-
contextPackageUrl: options.contextPackageUrl
|
|
52552
|
+
contextPackageUrl: getContextPackageUrl(void 0, options.contextPackageUrl)
|
|
52553
52553
|
};
|
|
52554
52554
|
await initCommandV2(initOptions);
|
|
52555
52555
|
}).showHelpAfterError(true);
|