Skip to content

Define project update input with Effect Schema#26803

Merged
kitlangton merged 1 commit into
devfrom
cleanup/project-update-effect-schema-redo
May 11, 2026
Merged

Define project update input with Effect Schema#26803
kitlangton merged 1 commit into
devfrom
cleanup/project-update-effect-schema-redo

Conversation

@kitlangton
Copy link
Copy Markdown
Contributor

@kitlangton kitlangton commented May 11, 2026

Summary

  • Replace the Zod-defined Project.UpdateInput with an Effect Schema definition.
  • Remove the direct Zod import from project.ts and stop relying on ProjectID.zod for update input typing.

Testing

  • bun typecheck from packages/opencode
  • bun test --timeout 5000 test/project/project.test.ts -t "should update"
  • bunx prettier --check packages/opencode/src/project/project.ts
  • bunx oxlint packages/opencode/src/project/project.ts

Stack

  1. Validate prompt messages with Effect Schema #26796
  2. Parse command config with Effect Schema #26801
  3. Define project update input with Effect Schema #26803 👈 current

@kitlangton kitlangton force-pushed the cleanup/config-command-effect-parse branch from f8c1758 to cbd8f75 Compare May 11, 2026 02:50
@kitlangton kitlangton force-pushed the cleanup/project-update-effect-schema-redo branch from 611f9e9 to 633aa7d Compare May 11, 2026 02:50
@kitlangton kitlangton force-pushed the cleanup/config-command-effect-parse branch from cbd8f75 to cc9c3d7 Compare May 11, 2026 13:52
@kitlangton kitlangton force-pushed the cleanup/project-update-effect-schema-redo branch from 633aa7d to 175c6cf Compare May 11, 2026 13:53
@kitlangton kitlangton force-pushed the cleanup/config-command-effect-parse branch from cc9c3d7 to 7954897 Compare May 11, 2026 14:21
@kitlangton kitlangton force-pushed the cleanup/project-update-effect-schema-redo branch from 175c6cf to 4b70078 Compare May 11, 2026 14:21
@kitlangton kitlangton changed the base branch from cleanup/config-command-effect-parse to dev May 11, 2026 14:22
@kitlangton kitlangton force-pushed the cleanup/project-update-effect-schema-redo branch from 4b70078 to 492fcfa Compare May 11, 2026 14:22
@kitlangton kitlangton enabled auto-merge (squash) May 11, 2026 14:24
@kitlangton kitlangton merged commit bcee247 into dev May 11, 2026
12 of 14 checks passed
@kitlangton kitlangton deleted the cleanup/project-update-effect-schema-redo branch May 11, 2026 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant