skill-tree 0.2.0 → 0.2.1

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.
Files changed (88) hide show
  1. package/README.md +75 -0
  2. package/dist/bowser-CQI7RKRA.mjs +2821 -0
  3. package/dist/chunk-2NL4MXNX.mjs +3156 -0
  4. package/dist/chunk-2STDJU5Y.mjs +1174 -0
  5. package/dist/chunk-3BCRI4CA.mjs +101 -0
  6. package/dist/chunk-3SRB47JW.mjs +8344 -0
  7. package/dist/chunk-43YOKLZP.mjs +6081 -0
  8. package/dist/chunk-4AGZU52D.mjs +7918 -0
  9. package/dist/chunk-4HXHCEFH.mjs +9157 -0
  10. package/dist/chunk-4OC5QFIF.mjs +11267 -0
  11. package/dist/chunk-4QGSDVGH.mjs +580 -0
  12. package/dist/chunk-4TFMKAVC.mjs +1225 -0
  13. package/dist/chunk-55SMGVTP.mjs +7126 -0
  14. package/dist/chunk-5C4MEQMR.mjs +125 -0
  15. package/dist/chunk-6FX4IK4Z.mjs +5368 -0
  16. package/dist/chunk-6UPDN5QM.mjs +163 -0
  17. package/dist/chunk-7EGDKOHV.mjs +9439 -0
  18. package/dist/chunk-7LMOQW5H.mjs +4893 -0
  19. package/dist/chunk-7QIQJVNP.mjs +14206 -0
  20. package/dist/chunk-7VB4ZRZO.mjs +7127 -0
  21. package/dist/chunk-A3SILZYX.mjs +8360 -0
  22. package/dist/chunk-BPVRW25O.mjs +6089 -0
  23. package/dist/chunk-BZ2JKJ54.mjs +1057 -0
  24. package/dist/chunk-CI4476KM.mjs +6607 -0
  25. package/dist/chunk-DCRKELD5.mjs +46 -0
  26. package/dist/chunk-DDXYQ74I.mjs +13969 -0
  27. package/dist/chunk-DQOFJXBX.mjs +6595 -0
  28. package/dist/chunk-E2CVK23F.mjs +8751 -0
  29. package/dist/chunk-F3YEUQAP.mjs +654 -0
  30. package/dist/chunk-FKJJ4RJG.mjs +13874 -0
  31. package/dist/chunk-II7DECZQ.mjs +9111 -0
  32. package/dist/chunk-INKVOZXK.mjs +15898 -0
  33. package/dist/chunk-J2JM7HAK.mjs +8787 -0
  34. package/dist/chunk-K6NRCSAZ.mjs +4355 -0
  35. package/dist/chunk-LACI6YL4.mjs +1379 -0
  36. package/dist/chunk-MBIGW6KU.mjs +644 -0
  37. package/dist/chunk-OYHYXKXO.mjs +7297 -0
  38. package/dist/chunk-P5GJJ4JB.mjs +9237 -0
  39. package/dist/chunk-PDPN7FW7.mjs +1045 -0
  40. package/dist/chunk-QNK3WYNA.mjs +8971 -0
  41. package/dist/chunk-QZ7TP4HQ.mjs +7 -0
  42. package/dist/chunk-RJYJGJO3.mjs +349 -0
  43. package/dist/chunk-T4PVQW5O.mjs +124 -0
  44. package/dist/chunk-TEUB6DZR.mjs +6453 -0
  45. package/dist/chunk-TWPEHDW4.mjs +1067 -0
  46. package/dist/chunk-VHFTX33A.mjs +6724 -0
  47. package/dist/chunk-Y54UK2J3.mjs +13071 -0
  48. package/dist/chunk-YDVZIFIU.mjs +2102 -0
  49. package/dist/chunk-ZQVS7MQK.mjs +6081 -0
  50. package/dist/chunk-ZYKRDDFO.mjs +163 -0
  51. package/dist/cli/index.js +1167 -323
  52. package/dist/cli/index.mjs +202 -9164
  53. package/dist/dist-es-2JG6ZWFR.mjs +69 -0
  54. package/dist/dist-es-2JGXQKUP.mjs +6077 -0
  55. package/dist/dist-es-644EP2LP.mjs +317 -0
  56. package/dist/dist-es-DSNCHWLJ.mjs +170 -0
  57. package/dist/dist-es-FIVW7BUZ.mjs +317 -0
  58. package/dist/dist-es-GXJAFBE5.mjs +22 -0
  59. package/dist/dist-es-HRBPKDMR.mjs +935 -0
  60. package/dist/dist-es-LHPJ63IO.mjs +4437 -0
  61. package/dist/dist-es-LT2AQAG7.mjs +4437 -0
  62. package/dist/dist-es-ORE4PQTL.mjs +87 -0
  63. package/dist/dist-es-TLCYJJ25.mjs +495 -0
  64. package/dist/dist-es-V4LHTSRG.mjs +69 -0
  65. package/dist/dist-es-XHTU3ZU2.mjs +935 -0
  66. package/dist/dist-es-Y2MPJ6IO.mjs +378 -0
  67. package/dist/dist-es-ZYHLY2E6.mjs +487 -0
  68. package/dist/event-streams-KIAAAC7Z.mjs +42 -0
  69. package/dist/index.d.mts +1074 -12
  70. package/dist/index.d.ts +1074 -12
  71. package/dist/index.js +38729 -600
  72. package/dist/index.mjs +129 -9693
  73. package/dist/loadSso-NPRY7QRT.mjs +579 -0
  74. package/dist/loadSso-OYKG6ZRE.mjs +579 -0
  75. package/dist/signin-LMFNL434.mjs +665 -0
  76. package/dist/signin-LUKXFXSI.mjs +743 -0
  77. package/dist/sqlite-MG45OOTV.mjs +6 -0
  78. package/dist/sqlite-OLU72GHB.mjs +6 -0
  79. package/dist/sqlite-RR2SJ3SR.mjs +7 -0
  80. package/dist/sqlite-XJRPMNAJ.mjs +6 -0
  81. package/dist/sso-oidc-NNH6SQIH.mjs +832 -0
  82. package/dist/sso-oidc-STZH2XK2.mjs +832 -0
  83. package/dist/sts-EF755UBF.mjs +6290 -0
  84. package/dist/sts-ZIS4G6FQ.mjs +6290 -0
  85. package/dist/sync-BSWMMDA6.mjs +14 -0
  86. package/dist/sync-WHIIDHML.mjs +14 -0
  87. package/dist/sync-XRWFQYBY.mjs +15 -0
  88. package/package.json +9 -2
