File tree Expand file tree Collapse file tree 4 files changed +8
-13
lines changed
Expand file tree Collapse file tree 4 files changed +8
-13
lines changed Original file line number Diff line number Diff line change @@ -890,11 +890,7 @@ export function createRalphCommand(): Command {
890890
891891 const loopId = options . loopId || 'current' ;
892892 await ralphDebugger . startDebugSession ( loopId , '.ralph' ) ;
893- < < < << << HEAD
894-
895- = === ===
896893
897- >>> >>> > swarm / developer - implement - core - feature
898894 if ( options . generateReport ) {
899895 const report = await ralphDebugger . generateDebugReport ( loopId ) ;
900896 console . log ( `📋 Debug report generated: ${ report . exportPath } ` ) ;
@@ -914,7 +910,6 @@ export function createRalphCommand(): Command {
914910 } ) ;
915911 } ) ;
916912
917- << << << < HEAD
918913 // Swarm testing and validation command
919914 ralph
920915 . command ( 'swarm-test' )
@@ -1114,7 +1109,8 @@ export function createRalphCommand(): Command {
11141109 process . exit ( 1 ) ;
11151110 }
11161111 } ) ;
1117- = === ===
1112+ } ) ;
1113+
11181114 // TUI command for real-time monitoring
11191115 ralph
11201116 . command ( 'tui' )
@@ -1168,7 +1164,6 @@ export function createRalphCommand(): Command {
11681164 console . log ( '💡 Try: stackmemory ralph tui --simple' ) ;
11691165 process . exit ( 1 ) ;
11701166 }
1171- > >>> >>> swarm / developer - implement - core - feature
11721167 } ) ;
11731168
11741169 return ralph ;
Original file line number Diff line number Diff line change @@ -92,14 +92,12 @@ export class RalphStackMemoryBridge {
9292
9393 this . state . currentSession = session ;
9494
95- < < < << << HEAD
9695 // Initialize frame manager with database
9796 const dbAdapter = await this . getDatabaseAdapter ( ) ;
9897 await dbAdapter . connect ( ) ;
9998 const db = ( dbAdapter as any ) . db ; // Get the actual Database instance
10099 const projectId = path . basename ( this . ralphDir ) ;
101100 this . frameManager = new FrameManager ( db , projectId , { skipContextBridge : true } ) ;
102- === = ===
103101 // Initialize frame manager with session database if required
104102 if ( this . requiresDatabase ) {
105103 if ( session . database && session . projectId ) {
@@ -122,7 +120,6 @@ export class RalphStackMemoryBridge {
122120 'Running without StackMemory database (useStackMemory: false)'
123121 ) ;
124122 }
125- >>> > >>> swarm / developer - implement - core - feature
126123
127124 // Check for existing loop or create new
128125 if ( options ?. loopId ) {
Original file line number Diff line number Diff line change @@ -270,18 +270,15 @@ export class GitWorkflowManager {
270270
271271 // Private helper methods
272272 private getCurrentBranch ( ) : string {
273- < < < << << HEAD
274273 try {
275274 return execSync ( 'git rev-parse --abbrev-ref HEAD' , { encoding : 'utf8' } ) . trim ( ) ;
276275 } catch ( error : unknown ) {
277276 logger . warn ( 'Failed to get current branch' , error as Error ) ;
278277 return 'main' ;
279278 }
280- === = ===
281279 return execSync ( 'git rev-parse --abbrev-ref HEAD' , {
282280 encoding : 'utf8' ,
283281 } ) . trim ( ) ;
284- >>> > >>> swarm / developer - implement - core - feature
285282 }
286283
287284 private getMainBranch ( ) : string {
Original file line number Diff line number Diff line change @@ -277,6 +277,11 @@ function sendNotification(notification) {
277277 }
278278 }
279279
280+ // Add session link if available
281+ if ( notification . sessionId ) {
282+ message += `\n\nSession: https://claude.ai/share/${ notification . sessionId } ` ;
283+ }
284+
280285 const postData = new URLSearchParams ( {
281286 From : numbers . from ,
282287 To : numbers . to ,
@@ -341,6 +346,7 @@ process.stdin.on('end', () => {
341346 const notification = shouldNotify ( tool_name , tool_input , tool_output ) ;
342347
343348 if ( notification ) {
349+ notification . sessionId = hookData . session_id ;
344350 sendNotification ( notification ) ;
345351 }
346352
You can’t perform that action at this time.
0 commit comments