greprag 5.77.0 → 5.78.0
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/app/app.css +342 -0
- package/app/app.js +360 -0
- package/app/favicon.svg +4 -0
- package/app/index.html +54 -0
- package/dist/app-settings.js +162 -0
- package/dist/commands/app-model.js +308 -0
- package/dist/commands/app.js +310 -0
- package/dist/commands/opencode-interrupt.js +4 -3
- package/dist/hook.js +5 -2
- package/dist/index.js +12 -1
- package/dist/opencode-plugin.bundle.js +300 -272
- package/dist/reminder-injector.js +2 -1
- package/package.json +2 -1
- package/scripts/postinstall.js +2 -1
|
@@ -44,6 +44,7 @@ const session_id_1 = require("./session-id");
|
|
|
44
44
|
const reminder_registry_1 = require("./commands/reminder-registry");
|
|
45
45
|
const friction_reminder_1 = require("./commands/friction-reminder");
|
|
46
46
|
const equipped_loadouts_cache_1 = require("./equipped-loadouts-cache");
|
|
47
|
+
const app_settings_1 = require("./app-settings");
|
|
47
48
|
async function fetchSessionUnread(apiUrl, apiKey, short) {
|
|
48
49
|
try {
|
|
49
50
|
const res = await fetch(`${apiUrl}/v1/inbox?count_only=1&session_id=${encodeURIComponent(short)}`, {
|
|
@@ -193,7 +194,7 @@ async function injectReminders(input, cfg, short, platform = 'claude-code') {
|
|
|
193
194
|
promptText,
|
|
194
195
|
equippedLoadouts,
|
|
195
196
|
};
|
|
196
|
-
const base = (0, reminder_registry_1.promptModules)().filter(m => !codex || m.id !== 'watcher-arm');
|
|
197
|
+
const base = (0, app_settings_1.filterEnabledInterrupts)((0, reminder_registry_1.promptModules)()).filter(m => !codex || m.id !== 'watcher-arm');
|
|
197
198
|
const reg = mechanicKilled() ? base.filter(m => m.id !== 'mechanic-friction') : base;
|
|
198
199
|
const fired = (0, reminder_registry_1.collectReminders)(env, reg);
|
|
199
200
|
if (!fired.length)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "greprag",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.78.0",
|
|
4
4
|
"description": "GrepRAG — agent memory for Claude Code, Codex, OpenCode, and Grok Build.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"files": [
|
|
17
17
|
"dist/**/*.js",
|
|
18
18
|
"dist/**/*.json",
|
|
19
|
+
"app",
|
|
19
20
|
"skill",
|
|
20
21
|
"scripts"
|
|
21
22
|
],
|
package/scripts/postinstall.js
CHANGED
|
@@ -95,8 +95,9 @@ if (changes.length > 0) {
|
|
|
95
95
|
const verb = installed.length > 0 ? 'Synced' : 'Refreshed';
|
|
96
96
|
console.log('\n greprag installed. ' + verb + ': ' + changes.join(', ') + '\n');
|
|
97
97
|
} else {
|
|
98
|
-
console.log('\n greprag installed
|
|
98
|
+
console.log('\n greprag installed.\n');
|
|
99
99
|
}
|
|
100
|
+
console.log(' Run `greprag` to open the local app.\n');
|
|
100
101
|
|
|
101
102
|
if (detected.includes('Codex')) {
|
|
102
103
|
console.log(' Detected Codex. Next:');
|