@assemblyline-agents/jira 5.0.9 → 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 CHANGED
@@ -2,12 +2,12 @@
2
2
 
3
3
  Official Assembly Line Jira connection plugin.
4
4
 
5
- It connects agents to Jira, exposing issue-tracking and project tools through Atlassian's MCP server. The package exports `defineJiraConnection(options)` to declare the connection in an agent definition and an `assemblyLinePlugin` module so the Assembly Line CLI and compiler can discover the plugin's connection metadata.
5
+ The selected plugin exposes reviewed Jira issue and project tools through Atlassian's MCP server.
6
6
 
7
7
  ## Install
8
8
 
9
9
  ```sh
10
- npm install @assemblyline-agents/jira
10
+ assembly-line add jira agent
11
11
  ```
12
12
 
13
13
  ## Part of Assembly Line
@@ -0,0 +1,61 @@
1
+ {
2
+ "kind": "jira",
3
+ "role": "connection",
4
+ "packageName": "@assemblyline-agents/jira",
5
+ "helper": "defineJiraConnection",
6
+ "protocol": "mcp",
7
+ "transport": "http",
8
+ "provider": "jira",
9
+ "description": "Jira issues, projects, transitions, and JQL search through Atlassian MCP.",
10
+ "defaultUrl": "https://mcp.atlassian.com/v1/mcp/authv2",
11
+ "urlEnv": "JIRA_MCP_URL",
12
+ "tokenEnv": "JIRA_MCP_TOKEN",
13
+ "tokenRequired": true,
14
+ "capabilities": [
15
+ "mcp",
16
+ "live-tools",
17
+ "streamable-http"
18
+ ],
19
+ "scopes": [],
20
+ "subject": "workspace",
21
+ "readToolPatterns": [
22
+ "regex:(^|[-_])(search|read|list|fetch|get|retrieve|query|lookup|find|describe|details?|discover)([-_]|$)"
23
+ ],
24
+ "writeToolPatterns": [
25
+ "regex:(^|[-_])(add|append|archive|assign|book|buy|cancel|checkout|close|complete|create|delete|draft|duplicate|edit|execute|insert|invite|kick|link|merge|modify|move|mutate|open|pay|post|publish|purchase|push|react|reaction|remove|rename|reply|reserve|resolve|reopen|run|schedule|send|set|share|submit|transfer|transition|unassign|unlink|update|upload|write)([-_]|$)"
26
+ ],
27
+ "eventCatalog": [
28
+ "jira:issue_created",
29
+ "jira:issue_updated",
30
+ "jira:issue_deleted",
31
+ "comment_created",
32
+ "comment_updated",
33
+ "comment_deleted",
34
+ "issue_property_set",
35
+ "issue_property_deleted"
36
+ ],
37
+ "defaultEvents": [
38
+ "jira:issue_created",
39
+ "jira:issue_updated",
40
+ "comment_created",
41
+ "comment_updated"
42
+ ],
43
+ "eventMode": "api",
44
+ "eventScope": "principal",
45
+ "setup": [
46
+ {
47
+ "kind": "connection",
48
+ "name": "jira-developer-configuration",
49
+ "required": true,
50
+ "message": "Configure Jira credentials, OAuth application, or MCP bridge for this deployment."
51
+ }
52
+ ],
53
+ "requiredConfig": [],
54
+ "optionalConfig": [
55
+ "JIRA_MCP_URL"
56
+ ],
57
+ "requiredCredentials": [
58
+ "JIRA_MCP_TOKEN"
59
+ ],
60
+ "optionalCredentials": []
61
+ }
@@ -0,0 +1,9 @@
1
+ module.exports = {
2
+ "connections": {
3
+ "jira": {
4
+ "contract": "./ai.assemblyline/connections/jira.json",
5
+ "definition": "@assemblyline-agents/jira",
6
+ "factory": "defineJiraConnection"
7
+ }
8
+ }
9
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmG,KAAK,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAG7K,MAAM,MAAM,qBAAqB,GAAG,0BAA0B,CAAC;AAC/D,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,qBAAqB,0IAAgN;AACnR,eAAO,MAAM,kBAAkB,kDAA0C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAyE,KAAK,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAGnJ,MAAM,MAAM,qBAAqB,GAAG,0BAA0B,CAAC;AAC/D,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,qBAAqB,0IAAgN;AACnR,eAAO,MAAM,kBAAkB,kDAA0C,CAAC"}
package/dist/index.js CHANGED
@@ -1,6 +1,7 @@
1
- import { connectionPluginMetadata, defineConnectionPluginEvents, defineMcpPluginConnection, definePlugin } from "@assemblyline-agents/core";
1
+ import connectionContract_jira from "../ai.assemblyline/connections/jira.json" with { type: "json" };
2
+ import { defineConnectionPluginEvents, defineMcpPluginConnection, definePlugin } from "@assemblyline-agents/core";
2
3
  import { jiraEvents } from "./events.js";
3
- const PLUGIN = connectionPluginMetadata("jira");
4
+ const PLUGIN = connectionContract_jira;
4
5
  export function defineJiraConnection(options) { const definition = defineMcpPluginConnection(PLUGIN, options); const events = defineConnectionPluginEvents(PLUGIN, options.events, jiraEvents); if (events)
5
6
  definition.events = events; return definition; }
6
7
  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,wBAAwB,EAAE,4BAA4B,EAAE,yBAAyB,EAAE,YAAY,EAAmC,MAAM,2BAA2B,CAAC;AAC7K,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,MAAM,MAAM,GAAG,wBAAwB,CAAC,MAAM,CAAE,CAAC;AAEjD,MAAM,UAAU,oBAAoB,CAAC,OAA8B,IAAI,MAAM,UAAU,GAAG,yBAAyB,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,MAAM,MAAM,GAAG,4BAA4B,CAAC,MAAM,EAAE,OAAO,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC,IAAI,MAAM;IAAE,UAAU,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC,OAAO,UAAU,CAAC,CAAC,CAAC;AACnR,MAAM,CAAC,MAAM,kBAAkB,GAAG,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,uBAAuB,MAAM,0CAA0C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACrG,OAAO,EAAE,4BAA4B,EAAE,yBAAyB,EAAE,YAAY,EAAmC,MAAM,2BAA2B,CAAC;AACnJ,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,MAAM,MAAM,GAAG,uBAA8D,CAAC;AAE9E,MAAM,UAAU,oBAAoB,CAAC,OAA8B,IAAI,MAAM,UAAU,GAAG,yBAAyB,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,MAAM,MAAM,GAAG,4BAA4B,CAAC,MAAM,EAAE,OAAO,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC,IAAI,MAAM;IAAE,UAAU,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC,OAAO,UAAU,CAAC,CAAC,CAAC;AACnR,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/jira",
3
- "version": "5.0.9",
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": "5.0.9"
12
+ "@assemblyline-agents/core": "6.0.0"
13
13
  },
14
14
  "description": "Official Assembly Line Jira 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": "jira",
4
+ "version": "6.0.0",
5
+ "description": "Official Assembly Line Jira connection plugin.",
6
+ "extensions": {
7
+ "ai.assemblyline": {
8
+ "entry": "./ai.assemblyline/index.cjs"
9
+ }
10
+ }
11
+ }