@caupulican/pi-adaptative 0.78.4 → 0.79.0

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/docs/settings.md CHANGED
@@ -75,6 +75,8 @@ Set `PI_SKIP_VERSION_CHECK=1` to disable the Pi version update check. Use `--off
75
75
  | `selfModification.enabled` | boolean | `false` | Allow the agent to modify Pi's own source/harness when explicitly tasked |
76
76
  | `selfModification.sourcePath` | string | - | Path to the `pi-adaptative` source checkout the agent must use for self-modification |
77
77
 
78
+ Use `/settings` → **Self modification** to configure this interactively. The submenu lets you choose whether to save globally or to the current project's `.pi/settings.json`. Pi warns when the path does not look like a `pi-adaptative` checkout, and a new session or `/reload` is recommended after changing guardrail settings.
79
+
78
80
  When disabled, the system prompt tells the agent not to edit Pi core, the installed runtime, or harness source for self-evolution. To permit self-modification, enable the setting and provide the source checkout path:
79
81
 
80
82
  ```json
@@ -101,6 +103,8 @@ The agent is instructed to edit only that source checkout, preserve unrelated ch
101
103
  | `autoLearn.maxConcurrentLearners` | number | `2` | Maximum running Auto Learn background learners across all session tenants |
102
104
  | `autoLearn.applyHighConfidence` | boolean | `false` | Allow the learner to apply high-confidence memory candidates; tooling/core changes remain proposal/approval-gated |
103
105
 
106
+ Use `/settings` → **Auto Learn** to configure this interactively, including the scavenger model. The submenu lets you choose whether to save globally or to the current project's `.pi/settings.json`. The model picker prioritizes models from currently configured subscription/API accounts and still offers a manual custom-pattern entry. Use `/auto-learn status` to inspect trigger state, cooldown, and running leases; use `/auto-learn run` to start one learner immediately.
107
+
104
108
  When enabled, Auto Learn uses a shared state file under the learning extension data directory to coordinate non-colliding background learners across sessions. Each long session gets its own tenant lease, and all learners read/renew the same state before scavenging stored histories for tooling capability and agent-behavior improvements. Learners also query available user/project memory first, using existing rules, preferences, corrections, and project facts to polish candidates, avoid duplicates, and improve accuracy.
105
109
 
