@pi-unipi/workflow 2.5.0 → 2.6.1

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 (2) hide show
  1. package/index.ts +2 -2
  2. package/package.json +2 -2
package/index.ts CHANGED
@@ -71,7 +71,7 @@ function sandboxRestrictions(level: SandboxLevel): string[] {
71
71
  }
72
72
 
73
73
  /** Build a persistent snapshot that explicitly invalidates earlier sandbox state. */
74
- function formatActiveSandboxSnapshot(command: string, level: SandboxLevel): string {
74
+ export function formatActiveSandboxSnapshot(command: string, level: SandboxLevel): string {
75
75
  const blocked = getBlockedToolsForLevel(level);
76
76
  const blockedLine = blocked.length > 0
77
77
  ? blocked.join(", ")
@@ -89,7 +89,7 @@ function formatActiveSandboxSnapshot(command: string, level: SandboxLevel): stri
89
89
  ].join("\n\n");
90
90
  }
91
91
 
92
- function formatInactiveSandboxSnapshot(): string {
92
+ export function formatInactiveSandboxSnapshot(): string {
93
93
  return [
94
94
  "# UniPi Workflow Sandbox Snapshot",
95
95
  "This snapshot supersedes all prior UniPi workflow sandbox snapshots; use only this snapshot for workflow sandbox status and restrictions.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-unipi/workflow",
3
- "version": "2.5.0",
3
+ "version": "2.6.1",
4
4
  "description": "Structured development workflow commands for Pi coding agent",
5
5
  "type": "module",
6
6
  "main": "index.ts",
@@ -30,7 +30,7 @@
30
30
  "access": "public"
31
31
  },
32
32
  "dependencies": {
33
- "@pi-unipi/core": "2.5.0"
33
+ "@pi-unipi/core": "2.6.1"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "@earendil-works/pi-ai": "^0.80.0",