statelyai 0.14.2 → 0.15.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/README.md +76 -0
- package/dist/bin.mjs +1 -1
- package/dist/{cli-gGOpgSdt.mjs → cli-hfhCVqEx.mjs} +10521 -9164
- package/dist/index.d.mts +172 -23
- package/dist/index.mjs +2 -2
- package/package.json +6 -5
package/dist/index.d.mts
CHANGED
|
@@ -1,10 +1,155 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
1
2
|
import { Command } from "@oclif/core";
|
|
2
3
|
import { XGraph } from "@statelyai/mcp/loop";
|
|
3
|
-
import { z } from "zod";
|
|
4
4
|
import { ConnectedRepo, CreateProjectInput, LegacyProjectVisibility, OAuthAuthorizationServerMetadata, OAuthProtectedResourceMetadata, ProjectData, ProjectMachineSummary, ProjectVisibility, StudioClient } from "@statelyai/sdk";
|
|
5
5
|
import { StatelyGraph } from "@statelyai/sdk/graph";
|
|
6
6
|
import * as _oclif_core_interfaces0 from "@oclif/core/interfaces";
|
|
7
7
|
|
|
8
|
+
//#region src/behaviorCi.d.ts
|
|
9
|
+
declare const reference: z.ZodObject<{
|
|
10
|
+
machineId: z.ZodString;
|
|
11
|
+
versionId: z.ZodString;
|
|
12
|
+
sha256: z.ZodString;
|
|
13
|
+
}, z.core.$strict>;
|
|
14
|
+
declare const behaviorCiConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
15
|
+
name: z.ZodString;
|
|
16
|
+
spec: z.ZodString;
|
|
17
|
+
model: z.ZodString;
|
|
18
|
+
adapter: z.ZodString;
|
|
19
|
+
stateRoot: z.ZodString;
|
|
20
|
+
baseline: z.ZodNullable<z.ZodObject<{
|
|
21
|
+
machineId: z.ZodString;
|
|
22
|
+
versionId: z.ZodString;
|
|
23
|
+
sha256: z.ZodString;
|
|
24
|
+
}, z.core.$strict>>;
|
|
25
|
+
command: z.ZodObject<{
|
|
26
|
+
executable: z.ZodString;
|
|
27
|
+
args: z.ZodArray<z.ZodString>;
|
|
28
|
+
cwd: z.ZodString;
|
|
29
|
+
}, z.core.$strict>;
|
|
30
|
+
inputs: z.ZodArray<z.ZodString>;
|
|
31
|
+
checks: z.ZodArray<z.ZodObject<{
|
|
32
|
+
id: z.ZodString;
|
|
33
|
+
file: z.ZodString;
|
|
34
|
+
fullName: z.ZodString;
|
|
35
|
+
}, z.core.$strict>>;
|
|
36
|
+
timeoutMs: z.ZodNumber;
|
|
37
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
38
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
39
|
+
assurance: z.ZodObject<{
|
|
40
|
+
plan: z.ZodString;
|
|
41
|
+
calibration: z.ZodString;
|
|
42
|
+
}, z.core.$strict>;
|
|
43
|
+
name: z.ZodString;
|
|
44
|
+
spec: z.ZodString;
|
|
45
|
+
model: z.ZodString;
|
|
46
|
+
adapter: z.ZodString;
|
|
47
|
+
stateRoot: z.ZodString;
|
|
48
|
+
baseline: z.ZodNullable<z.ZodObject<{
|
|
49
|
+
machineId: z.ZodString;
|
|
50
|
+
versionId: z.ZodString;
|
|
51
|
+
sha256: z.ZodString;
|
|
52
|
+
}, z.core.$strict>>;
|
|
53
|
+
command: z.ZodObject<{
|
|
54
|
+
executable: z.ZodString;
|
|
55
|
+
args: z.ZodArray<z.ZodString>;
|
|
56
|
+
cwd: z.ZodString;
|
|
57
|
+
}, z.core.$strict>;
|
|
58
|
+
inputs: z.ZodArray<z.ZodString>;
|
|
59
|
+
checks: z.ZodArray<z.ZodObject<{
|
|
60
|
+
id: z.ZodString;
|
|
61
|
+
file: z.ZodString;
|
|
62
|
+
fullName: z.ZodString;
|
|
63
|
+
}, z.core.$strict>>;
|
|
64
|
+
timeoutMs: z.ZodNumber;
|
|
65
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
66
|
+
}, z.core.$strict>], "schemaVersion">;
|
|
67
|
+
type BehaviorCiConfig = z.infer<typeof behaviorCiConfigSchema>;
|
|
68
|
+
declare const behaviorCiResultsSchema: z.ZodArray<z.ZodObject<{
|
|
69
|
+
file: z.ZodString;
|
|
70
|
+
fullName: z.ZodString;
|
|
71
|
+
outcome: z.ZodEnum<{
|
|
72
|
+
error: "error";
|
|
73
|
+
passed: "passed";
|
|
74
|
+
failed: "failed";
|
|
75
|
+
skipped: "skipped";
|
|
76
|
+
}>;
|
|
77
|
+
detail: z.ZodString;
|
|
78
|
+
}, z.core.$strict>>;
|
|
79
|
+
type BehaviorCiResult = z.infer<typeof behaviorCiResultsSchema>[number];
|
|
80
|
+
type BehaviorCiAdapter = (report: unknown, context: {
|
|
81
|
+
root: string;
|
|
82
|
+
cwd: string;
|
|
83
|
+
}) => BehaviorCiResult[] | Promise<BehaviorCiResult[]>;
|
|
84
|
+
declare function checkBehavior(options: {
|
|
85
|
+
config: string;
|
|
86
|
+
output: string;
|
|
87
|
+
}): Promise<{
|
|
88
|
+
exitCode: 0 | 1 | 2;
|
|
89
|
+
output: string;
|
|
90
|
+
}>;
|
|
91
|
+
declare function calibrateBehavior(options: {
|
|
92
|
+
config: string;
|
|
93
|
+
output: string;
|
|
94
|
+
}): Promise<{
|
|
95
|
+
exitCode: 0 | 1 | 2;
|
|
96
|
+
output: string;
|
|
97
|
+
}>;
|
|
98
|
+
declare function adoptBehavior(options: {
|
|
99
|
+
config: string;
|
|
100
|
+
artifact: string;
|
|
101
|
+
}): Promise<z.infer<typeof reference>>;
|
|
102
|
+
declare class BehaviorCheckCommand extends Command {
|
|
103
|
+
static summary: string;
|
|
104
|
+
static flags: {
|
|
105
|
+
config: _oclif_core_interfaces0.OptionFlag<string, _oclif_core_interfaces0.CustomOptions>;
|
|
106
|
+
output: _oclif_core_interfaces0.OptionFlag<string, _oclif_core_interfaces0.CustomOptions>;
|
|
107
|
+
help: _oclif_core_interfaces0.BooleanFlag<void>;
|
|
108
|
+
};
|
|
109
|
+
run(): Promise<void>;
|
|
110
|
+
}
|
|
111
|
+
declare class BehaviorAdoptCommand extends Command {
|
|
112
|
+
static summary: string;
|
|
113
|
+
static args: {
|
|
114
|
+
artifact: _oclif_core_interfaces0.Arg<string, Record<string, unknown>>;
|
|
115
|
+
};
|
|
116
|
+
static flags: {
|
|
117
|
+
config: _oclif_core_interfaces0.OptionFlag<string, _oclif_core_interfaces0.CustomOptions>;
|
|
118
|
+
help: _oclif_core_interfaces0.BooleanFlag<void>;
|
|
119
|
+
};
|
|
120
|
+
run(): Promise<void>;
|
|
121
|
+
}
|
|
122
|
+
declare class BehaviorCalibrateCommand extends Command {
|
|
123
|
+
static summary: string;
|
|
124
|
+
static flags: {
|
|
125
|
+
config: _oclif_core_interfaces0.OptionFlag<string, _oclif_core_interfaces0.CustomOptions>;
|
|
126
|
+
output: _oclif_core_interfaces0.OptionFlag<string, _oclif_core_interfaces0.CustomOptions>;
|
|
127
|
+
help: _oclif_core_interfaces0.BooleanFlag<void>;
|
|
128
|
+
};
|
|
129
|
+
run(): Promise<void>;
|
|
130
|
+
}
|
|
131
|
+
//#endregion
|
|
132
|
+
//#region src/testCommand.d.ts
|
|
133
|
+
declare class TestCommand extends Command {
|
|
134
|
+
static enableJsonFlag: boolean;
|
|
135
|
+
static summary: string;
|
|
136
|
+
static description: string;
|
|
137
|
+
static args: {
|
|
138
|
+
campaign: _oclif_core_interfaces0.Arg<string, Record<string, unknown>>;
|
|
139
|
+
};
|
|
140
|
+
static flags: {
|
|
141
|
+
report: _oclif_core_interfaces0.OptionFlag<string, _oclif_core_interfaces0.CustomOptions>;
|
|
142
|
+
replay: _oclif_core_interfaces0.OptionFlag<string | undefined, _oclif_core_interfaces0.CustomOptions>;
|
|
143
|
+
fixture: _oclif_core_interfaces0.OptionFlag<string | undefined, _oclif_core_interfaces0.CustomOptions>;
|
|
144
|
+
seed: _oclif_core_interfaces0.OptionFlag<number, _oclif_core_interfaces0.CustomOptions>;
|
|
145
|
+
runs: _oclif_core_interfaces0.OptionFlag<number, _oclif_core_interfaces0.CustomOptions>;
|
|
146
|
+
'max-commands': _oclif_core_interfaces0.OptionFlag<number, _oclif_core_interfaces0.CustomOptions>;
|
|
147
|
+
'path-limit': _oclif_core_interfaces0.OptionFlag<number, _oclif_core_interfaces0.CustomOptions>;
|
|
148
|
+
timeout: _oclif_core_interfaces0.OptionFlag<number, _oclif_core_interfaces0.CustomOptions>;
|
|
149
|
+
};
|
|
150
|
+
run(): Promise<void>;
|
|
151
|
+
}
|
|
152
|
+
//#endregion
|
|
8
153
|
//#region src/verifyCommand.d.ts
|
|
9
154
|
declare class VerifyCommand extends Command {
|
|
10
155
|
static enableJsonFlag: boolean;
|
|
@@ -736,6 +881,10 @@ declare class WhoamiCommand extends Command {
|
|
|
736
881
|
run(): Promise<void>;
|
|
737
882
|
}
|
|
738
883
|
declare const COMMANDS: {
|
|
884
|
+
'behavior:calibrate': typeof BehaviorCalibrateCommand;
|
|
885
|
+
'behavior:check': typeof BehaviorCheckCommand;
|
|
886
|
+
'behavior:adopt': typeof BehaviorAdoptCommand;
|
|
887
|
+
test: typeof TestCommand;
|
|
739
888
|
verify: typeof VerifyCommand;
|
|
740
889
|
plan: typeof PlanCommand;
|
|
741
890
|
diff: typeof DiffCommand;
|
|
@@ -761,13 +910,13 @@ declare const verificationRunReportSchema: z.ZodObject<{
|
|
|
761
910
|
version: z.ZodLiteral<1>;
|
|
762
911
|
suite: z.ZodString;
|
|
763
912
|
status: z.ZodEnum<{
|
|
764
|
-
passed: "passed";
|
|
765
913
|
failed: "failed";
|
|
914
|
+
passed: "passed";
|
|
766
915
|
}>;
|
|
767
916
|
verdict: z.ZodEnum<{
|
|
917
|
+
inconclusive: "inconclusive";
|
|
768
918
|
conformant: "conformant";
|
|
769
919
|
divergent: "divergent";
|
|
770
|
-
inconclusive: "inconclusive";
|
|
771
920
|
}>;
|
|
772
921
|
coverage: z.ZodEnum<{
|
|
773
922
|
shortest: "shortest";
|
|
@@ -785,8 +934,8 @@ declare const verificationRunReportSchema: z.ZodObject<{
|
|
|
785
934
|
verification: "verification";
|
|
786
935
|
}>;
|
|
787
936
|
status: z.ZodEnum<{
|
|
788
|
-
completed: "completed";
|
|
789
937
|
skipped: "skipped";
|
|
938
|
+
completed: "completed";
|
|
790
939
|
}>;
|
|
791
940
|
aiFree: z.ZodBoolean;
|
|
792
941
|
}, z.core.$strip>>;
|
|
@@ -867,8 +1016,8 @@ declare const verificationRunReportSchema: z.ZodObject<{
|
|
|
867
1016
|
type: z.ZodLiteral<"path-result">;
|
|
868
1017
|
id: z.ZodString;
|
|
869
1018
|
status: z.ZodEnum<{
|
|
870
|
-
passed: "passed";
|
|
871
1019
|
failed: "failed";
|
|
1020
|
+
passed: "passed";
|
|
872
1021
|
}>;
|
|
873
1022
|
witnessedStates: z.ZodArray<z.ZodString>;
|
|
874
1023
|
witnessedTransitions: z.ZodArray<z.ZodString>;
|
|
@@ -879,8 +1028,8 @@ declare const verificationRunReportSchema: z.ZodObject<{
|
|
|
879
1028
|
state: z.ZodString;
|
|
880
1029
|
event: z.ZodString;
|
|
881
1030
|
status: z.ZodEnum<{
|
|
882
|
-
passed: "passed";
|
|
883
1031
|
failed: "failed";
|
|
1032
|
+
passed: "passed";
|
|
884
1033
|
}>;
|
|
885
1034
|
}, z.core.$strip>>>;
|
|
886
1035
|
divergences: z.ZodArray<z.ZodObject<{
|
|
@@ -924,8 +1073,8 @@ declare const verificationRunReportSchema: z.ZodObject<{
|
|
|
924
1073
|
predicateResults: z.ZodArray<z.ZodObject<{
|
|
925
1074
|
state: z.ZodString;
|
|
926
1075
|
status: z.ZodEnum<{
|
|
927
|
-
passed: "passed";
|
|
928
1076
|
failed: "failed";
|
|
1077
|
+
passed: "passed";
|
|
929
1078
|
}>;
|
|
930
1079
|
signals: z.ZodArray<z.ZodString>;
|
|
931
1080
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -939,8 +1088,8 @@ declare const verificationRunReportSchema: z.ZodObject<{
|
|
|
939
1088
|
predicateResults: z.ZodArray<z.ZodObject<{
|
|
940
1089
|
state: z.ZodString;
|
|
941
1090
|
status: z.ZodEnum<{
|
|
942
|
-
passed: "passed";
|
|
943
1091
|
failed: "failed";
|
|
1092
|
+
passed: "passed";
|
|
944
1093
|
}>;
|
|
945
1094
|
signals: z.ZodArray<z.ZodString>;
|
|
946
1095
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1010,8 +1159,8 @@ declare const verificationRunReportSchema: z.ZodObject<{
|
|
|
1010
1159
|
predicateResults: z.ZodArray<z.ZodObject<{
|
|
1011
1160
|
state: z.ZodString;
|
|
1012
1161
|
status: z.ZodEnum<{
|
|
1013
|
-
passed: "passed";
|
|
1014
1162
|
failed: "failed";
|
|
1163
|
+
passed: "passed";
|
|
1015
1164
|
}>;
|
|
1016
1165
|
signals: z.ZodArray<z.ZodString>;
|
|
1017
1166
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1025,8 +1174,8 @@ declare const verificationRunReportSchema: z.ZodObject<{
|
|
|
1025
1174
|
predicateResults: z.ZodArray<z.ZodObject<{
|
|
1026
1175
|
state: z.ZodString;
|
|
1027
1176
|
status: z.ZodEnum<{
|
|
1028
|
-
passed: "passed";
|
|
1029
1177
|
failed: "failed";
|
|
1178
|
+
passed: "passed";
|
|
1030
1179
|
}>;
|
|
1031
1180
|
signals: z.ZodArray<z.ZodString>;
|
|
1032
1181
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1056,8 +1205,8 @@ declare const verificationRunReportSchema: z.ZodObject<{
|
|
|
1056
1205
|
}, z.core.$loose>;
|
|
1057
1206
|
type VerificationRunReport = z.infer<typeof verificationRunReportSchema>;
|
|
1058
1207
|
declare const verificationFailOnSchema: z.ZodEnum<{
|
|
1059
|
-
divergent: "divergent";
|
|
1060
1208
|
inconclusive: "inconclusive";
|
|
1209
|
+
divergent: "divergent";
|
|
1061
1210
|
}>;
|
|
1062
1211
|
type VerificationFailOn = z.infer<typeof verificationFailOnSchema>;
|
|
1063
1212
|
/** References are inert data. The host resolves them inside its execution boundary. */
|
|
@@ -1080,13 +1229,13 @@ declare const verificationRequestSchema: z.ZodObject<{
|
|
|
1080
1229
|
version: z.ZodLiteral<1>;
|
|
1081
1230
|
suite: z.ZodString;
|
|
1082
1231
|
status: z.ZodEnum<{
|
|
1083
|
-
passed: "passed";
|
|
1084
1232
|
failed: "failed";
|
|
1233
|
+
passed: "passed";
|
|
1085
1234
|
}>;
|
|
1086
1235
|
verdict: z.ZodEnum<{
|
|
1236
|
+
inconclusive: "inconclusive";
|
|
1087
1237
|
conformant: "conformant";
|
|
1088
1238
|
divergent: "divergent";
|
|
1089
|
-
inconclusive: "inconclusive";
|
|
1090
1239
|
}>;
|
|
1091
1240
|
coverage: z.ZodEnum<{
|
|
1092
1241
|
shortest: "shortest";
|
|
@@ -1104,8 +1253,8 @@ declare const verificationRequestSchema: z.ZodObject<{
|
|
|
1104
1253
|
verification: "verification";
|
|
1105
1254
|
}>;
|
|
1106
1255
|
status: z.ZodEnum<{
|
|
1107
|
-
completed: "completed";
|
|
1108
1256
|
skipped: "skipped";
|
|
1257
|
+
completed: "completed";
|
|
1109
1258
|
}>;
|
|
1110
1259
|
aiFree: z.ZodBoolean;
|
|
1111
1260
|
}, z.core.$strip>>;
|
|
@@ -1186,8 +1335,8 @@ declare const verificationRequestSchema: z.ZodObject<{
|
|
|
1186
1335
|
type: z.ZodLiteral<"path-result">;
|
|
1187
1336
|
id: z.ZodString;
|
|
1188
1337
|
status: z.ZodEnum<{
|
|
1189
|
-
passed: "passed";
|
|
1190
1338
|
failed: "failed";
|
|
1339
|
+
passed: "passed";
|
|
1191
1340
|
}>;
|
|
1192
1341
|
witnessedStates: z.ZodArray<z.ZodString>;
|
|
1193
1342
|
witnessedTransitions: z.ZodArray<z.ZodString>;
|
|
@@ -1198,8 +1347,8 @@ declare const verificationRequestSchema: z.ZodObject<{
|
|
|
1198
1347
|
state: z.ZodString;
|
|
1199
1348
|
event: z.ZodString;
|
|
1200
1349
|
status: z.ZodEnum<{
|
|
1201
|
-
passed: "passed";
|
|
1202
1350
|
failed: "failed";
|
|
1351
|
+
passed: "passed";
|
|
1203
1352
|
}>;
|
|
1204
1353
|
}, z.core.$strip>>>;
|
|
1205
1354
|
divergences: z.ZodArray<z.ZodObject<{
|
|
@@ -1243,8 +1392,8 @@ declare const verificationRequestSchema: z.ZodObject<{
|
|
|
1243
1392
|
predicateResults: z.ZodArray<z.ZodObject<{
|
|
1244
1393
|
state: z.ZodString;
|
|
1245
1394
|
status: z.ZodEnum<{
|
|
1246
|
-
passed: "passed";
|
|
1247
1395
|
failed: "failed";
|
|
1396
|
+
passed: "passed";
|
|
1248
1397
|
}>;
|
|
1249
1398
|
signals: z.ZodArray<z.ZodString>;
|
|
1250
1399
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1258,8 +1407,8 @@ declare const verificationRequestSchema: z.ZodObject<{
|
|
|
1258
1407
|
predicateResults: z.ZodArray<z.ZodObject<{
|
|
1259
1408
|
state: z.ZodString;
|
|
1260
1409
|
status: z.ZodEnum<{
|
|
1261
|
-
passed: "passed";
|
|
1262
1410
|
failed: "failed";
|
|
1411
|
+
passed: "passed";
|
|
1263
1412
|
}>;
|
|
1264
1413
|
signals: z.ZodArray<z.ZodString>;
|
|
1265
1414
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1329,8 +1478,8 @@ declare const verificationRequestSchema: z.ZodObject<{
|
|
|
1329
1478
|
predicateResults: z.ZodArray<z.ZodObject<{
|
|
1330
1479
|
state: z.ZodString;
|
|
1331
1480
|
status: z.ZodEnum<{
|
|
1332
|
-
passed: "passed";
|
|
1333
1481
|
failed: "failed";
|
|
1482
|
+
passed: "passed";
|
|
1334
1483
|
}>;
|
|
1335
1484
|
signals: z.ZodArray<z.ZodString>;
|
|
1336
1485
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1344,8 +1493,8 @@ declare const verificationRequestSchema: z.ZodObject<{
|
|
|
1344
1493
|
predicateResults: z.ZodArray<z.ZodObject<{
|
|
1345
1494
|
state: z.ZodString;
|
|
1346
1495
|
status: z.ZodEnum<{
|
|
1347
|
-
passed: "passed";
|
|
1348
1496
|
failed: "failed";
|
|
1497
|
+
passed: "passed";
|
|
1349
1498
|
}>;
|
|
1350
1499
|
signals: z.ZodArray<z.ZodString>;
|
|
1351
1500
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1412,7 +1561,7 @@ declare function verifyProject(options?: VerifyProjectOptions): Promise<{
|
|
|
1412
1561
|
version: 1;
|
|
1413
1562
|
suite: string;
|
|
1414
1563
|
status: "passed" | "failed";
|
|
1415
|
-
verdict: "
|
|
1564
|
+
verdict: "inconclusive" | "conformant" | "divergent";
|
|
1416
1565
|
coverage: "shortest" | "simple";
|
|
1417
1566
|
startedAt: string;
|
|
1418
1567
|
completedAt: string;
|
|
@@ -1421,7 +1570,7 @@ declare function verifyProject(options?: VerifyProjectOptions): Promise<{
|
|
|
1421
1570
|
weakOracles: boolean;
|
|
1422
1571
|
phases: {
|
|
1423
1572
|
name: "exploration" | "verification";
|
|
1424
|
-
status: "
|
|
1573
|
+
status: "skipped" | "completed";
|
|
1425
1574
|
aiFree: boolean;
|
|
1426
1575
|
}[];
|
|
1427
1576
|
probePlan: {
|
|
@@ -1673,4 +1822,4 @@ declare function verifyProject(options?: VerifyProjectOptions): Promise<{
|
|
|
1673
1822
|
/** One case per recorded path/probe. Unattributed divergences remain separate cases. */
|
|
1674
1823
|
declare function formatVerificationJUnit(report: VerificationRunReport): string;
|
|
1675
1824
|
//#endregion
|
|
1676
|
-
export { ApiKeyResolution, COMMANDS, CredentialStatus, DiscoveredMachine, InitProjectOptions, InitProjectResult, type LinkProjectOptions, LinkedPullTarget, OAuthLoginDiscovery, ProjectMachineStatus, ProjectStatusMachine, ProjectStatusResult, PushCandidateClassification, RemoteProjectMachineTarget, ResolveApiKeyOptions, ResolvedConfiguredPullTargets, ScanProjectSourcesOptions, type VerificationExecutor, type VerificationRequest, type VerificationRunReport, type VerifyProjectOptions, briefReport, buildOAuthLoginStart, changesReport, classifyPushCandidates, createStatelyProjectConfig, discoverLinkedPullTargets, discoverMachinesInSource, discoverOAuthLogin, discoverRemoteProjectMachineTargets, formatDiscoveredMachines, formatMissingNewMachineDirMessage, formatPlanSummary, formatProjectStatus, formatStoredCredentialSource, formatVerificationJUnit, getEnvApiKey, getEnvCredential, inferInitProjectName, initProject, isFileGitDirty, linkProject, pendingReport, readGraphFile, resolveApiKey, resolveConfiguredPullTargets, resolveCredentialStatus, resolveOpenRootDir, resolveProjectStatus, resolveVerificationRequest, resourceId, run, scanProjectMachines, scanProjectSources, verifyProject, verifyReport };
|
|
1825
|
+
export { ApiKeyResolution, type BehaviorCiAdapter, type BehaviorCiConfig, type BehaviorCiResult, COMMANDS, CredentialStatus, DiscoveredMachine, InitProjectOptions, InitProjectResult, type LinkProjectOptions, LinkedPullTarget, OAuthLoginDiscovery, ProjectMachineStatus, ProjectStatusMachine, ProjectStatusResult, PushCandidateClassification, RemoteProjectMachineTarget, ResolveApiKeyOptions, ResolvedConfiguredPullTargets, ScanProjectSourcesOptions, type VerificationExecutor, type VerificationRequest, type VerificationRunReport, type VerifyProjectOptions, adoptBehavior, behaviorCiConfigSchema, behaviorCiResultsSchema, briefReport, buildOAuthLoginStart, calibrateBehavior, changesReport, checkBehavior, classifyPushCandidates, createStatelyProjectConfig, discoverLinkedPullTargets, discoverMachinesInSource, discoverOAuthLogin, discoverRemoteProjectMachineTargets, formatDiscoveredMachines, formatMissingNewMachineDirMessage, formatPlanSummary, formatProjectStatus, formatStoredCredentialSource, formatVerificationJUnit, getEnvApiKey, getEnvCredential, inferInitProjectName, initProject, isFileGitDirty, linkProject, pendingReport, readGraphFile, resolveApiKey, resolveConfiguredPullTargets, resolveCredentialStatus, resolveOpenRootDir, resolveProjectStatus, resolveVerificationRequest, resourceId, run, scanProjectMachines, scanProjectSources, verifyProject, verifyReport };
|
package/dist/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { A as formatVerificationJUnit, C as run, D as resourceId, E as linkProject, F as readGraphFile, I as verifyReport, M as briefReport, N as changesReport, O as resolveVerificationRequest, P as pendingReport, S as resolveProjectStatus, T as scanProjectSources, _ as isFileGitDirty, a as discoverMachinesInSource, b as resolveCredentialStatus, c as formatDiscoveredMachines, d as formatProjectStatus, f as formatStoredCredentialSource, g as initProject, h as inferInitProjectName, i as discoverLinkedPullTargets, j as createStatelyProjectConfig, k as verifyProject, l as formatMissingNewMachineDirMessage, m as getEnvCredential, n as buildOAuthLoginStart, o as discoverOAuthLogin, p as getEnvApiKey, r as classifyPushCandidates, s as discoverRemoteProjectMachineTargets, t as COMMANDS, u as formatPlanSummary, v as resolveApiKey, w as scanProjectMachines, x as resolveOpenRootDir, y as resolveConfiguredPullTargets } from "./cli-
|
|
1
|
+
import { A as formatVerificationJUnit, B as calibrateBehavior, C as run, D as resourceId, E as linkProject, F as readGraphFile, I as verifyReport, L as adoptBehavior, M as briefReport, N as changesReport, O as resolveVerificationRequest, P as pendingReport, R as behaviorCiConfigSchema, S as resolveProjectStatus, T as scanProjectSources, V as checkBehavior, _ as isFileGitDirty, a as discoverMachinesInSource, b as resolveCredentialStatus, c as formatDiscoveredMachines, d as formatProjectStatus, f as formatStoredCredentialSource, g as initProject, h as inferInitProjectName, i as discoverLinkedPullTargets, j as createStatelyProjectConfig, k as verifyProject, l as formatMissingNewMachineDirMessage, m as getEnvCredential, n as buildOAuthLoginStart, o as discoverOAuthLogin, p as getEnvApiKey, r as classifyPushCandidates, s as discoverRemoteProjectMachineTargets, t as COMMANDS, u as formatPlanSummary, v as resolveApiKey, w as scanProjectMachines, x as resolveOpenRootDir, y as resolveConfiguredPullTargets, z as behaviorCiResultsSchema } from "./cli-hfhCVqEx.mjs";
|
|
2
2
|
|
|
3
|
-
export { COMMANDS, briefReport, buildOAuthLoginStart, changesReport, classifyPushCandidates, createStatelyProjectConfig, discoverLinkedPullTargets, discoverMachinesInSource, discoverOAuthLogin, discoverRemoteProjectMachineTargets, formatDiscoveredMachines, formatMissingNewMachineDirMessage, formatPlanSummary, formatProjectStatus, formatStoredCredentialSource, formatVerificationJUnit, getEnvApiKey, getEnvCredential, inferInitProjectName, initProject, isFileGitDirty, linkProject, pendingReport, readGraphFile, resolveApiKey, resolveConfiguredPullTargets, resolveCredentialStatus, resolveOpenRootDir, resolveProjectStatus, resolveVerificationRequest, resourceId, run, scanProjectMachines, scanProjectSources, verifyProject, verifyReport };
|
|
3
|
+
export { COMMANDS, adoptBehavior, behaviorCiConfigSchema, behaviorCiResultsSchema, briefReport, buildOAuthLoginStart, calibrateBehavior, changesReport, checkBehavior, classifyPushCandidates, createStatelyProjectConfig, discoverLinkedPullTargets, discoverMachinesInSource, discoverOAuthLogin, discoverRemoteProjectMachineTargets, formatDiscoveredMachines, formatMissingNewMachineDirMessage, formatPlanSummary, formatProjectStatus, formatStoredCredentialSource, formatVerificationJUnit, getEnvApiKey, getEnvCredential, inferInitProjectName, initProject, isFileGitDirty, linkProject, pendingReport, readGraphFile, resolveApiKey, resolveConfiguredPullTargets, resolveCredentialStatus, resolveOpenRootDir, resolveProjectStatus, resolveVerificationRequest, resourceId, run, scanProjectMachines, scanProjectSources, verifyProject, verifyReport };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "statelyai",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0",
|
|
4
4
|
"description": "Command-line tools for Stately",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"bin": {
|
|
@@ -24,15 +24,16 @@
|
|
|
24
24
|
"typescript": "^5.9.3",
|
|
25
25
|
"ws": "^8.21.0",
|
|
26
26
|
"zod": "^4.4.1",
|
|
27
|
-
"@statelyai/mcp": "0.
|
|
28
|
-
"@statelyai/sdk": "0.39.1"
|
|
27
|
+
"@statelyai/mcp": "0.19.0",
|
|
28
|
+
"@statelyai/sdk": "0.39.1",
|
|
29
|
+
"@statelyai/model-testing": "0.2.0"
|
|
29
30
|
},
|
|
30
31
|
"devDependencies": {
|
|
31
32
|
"@types/ws": "^8.18.1",
|
|
32
33
|
"tsdown": "0.21.0-beta.2",
|
|
33
34
|
"vitest": "^3.2.4",
|
|
34
|
-
"@statelyai/api-contract": "0.
|
|
35
|
-
"@statelyai/editor-sync": "0.2.
|
|
35
|
+
"@statelyai/api-contract": "0.8.0",
|
|
36
|
+
"@statelyai/editor-sync": "0.2.5"
|
|
36
37
|
},
|
|
37
38
|
"oclif": {
|
|
38
39
|
"bin": "statelyai",
|