Skip to content

Conversation

@krishna9358
Copy link
Contributor

Summary

  • artifact-writer.ts : modified the input schema from z.string() to z.any() and added logic to automatically JSON.stringify any content that isn't a string.

Why:
This allows users to connect list, object, or any other data types directly to the artifact writer without manual conversion, fixing the "Type mismatch" error shown in the screenshot.

image

Testing

  • bun run test
  • bun run lint
  • bun run typecheck
  • Additional notes:

Documentation

  • Updated the relevant doc(s) (see docs/guide.md) or checked that no updates are needed.
  • Recorded contract/architecture changes in both public docs and .ai logs when applicable.

Signed-off-by: Krishna Mohan <krishanmohank974@gmail.com>
@chatgpt-codex-connector
Copy link

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@LuD1161 LuD1161 merged commit 576d347 into main Jan 21, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants