@diegopetrucci/pi-librarian 0.1.1 → 0.1.2

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 (3) hide show
  1. package/README.md +1 -1
  2. package/index.ts +2 -2
  3. package/package.json +9 -2
package/README.md CHANGED
@@ -37,7 +37,7 @@ Then reload pi:
37
37
  - Uses `gh` for GitHub search/API access
38
38
  - Uses cached local checkouts by default
39
39
  - Toggle cache behavior for future calls with `/librarian-cache on | off | toggle | status`
40
- - Cached repos are removed lazily after 30 days without use
40
+ - Cached repos are removed lazily after 7 days without use
41
41
 
42
42
  ## Commands
43
43
 
package/index.ts CHANGED
@@ -21,7 +21,7 @@ const MAX_TURNS = 10;
21
21
  const MAX_TOOL_CALLS_TO_KEEP = 80;
22
22
  const DEFAULT_BASH_TIMEOUT_SECONDS = 60;
23
23
  const MAX_RUN_MS = 10 * 60 * 1000;
24
- const CACHE_TTL_DAYS = 30;
24
+ const CACHE_TTL_DAYS = 7;
25
25
  const CACHE_TTL_MS = CACHE_TTL_DAYS * 24 * 60 * 60 * 1000;
26
26
  const CACHE_METADATA_FILE = ".pi-librarian-cache.json";
27
27
  const CACHE_MARKER_FILE = ".pi-librarian-cache-used";
@@ -560,7 +560,7 @@ export default function librarianExtension(pi: ExtensionAPI) {
560
560
  name: "librarian",
561
561
  label: "Librarian",
562
562
  description:
563
- "GitHub research scout for coding and personal-assistant tasks. Use when the answer likely lives in GitHub repos, exact repo/path locations are unknown, or you'd otherwise do exploratory gh search/tree probes plus local rg/read inspection. Librarian uses an optional 30-day local checkout cache by default; toggle it with /librarian-cache.",
563
+ "GitHub research scout for coding and personal-assistant tasks. Use when the answer likely lives in GitHub repos, exact repo/path locations are unknown, or you'd otherwise do exploratory gh search/tree probes plus local rg/read inspection. Librarian uses an optional 7-day local checkout cache by default; toggle it with /librarian-cache.",
564
564
  promptSnippet:
565
565
  "Research GitHub repositories with evidence-first path and line citations; local checkout cache is enabled by default and user-toggleable with /librarian-cache.",
566
566
  promptGuidelines: [
package/package.json CHANGED
@@ -1,8 +1,15 @@
1
1
  {
2
2
  "name": "@diegopetrucci/pi-librarian",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "A pi GitHub research scout with a toggleable local repo checkout cache under the user's OS cache directory.",
5
- "keywords": ["pi-package", "pi", "github", "research", "subagent", "cache"],
5
+ "keywords": [
6
+ "pi-package",
7
+ "pi",
8
+ "github",
9
+ "research",
10
+ "subagent",
11
+ "cache"
12
+ ],
6
13
  "license": "MIT",
7
14
  "repository": {
8
15
  "type": "git",