Skip to content

[AP-3232] Add function deletion to SDK and CLI - #44

Draft
sharvaribrowserbase wants to merge 1 commit into
agent/extract-functions-corefrom
codex/ap-3232-delete-functions
Draft

sharvaribrowserbase wants to merge 1 commit into
agent/extract-functions-corefrom
codex/ap-3232-delete-functions

Conversation

@sharvaribrowserbase

@sharvaribrowserbase sharvaribrowserbase commented Nov 23, 2026 •

Copy link
Copy Markdown

Summary

  • Add deleteFunction() to the reusable Functions core API.
  • Add bb delete to the bundled CLI.
  • Return { deleted: true | false } so callers can distinguish a deletion from an idempotent no-op.

This PR is stacked on #40, which introduces the reusable Functions core API.

Testing

  • pnpm lint
  • pnpm test (67 tests)
  • pnpm build
  • pnpm test:integration (58 tests)

Manual E2E verification

Invoked the built dist/cli.js delete executable twice against a local HTTP server.

  • First output: ✓ Function deleted
  • Second output: No active function was deleted
  • Both requests: authenticated DELETE /v1/functions/fn%2Fwith%3Freserved%23characters
  • Both CLI invocations exited 0

This branch has not been deployed

No deployments
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