@knowzai/core 0.1.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.tsbuildinfo +1 -1
- package/dist/config.d.ts +25 -2
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +65 -14
- package/dist/config.js.map +1 -1
- package/dist/credential-store.d.ts +37 -1
- package/dist/credential-store.d.ts.map +1 -1
- package/dist/credential-store.js +317 -33
- package/dist/credential-store.js.map +1 -1
- package/package.json +4 -4
package/dist/.tsbuildinfo
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"fileNames":["../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2023.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2023.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2023.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../types/dist/index.d.ts","../src/errors.ts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/typealiases.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/util.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/index.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/zoderror.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/locales/en.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/errors.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/parseutil.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/enumutil.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/errorutil.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/partialutil.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/standard-schema.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/external.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/index.d.cts","../src/config.ts","../../../node_modules/.pnpm/@napi-rs+keyring@1.3.0/node_modules/@napi-rs/keyring/index.d.ts","../src/credential-store.ts","../src/auth.ts","../src/logger.ts","../src/redactor.ts","../src/settings.ts","../src/index.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/compatibility/disposable.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/compatibility/indexable.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/compatibility/iterators.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/compatibility/index.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/globals.typedarray.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/buffer.buffer.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/web-globals/abortcontroller.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/web-globals/domexception.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/web-globals/events.d.ts","../../../node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/header.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/readable.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/file.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/fetch.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/formdata.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/connector.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/client.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/errors.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-origin.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool-stats.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/handlers.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-client.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-pool.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-errors.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/env-http-proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-handler.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/api.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/interceptors.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/util.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cookies.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/patch.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/websocket.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/eventsource.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/filereader.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/content-type.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cache.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/index.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/web-globals/fetch.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/web-globals/navigator.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/web-globals/storage.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/inspector.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/inspector.generated.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/sea.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/sqlite.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/test.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/index.d.ts","../../../node_modules/.pnpm/@types+better-sqlite3@7.6.13/node_modules/@types/better-sqlite3/index.d.ts","../../../node_modules/.pnpm/pg-types@2.2.0/node_modules/pg-types/index.d.ts","../../../node_modules/.pnpm/pg-protocol@1.14.0/node_modules/pg-protocol/dist/messages.d.ts","../../../node_modules/.pnpm/pg-protocol@1.14.0/node_modules/pg-protocol/dist/serializer.d.ts","../../../node_modules/.pnpm/pg-protocol@1.14.0/node_modules/pg-protocol/dist/parser.d.ts","../../../node_modules/.pnpm/pg-protocol@1.14.0/node_modules/pg-protocol/dist/index.d.ts","../../../node_modules/.pnpm/@types+pg@8.20.0/node_modules/@types/pg/lib/type-overrides.d.ts","../../../node_modules/.pnpm/@types+pg@8.20.0/node_modules/@types/pg/index.d.ts","../../../../node_modules/@types/readable-stream/index.d.ts"],"fileIdsList":[[91,140,157,158],[91,140,157,158,190],[91,137,138,140,157,158],[91,139,140,157,158],[140,157,158],[91,140,145,157,158,175],[91,140,141,146,151,157,158,160,172,183],[91,140,141,142,151,157,158,160],[86,87,88,91,140,157,158],[91,140,143,157,158,184],[91,140,144,145,152,157,158,161],[91,140,145,157,158,172,180],[91,140,146,148,151,157,158,160],[91,139,140,147,157,158],[91,140,148,149,157,158],[91,140,150,151,157,158],[91,139,140,151,157,158],[91,140,151,152,153,157,158,172,183],[91,140,151,152,153,157,158,167,172,175],[91,133,140,148,151,154,157,158,160,172,183],[91,140,151,152,154,155,157,158,160,172,180,183],[91,140,154,156,157,158,172,180,183],[89,90,91,92,93,94,95,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189],[91,140,151,157,158],[91,140,157,158,159,183],[91,140,148,151,157,158,160,172],[91,140,157,158,161],[91,140,157,158,162],[91,139,140,157,158,163],[91,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189],[91,140,157,158,165],[91,140,157,158,166],[91,140,151,157,158,167,168],[91,140,157,158,167,169,184,186],[91,140,152,157,158],[91,140,151,157,158,172,173,175],[91,140,157,158,174,175],[91,140,157,158,172,173],[91,140,157,158,175],[91,140,157,158,176],[91,137,140,157,158,172,177,183],[91,140,151,157,158,178,179],[91,140,157,158,178,179],[91,140,145,157,158,160,172,180],[91,140,157,158,181],[91,140,157,158,160,182],[91,140,154,157,158,166,183],[91,140,145,157,158,184],[91,140,157,158,172,185],[91,140,157,158,159,186],[91,140,157,158,187],[91,133,140,157,158],[91,133,140,151,153,157,158,163,172,175,183,185,186,188],[91,140,157,158,172,189],[91,140,151,157,158,172,180,190,192,193,196,197,198],[91,140,157,158,198],[91,140,157,158,190,193,194,195],[91,140,157,158,172,190,193],[91,105,109,140,157,158,183],[91,105,140,157,158,172,183],[91,100,140,157,158],[91,102,105,140,157,158,180,183],[91,140,157,158,160,180],[91,100,140,157,158,190],[91,102,105,140,157,158,160,183],[91,97,98,101,104,140,151,157,158,172,183],[91,105,112,140,157,158],[91,97,103,140,157,158],[91,105,126,127,140,157,158],[91,101,105,140,157,158,175,183,190],[91,126,140,157,158,190],[91,99,100,140,157,158,190],[91,105,140,157,158],[91,99,100,101,102,103,104,105,106,107,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,127,128,129,130,131,132,140,157,158],[91,105,120,140,157,158],[91,105,112,113,140,157,158],[91,103,105,113,114,140,157,158],[91,104,140,157,158],[91,97,100,105,140,157,158],[91,105,109,113,114,140,157,158],[91,109,140,157,158],[91,103,105,108,140,157,158,183],[91,97,102,105,112,140,157,158],[91,140,157,158,172],[91,100,105,126,140,157,158,188,190],[76,91,140,157,158],[67,68,91,140,157,158],[64,65,67,69,70,75,91,140,157,158],[65,67,91,140,157,158],[75,91,140,157,158],[67,91,140,157,158],[64,65,67,70,71,72,73,74,91,140,157,158],[64,65,66,91,140,157,158],[62,63,78,80,91,140,157,158],[63,77,91,140,152,157,158,161,162],[63,78,79,91,140,145,152,157,158,161,162],[63,78,80,81,82,83,84,91,140,157,158],[82,91,140,157,158],[63,78,91,140,157,158],[91,140,157,158,172,190]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"df83c2a6c73228b625b0beb6669c7ee2a09c914637e2d35170723ad49c0f5cd4","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"d5bad27c2e2912fb0c6aa27d87e72abc6c9e89c82ce30eb4b5fbb13978895220","impliedFormat":99},{"version":"16c38cb081bd99df21c2dcd4fc13f710c36e335e33a4e495ab259f4733005ff1","signature":"75a22c9567c3e133fe226244057d6cdd9b218476e302c35eb9d6c59536176353","impliedFormat":99},{"version":"d3cfde44f8089768ebb08098c96d01ca260b88bccf238d55eee93f1c620ff5a5","impliedFormat":1},{"version":"293eadad9dead44c6fd1db6de552663c33f215c55a1bfa2802a1bceed88ff0ec","impliedFormat":1},{"version":"833e92c058d033cde3f29a6c7603f517001d1ddd8020bc94d2067a3bc69b2a8e","impliedFormat":1},{"version":"08b2fae7b0f553ad9f79faec864b179fc58bc172e295a70943e8585dd85f600c","impliedFormat":1},{"version":"f12edf1672a94c578eca32216839604f1e1c16b40a1896198deabf99c882b340","impliedFormat":1},{"version":"e3498cf5e428e6c6b9e97bd88736f26d6cf147dedbfa5a8ad3ed8e05e059af8a","impliedFormat":1},{"version":"dba3f34531fd9b1b6e072928b6f885aa4d28dd6789cbd0e93563d43f4b62da53","impliedFormat":1},{"version":"f672c876c1a04a223cf2023b3d91e8a52bb1544c576b81bf64a8fec82be9969c","impliedFormat":1},{"version":"e4b03ddcf8563b1c0aee782a185286ed85a255ce8a30df8453aade2188bbc904","impliedFormat":1},{"version":"2329d90062487e1eaca87b5e06abcbbeeecf80a82f65f949fd332cfcf824b87b","impliedFormat":1},{"version":"25b3f581e12ede11e5739f57a86e8668fbc0124f6649506def306cad2c59d262","impliedFormat":1},{"version":"4fdb529707247a1a917a4626bfb6a293d52cd8ee57ccf03830ec91d39d606d6d","impliedFormat":1},{"version":"a9ebb67d6bbead6044b43714b50dcb77b8f7541ffe803046fdec1714c1eba206","impliedFormat":1},{"version":"5780b706cece027f0d4444fbb4e1af62dc51e19da7c3d3719f67b22b033859b9","impliedFormat":1},{"version":"d7c365e1d90ca815f9238370473162f14035924d9b99e5eda6165f190320c349","signature":"91ac1c641c083ef46a5bee8623218a2dd7ec16d535c3bbe44da7292904c1d6a7","impliedFormat":99},{"version":"304d3cfd843046e095374e0eb3f7bfb682a434061156bbf4131273786a052717","impliedFormat":1},{"version":"4230cc290411e581fb85eba75181d65c564f09c7bf81b0d0cadcea4d69db7ab3","signature":"ed2ed5a08a12ad5efcfc5913540b723a95ad75dc827bb9d0cc59e55530c9ed3d","impliedFormat":99},{"version":"1d55af6b28822e6e8dede71031859b0eaff6e5cf1ba0efcb1a93a862e004ea78","signature":"000f1c4ab9eb1dc09c58f4e04d21ddbfccffb7ba4d5cdc19450459b7ab44664e","impliedFormat":99},{"version":"0e00bdf5059573a1b35cfe76e0d78c3a56f99d95690f5b65a0731e434090ff61","signature":"25ffb93fa3cbb43115f790e29500bb1d8326bf10ae1fbf6243f16f97d30f5ac1","impliedFormat":99},{"version":"26a542f6fd00f3d2614aa1c5ff910e7a211baf71d45501c02e83260c0029aca1","signature":"7f5086620a9e8116ed52754d4b89598be5e0c8f2a01c12d7c8bab89d38ed2027","impliedFormat":99},{"version":"612e5f74055247928a95c0e8bb6e1c242ce18a3a2840675f929420ecf64cb5d9","signature":"0d5be30cd3509da3da70cf22f03c205aba7b6b02d44f5235940cb2dc3cfd3009","impliedFormat":99},{"version":"6fd65d6721f81b077e92d96695580abf48552324de9afb647ce4d9cd51ffdd00","impliedFormat":99},{"version":"6c7176368037af28cb72f2392010fa1cef295d6d6744bca8cfb54985f3a18c3e","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true,"impliedFormat":1},{"version":"437e20f2ba32abaeb7985e0afe0002de1917bc74e949ba585e49feba65da6ca1","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"98cffbf06d6bab333473c70a893770dbe990783904002c4f1a960447b4b53dca","affectsGlobalScope":true,"impliedFormat":1},{"version":"3af97acf03cc97de58a3a4bc91f8f616408099bc4233f6d0852e72a8ffb91ac9","affectsGlobalScope":true,"impliedFormat":1},{"version":"808069bba06b6768b62fd22429b53362e7af342da4a236ed2d2e1c89fcca3b4a","affectsGlobalScope":true,"impliedFormat":1},{"version":"1db0b7dca579049ca4193d034d835f6bfe73096c73663e5ef9a0b5779939f3d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"f26b11d8d8e4b8028f1c7d618b22274c892e4b0ef5b3678a8ccbad85419aef43","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e9c23ba78aabc2e0a27033f18737a6df754067731e69dc5f52823957d60a4b6","impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"763fe0f42b3d79b440a9b6e51e9ba3f3f91352469c1e4b3b67bfa4ff6352f3f4","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"7f182617db458e98fc18dfb272d40aa2fff3a353c44a89b2c0ccb3937709bfb5","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","impliedFormat":1},{"version":"a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","impliedFormat":1},{"version":"317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"b52476feb4a0cbcb25e5931b930fc73cb6643fb1a5060bf8a3dda0eeae5b4b68","affectsGlobalScope":true,"impliedFormat":1},{"version":"f9501cc13ce624c72b61f12b3963e84fad210fbdf0ffbc4590e08460a3f04eba","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7721c4f69f93c91360c26a0a84ee885997d748237ef78ef665b153e622b36c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0fa06ada475b910e2106c98c68b10483dc8811d0c14a8a8dd36efb2672485b29","impliedFormat":1},{"version":"33e5e9aba62c3193d10d1d33ae1fa75c46a1171cf76fef750777377d53b0303f","impliedFormat":1},{"version":"2b06b93fd01bcd49d1a6bd1f9b65ddcae6480b9a86e9061634d6f8e354c1468f","impliedFormat":1},{"version":"6a0cd27e5dc2cfbe039e731cf879d12b0e2dded06d1b1dedad07f7712de0d7f4","affectsGlobalScope":true,"impliedFormat":1},{"version":"13f5c844119c43e51ce777c509267f14d6aaf31eafb2c2b002ca35584cd13b29","impliedFormat":1},{"version":"e60477649d6ad21542bd2dc7e3d9ff6853d0797ba9f689ba2f6653818999c264","impliedFormat":1},{"version":"c2510f124c0293ab80b1777c44d80f812b75612f297b9857406468c0f4dafe29","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"4c829ab315f57c5442c6667b53769975acbf92003a66aef19bce151987675bd1","affectsGlobalScope":true,"impliedFormat":1},{"version":"b2ade7657e2db96d18315694789eff2ddd3d8aea7215b181f8a0b303277cc579","impliedFormat":1},{"version":"9855e02d837744303391e5623a531734443a5f8e6e8755e018c41d63ad797db2","impliedFormat":1},{"version":"4d631b81fa2f07a0e63a9a143d6a82c25c5f051298651a9b69176ba28930756d","impliedFormat":1},{"version":"836a356aae992ff3c28a0212e3eabcb76dd4b0cc06bcb9607aeef560661b860d","impliedFormat":1},{"version":"1e0d1f8b0adfa0b0330e028c7941b5a98c08b600efe7f14d2d2a00854fb2f393","impliedFormat":1},{"version":"41670ee38943d9cbb4924e436f56fc19ee94232bc96108562de1a734af20dc2c","affectsGlobalScope":true,"impliedFormat":1},{"version":"c906fb15bd2aabc9ed1e3f44eb6a8661199d6c320b3aa196b826121552cb3695","impliedFormat":1},{"version":"22295e8103f1d6d8ea4b5d6211e43421fe4564e34d0dd8e09e520e452d89e659","impliedFormat":1},{"version":"58647d85d0f722a1ce9de50955df60a7489f0593bf1a7015521efe901c06d770","impliedFormat":1},{"version":"73b5fa37db36eeac90c4d752e39586f1b57187400c4f5280fd05f16437287a45","impliedFormat":1},{"version":"a10f0e1854f3316d7ee437b79649e5a6ae3ae14ffe6322b02d4987071a95362e","impliedFormat":1},{"version":"e208f73ef6a980104304b0d2ca5f6bf1b85de6009d2c7e404028b875020fa8f2","impliedFormat":1},{"version":"d163b6bc2372b4f07260747cbc6c0a6405ab3fbcea3852305e98ac43ca59f5bc","impliedFormat":1},{"version":"e6fa9ad47c5f71ff733744a029d1dc472c618de53804eae08ffc243b936f87ff","affectsGlobalScope":true,"impliedFormat":1},{"version":"a6f137d651076822d4fe884287e68fd61785a0d3d1fdb250a5059b691fa897db","impliedFormat":1},{"version":"24826ed94a78d5c64bd857570fdbd96229ad41b5cb654c08d75a9845e3ab7dde","impliedFormat":1},{"version":"8b479a130ccb62e98f11f136d3ac80f2984fdc07616516d29881f3061f2dd472","impliedFormat":1},{"version":"928af3d90454bf656a52a48679f199f64c1435247d6189d1caf4c68f2eaf921f","affectsGlobalScope":true,"impliedFormat":1},{"version":"bceb58df66ab8fb00170df20cd813978c5ab84be1d285710c4eb005d8e9d8efb","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f16a7e4deafa527ed9995a772bb380eb7d3c2c0fd4ae178c5263ed18394db2c","impliedFormat":1},{"version":"933921f0bb0ec12ef45d1062a1fc0f27635318f4d294e4d99de9a5493e618ca2","impliedFormat":1},{"version":"71a0f3ad612c123b57239a7749770017ecfe6b66411488000aba83e4546fde25","impliedFormat":1},{"version":"77fbe5eecb6fac4b6242bbf6eebfc43e98ce5ccba8fa44e0ef6a95c945ff4d98","impliedFormat":1},{"version":"4f9d8ca0c417b67b69eeb54c7ca1bedd7b56034bb9bfd27c5d4f3bc4692daca7","impliedFormat":1},{"version":"814118df420c4e38fe5ae1b9a3bafb6e9c2aa40838e528cde908381867be6466","impliedFormat":1},{"version":"a3fc63c0d7b031693f665f5494412ba4b551fe644ededccc0ab5922401079c95","impliedFormat":1},{"version":"80523c00b8544a2000ae0143e4a90a00b47f99823eb7926c1e03c494216fc363","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"45650f47bfb376c8a8ed39d4bcda5902ab899a3150029684ee4c10676d9fbaee","impliedFormat":1},{"version":"746911b62b329587939560deb5c036aca48aece03147b021fa680223255d5183","affectsGlobalScope":true,"impliedFormat":1},{"version":"18fd40412d102c5564136f29735e5d1c3b455b8a37f920da79561f1fde068208","impliedFormat":1},{"version":"c8d3e5a18ba35629954e48c4cc8f11dc88224650067a172685c736b27a34a4dc","impliedFormat":1},{"version":"f0be1b8078cd549d91f37c30c222c2a187ac1cf981d994fb476a1adc61387b14","affectsGlobalScope":true,"impliedFormat":1},{"version":"0aaed1d72199b01234152f7a60046bc947f1f37d78d182e9ae09c4289e06a592","impliedFormat":1},{"version":"2b55d426ff2b9087485e52ac4bc7cfafe1dc420fc76dad926cd46526567c501a","impliedFormat":1},{"version":"66ba1b2c3e3a3644a1011cd530fb444a96b1b2dfe2f5e837a002d41a1a799e60","impliedFormat":1},{"version":"7e514f5b852fdbc166b539fdd1f4e9114f29911592a5eb10a94bb3a13ccac3c4","impliedFormat":1},{"version":"5b7aa3c4c1a5d81b411e8cb302b45507fea9358d3569196b27eb1a27ae3a90ef","affectsGlobalScope":true,"impliedFormat":1},{"version":"5987a903da92c7462e0b35704ce7da94d7fdc4b89a984871c0e2b87a8aae9e69","affectsGlobalScope":true,"impliedFormat":1},{"version":"ea08a0345023ade2b47fbff5a76d0d0ed8bff10bc9d22b83f40858a8e941501c","impliedFormat":1},{"version":"47613031a5a31510831304405af561b0ffaedb734437c595256bb61a90f9311b","impliedFormat":1},{"version":"ae062ce7d9510060c5d7e7952ae379224fb3f8f2dd74e88959878af2057c143b","impliedFormat":1},{"version":"8a1a0d0a4a06a8d278947fcb66bf684f117bf147f89b06e50662d79a53be3e9f","affectsGlobalScope":true,"impliedFormat":1},{"version":"358765d5ea8afd285d4fd1532e78b88273f18cb3f87403a9b16fef61ac9fdcfe","impliedFormat":1},{"version":"9f55299850d4f0921e79b6bf344b47c420ce0f507b9dcf593e532b09ea7eeea1","impliedFormat":1},{"version":"c2a6a737189ced24ffe0634e9239b087e4c26378d0490f95141b9b9b042b746c","impliedFormat":1},{"version":"f60e3e3060207ac982da13363181fd7ee4beecc19a7c569f0d6bb034331066c2","impliedFormat":1},{"version":"17230b34bb564a3a2e36f9d3985372ccab4ad1722df2c43f7c5c2b553f68e5db","impliedFormat":1},{"version":"dcb41cc4b671f5f85d3754e68dfde7824686a8adbb4c690cb259c1501cb868e1","impliedFormat":1},{"version":"21ac4cf3f8d8c6e1201cb31f600be708c9a37867fc5c73b7ccf80560fae591c8","impliedFormat":1},{"version":"0dfe35191a04e8f9dc7caeb9f52f2ee07402736563d12cbccd15fb5f31ac877f","impliedFormat":1},{"version":"798367363a3274220cbed839b883fe2f52ba7197b25e8cb2ac59c1e1fd8af6b7","impliedFormat":1},{"version":"2636a309ed87d6876728d9aca846a76b372cf2a21a4fdf9940a82a2dd86687d0","impliedFormat":1},{"version":"82428329db2b05aba6784395a429504ebca24f5d4b9506f779b964cf8c0fd58e","affectsGlobalScope":true,"impliedFormat":1}],"root":[63,78,[80,85]],"options":{"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"module":199,"noImplicitOverride":true,"noUncheckedIndexedAccess":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9,"tsBuildInfoFile":"./.tsbuildinfo","verbatimModuleSyntax":false},"referencedMap":[[79,1],[191,2],[137,3],[138,3],[139,4],[91,5],[140,6],[141,7],[142,8],[86,1],[89,9],[87,1],[88,1],[143,10],[144,11],[145,12],[146,13],[147,14],[148,15],[149,15],[150,16],[151,17],[152,18],[153,19],[92,1],[90,1],[154,20],[155,21],[156,22],[190,23],[157,24],[158,1],[159,25],[160,26],[161,27],[162,28],[163,29],[164,30],[165,31],[166,32],[167,33],[168,33],[169,34],[170,1],[171,35],[172,36],[174,37],[173,38],[175,39],[176,40],[177,41],[178,42],[179,43],[180,44],[181,45],[182,46],[183,47],[184,48],[185,49],[186,50],[187,51],[93,1],[94,1],[95,1],[134,52],[135,1],[136,1],[188,53],[189,54],[198,55],[197,56],[96,1],[196,57],[193,2],[195,58],[194,2],[192,1],[60,1],[61,1],[12,1],[11,1],[2,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[3,1],[21,1],[22,1],[4,1],[23,1],[27,1],[24,1],[25,1],[26,1],[28,1],[29,1],[30,1],[5,1],[31,1],[32,1],[33,1],[34,1],[6,1],[38,1],[35,1],[36,1],[37,1],[39,1],[7,1],[40,1],[45,1],[46,1],[41,1],[42,1],[43,1],[44,1],[8,1],[50,1],[47,1],[48,1],[49,1],[51,1],[9,1],[52,1],[53,1],[54,1],[56,1],[55,1],[57,1],[58,1],[10,1],[59,1],[1,1],[112,59],[122,60],[111,59],[132,61],[103,62],[102,63],[131,2],[125,64],[130,65],[105,66],[119,67],[104,68],[128,69],[100,70],[99,2],[129,71],[101,72],[106,73],[107,1],[110,73],[97,1],[133,74],[123,75],[114,76],[115,77],[117,78],[113,79],[116,80],[126,2],[108,81],[109,82],[118,83],[98,84],[121,75],[120,73],[124,1],[127,85],[77,86],[69,87],[76,88],[71,1],[72,1],[70,89],[73,90],[64,1],[65,1],[66,86],[68,91],[74,1],[75,92],[67,93],[81,94],[78,95],[80,96],[63,1],[85,97],[82,1],[83,98],[84,99],[62,1],[199,100]],"latestChangedDtsFile":"./config.d.ts","version":"5.9.3"}
|
|
1
|
+
{"fileNames":["../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2023.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2023.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2023.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../types/dist/index.d.ts","../src/errors.ts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/typealiases.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/util.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/index.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/zoderror.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/locales/en.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/errors.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/parseutil.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/enumutil.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/errorutil.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/partialutil.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/standard-schema.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/external.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/index.d.cts","../src/config.ts","../../../node_modules/.pnpm/@napi-rs+keyring@1.3.0/node_modules/@napi-rs/keyring/index.d.ts","../src/credential-store.ts","../src/auth.ts","../src/logger.ts","../src/redactor.ts","../src/settings.ts","../src/index.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/compatibility/disposable.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/compatibility/indexable.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/compatibility/iterators.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/compatibility/index.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/globals.typedarray.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/buffer.buffer.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/web-globals/abortcontroller.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/web-globals/domexception.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/web-globals/events.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/header.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/readable.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/file.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/fetch.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/formdata.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/connector.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/client.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/errors.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-origin.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool-stats.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/handlers.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-client.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-pool.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-errors.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/env-http-proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-handler.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/api.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/interceptors.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/util.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cookies.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/patch.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/websocket.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/eventsource.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/filereader.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/content-type.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cache.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/index.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/web-globals/fetch.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/web-globals/navigator.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/web-globals/storage.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/inspector.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/inspector.generated.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/sea.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/sqlite.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/test.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/index.d.ts","../../../node_modules/.pnpm/@types+better-sqlite3@7.6.13/node_modules/@types/better-sqlite3/index.d.ts","../../../node_modules/.pnpm/pg-types@2.2.0/node_modules/pg-types/index.d.ts","../../../node_modules/.pnpm/pg-protocol@1.14.0/node_modules/pg-protocol/dist/messages.d.ts","../../../node_modules/.pnpm/pg-protocol@1.14.0/node_modules/pg-protocol/dist/serializer.d.ts","../../../node_modules/.pnpm/pg-protocol@1.14.0/node_modules/pg-protocol/dist/parser.d.ts","../../../node_modules/.pnpm/pg-protocol@1.14.0/node_modules/pg-protocol/dist/index.d.ts","../../../node_modules/.pnpm/@types+pg@8.20.0/node_modules/@types/pg/lib/type-overrides.d.ts","../../../node_modules/.pnpm/@types+pg@8.20.0/node_modules/@types/pg/index.d.ts"],"fileIdsList":[[91,139,156,157],[91,139,156,157,189],[91,136,137,139,156,157],[91,138,139,156,157],[139,156,157],[91,139,144,156,157,174],[91,139,140,145,150,156,157,159,171,182],[91,139,140,141,150,156,157,159],[86,87,88,91,139,156,157],[91,139,142,156,157,183],[91,139,143,144,151,156,157,160],[91,139,144,156,157,171,179],[91,139,145,147,150,156,157,159],[91,138,139,146,156,157],[91,139,147,148,156,157],[91,139,149,150,156,157],[91,138,139,150,156,157],[91,139,150,151,152,156,157,171,182],[91,139,150,151,152,156,157,166,171,174],[91,132,139,147,150,153,156,157,159,171,182],[91,139,150,151,153,154,156,157,159,171,179,182],[91,139,153,155,156,157,171,179,182],[89,90,91,92,93,94,95,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188],[91,139,150,156,157],[91,139,156,157,158,182],[91,139,147,150,156,157,159,171],[91,139,156,157,160],[91,139,156,157,161],[91,138,139,156,157,162],[91,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188],[91,139,156,157,164],[91,139,156,157,165],[91,139,150,156,157,166,167],[91,139,156,157,166,168,183,185],[91,139,151,156,157],[91,139,150,156,157,171,172,174],[91,139,156,157,173,174],[91,139,156,157,171,172],[91,139,156,157,174],[91,139,156,157,175],[91,136,139,156,157,171,176,182],[91,139,150,156,157,177,178],[91,139,156,157,177,178],[91,139,144,156,157,159,171,179],[91,139,156,157,180],[91,139,156,157,159,181],[91,139,153,156,157,165,182],[91,139,144,156,157,183],[91,139,156,157,171,184],[91,139,156,157,158,185],[91,139,156,157,186],[91,132,139,156,157],[91,132,139,150,152,156,157,162,171,174,182,184,185,187],[91,139,156,157,171,188],[91,139,150,156,157,171,179,189,191,192,195,196,197],[91,139,156,157,197],[91,139,156,157,189,192,193,194],[91,139,156,157,171,189,192],[91,104,108,139,156,157,182],[91,104,139,156,157,171,182],[91,99,139,156,157],[91,101,104,139,156,157,179,182],[91,139,156,157,159,179],[91,99,139,156,157,189],[91,101,104,139,156,157,159,182],[91,96,97,100,103,139,150,156,157,171,182],[91,104,111,139,156,157],[91,96,102,139,156,157],[91,104,125,126,139,156,157],[91,100,104,139,156,157,174,182,189],[91,125,139,156,157,189],[91,98,99,139,156,157,189],[91,104,139,156,157],[91,98,99,100,101,102,103,104,105,106,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,126,127,128,129,130,131,139,156,157],[91,104,119,139,156,157],[91,104,111,112,139,156,157],[91,102,104,112,113,139,156,157],[91,103,139,156,157],[91,96,99,104,139,156,157],[91,104,108,112,113,139,156,157],[91,108,139,156,157],[91,102,104,107,139,156,157,182],[91,96,101,104,111,139,156,157],[91,139,156,157,171],[91,99,104,125,139,156,157,187,189],[76,91,139,156,157],[67,68,91,139,156,157],[64,65,67,69,70,75,91,139,156,157],[65,67,91,139,156,157],[75,91,139,156,157],[67,91,139,156,157],[64,65,67,70,71,72,73,74,91,139,156,157],[64,65,66,91,139,156,157],[62,63,78,80,91,139,156,157],[63,77,91,139,151,156,157,160,161],[63,78,79,91,139,144,151,156,157,160,161],[63,78,80,81,82,83,84,91,139,156,157],[82,91,139,156,157],[63,78,91,139,156,157]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"df83c2a6c73228b625b0beb6669c7ee2a09c914637e2d35170723ad49c0f5cd4","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"b9c07c582a7831fe32b0d8ffd2c3bfaa2160a08e07a44b4c9225ce8888310214","impliedFormat":99},{"version":"16c38cb081bd99df21c2dcd4fc13f710c36e335e33a4e495ab259f4733005ff1","signature":"75a22c9567c3e133fe226244057d6cdd9b218476e302c35eb9d6c59536176353","impliedFormat":99},{"version":"d3cfde44f8089768ebb08098c96d01ca260b88bccf238d55eee93f1c620ff5a5","impliedFormat":1},{"version":"293eadad9dead44c6fd1db6de552663c33f215c55a1bfa2802a1bceed88ff0ec","impliedFormat":1},{"version":"833e92c058d033cde3f29a6c7603f517001d1ddd8020bc94d2067a3bc69b2a8e","impliedFormat":1},{"version":"08b2fae7b0f553ad9f79faec864b179fc58bc172e295a70943e8585dd85f600c","impliedFormat":1},{"version":"f12edf1672a94c578eca32216839604f1e1c16b40a1896198deabf99c882b340","impliedFormat":1},{"version":"e3498cf5e428e6c6b9e97bd88736f26d6cf147dedbfa5a8ad3ed8e05e059af8a","impliedFormat":1},{"version":"dba3f34531fd9b1b6e072928b6f885aa4d28dd6789cbd0e93563d43f4b62da53","impliedFormat":1},{"version":"f672c876c1a04a223cf2023b3d91e8a52bb1544c576b81bf64a8fec82be9969c","impliedFormat":1},{"version":"e4b03ddcf8563b1c0aee782a185286ed85a255ce8a30df8453aade2188bbc904","impliedFormat":1},{"version":"2329d90062487e1eaca87b5e06abcbbeeecf80a82f65f949fd332cfcf824b87b","impliedFormat":1},{"version":"25b3f581e12ede11e5739f57a86e8668fbc0124f6649506def306cad2c59d262","impliedFormat":1},{"version":"4fdb529707247a1a917a4626bfb6a293d52cd8ee57ccf03830ec91d39d606d6d","impliedFormat":1},{"version":"a9ebb67d6bbead6044b43714b50dcb77b8f7541ffe803046fdec1714c1eba206","impliedFormat":1},{"version":"5780b706cece027f0d4444fbb4e1af62dc51e19da7c3d3719f67b22b033859b9","impliedFormat":1},{"version":"3cff9810a908fb115671ad35f3bd3d7f688683e0a6e814bed9a9802949350b0a","signature":"505c58e064127a29d5602cd9ec0595cfb0c37040029c6773af78cab41abadc48","impliedFormat":99},{"version":"304d3cfd843046e095374e0eb3f7bfb682a434061156bbf4131273786a052717","impliedFormat":1},{"version":"51c4a09441243ffe45a4a943429fd9b26aa9ce02aa942297cb14b22cb0588286","signature":"38097dd1e736bae0b6f4aa4d6294ed5030eb16a9bcb4d574439477cf008c9de9","impliedFormat":99},{"version":"1d55af6b28822e6e8dede71031859b0eaff6e5cf1ba0efcb1a93a862e004ea78","signature":"000f1c4ab9eb1dc09c58f4e04d21ddbfccffb7ba4d5cdc19450459b7ab44664e","impliedFormat":99},{"version":"0e00bdf5059573a1b35cfe76e0d78c3a56f99d95690f5b65a0731e434090ff61","signature":"25ffb93fa3cbb43115f790e29500bb1d8326bf10ae1fbf6243f16f97d30f5ac1","impliedFormat":99},{"version":"26a542f6fd00f3d2614aa1c5ff910e7a211baf71d45501c02e83260c0029aca1","signature":"7f5086620a9e8116ed52754d4b89598be5e0c8f2a01c12d7c8bab89d38ed2027","impliedFormat":99},{"version":"612e5f74055247928a95c0e8bb6e1c242ce18a3a2840675f929420ecf64cb5d9","signature":"0d5be30cd3509da3da70cf22f03c205aba7b6b02d44f5235940cb2dc3cfd3009","impliedFormat":99},{"version":"6fd65d6721f81b077e92d96695580abf48552324de9afb647ce4d9cd51ffdd00","impliedFormat":99},{"version":"6c7176368037af28cb72f2392010fa1cef295d6d6744bca8cfb54985f3a18c3e","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true,"impliedFormat":1},{"version":"437e20f2ba32abaeb7985e0afe0002de1917bc74e949ba585e49feba65da6ca1","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"98cffbf06d6bab333473c70a893770dbe990783904002c4f1a960447b4b53dca","affectsGlobalScope":true,"impliedFormat":1},{"version":"3af97acf03cc97de58a3a4bc91f8f616408099bc4233f6d0852e72a8ffb91ac9","affectsGlobalScope":true,"impliedFormat":1},{"version":"808069bba06b6768b62fd22429b53362e7af342da4a236ed2d2e1c89fcca3b4a","affectsGlobalScope":true,"impliedFormat":1},{"version":"1db0b7dca579049ca4193d034d835f6bfe73096c73663e5ef9a0b5779939f3d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"f26b11d8d8e4b8028f1c7d618b22274c892e4b0ef5b3678a8ccbad85419aef43","affectsGlobalScope":true,"impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"763fe0f42b3d79b440a9b6e51e9ba3f3f91352469c1e4b3b67bfa4ff6352f3f4","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"7f182617db458e98fc18dfb272d40aa2fff3a353c44a89b2c0ccb3937709bfb5","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","impliedFormat":1},{"version":"a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","impliedFormat":1},{"version":"317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"b52476feb4a0cbcb25e5931b930fc73cb6643fb1a5060bf8a3dda0eeae5b4b68","affectsGlobalScope":true,"impliedFormat":1},{"version":"f9501cc13ce624c72b61f12b3963e84fad210fbdf0ffbc4590e08460a3f04eba","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7721c4f69f93c91360c26a0a84ee885997d748237ef78ef665b153e622b36c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0fa06ada475b910e2106c98c68b10483dc8811d0c14a8a8dd36efb2672485b29","impliedFormat":1},{"version":"33e5e9aba62c3193d10d1d33ae1fa75c46a1171cf76fef750777377d53b0303f","impliedFormat":1},{"version":"2b06b93fd01bcd49d1a6bd1f9b65ddcae6480b9a86e9061634d6f8e354c1468f","impliedFormat":1},{"version":"6a0cd27e5dc2cfbe039e731cf879d12b0e2dded06d1b1dedad07f7712de0d7f4","affectsGlobalScope":true,"impliedFormat":1},{"version":"13f5c844119c43e51ce777c509267f14d6aaf31eafb2c2b002ca35584cd13b29","impliedFormat":1},{"version":"e60477649d6ad21542bd2dc7e3d9ff6853d0797ba9f689ba2f6653818999c264","impliedFormat":1},{"version":"c2510f124c0293ab80b1777c44d80f812b75612f297b9857406468c0f4dafe29","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"4c829ab315f57c5442c6667b53769975acbf92003a66aef19bce151987675bd1","affectsGlobalScope":true,"impliedFormat":1},{"version":"b2ade7657e2db96d18315694789eff2ddd3d8aea7215b181f8a0b303277cc579","impliedFormat":1},{"version":"9855e02d837744303391e5623a531734443a5f8e6e8755e018c41d63ad797db2","impliedFormat":1},{"version":"4d631b81fa2f07a0e63a9a143d6a82c25c5f051298651a9b69176ba28930756d","impliedFormat":1},{"version":"836a356aae992ff3c28a0212e3eabcb76dd4b0cc06bcb9607aeef560661b860d","impliedFormat":1},{"version":"1e0d1f8b0adfa0b0330e028c7941b5a98c08b600efe7f14d2d2a00854fb2f393","impliedFormat":1},{"version":"41670ee38943d9cbb4924e436f56fc19ee94232bc96108562de1a734af20dc2c","affectsGlobalScope":true,"impliedFormat":1},{"version":"c906fb15bd2aabc9ed1e3f44eb6a8661199d6c320b3aa196b826121552cb3695","impliedFormat":1},{"version":"22295e8103f1d6d8ea4b5d6211e43421fe4564e34d0dd8e09e520e452d89e659","impliedFormat":1},{"version":"58647d85d0f722a1ce9de50955df60a7489f0593bf1a7015521efe901c06d770","impliedFormat":1},{"version":"73b5fa37db36eeac90c4d752e39586f1b57187400c4f5280fd05f16437287a45","impliedFormat":1},{"version":"a10f0e1854f3316d7ee437b79649e5a6ae3ae14ffe6322b02d4987071a95362e","impliedFormat":1},{"version":"e208f73ef6a980104304b0d2ca5f6bf1b85de6009d2c7e404028b875020fa8f2","impliedFormat":1},{"version":"d163b6bc2372b4f07260747cbc6c0a6405ab3fbcea3852305e98ac43ca59f5bc","impliedFormat":1},{"version":"e6fa9ad47c5f71ff733744a029d1dc472c618de53804eae08ffc243b936f87ff","affectsGlobalScope":true,"impliedFormat":1},{"version":"a6f137d651076822d4fe884287e68fd61785a0d3d1fdb250a5059b691fa897db","impliedFormat":1},{"version":"24826ed94a78d5c64bd857570fdbd96229ad41b5cb654c08d75a9845e3ab7dde","impliedFormat":1},{"version":"8b479a130ccb62e98f11f136d3ac80f2984fdc07616516d29881f3061f2dd472","impliedFormat":1},{"version":"928af3d90454bf656a52a48679f199f64c1435247d6189d1caf4c68f2eaf921f","affectsGlobalScope":true,"impliedFormat":1},{"version":"bceb58df66ab8fb00170df20cd813978c5ab84be1d285710c4eb005d8e9d8efb","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f16a7e4deafa527ed9995a772bb380eb7d3c2c0fd4ae178c5263ed18394db2c","impliedFormat":1},{"version":"933921f0bb0ec12ef45d1062a1fc0f27635318f4d294e4d99de9a5493e618ca2","impliedFormat":1},{"version":"71a0f3ad612c123b57239a7749770017ecfe6b66411488000aba83e4546fde25","impliedFormat":1},{"version":"77fbe5eecb6fac4b6242bbf6eebfc43e98ce5ccba8fa44e0ef6a95c945ff4d98","impliedFormat":1},{"version":"4f9d8ca0c417b67b69eeb54c7ca1bedd7b56034bb9bfd27c5d4f3bc4692daca7","impliedFormat":1},{"version":"814118df420c4e38fe5ae1b9a3bafb6e9c2aa40838e528cde908381867be6466","impliedFormat":1},{"version":"a3fc63c0d7b031693f665f5494412ba4b551fe644ededccc0ab5922401079c95","impliedFormat":1},{"version":"80523c00b8544a2000ae0143e4a90a00b47f99823eb7926c1e03c494216fc363","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"45650f47bfb376c8a8ed39d4bcda5902ab899a3150029684ee4c10676d9fbaee","impliedFormat":1},{"version":"746911b62b329587939560deb5c036aca48aece03147b021fa680223255d5183","affectsGlobalScope":true,"impliedFormat":1},{"version":"18fd40412d102c5564136f29735e5d1c3b455b8a37f920da79561f1fde068208","impliedFormat":1},{"version":"c8d3e5a18ba35629954e48c4cc8f11dc88224650067a172685c736b27a34a4dc","impliedFormat":1},{"version":"f0be1b8078cd549d91f37c30c222c2a187ac1cf981d994fb476a1adc61387b14","affectsGlobalScope":true,"impliedFormat":1},{"version":"0aaed1d72199b01234152f7a60046bc947f1f37d78d182e9ae09c4289e06a592","impliedFormat":1},{"version":"2b55d426ff2b9087485e52ac4bc7cfafe1dc420fc76dad926cd46526567c501a","impliedFormat":1},{"version":"66ba1b2c3e3a3644a1011cd530fb444a96b1b2dfe2f5e837a002d41a1a799e60","impliedFormat":1},{"version":"7e514f5b852fdbc166b539fdd1f4e9114f29911592a5eb10a94bb3a13ccac3c4","impliedFormat":1},{"version":"5b7aa3c4c1a5d81b411e8cb302b45507fea9358d3569196b27eb1a27ae3a90ef","affectsGlobalScope":true,"impliedFormat":1},{"version":"5987a903da92c7462e0b35704ce7da94d7fdc4b89a984871c0e2b87a8aae9e69","affectsGlobalScope":true,"impliedFormat":1},{"version":"ea08a0345023ade2b47fbff5a76d0d0ed8bff10bc9d22b83f40858a8e941501c","impliedFormat":1},{"version":"47613031a5a31510831304405af561b0ffaedb734437c595256bb61a90f9311b","impliedFormat":1},{"version":"ae062ce7d9510060c5d7e7952ae379224fb3f8f2dd74e88959878af2057c143b","impliedFormat":1},{"version":"8a1a0d0a4a06a8d278947fcb66bf684f117bf147f89b06e50662d79a53be3e9f","affectsGlobalScope":true,"impliedFormat":1},{"version":"358765d5ea8afd285d4fd1532e78b88273f18cb3f87403a9b16fef61ac9fdcfe","impliedFormat":1},{"version":"9f55299850d4f0921e79b6bf344b47c420ce0f507b9dcf593e532b09ea7eeea1","impliedFormat":1},{"version":"c2a6a737189ced24ffe0634e9239b087e4c26378d0490f95141b9b9b042b746c","impliedFormat":1},{"version":"f60e3e3060207ac982da13363181fd7ee4beecc19a7c569f0d6bb034331066c2","impliedFormat":1},{"version":"17230b34bb564a3a2e36f9d3985372ccab4ad1722df2c43f7c5c2b553f68e5db","impliedFormat":1},{"version":"dcb41cc4b671f5f85d3754e68dfde7824686a8adbb4c690cb259c1501cb868e1","impliedFormat":1},{"version":"21ac4cf3f8d8c6e1201cb31f600be708c9a37867fc5c73b7ccf80560fae591c8","impliedFormat":1},{"version":"0dfe35191a04e8f9dc7caeb9f52f2ee07402736563d12cbccd15fb5f31ac877f","impliedFormat":1},{"version":"798367363a3274220cbed839b883fe2f52ba7197b25e8cb2ac59c1e1fd8af6b7","impliedFormat":1},{"version":"2636a309ed87d6876728d9aca846a76b372cf2a21a4fdf9940a82a2dd86687d0","impliedFormat":1}],"root":[63,78,[80,85]],"options":{"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"module":199,"noImplicitOverride":true,"noUncheckedIndexedAccess":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9,"tsBuildInfoFile":"./.tsbuildinfo","verbatimModuleSyntax":false},"referencedMap":[[79,1],[190,2],[136,3],[137,3],[138,4],[91,5],[139,6],[140,7],[141,8],[86,1],[89,9],[87,1],[88,1],[142,10],[143,11],[144,12],[145,13],[146,14],[147,15],[148,15],[149,16],[150,17],[151,18],[152,19],[92,1],[90,1],[153,20],[154,21],[155,22],[189,23],[156,24],[157,1],[158,25],[159,26],[160,27],[161,28],[162,29],[163,30],[164,31],[165,32],[166,33],[167,33],[168,34],[169,1],[170,35],[171,36],[173,37],[172,38],[174,39],[175,40],[176,41],[177,42],[178,43],[179,44],[180,45],[181,46],[182,47],[183,48],[184,49],[185,50],[186,51],[93,1],[94,1],[95,1],[133,52],[134,1],[135,1],[187,53],[188,54],[197,55],[196,56],[195,57],[192,2],[194,58],[193,2],[191,1],[60,1],[61,1],[12,1],[11,1],[2,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[3,1],[21,1],[22,1],[4,1],[23,1],[27,1],[24,1],[25,1],[26,1],[28,1],[29,1],[30,1],[5,1],[31,1],[32,1],[33,1],[34,1],[6,1],[38,1],[35,1],[36,1],[37,1],[39,1],[7,1],[40,1],[45,1],[46,1],[41,1],[42,1],[43,1],[44,1],[8,1],[50,1],[47,1],[48,1],[49,1],[51,1],[9,1],[52,1],[53,1],[54,1],[56,1],[55,1],[57,1],[58,1],[10,1],[59,1],[1,1],[111,59],[121,60],[110,59],[131,61],[102,62],[101,63],[130,2],[124,64],[129,65],[104,66],[118,67],[103,68],[127,69],[99,70],[98,2],[128,71],[100,72],[105,73],[106,1],[109,73],[96,1],[132,74],[122,75],[113,76],[114,77],[116,78],[112,79],[115,80],[125,2],[107,81],[108,82],[117,83],[97,84],[120,75],[119,73],[123,1],[126,85],[77,86],[69,87],[76,88],[71,1],[72,1],[70,89],[73,90],[64,1],[65,1],[66,86],[68,91],[74,1],[75,92],[67,93],[81,94],[78,95],[80,96],[63,1],[85,97],[82,1],[83,98],[84,99],[62,1]],"latestChangedDtsFile":"./credential-store.d.ts","version":"5.9.3"}
|
package/dist/config.d.ts
CHANGED
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Config system: `~/.knowz/config.json` with multi-profile support, Zod
|
|
3
|
-
* validation, and
|
|
3
|
+
* validation, and API URL precedence flag > config profile.apiUrl > env > default.
|
|
4
|
+
* KNOWZ_API_URL is a fallback only when the selected profile has no apiUrl.
|
|
4
5
|
* Secrets are NEVER stored here (credential store owns those — N3).
|
|
5
6
|
*
|
|
6
7
|
* For test isolation set `KNOWZ_CONFIG_DIR` to redirect the config directory.
|
|
7
8
|
*/
|
|
8
9
|
import { z } from 'zod';
|
|
9
10
|
export declare const BUILTIN_API_URLS: Record<string, string>;
|
|
10
|
-
|
|
11
|
+
/**
|
|
12
|
+
* The profile a fresh install lands on. This MUST stay `prod` — a published CLI
|
|
13
|
+
* that defaults to `dev` silently points every new user at the development
|
|
14
|
+
* estate (wrong data, wrong keys, and writes that land in the wrong tenant).
|
|
15
|
+
* `dev` remains a built-in profile; it is opt-in via `--profile dev`,
|
|
16
|
+
* `KNOWZ_PROFILE=dev`, or `knowz profile use dev`.
|
|
17
|
+
*/
|
|
18
|
+
export declare const DEFAULT_PROFILE = "prod";
|
|
11
19
|
export declare const DEFAULT_API_URL: string;
|
|
12
20
|
export declare const ProfileConfigSchema: z.ZodObject<{
|
|
13
21
|
apiUrl: z.ZodString;
|
|
@@ -145,9 +153,22 @@ export declare function defaultConfig(): KnowzConfig;
|
|
|
145
153
|
export declare function loadConfig(): KnowzConfig;
|
|
146
154
|
/** Atomic write with file mode 0600 / dir mode 0700. */
|
|
147
155
|
export declare function saveConfig(cfg: KnowzConfig): void;
|
|
156
|
+
export type ApiUrlSource = 'flag' | 'config' | 'env' | 'default';
|
|
157
|
+
export interface ResolvedApiUrl {
|
|
158
|
+
url: string;
|
|
159
|
+
source: ApiUrlSource;
|
|
160
|
+
profileName: string;
|
|
161
|
+
profileMissing: boolean;
|
|
162
|
+
/** Set when KNOWZ_API_URL is present but was not used. */
|
|
163
|
+
ignoredEnvUrl?: string;
|
|
164
|
+
}
|
|
148
165
|
export declare function resolveProfileName(opts?: {
|
|
149
166
|
profileFlag?: string;
|
|
150
167
|
}, cfg?: KnowzConfig): string;
|
|
168
|
+
export declare function resolveApiUrlInfo(opts?: {
|
|
169
|
+
apiUrlFlag?: string;
|
|
170
|
+
profileFlag?: string;
|
|
171
|
+
}, cfg?: KnowzConfig): ResolvedApiUrl;
|
|
151
172
|
export declare function resolveProfile(opts?: {
|
|
152
173
|
profileFlag?: string;
|
|
153
174
|
}, cfg?: KnowzConfig): {
|
|
@@ -158,6 +179,8 @@ export declare function resolveApiUrl(opts?: {
|
|
|
158
179
|
apiUrlFlag?: string;
|
|
159
180
|
profileFlag?: string;
|
|
160
181
|
}, cfg?: KnowzConfig): string;
|
|
182
|
+
/** Human lines for login/status when the URL is not (only) from config. */
|
|
183
|
+
export declare function formatApiUrlSourceNotices(info: ResolvedApiUrl): string[];
|
|
161
184
|
/** The configured interactive frontend ('menu' | 'tui'), or undefined. */
|
|
162
185
|
export declare function getUiFrontend(cfg: KnowzConfig): string | undefined;
|
|
163
186
|
/** Set the interactive frontend preference. Throws on an unknown value. */
|
package/dist/config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAKH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAA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AAW,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAMtE;AAMD,6EAA6E;AAC7E,wBAAgB,0BAA0B,CAAC,GAAG,EAAE,WAAW,GAAG,sBAAsB,GAAG,SAAS,CAE/F;AAED,qGAAqG;AACrG,wBAAgB,0BAA0B,CAAC,GAAG,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,CASnF"}
|
package/dist/config.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Config system: `~/.knowz/config.json` with multi-profile support, Zod
|
|
3
|
-
* validation, and
|
|
3
|
+
* validation, and API URL precedence flag > config profile.apiUrl > env > default.
|
|
4
|
+
* KNOWZ_API_URL is a fallback only when the selected profile has no apiUrl.
|
|
4
5
|
* Secrets are NEVER stored here (credential store owns those — N3).
|
|
5
6
|
*
|
|
6
7
|
* For test isolation set `KNOWZ_CONFIG_DIR` to redirect the config directory.
|
|
@@ -17,7 +18,14 @@ export const BUILTIN_API_URLS = {
|
|
|
17
18
|
dev: 'https://api.dev.knowz.io',
|
|
18
19
|
prod: 'https://api.knowz.io',
|
|
19
20
|
};
|
|
20
|
-
|
|
21
|
+
/**
|
|
22
|
+
* The profile a fresh install lands on. This MUST stay `prod` — a published CLI
|
|
23
|
+
* that defaults to `dev` silently points every new user at the development
|
|
24
|
+
* estate (wrong data, wrong keys, and writes that land in the wrong tenant).
|
|
25
|
+
* `dev` remains a built-in profile; it is opt-in via `--profile dev`,
|
|
26
|
+
* `KNOWZ_PROFILE=dev`, or `knowz profile use dev`.
|
|
27
|
+
*/
|
|
28
|
+
export const DEFAULT_PROFILE = 'prod';
|
|
21
29
|
export const DEFAULT_API_URL = BUILTIN_API_URLS[DEFAULT_PROFILE];
|
|
22
30
|
// ---------------------------------------------------------------------------
|
|
23
31
|
// Schema
|
|
@@ -125,25 +133,68 @@ export function saveConfig(cfg) {
|
|
|
125
133
|
writeFileSync(tmp, `${JSON.stringify(validated, null, 2)}\n`, { mode: 0o600 });
|
|
126
134
|
renameSync(tmp, path);
|
|
127
135
|
}
|
|
128
|
-
// ---------------------------------------------------------------------------
|
|
129
|
-
// Resolution (flag > env > profile > default)
|
|
130
|
-
// ---------------------------------------------------------------------------
|
|
131
136
|
export function resolveProfileName(opts = {}, cfg) {
|
|
132
137
|
return opts.profileFlag ?? process.env.KNOWZ_PROFILE ?? cfg?.activeProfile ?? DEFAULT_PROFILE;
|
|
133
138
|
}
|
|
139
|
+
export function resolveApiUrlInfo(opts = {}, cfg = loadConfig()) {
|
|
140
|
+
const profileName = resolveProfileName({ profileFlag: opts.profileFlag }, cfg);
|
|
141
|
+
const stored = cfg.profiles[profileName];
|
|
142
|
+
const profileMissing = stored === undefined;
|
|
143
|
+
const envUrl = process.env.KNOWZ_API_URL || undefined;
|
|
144
|
+
const ignored = (used) => envUrl && envUrl !== used ? envUrl : undefined;
|
|
145
|
+
if (opts.apiUrlFlag) {
|
|
146
|
+
return {
|
|
147
|
+
url: opts.apiUrlFlag,
|
|
148
|
+
source: 'flag',
|
|
149
|
+
profileName,
|
|
150
|
+
profileMissing,
|
|
151
|
+
ignoredEnvUrl: ignored(opts.apiUrlFlag),
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
if (stored?.apiUrl) {
|
|
155
|
+
return {
|
|
156
|
+
url: stored.apiUrl,
|
|
157
|
+
source: 'config',
|
|
158
|
+
profileName,
|
|
159
|
+
profileMissing: false,
|
|
160
|
+
ignoredEnvUrl: ignored(stored.apiUrl),
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
if (envUrl) {
|
|
164
|
+
return { url: envUrl, source: 'env', profileName, profileMissing };
|
|
165
|
+
}
|
|
166
|
+
const builtin = BUILTIN_API_URLS[profileName];
|
|
167
|
+
if (builtin) {
|
|
168
|
+
return { url: builtin, source: 'default', profileName, profileMissing };
|
|
169
|
+
}
|
|
170
|
+
return { url: DEFAULT_API_URL, source: 'default', profileName, profileMissing };
|
|
171
|
+
}
|
|
134
172
|
export function resolveProfile(opts = {}, cfg = loadConfig()) {
|
|
135
173
|
const name = resolveProfileName(opts, cfg);
|
|
136
|
-
const
|
|
137
|
-
|
|
138
|
-
|
|
174
|
+
const stored = cfg.profiles[name];
|
|
175
|
+
if (stored)
|
|
176
|
+
return { name, profile: stored };
|
|
177
|
+
// Missing profile: do not invent api.dev.knowz.io. Match resolveApiUrlInfo.
|
|
178
|
+
return { name, profile: { apiUrl: resolveApiUrlInfo({ profileFlag: opts.profileFlag }, cfg).url } };
|
|
139
179
|
}
|
|
140
180
|
export function resolveApiUrl(opts = {}, cfg = loadConfig()) {
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
const
|
|
146
|
-
|
|
181
|
+
return resolveApiUrlInfo(opts, cfg).url;
|
|
182
|
+
}
|
|
183
|
+
/** Human lines for login/status when the URL is not (only) from config. */
|
|
184
|
+
export function formatApiUrlSourceNotices(info) {
|
|
185
|
+
const lines = [];
|
|
186
|
+
if (info.profileMissing) {
|
|
187
|
+
lines.push(`Profile '${info.profileName}' is not in ~/.knowz/config.json. Run: knowz profile add ${info.profileName} --api-url <url>`);
|
|
188
|
+
}
|
|
189
|
+
if (info.source !== 'config') {
|
|
190
|
+
const from = info.source === 'flag' ? '--api-url' : info.source === 'env' ? 'KNOWZ_API_URL' : 'built-in default';
|
|
191
|
+
lines.push(`API URL from ${from} (not ~/.knowz/config.json)`);
|
|
192
|
+
}
|
|
193
|
+
if (info.ignoredEnvUrl) {
|
|
194
|
+
const usedFrom = info.source === 'flag' ? '--api-url' : '~/.knowz/config.json';
|
|
195
|
+
lines.push(`KNOWZ_API_URL=${info.ignoredEnvUrl} is set but ignored; using ${info.url} from ${usedFrom}.`);
|
|
196
|
+
}
|
|
197
|
+
return lines;
|
|
147
198
|
}
|
|
148
199
|
// ---------------------------------------------------------------------------
|
|
149
200
|
// UI preferences (global, not per-profile)
|
package/dist/config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAClC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACzF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEnD,8EAA8E;AAC9E,gCAAgC;AAChC,8EAA8E;AAE9E,MAAM,CAAC,MAAM,gBAAgB,GAA2B;IACtD,GAAG,EAAE,0BAA0B;IAC/B,IAAI,EAAE,sBAAsB;CAC7B,CAAC;AACF;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,MAAM,CAAC;AACtC,MAAM,CAAC,MAAM,eAAe,GAAG,gBAAgB,CAAC,eAAe,CAAE,CAAC;AAElE,8EAA8E;AAC9E,SAAS;AACT,8EAA8E;AAE9E,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC;KACjC,MAAM,CAAC;IACN,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACxB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,mFAAmF;IACnF,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,E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,CAAC,CAAC,EAAE,CAAC;QAClE,MAAM,IAAI,UAAU,CAClB,8BAA8B,QAAQ,UAAU,yBAAyB,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EACxF,QAAQ,CAAC,KAAK,CACf,CAAC;IACJ,CAAC;IACD,GAAG,CAAC,QAAQ,GAAG,EAAE,GAAG,CAAC,GAAG,CAAC,QAAQ,IAAI,EAAE,CAAC,EAAE,eAAe,EAAE,CAA2B,EAAE,CAAC;AAC3F,CAAC"}
|
|
@@ -24,11 +24,47 @@ export interface CredentialStore {
|
|
|
24
24
|
deleteAll(): Promise<void>;
|
|
25
25
|
listProfiles(): Promise<string[]>;
|
|
26
26
|
}
|
|
27
|
+
export interface KeychainDurabilitySignals {
|
|
28
|
+
/** Override `process.platform` (tests). */
|
|
29
|
+
platform?: NodeJS.Platform;
|
|
30
|
+
/** Override `process.env` (tests). */
|
|
31
|
+
env?: NodeJS.ProcessEnv;
|
|
32
|
+
/**
|
|
33
|
+
* Test seam: return an `@napi-rs/keyring`-compatible `Entry` constructor.
|
|
34
|
+
* The factory still refuses this backend when the keychain is not durable.
|
|
35
|
+
*/
|
|
36
|
+
keychainProbe?: () => Promise<unknown>;
|
|
37
|
+
}
|
|
27
38
|
export interface OpenStoreOptions {
|
|
28
39
|
passphrase?: string;
|
|
29
40
|
/** Force the encrypted-file backend (skip keychain probe) — used in tests. */
|
|
30
41
|
forceFile?: boolean;
|
|
42
|
+
/** Override platform / env / probe when deciding whether the OS keychain is durable. */
|
|
43
|
+
durability?: KeychainDurabilitySignals;
|
|
31
44
|
}
|
|
32
|
-
/**
|
|
45
|
+
/**
|
|
46
|
+
* True only when the OS keychain is expected to survive process exit and reboot
|
|
47
|
+
* AND the choice cannot flip between sessions on the same host.
|
|
48
|
+
*
|
|
49
|
+
* macOS Keychain and Windows Credential Manager persist. On Linux we do NOT
|
|
50
|
+
* auto-detect: `@napi-rs/keyring` (keyring-rs) will happily probe against a
|
|
51
|
+
* session keyring / in-memory Secret Service collection, and the session
|
|
52
|
+
* signals that would hint at a real provider (`GNOME_KEYRING_CONTROL`,
|
|
53
|
+
* `KDE_FULL_SESSION`, `DISPLAY`, D-Bus) are present in a GUI shell and absent
|
|
54
|
+
* in an SSH/CI shell on the SAME box — so detection would put half the
|
|
55
|
+
* credentials in the keychain and half in `credentials.enc`. Linux therefore
|
|
56
|
+
* defaults to the encrypted file and requires an explicit `KNOWZ_USE_OS_KEYCHAIN=1`
|
|
57
|
+
* opt-in.
|
|
58
|
+
*/
|
|
59
|
+
export declare function osKeychainLooksPersistent(platform?: NodeJS.Platform, env?: NodeJS.ProcessEnv): boolean;
|
|
60
|
+
/**
|
|
61
|
+
* Open the credential store for the active config dir.
|
|
62
|
+
*
|
|
63
|
+
* The backend is remembered per config dir so ordinary environment changes do
|
|
64
|
+
* not split secrets across stores. The exception is a legacy Linux `keychain`
|
|
65
|
+
* marker without the current explicit opt-in: it is migrated to the durable
|
|
66
|
+
* file backend below. `KNOWZ_FORCE_FILE_KEYSTORE=1` / `forceFile` remains an
|
|
67
|
+
* explicit, non-persisted override.
|
|
68
|
+
*/
|
|
33
69
|
export declare function openCredentialStore(opts?: OpenStoreOptions): Promise<CredentialStore>;
|
|
34
70
|
//# sourceMappingURL=credential-store.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credential-store.d.ts","sourceRoot":"","sources":["../src/credential-store.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAgBH,MAAM,MAAM,UAAU,GAAG,UAAU,GAAG,gBAAgB,CAAC;AACvD,MAAM,MAAM,WAAW,GAAG,YAAY,GAAG,eAAe,CAAC;AAEzD,MAAM,WAAW,eAAe;IAC9B,OAAO,IAAI,UAAU,CAAC;IACtB,WAAW,IAAI,WAAW,GAAG,IAAI,CAAC;IAClC,SAAS,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC1D,SAAS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,CAAC;IACpB,8EAA8E;IAC9E,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,wFAAwF;IACxF,UAAU,CAAC,EAAE,yBAAyB,CAAC;CACxC;AAOD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,yBAAyB,CACvC,QAAQ,GAAE,MAAM,CAAC,QAA2B,EAC5C,GAAG,GAAE,MAAM,CAAC,UAAwB,GACnC,OAAO,CAMT;AAoCD;;;;;;;;GAQG;AACH,wBAAsB,mBAAmB,CAAC,IAAI,GAAE,gBAAqB,GAAG,OAAO,CAAC,eAAe,CAAC,CA2E/F"}
|
package/dist/credential-store.js
CHANGED
|
@@ -23,6 +23,7 @@ const SERVICE = 'knowz-cli';
|
|
|
23
23
|
const SCRYPT = { N: 1 << 15, r: 8, p: 1, maxmem: 96 * 1024 * 1024 };
|
|
24
24
|
const encFile = () => join(configDir(), 'credentials.enc');
|
|
25
25
|
const indexFile = () => join(configDir(), 'credential-index.json');
|
|
26
|
+
const backendFile = () => join(configDir(), 'credential-backend');
|
|
26
27
|
const installSaltFile = () => join(configDir(), '.install-salt');
|
|
27
28
|
function ensureDir() {
|
|
28
29
|
mkdirSync(configDir(), { recursive: true, mode: 0o700 });
|
|
@@ -56,6 +57,31 @@ function addToIndex(p) {
|
|
|
56
57
|
function removeFromIndex(p) {
|
|
57
58
|
writeIndex(readIndex().filter((x) => x !== p));
|
|
58
59
|
}
|
|
60
|
+
// --------------------------------------------------------------------------
|
|
61
|
+
// Remembered backend (one backend per config dir)
|
|
62
|
+
// --------------------------------------------------------------------------
|
|
63
|
+
//
|
|
64
|
+
// Session signals (D-Bus, DISPLAY, GNOME_KEYRING_CONTROL) differ between a GUI
|
|
65
|
+
// login and an SSH/CI shell on the SAME box. Re-deciding the backend on every
|
|
66
|
+
// invocation therefore splits credentials across two stores that share one
|
|
67
|
+
// `credential-index.json`. Once a config dir has successfully opened a backend
|
|
68
|
+
// we stick to it.
|
|
69
|
+
function readRememberedBackend() {
|
|
70
|
+
if (!existsSync(backendFile()))
|
|
71
|
+
return undefined;
|
|
72
|
+
try {
|
|
73
|
+
const v = readFileSync(backendFile(), 'utf8').trim();
|
|
74
|
+
return v === 'keychain' || v === 'encrypted-file' ? v : undefined;
|
|
75
|
+
}
|
|
76
|
+
catch {
|
|
77
|
+
return undefined;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
function rememberBackend(backend) {
|
|
81
|
+
if (readRememberedBackend() === backend)
|
|
82
|
+
return;
|
|
83
|
+
writeFile0600(backendFile(), backend);
|
|
84
|
+
}
|
|
59
85
|
function installSalt() {
|
|
60
86
|
if (existsSync(installSaltFile()))
|
|
61
87
|
return Buffer.from(readFileSync(installSaltFile(), 'utf8'), 'base64');
|
|
@@ -76,9 +102,17 @@ function deriveKey(mode, salt, passphrase) {
|
|
|
76
102
|
class FileStore {
|
|
77
103
|
mode;
|
|
78
104
|
passphrase;
|
|
79
|
-
|
|
105
|
+
ownsIndex;
|
|
106
|
+
/**
|
|
107
|
+
* `ownsIndex` is false when this config dir's remembered backend is the
|
|
108
|
+
* keychain and the file store was forced anyway (KNOWZ_FORCE_FILE_KEYSTORE):
|
|
109
|
+
* the index then describes keychain profiles this store cannot see, so it
|
|
110
|
+
* must not prune or rewrite it.
|
|
111
|
+
*/
|
|
112
|
+
constructor(mode, passphrase, ownsIndex = true) {
|
|
80
113
|
this.mode = mode;
|
|
81
114
|
this.passphrase = passphrase;
|
|
115
|
+
this.ownsIndex = ownsIndex;
|
|
82
116
|
}
|
|
83
117
|
backend() {
|
|
84
118
|
return 'encrypted-file';
|
|
@@ -135,28 +169,88 @@ class FileStore {
|
|
|
135
169
|
const map = this.loadMap();
|
|
136
170
|
map[profile] = secret;
|
|
137
171
|
this.saveMap(map);
|
|
138
|
-
|
|
172
|
+
// A forced file store must not retarget the keychain's index: adding here
|
|
173
|
+
// would claim a keychain-owned profile name for a store that cannot serve it.
|
|
174
|
+
if (this.ownsIndex)
|
|
175
|
+
addToIndex(profile);
|
|
139
176
|
}
|
|
140
177
|
async getSecret(profile) {
|
|
141
|
-
|
|
178
|
+
const value = this.loadMap()[profile];
|
|
179
|
+
if (value === undefined && this.ownsIndex)
|
|
180
|
+
removeFromIndex(profile);
|
|
181
|
+
return value;
|
|
142
182
|
}
|
|
143
183
|
async deleteSecret(profile) {
|
|
144
184
|
const map = this.loadMap();
|
|
145
185
|
delete map[profile];
|
|
146
186
|
this.saveMap(map);
|
|
147
|
-
|
|
187
|
+
// Same ownership contract as getSecret: pruning an index this store does not
|
|
188
|
+
// own would orphan the still-live keychain credential (it would vanish from
|
|
189
|
+
// `logout --all` / listProfiles while the OS keychain still holds it).
|
|
190
|
+
if (this.ownsIndex)
|
|
191
|
+
removeFromIndex(profile);
|
|
148
192
|
}
|
|
149
193
|
async deleteAll() {
|
|
194
|
+
// Always clear this store's own encrypted entries...
|
|
150
195
|
rmSync(encFile(), { force: true });
|
|
151
|
-
|
|
196
|
+
// ...but only reset the index when we own it. Clearing a keychain-owned
|
|
197
|
+
// index leaves the keychain secrets undeletable and unlistable.
|
|
198
|
+
if (this.ownsIndex)
|
|
199
|
+
writeIndex([]);
|
|
152
200
|
}
|
|
153
201
|
async listProfiles() {
|
|
154
|
-
|
|
202
|
+
const profiles = Object.keys(this.loadMap());
|
|
203
|
+
if (this.ownsIndex)
|
|
204
|
+
writeIndex(profiles);
|
|
205
|
+
return profiles;
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
* Copy `source` credentials that this file does not already hold.
|
|
209
|
+
*
|
|
210
|
+
* Existing encrypted-file values are authoritative: a newer pasted key
|
|
211
|
+
* written under `KNOWZ_FORCE_FILE_KEYSTORE` must not be replaced by a stale
|
|
212
|
+
* keychain copy. A missing source entry is skipped (and pruned by the
|
|
213
|
+
* source); a locked / access-denied read is thrown so the caller can abort
|
|
214
|
+
* without flipping the backend marker.
|
|
215
|
+
*/
|
|
216
|
+
async copyMissingSecretsFrom(source, profiles) {
|
|
217
|
+
const existing = new Set(Object.keys(this.loadMap()));
|
|
218
|
+
for (const profile of profiles) {
|
|
219
|
+
if (existing.has(profile))
|
|
220
|
+
continue;
|
|
221
|
+
const value = await source.getSecret(profile);
|
|
222
|
+
if (value)
|
|
223
|
+
await this.setSecret(profile, value);
|
|
224
|
+
}
|
|
155
225
|
}
|
|
156
226
|
}
|
|
157
227
|
// --------------------------------------------------------------------------
|
|
158
228
|
// Keychain backend
|
|
159
229
|
// --------------------------------------------------------------------------
|
|
230
|
+
/**
|
|
231
|
+
* Is this the keychain backend saying "no such entry"?
|
|
232
|
+
*
|
|
233
|
+
* The distinction this draws is the whole point of the store's error contract:
|
|
234
|
+
* "there is nothing here" is an ANSWER (an absence), while "I cannot tell you"
|
|
235
|
+
* is an OUTAGE. `@napi-rs/keyring` exposes no error codes — it surfaces the
|
|
236
|
+
* platform message — so this matches on text, and it is deliberately narrow: a
|
|
237
|
+
* permission denial or a locked keyring must NEVER be read as a missing entry,
|
|
238
|
+
* because that would prune the index entry that makes a still-live credential
|
|
239
|
+
* findable.
|
|
240
|
+
*/
|
|
241
|
+
function isMissingEntryError(error) {
|
|
242
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
243
|
+
return /no (?:matching )?entry|not found|no such|nosuchentry|noentry|does not exist/i.test(message);
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* The one contract every keychain mutator obeys: an unavailable provider is an
|
|
247
|
+
* error, not an answer. Callers get `ExitCode.Auth` so `knowz whoami` / `logout`
|
|
248
|
+
* fail loudly instead of reporting "not signed in" for a credential that exists.
|
|
249
|
+
*/
|
|
250
|
+
function keychainUnavailable(verb, profile, cause) {
|
|
251
|
+
return new KnowzError(`The OS keychain is locked or unavailable; cannot ${verb} credentials for profile '${profile}'. ` +
|
|
252
|
+
'Unlock it and retry, or set KNOWZ_FORCE_FILE_KEYSTORE=1 and sign in again to use the encrypted file.', ExitCode.Auth, cause === undefined ? undefined : { cause });
|
|
253
|
+
}
|
|
160
254
|
class KeychainStore {
|
|
161
255
|
Entry;
|
|
162
256
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
@@ -173,52 +267,242 @@ class KeychainStore {
|
|
|
173
267
|
new this.Entry(SERVICE, profile).setPassword(secret);
|
|
174
268
|
addToIndex(profile);
|
|
175
269
|
}
|
|
176
|
-
|
|
270
|
+
/**
|
|
271
|
+
* Reads one entry. Returns `{ value }` when the provider answered (an absent
|
|
272
|
+
* secret is `value === undefined`) and `{ failed: true }` when the provider
|
|
273
|
+
* itself threw — a locked macOS Keychain / unavailable Secret Service means
|
|
274
|
+
* "cannot tell", NOT "no such credential".
|
|
275
|
+
*/
|
|
276
|
+
read(profile) {
|
|
177
277
|
try {
|
|
178
|
-
return new this.Entry(SERVICE, profile).getPassword()
|
|
278
|
+
return { value: new this.Entry(SERVICE, profile).getPassword() || undefined };
|
|
179
279
|
}
|
|
180
|
-
catch {
|
|
181
|
-
|
|
280
|
+
catch (e) {
|
|
281
|
+
// Some providers answer a missing item by THROWING rather than returning
|
|
282
|
+
// null. That is still an answer — an absence — and must not be reported as
|
|
283
|
+
// an outage, or `profile purge` would fail on any profile that was never
|
|
284
|
+
// logged in. Only a genuine provider failure is `failed`.
|
|
285
|
+
if (isMissingEntryError(e))
|
|
286
|
+
return { value: undefined };
|
|
287
|
+
return { failed: true };
|
|
182
288
|
}
|
|
183
289
|
}
|
|
290
|
+
async getSecret(profile) {
|
|
291
|
+
const read = this.read(profile);
|
|
292
|
+
// "Unavailable" is not "absent". A provider error is reported as an Auth
|
|
293
|
+
// failure — never as a value-shaped `undefined`, which callers would read
|
|
294
|
+
// as "not signed in" — and the index is left exactly as it was.
|
|
295
|
+
if (read.failed)
|
|
296
|
+
throw keychainUnavailable('read', profile);
|
|
297
|
+
// Prune ONLY on a definite absence. Pruning on a provider error would
|
|
298
|
+
// permanently hide a credential that still exists from listProfiles() and
|
|
299
|
+
// `logout --all`.
|
|
300
|
+
if (read.value === undefined)
|
|
301
|
+
removeFromIndex(profile);
|
|
302
|
+
return read.value;
|
|
303
|
+
}
|
|
184
304
|
async deleteSecret(profile) {
|
|
305
|
+
// Pre-read to tell "the provider says there is nothing here" (prune) from
|
|
306
|
+
// "the provider cannot answer" (throw, index untouched).
|
|
307
|
+
const read = this.read(profile);
|
|
308
|
+
if (read.failed)
|
|
309
|
+
throw keychainUnavailable('remove', profile);
|
|
310
|
+
if (read.value === undefined) {
|
|
311
|
+
removeFromIndex(profile);
|
|
312
|
+
return;
|
|
313
|
+
}
|
|
185
314
|
try {
|
|
186
315
|
new this.Entry(SERVICE, profile).deletePassword();
|
|
187
316
|
}
|
|
188
|
-
catch {
|
|
189
|
-
|
|
317
|
+
catch (e) {
|
|
318
|
+
// The entry was there a moment ago and is gone now — someone else removed
|
|
319
|
+
// it between the read and the delete. That is the outcome we asked for, so
|
|
320
|
+
// fall through and prune. A purge must be idempotent.
|
|
321
|
+
if (!isMissingEntryError(e)) {
|
|
322
|
+
// Anything else: the secret is still there, and keeping the index entry
|
|
323
|
+
// is what lets a later `logout --all` find it once the provider is
|
|
324
|
+
// unlocked.
|
|
325
|
+
throw keychainUnavailable('remove', profile, e);
|
|
326
|
+
}
|
|
190
327
|
}
|
|
328
|
+
// Only a confirmed delete prunes.
|
|
191
329
|
removeFromIndex(profile);
|
|
192
330
|
}
|
|
193
331
|
async deleteAll() {
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
332
|
+
const failed = [];
|
|
333
|
+
for (const p of readIndex()) {
|
|
334
|
+
try {
|
|
335
|
+
await this.deleteSecret(p);
|
|
336
|
+
}
|
|
337
|
+
catch {
|
|
338
|
+
failed.push(p);
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
// Write the survivors back BEFORE reporting the failure: the index must keep
|
|
342
|
+
// naming every profile whose credential is still in the keychain.
|
|
343
|
+
writeIndex(failed);
|
|
344
|
+
if (failed.length > 0) {
|
|
345
|
+
throw new KnowzError(`Could not remove ${failed.length} profile(s) (${failed.join(', ')}) because the OS keychain ` +
|
|
346
|
+
'is locked or unavailable. Unlock it and retry.', ExitCode.Auth);
|
|
347
|
+
}
|
|
197
348
|
}
|
|
198
349
|
async listProfiles() {
|
|
199
|
-
|
|
350
|
+
const live = [];
|
|
351
|
+
for (const profile of readIndex()) {
|
|
352
|
+
const read = this.read(profile);
|
|
353
|
+
// Keep the profile when the read succeeded with a value OR when the
|
|
354
|
+
// provider threw; drop it only on a definite absence.
|
|
355
|
+
if (read.failed || read.value !== undefined)
|
|
356
|
+
live.push(profile);
|
|
357
|
+
}
|
|
358
|
+
writeIndex(live);
|
|
359
|
+
return live;
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
function envFlag(env, name) {
|
|
363
|
+
const v = env[name];
|
|
364
|
+
return v === '1' || v === 'true' || v === 'TRUE';
|
|
365
|
+
}
|
|
366
|
+
/**
|
|
367
|
+
* True only when the OS keychain is expected to survive process exit and reboot
|
|
368
|
+
* AND the choice cannot flip between sessions on the same host.
|
|
369
|
+
*
|
|
370
|
+
* macOS Keychain and Windows Credential Manager persist. On Linux we do NOT
|
|
371
|
+
* auto-detect: `@napi-rs/keyring` (keyring-rs) will happily probe against a
|
|
372
|
+
* session keyring / in-memory Secret Service collection, and the session
|
|
373
|
+
* signals that would hint at a real provider (`GNOME_KEYRING_CONTROL`,
|
|
374
|
+
* `KDE_FULL_SESSION`, `DISPLAY`, D-Bus) are present in a GUI shell and absent
|
|
375
|
+
* in an SSH/CI shell on the SAME box — so detection would put half the
|
|
376
|
+
* credentials in the keychain and half in `credentials.enc`. Linux therefore
|
|
377
|
+
* defaults to the encrypted file and requires an explicit `KNOWZ_USE_OS_KEYCHAIN=1`
|
|
378
|
+
* opt-in.
|
|
379
|
+
*/
|
|
380
|
+
export function osKeychainLooksPersistent(platform = process.platform, env = process.env) {
|
|
381
|
+
if (envFlag(env, 'KNOWZ_FORCE_FILE_KEYSTORE'))
|
|
382
|
+
return false;
|
|
383
|
+
if (platform === 'darwin' || platform === 'win32')
|
|
384
|
+
return true;
|
|
385
|
+
if (platform !== 'linux')
|
|
386
|
+
return false;
|
|
387
|
+
// Operators who know they have an unlocked gnome-keyring / KWallet opt in.
|
|
388
|
+
return envFlag(env, 'KNOWZ_USE_OS_KEYCHAIN');
|
|
389
|
+
}
|
|
390
|
+
/** Load the `@napi-rs/keyring` Entry constructor (or the test seam). */
|
|
391
|
+
async function loadKeychainEntry(opts) {
|
|
392
|
+
try {
|
|
393
|
+
return opts.durability?.keychainProbe
|
|
394
|
+
? await opts.durability.keychainProbe()
|
|
395
|
+
: (await import('@napi-rs/keyring')).Entry;
|
|
396
|
+
}
|
|
397
|
+
catch {
|
|
398
|
+
return undefined;
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
/** Raised when this config dir's credentials live in a keychain we cannot open. */
|
|
402
|
+
function keychainHoldsCredentials() {
|
|
403
|
+
return new KnowzError("The OS keychain holds this profile's credentials but is unavailable. Unlock it and retry, " +
|
|
404
|
+
'or set KNOWZ_FORCE_FILE_KEYSTORE=1 and sign in again to use the encrypted file.', ExitCode.Auth);
|
|
405
|
+
}
|
|
406
|
+
/** Write/read/delete probe; throws when the provider is locked or missing. */
|
|
407
|
+
function keychainProbeSucceeds(Entry) {
|
|
408
|
+
try {
|
|
409
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
410
|
+
const probe = new Entry(SERVICE, '__probe__');
|
|
411
|
+
probe.setPassword('1');
|
|
412
|
+
probe.getPassword();
|
|
413
|
+
probe.deletePassword();
|
|
414
|
+
return true;
|
|
415
|
+
}
|
|
416
|
+
catch {
|
|
417
|
+
return false;
|
|
200
418
|
}
|
|
201
419
|
}
|
|
202
|
-
/**
|
|
420
|
+
/**
|
|
421
|
+
* Open the credential store for the active config dir.
|
|
422
|
+
*
|
|
423
|
+
* The backend is remembered per config dir so ordinary environment changes do
|
|
424
|
+
* not split secrets across stores. The exception is a legacy Linux `keychain`
|
|
425
|
+
* marker without the current explicit opt-in: it is migrated to the durable
|
|
426
|
+
* file backend below. `KNOWZ_FORCE_FILE_KEYSTORE=1` / `forceFile` remains an
|
|
427
|
+
* explicit, non-persisted override.
|
|
428
|
+
*/
|
|
203
429
|
export async function openCredentialStore(opts = {}) {
|
|
204
|
-
const
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
430
|
+
const env = opts.durability?.env ?? process.env;
|
|
431
|
+
const platform = opts.durability?.platform ?? process.platform;
|
|
432
|
+
const passphrase = opts.passphrase ?? env.KNOWZ_KEYRING_PASSPHRASE ?? process.env.KNOWZ_KEYRING_PASSPHRASE;
|
|
433
|
+
const forceFile = Boolean(opts.forceFile) || envFlag(env, 'KNOWZ_FORCE_FILE_KEYSTORE');
|
|
434
|
+
const remembered = readRememberedBackend();
|
|
435
|
+
const autoWantsKeychain = osKeychainLooksPersistent(platform, env);
|
|
436
|
+
const mode = passphrase ? 'passphrase' : 'machine-bound';
|
|
437
|
+
// A Linux keychain is never considered durable unless the operator opts in.
|
|
438
|
+
// Older releases could nevertheless remember `keychain` after a successful
|
|
439
|
+
// probe against a session-scoped provider. On the next dbus/container lifetime
|
|
440
|
+
// that marker would keep selecting an empty keychain forever. Retire that
|
|
441
|
+
// choice here. If the old provider is still readable, copy indexed credentials
|
|
442
|
+
// that the encrypted file does not already hold (the file store wins for any
|
|
443
|
+
// profile already written, e.g. a newer pasted key under KNOWZ_FORCE_FILE_KEYSTORE).
|
|
444
|
+
// A missing keychain entry is skipped/pruned; a locked or access-denied entry
|
|
445
|
+
// aborts so the marker is not flipped and the still-live secret is not stranded.
|
|
446
|
+
// If the provider has already vanished, rebuild the shared index from
|
|
447
|
+
// credentials.enc so stale profile names do not remain orphaned.
|
|
448
|
+
if (!forceFile && platform === 'linux' && !autoWantsKeychain && remembered !== 'encrypted-file') {
|
|
449
|
+
const profiles = readIndex();
|
|
450
|
+
if (remembered === 'keychain' || profiles.length > 0) {
|
|
451
|
+
const fileStore = new FileStore(mode, passphrase, true);
|
|
452
|
+
const Entry = await loadKeychainEntry(opts);
|
|
453
|
+
if (Entry) {
|
|
454
|
+
if (!keychainProbeSucceeds(Entry)) {
|
|
455
|
+
if (remembered === 'keychain')
|
|
456
|
+
return new KeychainStore(Entry);
|
|
457
|
+
if (profiles.length > 0)
|
|
458
|
+
throw keychainHoldsCredentials();
|
|
459
|
+
}
|
|
460
|
+
else {
|
|
461
|
+
// KeychainStore.getSecret preserves the missing-vs-unavailable split:
|
|
462
|
+
// absence is skippable; a locked/denied entry throws Auth and we must
|
|
463
|
+
// not reach rememberBackend / listProfiles below.
|
|
464
|
+
await fileStore.copyMissingSecretsFrom(new KeychainStore(Entry), profiles);
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
else if (remembered === 'keychain' && profiles.length > 0) {
|
|
468
|
+
throw keychainHoldsCredentials();
|
|
469
|
+
}
|
|
470
|
+
rememberBackend('encrypted-file');
|
|
471
|
+
await fileStore.listProfiles();
|
|
472
|
+
return fileStore;
|
|
216
473
|
}
|
|
217
|
-
|
|
218
|
-
|
|
474
|
+
}
|
|
475
|
+
if (!forceFile) {
|
|
476
|
+
const wantKeychain = remembered ? remembered === 'keychain' : autoWantsKeychain;
|
|
477
|
+
if (wantKeychain) {
|
|
478
|
+
const Entry = await loadKeychainEntry(opts);
|
|
479
|
+
if (Entry && keychainProbeSucceeds(Entry)) {
|
|
480
|
+
rememberBackend('keychain');
|
|
481
|
+
return new KeychainStore(Entry);
|
|
482
|
+
}
|
|
483
|
+
if (remembered === 'keychain') {
|
|
484
|
+
// This config dir's secrets ARE in the keychain. A failed probe means
|
|
485
|
+
// locked/unavailable, not "use another store": falling through to the
|
|
486
|
+
// file backend would split the store and prune the shared index.
|
|
487
|
+
// The store's mutators are fail-safe (they throw Auth rather than
|
|
488
|
+
// reporting a missing credential), so hand it back and let the operation
|
|
489
|
+
// that actually needs the provider be the one that fails.
|
|
490
|
+
if (Entry)
|
|
491
|
+
return new KeychainStore(Entry);
|
|
492
|
+
throw keychainHoldsCredentials();
|
|
493
|
+
}
|
|
494
|
+
// No marker yet, but this platform auto-prefers the keychain and the index
|
|
495
|
+
// already names profiles — so those credentials are in the keychain the
|
|
496
|
+
// probe just failed on. Returning a file store here would hand back an
|
|
497
|
+
// index-owning store that cannot serve (and would prune) them.
|
|
498
|
+
if (readIndex().length > 0)
|
|
499
|
+
throw keychainHoldsCredentials();
|
|
219
500
|
}
|
|
220
501
|
}
|
|
221
|
-
|
|
222
|
-
|
|
502
|
+
// Only an auto-chosen backend is persisted: a temporary KNOWZ_FORCE_FILE_KEYSTORE
|
|
503
|
+
// must not permanently retarget a config dir.
|
|
504
|
+
if (!forceFile && remembered !== 'keychain')
|
|
505
|
+
rememberBackend('encrypted-file');
|
|
506
|
+
return new FileStore(mode, passphrase, remembered !== 'keychain');
|
|
223
507
|
}
|
|
224
508
|
//# sourceMappingURL=credential-store.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credential-store.js","sourceRoot":"","sources":["../src/credential-store.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EACL,UAAU,EACV,SAAS,EACT,YAAY,EACZ,aAAa,EACb,UAAU,EACV,MAAM,GACP,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACxF,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAenD,MAAM,OAAO,GAAG,WAAW,CAAC;AAC5B,MAAM,MAAM,GAAG,EAAE,CAAC,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,EAAE,CAAC,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,gBAAgB,CAAC,CAAC;IAC/E,OAAO,IAAI,SAAS,CAAC,IAAI,EAAE,UAAU,EAAE,UAAU,KAAK,UAAU,CAAC,CAAC;AACpE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knowzai/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
"dist"
|
|
15
15
|
],
|
|
16
16
|
"dependencies": {
|
|
17
|
+
"@knowzai/types": "0.3.0",
|
|
17
18
|
"@napi-rs/keyring": "^1.1.6",
|
|
18
|
-
"zod": "^3.24.1"
|
|
19
|
-
"@knowzai/types": "0.1.0"
|
|
19
|
+
"zod": "^3.24.1"
|
|
20
20
|
},
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"author": "Knowz",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"access": "public"
|
|
30
30
|
},
|
|
31
31
|
"engines": {
|
|
32
|
-
"node": ">=
|
|
32
|
+
"node": ">=22"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"build": "tsc -b"
|