@usabledev/usable-chat 1.218.3 → 1.218.5
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/cli.js +18 -1
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -151797,6 +151797,16 @@ function isSimpleTypeSchema(schema) {
|
|
|
151797
151797
|
return typeof schema.type === "string" && !schema.properties && !schema.items && !schema.required && !schema.additionalProperties;
|
|
151798
151798
|
}
|
|
151799
151799
|
function makeNullable(schema) {
|
|
151800
|
+
if (["$ref", "enum", "const", "allOf", "not", "if"].some((key2) => key2 in schema)) {
|
|
151801
|
+
const original2 = { ...schema };
|
|
151802
|
+
const description = original2.description;
|
|
151803
|
+
delete original2.description;
|
|
151804
|
+
delete original2.nullable;
|
|
151805
|
+
for (const key2 of Object.keys(schema)) delete schema[key2];
|
|
151806
|
+
schema.anyOf = [original2, { type: "null" }];
|
|
151807
|
+
if (typeof description === "string") schema.description = description;
|
|
151808
|
+
return;
|
|
151809
|
+
}
|
|
151800
151810
|
for (const key2 of ["anyOf", "oneOf"]) {
|
|
151801
151811
|
const union3 = schema[key2];
|
|
151802
151812
|
if (!Array.isArray(union3)) continue;
|
|
@@ -163445,6 +163455,8 @@ var init_schema_vault = __esm({
|
|
|
163445
163455
|
{
|
|
163446
163456
|
attemptId: uuid3("attempt_id").primaryKey(),
|
|
163447
163457
|
profileId: uuid3("profile_id").notNull(),
|
|
163458
|
+
/** Exact authorization generation; NULL only for historical events. */
|
|
163459
|
+
secretId: uuid3("secret_id"),
|
|
163448
163460
|
userId: varchar("user_id", { length: 255 }).notNull(),
|
|
163449
163461
|
expectedRevision: integer2("expected_revision").notNull(),
|
|
163450
163462
|
fenceToken: text2("fence_token").notNull(),
|
|
@@ -163460,6 +163472,11 @@ var init_schema_vault = __esm({
|
|
|
163460
163472
|
profileIdx: index("vault_oauth_refresh_attempts_profile_idx").on(
|
|
163461
163473
|
table.profileId,
|
|
163462
163474
|
table.startedAt
|
|
163475
|
+
),
|
|
163476
|
+
credentialIdx: index("vault_oauth_refresh_attempts_credential_idx").on(
|
|
163477
|
+
table.profileId,
|
|
163478
|
+
table.secretId,
|
|
163479
|
+
table.expectedRevision
|
|
163463
163480
|
)
|
|
163464
163481
|
})
|
|
163465
163482
|
);
|
|
@@ -395187,7 +395204,7 @@ init_tui_select();
|
|
|
395187
395204
|
init_model_registry();
|
|
395188
395205
|
|
|
395189
395206
|
// package.json
|
|
395190
|
-
var version2 = "1.218.
|
|
395207
|
+
var version2 = "1.218.5";
|
|
395191
395208
|
|
|
395192
395209
|
// src/adapters/cli/model-catalog.ts
|
|
395193
395210
|
init_codex_auth();
|