@xfey/tutti 0.1.119 → 0.1.120
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/approvals/decision-command.d.ts +2 -2
- package/dist/collaboration-state/clarification-snapshot.d.ts +9 -9
- package/dist/collaboration-state/task-compile-context.d.ts +1 -1
- package/dist/control-plane/workflows/openai.d.ts +3 -4
- package/dist/control-plane/workflows/openai.js +3 -2
- package/dist/providers/openai/app-server/invocation-coordinator.d.ts +1 -0
- package/dist/providers/openai/app-server/invocation-coordinator.js +4 -1
- package/dist/providers/openai/app-server/invocation-deadline.d.ts +3 -0
- package/dist/providers/openai/app-server/invocation-deadline.js +15 -0
- package/dist/providers/openai/app-server/read-only-procedure.d.ts +4 -2
- package/dist/providers/openai/app-server/read-only-procedure.js +16 -0
- package/dist/providers/openai/app-server/workspace-write-run.d.ts +4 -2
- package/dist/providers/openai/app-server/workspace-write-run.js +16 -0
- package/dist/providers/openai/chat-assistant.d.ts +3 -4
- package/dist/providers/openai/chat-assistant.js +2 -1
- package/dist/providers/openai/execution-access.d.ts +17 -0
- package/dist/providers/openai/execution-access.js +13 -0
- package/dist/providers/openai/sdk-procedure-runner.d.ts +2 -2
- package/dist/providers/openai/sdk-procedure-runner.js +17 -0
- package/dist/run-pipeline/artifact-applicability.d.ts +3 -4
- package/dist/run-pipeline/artifact-applicability.js +2 -1
- package/dist/run-pipeline/openai.d.ts +3 -4
- package/dist/run-pipeline/openai.js +3 -2
- package/dist/run-pipeline/task-run-invocation.js +6 -12
- package/dist/server-shell/cli/cli.js +3 -0
- package/dist/server-shell/cli/host-lifecycle.js +1 -0
- package/dist/server-shell/cli/host-server-runtime.d.ts +1 -0
- package/dist/server-shell/cli/host-server-runtime.js +83 -34
- package/dist/server-shell/cli/launch-command.js +1 -1
- package/dist/server-shell/cli/launch.d.ts +7 -3
- package/dist/server-shell/cli/launch.js +23 -4
- package/dist/server-shell/cli/machine-local.d.ts +9 -0
- package/dist/server-shell/cli/machine-local.js +60 -6
- package/dist/server-shell/cli/project-resolver.d.ts +2 -2
- package/dist/server-shell/cli/project-resolver.js +6 -3
- package/dist/server-shell/cli/relay-registration.js +38 -1
- package/dist/server-shell/http/routes/local-control.d.ts +1 -1
- package/dist/server-shell/http/routes/local-control.js +2 -46
- package/dist/server-shell/http/routes/project-api/openapi-workspace-routes.d.ts +47 -137
- package/dist/server-shell/http/routes/project-api/openapi.d.ts +47 -137
- package/dist/server-shell/http/routes/project-api/schemas.d.ts +25 -136
- package/dist/server-shell/http/routes/project-api/schemas.js +4 -58
- package/dist/server-shell/http/routes/project-api/types.d.ts +4 -0
- package/dist/server-shell/local-console/managed-project-routes.d.ts +9 -0
- package/dist/server-shell/local-console/managed-project-routes.js +120 -0
- package/dist/server-shell/local-console/managed-project-service.d.ts +151 -0
- package/dist/server-shell/local-console/managed-project-service.js +163 -0
- package/dist/server-shell/local-console/operation-coordinator.d.ts +1 -1
- package/dist/server-shell/local-console/package-update-hosts.js +2 -1
- package/dist/server-shell/local-console/project-service.d.ts +5 -1
- package/dist/server-shell/local-console/project-service.js +63 -14
- package/dist/server-shell/local-console/server.js +22 -2
- package/dist/server-shell/managed-access/execution-binding.d.ts +9 -0
- package/dist/server-shell/managed-access/execution-binding.js +22 -0
- package/dist/server-shell/managed-access/existing-project.d.ts +15 -0
- package/dist/server-shell/managed-access/existing-project.js +41 -0
- package/dist/server-shell/managed-access/model-control-client.d.ts +66 -0
- package/dist/server-shell/managed-access/model-control-client.js +114 -0
- package/dist/server-shell/managed-access/private-store.d.ts +19 -0
- package/dist/server-shell/managed-access/private-store.js +275 -0
- package/dist/server-shell/managed-access/project-provider.d.ts +18 -0
- package/dist/server-shell/managed-access/project-provider.js +30 -0
- package/dist/server-shell/managed-access/records.d.ts +108 -0
- package/dist/server-shell/managed-access/records.js +73 -0
- package/dist/server-shell/managed-access/runners.d.ts +11 -0
- package/dist/server-shell/managed-access/runners.js +103 -0
- package/dist/server-shell/managed-access/runtime-records.d.ts +110 -0
- package/dist/server-shell/managed-access/runtime-records.js +65 -0
- package/dist/server-shell/managed-access/runtime.d.ts +48 -0
- package/dist/server-shell/managed-access/runtime.js +301 -0
- package/dist/server-shell/managed-access/state.d.ts +54 -0
- package/dist/server-shell/managed-access/state.js +287 -0
- package/dist/server-shell/managed-access/transport.d.ts +48 -0
- package/dist/server-shell/managed-access/transport.js +38 -0
- package/dist/server-shell/managed-access/workspace.d.ts +10 -0
- package/dist/server-shell/managed-access/workspace.js +69 -0
- package/dist/server-shell/smoke/e2e-client.d.ts +8 -3
- package/dist/server-shell/smoke/e2e-client.js +11 -11
- package/node_modules/@tutti/relay-client/dist/host-control.d.ts +4 -1
- package/node_modules/@tutti/relay-client/dist/host-control.js +26 -3
- package/node_modules/@tutti/relay-client/dist/index.d.ts +1 -0
- package/node_modules/@tutti/relay-client/dist/index.js +1 -0
- package/node_modules/@tutti/relay-client/dist/project-authority.d.ts +75 -0
- package/node_modules/@tutti/relay-client/dist/project-authority.js +140 -0
- package/node_modules/@tutti/shared/dist/ids/index.d.ts +7 -0
- package/node_modules/@tutti/shared/dist/ids/index.js +7 -0
- package/node_modules/@tutti/shared/dist/schemas/api/index.d.ts +1 -0
- package/node_modules/@tutti/shared/dist/schemas/api/index.js +1 -0
- package/node_modules/@tutti/shared/dist/schemas/api/managed-account.d.ts +35 -0
- package/node_modules/@tutti/shared/dist/schemas/api/managed-account.js +41 -0
- package/node_modules/@tutti/shared/dist/schemas/api/provider-config.d.ts +8 -4
- package/node_modules/@tutti/shared/dist/schemas/api/provider-config.js +6 -0
- package/node_modules/@tutti/shared/dist/schemas/api/runtime-events.d.ts +4 -0
- package/node_modules/@tutti/shared/dist/schemas/internal/creation-validation.d.ts +28 -0
- package/node_modules/@tutti/shared/dist/schemas/internal/creation-validation.js +42 -0
- package/node_modules/@tutti/shared/dist/schemas/internal/index.d.ts +5 -0
- package/node_modules/@tutti/shared/dist/schemas/internal/index.js +5 -0
- package/node_modules/@tutti/shared/dist/schemas/internal/managed-account.d.ts +12 -0
- package/node_modules/@tutti/shared/dist/schemas/internal/managed-account.js +13 -0
- package/node_modules/@tutti/shared/dist/schemas/internal/managed-models.d.ts +17 -0
- package/node_modules/@tutti/shared/dist/schemas/internal/managed-models.js +17 -0
- package/node_modules/@tutti/shared/dist/schemas/internal/managed-runtime.d.ts +116 -0
- package/node_modules/@tutti/shared/dist/schemas/internal/managed-runtime.js +87 -0
- package/node_modules/@tutti/shared/dist/schemas/internal/project-authority.d.ts +120 -0
- package/node_modules/@tutti/shared/dist/schemas/internal/project-authority.js +110 -0
- package/package.json +1 -1
- package/web/assets/{homepage-motion-scene-B6lCCHBq.js → homepage-motion-scene-DyMFsYmT.js} +1 -1
- package/web/assets/index-DSlecDXC.js +70 -0
- package/web/index.html +1 -1
- package/web/assets/index-DepsYMLl.js +0 -70
|
@@ -6,73 +6,28 @@ export declare const HOST_PROJECT_WORKSPACE_OPENAPI_ROUTES: ({
|
|
|
6
6
|
responses: {
|
|
7
7
|
200: {
|
|
8
8
|
description: string;
|
|
9
|
-
schema: {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
readonly enum: readonly ["openai"];
|
|
32
|
-
};
|
|
33
|
-
readonly auth_kind: {
|
|
34
|
-
readonly type: "string";
|
|
35
|
-
readonly enum: readonly ["api_key"];
|
|
36
|
-
};
|
|
37
|
-
readonly redacted_key: {
|
|
38
|
-
readonly type: "string";
|
|
39
|
-
};
|
|
40
|
-
readonly default_model: {
|
|
41
|
-
readonly type: "string";
|
|
42
|
-
};
|
|
43
|
-
readonly validated_at: import("@sinclair/typebox").TString;
|
|
44
|
-
};
|
|
45
|
-
}, {
|
|
46
|
-
readonly type: "object";
|
|
47
|
-
readonly required: readonly ["status"];
|
|
48
|
-
readonly additionalProperties: false;
|
|
49
|
-
readonly properties: {
|
|
50
|
-
readonly status: {
|
|
51
|
-
readonly type: "string";
|
|
52
|
-
readonly enum: readonly ["invalid"];
|
|
53
|
-
};
|
|
54
|
-
readonly provider: {
|
|
55
|
-
readonly type: "string";
|
|
56
|
-
readonly enum: readonly ["openai"];
|
|
57
|
-
};
|
|
58
|
-
readonly auth_kind: {
|
|
59
|
-
readonly type: "string";
|
|
60
|
-
readonly enum: readonly ["api_key"];
|
|
61
|
-
};
|
|
62
|
-
readonly redacted_key: {
|
|
63
|
-
readonly type: "string";
|
|
64
|
-
};
|
|
65
|
-
readonly default_model: {
|
|
66
|
-
readonly type: "string";
|
|
67
|
-
};
|
|
68
|
-
readonly validated_at: import("@sinclair/typebox").TString;
|
|
69
|
-
readonly invalid_reason_code: {
|
|
70
|
-
readonly type: "string";
|
|
71
|
-
readonly enum: readonly ["provider_auth_invalid", "provider_quota_or_billing_required", "provider_rate_limited", "provider_model_unavailable", "provider_network_error", "unknown"];
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
}];
|
|
75
|
-
};
|
|
9
|
+
schema: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
10
|
+
status: import("@sinclair/typebox").TLiteral<"not_configured">;
|
|
11
|
+
}>, import("@sinclair/typebox").TObject<{
|
|
12
|
+
status: import("@sinclair/typebox").TLiteral<"managed">;
|
|
13
|
+
funding_kind: import("@sinclair/typebox").TLiteral<"trial">;
|
|
14
|
+
tier: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"light">, import("@sinclair/typebox").TLiteral<"high">, import("@sinclair/typebox").TLiteral<"max">]>;
|
|
15
|
+
}>, import("@sinclair/typebox").TObject<{
|
|
16
|
+
status: import("@sinclair/typebox").TLiteral<"configured">;
|
|
17
|
+
provider: import("@sinclair/typebox").TLiteral<"openai">;
|
|
18
|
+
auth_kind: import("@sinclair/typebox").TLiteral<"api_key">;
|
|
19
|
+
redacted_key: import("@sinclair/typebox").TString;
|
|
20
|
+
default_model: import("@sinclair/typebox").TString;
|
|
21
|
+
validated_at: import("@sinclair/typebox").TString;
|
|
22
|
+
}>, import("@sinclair/typebox").TObject<{
|
|
23
|
+
status: import("@sinclair/typebox").TLiteral<"invalid">;
|
|
24
|
+
provider: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TLiteral<"openai">>;
|
|
25
|
+
auth_kind: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TLiteral<"api_key">>;
|
|
26
|
+
redacted_key: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
27
|
+
default_model: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
28
|
+
validated_at: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
29
|
+
invalid_reason_code: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"provider_auth_invalid">, import("@sinclair/typebox").TLiteral<"provider_quota_or_billing_required">, import("@sinclair/typebox").TLiteral<"provider_rate_limited">, import("@sinclair/typebox").TLiteral<"provider_model_unavailable">, import("@sinclair/typebox").TLiteral<"provider_network_error">, import("@sinclair/typebox").TLiteral<"unknown">]>>;
|
|
30
|
+
}>]>;
|
|
76
31
|
};
|
|
77
32
|
};
|
|
78
33
|
requestBody?: never;
|
|
@@ -89,7 +44,7 @@ export declare const HOST_PROJECT_WORKSPACE_OPENAPI_ROUTES: ({
|
|
|
89
44
|
models: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
90
45
|
}>, import("@sinclair/typebox").TObject<{
|
|
91
46
|
status: import("@sinclair/typebox").TLiteral<"unavailable">;
|
|
92
|
-
reason: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"model_list_unavailable">, import("@sinclair/typebox").TLiteral<"model_list_empty">, import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"provider_not_configured">, import("@sinclair/typebox").TLiteral<"provider_config_invalid">, import("@sinclair/typebox").TLiteral<"provider_credential_missing">]>]>;
|
|
47
|
+
reason: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"model_list_unavailable">, import("@sinclair/typebox").TLiteral<"model_list_empty">, import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"managed_model_fixed">, import("@sinclair/typebox").TLiteral<"provider_not_configured">, import("@sinclair/typebox").TLiteral<"provider_config_invalid">, import("@sinclair/typebox").TLiteral<"provider_credential_missing">]>]>;
|
|
93
48
|
}>]>;
|
|
94
49
|
};
|
|
95
50
|
};
|
|
@@ -577,7 +532,7 @@ export declare const HOST_PROJECT_WORKSPACE_OPENAPI_ROUTES: ({
|
|
|
577
532
|
readonly properties: {
|
|
578
533
|
readonly status: {
|
|
579
534
|
readonly type: "string";
|
|
580
|
-
readonly enum: readonly ["not_configured", "configured", "invalid"];
|
|
535
|
+
readonly enum: readonly ["not_configured", "configured", "managed", "invalid"];
|
|
581
536
|
};
|
|
582
537
|
readonly provider: {
|
|
583
538
|
readonly type: "string";
|
|
@@ -771,7 +726,7 @@ export declare const HOST_PROJECT_WORKSPACE_OPENAPI_ROUTES: ({
|
|
|
771
726
|
readonly properties: {
|
|
772
727
|
readonly status: {
|
|
773
728
|
readonly type: "string";
|
|
774
|
-
readonly enum: readonly ["not_configured", "configured", "invalid"];
|
|
729
|
+
readonly enum: readonly ["not_configured", "configured", "managed", "invalid"];
|
|
775
730
|
};
|
|
776
731
|
readonly provider: {
|
|
777
732
|
readonly type: "string";
|
|
@@ -909,73 +864,28 @@ export declare const HOST_PROJECT_WORKSPACE_OPENAPI_ROUTES: ({
|
|
|
909
864
|
};
|
|
910
865
|
};
|
|
911
866
|
};
|
|
912
|
-
readonly provider_config: {
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
readonly enum: readonly ["openai"];
|
|
935
|
-
};
|
|
936
|
-
readonly auth_kind: {
|
|
937
|
-
readonly type: "string";
|
|
938
|
-
readonly enum: readonly ["api_key"];
|
|
939
|
-
};
|
|
940
|
-
readonly redacted_key: {
|
|
941
|
-
readonly type: "string";
|
|
942
|
-
};
|
|
943
|
-
readonly default_model: {
|
|
944
|
-
readonly type: "string";
|
|
945
|
-
};
|
|
946
|
-
readonly validated_at: import("@sinclair/typebox").TString;
|
|
947
|
-
};
|
|
948
|
-
}, {
|
|
949
|
-
readonly type: "object";
|
|
950
|
-
readonly required: readonly ["status"];
|
|
951
|
-
readonly additionalProperties: false;
|
|
952
|
-
readonly properties: {
|
|
953
|
-
readonly status: {
|
|
954
|
-
readonly type: "string";
|
|
955
|
-
readonly enum: readonly ["invalid"];
|
|
956
|
-
};
|
|
957
|
-
readonly provider: {
|
|
958
|
-
readonly type: "string";
|
|
959
|
-
readonly enum: readonly ["openai"];
|
|
960
|
-
};
|
|
961
|
-
readonly auth_kind: {
|
|
962
|
-
readonly type: "string";
|
|
963
|
-
readonly enum: readonly ["api_key"];
|
|
964
|
-
};
|
|
965
|
-
readonly redacted_key: {
|
|
966
|
-
readonly type: "string";
|
|
967
|
-
};
|
|
968
|
-
readonly default_model: {
|
|
969
|
-
readonly type: "string";
|
|
970
|
-
};
|
|
971
|
-
readonly validated_at: import("@sinclair/typebox").TString;
|
|
972
|
-
readonly invalid_reason_code: {
|
|
973
|
-
readonly type: "string";
|
|
974
|
-
readonly enum: readonly ["provider_auth_invalid", "provider_quota_or_billing_required", "provider_rate_limited", "provider_model_unavailable", "provider_network_error", "unknown"];
|
|
975
|
-
};
|
|
976
|
-
};
|
|
977
|
-
}];
|
|
978
|
-
};
|
|
867
|
+
readonly provider_config: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
868
|
+
status: import("@sinclair/typebox").TLiteral<"not_configured">;
|
|
869
|
+
}>, import("@sinclair/typebox").TObject<{
|
|
870
|
+
status: import("@sinclair/typebox").TLiteral<"managed">;
|
|
871
|
+
funding_kind: import("@sinclair/typebox").TLiteral<"trial">;
|
|
872
|
+
tier: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"light">, import("@sinclair/typebox").TLiteral<"high">, import("@sinclair/typebox").TLiteral<"max">]>;
|
|
873
|
+
}>, import("@sinclair/typebox").TObject<{
|
|
874
|
+
status: import("@sinclair/typebox").TLiteral<"configured">;
|
|
875
|
+
provider: import("@sinclair/typebox").TLiteral<"openai">;
|
|
876
|
+
auth_kind: import("@sinclair/typebox").TLiteral<"api_key">;
|
|
877
|
+
redacted_key: import("@sinclair/typebox").TString;
|
|
878
|
+
default_model: import("@sinclair/typebox").TString;
|
|
879
|
+
validated_at: import("@sinclair/typebox").TString;
|
|
880
|
+
}>, import("@sinclair/typebox").TObject<{
|
|
881
|
+
status: import("@sinclair/typebox").TLiteral<"invalid">;
|
|
882
|
+
provider: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TLiteral<"openai">>;
|
|
883
|
+
auth_kind: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TLiteral<"api_key">>;
|
|
884
|
+
redacted_key: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
885
|
+
default_model: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
886
|
+
validated_at: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
887
|
+
invalid_reason_code: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"provider_auth_invalid">, import("@sinclair/typebox").TLiteral<"provider_quota_or_billing_required">, import("@sinclair/typebox").TLiteral<"provider_rate_limited">, import("@sinclair/typebox").TLiteral<"provider_model_unavailable">, import("@sinclair/typebox").TLiteral<"provider_network_error">, import("@sinclair/typebox").TLiteral<"unknown">]>>;
|
|
888
|
+
}>]>;
|
|
979
889
|
readonly snapshots: {
|
|
980
890
|
readonly type: "object";
|
|
981
891
|
readonly additionalProperties: false;
|
|
@@ -1313,73 +1313,28 @@ export declare const HOST_PROJECT_OPENAPI_ROUTES: ({
|
|
|
1313
1313
|
responses: {
|
|
1314
1314
|
200: {
|
|
1315
1315
|
description: string;
|
|
1316
|
-
schema: {
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
readonly enum: readonly ["openai"];
|
|
1339
|
-
};
|
|
1340
|
-
readonly auth_kind: {
|
|
1341
|
-
readonly type: "string";
|
|
1342
|
-
readonly enum: readonly ["api_key"];
|
|
1343
|
-
};
|
|
1344
|
-
readonly redacted_key: {
|
|
1345
|
-
readonly type: "string";
|
|
1346
|
-
};
|
|
1347
|
-
readonly default_model: {
|
|
1348
|
-
readonly type: "string";
|
|
1349
|
-
};
|
|
1350
|
-
readonly validated_at: import("@sinclair/typebox").TString;
|
|
1351
|
-
};
|
|
1352
|
-
}, {
|
|
1353
|
-
readonly type: "object";
|
|
1354
|
-
readonly required: readonly ["status"];
|
|
1355
|
-
readonly additionalProperties: false;
|
|
1356
|
-
readonly properties: {
|
|
1357
|
-
readonly status: {
|
|
1358
|
-
readonly type: "string";
|
|
1359
|
-
readonly enum: readonly ["invalid"];
|
|
1360
|
-
};
|
|
1361
|
-
readonly provider: {
|
|
1362
|
-
readonly type: "string";
|
|
1363
|
-
readonly enum: readonly ["openai"];
|
|
1364
|
-
};
|
|
1365
|
-
readonly auth_kind: {
|
|
1366
|
-
readonly type: "string";
|
|
1367
|
-
readonly enum: readonly ["api_key"];
|
|
1368
|
-
};
|
|
1369
|
-
readonly redacted_key: {
|
|
1370
|
-
readonly type: "string";
|
|
1371
|
-
};
|
|
1372
|
-
readonly default_model: {
|
|
1373
|
-
readonly type: "string";
|
|
1374
|
-
};
|
|
1375
|
-
readonly validated_at: import("@sinclair/typebox").TString;
|
|
1376
|
-
readonly invalid_reason_code: {
|
|
1377
|
-
readonly type: "string";
|
|
1378
|
-
readonly enum: readonly ["provider_auth_invalid", "provider_quota_or_billing_required", "provider_rate_limited", "provider_model_unavailable", "provider_network_error", "unknown"];
|
|
1379
|
-
};
|
|
1380
|
-
};
|
|
1381
|
-
}];
|
|
1382
|
-
};
|
|
1316
|
+
schema: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
1317
|
+
status: import("@sinclair/typebox").TLiteral<"not_configured">;
|
|
1318
|
+
}>, import("@sinclair/typebox").TObject<{
|
|
1319
|
+
status: import("@sinclair/typebox").TLiteral<"managed">;
|
|
1320
|
+
funding_kind: import("@sinclair/typebox").TLiteral<"trial">;
|
|
1321
|
+
tier: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"light">, import("@sinclair/typebox").TLiteral<"high">, import("@sinclair/typebox").TLiteral<"max">]>;
|
|
1322
|
+
}>, import("@sinclair/typebox").TObject<{
|
|
1323
|
+
status: import("@sinclair/typebox").TLiteral<"configured">;
|
|
1324
|
+
provider: import("@sinclair/typebox").TLiteral<"openai">;
|
|
1325
|
+
auth_kind: import("@sinclair/typebox").TLiteral<"api_key">;
|
|
1326
|
+
redacted_key: import("@sinclair/typebox").TString;
|
|
1327
|
+
default_model: import("@sinclair/typebox").TString;
|
|
1328
|
+
validated_at: import("@sinclair/typebox").TString;
|
|
1329
|
+
}>, import("@sinclair/typebox").TObject<{
|
|
1330
|
+
status: import("@sinclair/typebox").TLiteral<"invalid">;
|
|
1331
|
+
provider: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TLiteral<"openai">>;
|
|
1332
|
+
auth_kind: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TLiteral<"api_key">>;
|
|
1333
|
+
redacted_key: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1334
|
+
default_model: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1335
|
+
validated_at: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1336
|
+
invalid_reason_code: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"provider_auth_invalid">, import("@sinclair/typebox").TLiteral<"provider_quota_or_billing_required">, import("@sinclair/typebox").TLiteral<"provider_rate_limited">, import("@sinclair/typebox").TLiteral<"provider_model_unavailable">, import("@sinclair/typebox").TLiteral<"provider_network_error">, import("@sinclair/typebox").TLiteral<"unknown">]>>;
|
|
1337
|
+
}>]>;
|
|
1383
1338
|
};
|
|
1384
1339
|
};
|
|
1385
1340
|
requestBody?: never;
|
|
@@ -1396,7 +1351,7 @@ export declare const HOST_PROJECT_OPENAPI_ROUTES: ({
|
|
|
1396
1351
|
models: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
1397
1352
|
}>, import("@sinclair/typebox").TObject<{
|
|
1398
1353
|
status: import("@sinclair/typebox").TLiteral<"unavailable">;
|
|
1399
|
-
reason: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"model_list_unavailable">, import("@sinclair/typebox").TLiteral<"model_list_empty">, import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"provider_not_configured">, import("@sinclair/typebox").TLiteral<"provider_config_invalid">, import("@sinclair/typebox").TLiteral<"provider_credential_missing">]>]>;
|
|
1354
|
+
reason: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"model_list_unavailable">, import("@sinclair/typebox").TLiteral<"model_list_empty">, import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"managed_model_fixed">, import("@sinclair/typebox").TLiteral<"provider_not_configured">, import("@sinclair/typebox").TLiteral<"provider_config_invalid">, import("@sinclair/typebox").TLiteral<"provider_credential_missing">]>]>;
|
|
1400
1355
|
}>]>;
|
|
1401
1356
|
};
|
|
1402
1357
|
};
|
|
@@ -1884,7 +1839,7 @@ export declare const HOST_PROJECT_OPENAPI_ROUTES: ({
|
|
|
1884
1839
|
readonly properties: {
|
|
1885
1840
|
readonly status: {
|
|
1886
1841
|
readonly type: "string";
|
|
1887
|
-
readonly enum: readonly ["not_configured", "configured", "invalid"];
|
|
1842
|
+
readonly enum: readonly ["not_configured", "configured", "managed", "invalid"];
|
|
1888
1843
|
};
|
|
1889
1844
|
readonly provider: {
|
|
1890
1845
|
readonly type: "string";
|
|
@@ -2078,7 +2033,7 @@ export declare const HOST_PROJECT_OPENAPI_ROUTES: ({
|
|
|
2078
2033
|
readonly properties: {
|
|
2079
2034
|
readonly status: {
|
|
2080
2035
|
readonly type: "string";
|
|
2081
|
-
readonly enum: readonly ["not_configured", "configured", "invalid"];
|
|
2036
|
+
readonly enum: readonly ["not_configured", "configured", "managed", "invalid"];
|
|
2082
2037
|
};
|
|
2083
2038
|
readonly provider: {
|
|
2084
2039
|
readonly type: "string";
|
|
@@ -2216,73 +2171,28 @@ export declare const HOST_PROJECT_OPENAPI_ROUTES: ({
|
|
|
2216
2171
|
};
|
|
2217
2172
|
};
|
|
2218
2173
|
};
|
|
2219
|
-
readonly provider_config: {
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
readonly enum: readonly ["openai"];
|
|
2242
|
-
};
|
|
2243
|
-
readonly auth_kind: {
|
|
2244
|
-
readonly type: "string";
|
|
2245
|
-
readonly enum: readonly ["api_key"];
|
|
2246
|
-
};
|
|
2247
|
-
readonly redacted_key: {
|
|
2248
|
-
readonly type: "string";
|
|
2249
|
-
};
|
|
2250
|
-
readonly default_model: {
|
|
2251
|
-
readonly type: "string";
|
|
2252
|
-
};
|
|
2253
|
-
readonly validated_at: import("@sinclair/typebox").TString;
|
|
2254
|
-
};
|
|
2255
|
-
}, {
|
|
2256
|
-
readonly type: "object";
|
|
2257
|
-
readonly required: readonly ["status"];
|
|
2258
|
-
readonly additionalProperties: false;
|
|
2259
|
-
readonly properties: {
|
|
2260
|
-
readonly status: {
|
|
2261
|
-
readonly type: "string";
|
|
2262
|
-
readonly enum: readonly ["invalid"];
|
|
2263
|
-
};
|
|
2264
|
-
readonly provider: {
|
|
2265
|
-
readonly type: "string";
|
|
2266
|
-
readonly enum: readonly ["openai"];
|
|
2267
|
-
};
|
|
2268
|
-
readonly auth_kind: {
|
|
2269
|
-
readonly type: "string";
|
|
2270
|
-
readonly enum: readonly ["api_key"];
|
|
2271
|
-
};
|
|
2272
|
-
readonly redacted_key: {
|
|
2273
|
-
readonly type: "string";
|
|
2274
|
-
};
|
|
2275
|
-
readonly default_model: {
|
|
2276
|
-
readonly type: "string";
|
|
2277
|
-
};
|
|
2278
|
-
readonly validated_at: import("@sinclair/typebox").TString;
|
|
2279
|
-
readonly invalid_reason_code: {
|
|
2280
|
-
readonly type: "string";
|
|
2281
|
-
readonly enum: readonly ["provider_auth_invalid", "provider_quota_or_billing_required", "provider_rate_limited", "provider_model_unavailable", "provider_network_error", "unknown"];
|
|
2282
|
-
};
|
|
2283
|
-
};
|
|
2284
|
-
}];
|
|
2285
|
-
};
|
|
2174
|
+
readonly provider_config: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
2175
|
+
status: import("@sinclair/typebox").TLiteral<"not_configured">;
|
|
2176
|
+
}>, import("@sinclair/typebox").TObject<{
|
|
2177
|
+
status: import("@sinclair/typebox").TLiteral<"managed">;
|
|
2178
|
+
funding_kind: import("@sinclair/typebox").TLiteral<"trial">;
|
|
2179
|
+
tier: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"light">, import("@sinclair/typebox").TLiteral<"high">, import("@sinclair/typebox").TLiteral<"max">]>;
|
|
2180
|
+
}>, import("@sinclair/typebox").TObject<{
|
|
2181
|
+
status: import("@sinclair/typebox").TLiteral<"configured">;
|
|
2182
|
+
provider: import("@sinclair/typebox").TLiteral<"openai">;
|
|
2183
|
+
auth_kind: import("@sinclair/typebox").TLiteral<"api_key">;
|
|
2184
|
+
redacted_key: import("@sinclair/typebox").TString;
|
|
2185
|
+
default_model: import("@sinclair/typebox").TString;
|
|
2186
|
+
validated_at: import("@sinclair/typebox").TString;
|
|
2187
|
+
}>, import("@sinclair/typebox").TObject<{
|
|
2188
|
+
status: import("@sinclair/typebox").TLiteral<"invalid">;
|
|
2189
|
+
provider: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TLiteral<"openai">>;
|
|
2190
|
+
auth_kind: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TLiteral<"api_key">>;
|
|
2191
|
+
redacted_key: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2192
|
+
default_model: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2193
|
+
validated_at: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
2194
|
+
invalid_reason_code: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"provider_auth_invalid">, import("@sinclair/typebox").TLiteral<"provider_quota_or_billing_required">, import("@sinclair/typebox").TLiteral<"provider_rate_limited">, import("@sinclair/typebox").TLiteral<"provider_model_unavailable">, import("@sinclair/typebox").TLiteral<"provider_network_error">, import("@sinclair/typebox").TLiteral<"unknown">]>>;
|
|
2195
|
+
}>]>;
|
|
2286
2196
|
readonly snapshots: {
|
|
2287
2197
|
readonly type: "object";
|
|
2288
2198
|
readonly additionalProperties: false;
|