@neobiotechlabs/neobiotech-dev-agent 0.1.41 → 0.1.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/dist/doctor.js +17 -6
- package/dist/doctor.js.map +1 -1
- package/dist/index.js +18 -7
- package/dist/index.js.map +1 -1
- package/dist/setup-antigravity.js +66 -1
- package/dist/setup-antigravity.js.map +1 -1
- package/dist/setup-opencode.js +182 -0
- package/dist/setup-opencode.js.map +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3120,6 +3120,7 @@ var require_utils = __commonJS({
|
|
|
3120
3120
|
"use strict";
|
|
3121
3121
|
var isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);
|
|
3122
3122
|
var isIPv4 = RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);
|
|
3123
|
+
var isPort = RegExp.prototype.test.bind(/^\d*$/u);
|
|
3123
3124
|
var isHexPair = RegExp.prototype.test.bind(/^[\da-f]{2}$/iu);
|
|
3124
3125
|
var isUnreserved = RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu);
|
|
3125
3126
|
var isPathCharacter = RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:@/]$/u);
|
|
@@ -3585,8 +3586,12 @@ var require_utils = __commonJS({
|
|
|
3585
3586
|
uriTokens.push(host);
|
|
3586
3587
|
}
|
|
3587
3588
|
if (typeof component.port === "number" || typeof component.port === "string") {
|
|
3589
|
+
const port = String(component.port);
|
|
3590
|
+
if (!isPort(port)) {
|
|
3591
|
+
throw new TypeError("URI port is malformed.");
|
|
3592
|
+
}
|
|
3588
3593
|
uriTokens.push(":");
|
|
3589
|
-
uriTokens.push(
|
|
3594
|
+
uriTokens.push(port);
|
|
3590
3595
|
}
|
|
3591
3596
|
return uriTokens.length ? uriTokens.join("") : void 0;
|
|
3592
3597
|
}
|
|
@@ -4029,12 +4034,15 @@ var require_fast_uri = __commonJS({
|
|
|
4029
4034
|
}
|
|
4030
4035
|
return false;
|
|
4031
4036
|
}
|
|
4037
|
+
function isIPLiteral(host) {
|
|
4038
|
+
return host[0] === "[" && host[host.length - 1] === "]";
|
|
4039
|
+
}
|
|
4032
4040
|
function hasMalformedComponentPercentEncoding(matches) {
|
|
4033
4041
|
const host = matches[4];
|
|
4034
|
-
return hasMalformedPercentEncoding(matches[3]) || host !== void 0 && !(host
|
|
4042
|
+
return hasMalformedPercentEncoding(matches[3]) || host !== void 0 && !isIPLiteral(host) && hasMalformedPercentEncoding(host) || hasMalformedPercentEncoding(matches[6]) || hasMalformedPercentEncoding(matches[7]) || hasMalformedPercentEncoding(matches[8]);
|
|
4035
4043
|
}
|
|
4036
4044
|
function canonicalizeHost(parsed, options, schemeHandler, isIP2) {
|
|
4037
|
-
if (!options.unicodeSupport && (!schemeHandler || !schemeHandler.unicodeSupport) && parsed.host && parsed.host
|
|
4045
|
+
if (!options.unicodeSupport && (!schemeHandler || !schemeHandler.unicodeSupport) && parsed.host && !isIPLiteral(parsed.host) && (options.domainHost || schemeHandler && schemeHandler.domainHost) && isIP2 === false && nonSimpleDomain(parsed.host)) {
|
|
4038
4046
|
try {
|
|
4039
4047
|
parsed.host = new URL("http://" + parsed.host).hostname;
|
|
4040
4048
|
} catch (e2) {
|
|
@@ -4121,10 +4129,11 @@ var require_fast_uri = __commonJS({
|
|
|
4121
4129
|
if (parsed.host) {
|
|
4122
4130
|
const ipv4result = isIPv4(parsed.host);
|
|
4123
4131
|
if (ipv4result === false) {
|
|
4124
|
-
const bracketedIPLiteral = parsed.host
|
|
4132
|
+
const bracketedIPLiteral = isIPLiteral(parsed.host);
|
|
4133
|
+
const hasIPLiteralBracket = parsed.host.indexOf("[") !== -1 || parsed.host.indexOf("]") !== -1;
|
|
4125
4134
|
const ipv6result = normalizeIPv6(parsed.host);
|
|
4126
4135
|
isIP2 = ipv6result.isIPV6 || ipv6result.isIPVFuture === true;
|
|
4127
|
-
malformedIPLiteral =
|
|
4136
|
+
malformedIPLiteral = hasIPLiteralBracket && (!bracketedIPLiteral || ipv6result.error === true);
|
|
4128
4137
|
parsed.host = isIP2 ? ipv6result.host : ipv6result.host.toLowerCase();
|
|
4129
4138
|
if (malformedIPLiteral) {
|
|
4130
4139
|
parsed.error = parsed.error || "URI host is malformed.";
|
|
@@ -4147,7 +4156,9 @@ var require_fast_uri = __commonJS({
|
|
|
4147
4156
|
parsed.error = parsed.error || "URI is not a " + options.reference + " reference.";
|
|
4148
4157
|
}
|
|
4149
4158
|
const schemeHandler = getSchemeHandler(options.scheme || parsed.scheme);
|
|
4150
|
-
|
|
4159
|
+
if (!malformedIPLiteral) {
|
|
4160
|
+
malformedHost = canonicalizeHost(parsed, options, schemeHandler, isIP2);
|
|
4161
|
+
}
|
|
4151
4162
|
if (!schemeHandler || schemeHandler && !schemeHandler.skipNormalize) {
|
|
4152
4163
|
if (uri.indexOf("%") !== -1) {
|
|
4153
4164
|
if (parsed.host !== void 0 && !malformedIPLiteral) {
|
|
@@ -185945,7 +185956,7 @@ var xrayClientSecret = process.env.XRAY_CLIENT_SECRET || "";
|
|
|
185945
185956
|
var xray = xrayClientId && xrayClientSecret ? new XrayClient(xrayClientId, xrayClientSecret, jiraUrl, jiraEmail, jiraToken) : null;
|
|
185946
185957
|
var server = new McpServer({
|
|
185947
185958
|
name: "jira-confluence",
|
|
185948
|
-
version: "0.1.
|
|
185959
|
+
version: "0.1.43"
|
|
185949
185960
|
});
|
|
185950
185961
|
var ctx = { server, jira, confluence, risk, xray };
|
|
185951
185962
|
registerJiraCrudTools(ctx);
|