@kaddo/cli 3.88.0 → 3.88.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.
@@ -5,7 +5,7 @@
5
5
  <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <title>admin</title>
8
- <script type="module" crossorigin src="/assets/index-D6yaYj2M.js"></script>
8
+ <script type="module" crossorigin src="/assets/index-CoK1pkwA.js"></script>
9
9
  <link rel="stylesheet" crossorigin href="/assets/index-DNkI-1xG.css">
10
10
  </head>
11
11
  <body>
package/dist/core.js CHANGED
@@ -10151,6 +10151,7 @@ async function jiraFetch(baseUrl, path4, auth, timeoutMs, params) {
10151
10151
  if (res.status === 401) throw integrationError("INTEGRATION_UNAUTHORIZED");
10152
10152
  if (res.status === 403) throw integrationError("INTEGRATION_FORBIDDEN");
10153
10153
  if (res.status === 404) throw integrationError("INTEGRATION_NOT_FOUND");
10154
+ if (res.status === 410) throw integrationError("INTEGRATION_UNAVAILABLE", "Jira API endpoint deprecated (410 Gone).");
10154
10155
  if (res.status === 429) throw integrationError("INTEGRATION_RATE_LIMITED");
10155
10156
  if (res.status >= 500) throw integrationError("INTEGRATION_UNAVAILABLE");
10156
10157
  if (!res.ok) throw integrationError("INTEGRATION_PROVIDER_ERROR", `Jira responded with status ${res.status}.`);
@@ -10275,7 +10276,7 @@ function createJiraAdapter() {
10275
10276
  const pageSize = Math.min(Math.max(1, request.pageSize ?? DEFAULT_PAGE_SIZE), 100);
10276
10277
  const startAt = request.cursor ? Math.max(0, Number.parseInt(request.cursor, 10) || 0) : 0;
10277
10278
  try {
10278
- const data = await jiraFetch(baseUrl, "/rest/api/3/search", auth, request.context.timeoutMs, {
10279
+ const data = await jiraFetch(baseUrl, "/rest/api/3/search/jql", auth, request.context.timeoutMs, {
10279
10280
  jql: jql.startsWith("ORDER BY") ? jql : jql + " ORDER BY updated DESC",
10280
10281
  startAt: String(startAt),
10281
10282
  maxResults: String(pageSize),
package/dist/index.js CHANGED
@@ -18227,6 +18227,7 @@ async function jiraFetch(baseUrl, path11, auth, timeoutMs, params) {
18227
18227
  if (res.status === 401) throw integrationError("INTEGRATION_UNAUTHORIZED");
18228
18228
  if (res.status === 403) throw integrationError("INTEGRATION_FORBIDDEN");
18229
18229
  if (res.status === 404) throw integrationError("INTEGRATION_NOT_FOUND");
18230
+ if (res.status === 410) throw integrationError("INTEGRATION_UNAVAILABLE", "Jira API endpoint deprecated (410 Gone).");
18230
18231
  if (res.status === 429) throw integrationError("INTEGRATION_RATE_LIMITED");
18231
18232
  if (res.status >= 500) throw integrationError("INTEGRATION_UNAVAILABLE");
18232
18233
  if (!res.ok) throw integrationError("INTEGRATION_PROVIDER_ERROR", `Jira responded with status ${res.status}.`);
@@ -18351,7 +18352,7 @@ function createJiraAdapter() {
18351
18352
  const pageSize = Math.min(Math.max(1, request.pageSize ?? DEFAULT_PAGE_SIZE), 100);
18352
18353
  const startAt = request.cursor ? Math.max(0, Number.parseInt(request.cursor, 10) || 0) : 0;
18353
18354
  try {
18354
- const data = await jiraFetch(baseUrl, "/rest/api/3/search", auth, request.context.timeoutMs, {
18355
+ const data = await jiraFetch(baseUrl, "/rest/api/3/search/jql", auth, request.context.timeoutMs, {
18355
18356
  jql: jql.startsWith("ORDER BY") ? jql : jql + " ORDER BY updated DESC",
18356
18357
  startAt: String(startAt),
18357
18358
  maxResults: String(pageSize),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kaddo/cli",
3
- "version": "3.88.0",
3
+ "version": "3.88.2",
4
4
  "description": "Knowledge Driven Development toolkit",
5
5
  "license": "MIT",
6
6
  "repository": {