Skip to content

Commit f910758

Browse files
chore: restore the packages #4 removed and port them onto the org toolchain (#10)
* chore: restore the packages #4 removed and port them onto the org toolchain #4 deleted nine of thirteen packages along with the docs site, examples, tooling and workflows. This restores the nine packages at their 925ab0c content and ports them to the house toolchain: tsdown builds, vitest runs, dprint formatting, effect-tsgo typechecking, and no vite-plus or bun left in any manifest. Every package is renamed to @systemfsoftware in the same change so workspace dependencies resolve. The two Postgres-only suites keep their live-server requirement and now run in CI against Postgres 16, 17 and 18, which is where they ran upstream. The release scripts that #4 superseded with the shared release workflow are not restored, and the three tests that exercised them are removed with them. Verification: pnpm install --frozen-lockfile; pnpm format:check; pnpm lint; pnpm -r run typecheck; pnpm --filter './packages/*' build; pnpm test (all packages except storage-postgres pass without a server); storage-postgres 106/106 against Postgres 17; pnpm check:exports. * fix(ci): allow the workerd install and keep the Postgres suites in their own job pnpm refuses an install that silently skips a build script, and the restored Cloudflare suites pull workerd. The intent names the seven packages this change moves so the release gate can classify it. * fix(ci): format the export allowlist, give the review suite room, and serve Postgres to the node matrix * fix(ci): give the restored suites their CI time budget and audit the testing package as testing The restored integration-style suites run past vitest's 5s default on CI runners, so each config carries the same 30s budget storage-postgres already needed. The purity rule treated agent-testing's fixture and conformance exports as production bundles; that package's product is test material, so its entry points are declared testing modules while the banned-dependency check still applies. * fix(ci): run the Cloudflare suites in workerd again The restored Cloudflare packages test against real SQLite-backed Durable Objects through @cloudflare/vitest-plugin, which the plain vitest config dropped: without it cloudflare:test cannot resolve. Their projects, miniflare bindings and lane split return, with a budget that fits a workerd run.
1 parent 672800d commit f910758

319 files changed

Lines changed: 125290 additions & 237 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.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
"@systemfsoftware/agent-ai-decision": none
3+
"@systemfsoftware/agent-platform-cloudflare": none
4+
"@systemfsoftware/agent-pr-review": none
5+
"@systemfsoftware/agent-storage-cloudflare": none
6+
"@systemfsoftware/agent-storage-memory": none
7+
"@systemfsoftware/agent-storage-postgres": none
8+
"@systemfsoftware/agent-testing": none
9+
---
10+
11+
Restore the packages #4 removed, at the same 0.1.0 baseline as the four that stayed.

‎.github/workflows/ci.yml‎

Lines changed: 55 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,19 @@ jobs:
6868
fail-fast: false
6969
matrix:
7070
node: [22, 24]
71+
services:
72+
postgres:
73+
image: postgres:17-alpine
74+
env:
75+
POSTGRES_PASSWORD: postgres
76+
POSTGRES_DB: effect_agent
77+
ports:
78+
- 55432:5432
79+
options: >-
80+
--health-cmd pg_isready
81+
--health-interval 5s
82+
--health-timeout 5s
83+
--health-retries 10
7184
steps:
7285
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
7386
with:
@@ -79,6 +92,45 @@ jobs:
7992
- uses: ./.github/actions/pnpm-store
8093
- run: pnpm install --frozen-lockfile
8194
- run: pnpm test
95+
env:
96+
EFFECT_AGENT_TEST_POSTGRES_URL: postgres://postgres:postgres@localhost:55432/effect_agent
97+
98+
# Transaction rollback and connection cleanup cannot be proven against an in-process double, so the Postgres
99+
# storage suite runs against real servers on each supported major.
100+
storage-postgres:
101+
name: test (postgres ${{ matrix.postgres }})
102+
runs-on: ubuntu-latest
103+
timeout-minutes: 20
104+
strategy:
105+
fail-fast: false
106+
matrix:
107+
postgres: ["16", "17", "18"]
108+
services:
109+
postgres:
110+
image: postgres:${{ matrix.postgres }}-alpine
111+
env:
112+
POSTGRES_PASSWORD: postgres
113+
POSTGRES_DB: effect_agent
114+
ports:
115+
- 55432:5432
116+
options: >-
117+
--health-cmd pg_isready
118+
--health-interval 5s
119+
--health-timeout 5s
120+
--health-retries 10
121+
steps:
122+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
123+
with:
124+
persist-credentials: false
125+
- uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1
126+
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
127+
with:
128+
node-version: 24
129+
- uses: ./.github/actions/pnpm-store
130+
- run: pnpm install --frozen-lockfile
131+
- run: pnpm --filter @systemfsoftware/agent-storage-postgres test
132+
env:
133+
EFFECT_AGENT_TEST_POSTGRES_URL: postgres://postgres:postgres@localhost:55432/effect_agent
82134

