
Security News
Federal Audit Finds NIST Wasted Funds With No Plan to Clear NVD Backlog
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.
@freestyle-sh/fdev-cmux
Advanced tools
Small SDK and fdev provider facade for opening workspaces in local `cmux`.
Small SDK and fdev provider facade for opening workspaces in local cmux.
import { createCmuxClient } from "@freestyle-sh/fdev-cmux";
const cmux = createCmuxClient();
await cmux.newWorkspace({
name: "playground",
command: "echo hello world",
focus: true,
});
Commands are printed to stderr before execution:
$ cmux new-workspace --name playground --command 'echo hello world' --focus true
cmux new-workspace and cmux ssh are socket commands. With cmux's default socket control mode (cmuxOnly), run fdev from a terminal inside cmux so cmux sets CMUX_SOCKET_PATH and accepts the process.
If you intentionally enable external socket control in cmux, opt in explicitly:
const cmux = createCmuxClient({ allowExternalAutomation: true });
With allowExternalAutomation, the SDK can run open -a cmux and retry a workspace command while cmux starts.
Config-defined operations can request the typed cmux.open host capability through the provider facade:
import { workflow } from "@freestyle-sh/fdev";
import { cmux } from "@freestyle-sh/fdev-cmux";
export default workflow("site", {
providers: {
cmux: cmux.provider(),
},
})
.sequence("site")
.operation("open", {
requiredHostCapabilities: [cmux.capabilities.open],
run: async ({ providers }) => {
await providers.cmux.open({
name: "site",
ssh: {
host: "vm-ssh.freestyle.sh",
username: "vm_123",
auth: { type: "token", token: "token_123" },
},
cwd: "/workspace/site",
command: "pnpm dev",
url: "http://localhost:3000",
});
},
});
Local hosts can import @freestyle-sh/fdev-cmux/host to register the trusted cmux.open handler. The fdev CLI registers this handler automatically.
FAQs
Small SDK and fdev provider facade for opening workspaces in local `cmux`.
We found that @freestyle-sh/fdev-cmux demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers 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
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.

Research
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.

Research
/Security News
The North Korean malware loader hides in a Packagist-listed package and its GitHub branch to fetch and execute remote code in a likely Contagious Interview-style lure.