@larkup/marketplace 0.3.5 โ 0.3.8
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/package.json +6 -1
- package/src/db/builtin-tools.ts +2 -2
- package/src/tool-registry.test.ts +1 -1
- package/.env +0 -6
- package/.turbo/turbo-test.log +0 -21
- package/.turbo/turbo-type-check.log +0 -4
- package/CHANGELOG.md +0 -468
- package/FUTURE_TODO.md +0 -131
- package/tsconfig.json +0 -15
- package/vitest.config.ts +0 -13
package/package.json
CHANGED
package/src/db/builtin-tools.ts
CHANGED
|
@@ -10,7 +10,7 @@ export const BUILTIN_TOOLS: Record<string, unknown>[] = [
|
|
|
10
10
|
longDescription:
|
|
11
11
|
'Turn videos into knowledge your AI can understand. It listens to what is said, reads what appears on screen, and helps you find the moments that matter.',
|
|
12
12
|
category: 'media',
|
|
13
|
-
version: '0.3.
|
|
13
|
+
version: '0.3.5',
|
|
14
14
|
pricing: 'free',
|
|
15
15
|
emoji: '๐ฌ',
|
|
16
16
|
icon: 'Film',
|
|
@@ -191,7 +191,7 @@ export const BUILTIN_TOOLS: Record<string, unknown>[] = [
|
|
|
191
191
|
downloads: 0,
|
|
192
192
|
repositoryUrl: 'https://github.com/Larkup-AI/larkup',
|
|
193
193
|
license: 'Apache-2.0',
|
|
194
|
-
updatedAt: '2026-
|
|
194
|
+
updatedAt: '2026-10-06',
|
|
195
195
|
trustLevel: 'elevated',
|
|
196
196
|
permissions: {
|
|
197
197
|
fsRead: true,
|
package/.env
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
# Local contributor path (no Neon account needed):
|
|
2
|
-
# docker compose -f docker/hub-db.yml up -d
|
|
3
|
-
# cp packages/hub-db/.env.example packages/hub-db/.env
|
|
4
|
-
# pnpm --filter @larkup/hub-db push
|
|
5
|
-
# pnpm --filter @larkup/hub-db seed
|
|
6
|
-
DATABASE_URL=postgres://larkup:larkup@localhost:5433/larkup_hub
|
package/.turbo/turbo-test.log
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
> @larkup/marketplace@0.3.5 test /Users/abdelrahmanabounida/Desktop/my-ai-startup/larkup/larkup/packages/marketplace
|
|
3
|
-
> vitest run
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
RUN v5.0.1 /Users/abdelrahmanabounida/Desktop/my-ai-startup/larkup/larkup/packages/marketplace
|
|
7
|
-
|
|
8
|
-
โ src/tool-loader.test.ts (3 tests) 232ms
|
|
9
|
-
โ src/storage-provider-s3.test.ts (8 tests) 12ms
|
|
10
|
-
โ src/tool-registry.test.ts (2 tests) 14ms
|
|
11
|
-
โ src/output-sanitizer.test.ts (2 tests) 5ms
|
|
12
|
-
โ src/tool-installer.test.ts (1 test) 3ms
|
|
13
|
-
|
|
14
|
-
Test Files 5 passed (5)
|
|
15
|
-
Tests 16 passed (16)
|
|
16
|
-
Start at 15:04:24
|
|
17
|
-
Duration 2.03s (tests 46%, transform 33%, import 15%, worker 6%)
|
|
18
|
-
|
|
19
|
-
Isolate 5 workers spawned ยท ~267ms startup each (spawn + environment, per file)
|
|
20
|
-
at least ~1.07s faster with isolate: false โ reuses workers across files instead of one per file
|
|
21
|
-
|
package/CHANGELOG.md
DELETED
|
@@ -1,468 +0,0 @@
|
|
|
1
|
-
# @larkup/marketplace
|
|
2
|
-
|
|
3
|
-
## 0.3.5
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- Updated dependencies [0e15261]
|
|
8
|
-
- @larkup/core@0.7.4
|
|
9
|
-
|
|
10
|
-
## 0.3.4
|
|
11
|
-
|
|
12
|
-
### Patch Changes
|
|
13
|
-
|
|
14
|
-
- Updated dependencies [c4be854]
|
|
15
|
-
- @larkup/core@0.7.3
|
|
16
|
-
|
|
17
|
-
## 0.3.3
|
|
18
|
-
|
|
19
|
-
### Patch Changes
|
|
20
|
-
|
|
21
|
-
- Updated dependencies [6b99a59]
|
|
22
|
-
- Updated dependencies [6b99a59]
|
|
23
|
-
- @larkup/core@0.7.2
|
|
24
|
-
|
|
25
|
-
## 0.3.2
|
|
26
|
-
|
|
27
|
-
### Patch Changes
|
|
28
|
-
|
|
29
|
-
- Updated dependencies [d3ead95]
|
|
30
|
-
- @larkup/core@0.7.1
|
|
31
|
-
|
|
32
|
-
## 0.3.1
|
|
33
|
-
|
|
34
|
-
### Patch Changes
|
|
35
|
-
|
|
36
|
-
- Keep Marketplace update actions accurate after a successful install, and do not offer an npm update for a workspace-linked development tool that cannot be replaced by the installer.
|
|
37
|
-
|
|
38
|
-
## 0.3.0
|
|
39
|
-
|
|
40
|
-
### Minor Changes
|
|
41
|
-
|
|
42
|
-
- Add language-neutral, model-issued video investigation directives, source-grounded chronological continuity, and an anonymous detection presence ledger for broad video investigation. Preserve the Media Panel indexing focus across local and remote imports, add source-wide coverage retrieval outside the model context, and make Marketplace tool updates settle to the verified installed version.
|
|
43
|
-
|
|
44
|
-
### Patch Changes
|
|
45
|
-
|
|
46
|
-
- Updated dependencies
|
|
47
|
-
- @larkup/core@0.7.0
|
|
48
|
-
|
|
49
|
-
## 0.2.9
|
|
50
|
-
|
|
51
|
-
### Patch Changes
|
|
52
|
-
|
|
53
|
-
- 87a6753: Fix Marketplace tool updates when local npm metadata or installed version records are stale.
|
|
54
|
-
|
|
55
|
-
## 0.2.8
|
|
56
|
-
|
|
57
|
-
### Patch Changes
|
|
58
|
-
|
|
59
|
-
- 211071c: Improve deterministic video evidence routing and complete-source retrieval.
|
|
60
|
-
- Updated dependencies [211071c]
|
|
61
|
-
- @larkup/core@0.6.0
|
|
62
|
-
|
|
63
|
-
## 0.2.7
|
|
64
|
-
|
|
65
|
-
### Patch Changes
|
|
66
|
-
|
|
67
|
-
- Fix Hub database modules loading on Node.js runtimes that use native TypeScript stripping.
|
|
68
|
-
|
|
69
|
-
## 0.2.6
|
|
70
|
-
|
|
71
|
-
### Patch Changes
|
|
72
|
-
|
|
73
|
-
- Keep the bundled Video Intelligence fallback catalog aligned with version 0.2.10.
|
|
74
|
-
- Updated dependencies [167ee9c]
|
|
75
|
-
- Updated dependencies [b483d01]
|
|
76
|
-
- Updated dependencies [ff5a5b6]
|
|
77
|
-
- @larkup/core@0.5.5
|
|
78
|
-
|
|
79
|
-
## 0.2.5
|
|
80
|
-
|
|
81
|
-
### Patch Changes
|
|
82
|
-
|
|
83
|
-
- a37cee1: Make Marketplace tool updates visible and preserve installed settings while updating Video Intelligence to the cited-video playback release.
|
|
84
|
-
|
|
85
|
-
## 0.2.4
|
|
86
|
-
|
|
87
|
-
### Patch Changes
|
|
88
|
-
|
|
89
|
-
- Updated dependencies [4130731]
|
|
90
|
-
- @larkup/core@0.5.4
|
|
91
|
-
|
|
92
|
-
## 0.2.3
|
|
93
|
-
|
|
94
|
-
### Patch Changes
|
|
95
|
-
|
|
96
|
-
- Updated dependencies [36e524c]
|
|
97
|
-
- @larkup/core@0.5.3
|
|
98
|
-
|
|
99
|
-
## 0.2.2
|
|
100
|
-
|
|
101
|
-
### Patch Changes
|
|
102
|
-
|
|
103
|
-
- 2bb75fa: Persist packaged local projects, credentials, uploads, indexes, installed tools, and Video Intelligence runtime data outside the npm installation, with automatic migration from the legacy package-local directory. Keep Video Intelligence available when a Hub catalog is incomplete, and require a fresh visual pass for exhaustive PDF diagram questions.
|
|
104
|
-
- Updated dependencies [2bb75fa]
|
|
105
|
-
- @larkup/core@0.5.2
|
|
106
|
-
|
|
107
|
-
## 0.2.1
|
|
108
|
-
|
|
109
|
-
### Patch Changes
|
|
110
|
-
|
|
111
|
-
- 847b502: Keep global installs and updates quiet and compatible by aligning Apache Arrow with LanceDB's
|
|
112
|
-
supported peer range, shipping the marketplace TypeScript runtime loader, and using the renamed
|
|
113
|
-
Daytona SDK package. Public tarballs also scrub local project state from all traced workspaces.
|
|
114
|
-
- Updated dependencies [81abfcb]
|
|
115
|
-
- @larkup/core@0.5.1
|
|
116
|
-
|
|
117
|
-
## 0.2.0
|
|
118
|
-
|
|
119
|
-
### Minor Changes
|
|
120
|
-
|
|
121
|
-
- b2f4aa2: Add a shared agent-planned video indexing pipeline with Fast, Balanced, and
|
|
122
|
-
Thorough modes, timestamp-grounded knowledge synthesis, live ETA progress, and
|
|
123
|
-
independently selectable provider-filtered vision and tool-brain models.
|
|
124
|
-
- Add the Marketplace v3 extension/runtime/billing contract and the installable cloud-first Video Intelligence tool with automatic device-scoped cloud connections, managed AWS deployment, quota controls, indexing briefs, durable timestamped chat evidence, audio-provider settings, and temporary capacity requests.
|
|
125
|
-
- bf44a90: feat(marketplace): add a durable Postgres catalog
|
|
126
|
-
|
|
127
|
-
`apps/marketplace` now stores publisher identity, extension versions, install
|
|
128
|
-
counts, and audit events in Postgres.
|
|
129
|
-
|
|
130
|
-
**`@larkup/marketplace`** now includes the Drizzle schema, committed
|
|
131
|
-
migrations, a lazy Postgres client, and typed catalog queries under `src/db`.
|
|
132
|
-
The Hub owns HTTP handling while the Marketplace package owns database access.
|
|
133
|
-
Publishing validates manifests, preserves immutable versions, and enforces
|
|
134
|
-
publisher ownership.
|
|
135
|
-
|
|
136
|
-
**Local contributor path, no Neon account needed**:
|
|
137
|
-
`docker compose -f docker/marketplace-db.yml up`, then `pnpm --filter
|
|
138
|
-
@larkup/marketplace db:migrate && pnpm --filter @larkup/marketplace db:seed`.
|
|
139
|
-
|
|
140
|
-
**`@larkup/hub`**: `/v1/*` stays byte-compatible โ every response is
|
|
141
|
-
reconstructed from the stored manifest so `ToolDescriptor`/`ToolListResponse`/
|
|
142
|
-
`ToolDetailResponse` are unchanged field-for-field, and
|
|
143
|
-
`POST /v1/tools/:id/installed` still accepts the body-less request
|
|
144
|
-
`packages/marketplace`'s installer sends today (falls back to an
|
|
145
|
-
`"anonymous"` workspace bucket; a caller sending `workspaceId` gets accurate
|
|
146
|
-
per-workspace install tracking with no Hub change required).
|
|
147
|
-
|
|
148
|
-
See [ADR-012](docs/adrs/adr-012-marketplace-hub-on-postgres.md) for the
|
|
149
|
-
schema and authorization design.
|
|
150
|
-
|
|
151
|
-
- b2f4aa2: Make indexed video evidence findable and answerable.
|
|
152
|
-
|
|
153
|
-
Retrieval now ranks the evidence at its own timestamps using the workspace
|
|
154
|
-
embedding model, so a question asked in one language locates a moment recorded
|
|
155
|
-
in another; the corpus only ever matched chapter-sized documents, and lexical
|
|
156
|
-
scoring matched nothing at all across languages. Every timestamped signal is
|
|
157
|
-
fused into a short ranked list of windows, which both aims bounded source
|
|
158
|
-
inspection and gives the model a compact map to navigate by, replacing offsets
|
|
159
|
-
computed from the recording's length.
|
|
160
|
-
|
|
161
|
-
A conclusion, a count, and a comparison are settled by reading across records
|
|
162
|
-
rather than by finding one that states the answer. Requiring a single record
|
|
163
|
-
made those questions report the source as silent even when its closing state was
|
|
164
|
-
plainly indexed; they are now answered from a chronological trail, with the
|
|
165
|
-
answering rule stating how far that trail goes.
|
|
166
|
-
|
|
167
|
-
Also fixes: the chapter/scene hierarchy was scoped to one revision, so a single
|
|
168
|
-
refinement replaced the whole map of a source; the loader served a workspace
|
|
169
|
-
tool's stale build until the host restarted; and a live analysis showed a
|
|
170
|
-
completed progress bar for the minutes of work that follow the worker's own pass.
|
|
171
|
-
|
|
172
|
-
- b2f4aa2: Video indexing now takes notes instead of describing frames, and a chat question
|
|
173
|
-
that the index cannot settle is answered by re-reading the source directly
|
|
174
|
-
instead of dispatching a re-index.
|
|
175
|
-
|
|
176
|
-
**Indexing.** The per-clip reader was instructed to describe only what a clip's
|
|
177
|
-
own pixels showed and never to use on-screen text or speech to identify anyone,
|
|
178
|
-
which produced entries like "a man in a jersey sits on a couch" alongside
|
|
179
|
-
detector class lists ("person, chair, couch"). It now writes notes the way a
|
|
180
|
-
person would if they had to answer questions from them later: what happened and
|
|
181
|
-
what changed, who was involved and what established each identity, and every
|
|
182
|
-
informative piece of on-screen text read exactly and attached to what it labels.
|
|
183
|
-
How much a note carries scales with the requested coverage (fast / balanced /
|
|
184
|
-
thorough), and the indexing hint steers what gets the most detail. Detector class
|
|
185
|
-
lists and low-confidence text no longer enter the searchable notes at all; both
|
|
186
|
-
remain queryable as their own evidence.
|
|
187
|
-
|
|
188
|
-
**Answering.** A question the index could not settle previously dispatched a
|
|
189
|
-
bounded re-index: a cold GPU worker, minutes of wall time, and frequently a turn
|
|
190
|
-
that expired before it returned, which reached the user as the video not showing
|
|
191
|
-
something it plainly did. The host now exposes a `reWatch` capability that
|
|
192
|
-
samples the candidate windows off the source and reads them in one multimodal
|
|
193
|
-
request per window, with the windows read together. The dispatched path remains
|
|
194
|
-
as the fallback behind it.
|
|
195
|
-
|
|
196
|
-
**Transcription.** Local Whisper ran with voice detection always on. Over
|
|
197
|
-
continuous background noise it discards speech rather than finding silence: on a
|
|
198
|
-
noisy source it kept 2 segments where a second pass without it recovered 66, and
|
|
199
|
-
a whole recording indexed with 5% of its speech. It now measures how much of the
|
|
200
|
-
source the first pass found and re-decodes without voice detection when that is
|
|
201
|
-
implausibly low, keeping whichever pass heard more.
|
|
202
|
-
|
|
203
|
-
Also fixes three answering bugs found while testing against a real index:
|
|
204
|
-
|
|
205
|
-
- A question settled by a trail of evidence rather than one record returned an
|
|
206
|
-
empty evidence list, so the reply had nothing to cite and reported the source
|
|
207
|
-
as silent.
|
|
208
|
-
- A question about a conclusion spent one of its bounded looks on the opening of
|
|
209
|
-
the source, where the answer cannot be.
|
|
210
|
-
- A question about a whole progression spread its looks evenly across the
|
|
211
|
-
source, landing between the moments it changed instead of on them.
|
|
212
|
-
|
|
213
|
-
Also raises the reader's output budget. Current readers spend most of a small
|
|
214
|
-
budget before emitting any content, so the previous interactive ceiling produced
|
|
215
|
-
truncated, unparseable results rather than shorter ones.
|
|
216
|
-
|
|
217
|
-
Measured on a 14.6-minute source: indexing 131s (balanced), and a bounded
|
|
218
|
-
re-watch 660ms to sample plus ~14s to read, against minutes for the dispatched
|
|
219
|
-
path.
|
|
220
|
-
|
|
221
|
-
### Patch Changes
|
|
222
|
-
|
|
223
|
-
- Load installed Marketplace agent actions dynamically in chat, with validated schemas, collision protection, execution context, and workflow metadata. Video Intelligence now owns its bounded evidence-refinement action and declarative chat behavior.
|
|
224
|
-
- b2f4aa2: Honor a Marketplace tool manifest's public or private distribution setting when it is published.
|
|
225
|
-
- b2f4aa2: Make indexed video answers RAG-first, share one bounded fallback-analysis deadline, animate per-call chat progress, expose matched indexed context with timestamps, automatically paginate broad questions, and remove answer-cache shortcuts.
|
|
226
|
-
- Improve project settings with portable Agent Skills, runtime filtering, current installed-tool manifests, and expanded Video Intelligence configuration. Agent Server deployments now expose tool discovery plus AI SDK and OpenAI-compatible streaming endpoints, grouped separately from Knowledge endpoints in Scalar. Add text streaming helpers, chat-model discovery, and guarded per-request provider/model selection to the JavaScript and Python SDK clients. AI Gateway runtimes list their available language models; direct-provider runtimes remain constrained to their configured provider. Align `larkup chat --model` with the configured provider so a Gateway key is never routed to a direct vendor.
|
|
227
|
-
- b2f4aa2: Add portable runtime selection, a manifest-driven media-indexing confirmation form, cloud allowance support requests, and capped device-trial entitlement controls for Video Intelligence.
|
|
228
|
-
- b2f4aa2: Make video indexing and retrieval work the same for any kind of video, and
|
|
229
|
-
make an indexing job's progress reflect the work it is doing.
|
|
230
|
-
|
|
231
|
-
Indexing and retrieval both carried rules written for one kind of footage: a
|
|
232
|
-
question planner that branched on sport vocabulary in English and Arabic, an
|
|
233
|
-
OCR pass that only kept paired numbers under 30, and prompts that told the
|
|
234
|
-
reader how to interpret a two-sided display. Those rules answered a narrow set
|
|
235
|
-
of questions on a narrow set of videos and quietly distorted everything else.
|
|
236
|
-
They are replaced by signals that mean the same thing in any recording: which
|
|
237
|
-
short on-screen text persists and when it changes, whether a question wants one
|
|
238
|
-
fact or the whole source, and whether a state sequence is consistent with
|
|
239
|
-
itself over time.
|
|
240
|
-
|
|
241
|
-
The retrieval agent now runs one gap-driven loop rather than a set of
|
|
242
|
-
per-question-type rules: it retrieves, decides what the evidence still lacks,
|
|
243
|
-
watches the moments the index pointed at, and re-checks. Independent moments are
|
|
244
|
-
watched together instead of one after another, which cuts a multi-range turn to
|
|
245
|
-
roughly the cost of its slowest look, and a runtime that admits one job at a
|
|
246
|
-
time is handled by falling back to one at a time rather than failing the turn.
|
|
247
|
-
An answer a question was watched for is now recognised by what produced it,
|
|
248
|
-
rather than by the reader repeating the question back.
|
|
249
|
-
|
|
250
|
-
Progress is budgeted by how long each phase actually takes and advances between
|
|
251
|
-
milestones, so the bar moves the whole way through rather than sitting still and
|
|
252
|
-
then jumping. The runtime reports how far through its current stage it is, so a
|
|
253
|
-
host rendering one bar per step no longer keeps its own copy of that budget.
|
|
254
|
-
|
|
255
|
-
The three coverage modes now have non-overlapping budgets, so Fast can no longer
|
|
256
|
-
plan more work than Balanced.
|
|
257
|
-
|
|
258
|
-
The index's own reconciled account is now published as retrievable evidence.
|
|
259
|
-
The runtime already cross-checks every reading of a moment against the rest of
|
|
260
|
-
the timeline, but only the raw readings reached retrieval, so chat could answer
|
|
261
|
-
from a reading the index had already set aside. Evidence that reconciles other
|
|
262
|
-
evidence now leads the answer.
|
|
263
|
-
|
|
264
|
-
The managed cloud worker's bulk reader moves to a stronger model. Measured on
|
|
265
|
-
the same GPU and source, the previous one misread a two-sided on-screen display
|
|
266
|
-
and produced a wrong index while also finishing slower, because a weaker reader
|
|
267
|
-
costs more retries than it saves.
|
|
268
|
-
|
|
269
|
-
- b2f4aa2: Improve Video Intelligence cloud usage, model verification, and local runtime controls.
|
|
270
|
-
- Updated dependencies [738ba6c]
|
|
271
|
-
- Updated dependencies [738ba6c]
|
|
272
|
-
- Updated dependencies [738ba6c]
|
|
273
|
-
- Updated dependencies
|
|
274
|
-
- Updated dependencies [b2f4aa2]
|
|
275
|
-
- Updated dependencies [b2f4aa2]
|
|
276
|
-
- Updated dependencies [790a298]
|
|
277
|
-
- Updated dependencies [b2f4aa2]
|
|
278
|
-
- Updated dependencies
|
|
279
|
-
- Updated dependencies
|
|
280
|
-
- Updated dependencies
|
|
281
|
-
- Updated dependencies
|
|
282
|
-
- Updated dependencies
|
|
283
|
-
- Updated dependencies [5d9b483]
|
|
284
|
-
- Updated dependencies
|
|
285
|
-
- Updated dependencies [b2f4aa2]
|
|
286
|
-
- Updated dependencies [b2f4aa2]
|
|
287
|
-
- Updated dependencies [b2f4aa2]
|
|
288
|
-
- @larkup/core@0.5.0
|
|
289
|
-
|
|
290
|
-
## 0.1.25
|
|
291
|
-
|
|
292
|
-
### Patch Changes
|
|
293
|
-
|
|
294
|
-
- Updated dependencies [aa75e4b]
|
|
295
|
-
- @larkup/core@0.4.2
|
|
296
|
-
|
|
297
|
-
## 0.1.24
|
|
298
|
-
|
|
299
|
-
### Patch Changes
|
|
300
|
-
|
|
301
|
-
- @larkup/core@0.4.1
|
|
302
|
-
|
|
303
|
-
## 0.1.23
|
|
304
|
-
|
|
305
|
-
### Patch Changes
|
|
306
|
-
|
|
307
|
-
- Updated dependencies [07e35de]
|
|
308
|
-
- @larkup/core@0.4.0
|
|
309
|
-
|
|
310
|
-
## 0.1.22
|
|
311
|
-
|
|
312
|
-
### Patch Changes
|
|
313
|
-
|
|
314
|
-
- 57a3be9: Offer a one-click Video & Audio tool update when an older installation asks the user to install yt-dlp manually.
|
|
315
|
-
|
|
316
|
-
## 0.1.21
|
|
317
|
-
|
|
318
|
-
### Patch Changes
|
|
319
|
-
|
|
320
|
-
- 4398407: Automatically prepare the official yt-dlp executable for YouTube imports, removing the host installation requirement.
|
|
321
|
-
|
|
322
|
-
## 0.1.20
|
|
323
|
-
|
|
324
|
-
### Patch Changes
|
|
325
|
-
|
|
326
|
-
- 7601d83: Update Video & Audio from the Media page when an installed tool is stale, and prefer the newest marketplace catalog version so packaged ffmpeg helpers load correctly after installation.
|
|
327
|
-
|
|
328
|
-
## 0.1.19
|
|
329
|
-
|
|
330
|
-
### Patch Changes
|
|
331
|
-
|
|
332
|
-
- d7d293c: Make Chat retrieval-only, reliably parse PDFs in Next deployments, simplify website entry, and prevent stale Video & Audio metadata from requiring a host ffmpeg installation.
|
|
333
|
-
- Updated dependencies [d7d293c]
|
|
334
|
-
- @larkup/core@0.3.4
|
|
335
|
-
|
|
336
|
-
## 0.1.18
|
|
337
|
-
|
|
338
|
-
### Patch Changes
|
|
339
|
-
|
|
340
|
-
- 2d0d490: Improve AI Gateway rate-limit recovery and make video processing use bundled ffmpeg binaries without a system dependency.
|
|
341
|
-
- Updated dependencies [e40bbe8]
|
|
342
|
-
- @larkup/core@0.3.3
|
|
343
|
-
|
|
344
|
-
## 0.1.17
|
|
345
|
-
|
|
346
|
-
### Patch Changes
|
|
347
|
-
|
|
348
|
-
- aae57aa: Recover gracefully from embedding quota limits, improve Knowledge Base and visual-answer UX, and bundle video processing binaries so media tooling installs without a separate ffmpeg setup.
|
|
349
|
-
- Updated dependencies [aae57aa]
|
|
350
|
-
- @larkup/core@0.3.2
|
|
351
|
-
|
|
352
|
-
## 0.1.16
|
|
353
|
-
|
|
354
|
-
### Patch Changes
|
|
355
|
-
|
|
356
|
-
- 5da7a99: Replace deprecated fluent-ffmpeg with direct child_process.spawn calls. Eliminates npm deprecation warnings for fluent-ffmpeg and node-domexception. Increases auto-install timeout to 5min for large dependencies like ffmpeg.
|
|
357
|
-
|
|
358
|
-
## 0.1.15
|
|
359
|
-
|
|
360
|
-
### Patch Changes
|
|
361
|
-
|
|
362
|
-
- f23cba6: Auto-install missing system dependencies (e.g. ffmpeg) during tool installation using the platform package manager (brew on macOS, apt/dnf/pacman/apk on Linux). Falls back to actionable error messages with the exact install command when auto-install is not possible.
|
|
363
|
-
|
|
364
|
-
## 0.1.14
|
|
365
|
-
|
|
366
|
-
### Patch Changes
|
|
367
|
-
|
|
368
|
-
- @larkup/core@0.3.1
|
|
369
|
-
|
|
370
|
-
## 0.1.13
|
|
371
|
-
|
|
372
|
-
### Patch Changes
|
|
373
|
-
|
|
374
|
-
- Updated dependencies [02fbbba]
|
|
375
|
-
- @larkup/core@0.3.0
|
|
376
|
-
|
|
377
|
-
## 0.1.12
|
|
378
|
-
|
|
379
|
-
### Patch Changes
|
|
380
|
-
|
|
381
|
-
- Updated dependencies
|
|
382
|
-
- @larkup/core@0.2.6
|
|
383
|
-
|
|
384
|
-
## 0.1.11
|
|
385
|
-
|
|
386
|
-
### Patch Changes
|
|
387
|
-
|
|
388
|
-
- Updated dependencies [2a0a7e2]
|
|
389
|
-
- @larkup/core@0.2.5
|
|
390
|
-
|
|
391
|
-
## 0.1.10
|
|
392
|
-
|
|
393
|
-
### Patch Changes
|
|
394
|
-
|
|
395
|
-
- c1b12cb: Restore reliable no-Docker local crawler search with a resilient public-search fallback, make current-event chat questions use enabled web search, speed up first-party tool installation, and improve media URL progress handling. Simplify settings and prompt UX, and make failed-crawl URL copying reliable.
|
|
396
|
-
|
|
397
|
-
## 0.1.9
|
|
398
|
-
|
|
399
|
-
### Patch Changes
|
|
400
|
-
|
|
401
|
-
- 5ba20af: Make the local crawler work without Docker, make Marketplace installs opt-in and removable, and bound RAG retrieval tool loops and context growth.
|
|
402
|
-
|
|
403
|
-
## 0.1.8
|
|
404
|
-
|
|
405
|
-
### Patch Changes
|
|
406
|
-
|
|
407
|
-
- 592c637: Fix standalone startup and Docker runtime compatibility, make bundled marketplace tools ready immediately, and improve ingestion, chat retrieval, media preview, and analytics feedback.
|
|
408
|
-
|
|
409
|
-
## 0.1.7
|
|
410
|
-
|
|
411
|
-
### Patch Changes
|
|
412
|
-
|
|
413
|
-
- 197c629: fix: Docker compatibility, AI agent tool priority, and indexing reliability
|
|
414
|
-
|
|
415
|
-
- Fix yt-dlp "No supported JavaScript runtime" error in Docker by passing --js-runtimes nodejs:node
|
|
416
|
-
- Fix LanceDB "Found field not in schema: metadata" by always serializing metadata column
|
|
417
|
-
- Speed up Marketplace tool installs in Docker with --prefer-offline
|
|
418
|
-
- Enforce RAG-first tool priority: searchKnowledgeBase โ webSearch โ other tools
|
|
419
|
-
- Instruct AI to use presentMedia for image previews instead of raw markdown (fixes [Image unavailable])
|
|
420
|
-
- Strengthen webSearch tool description to enforce secondary priority
|
|
421
|
-
- @larkup/core@0.2.4
|
|
422
|
-
|
|
423
|
-
## 0.1.6
|
|
424
|
-
|
|
425
|
-
### Patch Changes
|
|
426
|
-
|
|
427
|
-
- Fix Docker data persistence, Marketplace installs, crawler readiness, and workspace-aware RAG retrieval.
|
|
428
|
-
- Updated dependencies
|
|
429
|
-
- @larkup/core@0.2.3
|
|
430
|
-
|
|
431
|
-
## 0.1.5
|
|
432
|
-
|
|
433
|
-
### Patch Changes
|
|
434
|
-
|
|
435
|
-
- 19767f8: Fix isolated Marketplace tool loading in Docker, improve Video & Audio setup guidance, and reliably index PDF images.
|
|
436
|
-
|
|
437
|
-
## 0.1.4
|
|
438
|
-
|
|
439
|
-
### Patch Changes
|
|
440
|
-
|
|
441
|
-
- c769d08: Retry marketplace installs against the latest published package when a stale catalog version is unavailable, and improve server and analytics UI behavior.
|
|
442
|
-
|
|
443
|
-
## 0.1.3
|
|
444
|
-
|
|
445
|
-
### Patch Changes
|
|
446
|
-
|
|
447
|
-
- Updated dependencies [6241db2]
|
|
448
|
-
- @larkup/core@0.2.2
|
|
449
|
-
|
|
450
|
-
## 0.1.2
|
|
451
|
-
|
|
452
|
-
### Patch Changes
|
|
453
|
-
|
|
454
|
-
- 08e7029: Fix LanceDB native-module loading in packaged Larkup installations, align marketplace catalog versions with published tools, and make clearing a knowledge base discoverable.
|
|
455
|
-
- @larkup/core@0.2.1
|
|
456
|
-
|
|
457
|
-
## 0.1.1
|
|
458
|
-
|
|
459
|
-
### Patch Changes
|
|
460
|
-
|
|
461
|
-
- 4e54939: feat: add doc-editor tool and canvas preview
|
|
462
|
-
- 8042a54: Index video and audio as multilingual timestamped evidence with adaptive sampling, complete-media notes, outcome-aware retrieval, and durable per-stage live progress.
|
|
463
|
-
- Updated dependencies [efc6810]
|
|
464
|
-
- Updated dependencies [5caaf2f]
|
|
465
|
-
- Updated dependencies [8042a54]
|
|
466
|
-
- Updated dependencies [843ef5c]
|
|
467
|
-
- Updated dependencies [b7bc6fe]
|
|
468
|
-
- @larkup/core@0.2.0
|
package/FUTURE_TODO.md
DELETED
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
# Future Optimizations & Roadmap
|
|
2
|
-
|
|
3
|
-
## Performance Optimizations
|
|
4
|
-
|
|
5
|
-
### Bull/Redis Worker Queue
|
|
6
|
-
The current media processing uses in-process `worker_threads`. For production-scale workloads (processing 10,000+ images or long video files simultaneously), consider migrating to Bull + Redis:
|
|
7
|
-
- **Bull** provides persistent job queues with retry, priority, and rate limiting
|
|
8
|
-
- **Redis** as the backing store enables multi-process workers
|
|
9
|
-
- Jobs can survive server restarts
|
|
10
|
-
- Dashboard UI via Bull Board
|
|
11
|
-
|
|
12
|
-
### Parallel Processing
|
|
13
|
-
- Process multiple media files in parallel with configurable concurrency
|
|
14
|
-
- Use sharp's pipeline mode for batch image thumbnailing
|
|
15
|
-
- Implement streaming upload for large video files
|
|
16
|
-
|
|
17
|
-
---
|
|
18
|
-
|
|
19
|
-
## Cloud Storage Providers
|
|
20
|
-
|
|
21
|
-
### S3 Provider
|
|
22
|
-
```typescript
|
|
23
|
-
class S3StorageProvider implements StorageProvider {
|
|
24
|
-
// Store files in S3 buckets
|
|
25
|
-
// Pre-signed URLs for secure serving
|
|
26
|
-
// Lifecycle policies for cost management
|
|
27
|
-
}
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
### UploadThing Provider
|
|
31
|
-
- Integrate with UploadThing for managed file uploads
|
|
32
|
-
- Automatic CDN distribution
|
|
33
|
-
|
|
34
|
-
### Google Cloud Storage
|
|
35
|
-
- GCS bucket integration
|
|
36
|
-
- Cloud CDN for low-latency serving
|
|
37
|
-
|
|
38
|
-
---
|
|
39
|
-
|
|
40
|
-
## Marketplace Subscription System
|
|
41
|
-
|
|
42
|
-
### Architecture
|
|
43
|
-
1. **Remote Registry API** (Larkup Hub):
|
|
44
|
-
- Hosted tool catalog with versioning
|
|
45
|
-
- Subscription validation via license keys
|
|
46
|
-
- Usage metering and billing integration
|
|
47
|
-
|
|
48
|
-
2. **Pricing Tiers**:
|
|
49
|
-
- `free`: Always available, no restrictions
|
|
50
|
-
- `pro`: Requires active subscription ($X/mo)
|
|
51
|
-
- `enterprise`: Custom pricing, SLA, priority support
|
|
52
|
-
|
|
53
|
-
3. **Implementation**:
|
|
54
|
-
- `ToolDescriptor.requiresSubscription` flag
|
|
55
|
-
- License key validation on install
|
|
56
|
-
- Periodic subscription status check
|
|
57
|
-
- Graceful degradation on expiry (tool still installed but disabled)
|
|
58
|
-
|
|
59
|
-
### Revenue Model Ideas
|
|
60
|
-
- Per-tool subscription (individual tool pricing)
|
|
61
|
-
- Bundle pricing (all pro tools for one price)
|
|
62
|
-
- Usage-based (pay per minute of video processed, per image captioned)
|
|
63
|
-
- Freemium with limits (e.g., 100 images free, then subscription)
|
|
64
|
-
|
|
65
|
-
---
|
|
66
|
-
|
|
67
|
-
## API Gateway / Proxy Server
|
|
68
|
-
|
|
69
|
-
### Purpose
|
|
70
|
-
A centralized API gateway to power the marketplace at scale. Currently all tracking is local; this service would enable:
|
|
71
|
-
- **Remote tool registry** โ serve tool manifests from a central catalog / CDN
|
|
72
|
-
- **Download/install count tracking** โ server-side counters (not local-only)
|
|
73
|
-
- **Pricing & subscription validation** โ free vs pro vs enterprise tier enforcement
|
|
74
|
-
- **License key verification** โ validate paid tools on install
|
|
75
|
-
- **Tool version checks** โ notify users of available updates
|
|
76
|
-
- **Rate limiting & abuse prevention** โ protect against malicious installs
|
|
77
|
-
- **Analytics** โ track tool popularity, usage patterns, error rates
|
|
78
|
-
|
|
79
|
-
### Possible Stack
|
|
80
|
-
- **Hono on Cloudflare Workers** (lightweight, edge-deployed)
|
|
81
|
-
- **Alternatively**: Express/Fastify on a VPS, or a serverless function (Vercel/AWS Lambda)
|
|
82
|
-
- **Storage**: Turso (SQLite) or Planetscale for tool metadata + download counts
|
|
83
|
-
- **CDN**: Serve tool icon images via Cloudflare R2 or S3
|
|
84
|
-
|
|
85
|
-
### Endpoints (Draft)
|
|
86
|
-
```
|
|
87
|
-
GET /v1/tools โ list all available tools
|
|
88
|
-
GET /v1/tools/:id โ get tool details + download count
|
|
89
|
-
POST /v1/tools/:id/install โ increment download counter
|
|
90
|
-
POST /v1/license/validate โ validate license key for paid tools
|
|
91
|
-
GET /v1/tools/:id/icon โ serve tool icon image from CDN
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
---
|
|
95
|
-
|
|
96
|
-
## CLIP/SigLIP Native Embeddings
|
|
97
|
-
|
|
98
|
-
### What It Enables
|
|
99
|
-
- Direct image-to-image similarity search
|
|
100
|
-
- Text-to-image search via shared embedding space
|
|
101
|
-
- No captioning needed for basic image retrieval
|
|
102
|
-
|
|
103
|
-
### Implementation Path
|
|
104
|
-
1. Integrate `open-clip-torch` or `@xenova/transformers` (JS)
|
|
105
|
-
2. Add CLIP vector dimension alongside text embeddings in vector store
|
|
106
|
-
3. Multi-vector index: text vectors + CLIP vectors
|
|
107
|
-
4. Hybrid search: combine text similarity + visual similarity scores
|
|
108
|
-
5. UI: drag-and-drop query image for visual search
|
|
109
|
-
|
|
110
|
-
### Estimated Model Sizes
|
|
111
|
-
- ViT-B/32: ~340MB
|
|
112
|
-
- ViT-L/14: ~900MB
|
|
113
|
-
- SigLIP ViT-B/16: ~360MB (recommended for accuracy/speed tradeoff)
|
|
114
|
-
|
|
115
|
-
---
|
|
116
|
-
|
|
117
|
-
## Additional Future Features
|
|
118
|
-
|
|
119
|
-
### Real-time Audio Transcription
|
|
120
|
-
- Stream microphone input directly to Whisper
|
|
121
|
-
- Live captioning and indexing during meetings/calls
|
|
122
|
-
|
|
123
|
-
### Video Scene Segmentation
|
|
124
|
-
- AI-powered scene boundary detection
|
|
125
|
-
- Automatic chapter markers
|
|
126
|
-
- Per-scene captioning instead of fixed-interval frames
|
|
127
|
-
|
|
128
|
-
### Batch Re-processing
|
|
129
|
-
- Re-caption all media when switching vision models
|
|
130
|
-
- Re-embed with different embedding model
|
|
131
|
-
- Bulk update metadata
|
package/tsconfig.json
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "ES2022",
|
|
4
|
-
"module": "ESNext",
|
|
5
|
-
"moduleResolution": "bundler",
|
|
6
|
-
"declaration": true,
|
|
7
|
-
"strict": true,
|
|
8
|
-
"types": ["node"],
|
|
9
|
-
"esModuleInterop": true,
|
|
10
|
-
"skipLibCheck": true,
|
|
11
|
-
"outDir": "dist",
|
|
12
|
-
"rootDir": "src"
|
|
13
|
-
},
|
|
14
|
-
"include": ["src"]
|
|
15
|
-
}
|
package/vitest.config.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from 'vitest/config';
|
|
2
|
-
|
|
3
|
-
export default defineConfig({
|
|
4
|
-
test: {
|
|
5
|
-
include: ['src/**/*.test.ts'],
|
|
6
|
-
// src/db/** requires a real Postgres connection and already has its own
|
|
7
|
-
// dedicated runner (`pnpm db:test`, db/vitest.config.ts) -- keep it out
|
|
8
|
-
// of the default `pnpm test` so this doesn't fail without a database.
|
|
9
|
-
exclude: ['node_modules/**', 'db/**', 'src/db/**'],
|
|
10
|
-
environment: 'node',
|
|
11
|
-
fileParallelism: false,
|
|
12
|
-
},
|
|
13
|
-
});
|