mirror of https://github.com/openclaw/openclaw.git
docs: use non-rendering Mintlify markers
This commit is contained in:
parent
9e56644328
commit
62d555ed5d
|
|
@ -186,14 +186,14 @@ Moonshot uses OpenAI-compatible endpoints, so configure it as a custom provider:
|
|||
|
||||
Kimi K2 model IDs:
|
||||
|
||||
{/_ moonshot-kimi-k2-model-refs:start _/}
|
||||
[//]: # "moonshot-kimi-k2-model-refs:start"
|
||||
|
||||
- `moonshot/kimi-k2.5`
|
||||
- `moonshot/kimi-k2-0905-preview`
|
||||
- `moonshot/kimi-k2-turbo-preview`
|
||||
- `moonshot/kimi-k2-thinking`
|
||||
- `moonshot/kimi-k2-thinking-turbo`
|
||||
{/_ moonshot-kimi-k2-model-refs:end _/}
|
||||
[//]: # (moonshot-kimi-k2-model-refs:end)
|
||||
|
||||
```json5
|
||||
{
|
||||
|
|
|
|||
|
|
@ -15,14 +15,14 @@ Kimi Coding with `kimi-coding/k2p5`.
|
|||
|
||||
Current Kimi K2 model IDs:
|
||||
|
||||
{/_ moonshot-kimi-k2-ids:start _/}
|
||||
[//]: # "moonshot-kimi-k2-ids:start"
|
||||
|
||||
- `kimi-k2.5`
|
||||
- `kimi-k2-0905-preview`
|
||||
- `kimi-k2-turbo-preview`
|
||||
- `kimi-k2-thinking`
|
||||
- `kimi-k2-thinking-turbo`
|
||||
{/_ moonshot-kimi-k2-ids:end _/}
|
||||
[//]: # (moonshot-kimi-k2-ids:end)
|
||||
|
||||
```bash
|
||||
openclaw onboard --auth-choice moonshot-api-key
|
||||
|
|
|
|||
|
|
@ -160,13 +160,13 @@ Long options are validated fail-closed in safe-bin mode: unknown flags and ambig
|
|||
abbreviations are rejected.
|
||||
Denied flags by safe-bin profile:
|
||||
|
||||
{/_ SAFE_BIN_DENIED_FLAGS:START _/}
|
||||
[//]: # "SAFE_BIN_DENIED_FLAGS:START"
|
||||
|
||||
- `grep`: `--dereference-recursive`, `--directories`, `--exclude-from`, `--file`, `--recursive`, `-R`, `-d`, `-f`, `-r`
|
||||
- `jq`: `--argfile`, `--from-file`, `--library-path`, `--rawfile`, `--slurpfile`, `-L`, `-f`
|
||||
- `sort`: `--compress-program`, `--files0-from`, `--output`, `--random-source`, `--temporary-directory`, `-T`, `-o`
|
||||
- `wc`: `--files0-from`
|
||||
{/_ SAFE_BIN_DENIED_FLAGS:END _/}
|
||||
[//]: # (SAFE_BIN_DENIED_FLAGS:END)
|
||||
|
||||
Safe bins also force argv tokens to be treated as **literal text** at execution time (no globbing
|
||||
and no `$VARS` expansion) for stdin-only segments, so patterns like `*` or `$HOME/...` cannot be
|
||||
|
|
|
|||
|
|
@ -90,8 +90,8 @@ async function syncMoonshotDocs() {
|
|||
let moonshotText = await readFile(moonshotDoc, "utf8");
|
||||
moonshotText = replaceBlockLines(
|
||||
moonshotText,
|
||||
"{/* moonshot-kimi-k2-ids:start */}",
|
||||
"{/* moonshot-kimi-k2-ids:end */}",
|
||||
'[//]: # "moonshot-kimi-k2-ids:start"',
|
||||
"[//]: # (moonshot-kimi-k2-ids:end)",
|
||||
renderKimiK2Ids(""),
|
||||
);
|
||||
moonshotText = replaceBlockLines(
|
||||
|
|
@ -110,8 +110,8 @@ async function syncMoonshotDocs() {
|
|||
let conceptsText = await readFile(conceptsDoc, "utf8");
|
||||
conceptsText = replaceBlockLines(
|
||||
conceptsText,
|
||||
"{/* moonshot-kimi-k2-model-refs:start */}",
|
||||
"{/* moonshot-kimi-k2-model-refs:end */}",
|
||||
'[//]: # "moonshot-kimi-k2-model-refs:start"',
|
||||
"[//]: # (moonshot-kimi-k2-model-refs:end)",
|
||||
renderKimiK2Ids("moonshot/"),
|
||||
);
|
||||
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@ import {
|
|||
validateSafeBinArgv,
|
||||
} from "./exec-safe-bin-policy.js";
|
||||
|
||||
const SAFE_BIN_DOC_DENIED_FLAGS_START = "{/* SAFE_BIN_DENIED_FLAGS:START */}";
|
||||
const SAFE_BIN_DOC_DENIED_FLAGS_END = "{/* SAFE_BIN_DENIED_FLAGS:END */}";
|
||||
const SAFE_BIN_DOC_DENIED_FLAGS_START = '[//]: # "SAFE_BIN_DENIED_FLAGS:START"';
|
||||
const SAFE_BIN_DOC_DENIED_FLAGS_END = "[//]: # (SAFE_BIN_DENIED_FLAGS:END)";
|
||||
|
||||
function buildDeniedFlagArgvVariants(flag: string): string[][] {
|
||||
const value = "blocked";
|
||||
|
|
|
|||
Loading…
Reference in New Issue