Skip to content

Commit 43cd243

Browse files
authored
v0.9.10: aeo improvements, chat fixes, sandbox fixes
2 parents b6341eb + 70412cc commit 43cd243

1,734 files changed

Lines changed: 37848 additions & 53835 deletions

File tree

Some content is hidden

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

‎.agents/skills/ship/SKILL.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ When the user runs `/ship`:
4242
- If the diff modifies UI code (any non-test `.tsx` file, or anything under `apps/sim/components/`, `apps/sim/hooks/`, or `apps/sim/stores/`), run `/cleanup`. It fans out the React/UI passes (effects, memo, callbacks, state, React Query, emcn, url-state), the comment pass, and the test-audit pass, and applies fixes so they land in this commit.
4343
- Otherwise, if the diff adds or changes tests (`*.test.ts(x)`, `*.integration.ts`, `**/e2e/**`, `apps/sim/scripts/test-*-e2e.ts`), run `/test-audit audit <changed test files>` on its own. Every new or changed test must pass the authoring gate; delete the ones that don't rather than shipping them.
4444
- Then run the test files the diff adds or changes, plus the existing tests beside changed source files, with `bun run --cwd <workspace> test <paths>` (`bun run --cwd apps/sim test <paths>` for the app; `*.integration.ts` needs the setup in `.claude/rules/sim-testing.md`). A failing test aborts ship.
45+
- Then run root `bun run test` from the repo root. It chains `test:scripts` (the `scripts/*.test.ts` suite CI runs) before every workspace suite; workspace-scoped runs skip it, which is how a `scripts/check-*.test.ts` failure has reached CI. A failing test aborts ship.
4546
5. **Run migration safety** — only if the diff touches `packages/db/migrations/**` or `packages/db/schema.ts`:
4647
- Run `/db-migrate` to review the migration for zero-downtime safety (expand/contract phasing, backward-compatibility with the deployed app version).
4748
- `bun run check:migrations origin/staging` must pass (staging is the PR base). Do not silence a flagged statement with a `-- migration-safe:` annotation unless `/db-migrate` confirmed the old code no longer depends on it; otherwise split the destructive change into a later deploy.

‎.github/CONTRIBUTING.md‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,9 +354,8 @@ In addition, you will need to update the registries:
354354
// apps/sim/blocks/blocks/pinecone.ts
355355
import { PineconeIcon } from '@/components/icons'
356356
import type { BlockConfig } from '@/blocks/types'
357-
import type { PineconeResponse } from '@/tools/pinecone/types'
358357

