@caupulican/pi-adaptative 0.80.38 → 0.80.40

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.
Files changed (28) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/core/agent-session.d.ts.map +1 -1
  3. package/dist/core/agent-session.js +16 -8
  4. package/dist/core/agent-session.js.map +1 -1
  5. package/dist/core/settings-manager.d.ts +2 -0
  6. package/dist/core/settings-manager.d.ts.map +1 -1
  7. package/dist/core/settings-manager.js +1 -0
  8. package/dist/core/settings-manager.js.map +1 -1
  9. package/dist/core/system-prompt.d.ts.map +1 -1
  10. package/dist/core/system-prompt.js +3 -0
  11. package/dist/core/system-prompt.js.map +1 -1
  12. package/dist/modes/interactive/components/settings-selector.d.ts.map +1 -1
  13. package/dist/modes/interactive/components/settings-selector.js +3 -1
  14. package/dist/modes/interactive/components/settings-selector.js.map +1 -1
  15. package/dist/modes/interactive/interactive-mode.d.ts +3 -0
  16. package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
  17. package/dist/modes/interactive/interactive-mode.js +38 -14
  18. package/dist/modes/interactive/interactive-mode.js.map +1 -1
  19. package/docs/adaptive-extension-shared-state-audit.md +1 -1
  20. package/examples/extensions/custom-provider-anthropic/package-lock.json +2 -2
  21. package/examples/extensions/custom-provider-anthropic/package.json +1 -1
  22. package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
  23. package/examples/extensions/sandbox/package-lock.json +2 -2
  24. package/examples/extensions/sandbox/package.json +1 -1
  25. package/examples/extensions/with-deps/package-lock.json +2 -2
  26. package/examples/extensions/with-deps/package.json +1 -1
  27. package/npm-shrinkwrap.json +12 -12
  28. package/package.json +4 -4
@@ -40,4 +40,4 @@ Scope: `~/.pi/agent/extensions`, TypeScript sources, excluding `node_modules`, `
40
40
 
41
41
  ## Runtime activation note
42
42
 
43
- The authorized source repo `/mnt/d/GitHub/mine/pi-adaptative` has the updated prompt source and built source `packages/coding-agent/dist/core/system-prompt.js` contains the new rules after `npm run build`. The global `pi` package was relinked with `npm link` from `/mnt/d/GitHub/mine/pi-adaptative/packages/coding-agent`; `readlink -f $(which pi)` now resolves to `/mnt/d/GitHub/mine/pi-adaptative/packages/coding-agent/dist/cli.js`, and the global package path `/home/caudev/.nvm/versions/node/v22.22.3/lib/node_modules/@caupulican/pi-adaptative` resolves to the authorized source package. The active global runtime `dist/core/system-prompt.js` contains the MAPE, tenant-safety, and Automata-memory prompt lines for new Pi sessions.
43
+ After local builds or package installs, verify the active `pi` runtime resolves to the intended package or checkout for the environment under test. The active runtime should load `dist/core/system-prompt.js` containing the MAPE, tenant-safety, and Automata-memory prompt lines for new Pi sessions. Do not commit machine-specific absolute paths or package-manager link targets as validation evidence.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pi-extension-custom-provider",
3
- "version": "0.80.35",
3
+ "version": "0.80.37",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pi-extension-custom-provider",
9
- "version": "0.80.35",
9
+ "version": "0.80.37",
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.80.35",
4
+ "version": "0.80.37",
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.80.35",
4
+ "version": "0.80.37",
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.80.35",
3
+ "version": "0.80.37",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pi-extension-sandbox",
9
- "version": "0.80.35",
9
+ "version": "0.80.37",
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.80.35",
4
+ "version": "0.80.37",
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.80.35",
3
+ "version": "0.80.37",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pi-extension-with-deps",
9
- "version": "0.80.35",
9
+ "version": "0.80.37",
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.80.35",
4
+ "version": "0.80.37",
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.80.38",
3
+ "version": "0.80.40",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@caupulican/pi-adaptative",
9
- "version": "0.80.38",
9
+ "version": "0.80.40",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
- "@caupulican/pi-agent-core": "^0.80.38",
13
- "@caupulican/pi-ai": "^0.80.38",
14
- "@caupulican/pi-tui": "^0.80.38",
12
+ "@caupulican/pi-agent-core": "^0.80.40",
13
+ "@caupulican/pi-ai": "^0.80.40",
14
+ "@caupulican/pi-tui": "^0.80.40",
15
15
  "@silvia-odwyer/photon-node": "0.3.4",
16
16
  "chalk": "5.6.2",
17
17
  "cross-spawn": "7.0.6",
@@ -474,11 +474,11 @@
474
474
  }
475
475
  },
476
476
  "node_modules/@caupulican/pi-agent-core": {
477
- "version": "0.80.38",
478
- "resolved": "https://registry.npmjs.org/@caupulican/pi-agent-core/-/pi-agent-core-0.80.38.tgz",
477
+ "version": "0.80.40",
478
+ "resolved": "https://registry.npmjs.org/@caupulican/pi-agent-core/-/pi-agent-core-0.80.40.tgz",
479
479
  "license": "MIT",
480
480
  "dependencies": {
481
- "@caupulican/pi-ai": "^0.80.38",
481
+ "@caupulican/pi-ai": "^0.80.40",
482
482
  "ignore": "7.0.5",
483
483
  "typebox": "1.1.38",
484
484
  "yaml": "2.9.0"
@@ -488,8 +488,8 @@
488
488
  }
489
489
  },
490
490
  "node_modules/@caupulican/pi-ai": {
491
- "version": "0.80.38",
492
- "resolved": "https://registry.npmjs.org/@caupulican/pi-ai/-/pi-ai-0.80.38.tgz",
491
+ "version": "0.80.40",
492
+ "resolved": "https://registry.npmjs.org/@caupulican/pi-ai/-/pi-ai-0.80.40.tgz",
493
493
  "license": "MIT",
494
494
  "dependencies": {
495
495
  "@anthropic-ai/sdk": "0.91.1",
@@ -511,8 +511,8 @@
511
511
  }
512
512
  },
513
513
  "node_modules/@caupulican/pi-tui": {
514
- "version": "0.80.38",
515
- "resolved": "https://registry.npmjs.org/@caupulican/pi-tui/-/pi-tui-0.80.38.tgz",
514
+ "version": "0.80.40",
515
+ "resolved": "https://registry.npmjs.org/@caupulican/pi-tui/-/pi-tui-0.80.40.tgz",
516
516
  "license": "MIT",
517
517
  "dependencies": {
518
518
  "get-east-asian-width": "1.6.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caupulican/pi-adaptative",
3
- "version": "0.80.38",
3
+ "version": "0.80.40",
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
- "@caupulican/pi-agent-core": "^0.80.38",
45
- "@caupulican/pi-ai": "^0.80.38",
46
- "@caupulican/pi-tui": "^0.80.38",
44
+ "@caupulican/pi-agent-core": "^0.80.40",
45
+ "@caupulican/pi-ai": "^0.80.40",
46
+ "@caupulican/pi-tui": "^0.80.40",
47
47
  "@silvia-odwyer/photon-node": "0.3.4",
48
48
  "chalk": "5.6.2",
49
49
  "cross-spawn": "7.0.6",