@pencil-agent/nano-pencil 1.4.6 → 1.4.7
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.
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* [OUTPUT]: Configured SoulManager with NanoPencil defaults
|
|
4
4
|
* [POS]: Integration layer - bridges Soul and NanoPencil
|
|
5
5
|
*/
|
|
6
|
-
import { join } from "node:path";
|
|
6
|
+
import { join, resolve } from "node:path";
|
|
7
7
|
import { getAgentDir } from "../config.js";
|
|
8
8
|
import { existsSync } from "node:fs";
|
|
9
9
|
import { fileURLToPath } from "node:url";
|
|
@@ -11,7 +11,8 @@ import { dirname } from "node:path";
|
|
|
11
11
|
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
12
12
|
// Try to load from bundled packages first (dist/packages/nanosoul)
|
|
13
13
|
// __dirname is dist/core/, so we need to go up one level to dist/, then into packages/
|
|
14
|
-
|
|
14
|
+
// Use resolve to normalize the path and avoid mixed separators on Windows
|
|
15
|
+
const BUNDLED_SOUL = resolve(__dirname, "..", "packages", "nanosoul");
|
|
15
16
|
/**
|
|
16
17
|
* Default Soul configuration for NanoPencil
|
|
17
18
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pencil-agent/nano-pencil",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.7",
|
|
4
4
|
"description": "CLI writing agent with read, bash, edit, write tools and session management. Based on pi; supports DashScope Coding Plan. Soul enabled by default for AI personality evolution.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|