everything-dev 1.51.7 → 1.52.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/api-contract.cjs +61 -16
- package/dist/api-contract.cjs.map +1 -1
- package/dist/api-contract.mjs +60 -17
- package/dist/api-contract.mjs.map +1 -1
- package/dist/app.cjs +1 -1
- package/dist/app.cjs.map +1 -1
- package/dist/app.mjs +1 -1
- package/dist/app.mjs.map +1 -1
- package/dist/cli/init.cjs +76 -52
- package/dist/cli/init.cjs.map +1 -1
- package/dist/cli/init.d.cts +15 -7
- package/dist/cli/init.d.cts.map +1 -1
- package/dist/cli/init.d.mts +15 -7
- package/dist/cli/init.d.mts.map +1 -1
- package/dist/cli/init.mjs +70 -47
- package/dist/cli/init.mjs.map +1 -1
- package/dist/cli/sync.cjs +34 -5
- package/dist/cli/sync.cjs.map +1 -1
- package/dist/cli/sync.mjs +35 -6
- package/dist/cli/sync.mjs.map +1 -1
- package/dist/cli/upgrade.cjs +151 -93
- package/dist/cli/upgrade.cjs.map +1 -1
- package/dist/cli/upgrade.mjs +138 -80
- package/dist/cli/upgrade.mjs.map +1 -1
- package/dist/cli/utils/helpers.cjs +25 -0
- package/dist/cli/utils/helpers.cjs.map +1 -0
- package/dist/cli/utils/helpers.mjs +23 -0
- package/dist/cli/utils/helpers.mjs.map +1 -0
- package/dist/cli.cjs +84 -72
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.mjs +84 -72
- package/dist/cli.mjs.map +1 -1
- package/dist/code-artifacts.cjs +1 -1
- package/dist/code-artifacts.mjs +1 -1
- package/dist/config.cjs +44 -4
- package/dist/config.cjs.map +1 -1
- package/dist/config.d.cts +1 -1
- package/dist/config.d.cts.map +1 -1
- package/dist/config.d.mts +1 -1
- package/dist/config.d.mts.map +1 -1
- package/dist/config.mjs +44 -4
- package/dist/config.mjs.map +1 -1
- package/dist/contract.cjs +9 -4
- package/dist/contract.cjs.map +1 -1
- package/dist/contract.d.cts +34 -24
- package/dist/contract.d.cts.map +1 -1
- package/dist/contract.d.mts +34 -24
- package/dist/contract.d.mts.map +1 -1
- package/dist/contract.meta.cjs +2 -1
- package/dist/contract.meta.cjs.map +1 -1
- package/dist/contract.meta.d.cts +3 -0
- package/dist/contract.meta.d.mts +3 -0
- package/dist/contract.meta.mjs +2 -1
- package/dist/contract.meta.mjs.map +1 -1
- package/dist/contract.mjs +9 -4
- package/dist/contract.mjs.map +1 -1
- package/dist/dag.cjs +176 -0
- package/dist/dag.cjs.map +1 -0
- package/dist/dag.d.cts +24 -0
- package/dist/dag.d.cts.map +1 -0
- package/dist/dag.d.mts +24 -0
- package/dist/dag.d.mts.map +1 -0
- package/dist/dag.mjs +167 -0
- package/dist/dag.mjs.map +1 -0
- package/dist/index.cjs +2 -0
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +2 -2
- package/dist/infra/planner.cjs +1 -1
- package/dist/infra/planner.mjs +1 -1
- package/dist/near-cli.cjs +1 -1
- package/dist/near-cli.mjs +1 -1
- package/dist/plugin.cjs +27 -18
- package/dist/plugin.cjs.map +1 -1
- package/dist/plugin.d.cts +57 -11
- package/dist/plugin.d.mts +57 -11
- package/dist/plugin.mjs +28 -19
- package/dist/plugin.mjs.map +1 -1
- package/dist/types.cjs +41 -6
- package/dist/types.cjs.map +1 -1
- package/dist/types.d.cts +118 -3
- package/dist/types.d.cts.map +1 -1
- package/dist/types.d.mts +118 -3
- package/dist/types.d.mts.map +1 -1
- package/dist/types.mjs +40 -7
- package/dist/types.mjs.map +1 -1
- package/package.json +6 -1
package/dist/contract.d.cts
CHANGED
|
@@ -34,8 +34,8 @@ declare const DevOptionsSchema: z.ZodObject<{
|
|
|
34
34
|
}, z.core.$strip>;
|
|
35
35
|
declare const DevResultSchema: z.ZodObject<{
|
|
36
36
|
status: z.ZodEnum<{
|
|
37
|
-
started: "started";
|
|
38
37
|
error: "error";
|
|
38
|
+
started: "started";
|
|
39
39
|
}>;
|
|
40
40
|
description: z.ZodString;
|
|
41
41
|
processes: z.ZodArray<z.ZodString>;
|
|
@@ -125,6 +125,7 @@ declare const ConfigResultSchema: z.ZodObject<{
|
|
|
125
125
|
version: z.ZodOptional<z.ZodString>;
|
|
126
126
|
app: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
127
127
|
plugins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
128
|
+
dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
128
129
|
}, z.core.$strip>]>>>;
|
|
129
130
|
app: z.ZodObject<{
|
|
130
131
|
host: z.ZodObject<{
|
|
@@ -375,20 +376,20 @@ declare const KeyPublishResultSchema: z.ZodObject<{
|
|
|
375
376
|
error: z.ZodOptional<z.ZodString>;
|
|
376
377
|
}, z.core.$strip>;
|
|
377
378
|
declare const OverrideSectionSchema: z.ZodEnum<{
|
|
378
|
-
|
|
379
|
+
plugins: "plugins";
|
|
379
380
|
ui: "ui";
|
|
380
381
|
api: "api";
|
|
381
|
-
|
|
382
|
+
host: "host";
|
|
382
383
|
}>;
|
|
383
384
|
declare const RuntimeOverrideTargetBaseSchema: z.ZodEnum<{
|
|
385
|
+
plugins: "plugins";
|
|
384
386
|
ui: "ui";
|
|
385
387
|
api: "api";
|
|
386
|
-
plugins: "plugins";
|
|
387
388
|
}>;
|
|
388
389
|
declare const RuntimeOverrideTargetSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
390
|
+
plugins: "plugins";
|
|
389
391
|
ui: "ui";
|
|
390
392
|
api: "api";
|
|
391
|
-
plugins: "plugins";
|
|
392
393
|
}>, z.ZodString]>;
|
|
393
394
|
declare const InitOptionsSchema: z.ZodObject<{
|
|
394
395
|
extends: z.ZodOptional<z.ZodString>;
|
|
@@ -398,10 +399,10 @@ declare const InitOptionsSchema: z.ZodObject<{
|
|
|
398
399
|
source: z.ZodOptional<z.ZodString>;
|
|
399
400
|
plugins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
400
401
|
overrides: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
401
|
-
|
|
402
|
+
plugins: "plugins";
|
|
402
403
|
ui: "ui";
|
|
403
404
|
api: "api";
|
|
404
|
-
|
|
405
|
+
host: "host";
|
|
405
406
|
}>>>;
|
|
406
407
|
noInteractive: z.ZodDefault<z.ZodBoolean>;
|
|
407
408
|
noInstall: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -418,10 +419,10 @@ declare const InitResultSchema: z.ZodObject<{
|
|
|
418
419
|
extends: z.ZodString;
|
|
419
420
|
plugins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
420
421
|
overrides: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
421
|
-
|
|
422
|
+
plugins: "plugins";
|
|
422
423
|
ui: "ui";
|
|
423
424
|
api: "api";
|
|
424
|
-
|
|
425
|
+
host: "host";
|
|
425
426
|
}>>>;
|
|
426
427
|
filesCopied: z.ZodNumber;
|
|
427
428
|
timings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -434,6 +435,7 @@ declare const InitResultSchema: z.ZodObject<{
|
|
|
434
435
|
declare const SyncOptionsSchema: z.ZodObject<{
|
|
435
436
|
dryRun: z.ZodDefault<z.ZodBoolean>;
|
|
436
437
|
noInstall: z.ZodDefault<z.ZodBoolean>;
|
|
438
|
+
json: z.ZodDefault<z.ZodBoolean>;
|
|
437
439
|
}, z.core.$strip>;
|
|
438
440
|
declare const SyncResultSchema: z.ZodObject<{
|
|
439
441
|
status: z.ZodEnum<{
|
|
@@ -444,12 +446,16 @@ declare const SyncResultSchema: z.ZodObject<{
|
|
|
444
446
|
updated: z.ZodArray<z.ZodString>;
|
|
445
447
|
skipped: z.ZodArray<z.ZodString>;
|
|
446
448
|
added: z.ZodArray<z.ZodString>;
|
|
449
|
+
conflicted: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
450
|
+
backupDir: z.ZodOptional<z.ZodString>;
|
|
447
451
|
error: z.ZodOptional<z.ZodString>;
|
|
448
452
|
}, z.core.$strip>;
|
|
449
453
|
declare const UpgradeOptionsSchema: z.ZodObject<{
|
|
450
454
|
dryRun: z.ZodDefault<z.ZodBoolean>;
|
|
451
455
|
noInstall: z.ZodDefault<z.ZodBoolean>;
|
|
452
456
|
noSync: z.ZodDefault<z.ZodBoolean>;
|
|
457
|
+
json: z.ZodDefault<z.ZodBoolean>;
|
|
458
|
+
migrationsOnly: z.ZodDefault<z.ZodBoolean>;
|
|
453
459
|
}, z.core.$strip>;
|
|
454
460
|
declare const UpgradeResultSchema: z.ZodObject<{
|
|
455
461
|
status: z.ZodEnum<{
|
|
@@ -471,6 +477,8 @@ declare const UpgradeResultSchema: z.ZodObject<{
|
|
|
471
477
|
updated: z.ZodArray<z.ZodString>;
|
|
472
478
|
skipped: z.ZodArray<z.ZodString>;
|
|
473
479
|
added: z.ZodArray<z.ZodString>;
|
|
480
|
+
conflicted: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
481
|
+
backupDir: z.ZodOptional<z.ZodString>;
|
|
474
482
|
error: z.ZodOptional<z.ZodString>;
|
|
475
483
|
}, z.core.$strip>>;
|
|
476
484
|
migrated: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -509,10 +517,11 @@ declare const StatusResultSchema: z.ZodObject<{
|
|
|
509
517
|
}, z.core.$strip>;
|
|
510
518
|
declare const TypesGenOptionsSchema: z.ZodObject<{
|
|
511
519
|
env: z.ZodOptional<z.ZodEnum<{
|
|
512
|
-
production: "production";
|
|
513
520
|
development: "development";
|
|
521
|
+
production: "production";
|
|
514
522
|
}>>;
|
|
515
523
|
dryRun: z.ZodDefault<z.ZodBoolean>;
|
|
524
|
+
remotePlugins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
516
525
|
}, z.core.$strip>;
|
|
517
526
|
declare const TypesGenResultSchema: z.ZodObject<{
|
|
518
527
|
status: z.ZodEnum<{
|
|
@@ -523,10 +532,6 @@ declare const TypesGenResultSchema: z.ZodObject<{
|
|
|
523
532
|
fetched: z.ZodArray<z.ZodString>;
|
|
524
533
|
skipped: z.ZodArray<z.ZodString>;
|
|
525
534
|
failed: z.ZodArray<z.ZodString>;
|
|
526
|
-
source: z.ZodOptional<z.ZodEnum<{
|
|
527
|
-
local: "local";
|
|
528
|
-
remote: "remote";
|
|
529
|
-
}>>;
|
|
530
535
|
error: z.ZodOptional<z.ZodString>;
|
|
531
536
|
}, z.core.$strip>;
|
|
532
537
|
declare const DbStudioOptionsSchema: z.ZodObject<{
|
|
@@ -696,8 +701,8 @@ declare const bosContract: {
|
|
|
696
701
|
interactive: z.ZodOptional<z.ZodBoolean>;
|
|
697
702
|
}, z.core.$strip>, z.ZodObject<{
|
|
698
703
|
status: z.ZodEnum<{
|
|
699
|
-
started: "started";
|
|
700
704
|
error: "error";
|
|
705
|
+
started: "started";
|
|
701
706
|
}>;
|
|
702
707
|
description: z.ZodString;
|
|
703
708
|
processes: z.ZodArray<z.ZodString>;
|
|
@@ -784,6 +789,7 @@ declare const bosContract: {
|
|
|
784
789
|
version: z.ZodOptional<z.ZodString>;
|
|
785
790
|
app: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
786
791
|
plugins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
792
|
+
dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
787
793
|
}, z.core.$strip>]>>>;
|
|
788
794
|
app: z.ZodObject<{
|
|
789
795
|
host: z.ZodObject<{
|
|
@@ -1022,10 +1028,10 @@ declare const bosContract: {
|
|
|
1022
1028
|
source: z.ZodOptional<z.ZodString>;
|
|
1023
1029
|
plugins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1024
1030
|
overrides: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1025
|
-
|
|
1031
|
+
plugins: "plugins";
|
|
1026
1032
|
ui: "ui";
|
|
1027
1033
|
api: "api";
|
|
1028
|
-
|
|
1034
|
+
host: "host";
|
|
1029
1035
|
}>>>;
|
|
1030
1036
|
noInteractive: z.ZodDefault<z.ZodBoolean>;
|
|
1031
1037
|
noInstall: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1041,10 +1047,10 @@ declare const bosContract: {
|
|
|
1041
1047
|
extends: z.ZodString;
|
|
1042
1048
|
plugins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1043
1049
|
overrides: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1044
|
-
|
|
1050
|
+
plugins: "plugins";
|
|
1045
1051
|
ui: "ui";
|
|
1046
1052
|
api: "api";
|
|
1047
|
-
|
|
1053
|
+
host: "host";
|
|
1048
1054
|
}>>>;
|
|
1049
1055
|
filesCopied: z.ZodNumber;
|
|
1050
1056
|
timings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1057,6 +1063,7 @@ declare const bosContract: {
|
|
|
1057
1063
|
sync: import("@orpc/contract").ContractProcedure<z.ZodObject<{
|
|
1058
1064
|
dryRun: z.ZodDefault<z.ZodBoolean>;
|
|
1059
1065
|
noInstall: z.ZodDefault<z.ZodBoolean>;
|
|
1066
|
+
json: z.ZodDefault<z.ZodBoolean>;
|
|
1060
1067
|
}, z.core.$strip>, z.ZodObject<{
|
|
1061
1068
|
status: z.ZodEnum<{
|
|
1062
1069
|
error: "error";
|
|
@@ -1066,12 +1073,16 @@ declare const bosContract: {
|
|
|
1066
1073
|
updated: z.ZodArray<z.ZodString>;
|
|
1067
1074
|
skipped: z.ZodArray<z.ZodString>;
|
|
1068
1075
|
added: z.ZodArray<z.ZodString>;
|
|
1076
|
+
conflicted: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1077
|
+
backupDir: z.ZodOptional<z.ZodString>;
|
|
1069
1078
|
error: z.ZodOptional<z.ZodString>;
|
|
1070
1079
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
|
|
1071
1080
|
upgrade: import("@orpc/contract").ContractProcedure<z.ZodObject<{
|
|
1072
1081
|
dryRun: z.ZodDefault<z.ZodBoolean>;
|
|
1073
1082
|
noInstall: z.ZodDefault<z.ZodBoolean>;
|
|
1074
1083
|
noSync: z.ZodDefault<z.ZodBoolean>;
|
|
1084
|
+
json: z.ZodDefault<z.ZodBoolean>;
|
|
1085
|
+
migrationsOnly: z.ZodDefault<z.ZodBoolean>;
|
|
1075
1086
|
}, z.core.$strip>, z.ZodObject<{
|
|
1076
1087
|
status: z.ZodEnum<{
|
|
1077
1088
|
error: "error";
|
|
@@ -1092,6 +1103,8 @@ declare const bosContract: {
|
|
|
1092
1103
|
updated: z.ZodArray<z.ZodString>;
|
|
1093
1104
|
skipped: z.ZodArray<z.ZodString>;
|
|
1094
1105
|
added: z.ZodArray<z.ZodString>;
|
|
1106
|
+
conflicted: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1107
|
+
backupDir: z.ZodOptional<z.ZodString>;
|
|
1095
1108
|
error: z.ZodOptional<z.ZodString>;
|
|
1096
1109
|
}, z.core.$strip>>;
|
|
1097
1110
|
migrated: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1130,10 +1143,11 @@ declare const bosContract: {
|
|
|
1130
1143
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
|
|
1131
1144
|
typesGen: import("@orpc/contract").ContractProcedure<z.ZodObject<{
|
|
1132
1145
|
env: z.ZodOptional<z.ZodEnum<{
|
|
1133
|
-
production: "production";
|
|
1134
1146
|
development: "development";
|
|
1147
|
+
production: "production";
|
|
1135
1148
|
}>>;
|
|
1136
1149
|
dryRun: z.ZodDefault<z.ZodBoolean>;
|
|
1150
|
+
remotePlugins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1137
1151
|
}, z.core.$strip>, z.ZodObject<{
|
|
1138
1152
|
status: z.ZodEnum<{
|
|
1139
1153
|
success: "success";
|
|
@@ -1143,10 +1157,6 @@ declare const bosContract: {
|
|
|
1143
1157
|
fetched: z.ZodArray<z.ZodString>;
|
|
1144
1158
|
skipped: z.ZodArray<z.ZodString>;
|
|
1145
1159
|
failed: z.ZodArray<z.ZodString>;
|
|
1146
|
-
source: z.ZodOptional<z.ZodEnum<{
|
|
1147
|
-
local: "local";
|
|
1148
|
-
remote: "remote";
|
|
1149
|
-
}>>;
|
|
1150
1160
|
error: z.ZodOptional<z.ZodString>;
|
|
1151
1161
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
|
|
1152
1162
|
dbStudio: import("@orpc/contract").ContractProcedure<z.ZodObject<{
|
package/dist/contract.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract.d.cts","names":[],"sources":["../src/contract.ts"],"mappings":";;;cAIa,mBAAiB,EAAA;;;GAG5B,EAAA,KAAA;cAEW,kBAAgB,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GAc3B,EAAA,KAAA;cAEW,iBAAe,EAAA;;;;;;;;;;;GAK1B,EAAA,KAAA;cAEW,oBAAkB,EAAA;;;;;;;;;GAM7B,EAAA,KAAA;cAEW,mBAAiB,EAAA;;;;;;;GAI5B,EAAA,KAAA;cAEW,oBAAkB,EAAA;;;;GAI7B,EAAA,KAAA;cAEW,mBAAiB,EAAA;;;;;;;;GAK5B,EAAA,KAAA;cAEW,qBAAmB,EAAA;;GAE9B,EAAA,KAAA;cAEW,oBAAkB,EAAA;uDAAlB
|
|
1
|
+
{"version":3,"file":"contract.d.cts","names":[],"sources":["../src/contract.ts"],"mappings":";;;cAIa,mBAAiB,EAAA;;;GAG5B,EAAA,KAAA;cAEW,kBAAgB,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GAc3B,EAAA,KAAA;cAEW,iBAAe,EAAA;;;;;;;;;;;GAK1B,EAAA,KAAA;cAEW,oBAAkB,EAAA;;;;;;;;;GA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iB,EAAE,aAAa;KAChC,gBAAgB,EAAE,aAAa;KAC/B,eAAe,EAAE,aAAa;KAC9B,kBAAkB,EAAE,aAAa;KACjC,iBAAiB,EAAE,aAAa;KAChC,kBAAkB,EAAE,aAAa;KACjC,iBAAiB,EAAE,aAAa;KAChC,kBAAkB,EAAE,aAAa;KACjC,iBAAiB,EAAE,aAAa;KAChC,kBAAkB,EAAE,aAAa;KACjC,iBAAiB,EAAE,aAAa;KAChC,wBAAwB,EAAE,aAAa;KACvC,cAAc,EAAE,aAAa;KAC7B,WAAW,EAAE,aAAa;KAC1B,WAAW,EAAE,aAAa;KAC1B,cAAc,EAAE,aAAa;KAC7B,aAAa,EAAE,aAAa"}
|
package/dist/contract.d.mts
CHANGED
|
@@ -34,8 +34,8 @@ declare const DevOptionsSchema: z.ZodObject<{
|
|
|
34
34
|
}, z.core.$strip>;
|
|
35
35
|
declare const DevResultSchema: z.ZodObject<{
|
|
36
36
|
status: z.ZodEnum<{
|
|
37
|
-
started: "started";
|
|
38
37
|
error: "error";
|
|
38
|
+
started: "started";
|
|
39
39
|
}>;
|
|
40
40
|
description: z.ZodString;
|
|
41
41
|
processes: z.ZodArray<z.ZodString>;
|
|
@@ -125,6 +125,7 @@ declare const ConfigResultSchema: z.ZodObject<{
|
|
|
125
125
|
version: z.ZodOptional<z.ZodString>;
|
|
126
126
|
app: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
127
127
|
plugins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
128
|
+
dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
128
129
|
}, z.core.$strip>]>>>;
|
|
129
130
|
app: z.ZodObject<{
|
|
130
131
|
host: z.ZodObject<{
|
|
@@ -375,20 +376,20 @@ declare const KeyPublishResultSchema: z.ZodObject<{
|
|
|
375
376
|
error: z.ZodOptional<z.ZodString>;
|
|
376
377
|
}, z.core.$strip>;
|
|
377
378
|
declare const OverrideSectionSchema: z.ZodEnum<{
|
|
378
|
-
|
|
379
|
+
plugins: "plugins";
|
|
379
380
|
ui: "ui";
|
|
380
381
|
api: "api";
|
|
381
|
-
|
|
382
|
+
host: "host";
|
|
382
383
|
}>;
|
|
383
384
|
declare const RuntimeOverrideTargetBaseSchema: z.ZodEnum<{
|
|
385
|
+
plugins: "plugins";
|
|
384
386
|
ui: "ui";
|
|
385
387
|
api: "api";
|
|
386
|
-
plugins: "plugins";
|
|
387
388
|
}>;
|
|
388
389
|
declare const RuntimeOverrideTargetSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
390
|
+
plugins: "plugins";
|
|
389
391
|
ui: "ui";
|
|
390
392
|
api: "api";
|
|
391
|
-
plugins: "plugins";
|
|
392
393
|
}>, z.ZodString]>;
|
|
393
394
|
declare const InitOptionsSchema: z.ZodObject<{
|
|
394
395
|
extends: z.ZodOptional<z.ZodString>;
|
|
@@ -398,10 +399,10 @@ declare const InitOptionsSchema: z.ZodObject<{
|
|
|
398
399
|
source: z.ZodOptional<z.ZodString>;
|
|
399
400
|
plugins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
400
401
|
overrides: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
401
|
-
|
|
402
|
+
plugins: "plugins";
|
|
402
403
|
ui: "ui";
|
|
403
404
|
api: "api";
|
|
404
|
-
|
|
405
|
+
host: "host";
|
|
405
406
|
}>>>;
|
|
406
407
|
noInteractive: z.ZodDefault<z.ZodBoolean>;
|
|
407
408
|
noInstall: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -418,10 +419,10 @@ declare const InitResultSchema: z.ZodObject<{
|
|
|
418
419
|
extends: z.ZodString;
|
|
419
420
|
plugins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
420
421
|
overrides: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
421
|
-
|
|
422
|
+
plugins: "plugins";
|
|
422
423
|
ui: "ui";
|
|
423
424
|
api: "api";
|
|
424
|
-
|
|
425
|
+
host: "host";
|
|
425
426
|
}>>>;
|
|
426
427
|
filesCopied: z.ZodNumber;
|
|
427
428
|
timings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -434,6 +435,7 @@ declare const InitResultSchema: z.ZodObject<{
|
|
|
434
435
|
declare const SyncOptionsSchema: z.ZodObject<{
|
|
435
436
|
dryRun: z.ZodDefault<z.ZodBoolean>;
|
|
436
437
|
noInstall: z.ZodDefault<z.ZodBoolean>;
|
|
438
|
+
json: z.ZodDefault<z.ZodBoolean>;
|
|
437
439
|
}, z.core.$strip>;
|
|
438
440
|
declare const SyncResultSchema: z.ZodObject<{
|
|
439
441
|
status: z.ZodEnum<{
|
|
@@ -444,12 +446,16 @@ declare const SyncResultSchema: z.ZodObject<{
|
|
|
444
446
|
updated: z.ZodArray<z.ZodString>;
|
|
445
447
|
skipped: z.ZodArray<z.ZodString>;
|
|
446
448
|
added: z.ZodArray<z.ZodString>;
|
|
449
|
+
conflicted: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
450
|
+
backupDir: z.ZodOptional<z.ZodString>;
|
|
447
451
|
error: z.ZodOptional<z.ZodString>;
|
|
448
452
|
}, z.core.$strip>;
|
|
449
453
|
declare const UpgradeOptionsSchema: z.ZodObject<{
|
|
450
454
|
dryRun: z.ZodDefault<z.ZodBoolean>;
|
|
451
455
|
noInstall: z.ZodDefault<z.ZodBoolean>;
|
|
452
456
|
noSync: z.ZodDefault<z.ZodBoolean>;
|
|
457
|
+
json: z.ZodDefault<z.ZodBoolean>;
|
|
458
|
+
migrationsOnly: z.ZodDefault<z.ZodBoolean>;
|
|
453
459
|
}, z.core.$strip>;
|
|
454
460
|
declare const UpgradeResultSchema: z.ZodObject<{
|
|
455
461
|
status: z.ZodEnum<{
|
|
@@ -471,6 +477,8 @@ declare const UpgradeResultSchema: z.ZodObject<{
|
|
|
471
477
|
updated: z.ZodArray<z.ZodString>;
|
|
472
478
|
skipped: z.ZodArray<z.ZodString>;
|
|
473
479
|
added: z.ZodArray<z.ZodString>;
|
|
480
|
+
conflicted: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
481
|
+
backupDir: z.ZodOptional<z.ZodString>;
|
|
474
482
|
error: z.ZodOptional<z.ZodString>;
|
|
475
483
|
}, z.core.$strip>>;
|
|
476
484
|
migrated: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -509,10 +517,11 @@ declare const StatusResultSchema: z.ZodObject<{
|
|
|
509
517
|
}, z.core.$strip>;
|
|
510
518
|
declare const TypesGenOptionsSchema: z.ZodObject<{
|
|
511
519
|
env: z.ZodOptional<z.ZodEnum<{
|
|
512
|
-
production: "production";
|
|
513
520
|
development: "development";
|
|
521
|
+
production: "production";
|
|
514
522
|
}>>;
|
|
515
523
|
dryRun: z.ZodDefault<z.ZodBoolean>;
|
|
524
|
+
remotePlugins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
516
525
|
}, z.core.$strip>;
|
|
517
526
|
declare const TypesGenResultSchema: z.ZodObject<{
|
|
518
527
|
status: z.ZodEnum<{
|
|
@@ -523,10 +532,6 @@ declare const TypesGenResultSchema: z.ZodObject<{
|
|
|
523
532
|
fetched: z.ZodArray<z.ZodString>;
|
|
524
533
|
skipped: z.ZodArray<z.ZodString>;
|
|
525
534
|
failed: z.ZodArray<z.ZodString>;
|
|
526
|
-
source: z.ZodOptional<z.ZodEnum<{
|
|
527
|
-
local: "local";
|
|
528
|
-
remote: "remote";
|
|
529
|
-
}>>;
|
|
530
535
|
error: z.ZodOptional<z.ZodString>;
|
|
531
536
|
}, z.core.$strip>;
|
|
532
537
|
declare const DbStudioOptionsSchema: z.ZodObject<{
|
|
@@ -696,8 +701,8 @@ declare const bosContract: {
|
|
|
696
701
|
interactive: z.ZodOptional<z.ZodBoolean>;
|
|
697
702
|
}, z.core.$strip>, z.ZodObject<{
|
|
698
703
|
status: z.ZodEnum<{
|
|
699
|
-
started: "started";
|
|
700
704
|
error: "error";
|
|
705
|
+
started: "started";
|
|
701
706
|
}>;
|
|
702
707
|
description: z.ZodString;
|
|
703
708
|
processes: z.ZodArray<z.ZodString>;
|
|
@@ -784,6 +789,7 @@ declare const bosContract: {
|
|
|
784
789
|
version: z.ZodOptional<z.ZodString>;
|
|
785
790
|
app: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
786
791
|
plugins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
792
|
+
dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
787
793
|
}, z.core.$strip>]>>>;
|
|
788
794
|
app: z.ZodObject<{
|
|
789
795
|
host: z.ZodObject<{
|
|
@@ -1022,10 +1028,10 @@ declare const bosContract: {
|
|
|
1022
1028
|
source: z.ZodOptional<z.ZodString>;
|
|
1023
1029
|
plugins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1024
1030
|
overrides: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1025
|
-
|
|
1031
|
+
plugins: "plugins";
|
|
1026
1032
|
ui: "ui";
|
|
1027
1033
|
api: "api";
|
|
1028
|
-
|
|
1034
|
+
host: "host";
|
|
1029
1035
|
}>>>;
|
|
1030
1036
|
noInteractive: z.ZodDefault<z.ZodBoolean>;
|
|
1031
1037
|
noInstall: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1041,10 +1047,10 @@ declare const bosContract: {
|
|
|
1041
1047
|
extends: z.ZodString;
|
|
1042
1048
|
plugins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1043
1049
|
overrides: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1044
|
-
|
|
1050
|
+
plugins: "plugins";
|
|
1045
1051
|
ui: "ui";
|
|
1046
1052
|
api: "api";
|
|
1047
|
-
|
|
1053
|
+
host: "host";
|
|
1048
1054
|
}>>>;
|
|
1049
1055
|
filesCopied: z.ZodNumber;
|
|
1050
1056
|
timings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1057,6 +1063,7 @@ declare const bosContract: {
|
|
|
1057
1063
|
sync: import("@orpc/contract").ContractProcedure<z.ZodObject<{
|
|
1058
1064
|
dryRun: z.ZodDefault<z.ZodBoolean>;
|
|
1059
1065
|
noInstall: z.ZodDefault<z.ZodBoolean>;
|
|
1066
|
+
json: z.ZodDefault<z.ZodBoolean>;
|
|
1060
1067
|
}, z.core.$strip>, z.ZodObject<{
|
|
1061
1068
|
status: z.ZodEnum<{
|
|
1062
1069
|
error: "error";
|
|
@@ -1066,12 +1073,16 @@ declare const bosContract: {
|
|
|
1066
1073
|
updated: z.ZodArray<z.ZodString>;
|
|
1067
1074
|
skipped: z.ZodArray<z.ZodString>;
|
|
1068
1075
|
added: z.ZodArray<z.ZodString>;
|
|
1076
|
+
conflicted: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1077
|
+
backupDir: z.ZodOptional<z.ZodString>;
|
|
1069
1078
|
error: z.ZodOptional<z.ZodString>;
|
|
1070
1079
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
|
|
1071
1080
|
upgrade: import("@orpc/contract").ContractProcedure<z.ZodObject<{
|
|
1072
1081
|
dryRun: z.ZodDefault<z.ZodBoolean>;
|
|
1073
1082
|
noInstall: z.ZodDefault<z.ZodBoolean>;
|
|
1074
1083
|
noSync: z.ZodDefault<z.ZodBoolean>;
|
|
1084
|
+
json: z.ZodDefault<z.ZodBoolean>;
|
|
1085
|
+
migrationsOnly: z.ZodDefault<z.ZodBoolean>;
|
|
1075
1086
|
}, z.core.$strip>, z.ZodObject<{
|
|
1076
1087
|
status: z.ZodEnum<{
|
|
1077
1088
|
error: "error";
|
|
@@ -1092,6 +1103,8 @@ declare const bosContract: {
|
|
|
1092
1103
|
updated: z.ZodArray<z.ZodString>;
|
|
1093
1104
|
skipped: z.ZodArray<z.ZodString>;
|
|
1094
1105
|
added: z.ZodArray<z.ZodString>;
|
|
1106
|
+
conflicted: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1107
|
+
backupDir: z.ZodOptional<z.ZodString>;
|
|
1095
1108
|
error: z.ZodOptional<z.ZodString>;
|
|
1096
1109
|
}, z.core.$strip>>;
|
|
1097
1110
|
migrated: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1130,10 +1143,11 @@ declare const bosContract: {
|
|
|
1130
1143
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
|
|
1131
1144
|
typesGen: import("@orpc/contract").ContractProcedure<z.ZodObject<{
|
|
1132
1145
|
env: z.ZodOptional<z.ZodEnum<{
|
|
1133
|
-
production: "production";
|
|
1134
1146
|
development: "development";
|
|
1147
|
+
production: "production";
|
|
1135
1148
|
}>>;
|
|
1136
1149
|
dryRun: z.ZodDefault<z.ZodBoolean>;
|
|
1150
|
+
remotePlugins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1137
1151
|
}, z.core.$strip>, z.ZodObject<{
|
|
1138
1152
|
status: z.ZodEnum<{
|
|
1139
1153
|
success: "success";
|
|
@@ -1143,10 +1157,6 @@ declare const bosContract: {
|
|
|
1143
1157
|
fetched: z.ZodArray<z.ZodString>;
|
|
1144
1158
|
skipped: z.ZodArray<z.ZodString>;
|
|
1145
1159
|
failed: z.ZodArray<z.ZodString>;
|
|
1146
|
-
source: z.ZodOptional<z.ZodEnum<{
|
|
1147
|
-
local: "local";
|
|
1148
|
-
remote: "remote";
|
|
1149
|
-
}>>;
|
|
1150
1160
|
error: z.ZodOptional<z.ZodString>;
|
|
1151
1161
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
|
|
1152
1162
|
dbStudio: import("@orpc/contract").ContractProcedure<z.ZodObject<{
|
package/dist/contract.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract.d.mts","names":[],"sources":["../src/contract.ts"],"mappings":";;;cAIa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: "Environment: development (default) or production" },
|
|
143
|
-
dryRun: { description: "Preview what would be fetched without writing files" }
|
|
143
|
+
dryRun: { description: "Preview what would be fetched without writing files" },
|
|
144
|
+
remotePlugins: { description: "Comma-separated plugin IDs to fetch contract types remotely (e.g. --remote-plugins auth,registry)" }
|
|
144
145
|
}
|
|
145
146
|
},
|
|
146
147
|
dbStudio: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract.meta.cjs","names":[],"sources":["../src/contract.meta.ts"],"sourcesContent":["export type CliCommandMeta = {\n commandPath?: string[];\n summary: string;\n description?: string;\n examples?: string[];\n interactive?: boolean;\n longRunning?: boolean;\n fields?: Record<string, { positional?: boolean; description?: string }>;\n};\n\nexport const cliCommandMeta = {\n dev: {\n commandPath: [\"dev\"],\n summary: \"Start a development session\",\n interactive: true,\n longRunning: true,\n fields: {\n remotePlugins: {\n description:\n \"Comma-separated plugin IDs to force remote (e.g. --remote-plugins auth,registry)\",\n },\n },\n },\n start: {\n commandPath: [\"start\"],\n summary: \"Start the production host\",\n interactive: false,\n longRunning: true,\n fields: {\n env: { description: \"Environment: production or staging\" },\n },\n },\n build: {\n commandPath: [\"build\"],\n summary: \"Build selected workspaces\",\n interactive: false,\n fields: {\n packages: { positional: true, description: \"Comma-separated package list\" },\n },\n },\n config: {\n commandPath: [\"config\"],\n summary: \"Print the loaded BOS configuration\",\n interactive: false,\n fields: {\n full: { description: \"Print the fully resolved configuration\" },\n },\n },\n pluginAdd: {\n commandPath: [\"plugin\", \"add\"],\n summary: \"Add a plugin attachment\",\n interactive: false,\n fields: {\n source: {\n positional: true,\n description: \"Plugin source (local:path, bos://account/domain, or URL)\",\n },\n as: { description: \"Plugin alias\" },\n production: { description: \"Production URL override\" },\n },\n },\n pluginRemove: {\n commandPath: [\"plugin\", \"remove\"],\n summary: \"Remove a plugin attachment\",\n interactive: false,\n fields: { key: { positional: true, description: \"Plugin key\" } },\n },\n pluginList: {\n commandPath: [\"plugin\", \"list\"],\n summary: \"List configured plugins\",\n interactive: false,\n },\n pluginPublish: {\n commandPath: [\"plugin\", \"publish\"],\n summary: \"Publish a single plugin\",\n interactive: false,\n fields: { key: { positional: true, description: \"Plugin key\" } },\n },\n publish: {\n commandPath: [\"publish\"],\n summary: \"Publish the current workspace configuration\",\n interactive: false,\n fields: {\n deploy: { description: \"Build and deploy all workspaces before publish\" },\n dryRun: { description: \"Preview what would be published without writing\" },\n verbose: { description: \"Show full build output instead of clean summary\" },\n env: { description: \"Environment: production or staging\" },\n network: { description: \"NEAR network: mainnet or testnet\" },\n },\n },\n deploy: {\n commandPath: [\"deploy\"],\n summary: \"Publish config and trigger Railway redeploy\",\n interactive: false,\n fields: {\n env: { description: \"Environment: production or staging\" },\n build: { description: \"Build and deploy workspaces before publish (default: true)\" },\n dryRun: { description: \"Preview what would be deployed without writing\" },\n verbose: { description: \"Show full build output instead of clean summary\" },\n service: { description: \"Override Railway service name from config\" },\n },\n },\n keyPublish: {\n commandPath: [\"key\", \"generate\"],\n summary: \"Generate a publish access key\",\n interactive: true,\n },\n init: {\n commandPath: [\"init\"],\n summary: \"Scaffold a new project by extending a deployed app or template\",\n interactive: true,\n fields: {\n domain: {\n positional: true,\n description: \"New project domain (e.g. myapp.everything.dev)\",\n },\n extends: {\n description: \"Parent to extend from (e.g. bos://account/gateway or account/gateway)\",\n },\n account: { description: \"New project NEAR account (auto-derived from extends)\" },\n directory: { description: \"Target directory (auto-derived from domain)\" },\n source: { description: \"Local source dir (skips GitHub download)\" },\n plugins: {\n description: \"Comma-separated plugin keys to include (requires --overrides=plugins)\",\n },\n overrides: {\n description: \"Comma-separated sections to customize locally: ui,api,host,plugins\",\n },\n noInteractive: { description: \"Skip prompts, use flags only\" },\n noInstall: { description: \"Skip bun install\" },\n },\n },\n sync: {\n commandPath: [\"sync\"],\n summary: \"Sync template files from parent project\",\n interactive: false,\n fields: {\n dryRun: { description: \"Preview changes without writing files\" },\n noInstall: { description: \"Skip bun install\" },\n },\n },\n upgrade: {\n commandPath: [\"upgrade\"],\n summary: \"Upgrade framework packages and sync template files\",\n interactive: true,\n fields: {\n dryRun: { description: \"Preview changes without writing\" },\n noInstall: { description: \"Skip bun install\" },\n noSync: { description: \"Only upgrade packages, skip template sync\" },\n },\n },\n typesGen: {\n commandPath: [\"types\", \"gen\"],\n summary: \"Generate type definitions from configured API and plugin contracts\",\n interactive: false,\n fields: {\n env: { description: \"Environment: development (default) or production\" },\n dryRun: { description: \"Preview what would be fetched without writing files\" },\n },\n },\n dbStudio: {\n commandPath: [\"db\", \"studio\"],\n summary: \"Open Drizzle Studio for a plugin's database\",\n fields: {\n plugin: {\n positional: true,\n description: \"Plugin key: api, auth, or a plugin name (default: api)\",\n },\n },\n },\n dbDoctor: {\n commandPath: [\"db\", \"doctor\"],\n summary: \"Diagnose migration health for a plugin's database\",\n fields: {\n plugin: {\n positional: true,\n description: \"Plugin key: api, auth, or a plugin name\",\n },\n },\n },\n dbRepair: {\n commandPath: [\"db\", \"repair\"],\n summary: \"Reset migration history and reapply migrations for a plugin\",\n fields: {\n plugin: {\n positional: true,\n description: \"Plugin key: api, auth, or a plugin name\",\n },\n mode: {\n description: \"Repair mode: history-reset (default) or recreate (not yet supported)\",\n },\n yes: {\n description: \"Skip confirmation prompt\",\n },\n },\n },\n status: {\n commandPath: [\"status\"],\n summary: \"Show project health, versions, and update availability\",\n interactive: false,\n },\n ps: {\n commandPath: [\"ps\"],\n summary: \"List tracked development processes\",\n interactive: false,\n },\n kill: {\n commandPath: [\"kill\"],\n summary: \"Stop tracked development processes\",\n interactive: false,\n fields: {\n configDir: { description: \"Kill processes owned by a config directory (defaults to cwd)\" },\n signal: { description: \"Signal: SIGTERM (default) or SIGKILL\" },\n all: { description: \"Kill processes across all config directories\" },\n },\n },\n} as const satisfies Record<string, CliCommandMeta>;\n"],"mappings":";;;AAUA,MAAa,iBAAiB;CAC5B,KAAK;EACH,aAAa,CAAC,KAAK;EACnB,SAAS;EACT,aAAa;EACb,aAAa;EACb,QAA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AC,MAAM,QAAQ;EAC5B,SAAS;EACT,QAAQ,EACN,QAAQ;GACN,YAAY;GACZ,aAAa;EACf,EACF;CACF;CACA,UAAU;EACR,aAAa,CAAC,MAAM,QAAQ;EAC5B,SAAS;EACT,QAAQ;GACN,QAAQ;IACN,YAAY;IACZ,aAAa;GACf;GACA,MAAM,EACJ,aAAa,uEACf;GACA,KAAK,EACH,aAAa,2BACf;EACF;CACF;CACA,QAAQ;EACN,aAAa,CAAC,QAAQ;EACtB,SAAS;EACT,aAAa;CACf;CACA,IAAI;EACF,aAAa,CAAC,IAAI;EAClB,SAAS;EACT,aAAa;CACf;CACA,MAAM;EACJ,aAAa,CAAC,MAAM;EACpB,SAAS;EACT,aAAa;EACb,QAAQ;GACN,WAAW,EAAE,aAAa,+DAA+D;GACzF,QAAQ,EAAE,aAAa,uCAAuC;GAC9D,KAAK,EAAE,aAAa,+CAA+C;EACrE;CACF;AACF"}
|
|
1
|
+
{"version":3,"file":"contract.meta.cjs","names":[],"sources":["../src/contract.meta.ts"],"sourcesContent":["export type CliCommandMeta = {\n commandPath?: string[];\n summary: string;\n description?: string;\n examples?: string[];\n interactive?: boolean;\n longRunning?: boolean;\n fields?: Record<string, { positional?: boolean; description?: string }>;\n};\n\nexport const cliCommandMeta = {\n dev: {\n commandPath: [\"dev\"],\n summary: \"Start a development session\",\n interactive: true,\n longRunning: true,\n fields: {\n remotePlugins: {\n description:\n \"Comma-separated plugin IDs to force remote (e.g. --remote-plugins auth,registry)\",\n },\n },\n },\n start: {\n commandPath: [\"start\"],\n summary: \"Start the production host\",\n interactive: false,\n longRunning: true,\n fields: {\n env: { description: \"Environment: production or staging\" },\n },\n },\n build: {\n commandPath: [\"build\"],\n summary: \"Build selected workspaces\",\n interactive: false,\n fields: {\n packages: { positional: true, description: \"Comma-separated package list\" },\n },\n },\n config: {\n commandPath: [\"config\"],\n summary: \"Print the loaded BOS configuration\",\n interactive: false,\n fields: {\n full: { description: \"Print the fully resolved configuration\" },\n },\n },\n pluginAdd: {\n commandPath: [\"plugin\", \"add\"],\n summary: \"Add a plugin attachment\",\n interactive: false,\n fields: {\n source: {\n positional: true,\n description: \"Plugin source (local:path, bos://account/domain, or URL)\",\n },\n as: { description: \"Plugin alias\" },\n production: { description: \"Production URL override\" },\n },\n },\n pluginRemove: {\n commandPath: [\"plugin\", \"remove\"],\n summary: \"Remove a plugin attachment\",\n interactive: false,\n fields: { key: { positional: true, description: \"Plugin key\" } },\n },\n pluginList: {\n commandPath: [\"plugin\", \"list\"],\n summary: \"List configured plugins\",\n interactive: false,\n },\n pluginPublish: {\n commandPath: [\"plugin\", \"publish\"],\n summary: \"Publish a single plugin\",\n interactive: false,\n fields: { key: { positional: true, description: \"Plugin key\" } },\n },\n publish: {\n commandPath: [\"publish\"],\n summary: \"Publish the current workspace configuration\",\n interactive: false,\n fields: {\n deploy: { description: \"Build and deploy all workspaces before publish\" },\n dryRun: { description: \"Preview what would be published without writing\" },\n verbose: { description: \"Show full build output instead of clean summary\" },\n env: { description: \"Environment: production or staging\" },\n network: { description: \"NEAR network: mainnet or testnet\" },\n },\n },\n deploy: {\n commandPath: [\"deploy\"],\n summary: \"Publish config and trigger Railway redeploy\",\n interactive: false,\n fields: {\n env: { description: \"Environment: production or staging\" },\n build: { description: \"Build and deploy workspaces before publish (default: true)\" },\n dryRun: { description: \"Preview what would be deployed without writing\" },\n verbose: { description: \"Show full build output instead of clean summary\" },\n service: { description: \"Override Railway service name from config\" },\n },\n },\n keyPublish: {\n commandPath: [\"key\", \"generate\"],\n summary: \"Generate a publish access key\",\n interactive: true,\n },\n init: {\n commandPath: [\"init\"],\n summary: \"Scaffold a new project by extending a deployed app or template\",\n interactive: true,\n fields: {\n domain: {\n positional: true,\n description: \"New project domain (e.g. myapp.everything.dev)\",\n },\n extends: {\n description: \"Parent to extend from (e.g. bos://account/gateway or account/gateway)\",\n },\n account: { description: \"New project NEAR account (auto-derived from extends)\" },\n directory: { description: \"Target directory (auto-derived from domain)\" },\n source: { description: \"Local source dir (skips GitHub download)\" },\n plugins: {\n description: \"Comma-separated plugin keys to include (requires --overrides=plugins)\",\n },\n overrides: {\n description: \"Comma-separated sections to customize locally: ui,api,host,plugins\",\n },\n noInteractive: { description: \"Skip prompts, use flags only\" },\n noInstall: { description: \"Skip bun install\" },\n },\n },\n sync: {\n commandPath: [\"sync\"],\n summary: \"Sync template files from parent project\",\n interactive: false,\n fields: {\n dryRun: { description: \"Preview changes without writing files\" },\n noInstall: { description: \"Skip bun install\" },\n },\n },\n upgrade: {\n commandPath: [\"upgrade\"],\n summary: \"Upgrade framework packages and sync template files\",\n interactive: true,\n fields: {\n dryRun: { description: \"Preview changes without writing\" },\n noInstall: { description: \"Skip bun install\" },\n noSync: { description: \"Only upgrade packages, skip template sync\" },\n },\n },\n typesGen: {\n commandPath: [\"types\", \"gen\"],\n summary: \"Generate type definitions from configured API and plugin contracts\",\n interactive: false,\n fields: {\n env: { description: \"Environment: development (default) or production\" },\n dryRun: { description: \"Preview what would be fetched without writing files\" },\n remotePlugins: {\n description:\n \"Comma-separated plugin IDs to fetch contract types remotely (e.g. --remote-plugins auth,registry)\",\n },\n },\n },\n dbStudio: {\n commandPath: [\"db\", \"studio\"],\n summary: \"Open Drizzle Studio for a plugin's database\",\n fields: {\n plugin: {\n positional: true,\n description: \"Plugin key: api, auth, or a plugin name (default: api)\",\n },\n },\n },\n dbDoctor: {\n commandPath: [\"db\", \"doctor\"],\n summary: \"Diagnose migration health for a plugin's database\",\n fields: {\n plugin: {\n positional: true,\n description: \"Plugin key: api, auth, or a plugin name\",\n },\n },\n },\n dbRepair: {\n commandPath: [\"db\", \"repair\"],\n summary: \"Reset migration history and reapply migrations for a plugin\",\n fields: {\n plugin: {\n positional: true,\n description: \"Plugin key: api, auth, or a plugin name\",\n },\n mode: {\n description: \"Repair mode: history-reset (default) or recreate (not yet supported)\",\n },\n yes: {\n description: \"Skip confirmation prompt\",\n },\n },\n },\n status: {\n commandPath: [\"status\"],\n summary: \"Show project health, versions, and update availability\",\n interactive: false,\n },\n ps: {\n commandPath: [\"ps\"],\n summary: \"List tracked development processes\",\n interactive: false,\n },\n kill: {\n commandPath: [\"kill\"],\n summary: \"Stop tracked development processes\",\n interactive: false,\n fields: {\n configDir: { description: \"Kill processes owned by a config directory (defaults to cwd)\" },\n signal: { description: \"Signal: SIGTERM (default) or SIGKILL\" },\n all: { description: \"Kill processes across all config directories\" },\n },\n },\n} as const satisfies Record<string, CliCommandMeta>;\n"],"mappings":";;;AAUA,MAAa,iBAAiB;CAC5B,KAAK;EACH,aAAa,CAAC,KAAK;EACnB,SAAS;EACT,aAAa;EACb,aAAa;EACb,QAAQ,EACN,eAAe,EACb,aACE,mFACJ,EACF;CACF;CACA,OAAO;EACL,aAAa,CAAC,OAAO;EACrB,SAAS;EACT,aAAa;EACb,aAAa;EACb,QAAQ,EACN,KAAK,EAAE,aAAa,qCAAqC,EAC3D;CACF;CACA,OAAO;EACL,aAAa,CAAC,OAAO;EACrB,SAAS;EACT,aAAa;EACb,QAAQ,EACN,UAAU;GAAE,YAAY;GAAM,aAAa;EAA+B,EAC5E;CACF;CACA,QAAQ;EACN,aAAa,CAAC,QAAQ;EACtB,SAAS;EACT,aAAa;EACb,QAAQ,EACN,MAAM,EAAE,aAAa,yCAAyC,EAChE;CACF;CACA,WAAW;EACT,aAAa,CAAC,UAAU,KAAK;EAC7B,SAAS;EACT,aAAa;EACb,QAAQ;GACN,QAAQ;IACN,YAAY;IACZ,aAAa;GACf;GACA,IAAI,EAAE,aAAa,eAAe;GAClC,YAAY,EAAE,aAAa,0BAA0B;EACvD;CACF;CACA,cAAc;EACZ,aAAa,CAAC,UAAU,QAAQ;EAChC,SAAS;EACT,aAAa;EACb,QAAQ,EAAE,KAAK;GAAE,YAAY;GAAM,aAAa;EAAa,EAAE;CACjE;CACA,YAAY;EACV,aAAa,CAAC,UAAU,MAAM;EAC9B,SAAS;EACT,aAAa;CACf;CACA,eAAe;EACb,aAAa,CAAC,UAAU,SAAS;EACjC,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,QAAQ,EAAE,aAAa,kCAAkC;GACzD,WAAW,EAAE,aAAa,mBAAmB;GAC7C,QAAQ,EAAE,aAAa,4CAA4C;EACrE;CACF;CACA,UAAU;EACR,aAAa,CAAC,SAAS,KAAK;EAC5B,SAAS;EACT,aAAa;EACb,QAAQ;GACN,KAAK,EAAE,aAAa,mDAAmD;GACvE,QAAQ,EAAE,aAAa,sDAAsD;GAC7E,eAAe,EACb,aACE,oGACJ;EACF;CACF;CACA,UAAU;EACR,aAAa,CAAC,MAAM,QAAQ;EAC5B,SAAS;EACT,QAAQ,EACN,QAAQ;GACN,YAAY;GACZ,aAAa;EACf,EACF;CACF;CACA,UAAU;EACR,aAAa,CAAC,MAAM,QAAQ;EAC5B,SAAS;EACT,QAAQ,EACN,QAAQ;GACN,YAAY;GACZ,aAAa;EACf,EACF;CACF;CACA,UAAU;EACR,aAAa,CAAC,MAAM,QAAQ;EAC5B,SAAS;EACT,QAAQ;GACN,QAAQ;IACN,YAAY;IACZ,aAAa;GACf;GACA,MAAM,EACJ,aAAa,uEACf;GACA,KAAK,EACH,aAAa,2BACf;EACF;CACF;CACA,QAAQ;EACN,aAAa,CAAC,QAAQ;EACtB,SAAS;EACT,aAAa;CACf;CACA,IAAI;EACF,aAAa,CAAC,IAAI;EAClB,SAAS;EACT,aAAa;CACf;CACA,MAAM;EACJ,aAAa,CAAC,MAAM;EACpB,SAAS;EACT,aAAa;EACb,QAAQ;GACN,WAAW,EAAE,aAAa,+DAA+D;GACzF,QAAQ,EAAE,aAAa,uCAAuC;GAC9D,KAAK,EAAE,aAAa,+CAA+C;EACrE;CACF;AACF"}
|
package/dist/contract.meta.d.cts
CHANGED
|
@@ -223,6 +223,9 @@ declare const cliCommandMeta: {
|
|
|
223
223
|
readonly dryRun: {
|
|
224
224
|
readonly description: "Preview what would be fetched without writing files";
|
|
225
225
|
};
|
|
226
|
+
readonly remotePlugins: {
|
|
227
|
+
readonly description: "Comma-separated plugin IDs to fetch contract types remotely (e.g. --remote-plugins auth,registry)";
|
|
228
|
+
};
|
|
226
229
|
};
|
|
227
230
|
};
|
|
228
231
|
readonly dbStudio: {
|
package/dist/contract.meta.d.mts
CHANGED
|
@@ -223,6 +223,9 @@ declare const cliCommandMeta: {
|
|
|
223
223
|
readonly dryRun: {
|
|
224
224
|
readonly description: "Preview what would be fetched without writing files";
|
|
225
225
|
};
|
|
226
|
+
readonly remotePlugins: {
|
|
227
|
+
readonly description: "Comma-separated plugin IDs to fetch contract types remotely (e.g. --remote-plugins auth,registry)";
|
|
228
|
+
};
|
|
226
229
|
};
|
|
227
230
|
};
|
|
228
231
|
readonly dbStudio: {
|
package/dist/contract.meta.mjs
CHANGED
|
@@ -138,7 +138,8 @@ const cliCommandMeta = {
|
|
|
138
138
|
interactive: false,
|
|
139
139
|
fields: {
|
|
140
140
|
env: { description: "Environment: development (default) or production" },
|
|
141
|
-
dryRun: { description: "Preview what would be fetched without writing files" }
|
|
141
|
+
dryRun: { description: "Preview what would be fetched without writing files" },
|
|
142
|
+
remotePlugins: { description: "Comma-separated plugin IDs to fetch contract types remotely (e.g. --remote-plugins auth,registry)" }
|
|
142
143
|
}
|
|
143
144
|
},
|
|
144
145
|
dbStudio: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract.meta.mjs","names":[],"sources":["../src/contract.meta.ts"],"sourcesContent":["export type CliCommandMeta = {\n commandPath?: string[];\n summary: string;\n description?: string;\n examples?: string[];\n interactive?: boolean;\n longRunning?: boolean;\n fields?: Record<string, { positional?: boolean; description?: string }>;\n};\n\nexport const cliCommandMeta = {\n dev: {\n commandPath: [\"dev\"],\n summary: \"Start a development session\",\n interactive: true,\n longRunning: true,\n fields: {\n remotePlugins: {\n description:\n \"Comma-separated plugin IDs to force remote (e.g. --remote-plugins auth,registry)\",\n },\n },\n },\n start: {\n commandPath: [\"start\"],\n summary: \"Start the production host\",\n interactive: false,\n longRunning: true,\n fields: {\n env: { description: \"Environment: production or staging\" },\n },\n },\n build: {\n commandPath: [\"build\"],\n summary: \"Build selected workspaces\",\n interactive: false,\n fields: {\n packages: { positional: true, description: \"Comma-separated package list\" },\n },\n },\n config: {\n commandPath: [\"config\"],\n summary: \"Print the loaded BOS configuration\",\n interactive: false,\n fields: {\n full: { description: \"Print the fully resolved configuration\" },\n },\n },\n pluginAdd: {\n commandPath: [\"plugin\", \"add\"],\n summary: \"Add a plugin attachment\",\n interactive: false,\n fields: {\n source: {\n positional: true,\n description: \"Plugin source (local:path, bos://account/domain, or URL)\",\n },\n as: { description: \"Plugin alias\" },\n production: { description: \"Production URL override\" },\n },\n },\n pluginRemove: {\n commandPath: [\"plugin\", \"remove\"],\n summary: \"Remove a plugin attachment\",\n interactive: false,\n fields: { key: { positional: true, description: \"Plugin key\" } },\n },\n pluginList: {\n commandPath: [\"plugin\", \"list\"],\n summary: \"List configured plugins\",\n interactive: false,\n },\n pluginPublish: {\n commandPath: [\"plugin\", \"publish\"],\n summary: \"Publish a single plugin\",\n interactive: false,\n fields: { key: { positional: true, description: \"Plugin key\" } },\n },\n publish: {\n commandPath: [\"publish\"],\n summary: \"Publish the current workspace configuration\",\n interactive: false,\n fields: {\n deploy: { description: \"Build and deploy all workspaces before publish\" },\n dryRun: { description: \"Preview what would be published without writing\" },\n verbose: { description: \"Show full build output instead of clean summary\" },\n env: { description: \"Environment: production or staging\" },\n network: { description: \"NEAR network: mainnet or testnet\" },\n },\n },\n deploy: {\n commandPath: [\"deploy\"],\n summary: \"Publish config and trigger Railway redeploy\",\n interactive: false,\n fields: {\n env: { description: \"Environment: production or staging\" },\n build: { description: \"Build and deploy workspaces before publish (default: true)\" },\n dryRun: { description: \"Preview what would be deployed without writing\" },\n verbose: { description: \"Show full build output instead of clean summary\" },\n service: { description: \"Override Railway service name from config\" },\n },\n },\n keyPublish: {\n commandPath: [\"key\", \"generate\"],\n summary: \"Generate a publish access key\",\n interactive: true,\n },\n init: {\n commandPath: [\"init\"],\n summary: \"Scaffold a new project by extending a deployed app or template\",\n interactive: true,\n fields: {\n domain: {\n positional: true,\n description: \"New project domain (e.g. myapp.everything.dev)\",\n },\n extends: {\n description: \"Parent to extend from (e.g. bos://account/gateway or account/gateway)\",\n },\n account: { description: \"New project NEAR account (auto-derived from extends)\" },\n directory: { description: \"Target directory (auto-derived from domain)\" },\n source: { description: \"Local source dir (skips GitHub download)\" },\n plugins: {\n description: \"Comma-separated plugin keys to include (requires --overrides=plugins)\",\n },\n overrides: {\n description: \"Comma-separated sections to customize locally: ui,api,host,plugins\",\n },\n noInteractive: { description: \"Skip prompts, use flags only\" },\n noInstall: { description: \"Skip bun install\" },\n },\n },\n sync: {\n commandPath: [\"sync\"],\n summary: \"Sync template files from parent project\",\n interactive: false,\n fields: {\n dryRun: { description: \"Preview changes without writing files\" },\n noInstall: { description: \"Skip bun install\" },\n },\n },\n upgrade: {\n commandPath: [\"upgrade\"],\n summary: \"Upgrade framework packages and sync template files\",\n interactive: true,\n fields: {\n dryRun: { description: \"Preview changes without writing\" },\n noInstall: { description: \"Skip bun install\" },\n noSync: { description: \"Only upgrade packages, skip template sync\" },\n },\n },\n typesGen: {\n commandPath: [\"types\", \"gen\"],\n summary: \"Generate type definitions from configured API and plugin contracts\",\n interactive: false,\n fields: {\n env: { description: \"Environment: development (default) or production\" },\n dryRun: { description: \"Preview what would be fetched without writing files\" },\n },\n },\n dbStudio: {\n commandPath: [\"db\", \"studio\"],\n summary: \"Open Drizzle Studio for a plugin's database\",\n fields: {\n plugin: {\n positional: true,\n description: \"Plugin key: api, auth, or a plugin name (default: api)\",\n },\n },\n },\n dbDoctor: {\n commandPath: [\"db\", \"doctor\"],\n summary: \"Diagnose migration health for a plugin's database\",\n fields: {\n plugin: {\n positional: true,\n description: \"Plugin key: api, auth, or a plugin name\",\n },\n },\n },\n dbRepair: {\n commandPath: [\"db\", \"repair\"],\n summary: \"Reset migration history and reapply migrations for a plugin\",\n fields: {\n plugin: {\n positional: true,\n description: \"Plugin key: api, auth, or a plugin name\",\n },\n mode: {\n description: \"Repair mode: history-reset (default) or recreate (not yet supported)\",\n },\n yes: {\n description: \"Skip confirmation prompt\",\n },\n },\n },\n status: {\n commandPath: [\"status\"],\n summary: \"Show project health, versions, and update availability\",\n interactive: false,\n },\n ps: {\n commandPath: [\"ps\"],\n summary: \"List tracked development processes\",\n interactive: false,\n },\n kill: {\n commandPath: [\"kill\"],\n summary: \"Stop tracked development processes\",\n interactive: false,\n fields: {\n configDir: { description: \"Kill processes owned by a config directory (defaults to cwd)\" },\n signal: { description: \"Signal: SIGTERM (default) or SIGKILL\" },\n all: { description: \"Kill processes across all config directories\" },\n },\n },\n} as const satisfies Record<string, CliCommandMeta>;\n"],"mappings":";AAUA,MAAa,iBAAiB;CAC5B,KAAK;EACH,aAAa,CAAC,KAAK;EACnB,SAAS;EACT,aAAa;EACb,aAAa;EACb,QAAQ,EACN,eAAe,EACb,aACE,mFACJ,EACF;CACF;CACA,OAAO;EACL,aAAa,CAAC,OAAO;EACrB,SAAS;EACT,aAAa;EACb,aAAa;EACb,QAAQ,EACN,KAAK,EAAE,aAAa,qCAAqC,EAC3D;CACF;CACA,OAAO;EACL,aAAa,CAAC,OAAO;EACrB,SAAS;EACT,aAAa;EACb,QAAQ,EACN,UAAU;GAAE,YAAY;GAAM,aAAa;EAA+B,EAC5E;CACF;CACA,QAAQ;EACN,aAAa,CAAC,QAAQ;EACtB,SAAS;EACT,aAAa;EACb,QAAQ,EACN,MAAM,EAAE,aAAa,yCAAyC,EAChE;CACF;CACA,WAAW;EACT,aAAa,CAAC,UAAU,KAAK;EAC7B,SAAS;EACT,aAAa;EACb,QAAQ;GACN,QAAQ;IACN,YAAY;IACZ,aAAa;GACf;GACA,IAAI,EAAE,aAAa,eAAe;GAClC,YAAY,EAAE,aAAa,0BAA0B;EACvD;CACF;CACA,cAAc;EACZ,aAAa,CAAC,UAAU,QAAQ;EAChC,SAAS;EACT,aAAa;EACb,QAAQ,EAAE,KAAK;GAAE,YAAY;GAAM,aAAa;EAAa,EAAE;CACjE;CACA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WAAW,EAAE,aAAa,mBAAmB;EAC/C;CACF;CACA,SAAS;EACP,aAAa,CAAC,SAAS;EACvB,SAAS;EACT,aAAa;EACb,QAAQ;GACN,QAAQ,EAAE,aAAa,kCAAkC;GACzD,WAAW,EAAE,aAAa,mBAAmB;GAC7C,QAAQ,EAAE,aAAa,4CAA4C;EACrE;CACF;CACA,UAAU;EACR,aAAa,CAAC,SAAS,KAAK;EAC5B,SAAS;EACT,aAAa;EACb,QAAQ;GACN,KAAK,EAAE,aAAa,mDAAmD;GACvE,QAAQ,EAAE,aAAa,sDAAsD;EAC/E;CACF;CACA,UAAU;EACR,aAAa,CAAC,MAAM,QAAQ;EAC5B,SAAS;EACT,QAAQ,EACN,QAAQ;GACN,YAAY;GACZ,aAAa;EACf,EACF;CACF;CACA,UAAU;EACR,aAAa,CAAC,MAAM,QAAQ;EAC5B,SAAS;EACT,QAAQ,EACN,QAAQ;GACN,YAAY;GACZ,aAAa;EACf,EACF;CACF;CACA,UAAU;EACR,aAAa,CAAC,MAAM,QAAQ;EAC5B,SAAS;EACT,QAAQ;GACN,QAAQ;IACN,YAAY;IACZ,aAAa;GACf;GACA,MAAM,EACJ,aAAa,uEACf;GACA,KAAK,EACH,aAAa,2BACf;EACF;CACF;CACA,QAAQ;EACN,aAAa,CAAC,QAAQ;EACtB,SAAS;EACT,aAAa;CACf;CACA,IAAI;EACF,aAAa,CAAC,IAAI;EAClB,SAAS;EACT,aAAa;CACf;CACA,MAAM;EACJ,aAAa,CAAC,MAAM;EACpB,SAAS;EACT,aAAa;EACb,QAAQ;GACN,WAAW,EAAE,aAAa,+DAA+D;GACzF,QAAQ,EAAE,aAAa,uCAAuC;GAC9D,KAAK,EAAE,aAAa,+CAA+C;EACrE;CACF;AACF"}
|
|
1
|
+
{"version":3,"file":"contract.meta.mjs","names":[],"sources":["../src/contract.meta.ts"],"sourcesContent":["export type CliCommandMeta = {\n commandPath?: string[];\n summary: string;\n description?: string;\n examples?: string[];\n interactive?: boolean;\n longRunning?: boolean;\n fields?: Record<string, { positional?: boolean; description?: string }>;\n};\n\nexport const cliCommandMeta = {\n dev: {\n commandPath: [\"dev\"],\n summary: \"Start a development session\",\n interactive: true,\n longRunning: true,\n fields: {\n remotePlugins: {\n description:\n \"Comma-separated plugin IDs to force remote (e.g. --remote-plugins auth,registry)\",\n },\n },\n },\n start: {\n commandPath: [\"start\"],\n summary: \"Start the production host\",\n interactive: false,\n longRunning: true,\n fields: {\n env: { description: \"Environment: production or staging\" },\n },\n },\n build: {\n commandPath: [\"build\"],\n summary: \"Build selected workspaces\",\n interactive: false,\n fields: {\n packages: { positional: true, description: \"Comma-separated package list\" },\n },\n },\n config: {\n commandPath: [\"config\"],\n summary: \"Print the loaded BOS configuration\",\n interactive: false,\n fields: {\n full: { description: \"Print the fully resolved configuration\" },\n },\n },\n pluginAdd: {\n commandPath: [\"plugin\", \"add\"],\n summary: \"Add a plugin attachment\",\n interactive: false,\n fields: {\n source: {\n positional: true,\n description: \"Plugin source (local:path, bos://account/domain, or URL)\",\n },\n as: { description: \"Plugin alias\" },\n production: { description: \"Production URL override\" },\n },\n },\n pluginRemove: {\n commandPath: [\"plugin\", \"remove\"],\n summary: \"Remove a plugin attachment\",\n interactive: false,\n fields: { key: { positional: true, description: \"Plugin key\" } },\n },\n pluginList: {\n commandPath: [\"plugin\", \"list\"],\n summary: \"List configured plugins\",\n interactive: false,\n },\n pluginPublish: {\n commandPath: [\"plugin\", \"publish\"],\n summary: \"Publish a single plugin\",\n interactive: false,\n fields: { key: { positional: true, description: \"Plugin key\" } },\n },\n publish: {\n commandPath: [\"publish\"],\n summary: \"Publish the current workspace configuration\",\n interactive: false,\n fields: {\n deploy: { description: \"Build and deploy all workspaces before publish\" },\n dryRun: { description: \"Preview what would be published without writing\" },\n verbose: { description: \"Show full build output instead of clean summary\" },\n env: { description: \"Environment: production or staging\" },\n network: { description: \"NEAR network: mainnet or testnet\" },\n },\n },\n deploy: {\n commandPath: [\"deploy\"],\n summary: \"Publish config and trigger Railway redeploy\",\n interactive: false,\n fields: {\n env: { description: \"Environment: production or staging\" },\n build: { description: \"Build and deploy workspaces before publish (default: true)\" },\n dryRun: { description: \"Preview what would be deployed without writing\" },\n verbose: { description: \"Show full build output instead of clean summary\" },\n service: { description: \"Override Railway service name from config\" },\n },\n },\n keyPublish: {\n commandPath: [\"key\", \"generate\"],\n summary: \"Generate a publish access key\",\n interactive: true,\n },\n init: {\n commandPath: [\"init\"],\n summary: \"Scaffold a new project by extending a deployed app or template\",\n interactive: true,\n fields: {\n domain: {\n positional: true,\n description: \"New project domain (e.g. myapp.everything.dev)\",\n },\n extends: {\n description: \"Parent to extend from (e.g. bos://account/gateway or account/gateway)\",\n },\n account: { description: \"New project NEAR account (auto-derived from extends)\" },\n directory: { description: \"Target directory (auto-derived from domain)\" },\n source: { description: \"Local source dir (skips GitHub download)\" },\n plugins: {\n description: \"Comma-separated plugin keys to include (requires --overrides=plugins)\",\n },\n overrides: {\n description: \"Comma-separated sections to customize locally: ui,api,host,plugins\",\n },\n noInteractive: { description: \"Skip prompts, use flags only\" },\n noInstall: { description: \"Skip bun install\" },\n },\n },\n sync: {\n commandPath: [\"sync\"],\n summary: \"Sync template files from parent project\",\n interactive: false,\n fields: {\n dryRun: { description: \"Preview changes without writing files\" },\n noInstall: { description: \"Skip bun install\" },\n },\n },\n upgrade: {\n commandPath: [\"upgrade\"],\n summary: \"Upgrade framework packages and sync template files\",\n interactive: true,\n fields: {\n dryRun: { description: \"Preview changes without writing\" },\n noInstall: { description: \"Skip bun install\" },\n noSync: { description: \"Only upgrade packages, skip template sync\" },\n },\n },\n typesGen: {\n commandPath: [\"types\", \"gen\"],\n summary: \"Generate type definitions from configured API and plugin contracts\",\n interactive: false,\n fields: {\n env: { description: \"Environment: development (default) or production\" },\n dryRun: { description: \"Preview what would be fetched without writing files\" },\n remotePlugins: {\n description:\n \"Comma-separated plugin IDs to fetch contract types remotely (e.g. --remote-plugins auth,registry)\",\n },\n },\n },\n dbStudio: {\n commandPath: [\"db\", \"studio\"],\n summary: \"Open Drizzle Studio for a plugin's database\",\n fields: {\n plugin: {\n positional: true,\n description: \"Plugin key: api, auth, or a plugin name (default: api)\",\n },\n },\n },\n dbDoctor: {\n commandPath: [\"db\", \"doctor\"],\n summary: \"Diagnose migration health for a plugin's database\",\n fields: {\n plugin: {\n positional: true,\n description: \"Plugin key: api, auth, or a plugin name\",\n },\n },\n },\n dbRepair: {\n commandPath: [\"db\", \"repair\"],\n summary: \"Reset migration history and reapply migrations for a plugin\",\n fields: {\n plugin: {\n positional: true,\n description: \"Plugin key: api, auth, or a plugin name\",\n },\n mode: {\n description: \"Repair mode: history-reset (default) or recreate (not yet supported)\",\n },\n yes: {\n description: \"Skip confirmation prompt\",\n },\n },\n },\n status: {\n commandPath: [\"status\"],\n summary: \"Show project health, versions, and update availability\",\n interactive: false,\n },\n ps: {\n commandPath: [\"ps\"],\n summary: \"List tracked development processes\",\n interactive: false,\n },\n kill: {\n commandPath: [\"kill\"],\n summary: \"Stop tracked development processes\",\n interactive: false,\n fields: {\n configDir: { description: \"Kill processes owned by a config directory (defaults to cwd)\" },\n signal: { description: \"Signal: SIGTERM (default) or SIGKILL\" },\n all: { description: \"Kill processes across all config directories\" },\n },\n },\n} as const satisfies Record<string, CliCommandMeta>;\n"],"mappings":";AAUA,MAAa,iBAAiB;CAC5B,KAAK;EACH,aAAa,CAAC,KAAK;EACnB,SAAS;EACT,aAAa;EACb,aAAa;EACb,QAAQ,EACN,eAAe,EACb,aACE,mFACJ,EACF;CACF;CACA,OAAO;EACL,aAAa,CAAC,OAAO;EACrB,SAAS;EACT,aAAa;EACb,aAAa;EACb,QAAQ,EACN,KAAK,EAAE,aAAa,qCAAqC,EAC3D;CACF;CACA,OAAO;EACL,aAAa,CAAC,OAAO;EACrB,SAAS;EACT,aAAa;EACb,QAAQ,EACN,UAAU;GAAE,YAAY;GAAM,aAAa;EAA+B,EAC5E;CACF;CACA,QAAQ;EACN,aAAa,CAAC,QAAQ;EAC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