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

Function contentLength

src/commands/commit-push-pr.ts:149–152  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

147 description: 'Commit, push, and open a PR',
148 allowedTools: ALLOWED_TOOLS,
149 get contentLength() {
150 // Use 'main' as estimate for content length calculation
151 return getPromptContent('git', 'main').length
152 },
153 progressMessage: 'creating commit and PR',
154 source: 'builtin',
155 async getPromptForCommand(args, context) {

Callers

nothing calls this directly

Calls 1

getPromptContentFunction · 0.70

Tested by

no test coverage detected