@assemblyline-agents/orgo 4.0.1 → 4.0.2
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.d.ts.map +1 -1
- package/dist/index.js +5 -8
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAIL,KAAK,+BAA+B,EACrC,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAIL,KAAK,+BAA+B,EACrC,MAAM,2BAA2B,CAAC;AAKnC,MAAM,WAAW,qBAAsB,SAAQ,+BAA+B;IAC5E,mEAAmE;IACnE,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,qBAAqB,0EAWlE;AAED,eAAO,MAAM,kBAAkB,kDAA0C,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -2,19 +2,16 @@ import { fileURLToPath } from "node:url";
|
|
|
2
2
|
import { connectionPluginMetadata, definePlugin, defineStdioMcpPluginConnection } from "@assemblyline-agents/core";
|
|
3
3
|
const PLUGIN = connectionPluginMetadata("orgo");
|
|
4
4
|
const MCP_SERVER_PATH = fileURLToPath(new URL("./mcp-server.js", import.meta.url));
|
|
5
|
-
const DEFAULT_API_BASE_URL = "https://www.orgo.ai/api";
|
|
6
5
|
export function defineOrgoConnection(options) {
|
|
7
|
-
const { apiBaseUrl
|
|
8
|
-
const
|
|
9
|
-
|
|
6
|
+
const { apiBaseUrl, ...connection } = options;
|
|
7
|
+
const serverArgs = apiBaseUrl
|
|
8
|
+
? [MCP_SERVER_PATH, "--base-url", apiBaseUrl]
|
|
9
|
+
: [MCP_SERVER_PATH];
|
|
10
10
|
return defineStdioMcpPluginConnection(PLUGIN, {
|
|
11
11
|
...connection,
|
|
12
12
|
command: connection.command ?? process.execPath,
|
|
13
13
|
args: connection.args ?? serverArgs,
|
|
14
|
-
env: {
|
|
15
|
-
...(apiKey ? { ORGO_API_KEY: apiKey } : {}),
|
|
16
|
-
...(connection.env ?? {})
|
|
17
|
-
}
|
|
14
|
+
...(connection.env ? { env: connection.env } : {})
|
|
18
15
|
});
|
|
19
16
|
}
|
|
20
17
|
export const assemblyLinePlugin = definePlugin({ connections: [PLUGIN] });
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EACL,wBAAwB,EACxB,YAAY,EACZ,8BAA8B,EAE/B,MAAM,2BAA2B,CAAC;AAEnC,MAAM,MAAM,GAAG,wBAAwB,CAAC,MAAM,CAAE,CAAC;AACjD,MAAM,eAAe,GAAG,aAAa,CAAC,IAAI,GAAG,CAAC,iBAAiB,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EACL,wBAAwB,EACxB,YAAY,EACZ,8BAA8B,EAE/B,MAAM,2BAA2B,CAAC;AAEnC,MAAM,MAAM,GAAG,wBAAwB,CAAC,MAAM,CAAE,CAAC;AACjD,MAAM,eAAe,GAAG,aAAa,CAAC,IAAI,GAAG,CAAC,iBAAiB,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AAOnF,MAAM,UAAU,oBAAoB,CAAC,OAA8B;IACjE,MAAM,EAAE,UAAU,EAAE,GAAG,UAAU,EAAE,GAAG,OAAO,CAAC;IAC9C,MAAM,UAAU,GAAG,UAAU;QAC3B,CAAC,CAAC,CAAC,eAAe,EAAE,YAAY,EAAE,UAAU,CAAC;QAC7C,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC;IACtB,OAAO,8BAA8B,CAAC,MAAM,EAAE;QAC5C,GAAG,UAAU;QACb,OAAO,EAAE,UAAU,CAAC,OAAO,IAAI,OAAO,CAAC,QAAQ;QAC/C,IAAI,EAAE,UAAU,CAAC,IAAI,IAAI,UAAU;QACnC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,UAAU,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;KACnD,CAAC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,MAAM,kBAAkB,GAAG,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@assemblyline-agents/orgo",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
13
|
-
"@assemblyline-agents/core": "4.0.
|
|
13
|
+
"@assemblyline-agents/core": "4.0.2"
|
|
14
14
|
},
|
|
15
15
|
"description": "Official Assembly Line Orgo cloud computer-use connection plugin.",
|
|
16
16
|
"files": [
|