
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
@synstack/reforge
Advanced tools
Type-safe VSCode extension API for TS scripts
[!NOTE]
The reforge VSCode extension is currently in alpha.If you're interested in using it, please contact contact@pairprog.io to request access.
This package provides a type-safe interface for interacting with VSCode through the reforge extension. It enables scripts to seamlessly integrate with the editor through a type-safe API:
import { reforge } from "@synstack/reforge";
// Get active file information
const filePath = await reforge.getFocusedFile();
const selections = await reforge.getFocusedFileSelections();
// File management
await reforge.openFile({
path: "/path/to/file.ts",
config: { preview: true },
});
// User interactions
const choice = await reforge.promptSelect({
title: "Select an option",
options: ["Option 1", "Option 2"],
});
await reforge.notify({
title: "Success",
message: "Operation completed",
type: "info",
});
npm install @synstack/reforge
# or
yarn add @synstack/reforge
# or
pnpm add @synstack/reforge
// Get focused file path
const filePath = await reforge.getFocusedFile();
// Get active selections
const selections = await reforge.getFocusedFileSelections();
// Get all opened files
const openedFiles = await reforge.getOpenedFiles();
// Open a single file
await reforge.openFile({
path: "/path/to/file.ts",
config: {
preview: true,
force: false,
column: "beside",
},
});
// Open multiple files
await reforge.openFiles({
paths: ["/path/to/file1.ts", "/path/to/file2.ts"],
config: { column: "active" },
});
// Single selection
const choice = await reforge.promptSelect({
title: "Select an option",
options: ["Option 1", "Option 2"],
placeHolder: "Choose...",
});
// Multiple selection
const choices = await reforge.promptMultiSelect({
title: "Select options",
options: ["Option 1", "Option 2"],
placeHolder: "Choose multiple...",
});
// Text input
const input = await reforge.promptInput({
title: "Enter value",
prompt: "Please provide a value",
defaultValue: "default",
isPassword: false,
});
// Display notification
const clicked = await reforge.notify({
title: "Operation Status",
message: "Task completed successfully",
type: "info", // "info" | "warning" | "error"
buttons: ["OK", "Cancel"],
});
Execute any VSCode command with type safety:
import { reforge } from "@synstack/reforge";
// Execute VSCode command
await reforge.vscode.executeCommand({
command: "workbench.action.files.save",
args: [
{
type: "path",
value: "/path/to/file.ts",
},
],
});
FAQs
Runtime tools for interactive DevX with the ReForge IDE extension
We found that @synstack/reforge demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.