Skip to content

release: docs 0.2.2 - #1

Merged
m1ngsama merged 1 commit into
mainfrom
agent/release-0.2.2
Aug 4, 2026
Merged

release: docs 0.2.2#1
m1ngsama merged 1 commit into
mainfrom
agent/release-0.2.2

Conversation

@m1ngsama

@m1ngsama m1ngsama commented Aug 4, 2026

Copy link
Copy Markdown
Member

What changed

  • add safe path and repository-coordinate validation
  • validate GitHub response shapes and exclude symlinks and submodules
  • isolate cached snapshots from caller mutation
  • deduplicate concurrent requests and make clear() safe around in-flight work
  • keep timeouts active through response consumption and restrict stale fallback to transient failures
  • prepare @nbtca/docs 0.2.2

Why

The client could accept repository-path traversal, expose unsupported entry types, let callers mutate cached arrays, and hide permanent HTTP failures behind stale data.

Impact

Directory, tree, and file reads now have predictable cache, concurrency, timeout, and error behavior without changing the public client methods.

Validation

  • 2 test files and 55 tests passed
  • TypeScript build passed
  • local Prompt integration passed
  • npm audit --omit=dev reported 0 vulnerabilities
  • npm pack and npm publish --dry-run --access public passed

@m1ngsama
m1ngsama merged commit 10d41d5 into main Aug 4, 2026
1 check passed
@m1ngsama
m1ngsama deleted the agent/release-0.2.2 branch August 4, 2026 00:54
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