@qredence/fleet 0.5.10 → 0.6.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/CHANGELOG.md +22 -0
- package/dist/web/client/assets/agent-activity-CwMDU7aP.js +1 -0
- package/dist/web/client/assets/artifacts-panel-CJ75gQub.js +1 -0
- package/dist/web/client/assets/chat-Ci2cEQrR.js +52 -0
- package/dist/web/client/assets/{chat-command-palette-DfYSPPXI.js → chat-command-palette-CkISHfKE.js} +1 -1
- package/dist/web/client/assets/{citations-BQ_pr_9_.js → citations-C_tPOJE_.js} +1 -1
- package/dist/web/client/assets/{command-DPfiaYUL.js → command-_WjnervL.js} +1 -1
- package/dist/web/client/assets/fleet-message-queue-BCno4XP-.js +1 -0
- package/dist/web/client/assets/{fleet-pi-tool-renderer-AJoMbXBa.js → fleet-pi-tool-renderer-BEDIO3al.js} +4 -4
- package/dist/web/client/assets/fleet-reasoning-panel-CbkO7u-v.js +1 -0
- package/dist/web/client/assets/{fleet-subagent-list-BnRnrWKS.js → fleet-subagent-list-iKUtLJKZ.js} +1 -1
- package/dist/web/client/assets/fleet-tool-timeline-C8heL7ae.js +1 -0
- package/dist/web/client/assets/{fork-picker-dialog-CkcSekBl.js → fork-picker-dialog-ByBOGVsa.js} +1 -1
- package/dist/web/client/assets/globals-B_I1Eq1u.css +2 -0
- package/dist/web/client/assets/horizontal-resize-CwoDojST.js +1 -0
- package/dist/web/client/assets/{index-DlnHLDpx.js → index-DJ1fFbQu.js} +3 -3
- package/dist/web/client/assets/input-group-Tb5TYbzi.js +1 -0
- package/dist/web/client/assets/{ipython-tool-BrMePqD-.js → ipython-tool-ldJ9F1Cw.js} +1 -1
- package/dist/web/client/assets/model-selector-list-Ch05B2nZ.js +1 -0
- package/dist/web/client/assets/{openui-renderer-DwYFJdbe.js → openui-renderer-Bf60nxNi.js} +4 -4
- package/dist/web/client/assets/pencil-DcUwsKLn.js +1 -0
- package/dist/web/client/assets/prompt-input-qPIXZ-Rb.js +1 -0
- package/dist/web/client/assets/prompt-suggestions-Cc--lSNR.js +1 -0
- package/dist/web/client/assets/{provider-label-BCJh04J5.js → provider-label-DDLRnZyC.js} +1 -1
- package/dist/web/client/assets/repl-panel-DsPX04Xr.js +1 -0
- package/dist/web/client/assets/{resources-panel-Bo8dfUdm.js → resources-panel-D867-goy.js} +1 -1
- package/dist/web/client/assets/right-panel-registry-Dp8yX-oL.js +2 -0
- package/dist/web/client/assets/routes-DpgMJZ5n.js +16 -0
- package/dist/web/client/assets/safe-storage-s25GrfpH.js +1 -0
- package/dist/web/client/assets/session-insights-panel-YnaXvTpi.js +1 -0
- package/dist/web/client/assets/settings-dialog-YJkvt5EB.js +2 -0
- package/dist/web/client/assets/skeleton-loaders-C9vHwAYV.js +1 -0
- package/dist/web/client/assets/{subagent-chat-panel-DseoO31p.js → subagent-chat-panel-Yujplxpb.js} +1 -1
- package/dist/web/client/assets/subagent-transcript-CnI-mqN0.js +1 -0
- package/dist/web/client/assets/subagents-panel-CjXEdimj.js +1 -0
- package/dist/web/client/assets/{surfaces-cW-gp56p.js → surfaces-DI-U-_2a.js} +1 -1
- package/dist/web/client/assets/tool-result-DfnPN0FQ.js +4 -0
- package/dist/web/client/assets/ui-preferences-CImQGZm_.js +1 -0
- package/dist/web/client/assets/virtualized-turn-list--Vynre4D.js +6 -0
- package/dist/web/client/assets/{workspace-panel-DI1W3ce9.js → workspace-panel-CPPIznT9.js} +1 -1
- package/dist/web/client/bundle-budget.json +6 -6
- package/dist/web/server/{_tanstack-start-manifest_v-Cdx6hy2i-I7A5YJRU.js → _tanstack-start-manifest_v-DS_CSIFQ-WB3VTKF3.js} +15 -13
- package/dist/web/server/{agent-activity-B-JMvecd-SLE3GGY2.js → agent-activity-CS2rbF_C-A3R26CYH.js} +2 -2
- package/dist/web/server/{artifacts-panel-DLMK1O8P-42T45JMA.js → artifacts-panel-CaKrX2XC-R37I4BHF.js} +12 -12
- package/dist/web/server/{chat-command-palette-CdYwoTMe-4LBAZF7K.js → chat-command-palette-7gbqEnm9-6XICQZN7.js} +4 -4
- package/dist/web/server/{chunk-EBCYJSBR.js → chunk-7SD2ZSEA.js} +3 -3
- package/dist/web/server/{chunk-6AW2XFTZ.js → chunk-BBBS5AS7.js} +194 -10
- package/dist/web/server/{chunk-EOVMHQ2H.js → chunk-CNXJN5HN.js} +7 -7
- package/dist/web/server/{chunk-XKKXXG6N.js → chunk-DI7XRK2H.js} +2 -2
- package/dist/web/server/{chunk-KNJUSMBT.js → chunk-DZ2IC3FH.js} +2 -2
- package/dist/web/server/{chunk-K5ESTT4A.js → chunk-EAE2QXRK.js} +11 -3
- package/dist/web/server/{chunk-VHBFU4TG.js → chunk-EH4BZ6QM.js} +123 -16
- package/dist/web/server/{chunk-54II5QXQ.js → chunk-ETTDO4UO.js} +6 -3
- package/dist/web/server/{chunk-EHNIN245.js → chunk-GETSIVNU.js} +5 -5
- package/dist/web/server/{chunk-X2R5YPQZ.js → chunk-IJPCV6DH.js} +3 -2
- package/dist/web/server/{chunk-AJJ2S5FF.js → chunk-JQDLJ7KI.js} +20 -20
- package/dist/web/server/{chunk-M564UIEY.js → chunk-KELEYPVK.js} +8 -8
- package/dist/web/server/{chunk-OB5OSYJK.js → chunk-LXJD6IGW.js} +53 -29
- package/dist/web/server/chunk-M5RSPNYN.js +22 -0
- package/dist/web/server/{chunk-2TRF62K5.js → chunk-N6NOTURM.js} +3 -3
- package/dist/web/server/{chunk-5XX7RKJ6.js → chunk-NXJ32VFR.js} +5 -5
- package/dist/web/server/{chunk-P7H2OPKF.js → chunk-PIOFZUOU.js} +9 -1
- package/dist/web/server/chunk-PTCKOR23.js +39 -0
- package/dist/web/server/chunk-SZJUXVWG.js +40 -0
- package/dist/web/server/{chunk-TCH3U26B.js → chunk-TWYHHG5N.js} +2 -10
- package/dist/web/server/{chunk-FED63ZHU.js → chunk-WHBVQJ4K.js} +11 -6
- package/dist/web/server/{chunk-ANL4B775.js → chunk-XLNCWZMZ.js} +2 -2
- package/dist/web/server/{chunk-GM32R7JW.js → chunk-YKVGQBZA.js} +10 -8
- package/dist/web/server/{chunk-NRDG2ISJ.js → chunk-YNUWKMNQ.js} +59 -52
- package/dist/web/server/{chunk-3PIUR75R.js → chunk-YXXRP3NS.js} +9 -9
- package/dist/web/server/fleet-message-queue-BS-cZ56r-GLZXUKDF.js +152 -0
- package/dist/web/server/{fleet-pi-tool-renderer-RIeVlM9J-D6MISCQC.js → fleet-pi-tool-renderer-umKunT3K-O4GBH35V.js} +5 -5
- package/dist/web/server/{fleet-reasoning-panel-D_K48UOT-GN2PA6KT.js → fleet-reasoning-panel-BxC2COxi-GPLMQSTT.js} +9 -9
- package/dist/web/server/{fleet-subagent-list-5luKtpds-3OTVFHJQ.js → fleet-subagent-list-CpSYzCIq-JDH2LHSS.js} +1 -1
- package/dist/web/server/{fleet-tool-timeline-DwRqQgOj-HUFLGMDV.js → fleet-tool-timeline-IB36_PB2-XJENTO6I.js} +1 -1
- package/dist/web/server/{fork-picker-dialog-B9yGc8Au-IL63F2DN.js → fork-picker-dialog-DlINz9UQ-UWIXFDJX.js} +3 -3
- package/dist/web/server/{model-selector-list-cb2-ewoA-KIVU6LD3.js → model-selector-list-jBTZc2Mu-OXJOS5NA.js} +7 -7
- package/dist/web/server/{openui-renderer-Czy5Vo2L-BLXPJD65.js → openui-renderer-Biyyjhjn-SJOEKPTJ.js} +4 -4
- package/dist/web/server/{prompt-suggestions-BOmHi4-J-C563CHFU.js → prompt-suggestions-D4AEEY7K-RZSP7PWV.js} +3 -3
- package/dist/web/server/{repl-panel-yyxhwe4c-7U6HXYPS.js → repl-panel-D5KsoJik-BQKO53JO.js} +9 -9
- package/dist/web/server/{resources-panel-j4fAIi9g-5C267IXV.js → resources-panel-CE5pD4vy-V5FXBTYC.js} +2 -2
- package/dist/web/server/{router-CgSWrAYc-5UBYSZTJ.js → router-DWALoX_M-I5CBL7FQ.js} +1461 -515
- package/dist/web/server/{routes-CP_BBhD0-BAWQYGKY.js → routes-BBVirYfL-5WXMOT7M.js} +908 -566
- package/dist/web/server/server.js +2 -2
- package/dist/web/server/{session-insights-panel-BHZyKDTo-LRMAMA3O.js → session-insights-panel-CUhdgvRt-VB2HUCQP.js} +4 -4
- package/dist/web/server/{settings-dialog-CxHe8nym-KKXDPTIW.js → settings-dialog-DndPbM-v-RFNXXEAN.js} +902 -575
- package/dist/web/server/{subagent-chat-panel-DlSsM59d-DBW7DI3T.js → subagent-chat-panel-C0RpnXav-J7VYO7QY.js} +11 -11
- package/dist/web/server/{subagents-panel-Txzk8oDb-NRKLASYN.js → subagents-panel-jDqIn9Nh-YEV6QLUY.js} +13 -13
- package/dist/web/server/{workspace-panel-BOs-58Cv-SWQBMZSB.js → workspace-panel-CX_Vo6As-EWO6AMPI.js} +5 -4
- package/package.json +1 -1
- package/dist/web/client/assets/agent-activity-CDcDNVC6.js +0 -1
- package/dist/web/client/assets/artifacts-panel-CObI-DMt.js +0 -1
- package/dist/web/client/assets/chat-C8XDWWXz.js +0 -52
- package/dist/web/client/assets/fleet-message-queue-zWM5-y18.js +0 -1
- package/dist/web/client/assets/fleet-reasoning-panel-MtbSdoCv.js +0 -1
- package/dist/web/client/assets/fleet-tool-timeline-COzPrwr8.js +0 -1
- package/dist/web/client/assets/generative-text-renderer-CDKHv-v_.js +0 -6
- package/dist/web/client/assets/globals-DisQPFtV.css +0 -2
- package/dist/web/client/assets/horizontal-resize-Bl3AyBJg.js +0 -1
- package/dist/web/client/assets/input-group-BFDsCVS9.js +0 -1
- package/dist/web/client/assets/model-selector-list-DQaPFUYt.js +0 -1
- package/dist/web/client/assets/prompt-input-DZ4cho_e.js +0 -1
- package/dist/web/client/assets/prompt-suggestions-CXM6knMK.js +0 -1
- package/dist/web/client/assets/repl-panel-BDQ5MEgV.js +0 -1
- package/dist/web/client/assets/right-panel-registry-VVRPktV3.js +0 -2
- package/dist/web/client/assets/routes-DAikUNzO.js +0 -16
- package/dist/web/client/assets/session-insights-panel-CQdT90Op.js +0 -1
- package/dist/web/client/assets/settings-dialog-DS64KmwC.js +0 -1
- package/dist/web/client/assets/skeleton-loaders-DjGv9LLA.js +0 -1
- package/dist/web/client/assets/subagent-transcript-cxVKYnh9.js +0 -1
- package/dist/web/client/assets/subagents-panel-CHC96I68.js +0 -1
- package/dist/web/client/assets/tool-result-Baj3CdL_.js +0 -4
- package/dist/web/client/assets/ui-preferences-DUEFuJFj.js +0 -1
- package/dist/web/server/chunk-QK4CHLVV.js +0 -17
- package/dist/web/server/fleet-message-queue-BxycG26e-2XLOTCLP.js +0 -75
|
@@ -16119,6 +16119,52 @@ var JSONSchemaGenerator = class {
|
|
|
16119
16119
|
// node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/json-schema.js
|
|
16120
16120
|
var json_schema_exports = {};
|
|
16121
16121
|
|
|
16122
|
+
// node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/classic/errors.js
|
|
16123
|
+
var _installedErrorProtos = /* @__PURE__ */ new WeakSet([Object.prototype, Error.prototype]);
|
|
16124
|
+
function _lazyMethod(proto, key, make) {
|
|
16125
|
+
Object.defineProperty(proto, key, {
|
|
16126
|
+
configurable: true,
|
|
16127
|
+
enumerable: false,
|
|
16128
|
+
get() {
|
|
16129
|
+
const value = make(this);
|
|
16130
|
+
Object.defineProperty(this, key, { value, configurable: true, writable: true });
|
|
16131
|
+
return value;
|
|
16132
|
+
},
|
|
16133
|
+
set(value) {
|
|
16134
|
+
Object.defineProperty(this, key, { value, configurable: true, writable: true });
|
|
16135
|
+
}
|
|
16136
|
+
});
|
|
16137
|
+
}
|
|
16138
|
+
var initializer2 = (inst, issues) => {
|
|
16139
|
+
$ZodError.init(inst, issues);
|
|
16140
|
+
inst.name = "ZodError";
|
|
16141
|
+
const proto = Object.getPrototypeOf(inst);
|
|
16142
|
+
if (_installedErrorProtos.has(proto))
|
|
16143
|
+
return;
|
|
16144
|
+
_installedErrorProtos.add(proto);
|
|
16145
|
+
_lazyMethod(proto, "format", (self) => (mapper) => formatError(self, mapper));
|
|
16146
|
+
_lazyMethod(proto, "flatten", (self) => (mapper) => flattenError(self, mapper));
|
|
16147
|
+
_lazyMethod(proto, "addIssue", (self) => (issue2) => {
|
|
16148
|
+
self.issues.push(issue2);
|
|
16149
|
+
self.message = JSON.stringify(self.issues, jsonStringifyReplacer, 2);
|
|
16150
|
+
});
|
|
16151
|
+
_lazyMethod(proto, "addIssues", (self) => (issues2) => {
|
|
16152
|
+
self.issues.push(...issues2);
|
|
16153
|
+
self.message = JSON.stringify(self.issues, jsonStringifyReplacer, 2);
|
|
16154
|
+
});
|
|
16155
|
+
Object.defineProperty(proto, "isEmpty", {
|
|
16156
|
+
configurable: true,
|
|
16157
|
+
enumerable: false,
|
|
16158
|
+
get() {
|
|
16159
|
+
return this.issues.length === 0;
|
|
16160
|
+
}
|
|
16161
|
+
});
|
|
16162
|
+
};
|
|
16163
|
+
var ZodError = /* @__PURE__ */ $constructor("ZodError", initializer2);
|
|
16164
|
+
var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, void 0, {
|
|
16165
|
+
Parent: Error
|
|
16166
|
+
});
|
|
16167
|
+
|
|
16122
16168
|
// node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/classic/schemas.js
|
|
16123
16169
|
var schemas_exports2 = {};
|
|
16124
16170
|
__export(schemas_exports2, {
|
|
@@ -16331,52 +16377,6 @@ __export(checks_exports2, {
|
|
|
16331
16377
|
uppercase: () => _uppercase
|
|
16332
16378
|
});
|
|
16333
16379
|
|
|
16334
|
-
// node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/classic/errors.js
|
|
16335
|
-
var _installedErrorProtos = /* @__PURE__ */ new WeakSet([Object.prototype, Error.prototype]);
|
|
16336
|
-
function _lazyMethod(proto, key, make) {
|
|
16337
|
-
Object.defineProperty(proto, key, {
|
|
16338
|
-
configurable: true,
|
|
16339
|
-
enumerable: false,
|
|
16340
|
-
get() {
|
|
16341
|
-
const value = make(this);
|
|
16342
|
-
Object.defineProperty(this, key, { value, configurable: true, writable: true });
|
|
16343
|
-
return value;
|
|
16344
|
-
},
|
|
16345
|
-
set(value) {
|
|
16346
|
-
Object.defineProperty(this, key, { value, configurable: true, writable: true });
|
|
16347
|
-
}
|
|
16348
|
-
});
|
|
16349
|
-
}
|
|
16350
|
-
var initializer2 = (inst, issues) => {
|
|
16351
|
-
$ZodError.init(inst, issues);
|
|
16352
|
-
inst.name = "ZodError";
|
|
16353
|
-
const proto = Object.getPrototypeOf(inst);
|
|
16354
|
-
if (_installedErrorProtos.has(proto))
|
|
16355
|
-
return;
|
|
16356
|
-
_installedErrorProtos.add(proto);
|
|
16357
|
-
_lazyMethod(proto, "format", (self) => (mapper) => formatError(self, mapper));
|
|
16358
|
-
_lazyMethod(proto, "flatten", (self) => (mapper) => flattenError(self, mapper));
|
|
16359
|
-
_lazyMethod(proto, "addIssue", (self) => (issue2) => {
|
|
16360
|
-
self.issues.push(issue2);
|
|
16361
|
-
self.message = JSON.stringify(self.issues, jsonStringifyReplacer, 2);
|
|
16362
|
-
});
|
|
16363
|
-
_lazyMethod(proto, "addIssues", (self) => (issues2) => {
|
|
16364
|
-
self.issues.push(...issues2);
|
|
16365
|
-
self.message = JSON.stringify(self.issues, jsonStringifyReplacer, 2);
|
|
16366
|
-
});
|
|
16367
|
-
Object.defineProperty(proto, "isEmpty", {
|
|
16368
|
-
configurable: true,
|
|
16369
|
-
enumerable: false,
|
|
16370
|
-
get() {
|
|
16371
|
-
return this.issues.length === 0;
|
|
16372
|
-
}
|
|
16373
|
-
});
|
|
16374
|
-
};
|
|
16375
|
-
var ZodError = /* @__PURE__ */ $constructor("ZodError", initializer2);
|
|
16376
|
-
var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, void 0, {
|
|
16377
|
-
Parent: Error
|
|
16378
|
-
});
|
|
16379
|
-
|
|
16380
16380
|
// node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/classic/parse.js
|
|
16381
16381
|
var parse2 = /* @__PURE__ */ _parse(ZodRealError);
|
|
16382
16382
|
var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
@@ -18872,7 +18872,7 @@ function date4(params) {
|
|
|
18872
18872
|
return _coercedDate(ZodDate, params);
|
|
18873
18873
|
}
|
|
18874
18874
|
|
|
18875
|
-
// web/app/dist/server/assets/chat-
|
|
18875
|
+
// web/app/dist/server/assets/chat-NHkOyaFk.js
|
|
18876
18876
|
var MAX_ATTACHMENT_BYTES = 26214400;
|
|
18877
18877
|
var RightPanelIdSchema = external_exports.enum([
|
|
18878
18878
|
"resources",
|
|
@@ -19452,7 +19452,7 @@ var ChatDeliveryModeSchema = external_exports.enum(["all", "one-at-a-time"]).ope
|
|
|
19452
19452
|
var nonEmptyStringSchema = external_exports.string().trim().min(1);
|
|
19453
19453
|
var nonNegativeIntSchema = external_exports.number().int().min(0);
|
|
19454
19454
|
var positiveIntSchema = external_exports.number().int().min(1);
|
|
19455
|
-
|
|
19455
|
+
external_exports.union([nonEmptyStringSchema, external_exports.record(external_exports.string(), external_exports.unknown())]);
|
|
19456
19456
|
var ChatModelSelectionSchema = external_exports.object({
|
|
19457
19457
|
provider: external_exports.string(),
|
|
19458
19458
|
id: external_exports.string(),
|
|
@@ -19676,7 +19676,7 @@ var ChatMessageSchema = external_exports.object({
|
|
|
19676
19676
|
url: external_exports.string().optional()
|
|
19677
19677
|
})).optional()
|
|
19678
19678
|
}).passthrough().openapi({ description: "Chat message" });
|
|
19679
|
-
external_exports.enum(["reasoning-summary-v1"]);
|
|
19679
|
+
external_exports.enum(["reasoning-summary-v1", "mcp-connections-v1"]);
|
|
19680
19680
|
var FleetAdapterCapabilitiesSchema = external_exports.object({
|
|
19681
19681
|
protocolVersion: external_exports.number().int().positive(),
|
|
19682
19682
|
schemaRevision: external_exports.number().int().positive(),
|
|
@@ -19756,12 +19756,19 @@ var ChatQueueEventSchema = external_exports.object({
|
|
|
19756
19756
|
steering: external_exports.array(external_exports.string()),
|
|
19757
19757
|
followUp: external_exports.array(external_exports.string())
|
|
19758
19758
|
}).openapi({ description: "Stream queue event" });
|
|
19759
|
+
var ChatQueueReplaceMutationSchema = external_exports.object({
|
|
19760
|
+
type: external_exports.literal("replace"),
|
|
19761
|
+
text: external_exports.string().min(1),
|
|
19762
|
+
lane: external_exports.enum(["steering", "followUp"]).optional()
|
|
19763
|
+
}).openapi({ description: "Replace one queued message after verifying its expected text" });
|
|
19764
|
+
var ChatQueueMutationKindSchema = external_exports.discriminatedUnion("type", [external_exports.object({ type: external_exports.literal("delete") }), ChatQueueReplaceMutationSchema]).openapi({ description: "Queued-message mutation to apply after verifying expected text" });
|
|
19759
19765
|
var ChatQueueMutationRequestSchema = external_exports.object({
|
|
19760
19766
|
sessionId: SessionIdSchema,
|
|
19761
19767
|
lane: external_exports.enum(["steering", "followUp"]),
|
|
19762
19768
|
index: external_exports.number().int().nonnegative(),
|
|
19763
|
-
expectedText: external_exports.string().min(1)
|
|
19764
|
-
|
|
19769
|
+
expectedText: external_exports.string().min(1),
|
|
19770
|
+
mutation: ChatQueueMutationKindSchema.optional()
|
|
19771
|
+
}).openapi({ description: "Mutate one queued message after verifying its expected text; omit mutation to delete for backward compatibility" });
|
|
19765
19772
|
var ChatQueueMutationResponseSchema = external_exports.object({
|
|
19766
19773
|
status: external_exports.enum([
|
|
19767
19774
|
"applied",
|
|
@@ -20117,6 +20124,7 @@ var ChatSessionsResponseSchema = external_exports.object({ sessions: external_ex
|
|
|
20117
20124
|
export {
|
|
20118
20125
|
registry,
|
|
20119
20126
|
toJSONSchema,
|
|
20127
|
+
ZodError,
|
|
20120
20128
|
object,
|
|
20121
20129
|
external_exports,
|
|
20122
20130
|
RightPanelIdSchema,
|
|
@@ -20138,7 +20146,6 @@ export {
|
|
|
20138
20146
|
nonEmptyStringSchema,
|
|
20139
20147
|
nonNegativeIntSchema,
|
|
20140
20148
|
positiveIntSchema,
|
|
20141
|
-
ChatPackageSourceSchema,
|
|
20142
20149
|
ChatSessionMetadataSchema,
|
|
20143
20150
|
ChatRequestSchema,
|
|
20144
20151
|
ChatNewRequestSchema,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
cn
|
|
44
44
|
} from "./chunk-DJMHPJBP.js";
|
|
45
45
|
|
|
46
|
-
// web/app/dist/server/assets/tool-result-
|
|
46
|
+
// web/app/dist/server/assets/tool-result-Dd8SJ9RU.js
|
|
47
47
|
import { useCallback, useEffect, useId, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
48
48
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
49
49
|
var Ban = createLucideIcon("ban", [["circle", {
|
|
@@ -226,11 +226,11 @@ function CodeBlock({ code, language = "typescript", languageLabel, filename, sta
|
|
|
226
226
|
children: filename
|
|
227
227
|
}) : null,
|
|
228
228
|
/* @__PURE__ */ jsx("span", {
|
|
229
|
-
className: "text-[
|
|
229
|
+
className: "text-[0.625rem] font-medium uppercase tracking-wide text-muted-foreground/55",
|
|
230
230
|
children: resolvedLanguageLabel
|
|
231
231
|
}),
|
|
232
232
|
showStatus ? /* @__PURE__ */ jsxs("span", {
|
|
233
|
-
className: cn("ml-auto inline-flex shrink-0 items-center gap-1 text-[
|
|
233
|
+
className: cn("ml-auto inline-flex shrink-0 items-center gap-1 text-[0.625rem] font-medium", streaming ? "text-blue-600 dark:text-blue-400" : "text-emerald-600 dark:text-emerald-400"),
|
|
234
234
|
children: [streaming ? /* @__PURE__ */ jsx(LoaderCircle, { className: cn("size-3", !reduce && "animate-spin") }) : /* @__PURE__ */ jsx(Check, { className: "size-3" }), streaming ? "Writing" : "Ready"]
|
|
235
235
|
}) : null,
|
|
236
236
|
copyable || onCopy ? /* @__PURE__ */ jsx(m.button, {
|
|
@@ -247,7 +247,7 @@ function CodeBlock({ code, language = "typescript", languageLabel, filename, sta
|
|
|
247
247
|
}), /* @__PURE__ */ jsx("div", {
|
|
248
248
|
ref: viewportRef,
|
|
249
249
|
role: streaming ? "log" : void 0,
|
|
250
|
-
"aria-live": streaming ? "
|
|
250
|
+
"aria-live": streaming ? "off" : void 0,
|
|
251
251
|
className: "overflow-auto border-t border-foreground/[0.06] py-2 [scrollbar-color:color-mix(in_oklab,var(--muted-foreground)_35%,transparent)_transparent] [scrollbar-width:thin]",
|
|
252
252
|
style: { maxHeight },
|
|
253
253
|
children: /* @__PURE__ */ jsx("pre", {
|
|
@@ -395,7 +395,7 @@ function FileDiff({ file, lines, status = "streaming", open, defaultOpen = true,
|
|
|
395
395
|
children: [/* @__PURE__ */ jsx("div", {
|
|
396
396
|
ref: viewportRef,
|
|
397
397
|
"data-slot": "file-diff-viewport",
|
|
398
|
-
"aria-live": "polite",
|
|
398
|
+
"aria-live": streaming ? "off" : "polite",
|
|
399
399
|
className: "scrollbar-hide overflow-auto",
|
|
400
400
|
style: { maxHeight },
|
|
401
401
|
children: /* @__PURE__ */ jsxs("div", {
|
|
@@ -490,7 +490,7 @@ function ToolResultOutput({ children, language: _language = "bash", label, class
|
|
|
490
490
|
return /* @__PURE__ */ jsxs("div", {
|
|
491
491
|
className: "space-y-1.5",
|
|
492
492
|
children: [label ? /* @__PURE__ */ jsx("div", {
|
|
493
|
-
className: "px-0.5 text-[
|
|
493
|
+
className: "px-0.5 text-[0.625rem] font-medium uppercase tracking-[0.12em] text-muted-foreground/60",
|
|
494
494
|
children: label
|
|
495
495
|
}) : null, /* @__PURE__ */ jsx("pre", {
|
|
496
496
|
className: cn("m-0 whitespace-pre-wrap break-words font-mono text-xs leading-5 text-foreground/80", className),
|
|
@@ -585,7 +585,7 @@ function ToolResult({ tool, title, children, status = "running", kind = "custom"
|
|
|
585
585
|
})
|
|
586
586
|
}) : null,
|
|
587
587
|
/* @__PURE__ */ jsx("span", {
|
|
588
|
-
className: "min-w-0 truncate font-mono text-[
|
|
588
|
+
className: "min-w-0 truncate font-mono text-[0.6875rem] text-muted-foreground/55",
|
|
589
589
|
children: /* @__PURE__ */ jsx(ActionSwapRollText, {
|
|
590
590
|
value: toolKey,
|
|
591
591
|
children: tool
|
|
@@ -594,7 +594,7 @@ function ToolResult({ tool, title, children, status = "running", kind = "custom"
|
|
|
594
594
|
]
|
|
595
595
|
}),
|
|
596
596
|
/* @__PURE__ */ jsxs("span", {
|
|
597
|
-
className: cn("inline-flex shrink-0 items-center gap-1 text-[
|
|
597
|
+
className: cn("inline-flex shrink-0 items-center gap-1 text-[0.6875rem] font-medium", getStatusClass(status)),
|
|
598
598
|
children: [/* @__PURE__ */ jsx(StatusIcon, {
|
|
599
599
|
status,
|
|
600
600
|
reduce
|
|
@@ -644,7 +644,7 @@ function ToolResult({ tool, title, children, status = "running", kind = "custom"
|
|
|
644
644
|
children: /* @__PURE__ */ jsx(RotateCcw, { className: "size-3.5" })
|
|
645
645
|
}) : null,
|
|
646
646
|
/* @__PURE__ */ jsx("span", {
|
|
647
|
-
className: "ml-auto text-[
|
|
647
|
+
className: "ml-auto text-[0.6875rem] text-muted-foreground/55",
|
|
648
648
|
children: /* @__PURE__ */ jsx(ActionSwapRollText, {
|
|
649
649
|
value: status,
|
|
650
650
|
children: statusLabel
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Pencil
|
|
3
|
+
} from "./chunk-M5RSPNYN.js";
|
|
4
|
+
import {
|
|
5
|
+
notify
|
|
6
|
+
} from "./chunk-WYL2DW5R.js";
|
|
7
|
+
import "./chunk-KOUEJ3NU.js";
|
|
8
|
+
import "./chunk-TNL4YV63.js";
|
|
9
|
+
import "./chunk-LZ4Q5KUJ.js";
|
|
10
|
+
import {
|
|
11
|
+
X
|
|
12
|
+
} from "./chunk-JBLHIEVG.js";
|
|
13
|
+
import "./chunk-C5X6G26O.js";
|
|
14
|
+
import "./chunk-HFQZLPU2.js";
|
|
15
|
+
import "./chunk-4ZIEVI5O.js";
|
|
16
|
+
import {
|
|
17
|
+
cn
|
|
18
|
+
} from "./chunk-DJMHPJBP.js";
|
|
19
|
+
import "./chunk-JDCCC7A7.js";
|
|
20
|
+
import "./chunk-L547YHC4.js";
|
|
21
|
+
import "./chunk-MLKGABMK.js";
|
|
22
|
+
|
|
23
|
+
// web/app/dist/server/assets/fleet-message-queue-BS-cZ56r.js
|
|
24
|
+
import { useState } from "react";
|
|
25
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
26
|
+
var LANES = [{
|
|
27
|
+
key: "steering",
|
|
28
|
+
label: "Next"
|
|
29
|
+
}, {
|
|
30
|
+
key: "followUp",
|
|
31
|
+
label: "After run"
|
|
32
|
+
}];
|
|
33
|
+
function queueItemKey(lane, index) {
|
|
34
|
+
return `${lane}:${index}`;
|
|
35
|
+
}
|
|
36
|
+
function FleetMessageQueue({ queue, onDelete, onEdit, className }) {
|
|
37
|
+
const count = queue.steering.length + queue.followUp.length;
|
|
38
|
+
const [editingKey, setEditingKey] = useState(null);
|
|
39
|
+
const [draftText, setDraftText] = useState("");
|
|
40
|
+
if (count === 0) return null;
|
|
41
|
+
const cancelEdit = () => {
|
|
42
|
+
setEditingKey(null);
|
|
43
|
+
setDraftText("");
|
|
44
|
+
};
|
|
45
|
+
const startEdit = (lane, index, text) => {
|
|
46
|
+
setEditingKey(queueItemKey(lane, index));
|
|
47
|
+
setDraftText(text);
|
|
48
|
+
};
|
|
49
|
+
const handleDelete = async (lane, index, text) => {
|
|
50
|
+
if (editingKey === queueItemKey(lane, index)) cancelEdit();
|
|
51
|
+
try {
|
|
52
|
+
if (await onDelete?.(lane, index, text) === false) notify.error("Unable to remove queued message");
|
|
53
|
+
} catch {
|
|
54
|
+
notify.error("Unable to remove queued message");
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
const handleSaveEdit = async (lane, index, expectedText) => {
|
|
58
|
+
const trimmed = draftText.trim();
|
|
59
|
+
if (trimmed.length === 0) {
|
|
60
|
+
await handleDelete(lane, index, expectedText);
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
if (trimmed === expectedText) {
|
|
64
|
+
cancelEdit();
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
try {
|
|
68
|
+
if (await onEdit?.(lane, index, expectedText, trimmed) === false) notify.error("Unable to update queued message");
|
|
69
|
+
else cancelEdit();
|
|
70
|
+
} catch {
|
|
71
|
+
notify.error("Unable to update queued message");
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
return /* @__PURE__ */ jsx("section", {
|
|
75
|
+
"aria-label": "Queued messages",
|
|
76
|
+
className: cn("mx-auto mb-2 w-full max-w-an px-3", className),
|
|
77
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
78
|
+
className: "rounded-xl border border-border/60 bg-muted/30 p-2",
|
|
79
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
80
|
+
className: "mb-1 flex items-baseline justify-between px-1 text-xs text-muted-foreground",
|
|
81
|
+
children: [/* @__PURE__ */ jsxs("span", { children: [count, " queued"] }), /* @__PURE__ */ jsx("span", { children: "Sent when the run reaches its lane" })]
|
|
82
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
83
|
+
className: "space-y-1",
|
|
84
|
+
children: LANES.flatMap(({ key, label }) => queue[key].map((text, index) => {
|
|
85
|
+
const itemKey = queueItemKey(key, index);
|
|
86
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
87
|
+
className: "flex min-w-0 items-start gap-2 rounded-lg bg-background/80 px-2 py-1.5 text-sm",
|
|
88
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
89
|
+
className: "mt-0.5 shrink-0 text-[0.625rem] font-medium uppercase tracking-wide text-muted-foreground",
|
|
90
|
+
children: label
|
|
91
|
+
}), editingKey === itemKey ? /* @__PURE__ */ jsxs("div", {
|
|
92
|
+
className: "flex min-w-0 flex-1 flex-col gap-1.5",
|
|
93
|
+
children: [/* @__PURE__ */ jsx("textarea", {
|
|
94
|
+
value: draftText,
|
|
95
|
+
onChange: (event) => setDraftText(event.target.value),
|
|
96
|
+
onKeyDown: (event) => {
|
|
97
|
+
if (event.key === "Escape") {
|
|
98
|
+
event.preventDefault();
|
|
99
|
+
cancelEdit();
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
102
|
+
if (event.key === "Enter" && !event.shiftKey) {
|
|
103
|
+
event.preventDefault();
|
|
104
|
+
handleSaveEdit(key, index, text);
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"aria-label": `Edit queued message: ${text}`,
|
|
108
|
+
rows: 2,
|
|
109
|
+
className: "min-h-10 w-full resize-y rounded-md border border-border/70 bg-background px-2 py-1 text-sm text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
110
|
+
autoFocus: true
|
|
111
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
112
|
+
className: "flex flex-wrap gap-1",
|
|
113
|
+
children: [/* @__PURE__ */ jsx("button", {
|
|
114
|
+
type: "button",
|
|
115
|
+
onClick: () => void handleSaveEdit(key, index, text),
|
|
116
|
+
className: "rounded-md bg-primary px-2 py-1 text-xs font-medium text-primary-foreground transition-colors hover:bg-primary/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
117
|
+
children: "Save"
|
|
118
|
+
}), /* @__PURE__ */ jsx("button", {
|
|
119
|
+
type: "button",
|
|
120
|
+
onClick: cancelEdit,
|
|
121
|
+
className: "rounded-md px-2 py-1 text-xs font-medium text-muted-foreground transition-colors hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
122
|
+
children: "Cancel"
|
|
123
|
+
})]
|
|
124
|
+
})]
|
|
125
|
+
}) : /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("span", {
|
|
126
|
+
className: "min-w-0 flex-1 truncate text-foreground/80",
|
|
127
|
+
children: text
|
|
128
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
129
|
+
className: "flex shrink-0 items-center gap-0.5",
|
|
130
|
+
children: [onEdit ? /* @__PURE__ */ jsx("button", {
|
|
131
|
+
type: "button",
|
|
132
|
+
"aria-label": `Edit queued message: ${text}`,
|
|
133
|
+
onClick: () => startEdit(key, index, text),
|
|
134
|
+
className: "grid size-6 place-items-center rounded-md text-muted-foreground transition-colors hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
135
|
+
children: /* @__PURE__ */ jsx(Pencil, { className: "size-3.5" })
|
|
136
|
+
}) : null, onDelete ? /* @__PURE__ */ jsx("button", {
|
|
137
|
+
type: "button",
|
|
138
|
+
"aria-label": `Remove queued message: ${text}`,
|
|
139
|
+
onClick: () => void handleDelete(key, index, text),
|
|
140
|
+
className: "grid size-6 place-items-center rounded-md text-muted-foreground transition-colors hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
141
|
+
children: /* @__PURE__ */ jsx(X, { className: "size-3.5" })
|
|
142
|
+
}) : null]
|
|
143
|
+
})] })]
|
|
144
|
+
}, `${key}:${index}:${text}`);
|
|
145
|
+
}))
|
|
146
|
+
})]
|
|
147
|
+
})
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
export {
|
|
151
|
+
FleetMessageQueue
|
|
152
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FleetPiToolRenderer,
|
|
3
3
|
fleet_pi_tool_renderer_exports
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-JQDLJ7KI.js";
|
|
5
|
+
import "./chunk-N6NOTURM.js";
|
|
6
6
|
import "./chunk-QPNUGF3V.js";
|
|
7
7
|
import "./chunk-V3S6BVXO.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-XLNCWZMZ.js";
|
|
9
9
|
import "./chunk-2ST2ULW7.js";
|
|
10
10
|
import "./chunk-BLSX7WHW.js";
|
|
11
11
|
import "./chunk-3JMESBAT.js";
|
|
@@ -13,7 +13,7 @@ import "./chunk-XA42CHF2.js";
|
|
|
13
13
|
import "./chunk-P66QQWUM.js";
|
|
14
14
|
import "./chunk-JIULUYHT.js";
|
|
15
15
|
import "./chunk-LY5XOHHU.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-YXXRP3NS.js";
|
|
17
17
|
import "./chunk-2ATMSG7U.js";
|
|
18
18
|
import "./chunk-HFQTI7AX.js";
|
|
19
19
|
import "./chunk-HSJMLO36.js";
|
|
@@ -36,7 +36,7 @@ import "./chunk-C5X6G26O.js";
|
|
|
36
36
|
import "./chunk-ST5I2PLN.js";
|
|
37
37
|
import "./chunk-AR7O7JXD.js";
|
|
38
38
|
import "./chunk-ZCVWADNW.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-NXJ32VFR.js";
|
|
40
40
|
import "./chunk-X7D6GFQU.js";
|
|
41
41
|
import "./chunk-BYXBJQAS.js";
|
|
42
42
|
import "./chunk-4ZIEVI5O.js";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
ShimmerLabel,
|
|
6
6
|
SwapLabel,
|
|
7
7
|
collapsePanel
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-XLNCWZMZ.js";
|
|
9
9
|
import {
|
|
10
10
|
Collapsible,
|
|
11
11
|
CollapsibleContent,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
import "./chunk-JDCCC7A7.js";
|
|
25
25
|
import "./chunk-MLKGABMK.js";
|
|
26
26
|
|
|
27
|
-
// web/app/dist/server/assets/fleet-reasoning-panel-
|
|
27
|
+
// web/app/dist/server/assets/fleet-reasoning-panel-BxC2COxi.js
|
|
28
28
|
import { useMemo, useState } from "react";
|
|
29
29
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
30
30
|
var CELL_SHAPES = {
|
|
@@ -66,7 +66,7 @@ function ThinkingIndicator({ label, elapsed, className, ...props }) {
|
|
|
66
66
|
children: label
|
|
67
67
|
}, label),
|
|
68
68
|
elapsed !== void 0 && /* @__PURE__ */ jsx("span", {
|
|
69
|
-
className: cn("font-mono text-[
|
|
69
|
+
className: cn("font-mono text-[0.6875rem] tracking-tight", "text-foreground/30 tabular-nums"),
|
|
70
70
|
children: elapsed
|
|
71
71
|
})
|
|
72
72
|
]
|
|
@@ -80,7 +80,7 @@ function ReasoningPanel({ steps, visibleSteps, streaming, streamingLabel = "Thin
|
|
|
80
80
|
onOpenChange,
|
|
81
81
|
className: cn("w-full max-w-sm", className),
|
|
82
82
|
children: [/* @__PURE__ */ jsxs(CollapsibleTrigger, {
|
|
83
|
-
className: "group/trigger text-foreground/55 hover:text-foreground/90 flex items-center gap-1.5 py-1 text-[
|
|
83
|
+
className: "group/trigger text-foreground/55 hover:text-foreground/90 flex items-center gap-1.5 py-1 text-[0.84375rem] transition-[color,scale] outline-none active:scale-[0.98]",
|
|
84
84
|
children: [/* @__PURE__ */ jsxs(SwapLabel, {
|
|
85
85
|
active: streaming ? 0 : 1,
|
|
86
86
|
className: "text-start",
|
|
@@ -89,7 +89,7 @@ function ReasoningPanel({ steps, visibleSteps, streaming, streamingLabel = "Thin
|
|
|
89
89
|
className: "relative inline-block leading-none",
|
|
90
90
|
children: streamingLabel
|
|
91
91
|
}), elapsed !== void 0 && /* @__PURE__ */ jsx("span", {
|
|
92
|
-
className: cn("font-mono text-[
|
|
92
|
+
className: cn("font-mono text-[0.6875rem] tracking-tight", "text-foreground/30 tabular-nums"),
|
|
93
93
|
children: elapsed
|
|
94
94
|
})] }), /* @__PURE__ */ jsx(Fragment$1, { children: restingLabel })]
|
|
95
95
|
}), /* @__PURE__ */ jsx(ChevronDown, { className: "size-3.5 shrink-0 opacity-60 transition-transform duration-200 ease-[cubic-bezier(0.32,0.72,0,1)] group-data-open/trigger:rotate-180 group-data-panel-open/trigger:rotate-180 motion-reduce:transition-none" })]
|
|
@@ -107,10 +107,10 @@ function ReasoningPanel({ steps, visibleSteps, streaming, streamingLabel = "Thin
|
|
|
107
107
|
}), /* @__PURE__ */ jsxs("span", {
|
|
108
108
|
className: "flex min-w-0 flex-1 flex-col",
|
|
109
109
|
children: [/* @__PURE__ */ jsx("p", {
|
|
110
|
-
className: "text-foreground/90 text-[
|
|
110
|
+
className: "text-foreground/90 text-[0.84375rem] font-medium",
|
|
111
111
|
children: step.title
|
|
112
112
|
}), /* @__PURE__ */ jsx("p", {
|
|
113
|
-
className: "text-foreground/50 mt-0.5 text-[
|
|
113
|
+
className: "text-foreground/50 mt-0.5 text-[0.8125rem] leading-relaxed break-words",
|
|
114
114
|
children: step.body
|
|
115
115
|
})]
|
|
116
116
|
})]
|
|
@@ -143,7 +143,7 @@ function FleetReasoningPanel({ presentation, className, streamingOverride }) {
|
|
|
143
143
|
children: activeStep?.body ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(ThinkingIndicator, {
|
|
144
144
|
label: activeLabel,
|
|
145
145
|
elapsed,
|
|
146
|
-
className: "text-[
|
|
146
|
+
className: "text-[0.8125rem]"
|
|
147
147
|
}), /* @__PURE__ */ jsx("p", {
|
|
148
148
|
className: "pl-4 text-xs font-normal text-muted-foreground",
|
|
149
149
|
children: activeStep.body
|
|
@@ -151,7 +151,7 @@ function FleetReasoningPanel({ presentation, className, streamingOverride }) {
|
|
|
151
151
|
label: activeLabel,
|
|
152
152
|
tick: Math.floor((presentation.elapsedMs ?? 0) / 250),
|
|
153
153
|
variant: "dots",
|
|
154
|
-
className: "items-start gap-2
|
|
154
|
+
className: "items-start gap-2 p-1 text-left"
|
|
155
155
|
})
|
|
156
156
|
}) : null, /* @__PURE__ */ jsx(ReasoningPanel, {
|
|
157
157
|
steps,
|
|
@@ -15,7 +15,7 @@ import "./chunk-JDCCC7A7.js";
|
|
|
15
15
|
import "./chunk-L547YHC4.js";
|
|
16
16
|
import "./chunk-MLKGABMK.js";
|
|
17
17
|
|
|
18
|
-
// web/app/dist/server/assets/fork-picker-dialog-
|
|
18
|
+
// web/app/dist/server/assets/fork-picker-dialog-DlINz9UQ.js
|
|
19
19
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
20
20
|
function ForkPickerDialog({ entries, onOpenChange, onPick }) {
|
|
21
21
|
const open = entries !== null && entries.length > 0;
|
|
@@ -28,7 +28,7 @@ function ForkPickerDialog({ entries, onOpenChange, onPick }) {
|
|
|
28
28
|
className: "flex max-h-[min(420px,60vh)] flex-col gap-1 overflow-y-auto",
|
|
29
29
|
children: (entries ?? []).map((entry) => /* @__PURE__ */ jsxs("button", {
|
|
30
30
|
type: "button",
|
|
31
|
-
className: "flex w-full cursor-pointer flex-col gap-0.5 rounded-md
|
|
31
|
+
className: "flex w-full cursor-pointer flex-col gap-0.5 rounded-md p-2 text-left text-[0.8125rem] leading-5 hover:bg-foreground/6",
|
|
32
32
|
onClick: () => {
|
|
33
33
|
onPick(entry.id);
|
|
34
34
|
onOpenChange(false);
|
|
@@ -37,7 +37,7 @@ function ForkPickerDialog({ entries, onOpenChange, onPick }) {
|
|
|
37
37
|
className: "truncate font-medium",
|
|
38
38
|
children: entry.preview
|
|
39
39
|
}), /* @__PURE__ */ jsx("span", {
|
|
40
|
-
className: "truncate font-mono text-[
|
|
40
|
+
className: "truncate font-mono text-[0.6875rem] text-foreground/40",
|
|
41
41
|
children: entry.id
|
|
42
42
|
})]
|
|
43
43
|
}, entry.id))
|
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
CommandInput,
|
|
9
9
|
CommandItem,
|
|
10
10
|
CommandList
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-DI7XRK2H.js";
|
|
12
|
+
import "./chunk-PIOFZUOU.js";
|
|
13
13
|
import "./chunk-JIULUYHT.js";
|
|
14
14
|
import {
|
|
15
15
|
SPRING_GLIDE,
|
|
@@ -35,7 +35,7 @@ import "./chunk-JDCCC7A7.js";
|
|
|
35
35
|
import "./chunk-L547YHC4.js";
|
|
36
36
|
import "./chunk-MLKGABMK.js";
|
|
37
37
|
|
|
38
|
-
// web/app/dist/server/assets/model-selector-list-
|
|
38
|
+
// web/app/dist/server/assets/model-selector-list-jBTZc2Mu.js
|
|
39
39
|
import { useId, useMemo, useState } from "react";
|
|
40
40
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
41
41
|
function clamp(value, min, max) {
|
|
@@ -138,18 +138,18 @@ function Slider({ value, onChange, min = 0, max = 100, step = 1, label, formatVa
|
|
|
138
138
|
"aria-hidden": "true",
|
|
139
139
|
className: "pointer-events-none absolute inset-0 z-[2] flex items-center px-2",
|
|
140
140
|
children: [label ? /* @__PURE__ */ jsx("span", {
|
|
141
|
-
className: "px-2 text-[
|
|
141
|
+
className: "px-2 text-[0.8125rem] text-transparent select-none",
|
|
142
142
|
"aria-hidden": "true",
|
|
143
143
|
children: label
|
|
144
144
|
}) : null, /* @__PURE__ */ jsx("span", {
|
|
145
|
-
className: "ml-auto px-2 text-[
|
|
145
|
+
className: "ml-auto px-2 text-[0.8125rem] text-transparent tabular-nums select-none",
|
|
146
146
|
style: { minWidth: `${maxValueText.length}ch` },
|
|
147
147
|
"aria-hidden": "true",
|
|
148
148
|
children: maxValueText
|
|
149
149
|
})]
|
|
150
150
|
}),
|
|
151
151
|
/* @__PURE__ */ jsxs("div", {
|
|
152
|
-
className: "pointer-events-none absolute inset-0 z-[4] flex items-center px-2 text-[
|
|
152
|
+
className: "pointer-events-none absolute inset-0 z-[4] flex items-center px-2 text-[0.8125rem]",
|
|
153
153
|
children: [label ? /* @__PURE__ */ jsx(m.span, {
|
|
154
154
|
className: "px-2",
|
|
155
155
|
animate: { color: hovered || focused ? "var(--foreground)" : "var(--muted-foreground)" },
|
|
@@ -244,7 +244,7 @@ function ModelSelectorList({ models, selectedModel, selectedEffort, effortLabel,
|
|
|
244
244
|
className: "truncate text-sm font-medium",
|
|
245
245
|
children: model.name
|
|
246
246
|
}), model.disabled ? /* @__PURE__ */ jsx("span", {
|
|
247
|
-
className: "shrink-0 text-[
|
|
247
|
+
className: "shrink-0 text-[0.625rem] uppercase tracking-wide text-muted-foreground",
|
|
248
248
|
children: "Unavailable"
|
|
249
249
|
}) : null]
|
|
250
250
|
}),
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
GenerativeTextRenderer,
|
|
3
3
|
OpenUIHtmlArtifactView,
|
|
4
4
|
openui_renderer_exports
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-KELEYPVK.js";
|
|
6
|
+
import "./chunk-DZ2IC3FH.js";
|
|
7
|
+
import "./chunk-EAE2QXRK.js";
|
|
8
|
+
import "./chunk-YNUWKMNQ.js";
|
|
9
9
|
import "./chunk-UAPNEWCA.js";
|
|
10
10
|
import "./chunk-WM4PUT6M.js";
|
|
11
11
|
import "./chunk-RJOANOT4.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paper
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XLNCWZMZ.js";
|
|
4
4
|
import {
|
|
5
5
|
cn
|
|
6
6
|
} from "./chunk-DJMHPJBP.js";
|
|
7
7
|
import "./chunk-JDCCC7A7.js";
|
|
8
8
|
import "./chunk-MLKGABMK.js";
|
|
9
9
|
|
|
10
|
-
// web/app/dist/server/assets/prompt-suggestions-
|
|
10
|
+
// web/app/dist/server/assets/prompt-suggestions-D4AEEY7K.js
|
|
11
11
|
import { jsx } from "react/jsx-runtime";
|
|
12
12
|
function PromptSuggestions({ suggestions, selectedSuggestion, cycle, onSuggestion, variant = "pills", className, ...props }) {
|
|
13
13
|
const list = variant === "list";
|
|
@@ -19,7 +19,7 @@ function PromptSuggestions({ suggestions, selectedSuggestion, cycle, onSuggestio
|
|
|
19
19
|
type: "button",
|
|
20
20
|
"aria-pressed": selectedSuggestion === suggestion,
|
|
21
21
|
onClick: () => onSuggestion(suggestion),
|
|
22
|
-
className: cn(paper, "fade-in slide-in-from-bottom-2 animate-in fill-mode-both flex cursor-pointer items-center text-[
|
|
22
|
+
className: cn(paper, "fade-in slide-in-from-bottom-2 animate-in fill-mode-both flex cursor-pointer items-center text-[0.8125rem] text-foreground/80 transition-[color,transform] duration-300 hover:-translate-y-px hover:text-foreground focus-visible:text-foreground active:scale-[0.96] motion-reduce:animate-none", list ? "w-full rounded-2xl px-4 py-2.5 text-start" : "rounded-full px-4 py-2", selectedSuggestion === suggestion && "!bg-foreground !text-background hover:!text-background focus-visible:!text-background"),
|
|
23
23
|
style: { animationDelay: `${index * 70}ms` },
|
|
24
24
|
children: suggestion
|
|
25
25
|
}, suggestion))
|