@ours.network/codex 0.12.0-nightly.12 → 0.12.0-nightly.13
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/dist/monitor-mcp.mjs
CHANGED
|
@@ -3764,6 +3764,7 @@ var require_fast_uri = __commonJS({
|
|
|
3764
3764
|
return uriTokens.join("");
|
|
3765
3765
|
}
|
|
3766
3766
|
var URI_PARSE = /^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;
|
|
3767
|
+
var AUTHORITY_PREFIX = /^(?:[^#/:?]+:)?\/\/([^/?#]*)/;
|
|
3767
3768
|
function getParseError(parsed, matches) {
|
|
3768
3769
|
if (matches[2] !== void 0 && parsed.path && parsed.path[0] !== "/") {
|
|
3769
3770
|
return 'URI path must start with "/" when authority is present.';
|
|
@@ -3793,6 +3794,11 @@ var require_fast_uri = __commonJS({
|
|
|
3793
3794
|
uri = "//" + uri;
|
|
3794
3795
|
}
|
|
3795
3796
|
}
|
|
3797
|
+
const authorityMatch = uri.match(AUTHORITY_PREFIX);
|
|
3798
|
+
if (authorityMatch !== null && authorityMatch[1].indexOf("\\") !== -1) {
|
|
3799
|
+
parsed.error = "URI authority must not contain a literal backslash.";
|
|
3800
|
+
malformedAuthorityOrPort = true;
|
|
3801
|
+
}
|
|
3796
3802
|
const matches = uri.match(URI_PARSE);
|
|
3797
3803
|
if (matches) {
|
|
3798
3804
|
parsed.scheme = matches[1];
|
|
@@ -3836,7 +3842,7 @@ var require_fast_uri = __commonJS({
|
|
|
3836
3842
|
if (!options.unicodeSupport && (!schemeHandler || !schemeHandler.unicodeSupport)) {
|
|
3837
3843
|
if (parsed.host && (options.domainHost || schemeHandler && schemeHandler.domainHost) && isIP === false && nonSimpleDomain(parsed.host)) {
|
|
3838
3844
|
try {
|
|
3839
|
-
parsed.host = URL
|
|
3845
|
+
parsed.host = new URL("http://" + parsed.host).hostname;
|
|
3840
3846
|
} catch (e) {
|
|
3841
3847
|
parsed.error = parsed.error || "Host's domain name can not be converted to ASCII: " + e;
|
|
3842
3848
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ours.network/codex",
|
|
3
|
-
"version": "0.12.0-nightly.
|
|
3
|
+
"version": "0.12.0-nightly.13",
|
|
4
4
|
"description": "Native Codex plugin for secure ours.network messaging and explicitly armed, session-scoped live mail wake.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "FSL-1.1-Apache-2.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
49
|
-
"@ours.network/mcp": "0.12.0-nightly.
|
|
49
|
+
"@ours.network/mcp": "0.12.0-nightly.13",
|
|
50
50
|
"ws": "^8.21.0",
|
|
51
51
|
"zod": "^3.25.76"
|
|
52
52
|
},
|