Compare commits

...
Author SHA1 Message Date
Cursor AgentandJulius Marminge ae4b630800 Stabilize chat project grouping settings
Co-authored-by: Julius Marminge <[email protected]>
2026-06-02 17:12:15 +00:00
Cursor AgentandJulius Marminge 027d366e98 Optimize chat settings subscriptions
Co-authored-by: Julius Marminge <[email protected]>
2026-06-02 17:01:49 +00:00
Cursor AgentandJulius Marminge 60cf698a43 fix: restore missing settings variable in ChatView
The settings variable was accidentally removed during settings optimization,
causing a ReferenceError at runtime in the onProviderModelSelect callback.
This restores the variable to fix the react-scan-harness page.

Co-authored-by: Julius Marminge <[email protected]>
2026-06-02 16:36:40 +00:00
Julius Marmingeandcodex e3f1405884 chore: add vendored reference repo subtree sync tooling (#2902)
Co-authored-by: codex <[email protected]>
2026-06-01 21:44:23 -07:00
b3e8c0334b T3 Code Mobile [WIP] (#2013)
Co-authored-by: codex <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: Yash Singh <[email protected]>
2026-05-29 17:00:54 -07:00
Julius Marminge e3accd6e95 Ensure Electron runtime is installed in release workflow (#2861) 2026-05-29 09:38:25 -07:00
cf07d06321 Extract independent web cleanup from mobile stack (#2855)
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: codex <[email protected]>
2026-05-28 16:50:40 -07:00
Julius Marmingeandcodex 31268945f8 Extract collection performance refactors from mobile stack (#2854)
Co-authored-by: codex <[email protected]>
2026-05-28 16:18:58 -07:00
Julius Marminge 6b3050ee74 Migrate TypeScript checks to Effect TSGo (#2851) 2026-05-28 15:59:42 -07:00
Ibrahim Elkamali 83f0cc9e31 Add Claude Opus 4.8 support (#2849) 2026-05-28 18:43:48 +00:00
Julius Marmingeandcodex e6330ead82 [codex] Bump Effect to beta.73 and migrate compatibility APIs (#2840)
Co-authored-by: codex <[email protected]>
2026-05-28 11:13:50 -07:00
Adam Buchweitz 4f0f24f055 fix: maintain reasoning selections for multiple providers (#2760) 2026-05-22 07:02:35 -07:00
t3-code[bot] d1e85c4e8f chore(release): prepare v0.0.24 2026-05-15 06:40:13 +00:00
Julius Marminge ea20e80021 Exclude workspace packages from desktop runtime deps (#2688) 2026-05-14 07:32:48 +00:00
Julius MarmingeandJulius Marminge 9e632f5cec [codex] add diagnostics resource history (#2685)
Co-authored-by: Julius Marminge <[email protected]>
2026-05-14 09:14:32 +02:00
Julius Marminge 4120e94598 Back off VCS remote refresh failures (#2686) 2026-05-14 08:41:02 +02:00
Theo Browne 34bb18c8cf feat(marketing): Made marketing site less cringe (#2681) 2026-05-13 18:31:06 -07:00
Julius Marminge 90eea047a9 Skip healthy env reconnects after browser resume (#2677) 2026-05-13 22:29:36 +02:00
Julius Marminge f92e1e1b06 Simplify workspace package builds and deps (#2676) 2026-05-13 21:35:01 +02:00
Julius Marminge 556c42452c Harden GitHub workflow permissions
- Restrict release workflow defaults to read-only access
- Grant `id-token` only to the publish job
- Document safe handling for `pull_request_target` in PR size checks
2026-05-13 14:19:18 +02:00
Julius Marminge 7e20b23e7e Constrain provider update popover overflow (#2669) 2026-05-13 10:23:31 +02:00
Julius Marminge b83e9c95e4 Refactor composer refs and context providers (#2664) 2026-05-12 21:54:28 +02:00
a41f4895ce Reduce chat timeline activity rerenders (#2660)
Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
2026-05-12 20:56:03 +02:00
d15909af15 Use Effect child process for editor launches (#2659)
Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
2026-05-12 20:15:11 +02:00
447236d51f Stabilize project grouping settings selector (#2629)
Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
2026-05-11 10:07:50 +00:00
legsandJulius Marminge 5165b8c333 Optimize VCS diff loading to be up to 98% faster (#2586)
Co-authored-by: Julius Marminge <[email protected]>
2026-05-11 12:07:26 +02:00
Julius Marmingeandcodex 8fc317939f Preserve Codex probe results across scoped teardown (#2638)
Co-authored-by: codex <[email protected]>
2026-05-11 10:48:19 +02:00
Julius Marminge 16c69ba7ff Remove outline styling from git success toast action (#2639) 2026-05-11 08:45:40 +00:00
Julius Marminge e64c19f1af Alias stable releases to the router domain (#2636) 2026-05-11 10:41:32 +02:00
Utkarsh Patil 6ab8f93a23 fix(codex): use longer and shared auth probe timeout for provider status check (#2616) 2026-05-11 00:29:56 -07:00
t3-code[bot] b793401aee chore(release): prepare v0.0.23 2026-05-09 22:22:22 +00:00
Julius MarmingeandJulius Marminge 3c32bc8fd1 [codex] Fix hosted channel bootstrap (#2613)
Co-authored-by: Julius Marminge <[email protected]>
2026-05-08 22:57:16 -07:00
Julius MarmingeandJulius Marminge 6efdf67e15 [codex] Fix Vercel Turbo env forwarding (#2612)
Co-authored-by: Julius Marminge <[email protected]>
2026-05-08 22:09:40 -07:00
Julius MarmingeandJulius Marminge 39371c6012 [codex] Fix Vercel release web deploy scope (#2611)
Co-authored-by: Julius Marminge <[email protected]>
2026-05-08 22:01:57 -07:00
Kainoa NewtonandJulius Marminge 99efaa0faa Collapse long user messages by default (#2180)
Co-authored-by: Julius Marminge <[email protected]>
2026-05-09 02:00:03 +00:00
Julius Marminge 6b9feb1bd3 Update deployment command in release workflow (#2610) 2026-05-08 18:30:44 -07:00
Ben Vargas e0f3abd1a4 Fix remote pairing CORS responses (#2594) 2026-05-08 23:52:47 +00:00
34ec8a86fb [codex] add configurable automatic git fetch interval (#2605)
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: cursor[bot] <206951365+cursor[bot]@users.noreply.github.com>
2026-05-08 16:41:55 -07:00
932df4ed17 fix(ssh): fix reconnect issues and node binary path resolution (#2504)
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: codex <[email protected]>
2026-05-08 16:17:29 -07:00
Julius MarmingeandCursor Agent 63859aa072 perf: Add archived shell snapshot support (#2593)
Co-authored-by: Cursor Agent <[email protected]>
2026-05-08 15:49:41 -07:00
Julius MarmingeandJulius Marminge 7bfacd55d8 [codex] Handle NuGet provider bootstrap failures (#2608)
Co-authored-by: Julius Marminge <[email protected]>
2026-05-08 15:20:02 -07:00
Kiri110K 271d65e047 Fix OpenCode raw text delta assembly (#2526) 2026-05-08 13:00:24 -07:00
aa8b9f2286 Deploy hosted web app from release workflow (#2507)
Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: cursor[bot] <206951365+cursor[bot]@users.noreply.github.com>
2026-05-08 12:47:08 -07:00
Julius MarmingeandJulius Marminge 073eb389d3 [codex] Fix Windows release signing setup (#2606)
Co-authored-by: Julius Marminge <[email protected]>
2026-05-08 12:35:52 -07:00
Julius Marmingeandcodex 825263b6f9 Scaffold oxlint plugin with initial rule (#2603)
Co-authored-by: codex <[email protected]>
2026-05-08 11:52:19 -07:00
Julius MarmingeandCursor Agent 25b02f4ba2 Enable stricter Effect LSP rules (#2596)
Co-authored-by: Cursor Agent <[email protected]>
2026-05-08 09:58:29 -07:00
Julius Marminge 131234be3f Match sticky changed-files header tint to card background (#2592) 2026-05-08 05:16:27 +00:00
7455472c34 Reduce sidebar selection rerenders (#2560)
Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
2026-05-07 21:44:30 -07:00
Julius Marminge 9d919d0bb8 Move desktop server exposure logic into backend (#2591) 2026-05-08 04:25:33 +00:00
aa219be713 port desktop app to Effect (#2546)
Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: codex <[email protected]>
2026-05-07 21:17:08 -07:00
Julius Marminge dd32f52655 Refresh Codex protocol bindings and adapter mappings (#2590) 2026-05-07 19:47:20 -07:00
Julius Marmingeandcodex 31b52acc8d [codex] Fix sidebar preview settings reset (#2587)
Co-authored-by: codex <[email protected]>
2026-05-07 17:24:40 -07:00
466d8ee5b0 feat(web): add configurable sidebar thread preview count (#1856)
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: codex <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
2026-05-07 17:12:59 -07:00
maria 11f40556de feat(web): render skill calls as inline chips (#2572) 2026-05-07 14:43:16 -07:00
1bcfc88f58 Adopt idiomatic Effect APIs in generator and decider (#2581)
Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
2026-05-07 12:19:32 -07:00
2ba58076fa Avoid timeline timer rerender commits (#2580)
Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
2026-05-07 11:54:46 -07:00
maria c27109cc20 feat(web): mention skills in composer placeholder (#2570) 2026-05-07 10:51:32 -07:00
Julius Marminge a74ed8ed32 Revert "Cache desktop build assets in CI and release workflows" (#2568) 2026-05-06 23:04:28 +00:00
6c79039ce7 Cache desktop build assets in CI and release workflows (#2543)
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: Cursor Agent <[email protected]>
2026-05-06 13:55:37 -07:00
Julius Marmingeandcodex 449e1aaa48 Make changed-files header sticky in chat timeline (#2565)
Co-authored-by: codex <[email protected]>
2026-05-06 13:24:34 -07:00
22384ae977 Adopt Effect JSON and DateTime idioms (#2559)
Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
2026-05-06 10:36:25 -07:00
Julius MarmingeandJulius Marminge 499f1463d5 Split server CLI into focused submodules (#2545)
Co-authored-by: Julius Marminge <[email protected]>
2026-05-05 23:02:05 -07:00
a2ff50dbba Add process and trace diagnostics views (#2532)
Co-authored-by: codex <[email protected]>
Co-authored-by: Cursor Agent <[email protected]>
2026-05-06 04:22:50 +00:00
Minigamer42 166bce0389 Feature/intellij editors (#2475) 2026-05-06 04:12:52 +00:00
1498335e39 Optimize MessagesTimeline work row stability (#2527)
Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
2026-05-05 20:57:33 -07:00
Julius MarmingeandJulius Marminge 25c9d267ac Stabilize git workspace and terminal tests (#2540)
Co-authored-by: Julius Marminge <[email protected]>
2026-05-05 20:31:44 -07:00
536dcad19e Reduce timeline row rerenders (#2498)
Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
2026-05-05 20:26:38 -07:00
3017 changed files with 754154 additions and 26780 deletions

No files matched your search

+35
View File
@@ -46,6 +46,14 @@ jobs:
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Ensure Electron runtime is installed
run: |
if ! node -e "require('./apps/desktop/node_modules/electron')" >/dev/null 2>&1; then
rm -rf apps/desktop/node_modules/electron/dist apps/desktop/node_modules/electron/path.txt
bun apps/desktop/node_modules/electron/install.js
fi
node -e "require('./apps/desktop/node_modules/electron')"
- name: Format
run: bun run fmt:check
@@ -74,6 +82,33 @@ jobs:
test -f apps/desktop/dist-electron/preload.cjs
grep -nE "desktopBridge|getLocalEnvironmentBootstrap|PICK_FOLDER_CHANNEL|wsUrl" apps/desktop/dist-electron/preload.cjs
mobile_native_static_analysis:
name: Mobile Native Static Analysis
runs-on: blacksmith-12vcpu-macos-26
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version-file: package.json
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version-file: package.json
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Install mobile native static analysis tools
run: brew bundle install --file apps/mobile/Brewfile
- name: Lint mobile native sources
run: node scripts/mobile-native-static-check.ts
release_smoke:
name: Release Smoke
runs-on: blacksmith-8vcpu-ubuntu-2404
+3
View File
@@ -124,6 +124,9 @@ jobs:
group: pr-size-${{ github.event.pull_request.number }}
cancel-in-progress: true
steps:
# This pull_request_target job may fetch untrusted PR commits only as passive
# git data. Do not add dependency installs, build/test scripts, or cache
# actions here; use pull_request plus workflow_run for that pattern instead.
- name: Checkout base repository
uses: actions/checkout@v4
with:
+169 -3
View File
@@ -23,8 +23,8 @@ on:
type: string
permissions:
contents: write
id-token: write
contents: read
id-token: none
jobs:
check_changes:
@@ -98,6 +98,14 @@ jobs:
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Ensure Electron runtime is installed
run: |
if ! node -e "require('./apps/desktop/node_modules/electron')" >/dev/null 2>&1; then
rm -rf apps/desktop/node_modules/electron/dist apps/desktop/node_modules/electron/path.txt
bun apps/desktop/node_modules/electron/install.js
fi
node -e "require('./apps/desktop/node_modules/electron')"
- id: release_meta
name: Resolve release version
shell: bash
@@ -244,6 +252,68 @@ jobs:
exit $code
}
- name: Prepare Azure Trusted Signing
if: matrix.platform == 'win'
shell: pwsh
env:
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
AZURE_TRUSTED_SIGNING_ENDPOINT: ${{ secrets.AZURE_TRUSTED_SIGNING_ENDPOINT }}
AZURE_TRUSTED_SIGNING_ACCOUNT_NAME: ${{ secrets.AZURE_TRUSTED_SIGNING_ACCOUNT_NAME }}
AZURE_TRUSTED_SIGNING_CERTIFICATE_PROFILE_NAME: ${{ secrets.AZURE_TRUSTED_SIGNING_CERTIFICATE_PROFILE_NAME }}
AZURE_TRUSTED_SIGNING_PUBLISHER_NAME: ${{ secrets.AZURE_TRUSTED_SIGNING_PUBLISHER_NAME }}
run: |
$ErrorActionPreference = "Stop"
$requiredSecrets = @(
$env:AZURE_TENANT_ID,
$env:AZURE_CLIENT_ID,
$env:AZURE_CLIENT_SECRET,
$env:AZURE_TRUSTED_SIGNING_ENDPOINT,
$env:AZURE_TRUSTED_SIGNING_ACCOUNT_NAME,
$env:AZURE_TRUSTED_SIGNING_CERTIFICATE_PROFILE_NAME,
$env:AZURE_TRUSTED_SIGNING_PUBLISHER_NAME
)
if ($requiredSecrets | Where-Object { [string]::IsNullOrWhiteSpace($_) }) {
Write-Host "Azure Trusted Signing disabled; skipping TrustedSigning module preparation."
exit 0
}
try {
Install-PackageProvider `
-Name NuGet `
-MinimumVersion 2.8.5.201 `
-Force `
-Scope CurrentUser `
-ErrorAction Stop
} catch {
Write-Warning "Could not bootstrap NuGet package provider. Continuing because the runner may already have a usable provider. $($_.Exception.Message)"
}
Install-Module `
-Name TrustedSigning `
-MinimumVersion 0.5.0 `
-Force `
-AllowClobber `
-Repository PSGallery `
-Scope CurrentUser `
-ErrorAction Stop
Import-Module TrustedSigning -MinimumVersion 0.5.0 -Force
Get-Command Invoke-TrustedSigning -ErrorAction Stop
$moduleRoots = @(
[System.IO.Path]::Combine([Environment]::GetFolderPath("MyDocuments"), "PowerShell", "Modules"),
[System.IO.Path]::Combine([Environment]::GetFolderPath("MyDocuments"), "WindowsPowerShell", "Modules"),
[System.IO.Path]::Combine($env:ProgramFiles, "PowerShell", "Modules"),
[System.IO.Path]::Combine($env:ProgramFiles, "WindowsPowerShell", "Modules")
)
$modulePathEntries = @($moduleRoots + ($env:PSModulePath -split ";")) |
Where-Object { $_ -and (Test-Path $_) } |
Select-Object -Unique
"PSModulePath=$($modulePathEntries -join ';')" >> $env:GITHUB_ENV
- name: Build desktop artifact
shell: bash
env:
@@ -358,6 +428,9 @@ jobs:
if: ${{ !failure() && !cancelled() && needs.preflight.result == 'success' && needs.build.result == 'success' }}
runs-on: ubuntu-24.04 # blacksmith-8vcpu-ubuntu-2404
timeout-minutes: 10
permissions:
contents: read
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v6
@@ -511,6 +584,98 @@ jobs:
fail_on_unmatched_files: true
token: ${{ steps.app_token.outputs.token }}
deploy_web:
name: Deploy hosted web app
needs: [preflight, release]
if: ${{ !failure() && !cancelled() && needs.preflight.result == 'success' && needs.release.result == 'success' }}
runs-on: blacksmith-8vcpu-ubuntu-2404
timeout-minutes: 10
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
T3CODE_WEB_ROUTER_URL: ${{ vars.T3CODE_WEB_ROUTER_URL }}
T3CODE_WEB_LATEST_DOMAIN: ${{ vars.T3CODE_WEB_LATEST_DOMAIN }}
T3CODE_WEB_NIGHTLY_DOMAIN: ${{ vars.T3CODE_WEB_NIGHTLY_DOMAIN }}
VERCEL_TEAM_SLUG: ${{ vars.VERCEL_TEAM_SLUG }}
steps:
- name: Checkout
uses: actions/checkout@v6
with:
ref: ${{ needs.preflight.outputs.ref }}
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version-file: package.json
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version-file: package.json
- name: Install release tooling dependencies
run: bun install --frozen-lockfile --filter=@t3tools/scripts --filter=@t3tools/web
- name: Align package versions to release version
run: node scripts/update-release-package-versions.ts "${{ needs.preflight.outputs.version }}"
- name: Refresh release lockfile
run: bun install --lockfile-only --ignore-scripts
- name: Deploy and alias channel
shell: bash
run: |
set -euo pipefail
if [[ -z "${VERCEL_TOKEN:-}" || -z "${VERCEL_ORG_ID:-}" || -z "${VERCEL_PROJECT_ID:-}" ]]; then
echo "Missing one or more required Vercel secrets: VERCEL_TOKEN, VERCEL_ORG_ID, VERCEL_PROJECT_ID." >&2
exit 1
fi
router_url="${T3CODE_WEB_ROUTER_URL:-https://app.t3.codes}"
latest_domain="${T3CODE_WEB_LATEST_DOMAIN:-latest.app.t3.codes}"
nightly_domain="${T3CODE_WEB_NIGHTLY_DOMAIN:-nightly.app.t3.codes}"
router_domain="${router_url#http://}"
router_domain="${router_domain#https://}"
router_domain="${router_domain%%/*}"
if [[ "${{ needs.preflight.outputs.release_channel }}" == "stable" ]]; then
channel_domain="$latest_domain"
channel_name="latest"
else
channel_domain="$nightly_domain"
channel_name="nightly"
fi
vercel_scope="${VERCEL_TEAM_SLUG:-$VERCEL_ORG_ID}"
vercel_scope_args=(--scope "$vercel_scope")
echo "Deploying hosted web app for $channel_name channel."
deployment_url="$(
bunx [email protected] deploy \
--prod \
--skip-domain \
--yes \
--token "$VERCEL_TOKEN" \
"${vercel_scope_args[@]}" \
--build-env "APP_VERSION=${{ needs.preflight.outputs.version }}" \
--build-env "VITE_HOSTED_APP_URL=$router_url" \
--build-env "VITE_HOSTED_APP_CHANNEL=$channel_name"
)"
echo "Aliasing $deployment_url to $channel_domain."
bunx [email protected] alias set "$deployment_url" "$channel_domain" \
--token "$VERCEL_TOKEN" \
"${vercel_scope_args[@]}"
if [[ "$channel_name" == "latest" && -n "$router_domain" && "$router_domain" != "$channel_domain" ]]; then
echo "Aliasing $deployment_url to router domain $router_domain."
bunx [email protected] alias set "$deployment_url" "$router_domain" \
--token "$VERCEL_TOKEN" \
"${vercel_scope_args[@]}"
fi
finalize:
name: Finalize release
if: ${{ !failure() && !cancelled() && needs.preflight.result == 'success' && needs.release.result == 'success' && needs.preflight.outputs.release_channel == 'stable' }}
@@ -595,8 +760,9 @@ jobs:
always() && !cancelled() &&
needs.preflight.result == 'success' &&
needs.release.result == 'success' &&
needs.deploy_web.result == 'success' &&
(needs.finalize.result == 'success' || needs.finalize.result == 'skipped')
needs: [preflight, release, finalize]
needs: [preflight, release, deploy_web, finalize]
runs-on: blacksmith-8vcpu-ubuntu-2404
timeout-minutes: 10
steps:
+3
View File
@@ -23,3 +23,6 @@ __screenshots__/
.tanstack
squashfs-root/
.vercel
.gstack/
dist-electron/
.electron-runtime/
+4
View File
@@ -2,6 +2,7 @@
"$schema": "./node_modules/oxfmt/configuration_schema.json",
"ignorePatterns": [
".reference",
".repos/**",
".plans",
"dist",
"dist-electron",
@@ -9,8 +10,11 @@
"bun.lock",
"*.tsbuildinfo",
"**/routeTree.gen.ts",
"apps/mobile/android/**",
"apps/mobile/ios/**",
"apps/web/public/mockServiceWorker.js",
"apps/web/src/lib/vendor/qrcodegen.ts",
"apps/mobile/uniwind-types.d.ts",
"*.icon/**"
],
"sortPackageJson": {},
+10 -2
View File
@@ -3,20 +3,28 @@
"ignorePatterns": [
"dist",
"dist-electron",
".repos/**",
"node_modules",
"bun.lock",
"*.tsbuildinfo",
"**/routeTree.gen.ts"
"**/routeTree.gen.ts",
"apps/mobile/android/**",
"apps/mobile/ios/**",
"apps/mobile/uniwind-types.d.ts"
],
"plugins": ["eslint", "oxc", "react", "unicorn", "typescript"],
"jsPlugins": ["./oxlint-plugin-t3code/index.ts"],
"categories": {
"correctness": "warn",
"suspicious": "warn",
"perf": "warn"
},
"rules": {
"unicorn/no-array-sort": "off",
"react-in-jsx-scope": "off",
"eslint/no-shadow": "off",
"eslint/no-await-in-loop": "off"
"eslint/no-await-in-loop": "off",
"eslint/no-underscore-dangle": "off",
"t3code/no-inline-schema-compile": "warn"
}
}
@@ -347,4 +347,3 @@ Each implementation PR should run:
- `bun typecheck`
- focused tests for changed backend/web behavior
- backend tests for any server-side endpoint discovery or auth changes using `bun run test`, never `bun test`
@@ -0,0 +1,43 @@
---
name: grill-me
description: Interview the user about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".
---
Interview me about every aspect of this plan until we reach a shared understanding and a defensible design.
Ask exactly one question at a time, then wait for my answer before asking the next question.
Use each answer to choose the next highest-leverage unresolved question. Maintain an implicit decision tree of resolved decisions, open questions, assumptions, dependencies, risks, and rejected alternatives.
For each question, include:
- clear answer options when appropriate
- your recommended answer, marked as recommended
- a brief reason for the recommendation
Use open-ended questions when fixed options would prematurely constrain the design space.
Challenge vague, inconsistent, risky, or unsupported assumptions. If an answer creates a contradiction or unresolved dependency, ask a follow-up before moving on.
Cover, as relevant:
- goals and non-goals
- users and stakeholders
- constraints
- alternatives
- APIs and interfaces
- data model
- error handling
- security
- observability
- testing
- migration and rollout
- failure modes
- operational ownership
- success criteria
If repository facts are needed, inspect the codebase instead of asking the user. Do not ask me to provide information that can be determined locally.
When an available user-input tool such as `request_user_input` fits the question, use it to ask one short question with a small set of mutually exclusive options. Otherwise, ask in plain text and present clear possible answers as a numbered list when that helps me answer quickly. Include your recommended option and mark it as recommended.
Stop when the major branches of the design tree have been resolved. Then summarize the agreed design, remaining risks, assumptions, rejected alternatives, and next steps.
@@ -0,0 +1,188 @@
---
name: jsdocs
description: Write, insert, or update Effect public API JSDoc so it satisfies the jsdocs oxlint rule. Use when adding or fixing JSDoc comments, resolving jsdocs diagnostics, preparing docs for JSON extraction, or reviewing public API documentation.
---
Use this skill to write well-formed JSDoc for Effect public APIs.
## Workflow
When updating public API JSDoc:
1. Inspect the declaration, implementation, nearby tests, and nearby JSDoc before editing.
2. Decide whether the task is a single API fix or a module refinement pass.
3. Rewrite comments into the required documentation shape while preserving correct facts and examples.
4. For module refinements, complex APIs, or APIs with related alternatives, run the `@see` and `**Gotchas**` audits.
5. Run the narrowest relevant validation.
## Required documentation shape
Use a normal multiline JSDoc comment in TypeScript source:
```ts
/**
* Short description as one paragraph.
*
* **When to use**
*
* Optional practical usage guidance.
*
* **Details**
*
* Optional details for complex APIs, options, overloads, or behavior.
*
* **Gotchas**
*
* Optional edge cases, footguns, or surprising behavior.
*
* **Example** (Short title)
*
* Optional prose explaining the example.
*
* ```ts
* const result = example()
* ```
*
* @category constructors
* @since 1.0.0
*/
```
## Prose Rules
- Use sober, practical prose.
- Write all public JSDoc prose in English.
- Do not use jargon when a plain word works.
- Do not be clever.
- Do not add filler sections.
- The short description is required and must be exactly one paragraph.
- Make the short description stand on its own. Do not rely on `**When to use**`
to make the API understandable.
- For functions and methods, prefer present-tense, action-first prose such as
`Creates`, `Returns`, `Checks`, `Provides`, `Represents`, `Converts`,
`Decodes`, or `Formats`.
- For technical value exports, use consistent noun forms such as `Schema for`,
`Layer that`, `Service that`, `Context reference that`, or
`Constructors and matchers for`.
- Avoid leading `A` or `An` for canonical technical nouns when the surrounding
module uses a standard noun family, for example prefer `Schema for ...` over
`A schema for ...`.
- Do not describe implementation mechanics when a public concept is clearer.
For example, prefer `Constructors and matchers for ...` over wording that
only says an API uses `Data.taggedEnum`.
- Avoid generic purity or non-mutation remarks unless they document a real
surprise, caveat, or meaningful contrast with a mutating-looking API.
- Optional sections must appear in this order:
1. `**When to use**`
2. `**Details**`
3. `**Gotchas**`
- Include an optional section only when it has useful, non-empty content.
- Prefer prose over bullet lists for single-item `**Details**`, `**When to use**`, or `**Gotchas**` sections. Use bullets only when there are two or more parallel facts, options, cases, or caveats.
- `**When to use**` describes the positive use case for the documented API. Do not use it as a routing section for sibling APIs. If neighboring APIs need to be mentioned, put that boundary in `@see` tag text instead.
- `**When to use**` is important when the API has close alternatives, trade-offs, or `@see` tags. If `@see` tags are present, inspect the referenced APIs and add `**When to use**` when it clarifies the documented API's own use case.
- `**When to use**` must start with one of these practical guidance forms: `Use to`, `Use when`, `Use as`, or `Use with`. Avoid bullet lists and vague openers such as `Use this...` or `Useful for...`.
- Keep `short` and `**When to use**` distinct: the short description says what
the API is or does; `**When to use**` says when to choose it.
- Add internal `@see` tags only for semantically useful related public APIs.
- Write `@see` tag text as normal prose after the link; no special separator is required. Prefer forms like `@see {@link otherApi} for ...` when a short explanation helps.
- Use exactly one blank line between the short description, sections, examples, and tags.
- Do not use Markdown headings such as `# Heading` or ad hoc bold headings such as `**Notes**`; only the standard headings are allowed.
- Examples must use `**Example** (Title)`, optional prose, and exactly one non-empty `ts` code fence.
- Example titles must be unique after trimming and lowercasing.
- Prefer examples with stable, deterministic output. Avoid assertions or
`console.log` comments that depend on stack traces, object inspection,
`Error` formatting, concurrency order, timing, randomness, or
environment-specific formatting. Examples may assume Node.js console
formatting. Direct `Set` / `Map` output is acceptable when insertion order is
deterministic and the expected output uses Node's format; otherwise
demonstrate a stable property instead.
- Do not use `@example`.
- Do not put TypeScript code fences outside `**Example** (Title)` sections.
- Inline `{@link Symbol}` targets must resolve to TypeScript symbols; do not link to URLs with `{@link}`.
- Avoid overlinking in prose. Use `{@link Symbol}` only when navigation to
that symbol helps the reader choose or understand the API. For the API being
documented, the module's central type, nearby obvious names, or repeated
mentions, prefer plain code formatting such as `Cause`, `Effect`, or
`Context`.
- Do not document module-level comments; module JSDoc is ignored by this rule.
- `@internal` means the item is ignored; do not rewrite it as public docs.
- Default exports are ignored by this rule and do not need JSDoc.
- Do not add unsupported constructs such as enums or empty exports in checked files.
- For low-level public values, prefer accurate categories such as `symbols`,
`type IDs`, or `prototypes` over compensating with verbose descriptions.
## Tag rules
When multiple tags are present, keep them in this order:
1. `@deprecated`
2. `@default`
3. `@see`
4. `@category`
5. `@since`
Tag requirements by declaration kind:
- Root declarations require `@category` and stable-semver `@since`, and must
not use `@default`.
- Namespaces and declarations inside namespaces require stable-semver `@since`,
may use `@category`, and must not use `@default`.
- Member JSDoc is optional. When present, it follows the same prose and layout
rules, may use optional stable-semver `@since`, may use non-empty `@default`,
and must not use `@category`.
- Any declaration may use `@deprecated` with a non-empty message and repeated
non-empty `@see` tags for semantically useful related public APIs.
## Updating existing JSDoc
When fixing or updating existing docs:
1. Preserve correct facts and examples.
2. Rewrite the layout into the standard template.
3. Move usage guidance into `**When to use**`, behavior details into `**Details**`, and real caveats into `**Gotchas**`.
4. Convert `@example` tags and loose `ts` fences into `**Example** (Title)` sections.
5. Preserve valid `@see`, `@deprecated`, `@default`, `@category`, and `@since` tags.
6. Remove `@see` tags that do not point to semantically useful related public APIs.
7. Replace redundant inline `{@link ...}` tags with plain code formatting when
the link target is already obvious from the current declaration or module.
8. Remove sections that would be empty.
## Module refinement
When asked to refine an existing module:
1. First scan the module for local documentation patterns, repeated API families, and category conventions.
2. Keep the change focused on documentation quality unless the user also asked for rule or source changes.
3. Prefer improving existing comments over rewriting every comment into a new voice.
4. Preserve examples unless they are wrong, stale, nondeterministic, or fail
the required documentation shape.
5. Apply the `@see` and `**Gotchas**` audits across the module before finishing.
## See audit
When refining an existing public API module, always do a dedicated `@see` pass:
1. Inspect existing `@see` tags and referenced APIs before keeping, changing, or removing them.
2. Look for close alternatives in the same module or API family when the documented API is one of several ways to do similar work.
3. Keep or add `@see` only when the linked API is semantically useful to understand the documented API.
4. Good `@see` targets include sibling APIs, alternatives, inverse operations, lower-level or higher-level variants, complementary operations, and closely returned, consumed, or configured types/values.
5. Do not use `@see` for implementation dependencies, broad concepts, external background links, APIs that merely share a word or name, helper APIs used only inside examples, undocumented/private members, or APIs that are only generally compatible.
6. When `@see` tags are kept or added, include `**When to use**` guidance if the documented API's own use case is not obvious from the short description. Keep comparisons with sibling APIs in the `@see` tag text.
## Gotchas audit
When refining an existing public API module, always do a dedicated `**Gotchas**` pass:
1. Scan existing prose for caveat language: warnings, exceptions, limitations, preconditions, special cases, or behavior that is easy to misuse.
2. Inspect the implementation and nearby tests for behavior that is not obvious from the type signature or short description.
3. Move real caveats from `**Details**` into `**Gotchas**` when they describe edge cases, footguns, preconditions, surprising behavior, or important failure modes.
4. Add `**Gotchas**` only when the caveat is concrete and useful to a reader choosing or using the API.
5. If no gotchas are added during a refinement pass, state that a gotchas audit was performed and why no caveats were worth documenting.
## Validation
Run the narrowest validation that matches the change:
- For JSDoc or example changes in a package with generated docs, run `pnpm docgen` from that package directory.
- Run `pnpm lint` because the linter includes the custom rule that checks public API JSDoc.
- Do not run broad validation for prose-only skill edits.
@@ -0,0 +1,44 @@
---
name: scratchpad
description: Extract the JSDoc example nearest the active source selection or cursor into ./scratchpad as a TypeScript file. Use when the user asks to dump, copy, open, or try a source example in scratchpad.
---
Use this skill to create a scratchpad TypeScript file from the JSDoc `**Example**`
nearest the user's active source cursor or selection.
## Workflow
1. Determine the source path and line:
- Use the IDE active file and selection/cursor line when present.
- Use an explicit file and line when the user provides them.
- If no line or selection is available, ask for it.
2. Run:
```sh
node .agents/skills/scratchpad/scripts/extract-example.mjs <source-path> <line>
```
3. If the script exits with code 2 because there is no obvious runner, ask the
user whether to preserve the example exactly, name an Effect value to run, or
cancel.
- To preserve exactly, rerun with `--mode preserve`.
- To run a specific Effect value, rerun with `--runner <identifier>`.
4. Report the created path as a clickable file link. This is the deterministic
way to open it in the code pane.
5. Do not run the scratchpad file unless the user explicitly asks.
## Behavior
- The script chooses the example whose `**Example**` section contains the line;
otherwise it chooses the first following example; otherwise the nearest
previous example.
- Filenames are derived from the source file and example title, for example
`scratchpad/Schedule-retrying-and-repeating-effects.ts`.
- Existing files are not overwritten. The script appends a numeric suffix.
- In auto mode, if a top-level `program` binding exists, the script appends:
```ts
Effect.runPromise(program).then(console.log, console.error)
```
- If the example already contains an Effect runner, the script preserves it.
@@ -0,0 +1,7 @@
interface:
display_name: "Scratchpad"
short_description: "Extract examples into scratchpad"
default_prompt: "Use $scratchpad to extract the active JSDoc example into scratchpad."
policy:
allow_implicit_invocation: true
@@ -0,0 +1,260 @@
#!/usr/bin/env node
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs"
import { basename, extname, isAbsolute, join, relative, resolve } from "node:path"
const usage = `Usage:
node .agents/skills/scratchpad/scripts/extract-example.mjs <source-path> <line> [--mode auto|preserve] [--runner <identifier>] [--out-dir <dir>]
Examples:
node .agents/skills/scratchpad/scripts/extract-example.mjs packages/effect/src/Schedule.ts 9
node .agents/skills/scratchpad/scripts/extract-example.mjs packages/effect/src/Schedule.ts 9 --mode preserve
node .agents/skills/scratchpad/scripts/extract-example.mjs packages/effect/src/Schedule.ts 9 --runner myProgram
`
const args = process.argv.slice(2)
const sourcePath = args[0]
const lineInput = args[1]
let mode = "auto"
let runner = undefined
let outDir = "scratchpad"
for (let index = 2; index < args.length; index++) {
const arg = args[index]
if (arg === "--mode") {
mode = args[++index]
} else if (arg === "--runner") {
runner = args[++index]
} else if (arg === "--out-dir") {
outDir = args[++index]
} else {
fail(`Unknown option: ${arg}`)
}
}
if (!sourcePath || !lineInput) {
fail(usage)
}
if (mode !== "auto" && mode !== "preserve") {
fail(`Invalid --mode: ${mode}`)
}
if (runner !== undefined && !/^[A-Za-z_$][\w$]*$/.test(runner)) {
fail(`Invalid --runner identifier: ${runner}`)
}
const line = Number.parseInt(lineInput, 10)
if (!Number.isSafeInteger(line) || line < 1) {
fail(`Invalid line number: ${lineInput}`)
}
const resolvedSourcePath = resolve(sourcePath)
const source = readFileSync(resolvedSourcePath, "utf8")
const sourceLines = source.split(/\r?\n/)
const examples = findExamples(sourceLines)
if (examples.length === 0) {
fail(`No JSDoc examples found in ${sourcePath}`)
}
const example = chooseExample(examples, line)
const hasRunner = /\bEffect\.run[A-Za-z]*\s*\(/.test(example.code)
const programRunner = /^\s*(?:export\s+)?(?:const|let|var)\s+program\s*=/m.test(example.code)
let code = example.code.trimEnd()
let runnerStatus = "none"
if (runner !== undefined) {
code = appendRunner(code, runner)
runnerStatus = `appended:${runner}`
} else if (mode === "auto") {
if (hasRunner) {
runnerStatus = "already-present"
} else if (programRunner) {
code = appendRunner(code, "program")
runnerStatus = "appended:program"
} else {
const payload = {
status: "needs-runner",
title: example.title,
sourcePath: displayPath(resolvedSourcePath),
titleLine: example.titleLine,
codeStartLine: example.codeStartLine,
codeEndLine: example.codeEndLine
}
process.stderr.write(`${JSON.stringify(payload, null, 2)}\n`)
process.exit(2)
}
}
mkdirSync(outDir, { recursive: true })
const outputPath = uniqueOutputPath(outDir, resolvedSourcePath, example.title)
writeFileSync(outputPath, `${code}\n`, "utf8")
process.stdout.write(
`${JSON.stringify(
{
outputPath: displayPath(resolve(outputPath)),
title: example.title,
sourcePath: displayPath(resolvedSourcePath),
titleLine: example.titleLine,
codeStartLine: example.codeStartLine,
codeEndLine: example.codeEndLine,
runner: runnerStatus
},
null,
2
)}\n`
)
function findExamples(lines) {
const examples = []
let blockStart = -1
let block = []
for (let index = 0; index < lines.length; index++) {
const line = lines[index]
if (blockStart === -1 && line.includes("/**")) {
blockStart = index
block = [line]
if (line.includes("*/")) {
collectExamples(examples, block, blockStart)
blockStart = -1
}
continue
}
if (blockStart !== -1) {
block.push(line)
if (line.includes("*/")) {
collectExamples(examples, block, blockStart)
blockStart = -1
}
}
}
return examples
}
function collectExamples(examples, block, blockStart) {
const cleaned = block.map(cleanJSDocLine)
for (let index = 0; index < cleaned.length; index++) {
const line = cleaned[index]
const titleMatch = line.match(/\*\*Example\*\*(?:\s*\(([^)]+)\))?/)
if (titleMatch === null) {
continue
}
const title = titleMatch[1]?.trim() || `example-${blockStart + index + 1}`
const fenceStart = findFenceStart(cleaned, index + 1)
if (fenceStart === -1) {
continue
}
const fenceEnd = findFenceEnd(cleaned, fenceStart + 1)
if (fenceEnd === -1) {
continue
}
examples.push({
title,
titleLine: blockStart + index + 1,
codeStartLine: blockStart + fenceStart + 2,
codeEndLine: blockStart + fenceEnd,
code: cleaned.slice(fenceStart + 1, fenceEnd).join("\n")
})
index = fenceEnd
}
}
function findFenceStart(lines, startIndex) {
for (let index = startIndex; index < lines.length; index++) {
const trimmed = lines[index].trim()
if (trimmed.startsWith("**Example**")) {
return -1
}
if (/^```(?:ts|typescript)?\s*$/.test(trimmed)) {
return index
}
}
return -1
}
function findFenceEnd(lines, startIndex) {
for (let index = startIndex; index < lines.length; index++) {
if (lines[index].trim() === "```") {
return index
}
}
return -1
}
function cleanJSDocLine(line) {
return line.replace(/^\s*\/\*\*\s?/, "").replace(/^\s*\*\/\s?$/, "").replace(/^\s*\* ?/, "")
}
function chooseExample(examples, line) {
const containing = examples.find((example) => example.titleLine <= line && line <= example.codeEndLine)
if (containing !== undefined) {
return containing
}
const following = examples.find((example) => line < example.titleLine)
if (following !== undefined) {
return following
}
return examples[examples.length - 1]
}
function appendRunner(code, identifier) {
return `${code.trimEnd()}\n\nEffect.runPromise(${identifier}).then(console.log, console.error)`
}
function uniqueOutputPath(directory, source, title) {
const sourceName = basename(source, extname(source))
const titleSlug = slug(title) || "example"
const base = `${sourceName}-${titleSlug}`
let candidate = join(directory, `${base}.ts`)
let suffix = 2
while (existsSync(candidate)) {
candidate = join(directory, `${base}-${suffix}.ts`)
suffix++
}
return candidate
}
function slug(value) {
return value
.normalize("NFKD")
.replace(/[\u0300-\u036f]/g, "")
.toLowerCase()
.replace(/[^a-z0-9]+/g, "-")
.replace(/^-+|-+$/g, "")
}
function displayPath(path) {
return isAbsolute(path) ? relative(process.cwd(), path) || "." : path
}
function fail(message) {
process.stderr.write(`${message}\n`)
process.exit(1)
}
@@ -0,0 +1,5 @@
---
"effect": patch
---
Added `BigDecimal.sumAll` and `BigDecimal.multiplyAll` for feature parity with `Number` and `BigInt`, closes #1880.
@@ -0,0 +1,5 @@
---
"effect": patch
---
Schema: add `Chunk` schema, closes #1585.
@@ -0,0 +1,19 @@
---
"effect": patch
---
Add `Command.withHidden` to hide subcommands from `--help` output, shell completions, and "did you mean?" suggestions, while keeping them fully invocable by exact name.
Useful for experimental or internal subcommands that should be accepted but not advertised on the public CLI surface.
```ts
import { Command } from "effect/unstable/cli"
const experimental = Command.make("experimental").pipe(
Command.withHidden
)
const root = Command.make("mycli").pipe(
Command.withSubcommands([experimental])
)
```
@@ -0,0 +1,5 @@
---
"effect": patch
---
Add `Config.nested` combinator to scope a config under a named prefix, closes #1437.
@@ -0,0 +1,15 @@
---
"effect": patch
---
Add `Flag.withHidden` (and `Param.withHidden`) to hide flags from `--help` output and shell completions while keeping them fully parseable on the command line.
Useful for experimental, internal, or deprecated flags that should be accepted but not advertised, e.g. `--experimental-foo`, debug toggles, or escape hatches that are not yet committed to the public CLI surface.
```ts
import { Flag } from "effect/unstable/cli"
const experimental = Flag.boolean("experimental-foo").pipe(
Flag.withHidden
)
```
@@ -0,0 +1,5 @@
---
"effect": patch
---
Add `DateFromString`, `BigIntFromString`, `BigDecimalFromString`, `TimeZoneNamedFromString`, `TimeZoneFromString`, and `DateTimeZonedFromString` schemas, closes #1941.
@@ -0,0 +1,5 @@
---
"effect": patch
---
unstable/http Headers: add `removeMany` combinator for removing multiple headers at once
@@ -0,0 +1,5 @@
---
"@effect/platform-browser": patch
---
Adds an IndexedDB backed implementation of `KeyValueStore` as `BrowserKeyValueStore.layerIndexedDb`. This backend allows for non-blocking `KeyValueStore` operations, unlike the existing `Storage` api backed implementations.
@@ -0,0 +1,5 @@
---
"effect": patch
---
Add `RpcSerialization.makeMsgPack` for creating MessagePack serialization with custom msgpackr options. On Cloudflare Workers with `allow_eval_during_startup` (default for `compatibility_date >= 2025-06-01`), pass `{ useRecords: false }` to prevent msgpackr's JIT code generation via `new Function()`, which is blocked during request handling. Also fixes silent error swallowing in the `msgPack` decode path — non-incomplete errors are now rethrown instead of returning `[]`.
@@ -0,0 +1,5 @@
---
"effect": patch
---
Add `SchemaParser.makeOption` and `Schema.makeOption` for constructing schema values as `Option`.
@@ -0,0 +1,11 @@
---
"effect": patch
---
Add transactional STM modules: TxDeferred, TxPriorityQueue, TxPubSub, TxReentrantLock, TxSubscriptionRef.
Refactor transaction model: remove `Effect.atomic`/`Effect.atomicWith`. All Tx operations now return `Effect<A, E, Transaction>` requiring explicit `Effect.tx(...)` at boundaries.
Expose `TxPubSub.acquireSubscriber`/`releaseSubscriber` for composable transaction boundaries. Fix `TxSubscriptionRef.changes` race condition ensuring current value is delivered first.
Remove `TxRandom` module.
@@ -0,0 +1,5 @@
---
"effect": patch
---
Add `Newtype` module.
@@ -0,0 +1,5 @@
---
"effect": patch
---
Add `showOperationId` to `HttpApiScalar.ScalarConfig`.
@@ -0,0 +1,5 @@
---
"effect": patch
---
Added `Schedule.tap`, which allows observing full schedule metadata without altering schedule inputs or outputs.
@@ -0,0 +1,5 @@
---
"effect": patch
---
Schema: add `annotateEncoded` function for annotating the encoded side of a schema.
@@ -0,0 +1,5 @@
---
"effect": patch
---
Add `Schema.ArrayEnsure`.
@@ -0,0 +1,5 @@
---
"effect": patch
---
Schema: add `BigDecimal` schema with comparison checks (`isGreaterThanBigDecimal`, `isGreaterThanOrEqualToBigDecimal`, `isLessThanBigDecimal`, `isLessThanOrEqualToBigDecimal`, `isBetweenBigDecimal`).
@@ -0,0 +1,5 @@
---
"effect": patch
---
Schema: add `DateTimeZoned`, `TimeZoneOffset`, `TimeZoneNamed`, and `TimeZone` schemas.
@@ -0,0 +1,5 @@
---
"effect": patch
---
Schema: add `OptionFromOptionalNullOr` schema, closes #1707.
@@ -0,0 +1,5 @@
---
"effect": patch
---
Schema: add `OptionFromUndefinedOr` and `OptionFromNullishOr` schemas.
@@ -0,0 +1,5 @@
---
"effect": patch
---
Schema: add `StringFromBase64`, `StringFromBase64Url`, `StringFromHex`, and `StringFromUriComponent` schemas for decoding encoded strings into UTF-8 strings, closes #1995.
@@ -0,0 +1,5 @@
---
"@effect/sql-pglite": minor
---
Add `@effect/sql-pglite` package, wrapping `@electric-sql/pglite` with the Effect SQL client (Postgres dialect, Effect-managed transactions via savepoints, listen/notify, dumpDataDir/refreshArrayTypes, and a Migrator).
@@ -0,0 +1,5 @@
---
"@effect/oxc": patch
---
Add an `effect/standard-jsdoc` oxlint rule for staged public API JSDoc standardization.
@@ -0,0 +1,5 @@
---
"effect": patch
---
Add Stream.broadcastN for fixed-size stream broadcasts.
@@ -0,0 +1,5 @@
---
"effect": patch
---
Add `unstable/encoding` subpath export.
@@ -0,0 +1,5 @@
---
"@effect/platform-node-shared": patch
---
default to endOnDone: false in NodeStdio
@@ -0,0 +1,6 @@
---
"@effect/ai-openai": patch
"@effect/ai-openai-compat": patch
---
Fix `OpenAiLanguageModel` leaking library-only config fields (`fileIdPrefixes`, `strictJsonSchema`) into request body, causing OpenAI 400 errors.
@@ -0,0 +1,5 @@
---
"@effect/ai-openai": patch
---
Fix `OpenAIFile` schema decode failure on responses where `expires_at` and `status_details` are returned as literal `null`. The OpenAI files endpoint returns `null` (not omitted) for these fields when no expiration / status detail applies (e.g. uploads with `purpose: "user_data"`), but the upstream OpenAPI spec marks them only as optional. Codegen patches widen both fields to allow `null`, which now decodes cleanly via `OpenAiClient.createFile`, `retrieveFile`, `listFiles`, and any other endpoint returning the `OpenAIFile` shape.
@@ -0,0 +1,5 @@
---
"effect": patch
---
Add an exhaustive finalizer to the AsyncResult builder.
@@ -0,0 +1,5 @@
---
"effect": patch
---
Expose `NoSuchElementError` in the error type of stream-based `Atom.make` overloads.
@@ -0,0 +1,5 @@
---
"effect": patch
---
move ChildProcess apis into spawner service
@@ -0,0 +1,5 @@
---
"effect": patch
---
Effect.repeat now uses effect return value when using options
@@ -0,0 +1,5 @@
---
"@effect/ai-openai": patch
---
add back openai reasoning types
@@ -0,0 +1,5 @@
---
"effect": patch
---
add Rpc.custom
@@ -0,0 +1,5 @@
---
"effect": patch
---
Add `Effect.filter` support for synchronous `Filter.Filter` overloads and correctly handle non-effect `Result` return values at runtime.
@@ -0,0 +1,5 @@
---
"effect": patch
---
Update unstable schema variant helpers to use array-based arguments for `FieldOnly`, `FieldExcept`, and `Union`, aligning `VariantSchema` and `Model` with other v4 API shapes.
@@ -0,0 +1,5 @@
---
"@effect/ai-openai-compat": patch
---
Preserve streamed OpenAI compat tool call ids and names across fragmented chat completion chunks.
@@ -0,0 +1,5 @@
---
"effect": patch
---
Ensure streamed tool results are emitted before the finish part so chat history includes tool outputs before stream termination.
@@ -0,0 +1,7 @@
---
"effect": patch
---
Fix consolePretty ignoring explicit colors option in non-TTY environments.
When colors is explicitly set to true, prettyLoggerTty was still gating it with processStdoutIsTTY check, making it impossible to enable colors in non-TTY environments like Vite dev server.
@@ -0,0 +1,5 @@
---
"effect": patch
---
add HttpApiTest module
@@ -0,0 +1,5 @@
---
"effect": patch
---
support tag unions in Effect.catchTag/Reason
@@ -0,0 +1,5 @@
---
"effect": patch
---
Run request resolver batch fibers with request services by using `Effect.runForkWith`, so resolver delay effects and `runAll` execution see the request service map.
@@ -0,0 +1,5 @@
---
"effect": patch
---
add support for deferred responses in rpc
@@ -0,0 +1,5 @@
---
"effect": patch
---
Add `Model.BooleanSqlite`, a model field schema that uses `0 | 1` encoding for database variants and plain `boolean` encoding for JSON variants.
@@ -0,0 +1,5 @@
---
"effect": patch
---
Add `Config.Success` type utility, closes #1783.
@@ -0,0 +1,5 @@
---
"effect": patch
---
Allow `Effect.acquireRelease` release finalizers to depend on the surrounding environment.
@@ -0,0 +1,5 @@
---
"effect": patch
---
Add `responseText` to `AiError.StructuredOutputError` and populate it from `LanguageModel.generateObject` so failed structured output decodes include the full LLM text.
@@ -0,0 +1,5 @@
---
"effect": patch
---
make fiber keepAlive setInterval evaluation lazy
@@ -0,0 +1,5 @@
---
"effect": patch
---
Persist MCP HTTP session and protocol headers after initialize so follow-up JSON-RPC requests include `MCP-Protocol-Version`.
@@ -0,0 +1,5 @@
---
"effect": patch
---
Rename Atom's `Context` type to `AtomContext`
@@ -0,0 +1,5 @@
---
"@effect/ai-openrouter": patch
---
Fix HTTP Referer header name in the `OpenRouterClient`
@@ -0,0 +1,7 @@
---
"effect": patch
"@effect/platform-bun": patch
"@effect/platform-node": patch
---
add rows to Terminal
@@ -0,0 +1,5 @@
---
"@effect/ai-openai": patch
---
improve openai socket errors
@@ -0,0 +1,7 @@
---
"effect": patch
---
Allow unstable HttpApi middleware to declare multiple error schemas with arrays.
Middleware errors now follow endpoint error behavior for response status resolution, client decoding, and generated API schemas.
@@ -0,0 +1,5 @@
---
"effect": patch
---
Add grouped subcommand support to `Command.withSubcommands`, including help output sections for named groups while keeping ungrouped commands under `SUBCOMMANDS`.
@@ -0,0 +1,5 @@
---
"effect": patch
---
Add `disableFatalDefects` to `RpcServer.layerHttp`, `RpcServer.toHttpEffect`, and `RpcServer.toHttpEffectWebsocket` option types to match existing runtime support.
@@ -0,0 +1,5 @@
---
"effect": patch
---
add Context.Key type, used a base for Context.Service and Context.Reference
@@ -0,0 +1,5 @@
---
"effect": patch
---
remove Effect.Yieldable
@@ -0,0 +1,5 @@
---
"effect": patch
---
Add `HttpServerResponse.fromClientResponse` for directly converting client responses into server responses.
@@ -0,0 +1,5 @@
---
"effect": patch
---
Make `Data.Class`, `Data.TaggedClass`, and `Cause.YieldableError` pipeable.
@@ -0,0 +1,5 @@
---
"effect": patch
---
fix issues with metro bundler
@@ -0,0 +1,5 @@
---
"effect": patch
---
allow undefined for VariantSchema.Overridable input
@@ -0,0 +1,5 @@
---
"@effect/ai-anthropic": patch
---
Remove duplicate `ToolApprovalResponsePartOptions` from Anthropic package
@@ -0,0 +1,5 @@
---
"effect": patch
---
Proxy function arity from `Effect.fn` APIs so wrapped functions preserve the original `length` value.
@@ -0,0 +1,5 @@
---
"@effect/sql-pg": patch
---
Use `pg_notify` in `PgClient.notify` so channel and payload are sent through parameters instead of a `NOTIFY` statement string.
@@ -0,0 +1,5 @@
---
"effect": patch
---
Add `Random.nextBoolean` for generating random boolean values.
@@ -0,0 +1,5 @@
---
"effect": patch
---
Remove `Inspectable.stringifyCircular` and fix `Formatter.formatJson` so shared object references are preserved while only circular references are omitted.
@@ -0,0 +1,5 @@
---
"effect": patch
---
Add `Ctrl-U` line clearing support to editable CLI prompts.
@@ -0,0 +1,5 @@
---
"@effect/sql-pg": patch
---
clean up sql-pg constructors and layers
@@ -0,0 +1,5 @@
---
"@effect/platform-browser": patch
---
improve idb support for compound indexes
@@ -0,0 +1,5 @@
---
"effect": patch
---
Append concrete choice values to CLI flag help descriptions so generated help shows valid command-line inputs.
@@ -0,0 +1,35 @@
---
"effect": patch
---
Port `Pipeable.Class` from v3.
```ts
class MyClass extends Pipeable.Class() {
constructor(public a: number) {
super()
}
methodA() {
return this.a
}
}
console.log(new MyClass(2).pipe((x) => x.methodA())) // 2
```
```ts
class A {
constructor(public a: number) {}
methodA() {
return this.a
}
}
class B extends Pipeable.Class(A) {
constructor(private b: string) {
super(b.length)
}
methodB() {
return [this.b, this.methodA()]
}
}
console.log(new B("pipe").pipe((x) => x.methodB())) // ['pipe', 4]
```
@@ -0,0 +1,5 @@
---
"@effect/platform-browser": patch
---
use Cause.NoSuchElementError for idb .first queries
@@ -0,0 +1,5 @@
---
"@effect/ai-openai": patch
---
Add support for OpenAI `keepalive` response stream events.
@@ -0,0 +1,25 @@
---
"effect": patch
---
Schema: collapse same-type literal branches in JSON Schema output into a single `enum` array, closes #1868.
Before:
```json
{
"anyOf": [
{ "type": "string", "enum": ["A"] },
{ "type": "string", "enum": ["B"] }
]
}
```
After:
```json
{
"type": "string",
"enum": ["A", "B"]
}
```
@@ -0,0 +1,7 @@
---
"effect": patch
---
Revert `Config.withDefault` to v3 behavior, closes #1530.
Make `Config.withDefault` accept an eager value instead of `LazyArg`, aligning with CLI module conventions.
+24
View File
@@ -0,0 +1,24 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": ["@changesets/changelog-github", { "repo": "Effect-TS/effect-smol" }],
"commit": false,
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": [
"scratchpad",
"scripts"
],
"privatePackages": false,
"fixed": [
[
"effect",
"@effect/*"
]
],
"snapshot": {
"useCalculatedVersion": false,
"prereleaseTemplate": "{tag}-{commit}"
}
}
@@ -0,0 +1,5 @@
---
"effect": patch
---
Encoding: consolidate `effect/encoding` sub-modules (Base64, Base64Url, Hex, EncodingError) into a top-level `Encoding` module. Functions are now prefixed: `encodeBase64`, `decodeBase64`, `encodeHex`, `decodeHex`, etc. The `effect/encoding` sub-path export is removed.
@@ -0,0 +1,16 @@
---
"effect": patch
"@effect/sql-clickhouse": patch
"@effect/sql-d1": patch
"@effect/sql-libsql": patch
"@effect/sql-mssql": patch
"@effect/sql-mysql2": patch
"@effect/sql-pg": patch
"@effect/sql-sqlite-bun": patch
"@effect/sql-sqlite-do": patch
"@effect/sql-sqlite-node": patch
"@effect/sql-sqlite-react-native": patch
"@effect/sql-sqlite-wasm": patch
---
Consolidate the SqlError changes to the new reason-based shape across effect and the SQL drivers, classifying native failures into structured reasons with Unknown fallback where native codes are unavailable.
@@ -0,0 +1,5 @@
---
"effect": patch
---
ensure transformed Atom's don't extend idle ttl
@@ -0,0 +1,5 @@
---
"effect": patch
---
add Stream.timeoutOrElse
@@ -0,0 +1,5 @@
---
"effect": patch
---
add `Schema.HashSet` for decoding and encoding `HashSet` values.
@@ -0,0 +1,5 @@
---
"effect": patch
---
narrow types for Effect.retry/repeat while option
@@ -0,0 +1,5 @@
---
"effect": patch
---
Add `Effect.validate` for validating collections while accumulating all failures, equivalent to the v3 `Effect.validateAll` behavior.
@@ -0,0 +1,5 @@
---
"@effect/openapi-generator": patch
---
Add HttpApi generation support for custom OpenAPI HTTP security schemes.
@@ -0,0 +1,5 @@
---
"effect": patch
---
catch defects when building Entity handlers
@@ -0,0 +1,5 @@
---
"@effect/platform-browser": patch
---
improve idb transaction api
@@ -0,0 +1,5 @@
---
"@effect/vitest": patch
---
Broaden the `vitest` peer dependency range to support both v3 and v4.
Loaded 100 of 3017 files, more files were not shown because too many files have changed in this diff. Show more