@runa-ai/runa-cli 0.7.0 → 0.7.2
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-V66FAQXB.js → build-HQMSVN6N.js} +3 -3
- package/dist/{check-LOMVIRHX.js → check-PCSQPYDM.js} +2 -2
- package/dist/{chunk-QM53IQHM.js → chunk-2QX7T24B.js} +1 -1
- package/dist/{chunk-XDCHRVE3.js → chunk-4XHZQRRK.js} +2 -2
- package/dist/{chunk-7B5C6U2K.js → chunk-A6A7JIRD.js} +35 -2
- package/dist/{chunk-Z4Z5DNW4.js → chunk-B3POLMII.js} +12 -0
- package/dist/chunk-CKRLVEIO.js +119 -0
- package/dist/{chunk-HD74F6W2.js → chunk-FWMGC5FP.js} +1 -0
- package/dist/{chunk-H2AHNI75.js → chunk-LCK2LGVR.js} +1 -1
- package/dist/{chunk-FHG3ILE4.js → chunk-OBYZDT2E.js} +38 -8
- package/dist/{chunk-AIP6MR42.js → chunk-PMXE5XOJ.js} +1 -1
- package/dist/{chunk-VM3IWOT5.js → chunk-QSEF4T3Y.js} +13 -5
- package/dist/{chunk-NPSRD26F.js → chunk-UHDAYPHH.js} +1 -1
- package/dist/{chunk-2APB25TT.js → chunk-VSH3IXDQ.js} +7 -3
- package/dist/{chunk-644FVGIQ.js → chunk-WPMR7RQ4.js} +9 -2
- package/dist/chunk-XVNDDHAF.js +65 -0
- package/dist/{risk-detector-plpgsql-HWKS4OLR.js → chunk-Y5ANTCKE.js} +3 -412
- package/dist/{chunk-SGJG3BKD.js → chunk-Z7A4BEWF.js} +1 -1
- package/dist/{ci-ZWRVWNFX.js → ci-Z4525QW6.js} +3095 -709
- package/dist/{cli-2JNBJUBB.js → cli-Q2XIQDRS.js} +72 -54
- package/dist/commands/ci/commands/ci-prod-db-operations.d.ts +6 -4
- package/dist/commands/ci/commands/ci-prod-types.d.ts +3 -0
- package/dist/commands/ci/commands/ci-prod-workflow.d.ts +1 -1
- package/dist/commands/ci/commands/ci-resolvers.d.ts +1 -1
- package/dist/commands/ci/commands/ci-supabase-local.d.ts +4 -0
- package/dist/commands/ci/machine/actors/build/build-and-playwright.d.ts +1 -1
- package/dist/commands/ci/machine/actors/db/collect-schema-stats.d.ts +15 -2
- package/dist/commands/ci/machine/actors/db/production-preview.d.ts +32 -4
- package/dist/commands/ci/machine/actors/db/schema-canonical-diff.d.ts +30 -1
- package/dist/commands/ci/machine/actors/db/sync-schema.d.ts +1 -0
- package/dist/commands/ci/machine/actors/finalize/index.d.ts +0 -1
- package/dist/commands/ci/machine/actors/index.d.ts +1 -1
- package/dist/commands/ci/machine/actors/setup/local.d.ts +2 -0
- package/dist/commands/ci/machine/actors/setup/pr-common.d.ts +3 -0
- package/dist/commands/ci/machine/actors/setup/pr-local.d.ts +2 -0
- package/dist/commands/ci/machine/commands/machine-runner.d.ts +6 -0
- package/dist/commands/ci/machine/commands/step-telemetry.d.ts +16 -0
- package/dist/commands/ci/machine/contract.d.ts +40 -0
- package/dist/commands/ci/machine/formatters/github-comment-types.d.ts +7 -2
- package/dist/commands/ci/machine/formatters/github-comment.d.ts +2 -1
- package/dist/commands/ci/machine/formatters/sections/final-comment.d.ts +2 -1
- package/dist/commands/ci/machine/formatters/sections/index.d.ts +1 -1
- package/dist/commands/ci/machine/formatters/sections/production-schema-status.d.ts +30 -0
- package/dist/commands/ci/machine/formatters/summary.d.ts +4 -4
- package/dist/commands/ci/machine/guards.d.ts +4 -0
- package/dist/commands/ci/machine/helpers.d.ts +33 -0
- package/dist/commands/ci/machine/machine-state-helpers.d.ts +1 -1
- package/dist/commands/ci/machine/machine.d.ts +71 -11
- package/dist/commands/ci/machine/types.d.ts +9 -0
- package/dist/commands/ci/utils/ci-diagnostics.d.ts +67 -0
- package/dist/commands/ci/utils/ci-summary.d.ts +118 -0
- package/dist/commands/ci/utils/db-url-utils.d.ts +4 -77
- package/dist/commands/ci/utils/github-api.d.ts +14 -0
- package/dist/commands/db/apply/contract.d.ts +73 -0
- package/dist/commands/db/apply/helpers/alter-statement-parsers.d.ts +95 -0
- package/dist/commands/db/apply/helpers/data-compatibility-checker.d.ts +0 -61
- package/dist/commands/db/apply/helpers/function-plan-false-positive-filter.d.ts +36 -0
- package/dist/commands/db/apply/helpers/hazard-handler.d.ts +4 -4
- package/dist/commands/db/apply/helpers/index.d.ts +14 -5
- package/dist/commands/db/apply/helpers/partition-acl-cleaner.d.ts +3 -1
- package/dist/commands/db/apply/helpers/pg-schema-diff-helpers.d.ts +69 -6
- package/dist/commands/db/apply/helpers/plan-ast.d.ts +56 -0
- package/dist/commands/db/apply/helpers/plan-check-filter.d.ts +26 -0
- package/dist/commands/db/apply/helpers/plan-drop-protection.d.ts +43 -0
- package/dist/commands/db/apply/helpers/plan-ordering.d.ts +6 -0
- package/dist/commands/db/apply/helpers/plan-statement-parser.d.ts +39 -0
- package/dist/commands/db/apply/helpers/plan-validator.d.ts +8 -40
- package/dist/commands/db/apply/helpers/retry-logic.d.ts +1 -10
- package/dist/commands/db/apply/helpers/temp-db-bootstrap.d.ts +18 -0
- package/dist/commands/db/apply/helpers/temp-db-dsn.d.ts +14 -0
- package/dist/commands/db/apply/machine.d.ts +56 -32
- package/dist/commands/db/commands/db-apply-error.d.ts +5 -0
- package/dist/commands/db/commands/db-apply.d.ts +2 -0
- package/dist/commands/db/commands/db-sync/directory-placement-check.d.ts +4 -0
- package/dist/commands/db/commands/db-sync/error-classifier.d.ts +1 -1
- package/dist/commands/db/commands/db-sync/plan-boundary-reconciliation.d.ts +3 -0
- package/dist/commands/db/commands/db-sync/precheck-helpers.d.ts +18 -0
- package/dist/commands/db/commands/db-sync/production-precheck.d.ts +15 -0
- package/dist/commands/db/commands/db-sync/risk-scan-collectors.d.ts +11 -0
- package/dist/commands/db/commands/db-sync.d.ts +11 -5
- package/dist/commands/db/sync/contract.d.ts +80 -0
- package/dist/commands/db/sync/machine.d.ts +60 -1
- package/dist/commands/db/types.d.ts +5 -0
- package/dist/commands/db/utils/boundary-policy/rule-compiler.d.ts +2 -1
- package/dist/commands/db/utils/boundary-policy/types.d.ts +21 -0
- package/dist/commands/db/utils/boundary-policy-runtime.d.ts +12 -3
- package/dist/commands/db/utils/boundary-policy.d.ts +1 -1
- package/dist/commands/db/utils/db-target.d.ts +5 -3
- package/dist/commands/db/utils/declarative-dependency-collectors.d.ts +6 -0
- package/dist/commands/db/utils/declarative-dependency-contract.d.ts +78 -0
- package/dist/commands/db/utils/declarative-dependency-sql-utils.d.ts +49 -0
- package/dist/commands/db/utils/declarative-dependency-warning-governance.d.ts +24 -0
- package/dist/commands/db/utils/preflight-check.d.ts +1 -1
- package/dist/commands/db/utils/preflight-checks/declarative-dependency-checks.d.ts +4 -0
- package/dist/commands/db/utils/preflight-checks/idempotent-risk-checks.d.ts +4 -0
- package/dist/commands/db/utils/preflight-checks/schema-boundary-checks.d.ts +4 -0
- package/dist/commands/db/utils/preflight-checks/schema-risk-policy.d.ts +4 -0
- package/dist/commands/db/utils/preflight-checks/supabase-checks.d.ts +12 -0
- package/dist/commands/db/utils/psql.d.ts +23 -0
- package/dist/commands/db/utils/sql-table-extractor.d.ts +42 -1
- package/dist/commands/env/commands/setup/types.d.ts +1 -0
- package/dist/commands/env/constants/local-supabase.d.ts +4 -1
- package/dist/commands/observability.d.ts +72 -0
- package/dist/commands/observability.helpers.d.ts +25 -0
- package/dist/commands/template-check/commands/template-check.d.ts +1 -0
- package/dist/commands/template-check/contract.d.ts +4 -3
- package/dist/commands/template-check/machine.d.ts +1 -1
- package/dist/commands/workflow/commands/deploy-production.d.ts +0 -1
- package/dist/constants/versions.d.ts +1 -1
- package/dist/{db-XULCILOU.js → db-BPQ2TEQM.js} +14618 -11273
- package/dist/{dev-5YXNPTCJ.js → dev-MLRKIP7F.js} +5 -5
- package/dist/{doctor-MZLOA53G.js → doctor-ROSWSMLH.js} +2 -2
- package/dist/{env-SS66PZ4B.js → env-WNHJVLOT.js} +37 -20
- package/dist/{env-HMMRSYCI.js → env-XPPACZM4.js} +2 -2
- package/dist/{env-files-2UIUYLLR.js → env-files-HRNUGZ5O.js} +1 -1
- package/dist/{error-handler-HEXBRNVV.js → error-handler-YRQWRDEF.js} +17 -0
- package/dist/{hotfix-YA3DGLOM.js → hotfix-Z5EGVSMH.js} +4 -4
- package/dist/index.js +4 -4
- package/dist/{init-ZIL6LRFO.js → init-S2ATHLJ6.js} +1 -1
- package/dist/{inject-test-attrs-P44BVTQS.js → inject-test-attrs-XN4I2AOR.js} +2 -2
- package/dist/internal/machines/index.d.ts +1 -1
- package/dist/internal/machines/snapshot-helpers.d.ts +6 -0
- package/dist/{manifest-TMFLESHW.js → manifest-EGCAZ4TK.js} +1 -1
- package/dist/observability-CJA5UFIC.js +721 -0
- package/dist/{risk-detector-4U6ZJ2G5.js → risk-detector-VO5HJR4R.js} +1 -1
- package/dist/{risk-detector-core-TK4OAI3N.js → risk-detector-core-7WZJZ5ZI.js} +61 -3
- package/dist/risk-detector-plpgsql-ULV7NLDB.js +638 -0
- package/dist/{template-check-3P4HZXVY.js → template-check-BDFMT6ZO.js} +23 -6
- package/dist/{upgrade-NUK3ZBCL.js → upgrade-BDUWBRT5.js} +1 -1
- package/dist/utils/db-url-utils.d.ts +81 -0
- package/dist/validators/risk-detector-plpgsql.d.ts +3 -1
- package/dist/{vuln-check-2W7N5TA2.js → vuln-check-66RXX3TO.js} +1 -1
- package/dist/{vuln-checker-IQJ56RUV.js → vuln-checker-FFOGOJPT.js} +1 -1
- package/dist/{watch-PNTKZYFB.js → watch-ITYW57SL.js} +1 -1
- package/dist/{workflow-H75N4BXX.js → workflow-UZIZ2JUS.js} +2 -3
- package/package.json +3 -3
- package/dist/chunk-IBVVGH6X.js +0 -33
- package/dist/chunk-KWX3JHCY.js +0 -85
- package/dist/commands/ci/machine/actors/finalize/summary.d.ts +0 -32
|
@@ -22,7 +22,48 @@
|
|
|
22
22
|
* For full SQL parsing, use pg_catalog queries (see introspectColumns).
|
|
23
23
|
*/
|
|
24
24
|
import type { ForeignKeyDefinition, TableEntry } from '@runa-ai/runa/manifests';
|
|
25
|
-
|
|
25
|
+
interface SqlParserUtils {
|
|
26
|
+
isSqlParserAvailable(): Promise<boolean>;
|
|
27
|
+
parseSchemaDocument(sqlContent: string): Promise<{
|
|
28
|
+
tables: Array<{
|
|
29
|
+
schema: string;
|
|
30
|
+
name: string;
|
|
31
|
+
qualifiedName: string;
|
|
32
|
+
lineNumber?: number;
|
|
33
|
+
columns: Array<{
|
|
34
|
+
name: string;
|
|
35
|
+
type: string;
|
|
36
|
+
notNull: boolean;
|
|
37
|
+
hasDefault: boolean;
|
|
38
|
+
isPrimaryKey: boolean;
|
|
39
|
+
}>;
|
|
40
|
+
primaryKey?: string[];
|
|
41
|
+
foreignKeys: Array<{
|
|
42
|
+
column: string;
|
|
43
|
+
referencesTable: string;
|
|
44
|
+
referencesColumn: string;
|
|
45
|
+
onDelete?: 'CASCADE' | 'SET NULL' | 'SET DEFAULT' | 'RESTRICT' | 'NO ACTION';
|
|
46
|
+
onUpdate?: 'CASCADE' | 'SET NULL' | 'SET DEFAULT' | 'RESTRICT' | 'NO ACTION';
|
|
47
|
+
}>;
|
|
48
|
+
indexes: Array<{
|
|
49
|
+
name: string;
|
|
50
|
+
columns: string[];
|
|
51
|
+
isUnique: boolean;
|
|
52
|
+
}>;
|
|
53
|
+
}>;
|
|
54
|
+
policies: Array<{
|
|
55
|
+
schema: string;
|
|
56
|
+
table: string;
|
|
57
|
+
name: string;
|
|
58
|
+
for: 'select' | 'insert' | 'update' | 'delete' | 'all';
|
|
59
|
+
using?: string;
|
|
60
|
+
withCheck?: string;
|
|
61
|
+
}>;
|
|
62
|
+
}>;
|
|
63
|
+
parseCreateTables(sqlContent: string): Promise<unknown>;
|
|
64
|
+
parseIndexesForTables(sqlContent: string, tables: unknown[]): Promise<void>;
|
|
65
|
+
parseCreatePolicies(sqlContent: string): Promise<unknown>;
|
|
66
|
+
}
|
|
26
67
|
/**
|
|
27
68
|
* Get SQL parser utilities (requires AST to be available)
|
|
28
69
|
*/
|
|
@@ -17,6 +17,9 @@ export interface SupabaseConfig {
|
|
|
17
17
|
db: number;
|
|
18
18
|
studio: number;
|
|
19
19
|
}
|
|
20
|
+
export interface DetectLocalSupabasePortsOptions {
|
|
21
|
+
skipStatusDetection?: boolean;
|
|
22
|
+
}
|
|
20
23
|
/** @internal Exported for testing */
|
|
21
24
|
export declare function parseTomlPort(content: string, section: string, key: string): number | null;
|
|
22
25
|
/**
|
|
@@ -28,7 +31,7 @@ export declare function parseTomlPort(content: string, section: string, key: str
|
|
|
28
31
|
* 3. `supabase/config.toml` [api].port and [db].port
|
|
29
32
|
* 4. defaults
|
|
30
33
|
*/
|
|
31
|
-
export declare function detectLocalSupabasePorts(projectRoot?: string): SupabaseConfig;
|
|
34
|
+
export declare function detectLocalSupabasePorts(projectRoot?: string, options?: DetectLocalSupabasePortsOptions): SupabaseConfig;
|
|
32
35
|
/** @internal Exported for tests */
|
|
33
36
|
export declare function clearLocalSupabaseDetectionCache(): void;
|
|
34
37
|
/**
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { Command } from 'commander';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
export declare const ObservabilityStatusInputSchema: z.ZodObject<{
|
|
4
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
5
|
+
}, z.core.$strict>;
|
|
6
|
+
export declare const ObservabilityStatusOutputSchema: z.ZodObject<{
|
|
7
|
+
ready: z.ZodBoolean;
|
|
8
|
+
targetDir: z.ZodString;
|
|
9
|
+
checks: z.ZodArray<z.ZodObject<{
|
|
10
|
+
name: z.ZodString;
|
|
11
|
+
status: z.ZodEnum<{
|
|
12
|
+
ok: "ok";
|
|
13
|
+
error: "error";
|
|
14
|
+
warning: "warning";
|
|
15
|
+
}>;
|
|
16
|
+
message: z.ZodString;
|
|
17
|
+
}, z.core.$strip>>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
export declare const ObservabilityEnableInputSchema: z.ZodObject<{
|
|
20
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
21
|
+
check: z.ZodOptional<z.ZodBoolean>;
|
|
22
|
+
skipFunctionDeploy: z.ZodOptional<z.ZodBoolean>;
|
|
23
|
+
}, z.core.$strict>;
|
|
24
|
+
export declare const ObservabilityEnableOutputSchema: z.ZodObject<{
|
|
25
|
+
targetDir: z.ZodString;
|
|
26
|
+
checks: z.ZodArray<z.ZodObject<{
|
|
27
|
+
name: z.ZodString;
|
|
28
|
+
status: z.ZodEnum<{
|
|
29
|
+
ok: "ok";
|
|
30
|
+
error: "error";
|
|
31
|
+
warning: "warning";
|
|
32
|
+
}>;
|
|
33
|
+
message: z.ZodString;
|
|
34
|
+
}, z.core.$strip>>;
|
|
35
|
+
dbSyncApplied: z.ZodBoolean;
|
|
36
|
+
functionSecretSynced: z.ZodBoolean;
|
|
37
|
+
functionsDeployed: z.ZodArray<z.ZodString>;
|
|
38
|
+
skippedFunctions: z.ZodArray<z.ZodString>;
|
|
39
|
+
linkedProjectDetected: z.ZodBoolean;
|
|
40
|
+
}, z.core.$strip>;
|
|
41
|
+
export declare const ObservabilityEmitTestEventInputSchema: z.ZodObject<{
|
|
42
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
43
|
+
accessToken: z.ZodOptional<z.ZodString>;
|
|
44
|
+
functionSecret: z.ZodOptional<z.ZodString>;
|
|
45
|
+
scopeKey: z.ZodOptional<z.ZodString>;
|
|
46
|
+
serviceName: z.ZodOptional<z.ZodString>;
|
|
47
|
+
environment: z.ZodOptional<z.ZodString>;
|
|
48
|
+
}, z.core.$strict>;
|
|
49
|
+
export declare const ObservabilityEmitTestEventOutputSchema: z.ZodObject<{
|
|
50
|
+
eventId: z.ZodString;
|
|
51
|
+
issueId: z.ZodNullable<z.ZodString>;
|
|
52
|
+
resolvedScopeKey: z.ZodString;
|
|
53
|
+
}, z.core.$strip>;
|
|
54
|
+
export declare const ObservabilityDispatchInputSchema: z.ZodObject<{
|
|
55
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
56
|
+
accessToken: z.ZodOptional<z.ZodString>;
|
|
57
|
+
functionSecret: z.ZodOptional<z.ZodString>;
|
|
58
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
59
|
+
}, z.core.$strict>;
|
|
60
|
+
export declare const ObservabilityDispatchOutputSchema: z.ZodObject<{
|
|
61
|
+
processed: z.ZodNumber;
|
|
62
|
+
delivered: z.ZodNumber;
|
|
63
|
+
failed: z.ZodNumber;
|
|
64
|
+
}, z.core.$strip>;
|
|
65
|
+
export declare const observabilityStatusCommand: Command;
|
|
66
|
+
export declare const observabilityCheckCommand: Command;
|
|
67
|
+
export declare const observabilityDoctorCommand: Command;
|
|
68
|
+
export declare const observabilityEnableCommand: Command;
|
|
69
|
+
export declare const observabilityEmitTestEventCommand: Command;
|
|
70
|
+
export declare const observabilityDispatchCommand: Command;
|
|
71
|
+
export declare const observabilityCommand: Command;
|
|
72
|
+
//# sourceMappingURL=observability.d.ts.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface ObservabilityStatusItem {
|
|
2
|
+
name: string;
|
|
3
|
+
status: 'ok' | 'warning' | 'error';
|
|
4
|
+
message: string;
|
|
5
|
+
}
|
|
6
|
+
interface ObservabilityFunctionSecretSyncMarker {
|
|
7
|
+
version: 1;
|
|
8
|
+
projectRef: string;
|
|
9
|
+
secretHash: string;
|
|
10
|
+
syncedAt: string;
|
|
11
|
+
}
|
|
12
|
+
export declare function detectSupabaseProjectLink(targetDir: string): boolean;
|
|
13
|
+
export declare function resolveSupabaseProjectRef(targetDir: string): string | null;
|
|
14
|
+
export declare function hashObservabilityFunctionSecret(secret: string): string;
|
|
15
|
+
export declare function readObservabilityFunctionSecretSyncMarker(targetDir: string): ObservabilityFunctionSecretSyncMarker | null;
|
|
16
|
+
export declare function writeObservabilityFunctionSecretSyncMarker(targetDir: string, input: {
|
|
17
|
+
projectRef: string;
|
|
18
|
+
secret: string;
|
|
19
|
+
}): void;
|
|
20
|
+
export declare function buildObservabilityChecks(targetDir: string): ObservabilityStatusItem[];
|
|
21
|
+
export declare function isBlockingObservabilityCheck(check: ObservabilityStatusItem): boolean;
|
|
22
|
+
export declare function getObservabilityEnableBlockingChecks(targetDir: string, checks: ObservabilityStatusItem[]): ObservabilityStatusItem[];
|
|
23
|
+
export declare function isObservabilityReady(checks: ObservabilityStatusItem[]): boolean;
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=observability.helpers.d.ts.map
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* - runa template-check --verbose # Show all files including identical
|
|
10
10
|
* - runa template-check --diff # Show unified diff for differences
|
|
11
11
|
* - runa template-check --category rules # Filter by category
|
|
12
|
+
* - runa template-check --path <file> # Restrict to specific paths
|
|
12
13
|
* - runa template-check --json # Output as JSON (for CI)
|
|
13
14
|
* - runa template-check --quiet # Only summary + actions (for pre-commit)
|
|
14
15
|
*/
|
|
@@ -17,6 +17,7 @@ export declare const SyncCheckInputSchema: z.ZodObject<{
|
|
|
17
17
|
verbose: z.ZodDefault<z.ZodBoolean>;
|
|
18
18
|
diff: z.ZodDefault<z.ZodBoolean>;
|
|
19
19
|
category: z.ZodOptional<z.ZodString>;
|
|
20
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
20
21
|
json: z.ZodDefault<z.ZodBoolean>;
|
|
21
22
|
targetDir: z.ZodOptional<z.ZodString>;
|
|
22
23
|
quiet: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -54,12 +55,12 @@ export declare const FileCategorySchema: z.ZodEnum<{
|
|
|
54
55
|
rules: "rules";
|
|
55
56
|
workflows: "workflows";
|
|
56
57
|
config: "config";
|
|
58
|
+
other: "other";
|
|
57
59
|
agents: "agents";
|
|
58
60
|
skills: "skills";
|
|
59
61
|
commands: "commands";
|
|
60
62
|
prompts: "prompts";
|
|
61
63
|
"root-docs": "root-docs";
|
|
62
|
-
other: "other";
|
|
63
64
|
}>;
|
|
64
65
|
export type FileCategory = z.infer<typeof FileCategorySchema>;
|
|
65
66
|
/**
|
|
@@ -73,12 +74,12 @@ export declare const ComparisonResultSchema: z.ZodObject<{
|
|
|
73
74
|
rules: "rules";
|
|
74
75
|
workflows: "workflows";
|
|
75
76
|
config: "config";
|
|
77
|
+
other: "other";
|
|
76
78
|
agents: "agents";
|
|
77
79
|
skills: "skills";
|
|
78
80
|
commands: "commands";
|
|
79
81
|
prompts: "prompts";
|
|
80
82
|
"root-docs": "root-docs";
|
|
81
|
-
other: "other";
|
|
82
83
|
}>;
|
|
83
84
|
status: z.ZodEnum<{
|
|
84
85
|
diff: "diff";
|
|
@@ -127,12 +128,12 @@ export declare const SyncCheckOutputSchema: z.ZodObject<{
|
|
|
127
128
|
rules: "rules";
|
|
128
129
|
workflows: "workflows";
|
|
129
130
|
config: "config";
|
|
131
|
+
other: "other";
|
|
130
132
|
agents: "agents";
|
|
131
133
|
skills: "skills";
|
|
132
134
|
commands: "commands";
|
|
133
135
|
prompts: "prompts";
|
|
134
136
|
"root-docs": "root-docs";
|
|
135
|
-
other: "other";
|
|
136
137
|
}>;
|
|
137
138
|
status: z.ZodEnum<{
|
|
138
139
|
diff: "diff";
|
|
@@ -46,7 +46,7 @@ export declare const syncCheckMachine: import("xstate").StateMachine<SyncCheckCo
|
|
|
46
46
|
results: {
|
|
47
47
|
runaPath: string | null;
|
|
48
48
|
templatePath: string | null;
|
|
49
|
-
category: "database" | "rules" | "workflows" | "config" | "agents" | "skills" | "commands" | "prompts" | "root-docs"
|
|
49
|
+
category: "database" | "rules" | "workflows" | "config" | "other" | "agents" | "skills" | "commands" | "prompts" | "root-docs";
|
|
50
50
|
status: "diff" | "identical" | "renamed" | "runa-only" | "template-only" | "expected-runa-only" | "expected-template-only" | "intentionally-different";
|
|
51
51
|
ahead?: "runa" | "template" | "diverged" | "equal" | undefined;
|
|
52
52
|
lineDiff?: string | undefined;
|
|
@@ -4,7 +4,6 @@ import { Command } from 'commander';
|
|
|
4
4
|
*
|
|
5
5
|
* PRD Naming Convention:
|
|
6
6
|
* - GH_DATABASE_URL_ADMIN = postgres role (DDL capable, for schema deployment)
|
|
7
|
-
* - GH_DATABASE_URL = drizzle_app role (app runtime)
|
|
8
7
|
*/
|
|
9
8
|
export declare const deployProductionCommand: Command;
|
|
10
9
|
//# sourceMappingURL=deploy-production.d.ts.map
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
*
|
|
21
21
|
* Sync strategy: Keep this in sync with packages/runa-templates/package.json version.
|
|
22
22
|
*/
|
|
23
|
-
export declare const COMPATIBLE_TEMPLATES_VERSION = "0.
|
|
23
|
+
export declare const COMPATIBLE_TEMPLATES_VERSION = "0.7.2";
|
|
24
24
|
/**
|
|
25
25
|
* Templates package name on GitHub Packages.
|
|
26
26
|
* Published to npm.pkg.github.com (requires NODE_AUTH_TOKEN).
|