usegrunt 0.6.4 → 0.6.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -16,18 +16,20 @@ usegrunt installs grunt on this machine. It pools free AI quota and serves one l
16
16
 
17
17
  https://grunt.run. `milo` and `milo-local` remain aliases.
18
18
 
19
- Setup connects Trusty Squire and offers eight vetted free sources: Freebuff, OpenCode, Kilo, Zro, Token Harbor, Runcrate, APInex and Mistral Vibe Free. It connects up to three services at once, tests each, then connects your coding tools. Browser verification is queued when a provider needs you. Pi is optional.
19
+ Setup connects Trusty Squire and offers nine vetted free sources: Freebuff, OpenCode, Kilo, Zro, Token Harbor, Runcrate, APInex, Mistral Vibe Free and LiveKit. It connects up to three services at once, tests each, then connects your coding tools. Browser verification is queued when a provider needs you. Pi is optional.
20
20
 
21
21
  [Reference](https://github.com/bananaman614305/milo/blob/main/docs/reference.md).
22
22
 
23
23
  One grouped data-sharing approval covers the providers that require it, including Runcrate, APInex and Mistral Vibe Free. `usegrunt add <provider>` remains available for supported providers. Runcrate needs a GitHub account at least 30 days old; APInex needs a personal Gmail Google login and daily free check-in. Mistral uses its native Vibe Free coding allowance, not ordinary API credit. NVIDIA stays optional while account verification is unvetted; Cloudflare Qwen is excluded by choice. Existing `freellmapi` routes keep their Nemotron-first Kilo chain; the default `kilo` source selects `kilo-auto/free`. Repeat setup preserves previously connected API sources.
24
24
 
25
+ LiveKit adds DeepSeek V4.1 Flash through its free Build plan, using one free project and the official CLI's browser login. The documented included inference allowance is $2.50 per calendar month with a hard stop and no card. Keep the account on Build. LiveKit documents [zero data retention and no training for inference](https://docs.livekit.io/agents/models/inference/), so it adds no sharing approval; the existing seven policies remain unchanged. The route passed short-prompt, tool-call and 210,077-token context checks through Grunt.
26
+
25
27
  Within OpenCode, new conversations rotate across DeepSeek V4.1 Flash Free,
26
28
  GLM 5.3 Flash Free and Big Pickle. Follow-ups keep their model, and quota errors
27
29
  try another free model. These models may share provider limits; the pool does
28
30
  not create extra credit balances or purchase credits.
29
31
 
30
- Zro setup confirms the Free plan, no purchased usage balance and no payment method before connecting it. Keep that account free: Zro uses the same model ID on its paid plans, so changing the account outside grunt can change billing. Token Harbor uses its explicit `:free` model ID. Runcrate requires no paid balance, no card and automatic top-ups off; APInex uses only its `free/` route and never spends wallet funds; Mistral Vibe keeps pay-as-you-go off. Setup shows provider-specific data-sharing disclosures together and remembers approved policy versions in a private receipt. Declining or cancelling skips those providers and continues with Zro. Changed or newly added policies require another grouped approval. Background setup never prompts, and both signup and routing require the current receipt.
32
+ Zro setup confirms the Free plan, no purchased usage balance and no payment method before connecting it. Keep that account free: Zro uses the same model ID on its paid plans, so changing the account outside grunt can change billing. Token Harbor uses its explicit `:free` model ID. Runcrate requires no paid balance, no card and automatic top-ups off; APInex uses only its `free/` route and never spends wallet funds; Mistral Vibe keeps pay-as-you-go off. Setup shows provider-specific data-sharing disclosures together and remembers approved policy versions in a private receipt. Declining or cancelling skips those providers and continues with Zro and LiveKit, subject to their free-account checks. Changed or newly added policies require another grouped approval. Background setup never prompts, and both signup and routing require the current receipt where required.
31
33
 
32
34
  Kilo free models may log prompts or use them for training; avoid sensitive prompts. Their free limits are unknown. Kilo quota errors fall through FreeLLMAPI's fallback chain. Requests allow a long timeout for Nemotron reasoning.
33
35
 
@@ -269,6 +269,18 @@ export async function setupFallbacks(options) {
269
269
  options.notify('Mistral Vibe native free setup incomplete. Install uv or Python 3.12+ if missing, then rerun usegrunt setup; other routes remain available.');
270
270
  }
271
271
  },
