Skip to main content

sanity-check

Run the deferred agentOS VM smoke test from public npm packages. Use when the user asks to sanity check, smoke test, or verify a release works.

소스 정보

저장소
rivet-dev/agentos
최근 소스 활동
2026년 9월 30일 06:52
감지된 SKILL.md 언어
영어
스타
4,835
포크
270

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
sanity-check
description
Run the deferred agentOS VM smoke test from public npm packages. Use when the user asks to sanity check, smoke test, or verify a release works.
# Sanity Check This is a full-validation check. Install `@rivet-dev/agentos-core` from npm in a fresh temporary project, boot one VM, verify filesystem and process execution, then dispose it cleanly. ## Test program ```js import { AgentOs } from "@rivet-dev/agentos-core"; const vm = await AgentOs.create(); try { await vm.filesystem.writeFile("/tmp/test.txt", "Hello from agentOS!\n"); const result = await vm.process.exec("cat /tmp/test.txt"); if (result.exitCode !== 0 || result.stdout !== "Hello from agentOS!\n") { throw new Error(JSON.stringify(result)); } console.log("agentOS smoke passed"); } finally { await vm.dispose(); } ``` ## Rules - Always use a fresh temporary directory, never the repository. - Install from the public npm registry without local links. - Report the installed `@rivet-dev/agentos-core` version. - Use Node.js 22 or newer. - Apply a two-minute outer timeout. - Remove the temporary directory after completion. - Do not install registry software from npm. Core ships its default immutable `.aospkg` bundle.
GitHub에서 보기