359-
export const PineconeBlock: BlockConfig<PineconeResponse> = {
358+
export const PineconeBlock: BlockConfig = {
360359
type: 'pinecone',
361360
name: 'Pinecone',
362361
description: 'Use Pinecone vector database',
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
name: Setup Workspace
2+
description: Install the pinned Bun and Node toolchain, mount the dependency (and optionally Turbo) caches, and install workspace dependencies.
3+
4+
inputs:
5+
provider:
6+
description: The CI_PROVIDER repo variable, forwarded to cache-mount.
7+
required: false
8+
default: ''
9+
turbo-cache-key:
10+
description: Suffix for a Turbo cache mounted at ./.turbo. Empty skips the mount. Jobs that write Turbo entries need distinct suffixes, or last-writer-wins commits evict each other's entries.
11+
required: false
12+
default: ''
13+
14+
# Cache keys are scoped by event name, and fork PRs get their own namespace on
15+
# top: untrusted fork runs must never share a cache with push runs (whose caches
16+
# feed production image builds) or with trusted internal-PR runs.
17+
#
18+
# node_modules also keys on the lockfile hash: a sticky disk is a mutable volume,
19+
# and `bun install --frozen-lockfile` adds what the lockfile needs without
20+
# pruning what it dropped, so branches on different lockfiles were contaminating
21+
# each other (a stale @next/swc 16.2.6 outlived the 16.2.11 bump). The bun and
22+
# Turbo caches are content/hash-addressed, so they stay shared — that is what
23+
# keeps a fresh node_modules disk cheap to fill.
24+
runs:
25+
using: composite
26+
steps:
27+
- name: Setup Bun
28+
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
29+
with:
30+
bun-version: 1.4.2
31+
32+
- name: Setup Node
33+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
34+
with:
35+
node-version: 24
36+
37+
- name: Mount Bun cache
38+
uses: ./.github/actions/cache-mount
39+
with:
40+
provider: ${{ inputs.provider }}
41+
key: ${{ github.repository }}-bun-cache-${{ github.event_name }}${{ github.event.pull_request.head.repo.fork && '-fork' || '' }}
42+
path: ~/.bun/install/cache
43+
44+
- name: Mount node_modules
45+
uses: ./.github/actions/cache-mount
46+
with:
47+
provider: ${{ inputs.provider }}
48+
key: ${{ github.repository }}-node-modules-${{ github.event_name }}${{ github.event.pull_request.head.repo.fork && '-fork' || '' }}-${{ hashFiles('bun.lock') }}
49+
path: ./node_modules
50+
51+
- name: Mount Turbo cache
52+
if: inputs.turbo-cache-key != ''
53+
uses: ./.github/actions/cache-mount
54+
with:
55+
provider: ${{ inputs.provider }}
56+
key: ${{ github.repository }}-${{ inputs.turbo-cache-key }}-${{ github.event_name }}${{ github.event.pull_request.head.repo.fork && '-fork' || '' }}
57+
path: ./.turbo
58+
59+
- name: Install dependencies
60+
shell: bash
61+
run: bun install --frozen-lockfile --ignore-scripts

‎.github/workflows/ci.yml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,6 @@ jobs:
222222
platforms: linux/amd64
223223
tags: ${{ steps.login-ecr.outputs.registry }}/${{ steps.ecr-repo.outputs.name }}:${{ github.sha }}-dev
224224
build-args: |
225-
SIM_SEARCH_LIVE_DEFAULT=true
226225
MSHIP_PLAN_MODE_DEFAULT=true
227226
max-cache-size-mb: ${{ matrix.cache_mb }}
228227

‎.github/workflows/desktop-e2e.yml‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ on:
1111
- '.github/workflows/desktop-release.yml'
1212
- 'apps/desktop/**'
1313
- 'apps/sim/app/_shell/desktop-update-*.tsx'
14+
- 'apps/sim/app/workspace/**/home/hooks/use-mothership-resize.ts'
15+
- 'apps/sim/app/workspace/**/home/hooks/use-resource-panel.ts'
16+
- 'apps/sim/app/workspace/**/home/components/chat-panel-layout.tsx'
17+
- 'apps/sim/stores/chat-panel/**'
18+
- 'apps/sim/stores/constants.ts'
19+
- 'apps/sim/lib/browser-agent/transport.ts'
20+
- 'apps/sim/lib/core/utils/separator-keys.ts'
21+
- 'apps/sim/scripts/fixtures/chat-panel.tsx'
1422
- 'apps/sim/app/layout.tsx'
1523
- 'apps/sim/hooks/use-desktop-update-state.ts'
1624
- 'apps/sim/lib/desktop/**'
@@ -20,7 +28,6 @@ on:
2028
- 'apps/sim/hooks/queries/personal-search-integrations.ts'
2129
- 'apps/sim/hooks/use-search-integration-connection.ts'
2230
- 'apps/sim/hooks/use-github-installation-setup.ts'
23-
- 'apps/sim/app/o/**/integrations/indexed/use-member-enrollment.ts'
2431
- 'apps/sim/lib/api/contracts/desktop-source-connect.ts'
2532
- 'apps/sim/scripts/fixtures/desktop-source-connect.tsx'
2633
- 'apps/sim/app/workspace/**/browser-session/**'

0 commit comments

Comments
 (0)