@hackbuild/ai-views 0.1.10 → 0.1.12
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/README.md +3 -3
- package/dist/single/elements.iife.js +26 -13
- package/dist/single/elements.js +26 -13
- package/dist/single/index.iife.js +100 -73
- package/dist/single/index.js +100 -73
- package/dist/single/vue.iife.js +95 -20
- package/dist/single/vue.js +95 -20
- package/package.json +2 -2
package/dist/single/vue.iife.js
CHANGED
|
@@ -8633,6 +8633,11 @@ ${n}` : n;
|
|
|
8633
8633
|
{ path: "unet/model.onnx" },
|
|
8634
8634
|
{ path: "vae_decoder/model.onnx" }
|
|
8635
8635
|
];
|
|
8636
|
+
const SD15 = [
|
|
8637
|
+
"Stable-Diffusion-v1.5-text-encoder-float16",
|
|
8638
|
+
"sd-unet-v1.5-model-b2c4h64w64s77-float16-compute-and-inputs-layernorm",
|
|
8639
|
+
"Stable-Diffusion-v1.5-vae-decoder-float16-fp32-instancenorm"
|
|
8640
|
+
];
|
|
8636
8641
|
const free512 = { freeDimensionOverrides: {
|
|
8637
8642
|
batch_size: 1,
|
|
8638
8643
|
num_channels: 4,
|
|
@@ -8670,7 +8675,7 @@ ${n}` : n;
|
|
|
8670
8675
|
notes: [
|
|
8671
8676
|
"webgpu only, no wasm floor",
|
|
8672
8677
|
"tokenizer: Xenova/clip-vit-base-patch16 through transformers.js (CLIP weights MIT)",
|
|
8673
|
-
"graph
|
|
8678
|
+
"graph files, names and dtypes read from the export (measured): fp32 edges, int32 input_ids, int64 timestep; pads with token 0"
|
|
8674
8679
|
],
|
|
8675
8680
|
form: {
|
|
8676
8681
|
steps: {
|
|
@@ -8684,6 +8689,7 @@ ${n}` : n;
|
|
|
8684
8689
|
spacing: "trailing",
|
|
8685
8690
|
note: "distilled from sd 2.1. 1 to 4 steps, no negative prompt. the fastest path.",
|
|
8686
8691
|
tokenizer: "Xenova/clip-vit-base-patch16",
|
|
8692
|
+
pad: 0,
|
|
8687
8693
|
graphs
|
|
8688
8694
|
}
|
|
8689
8695
|
}, {
|
|
@@ -8694,9 +8700,10 @@ ${n}` : n;
|
|
|
8694
8700
|
group: "good",
|
|
8695
8701
|
provides: ["imagegen"],
|
|
8696
8702
|
provider: "ort",
|
|
8703
|
+
unrunnable: "its unet takes a fixed batch of 2 at 64 by 64 latents with fp16 inputs (measured from the graph); the pipeline sends batch 1 in fp32.",
|
|
8697
8704
|
source: {
|
|
8698
8705
|
repo: "microsoft/stable-diffusion-v1.5-webnn",
|
|
8699
|
-
files
|
|
8706
|
+
files: SD15.map((g) => ({ path: `${g}.onnx` }))
|
|
8700
8707
|
},
|
|
8701
8708
|
sizeMB: 1969,
|
|
8702
8709
|
sizeSource: "vendor",
|
|
@@ -8710,7 +8717,7 @@ ${n}` : n;
|
|
|
8710
8717
|
place: "gpu",
|
|
8711
8718
|
runtime: "onnxruntime-web@1.27.0",
|
|
8712
8719
|
notes: [
|
|
8713
|
-
"about 2 GB (vendor)
|
|
8720
|
+
"about 2 GB (vendor). the export's three graphs were read (measured): int32 input_ids, fp16 hidden states, a unet fixed at batch 2 with fp16 sample and int64 timestep, an fp16 vae",
|
|
8714
8721
|
"runs the unet twice a step for guidance, so a step costs about twice an sd-turbo step (inferred)",
|
|
8715
8722
|
"tokenizer: Xenova/clip-vit-base-patch16 through transformers.js (CLIP weights MIT)"
|
|
8716
8723
|
],
|
|
@@ -8731,14 +8738,19 @@ ${n}` : n;
|
|
|
8731
8738
|
spacing: "leading",
|
|
8732
8739
|
note: "classic sd, openrail-m licence. 20 to 30 steps with guidance, takes a negative prompt. slower per image.",
|
|
8733
8740
|
tokenizer: "Xenova/clip-vit-base-patch16",
|
|
8734
|
-
graphs
|
|
8741
|
+
graphs: {
|
|
8742
|
+
textEncoder: SD15[0],
|
|
8743
|
+
unet: SD15[1],
|
|
8744
|
+
vaeDecoder: SD15[2]
|
|
8745
|
+
}
|
|
8735
8746
|
}
|
|
8736
8747
|
}];
|
|
8737
8748
|
/**
|
|
8738
8749
|
* Listed for pickers, not registered by attachImagegen, so routing by
|
|
8739
|
-
* capability keeps SD-Turbo: SDXL-Turbo runs on `generateXl
|
|
8740
|
-
* export's input and output names
|
|
8741
|
-
*
|
|
8750
|
+
* capability keeps SD-Turbo: SDXL-Turbo runs on `generateXl`. The
|
|
8751
|
+
* export's input and output names and dtypes were read from the end of
|
|
8752
|
+
* each onnx file (2026-11-29, measured); the pipeline has not run on the
|
|
8753
|
+
* real weights. `loadImagegen(hub, { id:
|
|
8742
8754
|
* "sdxl-turbo" })` adds it and loads it.
|
|
8743
8755
|
*/
|
|
8744
8756
|
const IMAGEGEN_PICKER_RECORDS = [{
|
|
@@ -8746,7 +8758,7 @@ ${n}` : n;
|
|
|
8746
8758
|
label: "sdxl-turbo 512",
|
|
8747
8759
|
speed: "steady",
|
|
8748
8760
|
verdict: "not run yet",
|
|
8749
|
-
unrunnable: "not run yet. the
|
|
8761
|
+
unrunnable: "not run yet. the graph names and dtypes are read from the export's files (measured); the pipeline has not run on them.",
|
|
8750
8762
|
group: "good",
|
|
8751
8763
|
provides: ["imagegen"],
|
|
8752
8764
|
provider: "ort",
|
|
@@ -8772,7 +8784,7 @@ ${n}` : n;
|
|
|
8772
8784
|
runtime: "onnxruntime-web@1.27.0",
|
|
8773
8785
|
notes: [
|
|
8774
8786
|
"two text encoders, pooled embeddings and time ids, on generateXl",
|
|
8775
|
-
"fp16
|
|
8787
|
+
"fp16 edges and a float16 timestep; input_ids int32 for the first encoder and int64 for the second (measured from the graphs)",
|
|
8776
8788
|
"the highest quality of the three image models"
|
|
8777
8789
|
],
|
|
8778
8790
|
form: {
|
|
@@ -8796,7 +8808,8 @@ ${n}` : n;
|
|
|
8796
8808
|
pipeline: "sdxl",
|
|
8797
8809
|
xl: {
|
|
8798
8810
|
io: "float16",
|
|
8799
|
-
timestep: "float16"
|
|
8811
|
+
timestep: "float16",
|
|
8812
|
+
ids2: "int64"
|
|
8800
8813
|
}
|
|
8801
8814
|
}
|
|
8802
8815
|
}];
|
|
@@ -9942,7 +9955,7 @@ ${n}` : n;
|
|
|
9942
9955
|
zoomIn: svg("<circle cx=\"11\" cy=\"11\" r=\"7\"/><path d=\"M21 21l-4.3-4.3M11 8v6M8 11h6\"/>"),
|
|
9943
9956
|
zoomOut: svg("<circle cx=\"11\" cy=\"11\" r=\"7\"/><path d=\"M21 21l-4.3-4.3M8 11h6\"/>"),
|
|
9944
9957
|
fit: svg("<path d=\"M4 9V4h5M20 9V4h-5M4 15v5h5M20 15v5h-5\"/>"),
|
|
9945
|
-
x: svg("<path d=\"M6 6l12 12M18 6 6 18\"/>",
|
|
9958
|
+
x: svg("<path d=\"M6 6l12 12M18 6 6 18\"/>", 14),
|
|
9946
9959
|
copy: svg("<rect x=\"9\" y=\"9\" width=\"11\" height=\"11\"/><path d=\"M5 15V4h11\"/>", 14),
|
|
9947
9960
|
redoMsg: svg("<path d=\"M21 12a9 9 0 1 1-3-6.7L21 8\"/><path d=\"M21 3v5h-5\"/>", 14),
|
|
9948
9961
|
point: svg("<circle cx=\"12\" cy=\"12\" r=\"3\"/><path d=\"M12 2v5M12 17v5M2 12h5M17 12h5\"/>", 18),
|
|
@@ -9953,8 +9966,8 @@ ${n}` : n;
|
|
|
9953
9966
|
camera: svg("<path d=\"M3 7h4l2-3h6l2 3h4v13H3z\"/><circle cx=\"12\" cy=\"13\" r=\"4\"/>"),
|
|
9954
9967
|
menu: svg("<path d=\"M4 6h16M4 12h16M4 18h16\"/>"),
|
|
9955
9968
|
plus: svg("<path d=\"M12 5v14M5 12h14\"/>", 14),
|
|
9956
|
-
pen: svg("<path d=\"M4 20h4L19 9l-4-4L4 16z\"/>",
|
|
9957
|
-
trash: svg("<path d=\"M4 7h16M9 7V4h6v3M6 7l1 13h10l1-13\"/>",
|
|
9969
|
+
pen: svg("<path d=\"M4 20h4L19 9l-4-4L4 16z\"/>", 14),
|
|
9970
|
+
trash: svg("<path d=\"M4 7h16M9 7V4h6v3M6 7l1 13h10l1-13\"/>", 14)
|
|
9958
9971
|
};
|
|
9959
9972
|
// packages/ai-views/src/mount-model.ts
|
|
9960
9973
|
/**
|
|
@@ -11933,10 +11946,12 @@ ${n}` : n;
|
|
|
11933
11946
|
const ModelSelect = /* @__PURE__ */ defineComponent({
|
|
11934
11947
|
name: "ModelSelect",
|
|
11935
11948
|
props: {
|
|
11949
|
+
/** The job to pick for when no pick is passed: chat, voice, transcribe, detect and the rest. */
|
|
11936
11950
|
job: {
|
|
11937
11951
|
type: String,
|
|
11938
11952
|
default: "chat"
|
|
11939
11953
|
},
|
|
11954
|
+
/** A picker made with useModelPick, shared with the code that uses the model. Without one the view makes its own and emits it as `pick`. */
|
|
11940
11955
|
pick: {
|
|
11941
11956
|
type: Object,
|
|
11942
11957
|
default: void 0
|
|
@@ -11949,10 +11964,12 @@ ${n}` : n;
|
|
|
11949
11964
|
type: Boolean,
|
|
11950
11965
|
default: true
|
|
11951
11966
|
},
|
|
11967
|
+
/** What this machine can run, from probe(); rows it cannot run say why. Used only when no pick is passed. */
|
|
11952
11968
|
env: {
|
|
11953
11969
|
type: Object,
|
|
11954
11970
|
default: void 0
|
|
11955
11971
|
},
|
|
11972
|
+
/** Fetches and starts the chosen model, such as jobLoader(job). Used only when no pick is passed. */
|
|
11956
11973
|
loader: {
|
|
11957
11974
|
type: Function,
|
|
11958
11975
|
default: void 0
|
|
@@ -11995,18 +12012,22 @@ ${n}` : n;
|
|
|
11995
12012
|
const ChatPane = /* @__PURE__ */ defineComponent({
|
|
11996
12013
|
name: "ChatPane",
|
|
11997
12014
|
props: {
|
|
12015
|
+
/** The thread to draw, from chatThread or a chatList's thread. */
|
|
11998
12016
|
thread: {
|
|
11999
12017
|
type: Object,
|
|
12000
12018
|
required: true
|
|
12001
12019
|
},
|
|
12020
|
+
/** The reply's name in its head. */
|
|
12002
12021
|
name: {
|
|
12003
12022
|
type: String,
|
|
12004
12023
|
default: "reply"
|
|
12005
12024
|
},
|
|
12025
|
+
/** The empty state's line, shown until the first turn. */
|
|
12006
12026
|
emptyName: {
|
|
12007
12027
|
type: String,
|
|
12008
12028
|
default: "what are we working on?"
|
|
12009
12029
|
},
|
|
12030
|
+
/** A plain note under the empty state's line. */
|
|
12010
12031
|
emptyNote: {
|
|
12011
12032
|
type: String,
|
|
12012
12033
|
default: ""
|
|
@@ -12022,10 +12043,12 @@ ${n}` : n;
|
|
|
12022
12043
|
const Composer = /* @__PURE__ */ defineComponent({
|
|
12023
12044
|
name: "Composer",
|
|
12024
12045
|
props: {
|
|
12046
|
+
/** The thread a message goes to. */
|
|
12025
12047
|
thread: {
|
|
12026
12048
|
type: Object,
|
|
12027
12049
|
required: true
|
|
12028
12050
|
},
|
|
12051
|
+
/** The box's placeholder. */
|
|
12029
12052
|
placeholder: {
|
|
12030
12053
|
type: String,
|
|
12031
12054
|
default: "say something"
|
|
@@ -12037,30 +12060,37 @@ ${n}` : n;
|
|
|
12037
12060
|
const TranscribeDrop = /* @__PURE__ */ defineComponent({
|
|
12038
12061
|
name: "TranscribeDrop",
|
|
12039
12062
|
props: {
|
|
12063
|
+
/** The queue from transcribeQueue: files, their transcripts, edits and undo. */
|
|
12040
12064
|
queue: {
|
|
12041
12065
|
type: Object,
|
|
12042
12066
|
required: true
|
|
12043
12067
|
},
|
|
12068
|
+
/** The file types the picker offers; a drop takes any audio or video. */
|
|
12044
12069
|
accept: {
|
|
12045
12070
|
type: String,
|
|
12046
12071
|
default: "audio/*,video/*"
|
|
12047
12072
|
},
|
|
12073
|
+
/** A sample button's label; empty hides it. A press emits `sample` for the page to queue one. */
|
|
12048
12074
|
sampleLabel: {
|
|
12049
12075
|
type: String,
|
|
12050
12076
|
default: ""
|
|
12051
12077
|
},
|
|
12078
|
+
/** The zone's line before anything is dropped. */
|
|
12052
12079
|
title: {
|
|
12053
12080
|
type: String,
|
|
12054
12081
|
default: ""
|
|
12055
12082
|
},
|
|
12083
|
+
/** A plain note under the line. */
|
|
12056
12084
|
note: {
|
|
12057
12085
|
type: String,
|
|
12058
12086
|
default: ""
|
|
12059
12087
|
},
|
|
12088
|
+
/** Add a "choose a folder" button; a dropped folder is read whole either way. */
|
|
12060
12089
|
folders: {
|
|
12061
12090
|
type: Boolean,
|
|
12062
12091
|
default: false
|
|
12063
12092
|
},
|
|
12093
|
+
/** Show the lines the cleanup dropped (repeats, phantom text), struck through. */
|
|
12064
12094
|
showDropped: {
|
|
12065
12095
|
type: Boolean,
|
|
12066
12096
|
default: false
|
|
@@ -12087,14 +12117,17 @@ ${n}` : n;
|
|
|
12087
12117
|
const ExportMenu = /* @__PURE__ */ defineComponent({
|
|
12088
12118
|
name: "ExportMenu",
|
|
12089
12119
|
props: {
|
|
12120
|
+
/** The queue from transcribeQueue: files, their transcripts, edits and undo. */
|
|
12090
12121
|
queue: {
|
|
12091
12122
|
type: Object,
|
|
12092
12123
|
required: true
|
|
12093
12124
|
},
|
|
12125
|
+
/** The tool name written into an export's header and the zip manifest. */
|
|
12094
12126
|
tool: {
|
|
12095
12127
|
type: String,
|
|
12096
12128
|
default: ""
|
|
12097
12129
|
},
|
|
12130
|
+
/** Make the main export button the pink action. */
|
|
12098
12131
|
go: {
|
|
12099
12132
|
type: Boolean,
|
|
12100
12133
|
default: false
|
|
@@ -12109,10 +12142,12 @@ ${n}` : n;
|
|
|
12109
12142
|
const MemoryPane = /* @__PURE__ */ defineComponent({
|
|
12110
12143
|
name: "MemoryPane",
|
|
12111
12144
|
props: {
|
|
12145
|
+
/** The store to show: a @hackbuild/memory store or anything with the same list, edit and forget calls. */
|
|
12112
12146
|
memory: {
|
|
12113
12147
|
type: Object,
|
|
12114
12148
|
required: true
|
|
12115
12149
|
},
|
|
12150
|
+
/** The pane's heading. */
|
|
12116
12151
|
name: {
|
|
12117
12152
|
type: String,
|
|
12118
12153
|
default: "memory"
|
|
@@ -12157,10 +12192,12 @@ ${n}` : n;
|
|
|
12157
12192
|
const SourcesDrop = /* @__PURE__ */ defineComponent({
|
|
12158
12193
|
name: "SourcesDrop",
|
|
12159
12194
|
props: {
|
|
12195
|
+
/** @hackbuild/memory `ingest(mem, files, o)` bound to a store; resolves to the files and parts read. */
|
|
12160
12196
|
ingest: {
|
|
12161
12197
|
type: Function,
|
|
12162
12198
|
required: true
|
|
12163
12199
|
},
|
|
12200
|
+
/** The file types the picker offers; empty takes text, markdown, csv, json, html, pdf, docx, zip and eml. */
|
|
12164
12201
|
accept: {
|
|
12165
12202
|
type: String,
|
|
12166
12203
|
default: ""
|
|
@@ -12174,7 +12211,9 @@ ${n}` : n;
|
|
|
12174
12211
|
/** Vue component for a persona rack. */
|
|
12175
12212
|
const PersonaRack = /* @__PURE__ */ defineComponent({
|
|
12176
12213
|
name: "PersonaRack",
|
|
12177
|
-
props: {
|
|
12214
|
+
props: {
|
|
12215
|
+
/** The persona state from personaRack: name, prompt, presets and saved ones. */
|
|
12216
|
+
rack: {
|
|
12178
12217
|
type: Object,
|
|
12179
12218
|
required: true
|
|
12180
12219
|
} },
|
|
@@ -12184,10 +12223,12 @@ ${n}` : n;
|
|
|
12184
12223
|
const VoiceRow = /* @__PURE__ */ defineComponent({
|
|
12185
12224
|
name: "VoiceRow",
|
|
12186
12225
|
props: {
|
|
12226
|
+
/** The voice state from voiceRow: voice, rate, pitch and auto speak. */
|
|
12187
12227
|
row: {
|
|
12188
12228
|
type: Object,
|
|
12189
12229
|
required: true
|
|
12190
12230
|
},
|
|
12231
|
+
/** The line the test button reads; empty uses the row's own. */
|
|
12191
12232
|
test: {
|
|
12192
12233
|
type: String,
|
|
12193
12234
|
default: ""
|
|
@@ -12199,18 +12240,22 @@ ${n}` : n;
|
|
|
12199
12240
|
const VoiceClone = /* @__PURE__ */ defineComponent({
|
|
12200
12241
|
name: "VoiceClone",
|
|
12201
12242
|
props: {
|
|
12243
|
+
/** The speaker from speaker(): its engine takes the reference clip. */
|
|
12202
12244
|
speaker: {
|
|
12203
12245
|
type: Object,
|
|
12204
12246
|
required: true
|
|
12205
12247
|
},
|
|
12248
|
+
/** Whether the loaded voice can clone; when false the row says to load one that can. */
|
|
12206
12249
|
can: {
|
|
12207
12250
|
type: Boolean,
|
|
12208
12251
|
default: true
|
|
12209
12252
|
},
|
|
12253
|
+
/** How many seconds the microphone records. */
|
|
12210
12254
|
seconds: {
|
|
12211
12255
|
type: Number,
|
|
12212
12256
|
default: 10
|
|
12213
12257
|
},
|
|
12258
|
+
/** A plain line under the row. */
|
|
12214
12259
|
hint: {
|
|
12215
12260
|
type: String,
|
|
12216
12261
|
default: ""
|
|
@@ -12225,7 +12270,9 @@ ${n}` : n;
|
|
|
12225
12270
|
/** Vue component for the session menu of a chat list; emits `import` with the number of chats. */
|
|
12226
12271
|
const SessionMenu = /* @__PURE__ */ defineComponent({
|
|
12227
12272
|
name: "SessionMenu",
|
|
12228
|
-
props: {
|
|
12273
|
+
props: {
|
|
12274
|
+
/** The chat list to export, import and clear. */
|
|
12275
|
+
list: {
|
|
12229
12276
|
type: Object,
|
|
12230
12277
|
required: true
|
|
12231
12278
|
} },
|
|
@@ -12236,10 +12283,12 @@ ${n}` : n;
|
|
|
12236
12283
|
const TranscriptView = /* @__PURE__ */ defineComponent({
|
|
12237
12284
|
name: "TranscriptView",
|
|
12238
12285
|
props: {
|
|
12286
|
+
/** The queue from transcribeQueue: files, their transcripts, edits and undo. */
|
|
12239
12287
|
queue: {
|
|
12240
12288
|
type: Object,
|
|
12241
12289
|
required: true
|
|
12242
12290
|
},
|
|
12291
|
+
/** Show the export buttons for the selected file instead of its lines. */
|
|
12243
12292
|
exports: {
|
|
12244
12293
|
type: Boolean,
|
|
12245
12294
|
default: false
|
|
@@ -12254,14 +12303,17 @@ ${n}` : n;
|
|
|
12254
12303
|
const MaskStudio = /* @__PURE__ */ defineComponent({
|
|
12255
12304
|
name: "MaskStudio",
|
|
12256
12305
|
props: {
|
|
12306
|
+
/** The models it may use: a click segment and a segment everything. With none, the hand tools still work. */
|
|
12257
12307
|
models: {
|
|
12258
12308
|
type: Object,
|
|
12259
12309
|
default: () => ({})
|
|
12260
12310
|
},
|
|
12311
|
+
/** A sample button's label; empty hides it. A press emits `sample` for the page to set an image. */
|
|
12261
12312
|
sampleLabel: {
|
|
12262
12313
|
type: String,
|
|
12263
12314
|
default: ""
|
|
12264
12315
|
},
|
|
12316
|
+
/** Show the model tools before their models load; using one emits `want` so the page loads it. */
|
|
12265
12317
|
demand: {
|
|
12266
12318
|
type: Boolean,
|
|
12267
12319
|
default: false
|
|
@@ -12299,7 +12351,9 @@ ${n}` : n;
|
|
|
12299
12351
|
/** Vue component for the tool rail of a mask studio. */
|
|
12300
12352
|
const MaskTools = /* @__PURE__ */ defineComponent({
|
|
12301
12353
|
name: "MaskTools",
|
|
12302
|
-
props: {
|
|
12354
|
+
props: {
|
|
12355
|
+
/** The studio from mountMaskStudio, or the one MaskStudio emits as `studio`. */
|
|
12356
|
+
studio: {
|
|
12303
12357
|
type: Object,
|
|
12304
12358
|
required: true
|
|
12305
12359
|
} },
|
|
@@ -12308,7 +12362,9 @@ ${n}` : n;
|
|
|
12308
12362
|
/** Vue component for the undo, redo and zoom row of a mask studio. */
|
|
12309
12363
|
const MaskVerbs = /* @__PURE__ */ defineComponent({
|
|
12310
12364
|
name: "MaskVerbs",
|
|
12311
|
-
props: {
|
|
12365
|
+
props: {
|
|
12366
|
+
/** The studio from mountMaskStudio, or the one MaskStudio emits as `studio`. */
|
|
12367
|
+
studio: {
|
|
12312
12368
|
type: Object,
|
|
12313
12369
|
required: true
|
|
12314
12370
|
} },
|
|
@@ -12318,14 +12374,17 @@ ${n}` : n;
|
|
|
12318
12374
|
const MaskRack = /* @__PURE__ */ defineComponent({
|
|
12319
12375
|
name: "MaskRack",
|
|
12320
12376
|
props: {
|
|
12377
|
+
/** The studio from mountMaskStudio, or the one MaskStudio emits as `studio`. */
|
|
12321
12378
|
studio: {
|
|
12322
12379
|
type: Object,
|
|
12323
12380
|
required: true
|
|
12324
12381
|
},
|
|
12382
|
+
/** Which panel: the found objects, the mask tools, saved masks or the exports. */
|
|
12325
12383
|
part: {
|
|
12326
12384
|
type: String,
|
|
12327
12385
|
default: "found"
|
|
12328
12386
|
},
|
|
12387
|
+
/** The exported files' name, without extension. */
|
|
12329
12388
|
name: {
|
|
12330
12389
|
type: String,
|
|
12331
12390
|
default: "mask"
|
|
@@ -12337,10 +12396,12 @@ ${n}` : n;
|
|
|
12337
12396
|
const ModelJobs = /* @__PURE__ */ defineComponent({
|
|
12338
12397
|
name: "ModelJobs",
|
|
12339
12398
|
props: {
|
|
12399
|
+
/** The rack made with useJobsPick: one picker per job, presets and load all. */
|
|
12340
12400
|
jobs: {
|
|
12341
12401
|
type: Object,
|
|
12342
12402
|
required: true
|
|
12343
12403
|
},
|
|
12404
|
+
/** Draw the pink load all. Off on a gate, whose own button is the pink action. */
|
|
12344
12405
|
go: {
|
|
12345
12406
|
type: Boolean,
|
|
12346
12407
|
default: true
|
|
@@ -12351,7 +12412,9 @@ ${n}` : n;
|
|
|
12351
12412
|
/** Vue component for the file list of a transcribe queue. */
|
|
12352
12413
|
const TranscribeQueue = /* @__PURE__ */ defineComponent({
|
|
12353
12414
|
name: "TranscribeQueue",
|
|
12354
|
-
props: {
|
|
12415
|
+
props: {
|
|
12416
|
+
/** The queue from transcribeQueue: files, their transcripts, edits and undo. */
|
|
12417
|
+
queue: {
|
|
12355
12418
|
type: Object,
|
|
12356
12419
|
required: true
|
|
12357
12420
|
} },
|
|
@@ -12360,7 +12423,9 @@ ${n}` : n;
|
|
|
12360
12423
|
/** Vue component that shows a recall trace as a table. */
|
|
12361
12424
|
const MemoryInspector = /* @__PURE__ */ defineComponent({
|
|
12362
12425
|
name: "MemoryInspector",
|
|
12363
|
-
props: {
|
|
12426
|
+
props: {
|
|
12427
|
+
/** The last recall from @hackbuild/memory: its query, mode, hits and the trace of each memory scored. */
|
|
12428
|
+
recall: {
|
|
12364
12429
|
type: Object,
|
|
12365
12430
|
default: null
|
|
12366
12431
|
} },
|
|
@@ -12380,10 +12445,12 @@ ${n}` : n;
|
|
|
12380
12445
|
const ChatList = /* @__PURE__ */ defineComponent({
|
|
12381
12446
|
name: "ChatList",
|
|
12382
12447
|
props: {
|
|
12448
|
+
/** The chats, from chatList: each a thread, one of them open. */
|
|
12383
12449
|
list: {
|
|
12384
12450
|
type: Object,
|
|
12385
12451
|
required: true
|
|
12386
12452
|
},
|
|
12453
|
+
/** The rail's accessible name. */
|
|
12387
12454
|
label: {
|
|
12388
12455
|
type: String,
|
|
12389
12456
|
default: "chats"
|
|
@@ -12395,14 +12462,17 @@ ${n}` : n;
|
|
|
12395
12462
|
const ContextMeter = /* @__PURE__ */ defineComponent({
|
|
12396
12463
|
name: "ContextMeter",
|
|
12397
12464
|
props: {
|
|
12465
|
+
/** The thread whose next request is measured. */
|
|
12398
12466
|
thread: {
|
|
12399
12467
|
type: Object,
|
|
12400
12468
|
required: true
|
|
12401
12469
|
},
|
|
12470
|
+
/** The model's context window in tokens. */
|
|
12402
12471
|
budget: {
|
|
12403
12472
|
type: Number,
|
|
12404
12473
|
default: 4096
|
|
12405
12474
|
},
|
|
12475
|
+
/** The system prompt that rides with every request. */
|
|
12406
12476
|
system: {
|
|
12407
12477
|
type: String,
|
|
12408
12478
|
default: ""
|
|
@@ -12420,14 +12490,17 @@ ${n}` : n;
|
|
|
12420
12490
|
const FrameView = /* @__PURE__ */ defineComponent({
|
|
12421
12491
|
name: "FrameView",
|
|
12422
12492
|
props: {
|
|
12493
|
+
/** The picture: a URL, an image, a live video or a canvas. */
|
|
12423
12494
|
source: {
|
|
12424
12495
|
type: [String, Object],
|
|
12425
12496
|
default: null
|
|
12426
12497
|
},
|
|
12498
|
+
/** What to draw on it, in image pixels: boxes, landmarks, a caption and a corner tag. */
|
|
12427
12499
|
results: {
|
|
12428
12500
|
type: Object,
|
|
12429
12501
|
default: () => ({})
|
|
12430
12502
|
},
|
|
12503
|
+
/** Flip it left to right, as a front camera reads. */
|
|
12431
12504
|
mirror: {
|
|
12432
12505
|
type: Boolean,
|
|
12433
12506
|
default: false
|
|
@@ -12455,7 +12528,9 @@ ${n}` : n;
|
|
|
12455
12528
|
});
|
|
12456
12529
|
exports.CameraFeed = /* @__PURE__ */ defineComponent({
|
|
12457
12530
|
name: "CameraFeed",
|
|
12458
|
-
props: {
|
|
12531
|
+
props: {
|
|
12532
|
+
/** How many times a second the video goes out as `frame` while live. */
|
|
12533
|
+
fps: {
|
|
12459
12534
|
type: Number,
|
|
12460
12535
|
default: 4
|
|
12461
12536
|
} },
|