@assemblyline-agents/xai 5.0.10 → 6.0.0
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/README.md +2 -2
- package/ai.assemblyline/connections/xai.json +40 -0
- package/ai.assemblyline/index.cjs +9 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +5 -3
- package/plugin.json +11 -0
package/README.md
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Official Assembly Line xAI connection plugin.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
The selected plugin exposes xAI's reviewed MCP tools.
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
9
9
|
```sh
|
|
10
|
-
|
|
10
|
+
assembly-line add xai agent
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Part of Assembly Line
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"kind": "xai",
|
|
3
|
+
"role": "connection",
|
|
4
|
+
"packageName": "@assemblyline-agents/xai",
|
|
5
|
+
"helper": "defineXaiConnection",
|
|
6
|
+
"protocol": "mcp",
|
|
7
|
+
"transport": "http",
|
|
8
|
+
"provider": "xai",
|
|
9
|
+
"description": "xAI and X search tools through a developer-configured MCP server.",
|
|
10
|
+
"urlEnv": "XAI_MCP_URL",
|
|
11
|
+
"tokenEnv": "XAI_MCP_TOKEN",
|
|
12
|
+
"tokenRequired": true,
|
|
13
|
+
"capabilities": [
|
|
14
|
+
"mcp",
|
|
15
|
+
"live-tools",
|
|
16
|
+
"streamable-http"
|
|
17
|
+
],
|
|
18
|
+
"scopes": [],
|
|
19
|
+
"subject": "workspace",
|
|
20
|
+
"readToolPatterns": [
|
|
21
|
+
"regex:(^|[-_])(search|read|list|fetch|get|retrieve|query|lookup|find|describe|details?|discover)([-_]|$)"
|
|
22
|
+
],
|
|
23
|
+
"writeToolPatterns": [],
|
|
24
|
+
"setup": [
|
|
25
|
+
{
|
|
26
|
+
"kind": "connection",
|
|
27
|
+
"name": "xai-developer-configuration",
|
|
28
|
+
"required": true,
|
|
29
|
+
"message": "Configure xAI credentials, OAuth application, or MCP bridge for this deployment."
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"requiredConfig": [
|
|
33
|
+
"XAI_MCP_URL"
|
|
34
|
+
],
|
|
35
|
+
"optionalConfig": [],
|
|
36
|
+
"requiredCredentials": [
|
|
37
|
+
"XAI_MCP_TOKEN"
|
|
38
|
+
],
|
|
39
|
+
"optionalCredentials": []
|
|
40
|
+
}
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAA2C,KAAK,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAErH,MAAM,MAAM,oBAAoB,GAAG,0BAA0B,CAAC;AAC9D,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,oBAAoB,0IAAwD;AACzH,eAAO,MAAM,kBAAkB,kDAA0C,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import connectionContract_xai from "../ai.assemblyline/connections/xai.json" with { type: "json" };
|
|
2
|
+
import { defineMcpPluginConnection, definePlugin } from "@assemblyline-agents/core";
|
|
3
|
+
const PLUGIN = connectionContract_xai;
|
|
3
4
|
export function defineXaiConnection(options) { return defineMcpPluginConnection(PLUGIN, options); }
|
|
4
5
|
export const assemblyLinePlugin = definePlugin({ connections: [PLUGIN] });
|
|
5
6
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,sBAAsB,MAAM,yCAAyC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACnG,OAAO,EAAE,yBAAyB,EAAE,YAAY,EAAmC,MAAM,2BAA2B,CAAC;AACrH,MAAM,MAAM,GAAG,sBAA6D,CAAC;AAE7E,MAAM,UAAU,mBAAmB,CAAC,OAA6B,IAAI,OAAO,yBAAyB,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;AACzH,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/xai",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -9,11 +9,13 @@
|
|
|
9
9
|
}
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@assemblyline-agents/core": "
|
|
12
|
+
"@assemblyline-agents/core": "6.0.0"
|
|
13
13
|
},
|
|
14
14
|
"description": "Official Assembly Line xAI connection plugin.",
|
|
15
15
|
"files": [
|
|
16
|
-
"dist"
|
|
16
|
+
"dist",
|
|
17
|
+
"plugin.json",
|
|
18
|
+
"ai.assemblyline"
|
|
17
19
|
],
|
|
18
20
|
"engines": {
|
|
19
21
|
"node": ">=22.19.0"
|
package/plugin.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
|
+
"name": "xai",
|
|
4
|
+
"version": "6.0.0",
|
|
5
|
+
"description": "Official Assembly Line xAI connection plugin.",
|
|
6
|
+
"extensions": {
|
|
7
|
+
"ai.assemblyline": {
|
|
8
|
+
"entry": "./ai.assemblyline/index.cjs"
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|