@dyyz1993/pi-coding-agent 0.74.35 → 0.74.39

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.
@@ -8,7 +8,7 @@ function log(msg: string) {
8
8
  appendFileSync("/tmp/supervisor-debug.log", `[${ts}] [config] ${msg}\n`);
9
9
  }
10
10
 
11
- const DEFAULT_CONFIG: SupervisorConfig = {
11
+ export const DEFAULT_CONFIG: SupervisorConfig = {
12
12
  enable: false,
13
13
  checkOnAgentEnd: true,
14
14
  smallModel: "fast",
@@ -12,7 +12,7 @@ import type {
12
12
  GuardConfig,
13
13
  GuardCheckResult,
14
14
  } from "./types.js";
15
- import { loadConfig } from "./config.js";
15
+ import { loadConfig, DEFAULT_CONFIG } from "./config.js";
16
16
  import { checkWithSmallModel } from "./checker.js";
17
17
  import { Scheduler } from "./scheduler.js";
18
18
  import {
@@ -41,7 +41,7 @@ const DEFAULT_GUARDS: GuardConfig[] = [
41
41
  ];
42
42
 
43
43
  export default function sessionSupervisorExtension(pi: ExtensionAPI) {
44
- let config: SupervisorConfig;
44
+ let config: SupervisorConfig = DEFAULT_CONFIG;
45
45
  let enabled = false;
46
46
  let currentState: SupervisorStatus["state"] = "idle";
47
47
  let lastCheckResult: CheckResult | undefined;
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pi-extension-custom-provider",
3
- "version": "0.74.22",
3
+ "version": "0.74.25",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pi-extension-custom-provider",
9
- "version": "0.74.22",
9
+ "version": "0.74.25",
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.74.22",
4
+ "version": "0.74.25",
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.74.22",
4
+ "version": "0.74.25",
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": "1.4.22",
3
+ "version": "1.4.25",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pi-extension-sandbox",
9
- "version": "1.4.22",
9
+ "version": "1.4.25",
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": "1.4.22",
4
+ "version": "1.4.25",
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.74.22",
3
+ "version": "0.74.25",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pi-extension-with-deps",
9
- "version": "0.74.22",
9
+ "version": "0.74.25",
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.74.22",
4
+ "version": "0.74.25",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "clean": "echo 'nothing to clean'",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dyyz1993/pi-coding-agent",
3
- "version": "0.74.35",
3
+ "version": "0.74.39",
4
4
  "description": "Coding agent CLI with read, bash, edit, write tools and session management",
5
5
  "type": "module",
6
6
  "piConfig": {
@@ -39,9 +39,9 @@
39
39
  "prepublishOnly": "npm run clean && npm run build"
40
40
  },
41
41
  "dependencies": {
42
- "@dyyz1993/pi-agent-core": "^0.74.35",
43
- "@dyyz1993/pi-ai": "^0.74.35",
44
- "@dyyz1993/pi-tui": "^0.74.35",
42
+ "@dyyz1993/pi-agent-core": "^0.74.39",
43
+ "@dyyz1993/pi-ai": "^0.74.39",
44
+ "@dyyz1993/pi-tui": "^0.74.39",
45
45
  "@modelcontextprotocol/sdk": "^1.29.0",
46
46
  "@silvia-odwyer/photon-node": "^0.3.4",
47
47
  "chalk": "^5.5.0",