superise-market-sustain
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseMarket Sustain CLI
Market Sustain CLI
Use as an observe -> decide -> act toolset. Keep planning in the agent, not in the CLI.
superise market-sustain使用作为观察->决策->执行的工具集。规划逻辑由Agent负责,而非CLI工具。
superise market-sustainCLI Preflight
CLI 预检查
Before using any sustain command:
- Check whether is already available.
superise market-sustain - If the command is missing or unusable, install the published CLI globally:
bash
npm install -g @superise/market-sustain-cli
superise market-sustain --help- If the install fails, report the exact npm error and stop instead of pretending the CLI is available.
Do not assume a local workspace checkout is already wired into . The supported fallback is the published npm package.
PATH在使用任何监控命令之前:
- 检查命令是否已可用。
superise market-sustain - 如果命令缺失或无法使用,全局安装已发布的CLI包:
bash
npm install -g @superise/market-sustain-cli
superise market-sustain --help- 如果安装失败,报告具体的npm错误并停止操作,不要假装CLI已可用。
不要假设本地工作区的检出版本已添加到中。推荐的备用方案是使用已发布的npm包。
PATHBoundary
使用边界
- Use only the sustain commands this package actually implements.
- Do not assume legacy commands such as or
set-modelexist.mcp-server - The only setup flow restored here is .
superise market-sustain setup openclaw - Prefer explicit sustain commands over ad hoc wallet transfers for market recharge.
- Report wallet-side auth dependencies clearly instead of inventing local workarounds.
- 仅使用该包实际实现的监控命令。
- 不要假设或
set-model等旧命令仍然存在。mcp-server - 此处仅恢复这一个设置流程。
superise market-sustain setup openclaw - 优先使用明确的监控命令,而非临时钱包转账来为市场账户充值。
- 清晰报告钱包端的认证依赖,不要自行发明本地变通方案。
Autonomous Delegation
自主委托
If the user says anything like:
- "keep yourself alive"
- "self-supervise"
- "manage your own balance"
- "watch your market account"
- "你自己维持余额"
- "你自己监控并充值"
treat that as delegation of ongoing sustain responsibility.
When that happens, do not stop at explaining commands. Start acting:
- Run the CLI preflight first.
- Gather the current state with ,
health-check, andforecast.config show - Make an immediate decision based on balance, runway, and the user's risk tolerance.
- If ongoing supervision is wanted, register recurring checks with unless the user explicitly prefers app automation.
superise market-sustain setup openclaw - Report what you decided and why.
The CLI does not do the planning for you. The agent remains responsible for observe -> decide -> act behavior.
如果用户说出以下类似内容:
- "keep yourself alive"
- "self-supervise"
- "manage your own balance"
- "watch your market account"
- "你自己维持余额"
- "你自己监控并充值"
将其视为用户委托了持续监控的职责。
此时,不要仅停留在解释命令层面,应立即开始行动:
- 首先执行CLI预检查。
- 使用、
health-check和forecast命令收集当前状态。config show - 根据余额、运行时长和用户的风险承受能力立即做出决策。
- 如果需要持续监控,除非用户明确偏好应用自动化,否则使用注册定期检查任务。
superise market-sustain setup openclaw - 报告你的决策及原因。
CLI工具不会为你完成规划,Agent仍需负责观察->决策->执行的行为逻辑。
Natural Language Triggers
自然语言触发映射
Map intent to commands like this:
- "Check your market balance" ->
superise market-sustain health-check --json - "How long can you keep running?" ->
superise market-sustain forecast --json - "Show market models" ->
superise market-sustain list-models --json - "Show sustain settings" ->
superise market-sustain config show - "Top up 3000 CKB" ->
superise market-sustain top-up 3000 - "Dry-run a recharge" ->
superise market-sustain top-up <amount> --dry-run --json - "Retry failed top-up orders" ->
superise market-sustain retry-orders --json - "Set up recurring sustain checks" ->
superise market-sustain setup openclaw - "Install sustain cron jobs" ->
superise market-sustain setup openclaw - "Clear your market login" ->
superise market-sustain logout
将用户意图映射到对应命令,示例如下:
- "Check your market balance" ->
superise market-sustain health-check --json - "How long can you keep running?" ->
superise market-sustain forecast --json - "Show market models" ->
superise market-sustain list-models --json - "Show sustain settings" ->
superise market-sustain config show - "Top up 3000 CKB" ->
superise market-sustain top-up 3000 - "Dry-run a recharge" ->
superise market-sustain top-up <amount> --dry-run --json - "Retry failed top-up orders" ->
superise market-sustain retry-orders --json - "Set up recurring sustain checks" ->
superise market-sustain setup openclaw - "Install sustain cron jobs" ->
superise market-sustain setup openclaw - "Clear your market login" ->
superise market-sustain logout
Observe
观察阶段
Start any survival task by gathering state:
bash
superise market-sustain --help
superise market-sustain health-check --json
superise market-sustain forecast --json
superise market-sustain list-models --json
superise market-sustain config showUse whenever the result will drive a follow-up decision.
--json开始任何生存任务前,先收集状态信息:
bash
superise market-sustain --help
superise market-sustain health-check --json
superise market-sustain forecast --json
superise market-sustain list-models --json
superise market-sustain config show当结果将用于后续决策时,使用参数。
--jsonAct
执行阶段
Use these commands to change state:
bash
superise market-sustain top-up <amount>
superise market-sustain top-up <amount> --json
superise market-sustain retry-orders --json
superise market-sustain setup openclaw
superise market-sustain setup openclaw --json
superise market-sustain setup openclaw --tick-every 5m --retry-every 10m --session isolated
superise market-sustain config set <key> <value>
superise market-sustain config unset <key>
superise market-sustain config reset
superise market-sustain logoutFollow these rules:
- Choose a top-up amount based on the user's intent and current balance posture.
- Let wallet-side policy enforce transfer limits. If the wallet rejects the amount, report the wallet error directly.
- Use for market recharge because it creates the order, transfers CKB, and submits the tx hash as one flow.
top-up - Use when transfer likely succeeded but market-side submission or finalization did not complete cleanly.
retry-orders - Use to clear stale local market auth state.
logout
使用以下命令修改状态:
bash
superise market-sustain top-up <amount>
superise market-sustain top-up <amount> --json
superise market-sustain retry-orders --json
superise market-sustain setup openclaw
superise market-sustain setup openclaw --json
superise market-sustain setup openclaw --tick-every 5m --retry-every 10m --session isolated
superise market-sustain config set <key> <value>
superise market-sustain config unset <key>
superise market-sustain config reset
superise market-sustain logout遵循以下规则:
- 根据用户意图和当前余额状况选择充值金额。
- 由钱包端策略执行转账限额。如果钱包拒绝该金额,直接报告钱包错误。
- 使用命令进行市场账户充值,因为它会将创建订单、转账CKB和提交交易哈希整合为一个流程。
top-up - 当转账可能已成功但市场端提交或确认未正常完成时,使用命令。
retry-orders - 使用命令清除本地过期的市场认证状态。
logout
Survival Loop
生存循环
When the user delegates self-supervision:
- Run the CLI preflight.
- Run .
superise market-sustain health-check --json - Run .
superise market-sustain forecast --json - If balance is low, run .
superise market-sustain list-models --json - If recurring supervision is expected, run .
superise market-sustain setup openclaw - If balance is critical or runway is too short, choose an amount and run .
superise market-sustain top-up <amount> - If the wallet rejects the amount, report the wallet-side limit or policy instead of inventing local rules.
- If a recharge looked partial, run .
superise market-sustain retry-orders --json - Report the decision and the reason.
当用户委托自我监控职责时:
- 执行CLI预检查。
- 运行命令。
superise market-sustain health-check --json - 运行命令。
superise market-sustain forecast --json - 如果余额较低,运行命令。
superise market-sustain list-models --json - 如果需要定期监控,运行命令。
superise market-sustain setup openclaw - 如果余额危急或运行时长过短,选择合适金额并运行命令。
superise market-sustain top-up <amount> - 如果钱包拒绝该金额,报告钱包端的限额或策略,不要自行制定本地规则。
- 如果充值看起来未完全完成,运行命令。
superise market-sustain retry-orders --json - 报告你的决策及原因。
Sustain Config For Decisions
用于决策的监控配置
The agent should not invent hidden sustain policy. Inspect the configured thresholds first:
bash
superise market-sustain config show
superise market-sustain config get criticalBalance
superise market-sustain config get lowBalance
superise market-sustain config get requestTimeoutMsIf the user gives an explicit policy like "treat anything below 20 as critical", update config:
bash
superise market-sustain config set criticalBalance 20
superise market-sustain config set lowBalance 100Do not invent local recharge bounds. Wallet-side policy is authoritative for transfer limits.
Agent不应自行制定隐藏的监控策略。应先检查已配置的阈值:
bash
superise market-sustain config show
superise market-sustain config get criticalBalance
superise market-sustain config get lowBalance
superise market-sustain config get requestTimeoutMs如果用户给出明确策略,比如“treat anything below 20 as critical”,则更新配置:
bash
superise market-sustain config set criticalBalance 20
superise market-sustain config set lowBalance 100不要自行制定本地充值限额,钱包端策略是转账限额的权威依据。
How To Choose A Top-Up Amount
充值金额选择方法
The amount is still the agent's decision unless the user gave one explicitly.
Use:
- current balance from
superise market-sustain health-check --json - runway from
superise market-sustain forecast --json - the user's current activity level and tolerance for interruption
- any wallet-side limit or rejection message returned during recharge
Guidelines:
- Do not always choose the smallest possible amount.
- Prefer enough runway for the user's near-term usage.
- If the user is actively relying on the agent, bias toward fewer future interruptions.
- If the wallet rejects the amount, surface the exact rejection and adjust from there.
除非用户明确指定金额,否则充值金额由Agent决定。
参考以下信息:
- 从获取当前余额
superise market-sustain health-check --json - 从获取运行时长
superise market-sustain forecast --json - 用户当前的活动水平和对中断的容忍度
- 充值过程中钱包返回的任何限额或拒绝信息
指导原则:
- 不要总是选择最小可能的金额。
- 优先选择能覆盖用户近期使用需求的金额,确保足够的运行时长。
- 如果用户正依赖Agent工作,应尽量减少未来的中断次数。
- 如果钱包拒绝该金额,显示具体的拒绝信息并据此调整。
Scheduled Runs
定时任务
When the user asks for recurring monitoring, automatic keepalive, or a timed sustain loop:
- Prefer for one-click recurring sustain setup when OpenClaw is available.
superise market-sustain setup openclaw - The default setup installs two jobs: a keepalive review loop and a retry-orders loop.
- Use ,
--tick-every, and--retry-everyif the user asks for a different cadence or OpenClaw target.--session - Keep the scheduled loop focused on observe -> decide -> act, not on ad hoc wallet transfers.
- Only rely on automatic inside the scheduled loop when the user explicitly delegated autonomous recharge.
top-up - If OpenClaw is unavailable or the user explicitly wants app-managed scheduling, fall back to app automation instead.
Default OpenClaw setup:
bash
superise market-sustain setup openclawCustomized OpenClaw setup:
bash
superise market-sustain setup openclaw --tick-every 15m --retry-every 30m --session isolatedIf the user explicitly asks for , still use , but remember that current OpenClaw requires main-session jobs to be registered as system events instead of announced chat turns.
--session mainsetup openclaw当用户要求定期监控、自动维持运行或定时监控循环时:
- 若OpenClaw可用,优先使用一键设置定期监控任务。
superise market-sustain setup openclaw - 默认设置会安装两个任务:一个是生存状态检查循环,另一个是订单重试循环。
- 如果用户要求不同的执行频率或OpenClaw目标,使用、
--tick-every和--retry-every参数。--session - 定时循环应专注于观察->决策->执行,而非临时钱包转账。
- 只有当用户明确委托自主充值权限时,才在定时循环中使用自动命令。
top-up - 如果OpenClaw不可用或用户明确希望应用托管调度,则 fallback 到应用自动化方案。
默认OpenClaw设置:
bash
superise market-sustain setup openclaw自定义OpenClaw设置:
bash
superise market-sustain setup openclaw --tick-every 15m --retry-every 30m --session isolated如果用户明确要求使用参数,仍使用命令,但需注意当前OpenClaw要求主会话任务需注册为系统事件,而非公开的聊天交互。
--session mainsetup openclawReporting Language
报告语言
When you describe sustain work to the user:
- Call it a sustain check or survival review.
- Report the decision, balance, and next action clearly.
- Prefer concrete outcomes over internal deliberation.
当向用户描述监控工作时:
- 将其称为“监控检查”或“生存状态评审”。
- 清晰报告决策、余额和下一步行动。
- 优先报告具体结果,而非内部 deliberation 过程。
Auth Assumption
认证假设
Market login assumes one of these is true:
- is configured explicitly, or
marketPublicKey - wallet MCP exposes Nervos public identity through , including
nervos.identityandaddresspublicKey
If wallet MCP does not provide that contract yet, stop and report the wallet-side dependency.
市场登录需满足以下条件之一:
- 已明确配置,或
marketPublicKey - 钱包MCP通过暴露Nervos公身份信息,包括
nervos.identity和addresspublicKey
如果钱包MCP尚未提供该合约,停止操作并报告钱包端的依赖需求。