Skip to content

Commit 23e24b4

Browse files
committed
Merge branch 'staging' into feat/mult-credentials-rv
2 parents 1e4d255 + 687c125 commit 23e24b4

File tree

119 files changed

+17109
-581
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+17109
-581
lines changed

.claude/commands/add-block.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,8 @@ Enables AI-assisted field generation.
454454

455455
## Tools Configuration
456456

457+
**Important:** `tools.config.tool` runs during serialization before variable resolution. Put `Number()` and other type coercions in `tools.config.params` instead, which runs at execution time after variables are resolved.
458+
457459
**Preferred:** Use tool names directly as dropdown option IDs to avoid switch cases:
458460
```typescript
459461
// Dropdown options use tool IDs directly

.github/workflows/images.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ jobs:
146146

147147
create-ghcr-manifests:
148148
name: Create GHCR Manifests
149-
runs-on: blacksmith-8vcpu-ubuntu-2404
149+
runs-on: blacksmith-2vcpu-ubuntu-2404
150150
needs: [build-amd64, build-ghcr-arm64]
151151
if: github.ref == 'refs/heads/main'
152152
strategy:

.github/workflows/test-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
RESEND_API_KEY: 'dummy_key_for_ci_only'
111111
AWS_REGION: 'us-west-2'
112112
ENCRYPTION_KEY: '7cf672e460e430c1fba707575c2b0e2ad5a99dddf9b7b7e3b5646e630861db1c' # dummy key for CI only
113-
run: bun run build
113+
run: bunx turbo run build --filter=sim
114114

115115
- name: Upload coverage to Codecov
116116
uses: codecov/codecov-action@v5

CLAUDE.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,14 +238,16 @@ export const ServiceBlock: BlockConfig = {
238238
bgColor: '#hexcolor',
239239
icon: ServiceIcon,
240240
subBlocks: [ /* see SubBlock Properties */ ],
241-
tools: { access: ['service_action'], config: { tool: (p) => `service_${p.operation}` } },
241+
tools: { access: ['service_action'], config: { tool: (p) => `service_${p.operation}`, params: (p) => ({ /* type coercions here */ }) } },
242242
inputs: { /* ... */ },
243243
outputs: { /* ... */ },
244244
}
245245
```
246246

247247
Register in `blocks/registry.ts` (alphabetically).
248248

249+
**Important:** `tools.config.tool` runs during serialization (before variable resolution). Never do `Number()` or other type coercions there — dynamic references like `<Block.output>` will be destroyed. Use `tools.config.params` for type coercions (it runs during execution, after variables are resolved).
250+
249251
**SubBlock Properties:**
250252
```typescript
251253
{

apps/docs/components/icons.tsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5819,3 +5819,15 @@ export function RedisIcon(props: SVGProps<SVGSVGElement>) {
58195819
</svg>
58205820
)
58215821
}
5822+
5823+
export function HexIcon(props: SVGProps<SVGSVGElement>) {
5824+
return (
5825+
<svg {...props} xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1450.3 600'>
5826+
<path
5827+
fill='#5F509D'
5828+
fillRule='evenodd'
5829+
d='m250.11,0v199.49h-50V0H0v600h200.11v-300.69h50v300.69h200.18V0h-200.18Zm249.9,0v600h450.29v-250.23h-200.2v149h-50v-199.46h250.2V0h-450.29Zm200.09,199.49v-99.49h50v99.49h-50Zm550.02,0V0h200.18v150l-100,100.09,100,100.09v249.82h-200.18v-300.69h-50v300.69h-200.11v-249.82l100.11-100.09-100.11-100.09V0h200.11v199.49h50Z'
5830+
/>
5831+
</svg>
5832+
)
5833+
}

apps/docs/components/ui/icon-mapping.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ import {
5454
GrafanaIcon,
5555
GrainIcon,
5656
GreptileIcon,
57+
HexIcon,
5758
HubspotIcon,
5859
HuggingFaceIcon,
5960
HunterIOIcon,
@@ -196,6 +197,7 @@ export const blockTypeToIconMap: Record<string, IconComponent> = {
196197
grafana: GrafanaIcon,
197198
grain: GrainIcon,
198199
greptile: GreptileIcon,
200+
hex: HexIcon,
199201
hubspot: HubspotIcon,
200202
huggingface: HuggingFaceIcon,
201203
hunter: HunterIOIcon,

0 commit comments

Comments
 (0)