tryAGI / tryAGI/RealtimeAvatar
Publish to NuGet and update D-ID + Simli to use package reference
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 0
- Forks
- 0
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 1
Description
Summary
The tryAGI.RealtimeAvatar.Abstractions NuGet package needs to be published so that D-ID and Simli SDKs can reference it via <PackageReference> instead of maintaining local copies of IRealtimeAvatarClient.cs.
Current State
dotnet packworks and producestryAGI.RealtimeAvatar.Abstractions.1.0.0.nupkg- No CI/CD workflows exist yet (no
.github/workflows/directory) - Three copies of
IRealtimeAvatarClient.csexist:- Canonical:
tryAGI/RealtimeAvatar/src/libs/RealtimeAvatar/IRealtimeAvatarClient.cs - Simli:
tryAGI/Simli/src/libs/Simli/Extensions/IRealtimeAvatarClient.cs(identical) - D-ID:
tryAGI/DId/src/libs/DId/Extensions/IRealtimeAvatarClient.cs(minor drift: 2 extra#pragma warning disablelines)
- Canonical:
Steps to Complete
1. Set up CI/CD for NuGet publishing
- Add
.github/workflows/with a build + publish workflow (useHavenDV/workflowsshared workflow pattern) - Configure NuGet API key in repo secrets
- Use MinVer for versioning with
vtag prefix
2. Publish to NuGet
- Tag a release (e.g.,
v0.1.0) - Verify package appears on nuget.org
3. Update D-ID SDK
- Add
<PackageReference Include="tryAGI.RealtimeAvatar.Abstractions" Version="<latest>" />tosrc/libs/DId/DId.csproj - Delete
src/libs/DId/Extensions/IRealtimeAvatarClient.cs(the local copy) - Build to verify:
dotnet build DId.slnx - Commit and push
4. Update Simli SDK
- Add
<PackageReference Include="tryAGI.RealtimeAvatar.Abstractions" Version="<latest>" />tosrc/libs/Simli/Simli.csproj - Delete
src/libs/Simli/Extensions/IRealtimeAvatarClient.cs(the local copy) - Build to verify:
dotnet build Simli.slnx - Commit and push
Why This Matters
Using a shared NuGet package instead of local copies ensures type compatibility across SDKs — consumers that depend on both D-ID and Simli will get the same assembly-qualified IRealtimeAvatarClient type, enabling provider-agnostic code.
Missing from csproj (Nice-to-have)
<PackageReadmeFile>— NuGet warns about missing README<PackageLicenseExpression>— License metadata<SignAssembly>withkey.snk— Strong naming for consistency with other tryAGI packages<MinVerTagPrefix>v</MinVerTagPrefix>— MinVer versioning
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the canonical interface at tryAGI/RealtimeAvatar/src/libs/RealtimeAvatar/IRealtimeAvatarClient.cs, the DId.csproj and Simli.csproj files, and the existing package configuration. Add the requested workflow under .github/workflows, publish the package, then replace the local interface copies in DId and Simli with the package reference. Run dotnet build DId.slnx and dotnet build Simli.slnx, and verify the package appears on nuget.org.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, github-actions
- Domain
- build-system, ci-cd, release
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100