@runa-ai/runa-cli 0.10.2 → 0.10.4
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/{build-P2A6345N.js → build-C65G2QQE.js} +3 -2
- package/dist/{chunk-UHDAYPHH.js → chunk-47BG6DRP.js} +1 -1
- package/dist/chunk-AYYHYZU7.js +3636 -0
- package/dist/{chunk-MAFJAA2P.js → chunk-C3SRIUWX.js} +1 -1
- package/dist/{chunk-QSEF4T3Y.js → chunk-F2AQ3EYJ.js} +10 -199
- package/dist/chunk-NOXYPVMZ.js +204 -0
- package/dist/{chunk-LCJNIHZY.js → chunk-OUMW5LKJ.js} +4745 -7689
- package/dist/{chunk-IR7SA2ME.js → chunk-WIT46HVC.js} +1 -1
- package/dist/{chunk-XFXGFUAM.js → chunk-XVGMGFKF.js} +1 -1
- package/dist/{chunk-WGRVAGSR.js → chunk-ZDETCPCE.js} +2 -2
- package/dist/{ci-6XYG7XNX.js → ci-Q4PLRFPB.js} +11 -9
- package/dist/{cli-2XL3VESS.js → cli-LS2THG3F.js} +12 -12
- package/dist/commands/db/apply/helpers/plan-check-filter.d.ts +1 -1
- package/dist/commands/db/sync/schema-guardrail-graph.d.ts +2 -0
- package/dist/commands/db/sync/schema-guardrail-rewrite.d.ts +8 -0
- package/dist/commands/db/sync/schema-guardrail-types.d.ts +2 -2
- package/dist/commands/db/utils/function-acl-manifest.d.ts +39 -0
- package/dist/{db-4AGPISOW.js → db-MB3LQIGI.js} +226 -166
- package/dist/{dev-QR55VDNZ.js → dev-N3BFJZ7F.js} +3 -2
- package/dist/{env-KYR6Q7WO.js → env-2XM45E7O.js} +4 -3
- package/dist/{env-XPPACZM4.js → env-KIMSQSPS.js} +3 -2
- package/dist/helpers-PDT3WQNF.js +15 -0
- package/dist/{hotfix-JYHDY2M6.js → hotfix-QP5J6FCD.js} +4 -3
- package/dist/index.js +3 -3
- package/dist/local-supabase-KTTC3O2L.js +8 -0
- package/dist/{risk-detector-GDDLISVE.js → risk-detector-4D5HRUMY.js} +1 -1
- package/dist/{risk-detector-core-YI3M6INI.js → risk-detector-core-CHUY6M5N.js} +1 -1
- package/dist/{vuln-check-LMDYYJUE.js → vuln-check-JSPRI5ZY.js} +1 -1
- package/dist/{vuln-checker-NHXLNZRM.js → vuln-checker-H3VJY5WX.js} +1 -1
- package/dist/{watch-4RHXVCQ3.js → watch-VQQHKDNQ.js} +1 -1
- package/package.json +1 -1
- package/dist/{risk-detector-plpgsql-4GWEQXUG.js → risk-detector-plpgsql-NNUZU3OQ.js} +1 -1
|
@@ -4,16 +4,17 @@ import { startAppBackground, waitForAppReady, detectApp } from './chunk-EXR4J2JT
|
|
|
4
4
|
import { writeEnvLocalBridge } from './chunk-KUH3G522.js';
|
|
5
5
|
import { generateTablesManifest } from './chunk-O3M7A73M.js';
|
|
6
6
|
import './chunk-A6A7JIRD.js';
|
|
7
|
-
import { manifestActor, supabaseStartActor, envCheckActor, depsInstallActor, detectManifestTask, detectDatabase } from './chunk-
|
|
7
|
+
import { manifestActor, supabaseStartActor, envCheckActor, depsInstallActor, detectManifestTask, detectDatabase } from './chunk-C3SRIUWX.js';
|
|
8
8
|
import { findRepoRoot } from './chunk-3WDV32GA.js';
|
|
9
9
|
import './chunk-ELXXQIGW.js';
|
|
10
10
|
import { createMachineStateChangeLogger } from './chunk-5FT3F36G.js';
|
|
11
11
|
import './chunk-II7VYQEM.js';
|
|
12
|
-
import
|
|
12
|
+
import './chunk-NOXYPVMZ.js';
|
|
13
13
|
import { secureExeca } from './chunk-RZLYEO4U.js';
|
|
14
14
|
import { emitJsonSuccess } from './chunk-KE6QJBZG.js';
|
|
15
15
|
import './chunk-WJXC4MVY.js';
|
|
16
16
|
import './chunk-HKUWEGUX.js';
|
|
17
|
+
import { init_local_supabase, buildLocalDatabaseUrl, detectLocalSupabasePorts } from './chunk-F2AQ3EYJ.js';
|
|
17
18
|
import './chunk-OERS32LW.js';
|
|
18
19
|
import './chunk-GT5DMS5R.js';
|
|
19
20
|
import { init_esm_shims } from './chunk-VRXHCR5K.js';
|
|
@@ -2,17 +2,18 @@
|
|
|
2
2
|
import { createRequire } from 'module';
|
|
3
3
|
import { isNonInteractiveEnabled } from './chunk-6Y3LAUGL.js';
|
|
4
4
|
import { registerCleanup } from './chunk-TYIAD6SB.js';
|
|
5
|
-
import { tryResolveDatabaseUrl } from './chunk-
|
|
6
|
-
import './chunk-
|
|
5
|
+
import { tryResolveDatabaseUrl } from './chunk-ZDETCPCE.js';
|
|
6
|
+
import './chunk-47BG6DRP.js';
|
|
7
7
|
import { loadEnvFiles } from './chunk-IWVXI5O4.js';
|
|
8
8
|
import { getVercelRootDirectory } from './chunk-MXRWBNIY.js';
|
|
9
9
|
import { syncRunaConfigWithVercel } from './chunk-6AALH2ED.js';
|
|
10
10
|
import './chunk-B7C7CLW2.js';
|
|
11
11
|
import './chunk-II7VYQEM.js';
|
|
12
|
-
import
|
|
12
|
+
import './chunk-NOXYPVMZ.js';
|
|
13
13
|
import { emitJsonSuccess } from './chunk-KE6QJBZG.js';
|
|
14
14
|
import './chunk-WJXC4MVY.js';
|
|
15
15
|
import './chunk-HKUWEGUX.js';
|
|
16
|
+
import { init_local_supabase, getLocalSupabaseEnvValues, getLocalValueDescriptions } from './chunk-F2AQ3EYJ.js';
|
|
16
17
|
import './chunk-GT5DMS5R.js';
|
|
17
18
|
import { init_esm_shims } from './chunk-VRXHCR5K.js';
|
|
18
19
|
import { Command } from 'commander';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'module';
|
|
3
|
-
export { env, getDatabaseUrl, hasEnv, isCI, isDebug, sanitizeEnv } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
export { env, getDatabaseUrl, hasEnv, isCI, isDebug, sanitizeEnv } from './chunk-47BG6DRP.js';
|
|
4
|
+
import './chunk-NOXYPVMZ.js';
|
|
5
|
+
import './chunk-F2AQ3EYJ.js';
|
|
5
6
|
import './chunk-VRXHCR5K.js';
|
|
6
7
|
|
|
7
8
|
createRequire(import.meta.url);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { createRequire } from 'module';
|
|
3
|
+
export { ALLOWED_DDL_PREFIXES, BASE_DELAY_MS, BLOCKED_SQL_PATTERNS, DEFAULT_MAX_DELAY_MS, DbPlanArtifactSchema, MAX_RETRIES, MIGRATION_LOCK_ID, acquireAdvisoryLock, backupIdempotentTables, bootstrapTempDbFromSource, buildAllowedHazards, buildCheckConstraintQuery, buildCheckModePlanSummary, buildNotNullQuery, buildTargetFingerprint, buildTempDbBootstrapStatements, buildTypeCastQuery, buildUniqueQuery, calculateBackoffDelay, checkDataCompatibility, checkPasswordSecurity, cleanPartitionAclsForPgSchemaDiff, cleanupOrphanShadowDatabases, createShadowDbWithExtensions, detectPartitionDrift, detectPlannerSchemas, displayCheckModeResults, displayDataCompatibilityResults, displayHazardsWithContext, executePlanSqlWithRetry, filterCheckModePlanStatements, filterFalsePositiveHazards, filterIdempotentProtectedStatements, formatPartitionWarnings, getDbPlanArtifactPath, getIdempotentProtectedObjects, getIdempotentProtectedTables, getIdempotentRoles, getTableRowEstimates, getTransactionStrategy, handleFreshDbCase, handleHazardsWithContext, handleProductionAuthzProtection, handleProductionDataProtection, hasAppTables, hasTransactionIncompatibleContent, hasTransactionIncompatibleStatements, isDropStatementForProtectedObject, isIdempotentManagedAuthzStatement, isIdempotentManagedRlsStatement, isIdempotentRoleHazard, isLockTimeoutError, isNoChangePlanOutput, isValidIdentifier, maskDbCredentials, needsShadowDb, parseAddCheck, parseAddUnique, parseAlterType, parseCreateUniqueIndex, parseDbCredentials, parseExpectedPartitions, parseHazardsWithContext, parsePlanOutput, parseSetNotNull, persistDbPlanArtifact, prefilterPartitionStubs, qualifiedTable, queryActualPartitions, quoteIdent, releaseAdvisoryLock, reorderRawSqlDependencies, resetIdempotentRolesCache, resetManagedAuthzCache, setRolePasswords, sleep, stripLeadingSessionStatements, tryReuseDbPlanArtifact, validateDependencyOrder, validateDependencyOrderFromRawSql, validatePlanForExecution, validateStatementTypes, verifyDataIntegrity, wrapInTransaction } from './chunk-OUMW5LKJ.js';
|
|
4
|
+
import './chunk-EZ46JIEO.js';
|
|
5
|
+
import './chunk-ZDETCPCE.js';
|
|
6
|
+
export { PG_SCHEMA_DIFF_APPLY_TIMEOUT_MS, detectDropTableStatements, detectPartitionPrivilegeError, executePgSchemaDiffPlan, formatPartitionPrivilegeHint, freeConnectionSlotsForPgSchemaDiff, startConnectionCleanupDaemon, stopConnectionCleanupDaemon, verifyDatabaseConnection, verifyPgSchemaDiffBinary } from './chunk-HWR5NUUZ.js';
|
|
7
|
+
import './chunk-47BG6DRP.js';
|
|
8
|
+
export { blankDollarQuotedBodies } from './chunk-A6A7JIRD.js';
|
|
9
|
+
import './chunk-WIT46HVC.js';
|
|
10
|
+
import './chunk-II7VYQEM.js';
|
|
11
|
+
import './chunk-NOXYPVMZ.js';
|
|
12
|
+
import './chunk-F2AQ3EYJ.js';
|
|
13
|
+
import './chunk-VRXHCR5K.js';
|
|
14
|
+
|
|
15
|
+
createRequire(import.meta.url);
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'module';
|
|
3
3
|
import { createError } from './chunk-NIS77243.js';
|
|
4
|
-
import { tryResolveDatabaseUrl } from './chunk-
|
|
5
|
-
import './chunk-
|
|
4
|
+
import { tryResolveDatabaseUrl } from './chunk-ZDETCPCE.js';
|
|
5
|
+
import './chunk-47BG6DRP.js';
|
|
6
6
|
import { loadEnvFiles } from './chunk-IWVXI5O4.js';
|
|
7
7
|
import { isPathContained } from './chunk-B7C7CLW2.js';
|
|
8
8
|
import './chunk-II7VYQEM.js';
|
|
9
|
-
import './chunk-
|
|
9
|
+
import './chunk-NOXYPVMZ.js';
|
|
10
|
+
import './chunk-F2AQ3EYJ.js';
|
|
10
11
|
import './chunk-GT5DMS5R.js';
|
|
11
12
|
import { init_esm_shims } from './chunk-VRXHCR5K.js';
|
|
12
13
|
import { Command } from 'commander';
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'module';
|
|
3
3
|
import { getRequestedCommandNameFromArgv } from './chunk-UWWSAPDR.js';
|
|
4
|
-
import { CLI_VERSION } from './chunk-
|
|
4
|
+
import { CLI_VERSION } from './chunk-WIT46HVC.js';
|
|
5
5
|
import { init_esm_shims } from './chunk-VRXHCR5K.js';
|
|
6
6
|
import { realpathSync } from 'fs';
|
|
7
7
|
import { fileURLToPath } from 'url';
|
|
@@ -36,7 +36,7 @@ async function getProgram(options) {
|
|
|
36
36
|
};
|
|
37
37
|
const nextKey = getProgramCacheKey(resolvedOptions);
|
|
38
38
|
if (!programInstance || programCacheKey !== nextKey) {
|
|
39
|
-
const { createProgram } = await import('./cli-
|
|
39
|
+
const { createProgram } = await import('./cli-LS2THG3F.js');
|
|
40
40
|
programInstance = await createProgram(resolvedOptions);
|
|
41
41
|
programCacheKey = nextKey;
|
|
42
42
|
}
|
|
@@ -60,7 +60,7 @@ async function runCliFromProcessArgv() {
|
|
|
60
60
|
return;
|
|
61
61
|
}
|
|
62
62
|
const { setupSignalHandlers } = await import('./signal-handler-DO3OANW5.js');
|
|
63
|
-
const { executeProgram } = await import('./cli-
|
|
63
|
+
const { executeProgram } = await import('./cli-LS2THG3F.js');
|
|
64
64
|
setupSignalHandlers();
|
|
65
65
|
const options = getProgramLoadOptions(argv);
|
|
66
66
|
const program = await getProgram(options);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { createRequire } from 'module';
|
|
3
|
+
import { init_local_supabase } from './chunk-F2AQ3EYJ.js';
|
|
4
|
+
export { LOCAL_DATABASE_URL, LOCAL_REPLACEMENT_KEYS, LOCAL_SUPABASE_ANON_KEY, LOCAL_SUPABASE_ENV_VALUES, LOCAL_SUPABASE_SERVICE_ROLE_KEY, LOCAL_SUPABASE_URL, LOCAL_VALUE_DESCRIPTIONS, buildLocalDatabaseUrl, buildLocalSupabaseUrl, clearLocalSupabaseDetectionCache, detectLocalSupabasePorts, getLocalSupabaseEnvValues, getLocalValueDescriptions, parseTomlPort, validateLocalhostValues } from './chunk-F2AQ3EYJ.js';
|
|
5
|
+
import './chunk-VRXHCR5K.js';
|
|
6
|
+
|
|
7
|
+
createRequire(import.meta.url);
|
|
8
|
+
init_local_supabase();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'module';
|
|
3
|
-
export { categorizeRisks, detectSchemaRisks } from './chunk-
|
|
3
|
+
export { categorizeRisks, detectSchemaRisks } from './chunk-XVGMGFKF.js';
|
|
4
4
|
import './chunk-VRXHCR5K.js';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
@@ -54,7 +54,7 @@ var UNQUALIFIED_EXTENSION_REFERENCE_PATTERNS = [
|
|
|
54
54
|
var plpgsqlModulePromise = null;
|
|
55
55
|
async function loadPlpgsqlRiskDetectorModule() {
|
|
56
56
|
if (!plpgsqlModulePromise) {
|
|
57
|
-
plpgsqlModulePromise = import('./risk-detector-plpgsql-
|
|
57
|
+
plpgsqlModulePromise = import('./risk-detector-plpgsql-NNUZU3OQ.js').catch((error) => {
|
|
58
58
|
plpgsqlModulePromise = null;
|
|
59
59
|
throw error;
|
|
60
60
|
});
|
|
@@ -71,7 +71,7 @@ var vulnCheckCommand = new Command("vuln-check").description("Run comprehensive
|
|
|
71
71
|
const logger = createCLILogger("vuln-check");
|
|
72
72
|
const isJsonMode = getOutputFormatFromEnv() === "json" || options.format === "json";
|
|
73
73
|
try {
|
|
74
|
-
const { VulnChecker } = await import('./vuln-checker-
|
|
74
|
+
const { VulnChecker } = await import('./vuln-checker-H3VJY5WX.js');
|
|
75
75
|
const categoryMap = {
|
|
76
76
|
code: ["injection", "auth", "crypto"],
|
|
77
77
|
deps: ["dependency"],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'module';
|
|
3
|
-
import { CLI_VERSION } from './chunk-
|
|
3
|
+
import { CLI_VERSION } from './chunk-WIT46HVC.js';
|
|
4
4
|
import { init_esm_shims } from './chunk-VRXHCR5K.js';
|
|
5
5
|
import { glob } from 'glob';
|
|
6
6
|
import { exec } from 'child_process';
|
|
@@ -284,7 +284,7 @@ function validateSqlSchema(content, errors, warnings) {
|
|
|
284
284
|
var riskDetectorLoader = null;
|
|
285
285
|
function loadRiskDetectorModule() {
|
|
286
286
|
if (!riskDetectorLoader) {
|
|
287
|
-
riskDetectorLoader = import('./risk-detector-
|
|
287
|
+
riskDetectorLoader = import('./risk-detector-4D5HRUMY.js').then((module) => ({
|
|
288
288
|
detectSchemaRisks: module.detectSchemaRisks
|
|
289
289
|
})).catch((error) => {
|
|
290
290
|
riskDetectorLoader = null;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'module';
|
|
3
|
-
import { splitPlpgsqlStatementsWithOffsets, parseTopLevelAssignment, extractExecuteExpressions, skipWhitespace, extractStaticSqlFromExpression, mergeStringEnvValue, skipIdentifier } from './chunk-EZ46JIEO.js';
|
|
4
3
|
import { stripSqlCommentsPreserveLines, buildLineStarts, lineNumberFromIndex, stripSqlStringsPreserveLines, detectRisksFromContent, stripSqlForPatternMatching } from './chunk-3FDQW524.js';
|
|
4
|
+
import { splitPlpgsqlStatementsWithOffsets, parseTopLevelAssignment, extractExecuteExpressions, skipWhitespace, extractStaticSqlFromExpression, mergeStringEnvValue, skipIdentifier } from './chunk-EZ46JIEO.js';
|
|
5
5
|
import { init_esm_shims } from './chunk-VRXHCR5K.js';
|
|
6
6
|
|
|
7
7
|
createRequire(import.meta.url);
|