106
110
  ```json
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pi-extension-custom-provider",
3
- "version": "0.78.4",
3
+ "version": "0.79.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pi-extension-custom-provider",
9
- "version": "0.78.4",
9
+ "version": "0.79.0",
10
10
  "dependencies": {
11
11
  "@anthropic-ai/sdk": "^0.52.0"
12
12
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pi-extension-custom-provider-anthropic",
3
3
  "private": true,
4
- "version": "0.78.4",
4
+ "version": "0.79.0",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "clean": "echo 'nothing to clean'",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pi-extension-custom-provider-gitlab-duo",
3
3
  "private": true,
4
- "version": "0.78.4",
4
+ "version": "0.79.0",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "clean": "echo 'nothing to clean'",
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pi-extension-sandbox",
3
- "version": "0.78.4",
3
+ "version": "0.79.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pi-extension-sandbox",
9
- "version": "0.78.4",
9
+ "version": "0.79.0",
10
10
  "dependencies": {
11
11
  "@anthropic-ai/sandbox-runtime": "^0.0.26"
12
12
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pi-extension-sandbox",
3
3
  "private": true,
4
- "version": "0.78.4",
4
+ "version": "0.79.0",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "clean": "echo 'nothing to clean'",
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pi-extension-with-deps",
3
- "version": "0.78.4",
3
+ "version": "0.79.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pi-extension-with-deps",
9
- "version": "0.78.4",
9
+ "version": "0.79.0",
10
10
  "dependencies": {
11
11
  "ms": "^2.1.3"
12
12
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pi-extension-with-deps",
3
3
  "private": true,
4
- "version": "0.78.4",
4
+ "version": "0.79.0",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "clean": "echo 'nothing to clean'",
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@caupulican/pi-adaptative",
3
- "version": "0.78.4",
3
+ "version": "0.79.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@caupulican/pi-adaptative",
9
- "version": "0.78.4",
9
+ "version": "0.79.0",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
- "@earendil-works/pi-agent-core": "npm:@caupulican/pi-agent-core@0.78.4",
13
- "@earendil-works/pi-ai": "npm:@caupulican/pi-ai@0.78.4",
14
- "@earendil-works/pi-tui": "npm:@caupulican/pi-tui@0.78.4",
12
+ "@earendil-works/pi-agent-core": "npm:@caupulican/pi-agent-core@0.79.0",
13
+ "@earendil-works/pi-ai": "npm:@caupulican/pi-ai@0.79.0",
14
+ "@earendil-works/pi-tui": "npm:@caupulican/pi-tui@0.79.0",
15
15
  "@silvia-odwyer/photon-node": "0.3.4",
16
16
  "chalk": "5.6.2",
17
17
  "cross-spawn": "7.0.6",
@@ -474,23 +474,22 @@
474
474
  }
475
475
  },
476
476
  "node_modules/@earendil-works/pi-agent-core": {
477
- "version": "0.78.4",
478
- "resolved": "https://registry.npmjs.org/@caupulican/pi-agent-core/-/pi-agent-core-0.78.4.tgz",
477
+ "version": "0.79.0",
478
+ "resolved": "https://registry.npmjs.org/@caupulican/pi-agent-core/-/pi-agent-core-0.79.0.tgz",
479
479
  "license": "MIT",
480
480
  "dependencies": {
481
- "@earendil-works/pi-ai": "npm:@caupulican/pi-ai@0.78.4",
481
+ "@earendil-works/pi-ai": "npm:@caupulican/pi-ai@0.79.0",
482
482
  "ignore": "7.0.5",
483
483
  "typebox": "1.1.38",
484
484
  "yaml": "2.9.0"
485
485
  },
486
486
  "engines": {
487
487
  "node": ">=22.19.0"
488
- },
489
- "name": "@caupulican/pi-agent-core"
488
+ }
490
489
  },
491
490
  "node_modules/@earendil-works/pi-ai": {
492
- "version": "0.78.4",
493
- "resolved": "https://registry.npmjs.org/@caupulican/pi-ai/-/pi-ai-0.78.4.tgz",
491
+ "version": "0.79.0",
492
+ "resolved": "https://registry.npmjs.org/@caupulican/pi-ai/-/pi-ai-0.79.0.tgz",
494
493
  "license": "MIT",
495
494
  "dependencies": {
496
495
  "@anthropic-ai/sdk": "0.91.1",
@@ -509,12 +508,11 @@
509
508
  },
510
509
  "engines": {
511
510
  "node": ">=22.19.0"
512
- },
513
- "name": "@caupulican/pi-ai"
511
+ }
514
512
  },
515
513
  "node_modules/@earendil-works/pi-tui": {
516
- "version": "0.78.4",
517
- "resolved": "https://registry.npmjs.org/@caupulican/pi-tui/-/pi-tui-0.78.4.tgz",
514
+ "version": "0.79.0",
515
+ "resolved": "https://registry.npmjs.org/@caupulican/pi-tui/-/pi-tui-0.79.0.tgz",
518
516
  "license": "MIT",
519
517
  "dependencies": {
520
518
  "get-east-asian-width": "1.6.0",
@@ -522,8 +520,7 @@
522
520
  },
523
521
  "engines": {
524
522
  "node": ">=22.19.0"
525
- },
526
- "name": "@caupulican/pi-tui"
523
+ }
527
524
  },
528
525
  "node_modules/@google/genai": {
529
526
  "version": "1.52.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caupulican/pi-adaptative",
3
- "version": "0.78.4",
3
+ "version": "0.79.0",
4
4
  "description": "Adaptive fork of Pi coding agent for self-evolving agent harness experiments",
5
5
  "type": "module",
6
6
  "piConfig": {
@@ -41,9 +41,9 @@
41
41
  "prepublishOnly": "npm run clean && npm run build && npm run shrinkwrap"
42
42
  },
43
43
  "dependencies": {
44
- "@earendil-works/pi-agent-core": "npm:@caupulican/pi-agent-core@0.78.4",
45
- "@earendil-works/pi-ai": "npm:@caupulican/pi-ai@0.78.4",
46
- "@earendil-works/pi-tui": "npm:@caupulican/pi-tui@0.78.4",
44
+ "@earendil-works/pi-agent-core": "npm:@caupulican/pi-agent-core@0.79.0",
45
+ "@earendil-works/pi-ai": "npm:@caupulican/pi-ai@0.79.0",
46
+ "@earendil-works/pi-tui": "npm:@caupulican/pi-tui@0.79.0",
47
47
  "@silvia-odwyer/photon-node": "0.3.4",
48
48
  "chalk": "5.6.2",
49
49
  "cross-spawn": "7.0.6",