@apex-inc/mcp-server 0.39.0 → 0.41.0
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/README.md +1 -1
- package/dist/api-client.d.ts +22 -0
- package/dist/api-client.d.ts.map +1 -1
- package/dist/api-client.js +61 -1
- package/dist/api-client.js.map +1 -1
- package/dist/auth.d.ts +22 -0
- package/dist/auth.d.ts.map +1 -1
- package/dist/auth.js +71 -5
- package/dist/auth.js.map +1 -1
- package/dist/base-url.d.ts +8 -0
- package/dist/base-url.d.ts.map +1 -0
- package/dist/base-url.js +10 -0
- package/dist/base-url.js.map +1 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/letter-blocks.d.ts +17 -0
- package/dist/letter-blocks.d.ts.map +1 -1
- package/dist/letter-blocks.js +64 -0
- package/dist/letter-blocks.js.map +1 -1
- package/dist/preview-images.d.ts +9 -0
- package/dist/preview-images.d.ts.map +1 -0
- package/dist/preview-images.js +29 -0
- package/dist/preview-images.js.map +1 -0
- package/dist/prompts.d.ts +14 -0
- package/dist/prompts.d.ts.map +1 -1
- package/dist/prompts.js +31 -6
- package/dist/prompts.js.map +1 -1
- package/dist/repo-binding.d.ts +8 -0
- package/dist/repo-binding.d.ts.map +1 -0
- package/dist/repo-binding.js +13 -0
- package/dist/repo-binding.js.map +1 -0
- package/dist/resources.d.ts +13 -0
- package/dist/resources.d.ts.map +1 -1
- package/dist/resources.js +16 -0
- package/dist/resources.js.map +1 -1
- package/dist/setup-catchup-tools.d.ts +283 -5
- package/dist/setup-catchup-tools.d.ts.map +1 -1
- package/dist/setup-catchup-tools.js +348 -13
- package/dist/setup-catchup-tools.js.map +1 -1
- package/dist/setup-checklist.d.ts +68 -0
- package/dist/setup-checklist.d.ts.map +1 -0
- package/dist/setup-checklist.js +128 -0
- package/dist/setup-checklist.js.map +1 -0
- package/dist/setup-flow.d.ts +14 -0
- package/dist/setup-flow.d.ts.map +1 -0
- package/dist/setup-flow.js +52 -0
- package/dist/setup-flow.js.map +1 -0
- package/dist/smoke-tools.d.ts.map +1 -1
- package/dist/smoke-tools.js +2 -0
- package/dist/smoke-tools.js.map +1 -1
- package/dist/tool-groups.d.ts.map +1 -1
- package/dist/tool-groups.js +23 -0
- package/dist/tool-groups.js.map +1 -1
- package/dist/tool-shared.d.ts.map +1 -1
- package/dist/tool-shared.js +11 -4
- package/dist/tool-shared.js.map +1 -1
- package/dist/tools/ad-platforms.d.ts +240 -0
- package/dist/tools/ad-platforms.d.ts.map +1 -0
- package/dist/tools/ad-platforms.js +294 -0
- package/dist/tools/ad-platforms.js.map +1 -0
- package/dist/tools/adoption.d.ts +24 -2
- package/dist/tools/adoption.d.ts.map +1 -1
- package/dist/tools/adoption.js +24 -3
- package/dist/tools/adoption.js.map +1 -1
- package/dist/tools/context.d.ts +10 -0
- package/dist/tools/context.d.ts.map +1 -1
- package/dist/tools/context.js +36 -31
- package/dist/tools/context.js.map +1 -1
- package/dist/tools/experiments.d.ts +2 -2
- package/dist/tools/experiments.d.ts.map +1 -1
- package/dist/tools/experiments.js +2 -2
- package/dist/tools/experiments.js.map +1 -1
- package/dist/tools/letters.d.ts +48 -8
- package/dist/tools/letters.d.ts.map +1 -1
- package/dist/tools/letters.js +59 -5
- package/dist/tools/letters.js.map +1 -1
- package/dist/tools/measurement.d.ts +2 -2
- package/dist/tools/measurement.d.ts.map +1 -1
- package/dist/tools/measurement.js +4 -3
- package/dist/tools/measurement.js.map +1 -1
- package/dist/tools.d.ts +639 -19
- package/dist/tools.d.ts.map +1 -1
- package/dist/tools.js +2 -0
- package/dist/tools.js.map +1 -1
- package/package.json +3 -2
- package/skills/apex-communications/SKILL.md +5 -1
- package/skills/apex-growth-tracking/SKILL.md +1 -0
- package/skills/apex-integration-cookbook/SKILL.md +21 -7
- package/skills/apex-setup/SKILL.md +69 -0
package/dist/tools.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d.ts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AC;;;;;;;;;;;;;;;eAdpk+G,SAAS;;;;;;;;;;;;;;;;;;;;gBAcs3jH,CAAC;;;;;;;;;;;;;;;eAdh4jH,SAAS;;;;;;;;;;;;mBAcy2lH,CAAC;;;;;;;;eAdn3lH,SAAS;;;;;;;;;;;;;;;;;;;;;;;;eAAT,SAAS;;;;;;;;;;;;;;;;;;;;eAAT,SAAS;;;;;;;;;;;;;;;;;;;iBAcg+1H,CAAC;sBAA2B,CAAC;;;;;;;;eAdtg2H,SAAS;;;;;;;;;;;;;;;;;;;;eAAT,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAcog+H,CAAC;;;;;;;;eAd9g+H,SAAS;;;;;;;;;;;;;;;;;;;;eAAT,SAAS;;;;;;;;;;;;;;;;wBAc+ilI,CAAC;;;;;;;;eAdzjlI,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAcmvwI,CAAC;;eAA6C,CAAC;;;;;;;;eAd3ywI,SAAS;;;;;;;;;;;;;;;;;;;;;;;;eAAT,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAco41I,CAAC;;;;;;;;;;;;eAd941I,SAAS;;;;;;;;;;;;;;;;;;;;eAAT,SAAS;;;;;;;;;;;;;;;;;;;;eAAT,SAAS;;;;;;;;;;;;eAAT,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAAT,SAAS;;;;;;;;;;;;;;;;;;;;eAAT,SAAS;;CAa3D,CAAC"}
|
package/dist/tools.js
CHANGED
|
@@ -7,6 +7,7 @@ import { partnerTools } from "./tools/partners.js";
|
|
|
7
7
|
import { measurementTools } from "./tools/measurement.js";
|
|
8
8
|
import { accountTools } from "./tools/accounts.js";
|
|
9
9
|
import { contextTools } from "./tools/context.js";
|
|
10
|
+
import { adPlatformTools } from "./tools/ad-platforms.js";
|
|
10
11
|
function stampGroups(tools) {
|
|
11
12
|
for (const [name, def] of Object.entries(tools)) {
|
|
12
13
|
const group = toolGroup(name);
|
|
@@ -23,6 +24,7 @@ export const toolDefinitions = stampGroups({
|
|
|
23
24
|
...adoptionTools,
|
|
24
25
|
...partnerTools,
|
|
25
26
|
...measurementTools,
|
|
27
|
+
...adPlatformTools,
|
|
26
28
|
...accountTools,
|
|
27
29
|
...contextTools,
|
|
28
30
|
...setupCatchupTools,
|
package/dist/tools.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.js","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAkB,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"tools.js","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAkB,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAQ1D,SAAS,WAAW,CAAoC,KAAQ;IAC9D,KAAK,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QAChD,MAAM,KAAK,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC;QAC9B,IAAI,CAAC,KAAK,EAAE,CAAC;YACX,MAAM,IAAI,KAAK,CAAC,YAAY,IAAI,kCAAkC,CAAC,CAAC;QACtE,CAAC;QACA,GAAsC,CAAC,KAAK,GAAG,KAAK,CAAC;IACxD,CAAC;IACD,OAAO,KAAwD,CAAC;AAClE,CAAC;AAED,MAAM,CAAC,MAAM,eAAe,GAAG,WAAW,CAAC;IACzC,GAAG,eAAe;IAClB,GAAG,WAAW;IACd,GAAG,aAAa;IAChB,GAAG,YAAY;IACf,GAAG,gBAAgB;IACnB,GAAG,eAAe;IAClB,GAAG,YAAY;IACf,GAAG,YAAY;IACf,GAAG,iBAAiB;CACrB,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apex-inc/mcp-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.41.0",
|
|
4
4
|
"description": "MCP server for Apex. Your coding agent talks to the same Apex the dashboard uses.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
"test": "vitest run",
|
|
16
16
|
"smoke": "npx tsx scripts/smoke-tools.ts",
|
|
17
17
|
"prepublishOnly": "node scripts/assert-product-update.mjs && npm run build",
|
|
18
|
-
"postpublish": "node scripts/notify-product-update.mjs"
|
|
18
|
+
"postpublish": "node scripts/notify-product-update.mjs",
|
|
19
|
+
"notify-product-update": "node scripts/notify-product-update.mjs --send"
|
|
19
20
|
},
|
|
20
21
|
"keywords": [
|
|
21
22
|
"mcp",
|
|
@@ -57,6 +57,10 @@ A comm that's live in a published journey also needs `intent`, whatever its
|
|
|
57
57
|
`add_communication_variant`, then `publish_communication` with `intent: "compete"`.
|
|
58
58
|
Rewriting what's sending is `replace`.
|
|
59
59
|
|
|
60
|
+
Publishing switches every journey that sends the letter to the new version.
|
|
61
|
+
When the user wants some journeys to keep today's version, pass their ids in
|
|
62
|
+
`opt_out_journey_ids`.
|
|
63
|
+
|
|
60
64
|
### The two intents
|
|
61
65
|
|
|
62
66
|
- **`intent: "compete"`** — *Start an experiment.* What's sending now stays
|
|
@@ -202,7 +206,7 @@ When you draft or edit a letter:
|
|
|
202
206
|
|
|
203
207
|
- `list_communication_themes` before restyling a series.
|
|
204
208
|
- `create_communication_theme` / `update_communication_theme` to save a look. Style saves do not rewrite other emails.
|
|
205
|
-
- `apply_communication_theme` stamps a look onto chosen emails. Default is draft (merchant still publishes). Pass `apply=live` for the next send.
|
|
209
|
+
- `apply_communication_theme` stamps a look onto chosen emails. Default is draft (merchant still publishes). Pass `apply=live` for the next send: it publishes a version with only the look, and other unpublished edits stay drafts. Add `publish_edits_ids` only when the merchant asked to publish those edits too. Emails in a running test are skipped. Emails Apex couldn't check for a running test come back as `unchecked` with nothing changed: retry them, and pass `confirm_not_in_test_ids` only when the merchant says they aren't in a test. `publish_communication` refuses the same way (`test_check_unavailable`).
|
|
206
210
|
- Never group communications by `experiment-*` catalog id. A shop's "Order updates" series is the same object as Apex's own status emails.
|
|
207
211
|
|
|
208
212
|
## Exit Rules: The Quiet Half of Lifecycle Messaging
|
|
@@ -38,6 +38,7 @@ When a user was anonymous and then becomes known (signup, login, checkout email)
|
|
|
38
38
|
|
|
39
39
|
- Call **`identify`** with a stable `userId` and pass **`traits.email`** when applicable.
|
|
40
40
|
- **Server-side** `identify` (webhooks, API routes): pass **`traits.visitorId`** = value of the browser **`apex_vid`** cookie so the stitch links to the real marketing session. Without it, Apex may create a synthetic visitor disconnected from prior events.
|
|
41
|
+
- **Sign-out**: call **`reset()`** from `@apex-inc/sdk` (or `window.apex.reset()` on snippet-only sites) in every logout handler. It starts the browser as a fresh anonymous visitor, so a shared computer does not credit the next person's visits to the last one. Without it, Apex still never merges two signed-in people; anonymous visits go to whoever signed in on that browser most recently.
|
|
41
42
|
|
|
42
43
|
## B2B accounts + groups (model the company, not just the seat)
|
|
43
44
|
|
|
@@ -337,15 +337,11 @@ financial boundary with no API-key lane).
|
|
|
337
337
|
|
|
338
338
|
## Recipe: Set up Apex from this repo
|
|
339
339
|
|
|
340
|
+
The full flow lives in the `apex-setup` skill and the `/setup-apex` prompt: sign in, which shop this repo is, name it, install, watch events arrive, conversion, checklist, browser steps, first value.
|
|
341
|
+
|
|
340
342
|
If get_setup_state shows first-run incomplete, name the merchant before inventing events.
|
|
341
343
|
|
|
342
|
-
|
|
343
|
-
2. `update_organization` with the shop's real name. `update_workspace` with `workspace_name`, `vertical`, `conversion_model`, and `website_url` when you know them. The rail finishes from those saves — do not look for a mark-complete tool.
|
|
344
|
-
3. Name Production (and optional Beta) sites with `list_workspace_environments` / `set_workspace_environments` before you trust the Production slice.
|
|
345
|
-
4. Install the snippet or SDK and wire the events the shop actually fires. Do not invent event names to make a step look done.
|
|
346
|
-
5. Finish writable setup with the matching tools (`claim_links_subdomain`, `set_consent_posture`, webhooks, scoring, invitations, engagement, app platforms, attribution, sender domain, push keys, protect auto-pause). Consent answers are not a live-site tap. Sender-domain records issued are not green — poll `get_sender_domain` until verified.
|
|
347
|
-
6. Hop only when the next incomplete step is a hop: `start_integration_install` for GitHub, Stripe, Meta, Google, LinkedIn, or TikTok. Legal acknowledgements stay on the opened page. You cannot click the ad consoles or the DNS registrar for them.
|
|
348
|
-
7. After ads are connected, make a paid Apex Link before inventing UTMs. Do not stamp conversion ack. `create_apex_link` writes the paid medium. `set_ad_measurement_events` chooses which sales to forward and returns a URL if the legal sentence is still open. `set_conversion_source_of_truth` picks who owns the sale. The rail finishes when those things exist — there is no mark-complete tool.
|
|
344
|
+
After ads are connected, make a paid Apex Link before inventing UTMs. Do not stamp conversion ack. `create_apex_link` writes the paid medium. `set_ad_measurement_events` chooses which sales to forward and returns a URL if the legal sentence is still open. `set_conversion_source_of_truth` picks who owns the sale. The rail finishes when those things exist — there is no mark-complete tool.
|
|
349
345
|
|
|
350
346
|
## Recipe: Apex Links for app installs (Mobile Measurement)
|
|
351
347
|
|
|
@@ -369,3 +365,21 @@ const live = await apex.links.list({ enabled: true });
|
|
|
369
365
|
```
|
|
370
366
|
|
|
371
367
|
Experiments live under `apex.experiments.*` (`list`, `get`, `getResults`, `activate`, `promote`, `assignVariant`, `checkConflicts`, `checkLiveTests`). `apex.mobile` is reserved for install attribution and SKAN values.
|
|
368
|
+
|
|
369
|
+
## Recipe: Buyer lists on ad platforms (MCP)
|
|
370
|
+
|
|
371
|
+
A buyer list is one of the shop's segments, kept on Meta, Google or LinkedIn by Apex and refreshed every day. The shop picks it on an ad set once, to leave buyers out of prospecting or to find more people like them. Same as Attribution → Ad platforms → Who sees your ads.
|
|
372
|
+
|
|
373
|
+
1. `list_audiences` shows each list, its segment, the goal it was made for, the platforms it goes to, the platforms it actually reached, and how many people it holds back.
|
|
374
|
+
2. `update_audience` changes where a list goes (`platforms`) or how many people are held back (`holdout_percent`: 0, 5, 10 or 20). 0 stops holding anyone back. Dropping a platform the list already reached deletes the list there, which cannot be undone. Without `confirm_delete: true` the tool changes nothing and lists those platforms in `would_delete_from`; ask the shop, then call again with it. A platform that refuses the delete comes back in `refused`.
|
|
375
|
+
3. `remove_audience` takes the list off every platform it reached. It cannot be undone and any ad set using it stops using it, so ask the shop first and pass `confirm: true` only after they say yes. A platform that refuses comes back in `refused`; tell the shop to delete it there by hand.
|
|
376
|
+
|
|
377
|
+
A held-back list that belongs to an Ad holdout experiment is the experiment's. These tools refuse it; pause or archive the experiment instead.
|
|
378
|
+
|
|
379
|
+
When someone asks to be deleted or opts out of ads, Apex takes them off every list right away. If a platform refuses or isn't connected, they stay on it, and `list_audience_removals` shows them: how many each list still owes per platform, why, and what the platform said. Apex retries every day for 30 days, then stops (`stopped_retrying`) and waits for the shop. Tell the shop plainly that people who asked to be removed are still being shown ads there. If `why` is `not_connected`, the shop reconnects the platform; then call `retry_audience_removals` with the list's id, which also tries the ones Apex stopped on. Its `still_owed` says who is left.
|
|
380
|
+
|
|
381
|
+
To add a list, start from what the shop wants its ads to do. `list_audience_goals` returns four goals: `win_back` (bought, but not within `window_days`, which comes from the shop's kind of business), `stop_paying` (everyone who ever bought, left out of ads for new people), `interested` (added to cart or started checkout in the last 30 days and never bought; `locked` until those events arrive) and `lookalike` (everyone who bought, with what each spent, for a Meta value-based lookalike). Each says where its list can go now (`networks`) and which lists the shop already made for it (`lists`). If a goal already has a list, ask whether they want another rather than a copy. Tell the shop who goes and where, then call `add_audience` with the goal and `confirm: true`. Apex saves the goal's rule as a segment named after the list, so the shop can change who's on it in Segments, and sends the list right away unless `send_now: false`. The result's `sent` says how many people each platform took. Spend goes only to Meta: neither LinkedIn's nor Google's list upload takes it, so a list that carries spend reaches them as the same people without it. Say so rather than calling a Google or LinkedIn list value-based.
|
|
382
|
+
|
|
383
|
+
Before sending one of the shop's own events (a trial start, a booked demo) to its ad platforms, call `preview_ad_platform_send` with the event name and what it means (`purchase`, `lead`, `signup`, `subscription`, `add_to_cart`, or `something_else`). Show the shop which platforms would hear it, under what name, and which can't and why, plus the `estimate`: how often it happened in the last 30 days and what a month of sends costs at the shop's price. It saves and sends nothing.
|
|
384
|
+
|
|
385
|
+
When the shop says yes, call `add_ad_platform_send` with the same event and meaning and `confirm: true`. It saves the send on the shop's Conversion for that event, so experiments and goals count the same thing. If that Conversion already means something else, the tool is refused; change the meaning on Conversions first rather than picking a different meaning to get around it. For `something_else`, Apex makes the conversion on Meta itself so campaigns can optimize for it; if `couldnt_make` comes back, tell the shop Meta's reason (usually a reconnect). A platform showing `not_agreed` only hears it after the shop agrees on Attribution → Ad platforms; the tool never agrees for them. If `without_consent_answer` is `not_sent`, only events that carry a yes go out. `list_ad_platform_sends` shows what is being sent, and `remove_ad_platform_send` stops one and keeps the Conversion.
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: apex-setup
|
|
3
|
+
description: Set up Apex in a repo from the editor. Sign in by browser approval, find or create the shop this repo belongs to, name it, install and wire events, pick the conversion, work the Set up Apex checklist, stop for browser steps, and end on a first experiment or message. Use when someone says "set up Apex", "install Apex", "connect Apex", or runs /setup-apex.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Set up Apex in this repo
|
|
7
|
+
|
|
8
|
+
The owner should be looking at live data a few minutes after asking. They only open a browser when a person has to sign in, pay, or own a console or DNS.
|
|
9
|
+
|
|
10
|
+
Three rules hold the whole way:
|
|
11
|
+
|
|
12
|
+
- **No tool marks a step done.** Steps finish when the real thing happens: the name is saved, events arrive, the domain verifies. If a step looks stuck, the thing it waits on has not happened.
|
|
13
|
+
- **The owner's "no" is theirs.** Record a skip or decline only after they say so, in their words.
|
|
14
|
+
- **Every setup reply names the shop it wrote to** (`shop`). If it is not this repo's shop, stop and switch before the next write.
|
|
15
|
+
|
|
16
|
+
The same steps run as the `/setup-apex` prompt.
|
|
17
|
+
|
|
18
|
+
## 1. Sign in
|
|
19
|
+
Call get_setup_state. If Apex is not connected yet, the reply carries an approval link: show it, call wait_for_apex_approval, then carry on. Sign-in is browser approval only. Never ask for, paste, or save an API key to set up. If a reply starts with APEX_WAITING_FOR_ACCESS, say so in one sentence, give the link it names, and stop.
|
|
20
|
+
|
|
21
|
+
## 2. Which shop is this repo
|
|
22
|
+
Read .apex/workspace.json. If it exists, switch_workspace to its workspace_key. If not, look for an Apex snippet or SDK workspace key in the code; that key is the shop, and you write the file. If neither, ask the owner once: one of their workspaces (list_orgs shows them by organization), a new workspace in one of their organizations (create_workspace), or a separate company (create_organization). Ask "separate company, or another site of the same business?" before creating either. Write and commit the file. Every setup reply names the shop it wrote to; if it is not this repo's shop, stop and switch.
|
|
23
|
+
|
|
24
|
+
## 3. Name the shop from the repo
|
|
25
|
+
If get_setup_state shows first-run incomplete, name the merchant before inventing events. Read the repo (package name, README, site config) and propose the organization name, workspace name, what the shop does, how people convert, and the website. Confirm with the owner, then save with update_organization and update_workspace. Set site_install to codebase when you install from this repo.
|
|
26
|
+
|
|
27
|
+
## 4. Install and wire events
|
|
28
|
+
Install the SDK or snippet the checklist names. Read get_event_spec before writing track calls, scan the code for what the shop actually does, and report it with propose_wiring_plan. Wire those events. Do not invent event names to make a step look done. Then watch them arrive with apex_recent_events and get_wiring_status before moving on.
|
|
29
|
+
|
|
30
|
+
## 5. Pick what counts as a conversion
|
|
31
|
+
Ask the owner which event is the sale, signup, or lead that matters. Save it with create_conversion and set_primary_conversion.
|
|
32
|
+
|
|
33
|
+
## 6. Work the checklist
|
|
34
|
+
Call get_setup_state after every write and work the next step with the tool it names. When the owner says a step or area is not for them, record it with skip_setup_step or decline_setup_area, in their words. Never record one to make progress look finished. No tool marks a step done; steps finish when the real thing happens.
|
|
35
|
+
|
|
36
|
+
## 7. Browser steps
|
|
37
|
+
When the next step needs a person (payment, an ad or app store console, DNS, legal acknowledgements), give the link and the reason from the checklist and wait. Use start_integration_install for GitHub, Stripe, ad platforms, and Google Analytics; it polls until connected. After ads are connected, make a paid Apex Link before inventing UTMs.
|
|
38
|
+
|
|
39
|
+
## 8. First value
|
|
40
|
+
Once events are live, show the owner what arrived with apex_recent_events, and give them the live stream link it returns so they can watch their own site talk to Apex. Then propose exactly one first step from what you learned about the shop: one experiment with plan_experiment, or one message with recommend_communications. Say why it fits this shop in a sentence. Create nothing live without the owner's yes; a draft they can open is fine.
|
|
41
|
+
|
|
42
|
+
## Things that look done and are not
|
|
43
|
+
|
|
44
|
+
- Name Production (and optional Beta) sites with `list_workspace_environments` / `set_workspace_environments` before you trust the Production numbers.
|
|
45
|
+
- Consent answers (`set_consent_posture`) are not a tap on the live site. The owner still taps Allow there.
|
|
46
|
+
- Sender-domain records issued are not verified. Poll `get_sender_domain` until it is.
|
|
47
|
+
- Legal acknowledgements stay on the page `start_integration_install` opens. You cannot click the ad consoles or the DNS registrar for them.
|
|
48
|
+
|
|
49
|
+
## The repo binding file
|
|
50
|
+
|
|
51
|
+
`.apex/workspace.json` is committed with the repo:
|
|
52
|
+
|
|
53
|
+
```json
|
|
54
|
+
{
|
|
55
|
+
"workspace_key": "acme-shop-x1",
|
|
56
|
+
"workspace_name": "Acme Shop",
|
|
57
|
+
"org_name": "Acme Co"
|
|
58
|
+
}
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
The workspace key is not a secret; it already ships in the site's snippet. One editor install serves every shop the person can reach, and each repo's file decides which one it is. `create_workspace` and `create_organization` return this file's contents in `repo_binding`.
|
|
62
|
+
|
|
63
|
+
## Example: two companies, one person
|
|
64
|
+
|
|
65
|
+
Noah is signed in with his personal workspace. He opens his company's repo and says "set up Apex in this repo." There is no binding file and no snippet, so the agent asks which shop. He picks "a separate company". The agent creates the "Acme Co" organization, switches to its workspace, writes `.apex/workspace.json`, and runs setup. Back in his personal repo, that repo's file sends the agent to his personal workspace with no question asked.
|
|
66
|
+
|
|
67
|
+
## Keys are for servers
|
|
68
|
+
|
|
69
|
+
An API key is for a server or CI job that cannot do browser approval (`/apex-keys`). Never put one in a committed file. Receipt keys and server keys go in the host's secret store.
|