@minded-ai/mindedjs 1.0.46 → 1.0.48
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/cli/index.js +0 -0
- package/dist/platform/config.d.ts.map +1 -1
- package/dist/platform/config.js +7 -0
- package/dist/platform/config.js.map +1 -1
- package/dist/types/Platform.types.d.ts +1 -1
- package/dist/types/Platform.types.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/platform/config.ts +7 -0
- package/src/platform/mindedConnection.ts +1 -0
- package/src/types/Platform.types.ts +1 -1
package/dist/cli/index.js
CHANGED
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/platform/config.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAGtD,KAAK,YAAY,GAAG;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,WAAW,CAAC;IACjB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,SAAS,QAAO,
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/platform/config.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAGtD,KAAK,YAAY,GAAG;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,WAAW,CAAC;IACjB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,SAAS,QAAO,YAuC5B,CAAC"}
|
package/dist/platform/config.js
CHANGED
|
@@ -21,6 +21,13 @@ const getConfig = () => {
|
|
|
21
21
|
token: process.env.MINDED_CONNECTION_TOKEN || '',
|
|
22
22
|
runLocally: process.env.RUN_LOCALLY === 'true',
|
|
23
23
|
};
|
|
24
|
+
case 'sandbox-staging':
|
|
25
|
+
return {
|
|
26
|
+
baseUrl: 'https://dashboard-api.dev.minded.com',
|
|
27
|
+
env: 'sandbox-staging',
|
|
28
|
+
token: process.env.MINDED_CONNECTION_TOKEN || '',
|
|
29
|
+
runLocally: false,
|
|
30
|
+
};
|
|
24
31
|
case 'sandbox':
|
|
25
32
|
return {
|
|
26
33
|
baseUrl: 'https://dashboard-api.minded.com',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/platform/config.ts"],"names":[],"mappings":";;;AAAA,+BAA+B;AAC/B,mCAAgC;AAEhC,IAAA,eAAM,EAAC,EAAE,IAAI,EAAE,IAAA,cAAO,EAAC,SAAS,EAAE,YAAY,CAAC,EAAE,CAAC,CAAC;AAS5C,MAAM,SAAS,GAAG,GAAiB,EAAE;IAC1C,MAAM,WAAW,GAAI,OAAO,CAAC,GAAG,CAAC,QAAwB,IAAI,SAAS,CAAC;IACvE,QAAQ,WAAW,EAAE,CAAC;QACpB,KAAK,MAAM;YACT,OAAO;gBACL,OAAO,EAAE,uBAAuB;gBAChC,GAAG,EAAE,MAAM;gBACX,KAAK,EAAE,OAAO,CAAC,GAAG,CAAC,uBAAuB,IAAI,EAAE;gBAChD,UAAU,EAAE,OAAO,CAAC,GAAG,CAAC,WAAW,KAAK,OAAO;aAChD,CAAC;QACJ,KAAK,aAAa;YAChB,OAAO;gBACL,OAAO,EAAE,uBAAuB;gBAChC,GAAG,EAAE,aAAa;gBAClB,KAAK,EAAE,OAAO,CAAC,GAAG,CAAC,uBAAuB,IAAI,EAAE;gBAChD,UAAU,EAAE,OAAO,CAAC,GAAG,CAAC,WAAW,KAAK,MAAM;aAC/C,CAAC;QACJ,KAAK,SAAS;YACZ,OAAO;gBACL,OAAO,EAAE,kCAAkC;gBAC3C,GAAG,EAAE,SAAS;gBACd,KAAK,EAAE,OAAO,CAAC,GAAG,CAAC,uBAAuB,I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CAAC;QACJ,KAAK,SAAS;YACZ,OAAO;gBACL,OAAO,EAAE,kCAAkC;gBAC3C,GAAG,EAAE,SAAS;gBACd,KAAK,EAAE,OAAO,CAAC,GAAG,CAAC,uBAAuB,IAAI,EAAE;gBAChD,UAAU,EAAE,KAAK;aAClB,CAAC;QACJ,KAAK,YAAY;YACf,OAAO;gBACL,OAAO,EAAE,wBAAwB;gBACjC,GAAG,EAAE,YAAY;gBACjB,KAAK,EAAE,OAAO,CAAC,GAAG,CAAC,uBAAuB,IAAI,EAAE;gBAChD,UAAU,EAAE,KAAK;aAClB,CAAC;IACN,CAAC;AACH,CAAC,CAAC;AAvCW,QAAA,SAAS,aAuCpB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type Environment = 'development' | 'sandbox' | 'production' | 'test';
|
|
1
|
+
export type Environment = 'development' | 'sandbox' | 'production' | 'test' | 'sandbox-staging';
|
|
2
2
|
//# sourceMappingURL=Platform.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Platform.types.d.ts","sourceRoot":"","sources":["../../src/types/Platform.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,aAAa,GAAG,SAAS,GAAG,YAAY,GAAG,MAAM,CAAC"}
|
|
1
|
+
{"version":3,"file":"Platform.types.d.ts","sourceRoot":"","sources":["../../src/types/Platform.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,aAAa,GAAG,SAAS,GAAG,YAAY,GAAG,MAAM,GAAG,iBAAiB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@minded-ai/mindedjs",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.48",
|
|
4
4
|
"description": "MindedJS is a TypeScript library for building agents.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -53,4 +53,4 @@
|
|
|
53
53
|
"uuid": "^11.1.0",
|
|
54
54
|
"zod": "^3.24.4"
|
|
55
55
|
}
|
|
56
|
-
}
|
|
56
|
+
}
|
package/src/platform/config.ts
CHANGED
|
@@ -27,6 +27,13 @@ export const getConfig = (): MindedConfig => {
|
|
|
27
27
|
token: process.env.MINDED_CONNECTION_TOKEN || '',
|
|
28
28
|
runLocally: process.env.RUN_LOCALLY === 'true',
|
|
29
29
|
};
|
|
30
|
+
case 'sandbox-staging':
|
|
31
|
+
return {
|
|
32
|
+
baseUrl: 'https://dashboard-api.dev.minded.com',
|
|
33
|
+
env: 'sandbox-staging',
|
|
34
|
+
token: process.env.MINDED_CONNECTION_TOKEN || '',
|
|
35
|
+
runLocally: false,
|
|
36
|
+
};
|
|
30
37
|
case 'sandbox':
|
|
31
38
|
return {
|
|
32
39
|
baseUrl: 'https://dashboard-api.minded.com',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type Environment = 'development' | 'sandbox' | 'production' | 'test';
|
|
1
|
+
export type Environment = 'development' | 'sandbox' | 'production' | 'test' | 'sandbox-staging';
|