SoulFire TypeScript SDK 2.10.3
    Preparing search index...

    Type Alias CommandCompletion

    CommandCompletion: Message<"soulfire.v1.CommandCompletion"> & {
        suggestion: string;
        tooltip?: string;
    }

    A single tab-completion suggestion.

    Type Declaration

    • suggestion: string

      The suggested text to insert at the cursor position. This is the actual completion value, not the full command.

      from field: string suggestion = 1;

    • Optionaltooltip?: string

      Optional tooltip providing additional context about this suggestion. May contain formatted text explaining what the suggestion does. If not present, no tooltip should be displayed.

      from field: optional string tooltip = 2;

    from message soulfire.v1.CommandCompletion