83135
# The one check the ruleset requires and the merge queue gates on; the name matches the shared CI of the other
84136
# systemfsoftware repositories. List every other job in `needs`: a job left out is not gated. The job always runs,
@@ -88,19 +140,20 @@ jobs:
88140
name: checks / check
89141
runs-on: ubuntu-latest
90142
timeout-minutes: 5
91-
needs: [static-checks, changeset, test]
143+
needs: [static-checks, changeset, test, storage-postgres]
92144
if: ${{ always() }}
93145
steps:
94146
- name: Require every job to succeed
95147
env:
96148
STATIC_CHECKS: ${{ needs.static-checks.result }}
97149
TEST: ${{ needs.test.result }}
150+
STORAGE_POSTGRES: ${{ needs.storage-postgres.result }}
98151
CHANGESET: ${{ needs.changeset.result }}
99152
EVENT: ${{ github.event_name }}
100153
HEAD_REF: ${{ github.head_ref }}
101154
run: |
102155
status=0
103-
for pair in "static-checks:$STATIC_CHECKS" "test:$TEST"; do
156+
for pair in "static-checks:$STATIC_CHECKS" "test:$TEST" "storage-postgres:$STORAGE_POSTGRES"; do
104157
case "$pair" in
105158
*:success) ;;
106159
*) echo "A required job finished as: $pair"; status=1 ;;

‎oxlint.baseline.json‎

Lines changed: 1557 additions & 37 deletions
Large diffs are not rendered by default.

‎packages/ai-decision/CHANGELOG.md‎

