Skip to content

feat(sdk): add file management and deploy support#35

Merged
retr0h merged 3 commits intomainfrom
feat/add-file-endpoints
Mar 6, 2026
Merged

feat(sdk): add file management and deploy support#35
retr0h merged 3 commits intomainfrom
feat/add-file-endpoints

Conversation

@retr0h
Copy link
Collaborator

@retr0h retr0h commented Mar 6, 2026

Summary

  • Add FileService with upload, status, and deploy operations
  • Add file deploy orchestration operation and SDK example
  • Add node file-related endpoints (upload, status, deploy)
  • Sync agent API spec with routes and primary interface fields
  • Add comprehensive documentation for file service and operations

Test plan

  • Unit tests for FileService methods (upload, status, deploy)
  • Unit tests for file domain type converters
  • Unit tests for node file endpoints
  • agentFromGen coverage at 100%
  • All tests pass (just go::unit)

🤖 Generated with Claude Code

retr0h and others added 3 commits March 6, 2026 12:59
Add FileService with Upload, List, Get, Delete methods for managing
files in the NATS Object Store. Add FileDeploy and FileStatus methods
to NodeService for deploying files to agents with SHA-based
idempotency and template rendering support.

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Add FileService documentation with Upload, List, Get, Delete methods.
Add file deploy/status operation docs for orchestration. Update README
services and operations tables.

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Add SDK client example demonstrating file upload, list, get, deploy,
status, and delete. Add orchestration example showing upload → deploy
template → verify status DAG workflow.

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
@retr0h retr0h force-pushed the feat/add-file-endpoints branch from 11b3bb4 to c08c5ef Compare March 6, 2026 20:59
@retr0h retr0h merged commit 66626cd into main Mar 6, 2026
5 checks passed
@retr0h retr0h deleted the feat/add-file-endpoints branch March 6, 2026 21:01
@codecov
Copy link

codecov bot commented Mar 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

Impacted file tree graph

@@            Coverage Diff             @@
##              main       #35    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files           20        22     +2     
  Lines         1501      1653   +152     
==========================================
+ Hits          1501      1653   +152     
Files with missing lines Coverage Δ
pkg/osapi/file.go 100.00% <100.00%> (ø)
pkg/osapi/file_types.go 100.00% <100.00%> (ø)
pkg/osapi/node.go 100.00% <100.00%> (ø)
pkg/osapi/osapi.go 100.00% <100.00%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0916698...c08c5ef. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant