Skip to content

Commit 190d38d

Browse files
committed
build(cli): pin SDK to dev integration branch, drop local-path replace
CI failures since Phase 1 (commit f86006c) traced to a local-path replace directive that pointed at /Users/ysy/go/src/github.com/flashcatcloud/ flashduty-sdk — fine for the workstation that authored it, fatal for GitHub Actions runners that have no such path. The CLI legitimately depends on unreleased SDK methods (Phase 1's CreateMCPServer + Phase 2's MonitQuery / MonitAgent). Until both underlying SDK PRs (#12 mcp-server-create, #13 monit-types) merge and a v0.10.0 tag ships, we pin to a pseudo-version of the integration branch flashduty-sdk@dev/sdk-cli-phase2-deps (HEAD 3203385), which merges both feature branches together. Resolves to: v0.9.1-0.20260527160039-3203385df5ad When SDK v0.10.0 tags, the next commit on this PR just bumps the require to v0.10.0 and we delete the integration branch — no other CLI code change needed. The replace directive does not return.
1 parent a09fa2c commit 190d38d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@ module github.com/flashcatcloud/flashduty-cli
22

33
go 1.25.1
44

5-
replace github.com/flashcatcloud/flashduty-sdk => /Users/ysy/go/src/github.com/flashcatcloud/flashduty-sdk
6-
75
require (
8-
github.com/flashcatcloud/flashduty-sdk v0.9.0
6+
github.com/flashcatcloud/flashduty-sdk v0.9.1-0.20260527160039-3203385df5ad
97
github.com/mattn/go-runewidth v0.0.23
108
github.com/spf13/cobra v1.10.2
119
github.com/spf13/pflag v1.0.9

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
github.com/clipperhouse/uax29/v2 v2.2.0 h1:ChwIKnQN3kcZteTXMgb1wztSgaU+ZemkgWdohwgs8tY=
22
github.com/clipperhouse/uax29/v2 v2.2.0/go.mod h1:EFJ2TJMRUaplDxHKj1qAEhCtQPW2tJSwu5BF98AuoVM=
33
github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g=
4+
github.com/flashcatcloud/flashduty-sdk v0.9.1-0.20260527160039-3203385df5ad h1:TreTSjEIGnp2byx4kGj3BN7RT+6ev8w2PCxVhTWbpVY=
5+
github.com/flashcatcloud/flashduty-sdk v0.9.1-0.20260527160039-3203385df5ad/go.mod h1:dG4eJfdZaj4jNBMwEexbfK/3PmcIMhNeJ88L/DcZzUY=
46
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
57
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
68
github.com/mattn/go-runewidth v0.0.23 h1:7ykA0T0jkPpzSvMS5i9uoNn2Xy3R383f9HDx3RybWcw=

0 commit comments

Comments
 (0)