poe-code 4.0.13 → 4.0.15
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/dist/index.js +4 -4
- package/dist/index.js.map +2 -2
- package/dist/metafile.json +1 -1
- package/package.json +1 -1
- package/packages/pipeline/dist/plan/discovery.js +3 -3
- package/packages/toolcraft-openapi/dist/generate.d.ts +1 -0
- package/packages/toolcraft-openapi/dist/generate.js +9 -9
- package/packages/toolcraft-openapi/dist/http.js +14 -10
- package/packages/toolcraft-openapi/dist/normalize-swagger.js +23 -7
- package/packages/toolcraft-openapi/dist/runtime.d.ts +7 -1
- package/packages/toolcraft-openapi/dist/runtime.js +45 -20
- package/packages/toolcraft-openapi/dist/spec-source.js +8 -3
package/dist/index.js
CHANGED
|
@@ -72329,8 +72329,8 @@ function countCompletedTasks(planPath, content) {
|
|
|
72329
72329
|
total: total2
|
|
72330
72330
|
};
|
|
72331
72331
|
}
|
|
72332
|
-
async function ensurePlanExists(fs31, cwd, planPath) {
|
|
72333
|
-
const absolutePath =
|
|
72332
|
+
async function ensurePlanExists(fs31, cwd, homeDir, planPath) {
|
|
72333
|
+
const absolutePath = resolveAbsolutePlanPath(planPath, cwd, homeDir);
|
|
72334
72334
|
const stat36 = await fs31.stat(absolutePath).catch((error3) => {
|
|
72335
72335
|
if (isNotFound3(error3)) {
|
|
72336
72336
|
return void 0;
|
|
@@ -72395,7 +72395,7 @@ async function resolvePlanPaths(options) {
|
|
|
72395
72395
|
const explicitPlans = [...options.plan ? [options.plan] : [], ...options.plans ?? []].map((planPath) => planPath.trim()).filter((planPath) => planPath.length > 0);
|
|
72396
72396
|
if (explicitPlans.length > 0) {
|
|
72397
72397
|
for (const planPath of explicitPlans) {
|
|
72398
|
-
await ensurePlanExists(fs31, options.cwd, planPath);
|
|
72398
|
+
await ensurePlanExists(fs31, options.cwd, options.homeDir, planPath);
|
|
72399
72399
|
}
|
|
72400
72400
|
return explicitPlans;
|
|
72401
72401
|
}
|
|
@@ -151341,7 +151341,7 @@ var init_package2 = __esm({
|
|
|
151341
151341
|
"package.json"() {
|
|
151342
151342
|
package_default2 = {
|
|
151343
151343
|
name: "poe-code",
|
|
151344
|
-
version: "4.0.
|
|
151344
|
+
version: "4.0.15",
|
|
151345
151345
|
description: "CLI tool to configure Poe API for developer workflows.",
|
|
151346
151346
|
license: "MIT",
|
|
151347
151347
|
type: "module",
|