Skip to content

Import OpenSecret SDK with history - #847

Merged
AnthonyRonning merged 367 commits into
masterfrom
codex-maple-sdk-history-import
Aug 26, 2026
Merged

AnthonyRonning merged 367 commits into
masterfrom
codex-maple-sdk-history-import

Conversation

@AnthonyRonning

@AnthonyRonning AnthonyRonning commented Aug 26, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • import OpenSecretCloud/OpenSecret-SDK under sdk/ with its unsquashed Git history
  • add a minimal root README pointer explaining that Maple still consumes the published SDK packages
  • normalize pre-existing trailing whitespace in the imported SDK as a separate follow-up commit

This is an import-only PR. It does not change Maple dependencies, versions, CI, publishing, releases, or the lifecycle of the standalone SDK repository. The nested sdk/.github/workflows files are inert in this repository until a follow-up ports the required jobs to the root workflow directory.

History integrity

  • source commit: ac390d5fc3f3c9b8c0ef93448803acab537dd899
  • import commit: 30d964fd7fdb05bddf638b62a6a449d228746716
  • the import commit second parent is the exact source commit
  • source tree and 30d964fd:sdk are both 9b4973b13f79b5c24bd0239791e2950a1b935f87
  • current sdk/ content remains source-identical when ignoring the separate trailing-whitespace cleanup

Merge this PR with a normal merge commit. Do not squash or rebase it; either would discard the connected SDK history this PR exists to preserve.

Validation

  • import parentage, source-tree identity, and ancestry checks
  • changed-path boundary: only README.md and sdk/**
  • git diff --check origin/master...HEAD
  • root nix flake check --no-update-lock-file --print-build-logs
  • Maple pre-commit validation, including frontend build and 765 tests
  • SDK frozen Bun install, audit, and build
  • SDK credential-free TypeScript unit tests: 81 passed
  • SDK Rust fmt and clippy
  • SDK Rust library tests: 83 passed
  • SDK Rust docs with warnings denied

The hosted TypeScript and Rust integration suites were not run locally because their credentials and backend services are not present on this VM. The SDK source branch workflows were green before import.

Follow-ups

  • wire Maple React usage to the in-repository SDK
  • port the SDK checks/publishing workflow and document releases
  • switch Rust consumers later alongside the proxy work
  • resolve or port OpenSecretCloud/OpenSecret-SDK#89, OpenSecretCloud/OpenSecret-SDK#102, and OpenSecretCloud/OpenSecret-SDK#92 before freezing or archiving the old repository

AnthonyRonning and others added 30 commits April 18, 2025 10:44
- Add new types: DocumentUploadInitResponse, DocumentStatusRequest, DocumentStatusResponse
- Update uploadDocument to return task ID immediately instead of waiting
- Add checkDocumentStatus function to poll for processing status
- Add uploadDocumentWithPolling helper for automatic polling with progress callback
- Update OpenSecretContext to expose all three document functions
- Update documentation with examples for all upload methods

This change makes document upload more resilient by:
- Preventing 60-second timeout issues
- Allowing recovery from connection drops
- Providing real-time progress updates
- Supporting long-running document processing

BREAKING CHANGE: uploadDocument now returns DocumentUploadInitResponse instead of DocumentResponse. Use uploadDocumentWithPolling for backwards-compatible behavior.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
feat: implement async document upload with polling
AnthonyRonning and others added 27 commits August 11, 2026 22:13
…pensecret-sdk

chore: update SDK dependencies and security audits
…ensecret-sdk

security: block compromised Rust crates
…ecret-sdk

ci: commit and enforce the Rust lockfile
…cret-sdk

Security: enforce daily RustSec advisory checks
…secret-sdk

security: enforce unsoundness advisories
…ensecret-sdk

Retry recoverable encrypted requests once
…-opensecret-sdk

Allow React model discovery before sign-in
…ensecret-sdk

chore: bump SDK release versions
…et-sdk

Fix Firefox GET requests receiving encrypted empty bodies
…ensecret-sdk

chore: bump React SDK to 3.5.1
git-subtree-dir: sdk
git-subtree-mainline: 368d09f
git-subtree-split: ac390d5
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying maple with  Cloudflare Pages  Cloudflare Pages

Latest commit: 873f0b3
Status: ✅  Deploy successful!
Preview URL: https://2b754e09.maple-ca8.pages.dev
Branch Preview URL: https://codex-maple-sdk-history-impo.maple-ca8.pages.dev

View logs

@AnthonyRonning
AnthonyRonning merged commit 715b0c9 into master Aug 26, 2026
19 of 20 checks passed
@AnthonyRonning
AnthonyRonning deleted the codex-maple-sdk-history-import branch August 26, 2026 06:24
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.

2 participants