MCPcopy Create free account
hub / github.com/Noumena-Network/code / readChromeAutoEnableProbe

Function readChromeAutoEnableProbe

scripts/probe_runtime_dynamic_surface.ts:56–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54}
55
56async function readChromeAutoEnableProbe() {
57 try {
58 const module = await import('../src/utils/claudeInChrome/setup.js')
59 return {
60 status: 'ok',
61 value: Boolean(module.shouldAutoEnableClaudeInChrome()),
62 error: '',
63 }
64 } catch (error) {
65 return {
66 status: 'error',
67 value: null,
68 error: error instanceof Error ? error.message : String(error),
69 }
70 }
71}
72
73const projectCwd = cwd()
74setOriginalCwd(projectCwd)

Calls

no outgoing calls

Tested by

no test coverage detected