pipe-kan 0.29.1 → 0.29.2
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/pipe-kan.js +4 -7
- package/package.json +1 -1
package/dist/pipe-kan.js
CHANGED
|
@@ -11831,13 +11831,10 @@ function permissionOptionForDecision(options, decision) {
|
|
|
11831
11831
|
// src/server/agent/skills.ts
|
|
11832
11832
|
import { existsSync as existsSync3, readFileSync as readFileSync4, readdirSync } from "node:fs";
|
|
11833
11833
|
import { homedir as homedir4 } from "node:os";
|
|
11834
|
-
import {
|
|
11834
|
+
import { join as join6 } from "node:path";
|
|
11835
11835
|
import { fileURLToPath } from "node:url";
|
|
11836
|
-
function moduleDirname(meta) {
|
|
11837
|
-
return meta.dirname ?? dirname3(fileURLToPath(meta.url));
|
|
11838
|
-
}
|
|
11839
11836
|
function createSkillRegistry(bundledDir) {
|
|
11840
|
-
const dir = bundledDir ?? join6(
|
|
11837
|
+
const dir = bundledDir ?? join6(fileURLToPath(new URL(".", import.meta.url)), "..", "..", "..", ".agents", "skills");
|
|
11841
11838
|
const userDir = join6(homedir4(), ".pi", "agent", "skills");
|
|
11842
11839
|
return {
|
|
11843
11840
|
list() {
|
|
@@ -12630,7 +12627,7 @@ function stdinStat() {
|
|
|
12630
12627
|
|
|
12631
12628
|
// src/ui.ts
|
|
12632
12629
|
import { createReadStream, existsSync as existsSync4, statSync } from "node:fs";
|
|
12633
|
-
import { dirname as
|
|
12630
|
+
import { dirname as dirname3, extname, join as join9, resolve as resolve2, sep } from "node:path";
|
|
12634
12631
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
12635
12632
|
var types = {
|
|
12636
12633
|
".css": "text/css; charset=utf-8",
|
|
@@ -12644,7 +12641,7 @@ var types = {
|
|
|
12644
12641
|
".woff2": "font/woff2"
|
|
12645
12642
|
};
|
|
12646
12643
|
function packageRoot(from = import.meta.url) {
|
|
12647
|
-
return resolve2(
|
|
12644
|
+
return resolve2(dirname3(fileURLToPath2(from)), "..");
|
|
12648
12645
|
}
|
|
12649
12646
|
function uiDir(root) {
|
|
12650
12647
|
return join9(root, "dist", "ui");
|