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
package/dist/index.js
CHANGED
|
@@ -80,6 +80,7 @@ const crush_stats_1 = require("./commands/crush-stats");
|
|
|
80
80
|
const archive_1 = require("./commands/archive");
|
|
81
81
|
const inbox_watch_1 = require("./commands/inbox-watch");
|
|
82
82
|
const grok_spawn_1 = require("./commands/grok-spawn");
|
|
83
|
+
const app_1 = require("./commands/app");
|
|
83
84
|
const inbox_attachments_1 = require("./inbox-attachments");
|
|
84
85
|
const discord_1 = require("./commands/discord");
|
|
85
86
|
const project_anchor_1 = require("./project-anchor");
|
|
@@ -1285,6 +1286,8 @@ const HELP = `
|
|
|
1285
1286
|
greprag — agent memory for Claude Code, Codex, OpenCode, and Grok Build
|
|
1286
1287
|
|
|
1287
1288
|
Commands:
|
|
1289
|
+
(no command) Open the local GrepRAG app
|
|
1290
|
+
app | dashboard [--port N] Open the local app (use --no-open on remote machines)
|
|
1288
1291
|
init [--api-key <key>] [--tenant-id <handle>]
|
|
1289
1292
|
Auto-detect/ask for Codex, Claude Code, or OpenCode
|
|
1290
1293
|
init --claude [--api-key <key>] [--tenant-id <handle>]
|
|
@@ -1616,6 +1619,7 @@ Other:
|
|
|
1616
1619
|
full --help — the complete, always-current guide.
|
|
1617
1620
|
|
|
1618
1621
|
Examples:
|
|
1622
|
+
greprag # open the local customer app
|
|
1619
1623
|
greprag init # standard repo setup
|
|
1620
1624
|
greprag init --global # Cowork / unanchored sessions
|
|
1621
1625
|
greprag init --all # register every sibling repo for inbox
|
|
@@ -1843,7 +1847,11 @@ async function printHelpAll() {
|
|
|
1843
1847
|
async function main() {
|
|
1844
1848
|
const args = process.argv.slice(2);
|
|
1845
1849
|
const command = args[0];
|
|
1846
|
-
if (!command
|
|
1850
|
+
if (!command) {
|
|
1851
|
+
await (0, app_1.runApp)([]);
|
|
1852
|
+
return;
|
|
1853
|
+
}
|
|
1854
|
+
if (command === 'help' || command === '--help' || command === '-h') {
|
|
1847
1855
|
if (args.includes('--all')) {
|
|
1848
1856
|
await printHelpAll();
|
|
1849
1857
|
return;
|
|
@@ -1860,6 +1868,8 @@ async function main() {
|
|
|
1860
1868
|
ensureEnv();
|
|
1861
1869
|
const subArgs = args.slice(1);
|
|
1862
1870
|
switch (command) {
|
|
1871
|
+
case 'app':
|
|
1872
|
+
case 'dashboard': return (0, app_1.runApp)(subArgs);
|
|
1863
1873
|
case 'init': {
|
|
1864
1874
|
if (subArgs.includes('--help') || subArgs.includes('-h') || subArgs.includes('help')) {
|
|
1865
1875
|
console.log(INIT_HELP);
|
|
@@ -1881,6 +1891,7 @@ async function main() {
|
|
|
1881
1891
|
const name = getFlag(args, '--name');
|
|
1882
1892
|
const root = getFlag(args, '--root');
|
|
1883
1893
|
await (0, init_1.runInit)({ apiKey, tenantId, installWatcher, global, claude, opencode, codex, grok, all, name, root });
|
|
1894
|
+
console.log('\n Open your local settings any time with: greprag\n');
|
|
1884
1895
|
return;
|
|
1885
1896
|
}
|
|
1886
1897
|
case 'project-id': {
|