Expand description
yapi import pi: copies pi’s state into yapi’s directories. yapi reads pi’s
formats unchanged, so files are copied as they are, except pi’s
lastChangelogVersion and sign-ins. Files yapi already has are kept.
Structs§
- Imported
- What happened to one entry.
Constants§
- AGENT_
ENTRIES - The agent directory entries yapi reads, in the order they are copied.
- PROJECT_
ENTRIES - The project directory (
.pi) entries yapi reads, in the order they are copied.
Functions§
- import
- Copies
entriesof directoryfromintoto, keeping filestoalready has, and innpmandgitthe whole packages it already has, so two installs never mix. Entriesfromlacks are skipped. Asettings.jsonthat holds only the version yapi recorded on its first start is replaced, and pi’slastChangelogVersion, a pi version, is not copied. Nor are the sign-ins of a copiedauth.jsonormcp-auth.json(seeImported::signed_out). pi’ssettings.jsonstays out of a folder that holdssettings.toml. - pi_
agent_ dir - pi’s agent directory:
PI_CODING_AGENT_DIR, or~/.pi/agent.