Skip to content

Commit 5b710df

Browse files
committed
chore: update go-flashduty SDK
1 parent 93ed444 commit 5b710df

25 files changed

Lines changed: 2215 additions & 550 deletions

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Build configuration
22
BINARY_NAME ?= flashduty
33
BUILD_DIR := bin
4-
GOLANGCI_LINT_VERSION := v2.2.1
4+
GOLANGCI_LINT_VERSION := v2.11.4
55
GOLANGCI_LINT := $(BUILD_DIR)/golangci-lint
66
GCI_VERSION := v0.13.5
77
GCI := $(BUILD_DIR)/gci
@@ -52,11 +52,11 @@ gci: $(GCI) ## Sort imports using gci
5252

5353
.PHONY: lint
5454
lint: $(GOLANGCI_LINT) ## Run golangci-lint
55-
$(GOLANGCI_LINT) run
55+
$(GOLANGCI_LINT) run --allow-serial-runners
5656

5757
.PHONY: lint-fix
5858
lint-fix: $(GOLANGCI_LINT) ## Run golangci-lint with auto-fix
59-
$(GOLANGCI_LINT) run --fix
59+
$(GOLANGCI_LINT) run --fix --allow-serial-runners
6060

6161
.PHONY: test
6262
test: ## Run unit tests

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/flashcatcloud/flashduty-cli
33
go 1.25.1
44

55
require (
6-
github.com/flashcatcloud/go-flashduty v0.5.4-0.20260616051811-54d4fc1065bb
6+
github.com/flashcatcloud/go-flashduty v0.5.4-0.20260626064127-3f90f8e0e38b
77
github.com/mattn/go-runewidth v0.0.24
88
github.com/spf13/cobra v1.10.2
99
github.com/spf13/pflag v1.0.10

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +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/go-flashduty v0.5.4-0.20260616051811-54d4fc1065bb h1:V3SrTp2JSJ4MizuCfvFdEc4FFxial3uSYQZaCiCb6oI=
5-
github.com/flashcatcloud/go-flashduty v0.5.4-0.20260616051811-54d4fc1065bb/go.mod h1:aA0RtZEs0AYOwwdNKdtVeD8YMOdnmVY1zAlVD+9Ovx8=
4+
github.com/flashcatcloud/go-flashduty v0.5.4-0.20260626064127-3f90f8e0e38b h1:2QQxu6uSDdmBMuKmKiLFqBT9nzp6u0M35BimnXN6kM0=
5+
github.com/flashcatcloud/go-flashduty v0.5.4-0.20260626064127-3f90f8e0e38b/go.mod h1:aA0RtZEs0AYOwwdNKdtVeD8YMOdnmVY1zAlVD+9Ovx8=
66
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
77
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
88
github.com/mattn/go-runewidth v0.0.24 h1:cpokDiIn0MGnhdHwuWnJBITySJ20QyNGnY2kR/ay2DU=

internal/cli/session.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ func fetchSessionsPaged(
197197
req.Page = page
198198
req.Limit = pageLimit
199199

200-
resp, _, err := client.Sessions.List(ctx, &req)
200+
resp, _, err := client.Sessions.ReadList(ctx, &req)
201201
if err != nil {
202202
return nil, 0, err
203203
}

internal/cli/zz_generated_a2a_agents.go

Lines changed: 114 additions & 114 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/cli/zz_generated_applications.go

Lines changed: 60 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/cli/zz_generated_channels.go

Lines changed: 61 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/cli/zz_generated_im_integrations.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)