update go.mod and import paths for waveshell

This commit is contained in:
sawka
2023-10-16 13:25:53 -07:00
parent a4c0128c89
commit 397a0faa88
11 changed files with 25 additions and 25 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
module github.com/commandlinedev/apishell
module github.com/wavetermdev/waveterm/waveshell
go 1.18
+4 -4
View File
@@ -9,10 +9,10 @@ import (
"syscall"
"time"
"github.com/commandlinedev/apishell/pkg/base"
"github.com/commandlinedev/apishell/pkg/packet"
"github.com/commandlinedev/apishell/pkg/server"
"github.com/commandlinedev/apishell/pkg/shexec"
"github.com/wavetermdev/waveterm/waveshell/pkg/base"
"github.com/wavetermdev/waveterm/waveshell/pkg/packet"
"github.com/wavetermdev/waveterm/waveshell/pkg/server"
"github.com/wavetermdev/waveterm/waveshell/pkg/shexec"
"golang.org/x/sys/unix"
)
+2 -2
View File
@@ -10,8 +10,8 @@ import (
"time"
"github.com/fsnotify/fsnotify"
"github.com/commandlinedev/apishell/pkg/base"
"github.com/commandlinedev/apishell/pkg/packet"
"github.com/wavetermdev/waveterm/waveshell/pkg/base"
"github.com/wavetermdev/waveterm/waveshell/pkg/packet"
)
const MaxDataBytes = 4096
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"io"
"sync"
"github.com/commandlinedev/apishell/pkg/packet"
"github.com/wavetermdev/waveterm/waveshell/pkg/packet"
)
type FdReader struct {
+2 -2
View File
@@ -7,8 +7,8 @@ import (
"os"
"sync"
"github.com/commandlinedev/apishell/pkg/base"
"github.com/commandlinedev/apishell/pkg/packet"
"github.com/wavetermdev/waveterm/waveshell/pkg/base"
"github.com/wavetermdev/waveterm/waveshell/pkg/packet"
)
const ReadBufSize = 128 * 1024
+1 -1
View File
@@ -12,7 +12,7 @@ import (
"reflect"
"sync"
"github.com/commandlinedev/apishell/pkg/base"
"github.com/wavetermdev/waveterm/waveshell/pkg/base"
)
// single : <init, >run, >cmddata, >cmddone, <cmdstart, <>data, <>dataack, <cmddone
+2 -2
View File
@@ -7,8 +7,8 @@ import (
"encoding/json"
"fmt"
"github.com/commandlinedev/apishell/pkg/binpack"
"github.com/commandlinedev/apishell/pkg/statediff"
"github.com/wavetermdev/waveterm/waveshell/pkg/binpack"
"github.com/wavetermdev/waveterm/waveshell/pkg/statediff"
)
const ShellStatePackVersion = 0
+3 -3
View File
@@ -15,9 +15,9 @@ import (
"time"
"github.com/alessio/shellescape"
"github.com/commandlinedev/apishell/pkg/base"
"github.com/commandlinedev/apishell/pkg/packet"
"github.com/commandlinedev/apishell/pkg/shexec"
"github.com/wavetermdev/waveterm/waveshell/pkg/base"
"github.com/wavetermdev/waveterm/waveshell/pkg/packet"
"github.com/wavetermdev/waveterm/waveshell/pkg/shexec"
)
const MaxFileDataPacketSize = 16 * 1024
+2 -2
View File
@@ -7,8 +7,8 @@ import (
"os/exec"
"time"
"github.com/commandlinedev/apishell/pkg/base"
"github.com/commandlinedev/apishell/pkg/packet"
"github.com/wavetermdev/waveterm/waveshell/pkg/base"
"github.com/wavetermdev/waveterm/waveshell/pkg/packet"
"golang.org/x/mod/semver"
)
+3 -3
View File
@@ -9,9 +9,9 @@ import (
"strings"
"github.com/alessio/shellescape"
"github.com/commandlinedev/apishell/pkg/packet"
"github.com/commandlinedev/apishell/pkg/simpleexpand"
"github.com/commandlinedev/apishell/pkg/statediff"
"github.com/wavetermdev/waveterm/waveshell/pkg/packet"
"github.com/wavetermdev/waveterm/waveshell/pkg/simpleexpand"
"github.com/wavetermdev/waveterm/waveshell/pkg/statediff"
"mvdan.cc/sh/v3/expand"
"mvdan.cc/sh/v3/syntax"
)
+4 -4
View File
@@ -18,10 +18,10 @@ import (
"time"
"github.com/alessio/shellescape"
"github.com/commandlinedev/apishell/pkg/base"
"github.com/commandlinedev/apishell/pkg/cirfile"
"github.com/commandlinedev/apishell/pkg/mpio"
"github.com/commandlinedev/apishell/pkg/packet"
"github.com/wavetermdev/waveterm/waveshell/pkg/base"
"github.com/wavetermdev/waveterm/waveshell/pkg/cirfile"
"github.com/wavetermdev/waveterm/waveshell/pkg/mpio"
"github.com/wavetermdev/waveterm/waveshell/pkg/packet"
"github.com/creack/pty"
"golang.org/x/mod/semver"
"golang.org/x/sys/unix"