diff --git a/packages/app/src/i18n/ja.ts b/packages/app/src/i18n/ja.ts
index 69e295053..b302a509f 100644
--- a/packages/app/src/i18n/ja.ts
+++ b/packages/app/src/i18n/ja.ts
@@ -132,14 +132,14 @@ const translated = {
"provider.connect.apiKey.label": "{{provider}} APIキー",
"provider.connect.apiKey.placeholder": "APIキー",
"provider.connect.apiKey.required": "APIキーが必要です",
- "provider.connect.oauth.code.visit.prefix": " ",
+ "provider.connect.oauth.code.visit.prefix": "アクセス: ",
"provider.connect.oauth.code.visit.link": "このリンク",
"provider.connect.oauth.code.visit.suffix": " にアクセスして認証コードを取得し、アカウントを接続してCodeplaneで{{provider}}モデルを使用してください。",
"provider.connect.oauth.code.label": "{{method}} 認証コード",
"provider.connect.oauth.code.placeholder": "認証コード",
"provider.connect.oauth.code.required": "認証コードが必要です",
"provider.connect.oauth.code.invalid": "無効な認証コード",
- "provider.connect.oauth.auto.visit.prefix": " ",
+ "provider.connect.oauth.auto.visit.prefix": "アクセス: ",
"provider.connect.oauth.auto.visit.link": "このリンク",
"provider.connect.oauth.auto.visit.suffix": " にアクセスし、以下のコードを入力してアカウントを接続し、Codeplaneで{{provider}}モデルを使用してください。",
"provider.connect.oauth.auto.confirmationCode": "確認コード",
diff --git a/packages/ui/src/i18n/ja.ts b/packages/ui/src/i18n/ja.ts
index 4938a9fd0..1c536bffe 100644
--- a/packages/ui/src/i18n/ja.ts
+++ b/packages/ui/src/i18n/ja.ts
@@ -27,9 +27,9 @@ const translated = {
"ui.fileMedia.binary.title": "バイナリファイル",
"ui.fileMedia.binary.description.path": "{{path}} はバイナリファイルのため表示できません。",
"ui.fileMedia.binary.description.default": "このファイルはバイナリファイルのため表示できません。",
- "ui.lineComment.label.prefix": "",
+ "ui.lineComment.label.prefix": "行目: ",
"ui.lineComment.label.suffix": "へのコメント",
- "ui.lineComment.editorLabel.prefix": "",
+ "ui.lineComment.editorLabel.prefix": "コメント編集中: ",
"ui.lineComment.editorLabel.suffix": "へのコメントを作成中",
"ui.lineComment.placeholder": "コメントを追加",
"ui.lineComment.submit": "コメント",
diff --git a/packages/ui/src/i18n/ko.ts b/packages/ui/src/i18n/ko.ts
index e7e44f3e5..4606f491b 100644
--- a/packages/ui/src/i18n/ko.ts
+++ b/packages/ui/src/i18n/ko.ts
@@ -29,9 +29,9 @@ const translated = {
"ui.fileMedia.binary.title": "바이너리 파일",
"ui.fileMedia.binary.description.path": "{{path}}은(는) 바이너리 파일이므로 표시할 수 없습니다.",
"ui.fileMedia.binary.description.default": "바이너리 파일이므로 표시할 수 없습니다.",
- "ui.lineComment.label.prefix": "",
+ "ui.lineComment.label.prefix": "라인 ",
"ui.lineComment.label.suffix": "에 댓글 달기",
- "ui.lineComment.editorLabel.prefix": "",
+ "ui.lineComment.editorLabel.prefix": "편집 중 ",
"ui.lineComment.editorLabel.suffix": "에 댓글 작성 중",
"ui.lineComment.placeholder": "댓글 추가",
"ui.lineComment.submit": "댓글",
diff --git a/site/app/docs/cli/page.tsx b/site/app/docs/cli/page.tsx
index a7e4b3a9d..98bb4f5a2 100644
--- a/site/app/docs/cli/page.tsx
+++ b/site/app/docs/cli/page.tsx
@@ -4,17 +4,17 @@ import { DocsLayout } from "@/components/docs-sidebar"
export const metadata = {
title: "CLI reference",
- description: "Every Codeplane subcommand and flag, sourced from packages/codeplane/src/cli — serve, web, tui, instance, upgrade, completion.",
+ description: "Every Codeplane subcommand and flag, sourced from packages/codeplane/src/cli — serve, web, tui, instance, upgrade, totp, completion.",
alternates: { canonical: "/docs/cli/" },
openGraph: {
title: "CLI reference · Codeplane",
- description: "Every Codeplane subcommand and flag, sourced from packages/codeplane/src/cli — serve, web, tui, instance, upgrade, completion.",
+ description: "Every Codeplane subcommand and flag, sourced from packages/codeplane/src/cli — serve, web, tui, instance, upgrade, totp, completion.",
url: "/docs/cli/",
type: "article",
},
twitter: {
title: "CLI reference · Codeplane",
- description: "Every Codeplane subcommand and flag, sourced from packages/codeplane/src/cli — serve, web, tui, instance, upgrade, completion.",
+ description: "Every Codeplane subcommand and flag, sourced from packages/codeplane/src/cli — serve, web, tui, instance, upgrade, totp, completion.",
card: "summary_large_image",
},
}
@@ -41,6 +41,8 @@ Commands:
tui start the terminal UI
instance manage saved Codeplane instances + the shared local runtime
upgrade [target] upgrade Codeplane to the latest (or a specific) version
+ totp instance-daemon.ts. New flags land in code first, then on this page.
codeplane totpManage the second factor for serve / web. The generated secret is
+ passed via CODEPLANE_SERVER_TOTP_SECRET or --totp-secret.
{`codeplane totp
+
+ generate generate a new TOTP secret and enrolment URI
+ flags: --account, --issuer
+ uri --secret <s> print the otpauth:// URI for an existing secret
+ flags: --secret, --account, --issuer
+ code --secret <s> print the current 6-digit code (debug)
+ flags: --secret`}
+
codeplane upgrade{`codeplane upgrade [target] @@ -163,9 +177,9 @@ codeplane completion fish > ~/.config/fish/completions/codeplane.fish`}Generated and hidden commands
-
codeplane generateis intentionally hidden from normal help. It is used by - the SDK build pipeline to emit OpenAPI data for client generation. Treat it as a build - command, not a public automation API. +codeplane generateis hidden from normal help (describe: false). + It is used by the SDK build pipeline to emit OpenAPI data for client generation. Treat it + as a build command, not a public automation API.Exit codes
diff --git a/site/app/docs/configuration/page.tsx b/site/app/docs/configuration/page.tsx index 29751e3c8..c0423e8fe 100644 --- a/site/app/docs/configuration/page.tsx +++ b/site/app/docs/configuration/page.tsx @@ -62,6 +62,8 @@ export default function Configuration() { "server": { /* default serve/web network options */ }, "model": "anthropic/claude-sonnet-4-6", "small_model": "openai/gpt-5.2-mini", + "disabled_providers": ["example-provider"], + "enabled_providers": ["anthropic", "openai"], "provider": { /* model providers and overrides */ }, "permission": { /* what the agent may do without asking */ }, "agent": { /* named primary and sub-agent configs */ }, @@ -72,8 +74,12 @@ export default function Configuration() { "commit": { "coauthor": false }, "autoupdate": "notify", "share": "manual", + "username": "custom-display-name", + "default_agent": "build", + "npm": { /* native npm auth and registry settings */ }, + "watcher": { "ignore": ["node_modules/", "dist/"] }, "tool_output": { "max_lines": 2000, "max_bytes": 51200 }, - "compaction": { "auto": true, "prune": true } + "compaction": { "auto": true, "prune": true, "tail_turns": 2, "reserved": 1000 } }`}
{`"npm": {
+ "registry": "https://registry.npmjs.org",
+ "authToken": "{secret:npm-auth-token}"
+}`}
+
+ Override the npm registry and supply an auth token for private registries. Used by the
+ local-runtime downloader and any plugin that shells out to npm. Values support{" "}
+ {`{secret:name}`} and {`{env:VAR}`} placeholders.
+
{`"permission": {
"read": "allow",
@@ -264,14 +281,20 @@ export default function Configuration() {
Key Values Use it for
+ usernamestring Custom name shown in conversations instead of the system username.
+ default_agentstring Primary agent to use when none is specified (falls back to build).
sharemanual, auto, disabledControl public session sharing.
autoupdatetrue, false, notifyAuto-install patches or show update notifications.
commit.coauthortrue, falseAdd Co-Authored-By: codeplane-agent[bot] <287208015+codeplane-agent[bot]@users.noreply.github.com> so GitHub shows the codeplane-agent app as a co-author.
snapshottrue, falseEnable filesystem snapshots for revert/undo.
+ disabled_providersstring array Catalog providers to hide from the model selector.
+ enabled_providersstring array When set, only these providers are loaded; all others are ignored.
tool_output.max_linespositive integer Truncate long tool output previews after this many lines.
tool_output.max_bytespositive integer Truncate long tool output previews after this many bytes.
compaction.autotrue, falseCompact automatically when context is full.
compaction.prunetrue, falsePrune old tool outputs during compaction.
+ compaction.tail_turnsnon-negative integer Number of recent user turns to keep verbatim during compaction (default: 2).
+ compaction.reservednon-negative integer Token buffer to leave free so compaction does not overflow the context window.