{"version":3,"sources":["jsdelivr-header.js","/npm/@vybestack/llxprt-code@0.9.1/dist/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;OCCS,SAAY,yBACZ,WAAY,kBAAqB,8BAM1C,OAAO,OAAO,IACV,GAAI,aAAiB,WAAY,CAC7B,IAAI,EAAe,EAAM,QACpB,QAAQ,IAAc,WACvB,EAAe,QAAW,SAE9B,cAAc,GAAG,OACjB,QAAQ,KAAK,EAAM,SACvB,CACA,cAAc,4CACV,aAAiB,MACjB,cAAc,GAAG,EAAM,WAGvB,cAAc,GAAG,OAAO,QAE5B,QAAQ,KAAK,EAAE","file":"/npm/@vybestack/llxprt-code@0.9.1/dist/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/@vybestack/llxprt-code@0.9.1/dist/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","#!/usr/bin/env -S node --no-deprecation\n/**\n * @license\n * Copyright 2025 Vybestack LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n// Note: Using --no-deprecation in shebang to suppress deprecation warnings from dependencies\nimport { main } from './src/gemini.js';\nimport { FatalError, writeToStderr } from '@vybestack/llxprt-code-core';\n// --- Global Entry Point ---\n// Use writeToStderr instead of console.error so that fatal errors are always\n// visible even after patchStdio() has redirected process.stderr.write to the\n// internal event bus (which may not have listeners yet).  Fixes #1667 where\n// config validation errors were silently swallowed.\nmain().catch((error) => {\n    if (error instanceof FatalError) {\n        let errorMessage = error.message;\n        if (!process.env['NO_COLOR']) {\n            errorMessage = `\\x1b[31m${errorMessage}\\x1b[0m`;\n        }\n        writeToStderr(`${errorMessage}\\n`);\n        process.exit(error.exitCode);\n    }\n    writeToStderr('An unexpected critical error occurred:\\n');\n    if (error instanceof Error) {\n        writeToStderr(`${error.stack}\\n`);\n    }\n    else {\n        writeToStderr(`${String(error)}\\n`);\n    }\n    process.exit(1);\n});\n"]}