@hasna/skills 0.7.2 → 0.7.3

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/sdk/index.js CHANGED
@@ -46,7 +46,7 @@ var __export = (target, all) => {
46
46
  var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
47
47
  var __require = import.meta.require;
48
48
 
49
- // ../../node_modules/.bun/@smithy+types@4.18.0/node_modules/@smithy/types/dist-cjs/index.js
49
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@smithy/types/dist-cjs/index.js
50
50
  var require_dist_cjs = __commonJS((exports) => {
51
51
  var HttpAuthLocation;
52
52
  (function(HttpAuthLocation2) {
@@ -137,7 +137,7 @@ var require_dist_cjs = __commonJS((exports) => {
137
137
  exports.resolveDefaultRuntimeConfig = resolveDefaultRuntimeConfig;
138
138
  });
139
139
 
140
- // ../../node_modules/.bun/@smithy+core@3.33.3/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js
140
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js
141
141
  var require_transport = __commonJS((exports) => {
142
142
  var { SMITHY_CONTEXT_KEY } = require_dist_cjs();
143
143
  var getSmithyContext = (context) => context[SMITHY_CONTEXT_KEY] || (context[SMITHY_CONTEXT_KEY] = {});
@@ -310,7 +310,7 @@ var require_transport = __commonJS((exports) => {
310
310
  exports.toEndpointV1 = toEndpointV1;
311
311
  });
312
312
 
313
- // ../../node_modules/.bun/@smithy+core@3.33.3/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js
313
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js
314
314
  var require_schema = __commonJS((exports) => {
315
315
  var { getSmithyContext, HttpResponse, toEndpointV1 } = require_transport();
316
316
  var deref = (schemaRef) => {
@@ -979,7 +979,7 @@ var require_schema = __commonJS((exports) => {
979
979
  exports.translateTraits = translateTraits;
980
980
  });
981
981
 
982
- // ../../node_modules/.bun/@smithy+core@3.33.3/node_modules/@smithy/core/dist-cjs/submodules/client/index.js
982
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@smithy/core/dist-cjs/submodules/client/index.js
983
983
  var require_client = __commonJS((exports) => {
984
984
  var { hasOwn: hasOwn2 } = require_transport();
985
985
  var { getSmithyContext, normalizeProvider } = require_transport();
@@ -2059,7 +2059,7 @@ var require_client = __commonJS((exports) => {
2059
2059
  exports.withBaseException = withBaseException;
2060
2060
  });
2061
2061
 
2062
- // ../../node_modules/.bun/@smithy+core@3.33.3/node_modules/@smithy/core/dist-cjs/submodules/config/index.js
2062
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@smithy/core/dist-cjs/submodules/config/index.js
2063
2063
  var require_config = __commonJS((exports) => {
2064
2064
  var { homedir } = __require("os");
2065
2065
  var { sep, join: join3 } = __require("path");
@@ -2754,7 +2754,7 @@ var require_config = __commonJS((exports) => {
2754
2754
  exports.resolveRegionConfig = resolveRegionConfig;
2755
2755
  });
2756
2756
 
2757
- // ../../node_modules/.bun/@smithy+core@3.33.3/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js
2757
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js
2758
2758
  var require_endpoints = __commonJS((exports) => {
2759
2759
  var { CONFIG_PREFIX_SEPARATOR, booleanSelector, SelectorType, loadConfig } = require_config();
2760
2760
  var { toEndpointV1, getSmithyContext, normalizeProvider, isValidHostLabel, hasOwn: hasOwn2 } = require_transport();
@@ -3568,7 +3568,7 @@ var require_endpoints = __commonJS((exports) => {
3568
3568
  exports.resolveParams = resolveParams;
3569
3569
  });
3570
3570
 
3571
- // ../../node_modules/.bun/@smithy+core@3.33.3/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js
3571
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js
3572
3572
  var require_serde = __commonJS((exports) => {
3573
3573
  var { createHmac: createHmac2, createHash: createHash3, getRandomValues } = __require("crypto");
3574
3574
  var { hasOwn: hasOwn2, HttpResponse } = require_transport();
@@ -5209,7 +5209,7 @@ ${value}\r
5209
5209
  exports.v4 = v4;
5210
5210
  });
5211
5211
 
5212
- // ../../node_modules/.bun/@smithy+core@3.33.3/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.js
5212
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.js
5213
5213
  var require_checksum = __commonJS((exports) => {
5214
5214
  var { createReadStream } = __require("fs");
5215
5215
  var { Writable } = __require("stream");
@@ -5825,7 +5825,7 @@ var require_checksum = __commonJS((exports) => {
5825
5825
  exports.readableStreamHasher = readableStreamHasher;
5826
5826
  });
5827
5827
 
5828
- // ../../node_modules/.bun/@smithy+core@3.33.3/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js
5828
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js
5829
5829
  var require_event_streams = __commonJS((exports) => {
5830
5830
  var { Crc32 } = require_checksum();
5831
5831
  var { hasOwn: hasOwn2 } = require_transport();
@@ -6717,7 +6717,7 @@ var require_event_streams = __commonJS((exports) => {
6717
6717
  exports.universalEventStreamSerdeProvider = eventStreamSerdeProvider$1;
6718
6718
  });
6719
6719
 
6720
- // ../../node_modules/.bun/@smithy+core@3.33.3/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js
6720
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js
6721
6721
  var require_protocols = __commonJS((exports) => {
6722
6722
  var { Uint8ArrayBlobAdapter, sdkStreamMixin, splitEvery, splitHeader, fromBase64, _parseEpochTimestamp, _parseRfc7231DateTime, _parseRfc3339DateTimeWithOffset, LazyJsonString, NumericValue, toUtf8, fromUtf8, generateIdempotencyToken, toBase64, dateToUtcString, quoteHeader } = require_serde();
6723
6723
  var { HttpRequest, HttpResponse, hasOwn: hasOwn2, isValidHostname } = require_transport();
@@ -7721,7 +7721,7 @@ var require_protocols = __commonJS((exports) => {
7721
7721
  exports.resolvedPath = resolvedPath;
7722
7722
  });
7723
7723
 
7724
- // ../../node_modules/.bun/@smithy+core@3.33.3/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js
7724
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js
7725
7725
  var require_retry = __commonJS((exports) => {
7726
7726
  var { Readable } = __require("stream");
7727
7727
  var { NoOpLogger, normalizeProvider } = require_client();
@@ -8521,7 +8521,7 @@ var require_retry = __commonJS((exports) => {
8521
8521
  exports.retryMiddlewareOptions = retryMiddlewareOptions;
8522
8522
  });
8523
8523
 
8524
- // ../../node_modules/.bun/@aws+lambda-invoke-store@0.3.0/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js
8524
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js
8525
8525
  var require_invoke_store = __commonJS((exports) => {
8526
8526
  var PROTECTED_KEYS = {
8527
8527
  REQUEST_ID: Symbol.for("_AWS_LAMBDA_REQUEST_ID"),
@@ -8650,7 +8650,7 @@ var require_invoke_store = __commonJS((exports) => {
8650
8650
  exports.InvokeStoreBase = InvokeStoreBase;
8651
8651
  });
8652
8652
 
8653
- // ../../node_modules/.bun/@smithy+core@3.33.3/node_modules/@smithy/core/dist-cjs/index.js
8653
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@smithy/core/dist-cjs/index.js
8654
8654
  var require_dist_cjs2 = __commonJS((exports) => {
8655
8655
  var { getSmithyContext, hasOwn: hasOwn2 } = require_transport();
8656
8656
  exports.getSmithyContext = getSmithyContext;
@@ -8978,7 +8978,7 @@ var require_dist_cjs2 = __commonJS((exports) => {
8978
8978
  exports.setFeature = setFeature;
8979
8979
  });
8980
8980
 
8981
- // ../../node_modules/.bun/bowser@2.14.1/node_modules/bowser/es5.js
8981
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/bowser/es5.js
8982
8982
  var require_es5 = __commonJS((exports, module) => {
8983
8983
  (function(e, t) {
8984
8984
  typeof exports == "object" && typeof module == "object" ? module.exports = t() : typeof define == "function" && define.amd ? define([], t) : typeof exports == "object" ? exports.bowser = t() : e.bowser = t();
@@ -9818,7 +9818,7 @@ var require_es5 = __commonJS((exports, module) => {
9818
9818
  });
9819
9819
  });
9820
9820
 
9821
- // ../../node_modules/.bun/@aws-sdk+core@3.977.9/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js
9821
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js
9822
9822
  var require_client2 = __commonJS((exports) => {
9823
9823
  var { Retry, RETRY_MODES } = require_retry();
9824
9824
  var { HttpRequest, parseUrl } = require_protocols();
@@ -10756,7 +10756,7 @@ More information can be found at: https://a.co/c895JFp`);
10756
10756
  exports.userAgentMiddleware = userAgentMiddleware;
10757
10757
  });
10758
10758
 
10759
- // ../../node_modules/.bun/@aws-sdk+checksums@3.1000.29/node_modules/@aws-sdk/checksums/dist-cjs/submodules/crc/index.js
10759
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/checksums/dist-cjs/submodules/crc/index.js
10760
10760
  var require_crc = __commonJS((exports) => {
10761
10761
  var { Crc32, Crc32Js, Crc32Node } = require_checksum();
10762
10762
  exports.Crc32 = Crc32;
@@ -10913,7 +10913,7 @@ var require_crc = __commonJS((exports) => {
10913
10913
  exports.crc64NvmeCrtContainer = crc64NvmeCrtContainer;
10914
10914
  });
10915
10915
 
10916
- // ../../node_modules/.bun/@smithy+signature-v4@5.7.3/node_modules/@smithy/signature-v4/dist-cjs/index.js
10916
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@smithy/signature-v4/dist-cjs/index.js
10917
10917
  var require_dist_cjs3 = __commonJS((exports) => {
10918
10918
  var { hasOwn: hasOwn2, fromUtf8, fromHex, toHex, toUint8Array: toUint8Array2, isArrayBuffer: isArrayBuffer2 } = require_serde();
10919
10919
  var { normalizeProvider: normalizeProvider2 } = require_client();
@@ -11465,7 +11465,7 @@ ${toHex(hashedRequest)}`;
11465
11465
  exports.signatureV4aContainer = signatureV4aContainer;
11466
11466
  });
11467
11467
 
11468
- // ../../node_modules/.bun/@aws-sdk+signature-v4-multi-region@3.996.46/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js
11468
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js
11469
11469
  var require_dist_cjs4 = __commonJS((exports) => {
11470
11470
  var { SignatureV4, signatureV4aContainer } = require_dist_cjs3();
11471
11471
  var signatureV4CrtContainer = {
@@ -11597,7 +11597,7 @@ var require_dist_cjs4 = __commonJS((exports) => {
11597
11597
  exports.signatureV4CrtContainer = signatureV4CrtContainer;
11598
11598
  });
11599
11599
 
11600
- // ../../node_modules/.bun/@aws-sdk+core@3.977.9/node_modules/@aws-sdk/core/dist-cjs/submodules/util/index.js
11600
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/core/dist-cjs/submodules/util/index.js
11601
11601
  var require_util = __commonJS((exports) => {
11602
11602
  var { buildQueryString } = require_protocols();
11603
11603
  var validate = (str) => typeof str === "string" && str.indexOf("arn:") === 0 && str.split(":").length >= 6;
@@ -11655,7 +11655,7 @@ var require_util = __commonJS((exports) => {
11655
11655
  exports.validate = validate;
11656
11656
  });
11657
11657
 
11658
- // ../../node_modules/.bun/@smithy+core@3.33.3/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js
11658
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js
11659
11659
  var require_cbor = __commonJS((exports) => {
11660
11660
  var { nv, NumericValue, calculateBodyLength, generateIdempotencyToken, fromBase64, _parseEpochTimestamp } = require_serde();
11661
11661
  var { hasOwn: hasOwn2, getSmithyContext } = require_transport();
@@ -14105,7 +14105,7 @@ var require_cbor = __commonJS((exports) => {
14105
14105
  exports.tagSymbol = tagSymbol;
14106
14106
  });
14107
14107
 
14108
- // ../../node_modules/.bun/@aws-sdk+xml-builder@3.972.40/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js
14108
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js
14109
14109
  var require_dist_cjs5 = __commonJS((exports) => {
14110
14110
  var ATTR_ESCAPE_RE = /[&<>"]/g;
14111
14111
  var ATTR_ESCAPE_MAP = {
@@ -14473,7 +14473,7 @@ var require_dist_cjs5 = __commonJS((exports) => {
14473
14473
  exports.parseXML = parseXML;
14474
14474
  });
14475
14475
 
14476
- // ../../node_modules/.bun/@aws-sdk+core@3.977.9/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js
14476
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js
14477
14477
  var require_protocols2 = __commonJS((exports) => {
14478
14478
  var { SmithyRpcV2CborProtocol, loadSmithyRpcV2CborErrorCode } = require_cbor();
14479
14479
  var { TypeRegistry, NormalizedSchema, deref } = require_schema();
@@ -17314,7 +17314,7 @@ var require_protocols2 = __commonJS((exports) => {
17314
17314
  exports.parseXmlErrorBody = parseXmlErrorBody;
17315
17315
  });
17316
17316
 
17317
- // ../../node_modules/.bun/@aws-sdk+core@3.977.9/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js
17317
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js
17318
17318
  var require_httpAuthSchemes = __commonJS((exports) => {
17319
17319
  var { ProviderError, booleanSelector: booleanSelector2, SelectorType: SelectorType3, loadConfig } = require_config();
17320
17320
  var { setCredentialFeature } = require_client2();
@@ -17644,7 +17644,7 @@ var require_httpAuthSchemes = __commonJS((exports) => {
17644
17644
  exports.validateSigningProperties = validateSigningProperties;
17645
17645
  });
17646
17646
 
17647
- // ../../node_modules/.bun/@aws-sdk+credential-provider-env@3.972.70/node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js
17647
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js
17648
17648
  var import_client8, import_config, ENV_KEY = "AWS_ACCESS_KEY_ID", ENV_SECRET = "AWS_SECRET_ACCESS_KEY", ENV_SESSION = "AWS_SESSION_TOKEN", ENV_EXPIRATION = "AWS_CREDENTIAL_EXPIRATION", ENV_CREDENTIAL_SCOPE = "AWS_CREDENTIAL_SCOPE", ENV_ACCOUNT_ID = "AWS_ACCOUNT_ID", fromEnv = (init) => async () => {
17649
17649
  init?.logger?.debug("@aws-sdk/credential-provider-env - fromEnv");
17650
17650
  const accessKeyId = process.env[ENV_KEY];
@@ -17672,7 +17672,7 @@ var init_fromEnv = __esm(() => {
17672
17672
  import_config = __toESM(require_config(), 1);
17673
17673
  });
17674
17674
 
17675
- // ../../node_modules/.bun/@aws-sdk+credential-provider-env@3.972.70/node_modules/@aws-sdk/credential-provider-env/dist-es/index.js
17675
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/credential-provider-env/dist-es/index.js
17676
17676
  var exports_dist_es = {};
17677
17677
  __export(exports_dist_es, {
17678
17678
  fromEnv: () => fromEnv,
@@ -17687,7 +17687,7 @@ var init_dist_es = __esm(() => {
17687
17687
  init_fromEnv();
17688
17688
  });
17689
17689
 
17690
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/ImdsCredentials.js
17690
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/ImdsCredentials.js
17691
17691
  var isImdsCredentials = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.AccessKeyId === "string" && typeof arg.SecretAccessKey === "string" && typeof arg.Token === "string" && typeof arg.Expiration === "string", fromImdsCredentials = (creds) => ({
17692
17692
  accessKeyId: creds.AccessKeyId,
17693
17693
  secretAccessKey: creds.SecretAccessKey,
@@ -17696,14 +17696,14 @@ var isImdsCredentials = (arg) => Boolean(arg) && typeof arg === "object" && type
17696
17696
  ...creds.AccountId && { accountId: creds.AccountId }
17697
17697
  });
17698
17698
 
17699
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/RemoteProviderInit.js
17699
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/RemoteProviderInit.js
17700
17700
  var DEFAULT_TIMEOUT = 1000, DEFAULT_MAX_RETRIES = 0, providerConfigFromInit = ({ maxRetries = DEFAULT_MAX_RETRIES, timeout = DEFAULT_TIMEOUT }) => ({ maxRetries, timeout });
17701
17701
 
17702
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/node-http.js
17702
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/node-http.js
17703
17703
  import node_http from "http";
17704
17704
  var init_node_http = () => {};
17705
17705
 
17706
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/httpRequest.js
17706
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/httpRequest.js
17707
17707
  function httpRequest(options) {
17708
17708
  return new Promise((resolve, reject) => {
17709
17709
  const req = node_http.request({
@@ -17743,7 +17743,7 @@ var init_httpRequest = __esm(() => {
17743
17743
  import_config2 = __toESM(require_config(), 1);
17744
17744
  });
17745
17745
 
17746
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/retry.js
17746
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/retry.js
17747
17747
  var retry = (toRetry, maxRetries) => {
17748
17748
  let promise = toRetry();
17749
17749
  for (let i2 = 0;i2 < maxRetries; i2++) {
@@ -17752,7 +17752,7 @@ var retry = (toRetry, maxRetries) => {
17752
17752
  return promise;
17753
17753
  };
17754
17754
 
17755
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/fromContainerMetadata.js
17755
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@smithy/credential-provider-imds/dist-es/fromContainerMetadata.js
17756
17756
  var import_config3, ENV_CMDS_FULL_URI = "AWS_CONTAINER_CREDENTIALS_FULL_URI", ENV_CMDS_RELATIVE_URI = "AWS_CONTAINER_CREDENTIALS_RELATIVE_URI", ENV_CMDS_AUTH_TOKEN = "AWS_CONTAINER_AUTHORIZATION_TOKEN", fromContainerMetadata = (init = {}) => {
17757
17757
  const { timeout, maxRetries } = providerConfigFromInit(init);
17758
17758
  return () => retry(async () => {
@@ -17822,7 +17822,7 @@ var init_fromContainerMetadata = __esm(() => {
17822
17822
  GREENGRASS_PROTOCOLS = new Set(["http:", "https:"]);
17823
17823
  });
17824
17824
 
17825
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/error/InstanceMetadataV1FallbackError.js
17825
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@smithy/credential-provider-imds/dist-es/error/InstanceMetadataV1FallbackError.js
17826
17826
  var import_config4, InstanceMetadataV1FallbackError;
17827
17827
  var init_InstanceMetadataV1FallbackError = __esm(() => {
17828
17828
  import_config4 = __toESM(require_config(), 1);
@@ -17837,7 +17837,7 @@ var init_InstanceMetadataV1FallbackError = __esm(() => {
17837
17837
  };
17838
17838
  });
17839
17839
 
17840
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/config/Endpoint.js
17840
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@smithy/credential-provider-imds/dist-es/config/Endpoint.js
17841
17841
  var Endpoint;
17842
17842
  var init_Endpoint = __esm(() => {
17843
17843
  (function(Endpoint2) {
@@ -17846,7 +17846,7 @@ var init_Endpoint = __esm(() => {
17846
17846
  })(Endpoint || (Endpoint = {}));
17847
17847
  });
17848
17848
 
17849
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointConfigOptions.js
17849
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointConfigOptions.js
17850
17850
  var ENV_ENDPOINT_NAME = "AWS_EC2_METADATA_SERVICE_ENDPOINT", CONFIG_ENDPOINT_NAME = "ec2_metadata_service_endpoint", ENDPOINT_CONFIG_OPTIONS;
17851
17851
  var init_EndpointConfigOptions = __esm(() => {
17852
17852
  ENDPOINT_CONFIG_OPTIONS = {
@@ -17856,7 +17856,7 @@ var init_EndpointConfigOptions = __esm(() => {
17856
17856
  };
17857
17857
  });
17858
17858
 
17859
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointMode.js
17859
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointMode.js
17860
17860
  var EndpointMode;
17861
17861
  var init_EndpointMode = __esm(() => {
17862
17862
  (function(EndpointMode2) {
@@ -17865,7 +17865,7 @@ var init_EndpointMode = __esm(() => {
17865
17865
  })(EndpointMode || (EndpointMode = {}));
17866
17866
  });
17867
17867
 
17868
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointModeConfigOptions.js
17868
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointModeConfigOptions.js
17869
17869
  var ENV_ENDPOINT_MODE_NAME = "AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE", CONFIG_ENDPOINT_MODE_NAME = "ec2_metadata_service_endpoint_mode", ENDPOINT_MODE_CONFIG_OPTIONS;
17870
17870
  var init_EndpointModeConfigOptions = __esm(() => {
17871
17871
  init_EndpointMode();
@@ -17876,7 +17876,7 @@ var init_EndpointModeConfigOptions = __esm(() => {
17876
17876
  };
17877
17877
  });
17878
17878
 
17879
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/utils/getInstanceMetadataEndpoint.js
17879
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@smithy/credential-provider-imds/dist-es/utils/getInstanceMetadataEndpoint.js
17880
17880
  var import_config5, import_protocols, getInstanceMetadataEndpoint = async () => import_protocols.parseUrl(await getFromEndpointConfig() || await getFromEndpointModeConfig()), getFromEndpointConfig = async () => import_config5.loadConfig(ENDPOINT_CONFIG_OPTIONS)(), getFromEndpointModeConfig = async () => {
17881
17881
  const endpointMode = await import_config5.loadConfig(ENDPOINT_MODE_CONFIG_OPTIONS)();
17882
17882
  switch (endpointMode) {
@@ -17897,7 +17897,7 @@ var init_getInstanceMetadataEndpoint = __esm(() => {
17897
17897
  import_protocols = __toESM(require_protocols(), 1);
17898
17898
  });
17899
17899
 
17900
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/utils/getExtendedInstanceMetadataCredentials.js
17900
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@smithy/credential-provider-imds/dist-es/utils/getExtendedInstanceMetadataCredentials.js
17901
17901
  var STATIC_STABILITY_REFRESH_INTERVAL_SECONDS, STATIC_STABILITY_REFRESH_INTERVAL_JITTER_WINDOW_SECONDS, STATIC_STABILITY_DOC_URL = "https://docs.aws.amazon.com/sdkref/latest/guide/feature-static-credentials.html", getExtendedInstanceMetadataCredentials = (credentials, logger) => {
17902
17902
  const refreshInterval = STATIC_STABILITY_REFRESH_INTERVAL_SECONDS + Math.floor(Math.random() * STATIC_STABILITY_REFRESH_INTERVAL_JITTER_WINDOW_SECONDS);
17903
17903
  const newExpiration = new Date(Date.now() + refreshInterval * 1000);
@@ -17915,7 +17915,7 @@ var init_getExtendedInstanceMetadataCredentials = __esm(() => {
17915
17915
  STATIC_STABILITY_REFRESH_INTERVAL_JITTER_WINDOW_SECONDS = 5 * 60;
17916
17916
  });
17917
17917
 
17918
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/utils/staticStabilityProvider.js
17918
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@smithy/credential-provider-imds/dist-es/utils/staticStabilityProvider.js
17919
17919
  var staticStabilityProvider = (provider, options = {}) => {
17920
17920
  const logger = options?.logger || console;
17921
17921
  let pastCredentials;
@@ -17942,7 +17942,7 @@ var init_staticStabilityProvider = __esm(() => {
17942
17942
  init_getExtendedInstanceMetadataCredentials();
17943
17943
  });
17944
17944
 
17945
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/fromInstanceMetadata.js
17945
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@smithy/credential-provider-imds/dist-es/fromInstanceMetadata.js
17946
17946
  var import_config6, IMDS_PATH = "/latest/meta-data/iam/security-credentials/", IMDS_TOKEN_PATH = "/latest/api/token", AWS_EC2_METADATA_V1_DISABLED = "AWS_EC2_METADATA_V1_DISABLED", PROFILE_AWS_EC2_METADATA_V1_DISABLED = "ec2_metadata_v1_disabled", X_AWS_EC2_METADATA_TOKEN = "x-aws-ec2-metadata-token", fromInstanceMetadata = (init = {}) => staticStabilityProvider(getInstanceMetadataProvider(init), { logger: init.logger }), getInstanceMetadataProvider = (init = {}) => {
17947
17947
  let disableFetchToken = false;
17948
17948
  const { logger, profile } = init;
@@ -18062,7 +18062,7 @@ var init_fromInstanceMetadata = __esm(() => {
18062
18062
  import_config6 = __toESM(require_config(), 1);
18063
18063
  });
18064
18064
 
18065
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/index.js
18065
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@smithy/credential-provider-imds/dist-es/index.js
18066
18066
  var exports_dist_es2 = {};
18067
18067
  __export(exports_dist_es2, {
18068
18068
  providerConfigFromInit: () => providerConfigFromInit,
@@ -18085,7 +18085,7 @@ var init_dist_es2 = __esm(() => {
18085
18085
  init_Endpoint();
18086
18086
  });
18087
18087
 
18088
- // ../../node_modules/.bun/@smithy+node-http-handler@4.12.1/node_modules/@smithy/node-http-handler/dist-cjs/index.js
18088
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@smithy/node-http-handler/dist-cjs/index.js
18089
18089
  var require_dist_cjs6 = __commonJS((exports) => {
18090
18090
  var { hasOwn: hasOwn2 } = require_serde();
18091
18091
  var { streamCollector } = require_serde();
@@ -18911,7 +18911,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
18911
18911
  exports.NodeHttpHandler = NodeHttpHandler;
18912
18912
  });
18913
18913
 
18914
- // ../../node_modules/.bun/@aws-sdk+credential-provider-http@3.972.72/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/checkUrl.js
18914
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/checkUrl.js
18915
18915
  var import_config7, ECS_CONTAINER_HOST = "169.254.170.2", EKS_CONTAINER_HOST_IPv4 = "169.254.170.23", EKS_CONTAINER_HOST_IPv6 = "[fd00:ec2::23]", checkUrl = (url, logger) => {
18916
18916
  if (url.protocol === "https:") {
18917
18917
  return;
@@ -18945,7 +18945,7 @@ var init_checkUrl = __esm(() => {
18945
18945
  import_config7 = __toESM(require_config(), 1);
18946
18946
  });
18947
18947
 
18948
- // ../../node_modules/.bun/@aws-sdk+credential-provider-http@3.972.72/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/requestHelpers.js
18948
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/requestHelpers.js
18949
18949
  function createGetRequest(url) {
18950
18950
  return new import_protocols2.HttpRequest({
18951
18951
  protocol: url.protocol,
@@ -18994,7 +18994,7 @@ var init_requestHelpers = __esm(() => {
18994
18994
  import_serde2 = __toESM(require_serde(), 1);
18995
18995
  });
18996
18996
 
18997
- // ../../node_modules/.bun/@aws-sdk+credential-provider-http@3.972.72/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/retry-wrapper.js
18997
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/retry-wrapper.js
18998
18998
  var retryWrapper = (toRetry, maxRetries, delayMs) => {
18999
18999
  return async () => {
19000
19000
  for (let i2 = 0;i2 < maxRetries; ++i2) {
@@ -19008,7 +19008,7 @@ var retryWrapper = (toRetry, maxRetries, delayMs) => {
19008
19008
  };
19009
19009
  };
19010
19010
 
19011
- // ../../node_modules/.bun/@aws-sdk+credential-provider-http@3.972.72/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js
19011
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js
19012
19012
  import fs from "fs/promises";
19013
19013
  var import_client9, import_config9, import_node_http_handler, AWS_CONTAINER_CREDENTIALS_RELATIVE_URI = "AWS_CONTAINER_CREDENTIALS_RELATIVE_URI", DEFAULT_LINK_LOCAL_HOST = "http://169.254.170.2", AWS_CONTAINER_CREDENTIALS_FULL_URI = "AWS_CONTAINER_CREDENTIALS_FULL_URI", AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE = "AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE", AWS_CONTAINER_AUTHORIZATION_TOKEN = "AWS_CONTAINER_AUTHORIZATION_TOKEN", fromHttp = (options = {}) => {
19014
19014
  options.logger?.debug("@aws-sdk/credential-provider-http - fromHttp");
@@ -19074,7 +19074,7 @@ var init_fromHttp = __esm(() => {
19074
19074
  import_node_http_handler = __toESM(require_dist_cjs6(), 1);
19075
19075
  });
19076
19076
 
19077
- // ../../node_modules/.bun/@aws-sdk+credential-provider-http@3.972.72/node_modules/@aws-sdk/credential-provider-http/dist-es/index.js
19077
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/credential-provider-http/dist-es/index.js
19078
19078
  var exports_dist_es3 = {};
19079
19079
  __export(exports_dist_es3, {
19080
19080
  fromHttp: () => fromHttp
@@ -19083,16 +19083,16 @@ var init_dist_es3 = __esm(() => {
19083
19083
  init_fromHttp();
19084
19084
  });
19085
19085
 
19086
- // ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.14/node_modules/@aws-sdk/credential-provider-sso/dist-es/isSsoProfile.js
19086
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/credential-provider-sso/dist-es/isSsoProfile.js
19087
19087
  var isSsoProfile = (arg) => arg && (typeof arg.sso_start_url === "string" || typeof arg.sso_account_id === "string" || typeof arg.sso_session === "string" || typeof arg.sso_region === "string" || typeof arg.sso_role_name === "string");
19088
19088
 
19089
- // ../../node_modules/.bun/@aws-sdk+token-providers@3.1116.0/node_modules/@aws-sdk/token-providers/dist-es/constants.js
19089
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/token-providers/dist-es/constants.js
19090
19090
  var EXPIRE_WINDOW_MS, REFRESH_MESSAGE = `To refresh this SSO session run 'aws sso login' with the corresponding profile.`;
19091
19091
  var init_constants = __esm(() => {
19092
19092
  EXPIRE_WINDOW_MS = 5 * 60 * 1000;
19093
19093
  });
19094
19094
 
19095
- // ../../node_modules/.bun/@aws-sdk+nested-clients@3.997.44/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js
19095
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js
19096
19096
  var require_sso_oidc = __commonJS((exports) => {
19097
19097
  var { awsEndpointFunctions: awsEndpointFunctions2, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require_client2();
19098
19098
  var { NoAuthSigner, getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin } = require_dist_cjs2();
@@ -19847,7 +19847,7 @@ var require_sso_oidc = __commonJS((exports) => {
19847
19847
  exports.errorTypeRegistries = errorTypeRegistries2;
19848
19848
  });
19849
19849
 
19850
- // ../../node_modules/.bun/@aws-sdk+token-providers@3.1116.0/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js
19850
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js
19851
19851
  var getSsoOidcClient = async (ssoRegion, init = {}, callerClientConfig) => {
19852
19852
  const { SSOOIDCClient } = await Promise.resolve().then(() => __toESM(require_sso_oidc(), 1));
19853
19853
  const coalesce = (prop) => init.clientConfig?.[prop] ?? init.parentClientConfig?.[prop] ?? callerClientConfig?.[prop];
@@ -19859,7 +19859,7 @@ var getSsoOidcClient = async (ssoRegion, init = {}, callerClientConfig) => {
19859
19859
  return ssoOidcClient;
19860
19860
  };
19861
19861
 
19862
- // ../../node_modules/.bun/@aws-sdk+token-providers@3.1116.0/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js
19862
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js
19863
19863
  var getNewSsoOidcToken = async (ssoToken, ssoRegion, init = {}, callerClientConfig) => {
19864
19864
  const { CreateTokenCommand } = await Promise.resolve().then(() => __toESM(require_sso_oidc(), 1));
19865
19865
  const ssoOidcClient = await getSsoOidcClient(ssoRegion, init, callerClientConfig);
@@ -19872,7 +19872,7 @@ var getNewSsoOidcToken = async (ssoToken, ssoRegion, init = {}, callerClientConf
19872
19872
  };
19873
19873
  var init_getNewSsoOidcToken = () => {};
19874
19874
 
19875
- // ../../node_modules/.bun/@aws-sdk+token-providers@3.1116.0/node_modules/@aws-sdk/token-providers/dist-es/validateTokenExpiry.js
19875
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/token-providers/dist-es/validateTokenExpiry.js
19876
19876
  var import_config11, validateTokenExpiry = (token) => {
19877
19877
  if (token.expiration && token.expiration.getTime() < Date.now()) {
19878
19878
  throw new import_config11.TokenProviderError(`Token is expired. ${REFRESH_MESSAGE}`, false);
@@ -19883,7 +19883,7 @@ var init_validateTokenExpiry = __esm(() => {
19883
19883
  import_config11 = __toESM(require_config(), 1);
19884
19884
  });
19885
19885
 
19886
- // ../../node_modules/.bun/@aws-sdk+token-providers@3.1116.0/node_modules/@aws-sdk/token-providers/dist-es/validateTokenKey.js
19886
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/token-providers/dist-es/validateTokenKey.js
19887
19887
  var import_config12, validateTokenKey = (key, value, forRefresh = false) => {
19888
19888
  if (typeof value === "undefined") {
19889
19889
  throw new import_config12.TokenProviderError(`Value not present for '${key}' in SSO Token${forRefresh ? ". Cannot refresh" : ""}. ${REFRESH_MESSAGE}`, false);
@@ -19894,7 +19894,7 @@ var init_validateTokenKey = __esm(() => {
19894
19894
  import_config12 = __toESM(require_config(), 1);
19895
19895
  });
19896
19896
 
19897
- // ../../node_modules/.bun/@aws-sdk+token-providers@3.1116.0/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js
19897
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js
19898
19898
  import { promises as fsPromises } from "fs";
19899
19899
  var import_config13, writeFile, writeSSOTokenToFile = (id, ssoToken) => {
19900
19900
  const tokenFilepath = import_config13.getSSOTokenFilepath(id);
@@ -19906,7 +19906,7 @@ var init_writeSSOTokenToFile = __esm(() => {
19906
19906
  ({ writeFile } = fsPromises);
19907
19907
  });
19908
19908
 
19909
- // ../../node_modules/.bun/@aws-sdk+token-providers@3.1116.0/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js
19909
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js
19910
19910
  var import_config14, lastRefreshAttemptTimes, fromSso = (init = {}) => async ({ callerClientConfig } = {}) => {
19911
19911
  init.logger?.debug("@aws-sdk/token-providers - fromSso");
19912
19912
  const profiles = await import_config14.parseKnownFiles(init);
@@ -19989,12 +19989,12 @@ var init_fromSso = __esm(() => {
19989
19989
  lastRefreshAttemptTimes = new Map;
19990
19990
  });
19991
19991
 
19992
- // ../../node_modules/.bun/@aws-sdk+token-providers@3.1116.0/node_modules/@aws-sdk/token-providers/dist-es/index.js
19992
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/token-providers/dist-es/index.js
19993
19993
  var init_dist_es4 = __esm(() => {
19994
19994
  init_fromSso();
19995
19995
  });
19996
19996
 
19997
- // ../../node_modules/.bun/@aws-sdk+nested-clients@3.997.44/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js
19997
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js
19998
19998
  function createAwsAuthSigv4HttpAuthOption2(authParameters) {
19999
19999
  return {
20000
20000
  schemeId: "aws.auth#sigv4",
@@ -20442,7 +20442,7 @@ var init_sso = __esm(() => {
20442
20442
  $SSOClient = SSOClient;
20443
20443
  });
20444
20444
 
20445
- // ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.14/node_modules/@aws-sdk/credential-provider-sso/dist-es/loadSso.js
20445
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/credential-provider-sso/dist-es/loadSso.js
20446
20446
  var exports_loadSso = {};
20447
20447
  __export(exports_loadSso, {
20448
20448
  SSOClient: () => $SSOClient,
@@ -20452,7 +20452,7 @@ var init_loadSso = __esm(() => {
20452
20452
  init_sso();
20453
20453
  });
20454
20454
 
20455
- // ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.14/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js
20455
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js
20456
20456
  var import_client10, import_config15, SHOULD_FAIL_CREDENTIAL_CHAIN = false, resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ssoRegion, ssoRoleName, ssoClient, clientConfig, parentClientConfig, callerClientConfig, profile, filepath, configFilepath, ignoreCache, logger }) => {
20457
20457
  let token;
20458
20458
  const refreshMessage = `To refresh this SSO session run aws sso login with the corresponding profile.`;
@@ -20541,7 +20541,7 @@ var init_resolveSSOCredentials = __esm(() => {
20541
20541
  import_config15 = __toESM(require_config(), 1);
20542
20542
  });
20543
20543
 
20544
- // ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.14/node_modules/@aws-sdk/credential-provider-sso/dist-es/validateSsoProfile.js
20544
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/credential-provider-sso/dist-es/validateSsoProfile.js
20545
20545
  var import_config16, validateSsoProfile = (profile, logger) => {
20546
20546
  const { sso_start_url, sso_account_id, sso_region, sso_role_name } = profile;
20547
20547
  if (!sso_start_url || !sso_account_id || !sso_region || !sso_role_name) {
@@ -20554,7 +20554,7 @@ var init_validateSsoProfile = __esm(() => {
20554
20554
  import_config16 = __toESM(require_config(), 1);
20555
20555
  });
20556
20556
 
20557
- // ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.14/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js
20557
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js
20558
20558
  var import_config17, fromSSO = (init = {}) => async ({ callerClientConfig } = {}) => {
20559
20559
  init.logger?.debug("@aws-sdk/credential-provider-sso - fromSSO");
20560
20560
  const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;
@@ -20636,7 +20636,7 @@ var init_fromSSO = __esm(() => {
20636
20636
  import_config17 = __toESM(require_config(), 1);
20637
20637
  });
20638
20638
 
20639
- // ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.14/node_modules/@aws-sdk/credential-provider-sso/dist-es/index.js
20639
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/credential-provider-sso/dist-es/index.js
20640
20640
  var exports_dist_es4 = {};
20641
20641
  __export(exports_dist_es4, {
20642
20642
  validateSsoProfile: () => validateSsoProfile,
@@ -20648,7 +20648,7 @@ var init_dist_es5 = __esm(() => {
20648
20648
  init_validateSsoProfile();
20649
20649
  });
20650
20650
 
20651
- // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.15/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js
20651
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js
20652
20652
  var import_client11, import_config18, resolveCredentialSource = (credentialSource, profileName, logger) => {
20653
20653
  const sourceProvidersMap = {
20654
20654
  EcsContainer: async (options) => {
@@ -20679,7 +20679,7 @@ var init_resolveCredentialSource = __esm(() => {
20679
20679
  import_config18 = __toESM(require_config(), 1);
20680
20680
  });
20681
20681
 
20682
- // ../../node_modules/.bun/@aws-sdk+nested-clients@3.997.44/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js
20682
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js
20683
20683
  var require_sts = __commonJS((exports) => {
20684
20684
  var { awsEndpointFunctions: awsEndpointFunctions3, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$12, createDefaultUserAgentProvider: createDefaultUserAgentProvider2, NODE_APP_ID_CONFIG_OPTIONS: NODE_APP_ID_CONFIG_OPTIONS2, getAwsRegionExtensionConfiguration: getAwsRegionExtensionConfiguration2, resolveAwsRegionExtensionConfiguration: resolveAwsRegionExtensionConfiguration2, resolveUserAgentConfig: resolveUserAgentConfig2, resolveHostHeaderConfig: resolveHostHeaderConfig2, getUserAgentPlugin: getUserAgentPlugin2, getHostHeaderPlugin: getHostHeaderPlugin2, getLoggerPlugin: getLoggerPlugin2, getRecursionDetectionPlugin: getRecursionDetectionPlugin2, setCredentialFeature: setCredentialFeature5, stsRegionDefaultResolver } = require_client2();
20685
20685
  var { NoAuthSigner: NoAuthSigner2, getHttpAuthSchemeEndpointRuleSetPlugin: getHttpAuthSchemeEndpointRuleSetPlugin2, DefaultIdentityProviderConfig: DefaultIdentityProviderConfig2, getHttpSigningPlugin: getHttpSigningPlugin2 } = require_dist_cjs2();
@@ -21701,7 +21701,7 @@ var require_sts = __commonJS((exports) => {
21701
21701
  exports.getDefaultRoleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity;
21702
21702
  });
21703
21703
 
21704
- // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.15/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js
21704
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js
21705
21705
  var import_client12, import_config19, isAssumeRoleProfile = (arg, { profile = "default", logger } = {}) => {
21706
21706
  return Boolean(arg) && typeof arg === "object" && typeof arg.role_arn === "string" && ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1 && ["undefined", "string"].indexOf(typeof arg.external_id) > -1 && ["undefined", "string"].indexOf(typeof arg.mfa_serial) > -1 && (isAssumeRoleWithSourceProfile(arg, { profile, logger }) || isCredentialSourceProfile(arg, { profile, logger }));
21707
21707
  }, isAssumeRoleWithSourceProfile = (arg, { profile, logger }) => {
@@ -21769,7 +21769,7 @@ var init_resolveAssumeRoleCredentials = __esm(() => {
21769
21769
  import_config19 = __toESM(require_config(), 1);
21770
21770
  });
21771
21771
 
21772
- // ../../node_modules/.bun/@aws-sdk+nested-clients@3.997.44/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js
21772
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js
21773
21773
  var require_signin = __commonJS((exports) => {
21774
21774
  var { awsEndpointFunctions: awsEndpointFunctions3, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$12, createDefaultUserAgentProvider: createDefaultUserAgentProvider2, NODE_APP_ID_CONFIG_OPTIONS: NODE_APP_ID_CONFIG_OPTIONS2, getAwsRegionExtensionConfiguration: getAwsRegionExtensionConfiguration2, resolveAwsRegionExtensionConfiguration: resolveAwsRegionExtensionConfiguration2, resolveUserAgentConfig: resolveUserAgentConfig2, resolveHostHeaderConfig: resolveHostHeaderConfig2, getUserAgentPlugin: getUserAgentPlugin2, getHostHeaderPlugin: getHostHeaderPlugin2, getLoggerPlugin: getLoggerPlugin2, getRecursionDetectionPlugin: getRecursionDetectionPlugin2 } = require_client2();
21775
21775
  var { NoAuthSigner: NoAuthSigner2, getHttpAuthSchemeEndpointRuleSetPlugin: getHttpAuthSchemeEndpointRuleSetPlugin2, DefaultIdentityProviderConfig: DefaultIdentityProviderConfig2, getHttpSigningPlugin: getHttpSigningPlugin2 } = require_dist_cjs2();
@@ -22501,7 +22501,7 @@ var require_signin = __commonJS((exports) => {
22501
22501
  exports.errorTypeRegistries = errorTypeRegistries3;
22502
22502
  });
22503
22503
 
22504
- // ../../node_modules/.bun/@aws-sdk+credential-provider-login@3.972.77/node_modules/@aws-sdk/credential-provider-login/dist-es/LoginCredentialsFetcher.js
22504
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/credential-provider-login/dist-es/LoginCredentialsFetcher.js
22505
22505
  import { createHash as createHash3, createPrivateKey, createPublicKey, sign } from "crypto";
22506
22506
  import { promises as fs2 } from "fs";
22507
22507
  import { homedir } from "os";
@@ -22765,7 +22765,7 @@ var init_LoginCredentialsFetcher = __esm(() => {
22765
22765
  };
22766
22766
  });
22767
22767
 
22768
- // ../../node_modules/.bun/@aws-sdk+credential-provider-login@3.972.77/node_modules/@aws-sdk/credential-provider-login/dist-es/fromLoginCredentials.js
22768
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/credential-provider-login/dist-es/fromLoginCredentials.js
22769
22769
  var import_client13, import_config21, fromLoginCredentials = (init) => async ({ callerClientConfig } = {}) => {
22770
22770
  init?.logger?.debug?.("@aws-sdk/credential-providers - fromLoginCredentials");
22771
22771
  const profiles = await import_config21.parseKnownFiles(init || {});
@@ -22789,7 +22789,7 @@ var init_fromLoginCredentials = __esm(() => {
22789
22789
  import_config21 = __toESM(require_config(), 1);
22790
22790
  });
22791
22791
 
22792
- // ../../node_modules/.bun/@aws-sdk+credential-provider-login@3.972.77/node_modules/@aws-sdk/credential-provider-login/dist-es/index.js
22792
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/credential-provider-login/dist-es/index.js
22793
22793
  var exports_dist_es5 = {};
22794
22794
  __export(exports_dist_es5, {
22795
22795
  fromLoginCredentials: () => fromLoginCredentials
@@ -22798,7 +22798,7 @@ var init_dist_es6 = __esm(() => {
22798
22798
  init_fromLoginCredentials();
22799
22799
  });
22800
22800
 
22801
- // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.15/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveLoginCredentials.js
22801
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveLoginCredentials.js
22802
22802
  var import_client14, isLoginProfile = (data) => {
22803
22803
  return Boolean(data && data.login_session);
22804
22804
  }, resolveLoginCredentials = async (profileName, options, callerClientConfig) => {
@@ -22813,7 +22813,7 @@ var init_resolveLoginCredentials = __esm(() => {
22813
22813
  import_client14 = __toESM(require_client2(), 1);
22814
22814
  });
22815
22815
 
22816
- // ../../node_modules/.bun/@aws-sdk+credential-provider-process@3.972.70/node_modules/@aws-sdk/credential-provider-process/dist-es/getValidatedProcessCredentials.js
22816
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/credential-provider-process/dist-es/getValidatedProcessCredentials.js
22817
22817
  var import_client15, getValidatedProcessCredentials = (profileName, data, profiles) => {
22818
22818
  if (data.Version !== 1) {
22819
22819
  throw Error(`Profile ${profileName} credential_process did not return Version 1.`);
@@ -22847,7 +22847,7 @@ var init_getValidatedProcessCredentials = __esm(() => {
22847
22847
  import_client15 = __toESM(require_client2(), 1);
22848
22848
  });
22849
22849
 
22850
- // ../../node_modules/.bun/@aws-sdk+credential-provider-process@3.972.70/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js
22850
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js
22851
22851
  import { exec } from "child_process";
22852
22852
  import { promisify } from "util";
22853
22853
  var import_config22, resolveProcessCredentials = async (profileName, profiles, logger) => {
@@ -22882,7 +22882,7 @@ var init_resolveProcessCredentials = __esm(() => {
22882
22882
  import_config22 = __toESM(require_config(), 1);
22883
22883
  });
22884
22884
 
22885
- // ../../node_modules/.bun/@aws-sdk+credential-provider-process@3.972.70/node_modules/@aws-sdk/credential-provider-process/dist-es/fromProcess.js
22885
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/credential-provider-process/dist-es/fromProcess.js
22886
22886
  var import_config23, fromProcess = (init = {}) => async ({ callerClientConfig } = {}) => {
22887
22887
  init.logger?.debug("@aws-sdk/credential-provider-process - fromProcess");
22888
22888
  const profiles = await import_config23.parseKnownFiles(init);
@@ -22895,7 +22895,7 @@ var init_fromProcess = __esm(() => {
22895
22895
  import_config23 = __toESM(require_config(), 1);
22896
22896
  });
22897
22897
 
22898
- // ../../node_modules/.bun/@aws-sdk+credential-provider-process@3.972.70/node_modules/@aws-sdk/credential-provider-process/dist-es/index.js
22898
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/credential-provider-process/dist-es/index.js
22899
22899
  var exports_dist_es6 = {};
22900
22900
  __export(exports_dist_es6, {
22901
22901
  fromProcess: () => fromProcess
@@ -22904,7 +22904,7 @@ var init_dist_es7 = __esm(() => {
22904
22904
  init_fromProcess();
22905
22905
  });
22906
22906
 
22907
- // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.15/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js
22907
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js
22908
22908
  var import_client16, isProcessProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.credential_process === "string", resolveProcessCredentials2 = async (options, profile) => {
22909
22909
  const { fromProcess: fromProcess2 } = await Promise.resolve().then(() => (init_dist_es7(), exports_dist_es6));
22910
22910
  const credentials = await fromProcess2({
@@ -22917,7 +22917,7 @@ var init_resolveProcessCredentials2 = __esm(() => {
22917
22917
  import_client16 = __toESM(require_client2(), 1);
22918
22918
  });
22919
22919
 
22920
- // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.15/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js
22920
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js
22921
22921
  var import_client17, resolveSsoCredentials = async (profile, profileData, options = {}, callerClientConfig) => {
22922
22922
  const { fromSSO: fromSSO2 } = await Promise.resolve().then(() => (init_dist_es5(), exports_dist_es4));
22923
22923
  return fromSSO2({
@@ -22939,7 +22939,7 @@ var init_resolveSsoCredentials = __esm(() => {
22939
22939
  import_client17 = __toESM(require_client2(), 1);
22940
22940
  });
22941
22941
 
22942
- // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.15/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveStaticCredentials.js
22942
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveStaticCredentials.js
22943
22943
  var import_client18, isStaticCredsProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.aws_access_key_id === "string" && typeof arg.aws_secret_access_key === "string" && ["undefined", "string"].indexOf(typeof arg.aws_session_token) > -1 && ["undefined", "string"].indexOf(typeof arg.aws_account_id) > -1, resolveStaticCredentials = async (profile, options) => {
22944
22944
  options?.logger?.debug("@aws-sdk/credential-provider-ini - resolveStaticCredentials");
22945
22945
  const credentials = {
@@ -22955,7 +22955,7 @@ var init_resolveStaticCredentials = __esm(() => {
22955
22955
  import_client18 = __toESM(require_client2(), 1);
22956
22956
  });
22957
22957
 
22958
- // ../../node_modules/.bun/@aws-sdk+credential-provider-web-identity@3.972.76/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromWebToken.js
22958
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromWebToken.js
22959
22959
  var fromWebToken = (init) => async (awsIdentityProperties) => {
22960
22960
  init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromWebToken");
22961
22961
  const { roleArn, roleSessionName, webIdentityToken, providerId, policyArns, policy, durationSeconds } = init;
@@ -22982,7 +22982,7 @@ var fromWebToken = (init) => async (awsIdentityProperties) => {
22982
22982
  });
22983
22983
  };
22984
22984
 
22985
- // ../../node_modules/.bun/@aws-sdk+credential-provider-web-identity@3.972.76/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js
22985
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js
22986
22986
  import { readFileSync as readFileSync3 } from "fs";
22987
22987
  var import_client19, import_config24, ENV_TOKEN_FILE = "AWS_WEB_IDENTITY_TOKEN_FILE", ENV_ROLE_ARN = "AWS_ROLE_ARN", ENV_ROLE_SESSION_NAME = "AWS_ROLE_SESSION_NAME", fromTokenFile = (init = {}) => async (awsIdentityProperties) => {
22988
22988
  init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromTokenFile");
@@ -23010,7 +23010,7 @@ var init_fromTokenFile = __esm(() => {
23010
23010
  import_config24 = __toESM(require_config(), 1);
23011
23011
  });
23012
23012
 
23013
- // ../../node_modules/.bun/@aws-sdk+credential-provider-web-identity@3.972.76/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/index.js
23013
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/index.js
23014
23014
  var exports_dist_es7 = {};
23015
23015
  __export(exports_dist_es7, {
23016
23016
  fromWebToken: () => fromWebToken,
@@ -23020,7 +23020,7 @@ var init_dist_es8 = __esm(() => {
23020
23020
  init_fromTokenFile();
23021
23021
  });
23022
23022
 
23023
- // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.15/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js
23023
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js
23024
23024
  var import_client20, isWebIdentityProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.web_identity_token_file === "string" && typeof arg.role_arn === "string" && ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1, resolveWebIdentityCredentials = async (profile, options, callerClientConfig) => {
23025
23025
  const { fromTokenFile: fromTokenFile2 } = await Promise.resolve().then(() => (init_dist_es8(), exports_dist_es7));
23026
23026
  const credentials = await fromTokenFile2({
@@ -23039,7 +23039,7 @@ var init_resolveWebIdentityCredentials = __esm(() => {
23039
23039
  import_client20 = __toESM(require_client2(), 1);
23040
23040
  });
23041
23041
 
23042
- // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.15/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js
23042
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js
23043
23043
  var import_config25, resolveProfileData = async (profileName, profiles, options, callerClientConfig, visitedProfiles = {}, isAssumeRoleRecursiveCall = false) => {
23044
23044
  const data = profiles[profileName];
23045
23045
  if (Object.keys(visitedProfiles).length > 0 && isStaticCredsProfile(data)) {
@@ -23075,7 +23075,7 @@ var init_resolveProfileData = __esm(() => {
23075
23075
  import_config25 = __toESM(require_config(), 1);
23076
23076
  });
23077
23077
 
23078
- // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.15/node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js
23078
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js
23079
23079
  var import_config26, fromIni = (init = {}) => async ({ callerClientConfig } = {}) => {
23080
23080
  init.logger?.debug("@aws-sdk/credential-provider-ini - fromIni");
23081
23081
  const profiles = await import_config26.parseKnownFiles(init);
@@ -23088,7 +23088,7 @@ var init_fromIni = __esm(() => {
23088
23088
  import_config26 = __toESM(require_config(), 1);
23089
23089
  });
23090
23090
 
23091
- // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.15/node_modules/@aws-sdk/credential-provider-ini/dist-es/index.js
23091
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/credential-provider-ini/dist-es/index.js
23092
23092
  var exports_dist_es8 = {};
23093
23093
  __export(exports_dist_es8, {
23094
23094
  fromIni: () => fromIni
@@ -23097,7 +23097,7 @@ var init_dist_es9 = __esm(() => {
23097
23097
  init_fromIni();
23098
23098
  });
23099
23099
 
23100
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js
23100
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/nodes/identity.js
23101
23101
  var require_identity = __commonJS((exports) => {
23102
23102
  var ALIAS = Symbol.for("yaml.alias");
23103
23103
  var DOC = Symbol.for("yaml.document");
@@ -23151,7 +23151,7 @@ var require_identity = __commonJS((exports) => {
23151
23151
  exports.isSeq = isSeq;
23152
23152
  });
23153
23153
 
23154
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/visit.js
23154
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/visit.js
23155
23155
  var require_visit = __commonJS((exports) => {
23156
23156
  var identity = require_identity();
23157
23157
  var BREAK = Symbol("break visit");
@@ -23306,7 +23306,7 @@ var require_visit = __commonJS((exports) => {
23306
23306
  exports.visitAsync = visitAsync;
23307
23307
  });
23308
23308
 
23309
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/directives.js
23309
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/doc/directives.js
23310
23310
  var require_directives = __commonJS((exports) => {
23311
23311
  var identity = require_identity();
23312
23312
  var visit = require_visit();
@@ -23458,7 +23458,7 @@ var require_directives = __commonJS((exports) => {
23458
23458
  exports.Directives = Directives;
23459
23459
  });
23460
23460
 
23461
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/anchors.js
23461
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/doc/anchors.js
23462
23462
  var require_anchors = __commonJS((exports) => {
23463
23463
  var identity = require_identity();
23464
23464
  var visit = require_visit();
@@ -23520,7 +23520,7 @@ var require_anchors = __commonJS((exports) => {
23520
23520
  exports.findNewAnchor = findNewAnchor;
23521
23521
  });
23522
23522
 
23523
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/applyReviver.js
23523
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/doc/applyReviver.js
23524
23524
  var require_applyReviver = __commonJS((exports) => {
23525
23525
  function applyReviver(reviver, obj, key, val) {
23526
23526
  if (val && typeof val === "object") {
@@ -23567,7 +23567,7 @@ var require_applyReviver = __commonJS((exports) => {
23567
23567
  exports.applyReviver = applyReviver;
23568
23568
  });
23569
23569
 
23570
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/toJS.js
23570
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/nodes/toJS.js
23571
23571
  var require_toJS = __commonJS((exports) => {
23572
23572
  var identity = require_identity();
23573
23573
  function toJS(value, arg, ctx) {
@@ -23594,7 +23594,7 @@ var require_toJS = __commonJS((exports) => {
23594
23594
  exports.toJS = toJS;
23595
23595
  });
23596
23596
 
23597
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Node.js
23597
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/nodes/Node.js
23598
23598
  var require_Node = __commonJS((exports) => {
23599
23599
  var applyReviver = require_applyReviver();
23600
23600
  var identity = require_identity();
@@ -23631,7 +23631,7 @@ var require_Node = __commonJS((exports) => {
23631
23631
  exports.NodeBase = NodeBase;
23632
23632
  });
23633
23633
 
23634
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Alias.js
23634
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/nodes/Alias.js
23635
23635
  var require_Alias = __commonJS((exports) => {
23636
23636
  var anchors = require_anchors();
23637
23637
  var visit = require_visit();
@@ -23741,7 +23741,7 @@ var require_Alias = __commonJS((exports) => {
23741
23741
  exports.Alias = Alias;
23742
23742
  });
23743
23743
 
23744
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js
23744
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/nodes/Scalar.js
23745
23745
  var require_Scalar = __commonJS((exports) => {
23746
23746
  var identity = require_identity();
23747
23747
  var Node = require_Node();
@@ -23769,7 +23769,7 @@ var require_Scalar = __commonJS((exports) => {
23769
23769
  exports.isScalarValue = isScalarValue;
23770
23770
  });
23771
23771
 
23772
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/createNode.js
23772
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/doc/createNode.js
23773
23773
  var require_createNode = __commonJS((exports) => {
23774
23774
  var Alias = require_Alias();
23775
23775
  var identity = require_identity();
@@ -23841,7 +23841,7 @@ var require_createNode = __commonJS((exports) => {
23841
23841
  exports.createNode = createNode;
23842
23842
  });
23843
23843
 
23844
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Collection.js
23844
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/nodes/Collection.js
23845
23845
  var require_Collection = __commonJS((exports) => {
23846
23846
  var createNode = require_createNode();
23847
23847
  var identity = require_identity();
@@ -23956,7 +23956,7 @@ var require_Collection = __commonJS((exports) => {
23956
23956
  exports.isEmptyPath = isEmptyPath;
23957
23957
  });
23958
23958
 
23959
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyComment.js
23959
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/stringify/stringifyComment.js
23960
23960
  var require_stringifyComment = __commonJS((exports) => {
23961
23961
  var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#");
23962
23962
  function indentComment(comment, indent) {
@@ -23973,7 +23973,7 @@ var require_stringifyComment = __commonJS((exports) => {
23973
23973
  exports.stringifyComment = stringifyComment;
23974
23974
  });
23975
23975
 
23976
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/foldFlowLines.js
23976
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/stringify/foldFlowLines.js
23977
23977
  var require_foldFlowLines = __commonJS((exports) => {
23978
23978
  var FOLD_FLOW = "flow";
23979
23979
  var FOLD_BLOCK = "block";
@@ -24110,7 +24110,7 @@ ${indent}${text2.slice(fold + 1, end2)}`;
24110
24110
  exports.foldFlowLines = foldFlowLines;
24111
24111
  });
24112
24112
 
24113
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyString.js
24113
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/stringify/stringifyString.js
24114
24114
  var require_stringifyString = __commonJS((exports) => {
24115
24115
  var Scalar = require_Scalar();
24116
24116
  var foldFlowLines = require_foldFlowLines();
@@ -24408,7 +24408,7 @@ ${indent}`);
24408
24408
  exports.stringifyString = stringifyString;
24409
24409
  });
24410
24410
 
24411
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringify.js
24411
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/stringify/stringify.js
24412
24412
  var require_stringify = __commonJS((exports) => {
24413
24413
  var anchors = require_anchors();
24414
24414
  var identity = require_identity();
@@ -24529,7 +24529,7 @@ ${ctx.indent}${str}`;
24529
24529
  exports.stringify = stringify;
24530
24530
  });
24531
24531
 
24532
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyPair.js
24532
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/stringify/stringifyPair.js
24533
24533
  var require_stringifyPair = __commonJS((exports) => {
24534
24534
  var identity = require_identity();
24535
24535
  var Scalar = require_Scalar();
@@ -24665,7 +24665,7 @@ ${ctx.indent}`;
24665
24665
  exports.stringifyPair = stringifyPair;
24666
24666
  });
24667
24667
 
24668
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/log.js
24668
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/log.js
24669
24669
  var require_log = __commonJS((exports) => {
24670
24670
  var node_process = __require("process");
24671
24671
  function debug(logLevel, ...messages) {
@@ -24684,7 +24684,7 @@ var require_log = __commonJS((exports) => {
24684
24684
  exports.warn = warn;
24685
24685
  });
24686
24686
 
24687
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/merge.js
24687
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/schema/yaml-1.1/merge.js
24688
24688
  var require_merge = __commonJS((exports) => {
24689
24689
  var identity = require_identity();
24690
24690
  var Scalar = require_Scalar();
@@ -24741,7 +24741,7 @@ var require_merge = __commonJS((exports) => {
24741
24741
  exports.merge = merge;
24742
24742
  });
24743
24743
 
24744
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/addPairToJSMap.js
24744
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/nodes/addPairToJSMap.js
24745
24745
  var require_addPairToJSMap = __commonJS((exports) => {
24746
24746
  var log = require_log();
24747
24747
  var merge = require_merge();
@@ -24802,7 +24802,7 @@ var require_addPairToJSMap = __commonJS((exports) => {
24802
24802
  exports.addPairToJSMap = addPairToJSMap;
24803
24803
  });
24804
24804
 
24805
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Pair.js
24805
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/nodes/Pair.js
24806
24806
  var require_Pair = __commonJS((exports) => {
24807
24807
  var createNode = require_createNode();
24808
24808
  var stringifyPair = require_stringifyPair();
@@ -24840,7 +24840,7 @@ var require_Pair = __commonJS((exports) => {
24840
24840
  exports.createPair = createPair;
24841
24841
  });
24842
24842
 
24843
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyCollection.js
24843
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/stringify/stringifyCollection.js
24844
24844
  var require_stringifyCollection = __commonJS((exports) => {
24845
24845
  var identity = require_identity();
24846
24846
  var stringify = require_stringify();
@@ -24992,7 +24992,7 @@ ${indent}${end}`;
24992
24992
  exports.stringifyCollection = stringifyCollection;
24993
24993
  });
24994
24994
 
24995
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLMap.js
24995
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/nodes/YAMLMap.js
24996
24996
  var require_YAMLMap = __commonJS((exports) => {
24997
24997
  var stringifyCollection = require_stringifyCollection();
24998
24998
  var addPairToJSMap = require_addPairToJSMap();
@@ -25119,7 +25119,7 @@ var require_YAMLMap = __commonJS((exports) => {
25119
25119
  exports.findPair = findPair;
25120
25120
  });
25121
25121
 
25122
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/common/map.js
25122
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/schema/common/map.js
25123
25123
  var require_map = __commonJS((exports) => {
25124
25124
  var identity = require_identity();
25125
25125
  var YAMLMap = require_YAMLMap();
@@ -25138,7 +25138,7 @@ var require_map = __commonJS((exports) => {
25138
25138
  exports.map = map;
25139
25139
  });
25140
25140
 
25141
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLSeq.js
25141
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/nodes/YAMLSeq.js
25142
25142
  var require_YAMLSeq = __commonJS((exports) => {
25143
25143
  var createNode = require_createNode();
25144
25144
  var stringifyCollection = require_stringifyCollection();
@@ -25231,7 +25231,7 @@ var require_YAMLSeq = __commonJS((exports) => {
25231
25231
  exports.YAMLSeq = YAMLSeq;
25232
25232
  });
25233
25233
 
25234
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/common/seq.js
25234
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/schema/common/seq.js
25235
25235
  var require_seq = __commonJS((exports) => {
25236
25236
  var identity = require_identity();
25237
25237
  var YAMLSeq = require_YAMLSeq();
@@ -25250,7 +25250,7 @@ var require_seq = __commonJS((exports) => {
25250
25250
  exports.seq = seq;
25251
25251
  });
25252
25252
 
25253
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/common/string.js
25253
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/schema/common/string.js
25254
25254
  var require_string = __commonJS((exports) => {
25255
25255
  var stringifyString = require_stringifyString();
25256
25256
  var string = {
@@ -25266,7 +25266,7 @@ var require_string = __commonJS((exports) => {
25266
25266
  exports.string = string;
25267
25267
  });
25268
25268
 
25269
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/common/null.js
25269
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/schema/common/null.js
25270
25270
  var require_null = __commonJS((exports) => {
25271
25271
  var Scalar = require_Scalar();
25272
25272
  var nullTag = {
@@ -25281,7 +25281,7 @@ var require_null = __commonJS((exports) => {
25281
25281
  exports.nullTag = nullTag;
25282
25282
  });
25283
25283
 
25284
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/core/bool.js
25284
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/schema/core/bool.js
25285
25285
  var require_bool = __commonJS((exports) => {
25286
25286
  var Scalar = require_Scalar();
25287
25287
  var boolTag = {
@@ -25302,7 +25302,7 @@ var require_bool = __commonJS((exports) => {
25302
25302
  exports.boolTag = boolTag;
25303
25303
  });
25304
25304
 
25305
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyNumber.js
25305
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/stringify/stringifyNumber.js
25306
25306
  var require_stringifyNumber = __commonJS((exports) => {
25307
25307
  function stringifyNumber({ format, minFractionDigits, tag, value }) {
25308
25308
  if (typeof value === "bigint")
@@ -25326,7 +25326,7 @@ var require_stringifyNumber = __commonJS((exports) => {
25326
25326
  exports.stringifyNumber = stringifyNumber;
25327
25327
  });
25328
25328
 
25329
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/core/float.js
25329
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/schema/core/float.js
25330
25330
  var require_float = __commonJS((exports) => {
25331
25331
  var Scalar = require_Scalar();
25332
25332
  var stringifyNumber = require_stringifyNumber();
@@ -25369,7 +25369,7 @@ var require_float = __commonJS((exports) => {
25369
25369
  exports.floatNaN = floatNaN;
25370
25370
  });
25371
25371
 
25372
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/core/int.js
25372
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/schema/core/int.js
25373
25373
  var require_int = __commonJS((exports) => {
25374
25374
  var stringifyNumber = require_stringifyNumber();
25375
25375
  var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
@@ -25411,7 +25411,7 @@ var require_int = __commonJS((exports) => {
25411
25411
  exports.intOct = intOct;
25412
25412
  });
25413
25413
 
25414
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/core/schema.js
25414
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/schema/core/schema.js
25415
25415
  var require_schema2 = __commonJS((exports) => {
25416
25416
  var map = require_map();
25417
25417
  var _null = require_null();
@@ -25436,7 +25436,7 @@ var require_schema2 = __commonJS((exports) => {
25436
25436
  exports.schema = schema;
25437
25437
  });
25438
25438
 
25439
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/json/schema.js
25439
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/schema/json/schema.js
25440
25440
  var require_schema3 = __commonJS((exports) => {
25441
25441
  var Scalar = require_Scalar();
25442
25442
  var map = require_map();
@@ -25500,7 +25500,7 @@ var require_schema3 = __commonJS((exports) => {
25500
25500
  exports.schema = schema;
25501
25501
  });
25502
25502
 
25503
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/binary.js
25503
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/schema/yaml-1.1/binary.js
25504
25504
  var require_binary = __commonJS((exports) => {
25505
25505
  var node_buffer = __require("buffer");
25506
25506
  var Scalar = require_Scalar();
@@ -25555,7 +25555,7 @@ var require_binary = __commonJS((exports) => {
25555
25555
  exports.binary = binary;
25556
25556
  });
25557
25557
 
25558
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
25558
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
25559
25559
  var require_pairs = __commonJS((exports) => {
25560
25560
  var identity = require_identity();
25561
25561
  var Pair = require_Pair();
@@ -25630,7 +25630,7 @@ ${cn.comment}` : item.comment;
25630
25630
  exports.resolvePairs = resolvePairs;
25631
25631
  });
25632
25632
 
25633
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/omap.js
25633
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/schema/yaml-1.1/omap.js
25634
25634
  var require_omap = __commonJS((exports) => {
25635
25635
  var identity = require_identity();
25636
25636
  var toJS = require_toJS();
@@ -25702,7 +25702,7 @@ var require_omap = __commonJS((exports) => {
25702
25702
  exports.omap = omap;
25703
25703
  });
25704
25704
 
25705
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/bool.js
25705
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/schema/yaml-1.1/bool.js
25706
25706
  var require_bool2 = __commonJS((exports) => {
25707
25707
  var Scalar = require_Scalar();
25708
25708
  function boolStringify({ value, source }, ctx) {
@@ -25731,7 +25731,7 @@ var require_bool2 = __commonJS((exports) => {
25731
25731
  exports.trueTag = trueTag;
25732
25732
  });
25733
25733
 
25734
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/float.js
25734
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/schema/yaml-1.1/float.js
25735
25735
  var require_float2 = __commonJS((exports) => {
25736
25736
  var Scalar = require_Scalar();
25737
25737
  var stringifyNumber = require_stringifyNumber();
@@ -25777,7 +25777,7 @@ var require_float2 = __commonJS((exports) => {
25777
25777
  exports.floatNaN = floatNaN;
25778
25778
  });
25779
25779
 
25780
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/int.js
25780
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/schema/yaml-1.1/int.js
25781
25781
  var require_int2 = __commonJS((exports) => {
25782
25782
  var stringifyNumber = require_stringifyNumber();
25783
25783
  var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
@@ -25853,7 +25853,7 @@ var require_int2 = __commonJS((exports) => {
25853
25853
  exports.intOct = intOct;
25854
25854
  });
25855
25855
 
25856
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/set.js
25856
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/schema/yaml-1.1/set.js
25857
25857
  var require_set = __commonJS((exports) => {
25858
25858
  var identity = require_identity();
25859
25859
  var Pair = require_Pair();
@@ -25936,7 +25936,7 @@ var require_set = __commonJS((exports) => {
25936
25936
  exports.set = set;
25937
25937
  });
25938
25938
 
25939
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
25939
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
25940
25940
  var require_timestamp = __commonJS((exports) => {
25941
25941
  var stringifyNumber = require_stringifyNumber();
25942
25942
  function parseSexagesimal(str, asBigInt) {
@@ -26018,7 +26018,7 @@ var require_timestamp = __commonJS((exports) => {
26018
26018
  exports.timestamp = timestamp;
26019
26019
  });
26020
26020
 
26021
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/schema.js
26021
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/schema/yaml-1.1/schema.js
26022
26022
  var require_schema4 = __commonJS((exports) => {
26023
26023
  var map = require_map();
26024
26024
  var _null = require_null();
@@ -26059,7 +26059,7 @@ var require_schema4 = __commonJS((exports) => {
26059
26059
  exports.schema = schema;
26060
26060
  });
26061
26061
 
26062
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/tags.js
26062
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/schema/tags.js
26063
26063
  var require_tags = __commonJS((exports) => {
26064
26064
  var map = require_map();
26065
26065
  var _null = require_null();
@@ -26150,7 +26150,7 @@ var require_tags = __commonJS((exports) => {
26150
26150
  exports.getTags = getTags;
26151
26151
  });
26152
26152
 
26153
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/Schema.js
26153
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/schema/Schema.js
26154
26154
  var require_Schema = __commonJS((exports) => {
26155
26155
  var identity = require_identity();
26156
26156
  var map = require_map();
@@ -26180,7 +26180,7 @@ var require_Schema = __commonJS((exports) => {
26180
26180
  exports.Schema = Schema;
26181
26181
  });
26182
26182
 
26183
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyDocument.js
26183
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/stringify/stringifyDocument.js
26184
26184
  var require_stringifyDocument = __commonJS((exports) => {
26185
26185
  var identity = require_identity();
26186
26186
  var stringify = require_stringify();
@@ -26260,7 +26260,7 @@ var require_stringifyDocument = __commonJS((exports) => {
26260
26260
  exports.stringifyDocument = stringifyDocument;
26261
26261
  });
26262
26262
 
26263
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/Document.js
26263
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/doc/Document.js
26264
26264
  var require_Document = __commonJS((exports) => {
26265
26265
  var Alias = require_Alias();
26266
26266
  var Collection = require_Collection();
@@ -26495,7 +26495,7 @@ var require_Document = __commonJS((exports) => {
26495
26495
  exports.Document = Document;
26496
26496
  });
26497
26497
 
26498
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/errors.js
26498
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/errors.js
26499
26499
  var require_errors = __commonJS((exports) => {
26500
26500
  class YAMLError extends Error {
26501
26501
  constructor(name, pos, code, message) {
@@ -26560,7 +26560,7 @@ ${pointer}
26560
26560
  exports.prettifyError = prettifyError;
26561
26561
  });
26562
26562
 
26563
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-props.js
26563
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/compose/resolve-props.js
26564
26564
  var require_resolve_props = __commonJS((exports) => {
26565
26565
  function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
26566
26566
  let spaceBefore = false;
@@ -26690,7 +26690,7 @@ var require_resolve_props = __commonJS((exports) => {
26690
26690
  exports.resolveProps = resolveProps;
26691
26691
  });
26692
26692
 
26693
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/util-contains-newline.js
26693
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/compose/util-contains-newline.js
26694
26694
  var require_util_contains_newline = __commonJS((exports) => {
26695
26695
  function containsNewline(key) {
26696
26696
  if (!key)
@@ -26730,7 +26730,7 @@ var require_util_contains_newline = __commonJS((exports) => {
26730
26730
  exports.containsNewline = containsNewline;
26731
26731
  });
26732
26732
 
26733
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/util-flow-indent-check.js
26733
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/compose/util-flow-indent-check.js
26734
26734
  var require_util_flow_indent_check = __commonJS((exports) => {
26735
26735
  var utilContainsNewline = require_util_contains_newline();
26736
26736
  function flowIndentCheck(indent, fc, onError) {
@@ -26745,7 +26745,7 @@ var require_util_flow_indent_check = __commonJS((exports) => {
26745
26745
  exports.flowIndentCheck = flowIndentCheck;
26746
26746
  });
26747
26747
 
26748
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/util-map-includes.js
26748
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/compose/util-map-includes.js
26749
26749
  var require_util_map_includes = __commonJS((exports) => {
26750
26750
  var identity = require_identity();
26751
26751
  function mapIncludes(ctx, items, search) {
@@ -26758,7 +26758,7 @@ var require_util_map_includes = __commonJS((exports) => {
26758
26758
  exports.mapIncludes = mapIncludes;
26759
26759
  });
26760
26760
 
26761
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-map.js
26761
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/compose/resolve-block-map.js
26762
26762
  var require_resolve_block_map = __commonJS((exports) => {
26763
26763
  var Pair = require_Pair();
26764
26764
  var YAMLMap = require_YAMLMap();
@@ -26865,7 +26865,7 @@ var require_resolve_block_map = __commonJS((exports) => {
26865
26865
  exports.resolveBlockMap = resolveBlockMap;
26866
26866
  });
26867
26867
 
26868
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-seq.js
26868
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/compose/resolve-block-seq.js
26869
26869
  var require_resolve_block_seq = __commonJS((exports) => {
26870
26870
  var YAMLSeq = require_YAMLSeq();
26871
26871
  var resolveProps = require_resolve_props();
@@ -26913,7 +26913,7 @@ var require_resolve_block_seq = __commonJS((exports) => {
26913
26913
  exports.resolveBlockSeq = resolveBlockSeq;
26914
26914
  });
26915
26915
 
26916
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-end.js
26916
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/compose/resolve-end.js
26917
26917
  var require_resolve_end = __commonJS((exports) => {
26918
26918
  function resolveEnd(end, offset, reqSpace, onError) {
26919
26919
  let comment = "";
@@ -26953,7 +26953,7 @@ var require_resolve_end = __commonJS((exports) => {
26953
26953
  exports.resolveEnd = resolveEnd;
26954
26954
  });
26955
26955
 
26956
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-flow-collection.js
26956
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/compose/resolve-flow-collection.js
26957
26957
  var require_resolve_flow_collection = __commonJS((exports) => {
26958
26958
  var identity = require_identity();
26959
26959
  var Pair = require_Pair();
@@ -27144,7 +27144,7 @@ var require_resolve_flow_collection = __commonJS((exports) => {
27144
27144
  exports.resolveFlowCollection = resolveFlowCollection;
27145
27145
  });
27146
27146
 
27147
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/compose-collection.js
27147
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/compose/compose-collection.js
27148
27148
  var require_compose_collection = __commonJS((exports) => {
27149
27149
  var identity = require_identity();
27150
27150
  var Scalar = require_Scalar();
@@ -27206,7 +27206,7 @@ var require_compose_collection = __commonJS((exports) => {
27206
27206
  exports.composeCollection = composeCollection;
27207
27207
  });
27208
27208
 
27209
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-scalar.js
27209
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/compose/resolve-block-scalar.js
27210
27210
  var require_resolve_block_scalar = __commonJS((exports) => {
27211
27211
  var Scalar = require_Scalar();
27212
27212
  function resolveBlockScalar(ctx, scalar, onError) {
@@ -27399,7 +27399,7 @@ var require_resolve_block_scalar = __commonJS((exports) => {
27399
27399
  exports.resolveBlockScalar = resolveBlockScalar;
27400
27400
  });
27401
27401
 
27402
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-flow-scalar.js
27402
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/compose/resolve-flow-scalar.js
27403
27403
  var require_resolve_flow_scalar = __commonJS((exports) => {
27404
27404
  var Scalar = require_Scalar();
27405
27405
  var resolveEnd = require_resolve_end();
@@ -27616,7 +27616,7 @@ var require_resolve_flow_scalar = __commonJS((exports) => {
27616
27616
  exports.resolveFlowScalar = resolveFlowScalar;
27617
27617
  });
27618
27618
 
27619
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/compose-scalar.js
27619
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/compose/compose-scalar.js
27620
27620
  var require_compose_scalar = __commonJS((exports) => {
27621
27621
  var identity = require_identity();
27622
27622
  var Scalar = require_Scalar();
@@ -27694,7 +27694,7 @@ var require_compose_scalar = __commonJS((exports) => {
27694
27694
  exports.composeScalar = composeScalar;
27695
27695
  });
27696
27696
 
27697
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/util-empty-scalar-position.js
27697
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/compose/util-empty-scalar-position.js
27698
27698
  var require_util_empty_scalar_position = __commonJS((exports) => {
27699
27699
  function emptyScalarPosition(offset, before, pos) {
27700
27700
  if (before) {
@@ -27721,7 +27721,7 @@ var require_util_empty_scalar_position = __commonJS((exports) => {
27721
27721
  exports.emptyScalarPosition = emptyScalarPosition;
27722
27722
  });
27723
27723
 
27724
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/compose-node.js
27724
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/compose/compose-node.js
27725
27725
  var require_compose_node = __commonJS((exports) => {
27726
27726
  var Alias = require_Alias();
27727
27727
  var identity = require_identity();
@@ -27824,7 +27824,7 @@ var require_compose_node = __commonJS((exports) => {
27824
27824
  exports.composeNode = composeNode;
27825
27825
  });
27826
27826
 
27827
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/compose-doc.js
27827
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/compose/compose-doc.js
27828
27828
  var require_compose_doc = __commonJS((exports) => {
27829
27829
  var Document = require_Document();
27830
27830
  var composeNode = require_compose_node();
@@ -27864,7 +27864,7 @@ var require_compose_doc = __commonJS((exports) => {
27864
27864
  exports.composeDoc = composeDoc;
27865
27865
  });
27866
27866
 
27867
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/composer.js
27867
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/compose/composer.js
27868
27868
  var require_composer = __commonJS((exports) => {
27869
27869
  var node_process = __require("process");
27870
27870
  var directives = require_directives();
@@ -28055,7 +28055,7 @@ ${end.comment}` : end.comment;
28055
28055
  exports.Composer = Composer;
28056
28056
  });
28057
28057
 
28058
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/cst-scalar.js
28058
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/parse/cst-scalar.js
28059
28059
  var require_cst_scalar = __commonJS((exports) => {
28060
28060
  var resolveBlockScalar = require_resolve_block_scalar();
28061
28061
  var resolveFlowScalar = require_resolve_flow_scalar();
@@ -28245,7 +28245,7 @@ var require_cst_scalar = __commonJS((exports) => {
28245
28245
  exports.setScalarValue = setScalarValue;
28246
28246
  });
28247
28247
 
28248
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/cst-stringify.js
28248
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/parse/cst-stringify.js
28249
28249
  var require_cst_stringify = __commonJS((exports) => {
28250
28250
  var stringify = (cst) => ("type" in cst) ? stringifyToken(cst) : stringifyItem(cst);
28251
28251
  function stringifyToken(token) {
@@ -28303,7 +28303,7 @@ var require_cst_stringify = __commonJS((exports) => {
28303
28303
  exports.stringify = stringify;
28304
28304
  });
28305
28305
 
28306
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/cst-visit.js
28306
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/parse/cst-visit.js
28307
28307
  var require_cst_visit = __commonJS((exports) => {
28308
28308
  var BREAK = Symbol("break visit");
28309
28309
  var SKIP = Symbol("skip children");
@@ -28362,7 +28362,7 @@ var require_cst_visit = __commonJS((exports) => {
28362
28362
  exports.visit = visit;
28363
28363
  });
28364
28364
 
28365
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/cst.js
28365
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/parse/cst.js
28366
28366
  var require_cst = __commonJS((exports) => {
28367
28367
  var cstScalar = require_cst_scalar();
28368
28368
  var cstStringify = require_cst_stringify();
@@ -28463,7 +28463,7 @@ var require_cst = __commonJS((exports) => {
28463
28463
  exports.tokenType = tokenType;
28464
28464
  });
28465
28465
 
28466
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/lexer.js
28466
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/parse/lexer.js
28467
28467
  var require_lexer = __commonJS((exports) => {
28468
28468
  var cst = require_cst();
28469
28469
  function isEmpty(ch) {
@@ -29060,7 +29060,7 @@ var require_lexer = __commonJS((exports) => {
29060
29060
  exports.Lexer = Lexer;
29061
29061
  });
29062
29062
 
29063
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/line-counter.js
29063
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/parse/line-counter.js
29064
29064
  var require_line_counter = __commonJS((exports) => {
29065
29065
  class LineCounter {
29066
29066
  constructor() {
@@ -29088,7 +29088,7 @@ var require_line_counter = __commonJS((exports) => {
29088
29088
  exports.LineCounter = LineCounter;
29089
29089
  });
29090
29090
 
29091
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/parser.js
29091
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/parse/parser.js
29092
29092
  var require_parser = __commonJS((exports) => {
29093
29093
  var node_process = __require("process");
29094
29094
  var cst = require_cst();
@@ -29944,7 +29944,7 @@ var require_parser = __commonJS((exports) => {
29944
29944
  exports.Parser = Parser;
29945
29945
  });
29946
29946
 
29947
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/public-api.js
29947
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/public-api.js
29948
29948
  var require_public_api = __commonJS((exports) => {
29949
29949
  var composer = require_composer();
29950
29950
  var Document = require_Document();
@@ -30038,14 +30038,14 @@ var require_public_api = __commonJS((exports) => {
30038
30038
  exports.stringify = stringify;
30039
30039
  });
30040
30040
 
30041
- // ../events/dist/index.js
30041
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@hasna/events/dist/index.js
30042
30042
  import { chmod, mkdir, readFile, rename, writeFile as writeFile2 } from "fs/promises";
30043
30043
  import { Buffer as Buffer2 } from "buffer";
30044
30044
  import { existsSync as existsSync22 } from "fs";
30045
- import { join as join28 } from "path";
30045
+ import { join as join29 } from "path";
30046
30046
  import { existsSync as existsSync18 } from "fs";
30047
30047
  import { homedir as homedir6 } from "os";
30048
- import { join as join29, resolve as resolve10 } from "path";
30048
+ import { join as join30, resolve as resolve11 } from "path";
30049
30049
  import { homedir as pathsResolverHomedir2 } from "os";
30050
30050
  import { join as pathsResolverJoin2 } from "path";
30051
30051
  import { createHmac as createHmac4, timingSafeEqual as timingSafeEqual3 } from "crypto";
@@ -30056,7 +30056,6 @@ import { spawn } from "child_process";
30056
30056
  import { request as nodeHttpRequest } from "http";
30057
30057
  import { request as nodeHttpsRequest } from "https";
30058
30058
  import { randomUUID as randomUUID22 } from "crypto";
30059
- import { createRequire as createRequire2 } from "module";
30060
30059
  function getPathValue(input, path2) {
30061
30060
  return path2.split(".").reduce((value, part) => {
30062
30061
  if (value && typeof value === "object" && part in value) {
@@ -30207,7 +30206,7 @@ function effectiveHome2() {
30207
30206
  return process.env["HOME"] || process.env["USERPROFILE"] || homedir6();
30208
30207
  }
30209
30208
  function legacyHomeDir() {
30210
- return join29(effectiveHome2(), ".hasna", "events");
30209
+ return join30(effectiveHome2(), ".hasna", "events");
30211
30210
  }
30212
30211
  function resolverHome() {
30213
30212
  return dataDir2({ app: "events", home: effectiveHome2() || undefined });
@@ -30216,7 +30215,7 @@ function adoptResolverHome(resolved, env = process.env) {
30216
30215
  const dataOverride = env.HASNA_DATA_HOME;
30217
30216
  if (typeof dataOverride === "string" && dataOverride.trim().length > 0)
30218
30217
  return true;
30219
- return existsSync18(join29(resolved, EVENTS_STORE_SENTINEL_FILE));
30218
+ return existsSync18(join30(resolved, EVENTS_STORE_SENTINEL_FILE));
30220
30219
  }
30221
30220
  function exactEventsHome() {
30222
30221
  const dir = process.env[HASNA_EVENTS_DIR_ENV];
@@ -30230,9 +30229,9 @@ function exactEventsHome() {
30230
30229
  function getEventsHome() {
30231
30230
  const exact = exactEventsHome();
30232
30231
  if (exact)
30233
- return resolve10(exact);
30232
+ return resolve11(exact);
30234
30233
  const resolved = resolverHome();
30235
- return adoptResolverHome(resolved) ? resolve10(resolved) : resolve10(legacyHomeDir());
30234
+ return adoptResolverHome(resolved) ? resolve11(resolved) : resolve11(legacyHomeDir());
30236
30235
  }
30237
30236
  function getEventsDataDir(override) {
30238
30237
  return override || getEventsHome();
@@ -30247,9 +30246,9 @@ class JsonEventsStore {
30247
30246
  constructor(dataDir22 = getEventsDataDir()) {
30248
30247
  this.dataDir = dataDir22;
30249
30248
  this.runtime = localJsonRuntime(dataDir22);
30250
- this.channelsPath = join28(dataDir22, "channels.json");
30251
- this.eventsPath = join28(dataDir22, "events.json");
30252
- this.deliveriesPath = join28(dataDir22, "deliveries.json");
30249
+ this.channelsPath = join29(dataDir22, "channels.json");
30250
+ this.eventsPath = join29(dataDir22, "events.json");
30251
+ this.deliveriesPath = join29(dataDir22, "deliveries.json");
30253
30252
  }
30254
30253
  async init() {
30255
30254
  await mkdir(this.dataDir, { recursive: true, mode: 448 });
@@ -30343,9 +30342,9 @@ class JsonEventsStore {
30343
30342
  hasMore
30344
30343
  };
30345
30344
  }
30346
- async findEventByIdentity(identity2) {
30345
+ async findEventByIdentity(identity3) {
30347
30346
  const events = await this.listEvents();
30348
- return findEventByIdentity(events, identity2);
30347
+ return findEventByIdentity(events, identity3);
30349
30348
  }
30350
30349
  async appendDelivery(result) {
30351
30350
  await this.init();
@@ -30470,8 +30469,8 @@ function assertCursorFilter(name, cursorValue, optionValue) {
30470
30469
  if (cursorValue !== optionValue)
30471
30470
  throw new Error(`Local JSON event cursor ${name} filter mismatch`);
30472
30471
  }
30473
- function findEventByIdentity(events, identity2) {
30474
- return events.find((event) => identity2.id !== undefined && event.id === identity2.id || identity2.dedupeKey !== undefined && event.dedupeKey === identity2.dedupeKey);
30472
+ function findEventByIdentity(events, identity3) {
30473
+ return events.find((event) => identity3.id !== undefined && event.id === identity3.id || identity3.dedupeKey !== undefined && event.dedupeKey === identity3.dedupeKey);
30475
30474
  }
30476
30475
  function buildSignatureBase(timestamp, body3) {
30477
30476
  return `${timestamp}.${body3}`;
@@ -31272,7 +31271,7 @@ function normalizeRetryPolicy(policy) {
31272
31271
  }
31273
31272
  var PATHS_RESOLVER_KIND_ENV, PATHS_RESOLVER_APP_SLUG_RE2, HASNA_EVENTS_DIR_ENV = "HASNA_EVENTS_DIR", HASNA_EVENTS_HOME_ENV = "HASNA_EVENTS_HOME", EVENTS_STORE_SENTINEL_FILE = "events.json", LOCAL_JSON_EVENT_CURSOR_PREFIX = "local-json-v1:", DEFAULT_EVENT_PAGE_LIMIT = 100, MAX_EVENT_PAGE_LIMIT = 1000, DEFAULT_SIGNATURE_TOLERANCE_MS, DEFAULT_MAX_REDIRECTS = 5, IPV4_PRIVATE_RANGES, IPV6_SPECIAL_PREFIXES, defaultTargetLookup = async (hostname) => {
31274
31273
  return dnsLookup(hostname, { all: true, verbatim: false });
31275
- }, EventValidationError, defaultEventTypeCatalog, APP_EVENT_V1_MAX_DATA_BYTES, MAX_CREDENTIAL_FILE_BYTES2, INSPECT_CUSTOM2, CREDENTIAL_SEAL2, AMBIENT_ENVIRONMENT2, SECRETS_PACKAGE_SPECIFIER2, requireSecretsSdk2, IDEMPOTENT_METHODS2, AUTHORITY_OVERRIDE_HEADERS2, MAX_ENVELOPE_BYTES, MAX_REQUEST_BYTES;
31274
+ }, EventValidationError, defaultEventTypeCatalog, APP_EVENT_V1_MAX_DATA_BYTES;
31276
31275
  var init_dist = __esm(() => {
31277
31276
  PATHS_RESOLVER_KIND_ENV = {
31278
31277
  config: "HASNA_CONFIG_HOME",
@@ -31328,22 +31327,6 @@ var init_dist = __esm(() => {
31328
31327
  };
31329
31328
  defaultEventTypeCatalog = new EventTypeCatalog;
31330
31329
  APP_EVENT_V1_MAX_DATA_BYTES = 32 * 1024;
31331
- MAX_CREDENTIAL_FILE_BYTES2 = 64 * 1024;
31332
- INSPECT_CUSTOM2 = Symbol.for("nodejs.util.inspect.custom");
31333
- CREDENTIAL_SEAL2 = Symbol.for("hasna:contracts:sealedCredential");
31334
- AMBIENT_ENVIRONMENT2 = Symbol.for("hasna:contracts:ambientClientEnvironment");
31335
- SECRETS_PACKAGE_SPECIFIER2 = "@hasna/" + "secrets";
31336
- requireSecretsSdk2 = createRequire2(import.meta.url);
31337
- IDEMPOTENT_METHODS2 = new Set(["GET", "HEAD", "PUT", "DELETE", "OPTIONS"]);
31338
- AUTHORITY_OVERRIDE_HEADERS2 = new Set([
31339
- "host",
31340
- ":authority",
31341
- "forwarded",
31342
- "x-forwarded-host",
31343
- "x-original-host"
31344
- ]);
31345
- MAX_ENVELOPE_BYTES = 256 * 1024;
31346
- MAX_REQUEST_BYTES = MAX_ENVELOPE_BYTES * 2 + 8192;
31347
31330
  });
31348
31331
 
31349
31332
  // src/sdk/event-sink.ts
@@ -31368,7 +31351,7 @@ var init_event_sink = __esm(() => {
31368
31351
  // package.json
31369
31352
  var package_default = {
31370
31353
  name: "@hasna/skills",
31371
- version: "0.7.2",
31354
+ version: "0.7.3",
31372
31355
  description: "Skills library for AI coding agents",
31373
31356
  type: "module",
31374
31357
  bin: {
@@ -31431,7 +31414,8 @@ var package_default = {
31431
31414
  "verify:consumer-types": "bun run scripts/consumer-types.ts",
31432
31415
  prepare: "bun run build:js",
31433
31416
  prepack: "bun run build && bun run verify:release && bun run verify:consumer-types",
31434
- prepublishOnly: "bun run typecheck && bun run test"
31417
+ prepublishOnly: "bun run verify:producer && bun run typecheck && bun run test",
31418
+ "verify:producer": "bun run scripts/release-dependencies.ts"
31435
31419
  },
31436
31420
  keywords: [
31437
31421
  "skills",
@@ -31493,7 +31477,7 @@ var package_default = {
31493
31477
  }
31494
31478
  };
31495
31479
 
31496
- // ../contracts/dist/client/transport.js
31480
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@hasna/contracts/dist/client/transport.js
31497
31481
  import { isIP } from "net";
31498
31482
  import { spawnSync } from "child_process";
31499
31483
  import { closeSync, fstatSync, openSync, readFileSync } from "fs";
@@ -33471,7 +33455,7 @@ function verifyBundleSignature(bytes, signature, key) {
33471
33455
  return expected.length === actual.length && timingSafeEqual(expected, actual);
33472
33456
  }
33473
33457
 
33474
- // ../../node_modules/.bun/@aws-sdk+checksums@3.1000.29/node_modules/@aws-sdk/checksums/dist-cjs/submodules/flexible-checksums/index.js
33458
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/checksums/dist-cjs/submodules/flexible-checksums/index.js
33475
33459
  var { setFeature } = require_client2();
33476
33460
  var { HttpRequest } = require_protocols();
33477
33461
  var { isArrayBuffer, toUint8Array, createBufferedReadable, createChecksumStream } = require_serde();
@@ -33864,10 +33848,10 @@ var $NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS = NODE_RESPONSE_CHECKSUM_V
33864
33848
  var $getFlexibleChecksumsPlugin = getFlexibleChecksumsPlugin;
33865
33849
  var $resolveFlexibleChecksumsConfig = resolveFlexibleChecksumsConfig;
33866
33850
 
33867
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1127.0/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js
33851
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js
33868
33852
  var import_client26 = __toESM(require_client2(), 1);
33869
33853
 
33870
- // ../../node_modules/.bun/@aws-sdk+middleware-sdk-s3@3.972.75/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/submodules/s3/index.js
33854
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/submodules/s3/index.js
33871
33855
  var { NoOpLogger, getSmithyContext } = require_client();
33872
33856
  var { HttpRequest: HttpRequest2, HttpResponse } = require_protocols();
33873
33857
  var { parseRfc7231DateTime } = require_serde();
@@ -34472,7 +34456,7 @@ var $getThrow200ExceptionsPlugin = getThrow200ExceptionsPlugin;
34472
34456
  var $getValidateBucketNamePlugin = getValidateBucketNamePlugin;
34473
34457
  var $resolveS3Config = resolveS3Config;
34474
34458
 
34475
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1127.0/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js
34459
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js
34476
34460
  var import_core = __toESM(require_dist_cjs2(), 1);
34477
34461
  var import_client27 = __toESM(require_client(), 1);
34478
34462
  var import_config29 = __toESM(require_config(), 1);
@@ -34482,17 +34466,17 @@ var import_protocols6 = __toESM(require_protocols(), 1);
34482
34466
  var import_retry4 = __toESM(require_retry(), 1);
34483
34467
  var import_schema2 = __toESM(require_schema(), 1);
34484
34468
 
34485
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1127.0/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js
34469
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js
34486
34470
  var import_httpAuthSchemes = __toESM(require_httpAuthSchemes(), 1);
34487
34471
  var import_signature_v4_multi_region = __toESM(require_dist_cjs4(), 1);
34488
34472
  var import_client5 = __toESM(require_client(), 1);
34489
34473
  var import_endpoints3 = __toESM(require_endpoints(), 1);
34490
34474
 
34491
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1127.0/node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js
34475
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js
34492
34476
  var import_client4 = __toESM(require_client2(), 1);
34493
34477
  var import_endpoints2 = __toESM(require_endpoints(), 1);
34494
34478
 
34495
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1127.0/node_modules/@aws-sdk/client-s3/dist-es/endpoint/bdd.js
34479
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-s3/dist-es/endpoint/bdd.js
34496
34480
  var import_endpoints = __toESM(require_endpoints(), 1);
34497
34481
  var aw = "ref";
34498
34482
  var ax = "argv";
@@ -36436,7 +36420,7 @@ var nodes = new Int32Array([
36436
36420
  ]);
36437
36421
  var bdd = import_endpoints.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
36438
36422
 
36439
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1127.0/node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js
36423
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js
36440
36424
  var cache = new import_endpoints2.EndpointCache({
36441
36425
  size: 50,
36442
36426
  params: [
@@ -36464,7 +36448,7 @@ var defaultEndpointResolver = (endpointParams, context = {}) => {
36464
36448
  };
36465
36449
  import_endpoints2.customEndpointFunctions.aws = import_client4.awsEndpointFunctions;
36466
36450
 
36467
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1127.0/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js
36451
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js
36468
36452
  var createEndpointRuleSetHttpAuthSchemeParametersProvider = (defaultHttpAuthSchemeParametersProvider) => async (config, context, input) => {
36469
36453
  if (!input) {
36470
36454
  throw new Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");
@@ -36580,11 +36564,11 @@ var resolveHttpAuthSchemeConfig = (config) => {
36580
36564
  });
36581
36565
  };
36582
36566
 
36583
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1127.0/node_modules/@aws-sdk/client-s3/dist-es/commandBuilder.js
36567
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-s3/dist-es/commandBuilder.js
36584
36568
  var import_client6 = __toESM(require_client(), 1);
36585
36569
  var import_endpoints4 = __toESM(require_endpoints(), 1);
36586
36570
 
36587
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1127.0/node_modules/@aws-sdk/client-s3/dist-es/endpoint/EndpointParameters.js
36571
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-s3/dist-es/endpoint/EndpointParameters.js
36588
36572
  var resolveClientEndpointParameters = (options) => {
36589
36573
  return Object.assign(options, {
36590
36574
  useFipsEndpoint: options.useFipsEndpoint ?? false,
@@ -36610,7 +36594,7 @@ var commonParams = {
36610
36594
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
36611
36595
  };
36612
36596
 
36613
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1127.0/node_modules/@aws-sdk/client-s3/dist-es/commandBuilder.js
36597
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-s3/dist-es/commandBuilder.js
36614
36598
  var command = import_client6.makeBuilder(commonParams, "AmazonS3", "S3Client", import_endpoints4.getEndpointPlugin);
36615
36599
  var _ep0 = {
36616
36600
  Bucket: { type: "contextParams", name: "Bucket" },
@@ -36642,10 +36626,10 @@ var _mw11 = (Command, cs, config, o2) => [
36642
36626
  $getSsecPlugin(config)
36643
36627
  ];
36644
36628
 
36645
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1127.0/node_modules/@aws-sdk/client-s3/dist-es/schemas/schemas_0.js
36629
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-s3/dist-es/schemas/schemas_0.js
36646
36630
  var import_schema = __toESM(require_schema(), 1);
36647
36631
 
36648
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1127.0/node_modules/@aws-sdk/client-s3/dist-es/models/S3ServiceException.js
36632
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-s3/dist-es/models/S3ServiceException.js
36649
36633
  var import_client7 = __toESM(require_client(), 1);
36650
36634
  class S3ServiceException extends import_client7.ServiceException {
36651
36635
  constructor(options) {
@@ -36654,7 +36638,7 @@ class S3ServiceException extends import_client7.ServiceException {
36654
36638
  }
36655
36639
  }
36656
36640
 
36657
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1127.0/node_modules/@aws-sdk/client-s3/dist-es/models/errors.js
36641
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-s3/dist-es/models/errors.js
36658
36642
  class NoSuchUpload extends S3ServiceException {
36659
36643
  name = "NoSuchUpload";
36660
36644
  $fault = "client";
@@ -36932,7 +36916,7 @@ class ObjectAlreadyInActiveTierError extends S3ServiceException {
36932
36916
  }
36933
36917
  }
36934
36918
 
36935
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1127.0/node_modules/@aws-sdk/client-s3/dist-es/schemas/schemas_0.js
36919
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-s3/dist-es/schemas/schemas_0.js
36936
36920
  var _A = "Account";
36937
36921
  var _AAO = "AnalyticsAndOperator";
36938
36922
  var _AC = "AccelerateConfiguration";
@@ -42384,10 +42368,10 @@ var WriteGetObjectResponse$ = [
42384
42368
  () => __Unit
42385
42369
  ];
42386
42370
 
42387
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1127.0/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateSessionCommand.js
42371
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateSessionCommand.js
42388
42372
  class CreateSessionCommand extends command(_ep4, _mw0, "CreateSession", CreateSession$) {
42389
42373
  }
42390
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1127.0/node_modules/@aws-sdk/client-s3/package.json
42374
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-s3/package.json
42391
42375
  var package_default2 = {
42392
42376
  name: "@aws-sdk/client-s3",
42393
42377
  version: "3.1127.0",
@@ -42472,15 +42456,15 @@ var package_default2 = {
42472
42456
  }
42473
42457
  };
42474
42458
 
42475
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1127.0/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js
42459
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js
42476
42460
  var import_client22 = __toESM(require_client2(), 1);
42477
42461
  var import_httpAuthSchemes3 = __toESM(require_httpAuthSchemes(), 1);
42478
42462
 
42479
- // ../../node_modules/.bun/@aws-sdk+credential-provider-node@3.972.82/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js
42463
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js
42480
42464
  init_dist_es();
42481
42465
  var import_config27 = __toESM(require_config(), 1);
42482
42466
 
42483
- // ../../node_modules/.bun/@aws-sdk+credential-provider-node@3.972.82/node_modules/@aws-sdk/credential-provider-node/dist-es/remoteProvider.js
42467
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/credential-provider-node/dist-es/remoteProvider.js
42484
42468
  var import_config10 = __toESM(require_config(), 1);
42485
42469
  var ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED";
42486
42470
  var remoteProvider = async (init) => {
@@ -42499,7 +42483,7 @@ var remoteProvider = async (init) => {
42499
42483
  return fromInstanceMetadata2(init);
42500
42484
  };
42501
42485
 
42502
- // ../../node_modules/.bun/@aws-sdk+credential-provider-node@3.972.82/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js
42486
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js
42503
42487
  function memoizeChain(providers, treatAsExpired) {
42504
42488
  const chain2 = internalCreateChain(providers);
42505
42489
  let activeLock;
@@ -42563,7 +42547,7 @@ var internalCreateChain = (providers) => async (awsIdentityProperties) => {
42563
42547
  throw lastProviderError;
42564
42548
  };
42565
42549
 
42566
- // ../../node_modules/.bun/@aws-sdk+credential-provider-node@3.972.82/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js
42550
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js
42567
42551
  var multipleCredentialSourceWarningEmitted = false;
42568
42552
  var defaultProvider = (init = {}) => memoizeChain([
42569
42553
  async () => {
@@ -42629,7 +42613,7 @@ var defaultProvider = (init = {}) => memoizeChain([
42629
42613
  }
42630
42614
  ], credentialsTreatedAsExpired);
42631
42615
  var credentialsTreatedAsExpired = (credentials) => credentials?.expiration !== undefined && credentials.expiration.getTime() - Date.now() < 300000;
42632
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1127.0/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js
42616
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js
42633
42617
  var import_checksum2 = __toESM(require_checksum(), 1);
42634
42618
  var import_client23 = __toESM(require_client(), 1);
42635
42619
  var import_config28 = __toESM(require_config(), 1);
@@ -42638,7 +42622,7 @@ var import_retry3 = __toESM(require_retry(), 1);
42638
42622
  var import_serde4 = __toESM(require_serde(), 1);
42639
42623
  var import_node_http_handler2 = __toESM(require_dist_cjs6(), 1);
42640
42624
 
42641
- // ../../node_modules/.bun/@aws-sdk+checksums@3.1000.29/node_modules/@aws-sdk/checksums/dist-cjs/submodules/sha/index.js
42625
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/checksums/dist-cjs/submodules/sha/index.js
42642
42626
  var { toUint8Array: toUint8Array2, concatBytes } = require_serde();
42643
42627
  var { createHmac: createHmac2, createHash: createHash4 } = __require("crypto");
42644
42628
  var { Sha256: Sha2562, Sha256Js, Sha256Node } = require_checksum();
@@ -42867,7 +42851,7 @@ var subtle = typeof digest === "function" && typeof sign2 === "function" && type
42867
42851
  var MAX_PENDING_BYTES = 8 * 1024 * 1024;
42868
42852
  var $Sha1 = Sha1Node;
42869
42853
 
42870
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1127.0/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js
42854
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js
42871
42855
  var import_httpAuthSchemes2 = __toESM(require_httpAuthSchemes(), 1);
42872
42856
  var import_signature_v4_multi_region2 = __toESM(require_dist_cjs4(), 1);
42873
42857
  var import_checksum = __toESM(require_checksum(), 1);
@@ -42919,7 +42903,7 @@ var getRuntimeConfig2 = (config) => {
42919
42903
  };
42920
42904
  };
42921
42905
 
42922
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1127.0/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js
42906
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js
42923
42907
  var getRuntimeConfig3 = (config) => {
42924
42908
  import_client23.emitWarningIfUnsupportedVersion(process.version);
42925
42909
  const defaultsMode = import_config28.resolveDefaultsModeConfig(config);
@@ -42960,12 +42944,12 @@ var getRuntimeConfig3 = (config) => {
42960
42944
  };
42961
42945
  };
42962
42946
 
42963
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1127.0/node_modules/@aws-sdk/client-s3/dist-es/runtimeExtensions.js
42947
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-s3/dist-es/runtimeExtensions.js
42964
42948
  var import_client24 = __toESM(require_client2(), 1);
42965
42949
  var import_client25 = __toESM(require_client(), 1);
42966
42950
  var import_protocols5 = __toESM(require_protocols(), 1);
42967
42951
 
42968
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1127.0/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthExtensionConfiguration.js
42952
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthExtensionConfiguration.js
42969
42953
  var getHttpAuthExtensionConfiguration2 = (runtimeConfig) => {
42970
42954
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
42971
42955
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -43004,14 +42988,14 @@ var resolveHttpAuthRuntimeConfig2 = (config) => {
43004
42988
  };
43005
42989
  };
43006
42990
 
43007
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1127.0/node_modules/@aws-sdk/client-s3/dist-es/runtimeExtensions.js
42991
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-s3/dist-es/runtimeExtensions.js
43008
42992
  var resolveRuntimeExtensions2 = (runtimeConfig, extensions) => {
43009
42993
  const extensionConfiguration = Object.assign(import_client24.getAwsRegionExtensionConfiguration(runtimeConfig), import_client25.getDefaultExtensionConfiguration(runtimeConfig), import_protocols5.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration2(runtimeConfig));
43010
42994
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
43011
42995
  return Object.assign(runtimeConfig, import_client24.resolveAwsRegionExtensionConfiguration(extensionConfiguration), import_client25.resolveDefaultRuntimeConfig(extensionConfiguration), import_protocols5.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig2(extensionConfiguration));
43012
42996
  };
43013
42997
 
43014
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1127.0/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js
42998
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js
43015
42999
  class S3Client extends import_client27.Client {
43016
43000
  config;
43017
43001
  constructor(...[configuration]) {
@@ -43056,15 +43040,15 @@ class S3Client extends import_client27.Client {
43056
43040
  }
43057
43041
  }
43058
43042
 
43059
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1127.0/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectCommand.js
43043
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectCommand.js
43060
43044
  class DeleteObjectCommand extends command(_ep0, _mw0, "DeleteObject", DeleteObject$) {
43061
43045
  }
43062
43046
 
43063
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1127.0/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js
43047
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js
43064
43048
  class GetObjectCommand extends command(_ep0, _mw7, "GetObject", GetObject$) {
43065
43049
  }
43066
43050
 
43067
- // ../../node_modules/.bun/@aws-sdk+client-s3@3.1127.0/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js
43051
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js
43068
43052
  class PutObjectCommand extends command(_ep0, _mw11, "PutObject", PutObject$) {
43069
43053
  }
43070
43054
 
@@ -45190,7 +45174,7 @@ import { existsSync as existsSync17 } from "fs";
45190
45174
 
45191
45175
  // src/lib/installer.ts
45192
45176
  import { existsSync as existsSync14, readFileSync as readFileSync17, rmSync as rmSync3 } from "fs";
45193
- import { dirname as dirname15, join as join24 } from "path";
45177
+ import { dirname as dirname16, join as join25 } from "path";
45194
45178
  import { homedir as homedir5 } from "os";
45195
45179
  import { fileURLToPath as fileURLToPath2 } from "url";
45196
45180
 
@@ -45198,7 +45182,7 @@ import { fileURLToPath as fileURLToPath2 } from "url";
45198
45182
  import {
45199
45183
  cpSync as cpSync3,
45200
45184
  existsSync as existsSync11,
45201
- lstatSync as lstatSync12,
45185
+ lstatSync as lstatSync13,
45202
45186
  mkdirSync as mkdirSync8,
45203
45187
  mkdtempSync as mkdtempSync2,
45204
45188
  readFileSync as readFileSync14,
@@ -45209,12 +45193,12 @@ import {
45209
45193
  writeFileSync as writeFileSync6
45210
45194
  } from "fs";
45211
45195
  import { homedir as homedir4 } from "os";
45212
- import { basename as basename3, dirname as dirname14, join as join21 } from "path";
45196
+ import { basename as basename3, dirname as dirname15, join as join22 } from "path";
45213
45197
 
45214
45198
  // src/lib/agent-integration.ts
45215
- import { createHash as createHash12, randomUUID as randomUUID6 } from "crypto";
45216
- import { existsSync as existsSync5, lstatSync as lstatSync9, statSync as statSync3, mkdirSync as mkdirSync5, readFileSync as readFileSync9, readdirSync as readdirSync6, opendirSync as opendirSync3, readlinkSync, realpathSync as realpathSync2, renameSync as renameSync2, rmdirSync, writeFileSync as writeFileSync3, unlinkSync as unlinkSync2, chmodSync, openSync as openSync6, closeSync as closeSync6, fsyncSync, fstatSync as fstatSync6, readSync as readSync5, constants as constants5, linkSync } from "fs";
45217
- import { dirname as dirname11, join as join15, resolve as resolve7, relative as relative2, isAbsolute as isAbsolute7, sep as sep2 } from "path";
45199
+ import { createHash as createHash13, randomUUID as randomUUID6 } from "crypto";
45200
+ import { existsSync as existsSync5, lstatSync as lstatSync10, statSync as statSync3, mkdirSync as mkdirSync5, readFileSync as readFileSync9, readdirSync as readdirSync6, opendirSync as opendirSync3, readlinkSync as readlinkSync2, realpathSync as realpathSync2, renameSync as renameSync2, rmdirSync, writeFileSync as writeFileSync3, unlinkSync as unlinkSync2, chmodSync, openSync as openSync6, closeSync as closeSync6, fsyncSync, fstatSync as fstatSync6, readSync as readSync5, constants as constants5, linkSync } from "fs";
45201
+ import { dirname as dirname12, join as join16, resolve as resolve8, relative as relative2, isAbsolute as isAbsolute8, sep as sep3 } from "path";
45218
45202
  import { homedir as homedir3 } from "os";
45219
45203
 
45220
45204
  // src/lib/managed-policy.ts
@@ -45484,7 +45468,7 @@ function readSkillSession(sessionId, options = {}) {
45484
45468
  }
45485
45469
 
45486
45470
  // src/lib/agent-policy-limits.ts
45487
- var AGENT_POLICY_LIMITS = Object.freeze({ bytes: 1024 * 1024, agents: 16, discoverySources: 2048, discoveryRawSourceBytes: 64 * 1024 * 1024, discoveryRawTotalBytes: 256 * 1024 * 1024, discoveryRoots: 512, discoveryDirectories: 64, discoveryDirectoryEntries: 20000, discoveryDirectoryBytes: 8 * 1024 * 1024, builtinNames: 2048, rootAliases: 2, fields: 64, pathCharacters: 4096 });
45471
+ var AGENT_POLICY_LIMITS = Object.freeze({ bytes: 1024 * 1024, agents: 16, discoverySources: 2048, discoveryRawSourceBytes: 64 * 1024 * 1024, discoveryRawTotalBytes: 256 * 1024 * 1024, discoveryPathLinks: 40, discoveryPathSteps: 256, discoveryPathSourceMetadataBytes: 64 * 1024, discoveryPathTotalMetadataBytes: 8 * 1024 * 1024, discoveryRoots: 512, discoveryDirectories: 64, discoveryDirectoryEntries: 20000, discoveryDirectoryBytes: 8 * 1024 * 1024, builtinNames: 2048, rootAliases: 2, fields: 64, pathCharacters: 4096 });
45488
45472
  function object2(value) {
45489
45473
  return Boolean(value && typeof value === "object" && !Array.isArray(value));
45490
45474
  }
@@ -45549,7 +45533,7 @@ function assertAgentPolicyCollections(policy) {
45549
45533
  text(source.path);
45550
45534
  requireBound(source.sha256 === null || typeof source.sha256 === "string" && /^[a-f0-9]{64}$/.test(source.sha256));
45551
45535
  if (source.hashMode !== undefined)
45552
- requireBound(source.hashMode === "bytes" && source.format === undefined && source.fields === undefined);
45536
+ requireBound(["bytes", "path-bytes"].includes(source.hashMode) && source.format === undefined && source.fields === undefined && (source.hashMode !== "path-bytes" || source.sha256 !== null));
45553
45537
  if (source.format !== undefined)
45554
45538
  requireBound(["json", "toml", "yaml"].includes(source.format));
45555
45539
  if (source.fields !== undefined)
@@ -45690,11 +45674,11 @@ function isOwnedCliBridge(path, expectedPaths) {
45690
45674
  }
45691
45675
 
45692
45676
  // src/lib/agent-discovery.ts
45693
- import { createHash as createHash11 } from "crypto";
45694
- import { lstatSync as lstatSync8, readFileSync as readFileSync8, readdirSync as readdirSync5, realpathSync } from "fs";
45695
- import { dirname as dirname10, isAbsolute as isAbsolute6, join as join14, resolve as resolve6, sep } from "path";
45677
+ import { createHash as createHash12 } from "crypto";
45678
+ import { lstatSync as lstatSync9, readFileSync as readFileSync8, readdirSync as readdirSync5, realpathSync } from "fs";
45679
+ import { dirname as dirname11, isAbsolute as isAbsolute7, join as join15, resolve as resolve7, sep as sep2 } from "path";
45696
45680
 
45697
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/index.js
45681
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/yaml/dist/index.js
45698
45682
  var composer = require_composer();
45699
45683
  var Document = require_Document();
45700
45684
  var Schema = require_Schema();
@@ -46044,8 +46028,122 @@ function hashRawDiscoveryFile(path, budget, changes) {
46044
46028
  }
46045
46029
  }
46046
46030
 
46031
+ // src/lib/agent-discovery-path-bytes.ts
46032
+ import { createHash as createHash11 } from "crypto";
46033
+ import { lstatSync as lstatSync8, readlinkSync } from "fs";
46034
+ import { dirname as dirname10, isAbsolute as isAbsolute6, join as join14, parse as parse3, resolve as resolve6, sep } from "path";
46035
+ function identity2(stat, mutable = false) {
46036
+ return {
46037
+ dev: String(stat.dev),
46038
+ ino: String(stat.ino),
46039
+ mode: String(stat.mode),
46040
+ uid: String(stat.uid),
46041
+ gid: String(stat.gid),
46042
+ ...mutable ? { size: String(stat.size), mtimeNs: String(stat.mtimeNs), ctimeNs: String(stat.ctimeNs) } : {}
46043
+ };
46044
+ }
46045
+ function canonical(path) {
46046
+ if (typeof path !== "string" || !isAbsolute6(path) || path !== resolve6(path) || path.length > AGENT_POLICY_LIMITS.pathCharacters || path.includes("\x00") || Buffer.from(path).toString("utf8") !== path)
46047
+ throw new Error("Expected a canonical absolute discovery path");
46048
+ }
46049
+ function trace(path) {
46050
+ canonical(path);
46051
+ const rows = [], paths = [];
46052
+ let metadataBytes = 0, steps = 0, links = 0, cursor = parse3(path).root, pending = path.slice(cursor.length).split(sep);
46053
+ function record2(path2, row) {
46054
+ const value = { path: path2, ...row };
46055
+ metadataBytes += Buffer.byteLength(JSON.stringify(value));
46056
+ if (metadataBytes > AGENT_POLICY_LIMITS.discoveryPathSourceMetadataBytes)
46057
+ throw new Error("Discovery path metadata limit exceeded");
46058
+ rows.push(value);
46059
+ paths.push(path2);
46060
+ }
46061
+ function root3() {
46062
+ const stat = lstatSync8(cursor, { bigint: true });
46063
+ if (!stat.isDirectory())
46064
+ throw new Error("Unsupported discovery path root");
46065
+ record2(cursor, { type: "directory", ...identity2(stat) });
46066
+ }
46067
+ root3();
46068
+ while (pending.length) {
46069
+ if (++steps > AGENT_POLICY_LIMITS.discoveryPathSteps)
46070
+ throw new Error("Discovery path step limit exceeded");
46071
+ const component = pending.shift();
46072
+ if (!component || component === ".")
46073
+ continue;
46074
+ if (component === "..") {
46075
+ cursor = dirname10(cursor);
46076
+ continue;
46077
+ }
46078
+ const candidate = join14(cursor, component);
46079
+ if (candidate.length > AGENT_POLICY_LIMITS.pathCharacters)
46080
+ throw new Error("Discovery resolved path length limit exceeded");
46081
+ const stat = lstatSync8(candidate, { bigint: true, throwIfNoEntry: false });
46082
+ if (!stat) {
46083
+ record2(candidate, { type: "missing", remaining: pending });
46084
+ return { rows, paths, file: null, missing: candidate, metadataBytes };
46085
+ }
46086
+ if (stat.isSymbolicLink()) {
46087
+ if (++links > AGENT_POLICY_LIMITS.discoveryPathLinks || stat.size > BigInt(AGENT_POLICY_LIMITS.pathCharacters))
46088
+ throw new Error("Discovery path link limit exceeded");
46089
+ const rawTarget = readlinkSync(candidate, { encoding: "buffer" }), target = rawTarget.toString("utf8"), after = lstatSync8(candidate, { bigint: true });
46090
+ if (!rawTarget.equals(Buffer.from(target, "utf8")))
46091
+ throw new Error("Unsupported non-UTF8 discovery link target");
46092
+ if (!target || target.includes("\x00") || Buffer.byteLength(target) > AGENT_POLICY_LIMITS.pathCharacters || !after.isSymbolicLink() || JSON.stringify(identity2(stat, true)) !== JSON.stringify(identity2(after, true)))
46093
+ throw new Error("Discovery link changed during read");
46094
+ record2(candidate, { type: "link", target, ...identity2(stat, true) });
46095
+ if (isAbsolute6(target)) {
46096
+ cursor = parse3(target).root;
46097
+ root3();
46098
+ }
46099
+ const remainder = isAbsolute6(target) ? target.slice(parse3(target).root.length) : target;
46100
+ pending = [...remainder.split(sep), ...pending];
46101
+ if (pending.length + steps > AGENT_POLICY_LIMITS.discoveryPathSteps)
46102
+ throw new Error("Discovery path step limit exceeded");
46103
+ continue;
46104
+ }
46105
+ if (stat.isDirectory()) {
46106
+ record2(candidate, { type: "directory", ...identity2(stat) });
46107
+ cursor = candidate;
46108
+ continue;
46109
+ }
46110
+ if (!stat.isFile() || pending.length)
46111
+ throw new Error("Unsupported discovery path input");
46112
+ if (stat.size > BigInt(AGENT_POLICY_LIMITS.discoveryRawSourceBytes))
46113
+ throw new Error("Unsupported or oversized raw discovery input");
46114
+ record2(candidate, { type: "file", ...identity2(stat, true) });
46115
+ return { rows, paths, file: candidate, missing: null, metadataBytes };
46116
+ }
46117
+ throw new Error("Unsupported directory discovery path input");
46118
+ }
46119
+ function hashDiscoveryPathFile(path, budget, changes) {
46120
+ const before = trace(path);
46121
+ let createsMissingPath = false;
46122
+ if (before.missing !== null && changes) {
46123
+ for (const target of changes.keys()) {
46124
+ if (target === before.missing || target.startsWith(before.missing + sep)) {
46125
+ createsMissingPath = true;
46126
+ break;
46127
+ }
46128
+ }
46129
+ }
46130
+ if (createsMissingPath || changes?.has(path) || before.paths.some((path2) => changes?.has(path2)))
46131
+ throw new Error("Discovery path witness intersects a planned write; use bytes mode for owned configuration");
46132
+ const remaining = budget.pathMetadataRemaining ?? AGENT_POLICY_LIMITS.discoveryPathTotalMetadataBytes;
46133
+ if (before.metadataBytes > remaining)
46134
+ throw new Error("Discovery path aggregate metadata limit exceeded");
46135
+ budget.pathMetadataRemaining = remaining - before.metadataBytes;
46136
+ const content = before.file === null ? null : hashRawDiscoveryFile(before.file, budget);
46137
+ if (before.file !== null && content === null)
46138
+ throw new Error("Discovery path input changed during read");
46139
+ const after = trace(path);
46140
+ if (JSON.stringify(before.rows) !== JSON.stringify(after.rows) || before.file !== after.file)
46141
+ throw new Error("Discovery path input changed during read");
46142
+ return createHash11("sha256").update(JSON.stringify({ version: 1, path, rows: before.rows, content })).digest("hex");
46143
+ }
46144
+
46047
46145
  // src/lib/agent-discovery.ts
46048
- var digest2 = (text2) => createHash11("sha256").update(text2).digest("hex");
46146
+ var digest2 = (text2) => createHash12("sha256").update(text2).digest("hex");
46049
46147
  function parseConfig(text2, path, toml = false) {
46050
46148
  try {
46051
46149
  const value = toml ? Bun.TOML.parse(text2) : JSON.parse(text2);
@@ -46057,12 +46155,12 @@ function parseConfig(text2, path, toml = false) {
46057
46155
  }
46058
46156
  }
46059
46157
  function safe3(path) {
46060
- if (!isAbsolute6(path) || path.includes("\x00"))
46158
+ if (!isAbsolute7(path) || path.includes("\x00"))
46061
46159
  throw new Error("Expected an absolute native discovery path");
46062
- for (let cursor = path;; cursor = dirname10(cursor)) {
46063
- if (lstatSync8(cursor, { throwIfNoEntry: false })?.isSymbolicLink())
46160
+ for (let cursor = path;; cursor = dirname11(cursor)) {
46161
+ if (lstatSync9(cursor, { throwIfNoEntry: false })?.isSymbolicLink())
46064
46162
  throw new Error(`Refusing symlink native discovery input: ${cursor}`);
46065
- if (dirname10(cursor) === cursor)
46163
+ if (dirname11(cursor) === cursor)
46066
46164
  break;
46067
46165
  }
46068
46166
  }
@@ -46070,7 +46168,7 @@ function read(path, changes) {
46070
46168
  safe3(path);
46071
46169
  if (changes?.has(path))
46072
46170
  return changes.get(path);
46073
- const stat = lstatSync8(path, { throwIfNoEntry: false });
46171
+ const stat = lstatSync9(path, { throwIfNoEntry: false });
46074
46172
  if (!stat)
46075
46173
  return null;
46076
46174
  if (!stat.isFile() || stat.size > 16 * 1024 * 1024)
@@ -46079,10 +46177,12 @@ function read(path, changes) {
46079
46177
  }
46080
46178
  function projected(source, changes, budget = discoveryByteBudget()) {
46081
46179
  if (source.hashMode !== undefined) {
46082
- if (source.hashMode !== "bytes")
46180
+ if (source.hashMode !== "bytes" && source.hashMode !== "path-bytes")
46083
46181
  throw new Error("Invalid native discovery hash mode");
46084
46182
  if (source.format !== undefined || source.fields !== undefined)
46085
46183
  throw new Error("Raw discovery witnesses cannot project configuration fields");
46184
+ if (source.hashMode === "path-bytes")
46185
+ return hashDiscoveryPathFile(source.path, budget, changes);
46086
46186
  return hashRawDiscoveryFile(source.path, budget, changes);
46087
46187
  }
46088
46188
  const text2 = read(source.path, changes);
@@ -46124,25 +46224,31 @@ function captureDiscoveryByteSources(paths) {
46124
46224
  const budget = discoveryByteBudget();
46125
46225
  return paths.map((path) => ({ path, hashMode: "bytes", sha256: hashRawDiscoveryFile(path, budget) }));
46126
46226
  }
46227
+ function captureDiscoveryPathSources(paths) {
46228
+ if (!Array.isArray(paths) || paths.length > AGENT_POLICY_LIMITS.discoverySources || new Set(paths).size !== paths.length)
46229
+ throw new Error("Invalid path discovery source collection");
46230
+ const budget = discoveryByteBudget();
46231
+ return paths.map((path) => ({ path, hashMode: "path-bytes", sha256: hashDiscoveryPathFile(path, budget) }));
46232
+ }
46127
46233
  function resolveAgentDiscovery(options) {
46128
- const canonical = options.canonical ?? resolve6, home = resolve6(options.home), agent = options.agent;
46234
+ const canonical2 = options.canonical ?? resolve7, home = resolve7(options.home), agent = options.agent;
46129
46235
  const sources = [], roots = new Set, builtinNames = [];
46130
46236
  const witness = (path, format, fields) => {
46131
- const source = { path: canonical(path), sha256: null, ...format ? { format, fields } : {} };
46237
+ const source = { path: canonical2(path), sha256: null, ...format ? { format, fields } : {} };
46132
46238
  source.sha256 = projected(source);
46133
46239
  sources.push(source);
46134
46240
  return read(source.path);
46135
46241
  };
46136
46242
  if (agent === "hermes")
46137
46243
  assertHermesEnvironment(home);
46138
- const configPath = join14(home, agent === "hermes" ? ".hermes/config.yaml" : agent === "opencode" ? ".config/opencode/opencode.json" : `.${agent}/${agent === "codex" ? "config.toml" : agent === "cursor" ? "hooks.json" : "settings.json"}`);
46244
+ const configPath = join15(home, agent === "hermes" ? ".hermes/config.yaml" : agent === "opencode" ? ".config/opencode/opencode.json" : `.${agent}/${agent === "codex" ? "config.toml" : agent === "cursor" ? "hooks.json" : "settings.json"}`);
46139
46245
  const configText = witness(configPath, agent === "hermes" ? "yaml" : agent === "codex" ? "toml" : "json", agent === "hermes" ? ["skills", "plugins", "hooks"] : agent === "claude" ? ["enabledPlugins", "extraKnownMarketplaces"] : agent === "codex" ? ["plugins", "marketplaces", "skills"] : agent === "gemini" ? ["skills", "extensions", "security"] : agent === "opencode" ? ["plugin", "skills"] : ["version"]);
46140
46246
  const config = configText === null ? {} : agent === "hermes" ? parseHermesConfig(configText) : parseConfig(configText, configPath, agent === "codex");
46141
46247
  const unresolved = (detail) => {
46142
46248
  throw new Error(`Native discovery is unresolved (${agent}: ${detail}); provide a reviewed --discovery-inputs file`);
46143
46249
  };
46144
46250
  if (agent === "hermes") {
46145
- const profile2 = witness(join14(home, ".hermes/active_profile"));
46251
+ const profile2 = witness(join15(home, ".hermes/active_profile"));
46146
46252
  if (profile2?.trim() && profile2.trim() !== "default")
46147
46253
  unresolved("a non-default profile is active");
46148
46254
  const declared = config.skills?.external_dirs ?? [], paths = typeof declared === "string" ? [declared] : declared;
@@ -46156,7 +46262,7 @@ function resolveAgentDiscovery(options) {
46156
46262
  continue;
46157
46263
  if (normalized.startsWith("~") && normalized !== "~" && !normalized.startsWith("~/"))
46158
46264
  unresolved("user-specific tilde expansion requires a separate discovery adapter");
46159
- const path = normalized === "~" ? home : normalized.startsWith("~/") ? join14(home, normalized.slice(2)) : resolve6(home, ".hermes", normalized);
46265
+ const path = normalized === "~" ? home : normalized.startsWith("~/") ? join15(home, normalized.slice(2)) : resolve7(home, ".hermes", normalized);
46160
46266
  safe3(path);
46161
46267
  roots.add(path);
46162
46268
  }
@@ -46165,24 +46271,24 @@ function resolveAgentDiscovery(options) {
46165
46271
  const executable = Bun.which("gemini");
46166
46272
  if (executable) {
46167
46273
  let packageRoot;
46168
- for (let directory = dirname10(realpathSync(executable)), depth = 0;depth < 8; directory = dirname10(directory), depth++) {
46169
- const path = join14(directory, "package.json"), raw = read(path);
46274
+ for (let directory = dirname11(realpathSync(executable)), depth = 0;depth < 8; directory = dirname11(directory), depth++) {
46275
+ const path = join15(directory, "package.json"), raw = read(path);
46170
46276
  if (raw !== null && parseConfig(raw, path).name === "@google/gemini-cli") {
46171
46277
  packageRoot = directory;
46172
46278
  witness(path);
46173
46279
  break;
46174
46280
  }
46175
- if (dirname10(directory) === directory)
46281
+ if (dirname11(directory) === directory)
46176
46282
  break;
46177
46283
  }
46178
46284
  if (!packageRoot)
46179
46285
  unresolved("installed Gemini package layout is not recognized");
46180
- const builtinRoot = join14(packageRoot, "bundle/builtin");
46286
+ const builtinRoot = join15(packageRoot, "bundle/builtin");
46181
46287
  safe3(builtinRoot);
46182
- if (!lstatSync8(builtinRoot, { throwIfNoEntry: false })?.isDirectory())
46288
+ if (!lstatSync9(builtinRoot, { throwIfNoEntry: false })?.isDirectory())
46183
46289
  unresolved("installed Gemini builtin root is missing");
46184
46290
  for (const name of readdirSync5(builtinRoot).sort()) {
46185
- const text2 = witness(join14(builtinRoot, name, "SKILL.md"));
46291
+ const text2 = witness(join15(builtinRoot, name, "SKILL.md"));
46186
46292
  const match = text2?.match(/^---\r?\n[\s\S]*?^name:\s*([a-z0-9][a-z0-9-]*)\s*$/m);
46187
46293
  if (!match?.[1] || builtinNames.includes(match[1]))
46188
46294
  unresolved("installed Gemini builtin name is missing or ambiguous");
@@ -46200,46 +46306,46 @@ function resolveAgentDiscovery(options) {
46200
46306
  if (review.sources.some((source) => source.format !== undefined || source.fields !== undefined))
46201
46307
  throw new Error("Explicit discovery reviews require full source-file hashes");
46202
46308
  verifyAgentDiscovery(supplied);
46203
- if (!review.sources.some((source) => source.path === canonical(configPath)))
46309
+ if (!review.sources.some((source) => source.path === canonical2(configPath)))
46204
46310
  throw new Error("Discovery review must include the agent configuration source");
46205
46311
  return { ...supplied, roots: [...new Set([...roots, ...supplied.roots])].sort(), sources: [...sources, ...review.sources], ...agent === "gemini" ? { builtinNames } : {} };
46206
46312
  }
46207
46313
  function plugin(root3) {
46208
- root3 = canonical(root3);
46314
+ root3 = canonical2(root3);
46209
46315
  safe3(root3);
46210
- const manifestPath = join14(root3, agent === "claude" ? ".claude-plugin/plugin.json" : ".codex-plugin/plugin.json");
46316
+ const manifestPath = join15(root3, agent === "claude" ? ".claude-plugin/plugin.json" : ".codex-plugin/plugin.json");
46211
46317
  const raw = witness(manifestPath);
46212
46318
  if (raw === null)
46213
46319
  unresolved("plugin manifest missing");
46214
46320
  const manifest = parseConfig(raw, manifestPath);
46215
- const hooks = witness(join14(root3, "hooks/hooks.json"));
46321
+ const hooks = witness(join15(root3, "hooks/hooks.json"));
46216
46322
  if (manifest.hooks !== undefined || hooks !== null)
46217
46323
  unresolved("plugin hooks require a separate no-skill-injection review");
46218
- const commands2 = join14(root3, "commands");
46324
+ const commands2 = join15(root3, "commands");
46219
46325
  safe3(commands2);
46220
- if (agent === "claude" && (manifest.commands !== undefined || lstatSync8(commands2, { throwIfNoEntry: false })?.isDirectory() && readdirSync5(commands2).length))
46326
+ if (agent === "claude" && (manifest.commands !== undefined || lstatSync9(commands2, { throwIfNoEntry: false })?.isDirectory() && readdirSync5(commands2).length))
46221
46327
  unresolved("legacy command discovery requires retirement or a dedicated format adapter");
46222
- const rootSkill = witness(join14(root3, "SKILL.md"));
46328
+ const rootSkill = witness(join15(root3, "SKILL.md"));
46223
46329
  if (rootSkill !== null)
46224
46330
  roots.add(root3);
46225
46331
  const declared = manifest.skills === undefined ? ["./skills"] : typeof manifest.skills === "string" ? [manifest.skills] : manifest.skills;
46226
46332
  if (!Array.isArray(declared) || declared.some((path) => typeof path !== "string"))
46227
46333
  unresolved("unsupported plugin skill paths");
46228
46334
  if (agent === "claude")
46229
- roots.add(join14(root3, "skills"));
46335
+ roots.add(join15(root3, "skills"));
46230
46336
  for (const value of declared) {
46231
- const path = resolve6(root3, value);
46232
- if (path !== root3 && !path.startsWith(root3 + sep))
46337
+ const path = resolve7(root3, value);
46338
+ if (path !== root3 && !path.startsWith(root3 + sep2))
46233
46339
  unresolved("plugin skill path escapes its root");
46234
- roots.add(path.endsWith(`${sep}SKILL.md`) ? dirname10(path) : path);
46340
+ roots.add(path.endsWith(`${sep2}SKILL.md`) ? dirname11(path) : path);
46235
46341
  }
46236
46342
  }
46237
46343
  if (agent === "claude") {
46238
- const registrations = witness(join14(home, ".claude/plugins/installed_plugins.json"));
46239
- const installed = registrations === null ? {} : parseConfig(registrations, join14(home, ".claude/plugins/installed_plugins.json")).plugins;
46240
- const commands2 = canonical(join14(home, ".claude/commands"));
46344
+ const registrations = witness(join15(home, ".claude/plugins/installed_plugins.json"));
46345
+ const installed = registrations === null ? {} : parseConfig(registrations, join15(home, ".claude/plugins/installed_plugins.json")).plugins;
46346
+ const commands2 = canonical2(join15(home, ".claude/commands"));
46241
46347
  safe3(commands2);
46242
- if (lstatSync8(commands2, { throwIfNoEntry: false })?.isDirectory() && readdirSync5(commands2).length)
46348
+ if (lstatSync9(commands2, { throwIfNoEntry: false })?.isDirectory() && readdirSync5(commands2).length)
46243
46349
  unresolved("legacy home command discovery requires a dedicated format adapter");
46244
46350
  for (const [id, enabled] of Object.entries(config.enabledPlugins ?? {})) {
46245
46351
  if (enabled === false)
@@ -46259,34 +46365,34 @@ function resolveAgentDiscovery(options) {
46259
46365
  unresolved("unsupported plugin enablement");
46260
46366
  const split = id.lastIndexOf("@"), name = id.slice(0, split), marketplace = id.slice(split + 1);
46261
46367
  const market = config.marketplaces?.[marketplace] ?? (marketplace === "personal" ? { source_type: "local", source: home } : undefined);
46262
- if (split < 1 || market?.source_type !== "local" || typeof market.source !== "string" || !isAbsolute6(market.source))
46368
+ if (split < 1 || market?.source_type !== "local" || typeof market.source !== "string" || !isAbsolute7(market.source))
46263
46369
  unresolved("enabled plugin marketplace is not an explicit local source");
46264
- const catalogText = witness(join14(market.source, ".agents/plugins/marketplace.json"));
46370
+ const catalogText = witness(join15(market.source, ".agents/plugins/marketplace.json"));
46265
46371
  if (catalogText === null)
46266
46372
  unresolved("marketplace catalog missing");
46267
- const catalog = parseConfig(catalogText, join14(market.source, ".agents/plugins/marketplace.json")), matches = Array.isArray(catalog.plugins) ? catalog.plugins.filter((item) => item.name === name) : [];
46373
+ const catalog = parseConfig(catalogText, join15(market.source, ".agents/plugins/marketplace.json")), matches = Array.isArray(catalog.plugins) ? catalog.plugins.filter((item) => item.name === name) : [];
46268
46374
  if (matches.length !== 1 || matches[0]?.source?.source !== "local" || typeof matches[0]?.source?.path !== "string")
46269
46375
  unresolved("plugin catalog source is missing or ambiguous");
46270
- plugin(resolve6(market.source, matches[0].source.path));
46376
+ plugin(resolve7(market.source, matches[0].source.path));
46271
46377
  }
46272
46378
  } else if (agent === "opencode") {
46273
- if (witness(join14(home, ".config/opencode/opencode.jsonc")) !== null || witness(join14(home, ".config/opencode/config.json")) !== null)
46379
+ if (witness(join15(home, ".config/opencode/opencode.jsonc")) !== null || witness(join15(home, ".config/opencode/config.json")) !== null)
46274
46380
  unresolved("additional config layers require review");
46275
46381
  if ((config.plugin?.length ?? 0) > 0 || config.skills?.urls?.length)
46276
46382
  unresolved("external plugin or remote skill source");
46277
46383
  for (const path of config.skills?.paths ?? []) {
46278
- if (typeof path !== "string" || !isAbsolute6(path))
46384
+ if (typeof path !== "string" || !isAbsolute7(path))
46279
46385
  unresolved("relative or malformed added skill root");
46280
46386
  roots.add(path);
46281
46387
  }
46282
- const localPlugins = join14(home, ".config/opencode/plugins");
46388
+ const localPlugins = join15(home, ".config/opencode/plugins");
46283
46389
  safe3(localPlugins);
46284
- if (lstatSync8(localPlugins, { throwIfNoEntry: false }) && readdirSync5(localPlugins).some((name) => name !== "skills-cli.js"))
46390
+ if (lstatSync9(localPlugins, { throwIfNoEntry: false }) && readdirSync5(localPlugins).some((name) => name !== "skills-cli.js"))
46285
46391
  unresolved("additional local plugin hooks require review");
46286
46392
  } else if (agent === "hermes") {
46287
- for (const directory of [join14(home, ".hermes/plugins"), join14(home, ".hermes/hermes-agent")]) {
46393
+ for (const directory of [join15(home, ".hermes/plugins"), join15(home, ".hermes/hermes-agent")]) {
46288
46394
  safe3(directory);
46289
- if (lstatSync8(directory, { throwIfNoEntry: false }))
46395
+ if (lstatSync9(directory, { throwIfNoEntry: false }))
46290
46396
  unresolved("installed runtime/plugin discovery requires reviewed source bindings");
46291
46397
  }
46292
46398
  if (Bun.which("hermes") || Object.keys(config.plugins ?? {}).length)
@@ -46294,24 +46400,24 @@ function resolveAgentDiscovery(options) {
46294
46400
  } else if (agent === "gemini") {
46295
46401
  if (Object.keys(config.extensions ?? {}).length || config.skills?.paths?.length)
46296
46402
  unresolved("custom extension or skill paths");
46297
- const directory = join14(home, ".gemini/extensions");
46403
+ const directory = join15(home, ".gemini/extensions");
46298
46404
  safe3(directory);
46299
- if (lstatSync8(directory, { throwIfNoEntry: false }))
46405
+ if (lstatSync9(directory, { throwIfNoEntry: false }))
46300
46406
  for (const name of readdirSync5(directory)) {
46301
- const root3 = join14(directory, name);
46407
+ const root3 = join15(directory, name);
46302
46408
  safe3(root3);
46303
- if (!lstatSync8(root3)?.isDirectory())
46409
+ if (!lstatSync9(root3)?.isDirectory())
46304
46410
  continue;
46305
- const raw = witness(join14(root3, "gemini-extension.json"));
46411
+ const raw = witness(join15(root3, "gemini-extension.json"));
46306
46412
  if (raw === null)
46307
46413
  unresolved("extension registration missing");
46308
- const manifest = parseConfig(raw, join14(root3, "gemini-extension.json"));
46309
- if (manifest.hooks !== undefined || witness(join14(root3, "hooks/hooks.json")) !== null || witness(join14(root3, ".gemini-extension-install.json")) !== null)
46414
+ const manifest = parseConfig(raw, join15(root3, "gemini-extension.json"));
46415
+ if (manifest.hooks !== undefined || witness(join15(root3, "hooks/hooks.json")) !== null || witness(join15(root3, ".gemini-extension-install.json")) !== null)
46310
46416
  unresolved("extension hooks or linked registration require review");
46311
- roots.add(join14(root3, "skills"));
46417
+ roots.add(join15(root3, "skills"));
46312
46418
  }
46313
46419
  }
46314
- return { agent, roots: [...roots].sort(), sources, method: "automatic", ...agent === "gemini" ? { builtinNames } : {}, ...agent === "hermes" ? { directories: captureDiscoveryDirectories([join14(home, ".hermes/plugins"), join14(home, ".hermes/hermes-agent")].map((path) => canonical(path))) } : {} };
46420
+ return { agent, roots: [...roots].sort(), sources, method: "automatic", ...agent === "gemini" ? { builtinNames } : {}, ...agent === "hermes" ? { directories: captureDiscoveryDirectories([join15(home, ".hermes/plugins"), join15(home, ".hermes/hermes-agent")].map((path) => canonical2(path))) } : {} };
46315
46421
  }
46316
46422
 
46317
46423
  // src/lib/agent-adapters.ts
@@ -46376,7 +46482,7 @@ export default async ({ directory }) => {
46376
46482
  }
46377
46483
 
46378
46484
  // src/lib/agent-integration.ts
46379
- var sha = (data) => createHash12("sha256").update(data).digest("hex");
46485
+ var sha = (data) => createHash13("sha256").update(data).digest("hex");
46380
46486
  var ROOTS = [
46381
46487
  ["claude", ".claude/skills"],
46382
46488
  ["codex", ".codex/skills"],
@@ -46395,11 +46501,11 @@ var ROOTS = [
46395
46501
  ["copilot", ".github/skills"]
46396
46502
  ];
46397
46503
  function assertSafePath(path) {
46398
- let cursor = resolve7(path);
46504
+ let cursor = resolve8(path);
46399
46505
  while (true) {
46400
- if (lstatSync9(cursor, { throwIfNoEntry: false })?.isSymbolicLink())
46506
+ if (lstatSync10(cursor, { throwIfNoEntry: false })?.isSymbolicLink())
46401
46507
  throw new Error(`Refusing symlink path: ${cursor}`);
46402
- const parent = dirname11(cursor);
46508
+ const parent = dirname12(cursor);
46403
46509
  if (parent === cursor)
46404
46510
  return;
46405
46511
  cursor = parent;
@@ -46407,17 +46513,17 @@ function assertSafePath(path) {
46407
46513
  }
46408
46514
  function readRootAlias(home, agent) {
46409
46515
  assertSafePath(home);
46410
- const realHome = realpathSync2(home), alias = join15(realHome, `.${agent}`);
46411
- const stat = lstatSync9(alias, { throwIfNoEntry: false, bigint: true });
46516
+ const realHome = realpathSync2(home), alias = join16(realHome, `.${agent}`);
46517
+ const stat = lstatSync10(alias, { throwIfNoEntry: false, bigint: true });
46412
46518
  if (!stat?.isSymbolicLink())
46413
46519
  throw new Error(`Agent root alias changed after planning: ${alias}`);
46414
- const link = readlinkSync(alias), targetPath = resolve7(dirname11(alias), link);
46520
+ const link = readlinkSync2(alias), targetPath = resolve8(dirname12(alias), link);
46415
46521
  assertSafePath(targetPath);
46416
- const targetStat = lstatSync9(targetPath, { throwIfNoEntry: false });
46522
+ const targetStat = lstatSync10(targetPath, { throwIfNoEntry: false });
46417
46523
  if (!targetStat?.isDirectory())
46418
46524
  throw new Error(`Agent root alias must target an existing directory: ${alias}`);
46419
46525
  const target = realpathSync2(targetPath), inside = relative2(realHome, target);
46420
- if (!inside || inside === ".." || inside.startsWith(`..${sep2}`) || isAbsolute7(inside))
46526
+ if (!inside || inside === ".." || inside.startsWith(`..${sep3}`) || isAbsolute8(inside))
46421
46527
  throw new Error(`Agent root alias target must be inside the real home: ${alias}`);
46422
46528
  return { agent, home: realHome, alias, target, link, aliasIdentity: `${stat.dev}:${stat.ino}:${stat.ctimeNs}`, targetIdentity: `${targetStat.dev}:${targetStat.ino}` };
46423
46529
  }
@@ -46426,19 +46532,19 @@ function rootAliases(home, allowed = false) {
46426
46532
  return [];
46427
46533
  const result = [];
46428
46534
  for (const agent of ["claude", "codex"])
46429
- if (lstatSync9(join15(home, `.${agent}`), { throwIfNoEntry: false })?.isSymbolicLink())
46535
+ if (lstatSync10(join16(home, `.${agent}`), { throwIfNoEntry: false })?.isSymbolicLink())
46430
46536
  result.push(readRootAlias(home, agent));
46431
- if (result.some((item, index) => result.slice(index + 1).some((other) => item.target === other.target || item.target.startsWith(other.target + sep2) || other.target.startsWith(item.target + sep2))))
46537
+ if (result.some((item, index) => result.slice(index + 1).some((other) => item.target === other.target || item.target.startsWith(other.target + sep3) || other.target.startsWith(item.target + sep3))))
46432
46538
  throw new Error("Agent root alias targets must not overlap");
46433
46539
  return result;
46434
46540
  }
46435
46541
  function canonicalAgentPath(path, aliases) {
46436
- const absolute = resolve7(path), binding = aliases.find((item) => absolute === item.alias || absolute.startsWith(item.alias + sep2));
46437
- return binding ? join15(binding.target, relative2(binding.alias, absolute)) : absolute;
46542
+ const absolute = resolve8(path), binding = aliases.find((item) => absolute === item.alias || absolute.startsWith(item.alias + sep3));
46543
+ return binding ? join16(binding.target, relative2(binding.alias, absolute)) : absolute;
46438
46544
  }
46439
46545
  function recheckRootAliases(aliases) {
46440
46546
  for (const binding of aliases) {
46441
- if (!["claude", "codex"].includes(binding.agent) || binding.alias !== join15(binding.home, `.${binding.agent}`))
46547
+ if (!["claude", "codex"].includes(binding.agent) || binding.alias !== join16(binding.home, `.${binding.agent}`))
46442
46548
  throw new Error("Invalid agent root alias binding");
46443
46549
  const current = readRootAlias(binding.home, binding.agent);
46444
46550
  if (JSON.stringify(current) !== JSON.stringify(binding))
@@ -46447,7 +46553,7 @@ function recheckRootAliases(aliases) {
46447
46553
  }
46448
46554
  function readNativeBytes(path, maximum = 64 * 1024 * 1024) {
46449
46555
  assertSafePath(path);
46450
- const before = lstatSync9(path);
46556
+ const before = lstatSync10(path);
46451
46557
  if (!before.isFile() || before.size > maximum)
46452
46558
  throw new Error("Unsupported or oversized native skill file");
46453
46559
  const descriptor = openSync6(path, constants5.O_RDONLY | constants5.O_NOFOLLOW | constants5.O_NONBLOCK);
@@ -46472,17 +46578,17 @@ function readNativeBytes(path, maximum = 64 * 1024 * 1024) {
46472
46578
  }
46473
46579
  }
46474
46580
  function treeHash(root3) {
46475
- const hash2 = createHash12("sha256");
46581
+ const hash2 = createHash13("sha256");
46476
46582
  let bytes = 0, files = 0;
46477
46583
  function visit2(path) {
46478
- const stat = lstatSync9(path);
46584
+ const stat = lstatSync10(path);
46479
46585
  if (stat.isSymbolicLink())
46480
46586
  throw new Error(`Refusing symlink in skill: ${path}`);
46481
46587
  const rel = relative2(root3, path);
46482
46588
  if (stat.isDirectory()) {
46483
46589
  hash2.update(`d\x00${rel}\x00`);
46484
46590
  for (const name of readdirSync6(path).sort())
46485
- visit2(join15(path, name));
46591
+ visit2(join16(path, name));
46486
46592
  return;
46487
46593
  }
46488
46594
  if (!stat.isFile())
@@ -46500,11 +46606,11 @@ function treeHash(root3) {
46500
46606
  }
46501
46607
  function inventoryNativeSkills(home = homedir3(), options = {}) {
46502
46608
  const aliases = rootAliases(home, options.allowRootAliases);
46503
- const roots = ROOTS.map(([agent, path]) => [agent, canonicalAgentPath(join15(home, path), aliases)]);
46504
- const bridgePaths = Object.values(AGENT_ADAPTERS).map((adapter) => canonicalAgentPath(join15(home, adapter.root, CLI_BRIDGE_NAME), aliases));
46505
- for (const project of new Set([...options.projectDirs ?? [], ...options.projectDir ? [options.projectDir] : []].map((path) => resolve7(path)))) {
46609
+ const roots = ROOTS.map(([agent, path]) => [agent, canonicalAgentPath(join16(home, path), aliases)]);
46610
+ const bridgePaths = Object.values(AGENT_ADAPTERS).map((adapter) => canonicalAgentPath(join16(home, adapter.root, CLI_BRIDGE_NAME), aliases));
46611
+ for (const project of new Set([...options.projectDirs ?? [], ...options.projectDir ? [options.projectDir] : []].map((path) => resolve8(path)))) {
46506
46612
  for (const [agent, path] of ROOTS)
46507
- roots.push([agent, canonicalAgentPath(join15(project, path), aliases)]);
46613
+ roots.push([agent, canonicalAgentPath(join16(project, path), aliases)]);
46508
46614
  }
46509
46615
  const entries = [], seen = new Set;
46510
46616
  const cacheScans = new Map, maxAliasProofEntries = 1e4;
@@ -46517,10 +46623,10 @@ function inventoryNativeSkills(home = homedir3(), options = {}) {
46517
46623
  throw new Error("Native skill discovery metadata limit exceeded");
46518
46624
  }
46519
46625
  function emptySiblingCacheAlias(path, parent) {
46520
- const link = readlinkSync(path), target = resolve7(parent, link);
46521
- if (dirname11(target) !== parent || (isAbsolute7(link) ? link !== target : dirname11(link) !== "."))
46626
+ const link = readlinkSync2(path), target = resolve8(parent, link);
46627
+ if (dirname12(target) !== parent || (isAbsolute8(link) ? link !== target : dirname12(link) !== "."))
46522
46628
  return false;
46523
- if (!lstatSync9(target, { throwIfNoEntry: false })?.isDirectory())
46629
+ if (!lstatSync10(target, { throwIfNoEntry: false })?.isDirectory())
46524
46630
  return false;
46525
46631
  const scan = cacheScans.get(target);
46526
46632
  return Boolean(scan?.complete && !scan.hasSkills && scan.entries <= maxAliasProofEntries);
@@ -46532,26 +46638,26 @@ function inventoryNativeSkills(home = homedir3(), options = {}) {
46532
46638
  assertSafePath(path);
46533
46639
  if (!existsSync5(path))
46534
46640
  return scan;
46535
- const stat = lstatSync9(path);
46641
+ const stat = lstatSync10(path);
46536
46642
  if (stat.isFile())
46537
46643
  return scan;
46538
46644
  if (!stat.isDirectory())
46539
46645
  throw new Error(`Unsupported native discovery entry: ${path}`);
46540
- if (existsSync5(join15(path, "SKILL.md"))) {
46646
+ if (existsSync5(join16(path, "SKILL.md"))) {
46541
46647
  scan.hasSkills = true;
46542
46648
  if (seen.has(path))
46543
46649
  return scan;
46544
46650
  seen.add(path);
46545
46651
  let managed = false;
46546
- const marker = join15(path, ".hasna-skills.json");
46652
+ const marker = join16(path, ".hasna-skills.json");
46547
46653
  if (existsSync5(marker)) {
46548
46654
  try {
46549
46655
  managed = JSON.parse(readFileSync9(marker, "utf8")).managedBy === "@hasna/skills";
46550
46656
  } catch {}
46551
46657
  }
46552
46658
  const bridge = !vendor && isOwnedCliBridge(path, bridgePaths);
46553
- const rootAlias = aliases.find((item) => path === item.target || path.startsWith(item.target + sep2));
46554
- entries.push({ agent, path, hash: treeHash(path), managed, vendor, ...agent === "codex" && path.startsWith(canonicalAgentPath(join15(home, ".codex", "skills", ".system"), aliases) + sep2) ? { system: true } : {}, ...bridge ? { bridge: true, bridgeHome: resolve7(home) } : {}, ...rootAlias ? { rootAlias } : {} });
46659
+ const rootAlias = aliases.find((item) => path === item.target || path.startsWith(item.target + sep3));
46660
+ entries.push({ agent, path, hash: treeHash(path), managed, vendor, ...agent === "codex" && path.startsWith(canonicalAgentPath(join16(home, ".codex", "skills", ".system"), aliases) + sep3) ? { system: true } : {}, ...bridge ? { bridge: true, bridgeHome: resolve8(home) } : {}, ...rootAlias ? { rootAlias } : {} });
46555
46661
  return scan;
46556
46662
  }
46557
46663
  if (depth > (vendor ? 32 : 3))
@@ -46560,7 +46666,7 @@ function inventoryNativeSkills(home = homedir3(), options = {}) {
46560
46666
  try {
46561
46667
  let child;
46562
46668
  while ((child = directory.readSync()) !== null) {
46563
- admit(join15(path, child.name));
46669
+ admit(join16(path, child.name));
46564
46670
  children.push(child);
46565
46671
  }
46566
46672
  } finally {
@@ -46572,13 +46678,13 @@ function inventoryNativeSkills(home = homedir3(), options = {}) {
46572
46678
  for (const { name } of children) {
46573
46679
  if (name === "node_modules")
46574
46680
  continue;
46575
- if (name.startsWith(".") && name !== ".system" && agent !== "hermes" && !(options.guardHermes && `${path}${sep2}`.includes(`${sep2}.agents${sep2}skills${sep2}`)))
46681
+ if (name.startsWith(".") && name !== ".system" && agent !== "hermes" && !(options.guardHermes && `${path}${sep3}`.includes(`${sep3}.agents${sep3}skills${sep3}`)))
46576
46682
  continue;
46577
46683
  const isVendor = vendor || name === ".system";
46578
46684
  if (isVendor && !options.includeVendor)
46579
46685
  continue;
46580
- const child = join15(path, name);
46581
- if (isVendor && lstatSync9(child, { throwIfNoEntry: false })?.isSymbolicLink()) {
46686
+ const child = join16(path, name);
46687
+ if (isVendor && lstatSync10(child, { throwIfNoEntry: false })?.isSymbolicLink()) {
46582
46688
  const target = statSync3(child, { throwIfNoEntry: false });
46583
46689
  if (target?.isFile() || pluginCache && target?.isDirectory() && emptySiblingCacheAlias(child, path)) {
46584
46690
  scan.entries++;
@@ -46595,7 +46701,7 @@ function inventoryNativeSkills(home = homedir3(), options = {}) {
46595
46701
  return scan;
46596
46702
  }
46597
46703
  function scanRoot(agent, path, vendor = false, pluginCache = false) {
46598
- if (agent === "hermes" || options.guardHermes && `${path}${sep2}`.includes(`${sep2}.agents${sep2}skills${sep2}`))
46704
+ if (agent === "hermes" || options.guardHermes && `${path}${sep3}`.includes(`${sep3}.agents${sep3}skills${sep3}`))
46599
46705
  assertNoHermesLegacyShadow(path);
46600
46706
  if (!visit2(agent, path, vendor, 0, pluginCache).complete)
46601
46707
  throw new Error(`Native skill discovery limit exceeded; review this root before continuing: ${path}`);
@@ -46604,8 +46710,8 @@ function inventoryNativeSkills(home = homedir3(), options = {}) {
46604
46710
  scanRoot(agent, path);
46605
46711
  if (options.includeVendor) {
46606
46712
  for (const agent of ["codex", "claude"])
46607
- scanRoot(agent, canonicalAgentPath(join15(home, `.${agent}`, "plugins", "cache"), aliases), true, true);
46608
- scanRoot("gemini", join15(home, ".gemini", "extensions"), true);
46713
+ scanRoot(agent, canonicalAgentPath(join16(home, `.${agent}`, "plugins", "cache"), aliases), true, true);
46714
+ scanRoot("gemini", join16(home, ".gemini", "extensions"), true);
46609
46715
  }
46610
46716
  const configured = options.configured ? INTEGRATION_AGENTS.flatMap((agent) => resolveAgentDiscovery({ home, agent, reviewed: options.discoveryInputs, canonical: (path) => canonicalAgentPath(path, aliases) }).roots.map((path) => ({ agent, path }))) : [];
46611
46717
  for (const root3 of [...options.agentRoots ?? [], ...configured])
@@ -46703,12 +46809,12 @@ function disableCodexSkills(text2, skills, aliases, bridgePath) {
46703
46809
  let result = text2;
46704
46810
  const selections2 = [...skills.filter((entry) => entry.agent === "codex" && !entry.bridge).map((skill) => ({ path: skill.path, enabled: false })), { path: bridgePath, enabled: true }];
46705
46811
  for (const skill of selections2) {
46706
- const path = join15(skill.path, "SKILL.md");
46812
+ const path = join16(skill.path, "SKILL.md");
46707
46813
  let found = false;
46708
46814
  result = result.replace(/^\[\[skills\.config\]\][^\n]*(?:\n(?!\s*\[)[^\n]*)*/gm, (section) => {
46709
46815
  const parsed = Bun.TOML.parse(section);
46710
46816
  const declared = parsed.skills?.config?.[0]?.path;
46711
- if (!declared || ![resolve7(path), resolve7(skill.path)].includes(canonicalAgentPath(declared, aliases)))
46817
+ if (!declared || ![resolve8(path), resolve8(skill.path)].includes(canonicalAgentPath(declared, aliases)))
46712
46818
  return section;
46713
46819
  found = true;
46714
46820
  return /^\s*enabled\s*=/m.test(section) ? section.replace(/^\s*enabled\s*=.*$/m, `enabled = ${skill.enabled}`) : `${section.trimEnd()}
@@ -46732,7 +46838,7 @@ function planAgentIntegration(options) {
46732
46838
  if (!/^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$/.test(profileId) || profileId.includes(".."))
46733
46839
  throw new Error("Invalid selection profile id");
46734
46840
  const aliases = rootAliases(home, options.allowRootAliases);
46735
- const policyPath = join15(dataDir2, "agent-policy.json");
46841
+ const policyPath = join16(dataDir2, "agent-policy.json");
46736
46842
  assertSafePath(policyPath);
46737
46843
  const priorSnapshot = readManagedSkillPolicySnapshot(dataDir2), previousPolicy = priorSnapshot?.text ?? null, policy = priorSnapshot?.value ?? {};
46738
46844
  if (policy.bridge !== undefined && (!policy.bridge || typeof policy.bridge !== "object" || Array.isArray(policy.bridge)))
@@ -46749,19 +46855,19 @@ function planAgentIntegration(options) {
46749
46855
  if (!INTEGRATION_AGENTS.includes(agent))
46750
46856
  throw new Error(`Unsupported agent: ${agent}`);
46751
46857
  const adapter = AGENT_ADAPTERS[agent];
46752
- const bridgePath = canonicalAgentPath(join15(home, adapter.root, CLI_BRIDGE_NAME), aliases);
46858
+ const bridgePath = canonicalAgentPath(join16(home, adapter.root, CLI_BRIDGE_NAME), aliases);
46753
46859
  assertSafePath(bridgePath);
46754
46860
  if (existsSync5(bridgePath) && !isOwnedCliBridge(bridgePath, [bridgePath]))
46755
46861
  throw new Error(`Refusing to overwrite an unrecognized or modified Skills bridge: ${bridgePath}`);
46756
46862
  for (const [name, after2] of Object.entries(CLI_BRIDGE_FILES)) {
46757
- const path2 = join15(bridgePath, name), before2 = readOptional(path2);
46863
+ const path2 = join16(bridgePath, name), before2 = readOptional(path2);
46758
46864
  if (before2 !== after2)
46759
46865
  changes.push({ path: path2, before: before2, after: after2 });
46760
46866
  }
46761
- const path = canonicalAgentPath(join15(home, adapter.config), aliases);
46867
+ const path = canonicalAgentPath(join16(home, adapter.config), aliases);
46762
46868
  const before = readOptional(path);
46763
46869
  if (agent === "hermes") {
46764
- const supervisorPath = join15(dataDir2, "agent-hooks", "hermes.js"), supervisorBefore = readOptional(supervisorPath), supervisorAfter = renderHermesSupervisor(options.command ?? "skills", profileId);
46870
+ const supervisorPath = join16(dataDir2, "agent-hooks", "hermes.js"), supervisorBefore = readOptional(supervisorPath), supervisorAfter = renderHermesSupervisor(options.command ?? "skills", profileId);
46765
46871
  const priorCommand = policy.bridge?.commands?.hermes, priorProfile = policy.bridge?.profiles?.hermes ?? policy.profileId;
46766
46872
  const previous = policy.bridge?.supervisors?.hermes;
46767
46873
  if (supervisorBefore !== null && supervisorBefore !== supervisorAfter && !(previous?.path === supervisorPath && typeof priorCommand === "string" && typeof priorProfile === "string" && supervisorBefore === renderHermesSupervisor(priorCommand, priorProfile)))
@@ -46772,7 +46878,7 @@ function planAgentIntegration(options) {
46772
46878
  const after2 = configureHermesHooks(before, supervisor, previous);
46773
46879
  if (before !== after2)
46774
46880
  changes.push({ path, before, after: after2 });
46775
- const optOut = join15(home, ".hermes", HERMES_OPT_OUT), optOutBefore = readOptional(optOut);
46881
+ const optOut = join16(home, ".hermes", HERMES_OPT_OUT), optOutBefore = readOptional(optOut);
46776
46882
  if (optOutBefore === null)
46777
46883
  changes.push({ path: optOut, before: null, after: `Managed by @hasna/skills: bundled native skill reseeding is disabled.
46778
46884
  ` });
@@ -46784,7 +46890,7 @@ function planAgentIntegration(options) {
46784
46890
  if (!permission || typeof permission !== "object" || Array.isArray(permission))
46785
46891
  throw new Error("Expected OpenCode permission object");
46786
46892
  config.permission = { ...permission, skill: { "*": "deny", [CLI_BRIDGE_NAME]: "allow" } };
46787
- const pluginPath = join15(home, ".config", "opencode", "plugins", "skills-cli.js"), pluginBefore = readOptional(pluginPath);
46893
+ const pluginPath = join16(home, ".config", "opencode", "plugins", "skills-cli.js"), pluginBefore = readOptional(pluginPath);
46788
46894
  const pluginAfter = renderOpenCodePlugin(options.command ?? "skills", profileId);
46789
46895
  const priorCommand = policy.bridge?.commands?.opencode;
46790
46896
  const ownedPrevious = typeof priorCommand === "string" && typeof policy.profileId === "string" && pluginBefore === renderOpenCodePlugin(priorCommand, policy.bridge?.profiles?.opencode ?? policy.profileId);
@@ -46801,7 +46907,7 @@ function planAgentIntegration(options) {
46801
46907
  if (before !== after)
46802
46908
  changes.push({ path, before, after });
46803
46909
  if (agent === "codex") {
46804
- const configPath = canonicalAgentPath(join15(home, ".codex", "config.toml"), aliases), previous = readOptional(configPath);
46910
+ const configPath = canonicalAgentPath(join16(home, ".codex", "config.toml"), aliases), previous = readOptional(configPath);
46805
46911
  const next = disableCodexSkills(previous ?? "", nativeSkills, aliases, bridgePath);
46806
46912
  if (next !== (previous ?? ""))
46807
46913
  changes.push({ path: configPath, before: previous, after: next });
@@ -46814,12 +46920,12 @@ function planAgentIntegration(options) {
46814
46920
  version: CLI_BRIDGE_VERSION,
46815
46921
  digest: CLI_BRIDGE_DIGEST,
46816
46922
  agents: [...new Set([...priorAgents, ...options.agents])].sort(),
46817
- home: resolve7(home),
46923
+ home: resolve8(home),
46818
46924
  includeVendor: true,
46819
- ...options.agents.includes("hermes") ? { supervisors: { ...policy.bridge?.supervisors, hermes: { path: join15(dataDir2, "agent-hooks", "hermes.js"), runtime: process.execPath, sha256: sha(renderHermesSupervisor(options.command ?? "skills", profileId)) } } } : {},
46925
+ ...options.agents.includes("hermes") ? { supervisors: { ...policy.bridge?.supervisors, hermes: { path: join16(dataDir2, "agent-hooks", "hermes.js"), runtime: process.execPath, sha256: sha(renderHermesSupervisor(options.command ?? "skills", profileId)) } } } : {},
46820
46926
  commands: { ...policy.bridge?.commands, ...Object.fromEntries(options.agents.map((agent) => [agent, options.command ?? "skills"])) },
46821
46927
  profiles: Object.fromEntries([...new Set([...priorAgents, ...options.agents])].sort().map((agent) => [agent, options.agents.includes(agent) ? profileId : policy.bridge?.profiles?.[agent] ?? policy.profileId])),
46822
- disabledBuiltins: options.agents.includes("codex") ? nativeSkills.filter((entry) => entry.agent === "codex" && entry.vendor && entry.path.startsWith(canonicalAgentPath(join15(home, ".codex", "skills", ".system"), aliases) + sep2)).map((entry) => ({ path: entry.path, hash: entry.hash })) : policy.bridge?.disabledBuiltins ?? [],
46928
+ disabledBuiltins: options.agents.includes("codex") ? nativeSkills.filter((entry) => entry.agent === "codex" && entry.vendor && entry.path.startsWith(canonicalAgentPath(join16(home, ".codex", "skills", ".system"), aliases) + sep3)).map((entry) => ({ path: entry.path, hash: entry.hash })) : policy.bridge?.disabledBuiltins ?? [],
46823
46929
  rootAliases: aliases,
46824
46930
  discovery: { ...policy.bridge?.discovery, ...Object.fromEntries(discoveryAfter.map((binding) => [binding.agent, binding])) }
46825
46931
  } };
@@ -46831,7 +46937,7 @@ function planAgentIntegration(options) {
46831
46937
  }
46832
46938
  function atomicWrite2(path, content) {
46833
46939
  assertSafePath(path);
46834
- mkdirSync5(dirname11(path), { recursive: true, mode: 448 });
46940
+ mkdirSync5(dirname12(path), { recursive: true, mode: 448 });
46835
46941
  const temporary = `${path}.skills-${randomUUID6()}`;
46836
46942
  try {
46837
46943
  writeFileSync3(temporary, content, { mode: 384, flag: "wx" });
@@ -46842,12 +46948,12 @@ function atomicWrite2(path, content) {
46842
46948
  }
46843
46949
  }
46844
46950
  function applyAgentIntegration(plan) {
46845
- const policyPath = join15(plan.dataDir, "agent-policy.json");
46951
+ const policyPath = join16(plan.dataDir, "agent-policy.json");
46846
46952
  assertSafePath(policyPath);
46847
- const currentText = (path) => resolve7(path) === resolve7(policyPath) ? readManagedSkillPolicySnapshot(plan.dataDir)?.text ?? null : readOptional(path);
46953
+ const currentText = (path) => resolve8(path) === resolve8(policyPath) ? readManagedSkillPolicySnapshot(plan.dataDir)?.text ?? null : readOptional(path);
46848
46954
  readManagedSkillPolicySnapshot(plan.dataDir);
46849
46955
  for (const change of plan.changes)
46850
- if (resolve7(change.path) === resolve7(policyPath))
46956
+ if (resolve8(change.path) === resolve8(policyPath))
46851
46957
  parseManagedSkillPolicy(change.after);
46852
46958
  const aliases = plan.rootAliases ?? [];
46853
46959
  recheckRootAliases(aliases);
@@ -46858,7 +46964,7 @@ function applyAgentIntegration(plan) {
46858
46964
  for (const change of plan.changes)
46859
46965
  if (currentText(change.path) !== change.before)
46860
46966
  throw new Error(`Configuration changed after planning: ${change.path}`);
46861
- const backupRoot = join15(plan.dataDir, "migration", randomUUID6()), backups = [], written = [], createdDirectories = new Set;
46967
+ const backupRoot = join16(plan.dataDir, "migration", randomUUID6()), backups = [], written = [], createdDirectories = new Set;
46862
46968
  if (!plan.changes.length) {
46863
46969
  recheckRootAliases(aliases);
46864
46970
  return { changed: [], backups, ...aliases.length ? { rootAliases: aliases } : {} };
@@ -46868,7 +46974,7 @@ function applyAgentIntegration(plan) {
46868
46974
  chmodSync(backupRoot, 448);
46869
46975
  for (const [index, change] of plan.changes.entries())
46870
46976
  if (change.before !== null) {
46871
- const backup = join15(backupRoot, `${index}-${sha(change.path).slice(0, 12)}.backup`);
46977
+ const backup = join16(backupRoot, `${index}-${sha(change.path).slice(0, 12)}.backup`);
46872
46978
  writeFileSync3(backup, change.before, { mode: 384, flag: "wx" });
46873
46979
  backups.push(backup);
46874
46980
  }
@@ -46877,7 +46983,7 @@ function applyAgentIntegration(plan) {
46877
46983
  recheckRootAliases(aliases);
46878
46984
  if (currentText(change.path) !== change.before)
46879
46985
  throw new Error(`Configuration changed after planning: ${change.path}`);
46880
- for (let directory = dirname11(change.path);!existsSync5(directory); directory = dirname11(directory))
46986
+ for (let directory = dirname12(change.path);!existsSync5(directory); directory = dirname12(directory))
46881
46987
  createdDirectories.add(directory);
46882
46988
  const after = change.after;
46883
46989
  atomicWrite2(change.path, after);
@@ -46886,7 +46992,7 @@ function applyAgentIntegration(plan) {
46886
46992
  recheckRootAliases(aliases);
46887
46993
  for (const binding of plan.discoveryAfter ?? [])
46888
46994
  verifyAgentDiscovery(binding);
46889
- atomicWrite2(join15(backupRoot, "receipt.json"), JSON.stringify({ version: 1, changes: written.map((change) => ({ path: change.path, beforeHash: change.before === null ? null : sha(change.before), afterHash: sha(change.after) })), backups, ...aliases.length ? { rootAliases: aliases } : {} }) + `
46995
+ atomicWrite2(join16(backupRoot, "receipt.json"), JSON.stringify({ version: 1, changes: written.map((change) => ({ path: change.path, beforeHash: change.before === null ? null : sha(change.before), afterHash: sha(change.after) })), backups, ...aliases.length ? { rootAliases: aliases } : {} }) + `
46890
46996
  `);
46891
46997
  } catch (error) {
46892
46998
  for (const change of written.reverse()) {
@@ -46936,11 +47042,11 @@ function writeArchiveJournal(path, value) {
46936
47042
  closeSync6(descriptor);
46937
47043
  descriptor = undefined;
46938
47044
  renameSync2(temporary, path);
46939
- syncArchiveDirectory(dirname11(path));
47045
+ syncArchiveDirectory(dirname12(path));
46940
47046
  } finally {
46941
47047
  if (descriptor !== undefined)
46942
47048
  closeSync6(descriptor);
46943
- if (lstatSync9(temporary, { throwIfNoEntry: false }))
47049
+ if (lstatSync10(temporary, { throwIfNoEntry: false }))
46944
47050
  unlinkSync2(temporary);
46945
47051
  }
46946
47052
  }
@@ -46951,7 +47057,7 @@ function archiveNativeSkills(inventory, options) {
46951
47057
  recheckRootAliases(aliases);
46952
47058
  for (const entry of inventory.filter((entry2) => entry2.bridge)) {
46953
47059
  const adapter = AGENT_ADAPTERS[entry.agent];
46954
- const expected = adapter && entry.bridgeHome ? canonicalAgentPath(join15(entry.bridgeHome, adapter.root, CLI_BRIDGE_NAME), aliases) : undefined;
47060
+ const expected = adapter && entry.bridgeHome ? canonicalAgentPath(join16(entry.bridgeHome, adapter.root, CLI_BRIDGE_NAME), aliases) : undefined;
46955
47061
  if (!expected || treeHash(entry.path) !== entry.hash || !isOwnedCliBridge(entry.path, [expected]))
46956
47062
  throw new Error(`Skills bridge changed after planning: ${entry.path}`);
46957
47063
  }
@@ -46961,11 +47067,11 @@ function archiveNativeSkills(inventory, options) {
46961
47067
  throw new Error(`Native skill changed after planning: ${entry.path}`);
46962
47068
  if (!selected.length)
46963
47069
  return { entries: [], ...aliases.length ? { rootAliases: aliases } : {} };
46964
- const operationId = randomUUID6(), archiveRoot = join15(options.dataDir ?? getDataDir(), "migration", operationId, "native"), receiptPath = join15(archiveRoot, "receipt.json");
47070
+ const operationId = randomUUID6(), archiveRoot = join16(options.dataDir ?? getDataDir(), "migration", operationId, "native"), receiptPath = join16(archiveRoot, "receipt.json");
46965
47071
  const entries = selected.map((entry, index) => ({
46966
- source: entry.vendor ? join15(entry.path, "SKILL.md") : entry.path,
46967
- archive: join15(archiveRoot, `${index}-${sha(entry.path).slice(0, 12)}`),
46968
- hash: entry.vendor ? sha(readNativeBytes(join15(entry.path, "SKILL.md"))) : entry.hash,
47072
+ source: entry.vendor ? join16(entry.path, "SKILL.md") : entry.path,
47073
+ archive: join16(archiveRoot, `${index}-${sha(entry.path).slice(0, 12)}`),
47074
+ hash: entry.vendor ? sha(readNativeBytes(join16(entry.path, "SKILL.md"))) : entry.hash,
46969
47075
  ...entry.vendor ? { discoveryOnly: true } : {},
46970
47076
  status: "planned"
46971
47077
  }));
@@ -46973,7 +47079,7 @@ function archiveNativeSkills(inventory, options) {
46973
47079
  const moved = [];
46974
47080
  const verifyArchive = (entry) => {
46975
47081
  assertSafePath(entry.archive);
46976
- const stat = lstatSync9(entry.archive);
47082
+ const stat = lstatSync10(entry.archive);
46977
47083
  if (entry.discoveryOnly ? !stat.isFile() : !stat.isDirectory())
46978
47084
  throw new Error("Archive type changed");
46979
47085
  if ((entry.discoveryOnly ? sha(readNativeBytes(entry.archive)) : treeHash(entry.archive)) !== entry.hash)
@@ -46981,14 +47087,14 @@ function archiveNativeSkills(inventory, options) {
46981
47087
  };
46982
47088
  assertSafePath(archiveRoot);
46983
47089
  const created = [];
46984
- for (let path = archiveRoot;!existsSync5(path); path = dirname11(path))
47090
+ for (let path = archiveRoot;!existsSync5(path); path = dirname12(path))
46985
47091
  created.push(path);
46986
47092
  mkdirSync5(archiveRoot, { recursive: true, mode: 448 });
46987
47093
  try {
46988
47094
  for (const directory of created)
46989
47095
  syncArchiveDirectory(directory);
46990
47096
  if (created.length)
46991
- syncArchiveDirectory(dirname11(created.at(-1)));
47097
+ syncArchiveDirectory(dirname12(created.at(-1)));
46992
47098
  writeArchiveJournal(receiptPath, journal);
46993
47099
  for (const [index, entry] of selected.entries()) {
46994
47100
  recheckRootAliases(aliases);
@@ -47000,7 +47106,7 @@ function archiveNativeSkills(inventory, options) {
47000
47106
  writeArchiveJournal(receiptPath, journal);
47001
47107
  renameSync2(move.source, move.archive);
47002
47108
  moved.push(move);
47003
- syncArchiveDirectory(dirname11(move.source));
47109
+ syncArchiveDirectory(dirname12(move.source));
47004
47110
  syncArchiveDirectory(archiveRoot);
47005
47111
  verifyArchive(move);
47006
47112
  move.status = "archived";
@@ -47021,7 +47127,7 @@ function archiveNativeSkills(inventory, options) {
47021
47127
  recheckRootAliases(aliases);
47022
47128
  assertSafePath(entry.source);
47023
47129
  assertSafePath(entry.archive);
47024
- if (lstatSync9(entry.source, { throwIfNoEntry: false })) {
47130
+ if (lstatSync10(entry.source, { throwIfNoEntry: false })) {
47025
47131
  entry.status = "recovery-required";
47026
47132
  entry.conflict = "source-occupied";
47027
47133
  continue;
@@ -47035,10 +47141,10 @@ function archiveNativeSkills(inventory, options) {
47035
47141
  }
47036
47142
  if (entry.discoveryOnly) {
47037
47143
  linkSync(entry.archive, entry.source);
47038
- syncArchiveDirectory(dirname11(entry.source));
47144
+ syncArchiveDirectory(dirname12(entry.source));
47039
47145
  unlinkSync2(entry.archive);
47040
47146
  } else {
47041
- if (lstatSync9(entry.source, { throwIfNoEntry: false })) {
47147
+ if (lstatSync10(entry.source, { throwIfNoEntry: false })) {
47042
47148
  entry.status = "recovery-required";
47043
47149
  entry.conflict = "source-occupied";
47044
47150
  continue;
@@ -47046,7 +47152,7 @@ function archiveNativeSkills(inventory, options) {
47046
47152
  renameSync2(entry.archive, entry.source);
47047
47153
  }
47048
47154
  entry.status = "restored";
47049
- syncArchiveDirectory(dirname11(entry.source));
47155
+ syncArchiveDirectory(dirname12(entry.source));
47050
47156
  syncArchiveDirectory(archiveRoot);
47051
47157
  } catch {
47052
47158
  entry.status = "recovery-required";
@@ -47083,7 +47189,7 @@ import {
47083
47189
  statSync as statSync8,
47084
47190
  writeFileSync as writeFileSync5
47085
47191
  } from "fs";
47086
- import { basename as basename2, dirname as dirname13, isAbsolute as isAbsolute9, join as join20, normalize as normalize2, relative as relative4, resolve as resolve8, sep as sep4 } from "path";
47192
+ import { basename as basename2, dirname as dirname14, isAbsolute as isAbsolute10, join as join21, normalize as normalize2, relative as relative4, resolve as resolve9, sep as sep5 } from "path";
47087
47193
 
47088
47194
  // src/lib/registry-data/development-tools.ts
47089
47195
  var DEVELOPMENT_TOOLS_SKILLS = [
@@ -47796,7 +47902,7 @@ var SKILLS = [
47796
47902
 
47797
47903
  // src/lib/hosted-skill-set.ts
47798
47904
  import { existsSync as existsSync6, readFileSync as readFileSync10, readdirSync as readdirSync7, statSync as statSync4 } from "fs";
47799
- import { join as join16 } from "path";
47905
+ import { join as join17 } from "path";
47800
47906
  var HOSTED_RUNTIMES = new Set(["hosted"]);
47801
47907
  var HOSTED_SOURCES = new Set(["remote", "private-hosted"]);
47802
47908
  function normalizeMarker(value) {
@@ -47809,7 +47915,7 @@ function isHostedMetadataPackage(pkg) {
47809
47915
  return HOSTED_RUNTIMES.has(normalizeMarker(skills.runtime)) || HOSTED_SOURCES.has(normalizeMarker(skills.source));
47810
47916
  }
47811
47917
  function isHostedMetadataSkillDir(skillDir) {
47812
- const pkgPath = join16(skillDir, "package.json");
47918
+ const pkgPath = join17(skillDir, "package.json");
47813
47919
  if (!existsSync6(pkgPath))
47814
47920
  return false;
47815
47921
  try {
@@ -47834,8 +47940,8 @@ var BRACE_SOURCE_EXCLUSION = new RegExp(`^!skills/\\{(${SLUG}(?:,${SLUG})+)\\}/s
47834
47940
  var SINGLE_SOURCE_EXCLUSION = new RegExp(`^!skills/(${SLUG})/src$`);
47835
47941
 
47836
47942
  // src/lib/skill-validation.ts
47837
- import { existsSync as existsSync7, lstatSync as lstatSync10, readFileSync as readFileSync11, readdirSync as readdirSync8, statSync as statSync5 } from "fs";
47838
- import { isAbsolute as isAbsolute8, join as join17, normalize } from "path";
47943
+ import { existsSync as existsSync7, lstatSync as lstatSync11, readFileSync as readFileSync11, readdirSync as readdirSync8, statSync as statSync5 } from "fs";
47944
+ import { isAbsolute as isAbsolute9, join as join18, normalize } from "path";
47839
47945
  var VALID_SKILL_KINDS = ["executable", "instruction"];
47840
47946
  var DOC_FILES = ["SKILL.md", "README.md", "CLAUDE.md"];
47841
47947
  var RESERVED_SKILL_ENTRIES = new Set([
@@ -47898,7 +48004,7 @@ function sortMessages(messages) {
47898
48004
  return [...messages].sort((a3, b3) => a3.code.localeCompare(b3.code) || a3.message.localeCompare(b3.message));
47899
48005
  }
47900
48006
  function isSafeRelativePath(value) {
47901
- if (!value.trim() || isAbsolute8(value))
48007
+ if (!value.trim() || isAbsolute9(value))
47902
48008
  return false;
47903
48009
  const normalized = normalize(value).replace(/\\/g, "/");
47904
48010
  return normalized !== ".." && !normalized.startsWith("../") && !normalized.includes("/../");
@@ -47998,11 +48104,11 @@ function validateSkillDirectory(name, skillPath, registryMeta) {
47998
48104
  add(issues, "skill.name_invalid", `Skill name '${bareName}' must use lowercase letters, numbers, dots, underscores, or hyphens`);
47999
48105
  }
48000
48106
  for (const entry of readdirSync8(skillPath).sort()) {
48001
- const entryPath = join17(skillPath, entry);
48107
+ const entryPath = join18(skillPath, entry);
48002
48108
  if (RESERVED_SKILL_ENTRIES.has(entry)) {
48003
48109
  add(issues, "skill.reserved_file", `Reserved file '${entry}' is not allowed in skill packages`);
48004
48110
  }
48005
- if (lstatSync10(entryPath).isSymbolicLink()) {
48111
+ if (lstatSync11(entryPath).isSymbolicLink()) {
48006
48112
  add(issues, "skill.symlink_forbidden", `Symlink '${entry}' is not allowed in skill packages`);
48007
48113
  }
48008
48114
  if (!KNOWN_TOP_LEVEL_ENTRIES.has(entry)) {
@@ -48010,13 +48116,13 @@ function validateSkillDirectory(name, skillPath, registryMeta) {
48010
48116
  }
48011
48117
  }
48012
48118
  for (const docFile of DOC_FILES) {
48013
- if (existsSync7(join17(skillPath, docFile)))
48119
+ if (existsSync7(join18(skillPath, docFile)))
48014
48120
  metadata.docFiles.push(docFile);
48015
48121
  }
48016
48122
  if (metadata.docFiles.length === 0) {
48017
48123
  add(issues, "skill.docs_missing", "Missing documentation file: expected SKILL.md, README.md, or CLAUDE.md");
48018
48124
  }
48019
- const skillMdPath = join17(skillPath, "SKILL.md");
48125
+ const skillMdPath = join18(skillPath, "SKILL.md");
48020
48126
  if (existsSync7(skillMdPath)) {
48021
48127
  const frontmatter = parseSkillFrontmatter(readFileSync11(skillMdPath, "utf-8"));
48022
48128
  if (!frontmatter) {
@@ -48060,7 +48166,7 @@ function validateSkillDirectory(name, skillPath, registryMeta) {
48060
48166
  }
48061
48167
  metadata.kind = resolvedKind;
48062
48168
  const isInstruction = resolvedKind === "instruction";
48063
- const pkgPath = join17(skillPath, "package.json");
48169
+ const pkgPath = join18(skillPath, "package.json");
48064
48170
  if (!existsSync7(pkgPath)) {
48065
48171
  if (!isInstruction)
48066
48172
  add(issues, "package.missing", "Missing package.json");
@@ -48119,7 +48225,7 @@ function validateSkillDirectory(name, skillPath, registryMeta) {
48119
48225
  add(issues, "package.bin_target_unsafe", `package.json bin '${command3}' target '${target}' must stay inside the skill directory`);
48120
48226
  continue;
48121
48227
  }
48122
- const targetPath = join17(skillPath, target);
48228
+ const targetPath = join18(skillPath, target);
48123
48229
  if (!existsSync7(targetPath)) {
48124
48230
  add(warnings, "package.bin_target_missing", `package.json bin '${command3}' target '${target}' is not present before build`);
48125
48231
  } else if (statSync5(targetPath).isDirectory()) {
@@ -48137,17 +48243,17 @@ function validateSkillDirectory(name, skillPath, registryMeta) {
48137
48243
  metadata.runtime = "none";
48138
48244
  } else {
48139
48245
  metadata.runtime = hostedMetadata ? "hosted" : "local";
48140
- const srcDir = join17(skillPath, "src");
48246
+ const srcDir = join18(skillPath, "src");
48141
48247
  if (hostedMetadata) {
48142
48248
  if (existsSync7(srcDir)) {
48143
48249
  add(issues, "skill.hosted_source_forbidden", "Hosted metadata skills must not include local implementation source");
48144
48250
  }
48145
48251
  } else if (!existsSync7(srcDir)) {
48146
48252
  add(issues, "skill.src_missing", "Missing src/ directory");
48147
- } else if (!existsSync7(join17(srcDir, "index.ts")) && !existsSync7(join17(srcDir, "index.js"))) {
48253
+ } else if (!existsSync7(join18(srcDir, "index.ts")) && !existsSync7(join18(srcDir, "index.js"))) {
48148
48254
  add(issues, "skill.src_index_missing", "Missing src/index.ts or src/index.js");
48149
48255
  } else {
48150
- const indexPath = existsSync7(join17(srcDir, "index.ts")) ? join17(srcDir, "index.ts") : join17(srcDir, "index.js");
48256
+ const indexPath = existsSync7(join18(srcDir, "index.ts")) ? join18(srcDir, "index.ts") : join18(srcDir, "index.js");
48151
48257
  const size = statSync5(indexPath).size;
48152
48258
  if (size < 50)
48153
48259
  add(warnings, "skill.src_index_minimal", `Source entry point is very small (${size}B)`);
@@ -48172,7 +48278,7 @@ function validateRegistryConsistency(registry, skillsDir) {
48172
48278
  return false;
48173
48279
  })));
48174
48280
  const skillDirs = existsSync7(skillsDir) ? readdirSync8(skillsDir).filter((entry) => {
48175
- const fullPath = join17(skillsDir, entry);
48281
+ const fullPath = join18(skillsDir, entry);
48176
48282
  return !entry.startsWith(".") && entry !== "_common" && statSync5(fullPath).isDirectory();
48177
48283
  }) : [];
48178
48284
  const directoryNames = new Set(skillDirs);
@@ -48188,9 +48294,9 @@ function validateRegistryConsistency(registry, skillsDir) {
48188
48294
  }
48189
48295
 
48190
48296
  // src/lib/skill-hash.ts
48191
- import { createHash as createHash13 } from "crypto";
48297
+ import { createHash as createHash14 } from "crypto";
48192
48298
  import { existsSync as existsSync8, readdirSync as readdirSync9, readFileSync as readFileSync12, statSync as statSync6 } from "fs";
48193
- import { join as join18, sep as sep3 } from "path";
48299
+ import { join as join19, sep as sep4 } from "path";
48194
48300
  var CONTENT_HASH_ALGORITHM = "sha256";
48195
48301
  var HASH_EXCLUDE_DIRS = new Set([".git", "node_modules", "dist", "build", ".turbo"]);
48196
48302
  function excludedHashEntry(name, directory) {
@@ -48252,7 +48358,7 @@ function collectBundleFiles(skillPath) {
48252
48358
  if (seen.has(entry))
48253
48359
  continue;
48254
48360
  seen.add(entry);
48255
- const absolute = join18(skillPath, entry);
48361
+ const absolute = join19(skillPath, entry);
48256
48362
  if (!existsSync8(absolute))
48257
48363
  continue;
48258
48364
  if (statSync6(absolute).isDirectory())
@@ -48266,7 +48372,7 @@ function collectDirectory(files, dir, rel) {
48266
48372
  for (const entry of readdirSync9(dir).sort()) {
48267
48373
  if (entry.startsWith("."))
48268
48374
  continue;
48269
- const absolute = join18(dir, entry);
48375
+ const absolute = join19(dir, entry);
48270
48376
  const childRel = `${rel}/${entry}`;
48271
48377
  let stats;
48272
48378
  try {
@@ -48287,7 +48393,7 @@ function collectDirectory(files, dir, rel) {
48287
48393
  }
48288
48394
  function collectFile(files, absolute, rel) {
48289
48395
  const buffer = readFileSync12(absolute);
48290
- files.push(normalizeBundleFile(rel.split(sep3).join("/"), buffer));
48396
+ files.push(normalizeBundleFile(rel.split(sep4).join("/"), buffer));
48291
48397
  }
48292
48398
  function normalizeBundleFile(rel, buffer) {
48293
48399
  if (rel === "skill.json") {
@@ -48312,13 +48418,13 @@ function* bundleHashParts(files) {
48312
48418
  yield new TextEncoder().encode("\x00");
48313
48419
  }
48314
48420
  function hashBundleFiles(files) {
48315
- const hash2 = createHash13(CONTENT_HASH_ALGORITHM);
48421
+ const hash2 = createHash14(CONTENT_HASH_ALGORITHM);
48316
48422
  for (const part of bundleHashParts(files))
48317
48423
  hash2.update(part);
48318
48424
  return hash2.digest("hex");
48319
48425
  }
48320
48426
  async function hashBundleFilesCooperatively(files, check) {
48321
- const hash2 = createHash13(CONTENT_HASH_ALGORITHM);
48427
+ const hash2 = createHash14(CONTENT_HASH_ALGORITHM);
48322
48428
  let bytesSinceYield = 0;
48323
48429
  for (const part of bundleHashParts(files)) {
48324
48430
  for (let offset = 0;offset < part.byteLength; offset += 64 * 1024) {
@@ -48327,7 +48433,7 @@ async function hashBundleFilesCooperatively(files, check) {
48327
48433
  hash2.update(chunk);
48328
48434
  bytesSinceYield += chunk.byteLength;
48329
48435
  if (bytesSinceYield >= 256 * 1024) {
48330
- await new Promise((resolve8) => setImmediate(resolve8));
48436
+ await new Promise((resolve9) => setImmediate(resolve9));
48331
48437
  bytesSinceYield = 0;
48332
48438
  }
48333
48439
  }
@@ -48480,7 +48586,7 @@ async function hashContentEntries(entries, options) {
48480
48586
  const normalized = [];
48481
48587
  let normalizedBytes = 0;
48482
48588
  let manifest;
48483
- await new Promise((resolve8) => setImmediate(resolve8));
48589
+ await new Promise((resolve9) => setImmediate(resolve9));
48484
48590
  for (const entry of snapshot) {
48485
48591
  check();
48486
48592
  if (!coveredContentPath(entry.path))
@@ -48493,7 +48599,7 @@ async function hashContentEntries(entries, options) {
48493
48599
  contentLimit("Content hash normalized byte limit exceeded");
48494
48600
  normalizedBytes += file.content.byteLength;
48495
48601
  normalized.push(file);
48496
- await new Promise((resolve8) => setImmediate(resolve8));
48602
+ await new Promise((resolve9) => setImmediate(resolve9));
48497
48603
  }
48498
48604
  normalized.sort((a3, b3) => a3.rel < b3.rel ? -1 : a3.rel > b3.rel ? 1 : 0);
48499
48605
  check();
@@ -48701,13 +48807,13 @@ function validateRuntimeContract(manifest, issues, strict) {
48701
48807
  import {
48702
48808
  cpSync,
48703
48809
  existsSync as existsSync9,
48704
- lstatSync as lstatSync11,
48810
+ lstatSync as lstatSync12,
48705
48811
  mkdirSync as mkdirSync6,
48706
48812
  readFileSync as readFileSync13,
48707
48813
  realpathSync as realpathSync3,
48708
48814
  writeFileSync as writeFileSync4
48709
48815
  } from "fs";
48710
- import { basename, dirname as dirname12, join as join19, relative as relative3 } from "path";
48816
+ import { basename, dirname as dirname13, join as join20, relative as relative3 } from "path";
48711
48817
  var ANY_SEGMENT_COPY_EXCLUDES = new Set([
48712
48818
  ".git",
48713
48819
  ".DS_Store",
@@ -48764,9 +48870,9 @@ function readPortableSkillManifestForImport(skillPath) {
48764
48870
  return readManifest(skillPath, basename(skillPath), normalizeNewPortableSkillName);
48765
48871
  }
48766
48872
  function readManifest(skillPath, fallbackName, normalizeName) {
48767
- const skillJsonPath = join19(skillPath, "skill.json");
48768
- const skillMdPath = join19(skillPath, "SKILL.md");
48769
- const pkgPath = join19(skillPath, "package.json");
48873
+ const skillJsonPath = join20(skillPath, "skill.json");
48874
+ const skillMdPath = join20(skillPath, "SKILL.md");
48875
+ const pkgPath = join20(skillPath, "package.json");
48770
48876
  const jsonManifest = existsSync9(skillJsonPath) ? readJsonObject(skillJsonPath) : undefined;
48771
48877
  const frontmatter = existsSync9(skillMdPath) ? parseSkillFrontmatter(readFileSync13(skillMdPath, "utf-8")) ?? undefined : undefined;
48772
48878
  const pkg = existsSync9(pkgPath) ? readJsonObject(pkgPath) : undefined;
@@ -48797,9 +48903,9 @@ function parseSkillKind(value) {
48797
48903
  return;
48798
48904
  }
48799
48905
  function readDeclaredSkillVersion(skillPath) {
48800
- const skillJsonPath = join19(skillPath, "skill.json");
48801
- const skillMdPath = join19(skillPath, "SKILL.md");
48802
- const pkgPath = join19(skillPath, "package.json");
48906
+ const skillJsonPath = join20(skillPath, "skill.json");
48907
+ const skillMdPath = join20(skillPath, "SKILL.md");
48908
+ const pkgPath = join20(skillPath, "package.json");
48803
48909
  const jsonManifest = existsSync9(skillJsonPath) ? readJsonObject(skillJsonPath) : undefined;
48804
48910
  const frontmatter = existsSync9(skillMdPath) ? parseSkillFrontmatter(readFileSync13(skillMdPath, "utf-8")) ?? undefined : undefined;
48805
48911
  const pkg = existsSync9(pkgPath) ? readJsonObject(pkgPath) : undefined;
@@ -48824,7 +48930,7 @@ function createInstructionManifest(name, options) {
48824
48930
  }
48825
48931
  function writeInstructionSkillTemplate(skillPath, manifest) {
48826
48932
  mkdirSync6(skillPath, { recursive: true });
48827
- writeFileSync4(join19(skillPath, "SKILL.md"), renderInstructionSkillMd(manifest));
48933
+ writeFileSync4(join20(skillPath, "SKILL.md"), renderInstructionSkillMd(manifest));
48828
48934
  writeSkillJsonWithHash(skillPath, manifest);
48829
48935
  }
48830
48936
  function renderInstructionSkillMd(manifest) {
@@ -48874,12 +48980,12 @@ function createPortableManifest(name, options) {
48874
48980
  };
48875
48981
  }
48876
48982
  function writePortableSkillTemplate(skillPath, manifest) {
48877
- mkdirSync6(join19(skillPath, "src"), { recursive: true });
48878
- writeFileSync4(join19(skillPath, "SKILL.md"), renderSkillMd(manifest));
48879
- writeFileSync4(join19(skillPath, "AGENTS.md"), renderAgentsMd(manifest));
48880
- writeFileSync4(join19(skillPath, "package.json"), renderPackageJson(manifest));
48881
- writeFileSync4(join19(skillPath, "tsconfig.json"), renderTsconfig());
48882
- writeFileSync4(join19(skillPath, "src", "index.ts"), renderEntrypoint(manifest));
48983
+ mkdirSync6(join20(skillPath, "src"), { recursive: true });
48984
+ writeFileSync4(join20(skillPath, "SKILL.md"), renderSkillMd(manifest));
48985
+ writeFileSync4(join20(skillPath, "AGENTS.md"), renderAgentsMd(manifest));
48986
+ writeFileSync4(join20(skillPath, "package.json"), renderPackageJson(manifest));
48987
+ writeFileSync4(join20(skillPath, "tsconfig.json"), renderTsconfig());
48988
+ writeFileSync4(join20(skillPath, "src", "index.ts"), renderEntrypoint(manifest));
48883
48989
  writeSkillJsonWithHash(skillPath, manifest);
48884
48990
  }
48885
48991
  function fillContractDefaults(manifest, entrypoint) {
@@ -48904,7 +49010,7 @@ function writeSkillJsonWithHash(skillPath, manifest) {
48904
49010
  content_hash: undefined
48905
49011
  }
48906
49012
  };
48907
- writeFileSync4(join19(skillPath, "skill.json"), `${JSON.stringify({ ...existing, ...renderSkillJsonObject(withoutHash) }, null, 2)}
49013
+ writeFileSync4(join20(skillPath, "skill.json"), `${JSON.stringify({ ...existing, ...renderSkillJsonObject(withoutHash) }, null, 2)}
48908
49014
  `);
48909
49015
  const hash2 = computeContentHash(skillPath);
48910
49016
  const withHash = {
@@ -48914,12 +49020,12 @@ function writeSkillJsonWithHash(skillPath, manifest) {
48914
49020
  content_hash: hash2
48915
49021
  }
48916
49022
  };
48917
- writeFileSync4(join19(skillPath, "skill.json"), `${JSON.stringify({ ...existing, ...renderSkillJsonObject(withHash) }, null, 2)}
49023
+ writeFileSync4(join20(skillPath, "skill.json"), `${JSON.stringify({ ...existing, ...renderSkillJsonObject(withHash) }, null, 2)}
48918
49024
  `);
48919
49025
  return withHash;
48920
49026
  }
48921
49027
  function readExistingSkillJson(skillPath) {
48922
- const path = join19(skillPath, "skill.json");
49028
+ const path = join20(skillPath, "skill.json");
48923
49029
  if (!existsSync9(path))
48924
49030
  return {};
48925
49031
  try {
@@ -48953,24 +49059,24 @@ function ensurePortableSkillFiles(skillPath, manifest) {
48953
49059
  tags: next.tags?.length ? next.tags : ["custom", next.name]
48954
49060
  };
48955
49061
  const entry = next.commands[0]?.entry ?? "src/index.ts";
48956
- if (entry && !existsSync9(join19(skillPath, entry))) {
48957
- mkdirSync6(dirname12(join19(skillPath, entry)), { recursive: true });
48958
- writeFileSync4(join19(skillPath, entry), renderEntrypoint(next));
49062
+ if (entry && !existsSync9(join20(skillPath, entry))) {
49063
+ mkdirSync6(dirname13(join20(skillPath, entry)), { recursive: true });
49064
+ writeFileSync4(join20(skillPath, entry), renderEntrypoint(next));
48959
49065
  }
48960
- if (!existsSync9(join19(skillPath, "SKILL.md")))
48961
- writeFileSync4(join19(skillPath, "SKILL.md"), renderSkillMd(next));
49066
+ if (!existsSync9(join20(skillPath, "SKILL.md")))
49067
+ writeFileSync4(join20(skillPath, "SKILL.md"), renderSkillMd(next));
48962
49068
  else
48963
- writeFileSync4(join19(skillPath, "SKILL.md"), ensureSkillMdFrontmatter(readFileSync13(join19(skillPath, "SKILL.md"), "utf-8"), next));
48964
- if (!existsSync9(join19(skillPath, "AGENTS.md")))
48965
- writeFileSync4(join19(skillPath, "AGENTS.md"), renderAgentsMd(next));
49069
+ writeFileSync4(join20(skillPath, "SKILL.md"), ensureSkillMdFrontmatter(readFileSync13(join20(skillPath, "SKILL.md"), "utf-8"), next));
49070
+ if (!existsSync9(join20(skillPath, "AGENTS.md")))
49071
+ writeFileSync4(join20(skillPath, "AGENTS.md"), renderAgentsMd(next));
48966
49072
  ensurePackageJson(skillPath, next);
48967
- if (!existsSync9(join19(skillPath, "tsconfig.json")))
48968
- writeFileSync4(join19(skillPath, "tsconfig.json"), renderTsconfig());
49073
+ if (!existsSync9(join20(skillPath, "tsconfig.json")))
49074
+ writeFileSync4(join20(skillPath, "tsconfig.json"), renderTsconfig());
48969
49075
  writeSkillJsonWithHash(skillPath, next);
48970
49076
  return readPortableSkillManifest(skillPath, next.name);
48971
49077
  }
48972
49078
  function ensurePackageJson(skillPath, manifest) {
48973
- const pkgPath = join19(skillPath, "package.json");
49079
+ const pkgPath = join20(skillPath, "package.json");
48974
49080
  const first = manifest.commands[0] ?? { name: manifest.name, entry: "src/index.ts" };
48975
49081
  const commandName = normalizePortableSkillName(first.name || manifest.name);
48976
49082
  const entry = (first.entry ?? "src/index.ts").replace(/^\.\//, "");
@@ -49017,17 +49123,17 @@ function ensureInstructionSkillFiles(skillPath, manifest) {
49017
49123
  inputs: [],
49018
49124
  commands: []
49019
49125
  };
49020
- if (!existsSync9(join19(skillPath, "SKILL.md"))) {
49021
- writeFileSync4(join19(skillPath, "SKILL.md"), renderSkillMd(next));
49126
+ if (!existsSync9(join20(skillPath, "SKILL.md"))) {
49127
+ writeFileSync4(join20(skillPath, "SKILL.md"), renderSkillMd(next));
49022
49128
  } else {
49023
- const path = join19(skillPath, "SKILL.md");
49129
+ const path = join20(skillPath, "SKILL.md");
49024
49130
  const content = readFileSync13(path, "utf8");
49025
49131
  const declaredName = parseSkillFrontmatter(content)?.name;
49026
49132
  if (declaredName && declaredName !== next.name) {
49027
49133
  writeFileSync4(path, renameInstructionFrontmatter(content, next.name));
49028
49134
  }
49029
49135
  }
49030
- const packagePath = join19(skillPath, "package.json");
49136
+ const packagePath = join20(skillPath, "package.json");
49031
49137
  if (existsSync9(packagePath)) {
49032
49138
  const pkg = readJsonObject(packagePath);
49033
49139
  if (typeof pkg.name === "string" && pkg.name !== next.name) {
@@ -49059,7 +49165,7 @@ function renameInstructionFrontmatter(content, name) {
49059
49165
  return renamed + content.slice(frontmatter[0].length);
49060
49166
  }
49061
49167
  function copySkillDirectory(source, destination) {
49062
- const resolvedSource = lstatSync11(source).isSymbolicLink() ? realpathSync3(source) : source;
49168
+ const resolvedSource = lstatSync12(source).isSymbolicLink() ? realpathSync3(source) : source;
49063
49169
  mkdirSync6(destination, { recursive: true });
49064
49170
  cpSync(resolvedSource, destination, {
49065
49171
  recursive: true,
@@ -49072,7 +49178,7 @@ function copySkillDirectory(source, destination) {
49072
49178
  if (isExcludedCopyEntry(segments[i3], i3 === 0))
49073
49179
  return false;
49074
49180
  }
49075
- if (lstatSync11(src).isSymbolicLink())
49181
+ if (lstatSync12(src).isSymbolicLink())
49076
49182
  return false;
49077
49183
  return true;
49078
49184
  }
@@ -49351,11 +49457,11 @@ function getPortableSkillsRoot(options = {}) {
49351
49457
  function resolvePortableSkillsRoot(options, migrate) {
49352
49458
  if (options.rootDir)
49353
49459
  return options.rootDir;
49354
- const appDir = options.homeDir ? join20(options.homeDir, ".hasna", "skills") : migrate ? getDataDir() : getDataDirReadOnly();
49355
- const cache3 = join20(appDir, SKILLS_CACHE_DIRNAME);
49460
+ const appDir = options.homeDir ? join21(options.homeDir, ".hasna", "skills") : migrate ? getDataDir() : getDataDirReadOnly();
49461
+ const cache3 = join21(appDir, SKILLS_CACHE_DIRNAME);
49356
49462
  if (isOwnerLayoutMigrated(appDir) && safeIsDirectory(cache3))
49357
49463
  return cache3;
49358
- const installed = join20(appDir, INSTALLED_SKILLS_DIRNAME);
49464
+ const installed = join21(appDir, INSTALLED_SKILLS_DIRNAME);
49359
49465
  if (migrate)
49360
49466
  migrateLegacySkillLayout(appDir, installed);
49361
49467
  return installed;
@@ -49363,7 +49469,7 @@ function resolvePortableSkillsRoot(options, migrate) {
49363
49469
  function looksLikeSkillDirectory(path) {
49364
49470
  if (!safeIsDirectory(path))
49365
49471
  return false;
49366
- return existsSync10(join20(path, "SKILL.md")) || existsSync10(join20(path, "skill.json")) || existsSync10(join20(path, "package.json"));
49472
+ return existsSync10(join21(path, "SKILL.md")) || existsSync10(join21(path, "skill.json")) || existsSync10(join21(path, "package.json"));
49367
49473
  }
49368
49474
  function migrateLegacySkillLayout(appDir, installed) {
49369
49475
  if (!safeIsDirectory(appDir))
@@ -49373,7 +49479,7 @@ function migrateLegacySkillLayout(appDir, installed) {
49373
49479
  for (const entry of readdirSync10(appDir)) {
49374
49480
  if (entry.startsWith(".") || entry === INSTALLED_SKILLS_DIRNAME)
49375
49481
  continue;
49376
- const path = join20(appDir, entry);
49482
+ const path = join21(appDir, entry);
49377
49483
  if (entry === LEGACY_CUSTOM_DIRNAME) {
49378
49484
  if (!safeIsDirectory(path))
49379
49485
  continue;
@@ -49381,7 +49487,7 @@ function migrateLegacySkillLayout(appDir, installed) {
49381
49487
  for (const nested of readdirSync10(path)) {
49382
49488
  if (nested.startsWith("."))
49383
49489
  continue;
49384
- const nestedPath = join20(path, nested);
49490
+ const nestedPath = join21(path, nested);
49385
49491
  if (looksLikeSkillDirectory(nestedPath))
49386
49492
  candidates.push({ from: nestedPath, name: nested });
49387
49493
  }
@@ -49395,10 +49501,10 @@ function migrateLegacySkillLayout(appDir, installed) {
49395
49501
  return;
49396
49502
  }
49397
49503
  for (const { from, name } of candidates) {
49398
- const target = join20(installed, name);
49504
+ const target = join21(installed, name);
49399
49505
  if (existsSync10(target))
49400
49506
  continue;
49401
- const staging = join20(installed, `.migrating-${name}-${process.pid}`);
49507
+ const staging = join21(installed, `.migrating-${name}-${process.pid}`);
49402
49508
  try {
49403
49509
  rmSync(staging, { recursive: true, force: true });
49404
49510
  cpSync2(from, staging, { recursive: true, errorOnExist: false });
@@ -49411,7 +49517,7 @@ function migrateLegacySkillLayout(appDir, installed) {
49411
49517
  }
49412
49518
  }
49413
49519
  function getPortableSkillPath(name, options = {}) {
49414
- return join20(getPortableSkillsRoot(options), normalizePortableSkillName(name));
49520
+ return join21(getPortableSkillsRoot(options), normalizePortableSkillName(name));
49415
49521
  }
49416
49522
  function findPortableSkill(name, options = {}) {
49417
49523
  let normalized;
@@ -49437,7 +49543,7 @@ function listPortableSkills(options = {}) {
49437
49543
  for (const entry of readdirSync10(root3).sort()) {
49438
49544
  if (entry.startsWith("."))
49439
49545
  continue;
49440
- const path = join20(root3, entry);
49546
+ const path = join21(root3, entry);
49441
49547
  if (!safeIsDirectory(path))
49442
49548
  continue;
49443
49549
  try {
@@ -49471,7 +49577,7 @@ function isOfficialSkillName(name) {
49471
49577
  function scaffoldPortableSkill(name, options = {}) {
49472
49578
  const skillName = normalizeNewPortableSkillName(name);
49473
49579
  const root3 = getPortableSkillsRoot(options);
49474
- const skillPath = join20(root3, skillName);
49580
+ const skillPath = join21(root3, skillName);
49475
49581
  if (existsSync10(skillPath)) {
49476
49582
  if (!options.overwrite)
49477
49583
  throw new Error(`Skill '${skillName}' already exists at ${skillPath}`);
@@ -49496,6 +49602,7 @@ function portPortableSkillDirectory(sourceDir, options = {}) {
49496
49602
  const continueOnError = options.continueOnError ?? true;
49497
49603
  const portOptions = {
49498
49604
  overwrite: options.overwrite,
49605
+ allowShadow: options.allowShadow,
49499
49606
  ...options.rootDir ? { rootDir: options.rootDir } : {},
49500
49607
  ...options.homeDir ? { homeDir: options.homeDir } : {}
49501
49608
  };
@@ -49503,7 +49610,7 @@ function portPortableSkillDirectory(sourceDir, options = {}) {
49503
49610
  const skipped = [];
49504
49611
  const entries = readdirSync10(absoluteSource, { withFileTypes: true }).map((entry) => entry.name).filter((entryName) => !entryName.startsWith(".")).sort();
49505
49612
  for (const entryName of entries) {
49506
- const childPath = join20(absoluteSource, entryName);
49613
+ const childPath = join21(absoluteSource, entryName);
49507
49614
  if (!safeIsDirectory(childPath))
49508
49615
  continue;
49509
49616
  if (!isSkillCandidate(childPath)) {
@@ -49532,23 +49639,23 @@ function portPortableSkillDirectory(sourceDir, options = {}) {
49532
49639
  };
49533
49640
  }
49534
49641
  function isSkillCandidate(dir) {
49535
- return existsSync10(join20(dir, "SKILL.md")) || existsSync10(join20(dir, "skill.json")) || existsSync10(join20(dir, "package.json"));
49642
+ return existsSync10(join21(dir, "SKILL.md")) || existsSync10(join21(dir, "skill.json")) || existsSync10(join21(dir, "package.json"));
49536
49643
  }
49537
49644
  function physicalImportPath(path) {
49538
- let ancestor = resolve8(path);
49645
+ let ancestor = resolve9(path);
49539
49646
  const suffix = [];
49540
49647
  while (!existsSync10(ancestor)) {
49541
49648
  suffix.unshift(basename2(ancestor));
49542
- ancestor = dirname13(ancestor);
49649
+ ancestor = dirname14(ancestor);
49543
49650
  }
49544
- return join20(realpathSync4(ancestor), ...suffix);
49651
+ return join21(realpathSync4(ancestor), ...suffix);
49545
49652
  }
49546
49653
  function assertDisjointImportPaths(source, destination) {
49547
49654
  const sourcePath = realpathSync4(source);
49548
49655
  const destinationPath = physicalImportPath(destination);
49549
49656
  const contains = (parent, child) => {
49550
49657
  const path = relative4(parent, child);
49551
- return path === "" || !isAbsolute9(path) && path !== ".." && !path.startsWith(`..${sep4}`);
49658
+ return path === "" || !isAbsolute10(path) && path !== ".." && !path.startsWith(`..${sep5}`);
49552
49659
  };
49553
49660
  if (contains(sourcePath, destinationPath) || contains(destinationPath, sourcePath)) {
49554
49661
  throw new Error("Source and destination skill directories must not overlap");
@@ -49567,16 +49674,16 @@ function portPortableSkill(sourcePath, options = {}) {
49567
49674
  const via = explicitName ? `Name '${skillName}' matches a bundled official skill.` : `Inferred name '${skillName}'${sourceSlug && sourceSlug !== skillName ? ` (from source folder '${basename2(absoluteSource)}')` : ""} matches a bundled official skill.`;
49568
49675
  throw new Error(`${via} Importing it would shadow the official '${skillName}'. ` + `Pass --name to choose a different name, or --allow-shadow to override deliberately.`);
49569
49676
  }
49570
- assertDisjointImportPaths(absoluteSource, join20(resolvePortableSkillsRoot(options, false), skillName));
49677
+ assertDisjointImportPaths(absoluteSource, join21(resolvePortableSkillsRoot(options, false), skillName));
49571
49678
  const root3 = getPortableSkillsRoot(options);
49572
- const destination = join20(root3, skillName);
49679
+ const destination = join21(root3, skillName);
49573
49680
  assertDisjointImportPaths(absoluteSource, destination);
49574
49681
  if (existsSync10(destination)) {
49575
49682
  if (!options.overwrite)
49576
49683
  throw new Error(`Skill '${skillName}' already exists at ${destination}`);
49577
49684
  rmSync(destination, { recursive: true, force: true });
49578
49685
  }
49579
- mkdirSync7(dirname13(destination), { recursive: true });
49686
+ mkdirSync7(dirname14(destination), { recursive: true });
49580
49687
  copySkillDirectory(absoluteSource, destination);
49581
49688
  const base = {
49582
49689
  ...inferred,
@@ -49613,10 +49720,10 @@ function buildCorpusManifest(input, name) {
49613
49720
  function writeCorpusSkill(input, options = {}) {
49614
49721
  const name = normalizePortableSkillName(input.name);
49615
49722
  const root3 = getPortableSkillsRoot(options);
49616
- const skillPath = join20(root3, name);
49723
+ const skillPath = join21(root3, name);
49617
49724
  const created = !existsSync10(skillPath);
49618
49725
  mkdirSync7(skillPath, { recursive: true });
49619
- writeFileSync5(join20(skillPath, "SKILL.md"), input.skillMd);
49726
+ writeFileSync5(join21(skillPath, "SKILL.md"), input.skillMd);
49620
49727
  const manifest = buildCorpusManifest(input, name);
49621
49728
  writeSkillJsonWithHash(skillPath, manifest);
49622
49729
  return { name, path: skillPath, manifest, created };
@@ -49624,19 +49731,19 @@ function writeCorpusSkill(input, options = {}) {
49624
49731
  function installCorpusSkillAtomically(input, options = {}) {
49625
49732
  const name = normalizePortableSkillName(input.name);
49626
49733
  const root3 = getPortableSkillsRoot(options);
49627
- const target = join20(root3, name);
49734
+ const target = join21(root3, name);
49628
49735
  const created = !existsSync10(target);
49629
49736
  mkdirSync7(root3, { recursive: true });
49630
- const staging = mkdtempSync(join20(root3, `.pull-${name}-`));
49737
+ const staging = mkdtempSync(join21(root3, `.pull-${name}-`));
49631
49738
  let moved = false;
49632
49739
  let backup = null;
49633
49740
  try {
49634
- writeFileSync5(join20(staging, "SKILL.md"), input.skillMd);
49741
+ writeFileSync5(join21(staging, "SKILL.md"), input.skillMd);
49635
49742
  const manifest = buildCorpusManifest(input, name);
49636
49743
  writeSkillJsonWithHash(staging, manifest);
49637
49744
  if (existsSync10(target)) {
49638
- backup = mkdtempSync(join20(root3, `.pull-backup-${name}-`));
49639
- renameSync3(target, join20(backup, name));
49745
+ backup = mkdtempSync(join21(root3, `.pull-backup-${name}-`));
49746
+ renameSync3(target, join21(backup, name));
49640
49747
  moved = true;
49641
49748
  }
49642
49749
  renameSync3(staging, target);
@@ -49645,9 +49752,9 @@ function installCorpusSkillAtomically(input, options = {}) {
49645
49752
  return { name, path: target, manifest, created };
49646
49753
  } catch (error) {
49647
49754
  rmSync(staging, { recursive: true, force: true });
49648
- if (moved && backup && existsSync10(join20(backup, name))) {
49755
+ if (moved && backup && existsSync10(join21(backup, name))) {
49649
49756
  try {
49650
- renameSync3(join20(backup, name), target);
49757
+ renameSync3(join21(backup, name), target);
49651
49758
  } catch {}
49652
49759
  }
49653
49760
  throw error;
@@ -49660,8 +49767,8 @@ function validatePortableSkillDirectory(name, skillPath) {
49660
49767
  const warnings = [...base.warnings];
49661
49768
  let manifest;
49662
49769
  if (existsSync10(skillPath)) {
49663
- const skillJsonPath = join20(skillPath, "skill.json");
49664
- const skillMdPath = join20(skillPath, "SKILL.md");
49770
+ const skillJsonPath = join21(skillPath, "skill.json");
49771
+ const skillMdPath = join21(skillPath, "SKILL.md");
49665
49772
  if (!existsSync10(skillJsonPath) && !existsSync10(skillMdPath)) {
49666
49773
  add3(issues, "portable.manifest_missing", "Missing portable manifest: expected SKILL.md frontmatter and/or skill.json");
49667
49774
  }
@@ -49681,7 +49788,7 @@ function validatePortableSkillDirectory(name, skillPath) {
49681
49788
  add3(issues, "portable.version_missing", "Portable manifest missing version");
49682
49789
  }
49683
49790
  const contractIssues = validatePortableManifestContract(manifest, {
49684
- strict: existsSync10(join20(skillPath, "skill.json")),
49791
+ strict: existsSync10(join21(skillPath, "skill.json")),
49685
49792
  skillPath
49686
49793
  });
49687
49794
  for (const issue of contractIssues)
@@ -49717,7 +49824,7 @@ function validatePortableSkillDirectory(name, skillPath) {
49717
49824
  add3(issues, "portable.command_entry_unsafe", `Command '${command3.name}' entry '${command3.entry}' must stay inside the skill directory`);
49718
49825
  continue;
49719
49826
  }
49720
- const entryPath = join20(skillPath, command3.entry);
49827
+ const entryPath = join21(skillPath, command3.entry);
49721
49828
  if (!existsSync10(entryPath))
49722
49829
  add3(issues, "portable.command_entry_missing", `Command '${command3.name}' entry '${command3.entry}' is missing`);
49723
49830
  else if (statSync8(entryPath).isDirectory())
@@ -49728,7 +49835,7 @@ function validatePortableSkillDirectory(name, skillPath) {
49728
49835
  } catch (error) {
49729
49836
  add3(issues, "portable.manifest_invalid", error.message);
49730
49837
  }
49731
- if (manifest?.kind !== "instruction" && !existsSync10(join20(skillPath, "AGENTS.md"))) {
49838
+ if (manifest?.kind !== "instruction" && !existsSync10(join21(skillPath, "AGENTS.md"))) {
49732
49839
  add3(issues, "portable.agents_missing", "Missing AGENTS.md with build-out instructions for coding agents");
49733
49840
  }
49734
49841
  }
@@ -49764,12 +49871,12 @@ async function runPortableSkill(name, args, options = {}) {
49764
49871
  if (!isSafeRelativePath2(command3.entry)) {
49765
49872
  return { exitCode: 1, error: `Portable skill '${name}' command entry is unsafe` };
49766
49873
  }
49767
- const entryPath = join20(skill.path, command3.entry);
49874
+ const entryPath = join21(skill.path, command3.entry);
49768
49875
  if (!existsSync10(entryPath)) {
49769
49876
  return { exitCode: 1, error: `Entry point '${command3.entry}' not found in portable skill '${name}'` };
49770
49877
  }
49771
- const pkgPath = join20(skill.path, "package.json");
49772
- const nodeModules = join20(skill.path, "node_modules");
49878
+ const pkgPath = join21(skill.path, "package.json");
49879
+ const nodeModules = join21(skill.path, "node_modules");
49773
49880
  if (existsSync10(pkgPath) && !existsSync10(nodeModules) && hasPackageDependencies(pkgPath)) {
49774
49881
  const install = Bun.spawn(["bun", "install", "--no-save"], {
49775
49882
  cwd: skill.path,
@@ -49816,7 +49923,7 @@ function safeIsDirectory(path) {
49816
49923
  }
49817
49924
  }
49818
49925
  function isSafeRelativePath2(value) {
49819
- if (!value.trim() || isAbsolute9(value))
49926
+ if (!value.trim() || isAbsolute10(value))
49820
49927
  return false;
49821
49928
  const normalized = normalize2(value).replace(/\\/g, "/");
49822
49929
  return normalized !== ".." && !normalized.startsWith("../") && !normalized.includes("/../");
@@ -49841,9 +49948,9 @@ function isSkillsOwnershipMarker(marker) {
49841
49948
  return typeof marker === "object" && marker !== null && Object.hasOwn(marker, "managedBy") && marker.managedBy === SYNC_MARKER_MANAGED_BY;
49842
49949
  }
49843
49950
  function hasSkillsOwnershipMarker(dir) {
49844
- const path = join21(dir, SYNC_MARKER_FILE);
49951
+ const path = join22(dir, SYNC_MARKER_FILE);
49845
49952
  try {
49846
- if (!lstatSync12(path).isFile())
49953
+ if (!lstatSync13(path).isFile())
49847
49954
  return false;
49848
49955
  const marker = JSON.parse(readFileSync14(path, "utf8"));
49849
49956
  return isSkillsOwnershipMarker(marker);
@@ -49865,9 +49972,9 @@ function resolveSyncAgents(arg) {
49865
49972
  function agentGlobalSkillsDir(agent, homeDir2 = homedir4()) {
49866
49973
  switch (agent) {
49867
49974
  case "opencode":
49868
- return join21(homeDir2, ".config", "opencode", "skills");
49975
+ return join22(homeDir2, ".config", "opencode", "skills");
49869
49976
  default:
49870
- return join21(homeDir2, `.${agent}`, "skills");
49977
+ return join22(homeDir2, `.${agent}`, "skills");
49871
49978
  }
49872
49979
  }
49873
49980
  function adaptSkillMdForAgent(skillMd, agent) {
@@ -49926,7 +50033,7 @@ function resolveSyncCorpus(options = {}) {
49926
50033
  function packageSourceRoots(source) {
49927
50034
  const roots = [];
49928
50035
  for (const sub of ["skills"]) {
49929
- const candidate = join21(source, sub);
50036
+ const candidate = join22(source, sub);
49930
50037
  if (existsSync11(candidate) && isDirectory(candidate))
49931
50038
  roots.push(candidate);
49932
50039
  }
@@ -49942,10 +50049,10 @@ function containsSkillDirectories(path) {
49942
50049
  return false;
49943
50050
  }
49944
50051
  return entries.some((entry) => {
49945
- const candidate = join21(path, entry);
50052
+ const candidate = join22(path, entry);
49946
50053
  if (!isDirectory(candidate))
49947
50054
  return false;
49948
- return existsSync11(join21(candidate, "SKILL.md")) || existsSync11(join21(candidate, "skill.json")) || existsSync11(join21(candidate, "package.json"));
50055
+ return existsSync11(join22(candidate, "SKILL.md")) || existsSync11(join22(candidate, "skill.json")) || existsSync11(join22(candidate, "package.json"));
49949
50056
  });
49950
50057
  }
49951
50058
  function isDirectory(path) {
@@ -49985,7 +50092,7 @@ function syncSkillsToAgents(options = {}) {
49985
50092
  actions.push({
49986
50093
  skill: name,
49987
50094
  agent,
49988
- path: join21(agentGlobalSkillsDir(agent, homeDir2), name, "SKILL.md"),
50095
+ path: join22(agentGlobalSkillsDir(agent, homeDir2), name, "SKILL.md"),
49989
50096
  action: "skip",
49990
50097
  reason: "not found in this machine's corpus"
49991
50098
  });
@@ -50015,7 +50122,7 @@ function syncSkillsToAgents(options = {}) {
50015
50122
  }
50016
50123
  function writeManagedAgentSkill(params) {
50017
50124
  const homeDir2 = params.homeDir ?? homedir4();
50018
- const dir = join21(agentGlobalSkillsDir(params.agent, homeDir2), params.skill);
50125
+ const dir = join22(agentGlobalSkillsDir(params.agent, homeDir2), params.skill);
50019
50126
  const result = writeManagedSkillDir(dir, params.skillMd, {
50020
50127
  skill: params.skill,
50021
50128
  source: params.source,
@@ -50032,8 +50139,8 @@ function writeManagedAgentSkill(params) {
50032
50139
  };
50033
50140
  }
50034
50141
  function writeManagedSkillDir(dir, skillMd, options) {
50035
- const skillMdPath = join21(dir, "SKILL.md");
50036
- const markerPath = join21(dir, SYNC_MARKER_FILE);
50142
+ const skillMdPath = join22(dir, "SKILL.md");
50143
+ const markerPath = join22(dir, SYNC_MARKER_FILE);
50037
50144
  const dirExists = existsSync11(dir);
50038
50145
  const managed = hasSkillsOwnershipMarker(dir);
50039
50146
  const hasSkillMd = existsSync11(skillMdPath);
@@ -50069,13 +50176,13 @@ function writeManagedSkillDir(dir, skillMd, options) {
50069
50176
  const action = dirExists ? "update" : "create";
50070
50177
  if (options.dryRun)
50071
50178
  return { action, path: skillMdPath };
50072
- const parentDir = dirname14(dir);
50179
+ const parentDir = dirname15(dir);
50073
50180
  mkdirSync8(parentDir, { recursive: true });
50074
- const transactionDir = mkdtempSync2(join21(parentDir, `.hasna-skills-write-${basename3(dir)}-`));
50075
- const candidateDir = join21(transactionDir, "candidate");
50076
- const backupDir = join21(transactionDir, "backup");
50077
- const candidateSkillMdPath = join21(candidateDir, "SKILL.md");
50078
- const candidateMarkerPath = join21(candidateDir, SYNC_MARKER_FILE);
50181
+ const transactionDir = mkdtempSync2(join22(parentDir, `.hasna-skills-write-${basename3(dir)}-`));
50182
+ const candidateDir = join22(transactionDir, "candidate");
50183
+ const backupDir = join22(transactionDir, "backup");
50184
+ const candidateSkillMdPath = join22(candidateDir, "SKILL.md");
50185
+ const candidateMarkerPath = join22(candidateDir, SYNC_MARKER_FILE);
50079
50186
  const marker = {
50080
50187
  managedBy: SYNC_MARKER_MANAGED_BY,
50081
50188
  skill: options.skill,
@@ -50124,7 +50231,7 @@ function writeManagedSkillDir(dir, skillMd, options) {
50124
50231
  return { action, path: skillMdPath };
50125
50232
  }
50126
50233
  function removeManagedAgentSkill(skill, agent, homeDir2 = homedir4()) {
50127
- const dir = join21(agentGlobalSkillsDir(agent, homeDir2), skill);
50234
+ const dir = join22(agentGlobalSkillsDir(agent, homeDir2), skill);
50128
50235
  if (!hasSkillsOwnershipMarker(dir))
50129
50236
  return false;
50130
50237
  rmSync2(dir, { recursive: true, force: true });
@@ -50132,7 +50239,7 @@ function removeManagedAgentSkill(skill, agent, homeDir2 = homedir4()) {
50132
50239
  }
50133
50240
  function sourceSkillMd(skillPath, name, description, kind, preferBundledDocs = false) {
50134
50241
  if (kind === undefined || kind === "instruction" || preferBundledDocs) {
50135
- const skillMdPath = join21(skillPath, "SKILL.md");
50242
+ const skillMdPath = join22(skillPath, "SKILL.md");
50136
50243
  if (existsSync11(skillMdPath))
50137
50244
  return readFileSync14(skillMdPath, "utf-8");
50138
50245
  }
@@ -50165,7 +50272,7 @@ function normalizeSkillName(name) {
50165
50272
 
50166
50273
  // src/lib/registry.ts
50167
50274
  import { existsSync as existsSync12, readFileSync as readFileSync15, readdirSync as readdirSync12 } from "fs";
50168
- import { join as join22 } from "path";
50275
+ import { join as join23 } from "path";
50169
50276
 
50170
50277
  // src/lib/registry-merge.ts
50171
50278
  var SKILL_SOURCE_PRECEDENCE = {
@@ -50386,7 +50493,7 @@ function discoverSkillsInDir(dir, source = "custom") {
50386
50493
  for (const entry of entries) {
50387
50494
  if (!entry.isDirectory())
50388
50495
  continue;
50389
- const skillMdPath = join22(dir, entry.name, "SKILL.md");
50496
+ const skillMdPath = join23(dir, entry.name, "SKILL.md");
50390
50497
  if (!existsSync12(skillMdPath))
50391
50498
  continue;
50392
50499
  let content;
@@ -50406,7 +50513,7 @@ function discoverSkillsInDir(dir, source = "custom") {
50406
50513
  category: fm.category || "Development Tools",
50407
50514
  tags: fm.tags || [],
50408
50515
  ...fm.kind ? { kind: fm.kind } : {},
50409
- ...isHostedMetadataSkillDir(join22(dir, entry.name)) ? { serverOwned: true } : {},
50516
+ ...isHostedMetadataSkillDir(join23(dir, entry.name)) ? { serverOwned: true } : {},
50410
50517
  source
50411
50518
  });
50412
50519
  }
@@ -50422,8 +50529,8 @@ function findExtensionSkillPath(name) {
50422
50529
  for (const entry of entries) {
50423
50530
  if (!entry.isDirectory())
50424
50531
  continue;
50425
- const skillDir = join22(config.extensionsDir, entry.name);
50426
- const skillMdPath = join22(skillDir, "SKILL.md");
50532
+ const skillDir = join23(config.extensionsDir, entry.name);
50533
+ const skillMdPath = join23(skillDir, "SKILL.md");
50427
50534
  if (!existsSync12(skillMdPath))
50428
50535
  continue;
50429
50536
  let content;
@@ -50461,7 +50568,7 @@ function loadRegistry(cwd) {
50461
50568
  const official = SKILLS.map((s2) => ({ ...s2, source: "official" }));
50462
50569
  const extensions = config.extensionsDir ? discoverSkillsInDir(config.extensionsDir, "extension") : [];
50463
50570
  const portableCustom = listPortableSkillMetas();
50464
- const legacyCustom = discoverSkillsInDir(join22(dataDir2, "custom"));
50571
+ const legacyCustom = discoverSkillsInDir(join23(dataDir2, "custom"));
50465
50572
  const globalCustom = mergeCustomSkills([...legacyCustom, ...portableCustom]);
50466
50573
  registryCache = mergeSkillRegistryLists(official, extensions, globalCustom);
50467
50574
  registryCacheTime = now;
@@ -50510,7 +50617,7 @@ function getAllTags() {
50510
50617
 
50511
50618
  // src/lib/project-state.ts
50512
50619
  import { existsSync as existsSync13, mkdirSync as mkdirSync9, readFileSync as readFileSync16, writeFileSync as writeFileSync7 } from "fs";
50513
- import { join as join23 } from "path";
50620
+ import { join as join24 } from "path";
50514
50621
  var VALID_PIN_SOURCES = [
50515
50622
  "official",
50516
50623
  "custom",
@@ -50525,10 +50632,10 @@ var SKILLS_PROJECT_DIR = ".skills";
50525
50632
  var PROJECT_CONFIG_FILE = "project.json";
50526
50633
  var DEFAULT_EXPORT_DIR = ".skills/exports";
50527
50634
  function getProjectStateDir(targetDir = process.cwd()) {
50528
- return join23(targetDir, SKILLS_PROJECT_DIR);
50635
+ return join24(targetDir, SKILLS_PROJECT_DIR);
50529
50636
  }
50530
50637
  function getProjectConfigPath(targetDir = process.cwd()) {
50531
- return join23(getProjectStateDir(targetDir), PROJECT_CONFIG_FILE);
50638
+ return join24(getProjectStateDir(targetDir), PROJECT_CONFIG_FILE);
50532
50639
  }
50533
50640
  function loadProjectConfig(targetDir = process.cwd()) {
50534
50641
  const path = getProjectConfigPath(targetDir);
@@ -50649,16 +50756,16 @@ function isPinSource(value) {
50649
50756
  }
50650
50757
 
50651
50758
  // src/lib/installer.ts
50652
- var __dirname2 = dirname15(fileURLToPath2(import.meta.url));
50759
+ var __dirname2 = dirname16(fileURLToPath2(import.meta.url));
50653
50760
  function findSkillsDir() {
50654
50761
  let dir = __dirname2;
50655
50762
  for (let i3 = 0;i3 < 5; i3++) {
50656
- const candidate = join24(dir, "skills");
50763
+ const candidate = join25(dir, "skills");
50657
50764
  if (existsSync14(candidate) && !dir.includes(".skills"))
50658
50765
  return candidate;
50659
- dir = dirname15(dir);
50766
+ dir = dirname16(dir);
50660
50767
  }
50661
- return join24(__dirname2, "..", "skills");
50768
+ return join25(__dirname2, "..", "skills");
50662
50769
  }
50663
50770
  var SKILLS_DIR = findSkillsDir();
50664
50771
  function getSkillPath(name) {
@@ -50666,13 +50773,13 @@ function getSkillPath(name) {
50666
50773
  const portable = findPortableSkill(skillName);
50667
50774
  if (portable)
50668
50775
  return portable.path;
50669
- const legacyCustomPath = join24(getDataDir(), "custom", skillName);
50776
+ const legacyCustomPath = join25(getDataDir(), "custom", skillName);
50670
50777
  if (existsSync14(legacyCustomPath))
50671
50778
  return legacyCustomPath;
50672
50779
  const extensionPath = findExtensionSkillPath(skillName);
50673
50780
  if (extensionPath)
50674
50781
  return extensionPath;
50675
- return join24(SKILLS_DIR, skillName);
50782
+ return join25(SKILLS_DIR, skillName);
50676
50783
  }
50677
50784
  function getCanonicalSkillName(name) {
50678
50785
  return getSkill(name)?.name ?? resolveSkillAlias(normalizeSkillSlug(name));
@@ -50735,7 +50842,7 @@ function createLocalSkillManifest(name, generateSkillMd) {
50735
50842
  if (!existsSync14(sourcePath))
50736
50843
  return null;
50737
50844
  let skillMd = "";
50738
- const skillMdPath = join24(sourcePath, "SKILL.md");
50845
+ const skillMdPath = join25(sourcePath, "SKILL.md");
50739
50846
  if (existsSync14(skillMdPath)) {
50740
50847
  skillMd = readFileSync17(skillMdPath, "utf-8");
50741
50848
  } else if (generateSkillMd) {
@@ -50809,16 +50916,16 @@ function getAgentSkillsDir(agent, scope = "global", projectDir) {
50809
50916
  const base = projectDir || process.cwd();
50810
50917
  switch (agent) {
50811
50918
  case "pi":
50812
- return scope === "project" ? join24(base, ".pi", "skills") : join24(homedir5(), ".pi", "agent", "skills");
50919
+ return scope === "project" ? join25(base, ".pi", "skills") : join25(homedir5(), ".pi", "agent", "skills");
50813
50920
  case "opencode":
50814
- return scope === "project" ? join24(base, ".opencode", "skills") : join24(homedir5(), ".config", "opencode", "skills");
50921
+ return scope === "project" ? join25(base, ".opencode", "skills") : join25(homedir5(), ".config", "opencode", "skills");
50815
50922
  default:
50816
- return scope === "project" ? join24(base, `.${agent}`, "skills") : join24(homedir5(), `.${agent}`, "skills");
50923
+ return scope === "project" ? join25(base, `.${agent}`, "skills") : join25(homedir5(), `.${agent}`, "skills");
50817
50924
  }
50818
50925
  }
50819
50926
  function getAgentSkillPath(name, agent, scope = "global", projectDir) {
50820
50927
  const skillName = normalizeSkillName(getCanonicalSkillName(name));
50821
- return join24(getAgentSkillsDir(agent, scope, projectDir), skillName);
50928
+ return join25(getAgentSkillsDir(agent, scope, projectDir), skillName);
50822
50929
  }
50823
50930
  function installSkillForAgent(name, options, generateSkillMd) {
50824
50931
  assertNativeExportAllowed();
@@ -50854,7 +50961,7 @@ function removeSkillForAgent(name, options) {
50854
50961
  }
50855
50962
  function resolveAgentSkillMd(name, generateSkillMd) {
50856
50963
  const sourcePath = getSkillPath(name);
50857
- const skillMdPath = join24(sourcePath, "SKILL.md");
50964
+ const skillMdPath = join25(sourcePath, "SKILL.md");
50858
50965
  if (existsSync14(skillMdPath))
50859
50966
  return readFileSync17(skillMdPath, "utf-8");
50860
50967
  if (generateSkillMd)
@@ -50889,7 +50996,7 @@ function generateMinimalSkillMd(name) {
50889
50996
  "---",
50890
50997
  ""
50891
50998
  ].filter(Boolean);
50892
- const fallbackDoc = readFileIfExists(join24(sourcePath, "README.md")) || readFileIfExists(join24(sourcePath, "CLAUDE.md"));
50999
+ const fallbackDoc = readFileIfExists(join25(sourcePath, "README.md")) || readFileIfExists(join25(sourcePath, "CLAUDE.md"));
50893
51000
  if (fallbackDoc)
50894
51001
  return `${frontmatter.join(`
50895
51002
  `)}${fallbackDoc.trim()}
@@ -50908,7 +51015,7 @@ skills run ${canonicalName}
50908
51015
  `;
50909
51016
  }
50910
51017
  function readBundledSkillVersion(name) {
50911
- const pkgPath = join24(getSkillPath(name), "package.json");
51018
+ const pkgPath = join25(getSkillPath(name), "package.json");
50912
51019
  if (!existsSync14(pkgPath))
50913
51020
  return "unknown";
50914
51021
  try {
@@ -50927,15 +51034,15 @@ function loadProjectConfigCompat(targetDir) {
50927
51034
 
50928
51035
  // src/server/seed-bundled.ts
50929
51036
  import { readFileSync as readFileSync21 } from "fs";
50930
- import { join as join27 } from "path";
51037
+ import { join as join28 } from "path";
50931
51038
 
50932
51039
  // src/server/registry.ts
50933
51040
  import { existsSync as existsSync16, readFileSync as readFileSync20 } from "fs";
50934
- import { resolve as resolve9, sep as sep5 } from "path";
51041
+ import { resolve as resolve10, sep as sep6 } from "path";
50935
51042
 
50936
51043
  // src/lib/dependency-preparation.ts
50937
- import { constants as constants6, closeSync as closeSync7, fstatSync as fstatSync7, lstatSync as lstatSync13, mkdirSync as mkdirSync10, openSync as openSync7, readFileSync as readFileSync18, readdirSync as readdirSync13, rmdirSync as rmdirSync2, unlinkSync as unlinkSync3, ftruncateSync, writeSync } from "fs";
50938
- import { join as join25 } from "path";
51044
+ import { constants as constants6, closeSync as closeSync7, fstatSync as fstatSync7, lstatSync as lstatSync14, mkdirSync as mkdirSync10, openSync as openSync7, readFileSync as readFileSync18, readdirSync as readdirSync13, rmdirSync as rmdirSync2, unlinkSync as unlinkSync3, ftruncateSync, writeSync } from "fs";
51045
+ import { join as join26 } from "path";
50939
51046
 
50940
51047
  // src/lib/preparation-process.ts
50941
51048
  function capturePreparationProcess(child, platform = process.platform, signalGroup = (pid, signal) => process.kill(pid, signal)) {
@@ -50982,15 +51089,15 @@ var DEPENDENCY_PREPARATION_MARKER = ".skills-dependency-preparation";
50982
51089
  var RECOVERY = "Skill dependency preparation is incomplete. Confirm no installer is running, successfully run bun install --no-save in the skill directory, then remove only .skills-dependency-preparation. See docs/skill-standard.md#recovering-interrupted-dependency-preparation.";
50983
51090
  function hasDependencyPreparationMarker(skillPath) {
50984
51091
  try {
50985
- lstatSync13(join25(skillPath, DEPENDENCY_PREPARATION_MARKER));
51092
+ lstatSync14(join26(skillPath, DEPENDENCY_PREPARATION_MARKER));
50986
51093
  return true;
50987
51094
  } catch (error) {
50988
51095
  return error.code !== "ENOENT";
50989
51096
  }
50990
51097
  }
50991
51098
  function claimPreparation(skillPath) {
50992
- const marker = join25(skillPath, DEPENDENCY_PREPARATION_MARKER);
50993
- const state2 = join25(marker, "state.json"), active = join25(marker, "active");
51099
+ const marker = join26(skillPath, DEPENDENCY_PREPARATION_MARKER);
51100
+ const state2 = join26(marker, "state.json"), active = join26(marker, "active");
50994
51101
  let created = false;
50995
51102
  try {
50996
51103
  mkdirSync10(marker, { mode: 448 });
@@ -51001,12 +51108,12 @@ function claimPreparation(skillPath) {
51001
51108
  }
51002
51109
  let fd;
51003
51110
  try {
51004
- if (!lstatSync13(marker).isDirectory() || lstatSync13(marker).isSymbolicLink())
51111
+ if (!lstatSync14(marker).isDirectory() || lstatSync14(marker).isSymbolicLink())
51005
51112
  return;
51006
51113
  if (!created) {
51007
51114
  if (readdirSync13(marker).some((name) => name !== "state.json"))
51008
51115
  return;
51009
- if (!lstatSync13(state2).isFile() || lstatSync13(state2).isSymbolicLink() || lstatSync13(state2).size > 1024)
51116
+ if (!lstatSync14(state2).isFile() || lstatSync14(state2).isSymbolicLink() || lstatSync14(state2).size > 1024)
51010
51117
  return;
51011
51118
  const previous = JSON.parse(readFileSync18(state2, "utf8"));
51012
51119
  if (previous.version !== 1 || previous.status !== "failed" || Object.keys(previous).length !== 2)
@@ -51142,11 +51249,11 @@ async function prepareSkillDependencies(skillPath, env, timeoutMs = DEFAULT_PREP
51142
51249
 
51143
51250
  // src/lib/skillinfo.ts
51144
51251
  import { existsSync as existsSync15, readFileSync as readFileSync19 } from "fs";
51145
- import { join as join26 } from "path";
51252
+ import { join as join27 } from "path";
51146
51253
  function isInstructionSkillDir(skillPath, meta) {
51147
51254
  if (meta?.kind === "instruction")
51148
51255
  return true;
51149
- const skillMdPath = join26(skillPath, "SKILL.md");
51256
+ const skillMdPath = join27(skillPath, "SKILL.md");
51150
51257
  if (!existsSync15(skillMdPath))
51151
51258
  return false;
51152
51259
  try {
@@ -51176,9 +51283,9 @@ function getSkillDocs(name) {
51176
51283
  if (!existsSync15(skillPath))
51177
51284
  return null;
51178
51285
  return {
51179
- skillMd: readIfExists(join26(skillPath, "SKILL.md")),
51180
- readme: readIfExists(join26(skillPath, "README.md")),
51181
- claudeMd: readIfExists(join26(skillPath, "CLAUDE.md"))
51286
+ skillMd: readIfExists(join27(skillPath, "SKILL.md")),
51287
+ readme: readIfExists(join27(skillPath, "README.md")),
51288
+ claudeMd: readIfExists(join27(skillPath, "CLAUDE.md"))
51182
51289
  };
51183
51290
  }
51184
51291
  function getSkillBestDoc(name) {
@@ -51193,14 +51300,14 @@ function getSkillRequirements(name) {
51193
51300
  return null;
51194
51301
  const texts = [];
51195
51302
  for (const file of ["SKILL.md", "README.md", "CLAUDE.md", ".env.example", ".env.local.example"]) {
51196
- const content = readIfExists(join26(skillPath, file));
51303
+ const content = readIfExists(join27(skillPath, file));
51197
51304
  if (content)
51198
51305
  texts.push(content);
51199
51306
  }
51200
51307
  const meta = getSkill(name);
51201
51308
  let dependencies = {};
51202
51309
  try {
51203
- dependencies = JSON.parse(readFileSync19(join26(skillPath, "package.json"), "utf8")).dependencies || {};
51310
+ dependencies = JSON.parse(readFileSync19(join27(skillPath, "package.json"), "utf8")).dependencies || {};
51204
51311
  } catch {}
51205
51312
  return getSkillRequirementsFromContent(name, texts, dependencies, meta);
51206
51313
  }
@@ -51262,7 +51369,7 @@ async function runSkill(name, args, options = {}) {
51262
51369
  error: `Skill '${name}' is an instruction skill (kind: instruction) and is not runnable. Instruction skills are consumed by coding agents via SKILL.md, not executed with 'skills run'.`
51263
51370
  };
51264
51371
  }
51265
- const pkgPath = join26(skillPath, "package.json");
51372
+ const pkgPath = join27(skillPath, "package.json");
51266
51373
  if (!existsSync15(pkgPath)) {
51267
51374
  return { exitCode: 1, error: `No package.json in skill '${name}'` };
51268
51375
  }
@@ -51282,12 +51389,12 @@ async function runSkill(name, args, options = {}) {
51282
51389
  } catch {
51283
51390
  return { exitCode: 1, error: `Failed to parse package.json for skill '${name}'` };
51284
51391
  }
51285
- const entryPath = join26(skillPath, entryPoint);
51392
+ const entryPath = join27(skillPath, entryPoint);
51286
51393
  if (!existsSync15(entryPath)) {
51287
51394
  return { exitCode: 1, error: `Entry point '${entryPoint}' not found in skill '${name}'` };
51288
51395
  }
51289
51396
  const env = { ...process.env, ...options.env };
51290
- if (!existsSync15(join26(skillPath, "node_modules")) || hasDependencyPreparationMarker(skillPath)) {
51397
+ if (!existsSync15(join27(skillPath, "node_modules")) || hasDependencyPreparationMarker(skillPath)) {
51291
51398
  const failure = await prepareSkillDependencies(skillPath, env, options.preparationTimeoutMs);
51292
51399
  if (failure)
51293
51400
  return failure;
@@ -51365,10 +51472,10 @@ function generateSkillMd(name) {
51365
51472
  "---"
51366
51473
  ].join(`
51367
51474
  `);
51368
- const readme = readIfExists(join26(skillPath, "README.md"));
51369
- const claudeMd = readIfExists(join26(skillPath, "CLAUDE.md"));
51475
+ const readme = readIfExists(join27(skillPath, "README.md"));
51476
+ const claudeMd = readIfExists(join27(skillPath, "CLAUDE.md"));
51370
51477
  let cliCommand = null;
51371
- const pkgPath = join26(skillPath, "package.json");
51478
+ const pkgPath = join27(skillPath, "package.json");
51372
51479
  if (existsSync15(pkgPath)) {
51373
51480
  try {
51374
51481
  const pkg = JSON.parse(readFileSync19(pkgPath, "utf-8"));
@@ -51459,7 +51566,7 @@ function isValidSkillSlug(slug) {
51459
51566
  return SKILL_SLUG_PATTERN.test(slug);
51460
51567
  }
51461
51568
  function isInsideDir(dir, candidate) {
51462
- const base = dir.endsWith(sep5) ? dir : dir + sep5;
51569
+ const base = dir.endsWith(sep6) ? dir : dir + sep6;
51463
51570
  return candidate.startsWith(base);
51464
51571
  }
51465
51572
  function listServerSkills() {
@@ -51484,15 +51591,15 @@ function getServerSkillMd(slug) {
51484
51591
  const docs = getSkillDocs(name);
51485
51592
  if (docs?.skillMd)
51486
51593
  return docs.skillMd;
51487
- const skillsDir = resolve9(process.cwd(), "skills");
51488
- const path = resolve9(skillsDir, name, "SKILL.md");
51594
+ const skillsDir = resolve10(process.cwd(), "skills");
51595
+ const path = resolve10(skillsDir, name, "SKILL.md");
51489
51596
  if (!isInsideDir(skillsDir, path))
51490
51597
  return null;
51491
51598
  return existsSync16(path) ? readFileSync20(path, "utf8") : null;
51492
51599
  }
51493
51600
 
51494
51601
  // src/server/skills-api.ts
51495
- import { createHash as createHash14 } from "crypto";
51602
+ import { createHash as createHash15 } from "crypto";
51496
51603
  var SLUG_PATTERN = /^[a-z0-9][a-z0-9._-]*$/;
51497
51604
  var SHA256_HEX2 = /^[0-9a-f]{64}$/;
51498
51605
  var MAX_SLUG_LENGTH = 128;
@@ -51704,7 +51811,7 @@ async function parsePublishRequest(request, config) {
51704
51811
  if (bundleBytes.byteLength === 0) {
51705
51812
  throw new SkillRequestError(400, "BUNDLE_EMPTY", "the uploaded bundle is empty");
51706
51813
  }
51707
- const sha2562 = createHash14("sha256").update(bundleBytes).digest("hex");
51814
+ const sha2562 = createHash15("sha256").update(bundleBytes).digest("hex");
51708
51815
  const claimed = optionalString(manifest.bundleSha256);
51709
51816
  if (claimed)
51710
51817
  assertSha2562(claimed);
@@ -51819,7 +51926,7 @@ async function readPublishedBundle(store, artifactStorage, principal, slug) {
51819
51926
  if (!bytes) {
51820
51927
  throw new SkillRequestError(503, "BUNDLE_BACKEND_UNAVAILABLE", "bundle storage backend unavailable");
51821
51928
  }
51822
- const actual = createHash14("sha256").update(bytes).digest("hex");
51929
+ const actual = createHash15("sha256").update(bytes).digest("hex");
51823
51930
  if (actual !== record2.bundleSha256) {
51824
51931
  throw new SkillRequestError(500, "BUNDLE_DIGEST_DRIFT", `stored bundle for '${slug}' hashes to ${actual} but was published as ${record2.bundleSha256}`);
51825
51932
  }
@@ -51967,7 +52074,7 @@ async function readSkillVersionBundle(store, artifactStorage, principal, slug, v
51967
52074
  const bytes = await artifactStorage.readBundle(bundle);
51968
52075
  if (!bytes)
51969
52076
  throw new SkillRequestError(503, "BUNDLE_BACKEND_UNAVAILABLE", "bundle storage backend unavailable");
51970
- const actual = createHash14("sha256").update(bytes).digest("hex");
52077
+ const actual = createHash15("sha256").update(bytes).digest("hex");
51971
52078
  if (actual !== found.bundleSha256) {
51972
52079
  throw new SkillRequestError(500, "BUNDLE_DIGEST_DRIFT", `stored bundle for '${slug}@${version2}' hashes to ${actual} but was published as ${found.bundleSha256}`);
51973
52080
  }
@@ -52011,7 +52118,7 @@ async function seedBundledCorpus(options) {
52011
52118
  }
52012
52119
  const manifest = readPortableSkillManifest(dir, slug);
52013
52120
  const packed = packSkillBundle(dir, { maxUnpackedBytes: 50000000 });
52014
- const skillMdPath = join27(dir, "SKILL.md");
52121
+ const skillMdPath = join28(dir, "SKILL.md");
52015
52122
  const skillMd = existsSync17(skillMdPath) ? readFileSync21(skillMdPath, "utf-8") : undefined;
52016
52123
  const content = {
52017
52124
  slug,
@@ -52279,7 +52386,7 @@ async function handleProfileApi(store, principal, request, parts, config) {
52279
52386
  // src/server/runtime-store.ts
52280
52387
  import { Database as Database3 } from "bun:sqlite";
52281
52388
  import { mkdirSync as mkdirSync11 } from "fs";
52282
- import { dirname as dirname16 } from "path";
52389
+ import { dirname as dirname17 } from "path";
52283
52390
 
52284
52391
  // src/sdk/execution/types.ts
52285
52392
  var EXECUTION_PROTOCOL_VERSION = REMOTE_SKILL_RUN_CONTRACT_VERSION;
@@ -52335,7 +52442,7 @@ class RuntimeExecutionStore {
52335
52442
  }
52336
52443
  const path = target.kind === "sqlite" ? target.path : ":memory:";
52337
52444
  if (path !== ":memory:")
52338
- mkdirSync11(dirname16(path), { recursive: true });
52445
+ mkdirSync11(dirname17(path), { recursive: true });
52339
52446
  const db = new Database3(path);
52340
52447
  db.run("PRAGMA busy_timeout=5000");
52341
52448
  db.run("PRAGMA journal_mode=WAL");
@@ -52575,7 +52682,7 @@ class RuntimeExecutionStore {
52575
52682
  }
52576
52683
 
52577
52684
  // src/sdk/execution/admission.ts
52578
- import { createHash as createHash16 } from "crypto";
52685
+ import { createHash as createHash17 } from "crypto";
52579
52686
 
52580
52687
  // src/sdk/execution/image-profile.ts
52581
52688
  class ImageProfileResolutionError extends Error {
@@ -53173,11 +53280,11 @@ function ownedAdmission(admission) {
53173
53280
  };
53174
53281
  }
53175
53282
  function digestInput(input) {
53176
- return createHash16("sha256").update(canonicalJson(input)).digest("hex");
53283
+ return createHash17("sha256").update(canonicalJson(input)).digest("hex");
53177
53284
  }
53178
53285
 
53179
53286
  // src/sdk/execution/dispatchers/ecs.ts
53180
- import { createHash as createHash17 } from "crypto";
53287
+ import { createHash as createHash18 } from "crypto";
53181
53288
 
53182
53289
  // src/sdk/execution/state-machine.ts
53183
53290
  var LEGAL_TRANSITIONS = {
@@ -53340,7 +53447,7 @@ function createReceiptService(store) {
53340
53447
  };
53341
53448
  }
53342
53449
 
53343
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1127.0/node_modules/@aws-sdk/client-ecs/dist-es/ECSClient.js
53450
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-ecs/dist-es/ECSClient.js
53344
53451
  var import_client36 = __toESM(require_client2(), 1);
53345
53452
  var import_core2 = __toESM(require_dist_cjs2(), 1);
53346
53453
  var import_client37 = __toESM(require_client(), 1);
@@ -53350,7 +53457,7 @@ var import_protocols10 = __toESM(require_protocols(), 1);
53350
53457
  var import_retry6 = __toESM(require_retry(), 1);
53351
53458
  var import_schema4 = __toESM(require_schema(), 1);
53352
53459
 
53353
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1127.0/node_modules/@aws-sdk/client-ecs/dist-es/auth/httpAuthSchemeProvider.js
53460
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-ecs/dist-es/auth/httpAuthSchemeProvider.js
53354
53461
  var import_httpAuthSchemes4 = __toESM(require_httpAuthSchemes(), 1);
53355
53462
  var import_client28 = __toESM(require_client(), 1);
53356
53463
  var defaultECSHttpAuthSchemeParametersProvider = async (config, context, input) => {
@@ -53392,7 +53499,7 @@ var resolveHttpAuthSchemeConfig3 = (config) => {
53392
53499
  });
53393
53500
  };
53394
53501
 
53395
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1127.0/node_modules/@aws-sdk/client-ecs/dist-es/endpoint/EndpointParameters.js
53502
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-ecs/dist-es/endpoint/EndpointParameters.js
53396
53503
  var resolveClientEndpointParameters3 = (options) => {
53397
53504
  return Object.assign(options, {
53398
53505
  useDualstackEndpoint: options.useDualstackEndpoint ?? false,
@@ -53406,7 +53513,7 @@ var commonParams3 = {
53406
53513
  Region: { type: "builtInParams", name: "region" },
53407
53514
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
53408
53515
  };
53409
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1127.0/node_modules/@aws-sdk/client-ecs/package.json
53516
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-ecs/package.json
53410
53517
  var package_default3 = {
53411
53518
  name: "@aws-sdk/client-ecs",
53412
53519
  version: "3.1127.0",
@@ -53479,7 +53586,7 @@ var package_default3 = {
53479
53586
  }
53480
53587
  };
53481
53588
 
53482
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1127.0/node_modules/@aws-sdk/client-ecs/dist-es/runtimeConfig.js
53589
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-ecs/dist-es/runtimeConfig.js
53483
53590
  var import_client32 = __toESM(require_client2(), 1);
53484
53591
  var import_httpAuthSchemes6 = __toESM(require_httpAuthSchemes(), 1);
53485
53592
  var import_client33 = __toESM(require_client(), 1);
@@ -53488,7 +53595,7 @@ var import_retry5 = __toESM(require_retry(), 1);
53488
53595
  var import_serde6 = __toESM(require_serde(), 1);
53489
53596
  var import_node_http_handler3 = __toESM(require_dist_cjs6(), 1);
53490
53597
 
53491
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1127.0/node_modules/@aws-sdk/client-ecs/dist-es/runtimeConfig.shared.js
53598
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-ecs/dist-es/runtimeConfig.shared.js
53492
53599
  var import_httpAuthSchemes5 = __toESM(require_httpAuthSchemes(), 1);
53493
53600
  var import_protocols7 = __toESM(require_protocols2(), 1);
53494
53601
  var import_checksum3 = __toESM(require_checksum(), 1);
@@ -53496,11 +53603,11 @@ var import_client31 = __toESM(require_client(), 1);
53496
53603
  var import_protocols8 = __toESM(require_protocols(), 1);
53497
53604
  var import_serde5 = __toESM(require_serde(), 1);
53498
53605
 
53499
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1127.0/node_modules/@aws-sdk/client-ecs/dist-es/endpoint/endpointResolver.js
53606
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-ecs/dist-es/endpoint/endpointResolver.js
53500
53607
  var import_client29 = __toESM(require_client2(), 1);
53501
53608
  var import_endpoints7 = __toESM(require_endpoints(), 1);
53502
53609
 
53503
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1127.0/node_modules/@aws-sdk/client-ecs/dist-es/endpoint/bdd.js
53610
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-ecs/dist-es/endpoint/bdd.js
53504
53611
  var import_endpoints6 = __toESM(require_endpoints(), 1);
53505
53612
  var k3 = "ref";
53506
53613
  var a3 = -1;
@@ -53583,7 +53690,7 @@ var nodes3 = new Int32Array([
53583
53690
  ]);
53584
53691
  var bdd3 = import_endpoints6.BinaryDecisionDiagram.from(nodes3, root3, _data3.conditions, _data3.results);
53585
53692
 
53586
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1127.0/node_modules/@aws-sdk/client-ecs/dist-es/endpoint/endpointResolver.js
53693
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-ecs/dist-es/endpoint/endpointResolver.js
53587
53694
  var cache3 = new import_endpoints7.EndpointCache({
53588
53695
  size: 50,
53589
53696
  params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"]
@@ -53596,10 +53703,10 @@ var defaultEndpointResolver3 = (endpointParams, context = {}) => {
53596
53703
  };
53597
53704
  import_endpoints7.customEndpointFunctions.aws = import_client29.awsEndpointFunctions;
53598
53705
 
53599
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1127.0/node_modules/@aws-sdk/client-ecs/dist-es/schemas/schemas_0.js
53706
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-ecs/dist-es/schemas/schemas_0.js
53600
53707
  var import_schema3 = __toESM(require_schema(), 1);
53601
53708
 
53602
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1127.0/node_modules/@aws-sdk/client-ecs/dist-es/models/ECSServiceException.js
53709
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-ecs/dist-es/models/ECSServiceException.js
53603
53710
  var import_client30 = __toESM(require_client(), 1);
53604
53711
  class ECSServiceException extends import_client30.ServiceException {
53605
53712
  constructor(options) {
@@ -53608,7 +53715,7 @@ class ECSServiceException extends import_client30.ServiceException {
53608
53715
  }
53609
53716
  }
53610
53717
 
53611
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1127.0/node_modules/@aws-sdk/client-ecs/dist-es/models/errors.js
53718
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-ecs/dist-es/models/errors.js
53612
53719
  class AccessDeniedException extends ECSServiceException {
53613
53720
  name = "AccessDeniedException";
53614
53721
  $fault = "client";
@@ -54001,7 +54108,7 @@ class BlockedException extends ECSServiceException {
54001
54108
  }
54002
54109
  }
54003
54110
 
54004
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1127.0/node_modules/@aws-sdk/client-ecs/dist-es/schemas/schemas_0.js
54111
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-ecs/dist-es/schemas/schemas_0.js
54005
54112
  var _A2 = "Attachment";
54006
54113
  var _ACR = "AcceleratorCountRequest";
54007
54114
  var _AD2 = "AttachmentDetails";
@@ -56388,7 +56495,7 @@ var StopTask$ = [
56388
56495
  () => StopTaskResponse$
56389
56496
  ];
56390
56497
 
56391
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1127.0/node_modules/@aws-sdk/client-ecs/dist-es/runtimeConfig.shared.js
56498
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-ecs/dist-es/runtimeConfig.shared.js
56392
56499
  var getRuntimeConfig4 = (config) => {
56393
56500
  return {
56394
56501
  apiVersion: "2014-11-13",
@@ -56422,7 +56529,7 @@ var getRuntimeConfig4 = (config) => {
56422
56529
  };
56423
56530
  };
56424
56531
 
56425
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1127.0/node_modules/@aws-sdk/client-ecs/dist-es/runtimeConfig.js
56532
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-ecs/dist-es/runtimeConfig.js
56426
56533
  var getRuntimeConfig5 = (config) => {
56427
56534
  import_client33.emitWarningIfUnsupportedVersion(process.version);
56428
56535
  const defaultsMode = import_config39.resolveDefaultsModeConfig(config);
@@ -56456,12 +56563,12 @@ var getRuntimeConfig5 = (config) => {
56456
56563
  };
56457
56564
  };
56458
56565
 
56459
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1127.0/node_modules/@aws-sdk/client-ecs/dist-es/runtimeExtensions.js
56566
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-ecs/dist-es/runtimeExtensions.js
56460
56567
  var import_client34 = __toESM(require_client2(), 1);
56461
56568
  var import_client35 = __toESM(require_client(), 1);
56462
56569
  var import_protocols9 = __toESM(require_protocols(), 1);
56463
56570
 
56464
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1127.0/node_modules/@aws-sdk/client-ecs/dist-es/auth/httpAuthExtensionConfiguration.js
56571
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-ecs/dist-es/auth/httpAuthExtensionConfiguration.js
56465
56572
  var getHttpAuthExtensionConfiguration3 = (runtimeConfig) => {
56466
56573
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
56467
56574
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -56500,14 +56607,14 @@ var resolveHttpAuthRuntimeConfig3 = (config) => {
56500
56607
  };
56501
56608
  };
56502
56609
 
56503
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1127.0/node_modules/@aws-sdk/client-ecs/dist-es/runtimeExtensions.js
56610
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-ecs/dist-es/runtimeExtensions.js
56504
56611
  var resolveRuntimeExtensions3 = (runtimeConfig, extensions) => {
56505
56612
  const extensionConfiguration = Object.assign(import_client34.getAwsRegionExtensionConfiguration(runtimeConfig), import_client35.getDefaultExtensionConfiguration(runtimeConfig), import_protocols9.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration3(runtimeConfig));
56506
56613
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
56507
56614
  return Object.assign(runtimeConfig, import_client34.resolveAwsRegionExtensionConfiguration(extensionConfiguration), import_client35.resolveDefaultRuntimeConfig(extensionConfiguration), import_protocols9.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig3(extensionConfiguration));
56508
56615
  };
56509
56616
 
56510
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1127.0/node_modules/@aws-sdk/client-ecs/dist-es/ECSClient.js
56617
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-ecs/dist-es/ECSClient.js
56511
56618
  class ECSClient extends import_client37.Client {
56512
56619
  config;
56513
56620
  constructor(...[configuration]) {
@@ -56543,26 +56650,26 @@ class ECSClient extends import_client37.Client {
56543
56650
  }
56544
56651
  }
56545
56652
 
56546
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1127.0/node_modules/@aws-sdk/client-ecs/dist-es/commandBuilder.js
56653
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-ecs/dist-es/commandBuilder.js
56547
56654
  var import_client38 = __toESM(require_client(), 1);
56548
56655
  var import_endpoints9 = __toESM(require_endpoints(), 1);
56549
56656
  var command3 = import_client38.makeBuilder(commonParams3, "AmazonEC2ContainerServiceV20141113", "ECSClient", import_endpoints9.getEndpointPlugin);
56550
56657
  var _ep03 = {};
56551
56658
  var _mw03 = (Command, cs, config, o2) => [];
56552
56659
 
56553
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1127.0/node_modules/@aws-sdk/client-ecs/dist-es/commands/DescribeTasksCommand.js
56660
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-ecs/dist-es/commands/DescribeTasksCommand.js
56554
56661
  class DescribeTasksCommand extends command3(_ep03, _mw03, "DescribeTasks", DescribeTasks$) {
56555
56662
  }
56556
56663
 
56557
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1127.0/node_modules/@aws-sdk/client-ecs/dist-es/commands/ListTasksCommand.js
56664
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-ecs/dist-es/commands/ListTasksCommand.js
56558
56665
  class ListTasksCommand extends command3(_ep03, _mw03, "ListTasks", ListTasks$) {
56559
56666
  }
56560
56667
 
56561
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1127.0/node_modules/@aws-sdk/client-ecs/dist-es/commands/RunTaskCommand.js
56668
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-ecs/dist-es/commands/RunTaskCommand.js
56562
56669
  class RunTaskCommand extends command3(_ep03, _mw03, "RunTask", RunTask$) {
56563
56670
  }
56564
56671
 
56565
- // ../../node_modules/.bun/@aws-sdk+client-ecs@3.1127.0/node_modules/@aws-sdk/client-ecs/dist-es/commands/StopTaskCommand.js
56672
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/@aws-sdk/client-ecs/dist-es/commands/StopTaskCommand.js
56566
56673
  class StopTaskCommand extends command3(_ep03, _mw03, "StopTask", StopTask$) {
56567
56674
  }
56568
56675
 
@@ -56576,13 +56683,13 @@ function observedTask(states, taskArn) {
56576
56683
  return state2.lastStatus === "STOPPED" || LIVE_TASK_STATUSES.has(state2.lastStatus) ? state2 : undefined;
56577
56684
  }
56578
56685
  function clientTokenFor(runId2, attemptId) {
56579
- return createHash17("sha256").update(`${runId2}\x00${attemptId}`).digest("hex").slice(0, CLIENT_TOKEN_BYTES * 2);
56686
+ return createHash18("sha256").update(`${runId2}\x00${attemptId}`).digest("hex").slice(0, CLIENT_TOKEN_BYTES * 2);
56580
56687
  }
56581
56688
  function startedByFor(runId2, attemptNumber) {
56582
56689
  return `skills-exec/${runId2}/a${attemptNumber}`;
56583
56690
  }
56584
56691
  function requestDigestFor(admission, attemptId) {
56585
- return createHash17("sha256").update(canonicalJson({ admission, attemptId })).digest("hex");
56692
+ return createHash18("sha256").update(canonicalJson({ admission, attemptId })).digest("hex");
56586
56693
  }
56587
56694
 
56588
56695
  class EcsDispatcher {
@@ -56878,7 +56985,7 @@ function validText(value) {
56878
56985
  }
56879
56986
 
56880
56987
  // src/server/runtime-policy.ts
56881
- import { createHash as createHash18, createHmac as createHmac3, timingSafeEqual as timingSafeEqual2 } from "crypto";
56988
+ import { createHash as createHash19, createHmac as createHmac3, timingSafeEqual as timingSafeEqual2 } from "crypto";
56882
56989
  var RUNTIME_MAX_INPUT_BYTES = 1e5;
56883
56990
  var RUNTIME_MAX_BUNDLE_BYTES = 1e6;
56884
56991
  var RUNTIME_MAX_ARTIFACT_BYTES = 2000000;
@@ -56950,7 +57057,7 @@ function verifyRuntimeToken(token, key, admission, attempt, now = Date.now()) {
56950
57057
  const actual = Buffer.from(token);
56951
57058
  return actual.length === expected.length && timingSafeEqual2(actual, expected);
56952
57059
  }
56953
- var hashBytes = (bytes) => createHash18("sha256").update(bytes).digest("hex");
57060
+ var hashBytes = (bytes) => createHash19("sha256").update(bytes).digest("hex");
56954
57061
 
56955
57062
  // src/server/runtime-api.ts
56956
57063
  async function createRuntimeService(options) {
@@ -57399,7 +57506,7 @@ function normalizePrefix(value) {
57399
57506
  }
57400
57507
 
57401
57508
  // src/server/handlers.ts
57402
- import { createHash as createHash19 } from "crypto";
57509
+ import { createHash as createHash20 } from "crypto";
57403
57510
 
57404
57511
  // src/server/store.ts
57405
57512
  import { randomUUID as randomUUID7 } from "crypto";
@@ -58431,7 +58538,7 @@ function textArtifact(run, relativePath, bodyText, contentType = relativePath.en
58431
58538
  relativePath,
58432
58539
  contentType,
58433
58540
  byteSize: bytes.byteLength,
58434
- sha256: createHash19("sha256").update(bytes).digest("hex"),
58541
+ sha256: createHash20("sha256").update(bytes).digest("hex"),
58435
58542
  visibility: "private"
58436
58543
  },
58437
58544
  body: { relativePath, bodyText, contentType }
@@ -58928,7 +59035,7 @@ var bundledRegistry = {
58928
59035
  var currentVersionService = {
58929
59036
  resolveVersion: (record2) => record2.version
58930
59037
  };
58931
- // ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v3/external.js
59038
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/zod/v3/external.js
58932
59039
  var exports_external = {};
58933
59040
  __export(exports_external, {
58934
59041
  void: () => voidType,
@@ -59040,7 +59147,7 @@ __export(exports_external, {
59040
59147
  BRAND: () => BRAND
59041
59148
  });
59042
59149
 
59043
- // ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/util.js
59150
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/zod/v3/helpers/util.js
59044
59151
  var util;
59045
59152
  (function(util2) {
59046
59153
  util2.assertEqual = (_) => {};
@@ -59171,7 +59278,7 @@ var getParsedType = (data) => {
59171
59278
  }
59172
59279
  };
59173
59280
 
59174
- // ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v3/ZodError.js
59281
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/zod/v3/ZodError.js
59175
59282
  var ZodIssueCode = util.arrayToEnum([
59176
59283
  "invalid_type",
59177
59284
  "invalid_literal",
@@ -59238,13 +59345,28 @@ class ZodError extends Error {
59238
59345
  while (i4 < issue.path.length) {
59239
59346
  const el = issue.path[i4];
59240
59347
  const terminal = i4 === issue.path.length - 1;
59241
- if (!terminal) {
59242
- curr[el] = curr[el] || { _errors: [] };
59243
- } else {
59244
- curr[el] = curr[el] || { _errors: [] };
59245
- curr[el]._errors.push(mapper(issue));
59348
+ if (el === "_errors") {
59349
+ if (terminal)
59350
+ curr._errors.push(mapper(issue));
59351
+ i4++;
59352
+ continue;
59353
+ }
59354
+ if (!Object.prototype.hasOwnProperty.call(curr, el)) {
59355
+ if (el === "__proto__") {
59356
+ Object.defineProperty(curr, el, {
59357
+ value: { _errors: [] },
59358
+ writable: true,
59359
+ enumerable: true,
59360
+ configurable: true
59361
+ });
59362
+ } else {
59363
+ curr[el] = { _errors: [] };
59364
+ }
59246
59365
  }
59247
59366
  curr = curr[el];
59367
+ if (terminal) {
59368
+ curr._errors.push(mapper(issue));
59369
+ }
59248
59370
  i4++;
59249
59371
  }
59250
59372
  }
@@ -59268,7 +59390,7 @@ class ZodError extends Error {
59268
59390
  return this.issues.length === 0;
59269
59391
  }
59270
59392
  flatten(mapper = (issue) => issue.message) {
59271
- const fieldErrors = {};
59393
+ const fieldErrors = Object.create(null);
59272
59394
  const formErrors = [];
59273
59395
  for (const sub of this.issues) {
59274
59396
  if (sub.path.length > 0) {
@@ -59290,7 +59412,7 @@ ZodError.create = (issues) => {
59290
59412
  return error;
59291
59413
  };
59292
59414
 
59293
- // ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v3/locales/en.js
59415
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/zod/v3/locales/en.js
59294
59416
  var errorMap = (issue, _ctx) => {
59295
59417
  let message;
59296
59418
  switch (issue.code) {
@@ -59393,7 +59515,7 @@ var errorMap = (issue, _ctx) => {
59393
59515
  };
59394
59516
  var en_default = errorMap;
59395
59517
 
59396
- // ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v3/errors.js
59518
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/zod/v3/errors.js
59397
59519
  var overrideErrorMap = en_default;
59398
59520
  function setErrorMap(map) {
59399
59521
  overrideErrorMap = map;
@@ -59401,7 +59523,7 @@ function setErrorMap(map) {
59401
59523
  function getErrorMap() {
59402
59524
  return overrideErrorMap;
59403
59525
  }
59404
- // ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/parseUtil.js
59526
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/zod/v3/helpers/parseUtil.js
59405
59527
  var makeIssue = (params) => {
59406
59528
  const { data, path: path2, errorMaps, issueData } = params;
59407
59529
  const fullPath = [...path2, ...issueData.path || []];
@@ -59507,14 +59629,14 @@ var isAborted = (x2) => x2.status === "aborted";
59507
59629
  var isDirty = (x2) => x2.status === "dirty";
59508
59630
  var isValid = (x2) => x2.status === "valid";
59509
59631
  var isAsync = (x2) => typeof Promise !== "undefined" && x2 instanceof Promise;
59510
- // ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/errorUtil.js
59632
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/zod/v3/helpers/errorUtil.js
59511
59633
  var errorUtil;
59512
59634
  (function(errorUtil2) {
59513
59635
  errorUtil2.errToObj = (message) => typeof message === "string" ? { message } : message || {};
59514
59636
  errorUtil2.toString = (message) => typeof message === "string" ? message : message?.message;
59515
59637
  })(errorUtil || (errorUtil = {}));
59516
59638
 
59517
- // ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v3/types.js
59639
+ // ../../../../../../../skills/launch-evidence/20260908-resume/skills-recurring-wire-sdk-20260915/frozen-dependency-graph/node_modules/zod/v3/types.js
59518
59640
  class ParseInputLazyPath {
59519
59641
  constructor(parent, value, path2, key) {
59520
59642
  this._cachedPath = [];
@@ -59868,7 +59990,7 @@ var nanoidRegex = /^[a-z0-9_-]{21}$/i;
59868
59990
  var jwtRegex = /^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/;
59869
59991
  var durationRegex = /^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/;
59870
59992
  var emailRegex = /^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i;
59871
- var _emojiRegex = `^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$`;
59993
+ var _emojiRegex = `^[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$`;
59872
59994
  var emojiRegex;
59873
59995
  var ipv4Regex = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/;
59874
59996
  var ipv4CidrRegex = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/;
@@ -61755,7 +61877,11 @@ function mergeValues(a4, b4) {
61755
61877
  const bKeys = util.objectKeys(b4);
61756
61878
  const sharedKeys = util.objectKeys(a4).filter((key) => bKeys.indexOf(key) !== -1);
61757
61879
  const newObj = { ...a4, ...b4 };
61880
+ if (Object.prototype.hasOwnProperty.call(newObj, "__proto__"))
61881
+ delete newObj.__proto__;
61758
61882
  for (const key of sharedKeys) {
61883
+ if (key === "__proto__")
61884
+ continue;
61759
61885
  const sharedValue = mergeValues(a4[key], b4[key]);
61760
61886
  if (!sharedValue.valid) {
61761
61887
  return { valid: false };
@@ -63029,7 +63155,7 @@ var localRunExecutor = {
63029
63155
  // src/sdk/storage.ts
63030
63156
  var artifactStorageSeam = ArtifactStorage;
63031
63157
  // src/sdk/outputs.ts
63032
- import { createHash as createHash20 } from "crypto";
63158
+ import { createHash as createHash21 } from "crypto";
63033
63159
  class DatabaseOnlyObjectStore {
63034
63160
  usesS3 = false;
63035
63161
  async materialize(run, artifact, body3) {
@@ -63076,7 +63202,7 @@ function createGovernedArtifactWriter(options) {
63076
63202
  const stamped = {
63077
63203
  ...meta,
63078
63204
  byteSize: outputBytes,
63079
- sha256: createHash20("sha256").update(persistedBytes).digest("hex"),
63205
+ sha256: createHash21("sha256").update(persistedBytes).digest("hex"),
63080
63206
  visibility: options.visibility ?? config.defaultVisibility,
63081
63207
  ...config.artifactTtlSeconds !== undefined ? { expiresAt: expiresAtFor(createdAt, config.artifactTtlSeconds) } : {}
63082
63208
  };
@@ -63482,10 +63608,10 @@ function sessionToken(value) {
63482
63608
  return value;
63483
63609
  }
63484
63610
  function parseWorkspaceSession(value, expected) {
63485
- const identity2 = parseWorkspaceIdentity(value, expected.userId);
63486
- if (identity2.user.membershipId !== expected.membershipId)
63611
+ const identity3 = parseWorkspaceIdentity(value, expected.userId);
63612
+ if (identity3.user.membershipId !== expected.membershipId)
63487
63613
  throw new WorkspaceIdentityMismatchError;
63488
- return { token: sessionToken(value.token), ...identity2 };
63614
+ return { token: sessionToken(value.token), ...identity3 };
63489
63615
  }
63490
63616
  function parseWorkspaceLogin(value, expectedUserId) {
63491
63617
  const user = record3(value) && value.user;
@@ -63814,10 +63940,10 @@ async function readQuoteUnavailableCode(response) {
63814
63940
  let timer;
63815
63941
  let deadlineExceeded = false;
63816
63942
  const expired = Symbol("quote body deadline");
63817
- const deadline = new Promise((resolve11) => {
63943
+ const deadline = new Promise((resolve12) => {
63818
63944
  timer = setTimeout(() => {
63819
63945
  deadlineExceeded = true;
63820
- resolve11(expired);
63946
+ resolve12(expired);
63821
63947
  reader.cancel().catch(() => {});
63822
63948
  }, 1500);
63823
63949
  });
@@ -64062,16 +64188,16 @@ class RemoteSkillsClient {
64062
64188
  async listAccountWorkspaces(expectedUserId) {
64063
64189
  const expected = expectedUserId === undefined ? undefined : workspaceExpectedUserId(expectedUserId);
64064
64190
  const connection = new RemoteSkillsClient(this.apiKey, this.apiUrl);
64065
- let identity2;
64191
+ let identity3;
64066
64192
  if (expected !== undefined) {
64067
64193
  const value = await connection.requestWorkspaceSelection("/api/auth/whoami");
64068
64194
  if (!value || typeof value !== "object" || value.authMethod !== "jwt")
64069
64195
  throw new RemoteWorkspaceSelectionError("/api/v1/account/workspaces", "INTERACTIVE_SESSION_REQUIRED");
64070
- identity2 = parseWorkspaceIdentity(value, expected);
64196
+ identity3 = parseWorkspaceIdentity(value, expected);
64071
64197
  }
64072
64198
  const result = parseAccountWorkspaces(await connection.requestWorkspaceSelection("/api/v1/account/workspaces"));
64073
64199
  const current = result.workspaces.find((workspace) => workspace.current);
64074
- if (identity2 && (current.membershipId !== identity2.user.membershipId || current.organization.id !== identity2.organization.id))
64200
+ if (identity3 && (current.membershipId !== identity3.user.membershipId || current.organization.id !== identity3.organization.id))
64075
64201
  throw new WorkspaceIdentityMismatchError;
64076
64202
  return result;
64077
64203
  }
@@ -64089,10 +64215,10 @@ class RemoteSkillsClient {
64089
64215
  const verified = await new RemoteSkillsClient(selected2.token, connection.apiUrl).requestWorkspaceSelection("/api/auth/whoami");
64090
64216
  if (!verified || typeof verified !== "object" || verified.authMethod !== "jwt")
64091
64217
  throw new RemoteWorkspaceSelectionError("/api/v1/account/workspaces/switch", "INTERACTIVE_SESSION_REQUIRED");
64092
- const identity2 = parseWorkspaceIdentity(verified, target.userId);
64093
- if (identity2.user.membershipId !== target.membershipId || identity2.organization.id !== selected2.organization.id)
64218
+ const identity3 = parseWorkspaceIdentity(verified, target.userId);
64219
+ if (identity3.user.membershipId !== target.membershipId || identity3.organization.id !== selected2.organization.id)
64094
64220
  throw new WorkspaceIdentityMismatchError;
64095
- return { token: selected2.token, ...identity2 };
64221
+ return { token: selected2.token, ...identity3 };
64096
64222
  }
64097
64223
  async requestWorkspaceSelection(path2, options) {
64098
64224
  let response;
@@ -64176,8 +64302,8 @@ class RemoteSkillsClient {
64176
64302
  const value = await connection.requestWorkspaceSelection("/api/auth/whoami");
64177
64303
  if (!value || typeof value !== "object" || value.authMethod !== "jwt")
64178
64304
  throw new RemoteWorkspaceLeaveError("INTERACTIVE_SESSION_REQUIRED");
64179
- const identity2 = parseWorkspaceIdentity(value, captured.context.userId);
64180
- if (identity2.user.membershipId !== captured.context.membershipId)
64305
+ const identity3 = parseWorkspaceIdentity(value, captured.context.userId);
64306
+ if (identity3.user.membershipId !== captured.context.membershipId)
64181
64307
  throw new WorkspaceIdentityMismatchError;
64182
64308
  let response, body3;
64183
64309
  try {
@@ -64192,7 +64318,7 @@ class RemoteSkillsClient {
64192
64318
  throw new RemoteWorkspaceLeaveError(code);
64193
64319
  throw new RemoteWorkspaceLeaveUnconfirmedError;
64194
64320
  }
64195
- return parseWorkspaceLeaveResult(body3, captured.context.membershipId, identity2.organization.id);
64321
+ return parseWorkspaceLeaveResult(body3, captured.context.membershipId, identity3.organization.id);
64196
64322
  }
64197
64323
  listWorkspaceInvitations(context, options = {}) {
64198
64324
  return this.requestWorkspaceInvitation(context, "list", options);
@@ -64218,8 +64344,8 @@ class RemoteSkillsClient {
64218
64344
  const identityValue = await connection.requestWorkspaceSelection("/api/auth/whoami");
64219
64345
  if (!identityValue || typeof identityValue !== "object" || identityValue.authMethod !== "jwt")
64220
64346
  throw new RemoteWorkspaceInvitationError("INTERACTIVE_SESSION_REQUIRED");
64221
- const identity2 = parseWorkspaceIdentity(identityValue, target.userId);
64222
- if (identity2.user.membershipId !== target.membershipId)
64347
+ const identity3 = parseWorkspaceIdentity(identityValue, target.userId);
64348
+ if (identity3.user.membershipId !== target.membershipId)
64223
64349
  throw new WorkspaceIdentityMismatchError;
64224
64350
  const request = invitationRequest(action, captured), read2 = action === "list" || action === "get";
64225
64351
  let response, value;
@@ -64236,7 +64362,7 @@ class RemoteSkillsClient {
64236
64362
  throw read2 ? new RemoteWorkspaceInvitationReadError : new RemoteWorkspaceInvitationUnconfirmedError;
64237
64363
  }
64238
64364
  try {
64239
- return parseInvitationResult(action, value, captured, identity2.organization.id);
64365
+ return parseInvitationResult(action, value, captured, identity3.organization.id);
64240
64366
  } catch {
64241
64367
  throw read2 ? new RemoteWorkspaceInvitationReadError : new RemoteWorkspaceInvitationUnconfirmedError;
64242
64368
  }
@@ -64726,7 +64852,7 @@ async function requestInvitationEmail(origin, action, input) {
64726
64852
  }
64727
64853
 
64728
64854
  // src/lib/remote-private-publications.ts
64729
- import { createHash as createHash21 } from "crypto";
64855
+ import { createHash as createHash22 } from "crypto";
64730
64856
  var PRIVATE_PUBLICATION_MAX_BYTES = 16 * 1024 * 1024;
64731
64857
  var failures = {
64732
64858
  INVALID_REQUEST: [400, "The publication request is invalid."],
@@ -64773,7 +64899,7 @@ var hash2 = (v2) => typeof v2 === "string" && /^[a-f0-9]{64}$/.test(v2);
64773
64899
  var record6 = (v2) => !!v2 && typeof v2 === "object" && !Array.isArray(v2);
64774
64900
  var exact = (v2, keys) => record6(v2) && Object.keys(v2).sort().join(",") === keys.sort().join(",");
64775
64901
  var date = (v2) => typeof v2 === "string" && /^\d{4}-\d\d-\d\dT[0-9:.]+(?:Z|[+-](?:[01]\d|2[0-3]):[0-5]\d)$/.test(v2) && Number.isFinite(Date.parse(v2));
64776
- var publicationSha256 = (bytes) => createHash21("sha256").update(bytes).digest("hex");
64902
+ var publicationSha256 = (bytes) => createHash22("sha256").update(bytes).digest("hex");
64777
64903
  function checkedPublicationDeclaration(value) {
64778
64904
  if (!exact(value, ["idempotencyKey", "version", "expectedCurrentVersionId", "manifestText", "archiveSha256", "archiveByteSize"]) || !publicationUuid(value.idempotencyKey) || !(value.expectedCurrentVersionId === null || publicationUuid(value.expectedCurrentVersionId)) || typeof value.version !== "string" || !value.version || value.version.length > 128 || /[\p{Cc}\p{Cs}]/u.test(value.version) || typeof value.manifestText !== "string" || Buffer.byteLength(value.manifestText) > 16384 || !hash2(value.archiveSha256) || !Number.isSafeInteger(value.archiveByteSize) || Number(value.archiveByteSize) < 1 || Number(value.archiveByteSize) > PRIVATE_PUBLICATION_MAX_BYTES)
64779
64905
  return bad();
@@ -65018,12 +65144,12 @@ class RemotePrivatePublicationsClient {
65018
65144
  previous = view;
65019
65145
  if (!["queued", "verifying"].includes(view.state) || Date.now() >= until)
65020
65146
  return view;
65021
- await new Promise((resolve11) => {
65147
+ await new Promise((resolve12) => {
65022
65148
  const timer = setTimeout(done, Math.min(1000, until - Date.now()));
65023
65149
  function done() {
65024
65150
  clearTimeout(timer);
65025
65151
  options.signal?.removeEventListener("abort", done);
65026
- resolve11();
65152
+ resolve12();
65027
65153
  }
65028
65154
  options.signal?.addEventListener("abort", done, { once: true });
65029
65155
  });
@@ -65255,34 +65381,34 @@ class RemoteSkillsAuthClient {
65255
65381
  }
65256
65382
  }
65257
65383
  // src/lib/private-publication-recovery.ts
65258
- import { constants as constants7, closeSync as closeSync8, fsyncSync as fsyncSync2, fstatSync as fstatSync8, lstatSync as lstatSync14, mkdirSync as mkdirSync12, openSync as openSync8, readSync as readSync6, realpathSync as realpathSync5, renameSync as renameSync5, unlinkSync as unlinkSync4, writeFileSync as writeFileSync8 } from "fs";
65259
- import { dirname as dirname17, isAbsolute as isAbsolute10, join as join31, resolve as resolve11 } from "path";
65384
+ import { constants as constants7, closeSync as closeSync8, fsyncSync as fsyncSync2, fstatSync as fstatSync8, lstatSync as lstatSync15, mkdirSync as mkdirSync12, openSync as openSync8, readSync as readSync6, realpathSync as realpathSync5, renameSync as renameSync5, unlinkSync as unlinkSync4, writeFileSync as writeFileSync8 } from "fs";
65385
+ import { dirname as dirname18, isAbsolute as isAbsolute11, join as join32, resolve as resolve12 } from "path";
65260
65386
  import { randomUUID as randomUUID9 } from "crypto";
65261
65387
  var fail = () => {
65262
65388
  throw new PrivatePublicationError("PUBLICATION_RECOVERY_INVALID", "The recovery directory is invalid or changed. Preserve it and inspect the existing intent; do not start a replacement automatically.");
65263
65389
  };
65264
65390
  function safeDirectory(directory) {
65265
- if (!isAbsolute10(directory) || directory !== resolve11(directory) || realpathSync5(directory) !== directory)
65391
+ if (!isAbsolute11(directory) || directory !== resolve12(directory) || realpathSync5(directory) !== directory)
65266
65392
  return fail();
65267
- for (let path2 = directory;; path2 = dirname17(path2)) {
65268
- const stat = lstatSync14(path2);
65393
+ for (let path2 = directory;; path2 = dirname18(path2)) {
65394
+ const stat = lstatSync15(path2);
65269
65395
  if (!stat.isDirectory() || stat.isSymbolicLink())
65270
65396
  return fail();
65271
- if (path2 === dirname17(path2))
65397
+ if (path2 === dirname18(path2))
65272
65398
  break;
65273
65399
  }
65274
- const own = lstatSync14(directory);
65400
+ const own = lstatSync15(directory);
65275
65401
  if ((own.mode & 63) !== 0 || process.getuid && own.uid !== process.getuid())
65276
65402
  return fail();
65277
65403
  return { dev: own.dev, ino: own.ino };
65278
65404
  }
65279
- function unchangedDirectory(directory, identity2) {
65405
+ function unchangedDirectory(directory, identity3) {
65280
65406
  const now2 = safeDirectory(directory);
65281
- if (now2.dev !== identity2.dev || now2.ino !== identity2.ino)
65407
+ if (now2.dev !== identity3.dev || now2.ino !== identity3.ino)
65282
65408
  return fail();
65283
65409
  }
65284
65410
  function readOwned(directory, name, max) {
65285
- const identity2 = safeDirectory(directory), file = join31(directory, name);
65411
+ const identity3 = safeDirectory(directory), file = join32(directory, name);
65286
65412
  const fd = openSync8(file, constants7.O_RDONLY | constants7.O_NOFOLLOW);
65287
65413
  try {
65288
65414
  const stat = fstatSync8(fd);
@@ -65297,7 +65423,7 @@ function readOwned(directory, name, max) {
65297
65423
  length += count;
65298
65424
  }
65299
65425
  const bytes = buffer.subarray(0, length), after = fstatSync8(fd);
65300
- unchangedDirectory(directory, identity2);
65426
+ unchangedDirectory(directory, identity3);
65301
65427
  if (bytes.length !== stat.size || stat.size !== after.size || stat.mtimeMs !== after.mtimeMs || stat.ctimeMs !== after.ctimeMs)
65302
65428
  return fail();
65303
65429
  return bytes;
@@ -65306,7 +65432,7 @@ function readOwned(directory, name, max) {
65306
65432
  }
65307
65433
  }
65308
65434
  function writeOwned(directory, name, bytes) {
65309
- const fd = openSync8(join31(directory, name), constants7.O_WRONLY | constants7.O_CREAT | constants7.O_EXCL | constants7.O_NOFOLLOW, 384);
65435
+ const fd = openSync8(join32(directory, name), constants7.O_WRONLY | constants7.O_CREAT | constants7.O_EXCL | constants7.O_NOFOLLOW, 384);
65310
65436
  try {
65311
65437
  writeFileSync8(fd, bytes);
65312
65438
  fsyncSync2(fd);
@@ -65315,11 +65441,11 @@ function writeOwned(directory, name, bytes) {
65315
65441
  }
65316
65442
  }
65317
65443
  function save(directory, value) {
65318
- const identity2 = safeDirectory(directory), temporary = `.receipt-${randomUUID9()}.json`;
65444
+ const identity3 = safeDirectory(directory), temporary = `.receipt-${randomUUID9()}.json`;
65319
65445
  writeOwned(directory, temporary, JSON.stringify(value) + `
65320
65446
  `);
65321
- unchangedDirectory(directory, identity2);
65322
- renameSync5(join31(directory, temporary), join31(directory, "receipt.json"));
65447
+ unchangedDirectory(directory, identity3);
65448
+ renameSync5(join32(directory, temporary), join32(directory, "receipt.json"));
65323
65449
  const fd = openSync8(directory, constants7.O_RDONLY | constants7.O_NOFOLLOW);
65324
65450
  try {
65325
65451
  fsyncSync2(fd);
@@ -65332,7 +65458,7 @@ function bind(client, receipt) {
65332
65458
  throw new PrivatePublicationError("PUBLICATION_IDENTITY_CHANGED", "The fresh session does not match the recovery directory's server, account and membership.");
65333
65459
  }
65334
65460
  async function locked(directory, action) {
65335
- const identity2 = safeDirectory(directory), file = join31(directory, "operation.lock");
65461
+ const identity3 = safeDirectory(directory), file = join32(directory, "operation.lock");
65336
65462
  let fd;
65337
65463
  try {
65338
65464
  fd = openSync8(file, constants7.O_WRONLY | constants7.O_CREAT | constants7.O_EXCL | constants7.O_NOFOLLOW, 384);
@@ -65347,8 +65473,8 @@ async function locked(directory, action) {
65347
65473
  return await action();
65348
65474
  } finally {
65349
65475
  closeSync8(fd);
65350
- unchangedDirectory(directory, identity2);
65351
- const now2 = lstatSync14(file);
65476
+ unchangedDirectory(directory, identity3);
65477
+ const now2 = lstatSync15(file);
65352
65478
  if (now2.dev !== lock.dev || now2.ino !== lock.ino || !now2.isFile() || now2.isSymbolicLink())
65353
65479
  fail();
65354
65480
  unlinkSync4(file);
@@ -65400,11 +65526,11 @@ async function preparePrivatePublication(client, sourceDirectory, recoveryDirect
65400
65526
  phase: "prepared",
65401
65527
  intent: null
65402
65528
  };
65403
- if (!isAbsolute10(recoveryDirectory) || resolve11(recoveryDirectory) !== recoveryDirectory || realpathSync5(dirname17(recoveryDirectory)) !== dirname17(recoveryDirectory))
65529
+ if (!isAbsolute11(recoveryDirectory) || resolve12(recoveryDirectory) !== recoveryDirectory || realpathSync5(dirname18(recoveryDirectory)) !== dirname18(recoveryDirectory))
65404
65530
  return fail();
65405
65531
  mkdirSync12(recoveryDirectory, { mode: 448 });
65406
65532
  safeDirectory(recoveryDirectory);
65407
- const parent = openSync8(dirname17(recoveryDirectory), constants7.O_RDONLY | constants7.O_NOFOLLOW);
65533
+ const parent = openSync8(dirname18(recoveryDirectory), constants7.O_RDONLY | constants7.O_NOFOLLOW);
65408
65534
  try {
65409
65535
  fsyncSync2(parent);
65410
65536
  } finally {