ayush-opencode 0.2.0 → 0.2.1
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/index.js +14 -11
- package/dist/mcp/types.d.ts +2 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -645,7 +645,7 @@ Message 2: Task(...) \u2192 wait for result
|
|
|
645
645
|
- Tasks you can complete faster than explaining to an agent
|
|
646
646
|
`;
|
|
647
647
|
|
|
648
|
-
// node_modules/zod/v3/external.js
|
|
648
|
+
// node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/external.js
|
|
649
649
|
var exports_external = {};
|
|
650
650
|
__export(exports_external, {
|
|
651
651
|
void: () => voidType,
|
|
@@ -757,7 +757,7 @@ __export(exports_external, {
|
|
|
757
757
|
BRAND: () => BRAND
|
|
758
758
|
});
|
|
759
759
|
|
|
760
|
-
// node_modules/zod/v3/helpers/util.js
|
|
760
|
+
// node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/util.js
|
|
761
761
|
var util;
|
|
762
762
|
(function(util2) {
|
|
763
763
|
util2.assertEqual = (_) => {};
|
|
@@ -888,7 +888,7 @@ var getParsedType = (data) => {
|
|
|
888
888
|
}
|
|
889
889
|
};
|
|
890
890
|
|
|
891
|
-
// node_modules/zod/v3/ZodError.js
|
|
891
|
+
// node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/ZodError.js
|
|
892
892
|
var ZodIssueCode = util.arrayToEnum([
|
|
893
893
|
"invalid_type",
|
|
894
894
|
"invalid_literal",
|
|
@@ -1007,7 +1007,7 @@ ZodError.create = (issues) => {
|
|
|
1007
1007
|
return error;
|
|
1008
1008
|
};
|
|
1009
1009
|
|
|
1010
|
-
// node_modules/zod/v3/locales/en.js
|
|
1010
|
+
// node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/locales/en.js
|
|
1011
1011
|
var errorMap = (issue, _ctx) => {
|
|
1012
1012
|
let message;
|
|
1013
1013
|
switch (issue.code) {
|
|
@@ -1110,7 +1110,7 @@ var errorMap = (issue, _ctx) => {
|
|
|
1110
1110
|
};
|
|
1111
1111
|
var en_default = errorMap;
|
|
1112
1112
|
|
|
1113
|
-
// node_modules/zod/v3/errors.js
|
|
1113
|
+
// node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/errors.js
|
|
1114
1114
|
var overrideErrorMap = en_default;
|
|
1115
1115
|
function setErrorMap(map) {
|
|
1116
1116
|
overrideErrorMap = map;
|
|
@@ -1118,7 +1118,7 @@ function setErrorMap(map) {
|
|
|
1118
1118
|
function getErrorMap() {
|
|
1119
1119
|
return overrideErrorMap;
|
|
1120
1120
|
}
|
|
1121
|
-
// node_modules/zod/v3/helpers/parseUtil.js
|
|
1121
|
+
// node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/parseUtil.js
|
|
1122
1122
|
var makeIssue = (params) => {
|
|
1123
1123
|
const { data, path, errorMaps, issueData } = params;
|
|
1124
1124
|
const fullPath = [...path, ...issueData.path || []];
|
|
@@ -1224,14 +1224,14 @@ var isAborted = (x) => x.status === "aborted";
|
|
|
1224
1224
|
var isDirty = (x) => x.status === "dirty";
|
|
1225
1225
|
var isValid = (x) => x.status === "valid";
|
|
1226
1226
|
var isAsync = (x) => typeof Promise !== "undefined" && x instanceof Promise;
|
|
1227
|
-
// node_modules/zod/v3/helpers/errorUtil.js
|
|
1227
|
+
// node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/errorUtil.js
|
|
1228
1228
|
var errorUtil;
|
|
1229
1229
|
(function(errorUtil2) {
|
|
1230
1230
|
errorUtil2.errToObj = (message) => typeof message === "string" ? { message } : message || {};
|
|
1231
1231
|
errorUtil2.toString = (message) => typeof message === "string" ? message : message?.message;
|
|
1232
1232
|
})(errorUtil || (errorUtil = {}));
|
|
1233
1233
|
|
|
1234
|
-
// node_modules/zod/v3/types.js
|
|
1234
|
+
// node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.js
|
|
1235
1235
|
class ParseInputLazyPath {
|
|
1236
1236
|
constructor(parent, value, path, key) {
|
|
1237
1237
|
this._cachedPath = [];
|
|
@@ -4708,21 +4708,24 @@ var exa = {
|
|
|
4708
4708
|
"mcp-remote",
|
|
4709
4709
|
"https://mcp.exa.ai/mcp?tools=web_search_exa,get_code_context_exa,crawling_exa"
|
|
4710
4710
|
],
|
|
4711
|
-
enabled: true
|
|
4711
|
+
enabled: true,
|
|
4712
|
+
timeout: 1e4
|
|
4712
4713
|
};
|
|
4713
4714
|
|
|
4714
4715
|
// src/mcp/grep-app.ts
|
|
4715
4716
|
var grep_app = {
|
|
4716
4717
|
type: "remote",
|
|
4717
4718
|
url: "https://mcp.grep.app",
|
|
4718
|
-
enabled: true
|
|
4719
|
+
enabled: true,
|
|
4720
|
+
timeout: 1e4
|
|
4719
4721
|
};
|
|
4720
4722
|
|
|
4721
4723
|
// src/mcp/sequential-thinking.ts
|
|
4722
4724
|
var sequentialThinking = {
|
|
4723
4725
|
type: "local",
|
|
4724
4726
|
command: ["npx", "-y", "@modelcontextprotocol/server-sequential-thinking"],
|
|
4725
|
-
enabled: true
|
|
4727
|
+
enabled: true,
|
|
4728
|
+
timeout: 1e4
|
|
4726
4729
|
};
|
|
4727
4730
|
|
|
4728
4731
|
// src/mcp/index.ts
|
package/dist/mcp/types.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export interface LocalMcpServerConfig {
|
|
|
11
11
|
type: "local";
|
|
12
12
|
command: string[];
|
|
13
13
|
enabled: boolean;
|
|
14
|
+
timeout?: number;
|
|
14
15
|
}
|
|
15
16
|
/**
|
|
16
17
|
* Remote MCP server configuration (connects to URL)
|
|
@@ -19,6 +20,7 @@ export interface RemoteMcpServerConfig {
|
|
|
19
20
|
type: "remote";
|
|
20
21
|
url: string;
|
|
21
22
|
enabled: boolean;
|
|
23
|
+
timeout?: number;
|
|
22
24
|
}
|
|
23
25
|
/**
|
|
24
26
|
* Union type for all MCP server configurations
|
package/package.json
CHANGED