@caplets/pi 0.5.3 → 0.5.5
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 +2 -1
- package/package.json +6 -4
package/dist/index.js
CHANGED
|
@@ -3350,7 +3350,7 @@ async function loadPiSettingsArgs(options = {}) {
|
|
|
3350
3350
|
const settingsPath = options.settingsPath ?? join(homedir(), ".pi", "agent", "settings.json");
|
|
3351
3351
|
const projectSettingsPath = options.projectSettingsPath ?? join(process.cwd(), ".pi", "settings.json");
|
|
3352
3352
|
const readSettingsFile = options.readSettingsFile ?? readFileUtf8;
|
|
3353
|
-
const writeWarning = options.writeWarning ?? ((
|
|
3353
|
+
const writeWarning = options.writeWarning ?? (() => void 0);
|
|
3354
3354
|
const userSettings = await readPiSettingsFile(settingsPath, readSettingsFile, writeWarning);
|
|
3355
3355
|
const projectSettings = await readPiSettingsFile(projectSettingsPath, readSettingsFile, writeWarning);
|
|
3356
3356
|
return {
|
|
@@ -3533,6 +3533,7 @@ function nativeServiceOptions(options) {
|
|
|
3533
3533
|
}
|
|
3534
3534
|
function shouldShowStatusWidget(options, statusWidget) {
|
|
3535
3535
|
if (statusWidget === false) return false;
|
|
3536
|
+
if (options.mode === "local") return false;
|
|
3536
3537
|
return options.mode === "remote" || !!options.server?.url || process.env.CAPLETS_SERVER_URL !== void 0;
|
|
3537
3538
|
}
|
|
3538
3539
|
async function readFileUtf8(path) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@caplets/pi",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.5",
|
|
4
4
|
"description": "Native Pi extension for Caplets.",
|
|
5
5
|
"homepage": "https://github.com/spiritledsoftware/caplets#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
"access": "public"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@caplets/core": "0.18.
|
|
29
|
+
"@caplets/core": "0.18.5"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/node": "^25.9.1",
|
|
33
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
33
|
+
"@typescript/native-preview": "7.0.0-dev.20260523.1",
|
|
34
34
|
"rolldown": "^1.0.2",
|
|
35
35
|
"typescript": "^6.0.3",
|
|
36
36
|
"vitest": "^4.1.7"
|
|
@@ -48,7 +48,9 @@
|
|
|
48
48
|
]
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
|
-
"
|
|
51
|
+
"clean": "rm -rf dist",
|
|
52
|
+
"build": "pnpm run clean && rolldown -c",
|
|
53
|
+
"build:watch": "pnpm run clean && rolldown -c --watch",
|
|
52
54
|
"typecheck": "tsgo --noEmit",
|
|
53
55
|
"test": "vitest run"
|
|
54
56
|
}
|