test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import "@johnlindquist/kit" | |
import { startSpinner } from "@josxa/kit-utils" | |
metadata = { | |
name: "Update Script Kit", | |
description: "Download and install latest Script Kit release", | |
author: "JosXa", | |
} | |
/** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import "@johnlindquist/kit"; | |
metadata = { | |
name: "MCP Proxy Background Service", | |
background: true, | |
longRunning: true, | |
}; | |
const MCP_PROXY_EXECUTABLE = "C:/Users/josch/go/bin/mcp-proxy.exe"; | |
const CONFIG_PATH = home("mcp-proxy.json"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import "@johnlindquist/kit"; | |
metadata = { | |
name: "MCP Proxy Background Service", | |
background: true, | |
longRunning: true, | |
}; | |
const MCP_PROXY_EXECUTABLE = "C:/Users/josch/go/bin/mcp-proxy.exe"; | |
const CONFIG_PATH = home("mcp-proxy.json"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import "@johnlindquist/kit" | |
export const metadata: Metadata = { | |
name: "Temporarily gitignore a file", | |
} | |
let p = await path({ | |
hint: "Choose a file or repository path", | |
startPath: "D:\\projects", | |
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import "@johnlindquist/kit" | |
import type { Choice } from "@johnlindquist/kit" | |
import gis from "g-i-s" | |
const query = await arg("Enter image search term") | |
const images = await new Promise<any[]>((resolve, reject) => { | |
gis(query, (error, results) => { | |
if (error) { | |
reject(error) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import "@johnlindquist/kit" | |
export const metadata: Metadata = { | |
name: "Selected bug repro", | |
} | |
await arg("", [ | |
{ name: "A", selected: false }, | |
{ name: "B", selected: true }, | |
{ name: "C", selected: false }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import "@johnlindquist/kit" | |
import { Stagehand } from "@browserbasehq/stagehand" | |
metadata = { | |
name: "Stagehand Tests", | |
} | |
const key = await env("STAGEHAND_OPENAPI_API_KEY", { hint: "OpenAPI API Key" }) | |
const stagehand = new Stagehand({ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import "@johnlindquist/kit" | |
import { parseMetadata } from "@johnlindquist/kit" | |
metadata = { | |
name: "Migrate Snippets to Scriptlets", | |
description: "Reads your legacy snippets folder and migrates them to the new markdown-based scriptlets syntax", | |
author: "JosXa", | |
} | |
const snippetsDir = kenvPath("snippets") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import "@johnlindquist/kit" | |
import { parseMetadata } from "@johnlindquist/kit" | |
metadata = { | |
name: "Migrate Snippets to Scriptlets", | |
description: "Reads your legacy snippets folder and migrates them to the new markdown-based scriptlets syntax", | |
author: "JosXa", | |
} | |
const snippetsDir = kenvPath("snippets") |
NewerOlder