272
+ livekit: async () => {
273
+ try {
274
+ await connect();
275
+ await (options.setupProvider ?? setup)(options.notify, ['livekit'], { squire: squire, directory: options.directory,
276
+ ...(options.signal ? { signal: options.signal } : {}) });
277
+ options.notify('LiveKit: native free Build DeepSeek V4.1 Flash access connected through Squire');
278
+ }
279
+ catch {
280
+ unavailable.push('livekit');
281
+ options.notify('LiveKit free Build signup or native CLI pairing incomplete. Rerun usegrunt setup; other routes remain available.');
282
+ }
283
+ },
272
284
  nvidia: async () => {
273
285
  try {
274
286
  await connect();
@@ -10,7 +10,8 @@ export const FREE_API_PROVIDERS = {
10
10
  amd: { model: 'DeepSeek-V4.1-Flash', prefix: '/radeon/api/v1' },
11
11
  tokenharbor: { model: 'deepseek-v4.1-flash:free', prefix: '/v1' },
12
12
  runcrate: { model: 'deepseek-ai/DeepSeek-V4.1-Flash', prefix: '/v1' },
13
- apinex: { model: 'free/deepseek-v4.1-flash', prefix: '/v1' }
13
+ apinex: { model: 'free/deepseek-v4.1-flash', prefix: '/v1' },
14
+ livekit: { model: 'deepseek-ai/deepseek-v4.1-flash', prefix: '/v1' }
14
15
  };
15
16
  // Official API metadata maps deepseek-flash to DeepSeek-V4.1-Flash:
16
17
  // https://api-docs.deepseek.com/api/list-models/ . Other aliases below are the
@@ -0,0 +1,269 @@
1
+ import { spawn, execFile } from 'node:child_process';
2
+ import { promisify } from 'node:util';
3
+ import { createHash, randomUUID } from 'node:crypto';
4
+ import { access, chmod, lstat, mkdir, mkdtemp, rename, rm, writeFile } from 'node:fs/promises';
5
+ import { constants } from 'node:fs';
6
+ import { homedir } from 'node:os';
7
+ import { join } from 'node:path';
8
+ import { LIVEKIT_CLI_VERSION, livekitPaths, livekitEnvironment, parseLiveKitProjects, readLiveKitFreeBuildReceipt, writeLiveKitFreeBuildReceipt } from './livekit.js';
9
+ const exec = promisify(execFile);
10
+ // Official v2.19.4 checksums.txt, pinned with the release rather than fetched as
11
+ // a mutable trust decision during installation.
12
+ const archives = {
13
+ darwin_amd64: '281c8db91cd83ead131e16c4f857db80a6cdbc59996584961ce7b0c6d34b2789',
14
+ darwin_arm64: '0732343947a08c1cb495bf7a5c4a0dab2cc2caecd1f67d9eba3fdf01ae3f2cee',
15
+ linux_amd64: 'cb0f769201faa13956a3999bee078ec63fd5f22b855a79c09d648283e50debae',
16
+ linux_arm64: '368b12e35fff71ff14867800f747da3714ec2a56b61b855d552c3d79ef4a9586'
17
+ };
18
+ const clean = (text) => text.replace(/\x1b\][^\x07]*(?:\x07|\x1b\\)/g, '').replace(/\x1b\[[0-?]*[ -/]*[@-~]/g, '').replaceAll('\r', '');
19
+ const quote = (text) => "'" + text.replaceAll("'", "'\\''") + "'";
20
+ async function privateDirectory(path) {
21
+ await mkdir(path, { recursive: true, mode: 0o700 });
22
+ const stat = await lstat(path);
23
+ if (!stat.isDirectory() || stat.isSymbolicLink() || stat.uid !== process.getuid?.() || (stat.mode & 0o777) !== 0o700)
24
+ throw new Error('LiveKit setup requires a private directory owned by this user with mode 0700');
25
+ }
26
+ async function nativeConfig(directory, missing = false) {
27
+ await privateDirectory(directory);
28
+ try {
29
+ const stat = await lstat(join(directory, 'cli-config.yaml'));
30
+ if (!stat.isFile() || stat.isSymbolicLink() || stat.uid !== process.getuid?.() || (stat.mode & 0o777) !== 0o600 || (!missing && stat.size === 0))
31
+ throw new Error('Unsafe LiveKit native CLI config; it must be owned by this user with mode 0600');
32
+ }
33
+ catch (error) {
34
+ if (!missing || error.code !== 'ENOENT')
35
+ throw error;
36
+ }
37
+ }
38
+ async function command(binary, args, cwd, signal) {
39
+ try {
40
+ return (await exec(binary, args, { cwd, env: livekitEnvironment(), signal, timeout: 30000, maxBuffer: 262144 })).stdout;
41
+ }
42
+ catch {
43
+ signal?.throwIfAborted();
44
+ throw new Error('LiveKit native CLI command failed; rerun usegrunt setup');
45
+ }
46
+ }
47
+ export async function installLiveKit(directory, options = {}) {
48
+ const platform = options.platform ?? process.platform;
49
+ const arch = (options.arch ?? process.arch) === 'x64' ? 'amd64' : options.arch ?? process.arch;
50
+ const checksum = archives[`${platform}_${arch}`];
51
+ if (!checksum)
52
+ throw new Error('LiveKit automatic installation supports Linux and macOS on x64 or arm64');
53
+ const paths = livekitPaths(directory);
54
+ await privateDirectory(paths.home);
55
+ const bin = join(paths.home, 'bin');
56
+ await privateDirectory(bin);
57
+ const work = join(paths.home, 'work');
58
+ await privateDirectory(work);
59
+ try {
60
+ const stat = await lstat(paths.binary);
61
+ if (!stat.isFile() || stat.isSymbolicLink() || stat.uid !== process.getuid?.() || (stat.mode & 0o077))
62
+ throw new Error('unsafe');
63
+ await access(paths.binary, constants.X_OK);
64
+ if (clean(await command(paths.binary, ['--version'], work, options.signal)).trim() === `lk version ${LIVEKIT_CLI_VERSION}`)
65
+ return paths.binary;
66
+ }
67
+ catch {
68
+ options.signal?.throwIfAborted();
69
+ }
70
+ const temporary = await mkdtemp(join(paths.home, '.install-'));
71
+ try {
72
+ const name = `lk_${LIVEKIT_CLI_VERSION}_${platform}_${arch}.tar.gz`;
73
+ const response = await (options.fetcher ?? fetch)(`https://github.com/livekit/livekit-cli/releases/download/v${LIVEKIT_CLI_VERSION}/${name}`, { signal: options.signal ? AbortSignal.any([options.signal, AbortSignal.timeout(120000)]) : AbortSignal.timeout(120000), redirect: 'follow' });
74
+ if (!response.ok || Number(response.headers.get('content-length')) > 100 * 1024 * 1024)
75
+ throw new Error('LiveKit release download failed');
76
+ const archive = Buffer.from(await response.arrayBuffer());
77
+ if (archive.length > 100 * 1024 * 1024 || createHash('sha256').update(archive).digest('hex') !== checksum)
78
+ throw new Error('LiveKit release checksum did not match the pinned official release');
79
+ const path = join(temporary, 'release.tar.gz');
80
+ await writeFile(path, archive, { mode: 0o600, flag: 'wx' });
81
+ await command('tar', ['-xzf', path, '-C', temporary, 'lk'], work, options.signal);
82
+ const binary = join(temporary, 'lk');
83
+ const stat = await lstat(binary);
84
+ if (!stat.isFile() || stat.isSymbolicLink() || stat.uid !== process.getuid?.())
85
+ throw new Error('Invalid LiveKit release binary');
86
+ await chmod(binary, 0o700);
87
+ if (clean(await command(binary, ['--version'], work, options.signal)).trim() !== `lk version ${LIVEKIT_CLI_VERSION}`)
88
+ throw new Error('LiveKit release version did not match');
89
+ await rename(binary, paths.binary);
90
+ return paths.binary;
91
+ }
92
+ finally {
93
+ await rm(temporary, { recursive: true, force: true });
94
+ }
95
+ }
96
+ async function awaitBrowser(promise, signal, message) {
97
+ let aborted;
98
+ try {
99
+ await Promise.race([promise, new Promise((_resolve, reject) => {
100
+ aborted = () => reject(new Error(message));
101
+ signal.addEventListener('abort', aborted, { once: true });
102
+ if (signal.aborted)
103
+ aborted();
104
+ })]);
105
+ }
106
+ catch {
107
+ throw new Error(message);
108
+ }
109
+ finally {
110
+ if (aborted)
111
+ signal.removeEventListener('abort', aborted);
112
+ }
113
+ }
114
+ async function verifyAccount(options) {
115
+ const deadline = new AbortController();
116
+ const timeout = setTimeout(() => deadline.abort(), 600000);
117
+ const signal = options.signal ? AbortSignal.any([options.signal, deadline.signal]) : deadline.signal;
118
+ try {
119
+ await awaitBrowser(Promise.resolve().then(() => options.squire.signup('livekit', 'https://cloud.livekit.io', 'Use the personal Google identity already connected to Squire to sign up for LiveKit Cloud, or reuse its existing account. Verify the Build free plan, $2.50 monthly inference credit with a hard stop, no payment method, purchased credits, paid subscription or automatic top-ups. Reuse the owned empty grunt-free project, or create that one ordinary empty free project if absent. Turn off optional Agent observability on this owned grunt-free project, leaving unrelated projects unchanged. Do not create rooms, deploy agents, enable hosting or billing, buy credits, inspect API secrets, switch accounts or alter other projects. If the account has any paid plan, payment method, paid credits or automatic billing, stop without changing it. Finish only after verifying the free project and its billing state; native CLI pairing follows separately if needed. Required human verification needs browser handoff; stop on refusal.')), signal, 'LiveKit free Build account verification did not complete; rerun usegrunt setup');
120
+ }
121
+ finally {
122
+ clearTimeout(timeout);
123
+ }
124
+ }
125
+ async function verifyProject(binary, selector, work, signal) {
126
+ // This signs locally through the official CLI and performs no inference.
127
+ // The short-lived token remains backend-only and is discarded immediately.
128
+ const token = (await command(binary, ['--project', selector, '--config', join(work, 'livekit.toml'), 'token', 'create', '--inference', '--token-only', '--valid-for', '10m', '--identity', 'agent'], work, signal)).trim();
129
+ if (!/^[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+$/.test(token) || token.length > 16384)
130
+ throw new Error('LiveKit native project authentication is unavailable; rerun usegrunt setup');
131
+ }
132
+ async function authenticate(binary, options, work) {
133
+ // pkg/browser ignores BROWSER and directly executes these platform openers.
134
+ // Suppress only that unmanaged launch; Squire visits the real pairing URL.
135
+ const openers = await mkdtemp(join(livekitPaths(options.directory).home, '.openers-'));
136
+ for (const name of ['open', 'xdg-open', 'x-www-browser', 'www-browser'])
137
+ await writeFile(join(openers, name), '#!/bin/sh\nexit 0\n', { mode: 0o700, flag: 'wx' });
138
+ const shell = `stty rows 40 cols 120 && exec ${quote(binary)} --config ${quote(join(work, 'livekit.toml'))} cloud auth --timeout 600`;
139
+ const args = process.platform === 'darwin' ? ['-q', '/dev/null', '/bin/sh', '-c', shell] : ['-qefc', shell, '/dev/null'];
140
+ const child = spawn('script', args, { cwd: work, env: { ...livekitEnvironment(), PATH: `${openers}:${process.env.PATH ?? '/usr/bin:/bin'}`, TERM: 'xterm-256color', NO_COLOR: '1', LK_NO_SKILLS_PROMPT: '1' }, stdio: ['pipe', 'pipe', 'pipe'], detached: process.platform !== 'win32' });
141
+ let buffer = '', failure, paired = false;
142
+ let pairing;
143
+ const answered = new Set();
144
+ let force;
145
+ const timeoutController = new AbortController();
146
+ const signal = options.signal ? AbortSignal.any([options.signal, timeoutController.signal]) : timeoutController.signal;
147
+ const stop = (hard = false) => { try {
148
+ if (child.pid)
149
+ process.kill(-child.pid, hard ? 'SIGKILL' : 'SIGTERM');
150
+ }
151
+ catch { /* Owned process already exited. */ } };
152
+ const abort = () => { stop(); force ??= setTimeout(() => stop(true), 1000); force.unref(); };
153
+ const deadline = setTimeout(() => { failure = new Error('LiveKit native login timed out; rerun usegrunt setup'); timeoutController.abort(); }, 600000);
154
+ signal.addEventListener('abort', abort, { once: true });
155
+ const read = (chunk) => {
156
+ buffer = (buffer + chunk.toString()).slice(-65536);
157
+ const text = clean(buffer);
158
+ const answer = (key, value) => { if (!answered.has(key)) {
159
+ answered.add(key);
160
+ child.stdin.write(value);
161
+ } };
162
+ if (/install livekit.*skills|install.*coding agent.*skills/i.test(text))
163
+ answer('skills', 'n\n');
164
+ if (/what is the name of this device\?/i.test(text))
165
+ answer('device', '\x15grunt\n');
166
+ if (/make this project default\?/i.test(text))
167
+ answer('default', 'n\n');
168
+ if (/choose a different alias/i.test(text))
169
+ answer('alias', `\x15grunt-free-${randomUUID().slice(0, 8)}\n`);
170
+ const match = text.match(/https:\/\/cloud\.livekit\.io\/cli\/confirm-auth\?[^\s\x1b]+/);
171
+ if (match && !paired) {
172
+ const url = new URL(match[0]);
173
+ if (!url.searchParams.get('t') || url.username || url.password || url.hash) {
174
+ failure = new Error('LiveKit returned an invalid native pairing URL');
175
+ abort();
176
+ return;
177
+ }
178
+ paired = true;
179
+ pairing = awaitBrowser(Promise.resolve().then(() => options.squire.signup('livekit', url.href, 'Approve only the LiveKit native CLI pairing started by Grunt. Select exactly the owned grunt-free project just verified on the Build free plan. Do not select another existing or paid project. Keep the $2.50 monthly inference hard stop and no payment method, paid credits or automatic billing. Never view, copy or reveal an API secret. Do not enable agent hosting, create rooms, buy credits, change another project, or switch accounts. Report any human verification for browser handoff; stop on refusal.')), signal, 'LiveKit browser pairing did not complete; rerun usegrunt setup');
180
+ void pairing.catch(() => { failure = new Error('LiveKit browser pairing did not complete; rerun usegrunt setup'); abort(); });
181
+ }
182
+ };
183
+ child.stdout.on('data', read);
184
+ child.stderr.on('data', read);
185
+ if (signal.aborted)
186
+ abort();
187
+ try {
188
+ const code = await new Promise((resolve, reject) => { child.once('error', () => reject(new Error('LiveKit native login requires the standard script PTY utility'))); child.once('close', resolve); });
189
+ if (signal.aborted)
190
+ throw new Error('LiveKit native login was cancelled or timed out; rerun usegrunt setup');
191
+ if (failure || code !== 0 || !paired)
192
+ throw failure ?? new Error('LiveKit native login did not complete');
193
+ await pairing;
194
+ }
195
+ finally {
196
+ clearTimeout(deadline);
197
+ if (force)
198
+ clearTimeout(force);
199
+ signal.removeEventListener('abort', abort);
200
+ stop(true);
201
+ child.stdin.destroy();
202
+ await rm(openers, { recursive: true, force: true });
203
+ }
204
+ }
205
+ export async function setupLiveKit(options) {
206
+ options.signal?.throwIfAborted();
207
+ const binary = await (options.install ?? installLiveKit)(options.directory, options.signal ? { signal: options.signal } : {});
208
+ const paths = livekitPaths(options.directory);
209
+ const work = await mkdtemp(join(paths.home, '.setup-work-'));
210
+ try {
211
+ await writeFile(join(work, 'livekit.toml'), '', { mode: 0o600, flag: 'wx' });
212
+ const native = options.nativeDirectory ?? join(homedir(), '.livekit');
213
+ await nativeConfig(native, true);
214
+ const before = parseLiveKitProjects(await command(binary, ['--config', join(work, 'livekit.toml'), 'project', 'list'], work, options.signal));
215
+ try {
216
+ const receipt = await readLiveKitFreeBuildReceipt(options.directory);
217
+ if (before.some(project => project.selector === receipt.projectSelector && project.id === receipt.projectId && project.url === receipt.projectURL)) {
218
+ await nativeConfig(native);
219
+ await verifyProject(binary, receipt.projectSelector, work, options.signal);
220
+ return;
221
+ }
222
+ }
223
+ catch {
224
+ options.signal?.throwIfAborted();
225
+ }
226
+ // A fresh browser check replaces any previous billing approval immediately.
227
+ await rm(paths.receipt, { force: true });
228
+ await verifyAccount(options);
229
+ const existing = before.filter(project => /^wss:\/\/grunt-free-[a-z0-9-]+\.livekit\.cloud$/.test(project.url));
230
+ if (existing.length && existing.some(project => project.id !== existing[0].id || project.url !== existing[0].url))
231
+ throw new Error('Multiple LiveKit grunt-free projects need an explicit selection before setup can continue');
232
+ if (existing.length) {
233
+ const project = existing[0];
234
+ let usable = false;
235
+ try {
236
+ await verifyProject(binary, project.selector, work, options.signal);
237
+ usable = true;
238
+ }
239
+ catch {
240
+ options.signal?.throwIfAborted();
241
+ }
242
+ if (usable) {
243
+ await writeLiveKitFreeBuildReceipt(options.directory, { version: 1, plan: 'Build', payAsYouGo: false, paymentMethodPresent: false, purchasedCredits: 0, projectSelector: project.selector, projectId: project.id, projectURL: project.url, checkedAt: new Date().toISOString() });
244
+ options.notify?.('LiveKit: verified free Build project reused with its existing native login');
245
+ return;
246
+ }
247
+ }
248
+ await authenticate(binary, options, work);
249
+ await nativeConfig(native);
250
+ const after = parseLiveKitProjects(await command(binary, ['--config', join(work, 'livekit.toml'), 'project', 'list'], work, options.signal));
251
+ const oldDefault = before.find(project => project.default);
252
+ if (oldDefault && after.find(project => project.default)?.selector !== oldDefault.selector)
253
+ throw new Error('LiveKit CLI changed the previous default project; restore it before rerunning setup');
254
+ if (before.some(old => !after.some(project => project.selector === old.selector && project.id === old.id && project.url === old.url)))
255
+ throw new Error('LiveKit CLI changed an existing project profile; setup stopped');
256
+ const added = after.filter(project => !before.some(old => old.selector === project.selector));
257
+ if (added.length !== 1)
258
+ throw new Error('LiveKit native login did not identify exactly one newly authorized free project');
259
+ const project = added[0];
260
+ if (!/^wss:\/\/grunt-free-[a-z0-9-]+\.livekit\.cloud$/.test(project.url))
261
+ throw new Error('LiveKit authorized a different project than the verified grunt-free project');
262
+ await verifyProject(binary, project.selector, work, options.signal);
263
+ await writeLiveKitFreeBuildReceipt(options.directory, { version: 1, plan: 'Build', payAsYouGo: false, paymentMethodPresent: false, purchasedCredits: 0, projectSelector: project.selector, projectId: project.id, projectURL: project.url, checkedAt: new Date().toISOString() });
264
+ options.notify?.('LiveKit: native free Build project connected for DeepSeek V4.1 Flash');
265
+ }
266
+ finally {
267
+ await rm(work, { recursive: true, force: true });
268
+ }
269
+ }
@@ -0,0 +1,219 @@
1
+ import { execFile } from 'node:child_process';
2
+ import { constants } from 'node:fs';
3
+ import { access, lstat, mkdir, mkdtemp, open, rename, rm, writeFile } from 'node:fs/promises';
4
+ import { randomUUID } from 'node:crypto';
5
+ import { homedir } from 'node:os';
6
+ import { join, resolve } from 'node:path';
7
+ import { FreeApi } from './free-api.js';
8
+ import { verifiedDeepSeekFetch } from './deepseek-response.js';
9
+ import { SourceError } from './source.js';
10
+ export const LIVEKIT_CLI_VERSION = '2.19.4';
11
+ export const LIVEKIT_DEEPSEEK = 'deepseek-ai/deepseek-v4.1-flash';
12
+ export const LIVEKIT_GATEWAY = 'https://agent-gateway.livekit.cloud';
13
+ export const LIVEKIT_RECEIPT_MAX_AGE_MS = 30 * 86400000;
14
+ const configDirectory = () => process.env.MILO_CONFIG_DIR || join(process.env.XDG_CONFIG_HOME || join(homedir(), '.config'), 'milo');
15
+ export function livekitPaths(directory = configDirectory(), nativeDirectory = join(homedir(), '.livekit')) {
16
+ const home = resolve(directory, 'livekit');
17
+ return { home, binary: join(home, 'bin', process.platform === 'win32' ? 'lk.exe' : 'lk'),
18
+ work: join(home, 'work'), receipt: join(home, 'free-build.json'), nativeHome: nativeDirectory, nativeConfig: join(nativeDirectory, 'cli-config.yaml') };
19
+ }
20
+ // A shell's LiveKit credentials or project must not override the native project
21
+ // chosen in the verified receipt. Keep HOME unchanged for standard CLI auth.
22
+ export function livekitEnvironment() {
23
+ return Object.fromEntries(Object.entries(process.env).filter(([key]) => !/^(?:livekit_|lk_)/i.test(key)));
24
+ }
25
+ // The official CLI's normal table includes an API-key column. Project only
26
+ // public identity metadata and never use its secret-bearing JSON output.
27
+ export function parseLiveKitProjects(output) {
28
+ const result = [];
29
+ const clean = output.replace(/\x1b\][^\x07]*(?:\x07|\x1b\\)/g, '').replace(/\x1b\[[0-?]*[ -/]*[@-~]/g, '').replaceAll('\r', '');
30
+ for (const line of clean.split('\n')) {
31
+ const columns = line.split(/[│┃|]/).map(value => value.trim()).filter(Boolean);
32
+ if (columns.length < 4)
33
+ continue;
34
+ const [label, id, url] = columns;
35
+ if (!label || !id || !url || !/^wss:\/\/[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.livekit\.cloud\/?$/i.test(url))
36
+ continue;
37
+ const selector = label.replace(/^\*\s*/, '');
38
+ if (!/^[A-Za-z0-9][A-Za-z0-9 _.-]{0,127}$/.test(selector) || !/^[A-Za-z0-9][A-Za-z0-9_-]{0,127}$/.test(id))
39
+ continue;
40
+ result.push({ selector, id, url: new URL(url).origin, default: label.startsWith('*') });
41
+ }
42
+ return result;
43
+ }
44
+ function validateReceipt(value) {
45
+ const receipt = value;
46
+ const checked = typeof receipt?.checkedAt === 'string' ? Date.parse(receipt.checkedAt) : NaN;
47
+ let url;
48
+ try {
49
+ url = new URL(typeof receipt?.projectURL === 'string' ? receipt.projectURL : '');
50
+ }
51
+ catch {
52
+ throw new SourceError('logged_out', 'LiveKit Free Build project verification is missing or expired; rerun usegrunt setup');
53
+ }
54
+ if (!receipt || receipt.version !== 1 || receipt.plan !== 'Build' || receipt.payAsYouGo !== false || receipt.paymentMethodPresent !== false || receipt.purchasedCredits !== 0
55
+ || typeof receipt.projectSelector !== 'string' || !/^[A-Za-z0-9][A-Za-z0-9 _.-]{0,127}$/.test(receipt.projectSelector)
56
+ || typeof receipt.projectId !== 'string' || !/^[A-Za-z0-9][A-Za-z0-9_-]{0,127}$/.test(receipt.projectId)
57
+ || url.protocol !== 'wss:' || !/^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.livekit\.cloud$/.test(url.hostname)
58
+ || url.username || url.password || url.port || url.search || url.hash || url.pathname !== '/'
59
+ || !Number.isFinite(checked) || checked > Date.now() + 60000 || Date.now() - checked > LIVEKIT_RECEIPT_MAX_AGE_MS) {
60
+ throw new SourceError('logged_out', 'LiveKit Free Build project verification is missing or expired; rerun usegrunt setup');
61
+ }
62
+ return { version: 1, plan: 'Build', payAsYouGo: false, paymentMethodPresent: false, purchasedCredits: 0,
63
+ projectSelector: receipt.projectSelector, projectId: receipt.projectId, projectURL: url.origin, checkedAt: receipt.checkedAt };
64
+ }
65
+ async function privateDirectory(path, create = false) {
66
+ if (create)
67
+ await mkdir(path, { recursive: true, mode: 0o700 });
68
+ const stat = await lstat(path);
69
+ if (!stat.isDirectory() || stat.isSymbolicLink() || stat.uid !== process.getuid?.() || (stat.mode & 0o777) !== 0o700) {
70
+ throw new SourceError('logged_out', 'Unsafe LiveKit private directory; rerun usegrunt setup');
71
+ }
72
+ }
73
+ export async function readLiveKitFreeBuildReceipt(directory = configDirectory()) {
74
+ await privateDirectory(livekitPaths(directory).home);
75
+ const file = await open(livekitPaths(directory).receipt, constants.O_RDONLY | constants.O_NOFOLLOW);
76
+ try {
77
+ const stat = await file.stat();
78
+ if (!stat.isFile() || stat.uid !== process.getuid?.() || (stat.mode & 0o777) !== 0o600 || stat.size > 4096)
79
+ throw new SourceError('logged_out', 'Unsafe LiveKit Free Build receipt; rerun usegrunt setup');
80
+ return validateReceipt(JSON.parse(await file.readFile('utf8')));
81
+ }
82
+ finally {
83
+ await file.close();
84
+ }
85
+ }
86
+ // Setup supplies these public metadata and billing facts only after an actual
87
+ // browser check. The receipt never contains the CLI-owned API key or secret.
88
+ export async function writeLiveKitFreeBuildReceipt(directory, receipt) {
89
+ const value = validateReceipt(receipt), paths = livekitPaths(directory), temporary = join(paths.home, `.free-build-${randomUUID()}.tmp`);
90
+ await privateDirectory(paths.home, true);
91
+ try {
92
+ await writeFile(temporary, JSON.stringify(value), { mode: 0o600, flag: 'wx' });
93
+ await rename(temporary, paths.receipt);
94
+ }
95
+ finally {
96
+ await rm(temporary, { force: true });
97
+ }
98
+ }
99
+ // Inspect metadata only. The official CLI remains the only code reading its
100
+ // native API keys and signing its short-lived inference token.
101
+ export async function validateLiveKitNativeConfig(nativeDirectory = join(homedir(), '.livekit')) {
102
+ const home = await lstat(nativeDirectory), auth = await lstat(join(nativeDirectory, 'cli-config.yaml'));
103
+ if (!home.isDirectory() || home.isSymbolicLink() || home.uid !== process.getuid?.() || (home.mode & 0o777) !== 0o700
104
+ || !auth.isFile() || auth.isSymbolicLink() || auth.uid !== process.getuid?.() || (auth.mode & 0o777) !== 0o600 || auth.size === 0) {
105
+ throw new SourceError('logged_out', 'Unsafe LiveKit native login; rerun usegrunt setup');
106
+ }
107
+ }
108
+ async function cliOutput(binary, args, cwd, signal, maxBuffer) {
109
+ signal.throwIfAborted();
110
+ const deadline = AbortSignal.timeout(10000), tokenSignal = AbortSignal.any([signal, deadline]);
111
+ return await new Promise((resolveOutput, reject) => {
112
+ const child = execFile(binary, args, { cwd, env: livekitEnvironment(), encoding: 'utf8', signal: tokenSignal, killSignal: 'SIGKILL', maxBuffer, windowsHide: true }, (error, stdout) => {
113
+ if (error) {
114
+ reject(new SourceError(signal.aborted ? 'cancelled' : deadline.aborted ? 'timeout' : 'logged_out', 'LiveKit native CLI command failed; rerun usegrunt setup'));
115
+ return;
116
+ }
117
+ resolveOutput(stdout);
118
+ });
119
+ child.stdin?.end();
120
+ });
121
+ }
122
+ async function inferenceToken(binary, receipt, cwd, signal) {
123
+ const config = join(cwd, 'livekit.toml');
124
+ const output = await cliOutput(binary, ['--config', config, 'project', 'list'], cwd, signal, 262144);
125
+ const selected = parseLiveKitProjects(output).filter(project => project.selector === receipt.projectSelector);
126
+ if (selected.length !== 1 || selected[0].id !== receipt.projectId || selected[0].url !== receipt.projectURL) {
127
+ throw new SourceError('logged_out', 'LiveKit native project differs from its verified free Build project; rerun usegrunt setup');
128
+ }
129
+ const token = (await cliOutput(binary, ['--project', receipt.projectSelector, '--config', config, 'token', 'create',
130
+ '--inference', '--token-only', '--valid-for', '10m', '--identity', 'agent'], cwd, signal, 32768)).trim();
131
+ if (!/^[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+$/.test(token) || token.length > 16384) {
132
+ throw new SourceError('logged_out', 'LiveKit CLI returned no inference token; rerun usegrunt setup');
133
+ }
134
+ return token;
135
+ }
136
+ export class LiveKit {
137
+ options;
138
+ id = 'livekit';
139
+ supportsFunctionTools = true;
140
+ shutdown = new AbortController();
141
+ pending = new Set();
142
+ constructor(options = {}) {
143
+ this.options = options;
144
+ }
145
+ async ready() {
146
+ const paths = livekitPaths(this.options.directory, this.options.nativeDirectory);
147
+ try {
148
+ const receipt = await readLiveKitFreeBuildReceipt(this.options.directory);
149
+ await validateLiveKitNativeConfig(paths.nativeHome);
150
+ await access(this.options.binary ?? paths.binary, constants.X_OK);
151
+ return { paths, receipt };
152
+ }
153
+ catch (error) {
154
+ if (error instanceof SourceError)
155
+ throw error;
156
+ throw new SourceError('logged_out', 'LiveKit native Free Build login is unavailable; rerun usegrunt setup');
157
+ }
158
+ }
159
+ async available() { try {
160
+ await this.ready();
161
+ return !this.shutdown.signal.aborted;
162
+ }
163
+ catch {
164
+ return false;
165
+ } }
166
+ async healthCheck() { return this.available(); }
167
+ async complete(request, caller) {
168
+ caller.throwIfAborted();
169
+ const task = this.completeOnce(request, caller);
170
+ this.pending.add(task);
171
+ try {
172
+ return await task;
173
+ }
174
+ finally {
175
+ this.pending.delete(task);
176
+ }
177
+ }
178
+ async completeOnce(request, caller) {
179
+ const signal = AbortSignal.any([caller, this.shutdown.signal, AbortSignal.timeout(this.options.timeout ?? 180000)]);
180
+ let temporary;
181
+ try {
182
+ signal.throwIfAborted();
183
+ if (request.imageInput)
184
+ throw new SourceError('upstream', 'LiveKit requires text input');
185
+ if (request.tools.some(tool => tool.type !== 'function'))
186
+ throw new SourceError('upstream', 'LiveKit requires function tools');
187
+ const { paths, receipt } = await this.ready();
188
+ signal.throwIfAborted();
189
+ await privateDirectory(paths.work, true);
190
+ temporary = await mkdtemp(join(paths.work, '.token-'));
191
+ await writeFile(join(temporary, 'livekit.toml'), '', { mode: 0o600, flag: 'wx' });
192
+ const token = await inferenceToken(this.options.binary ?? paths.binary, receipt, temporary, signal);
193
+ signal.throwIfAborted();
194
+ const source = new FreeApi('livekit', { fetcher: verifiedDeepSeekFetch(this.options.fetcher), timeout: this.options.timeout ?? 180000,
195
+ loadGrant: async () => ({ base_url: LIVEKIT_GATEWAY, token }) });
196
+ try {
197
+ return await source.complete({ ...request, model: this.id }, signal);
198
+ }
199
+ finally {
200
+ await source.close();
201
+ }
202
+ }
203
+ catch (error) {
204
+ caller.throwIfAborted();
205
+ if (this.shutdown.signal.aborted)
206
+ throw new SourceError('cancelled', 'LiveKit request cancelled during shutdown');
207
+ if (signal.aborted)
208
+ throw new SourceError('timeout', 'LiveKit request timed out');
209
+ if (error instanceof SourceError)
210
+ throw error;
211
+ throw new SourceError('upstream', 'LiveKit request failed; rerun usegrunt setup');
212
+ }
213
+ finally {
214
+ if (temporary)
215
+ await rm(temporary, { recursive: true, force: true });
216
+ }
217
+ }
218
+ async close() { this.shutdown.abort(); await Promise.allSettled([...this.pending]); }
219
+ }
@@ -14,6 +14,7 @@ import { TokenHarbor } from './tokenharbor.js';
14
14
  import { Runcrate } from './runcrate.js';
15
15
  import { Apinex } from './apinex.js';
16
16
  import { MistralVibe } from './mistral-vibe.js';
17
+ import { LiveKit } from './livekit.js';
17
18
  import { RegistrySource } from './registry-source.js';
18
19
  import { ManagedRouter } from './managed-router.js';
19
20
  import { ConsentSource } from './consent-source.js';
@@ -50,7 +51,7 @@ export function configure(env = process.env, registry = () => bundledRegistry) {
50
51
  // default while retaining explicit environment and custom-model overrides.
51
52
  return adapter?.models ?? (adapter?.model && adapter.model !== 'big-pickle' ? [adapter.model] : DEFAULT_OPENCODE_MODELS);
52
53
  };
53
- const registered = [dots, new Codex(env.MILO_CODEX_MODEL ? { model: env.MILO_CODEX_MODEL } : {}), new ManagedRouter(new FreeLLMAPI(connection), url, configDir(env)), new FreeLLMAPI({ ...connection, id: 'kilo', model: 'kilo-auto/free' }), new Nvidia({ directory: configDir(env) }), new Zro({ directory: configDir(env) }), new TokenHarbor({ directory: configDir(env) }), new Runcrate({ directory: configDir(env) }), new Apinex({ directory: configDir(env) }), new MistralVibe({ directory: configDir(env) }), new OpenCode({ models: opencodeModels, ...(env.MILO_OPENCODE_URL ? { url: env.MILO_OPENCODE_URL } : {}) }), new Freebuff({ toolBridge: env.MILO_FREEBUFF_JSON_BRIDGE === '1' })];
54
+ const registered = [dots, new Codex(env.MILO_CODEX_MODEL ? { model: env.MILO_CODEX_MODEL } : {}), new ManagedRouter(new FreeLLMAPI(connection), url, configDir(env)), new FreeLLMAPI({ ...connection, id: 'kilo', model: 'kilo-auto/free' }), new Nvidia({ directory: configDir(env) }), new Zro({ directory: configDir(env) }), new TokenHarbor({ directory: configDir(env) }), new Runcrate({ directory: configDir(env) }), new Apinex({ directory: configDir(env) }), new MistralVibe({ directory: configDir(env) }), new LiveKit({ directory: configDir(env) }), new OpenCode({ models: opencodeModels, ...(env.MILO_OPENCODE_URL ? { url: env.MILO_OPENCODE_URL } : {}) }), new Freebuff({ toolBridge: env.MILO_FREEBUFF_JSON_BRIDGE === '1' })];
54
55
  const ids = env.MILO_SOURCES?.split(',').map(id => id.trim()) ?? registry().adapters.filter(adapter => knownAdapters.has(adapter.id)).map(adapter => adapter.id);
55
56
  const routing = ids.every(id => knownAdapters.has(id)) ? { registry } : undefined;
56
57
  return new Sources(ids.map(id => {
@@ -21,10 +21,11 @@ import { TokenHarbor, writeTokenHarborGrant } from './tokenharbor.js';
21
21
  import { Runcrate, writeRuncrateGrant } from './runcrate.js';
22
22
  import { Apinex, writeApinexGrant } from './apinex.js';
23
23
  import { setupMistralVibe } from './mistral-vibe-setup.js';
24
+ import { setupLiveKit } from './livekit-setup.js';
24
25
  import { DATA_SHARING_POLICIES, dataSharingPolicies, readDataSharingConsent } from './data-sharing.js';
25
26
  const exec = promisify(execFile);
26
27
  export const FREELLMAPI_IMAGE = 'ghcr.io/tashfeenahmed/freellmapi@sha256:845a4b568a20fffd5112e1b9c0258e7782d9eabbba2430612d2f7c811eee267e';
27
- export const PROVIDERS = { groq: 'https://console.groq.com/keys', cerebras: 'https://cloud.cerebras.ai/platform/api-keys', kilo: 'https://app.kilo.ai/profile', nvidia: 'https://build.nvidia.com/settings/api-keys', zro: 'https://zro.moonmath.ai/overview', tokenharbor: 'https://tokenharbor.ai/dashboard', runcrate: 'https://www.runcrate.ai/auth/signup', apinex: 'https://apinex.bond/register', 'mistral-vibe': 'https://console.mistral.ai' };
28
+ export const PROVIDERS = { groq: 'https://console.groq.com/keys', cerebras: 'https://cloud.cerebras.ai/platform/api-keys', kilo: 'https://app.kilo.ai/profile', nvidia: 'https://build.nvidia.com/settings/api-keys', zro: 'https://zro.moonmath.ai/overview', tokenharbor: 'https://tokenharbor.ai/dashboard', runcrate: 'https://www.runcrate.ai/auth/signup', apinex: 'https://apinex.bond/register', 'mistral-vibe': 'https://console.mistral.ai', livekit: 'https://cloud.livekit.io' };
28
29
  const freeProviderInstructions = {
29
30
  runcrate: ' Verify that the GitHub account is at least 30 days old. Use the normal Get your free tokens link at https://www.runcrate.ai/dashboard/api-keys#free-card to activate its recurring weekly allowance; verify the free tier is active via GitHub and not paused. Leave optional marketing unchecked. Verify no paid subscription, no purchased balance, no payment method and automatic top-ups disabled. If any of these checks fails, stop and report it; do not change billing settings or create another account. Use only deepseek-ai/DeepSeek-V4.1-Flash at api.runcrate.ai. Capture the API key with api_hosts ["api.runcrate.ai"] and auth_shape "bearer", service runcrate, label grunt. Reuse an existing vaulted key where possible; never reset or rotate it.',
30
31
  apinex: ' Verify the Free plan and complete today\'s ordinary DAILY CHECK-IN to activate recurring free quota. Use the personal @gmail.com Google identity already connected to Squire; do not choose a workspace identity or switch accounts. Use only free/deepseek-v4.1-flash at api.apinex.bond, never a wallet-funded model or paid sibling. Verify the check-in for the current UTC date is actually claimed and free quota is active; absence of a check-in modal alone is insufficient. Do not use or change any existing paid wallet balance. Dismiss any paid upsell after check-in. Do not add billing, top up a wallet, buy credits, or use any paid balance. If check-in or free access cannot be confirmed, stop and report it. Capture the API key with api_hosts ["api.apinex.bond"] and auth_shape "bearer", service apinex, label grunt. Reuse an existing vaulted key; never reset or rotate it.'
@@ -708,6 +709,13 @@ export async function setup(notify = console.log, providers = ['groq'], options
708
709
  try {
709
710
  await owned?.connect();
710
711
  options.signal?.throwIfAborted();
712
+ if (providers.includes('livekit')) {
713
+ const browser = squire;
714
+ if (typeof browser.signup !== 'function')
715
+ throw new Error('LiveKit native signup requires a browser-capable Squire client');
716
+ await setupLiveKit({ directory: location, squire: browser, notify, ...(options.signal ? { signal: options.signal } : {}) });
717
+ providers = providers.filter(provider => provider !== 'livekit');
718
+ }
711
719
  if (providers.includes('mistral-vibe')) {
712
720
  const browser = squire;
713
721
  if (typeof browser.signup !== 'function')
@@ -412,7 +412,7 @@ export async function wizard(add, actions = wizardActions) {
412
412
  const previous = (await actions.installedSources?.())?.split(',') ?? [];
413
413
  if (add) {
414
414
  const defaults = bundledRegistry.adapters.filter(adapter => knownAdapters.has(adapter.id)).map(adapter => adapter.id);
415
- const sources = ['kilo', 'nvidia', 'zro', 'tokenharbor', 'runcrate', 'apinex', 'mistral-vibe'].includes(add)
415
+ const sources = ['kilo', 'nvidia', 'zro', 'tokenharbor', 'runcrate', 'apinex', 'mistral-vibe', 'livekit'].includes(add)
416
416
  ? [...new Set([...(previous.length ? previous : defaults), add])]
417
417
  : [...new Set(['freellmapi', ...previous, ...defaults])];
418
418
  const consent = await (actions.approveDataSharing ?? approveDataSharing)({ directory: configDir(), providers: sources });
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 1,
3
- "published": "2026-11-15T05:20:08Z",
3
+ "published": "2026-11-15T06:09:28Z",
4
4
  "adapters": [
5
5
  {
6
6
  "id": "freebuff",
@@ -56,7 +56,7 @@
56
56
  "id": "tokenharbor",
57
57
  "kind": "model",
58
58
  "tier": "experimental",
59
- "weight": 0.05,
59
+ "weight": 0.04,
60
60
  "modalities": [
61
61
  "text"
62
62
  ],
@@ -68,7 +68,7 @@
68
68
  "id": "runcrate",
69
69
  "kind": "model",
70
70
  "tier": "experimental",
71
- "weight": 0.05,
71
+ "weight": 0.04,
72
72
  "modalities": [
73
73
  "text"
74
74
  ],
@@ -80,7 +80,7 @@
80
80
  "id": "apinex",
81
81
  "kind": "model",
82
82
  "tier": "experimental",
83
- "weight": 0.05,
83
+ "weight": 0.04,
84
84
  "modalities": [
85
85
  "text"
86
86
  ],
@@ -92,13 +92,25 @@
92
92
  "id": "mistral-vibe",
93
93
  "kind": "agent",
94
94
  "tier": "experimental",
95
- "weight": 0.05,
95
+ "weight": 0.04,
96
96
  "modalities": [
97
97
  "text"
98
98
  ],
99
99
  "install": "builtin:mistral-vibe",
100
100
  "signup": "https://console.mistral.ai/",
101
101
  "model": "zai-glm-5-3-flash-vibe-free"
102
+ },
103
+ {
104
+ "id": "livekit",
105
+ "kind": "model",
106
+ "tier": "experimental",
107
+ "weight": 0.04,
108
+ "modalities": [
109
+ "text"
110
+ ],
111
+ "install": "builtin:livekit",
112
+ "signup": "https://cloud.livekit.io/",
113
+ "model": "deepseek-ai/deepseek-v4.1-flash"
102
114
  }
103
115
  ]
104
116
  }
package/dist/registry.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { existsSync, readFileSync } from 'node:fs';
2
2
  import { pathToFileURL } from 'node:url';
3
- const installers = { freebuff: 'npm:freebuff', opencode: 'npm:opencode-ai', kilo: 'builtin:kilo', nvidia: 'builtin:nvidia', zro: 'builtin:zro', tokenharbor: 'builtin:tokenharbor', runcrate: 'builtin:runcrate', apinex: 'builtin:apinex', 'mistral-vibe': 'builtin:mistral-vibe' };
3
+ const installers = { freebuff: 'npm:freebuff', opencode: 'npm:opencode-ai', kilo: 'builtin:kilo', nvidia: 'builtin:nvidia', zro: 'builtin:zro', tokenharbor: 'builtin:tokenharbor', runcrate: 'builtin:runcrate', apinex: 'builtin:apinex', 'mistral-vibe': 'builtin:mistral-vibe', livekit: 'builtin:livekit' };
4
4
  export const knownAdapters = new Set(Object.keys(installers));
5
5
  export function validateRegistry(value) {
6
6
  const fail = () => { throw new Error('Invalid adapter registry'); };
@@ -39,7 +39,7 @@ export function validateRegistry(value) {
39
39
  return fail();
40
40
  }
41
41
  // Known adapters have fixed installers and capabilities; registry data never supplies code.
42
- if (knownAdapters.has(a.id) && (a.kind !== (['kilo', 'nvidia', 'zro', 'tokenharbor', 'runcrate', 'apinex'].includes(a.id) ? 'model' : 'agent') || a.install !== installers[a.id]
42
+ if (knownAdapters.has(a.id) && (a.kind !== (['kilo', 'nvidia', 'zro', 'tokenharbor', 'runcrate', 'apinex', 'livekit'].includes(a.id) ? 'model' : 'agent') || a.install !== installers[a.id]
43
43
  || a.modalities.some(m => m !== 'text')))
44
44
  return fail();
45
45
  ids.add(a.id);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "usegrunt",
3
- "version": "0.6.4",
3
+ "version": "0.6.5",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": ">=22"