Skip to content

Conversation

@david-shibley-contentful
Copy link
Contributor

Purpose

We want to prevent any kind of code injection or prompt injection so that someone can't maliciously act upon our agent.

Approach

Testing steps

Breaking Changes

Dependencies and/or References

Deployment

ryunsong-contentful and others added 16 commits December 18, 2025 15:11
* wip

* simplify agent

* organize oauth functions

* reorganizing function handlers

* reorganizing function handlers (prev `createEntriesfromDocument`) calling each agent in a separate function, + removing plan agent for now

* fix: function manifest

* minor edit to manifest

* replacing single function with 2: one for analyzing ct + one for document processing

* fix: add oauth token to analyze content type function

* fix: adding entries to document processor o/p

* feat: new app action to create entries, preview modal

* cleanup + rename preview function

* cleanup

* chore: delete test docs

* cleanup

* rename handler for consistency
* feat: got google doc picker working

* feat: explicitly add api key for google docs oauth connection
* feat: ai document parser can handle references now

* fix: console logs and fixed issues with creating entries and references being mapped
* fix: preview entry cards ui

* fix: using displayField for entry title

* pass sdk prop

* chore:fix gapi path

* feat: helper function to fetch entry titles

* chore: using forma style tokens for entry cards

* fix entry title helper functions

* fix: styles

* chore: rename title

* fix: copy

* fix: moving fetchEntryTitle logic to useGeneratePreview hook

* chore: remove logs

* chore: remove redundant title

* fix any type for entry

* replace magic number for title length

* rename and move getEntryTitle util

* handle zero entries better

* cleanup: remove null type for preview response and unused props( summary, total entries)

* cleanup

* rename previewData -> previewEntries

* cleanup

* refactor getEntryTitle to use a new getContentType util
* fix: refactor the preview modal logic to have cleaner typings

* feat: update app action typing using generics
@david-shibley-contentful david-shibley-contentful requested a review from a team as a code owner December 30, 2025 21:43
@david-shibley-contentful david-shibley-contentful changed the title feat: security improvements feat: security improvements [INTEG-3326] Jan 3, 2026
Base automatically changed from google-docs-xmas-fb to master January 5, 2026 18:19
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.

5 participants