Skip to content

Commit 814a217

Browse files
authored
chore(cli): regen against go-flashduty — add session-delete, drop console-only skill-download (#61)
* chore(cli): regen against go-flashduty (adds session-delete, drops skill-download) Bump go-flashduty to the merged spec-sync commit (go-flashduty #14) and regenerate cligen. - adds `fduty safari session-delete` (POST /safari/session/delete) — was a public op with no cli command. - drops `fduty safari skill-download` — /safari/skill/download was reclassified jwt (console-only application/zip download; fc-pgy #570, flashduty-docs #106) and is no longer a public op. The old command was a broken, unused generated artifact (the SDK method couldn't decode a zip). - session.go: Sessions.List -> Sessions.ReadList (hand-written /insight list helper) following the SDK's read/write method rename. - regenerated zz_generated_* reflect the SDK type refresh (TimestampMilli, pointer scalars) and the a2a/mcp operationId renames. Build + full test suite green; the "every public op reachable" coverage invariant passes (251/251 non-streaming generated, session-export the only curated streaming op). * chore(cli): regenerate channel card fence after go-flashduty bump The go-flashduty bump adds the channel escalate-webhook-robot-list command (the cli was 8 days behind). Regenerate the channel skill card's GENERATED fence so `skilldoc check` (check-cards CI) stays green.
1 parent ce5428f commit 814a217

11 files changed

Lines changed: 621 additions & 543 deletions

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.20260624143100-02193386c979
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.20260624143100-02193386c979 h1:Pha9D3p8ofiMSGRv1AeEafBJ3JspLRFR0zVQFEXZo44=
5+
github.com/flashcatcloud/go-flashduty v0.5.4-0.20260624143100-02193386c979/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_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_manifest.go

Lines changed: 2 additions & 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)