@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.
Files changed (110) hide show
  1. package/dist/approvals/decision-command.d.ts +2 -2
  2. package/dist/collaboration-state/clarification-snapshot.d.ts +9 -9
  3. package/dist/collaboration-state/task-compile-context.d.ts +1 -1
  4. package/dist/control-plane/workflows/openai.d.ts +3 -4
  5. package/dist/control-plane/workflows/openai.js +3 -2
  6. package/dist/providers/openai/app-server/invocation-coordinator.d.ts +1 -0
  7. package/dist/providers/openai/app-server/invocation-coordinator.js +4 -1
  8. package/dist/providers/openai/app-server/invocation-deadline.d.ts +3 -0
  9. package/dist/providers/openai/app-server/invocation-deadline.js +15 -0
  10. package/dist/providers/openai/app-server/read-only-procedure.d.ts +4 -2
  11. package/dist/providers/openai/app-server/read-only-procedure.js +16 -0
  12. package/dist/providers/openai/app-server/workspace-write-run.d.ts +4 -2
  13. package/dist/providers/openai/app-server/workspace-write-run.js +16 -0
  14. package/dist/providers/openai/chat-assistant.d.ts +3 -4
  15. package/dist/providers/openai/chat-assistant.js +2 -1
  16. package/dist/providers/openai/execution-access.d.ts +17 -0
  17. package/dist/providers/openai/execution-access.js +13 -0
  18. package/dist/providers/openai/sdk-procedure-runner.d.ts +2 -2
  19. package/dist/providers/openai/sdk-procedure-runner.js +17 -0
  20. package/dist/run-pipeline/artifact-applicability.d.ts +3 -4
  21. package/dist/run-pipeline/artifact-applicability.js +2 -1
  22. package/dist/run-pipeline/openai.d.ts +3 -4
  23. package/dist/run-pipeline/openai.js +3 -2
  24. package/dist/run-pipeline/task-run-invocation.js +6 -12
  25. package/dist/server-shell/cli/cli.js +3 -0
  26. package/dist/server-shell/cli/host-lifecycle.js +1 -0
  27. package/dist/server-shell/cli/host-server-runtime.d.ts +1 -0
  28. package/dist/server-shell/cli/host-server-runtime.js +83 -34
  29. package/dist/server-shell/cli/launch-command.js +1 -1
  30. package/dist/server-shell/cli/launch.d.ts +7 -3
  31. package/dist/server-shell/cli/launch.js +23 -4
  32. package/dist/server-shell/cli/machine-local.d.ts +9 -0
  33. package/dist/server-shell/cli/machine-local.js +60 -6
  34. package/dist/server-shell/cli/project-resolver.d.ts +2 -2
  35. package/dist/server-shell/cli/project-resolver.js +6 -3
  36. package/dist/server-shell/cli/relay-registration.js +38 -1
  37. package/dist/server-shell/http/routes/local-control.d.ts +1 -1
  38. package/dist/server-shell/http/routes/local-control.js +2 -46
  39. package/dist/server-shell/http/routes/project-api/openapi-workspace-routes.d.ts +47 -137
  40. package/dist/server-shell/http/routes/project-api/openapi.d.ts +47 -137
  41. package/dist/server-shell/http/routes/project-api/schemas.d.ts +25 -136
  42. package/dist/server-shell/http/routes/project-api/schemas.js +4 -58
  43. package/dist/server-shell/http/routes/project-api/types.d.ts +4 -0
  44. package/dist/server-shell/local-console/managed-project-routes.d.ts +9 -0
  45. package/dist/server-shell/local-console/managed-project-routes.js +120 -0
  46. package/dist/server-shell/local-console/managed-project-service.d.ts +151 -0
  47. package/dist/server-shell/local-console/managed-project-service.js +163 -0
  48. package/dist/server-shell/local-console/operation-coordinator.d.ts +1 -1
  49. package/dist/server-shell/local-console/package-update-hosts.js +2 -1
  50. package/dist/server-shell/local-console/project-service.d.ts +5 -1
  51. package/dist/server-shell/local-console/project-service.js +63 -14
  52. package/dist/server-shell/local-console/server.js +22 -2
  53. package/dist/server-shell/managed-access/execution-binding.d.ts +9 -0
  54. package/dist/server-shell/managed-access/execution-binding.js +22 -0
  55. package/dist/server-shell/managed-access/existing-project.d.ts +15 -0
  56. package/dist/server-shell/managed-access/existing-project.js +41 -0
  57. package/dist/server-shell/managed-access/model-control-client.d.ts +66 -0
  58. package/dist/server-shell/managed-access/model-control-client.js +114 -0
  59. package/dist/server-shell/managed-access/private-store.d.ts +19 -0
  60. package/dist/server-shell/managed-access/private-store.js +275 -0
  61. package/dist/server-shell/managed-access/project-provider.d.ts +18 -0
  62. package/dist/server-shell/managed-access/project-provider.js +30 -0
  63. package/dist/server-shell/managed-access/records.d.ts +108 -0
  64. package/dist/server-shell/managed-access/records.js +73 -0
  65. package/dist/server-shell/managed-access/runners.d.ts +11 -0
  66. package/dist/server-shell/managed-access/runners.js +103 -0
  67. package/dist/server-shell/managed-access/runtime-records.d.ts +110 -0
  68. package/dist/server-shell/managed-access/runtime-records.js +65 -0
  69. package/dist/server-shell/managed-access/runtime.d.ts +48 -0
  70. package/dist/server-shell/managed-access/runtime.js +301 -0
  71. package/dist/server-shell/managed-access/state.d.ts +54 -0
  72. package/dist/server-shell/managed-access/state.js +287 -0
  73. package/dist/server-shell/managed-access/transport.d.ts +48 -0
  74. package/dist/server-shell/managed-access/transport.js +38 -0
  75. package/dist/server-shell/managed-access/workspace.d.ts +10 -0
  76. package/dist/server-shell/managed-access/workspace.js +69 -0
  77. package/dist/server-shell/smoke/e2e-client.d.ts +8 -3
  78. package/dist/server-shell/smoke/e2e-client.js +11 -11
  79. package/node_modules/@tutti/relay-client/dist/host-control.d.ts +4 -1
  80. package/node_modules/@tutti/relay-client/dist/host-control.js +26 -3
  81. package/node_modules/@tutti/relay-client/dist/index.d.ts +1 -0
  82. package/node_modules/@tutti/relay-client/dist/index.js +1 -0
  83. package/node_modules/@tutti/relay-client/dist/project-authority.d.ts +75 -0
  84. package/node_modules/@tutti/relay-client/dist/project-authority.js +140 -0
  85. package/node_modules/@tutti/shared/dist/ids/index.d.ts +7 -0
  86. package/node_modules/@tutti/shared/dist/ids/index.js +7 -0
  87. package/node_modules/@tutti/shared/dist/schemas/api/index.d.ts +1 -0
  88. package/node_modules/@tutti/shared/dist/schemas/api/index.js +1 -0
  89. package/node_modules/@tutti/shared/dist/schemas/api/managed-account.d.ts +35 -0
  90. package/node_modules/@tutti/shared/dist/schemas/api/managed-account.js +41 -0
  91. package/node_modules/@tutti/shared/dist/schemas/api/provider-config.d.ts +8 -4
  92. package/node_modules/@tutti/shared/dist/schemas/api/provider-config.js +6 -0
  93. package/node_modules/@tutti/shared/dist/schemas/api/runtime-events.d.ts +4 -0
  94. package/node_modules/@tutti/shared/dist/schemas/internal/creation-validation.d.ts +28 -0
  95. package/node_modules/@tutti/shared/dist/schemas/internal/creation-validation.js +42 -0
  96. package/node_modules/@tutti/shared/dist/schemas/internal/index.d.ts +5 -0
  97. package/node_modules/@tutti/shared/dist/schemas/internal/index.js +5 -0
  98. package/node_modules/@tutti/shared/dist/schemas/internal/managed-account.d.ts +12 -0
  99. package/node_modules/@tutti/shared/dist/schemas/internal/managed-account.js +13 -0
  100. package/node_modules/@tutti/shared/dist/schemas/internal/managed-models.d.ts +17 -0
  101. package/node_modules/@tutti/shared/dist/schemas/internal/managed-models.js +17 -0
  102. package/node_modules/@tutti/shared/dist/schemas/internal/managed-runtime.d.ts +116 -0
  103. package/node_modules/@tutti/shared/dist/schemas/internal/managed-runtime.js +87 -0
  104. package/node_modules/@tutti/shared/dist/schemas/internal/project-authority.d.ts +120 -0
  105. package/node_modules/@tutti/shared/dist/schemas/internal/project-authority.js +110 -0
  106. package/package.json +1 -1
  107. package/web/assets/{homepage-motion-scene-B6lCCHBq.js → homepage-motion-scene-DyMFsYmT.js} +1 -1
  108. package/web/assets/index-DSlecDXC.js +70 -0
  109. package/web/index.html +1 -1
  110. 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
