Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion cmd/lk/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const docsRequestTimeout = 30 * time.Second
// server that this CLI was built against. If the server reports a newer
// major or minor version, a warning is printed to stderr suggesting the
// user update their CLI.
var expectedServerVersion = [2]int{1, 3}
var expectedServerVersion = [2]int{1, 4}

var (
DocsCommands = []*cli.Command{
Expand Down Expand Up @@ -219,6 +219,14 @@ SDKs, and agent frameworks) with their package names for each platform.
Useful for cross-referencing dependencies and finding the right SDK.`,
Action: docsListSDKs,
},
{
Name: "pricing-info",
Usage: "Get LiveKit Cloud pricing information",
Description: `Returns LiveKit Cloud pricing information including plans, feature
comparison matrix, inference model pricing, and calculator assumptions.
Use this when you need details about pricing, costs, plans, or billing.`,
Action: docsPricingInfo,
},
{
Name: "submit-feedback",
Usage: "Submit feedback on the LiveKit documentation",
Expand Down Expand Up @@ -348,6 +356,10 @@ func docsListSDKs(ctx context.Context, cmd *cli.Command) error {
return callDocsToolAndPrint(ctx, cmd, "get_sdks", map[string]any{})
}

func docsPricingInfo(ctx context.Context, cmd *cli.Command) error {
return callDocsToolAndPrint(ctx, cmd, "get_pricing_info", map[string]any{})
}

func docsSubmitFeedback(ctx context.Context, cmd *cli.Command) error {
feedback := cmd.String("feedback")
if feedback == "" && cmd.Args().Len() > 0 {
Expand Down
Loading