jfl 0.2.2 → 0.2.3
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/clawdbot-plugin/clawdbot.plugin.json +12 -1
- package/clawdbot-plugin/index.js +5 -5
- package/clawdbot-plugin/index.ts +5 -5
- package/dist/commands/context-hub.d.ts +4 -0
- package/dist/commands/context-hub.d.ts.map +1 -1
- package/dist/commands/context-hub.js +570 -81
- package/dist/commands/context-hub.js.map +1 -1
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +42 -11
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/peter.d.ts +15 -0
- package/dist/commands/peter.d.ts.map +1 -0
- package/dist/commands/peter.js +198 -0
- package/dist/commands/peter.js.map +1 -0
- package/dist/commands/ralph.d.ts +3 -1
- package/dist/commands/ralph.d.ts.map +1 -1
- package/dist/commands/ralph.js +40 -5
- package/dist/commands/ralph.js.map +1 -1
- package/dist/commands/session.d.ts +2 -1
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +496 -49
- package/dist/commands/session.js.map +1 -1
- package/dist/commands/update.d.ts.map +1 -1
- package/dist/commands/update.js +25 -6
- package/dist/commands/update.js.map +1 -1
- package/dist/dashboard/components.d.ts +7 -0
- package/dist/dashboard/components.d.ts.map +1 -0
- package/dist/dashboard/components.js +163 -0
- package/dist/dashboard/components.js.map +1 -0
- package/dist/dashboard/index.d.ts +12 -0
- package/dist/dashboard/index.d.ts.map +1 -0
- package/dist/dashboard/index.js +132 -0
- package/dist/dashboard/index.js.map +1 -0
- package/dist/dashboard/pages.d.ts +7 -0
- package/dist/dashboard/pages.d.ts.map +1 -0
- package/dist/dashboard/pages.js +742 -0
- package/dist/dashboard/pages.js.map +1 -0
- package/dist/dashboard/styles.d.ts +7 -0
- package/dist/dashboard/styles.d.ts.map +1 -0
- package/dist/dashboard/styles.js +497 -0
- package/dist/dashboard/styles.js.map +1 -0
- package/dist/index.js +30 -3
- package/dist/index.js.map +1 -1
- package/dist/lib/map-event-bus.d.ts +48 -0
- package/dist/lib/map-event-bus.d.ts.map +1 -0
- package/dist/lib/map-event-bus.js +326 -0
- package/dist/lib/map-event-bus.js.map +1 -0
- package/dist/lib/peter-parker-bridge.d.ts +33 -0
- package/dist/lib/peter-parker-bridge.d.ts.map +1 -0
- package/dist/lib/peter-parker-bridge.js +116 -0
- package/dist/lib/peter-parker-bridge.js.map +1 -0
- package/dist/lib/peter-parker-config.d.ts +13 -0
- package/dist/lib/peter-parker-config.d.ts.map +1 -0
- package/dist/lib/peter-parker-config.js +86 -0
- package/dist/lib/peter-parker-config.js.map +1 -0
- package/dist/lib/service-utils.d.ts.map +1 -1
- package/dist/lib/service-utils.js +33 -17
- package/dist/lib/service-utils.js.map +1 -1
- package/dist/mcp/context-hub-mcp.js +122 -22
- package/dist/mcp/context-hub-mcp.js.map +1 -1
- package/dist/types/map.d.ts +33 -0
- package/dist/types/map.d.ts.map +1 -0
- package/dist/types/map.js +39 -0
- package/dist/types/map.js.map +1 -0
- package/dist/ui/event-dashboard.d.ts +12 -0
- package/dist/ui/event-dashboard.d.ts.map +1 -0
- package/dist/ui/event-dashboard.js +342 -0
- package/dist/ui/event-dashboard.js.map +1 -0
- package/package.json +1 -1
- package/scripts/test-map-eventbus.sh +357 -0
|
@@ -1,9 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "jfl",
|
|
3
|
+
"uiHints": {
|
|
4
|
+
"workspace": {
|
|
5
|
+
"label": "GTM Workspace",
|
|
6
|
+
"placeholder": "Auto-detected from .jfl/config.json",
|
|
7
|
+
"help": "Path to GTM workspace. Leave empty to auto-detect."
|
|
8
|
+
}
|
|
9
|
+
},
|
|
3
10
|
"configSchema": {
|
|
4
11
|
"type": "object",
|
|
5
12
|
"additionalProperties": false,
|
|
6
|
-
"properties": {
|
|
13
|
+
"properties": {
|
|
14
|
+
"workspace": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
7
18
|
"required": []
|
|
8
19
|
}
|
|
9
20
|
}
|
package/clawdbot-plugin/index.js
CHANGED
|
@@ -260,7 +260,7 @@ const jflPlugin = {
|
|
|
260
260
|
`- Auto-commit work`,
|
|
261
261
|
``,
|
|
262
262
|
`Commands:`,
|
|
263
|
-
`/
|
|
263
|
+
`/context <query> — Search project context`,
|
|
264
264
|
`/journal <type> <title> | <summary> — Log work`,
|
|
265
265
|
`/hud — Dashboard`,
|
|
266
266
|
`/jfl — This status`,
|
|
@@ -418,7 +418,7 @@ const jflPlugin = {
|
|
|
418
418
|
`- Work auto-committed`,
|
|
419
419
|
``,
|
|
420
420
|
`Commands:`,
|
|
421
|
-
`/
|
|
421
|
+
`/context <query> — Search`,
|
|
422
422
|
`/journal <type> <title> | <summary> — Log`,
|
|
423
423
|
`/hud — Dashboard`,
|
|
424
424
|
].join("\n"),
|
|
@@ -467,7 +467,7 @@ const jflPlugin = {
|
|
|
467
467
|
},
|
|
468
468
|
});
|
|
469
469
|
api.registerCommand({
|
|
470
|
-
name: "
|
|
470
|
+
name: "context",
|
|
471
471
|
description: "Search project context",
|
|
472
472
|
acceptsArgs: true,
|
|
473
473
|
handler: async (ctx) => {
|
|
@@ -483,7 +483,7 @@ const jflPlugin = {
|
|
|
483
483
|
}
|
|
484
484
|
const q = ctx.args?.trim();
|
|
485
485
|
if (!q)
|
|
486
|
-
return { text: "Usage: /
|
|
486
|
+
return { text: "Usage: /context <query>" };
|
|
487
487
|
if (hub) {
|
|
488
488
|
const results = await hub.search(q, 5);
|
|
489
489
|
if (results.length > 0) {
|
|
@@ -542,7 +542,7 @@ const jflPlugin = {
|
|
|
542
542
|
`Context Hub: ${hubUp ? "running" : "offline"}`,
|
|
543
543
|
`Workspace: ${gtmPath}`,
|
|
544
544
|
``,
|
|
545
|
-
`/
|
|
545
|
+
`/context <query> — Search`,
|
|
546
546
|
`/journal <type> <title> | <summary> — Log`,
|
|
547
547
|
].join("\n"),
|
|
548
548
|
};
|
package/clawdbot-plugin/index.ts
CHANGED
|
@@ -272,7 +272,7 @@ const jflPlugin = {
|
|
|
272
272
|
`- Auto-commit work`,
|
|
273
273
|
``,
|
|
274
274
|
`Commands:`,
|
|
275
|
-
`/
|
|
275
|
+
`/context <query> — Search project context`,
|
|
276
276
|
`/journal <type> <title> | <summary> — Log work`,
|
|
277
277
|
`/hud — Dashboard`,
|
|
278
278
|
`/jfl — This status`,
|
|
@@ -439,7 +439,7 @@ const jflPlugin = {
|
|
|
439
439
|
`- Work auto-committed`,
|
|
440
440
|
``,
|
|
441
441
|
`Commands:`,
|
|
442
|
-
`/
|
|
442
|
+
`/context <query> — Search`,
|
|
443
443
|
`/journal <type> <title> | <summary> — Log`,
|
|
444
444
|
`/hud — Dashboard`,
|
|
445
445
|
].join("\n"),
|
|
@@ -493,7 +493,7 @@ const jflPlugin = {
|
|
|
493
493
|
});
|
|
494
494
|
|
|
495
495
|
api.registerCommand({
|
|
496
|
-
name: "
|
|
496
|
+
name: "context",
|
|
497
497
|
description: "Search project context",
|
|
498
498
|
acceptsArgs: true,
|
|
499
499
|
handler: async (ctx: { args?: string }) => {
|
|
@@ -508,7 +508,7 @@ const jflPlugin = {
|
|
|
508
508
|
}
|
|
509
509
|
|
|
510
510
|
const q = ctx.args?.trim();
|
|
511
|
-
if (!q) return { text: "Usage: /
|
|
511
|
+
if (!q) return { text: "Usage: /context <query>" };
|
|
512
512
|
|
|
513
513
|
if (hub) {
|
|
514
514
|
const results = await hub.search(q, 5);
|
|
@@ -568,7 +568,7 @@ const jflPlugin = {
|
|
|
568
568
|
`Context Hub: ${hubUp ? "running" : "offline"}`,
|
|
569
569
|
`Workspace: ${gtmPath}`,
|
|
570
570
|
``,
|
|
571
|
-
`/
|
|
571
|
+
`/context <query> — Search`,
|
|
572
572
|
`/journal <type> <title> | <summary> — Log`,
|
|
573
573
|
].join("\n"),
|
|
574
574
|
};
|
|
@@ -10,8 +10,12 @@ export declare function isRunning(projectRoot: string): {
|
|
|
10
10
|
running: boolean;
|
|
11
11
|
pid?: number;
|
|
12
12
|
};
|
|
13
|
+
export declare function ensureDaemonInstalled(opts?: {
|
|
14
|
+
quiet?: boolean;
|
|
15
|
+
}): Promise<boolean>;
|
|
13
16
|
export declare function contextHubCommand(action?: string, options?: {
|
|
14
17
|
port?: number;
|
|
15
18
|
global?: boolean;
|
|
19
|
+
quiet?: boolean;
|
|
16
20
|
}): Promise<void>;
|
|
17
21
|
//# sourceMappingURL=context-hub.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context-hub.d.ts","sourceRoot":"","sources":["../../src/commands/context-hub.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;
|
|
1
|
+
{"version":3,"file":"context-hub.d.ts","sourceRoot":"","sources":["../../src/commands/context-hub.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAy7BH,wBAAgB,SAAS,CAAC,WAAW,EAAE,MAAM,GAAG;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,CAiBjF;AA2ND,wBAAsB,qBAAqB,CAAC,IAAI,CAAC,EAAE;IAAE,KAAK,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,OAAO,CAAC,OAAO,CAAC,CAiHxF;AAMD,wBAAsB,iBAAiB,CACrC,MAAM,CAAC,EAAE,MAAM,EACf,OAAO,GAAE;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,OAAO,CAAA;CAAO,iBAicnE"}
|