skill-tree 0.2.0 → 0.3.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.
Files changed (130) hide show
  1. package/README.md +75 -0
  2. package/dist/bowser-CQI7RKRA.mjs +2821 -0
  3. package/dist/bowser-XBWM4HVL.mjs +2821 -0
  4. package/dist/chunk-2NL4MXNX.mjs +3156 -0
  5. package/dist/chunk-2STDJU5Y.mjs +1174 -0
  6. package/dist/chunk-3BCRI4CA.mjs +101 -0
  7. package/dist/chunk-3MV4GQ3N.mjs +19 -0
  8. package/dist/chunk-3SRB47JW.mjs +8344 -0
  9. package/dist/chunk-43YOKLZP.mjs +6081 -0
  10. package/dist/chunk-4AGZU52D.mjs +7918 -0
  11. package/dist/chunk-4HXHCEFH.mjs +9157 -0
  12. package/dist/chunk-4OC5QFIF.mjs +11267 -0
  13. package/dist/chunk-4QGSDVGH.mjs +580 -0
  14. package/dist/chunk-4TFMKAVC.mjs +1225 -0
  15. package/dist/chunk-55SMGVTP.mjs +7126 -0
  16. package/dist/chunk-5C4MEQMR.mjs +125 -0
  17. package/dist/chunk-6AZMD3Q3.mjs +1243 -0
  18. package/dist/chunk-6FX4IK4Z.mjs +5368 -0
  19. package/dist/chunk-6UPDN5QM.mjs +163 -0
  20. package/dist/chunk-7EGDKOHV.mjs +9439 -0
  21. package/dist/chunk-7IHYDFWW.mjs +163 -0
  22. package/dist/chunk-7LMOQW5H.mjs +4893 -0
  23. package/dist/chunk-7QIQJVNP.mjs +14206 -0
  24. package/dist/chunk-7VB4ZRZO.mjs +7127 -0
  25. package/dist/chunk-A3SILZYX.mjs +8360 -0
  26. package/dist/chunk-BPVRW25O.mjs +6089 -0
  27. package/dist/chunk-BZ2JKJ54.mjs +1057 -0
  28. package/dist/chunk-CI4476KM.mjs +6607 -0
  29. package/dist/chunk-DCRKELD5.mjs +46 -0
  30. package/dist/chunk-DDXYQ74I.mjs +13969 -0
  31. package/dist/chunk-DQOFJXBX.mjs +6595 -0
  32. package/dist/chunk-E2CVK23F.mjs +8751 -0
  33. package/dist/chunk-F3YEUQAP.mjs +654 -0
  34. package/dist/chunk-FKJJ4RJG.mjs +13874 -0
  35. package/dist/chunk-GBIK7WMX.mjs +9293 -0
  36. package/dist/chunk-GFK5SZRJ.mjs +580 -0
  37. package/dist/chunk-GPN6UQVR.mjs +9238 -0
  38. package/dist/chunk-II7DECZQ.mjs +9111 -0
  39. package/dist/chunk-INKVOZXK.mjs +15898 -0
  40. package/dist/chunk-J2JM7HAK.mjs +8787 -0
  41. package/dist/chunk-K6NRCSAZ.mjs +4355 -0
  42. package/dist/chunk-LACI6YL4.mjs +1379 -0
  43. package/dist/chunk-M4RPUUZT.mjs +3156 -0
  44. package/dist/chunk-MBF2MJS5.mjs +1230 -0
  45. package/dist/chunk-MBIGW6KU.mjs +644 -0
  46. package/dist/chunk-MR4TVINH.mjs +1234 -0
  47. package/dist/chunk-OOECXYLU.mjs +1379 -0
  48. package/dist/chunk-OYHYXKXO.mjs +7297 -0
  49. package/dist/chunk-P5GJJ4JB.mjs +9237 -0
  50. package/dist/chunk-PDPN7FW7.mjs +1045 -0
  51. package/dist/chunk-PJJJQXJL.mjs +1174 -0
  52. package/dist/chunk-PK3BAIFW.mjs +9294 -0
  53. package/dist/chunk-QNK3WYNA.mjs +8971 -0
  54. package/dist/chunk-QZ7TP4HQ.mjs +7 -0
  55. package/dist/chunk-RJYJGJO3.mjs +349 -0
  56. package/dist/chunk-T4PVQW5O.mjs +124 -0
  57. package/dist/chunk-TENXZJB3.mjs +349 -0
  58. package/dist/chunk-TEUB6DZR.mjs +6453 -0
  59. package/dist/chunk-TWPEHDW4.mjs +1067 -0
  60. package/dist/chunk-VHFTX33A.mjs +6724 -0
  61. package/dist/chunk-VNZSS2WY.mjs +1057 -0
  62. package/dist/chunk-WJP5XYS7.mjs +2102 -0
  63. package/dist/chunk-WX6N7KNO.mjs +1239 -0
  64. package/dist/chunk-Y54UK2J3.mjs +13071 -0
  65. package/dist/chunk-YDNGMDXC.mjs +9294 -0
  66. package/dist/chunk-YDVZIFIU.mjs +2102 -0
  67. package/dist/chunk-YJ6NZQLT.mjs +9237 -0
  68. package/dist/chunk-YWRKGXK4.mjs +9300 -0
  69. package/dist/chunk-ZI4AIAWQ.mjs +46 -0
  70. package/dist/chunk-ZQVS7MQK.mjs +6081 -0
  71. package/dist/chunk-ZYKRDDFO.mjs +163 -0
  72. package/dist/cli/index.js +1173 -324
  73. package/dist/cli/index.mjs +202 -9164
  74. package/dist/dist-es-27NPMXP7.mjs +22 -0
  75. package/dist/dist-es-2JG6ZWFR.mjs +69 -0
  76. package/dist/dist-es-2JGXQKUP.mjs +6077 -0
  77. package/dist/dist-es-5QD5QJS2.mjs +495 -0
  78. package/dist/dist-es-5ZD454R2.mjs +317 -0
  79. package/dist/dist-es-644EP2LP.mjs +317 -0
  80. package/dist/dist-es-DSNCHWLJ.mjs +170 -0
  81. package/dist/dist-es-DYHMPEKZ.mjs +170 -0
  82. package/dist/dist-es-FIVW7BUZ.mjs +317 -0
  83. package/dist/dist-es-GXJAFBE5.mjs +22 -0
  84. package/dist/dist-es-HRBPKDMR.mjs +935 -0
  85. package/dist/dist-es-L5AMJHSY.mjs +935 -0
  86. package/dist/dist-es-LHPJ63IO.mjs +4437 -0
  87. package/dist/dist-es-LT2AQAG7.mjs +4437 -0
  88. package/dist/dist-es-OK2J7EV3.mjs +378 -0
  89. package/dist/dist-es-ORE4PQTL.mjs +87 -0
  90. package/dist/dist-es-TLCYJJ25.mjs +495 -0
  91. package/dist/dist-es-V4LHTSRG.mjs +69 -0
  92. package/dist/dist-es-XFAHNA2L.mjs +69 -0
  93. package/dist/dist-es-XHTU3ZU2.mjs +935 -0
  94. package/dist/dist-es-XPNJAJI7.mjs +4437 -0
  95. package/dist/dist-es-Y2MPJ6IO.mjs +378 -0
  96. package/dist/dist-es-Y4JPNLF3.mjs +6077 -0
  97. package/dist/dist-es-ZGPJUGVW.mjs +87 -0
  98. package/dist/dist-es-ZYHLY2E6.mjs +487 -0
  99. package/dist/event-streams-6MFHPNRF.mjs +42 -0
  100. package/dist/event-streams-KIAAAC7Z.mjs +42 -0
  101. package/dist/index.d.mts +1189 -13
  102. package/dist/index.d.ts +1189 -13
  103. package/dist/index.js +38737 -601
  104. package/dist/index.mjs +131 -9693
  105. package/dist/lib-B245IUXF.mjs +778 -0
  106. package/dist/loadSso-CAWKILED.mjs +579 -0
  107. package/dist/loadSso-NPRY7QRT.mjs +579 -0
  108. package/dist/loadSso-OYKG6ZRE.mjs +579 -0
  109. package/dist/signin-KUENA7ZD.mjs +743 -0
  110. package/dist/signin-LMFNL434.mjs +665 -0
  111. package/dist/signin-LUKXFXSI.mjs +743 -0
  112. package/dist/sqlite-5LHEQTBD.mjs +7 -0
  113. package/dist/sqlite-BZK5GF76.mjs +7 -0
  114. package/dist/sqlite-MG45OOTV.mjs +6 -0
  115. package/dist/sqlite-OLU72GHB.mjs +6 -0
  116. package/dist/sqlite-RR2SJ3SR.mjs +7 -0
  117. package/dist/sqlite-V6GFGHTD.mjs +7 -0
  118. package/dist/sqlite-XJRPMNAJ.mjs +6 -0
  119. package/dist/sqlite-ZKQKQKPT.mjs +7 -0
  120. package/dist/sso-oidc-3VGFPMFD.mjs +832 -0
  121. package/dist/sso-oidc-NNH6SQIH.mjs +832 -0
  122. package/dist/sso-oidc-STZH2XK2.mjs +832 -0
  123. package/dist/sts-EF755UBF.mjs +6290 -0
  124. package/dist/sts-QGXULWRT.mjs +6290 -0
  125. package/dist/sts-ZIS4G6FQ.mjs +6290 -0
  126. package/dist/sync-4DCV43GA.mjs +15 -0
  127. package/dist/sync-BSWMMDA6.mjs +14 -0
  128. package/dist/sync-WHIIDHML.mjs +14 -0
  129. package/dist/sync-XRWFQYBY.mjs +15 -0
  130. package/package.json +9 -2
