Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/core/bin/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ const fetchSkill = async fetchFn => {

const finish = stderr => {
writeLine(stderr, '')
writeLine(stderr, gray('Prompt with') + '/microlink' + gray(' to use it.'))
writeLine(stderr, gray('Prompt with ') + '/microlink' + gray(' to use it.'))
}

const setup = async ({
Expand Down
4 changes: 2 additions & 2 deletions packages/core/test/cli.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ test('setup installs the skill and connects detected agents', async t => {
t.true(stderr.includes('Cursor connected'))
t.true(stderr.includes('OpenCode connected'))
t.false(stderr.includes('GitHub Copilot'))
t.true(stderr.includes('Start by typing /microlink to use it.'))
t.true(stderr.includes('Prompt with /microlink to use it.'))
t.false(stderr.includes('Step 1'))

const again = setupHost(home, {
Expand Down Expand Up @@ -831,7 +831,7 @@ test('setup installs the shared skill when no agent is installed', async t => {
t.is(await run(['setup'], host), 0)
t.true(existsSync(path.join(home, '.agents', 'skills', 'microlink', 'SKILL.md')))
t.true(host.stderrText().includes('No coding agents detected.'))
t.true(host.stderrText().includes('Start by typing /microlink to use it.'))
t.true(host.stderrText().includes('Prompt with /microlink to use it.'))
})

test('setup refuses to overwrite a skill it did not write', async t => {
Expand Down
296 changes: 0 additions & 296 deletions packages/mql/test/snapshots/get-api-url.mjs.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,299 +151,3 @@ Generated by [AVA](https://avajs.dev).
responseType: 'json',
},
]

## node » url without query params

> Snapshot 1

[
'https://api.microlink.io/?url=https%3A%2F%2Fkikobeats.com',
{
headers: {},
responseType: 'json',
},
]

## node » apiKey

> Snapshot 1

[
'https://pro.microlink.io/?url=https%3A%2F%2Fkikobeats.com',
{
headers: {
'x-api-key': 'foobar',
},
responseType: 'json',
},
]

## node » flatten options

> Snapshot 1

[
'https://api.microlink.io/?url=https%3A%2F%2Fkikobeats.com&overlay.browser=dark',
{
headers: {},
responseType: 'json',
},
]

## node » don't pass null

> Snapshot 1

[
'https://api.microlink.io/?url=https%3A%2F%2Fkikobeats.com',
{
headers: {},
responseType: 'json',
},
]

> Snapshot 2

[
'https://api.microlink.io/?url=https%3A%2F%2Fkikobeats.com',
{
headers: {},
responseType: 'json',
},
]

## node » don't pass undefined

> Snapshot 1

[
'https://api.microlink.io/?url=https%3A%2F%2Fkikobeats.com',
{
headers: {},
responseType: 'json',
},
]

> Snapshot 2

[
'https://api.microlink.io/?url=https%3A%2F%2Fkikobeats.com',
{
headers: {},
responseType: 'json',
},
]

## node » timeout

> Snapshot 1

[
'https://api.microlink.io/?url=https%3A%2F%2Fkikobeats.com&timeout=15000',
{
headers: {},
responseType: 'json',
},
]

> Snapshot 2

[
'https://api.microlink.io/?url=https%3A%2F%2Fkikobeats.com&timeout=28000',
{
headers: {},
responseType: 'json',
},
]

## node » waitUntil

> Snapshot 1

[
'https://api.microlink.io/?url=https%3A%2F%2Fkikobeats.com&waitUntil=load',
{
headers: {},
responseType: 'json',
},
]

> Snapshot 2

[
'https://api.microlink.io/?url=https%3A%2F%2Fkikobeats.com&waitUntil.0=load&waitUntil.1=networkidle0',
{
headers: {},
responseType: 'json',
},
]

## node » undefined

> Snapshot 1

[
'https://api.microlink.io/?url=https%3A%2F%2Fkikobeats.com',
{
headers: {},
responseType: 'json',
},
]

> Snapshot 2

[
'https://api.microlink.io/?url=https%3A%2F%2Fkikobeats.com&screenshot.element=%23screenshot',
{
headers: {},
responseType: 'json',
},
]

## lightweight » url without query params

> Snapshot 1

[
'https://api.microlink.io/?url=https%3A%2F%2Fkikobeats.com',
{
headers: {},
responseType: 'json',
},
]

## lightweight » apiKey

> Snapshot 1

[
'https://pro.microlink.io/?url=https%3A%2F%2Fkikobeats.com',
{
headers: {
'x-api-key': 'foobar',
},
responseType: 'json',
},
]

## lightweight » flatten options

> Snapshot 1

[
'https://api.microlink.io/?url=https%3A%2F%2Fkikobeats.com&overlay.browser=dark',
{
headers: {},
responseType: 'json',
},
]

## lightweight » don't pass null

> Snapshot 1

[
'https://api.microlink.io/?url=https%3A%2F%2Fkikobeats.com',
{
headers: {},
responseType: 'json',
},
]

> Snapshot 2

[
'https://api.microlink.io/?url=https%3A%2F%2Fkikobeats.com',
{
headers: {},
responseType: 'json',
},
]

## lightweight » don't pass undefined

> Snapshot 1

[
'https://api.microlink.io/?url=https%3A%2F%2Fkikobeats.com',
{
headers: {},
responseType: 'json',
},
]

> Snapshot 2

[
'https://api.microlink.io/?url=https%3A%2F%2Fkikobeats.com',
{
headers: {},
responseType: 'json',
},
]

## lightweight » timeout

> Snapshot 1

[
'https://api.microlink.io/?url=https%3A%2F%2Fkikobeats.com&timeout=15000',
{
headers: {},
responseType: 'json',
},
]

> Snapshot 2

[
'https://api.microlink.io/?url=https%3A%2F%2Fkikobeats.com&timeout=28000',
{
headers: {},
responseType: 'json',
},
]

## lightweight » waitUntil

> Snapshot 1

[
'https://api.microlink.io/?url=https%3A%2F%2Fkikobeats.com&waitUntil=load',
{
headers: {},
responseType: 'json',
},
]

> Snapshot 2

[
'https://api.microlink.io/?url=https%3A%2F%2Fkikobeats.com&waitUntil.0=load&waitUntil.1=networkidle0',
{
headers: {},
responseType: 'json',
},
]

## lightweight » undefined

> Snapshot 1

[
'https://api.microlink.io/?url=https%3A%2F%2Fkikobeats.com',
{
headers: {},
responseType: 'json',
},
]

> Snapshot 2

[
'https://api.microlink.io/?url=https%3A%2F%2Fkikobeats.com&screenshot.element=%23screenshot',
{
headers: {},
responseType: 'json',
},
]
Binary file modified packages/mql/test/snapshots/get-api-url.mjs.snap
Binary file not shown.
Loading
Loading