@kitman-sh/sdk 0.7.5 → 0.8.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/build/index.js +10 -11
- package/dist/{chunk-72z6zbfz.js → chunk-160ww64c.js} +668 -185
- package/dist/{chunk-8byx9rx2.js → chunk-36jhc745.js} +195 -76
- package/dist/loop/index.js +43 -1
- package/dist/program/index.js +7 -3
- package/package.json +3 -1
- package/types/packages/core/src/agent-capabilities.d.ts +68 -74
- package/types/packages/core/src/agent-environment.d.ts +26 -26
- package/types/packages/core/src/agent-launch-snapshot.d.ts +1 -1
- package/types/packages/core/src/agent-sandbox-policy.d.ts +15 -0
- package/types/packages/core/src/approval-queue.d.ts +4 -4
- package/types/packages/core/src/audit.d.ts +1 -1
- package/types/packages/core/src/change-delivery.d.ts +1 -1
- package/types/packages/core/src/change-request-review.d.ts +199 -7
- package/types/packages/core/src/change-request.d.ts +43 -12
- package/types/packages/core/src/connection.d.ts +1 -1
- package/types/packages/core/src/context-feedback.d.ts +8 -8
- package/types/packages/core/src/context-pack.d.ts +8 -8
- package/types/packages/core/src/crypto.d.ts +5 -0
- package/types/packages/core/src/data-lifecycle.d.ts +12 -12
- package/types/packages/core/src/decision.d.ts +2 -2
- package/types/packages/core/src/delivery-policy.d.ts +3 -3
- package/types/packages/core/src/enterprise-forge.d.ts +19 -0
- package/types/packages/core/src/epic-delivery.d.ts +1 -1
- package/types/packages/core/src/external-effect.d.ts +2 -2
- package/types/packages/core/src/global-search.d.ts +1 -1
- package/types/packages/core/src/index.d.ts +8 -2
- package/types/packages/core/src/integration.d.ts +58 -57
- package/types/packages/core/src/kit.d.ts +47 -47
- package/types/packages/core/src/live.d.ts +684 -781
- package/types/packages/core/src/loop-layers.d.ts +1 -1
- package/types/packages/core/src/loop-version.d.ts +1 -1
- package/types/packages/core/src/loop.d.ts +73 -67
- package/types/packages/core/src/marketplace.d.ts +127 -0
- package/types/packages/core/src/memory.d.ts +17 -12
- package/types/packages/core/src/my-teams.d.ts +65 -32
- package/types/packages/core/src/notification.d.ts +73 -12
- package/types/packages/core/src/owner.d.ts +15 -0
- package/types/packages/core/src/package-declarations.d.ts +73 -32
- package/types/packages/core/src/package.d.ts +22 -22
- package/types/packages/core/src/personal-development-profile.d.ts +2 -2
- package/types/packages/core/src/proposal.d.ts +25 -25
- package/types/packages/core/src/redaction.d.ts +2 -1
- package/types/packages/core/src/repo-binding.d.ts +19 -10
- package/types/packages/core/src/run-display.d.ts +1 -1
- package/types/packages/core/src/run-file.d.ts +190 -0
- package/types/packages/core/src/run-launch.d.ts +7 -5
- package/types/packages/core/src/run.d.ts +9 -9
- package/types/packages/core/src/runner-eligibility.d.ts +4 -4
- package/types/packages/core/src/runner.d.ts +339 -111
- package/types/packages/core/src/schedule.d.ts +2 -2
- package/types/packages/core/src/scope-directory.d.ts +5 -5
- package/types/packages/core/src/secret.d.ts +9 -9
- package/types/packages/core/src/session.d.ts +2 -2
- package/types/packages/core/src/step-brief.d.ts +10 -3
- package/types/packages/core/src/storage.d.ts +49 -0
- package/types/packages/core/src/sync-kit.d.ts +25 -25
- package/types/packages/core/src/task-detail.d.ts +20 -13
- package/types/packages/core/src/task-execution-record.d.ts +6 -6
- package/types/packages/core/src/task.d.ts +52 -16
- package/types/packages/core/src/team-context.d.ts +33 -0
- package/types/packages/core/src/transcript.d.ts +230 -0
- package/types/packages/core/src/trigger-dispatch.d.ts +2 -2
- package/types/packages/core/src/trust-panel.d.ts +27 -0
- package/types/packages/core/src/work-unit.d.ts +44 -18
- package/types/packages/core/src/workspace.d.ts +77 -6
- package/types/packages/live/src/rpc/runner-client.d.ts +586 -15
- package/types/packages/live/src/rpc/runner-group.d.ts +623 -267
- package/types/packages/sdk/src/loop/activities.d.ts +208 -1
- package/types/packages/sdk/src/loop/config.d.ts +1 -1
- package/types/packages/sdk/src/loop/define.d.ts +8 -2
- package/types/packages/sdk/src/loop/plan.d.ts +2 -2
- package/types/packages/sdk/src/loop/steps.d.ts +2 -2
- package/types/packages/sdk/src/loop/test-loop.d.ts +6 -1
- package/types/packages/sdk/src/program/engine.d.ts +71 -3
- package/types/packages/sdk/src/program/host.d.ts +13 -1
- package/types/packages/core/src/enterprise-code-host.d.ts +0 -18
- package/types/packages/core/src/project.d.ts +0 -66
|
@@ -506,8 +506,8 @@ export declare const AgentSyncProfileSource: Schema.Union<readonly [Schema.Struc
|
|
|
506
506
|
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
507
507
|
readonly enabled: Schema.Boolean;
|
|
508
508
|
}>, Schema.Struct<{
|
|
509
|
-
readonly kind: Schema.Literal<"
|
|
510
|
-
readonly
|
|
509
|
+
readonly kind: Schema.Literal<"team_kits">;
|
|
510
|
+
readonly teamId: Schema.String;
|
|
511
511
|
readonly enabled: Schema.Boolean;
|
|
512
512
|
}>]>;
|
|
513
513
|
export declare const AgentSyncProfile: Schema.Struct<{
|
|
@@ -530,8 +530,8 @@ export declare const AgentSyncProfile: Schema.Struct<{
|
|
|
530
530
|
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
531
531
|
readonly enabled: Schema.Boolean;
|
|
532
532
|
}>, Schema.Struct<{
|
|
533
|
-
readonly kind: Schema.Literal<"
|
|
534
|
-
readonly
|
|
533
|
+
readonly kind: Schema.Literal<"team_kits">;
|
|
534
|
+
readonly teamId: Schema.String;
|
|
535
535
|
readonly enabled: Schema.Boolean;
|
|
536
536
|
}>]>>;
|
|
537
537
|
}>;
|
|
@@ -585,7 +585,7 @@ export declare const AgentEnvironmentSource: Schema.Union<readonly [Schema.Struc
|
|
|
585
585
|
readonly kitSha256: Schema.optionalKey<Schema.String>;
|
|
586
586
|
readonly kitActivationId: Schema.optionalKey<Schema.String>;
|
|
587
587
|
readonly kitActivationType: Schema.optionalKey<Schema.String>;
|
|
588
|
-
readonly kind: Schema.Literal<"
|
|
588
|
+
readonly kind: Schema.Literal<"team_kit">;
|
|
589
589
|
readonly kitId: Schema.String;
|
|
590
590
|
readonly provenance: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"explicit">, Schema.Literal<"workspace_default">, Schema.Literal<"workspace_mandatory">]>>;
|
|
591
591
|
readonly policyRevision: Schema.optionalKey<Schema.Int>;
|
|
@@ -693,7 +693,7 @@ export declare const AgentEnvironment: Schema.Struct<{
|
|
|
693
693
|
readonly kitSha256: Schema.optionalKey<Schema.String>;
|
|
694
694
|
readonly kitActivationId: Schema.optionalKey<Schema.String>;
|
|
695
695
|
readonly kitActivationType: Schema.optionalKey<Schema.String>;
|
|
696
|
-
readonly kind: Schema.Literal<"
|
|
696
|
+
readonly kind: Schema.Literal<"team_kit">;
|
|
697
697
|
readonly kitId: Schema.String;
|
|
698
698
|
readonly provenance: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"explicit">, Schema.Literal<"workspace_default">, Schema.Literal<"workspace_mandatory">]>>;
|
|
699
699
|
readonly policyRevision: Schema.optionalKey<Schema.Int>;
|
|
@@ -785,7 +785,7 @@ export declare const AgentEnvironment: Schema.Struct<{
|
|
|
785
785
|
readonly kitSha256: Schema.optionalKey<Schema.String>;
|
|
786
786
|
readonly kitActivationId: Schema.optionalKey<Schema.String>;
|
|
787
787
|
readonly kitActivationType: Schema.optionalKey<Schema.String>;
|
|
788
|
-
readonly kind: Schema.Literal<"
|
|
788
|
+
readonly kind: Schema.Literal<"team_kit">;
|
|
789
789
|
readonly kitId: Schema.String;
|
|
790
790
|
readonly provenance: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"explicit">, Schema.Literal<"workspace_default">, Schema.Literal<"workspace_mandatory">]>>;
|
|
791
791
|
readonly policyRevision: Schema.optionalKey<Schema.Int>;
|
|
@@ -871,7 +871,7 @@ export declare const AgentEnvironment: Schema.Struct<{
|
|
|
871
871
|
readonly kitSha256: Schema.optionalKey<Schema.String>;
|
|
872
872
|
readonly kitActivationId: Schema.optionalKey<Schema.String>;
|
|
873
873
|
readonly kitActivationType: Schema.optionalKey<Schema.String>;
|
|
874
|
-
readonly kind: Schema.Literal<"
|
|
874
|
+
readonly kind: Schema.Literal<"team_kit">;
|
|
875
875
|
readonly kitId: Schema.String;
|
|
876
876
|
readonly provenance: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"explicit">, Schema.Literal<"workspace_default">, Schema.Literal<"workspace_mandatory">]>>;
|
|
877
877
|
readonly policyRevision: Schema.optionalKey<Schema.Int>;
|
|
@@ -949,7 +949,7 @@ export declare const AgentEnvironment: Schema.Struct<{
|
|
|
949
949
|
readonly kitSha256: Schema.optionalKey<Schema.String>;
|
|
950
950
|
readonly kitActivationId: Schema.optionalKey<Schema.String>;
|
|
951
951
|
readonly kitActivationType: Schema.optionalKey<Schema.String>;
|
|
952
|
-
readonly kind: Schema.Literal<"
|
|
952
|
+
readonly kind: Schema.Literal<"team_kit">;
|
|
953
953
|
readonly kitId: Schema.String;
|
|
954
954
|
readonly provenance: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"explicit">, Schema.Literal<"workspace_default">, Schema.Literal<"workspace_mandatory">]>>;
|
|
955
955
|
readonly policyRevision: Schema.optionalKey<Schema.Int>;
|
|
@@ -1042,7 +1042,7 @@ export declare const AgentEnvironment: Schema.Struct<{
|
|
|
1042
1042
|
readonly kitSha256: Schema.optionalKey<Schema.String>;
|
|
1043
1043
|
readonly kitActivationId: Schema.optionalKey<Schema.String>;
|
|
1044
1044
|
readonly kitActivationType: Schema.optionalKey<Schema.String>;
|
|
1045
|
-
readonly kind: Schema.Literal<"
|
|
1045
|
+
readonly kind: Schema.Literal<"team_kit">;
|
|
1046
1046
|
readonly kitId: Schema.String;
|
|
1047
1047
|
readonly provenance: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"explicit">, Schema.Literal<"workspace_default">, Schema.Literal<"workspace_mandatory">]>>;
|
|
1048
1048
|
readonly policyRevision: Schema.optionalKey<Schema.Int>;
|
|
@@ -1129,7 +1129,7 @@ export declare const AgentEnvironment: Schema.Struct<{
|
|
|
1129
1129
|
readonly kitSha256: Schema.optionalKey<Schema.String>;
|
|
1130
1130
|
readonly kitActivationId: Schema.optionalKey<Schema.String>;
|
|
1131
1131
|
readonly kitActivationType: Schema.optionalKey<Schema.String>;
|
|
1132
|
-
readonly kind: Schema.Literal<"
|
|
1132
|
+
readonly kind: Schema.Literal<"team_kit">;
|
|
1133
1133
|
readonly kitId: Schema.String;
|
|
1134
1134
|
readonly provenance: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"explicit">, Schema.Literal<"workspace_default">, Schema.Literal<"workspace_mandatory">]>>;
|
|
1135
1135
|
readonly policyRevision: Schema.optionalKey<Schema.Int>;
|
|
@@ -1206,7 +1206,7 @@ export declare const AgentEnvironment: Schema.Struct<{
|
|
|
1206
1206
|
readonly kitSha256: Schema.optionalKey<Schema.String>;
|
|
1207
1207
|
readonly kitActivationId: Schema.optionalKey<Schema.String>;
|
|
1208
1208
|
readonly kitActivationType: Schema.optionalKey<Schema.String>;
|
|
1209
|
-
readonly kind: Schema.Literal<"
|
|
1209
|
+
readonly kind: Schema.Literal<"team_kit">;
|
|
1210
1210
|
readonly kitId: Schema.String;
|
|
1211
1211
|
readonly provenance: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"explicit">, Schema.Literal<"workspace_default">, Schema.Literal<"workspace_mandatory">]>>;
|
|
1212
1212
|
readonly policyRevision: Schema.optionalKey<Schema.Int>;
|
|
@@ -1286,7 +1286,7 @@ export declare const AgentEnvironment: Schema.Struct<{
|
|
|
1286
1286
|
readonly kitSha256: Schema.optionalKey<Schema.String>;
|
|
1287
1287
|
readonly kitActivationId: Schema.optionalKey<Schema.String>;
|
|
1288
1288
|
readonly kitActivationType: Schema.optionalKey<Schema.String>;
|
|
1289
|
-
readonly kind: Schema.Literal<"
|
|
1289
|
+
readonly kind: Schema.Literal<"team_kit">;
|
|
1290
1290
|
readonly kitId: Schema.String;
|
|
1291
1291
|
readonly provenance: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"explicit">, Schema.Literal<"workspace_default">, Schema.Literal<"workspace_mandatory">]>>;
|
|
1292
1292
|
readonly policyRevision: Schema.optionalKey<Schema.Int>;
|
|
@@ -1363,7 +1363,7 @@ export declare const AgentEnvironment: Schema.Struct<{
|
|
|
1363
1363
|
readonly kitSha256: Schema.optionalKey<Schema.String>;
|
|
1364
1364
|
readonly kitActivationId: Schema.optionalKey<Schema.String>;
|
|
1365
1365
|
readonly kitActivationType: Schema.optionalKey<Schema.String>;
|
|
1366
|
-
readonly kind: Schema.Literal<"
|
|
1366
|
+
readonly kind: Schema.Literal<"team_kit">;
|
|
1367
1367
|
readonly kitId: Schema.String;
|
|
1368
1368
|
readonly provenance: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"explicit">, Schema.Literal<"workspace_default">, Schema.Literal<"workspace_mandatory">]>>;
|
|
1369
1369
|
readonly policyRevision: Schema.optionalKey<Schema.Int>;
|
|
@@ -1440,7 +1440,7 @@ export declare const AgentEnvironment: Schema.Struct<{
|
|
|
1440
1440
|
readonly kitSha256: Schema.optionalKey<Schema.String>;
|
|
1441
1441
|
readonly kitActivationId: Schema.optionalKey<Schema.String>;
|
|
1442
1442
|
readonly kitActivationType: Schema.optionalKey<Schema.String>;
|
|
1443
|
-
readonly kind: Schema.Literal<"
|
|
1443
|
+
readonly kind: Schema.Literal<"team_kit">;
|
|
1444
1444
|
readonly kitId: Schema.String;
|
|
1445
1445
|
readonly provenance: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"explicit">, Schema.Literal<"workspace_default">, Schema.Literal<"workspace_mandatory">]>>;
|
|
1446
1446
|
readonly policyRevision: Schema.optionalKey<Schema.Int>;
|
|
@@ -1554,7 +1554,7 @@ export declare const AgentEnvironmentSyncPlan: Schema.Struct<{
|
|
|
1554
1554
|
readonly kitSha256: Schema.optionalKey<Schema.String>;
|
|
1555
1555
|
readonly kitActivationId: Schema.optionalKey<Schema.String>;
|
|
1556
1556
|
readonly kitActivationType: Schema.optionalKey<Schema.String>;
|
|
1557
|
-
readonly kind: Schema.Literal<"
|
|
1557
|
+
readonly kind: Schema.Literal<"team_kit">;
|
|
1558
1558
|
readonly kitId: Schema.String;
|
|
1559
1559
|
readonly provenance: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"explicit">, Schema.Literal<"workspace_default">, Schema.Literal<"workspace_mandatory">]>>;
|
|
1560
1560
|
readonly policyRevision: Schema.optionalKey<Schema.Int>;
|
|
@@ -1646,7 +1646,7 @@ export declare const AgentEnvironmentSyncPlan: Schema.Struct<{
|
|
|
1646
1646
|
readonly kitSha256: Schema.optionalKey<Schema.String>;
|
|
1647
1647
|
readonly kitActivationId: Schema.optionalKey<Schema.String>;
|
|
1648
1648
|
readonly kitActivationType: Schema.optionalKey<Schema.String>;
|
|
1649
|
-
readonly kind: Schema.Literal<"
|
|
1649
|
+
readonly kind: Schema.Literal<"team_kit">;
|
|
1650
1650
|
readonly kitId: Schema.String;
|
|
1651
1651
|
readonly provenance: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"explicit">, Schema.Literal<"workspace_default">, Schema.Literal<"workspace_mandatory">]>>;
|
|
1652
1652
|
readonly policyRevision: Schema.optionalKey<Schema.Int>;
|
|
@@ -1732,7 +1732,7 @@ export declare const AgentEnvironmentSyncPlan: Schema.Struct<{
|
|
|
1732
1732
|
readonly kitSha256: Schema.optionalKey<Schema.String>;
|
|
1733
1733
|
readonly kitActivationId: Schema.optionalKey<Schema.String>;
|
|
1734
1734
|
readonly kitActivationType: Schema.optionalKey<Schema.String>;
|
|
1735
|
-
readonly kind: Schema.Literal<"
|
|
1735
|
+
readonly kind: Schema.Literal<"team_kit">;
|
|
1736
1736
|
readonly kitId: Schema.String;
|
|
1737
1737
|
readonly provenance: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"explicit">, Schema.Literal<"workspace_default">, Schema.Literal<"workspace_mandatory">]>>;
|
|
1738
1738
|
readonly policyRevision: Schema.optionalKey<Schema.Int>;
|
|
@@ -1810,7 +1810,7 @@ export declare const AgentEnvironmentSyncPlan: Schema.Struct<{
|
|
|
1810
1810
|
readonly kitSha256: Schema.optionalKey<Schema.String>;
|
|
1811
1811
|
readonly kitActivationId: Schema.optionalKey<Schema.String>;
|
|
1812
1812
|
readonly kitActivationType: Schema.optionalKey<Schema.String>;
|
|
1813
|
-
readonly kind: Schema.Literal<"
|
|
1813
|
+
readonly kind: Schema.Literal<"team_kit">;
|
|
1814
1814
|
readonly kitId: Schema.String;
|
|
1815
1815
|
readonly provenance: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"explicit">, Schema.Literal<"workspace_default">, Schema.Literal<"workspace_mandatory">]>>;
|
|
1816
1816
|
readonly policyRevision: Schema.optionalKey<Schema.Int>;
|
|
@@ -1903,7 +1903,7 @@ export declare const AgentEnvironmentSyncPlan: Schema.Struct<{
|
|
|
1903
1903
|
readonly kitSha256: Schema.optionalKey<Schema.String>;
|
|
1904
1904
|
readonly kitActivationId: Schema.optionalKey<Schema.String>;
|
|
1905
1905
|
readonly kitActivationType: Schema.optionalKey<Schema.String>;
|
|
1906
|
-
readonly kind: Schema.Literal<"
|
|
1906
|
+
readonly kind: Schema.Literal<"team_kit">;
|
|
1907
1907
|
readonly kitId: Schema.String;
|
|
1908
1908
|
readonly provenance: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"explicit">, Schema.Literal<"workspace_default">, Schema.Literal<"workspace_mandatory">]>>;
|
|
1909
1909
|
readonly policyRevision: Schema.optionalKey<Schema.Int>;
|
|
@@ -1990,7 +1990,7 @@ export declare const AgentEnvironmentSyncPlan: Schema.Struct<{
|
|
|
1990
1990
|
readonly kitSha256: Schema.optionalKey<Schema.String>;
|
|
1991
1991
|
readonly kitActivationId: Schema.optionalKey<Schema.String>;
|
|
1992
1992
|
readonly kitActivationType: Schema.optionalKey<Schema.String>;
|
|
1993
|
-
readonly kind: Schema.Literal<"
|
|
1993
|
+
readonly kind: Schema.Literal<"team_kit">;
|
|
1994
1994
|
readonly kitId: Schema.String;
|
|
1995
1995
|
readonly provenance: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"explicit">, Schema.Literal<"workspace_default">, Schema.Literal<"workspace_mandatory">]>>;
|
|
1996
1996
|
readonly policyRevision: Schema.optionalKey<Schema.Int>;
|
|
@@ -2067,7 +2067,7 @@ export declare const AgentEnvironmentSyncPlan: Schema.Struct<{
|
|
|
2067
2067
|
readonly kitSha256: Schema.optionalKey<Schema.String>;
|
|
2068
2068
|
readonly kitActivationId: Schema.optionalKey<Schema.String>;
|
|
2069
2069
|
readonly kitActivationType: Schema.optionalKey<Schema.String>;
|
|
2070
|
-
readonly kind: Schema.Literal<"
|
|
2070
|
+
readonly kind: Schema.Literal<"team_kit">;
|
|
2071
2071
|
readonly kitId: Schema.String;
|
|
2072
2072
|
readonly provenance: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"explicit">, Schema.Literal<"workspace_default">, Schema.Literal<"workspace_mandatory">]>>;
|
|
2073
2073
|
readonly policyRevision: Schema.optionalKey<Schema.Int>;
|
|
@@ -2147,7 +2147,7 @@ export declare const AgentEnvironmentSyncPlan: Schema.Struct<{
|
|
|
2147
2147
|
readonly kitSha256: Schema.optionalKey<Schema.String>;
|
|
2148
2148
|
readonly kitActivationId: Schema.optionalKey<Schema.String>;
|
|
2149
2149
|
readonly kitActivationType: Schema.optionalKey<Schema.String>;
|
|
2150
|
-
readonly kind: Schema.Literal<"
|
|
2150
|
+
readonly kind: Schema.Literal<"team_kit">;
|
|
2151
2151
|
readonly kitId: Schema.String;
|
|
2152
2152
|
readonly provenance: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"explicit">, Schema.Literal<"workspace_default">, Schema.Literal<"workspace_mandatory">]>>;
|
|
2153
2153
|
readonly policyRevision: Schema.optionalKey<Schema.Int>;
|
|
@@ -2224,7 +2224,7 @@ export declare const AgentEnvironmentSyncPlan: Schema.Struct<{
|
|
|
2224
2224
|
readonly kitSha256: Schema.optionalKey<Schema.String>;
|
|
2225
2225
|
readonly kitActivationId: Schema.optionalKey<Schema.String>;
|
|
2226
2226
|
readonly kitActivationType: Schema.optionalKey<Schema.String>;
|
|
2227
|
-
readonly kind: Schema.Literal<"
|
|
2227
|
+
readonly kind: Schema.Literal<"team_kit">;
|
|
2228
2228
|
readonly kitId: Schema.String;
|
|
2229
2229
|
readonly provenance: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"explicit">, Schema.Literal<"workspace_default">, Schema.Literal<"workspace_mandatory">]>>;
|
|
2230
2230
|
readonly policyRevision: Schema.optionalKey<Schema.Int>;
|
|
@@ -2301,7 +2301,7 @@ export declare const AgentEnvironmentSyncPlan: Schema.Struct<{
|
|
|
2301
2301
|
readonly kitSha256: Schema.optionalKey<Schema.String>;
|
|
2302
2302
|
readonly kitActivationId: Schema.optionalKey<Schema.String>;
|
|
2303
2303
|
readonly kitActivationType: Schema.optionalKey<Schema.String>;
|
|
2304
|
-
readonly kind: Schema.Literal<"
|
|
2304
|
+
readonly kind: Schema.Literal<"team_kit">;
|
|
2305
2305
|
readonly kitId: Schema.String;
|
|
2306
2306
|
readonly provenance: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"explicit">, Schema.Literal<"workspace_default">, Schema.Literal<"workspace_mandatory">]>>;
|
|
2307
2307
|
readonly policyRevision: Schema.optionalKey<Schema.Int>;
|
|
@@ -2378,7 +2378,7 @@ export declare const AgentEnvironmentSyncPlan: Schema.Struct<{
|
|
|
2378
2378
|
readonly kitSha256: Schema.optionalKey<Schema.String>;
|
|
2379
2379
|
readonly kitActivationId: Schema.optionalKey<Schema.String>;
|
|
2380
2380
|
readonly kitActivationType: Schema.optionalKey<Schema.String>;
|
|
2381
|
-
readonly kind: Schema.Literal<"
|
|
2381
|
+
readonly kind: Schema.Literal<"team_kit">;
|
|
2382
2382
|
readonly kitId: Schema.String;
|
|
2383
2383
|
readonly provenance: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"explicit">, Schema.Literal<"workspace_default">, Schema.Literal<"workspace_mandatory">]>>;
|
|
2384
2384
|
readonly policyRevision: Schema.optionalKey<Schema.Int>;
|
|
@@ -17,7 +17,7 @@ export declare const AgentLaunchSnapshotContent: Schema.Union<readonly [Schema.S
|
|
|
17
17
|
export declare const AgentLaunchSnapshot: Schema.Struct<{
|
|
18
18
|
readonly id: Schema.String;
|
|
19
19
|
readonly workspaceId: Schema.String;
|
|
20
|
-
readonly
|
|
20
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
21
21
|
readonly taskId: Schema.String;
|
|
22
22
|
readonly kind: Schema.Union<readonly [Schema.Literal<"agent_environment">, Schema.Literal<"agent_sandbox_policy">]>;
|
|
23
23
|
readonly version: Schema.Literal<1>;
|
|
@@ -27,7 +27,22 @@ export declare const PackageRegistryHosts: readonly ['registry.npmjs.org', 'pypi
|
|
|
27
27
|
/** Where an agent Step may connect: Kitman, its Harness's model providers, package registries, its git host and its Agent's own hosts. */
|
|
28
28
|
export declare const agentNetworkAllowlist: (input: {
|
|
29
29
|
readonly apiUrl: string;
|
|
30
|
+
readonly storageOrigin?: string | undefined;
|
|
30
31
|
readonly providerHosts: readonly string[];
|
|
31
32
|
readonly repoBindingHost?: string;
|
|
32
33
|
readonly agent?: AgentSandboxNetwork;
|
|
33
34
|
}) => AgentSandboxNetwork;
|
|
35
|
+
/** Where a check may connect: Kitman, package registries and its git host. */
|
|
36
|
+
export declare const verificationNetworkAllowlist: (input: {
|
|
37
|
+
readonly apiUrl: string;
|
|
38
|
+
readonly storageOrigin?: string | undefined;
|
|
39
|
+
readonly repoBindingHost: string;
|
|
40
|
+
}) => "open" | {
|
|
41
|
+
readonly hosts: readonly string[];
|
|
42
|
+
};
|
|
43
|
+
/** The hostnames a program may call, Kitman's and its Loop's; `undefined` for a Loop that opens the network. */
|
|
44
|
+
export declare const programNetworkHosts: (input: {
|
|
45
|
+
readonly apiUrl: string;
|
|
46
|
+
readonly storageOrigin?: string | undefined;
|
|
47
|
+
readonly network: AgentSandboxNetwork | undefined;
|
|
48
|
+
}) => string[] | undefined;
|
|
@@ -17,9 +17,9 @@ export declare const ApprovalQueueItem: Schema.Struct<{
|
|
|
17
17
|
readonly summary: Schema.String;
|
|
18
18
|
readonly target: Schema.String;
|
|
19
19
|
readonly scope: Schema.Struct<{
|
|
20
|
-
readonly kind: Schema.Union<readonly [Schema.Literal<"workspace">, Schema.Literal<"
|
|
20
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"workspace">, Schema.Literal<"team">]>;
|
|
21
21
|
readonly workspaceId: Schema.String;
|
|
22
|
-
readonly
|
|
22
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
23
23
|
readonly label: Schema.String;
|
|
24
24
|
}>;
|
|
25
25
|
readonly proposer: Schema.String;
|
|
@@ -64,9 +64,9 @@ export declare const ApprovalQueuePage: Schema.Struct<{
|
|
|
64
64
|
readonly summary: Schema.String;
|
|
65
65
|
readonly target: Schema.String;
|
|
66
66
|
readonly scope: Schema.Struct<{
|
|
67
|
-
readonly kind: Schema.Union<readonly [Schema.Literal<"workspace">, Schema.Literal<"
|
|
67
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"workspace">, Schema.Literal<"team">]>;
|
|
68
68
|
readonly workspaceId: Schema.String;
|
|
69
|
-
readonly
|
|
69
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
70
70
|
readonly label: Schema.String;
|
|
71
71
|
}>;
|
|
72
72
|
readonly proposer: Schema.String;
|
|
@@ -19,7 +19,7 @@ export declare const AuditEventListQuery: Schema.Struct<{
|
|
|
19
19
|
readonly actorId: Schema.optionalKey<Schema.String>;
|
|
20
20
|
readonly search: Schema.optionalKey<Schema.String>;
|
|
21
21
|
readonly target: Schema.optionalKey<Schema.String>;
|
|
22
|
-
readonly
|
|
22
|
+
readonly team: Schema.optionalKey<Schema.String>;
|
|
23
23
|
readonly task: Schema.optionalKey<Schema.String>;
|
|
24
24
|
readonly loop: Schema.optionalKey<Schema.String>;
|
|
25
25
|
readonly proposal: Schema.optionalKey<Schema.String>;
|
|
@@ -18,7 +18,7 @@ export declare const StepAttemptDeliverySummary: Schema.Struct<{
|
|
|
18
18
|
readonly summary: Schema.optionalKey<Schema.String>;
|
|
19
19
|
}>>>;
|
|
20
20
|
readonly changeRequest: Schema.optionalKey<Schema.Struct<{
|
|
21
|
-
readonly provider: Schema.
|
|
21
|
+
readonly provider: Schema.Literals<readonly ["github", "gitlab", "forgejo", "gitea", "gitee", "bitbucket", "azure-devops", "generic_git"]>;
|
|
22
22
|
readonly url: Schema.String;
|
|
23
23
|
readonly externalId: Schema.optionalKey<Schema.String>;
|
|
24
24
|
readonly title: Schema.String;
|
|
@@ -16,7 +16,7 @@ export declare const ChangeRequestReviewSafeMetadata: Schema.Struct<{
|
|
|
16
16
|
}>;
|
|
17
17
|
export declare const ChangeRequestReviewProviderActionRef: Schema.Struct<{
|
|
18
18
|
readonly kind: Schema.Literals<readonly ["provider_review", "provider_comment", "provider_approval", "provider_change_request"]>;
|
|
19
|
-
readonly provider: Schema.
|
|
19
|
+
readonly provider: Schema.Literals<readonly ["github", "gitlab", "forgejo", "gitea", "gitee", "bitbucket", "azure-devops", "generic_git"]>;
|
|
20
20
|
readonly host: Schema.String;
|
|
21
21
|
readonly externalId: Schema.String;
|
|
22
22
|
readonly url: Schema.optionalKey<Schema.String>;
|
|
@@ -35,7 +35,7 @@ export declare const ChangeRequestReviewProviderActionRef: Schema.Struct<{
|
|
|
35
35
|
export declare const ChangeRequestReview: Schema.Struct<{
|
|
36
36
|
readonly id: Schema.String;
|
|
37
37
|
readonly workspaceId: Schema.String;
|
|
38
|
-
readonly
|
|
38
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
39
39
|
readonly changeRequestId: Schema.String;
|
|
40
40
|
readonly taskId: Schema.String;
|
|
41
41
|
readonly sessionId: Schema.optionalKey<Schema.String>;
|
|
@@ -43,10 +43,11 @@ export declare const ChangeRequestReview: Schema.Struct<{
|
|
|
43
43
|
readonly reviewerActorType: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"human">, Schema.Literal<"delegated_agent">, Schema.Literal<"agent">]>>;
|
|
44
44
|
readonly reviewerActorId: Schema.optionalKey<Schema.String>;
|
|
45
45
|
readonly outcome: Schema.Literals<readonly ["approved", "changes_requested", "commented", "needs_human", "failed"]>;
|
|
46
|
+
/** A person's words, or an agent's summary held to ChangeRequestReviewSafeSummary when it was written. */
|
|
46
47
|
readonly summary: Schema.String;
|
|
47
48
|
readonly providerActionRefs: Schema.$Array<Schema.Struct<{
|
|
48
49
|
readonly kind: Schema.Literals<readonly ["provider_review", "provider_comment", "provider_approval", "provider_change_request"]>;
|
|
49
|
-
readonly provider: Schema.
|
|
50
|
+
readonly provider: Schema.Literals<readonly ["github", "gitlab", "forgejo", "gitea", "gitee", "bitbucket", "azure-devops", "generic_git"]>;
|
|
50
51
|
readonly host: Schema.String;
|
|
51
52
|
readonly externalId: Schema.String;
|
|
52
53
|
readonly url: Schema.optionalKey<Schema.String>;
|
|
@@ -69,7 +70,7 @@ export declare const ChangeRequestReviewList: Schema.Struct<{
|
|
|
69
70
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
70
71
|
readonly id: Schema.String;
|
|
71
72
|
readonly workspaceId: Schema.String;
|
|
72
|
-
readonly
|
|
73
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
73
74
|
readonly changeRequestId: Schema.String;
|
|
74
75
|
readonly taskId: Schema.String;
|
|
75
76
|
readonly sessionId: Schema.optionalKey<Schema.String>;
|
|
@@ -77,10 +78,11 @@ export declare const ChangeRequestReviewList: Schema.Struct<{
|
|
|
77
78
|
readonly reviewerActorType: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"human">, Schema.Literal<"delegated_agent">, Schema.Literal<"agent">]>>;
|
|
78
79
|
readonly reviewerActorId: Schema.optionalKey<Schema.String>;
|
|
79
80
|
readonly outcome: Schema.Literals<readonly ["approved", "changes_requested", "commented", "needs_human", "failed"]>;
|
|
81
|
+
/** A person's words, or an agent's summary held to ChangeRequestReviewSafeSummary when it was written. */
|
|
80
82
|
readonly summary: Schema.String;
|
|
81
83
|
readonly providerActionRefs: Schema.$Array<Schema.Struct<{
|
|
82
84
|
readonly kind: Schema.Literals<readonly ["provider_review", "provider_comment", "provider_approval", "provider_change_request"]>;
|
|
83
|
-
readonly provider: Schema.
|
|
85
|
+
readonly provider: Schema.Literals<readonly ["github", "gitlab", "forgejo", "gitea", "gitee", "bitbucket", "azure-devops", "generic_git"]>;
|
|
84
86
|
readonly host: Schema.String;
|
|
85
87
|
readonly externalId: Schema.String;
|
|
86
88
|
readonly url: Schema.optionalKey<Schema.String>;
|
|
@@ -105,7 +107,7 @@ export declare const ChangeRequestReviewDetail: Schema.Struct<{
|
|
|
105
107
|
readonly changeRequestReview: Schema.Struct<{
|
|
106
108
|
readonly id: Schema.String;
|
|
107
109
|
readonly workspaceId: Schema.String;
|
|
108
|
-
readonly
|
|
110
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
109
111
|
readonly changeRequestId: Schema.String;
|
|
110
112
|
readonly taskId: Schema.String;
|
|
111
113
|
readonly sessionId: Schema.optionalKey<Schema.String>;
|
|
@@ -113,10 +115,11 @@ export declare const ChangeRequestReviewDetail: Schema.Struct<{
|
|
|
113
115
|
readonly reviewerActorType: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"human">, Schema.Literal<"delegated_agent">, Schema.Literal<"agent">]>>;
|
|
114
116
|
readonly reviewerActorId: Schema.optionalKey<Schema.String>;
|
|
115
117
|
readonly outcome: Schema.Literals<readonly ["approved", "changes_requested", "commented", "needs_human", "failed"]>;
|
|
118
|
+
/** A person's words, or an agent's summary held to ChangeRequestReviewSafeSummary when it was written. */
|
|
116
119
|
readonly summary: Schema.String;
|
|
117
120
|
readonly providerActionRefs: Schema.$Array<Schema.Struct<{
|
|
118
121
|
readonly kind: Schema.Literals<readonly ["provider_review", "provider_comment", "provider_approval", "provider_change_request"]>;
|
|
119
|
-
readonly provider: Schema.
|
|
122
|
+
readonly provider: Schema.Literals<readonly ["github", "gitlab", "forgejo", "gitea", "gitee", "bitbucket", "azure-devops", "generic_git"]>;
|
|
120
123
|
readonly host: Schema.String;
|
|
121
124
|
readonly externalId: Schema.String;
|
|
122
125
|
readonly url: Schema.optionalKey<Schema.String>;
|
|
@@ -136,6 +139,195 @@ export declare const ChangeRequestReviewDetail: Schema.Struct<{
|
|
|
136
139
|
readonly updatedAt: Schema.String;
|
|
137
140
|
}>;
|
|
138
141
|
}>;
|
|
142
|
+
/** A person's words on a settled Run's ChangeRequest. */
|
|
143
|
+
export declare const RunChangesRequest: Schema.Struct<{
|
|
144
|
+
readonly text: Schema.String;
|
|
145
|
+
}>;
|
|
146
|
+
/** The review that recorded them, and the next Run of the Loop that makes them. */
|
|
147
|
+
export declare const RunChangesRequested: Schema.Struct<{
|
|
148
|
+
readonly review: Schema.Struct<{
|
|
149
|
+
readonly id: Schema.String;
|
|
150
|
+
readonly workspaceId: Schema.String;
|
|
151
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
152
|
+
readonly changeRequestId: Schema.String;
|
|
153
|
+
readonly taskId: Schema.String;
|
|
154
|
+
readonly sessionId: Schema.optionalKey<Schema.String>;
|
|
155
|
+
readonly stepAttemptId: Schema.optionalKey<Schema.String>;
|
|
156
|
+
readonly reviewerActorType: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"human">, Schema.Literal<"delegated_agent">, Schema.Literal<"agent">]>>;
|
|
157
|
+
readonly reviewerActorId: Schema.optionalKey<Schema.String>;
|
|
158
|
+
readonly outcome: Schema.Literals<readonly ["approved", "changes_requested", "commented", "needs_human", "failed"]>;
|
|
159
|
+
/** A person's words, or an agent's summary held to ChangeRequestReviewSafeSummary when it was written. */
|
|
160
|
+
readonly summary: Schema.String;
|
|
161
|
+
readonly providerActionRefs: Schema.$Array<Schema.Struct<{
|
|
162
|
+
readonly kind: Schema.Literals<readonly ["provider_review", "provider_comment", "provider_approval", "provider_change_request"]>;
|
|
163
|
+
readonly provider: Schema.Literals<readonly ["github", "gitlab", "forgejo", "gitea", "gitee", "bitbucket", "azure-devops", "generic_git"]>;
|
|
164
|
+
readonly host: Schema.String;
|
|
165
|
+
readonly externalId: Schema.String;
|
|
166
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
167
|
+
readonly submittedAt: Schema.optionalKey<Schema.String>;
|
|
168
|
+
readonly metadata: Schema.optionalKey<Schema.Struct<{
|
|
169
|
+
readonly providerState: Schema.optionalKey<Schema.String>;
|
|
170
|
+
readonly providerStatus: Schema.optionalKey<Schema.String>;
|
|
171
|
+
readonly positionCount: Schema.optionalKey<Schema.Int>;
|
|
172
|
+
readonly threadCount: Schema.optionalKey<Schema.Int>;
|
|
173
|
+
readonly noteCount: Schema.optionalKey<Schema.Int>;
|
|
174
|
+
readonly actionCount: Schema.optionalKey<Schema.Int>;
|
|
175
|
+
readonly blocking: Schema.optionalKey<Schema.Boolean>;
|
|
176
|
+
readonly resolved: Schema.optionalKey<Schema.Boolean>;
|
|
177
|
+
}>>;
|
|
178
|
+
}>>;
|
|
179
|
+
readonly createdAt: Schema.String;
|
|
180
|
+
readonly updatedAt: Schema.String;
|
|
181
|
+
}>;
|
|
182
|
+
readonly next: Schema.Struct<{
|
|
183
|
+
readonly run: Schema.Struct<{
|
|
184
|
+
readonly id: Schema.String;
|
|
185
|
+
readonly workspaceId: Schema.String;
|
|
186
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
187
|
+
readonly taskId: Schema.optionalKey<Schema.String>;
|
|
188
|
+
readonly sessionId: Schema.optionalKey<Schema.String>;
|
|
189
|
+
readonly loopId: Schema.String;
|
|
190
|
+
readonly packageVersionId: Schema.optionalKey<Schema.String>;
|
|
191
|
+
readonly resourceVersion: Schema.Int;
|
|
192
|
+
readonly status: Schema.Literals<readonly ["pending", "running", "blocked", "completed", "failed", "canceled", "expired"]>;
|
|
193
|
+
readonly trigger: Schema.Struct<{
|
|
194
|
+
readonly event: Schema.String;
|
|
195
|
+
readonly eventId: Schema.String;
|
|
196
|
+
readonly subject: Schema.optionalKey<Schema.Struct<{
|
|
197
|
+
readonly kind: Schema.String;
|
|
198
|
+
readonly id: Schema.String;
|
|
199
|
+
}>>;
|
|
200
|
+
readonly occurredAt: Schema.String;
|
|
201
|
+
readonly metadata: Schema.$Record<Schema.String, Schema.Codec<import("./loop").LoopStepOutputDataValue, import("./loop").LoopStepOutputDataValue, never, never>>;
|
|
202
|
+
}>;
|
|
203
|
+
readonly state: Schema.Struct<{
|
|
204
|
+
readonly stepStates: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
205
|
+
readonly stepKey: Schema.String;
|
|
206
|
+
readonly sequence: Schema.Int;
|
|
207
|
+
readonly attempts: Schema.Int;
|
|
208
|
+
readonly stepAttemptId: Schema.optionalKey<Schema.String>;
|
|
209
|
+
readonly startedAt: Schema.optionalKey<Schema.String>;
|
|
210
|
+
readonly endedAt: Schema.optionalKey<Schema.String>;
|
|
211
|
+
readonly output: Schema.optionalKey<Schema.Struct<{
|
|
212
|
+
readonly stepKey: Schema.String;
|
|
213
|
+
readonly outputSchemaRef: Schema.Struct<{
|
|
214
|
+
readonly kind: Schema.Literal<"typebox_ref">;
|
|
215
|
+
readonly name: Schema.String;
|
|
216
|
+
readonly version: Schema.optionalKey<Schema.String>;
|
|
217
|
+
readonly sha256: Schema.optionalKey<Schema.String>;
|
|
218
|
+
}>;
|
|
219
|
+
readonly summary: Schema.String;
|
|
220
|
+
readonly data: Schema.$Record<Schema.String, Schema.Codec<import("./loop").LoopStepOutputDataValue, import("./loop").LoopStepOutputDataValue, never, never>>;
|
|
221
|
+
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<import("./loop").LoopStepOutputDataValue, import("./loop").LoopStepOutputDataValue, never, never>>>;
|
|
222
|
+
readonly refs: Schema.$Array<Schema.Struct<{
|
|
223
|
+
readonly kind: Schema.Literals<readonly ["task", "kit", "memory", "decision", "knowledge_record", "context_pack", "step_attempt", "change_request", "change_request_review", "provider_action", "thread_entry", "run", "artifact"]>;
|
|
224
|
+
readonly id: Schema.optionalKey<Schema.String>;
|
|
225
|
+
readonly externalId: Schema.optionalKey<Schema.String>;
|
|
226
|
+
readonly provider: Schema.optionalKey<Schema.String>;
|
|
227
|
+
readonly title: Schema.optionalKey<Schema.String>;
|
|
228
|
+
}>>;
|
|
229
|
+
}>>;
|
|
230
|
+
readonly failureSummary: Schema.optionalKey<Schema.String>;
|
|
231
|
+
readonly updatedAt: Schema.String;
|
|
232
|
+
readonly required: Schema.Literal<true>;
|
|
233
|
+
readonly status: Schema.Literals<readonly ["pending", "running", "waiting", "blocked", "completed", "failed", "canceled"]>;
|
|
234
|
+
}>, Schema.Struct<{
|
|
235
|
+
readonly stepKey: Schema.String;
|
|
236
|
+
readonly sequence: Schema.Int;
|
|
237
|
+
readonly attempts: Schema.Int;
|
|
238
|
+
readonly stepAttemptId: Schema.optionalKey<Schema.String>;
|
|
239
|
+
readonly startedAt: Schema.optionalKey<Schema.String>;
|
|
240
|
+
readonly endedAt: Schema.optionalKey<Schema.String>;
|
|
241
|
+
readonly output: Schema.optionalKey<Schema.Struct<{
|
|
242
|
+
readonly stepKey: Schema.String;
|
|
243
|
+
readonly outputSchemaRef: Schema.Struct<{
|
|
244
|
+
readonly kind: Schema.Literal<"typebox_ref">;
|
|
245
|
+
readonly name: Schema.String;
|
|
246
|
+
readonly version: Schema.optionalKey<Schema.String>;
|
|
247
|
+
readonly sha256: Schema.optionalKey<Schema.String>;
|
|
248
|
+
}>;
|
|
249
|
+
readonly summary: Schema.String;
|
|
250
|
+
readonly data: Schema.$Record<Schema.String, Schema.Codec<import("./loop").LoopStepOutputDataValue, import("./loop").LoopStepOutputDataValue, never, never>>;
|
|
251
|
+
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<import("./loop").LoopStepOutputDataValue, import("./loop").LoopStepOutputDataValue, never, never>>>;
|
|
252
|
+
readonly refs: Schema.$Array<Schema.Struct<{
|
|
253
|
+
readonly kind: Schema.Literals<readonly ["task", "kit", "memory", "decision", "knowledge_record", "context_pack", "step_attempt", "change_request", "change_request_review", "provider_action", "thread_entry", "run", "artifact"]>;
|
|
254
|
+
readonly id: Schema.optionalKey<Schema.String>;
|
|
255
|
+
readonly externalId: Schema.optionalKey<Schema.String>;
|
|
256
|
+
readonly provider: Schema.optionalKey<Schema.String>;
|
|
257
|
+
readonly title: Schema.optionalKey<Schema.String>;
|
|
258
|
+
}>>;
|
|
259
|
+
}>>;
|
|
260
|
+
readonly failureSummary: Schema.optionalKey<Schema.String>;
|
|
261
|
+
readonly updatedAt: Schema.String;
|
|
262
|
+
readonly required: Schema.Literal<false>;
|
|
263
|
+
readonly status: Schema.Literals<readonly ["pending", "running", "waiting", "blocked", "completed", "failed", "skipped", "canceled"]>;
|
|
264
|
+
}>]>>;
|
|
265
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
266
|
+
readonly resultMetadata: Schema.$Record<Schema.String, Schema.Codec<import("./loop").LoopStepOutputDataValue, import("./loop").LoopStepOutputDataValue, never, never>>;
|
|
267
|
+
}>;
|
|
268
|
+
readonly loopDigest: Schema.optionalKey<Schema.String>;
|
|
269
|
+
readonly loopLayer: Schema.optionalKey<Schema.Literals<readonly ["team", "workspace", "shipped"]>>;
|
|
270
|
+
readonly parentRunId: Schema.optionalKey<Schema.String>;
|
|
271
|
+
readonly waiting: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
272
|
+
readonly kind: Schema.Literal<"question">;
|
|
273
|
+
readonly name: Schema.String;
|
|
274
|
+
readonly questionId: Schema.String;
|
|
275
|
+
}>, Schema.Struct<{
|
|
276
|
+
readonly kind: Schema.Literal<"clock">;
|
|
277
|
+
readonly name: Schema.String;
|
|
278
|
+
readonly firesAt: Schema.String;
|
|
279
|
+
}>, Schema.Struct<{
|
|
280
|
+
readonly kind: Schema.Literal<"event">;
|
|
281
|
+
readonly name: Schema.String;
|
|
282
|
+
readonly event: Schema.String;
|
|
283
|
+
readonly timesOutAt: Schema.String;
|
|
284
|
+
}>, Schema.Struct<{
|
|
285
|
+
readonly kind: Schema.Literal<"step">;
|
|
286
|
+
readonly name: Schema.String;
|
|
287
|
+
readonly stepAttemptId: Schema.String;
|
|
288
|
+
}>, Schema.Struct<{
|
|
289
|
+
readonly kind: Schema.Literal<"child">;
|
|
290
|
+
readonly name: Schema.String;
|
|
291
|
+
readonly runId: Schema.String;
|
|
292
|
+
}>, Schema.Struct<{
|
|
293
|
+
readonly kind: Schema.Literal<"verification">;
|
|
294
|
+
readonly name: Schema.String;
|
|
295
|
+
readonly verificationId: Schema.String;
|
|
296
|
+
}>]>>>;
|
|
297
|
+
readonly output: Schema.optionalKey<Schema.Unknown>;
|
|
298
|
+
readonly failureSummary: Schema.optionalKey<Schema.String>;
|
|
299
|
+
readonly closure: Schema.optionalKey<Schema.Struct<{
|
|
300
|
+
readonly kind: Schema.Literals<readonly ["complete", "abandoned"]>;
|
|
301
|
+
readonly reason: Schema.optionalKey<Schema.String>;
|
|
302
|
+
readonly closedByUserId: Schema.String;
|
|
303
|
+
readonly closedAt: Schema.String;
|
|
304
|
+
}>>;
|
|
305
|
+
readonly alignment: Schema.optionalKey<Schema.Struct<{
|
|
306
|
+
readonly verdict: Schema.Literals<readonly ["aligned", "not_aligned", "unverified"]>;
|
|
307
|
+
readonly reasons: Schema.$Array<Schema.String>;
|
|
308
|
+
readonly intentVersion: Schema.Int;
|
|
309
|
+
readonly judgedAt: Schema.String;
|
|
310
|
+
}>>;
|
|
311
|
+
readonly startedAt: Schema.optionalKey<Schema.String>;
|
|
312
|
+
readonly completedAt: Schema.optionalKey<Schema.String>;
|
|
313
|
+
readonly createdAt: Schema.String;
|
|
314
|
+
readonly updatedAt: Schema.String;
|
|
315
|
+
}>;
|
|
316
|
+
readonly task: Schema.optionalKey<Schema.Struct<{
|
|
317
|
+
readonly id: Schema.String;
|
|
318
|
+
readonly taskKey: Schema.String;
|
|
319
|
+
}>>;
|
|
320
|
+
readonly inferred: Schema.Struct<{
|
|
321
|
+
readonly repoBindingId: Schema.optionalKey<Schema.String>;
|
|
322
|
+
readonly branch: Schema.optionalKey<Schema.String>;
|
|
323
|
+
readonly changeRequestId: Schema.optionalKey<Schema.String>;
|
|
324
|
+
readonly trackerKeys: Schema.$Array<Schema.String>;
|
|
325
|
+
readonly outcome: Schema.optionalKey<Schema.String>;
|
|
326
|
+
}>;
|
|
327
|
+
}>;
|
|
328
|
+
}>;
|
|
329
|
+
export type RunChangesRequest = (typeof RunChangesRequest)['Type'];
|
|
330
|
+
export type RunChangesRequested = (typeof RunChangesRequested)['Type'];
|
|
139
331
|
export type ChangeRequestReviewOutcome = (typeof ChangeRequestReviewOutcome)['Type'];
|
|
140
332
|
export type ChangeRequestReviewProviderActionKind = (typeof ChangeRequestReviewProviderActionKind)['Type'];
|
|
141
333
|
export type ChangeRequestReviewSafeSummary = (typeof ChangeRequestReviewSafeSummary)['Type'];
|