@@ -0,0 +1,163 @@
1
+ import {
2
+ ENV_KEY,
3
+ ENV_SECRET,
4
+ fromEnv
5
+ } from "./chunk-DCRKELD5.mjs";
6
+ import {
7
+ CredentialsProviderError,
8
+ ENV_PROFILE,
9
+ chain
10
+ } from "./chunk-YDVZIFIU.mjs";
11
+
12
+ // node_modules/@aws-sdk/credential-provider-node/dist-es/remoteProvider.js
13
+ var ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED";
14
+ var remoteProvider = async (init) => {
15
+ const { ENV_CMDS_FULL_URI, ENV_CMDS_RELATIVE_URI, fromContainerMetadata, fromInstanceMetadata } = await import("./dist-es-Y2MPJ6IO.mjs");
16
+ if (process.env[ENV_CMDS_RELATIVE_URI] || process.env[ENV_CMDS_FULL_URI]) {
17
+ init.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata");
18
+ const { fromHttp } = await import("./dist-es-DSNCHWLJ.mjs");
19
+ return chain(fromHttp(init), fromContainerMetadata(init));
20
+ }
21
+ if (process.env[ENV_IMDS_DISABLED] && process.env[ENV_IMDS_DISABLED] !== "false") {
22
+ return async () => {
23
+ throw new CredentialsProviderError("EC2 Instance Metadata Service access disabled", { logger: init.logger });
24
+ };
25
+ }
26
+ init.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata");
27
+ return fromInstanceMetadata(init);
28
+ };
29
+
30
+ // node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js
31
+ function memoizeChain(providers, treatAsExpired) {
32
+ const chain2 = internalCreateChain(providers);
33
+ let activeLock;
34
+ let passiveLock;
35
+ let credentials;
36
+ let forceRefreshLock;
37
+ const provider = async (options) => {
38
+ if (options?.forceRefresh) {
39
+ if (!forceRefreshLock) {
40
+ forceRefreshLock = chain2(options).then((c) => {
41
+ credentials = c;
42
+ }).finally(() => {
43
+ forceRefreshLock = void 0;
44
+ });
45
+ }
46
+ await forceRefreshLock;
47
+ return credentials;
48
+ }
49
+ if (credentials?.expiration) {
50
+ if (credentials?.expiration?.getTime() < Date.now()) {
51
+ credentials = void 0;
52
+ }
53
+ }
54
+ if (activeLock) {
55
+ await activeLock;
56
+ } else if (!credentials || treatAsExpired?.(credentials)) {
57
+ if (credentials) {
58
+ if (!passiveLock) {
59
+ passiveLock = chain2(options).then((c) => {
60
+ credentials = c;
61
+ }).finally(() => {
62
+ passiveLock = void 0;
63
+ });
64
+ }
65
+ } else {
66
+ activeLock = chain2(options).then((c) => {
67
+ credentials = c;
68
+ }).finally(() => {
69
+ activeLock = void 0;
70
+ });
71
+ return provider(options);
72
+ }
73
+ }
74
+ return credentials;
75
+ };
76
+ return provider;
77
+ }
78
+ var internalCreateChain = (providers) => async (awsIdentityProperties) => {
79
+ let lastProviderError;
80
+ for (const provider of providers) {
81
+ try {
82
+ return await provider(awsIdentityProperties);
83
+ } catch (err) {
84
+ lastProviderError = err;
85
+ if (err?.tryNextLink) {
86
+ continue;
87
+ }
88
+ throw err;
89
+ }
90
+ }
91
+ throw lastProviderError;
92
+ };
93
+
94
+ // node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js
95
+ var multipleCredentialSourceWarningEmitted = false;
96
+ var defaultProvider = (init = {}) => memoizeChain([
97
+ async () => {
98
+ const profile = init.profile ?? process.env[ENV_PROFILE];
99
+ if (profile) {
100
+ const envStaticCredentialsAreSet = process.env[ENV_KEY] && process.env[ENV_SECRET];
101
+ if (envStaticCredentialsAreSet) {
102
+ if (!multipleCredentialSourceWarningEmitted) {
103
+ const warnFn = init.logger?.warn && init.logger?.constructor?.name !== "NoOpLogger" ? init.logger.warn.bind(init.logger) : console.warn;
104
+ warnFn(`@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING:
105
+ Multiple credential sources detected:
106
+ Both AWS_PROFILE and the pair AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY static credentials are set.
107
+ This SDK will proceed with the AWS_PROFILE value.
108
+
109
+ However, a future version may change this behavior to prefer the ENV static credentials.
110
+ Please ensure that your environment only sets either the AWS_PROFILE or the
111
+ AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY pair.
112
+ `);
113
+ multipleCredentialSourceWarningEmitted = true;
114
+ }
115
+ }
116
+ throw new CredentialsProviderError("AWS_PROFILE is set, skipping fromEnv provider.", {
117
+ logger: init.logger,
118
+ tryNextLink: true
119
+ });
120
+ }
121
+ init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv");
122
+ return fromEnv(init)();
123
+ },
124
+ async (awsIdentityProperties) => {
125
+ init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");
126
+ const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;
127
+ if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {
128
+ throw new CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).", { logger: init.logger });
129
+ }
130
+ const { fromSSO } = await import("./dist-es-FIVW7BUZ.mjs");
131
+ return fromSSO(init)(awsIdentityProperties);
132
+ },
133
+ async (awsIdentityProperties) => {
134
+ init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");
135
+ const { fromIni } = await import("./dist-es-ZYHLY2E6.mjs");
136
+ return fromIni(init)(awsIdentityProperties);
137
+ },
138
+ async (awsIdentityProperties) => {
139
+ init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");
140
+ const { fromProcess } = await import("./dist-es-ORE4PQTL.mjs");
141
+ return fromProcess(init)(awsIdentityProperties);
142
+ },
143
+ async (awsIdentityProperties) => {
144
+ init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");
145
+ const { fromTokenFile } = await import("./dist-es-2JG6ZWFR.mjs");
146
+ return fromTokenFile(init)(awsIdentityProperties);
147
+ },
148
+ async () => {
149
+ init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider");
150
+ return (await remoteProvider(init))();
151
+ },
152
+ async () => {
153
+ throw new CredentialsProviderError("Could not load credentials from any providers", {
154
+ tryNextLink: false,
155
+ logger: init.logger
156
+ });
157
+ }
158
+ ], credentialsTreatedAsExpired);
159
+ var credentialsTreatedAsExpired = (credentials) => credentials?.expiration !== void 0 && credentials.expiration.getTime() - Date.now() < 3e5;
160
+
161
+ export {
162
+ defaultProvider
163
+ };