Skip to content

Commit 685a024

Browse files
authored
Merge branch 'main' into ai-sdk-streaming
2 parents cc078c1 + 1e72520 commit 685a024

23 files changed

Lines changed: 1493 additions & 247 deletions

File tree

.github/workflows/update-cli-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
go-version: '1.26'
6060

6161
- name: Checkout cloud-cli repo
62-
uses: actions/checkout@v7
62+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
6363
with:
6464
path: cloud-cli
6565
submodules: recursive

.github/workflows/update-custom-role-permissions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
private-key: ${{ secrets.TEMPORAL_CICD_PRIVATE_KEY }}
2323

2424
- name: Checkout docs repo
25-
uses: actions/checkout@v7
25+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
2626
with:
2727
persist-credentials: true
2828
token: ${{ steps.generate_token.outputs.token }}

.github/workflows/vale-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
name: Lint prose
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v7
17+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
1818

1919
- uses: vale-cli/vale-action@2.1.2
2020
with:

COMPONENT_REGISTRY.md

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,40 +2,49 @@
22

33
Generated by `scripts/audit-components.mjs`. Run to update.
44

5-
**Coverage: 28/33 (85%)**
5+
**Coverage: 34/40 (85%)**
66

77
| Component | File Count | Strategy | Covered |
88
|-----------|------------|----------|---------|
9-
| `TabItem` | 44 | `tabitem` ||
10-
| `Tabs` | 43 | `tabs` ||
11-
| `ReleaseNoteHeader` | 41 | `release-note-header` ||
9+
| `TabItem` | 79 | `tabitem` ||
10+
| `Tabs` | 78 | `tabs` ||
11+
| `NoZoom` | 60 | `UNKNOWN` ||
12+
| `ReleaseNoteHeader` | 48 | `release-note-header` ||
1213
| `ViewSourceCodeNotice` | 24 | `view-source-code-notice` ||
1314
| `RelatedReadContainer` | 23 | `related-read-container` ||
1415
| `RelatedReadItem` | 20 | `related-read-item` ||
1516
| `SetupSteps` | 14 | `setup-steps` ||
1617
| `SetupStep` | 14 | `setup-step` ||
1718
| `CodeSnippet` | 14 | `code-snippet` ||
19+
| `PatternCards` | 13 | `cards` ||
1820
| `SdkTabs` | 8 | `sdk-tabs` ||
1921
| `CallToAction` | 8 | `call-to-action` ||
2022
| `CaptionedImage` | 7 | `captioned-image` ||
21-
| `IntegrationsGrid` | 5 | `integrations-grid` ||
23+
| `IntegrationsGrid` | 6 | `integrations-grid` ||
2224
| `ToolTipTerm` | 4 | `tooltip-term` ||
2325
| `JsonTable` | 3 | `json-table` ||
2426
| `AWSRegions` | 2 | `transclude` ||
2527
| `GCPRegions` | 2 | `transclude` ||
26-
| `PatternCards` | 2 | `cards` ||
2728
| `CustomRolePermissionsTable` | 1 | `transclude` ||
2829
| `InvitationContent` | 1 | `strip-block` ||
2930
| `RetrySimulator` | 1 | `strip-block` ||
31+
| `ServerlessWorkerDemo` | 1 | `strip-block` ||
32+
| `StandaloneActivityDemo` | 1 | `UNKNOWN` ||
3033
| `SayHelloWorkflow` | 1 | `UNKNOWN` ||
3134
| `ISayHelloNexusService` | 1 | `UNKNOWN` ||
3235
| `CallerWorkflow` | 1 | `UNKNOWN` ||
33-
| `StandaloneActivityDemo` | 1 | `UNKNOWN` ||
34-
| `SdkSvg` | 1 | `strip-block` ||
35-
| `SdkGuideLinks` | 1 | `UNKNOWN` ||
36-
| `ServerlessWorkerDemo` | 1 | `strip-block` ||
36+
| `SdkGuideLinks` | 1 | `sdk-guide-links` ||
3737
| `CloudRegionCount` | 1 | `strip-block` ||
38-
| `HomePageHero` | 1 | `home-page-hero` ||
38+
| `GuidesGrid` | 1 | `UNKNOWN` ||
39+
| `HeroWrapper` | 1 | `strip-tag` ||
40+
| `HeroHeader` | 1 | `strip-tag` ||
41+
| `HeroSection` | 1 | `strip-tag` ||
42+
| `HeroContent` | 1 | `strip-tag` ||
43+
| `HeroCta` | 1 | `strip-tag` ||
44+
| `HeroActions` | 1 | `strip-tag` ||
45+
| `ActionCard` | 1 | `hero-card` ||
46+
| `CommunityCards` | 1 | `strip-tag` ||
47+
| `CommunityCard` | 1 | `hero-card` ||
3948
| `OperationsTable` | 1 | `strip-block` ||
4049

4150
## Strategy Definitions

