Documentation
¶
Index ¶
- func RuleCapabilities() *clients.RuleCapabilities
- type Client
- func (c *Client) EnsureAssetSupport(ctx context.Context, scope *clients.InstallScope) error
- func (c *Client) GetAssetPath(ctx context.Context, name string, assetType asset.Type, ...) (string, error)
- func (c *Client) GetBootstrapOptions(ctx context.Context) []bootstrap.Option
- func (c *Client) GetBootstrapPath() string
- func (c *Client) GetVersion() string
- func (c *Client) InstallAssets(ctx context.Context, req clients.InstallRequest) (clients.InstallResponse, error)
- func (c *Client) InstallBootstrap(ctx context.Context, opts []bootstrap.Option) error
- func (c *Client) IsInstalled() bool
- func (c *Client) ListAssets(ctx context.Context, scope *clients.InstallScope) ([]clients.InstalledSkill, error)
- func (c *Client) ReadSkill(ctx context.Context, name string, scope *clients.InstallScope) (*clients.SkillContent, error)
- func (c *Client) RuleCapabilities() *clients.RuleCapabilities
- func (c *Client) ScanInstalledAssets(ctx context.Context, scope *clients.InstallScope) ([]clients.InstalledAsset, error)
- func (c *Client) ShouldInstall(ctx context.Context) (bool, error)
- func (c *Client) UninstallAssets(ctx context.Context, req clients.UninstallRequest) (clients.UninstallResponse, error)
- func (c *Client) UninstallBootstrap(ctx context.Context, opts []bootstrap.Option) error
- func (c *Client) VerifyAssets(ctx context.Context, assets []*lockfile.Asset, scope *clients.InstallScope) []clients.VerifyResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RuleCapabilities ¶
func RuleCapabilities() *clients.RuleCapabilities
RuleCapabilities returns the rule capabilities for Gemini Code Assist
Types ¶
type Client ¶
type Client struct {
clients.BaseClient
}
Client implements the clients.Client interface for Gemini Code Assist
func (*Client) EnsureAssetSupport ¶
EnsureAssetSupport ensures asset infrastructure is set up for the current context. For Gemini, no additional setup is needed.
func (*Client) GetAssetPath ¶
func (c *Client) GetAssetPath(ctx context.Context, name string, assetType asset.Type, scope *clients.InstallScope) (string, error)
GetAssetPath returns an error for Gemini (not yet supported)
func (*Client) GetBootstrapOptions ¶
GetBootstrapOptions returns bootstrap options for Gemini. Includes session hook, analytics hook, and MCP servers.
func (*Client) GetBootstrapPath ¶
GetBootstrapPath returns the path to Gemini's settings file.
func (*Client) GetVersion ¶
GetVersion returns the Gemini version
func (*Client) InstallAssets ¶
func (c *Client) InstallAssets(ctx context.Context, req clients.InstallRequest) (clients.InstallResponse, error)
InstallAssets installs assets to Gemini using client-specific handlers
func (*Client) InstallBootstrap ¶
InstallBootstrap installs Gemini infrastructure (hooks and MCP servers).
func (*Client) IsInstalled ¶
IsInstalled checks if Gemini is installed (CLI, VS Code extension, or JetBrains plugin)
func (*Client) ListAssets ¶
func (c *Client) ListAssets(ctx context.Context, scope *clients.InstallScope) ([]clients.InstalledSkill, error)
ListAssets returns all installed skills for a given scope. Gemini doesn't support skills, so this returns an empty list.
func (*Client) ReadSkill ¶
func (c *Client) ReadSkill(ctx context.Context, name string, scope *clients.InstallScope) (*clients.SkillContent, error)
ReadSkill reads the content of a specific skill by name. Gemini doesn't support skills.
func (*Client) RuleCapabilities ¶
func (c *Client) RuleCapabilities() *clients.RuleCapabilities
RuleCapabilities returns Gemini's rule capabilities
func (*Client) ScanInstalledAssets ¶
func (c *Client) ScanInstalledAssets(ctx context.Context, scope *clients.InstallScope) ([]clients.InstalledAsset, error)
ScanInstalledAssets returns an empty list for Gemini (not yet supported)
func (*Client) ShouldInstall ¶
ShouldInstall checks if installation should proceed. Gemini doesn't have hooks that fire repeatedly, so always proceed.
func (*Client) UninstallAssets ¶
func (c *Client) UninstallAssets(ctx context.Context, req clients.UninstallRequest) (clients.UninstallResponse, error)
UninstallAssets removes assets from Gemini
func (*Client) UninstallBootstrap ¶
UninstallBootstrap removes Gemini infrastructure (hooks and MCP servers).
func (*Client) VerifyAssets ¶
func (c *Client) VerifyAssets(ctx context.Context, assets []*lockfile.Asset, scope *clients.InstallScope) []clients.VerifyResult
VerifyAssets checks if assets are actually installed on the filesystem