update-libs

Solid

Update the libs/ SDK submodules (openai-go, anthropic-sdk-go, go-genai) to new upstream/fork versions, adapt tingly-box to API changes, and verify with build + vet + tests. Use when asked to bump/update SDK submodules, sync libs to new tingly-dev/upstream tags, or fix breakage after a submodule bump.

AI & Automation 348 stars 40 forks Updated today MPL-2.0

Install

View on GitHub

Quality Score: 83/100

Stars 20%
85
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Update libs/ SDK submodules ## Wiring - Submodules: `libs/openai-go`, `libs/anthropic-sdk-go`, `libs/go-genai`, wired into `go.mod` via `replace`. - Version source of truth: `OPENAI_GO_VERSION` / `ANTHROPIC_SDK_GO_VERSION` / `GO_GENAI_VERSION` at the top of `Taskfile.yml` (branch or tag names). - `task submodule:update` checks out those refs and rewrites `branch =` in `.gitmodules` to match — never hand-edit `.gitmodules`. ## Procedure 1. **Declare the target versions**: edit the three vars in `Taskfile.yml`, then run: ```bash task submodule:update ``` 2. **Network fallback** if `git fetch` over HTTPS fails (SSH usually works): ```bash for d in libs/openai-go libs/anthropic-sdk-go libs/go-genai; do git -C $d config url."git@github.com:".insteadOf "https://github.com/" done ``` Set it per-submodule — submodule repos don't inherit superproject config. 3. **Review the fork patches.** The `tingly-dev-*` branches carry a small set of deliberate patches over upstream. Verify each still exists and still makes sense; a patch may have been deleted on purpose: ```bash git -C libs/<sdk> fetch origin git -C libs/<sdk> log --oneline origin/<upstream-ref>..<tingly-dev-ref> git -C libs/<sdk> diff --stat origin/<upstream-ref>..<tingly-dev-ref> ``` Fork patch commits are prefixed `tingly-dev` and explain their intent in the commit body — read it before deciding anything. 4. **Build-fix loop**: ```bash go build ./.....

Details

Author
tingly-dev
Repository
tingly-dev/tingly-box
Created
9 months ago
Last Updated
today
Language
Go
License
MPL-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category