Skip to content

[Temporary] Snapshot assisted approval SDK bindings - #2855

Draft
szabta89 wants to merge 1 commit into
mainfrom
szabta89-snapshot-approval-instructions-sdk
Draft

szabta89 wants to merge 1 commit into
mainfrom
szabta89-snapshot-approval-instructions-sdk

Conversation

@szabta89

Copy link
Copy Markdown
Contributor

Context

The assisted approval instructions contract merged in github/copilot-agent-runtime#27026 at runtime commit 6b57fdd1ad3582c814b7fefa3c2d6cc564e27377. The paired github-app integration needs the generated SDK surface before the next normal release snapshot reaches github/copilot-sdk/main.

Change

  • Imports all generated SDK files changed by the merged runtime contract byte-for-byte; no generated projection was hand-edited.
  • Adds the deterministic build inputs reconstructed from the current 1.0.100-1 public snapshot so github-app can consume this PR through its full-snapshot sdk_pr workflow without requiring an unreleased cli-* tag.
  • Keeps the current published CLI pin unchanged.

The source-faithful Rust API preserves the legacy PermissionsConfigureParams shape. Assisted approval instructions are exposed through PermissionsConfigureOptions::assisted_approval_instructions(...) and configure_with_options(...).

Validation

  • Runtime pnpm run check:sdk-generation passed for all six projections at 6b57fdd1ad3582c814b7fefa3c2d6cc564e27377.
  • All eight generated files changed by the runtime PR match that commit byte-for-byte.
  • cargo check --no-default-features --features local-runtime passed for the Rust SDK.
  • github-app's scripts/sync-copilot-sdk.sh diff accepted this checkout as a full snapshot and returned ordinary drift (1), not a fatal source mismatch.

Lifecycle

Temporary escape hatch for the paired github-app integration. Keep this PR open for the app's sdk_pr input; it is expected to be superseded by the next normal SDK release snapshot rather than merged.

Import the complete generated projections from copilot-agent-runtime commit 6b57fdd1ad3582c814b7fefa3c2d6cc564e27377 and retain deterministic build inputs so github-app can consume this unreleased contract as a full SDK snapshot.

This temporary escape hatch is expected to be superseded by the next normal release snapshot.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: bace7381-22bf-4919-adac-e8c0d6e00c2a

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