@suemi994/pi-t3-sync0.1.1
Pi extension and skill for importing and syncing agent sessions into T3 Code
Untested on omp
This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.
Reports 0
No reports yet.
Readme
@suemi994/pi-t3-sync
Import local Pi, Codex, and Claude Code session history into T3 Code. One Pi package installs the background extension and the manual sync skill.
| Component | Purpose |
|---|---|
extension/ |
Adds external Pi sessions through the T3 API after their files are saved. Removes corresponding T3 imports after confirming source files were deleted. |
skills/t3-session-sync/ |
Imports, previews, or syncs history manually through the skill or standalone scripts. Supports project, agent, and conflict-strategy filters. |
Install
Requires Node.js 22.13+ and a running T3 Code server. The extension was verified with T3 0.1.10. On Linux, history replacement supports T3 0.1.9 and 0.1.10 running standalone or managed directly by Supervisor.
pi install npm:@suemi994/pi-t3-sync
For a local checkout, run these commands in pi-extensions/pi-t3-sync:
npm ci --ignore-scripts --legacy-peer-deps
pi install "$PWD"
Restart Pi or run /reload. The extension starts disabled. Run /t3-sync on to enable it and /t3-sync status to inspect it. Configuration lives in t3code-sync.json in the Pi agent directory. See extension/config.example.json for an example. The T3 Pi provider must be enabled, and the server must be able to read the source sessions and project paths. Extension configuration
Manual synchronization
/skill:t3-session-sync Preview the synchronization plan for all managed projects
/skill:t3-session-sync Import only Pi sessions for /absolute/project/path
You can also run the scripts from the package directory:
node skills/t3-session-sync/scripts/t3-import-sessions.mjs import --agent pi
node skills/t3-session-sync/scripts/t3-import-sessions.mjs sync --mode source --dry-run
Omitting the project selects all T3-managed projects. Omitting the agent selects all supported providers. import only adds sessions. sync defaults to source and also supports skip and merge. The scripts treat agent source files as read-only. Database maintenance for replacement, merge, or deletion creates a backup and briefly restarts T3. Running or queued tasks defer maintenance. Installing the package creates no scheduled tasks. Synchronization rules and recovery
Tests
npm ci --ignore-scripts --legacy-peer-deps
npm test
npm run test:integration:extension and npm run test:integration:supervisor use isolated T3 0.1.10 instances and temporary data. Configure the former with T3_EXECUTABLE. The latter requires Supervisor and accepts T3_TEST_EXECUTABLE, T3_TEST_SUPERVISORCTL, and T3_TEST_SUPERVISORD.