Skip to content

App-callable backend functions with approval and validation flows#17

Merged
omer-second merged 9 commits into
mainfrom
codex/sec141-add-typed-api-sdk
May 25, 2026
Merged

App-callable backend functions with approval and validation flows#17
omer-second merged 9 commits into
mainfrom
codex/sec141-add-typed-api-sdk

Conversation

@omer-second
Copy link
Copy Markdown
Contributor

Summary

  • Adds top-level app tools for deterministic provider API calls and wires them into app code through the Second SDK.
  • Improves agents.json approval handling, including versioned approval hashes, backend-function labeling, and clearer validation/error states.
  • Updates builder guidance, runtime validation, and docs so invalid configs surface as fixable errors instead of empty approval cards.

Testing

  • Ran targeted lint and typecheck checks for the updated web and worker code.
  • Verified the invalid agents.json path now returns a structured validation error and the UI shows a warning-style error card instead of an empty approval state.
  • Confirmed the app-tool approval flow still blocks only on successful presented configs and not on invalid validation results.

@omer-second omer-second changed the title Ship app-callable backend functions with approval and validation flows App-callable backend functions with approval and validation flows May 25, 2026
@omer-second omer-second merged commit e7e107b into main May 25, 2026
3 checks passed
@omer-second omer-second deleted the codex/sec141-add-typed-api-sdk branch May 25, 2026 14:41
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.

1 participant