@pencil-agent/nano-pencil 1.3.2 → 1.3.4

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/cli.ts CHANGED
@@ -1,12 +1,12 @@
1
- #!/usr/bin/env node
2
- /**
3
- * CLI entry point for the refactored coding agent.
4
- * Uses main.ts with AgentSession and new mode modules.
5
- *
6
- * Test with: npx tsx src/cli-new.ts [args...]
7
- */
8
- process.title = "pi";
9
-
10
- import { main } from "./main.js";
11
-
12
- main(process.argv.slice(2));
1
+ #!/usr/bin/env node
2
+ /**
3
+ * CLI entry point for NanoPencil.
4
+ * Uses main.ts with AgentSession and new mode modules.
5
+ *
6
+ * Test with: npx tsx cli.ts [args...]
7
+ */
8
+ process.title = "nanopencil";
9
+
10
+ import { main } from "./main.js";
11
+
12
+ main(process.argv.slice(2));
@@ -115,6 +115,8 @@ import {
115
115
  import { LoginDialogComponent } from "./components/login-dialog.js";
116
116
  import { ModelSelectorComponent } from "./components/model-selector.js";
117
117
  import { OAuthSelectorComponent } from "./components/oauth-selector.js";
118
+ import { formatSoulStats } from "./components/soul-stats.js";
119
+ import { formatMemoryStats } from "./components/memory-stats.js";
118
120
  import { ProviderSelectorComponent } from "./components/provider-selector.js";
119
121
  import { ScopedModelsSelectorComponent } from "./components/scoped-models-selector.js";
120
122
  import { SessionSelectorComponent } from "./components/session-selector.js";
@@ -5115,7 +5117,6 @@ export class InteractiveMode {
5115
5117
  return;
5116
5118
  }
5117
5119
 
5118
- const { formatSoulStats } = require("./components/soul-stats.js");
5119
5120
  const stats = formatSoulStats(soulManager, { compact: false });
5120
5121
 
5121
5122
  this.chatContainer.addChild(new Spacer(1));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pencil-agent/nano-pencil",
3
- "version": "1.3.2",
3
+ "version": "1.3.4",
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": {