@onequery/cli 0.1.39-win32-x64 → 0.1.40-darwin-arm64
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/package.json +3 -3
- package/vendor/{x86_64-pc-windows-msvc/onequery/onequery.exe → aarch64-apple-darwin/onequery/onequery} +0 -0
- package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/server/onequery-server.mjs +134 -12
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260327065242_curious_nightmare.sql +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260403103652_slippery_hellfire_club.sql +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260403112219_gigantic_namora.sql +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260420071232_previous_justin_hammer.sql +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260420093157_spooky_cassandra_nova.sql +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260420101631_even_ogun.sql +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260327065242_snapshot.json +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260403103652_snapshot.json +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260403112219_snapshot.json +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260420071232_snapshot.json +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260420093157_snapshot.json +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260420101631_snapshot.json +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/_journal.json +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/pglite/initdb.wasm +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/pglite/pglite.data +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/pglite/pglite.wasm +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/sql-parser/sql_parser_wasm_bg.wasm +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/CompositeItem-D3nXGtvr.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/CompositeList-CX7HHxYw.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/DialogTitle-M7sZ-HhE.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/IconArrowRight-DsOD7mDl.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/IconCheck-Gc24xPT2.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/IconChevronDown-B-39MA7-.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/IconCoins-C7Nn0L6R.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/IconHistory-BqAd-xl2.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/IconLoader2-B3B6M8nQ.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/IconPlus-C3-kRhGX.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/IconX-BQkA009b.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/Separator-vw4jPN_6.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/_authenticated-qXb4JoGl.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/_org_slug-CXdsucoF.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/api-base-url-DIb6qukm.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/api-client-B2Cc7TWF.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/api-paths-Cjr2f6P6.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/app-routes-CnJncMlZ.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/audit-BW0d65Q4.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/auth-bootstrap-query-DlVmn2Fg.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/auth-client-DF1BsKzX.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/avatar-B8g7WJsq.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/badge-C1_ZMBRy.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/budget-BGl-qO3N.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/callback-CmOV3PG1.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/card-Bsy6azfK.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/checkbox-CJcCVDm9.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/compiler-runtime-DCc3R3Xn.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/connect-database-AGEDWjtx.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/create-org-DRRUM53H.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/createReactComponent-_L2mp4Ui.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/data-source-connection-form-DGwTOXJU.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/device-C7FtW1ZI.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/dist-DAhKd1f7.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/dropdown-menu-C9Dn5_Vs.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/empty-COnWCwda.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/format-date-Ctrh7my1.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/getDisabledMountTransitionStyles-BYKRz4ha.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/getPseudoElementBounds-InhM-dWf.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/home-DsMx_Yb9.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/index-BS5Fb-IS.css +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/index-e4SV9LPn.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/input-CG_cIxvO.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/integrations-BubROEys.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2 +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2 +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2 +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/inter-greek-wght-normal-CkhJZR-_.woff2 +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2 +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/invite._invitationId-CVlMJsPV.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/jsx-runtime-DG_AJzB_.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/label-CWOhoN_L.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/link-Cgvqhh5w.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/matchContext-CDajBC0L.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/organization-permissions-BQQ5PJbI.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/organization-query-keys-DwLucsD_.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/query-timing-LGzitMXx.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/queryOptions-BHw87wTZ.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/removable-BfDesq3B.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/routes-CMAxnfup.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/schemas-n4sxh6jF.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/select-D6km4Obp.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/separator-CWltZvB_.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/settings-C6cYEB0P.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/signin-0pmtfKmA.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/src-DCIPwIx0.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/table-DCvfJyLS.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/team-Bc87hpLk.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/textarea-DiU04l_U.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/theme-toggle-CFUqhWNn.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/use-optimistic-mutation-Cx_ughl1.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/useBaseQuery-PhIlqR9l.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/useBaseUiId-BLFGpnYJ.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/useCompositeItem-BsMHgRi0.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/useControlled-B8q0aJoo.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/useQuery-BRVHrBi8.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/useRender-B2c9_UYd.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/useRouterState-DpT8luFk.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/useSuspenseQuery-Bn7lFvcg.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/useValueChanged-CqxkrqWn.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/utils-C8DGLIgm.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/xstate-react.esm-DhUG3dob.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/zod-D58ea2dv.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/favicon.ico +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/amplitude/step1_settings_sidebar.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/amplitude/step2_projects.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/amplitude/step3_project_keys.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/amplitude/step4_api_keys.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/bigquery/step1_service_accounts.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/bigquery/step2_bigquery_roles.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/bigquery/step3_add_key_menu.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/bigquery/step4_create_json_key.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/ga4/step1_service_accounts.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/ga4/step2_create_json_key.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/ga4/step3_add_user_viewer.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/ga4/step4_property_details.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/github-token-guide/step1_signin.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/github-token-guide/step2_new_fine_grained_token_sanitized.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/github-token-guide/step3_permissions_configured_sanitized.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/github-token-guide/step4_token_created_sanitized.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/mixpanel/step1_service_accounts.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/mixpanel/step2_create_service_account.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/mixpanel/step3_credentials.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/mixpanel/step4_project_settings.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/postgresql/step1_create_user.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/postgresql/step2_connection.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/posthog/step1_project_settings.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/posthog/step2_personal_api_keys.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/posthog/step3_create_key_modal.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/rds/step1_connect.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/rds/step2_create_user.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/rds/step3_grant.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/rds/step4_info.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/sentry/step1_personal_tokens.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/sentry/step2_create_token_permissions.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/sentry/step3_organization_slug.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/sentry/step4_project_slug.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/index.html +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/linear.svg +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/onequery.svg +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"cpu": [
|
|
3
|
-
"
|
|
3
|
+
"arm64"
|
|
4
4
|
],
|
|
5
5
|
"description": "OneQuery CLI",
|
|
6
6
|
"files": [
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"name": "@onequery/cli",
|
|
12
12
|
"os": [
|
|
13
|
-
"
|
|
13
|
+
"darwin"
|
|
14
14
|
],
|
|
15
15
|
"publishConfig": {
|
|
16
16
|
"access": "public"
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
"url": "git+https://github.com/wordbricks/onequery.git",
|
|
21
21
|
"directory": "apps/cli"
|
|
22
22
|
},
|
|
23
|
-
"version": "0.1.
|
|
23
|
+
"version": "0.1.40-darwin-arm64"
|
|
24
24
|
}
|
|
Binary file
|
|
@@ -121420,13 +121420,19 @@ const CLI_MAX_QUERY_MAX_BYTES = 4194304;
|
|
|
121420
121420
|
const CLI_DEFAULT_QUERY_CELL_MAX_CHARS = 2e3;
|
|
121421
121421
|
const CLI_MAX_QUERY_CELL_MAX_CHARS = 8e3;
|
|
121422
121422
|
const CLI_DEFAULT_QUERY_TIMEOUT_MS = 3e4;
|
|
121423
|
+
const CLI_MAX_QUERY_TIMEOUT_MS = 12e4;
|
|
121424
|
+
const ELLIPSIS = "...";
|
|
121425
|
+
const ELLIPSIS_CHAR_COUNT = 3;
|
|
121426
|
+
const EMPTY_JSON_STRING_BYTE_LENGTH = 2;
|
|
121427
|
+
const EMPTY_JSON_ARRAY_BYTE_LENGTH = 2;
|
|
121423
121428
|
object$1({
|
|
121424
121429
|
cellMaxChars: number$4().int().min(1).max(CLI_MAX_QUERY_CELL_MAX_CHARS).optional(),
|
|
121425
121430
|
maxBytes: number$4().int().min(1).max(CLI_MAX_QUERY_MAX_BYTES).optional(),
|
|
121426
121431
|
maxRows: number$4().int().min(1).max(CLI_MAX_QUERY_MAX_ROWS).optional(),
|
|
121427
|
-
timeoutMs: number$4().int().min(1).max(
|
|
121432
|
+
timeoutMs: number$4().int().min(1).max(CLI_MAX_QUERY_TIMEOUT_MS).optional()
|
|
121428
121433
|
}).meta({ id: "CliQueryResultWindow" });
|
|
121429
121434
|
const textEncoder = new TextEncoder();
|
|
121435
|
+
const displayUnitSegmenter = typeof Intl !== "undefined" && typeof Intl.Segmenter === "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null;
|
|
121430
121436
|
function resolveQueryResultWindow(input) {
|
|
121431
121437
|
return {
|
|
121432
121438
|
cellMaxChars: input.cellMaxChars ?? CLI_DEFAULT_QUERY_CELL_MAX_CHARS,
|
|
@@ -121445,29 +121451,145 @@ function applyQueryResultWindow(input) {
|
|
|
121445
121451
|
const clippedRows = rows.map((row) => row.map((cell) => truncateCell(cell, input.cellMaxChars)));
|
|
121446
121452
|
if (clippedRows.some((row, rowIndex) => row.some((cell, columnIndex) => cell !== rows[rowIndex]?.[columnIndex]))) truncated = true;
|
|
121447
121453
|
const boundedRows = [];
|
|
121448
|
-
|
|
121454
|
+
if (input.maxBytes < EMPTY_JSON_ARRAY_BYTE_LENGTH) return {
|
|
121455
|
+
rows: boundedRows,
|
|
121456
|
+
truncated: truncated || clippedRows.length > 0
|
|
121457
|
+
};
|
|
121458
|
+
let usedBytes = EMPTY_JSON_ARRAY_BYTE_LENGTH;
|
|
121449
121459
|
for (const row of clippedRows) {
|
|
121450
|
-
const
|
|
121451
|
-
|
|
121452
|
-
|
|
121453
|
-
break;
|
|
121454
|
-
}
|
|
121455
|
-
if (boundedRows.length === 0 && rowBytes > input.maxBytes) {
|
|
121460
|
+
const rowSeparatorBytes = boundedRows.length > 0 ? 1 : 0;
|
|
121461
|
+
const fittedRow = fitRowWithinBytes(row, input.maxBytes - usedBytes - rowSeparatorBytes);
|
|
121462
|
+
if (fittedRow === null) {
|
|
121456
121463
|
truncated = true;
|
|
121457
121464
|
break;
|
|
121458
121465
|
}
|
|
121459
|
-
|
|
121460
|
-
|
|
121466
|
+
if (!rowsEqual(fittedRow, row)) truncated = true;
|
|
121467
|
+
boundedRows.push(fittedRow);
|
|
121468
|
+
usedBytes += rowSeparatorBytes + rowByteLength(fittedRow);
|
|
121461
121469
|
}
|
|
121462
121470
|
return {
|
|
121463
121471
|
rows: boundedRows,
|
|
121464
121472
|
truncated
|
|
121465
121473
|
};
|
|
121466
121474
|
}
|
|
121475
|
+
function fitRowWithinBytes(row, maxBytes) {
|
|
121476
|
+
if (maxBytes <= 0) return null;
|
|
121477
|
+
const cellPlans = row.map(buildCellPlan);
|
|
121478
|
+
let rowBytes = rowByteLengthFromPlans(cellPlans);
|
|
121479
|
+
if (rowBytes <= maxBytes) return [...row];
|
|
121480
|
+
if (minimalRowByteLength(cellPlans.length) > maxBytes) return null;
|
|
121481
|
+
for (let cellIndex = cellPlans.length - 1; cellIndex >= 0 && rowBytes > maxBytes; cellIndex -= 1) {
|
|
121482
|
+
const cellPlan = cellPlans[cellIndex];
|
|
121483
|
+
if (cellPlan === void 0) continue;
|
|
121484
|
+
while (rowBytes > maxBytes) {
|
|
121485
|
+
const shrink = buildNextShrink(cellPlan);
|
|
121486
|
+
if (shrink === null) break;
|
|
121487
|
+
cellPlan.stateIndex = shrink.nextStateIndex;
|
|
121488
|
+
rowBytes -= shrink.bytesSaved;
|
|
121489
|
+
}
|
|
121490
|
+
}
|
|
121491
|
+
if (rowBytes > maxBytes) return null;
|
|
121492
|
+
return cellPlans.map(materializeCell);
|
|
121493
|
+
}
|
|
121494
|
+
function rowByteLength(row) {
|
|
121495
|
+
return EMPTY_JSON_ARRAY_BYTE_LENGTH + Math.max(0, row.length - 1) + row.reduce((totalBytes, cell) => totalBytes + jsonStringByteLength(cell), 0);
|
|
121496
|
+
}
|
|
121497
|
+
function rowsEqual(left, right) {
|
|
121498
|
+
return left.length === right.length && left.every((cell, index) => cell === right[index]);
|
|
121499
|
+
}
|
|
121467
121500
|
function truncateCell(value, maxChars) {
|
|
121468
121501
|
if (value.length <= maxChars) return value;
|
|
121469
|
-
|
|
121470
|
-
|
|
121502
|
+
const units = splitDisplayUnits(value);
|
|
121503
|
+
if (units.length <= maxChars) return value;
|
|
121504
|
+
return materializeTruncatedValue(value, units, maxChars);
|
|
121505
|
+
}
|
|
121506
|
+
function buildCellPlan(value) {
|
|
121507
|
+
const units = splitDisplayUnits(value);
|
|
121508
|
+
const prefixJsonInnerByteLengths = [0];
|
|
121509
|
+
for (const unit of units) prefixJsonInnerByteLengths.push((prefixJsonInnerByteLengths.at(-1) ?? 0) + jsonStringInnerByteLength(unit));
|
|
121510
|
+
return {
|
|
121511
|
+
fullValue: value,
|
|
121512
|
+
prefixJsonInnerByteLengths,
|
|
121513
|
+
stateIndex: 0,
|
|
121514
|
+
states: buildCellStates(value, units, prefixJsonInnerByteLengths),
|
|
121515
|
+
units
|
|
121516
|
+
};
|
|
121517
|
+
}
|
|
121518
|
+
function rowByteLengthFromPlans(cellPlans) {
|
|
121519
|
+
return EMPTY_JSON_ARRAY_BYTE_LENGTH + Math.max(0, cellPlans.length - 1) + cellPlans.reduce((totalBytes, cellPlan) => totalBytes + (currentCellState(cellPlan)?.bytes ?? EMPTY_JSON_STRING_BYTE_LENGTH), 0);
|
|
121520
|
+
}
|
|
121521
|
+
function minimalRowByteLength(cellCount) {
|
|
121522
|
+
return EMPTY_JSON_ARRAY_BYTE_LENGTH + Math.max(0, cellCount - 1) + cellCount * EMPTY_JSON_STRING_BYTE_LENGTH;
|
|
121523
|
+
}
|
|
121524
|
+
function buildNextShrink(cellPlan) {
|
|
121525
|
+
const currentState = currentCellState(cellPlan);
|
|
121526
|
+
const nextState = cellPlan.states[cellPlan.stateIndex + 1];
|
|
121527
|
+
if (currentState === void 0 || nextState === void 0) return null;
|
|
121528
|
+
return {
|
|
121529
|
+
bytesSaved: currentState.bytes - nextState.bytes,
|
|
121530
|
+
nextStateIndex: cellPlan.stateIndex + 1
|
|
121531
|
+
};
|
|
121532
|
+
}
|
|
121533
|
+
function materializeCell(cellPlan) {
|
|
121534
|
+
const currentState = currentCellState(cellPlan);
|
|
121535
|
+
if (currentState === void 0) return "";
|
|
121536
|
+
switch (currentState.kind) {
|
|
121537
|
+
case "empty": return "";
|
|
121538
|
+
case "dots": return ".".repeat(currentState.displayChars);
|
|
121539
|
+
case "full": return cellPlan.fullValue;
|
|
121540
|
+
case "truncated": return `${cellPlan.units.slice(0, currentState.retainedChars).join("")}${ELLIPSIS}`;
|
|
121541
|
+
}
|
|
121542
|
+
}
|
|
121543
|
+
function materializeTruncatedValue(value, units, maxChars) {
|
|
121544
|
+
if (maxChars <= 0) return "";
|
|
121545
|
+
if (units.length <= maxChars) return value;
|
|
121546
|
+
if (maxChars <= ELLIPSIS_CHAR_COUNT) return ".".repeat(maxChars);
|
|
121547
|
+
return `${units.slice(0, maxChars - ELLIPSIS_CHAR_COUNT).join("")}${ELLIPSIS}`;
|
|
121548
|
+
}
|
|
121549
|
+
function splitDisplayUnits(value) {
|
|
121550
|
+
if (displayUnitSegmenter === null) return Array.from(value);
|
|
121551
|
+
return Array.from(displayUnitSegmenter.segment(value), ({ segment }) => segment);
|
|
121552
|
+
}
|
|
121553
|
+
function jsonStringByteLength(value) {
|
|
121554
|
+
return EMPTY_JSON_STRING_BYTE_LENGTH + jsonStringInnerByteLength(value);
|
|
121555
|
+
}
|
|
121556
|
+
function jsonStringInnerByteLength(value) {
|
|
121557
|
+
return textEncoder.encode(JSON.stringify(value)).length - EMPTY_JSON_STRING_BYTE_LENGTH;
|
|
121558
|
+
}
|
|
121559
|
+
function buildCellStates(value, units, prefixJsonInnerByteLengths) {
|
|
121560
|
+
const candidateStates = [{
|
|
121561
|
+
bytes: jsonStringByteLength(value),
|
|
121562
|
+
displayChars: units.length,
|
|
121563
|
+
kind: "full",
|
|
121564
|
+
retainedChars: units.length
|
|
121565
|
+
}];
|
|
121566
|
+
for (let retainedChars = Math.max(units.length - ELLIPSIS_CHAR_COUNT, 0); retainedChars >= 1; retainedChars -= 1) candidateStates.push({
|
|
121567
|
+
bytes: EMPTY_JSON_STRING_BYTE_LENGTH + (prefixJsonInnerByteLengths[retainedChars] ?? 0) + 3,
|
|
121568
|
+
displayChars: retainedChars + ELLIPSIS_CHAR_COUNT,
|
|
121569
|
+
kind: "truncated",
|
|
121570
|
+
retainedChars
|
|
121571
|
+
});
|
|
121572
|
+
for (let dotCount = Math.min(ELLIPSIS_CHAR_COUNT, units.length); dotCount >= 1; dotCount -= 1) candidateStates.push({
|
|
121573
|
+
bytes: EMPTY_JSON_STRING_BYTE_LENGTH + dotCount,
|
|
121574
|
+
displayChars: dotCount,
|
|
121575
|
+
kind: "dots",
|
|
121576
|
+
retainedChars: 0
|
|
121577
|
+
});
|
|
121578
|
+
candidateStates.push({
|
|
121579
|
+
bytes: EMPTY_JSON_STRING_BYTE_LENGTH,
|
|
121580
|
+
displayChars: 0,
|
|
121581
|
+
kind: "empty",
|
|
121582
|
+
retainedChars: 0
|
|
121583
|
+
});
|
|
121584
|
+
const states = [];
|
|
121585
|
+
for (const candidateState of candidateStates) {
|
|
121586
|
+
const previousState = states.at(-1);
|
|
121587
|
+
if (previousState === void 0 || candidateState.bytes < previousState.bytes) states.push(candidateState);
|
|
121588
|
+
}
|
|
121589
|
+
return states;
|
|
121590
|
+
}
|
|
121591
|
+
function currentCellState(cellPlan) {
|
|
121592
|
+
return cellPlan.states[cellPlan.stateIndex];
|
|
121471
121593
|
}
|
|
121472
121594
|
//#endregion
|
|
121473
121595
|
//#region packages/cli-server/src/connect/service/errors.ts
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/IconX-BQkA009b.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/audit-BW0d65Q4.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/badge-C1_ZMBRy.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/card-Bsy6azfK.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/dist-DAhKd1f7.js
RENAMED
|
File without changes
|
|
File without changes
|
/package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/empty-COnWCwda.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/home-DsMx_Yb9.js
RENAMED
|
File without changes
|
|
File without changes
|
/package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/index-e4SV9LPn.js
RENAMED
|
File without changes
|
/package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/input-CG_cIxvO.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/label-CWOhoN_L.js
RENAMED
|
File without changes
|
/package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/link-Cgvqhh5w.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/src-DCIPwIx0.js
RENAMED
|
File without changes
|
/package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/table-DCvfJyLS.js
RENAMED
|
File without changes
|
/package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/team-Bc87hpLk.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/utils-C8DGLIgm.js
RENAMED
|
File without changes
|
|
File without changes
|
/package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/zod-D58ea2dv.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|