Skip to content
dsh.fish
Bundle

dsh-llm-codebuddy-power

A full-featured CodeBuddy (WorkBuddy) provider plugin.

Source
pgnqukezrdxmhjso
License
MIT
Updated
Updated 25 days ago

Readme

# dsh-llm-codebuddy-power

![AI-Crap](https://img.shields.io/badge/%F0%9F%92%A9-AI_crap_code-5C4033?style=flat-square) [![npm](https://img.shields.io/npm/v/dsh-llm-codebuddy-power)](https://www.npmjs.com/package/dsh-llm-codebuddy-power) 

[中文](./README.zh.md)

A full-featured CodeBuddy (WorkBuddy) provider plugin.

Design document: [design/en/current.md](design/en/current.md).

## Install

```bash
dsh plugin --profile web add dsh-llm-codebuddy-power
```

**Installing through GitHub is not supported.**

## Features

**Models and chat**

- Every model CodeBuddy offers, ready to switch between at any time
- Model panel: each model's promotions, subscription, credit multiplier, and discounted price at a glance; hover or tap for details, set how hard the model thinks, and adjust the context window and maximum output
- Image input: models that accept images take a pasted or attached picture

**Image generation**

- Let the model draw from chat, and click a result to open it full size

**Accounts**

- Sign in through the browser, no API key needed
- Keep several accounts signed in at once, each conversation using its own
- Manage accounts on the Plugins page: drag to reorder, choose the default, and sign out one or many
- Switch the current conversation's account from the composer

**Usage**

- Allowance ring: this account's usage with main and gifted allowances pooled, and the remaining gift shown in the centre
- Per-turn credits at the end of every reply; hover to see which account paid

**Preferences**

- Whether to show the allowance ring, the low-allowance alert percentage, and whether minimal-mode sessions get the draw tool

**Command line**

- `codebuddy-power` manages accounts from a terminal

## Usage examples

Web: open **Plugins** in the sidebar and open the **dsh-llm-codebuddy-power** card, then click **Sign in** to add an account; the copy button beside it puts the sign-in link on the clipboard instead of opening it, for completing sign-in in another browser or on another machine. Drag a badge to reorder the list, pick the default account with **Choose default** (the default badge's **Default** marker removes it), and sign an account out with **Multi-select**; the account button in the composer switches the current conversation's account.

CLI:

```bash
dsh plugin --profile web codebuddy-power # sign in through the browser and append an account
```

### CLI arguments

| Argument | Description | Type | Required |
|---|---|---|---|
| `--status` | List every account by index with the default one marked, and show the model list | boolean | no |
| `--default <account>` | Make the given account the default (`<account>` is a uid, index, or nickname) | string | no |
| `--logout <account>` | Sign out the given account (`<account>` is a uid, index, or nickname) | string | no |
| `--logout --all` | Sign out every account | boolean | no |
| `--no-open` | Only print the sign-in link, do not open a browser | boolean | no |
| `--help` / `-h` | Print usage | boolean | no |

## dsh version used for development

- dsh version used for development: `0.1.7-rc.2`. `@deepseek-ai/dsh-*` dependencies use `workspace:^`.

## Secondary development

- The plugin must stay at a `packages/<group>/` path inside the dsh checkout: its `tsconfig*.json` files extend the dsh repository's `tsconfig.base*.json`, so moving it outside the checkout breaks the build.
- Local build: `pnpm --filter dsh-llm-codebuddy-power build` (`tsc -b` + `tsdown`, artifacts under `lib/`).

-----

## Runtime invariant

No runtime invariant companion is published: everything this plugin registers leaves with the plugin itself, and it owns no cross-event durable relation that needs an independent check and no second data source to compare against.

Install

dsh plugin --profile web add github:pgnqukezrdxmhjso/dsh-llm-codebuddy-power

Profile: web

  • This package builds from source on install. pnpm will ask you to allow its build script — that is permission to run the package’s code on your machine, outside the agent sandbox. Only allow sources you trust.
  • This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.
Source