MCPcopy Index your code
hub / github.com/Noumena-Network/code / createBashProgressMessage

Function createBashProgressMessage

src/utils/queryHelpers.test.ts:13–36  ·  view source on GitHub ↗
({
  parentToolUseID,
  toolUseID,
  elapsedTimeSeconds = 12,
  taskId = 'task-1',
}: {
  parentToolUseID: string
  toolUseID: string
  elapsedTimeSeconds?: number
  taskId?: string
})

Source from the content-addressed store, hash-verified

11} from './queryHelpers.js'
12
13function createBashProgressMessage({
14 parentToolUseID,
15 toolUseID,
16 elapsedTimeSeconds = 12,
17 taskId = 'task-1',
18}: {
19 parentToolUseID: string
20 toolUseID: string
21 elapsedTimeSeconds?: number
22 taskId?: string
23}) {
24 return {
25 type: 'progress' as const,
26 data: {
27 type: 'bash_progress' as const,
28 elapsedTimeSeconds,
29 taskId,
30 },
31 toolUseID,
32 parentToolUseID,
33 uuid: `uuid-${toolUseID}`,
34 timestamp: new Date().toISOString(),
35 }
36}
37
38beforeEach(() => {
39 delete process.env.CLAUDE_CODE_REMOTE

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected