chore(release): version packages#130
Open
github-actions[bot] wants to merge 1 commit into
Open
Conversation
c0f818b to
ff3dccf
Compare
ff3dccf to
de22ee1
Compare
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.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
gitsema@0.98.0
Minor Changes
blob:prefix to blob hashes in all text outputs (CLI, MCP, HTTP) so they are clearly distinguishable from commit hashes. HTML renderers now show "Blob Hash" column headers andblob:/commit:prefixes. OpenAPIblobHashfield description updated for clarity. MCP tool interpretations forsemantic_search,search_history, andfirst_seenupdated to guide LLMs on hash types.Patch Changes
argument-injection sink. A caller-supplied "ref" beginning with
-(e.g.--output=/path) was parsed by git as a flag, turninggit loginto anarbitrary-file-write primitive reachable via
semantic_bisect/triage. Allgit call sites that take a user-influenced ref now route through a shared
runGit()helper that rejects leading--refs before spawning git and alwaysinserts git's
--end-of-optionsseparator so a value can never be read as aflag (
resolveRefToTimestamp,parseDateArg,getMergeBase,getBranchExclusiveBlobs).routes. The multi-tenant grant model (
repo_grants/resolveUserRepoAccess)was defined but never checked on the ~16 search/analysis/evolution/graph/
insights routes, so any caller could read any repo's indexed content by naming
its
repoId. A newrepoAuthMiddlewarenow runs afterrepoSessionMiddlewareand, in multi-tenant mode, requires the caller to hold a
readgrant on theaddressed repo unless it is
public(else 403). Multi-tenant mode is opt-invia
GITSEMA_MULTI_TENANT(defaulting toGITSEMA_SERVE_KEYpresence); theglobal serve key and legacy per-repo scoped tokens bypass the check, and a
default open single-dev server is unaffected. Repo-level only — per-branch
grant filtering is deferred to a follow-on phase.
tools serve, a caller-suppliedbyok.http_urlis now validated before theserver calls it — non-
http(s)schemes and hosts resolving to loopback,link-local (incl. the
169.254.169.254cloud-metadata IP), or RFC-1918private ranges are rejected by default. Operators re-permit specific internal
hosts (e.g. a local model server) via the new
GITSEMA_BYOK_ALLOW_HOSTSallowlist. This is a behavior change for anyone pointing BYOK at a
localhost/private endpoint — add the host to the allowlist. List-toolbounds: the network-exposed
depsandblast_radiusdepthparameter isnow upper-bounded (max 64) on both the HTTP route and MCP tool, closing the
last unbounded traversal-depth input from the Phase 147/148 exposure.