@agnishc/edb-append-system-prompt 0.10.5 → 0.10.6

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/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.10.6] - 2026-05-15
4
+
3
5
  ## [0.10.5] - 2026-05-15
4
6
 
5
7
  ## [0.10.4] - 2026-05-15
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agnishc/edb-append-system-prompt",
3
- "version": "0.10.5",
3
+ "version": "0.10.6",
4
4
  "description": "Pi extension: manage per-session system prompt snippets with add/delete UI",
5
5
  "keywords": [
6
6
  "pi-package",
package/src/index.ts CHANGED
@@ -11,7 +11,7 @@
11
11
  * - Delete individual snippets
12
12
  * - Persists across /reload via session storage — scoped to this session only
13
13
  *
14
- * Command: /sys-prompt
14
+ * Command: /prompt-inject
15
15
  */
16
16
 
17
17
  import type { ExtensionAPI, ExtensionCommandContext } from "@earendil-works/pi-coding-agent";
@@ -42,7 +42,7 @@ export default function sysPromptExtension(pi: ExtensionAPI): void {
42
42
  return { systemPrompt: `${event.systemPrompt}\n\n${addition}` };
43
43
  });
44
44
 
45
- pi.registerCommand("sys-prompt", {
45
+ pi.registerCommand("prompt-inject", {
46
46
  description: "Manage system prompt snippets — add, view, and delete",
47
47
  handler: async (_args, ctx: ExtensionCommandContext) => {
48
48
  if (!ctx.hasUI) return;
package/src/state.ts CHANGED
@@ -6,7 +6,7 @@ import type { Snippet } from "./types";
6
6
 
7
7
  export let snippets: Snippet[] = [];
8
8
 
9
- export const STATUS_KEY = "sys-prompt";
9
+ export const STATUS_KEY = "prompt-inject";
10
10
  export const ENTRY_TYPE = "sys-prompt-snippets";
11
11
 
12
12
  // ── State helpers ──────────────────────────────────────────────────────────────