refactor: migrate embedded pi to sdk
This commit is contained in:
1 parent
79c0fd27a0
commit
2d7c5f8c53
12 files changed
+276
-386
No files matched your search
@@ -3,6 +3,7 @@ import fs from "node:fs";
|
||||
import os from "node:os";
|
||||
import path from "node:path";
|
||||
|
||||
import type { Skill } from "@mariozechner/pi-coding-agent";
|
||||
import JSON5 from "json5";
|
||||
import type { MsgContext } from "../auto-reply/templating.js";
|
||||
import { normalizeE164 } from "../utils.js";
|
||||
@@ -31,6 +32,7 @@ export type SessionEntry = {
|
||||
export type SessionSkillSnapshot = {
|
||||
prompt: string;
|
||||
skills: Array<{ name: string; primaryEnv?: string }>;
|
||||
resolvedSkills?: Skill[];
|
||||
};
|
||||
|
||||
export function resolveSessionTranscriptsDir(): string {
|
||||
|
||||
Reference in new issue
Block a user