Repository navigation
ci: core sync automation and npm releases with trusted publishing - #4
Merged
Merged
Conversation
Port the core-sync automation from sdk-python: core-watch opens one chore(core) PR per new core release tag with regenerated src/gen and the proto diff, and core-drift keeps a single "Core main drift" issue from buf breaking, a regenerate-and-test run against core main, and the list of RPCs the curated SDK doesn't call. Both run as the sdk-bot App from the main-only sdk-bot environment. CODEOWNERS sends CI and the scripts it runs with the bot token or npm access to infra review. Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
release.yml runs on pushes to main. When the core pin moved to a stable core tag vX.Y.Z, it tags vX.Y.Z with a draft GitHub release, builds the package at that version, publishes @ai-openshell/sdk to npmjs.org from the npm environment with trusted publishing (no token, provenance added by npm), and then publishes the GitHub release with the tarball. The package now publishes to npmjs.org instead of GitHub Packages, so installing needs no .npmrc scope or token. Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
Add the OpenShell banner and the license, npm and documentation badges, title the page "TypeScript SDK for OpenShell", and follow sdk-python's order: installation, quickstart, usage examples, documentation, supported core versions, contributing, repository history and license. The API reference sections are kept as usage examples and an API surface section; the move from @nvidia/openshell-sdk is under repository history. Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
Contributor
Author
|
This is equivalent to this change in |
Add SECURITY.md, CONTRIBUTING.md and AGENTS.md, the bug and feature issue templates, the pull request template, Dependabot for npm and GitHub Actions, and a CodeQL workflow for javascript-typescript, adapted from sdk-python. Dependabot leaves @bufbuild/protoc-gen-es alone because its version is stamped into the committed bindings. The README links the security policy and CONTRIBUTING.md, which now holds the development notes. Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
This reverts commit 8da1c3a. Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
3 tasks done
…main Vitest doesn't type-check, so a new enum value that breaks an exhaustive map passed the drift check. Run mise run check (type check, lint, proto and vendored-file checks) before the unit tests, after committing the regenerated bindings in the throwaway worktree so proto:check compares against them. Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
TaylorMutch
approved these changes
Nov 19, 2026
TaylorMutch
left a comment
Contributor
There was a problem hiding this comment.
Reviewed through 0c2d7b4. The drift check now includes TypeScript compilation before the unit tests, resolving the previous finding. No remaining actionable findings.
This was referenced Nov 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Ports the core-sync automation and the release workflow from sdk-python, and publishes to npmjs.org instead of GitHub Packages. Part of ai-openshell/openshell#5480.
scripts/core-sync/):core-watch(hourly) opens achore(core): track <tag>PR for each new core release.core-drift(nightly) keeps a "Core main drift" issue up to date. Both run as theai-openshell-sdk-typescriptApp from thesdk-botenvironment.release.yml): when a stable core pin lands onmain, it tagsvX.Y.Z, publishes@ai-openshell/sdkto npmjs.org with trusted publishing from thenpmenvironment, and publishes the GitHub release.jdx/mise-actionupdated to v5.2.7 in every workflow, as in sdk-python.Validation
mise run check,buildandworkflows:checkpass.core:bump -- v0.1.10-pre.2 --dry-runbuilds the proposal, andcore:driftpasses against core main.Setup
sdk-botsecrets (ci: GitHub App and sdk-bot secrets for the core-sync automation #3).sdk-botandnpmenvironments (ai-openshell/infra#67).After merging, run
core-watchby hand to check the bot.