Skip to content

scaffold: DSM Web-API read/discover (ADR-0002) - #1

Merged
ChrisonSimtian merged 1 commit into
mainfrom
feat/scaffold
May 31, 2026
Merged

ChrisonSimtian merged 1 commit into
mainfrom
feat/scaffold

Conversation

@ChrisonSimtian

Copy link
Copy Markdown
Collaborator

Hand-written SynoSharp (no codegen): SynologyApiClient (Web-API auth + read) + SynologyDiscovery + synosharp CLI + CI/publish (chrison-dev). Builds clean. Read path UNVERIFIED until a DSM target (container needs KVM/x86). SSH-runner for mutations next.

Hand-written (no codegen — Synology has no published schema):
- SynologyApiClient: SYNO.API.Auth login + entry.cgi GET ({success,data} unwrap).
- SynologyDiscovery → SynologySnapshot (DSM version, shares, users); defensive
  SYNO.Core.* reads (degrade to empty on shape mismatch). Pinned to DSM 7.1.
- synosharp CLI (discover); skippable live test (SYNOLOGY_* env).
- CI/publish to GitHub Packages (chrison-dev).

Builds clean; 1 unit test, live test skips. UNVERIFIED — the Virtual DSM
container needs KVM/x86 (no Apple Silicon); verify on a Linux host or the live
NAS read-only. SSH-runner for mutations is the next phase.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ChrisonSimtian
ChrisonSimtian merged commit e122745 into main May 31, 2026
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