Skip to content

Commit 053d643

Browse files
committed
chore: bump go-flashduty to v0.14.1 and regenerate
v0.14.1 models /template/update's optional fields as nullable, so the generated `template update` flags now carry the partial-update contract in their help text: every channel says "Omit to keep the current content; send an empty string to clear it", and --team-id says omitting keeps the template's current team. That wording reaches the skill card's generated fence too, so the card and the binary now say the same thing. More importantly the SDK change is what makes clearing possible at all. The CLI binds its flag map into TemplateUpdateRequest before sending, so while those fields were value types with omitempty, `--dingtalk-app ''` was dropped by the encoder and never reached the wire. With pointers it does. 45 files change here but only skills/flashduty/reference/template.md is caused by the bump. The other 42 are pre-existing drift: the committed generated output did not match what cligen + skilldoc produce from the SDK main already pinned. Verified by regenerating on an untouched checkout of main, which produces those same 42 files. This repo has no generate-drift CI job to catch that, unlike go-flashduty. make check-cards reports `skilldoc: cards OK`; build, vet and tests are green.
1 parent 21ef2da commit 053d643

45 files changed

Lines changed: 1408 additions & 1425 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

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.14.0
6+
github.com/flashcatcloud/go-flashduty v0.14.1
77
github.com/mattn/go-runewidth v0.0.27
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.14.0 h1:mKC7MhwA2EzTFa7S+ShLChzMQwcDtOV2oZc4xepTZWA=
5-
github.com/flashcatcloud/go-flashduty v0.14.0/go.mod h1:aA0RtZEs0AYOwwdNKdtVeD8YMOdnmVY1zAlVD+9Ovx8=
4+
github.com/flashcatcloud/go-flashduty v0.14.1 h1:yrpKPuMJuC1z8bhIaZfGV66lb+sAsBUcqOZZsFZjsiI=
5+
github.com/flashcatcloud/go-flashduty v0.14.1/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.27 h1:Feg/Oou5zI/wnpgDF6omIU0OokC9GxLC/WRknhVlIR0=

internal/cli/zz_generated_a2a_agents.go

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

internal/cli/zz_generated_alert_enrichment.go

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

0 commit comments

Comments
 (0)