summaryrefslogtreecommitdiffhomepage
path: root/packages
diff options
context:
space:
mode:
authoropencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>2026-04-18 03:52:28 +0000
committeropencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>2026-04-18 03:52:28 +0000
commit5e9d5c734ea883c00bdb2936e3bd6d786b220db4 (patch)
tree2dd2a29c55c8238019092111b467a38696d0bc5d /packages
parentb382d1a4677622f94c9927ef3ccbd38e74bd5799 (diff)
downloadopencode-5e9d5c734ea883c00bdb2936e3bd6d786b220db4.tar.gz
opencode-5e9d5c734ea883c00bdb2936e3bd6d786b220db4.zip
chore: generate
Diffstat (limited to 'packages')
-rw-r--r--packages/opencode/specs/effect/schema.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/opencode/specs/effect/schema.md b/packages/opencode/specs/effect/schema.md
index 2cf80b98e..72ee10350 100644
--- a/packages/opencode/specs/effect/schema.md
+++ b/packages/opencode/specs/effect/schema.md
@@ -64,9 +64,9 @@ the corresponding zod methods, so JSON Schema output (`type: integer`,
`exclusiveMinimum`, `pattern`, `format: uuid`, …) is preserved.
```ts
-const PositiveInt = Schema.Number.check(Schema.isInt()).check(Schema.isGreaterThan(0))
+const PositiveInt = Schema.Number.check(Schema.isInt()).check(Schema.isGreaterThan(0))
const NonNegativeInt = Schema.Number.check(Schema.isInt()).check(Schema.isGreaterThanOrEqualTo(0))
-const HexColor = Schema.String.check(Schema.isPattern(/^#[0-9a-fA-F]{6}$/))
+const HexColor = Schema.String.check(Schema.isPattern(/^#[0-9a-fA-F]{6}$/))
```
See `test/util/effect-zod.test.ts` for the full set of translated checks.
@@ -321,5 +321,5 @@ piecewise.
- Keep the migration incremental. Converting the domain model first is more
valuable than converting every boundary in the same change.
- Every migrated file should leave the generated SDK output (`packages/sdk/
- openapi.json` and `packages/sdk/js/src/v2/gen/types.gen.ts`) byte-identical
+openapi.json` and `packages/sdk/js/src/v2/gen/types.gen.ts`) byte-identical
unless the change is deliberately user-visible.