@guanlin4924/devflow-pi 0.1.7 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/runtime.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { existsSync } from "node:fs";
|
|
2
1
|
import { mkdir } from "node:fs/promises";
|
|
3
2
|
import path from "node:path";
|
|
4
3
|
|
|
@@ -79,13 +78,12 @@ export async function createEmbeddedRuntime(project: ProjectContext, options: Ru
|
|
|
79
78
|
utils.logger.setTransports({ file: path.join(productHome, "logs") });
|
|
80
79
|
const omp = await import("@oh-my-pi/pi-coding-agent");
|
|
81
80
|
const roots = pluginRoots();
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
81
|
+
// Reuse credentials and model discovery from the user's OMP agent, but not
|
|
82
|
+
// its config.yml: a global modelRoles block would override choices made in
|
|
83
|
+
// Devflow's own Roles screen after every restart.
|
|
85
84
|
const settings = await omp.Settings.init({
|
|
86
85
|
cwd: project.root,
|
|
87
86
|
agentDir: productAgentDir,
|
|
88
|
-
configFiles,
|
|
89
87
|
overrides: {
|
|
90
88
|
...MANAGED_SETTINGS,
|
|
91
89
|
// OMP 17.2.7 classifies extension-package skills behind the generic
|