MCPcopy Create free account
hub / github.com/AnkRoot/Augment-BYOK / requireCapture

Function requireCapture

tools/patch/tasklist-common.js:4–8  ·  view source on GitHub ↗
(match, index, label)

Source from the content-addressed store, hash-verified

2"use strict";
3
4function requireCapture(match, index, label) {
5 const value = String(match && match[index] ? match[index] : "");
6 if (!value) throw new Error(`${label} capture missing`);
7 return value;
8}
9
10function buildEnsureRootSnippet({ rootVar, conversationIdVar, errorFnVar }) {
11 return (

Callers 4

buildReplacementFunction · 0.85
buildReplacementFunction · 0.85
patchTasklistAutoRootFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected