Skip to content

Commit 1604c00

Browse files
Bill LeoutsakosBill Leoutsakos
authored andcommitted
Merge staging and preserve canonical documentation schemas
2 parents 2e1771d + 52878d1 commit 1604c00

30 files changed

Lines changed: 1768 additions & 1061 deletions

‎.agents/skills/add-block/SKILL.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -562,6 +562,11 @@ Use `wandConfig` on fields that are hard to fill by hand — timestamps (`genera
562562

563563
## Tools Configuration
564564

565+
**Write operation ids and tool ids as string literals** in the `operation` dropdown `options` and
566+
`tools.access`, never through constants (`id: SEARCH`, `access: [SEARCH]`). `scripts/generate-docs.ts`
567+
reads them from source with regexes, so a constant parses as empty: the docs page loses its whole
568+
Actions section and the integration catalog ships blank operation descriptions, with no check failing.
569+
565570
**Preferred:** Use tool names directly as dropdown option IDs to avoid switch cases:
566571
```typescript
567572
// Dropdown options use tool IDs directly

‎apps/docs/content/docs/integrations/ashby.mdx‎

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1458,6 +1458,15 @@ Lists interview schedules in Ashby, optionally filtered by application or interv
14581458
| ↳ `status` | string | Schedule status \(NeedsScheduling, WaitingOnCandidateBooking, Scheduled, Complete, Cancelled, OnHold, etc.\) |
14591459
| ↳ `applicationId` | string | Associated application UUID |
14601460
| ↳ `interviewStageId` | string | Interview stage UUID |
1461+
| ↳ `scheduledBy` | object | User summary |
1462+
| ↳ `id` | string | User UUID |
1463+
| ↳ `firstName` | string | First name |
1464+
| ↳ `lastName` | string | Last name |
1465+
| ↳ `email` | string | Email |
1466+
| ↳ `globalRole` | string | Role |
1467+
| ↳ `isEnabled` | boolean | Whether enabled |
1468+
| ↳ `updatedAt` | string | Last update timestamp |
1469+
| ↳ `managerId` | string | User ID of the user's manager |
14611470
| ↳ `createdAt` | string | ISO 8601 creation timestamp |
14621471
| ↳ `updatedAt` | string | ISO 8601 last update timestamp |
14631472
| ↳ `interviewEvents` | array | Scheduled interview events on this schedule |
@@ -2004,12 +2013,7 @@ Sets several custom field values on one Ashby Application, Candidate, Job, or Op
20042013

20052014
| Parameter | Type | Description |
20062015
| --------- | ---- | ----------- |
2007-
| `customFields` | array | The custom fields as stored on the object after the write |
2008-
| ↳ `id` | string | Custom field UUID |
2009-
| ↳ `title` | string | Field title |
2010-
| ↳ `isPrivate` | boolean | Whether the field is private |
2011-
| ↳ `valueLabel` | json | Human-readable value label, present only for ValueSelect and MultiValueSelect fields. A string for ValueSelect, an array of strings for MultiValueSelect. |
2012-
| ↳ `value` | string | Raw field value \(type depends on fieldType\) |
2016+
| `customFields` | array | Custom field values |
20132017

20142018
### Ashby Update Candidate
20152019

‎apps/docs/content/docs/integrations/coda.mdx‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,10 @@ Get the type and current value of a control in a Coda doc
409409
| Parameter | Type | Description |
410410
| --------- | ---- | ----------- |
411411
| `control` | object | Control details |
412+
| ↳ `id` | string | ID |
413+
| ↳ `name` | string | Name |
414+
| ↳ `href` | string | API link |
415+
| ↳ `parent` | object (nullable) | Page containing the item |
412416
| ↳ `controlType` | string (nullable) | Control type \(aiBlock, button, checkbox, datePicker, dateRangePicker, dateTimePicker, lookup, multiselect, select, scale, slider, reaction, textbox, timePicker\) |
413417
| ↳ `value` | json (nullable) | Current value \(string, number, boolean, or array of these\) |
414418

@@ -496,6 +500,10 @@ Get the current computed value of a named formula in a Coda doc
496500
| Parameter | Type | Description |
497501
| --------- | ---- | ----------- |
498502
| `formula` | object | Formula details |
503+
| ↳ `id` | string | ID |
504+
| ↳ `name` | string | Name |
505+
| ↳ `href` | string | API link |
506+
| ↳ `parent` | object (nullable) | Page containing the item |
499507
| ↳ `value` | json (nullable) | Computed value \(string, number, boolean, or array of these\) |
500508

501509
### Coda Get Mutation Status
@@ -738,6 +746,13 @@ Get per-day or cumulative analytics (views, copies, likes, sessions by device, A
738746
| --------- | ---- | ----------- |
739747
| `items` | array | Analytics per doc |
740748
| ↳ `doc` | object | Doc the metrics belong to |
749+
| ↳ `id` | string | Doc ID |
750+
| ↳ `title` | string | Doc title |
751+
| ↳ `href` | string | API link to the doc |
752+
| ↳ `browserLink` | string | Browser link to the doc |
753+
| ↳ `icon` | object (nullable) | Doc icon |
754+
| ↳ `createdAt` | string (nullable) | Doc creation time |
755+
| ↳ `publishedAt` | string (nullable) | Doc publish time |
741756
| ↳ `metrics` | array | Metrics per date |
742757
| ↳ `date` | string (nullable) | Date of the data \(YYYY-MM-DD\) |
743758
| ↳ `views` | number (nullable) | Doc views |
@@ -856,6 +871,9 @@ Get daily analytics (views, sessions, users, time viewed) for each page of a Cod
856871
| --------- | ---- | ----------- |
857872
| `items` | array | Analytics per page |
858873
| ↳ `page` | object | Page the metrics belong to |
874+
| ↳ `id` | string | Page ID |
875+
| ↳ `name` | string | Page name |
876+
| ↳ `icon` | object (nullable) | Page icon |
859877
| ↳ `metrics` | array | Metrics per date |
860878
| ↳ `date` | string (nullable) | Date of the data \(YYYY-MM-DD\) |
861879
| ↳ `views` | number (nullable) | Page views that day |

‎apps/docs/content/docs/integrations/confluence.mdx‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,9 @@ Retrieve content from Confluence pages using the Confluence API.
4949
| `createdAt` | string | ISO 8601 timestamp when the page was created |
5050
| `url` | string | URL to view the page in Confluence |
5151
| `body` | object | Raw page body content in storage format |
52-
| ↳ `value` | string | The content value in the specified format |
53-
| ↳ `representation` | string | Content representation type |
52+
| ↳ `storage` | object | Body in storage format \(Confluence markup\) |
53+
| ↳ `value` | string | The content value in the specified format |
54+
| ↳ `representation` | string | Content representation type |
5455
| `version` | object | Page version information |
5556
| ↳ `number` | number | Version number |
5657
| ↳ `message` | string | Version message |
@@ -319,8 +320,9 @@ Get details about a specific version of a Confluence page.
319320
| ↳ `prevVersion` | number | Previous version number |
320321
| ↳ `nextVersion` | number | Next version number |
321322
| `body` | object | Raw page body content in storage format at this version |
322-
| ↳ `value` | string | The content value in the specified format |
323-
| ↳ `representation` | string | Content representation type |
323+
| ↳ `storage` | object | Body in storage format \(Confluence markup\) |
324+
| ↳ `value` | string | The content value in the specified format |
325+
| ↳ `representation` | string | Content representation type |
324326

325327
### Confluence List Page Properties
326328

‎apps/docs/content/docs/integrations/context_dev.mdx‎

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ Scrape any URL and return clean, LLM-ready markdown content.
5656
| --------- | ---- | ----------- |
5757
| `markdown` | string | Page content as clean markdown |
5858
| `url` | string | The scraped URL |
59+
| `creditsConsumed` | number | Credits consumed by this request |
60+
| `creditsRemaining` | number | Credits remaining on the API key |
5961

6062
### Context.dev Scrape HTML
6163

@@ -80,6 +82,8 @@ Scrape any URL and return the raw HTML content of the page.
8082
| `html` | string | Raw HTML content of the page |
8183
| `url` | string | The scraped URL |
8284
| `type` | string | Detected content type \(html, xml, json, text, csv, markdown, svg, pdf, doc, docx\) |
85+
| `creditsConsumed` | number | Credits consumed by this request |
86+
| `creditsRemaining` | number | Credits remaining on the API key |
8387

8488
### Context.dev Scrape Images
8589

@@ -110,6 +114,8 @@ Discover every image asset on a page, with optional dimension and type enrichmen
110114
| ↳ `alt` | string | Alt text |
111115
| ↳ `enrichment` | json | Optional enrichment \(width, height, mimetype, url, type\) when requested |
112116
| `url` | string | The scraped URL |
117+
| `creditsConsumed` | number | Credits consumed by this request |
118+
| `creditsRemaining` | number | Credits remaining on the API key |
113119

114120
### Context.dev Screenshot
115121

@@ -139,6 +145,8 @@ Capture a screenshot of any web page and store it as a downloadable image file.
139145
| `domain` | string | Domain that was captured |
140146
| `width` | number | Screenshot width in pixels |
141147
| `height` | number | Screenshot height in pixels |
148+
| `creditsConsumed` | number | Credits consumed by this request |
149+
| `creditsRemaining` | number | Credits remaining on the API key |
142150

143151
### Context.dev Crawl
144152

@@ -170,6 +178,8 @@ Crawl an entire website and return each discovered page as clean markdown.
170178
| ↳ `markdown` | string | Page content as markdown |
171179
| ↳ `metadata` | json | Page metadata \(url, title, crawlDepth, statusCode\) |
172180
| `metadata` | object | Crawl summary \(numUrls, maxCrawlDepth, numSucceeded, numFailed, numSkipped\) |
181+
| `creditsConsumed` | number | Credits consumed by this request |
182+
| `creditsRemaining` | number | Credits remaining on the API key |
173183

174184
### Context.dev Map
175185

@@ -192,6 +202,8 @@ Build a sitemap of a domain and return every discovered page URL.
192202
| `domain` | string | The domain that was mapped |
193203
| `urls` | array | All page URLs discovered from the sitemap |
194204
| `meta` | object | Sitemap discovery stats \(sitemapsDiscovered, sitemapsFetched, sitemapsSkipped, errors\) |
205+
| `creditsConsumed` | number | Credits consumed by this request |
206+
| `creditsRemaining` | number | Credits remaining on the API key |
195207

196208
### Context.dev Search
197209

@@ -223,6 +235,8 @@ Search the web with natural language and optionally scrape results to markdown.
223235
| ↳ `relevance` | string | Relevance rating \(high, medium, low\) |
224236
| ↳ `markdown` | json | Scraped markdown for the result \(when markdown scraping is enabled\) |
225237
| `query` | string | The query that was searched |
238+
| `creditsConsumed` | number | Credits consumed by this request |
239+
| `creditsRemaining` | number | Credits remaining on the API key |
226240

227241
### Context.dev Extract
228242

@@ -253,6 +267,8 @@ Crawl a website and extract structured data matching a provided JSON schema.
253267
| `urlsAnalyzed` | array | URLs that were analyzed during extraction |
254268
| `data` | json | Structured data matching the requested schema |
255269
| `metadata` | object | Crawl summary \(numUrls, maxCrawlDepth, numSucceeded, numFailed, numSkipped\) |
270+
| `creditsConsumed` | number | Credits consumed by this request |
271+
| `creditsRemaining` | number | Credits remaining on the API key |
256272

257273
### Context.dev Extract Product
258274

@@ -288,6 +304,8 @@ Detect and extract structured product details from a single product page URL.
288304
| ↳ `image_url` | string | Primary product image URL |
289305
| ↳ `images` | json | Product image URLs |
290306
| ↳ `sku` | string | Product SKU |
307+
| `creditsConsumed` | number | Credits consumed by this request |
308+
| `creditsRemaining` | number | Credits remaining on the API key |
291309

292310
### Context.dev Extract Products
293311

@@ -322,6 +340,8 @@ Extract the product catalog from a brand's website by domain (beta).
322340
| ↳ `image_url` | string | Primary product image URL |
323341
| ↳ `images` | json | Product image URLs |
324342
| ↳ `sku` | string | Product SKU |
343+
| `creditsConsumed` | number | Credits consumed by this request |
344+
| `creditsRemaining` | number | Credits remaining on the API key |
325345

326346
### Context.dev Scrape Fonts
327347

@@ -351,6 +371,8 @@ Extract the font families, usage stats, and font files used by a domain.
351371
| ↳ `percent_words` | number | Percent of words using the font |
352372
| ↳ `percent_elements` | number | Percent of elements using the font |
353373
| `fontLinks` | json | Font family download links keyed by font name \(type, files, category\) |
374+
| `creditsConsumed` | number | Credits consumed by this request |
375+
| `creditsRemaining` | number | Credits remaining on the API key |
354376

355377
### Context.dev Scrape Styleguide
356378

@@ -372,6 +394,8 @@ Extract a domain's design system: colors, typography, spacing, shadows, and UI c
372394
| `status` | string | Extraction status |
373395
| `domain` | string | The domain that was analyzed |
374396
| `styleguide` | json | Design system: mode, colors, typography, elementSpacing, shadows, fontLinks, components |
397+
| `creditsConsumed` | number | Credits consumed by this request |
398+
| `creditsRemaining` | number | Credits remaining on the API key |
375399

376400
### Context.dev Classify NAICS
377401

@@ -398,6 +422,8 @@ Classify a brand into NAICS industry codes from its domain or company name.
398422
| ↳ `code` | string | Industry code |
399423
| ↳ `name` | string | Industry name |
400424
| ↳ `confidence` | string | Match confidence \(high, medium, low\) |
425+
| `creditsConsumed` | number | Credits consumed by this request |
426+
| `creditsRemaining` | number | Credits remaining on the API key |
401427

402428
### Context.dev Classify SIC
403429

@@ -429,6 +455,8 @@ Classify a brand into SIC industry codes from its domain or company name.
429455
| ↳ `majorGroup` | string | Major group code \(original_sic only\) |
430456
| ↳ `majorGroupName` | string | Major group name \(original_sic only\) |
431457
| ↳ `office` | string | SEC office \(latest_sec only\) |
458+
| `creditsConsumed` | number | Credits consumed by this request |
459+
| `creditsRemaining` | number | Credits remaining on the API key |
432460

433461
### Context.dev Get Brand
434462

@@ -467,6 +495,8 @@ Retrieve brand data for a domain: logos, colors, backdrops, socials, address, an
467495
| ↳ `industries` | json | Industry taxonomy \(eic industry/subindustry pairs\) |
468496
| ↳ `links` | json | Key brand links \(careers, privacy, terms, blog, pricing, contact\) |
469497
| ↳ `primary_language` | string | Primary language of the brand site |
498+
| `creditsConsumed` | number | Credits consumed by this request |
499+
| `creditsRemaining` | number | Credits remaining on the API key |
470500

471501
### Context.dev Get Brand by Name
472502

@@ -506,6 +536,8 @@ Retrieve brand data by company name: logos, colors, socials, address, and indust
506536
| ↳ `industries` | json | Industry taxonomy \(eic industry/subindustry pairs\) |
507537
| ↳ `links` | json | Key brand links \(careers, privacy, terms, blog, pricing, contact\) |
508538
| ↳ `primary_language` | string | Primary language of the brand site |
539+
| `creditsConsumed` | number | Credits consumed by this request |
540+
| `creditsRemaining` | number | Credits remaining on the API key |
509541

510542
### Context.dev Get Brand by Email
511543

@@ -544,6 +576,8 @@ Retrieve brand data from a work email address. Free/disposable emails are reject
544576
| ↳ `industries` | json | Industry taxonomy \(eic industry/subindustry pairs\) |
545577
| ↳ `links` | json | Key brand links \(careers, privacy, terms, blog, pricing, contact\) |
546578
| ↳ `primary_language` | string | Primary language of the brand site |
579+
| `creditsConsumed` | number | Credits consumed by this request |
580+
| `creditsRemaining` | number | Credits remaining on the API key |
547581

548582
### Context.dev Get Brand by Ticker
549583

@@ -583,6 +617,8 @@ Retrieve brand data for a public company by its stock ticker symbol.
583617
| ↳ `industries` | json | Industry taxonomy \(eic industry/subindustry pairs\) |
584618
| ↳ `links` | json | Key brand links \(careers, privacy, terms, blog, pricing, contact\) |
585619
| ↳ `primary_language` | string | Primary language of the brand site |
620+
| `creditsConsumed` | number | Credits consumed by this request |
621+
| `creditsRemaining` | number | Credits remaining on the API key |
586622

587623
### Context.dev Identify Transaction
588624

@@ -625,3 +661,5 @@ Identify the brand behind a raw bank/card transaction descriptor and return its
625661
| ↳ `industries` | json | Industry taxonomy \(eic industry/subindustry pairs\) |
626662
| ↳ `links` | json | Key brand links \(careers, privacy, terms, blog, pricing, contact\) |
627663
| ↳ `primary_language` | string | Primary language of the brand site |
664+
| `creditsConsumed` | number | Credits consumed by this request |
665+
| `creditsRemaining` | number | Credits remaining on the API key |

0 commit comments

Comments
 (0)