Lines changed: 272 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,272 @@
1+
# @yielded/agent-ai-decision
2+
3+
## 0.1.0-beta.192
4+
5+
No changes in this release.
6+
7+
## 0.1.0-beta.191
8+
9+
### Patch Changes
10+
11+
- [#1117](https://github.com/yielded-dev/agent/pull/1117) [`c056984`](https://github.com/yielded-dev/agent/commit/c0569842948f9d3674f41c5334228f496df2e889) Thanks [@danieljvdm](https://github.com/danieljvdm)! - Upgrade to Effect 4.1 and effect-cf 0.59. BEHAVIOR CHANGE: Replace custom Crypto layers with the required `Digest` and `SecureRandom` services from `effect/crypto`; `NodeCrypto.layer` and `BrowserCrypto.layer` supply both.
12+
13+
## 0.1.0-beta.190
14+
15+
No changes in this release.
16+
17+
## 0.1.0-beta.189
18+
19+
### Patch Changes
20+
21+
- [#1095](https://github.com/yielded-dev/agent/pull/1095) [`37b958b`](https://github.com/yielded-dev/agent/commit/37b958b321a0db45f4a907aedeb8f2bc38defd9b) Thanks [@danieljvdm](https://github.com/danieljvdm)! - Resolve AutoModel choices explicitly before passing the returned native model to `Agent.withModel` or a durable registration.
22+
**BEHAVIOR CHANGE:** authorize and validate selection input in the host, and apply a Scope and timeout around selection plus execution; `AutoModel.make` no longer returns a model Layer.
23+
24+
## 0.1.0-beta.188
25+
26+
No changes in this release.
27+
28+
## 0.1.0-beta.187
29+
30+
No changes in this release.
31+
32+
## 0.1.0-beta.186
33+
34+
No changes in this release.
35+
36+
## 0.1.0-beta.185
37+
38+
No changes in this release.
39+
40+
## 0.1.0-beta.184
41+
42+
### Patch Changes
43+
44+
- [#1003](https://github.com/yielded-dev/agent/pull/1003) [`03066c6`](https://github.com/yielded-dev/agent/commit/03066c600441c19c585e0e8f5daaed4b3ed333b2) Thanks [@danieljvdm](https://github.com/danieljvdm)! - Support labeled rating criteria and structured descriptions in the language-model decision adapter. Require Effect 4.0.5 or later.
45+
46+
## 0.1.0-beta.183
47+
48+
No changes in this release.
49+
50+
## 0.1.0-beta.182
51+
52+
No changes in this release.
53+
54+
## 0.1.0-beta.181
55+
56+
No changes in this release.
57+
58+
## 0.1.0-beta.180
59+
60+
No changes in this release.
61+
62+
## 0.1.0-beta.179
63+
64+
No changes in this release.
65+
66+
## 0.1.0-beta.178
67+
68+
No changes in this release.
69+
70+
## 0.1.0-beta.177
71+
72+
No changes in this release.
73+
74+
## 0.1.0-beta.176
75+
76+
No changes in this release.
77+
78+
## 0.1.0-beta.175
79+
80+
No changes in this release.
81+
82+
## 0.1.0-beta.174
83+
84+
No changes in this release.
85+
86+
## 0.1.0-beta.173
87+
88+
No changes in this release.
89+
90+
## 0.1.0-beta.172
91+
92+
No changes in this release.
93+
94+
## 0.1.0-beta.171
95+
96+
No changes in this release.
97+
98+
## 0.1.0-beta.170
99+
100+
No changes in this release.
101+
102+
## 0.1.0-beta.169
103+
104+
No changes in this release.
105+
106+
## 0.1.0-beta.168
107+
108+
### Patch Changes
109+
110+
- [#784](https://github.com/yielded-dev/agent/pull/784) [`80deef0`](https://github.com/yielded-dev/agent/commit/80deef0af2af790c68c2fda8701b3fed77c07db9) Thanks [@danieljvdm](https://github.com/danieljvdm)! - Reduce tracing overhead by keeping operation spans and removing private helper spans and stack frames. BEHAVIOR CHANGE: Update filters that use private helper span names to use the enclosing agent, model, tool, storage, or recovery operation.
111+
112+
## 0.1.0-beta.167
113+
114+
## 0.1.0-beta.166
115+
116+
### Minor Changes
117+
118+
- [#766](https://github.com/yielded-dev/agent/pull/766) [`a1fb42a`](https://github.com/yielded-dev/agent/commit/a1fb42a651eccef46b8775fe4373d3f04d85e8de) Thanks [@danieljvdm](https://github.com/danieljvdm)! - Move Effect Agent to `@yielded/agent` and its `@yielded/agent-*` adapters. Update dependencies and import prefixes together; APIs, service identities, and stored formats remain unchanged.
119+
120+
### Patch Changes
121+
122+
- [#749](https://github.com/yielded-dev/agent/pull/749) [`08d1384`](https://github.com/yielded-dev/agent/commit/08d1384e625091d83a6cb6eeb9c95e28cff2cc69) Thanks [@danieljvdm](https://github.com/danieljvdm)! - Require Effect 4.0.0 and use its current module paths and encoding APIs. Require `effect-cf@^0.53.0` for the Cloudflare adapter.
123+
124+
BEHAVIOR CHANGE: upgrade Effect and matching provider, platform, SQL, and Atom packages to 4.0.0; replace `effect/unstable/*` imports with `effect/*` and use `effect/http-api` for HTTP APIs. Cloudflare logical alarms now back off from one second and park for hourly recovery after eight attempts without reported source progress.
125+
126+
## 0.1.0-beta.165
127+
128+
## 0.1.0-beta.164
129+
130+
## 0.1.0-beta.163
131+
132+
## 0.1.0-beta.162
133+
134+
## 0.1.0-beta.161
135+
136+
## 0.1.0-beta.160
137+
138+
## 0.1.0-beta.159
139+
140+
## 0.1.0-beta.158
141+
142+
## 0.1.0-beta.157
143+
144+
## 0.1.0-beta.156
145+
146+
## 0.1.0-beta.155
147+
148+
## 0.1.0-beta.154
149+
150+
## 0.1.0-beta.153
151+
152+
## 0.1.0-beta.152
153+
154+
## 0.1.0-beta.151
155+
156+
## 0.1.0-beta.150
157+
158+
## 0.1.0-beta.149
159+
160+
## 0.1.0-beta.148
161+
162+
## 0.1.0-beta.147
163+
164+
## 0.1.0-beta.146
165+
166+
## 0.1.0-beta.145
167+
168+
## 0.1.0-beta.144
169+
170+
## 0.1.0-beta.143
171+
172+
## 0.1.0-beta.142
173+
174+
## 0.1.0-beta.141
175+
176+
## 0.1.0-beta.140
177+
178+
## 0.1.0-beta.139
179+
180+
## 0.1.0-beta.138
181+
182+
## 0.1.0-beta.137
183+
184+
### Minor Changes
185+
186+
- [#642](https://github.com/danieljvdm/effect-agent/pull/642) [`bc7eee7`](https://github.com/danieljvdm/effect-agent/commit/bc7eee7713e84c185fd953f540af2be7bfd52a44) Thanks [@danieljvdm](https://github.com/danieljvdm)! - Add `LanguageModelDecisionModel.layer` to answer native Effect decisions through any structured-output language model.
187+
188+
## 0.1.0-beta.136
189+
190+
## 0.1.0-beta.135
191+
192+
## 0.1.0-beta.134
193+
194+
### Patch Changes
195+
196+
- [#631](https://github.com/danieljvdm/effect-agent/pull/631) [`d210027`](https://github.com/danieljvdm/effect-agent/commit/d210027cd1103cb5a13da03e7054e504c0159e2d) Thanks [@danieljvdm](https://github.com/danieljvdm)! - Require Effect 4.0.0-rc.117 and update the model examples to GPT-6.
197+
198+
## 0.1.0-beta.133
199+
200+
## 0.1.0-beta.132
201+
202+
## 0.1.0-beta.131
203+
204+
## 0.1.0-beta.130
205+
206+
## 0.1.0-beta.129
207+
208+
## 0.1.0-beta.128
209+
210+
## 0.1.0-beta.127
211+
212+
## 0.1.0-beta.126
213+
214+
## 0.1.0-beta.125
215+
216+
## 0.1.0-beta.124
217+
218+
## 0.1.0-beta.123
219+
220+
## 0.1.0-beta.122
221+
222+
## 0.1.0-beta.121
223+
224+
## 0.1.0-beta.120
225+
226+
## 0.1.0-beta.119
227+
228+
## 0.1.0-beta.118
229+
230+
## 0.1.0-beta.117
231+
232+
## 0.1.0-beta.116
233+
234+
## 0.1.0-beta.115
235+
236+
## 0.1.0-beta.114
237+
238+
## 0.1.0-beta.113
239+
240+
## 0.1.0-beta.112
241+
242+
### Minor Changes
243+
244+
- [#558](https://github.com/danieljvdm/effect-agent/pull/558) [`6716f8c`](https://github.com/danieljvdm/effect-agent/commit/6716f8c5915fee466c89d9d82159fd8f2b67ece4) Thanks [@danieljvdm](https://github.com/danieljvdm)! - Require Effect rc.116 and replace the local decision and TypeSafe APIs with native `Decision`, `DecisionModel`, and `@effect/ai-typesafe`, retaining `AutoModel` for thread selection.
245+
246+
BEHAVIOR CHANGE: Import decisions from `effect/unstable/ai` and configure TypeSafe with `TypeSafeClient.layerConfig()`; AutoModel requires at least two profiles, writes version 2 selection records, and rejects version 1 records without reselection or mutation. Retain the previous runtime for active version 1 threads or explicitly upgrade their records in your storage adapter; native probability sums must be within `1e-6` of 1.
247+
248+
## 0.1.0-beta.111
249+
250+
## 0.1.0-beta.110
251+
252+
## 0.1.0-beta.109
253+
254+
## 0.1.0-beta.108
255+
256+
### Minor Changes
257+
258+
- [#539](https://github.com/danieljvdm/effect-agent/pull/539) [`92bd9e2`](https://github.com/danieljvdm/effect-agent/commit/92bd9e26c181c07f84371a372d8885cd4db4667a) Thanks [@danieljvdm](https://github.com/danieljvdm)! - Provide AutoModel as a native Effect model Layer to select through DecisionModel automatically on each parent or subagent thread's first turn. Retain selections across follow-ups through a shared SelectionStore, with an in-memory Layer and schema-backed records for host-owned persistence.
259+
260+
## 0.1.0-beta.107
261+
262+
## 0.1.0-beta.106
263+
264+
## 0.1.0-beta.105
265+
266+
## 0.1.0-beta.104
267+
268+
## 0.1.0-beta.103
269+
270+
### Minor Changes
271+
272+
- [#527](https://github.com/danieljvdm/effect-agent/pull/527) [`f030933`](https://github.com/danieljvdm/effect-agent/commit/f030933c16926171436b4f92e7b920a8fbc89184) Thanks [@danieljvdm](https://github.com/danieljvdm)! - Add provider-neutral Decision Models with reusable, schema-encoded decision sets and typed choice, score, and probability queries. Supply Jev evaluations through the TypeSafe adapter with separate provider statistics and bounded support for rounded Choice probability totals in both the client and shared model.

0 commit comments

Comments
 (0)