MARKDOWN_PIPELINE.md

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ docusaurus-plugin-llms ───────────────────
6969
| `scripts/mdx-to-md.mjs` | **The transformer.** Exports `transformMdx()` + parsing helpers and `COMPONENT_REGISTRY`. Zero-dependency ES module. |
7070
| `scripts/component-handlers/data-tables.mjs` | Handler for `<JsonTable>` — resolves a `static/json/*.json` file into a Markdown table. |
7171
| `scripts/component-handlers/integrations.mjs` | Handler for `<IntegrationsGrid>` — reads `src/components/IntegrationsGrid/integrations-data.json`, filters by the `defaultSdks` prop, and emits a Markdown list. |
72-
| `scripts/component-handlers/home-page-hero.mjs` | Handler for `<HomePageHero>` — emits the homepage hero's headline, intro, and link cards. Content is mirrored from the component (no shared data file). |
72+
| `scripts/component-handlers/hero.mjs` | Handler for the homepage hero cards (`<ActionCard>` / `<CommunityCard>`) — parses `title`/`href` props and children into a Markdown link-list item. Copy lives in `docs/index.mdx`; layout wrappers strip generically. |
7373
| `scripts/component-handlers/cards.mjs` | Handler for `<QuickstartCards>` / `<PatternCards>` — parses the inline `items={[{href,title,description}]}` prop into a Markdown link list. |
7474
| `scripts/audit-components.mjs` | Inventory/coverage tool. Scans all docs, reports per-component coverage, writes `COMPONENT_REGISTRY.md` at the repo root. |
7575
| `src/components/LLMActions/LLMActions.tsx` | On-page actions (Copy, View as Markdown, Open in ChatGPT/Claude). Points at the generated `/<path>.md` (not the raw MDX). |
@@ -118,7 +118,8 @@ Each component maps to a strategy in `COMPONENT_REGISTRY` (in `scripts/mdx-to-md
118118
| `SetupSteps` / `SetupStep` | `setup-steps` / `setup-step` | Prose children plus code extracted from the `code={…}` JSX prop |
119119
| `JsonTable` | `json-table` | Markdown table resolved from the referenced `static/json/*.json` |
120120
| `IntegrationsGrid` | `integrations-grid` | Markdown list resolved from `integrations-data.json`, filtered by the `defaultSdks` prop |
121-
| `HomePageHero` | `home-page-hero` | Homepage hero's headline, intro paragraphs, and link cards (content mirrored from the component) |
121+
| `ActionCard` / `CommunityCard` | `hero-card` | Homepage hero cards → `- [title](href): description` link-list item (copy authored in `docs/index.mdx`) |
122+
| `HeroWrapper`, `HeroHeader`, `HeroSection`, `HeroContent`, `HeroActions`, `HeroCta`, `CommunityCards` | `strip-tag` | Homepage hero layout wrappers — stripped to their inner Markdown (headline + intro prose) |
122123
| `QuickstartCards`, `PatternCards` | `cards` | Markdown link list parsed from the inline `items={[{href,title,description}]}` prop |
123124
| `ZoomPanPinch` | `transparent` | Wrapper stripped; inner content passed through |
124125
| `DocCardList`, `CardList`, `LandingCard`, `ThemedImage`, `SdkSvg`, `CloudRegionCount`, `RetrySimulator`, `ServerlessWorkerDemo`, `OperationsTable`, `InvitationContent` | `strip-block` | Removed entirely (visual/dynamic, no extractable text) |
@@ -144,24 +145,19 @@ transformer itself is safe from these — its detection is anchored to whole lin
144145
4. Run `node scripts/audit-components.mjs` to refresh coverage.
145146

146147
**Keep handlers and components in sync.** When a handler reproduces content or logic that also
147-
lives in the React component (data-driven components like `JsonTable`, `IntegrationsGrid`, or the
148-
content-mirroring `HomePageHero`), add a cross-reference comment in *both* files — a `⚠️ LLM
149-
MARKDOWN PIPELINE` comment in the component pointing at the handler, and a `Component:` line in
150-
the handler pointing back — so a future change to one prompts updating the other. Components
151-
transformed generically (e.g. `Tabs`, `CallToAction`) have no separate source of truth and don't
152-
need this.
148+
lives in the React component (data-driven components like `JsonTable` or `IntegrationsGrid`), add
149+
a cross-reference comment in *both* files — a `⚠️ LLM MARKDOWN PIPELINE` comment in the component
150+
pointing at the handler, and a `Component:` line in the handler pointing back — so a future change
151+
to one prompts updating the other. Components transformed generically (e.g. `Tabs`,
152+
`CallToAction`, and the homepage hero cards) have no separate source of truth and don't need this
153+
— the copy lives in the MDX and the handler reads it straight from the page.
153154

154155
### Known limitation: content/logic duplicated between components and handlers (follow-up)
155156

156157
A few handlers currently re-express something that also lives in the React component, which
157158
means two places to keep in sync. This is a known issue to be addressed in a follow-up; the
158159
cross-reference comments above are an interim guard, not the fix.
159160

160-
- **`HomePageHero` — duplicated content.** `scripts/component-handlers/home-page-hero.mjs` holds
161-
its own copy of the homepage hero's text (headline, intro paragraphs, action/community cards),
162-
duplicating `src/components/elements/HomePageHero.js`. The intended fix is to move that content
163-
into the page's source of truth — `docs/index.mdx` — and reduce the component to presentation
164-
(content via props/children), so the hero-specific handler can be removed entirely.
165161
- **`IntegrationsGrid` — duplicated logic.** The data is already shared
166162
(`integrations-data.json`), but the default-view filter/sort in
167163
`scripts/component-handlers/integrations.mjs` (`selectIntegrations`) mirrors the filtering in

docs/develop/typescript/index.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ Once your local Temporal Service is set up, continue building with the following
9090
- [Mastra integration](https://mastra.ai/guides/deployment/temporal)
9191
- [OpenAI Agents SDK integration](/develop/typescript/integrations/openai-agents)
9292
- [Parseable integration](https://github.com/parseablehq/temporal-plugin/blob/main/INTEGRATION.md)
93+
- [Strands Agents integration](/develop/typescript/integrations/strands-agents)
9394
- [Vercel AI SDK integration](/develop/typescript/integrations/ai-sdk)
9495

9596
## Temporal TypeScript technical resources

0 commit comments

Comments
 (0)