import-codex-pet

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Import Codex Pet

导入Codex Pet

@peekling/cli@0.1.0
is Peekling's first-party CLI. Its official npm record declares
peekling/peekling-engine
as its source and includes SLSA provenance for the GitHub-verified signed
v0.1.0
source tag. Before execution, require the exact registry identity and integrity recorded in cli-trust.md. Stop on any mismatch.
Require the original bundle/archive, source licence/provenance, and output path.
  1. Keep the original unchanged and hash it. Reject traversal, duplicates, corruption, executable reliance, unknown geometry, or unsupported versions.
  2. Read the CLI trust boundary, then run the reviewed pinned import with all required rights fields:
    sh
    npm exec --yes --ignore-scripts --package=@peekling/cli@0.1.0 -- peekling import codex <input> --out <directory> \
      --license <spdx-or-license-id> --author <name> --source <source> \
      --rights <rights-statement>
    Add
    --allow-png
    only after explicitly accepting the documented PNG input tradeoff. Preserve
    pet.json
    , atlas, source metadata, fixed v2 rows and timings, and provenance.
  3. Treat compatibility as best effort. Do not claim undocumented Codex/Orca event behavior.
  4. Keep heavy adapter/assets lazy and outside the native runtime bundle. Validate output and report unmapped data without executing it.
Use only capabilities actually available. If a required command/tool cannot run, provide the exact handoff and state that it remains unverified. The workflow is agent-neutral.
agents/openai.yaml
is optional metadata, not a dependency.
@peekling/cli@0.1.0
是Peekling的官方CLI工具。其官方npm记录声明
peekling/peekling-engine
为其源代码,并包含针对GitHub验证签名的
v0.1.0
源标签的SLSA来源信息。执行前,请确保使用cli-trust.md中记录的精确注册表标识和完整性信息。若存在任何不匹配,立即停止操作。
需要提供原始包/归档文件、源许可证/来源信息以及输出路径。
  1. 保持原始文件不变并对其进行哈希处理。拒绝路径遍历、重复文件、损坏文件、依赖可执行文件、未知几何结构或不支持的版本。
  2. 阅读CLI信任边界,然后运行经过审核的固定版本导入命令,并包含所有必填的权限字段:
    sh
    npm exec --yes --ignore-scripts --package=@peekling/cli@0.1.0 -- peekling import codex <input> --out <directory> \
      --license <spdx-or-license-id> --author <name> --source <source> \
      --rights <rights-statement>
    仅在明确接受文档中说明的PNG输入权衡后,再添加
    --allow-png
    参数。保留
    pet.json
    、图集、源元数据、固定的v2行和时序信息以及来源信息。
  3. 兼容性处理仅作最大努力尝试。不得声称支持未文档化的Codex/Orca事件行为。
  4. 让重型适配器/资源保持懒加载状态,并置于原生运行时包之外。验证输出并报告未映射的数据,但绝不执行这些数据。
仅使用实际可用的功能。若所需命令/工具无法运行,请提供确切的交接信息并说明其状态仍未验证。该工作流与Agent无关。
agents/openai.yaml
是可选元数据,而非依赖项。