@@ -0,0 +1,101 @@
1
+ // node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js
2
+ function buildAbortError(abortSignal) {
3
+ const reason = abortSignal && typeof abortSignal === "object" && "reason" in abortSignal ? abortSignal.reason : void 0;
4
+ if (reason) {
5
+ if (reason instanceof Error) {
6
+ const abortError3 = new Error("Request aborted");
7
+ abortError3.name = "AbortError";
8
+ abortError3.cause = reason;
9
+ return abortError3;
10
+ }
11
+ const abortError2 = new Error(String(reason));
12
+ abortError2.name = "AbortError";
13
+ return abortError2;
14
+ }
15
+ const abortError = new Error("Request aborted");
16
+ abortError.name = "AbortError";
17
+ return abortError;
18
+ }
19
+
20
+ // node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js
21
+ var getTransformedHeaders = (headers) => {
22
+ const transformedHeaders = {};
23
+ for (const name in headers) {
24
+ const headerValues = headers[name];
25
+ transformedHeaders[name] = Array.isArray(headerValues) ? headerValues.join(",") : headerValues;
26
+ }
27
+ return transformedHeaders;
28
+ };
29
+
30
+ // node_modules/@smithy/node-http-handler/dist-es/timing.js
31
+ var timing = {
32
+ setTimeout: (cb, ms) => setTimeout(cb, ms),
33
+ clearTimeout: (timeoutId) => clearTimeout(timeoutId)
34
+ };
35
+
36
+ // node_modules/@smithy/node-http-handler/dist-es/write-request-body.js
37
+ import { Readable } from "stream";
38
+ var MIN_WAIT_TIME = 6e3;
39
+ async function writeRequestBody(httpRequest, request, maxContinueTimeoutMs = MIN_WAIT_TIME, externalAgent = false) {
40
+ const headers = request.headers;
41
+ const expect = headers ? headers.Expect || headers.expect : void 0;
42
+ let timeoutId = -1;
43
+ let sendBody = true;
44
+ if (!externalAgent && expect === "100-continue") {
45
+ sendBody = await Promise.race([
46
+ new Promise((resolve) => {
47
+ timeoutId = Number(timing.setTimeout(() => resolve(true), Math.max(MIN_WAIT_TIME, maxContinueTimeoutMs)));
48
+ }),
49
+ new Promise((resolve) => {
50
+ httpRequest.on("continue", () => {
51
+ timing.clearTimeout(timeoutId);
52
+ resolve(true);
53
+ });
54
+ httpRequest.on("response", () => {
55
+ timing.clearTimeout(timeoutId);
56
+ resolve(false);
57
+ });
58
+ httpRequest.on("error", () => {
59
+ timing.clearTimeout(timeoutId);
60
+ resolve(false);
61
+ });
62
+ })
63
+ ]);
64
+ }
65
+ if (sendBody) {
66
+ writeBody(httpRequest, request.body);
67
+ }
68
+ }
69
+ function writeBody(httpRequest, body) {
70
+ if (body instanceof Readable) {
71
+ body.pipe(httpRequest);
72
+ return;
73
+ }
74
+ if (body) {
75
+ const isBuffer = Buffer.isBuffer(body);
76
+ const isString = typeof body === "string";
77
+ if (isBuffer || isString) {
78
+ if (isBuffer && body.byteLength === 0) {
79
+ httpRequest.end();
80
+ } else {
81
+ httpRequest.end(body);
82
+ }
83
+ return;
84
+ }
85
+ const uint8 = body;
86
+ if (typeof uint8 === "object" && uint8.buffer && typeof uint8.byteOffset === "number" && typeof uint8.byteLength === "number") {
87
+ httpRequest.end(Buffer.from(uint8.buffer, uint8.byteOffset, uint8.byteLength));
88
+ return;
89
+ }
90
+ httpRequest.end(Buffer.from(body));
91
+ return;
92
+ }
93
+ httpRequest.end();
94
+ }
95
+
96
+ export {
97
+ buildAbortError,
98
+ getTransformedHeaders,
99
+ timing,
100
+ writeRequestBody
101
+ };