Rename .js to .mjs and update import paths
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env node
|
||||
import { createInterface } from 'readline';
|
||||
import { readdirSync, readlinkSync, readFileSync } from 'fs';
|
||||
import { send_to_claude } from './paste.js';
|
||||
import { send_to_claude } from './paste.mjs';
|
||||
|
||||
const args = process.argv.slice(2);
|
||||
|
||||
@@ -4,6 +4,6 @@
|
||||
"type": "module",
|
||||
"description": "Paste text into the Claude Code terminal window via xdotool",
|
||||
"bin": {
|
||||
"claude-remote": "./claude-remote.js"
|
||||
"claude-remote": "./claude-remote.mjs"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { execFileSync, spawn } from 'child_process';
|
||||
import { setTimeout as sleep } from 'timers/promises';
|
||||
import { find_claude_window } from './find-window.js';
|
||||
import { find_claude_window } from './find-window.mjs';
|
||||
|
||||
export async function copy_to_clipboard(text) {
|
||||
await new Promise((resolve, reject) => {
|
||||
Reference in New Issue
Block a user