diff --git a/internal/web/dist/index.html b/internal/web/dist/index.html index b83c414..2bccb06 100644 --- a/internal/web/dist/index.html +++ b/internal/web/dist/index.html @@ -8,29 +8,29 @@ - - - - - - - - + + + + + + + +
- -
-
-
- - - - - -

API Keys

-
- -
- - - {#if createdKey} -
-
-
- - - - This key will only be shown once. Save it now. -
-
-
- -
-

API Key

-
- {createdKey.api_key} - -
-
- - -
-

MCP Config (for MCP clients)

-
{getMcpConfig(createdKey.api_key)}
-
- - -
-

Claude Code Config (add to ~/.claude/mcp.json)

-
{getClaudeConfig(createdKey.api_key)}
-
-
-
- -
-
- {/if} - - - {#if showCreate} -
-

Create New API Key

- {#if createError} -
{createError}
- {/if} -
-
- - -
- -
- - -
- -
-

Permissions

-
- - - -
-
- -
- - -
- - - -
- - -
- - -
-
- {/if} - - -
-
-

Your API Keys

-
- {#if loadingData} -
- {#each Array(3) as _} -
- {/each} -
- {:else if keys.length === 0} -
- - - -

No API keys yet. Create one to get started.

-
- {:else} -
- - - - - - - - - - - - - - {#each keys as key} - - - - - - - - - - {/each} - -
NamePrefixPermissionsChannelsExpiresCreatedActions
{key.name}{key.prefix ?? 'sb_...'} -
- {#if key.permissions?.read} - read - {/if} - {#if key.permissions?.write} - write - {/if} - {#if key.permissions?.admin} - admin - {/if} - {#if key.read_only} - RO - {/if} -
-
- {key.allowed_channels?.length ? key.allowed_channels.join(', ') : 'All'} - {formatDate(key.expires_at)}{formatDate(key.created_at)} - {#if confirmRevokeId === key.id} -
- - -
- {:else} - - {/if} -
-
- {/if} -
-