- readonly oneOf: readonly [{
11
- readonly type: "object";
12
- readonly required: readonly ["status"];
13
- readonly additionalProperties: false;
14
- readonly properties: {
15
- readonly status: {
16
- readonly type: "string";
17
- readonly enum: readonly ["not_configured"];
18
- };
19
- };
20
- }, {
21
- readonly type: "object";
22
- readonly required: readonly ["status", "provider", "auth_kind", "redacted_key", "default_model", "validated_at"];
23
- readonly additionalProperties: false;
24
- readonly properties: {
25
- readonly status: {
26
- readonly type: "string";
27
- readonly enum: readonly ["configured"];
28
- };
29
- readonly provider: {
30
- readonly type: "string";
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
- readonly oneOf: readonly [{
914
- readonly type: "object";
915
- readonly required: readonly ["status"];
916
- readonly additionalProperties: false;
917
- readonly properties: {
918
- readonly status: {
919
- readonly type: "string";
920
- readonly enum: readonly ["not_configured"];
921
- };
922
- };
923
- }, {
924
- readonly type: "object";
925
- readonly required: readonly ["status", "provider", "auth_kind", "redacted_key", "default_model", "validated_at"];
926
- readonly additionalProperties: false;
927
- readonly properties: {
928
- readonly status: {
929
- readonly type: "string";
930
- readonly enum: readonly ["configured"];
931
- };
932
- readonly provider: {
933
- readonly type: "string";
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
- readonly oneOf: readonly [{
1318
- readonly type: "object";
1319
- readonly required: readonly ["status"];
1320
- readonly additionalProperties: false;
1321
- readonly properties: {
1322
- readonly status: {
1323
- readonly type: "string";
1324
- readonly enum: readonly ["not_configured"];
1325
- };
1326
- };
1327
- }, {
1328
- readonly type: "object";
1329
- readonly required: readonly ["status", "provider", "auth_kind", "redacted_key", "default_model", "validated_at"];
1330
- readonly additionalProperties: false;
1331
- readonly properties: {
1332
- readonly status: {
1333
- readonly type: "string";
1334
- readonly enum: readonly ["configured"];
1335
- };
1336
- readonly provider: {
1337
- readonly type: "string";
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
- readonly oneOf: readonly [{
2221
- readonly type: "object";
2222
- readonly required: readonly ["status"];
2223
- readonly additionalProperties: false;
2224
- readonly properties: {
2225
- readonly status: {
2226
- readonly type: "string";
2227
- readonly enum: readonly ["not_configured"];
2228
- };
2229
- };
2230
- }, {
2231
- readonly type: "object";
2232
- readonly required: readonly ["status", "provider", "auth_kind", "redacted_key", "default_model", "validated_at"];
2233
- readonly additionalProperties: false;
2234
- readonly properties: {
2235
- readonly status: {
2236
- readonly type: "string";
2237
- readonly enum: readonly ["configured"];
2238
- };
2239
- readonly provider: {
2240
- readonly type: "string";
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;