@uniswap/ai-toolkit-linear-task-utils 0.0.22-next.0 → 0.0.23-next.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/dist/cli.cjs CHANGED
@@ -7,7 +7,11 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
7
7
  var __getProtoOf = Object.getPrototypeOf;
8
8
  var __hasOwnProp = Object.prototype.hasOwnProperty;
9
9
  var __commonJS = (cb, mod) => function __require() {
10
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
10
+ try {
11
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
12
+ } catch (e) {
13
+ throw mod = 0, e;
14
+ }
11
15
  };
12
16
  var __copyProps = (to, from, except, desc) => {
13
17
  if (from && typeof from === "object" || typeof from === "function") {
@@ -397,7 +401,7 @@ var require_index_cjs_min = __commonJS({
397
401
  const o2 = (null !== (n2 = null === (i2 = null == e2 ? void 0 : e2.response) || void 0 === i2 ? void 0 : i2.errors) && void 0 !== n2 ? n2 : []).map(((e3) => new y(e3))), m2 = null === (a2 = null == e2 ? void 0 : e2.response) || void 0 === a2 ? void 0 : a2.status, r2 = null !== (d2 = null === (t2 = o2[0]) || void 0 === t2 ? void 0 : t2.type) && void 0 !== d2 ? d2 : 403 === m2 ? exports2.LinearErrorType.Forbidden : 429 === m2 ? exports2.LinearErrorType.Ratelimited : `${m2}`.startsWith("4") ? exports2.LinearErrorType.AuthenticationError : 500 === m2 ? exports2.LinearErrorType.InternalError : `${m2}`.startsWith("5") ? exports2.LinearErrorType.NetworkError : exports2.LinearErrorType.Unknown;
398
402
  return new (null !== (l2 = j[r2]) && void 0 !== l2 ? l2 : b)(e2, o2);
399
403
  }
400
- var U = "function" == typeof Symbol && "function" == typeof Symbol.for ? Symbol.for("nodejs.util.inspect.custom") : void 0;
404
+ var U = "function" == typeof Symbol && "function" == typeof Symbol.for ? /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom") : void 0;
401
405
  function B(e2) {
402
406
  return B = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e3) {
403
407
  return typeof e3;
@@ -794,7 +798,7 @@ var require_index_cjs_min = __commonJS({
794
798
  e2.exports.mixin = function(e3, i2) {
795
799
  const n2 = Object.getOwnPropertyNames(i2);
796
800
  for (let a2 = 0; a2 < n2.length; ++a2) Object.defineProperty(e3, n2[a2], Object.getOwnPropertyDescriptor(i2, n2[a2]));
797
- }, e2.exports.wrapperSymbol = Symbol("wrapper"), e2.exports.implSymbol = Symbol("impl"), e2.exports.wrapperForImpl = function(i2) {
801
+ }, e2.exports.wrapperSymbol = /* @__PURE__ */ Symbol("wrapper"), e2.exports.implSymbol = /* @__PURE__ */ Symbol("impl"), e2.exports.wrapperForImpl = function(i2) {
798
802
  return i2[e2.exports.wrapperSymbol];
799
803
  }, e2.exports.implForWrapper = function(i2) {
800
804
  return i2[e2.exports.implSymbol];
@@ -992,7 +996,7 @@ var require_index_cjs_min = __commonJS({
992
996
  return { domain: n2.string, error: n2.error };
993
997
  }, PROCESSING_OPTIONS: Te };
994
998
  var Ue = te((function(e2) {
995
- const i2 = { ftp: 21, file: null, gopher: 70, http: 80, https: 443, ws: 80, wss: 443 }, n2 = Symbol("failure");
999
+ const i2 = { ftp: 21, file: null, gopher: 70, http: 80, https: 443, ws: 80, wss: 443 }, n2 = /* @__PURE__ */ Symbol("failure");
996
1000
  function a2(e3) {
997
1001
  return _e.ucs2.decode(e3).length;
998
1002
  }
@@ -1515,8 +1519,8 @@ var require_index_cjs_min = __commonJS({
1515
1519
  }));
1516
1520
  var Ee = { URL: Re.interface, serializeURL: Ue.serializeURL, serializeURLOrigin: Ue.serializeURLOrigin, basicURLParse: Ue.basicURLParse, setTheUsername: Ue.setTheUsername, setThePassword: Ue.setThePassword, serializeHost: Ue.serializeHost, serializeInteger: Ue.serializeInteger, parseURL: Ue.parseURL };
1517
1521
  var Me = m.default.Readable;
1518
- var Le = Symbol("buffer");
1519
- var ze = Symbol("type");
1522
+ var Le = /* @__PURE__ */ Symbol("buffer");
1523
+ var ze = /* @__PURE__ */ Symbol("type");
1520
1524
  var He = class _He {
1521
1525
  constructor() {
1522
1526
  this[ze] = "";
@@ -1572,7 +1576,7 @@ var require_index_cjs_min = __commonJS({
1572
1576
  Qe = require("encoding").convert;
1573
1577
  } catch (e2) {
1574
1578
  }
1575
- var We = Symbol("Body internals");
1579
+ var We = /* @__PURE__ */ Symbol("Body internals");
1576
1580
  var Je = m.default.PassThrough;
1577
1581
  function Ke(e2) {
1578
1582
  var i2 = this, n2 = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, a2 = n2.size;
@@ -1695,7 +1699,7 @@ var require_index_cjs_min = __commonJS({
1695
1699
  i2 = i2.toLowerCase();
1696
1700
  for (const n2 in e2) if (n2.toLowerCase() === i2) return n2;
1697
1701
  }
1698
- var oi = Symbol("map");
1702
+ var oi = /* @__PURE__ */ Symbol("map");
1699
1703
  var mi = class _mi {
1700
1704
  constructor() {
1701
1705
  let e2 = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : void 0;
@@ -1780,7 +1784,7 @@ var require_index_cjs_min = __commonJS({
1780
1784
  });
1781
1785
  }
1782
1786
  mi.prototype.entries = mi.prototype[Symbol.iterator], Object.defineProperty(mi.prototype, Symbol.toStringTag, { value: "Headers", writable: false, enumerable: false, configurable: true }), Object.defineProperties(mi.prototype, { get: { enumerable: true }, forEach: { enumerable: true }, set: { enumerable: true }, append: { enumerable: true }, has: { enumerable: true }, delete: { enumerable: true }, keys: { enumerable: true }, values: { enumerable: true }, entries: { enumerable: true } });
1783
- var si = Symbol("internal");
1787
+ var si = /* @__PURE__ */ Symbol("internal");
1784
1788
  function ui(e2, i2) {
1785
1789
  const n2 = Object.create(ki);
1786
1790
  return n2[si] = { target: e2, kind: i2, index: 0 }, n2;
@@ -1796,7 +1800,7 @@ var require_index_cjs_min = __commonJS({
1796
1800
  return void 0 !== n2 && (i2[n2] = i2[n2][0]), i2;
1797
1801
  }
1798
1802
  Object.defineProperty(ki, Symbol.toStringTag, { value: "HeadersIterator", writable: false, enumerable: false, configurable: true });
1799
- var ci = Symbol("Response internals");
1803
+ var ci = /* @__PURE__ */ Symbol("Response internals");
1800
1804
  var vi = r.default.STATUS_CODES;
1801
1805
  var Ni = class _Ni {
1802
1806
  constructor() {
@@ -1832,7 +1836,7 @@ var require_index_cjs_min = __commonJS({
1832
1836
  }
1833
1837
  };
1834
1838
  Ke.mixIn(Ni.prototype), Object.defineProperties(Ni.prototype, { url: { enumerable: true }, status: { enumerable: true }, ok: { enumerable: true }, redirected: { enumerable: true }, statusText: { enumerable: true }, headers: { enumerable: true }, clone: { enumerable: true } }), Object.defineProperty(Ni.prototype, Symbol.toStringTag, { value: "Response", writable: false, enumerable: false, configurable: true });
1835
- var hi = Symbol("Request internals");
1839
+ var hi = /* @__PURE__ */ Symbol("Request internals");
1836
1840
  var fi = s.default.URL || Ee.URL;
1837
1841
  var Si = s.default.parse;
1838
1842
  var yi = s.default.format;
@@ -13213,7 +13217,7 @@ function parseUpdateIssueConfig(args2) {
13213
13217
  }
13214
13218
 
13215
13219
  // packages/linear-task-utils/src/version.ts
13216
- var VERSION = "0.0.21";
13220
+ var VERSION = "0.0.22";
13217
13221
 
13218
13222
  // packages/linear-task-utils/src/cli.ts
13219
13223
  var RED = "\x1B[0;31m";
package/dist/index.cjs CHANGED
@@ -7,7 +7,11 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
7
7
  var __getProtoOf = Object.getPrototypeOf;
8
8
  var __hasOwnProp = Object.prototype.hasOwnProperty;
9
9
  var __commonJS = (cb, mod) => function __require() {
10
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
10
+ try {
11
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
12
+ } catch (e) {
13
+ throw mod = 0, e;
14
+ }
11
15
  };
12
16
  var __export = (target, all) => {
13
17
  for (var name in all)
@@ -180,7 +184,7 @@ var require_index_cjs_min = __commonJS({
180
184
  const o2 = (null !== (n2 = null === (i2 = null == e2 ? void 0 : e2.response) || void 0 === i2 ? void 0 : i2.errors) && void 0 !== n2 ? n2 : []).map(((e3) => new y(e3))), m2 = null === (a2 = null == e2 ? void 0 : e2.response) || void 0 === a2 ? void 0 : a2.status, r2 = null !== (d2 = null === (t2 = o2[0]) || void 0 === t2 ? void 0 : t2.type) && void 0 !== d2 ? d2 : 403 === m2 ? exports2.LinearErrorType.Forbidden : 429 === m2 ? exports2.LinearErrorType.Ratelimited : `${m2}`.startsWith("4") ? exports2.LinearErrorType.AuthenticationError : 500 === m2 ? exports2.LinearErrorType.InternalError : `${m2}`.startsWith("5") ? exports2.LinearErrorType.NetworkError : exports2.LinearErrorType.Unknown;
181
185
  return new (null !== (l2 = j[r2]) && void 0 !== l2 ? l2 : b)(e2, o2);
182
186
  }
183
- var U = "function" == typeof Symbol && "function" == typeof Symbol.for ? Symbol.for("nodejs.util.inspect.custom") : void 0;
187
+ var U = "function" == typeof Symbol && "function" == typeof Symbol.for ? /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom") : void 0;
184
188
  function B(e2) {
185
189
  return B = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e3) {
186
190
  return typeof e3;
@@ -577,7 +581,7 @@ var require_index_cjs_min = __commonJS({
577
581
  e2.exports.mixin = function(e3, i2) {
578
582
  const n2 = Object.getOwnPropertyNames(i2);
579
583
  for (let a2 = 0; a2 < n2.length; ++a2) Object.defineProperty(e3, n2[a2], Object.getOwnPropertyDescriptor(i2, n2[a2]));
580
- }, e2.exports.wrapperSymbol = Symbol("wrapper"), e2.exports.implSymbol = Symbol("impl"), e2.exports.wrapperForImpl = function(i2) {
584
+ }, e2.exports.wrapperSymbol = /* @__PURE__ */ Symbol("wrapper"), e2.exports.implSymbol = /* @__PURE__ */ Symbol("impl"), e2.exports.wrapperForImpl = function(i2) {
581
585
  return i2[e2.exports.wrapperSymbol];
582
586
  }, e2.exports.implForWrapper = function(i2) {
583
587
  return i2[e2.exports.implSymbol];
@@ -775,7 +779,7 @@ var require_index_cjs_min = __commonJS({
775
779
  return { domain: n2.string, error: n2.error };
776
780
  }, PROCESSING_OPTIONS: Te };
777
781
  var Ue = te((function(e2) {
778
- const i2 = { ftp: 21, file: null, gopher: 70, http: 80, https: 443, ws: 80, wss: 443 }, n2 = Symbol("failure");
782
+ const i2 = { ftp: 21, file: null, gopher: 70, http: 80, https: 443, ws: 80, wss: 443 }, n2 = /* @__PURE__ */ Symbol("failure");
779
783
  function a2(e3) {
780
784
  return _e.ucs2.decode(e3).length;
781
785
  }
@@ -1298,8 +1302,8 @@ var require_index_cjs_min = __commonJS({
1298
1302
  }));
1299
1303
  var Ee = { URL: Re.interface, serializeURL: Ue.serializeURL, serializeURLOrigin: Ue.serializeURLOrigin, basicURLParse: Ue.basicURLParse, setTheUsername: Ue.setTheUsername, setThePassword: Ue.setThePassword, serializeHost: Ue.serializeHost, serializeInteger: Ue.serializeInteger, parseURL: Ue.parseURL };
1300
1304
  var Me = m.default.Readable;
1301
- var Le = Symbol("buffer");
1302
- var ze = Symbol("type");
1305
+ var Le = /* @__PURE__ */ Symbol("buffer");
1306
+ var ze = /* @__PURE__ */ Symbol("type");
1303
1307
  var He = class _He {
1304
1308
  constructor() {
1305
1309
  this[ze] = "";
@@ -1355,7 +1359,7 @@ var require_index_cjs_min = __commonJS({
1355
1359
  Qe = require("encoding").convert;
1356
1360
  } catch (e2) {
1357
1361
  }
1358
- var We = Symbol("Body internals");
1362
+ var We = /* @__PURE__ */ Symbol("Body internals");
1359
1363
  var Je = m.default.PassThrough;
1360
1364
  function Ke(e2) {
1361
1365
  var i2 = this, n2 = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, a2 = n2.size;
@@ -1478,7 +1482,7 @@ var require_index_cjs_min = __commonJS({
1478
1482
  i2 = i2.toLowerCase();
1479
1483
  for (const n2 in e2) if (n2.toLowerCase() === i2) return n2;
1480
1484
  }
1481
- var oi = Symbol("map");
1485
+ var oi = /* @__PURE__ */ Symbol("map");
1482
1486
  var mi = class _mi {
1483
1487
  constructor() {
1484
1488
  let e2 = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : void 0;
@@ -1563,7 +1567,7 @@ var require_index_cjs_min = __commonJS({
1563
1567
  });
1564
1568
  }
1565
1569
  mi.prototype.entries = mi.prototype[Symbol.iterator], Object.defineProperty(mi.prototype, Symbol.toStringTag, { value: "Headers", writable: false, enumerable: false, configurable: true }), Object.defineProperties(mi.prototype, { get: { enumerable: true }, forEach: { enumerable: true }, set: { enumerable: true }, append: { enumerable: true }, has: { enumerable: true }, delete: { enumerable: true }, keys: { enumerable: true }, values: { enumerable: true }, entries: { enumerable: true } });
1566
- var si = Symbol("internal");
1570
+ var si = /* @__PURE__ */ Symbol("internal");
1567
1571
  function ui(e2, i2) {
1568
1572
  const n2 = Object.create(ki);
1569
1573
  return n2[si] = { target: e2, kind: i2, index: 0 }, n2;
@@ -1579,7 +1583,7 @@ var require_index_cjs_min = __commonJS({
1579
1583
  return void 0 !== n2 && (i2[n2] = i2[n2][0]), i2;
1580
1584
  }
1581
1585
  Object.defineProperty(ki, Symbol.toStringTag, { value: "HeadersIterator", writable: false, enumerable: false, configurable: true });
1582
- var ci = Symbol("Response internals");
1586
+ var ci = /* @__PURE__ */ Symbol("Response internals");
1583
1587
  var vi = r.default.STATUS_CODES;
1584
1588
  var Ni = class _Ni {
1585
1589
  constructor() {
@@ -1615,7 +1619,7 @@ var require_index_cjs_min = __commonJS({
1615
1619
  }
1616
1620
  };
1617
1621
  Ke.mixIn(Ni.prototype), Object.defineProperties(Ni.prototype, { url: { enumerable: true }, status: { enumerable: true }, ok: { enumerable: true }, redirected: { enumerable: true }, statusText: { enumerable: true }, headers: { enumerable: true }, clone: { enumerable: true } }), Object.defineProperty(Ni.prototype, Symbol.toStringTag, { value: "Response", writable: false, enumerable: false, configurable: true });
1618
- var hi = Symbol("Request internals");
1622
+ var hi = /* @__PURE__ */ Symbol("Request internals");
1619
1623
  var fi = s.default.URL || Ee.URL;
1620
1624
  var Si = s.default.parse;
1621
1625
  var yi = s.default.format;
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.0.21";
1
+ export declare const VERSION = "0.0.22";
2
2
  //# sourceMappingURL=version.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/ai-toolkit-linear-task-utils",
3
- "version": "0.0.22-next.0",
3
+ "version": "0.0.23-next.0",
4
4
  "private": false,
5
5
  "type": "commonjs",
6
6
  "description": "CLI tool to query Linear issues for autonomous Claude Code task processing",