update all gopkg imports (#330)

This commit is contained in:
Mike Sawka 2024-09-05 14:25:45 -07:00 committed by GitHub
parent a5f563b52d
commit 8ad84fd78a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
73 changed files with 270 additions and 270 deletions

View File

@ -9,11 +9,11 @@ import (
"reflect" "reflect"
"strings" "strings"
"github.com/wavetermdev/thenextwave/pkg/gogen" "github.com/wavetermdev/waveterm/pkg/gogen"
"github.com/wavetermdev/thenextwave/pkg/util/utilfn" "github.com/wavetermdev/waveterm/pkg/util/utilfn"
"github.com/wavetermdev/thenextwave/pkg/waveobj" "github.com/wavetermdev/waveterm/pkg/waveobj"
"github.com/wavetermdev/thenextwave/pkg/wconfig" "github.com/wavetermdev/waveterm/pkg/wconfig"
"github.com/wavetermdev/thenextwave/pkg/wshrpc" "github.com/wavetermdev/waveterm/pkg/wshrpc"
) )
const WshClientFileName = "pkg/wshrpc/wshclient/wshclient.go" const WshClientFileName = "pkg/wshrpc/wshclient/wshclient.go"
@ -24,10 +24,10 @@ func GenerateWshClient() {
fmt.Fprintf(os.Stderr, "generating wshclient file to %s\n", WshClientFileName) fmt.Fprintf(os.Stderr, "generating wshclient file to %s\n", WshClientFileName)
var buf strings.Builder var buf strings.Builder
gogen.GenerateBoilerplate(&buf, "wshclient", []string{ gogen.GenerateBoilerplate(&buf, "wshclient", []string{
"github.com/wavetermdev/thenextwave/pkg/wshutil", "github.com/wavetermdev/waveterm/pkg/wshutil",
"github.com/wavetermdev/thenextwave/pkg/wshrpc", "github.com/wavetermdev/waveterm/pkg/wshrpc",
"github.com/wavetermdev/thenextwave/pkg/waveobj", "github.com/wavetermdev/waveterm/pkg/waveobj",
"github.com/wavetermdev/thenextwave/pkg/wconfig", "github.com/wavetermdev/waveterm/pkg/wconfig",
}) })
wshDeclMap := wshrpc.GenerateWshCommandDeclMap() wshDeclMap := wshrpc.GenerateWshCommandDeclMap()
for _, key := range utilfn.GetOrderedMapKeys(wshDeclMap) { for _, key := range utilfn.GetOrderedMapKeys(wshDeclMap) {

View File

@ -10,10 +10,10 @@ import (
"sort" "sort"
"strings" "strings"
"github.com/wavetermdev/thenextwave/pkg/service" "github.com/wavetermdev/waveterm/pkg/service"
"github.com/wavetermdev/thenextwave/pkg/tsgen" "github.com/wavetermdev/waveterm/pkg/tsgen"
"github.com/wavetermdev/thenextwave/pkg/util/utilfn" "github.com/wavetermdev/waveterm/pkg/util/utilfn"
"github.com/wavetermdev/thenextwave/pkg/wshrpc" "github.com/wavetermdev/waveterm/pkg/wshrpc"
) )
func generateTypesFile(tsTypesMap map[reflect.Type]string) error { func generateTypesFile(tsTypesMap map[reflect.Type]string) error {

View File

@ -17,24 +17,24 @@ import (
"syscall" "syscall"
"time" "time"
"github.com/wavetermdev/thenextwave/pkg/authkey" "github.com/wavetermdev/waveterm/pkg/authkey"
"github.com/wavetermdev/thenextwave/pkg/blockcontroller" "github.com/wavetermdev/waveterm/pkg/blockcontroller"
"github.com/wavetermdev/thenextwave/pkg/filestore" "github.com/wavetermdev/waveterm/pkg/filestore"
"github.com/wavetermdev/thenextwave/pkg/service" "github.com/wavetermdev/waveterm/pkg/service"
"github.com/wavetermdev/thenextwave/pkg/telemetry" "github.com/wavetermdev/waveterm/pkg/telemetry"
"github.com/wavetermdev/thenextwave/pkg/util/shellutil" "github.com/wavetermdev/waveterm/pkg/util/shellutil"
"github.com/wavetermdev/thenextwave/pkg/wavebase" "github.com/wavetermdev/waveterm/pkg/wavebase"
"github.com/wavetermdev/thenextwave/pkg/waveobj" "github.com/wavetermdev/waveterm/pkg/waveobj"
"github.com/wavetermdev/thenextwave/pkg/wcloud" "github.com/wavetermdev/waveterm/pkg/wcloud"
"github.com/wavetermdev/thenextwave/pkg/wconfig" "github.com/wavetermdev/waveterm/pkg/wconfig"
"github.com/wavetermdev/thenextwave/pkg/wcore" "github.com/wavetermdev/waveterm/pkg/wcore"
"github.com/wavetermdev/thenextwave/pkg/web" "github.com/wavetermdev/waveterm/pkg/web"
"github.com/wavetermdev/thenextwave/pkg/wps" "github.com/wavetermdev/waveterm/pkg/wps"
"github.com/wavetermdev/thenextwave/pkg/wshrpc" "github.com/wavetermdev/waveterm/pkg/wshrpc"
"github.com/wavetermdev/thenextwave/pkg/wshrpc/wshremote" "github.com/wavetermdev/waveterm/pkg/wshrpc/wshremote"
"github.com/wavetermdev/thenextwave/pkg/wshrpc/wshserver" "github.com/wavetermdev/waveterm/pkg/wshrpc/wshserver"
"github.com/wavetermdev/thenextwave/pkg/wshutil" "github.com/wavetermdev/waveterm/pkg/wshutil"
"github.com/wavetermdev/thenextwave/pkg/wstore" "github.com/wavetermdev/waveterm/pkg/wstore"
) )
// these are set at build time // these are set at build time

View File

@ -8,8 +8,8 @@ import (
"fmt" "fmt"
"log" "log"
"github.com/wavetermdev/thenextwave/pkg/vdom" "github.com/wavetermdev/waveterm/pkg/vdom"
"github.com/wavetermdev/thenextwave/pkg/wshutil" "github.com/wavetermdev/waveterm/pkg/wshutil"
) )
func Page(ctx context.Context, props map[string]any) any { func Page(ctx context.Context, props map[string]any) any {

View File

@ -7,9 +7,9 @@ import (
"fmt" "fmt"
"github.com/spf13/cobra" "github.com/spf13/cobra"
"github.com/wavetermdev/thenextwave/pkg/remote" "github.com/wavetermdev/waveterm/pkg/remote"
"github.com/wavetermdev/thenextwave/pkg/wshrpc" "github.com/wavetermdev/waveterm/pkg/wshrpc"
"github.com/wavetermdev/thenextwave/pkg/wshrpc/wshclient" "github.com/wavetermdev/waveterm/pkg/wshrpc/wshclient"
) )
var connCmd = &cobra.Command{ var connCmd = &cobra.Command{

View File

@ -7,7 +7,7 @@ import (
"os" "os"
"github.com/spf13/cobra" "github.com/spf13/cobra"
"github.com/wavetermdev/thenextwave/pkg/wshrpc/wshremote" "github.com/wavetermdev/waveterm/pkg/wshrpc/wshremote"
) )
var serverCmd = &cobra.Command{ var serverCmd = &cobra.Command{

View File

@ -5,7 +5,7 @@ package cmd
import ( import (
"github.com/spf13/cobra" "github.com/spf13/cobra"
"github.com/wavetermdev/thenextwave/pkg/wshrpc" "github.com/wavetermdev/waveterm/pkg/wshrpc"
) )
var deleteBlockCmd = &cobra.Command{ var deleteBlockCmd = &cobra.Command{

View File

@ -9,9 +9,9 @@ import (
"path/filepath" "path/filepath"
"github.com/spf13/cobra" "github.com/spf13/cobra"
"github.com/wavetermdev/thenextwave/pkg/waveobj" "github.com/wavetermdev/waveterm/pkg/waveobj"
"github.com/wavetermdev/thenextwave/pkg/wshrpc" "github.com/wavetermdev/waveterm/pkg/wshrpc"
"github.com/wavetermdev/thenextwave/pkg/wshrpc/wshclient" "github.com/wavetermdev/waveterm/pkg/wshrpc/wshclient"
) )
var editMagnified bool var editMagnified bool

View File

@ -7,8 +7,8 @@ import (
"encoding/json" "encoding/json"
"github.com/spf13/cobra" "github.com/spf13/cobra"
"github.com/wavetermdev/thenextwave/pkg/wshrpc" "github.com/wavetermdev/waveterm/pkg/wshrpc"
"github.com/wavetermdev/thenextwave/pkg/wshrpc/wshclient" "github.com/wavetermdev/waveterm/pkg/wshrpc/wshclient"
) )
var getMetaCmd = &cobra.Command{ var getMetaCmd = &cobra.Command{

View File

@ -7,7 +7,7 @@ import (
"fmt" "fmt"
"github.com/spf13/cobra" "github.com/spf13/cobra"
"github.com/wavetermdev/thenextwave/pkg/wshutil" "github.com/wavetermdev/waveterm/pkg/wshutil"
) )
func init() { func init() {

View File

@ -7,8 +7,8 @@ import (
"path/filepath" "path/filepath"
"github.com/spf13/cobra" "github.com/spf13/cobra"
"github.com/wavetermdev/thenextwave/pkg/util/shellutil" "github.com/wavetermdev/waveterm/pkg/util/shellutil"
"github.com/wavetermdev/thenextwave/pkg/wavebase" "github.com/wavetermdev/waveterm/pkg/wavebase"
) )
var WshBinDir = ".waveterm/bin" var WshBinDir = ".waveterm/bin"

View File

@ -7,8 +7,8 @@ import (
"encoding/base64" "encoding/base64"
"github.com/spf13/cobra" "github.com/spf13/cobra"
"github.com/wavetermdev/thenextwave/pkg/wshrpc" "github.com/wavetermdev/waveterm/pkg/wshrpc"
"github.com/wavetermdev/thenextwave/pkg/wshrpc/wshclient" "github.com/wavetermdev/waveterm/pkg/wshrpc/wshclient"
) )
var readFileCmd = &cobra.Command{ var readFileCmd = &cobra.Command{

View File

@ -16,10 +16,10 @@ import (
"github.com/google/uuid" "github.com/google/uuid"
"github.com/spf13/cobra" "github.com/spf13/cobra"
"github.com/wavetermdev/thenextwave/pkg/waveobj" "github.com/wavetermdev/waveterm/pkg/waveobj"
"github.com/wavetermdev/thenextwave/pkg/wshrpc" "github.com/wavetermdev/waveterm/pkg/wshrpc"
"github.com/wavetermdev/thenextwave/pkg/wshrpc/wshclient" "github.com/wavetermdev/waveterm/pkg/wshrpc/wshclient"
"github.com/wavetermdev/thenextwave/pkg/wshutil" "github.com/wavetermdev/waveterm/pkg/wshutil"
) )
var ( var (

View File

@ -5,9 +5,9 @@ package cmd
import ( import (
"github.com/spf13/cobra" "github.com/spf13/cobra"
"github.com/wavetermdev/thenextwave/pkg/wconfig" "github.com/wavetermdev/waveterm/pkg/wconfig"
"github.com/wavetermdev/thenextwave/pkg/wshrpc" "github.com/wavetermdev/waveterm/pkg/wshrpc"
"github.com/wavetermdev/thenextwave/pkg/wshrpc/wshclient" "github.com/wavetermdev/waveterm/pkg/wshrpc/wshclient"
) )
var setConfigCmd = &cobra.Command{ var setConfigCmd = &cobra.Command{

View File

@ -10,7 +10,7 @@ import (
"strings" "strings"
"github.com/spf13/cobra" "github.com/spf13/cobra"
"github.com/wavetermdev/thenextwave/pkg/wshrpc" "github.com/wavetermdev/waveterm/pkg/wshrpc"
) )
var setMetaCmd = &cobra.Command{ var setMetaCmd = &cobra.Command{

View File

@ -13,7 +13,7 @@ import (
"strings" "strings"
"github.com/spf13/cobra" "github.com/spf13/cobra"
"github.com/wavetermdev/thenextwave/pkg/util/shellutil" "github.com/wavetermdev/waveterm/pkg/util/shellutil"
) )
func init() { func init() {

View File

@ -5,9 +5,9 @@ package cmd
import ( import (
"github.com/spf13/cobra" "github.com/spf13/cobra"
"github.com/wavetermdev/thenextwave/pkg/waveobj" "github.com/wavetermdev/waveterm/pkg/waveobj"
"github.com/wavetermdev/thenextwave/pkg/wshrpc" "github.com/wavetermdev/waveterm/pkg/wshrpc"
"github.com/wavetermdev/thenextwave/pkg/wshrpc/wshclient" "github.com/wavetermdev/waveterm/pkg/wshrpc/wshclient"
) )
var sshCmd = &cobra.Command{ var sshCmd = &cobra.Command{

View File

@ -8,10 +8,10 @@ import (
"path/filepath" "path/filepath"
"github.com/spf13/cobra" "github.com/spf13/cobra"
"github.com/wavetermdev/thenextwave/pkg/wavebase" "github.com/wavetermdev/waveterm/pkg/wavebase"
"github.com/wavetermdev/thenextwave/pkg/waveobj" "github.com/wavetermdev/waveterm/pkg/waveobj"
"github.com/wavetermdev/thenextwave/pkg/wshrpc" "github.com/wavetermdev/waveterm/pkg/wshrpc"
"github.com/wavetermdev/thenextwave/pkg/wshrpc/wshclient" "github.com/wavetermdev/waveterm/pkg/wshrpc/wshclient"
) )
var termMagnified bool var termMagnified bool

View File

@ -7,7 +7,7 @@ import (
"fmt" "fmt"
"github.com/spf13/cobra" "github.com/spf13/cobra"
"github.com/wavetermdev/thenextwave/pkg/wavebase" "github.com/wavetermdev/waveterm/pkg/wavebase"
) )
func init() { func init() {

View File

@ -10,8 +10,8 @@ import (
"strings" "strings"
"github.com/spf13/cobra" "github.com/spf13/cobra"
"github.com/wavetermdev/thenextwave/pkg/waveobj" "github.com/wavetermdev/waveterm/pkg/waveobj"
"github.com/wavetermdev/thenextwave/pkg/wshrpc" "github.com/wavetermdev/waveterm/pkg/wshrpc"
) )
var viewMagnified bool var viewMagnified bool

View File

@ -4,8 +4,8 @@
package main package main
import ( import (
"github.com/wavetermdev/thenextwave/cmd/wsh/cmd" "github.com/wavetermdev/waveterm/cmd/wsh/cmd"
"github.com/wavetermdev/thenextwave/pkg/wavebase" "github.com/wavetermdev/waveterm/pkg/wavebase"
) )
// set by main-server.go // set by main-server.go

2
go.mod
View File

@ -1,4 +1,4 @@
module github.com/wavetermdev/thenextwave module github.com/wavetermdev/waveterm
go 1.22.4 go 1.22.4

View File

@ -14,17 +14,17 @@ import (
"sync" "sync"
"time" "time"
"github.com/wavetermdev/thenextwave/pkg/eventbus" "github.com/wavetermdev/waveterm/pkg/eventbus"
"github.com/wavetermdev/thenextwave/pkg/filestore" "github.com/wavetermdev/waveterm/pkg/filestore"
"github.com/wavetermdev/thenextwave/pkg/remote" "github.com/wavetermdev/waveterm/pkg/remote"
"github.com/wavetermdev/thenextwave/pkg/remote/conncontroller" "github.com/wavetermdev/waveterm/pkg/remote/conncontroller"
"github.com/wavetermdev/thenextwave/pkg/shellexec" "github.com/wavetermdev/waveterm/pkg/shellexec"
"github.com/wavetermdev/thenextwave/pkg/wavebase" "github.com/wavetermdev/waveterm/pkg/wavebase"
"github.com/wavetermdev/thenextwave/pkg/waveobj" "github.com/wavetermdev/waveterm/pkg/waveobj"
"github.com/wavetermdev/thenextwave/pkg/wps" "github.com/wavetermdev/waveterm/pkg/wps"
"github.com/wavetermdev/thenextwave/pkg/wshrpc" "github.com/wavetermdev/waveterm/pkg/wshrpc"
"github.com/wavetermdev/thenextwave/pkg/wshutil" "github.com/wavetermdev/waveterm/pkg/wshutil"
"github.com/wavetermdev/thenextwave/pkg/wstore" "github.com/wavetermdev/waveterm/pkg/wstore"
) )
const ( const (

View File

@ -11,7 +11,7 @@ import (
"sync" "sync"
"time" "time"
"github.com/wavetermdev/thenextwave/pkg/waveobj" "github.com/wavetermdev/waveterm/pkg/waveobj"
) )
const ( const (

View File

@ -17,7 +17,7 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/wavetermdev/thenextwave/pkg/ijson" "github.com/wavetermdev/waveterm/pkg/ijson"
) )
const ( const (

View File

@ -9,7 +9,7 @@ import (
"io/fs" "io/fs"
"os" "os"
"github.com/wavetermdev/thenextwave/pkg/util/dbutil" "github.com/wavetermdev/waveterm/pkg/util/dbutil"
) )
// can return fs.ErrExist // can return fs.ErrExist

View File

@ -13,14 +13,14 @@ import (
"path/filepath" "path/filepath"
"time" "time"
"github.com/wavetermdev/thenextwave/pkg/util/migrateutil" "github.com/wavetermdev/waveterm/pkg/util/migrateutil"
"github.com/wavetermdev/thenextwave/pkg/wavebase" "github.com/wavetermdev/waveterm/pkg/wavebase"
"github.com/jmoiron/sqlx" "github.com/jmoiron/sqlx"
_ "github.com/mattn/go-sqlite3" _ "github.com/mattn/go-sqlite3"
"github.com/sawka/txwrap" "github.com/sawka/txwrap"
dbfs "github.com/wavetermdev/thenextwave/db" dbfs "github.com/wavetermdev/waveterm/db"
) )
const FilestoreDBName = "filestore.db" const FilestoreDBName = "filestore.db"

View File

@ -17,7 +17,7 @@ import (
"time" "time"
"github.com/google/uuid" "github.com/google/uuid"
"github.com/wavetermdev/thenextwave/pkg/ijson" "github.com/wavetermdev/waveterm/pkg/ijson"
) )
func initDb(t *testing.T) { func initDb(t *testing.T) {

View File

@ -8,8 +8,8 @@ import (
"reflect" "reflect"
"strings" "strings"
"github.com/wavetermdev/thenextwave/pkg/util/utilfn" "github.com/wavetermdev/waveterm/pkg/util/utilfn"
"github.com/wavetermdev/thenextwave/pkg/wshrpc" "github.com/wavetermdev/waveterm/pkg/wshrpc"
) )
func GenerateBoilerplate(buf *strings.Builder, pkgName string, imports []string) { func GenerateBoilerplate(buf *strings.Builder, pkgName string, imports []string) {

View File

@ -20,14 +20,14 @@ import (
"github.com/kevinburke/ssh_config" "github.com/kevinburke/ssh_config"
"github.com/skeema/knownhosts" "github.com/skeema/knownhosts"
"github.com/wavetermdev/thenextwave/pkg/remote" "github.com/wavetermdev/waveterm/pkg/remote"
"github.com/wavetermdev/thenextwave/pkg/userinput" "github.com/wavetermdev/waveterm/pkg/userinput"
"github.com/wavetermdev/thenextwave/pkg/util/shellutil" "github.com/wavetermdev/waveterm/pkg/util/shellutil"
"github.com/wavetermdev/thenextwave/pkg/util/utilfn" "github.com/wavetermdev/waveterm/pkg/util/utilfn"
"github.com/wavetermdev/thenextwave/pkg/wavebase" "github.com/wavetermdev/waveterm/pkg/wavebase"
"github.com/wavetermdev/thenextwave/pkg/wps" "github.com/wavetermdev/waveterm/pkg/wps"
"github.com/wavetermdev/thenextwave/pkg/wshrpc" "github.com/wavetermdev/waveterm/pkg/wshrpc"
"github.com/wavetermdev/thenextwave/pkg/wshutil" "github.com/wavetermdev/waveterm/pkg/wshutil"
"golang.org/x/crypto/ssh" "golang.org/x/crypto/ssh"
) )

View File

@ -23,8 +23,8 @@ import (
"github.com/kevinburke/ssh_config" "github.com/kevinburke/ssh_config"
"github.com/skeema/knownhosts" "github.com/skeema/knownhosts"
"github.com/wavetermdev/thenextwave/pkg/userinput" "github.com/wavetermdev/waveterm/pkg/userinput"
"github.com/wavetermdev/thenextwave/pkg/wavebase" "github.com/wavetermdev/waveterm/pkg/wavebase"
"golang.org/x/crypto/ssh" "golang.org/x/crypto/ssh"
xknownhosts "golang.org/x/crypto/ssh/knownhosts" xknownhosts "golang.org/x/crypto/ssh/knownhosts"
) )

View File

@ -9,12 +9,12 @@ import (
"fmt" "fmt"
"time" "time"
"github.com/wavetermdev/thenextwave/pkg/blockcontroller" "github.com/wavetermdev/waveterm/pkg/blockcontroller"
"github.com/wavetermdev/thenextwave/pkg/filestore" "github.com/wavetermdev/waveterm/pkg/filestore"
"github.com/wavetermdev/thenextwave/pkg/tsgen/tsgenmeta" "github.com/wavetermdev/waveterm/pkg/tsgen/tsgenmeta"
"github.com/wavetermdev/thenextwave/pkg/waveobj" "github.com/wavetermdev/waveterm/pkg/waveobj"
"github.com/wavetermdev/thenextwave/pkg/wshrpc" "github.com/wavetermdev/waveterm/pkg/wshrpc"
"github.com/wavetermdev/thenextwave/pkg/wstore" "github.com/wavetermdev/waveterm/pkg/wstore"
) )
type BlockService struct{} type BlockService struct{}

View File

@ -8,13 +8,13 @@ import (
"fmt" "fmt"
"time" "time"
"github.com/wavetermdev/thenextwave/pkg/remote/conncontroller" "github.com/wavetermdev/waveterm/pkg/remote/conncontroller"
"github.com/wavetermdev/thenextwave/pkg/util/utilfn" "github.com/wavetermdev/waveterm/pkg/util/utilfn"
"github.com/wavetermdev/thenextwave/pkg/waveobj" "github.com/wavetermdev/waveterm/pkg/waveobj"
"github.com/wavetermdev/thenextwave/pkg/wcore" "github.com/wavetermdev/waveterm/pkg/wcore"
"github.com/wavetermdev/thenextwave/pkg/wlayout" "github.com/wavetermdev/waveterm/pkg/wlayout"
"github.com/wavetermdev/thenextwave/pkg/wshrpc" "github.com/wavetermdev/waveterm/pkg/wshrpc"
"github.com/wavetermdev/thenextwave/pkg/wstore" "github.com/wavetermdev/waveterm/pkg/wstore"
) )
type ClientService struct{} type ClientService struct{}

View File

@ -9,13 +9,13 @@ import (
"io" "io"
"time" "time"
"github.com/wavetermdev/thenextwave/pkg/filestore" "github.com/wavetermdev/waveterm/pkg/filestore"
"github.com/wavetermdev/thenextwave/pkg/tsgen/tsgenmeta" "github.com/wavetermdev/waveterm/pkg/tsgen/tsgenmeta"
"github.com/wavetermdev/thenextwave/pkg/wconfig" "github.com/wavetermdev/waveterm/pkg/wconfig"
"github.com/wavetermdev/thenextwave/pkg/wshrpc" "github.com/wavetermdev/waveterm/pkg/wshrpc"
"github.com/wavetermdev/thenextwave/pkg/wshrpc/wshclient" "github.com/wavetermdev/waveterm/pkg/wshrpc/wshclient"
"github.com/wavetermdev/thenextwave/pkg/wshrpc/wshserver" "github.com/wavetermdev/waveterm/pkg/wshrpc/wshserver"
"github.com/wavetermdev/thenextwave/pkg/wshutil" "github.com/wavetermdev/waveterm/pkg/wshutil"
) )
const MaxFileSize = 10 * 1024 * 1024 // 10M const MaxFileSize = 10 * 1024 * 1024 // 10M

View File

@ -9,11 +9,11 @@ import (
"strings" "strings"
"time" "time"
"github.com/wavetermdev/thenextwave/pkg/tsgen/tsgenmeta" "github.com/wavetermdev/waveterm/pkg/tsgen/tsgenmeta"
"github.com/wavetermdev/thenextwave/pkg/waveobj" "github.com/wavetermdev/waveterm/pkg/waveobj"
"github.com/wavetermdev/thenextwave/pkg/wcore" "github.com/wavetermdev/waveterm/pkg/wcore"
"github.com/wavetermdev/thenextwave/pkg/wlayout" "github.com/wavetermdev/waveterm/pkg/wlayout"
"github.com/wavetermdev/thenextwave/pkg/wstore" "github.com/wavetermdev/waveterm/pkg/wstore"
) )
type ObjectService struct{} type ObjectService struct{}

View File

@ -9,16 +9,16 @@ import (
"reflect" "reflect"
"strings" "strings"
"github.com/wavetermdev/thenextwave/pkg/service/blockservice" "github.com/wavetermdev/waveterm/pkg/service/blockservice"
"github.com/wavetermdev/thenextwave/pkg/service/clientservice" "github.com/wavetermdev/waveterm/pkg/service/clientservice"
"github.com/wavetermdev/thenextwave/pkg/service/fileservice" "github.com/wavetermdev/waveterm/pkg/service/fileservice"
"github.com/wavetermdev/thenextwave/pkg/service/objectservice" "github.com/wavetermdev/waveterm/pkg/service/objectservice"
"github.com/wavetermdev/thenextwave/pkg/service/userinputservice" "github.com/wavetermdev/waveterm/pkg/service/userinputservice"
"github.com/wavetermdev/thenextwave/pkg/service/windowservice" "github.com/wavetermdev/waveterm/pkg/service/windowservice"
"github.com/wavetermdev/thenextwave/pkg/tsgen/tsgenmeta" "github.com/wavetermdev/waveterm/pkg/tsgen/tsgenmeta"
"github.com/wavetermdev/thenextwave/pkg/util/utilfn" "github.com/wavetermdev/waveterm/pkg/util/utilfn"
"github.com/wavetermdev/thenextwave/pkg/waveobj" "github.com/wavetermdev/waveterm/pkg/waveobj"
"github.com/wavetermdev/thenextwave/pkg/web/webcmd" "github.com/wavetermdev/waveterm/pkg/web/webcmd"
) )
var ServiceMap = map[string]any{ var ServiceMap = map[string]any{

View File

@ -4,7 +4,7 @@
package userinputservice package userinputservice
import ( import (
"github.com/wavetermdev/thenextwave/pkg/userinput" "github.com/wavetermdev/waveterm/pkg/userinput"
) )
type UserInputService struct { type UserInputService struct {

View File

@ -9,14 +9,14 @@ import (
"log" "log"
"time" "time"
"github.com/wavetermdev/thenextwave/pkg/blockcontroller" "github.com/wavetermdev/waveterm/pkg/blockcontroller"
"github.com/wavetermdev/thenextwave/pkg/eventbus" "github.com/wavetermdev/waveterm/pkg/eventbus"
"github.com/wavetermdev/thenextwave/pkg/tsgen/tsgenmeta" "github.com/wavetermdev/waveterm/pkg/tsgen/tsgenmeta"
"github.com/wavetermdev/thenextwave/pkg/util/utilfn" "github.com/wavetermdev/waveterm/pkg/util/utilfn"
"github.com/wavetermdev/thenextwave/pkg/waveobj" "github.com/wavetermdev/waveterm/pkg/waveobj"
"github.com/wavetermdev/thenextwave/pkg/wcore" "github.com/wavetermdev/waveterm/pkg/wcore"
"github.com/wavetermdev/thenextwave/pkg/wlayout" "github.com/wavetermdev/waveterm/pkg/wlayout"
"github.com/wavetermdev/thenextwave/pkg/wstore" "github.com/wavetermdev/waveterm/pkg/wstore"
) )
const DefaultTimeout = 2 * time.Second const DefaultTimeout = 2 * time.Second

View File

@ -18,12 +18,12 @@ import (
"time" "time"
"github.com/creack/pty" "github.com/creack/pty"
"github.com/wavetermdev/thenextwave/pkg/remote" "github.com/wavetermdev/waveterm/pkg/remote"
"github.com/wavetermdev/thenextwave/pkg/remote/conncontroller" "github.com/wavetermdev/waveterm/pkg/remote/conncontroller"
"github.com/wavetermdev/thenextwave/pkg/util/shellutil" "github.com/wavetermdev/waveterm/pkg/util/shellutil"
"github.com/wavetermdev/thenextwave/pkg/wavebase" "github.com/wavetermdev/waveterm/pkg/wavebase"
"github.com/wavetermdev/thenextwave/pkg/waveobj" "github.com/wavetermdev/waveterm/pkg/waveobj"
"github.com/wavetermdev/thenextwave/pkg/wshutil" "github.com/wavetermdev/waveterm/pkg/wshutil"
) )
const DefaultGracefulKillWait = 400 * time.Millisecond const DefaultGracefulKillWait = 400 * time.Millisecond

View File

@ -9,11 +9,11 @@ import (
"log" "log"
"time" "time"
"github.com/wavetermdev/thenextwave/pkg/util/daystr" "github.com/wavetermdev/waveterm/pkg/util/daystr"
"github.com/wavetermdev/thenextwave/pkg/util/dbutil" "github.com/wavetermdev/waveterm/pkg/util/dbutil"
"github.com/wavetermdev/thenextwave/pkg/wavebase" "github.com/wavetermdev/waveterm/pkg/wavebase"
"github.com/wavetermdev/thenextwave/pkg/wconfig" "github.com/wavetermdev/waveterm/pkg/wconfig"
"github.com/wavetermdev/thenextwave/pkg/wstore" "github.com/wavetermdev/waveterm/pkg/wstore"
) )
const MaxTzNameLen = 50 const MaxTzNameLen = 50

View File

@ -10,18 +10,18 @@ import (
"reflect" "reflect"
"strings" "strings"
"github.com/wavetermdev/thenextwave/pkg/eventbus" "github.com/wavetermdev/waveterm/pkg/eventbus"
"github.com/wavetermdev/thenextwave/pkg/filestore" "github.com/wavetermdev/waveterm/pkg/filestore"
"github.com/wavetermdev/thenextwave/pkg/service" "github.com/wavetermdev/waveterm/pkg/service"
"github.com/wavetermdev/thenextwave/pkg/tsgen/tsgenmeta" "github.com/wavetermdev/waveterm/pkg/tsgen/tsgenmeta"
"github.com/wavetermdev/thenextwave/pkg/userinput" "github.com/wavetermdev/waveterm/pkg/userinput"
"github.com/wavetermdev/thenextwave/pkg/util/utilfn" "github.com/wavetermdev/waveterm/pkg/util/utilfn"
"github.com/wavetermdev/thenextwave/pkg/vdom" "github.com/wavetermdev/waveterm/pkg/vdom"
"github.com/wavetermdev/thenextwave/pkg/waveobj" "github.com/wavetermdev/waveterm/pkg/waveobj"
"github.com/wavetermdev/thenextwave/pkg/wconfig" "github.com/wavetermdev/waveterm/pkg/wconfig"
"github.com/wavetermdev/thenextwave/pkg/web/webcmd" "github.com/wavetermdev/waveterm/pkg/web/webcmd"
"github.com/wavetermdev/thenextwave/pkg/wshrpc" "github.com/wavetermdev/waveterm/pkg/wshrpc"
"github.com/wavetermdev/thenextwave/pkg/wshutil" "github.com/wavetermdev/waveterm/pkg/wshutil"
) )
// add extra types to generate here // add extra types to generate here

View File

@ -11,7 +11,7 @@ import (
"time" "time"
"github.com/google/uuid" "github.com/google/uuid"
"github.com/wavetermdev/thenextwave/pkg/eventbus" "github.com/wavetermdev/waveterm/pkg/eventbus"
) )
var MainUserInputHandler = UserInputHandler{Channels: make(map[string](chan *UserInputResponse), 1)} var MainUserInputHandler = UserInputHandler{Channels: make(map[string](chan *UserInputResponse), 1)}

View File

@ -9,7 +9,7 @@ import (
"strconv" "strconv"
"time" "time"
"github.com/wavetermdev/thenextwave/pkg/util/utilfn" "github.com/wavetermdev/waveterm/pkg/util/utilfn"
) )
var customDayStrRe = regexp.MustCompile(`^((?:\d{4}-\d{2}-\d{2})|today|yesterday|bom|bow)?((?:[+-]\d+[dwm])*)$`) var customDayStrRe = regexp.MustCompile(`^((?:\d{4}-\d{2}-\d{2})|today|yesterday|bom|bow)?((?:[+-]\d+[dwm])*)$`)

View File

@ -17,9 +17,9 @@ import (
"sync" "sync"
"time" "time"
"github.com/wavetermdev/thenextwave/pkg/util/utilfn" "github.com/wavetermdev/waveterm/pkg/util/utilfn"
"github.com/wavetermdev/thenextwave/pkg/wavebase" "github.com/wavetermdev/waveterm/pkg/wavebase"
"github.com/wavetermdev/thenextwave/pkg/waveobj" "github.com/wavetermdev/waveterm/pkg/waveobj"
) )
const DefaultTermType = "xterm-256color" const DefaultTermType = "xterm-256color"

View File

@ -13,9 +13,9 @@ import (
"time" "time"
openaiapi "github.com/sashabaranov/go-openai" openaiapi "github.com/sashabaranov/go-openai"
"github.com/wavetermdev/thenextwave/pkg/wavebase" "github.com/wavetermdev/waveterm/pkg/wavebase"
"github.com/wavetermdev/thenextwave/pkg/wcloud" "github.com/wavetermdev/waveterm/pkg/wcloud"
"github.com/wavetermdev/thenextwave/pkg/wshrpc" "github.com/wavetermdev/waveterm/pkg/wshrpc"
"github.com/gorilla/websocket" "github.com/gorilla/websocket"
) )

View File

@ -13,7 +13,7 @@ import (
"github.com/google/uuid" "github.com/google/uuid"
"github.com/mitchellh/mapstructure" "github.com/mitchellh/mapstructure"
"github.com/wavetermdev/thenextwave/pkg/util/utilfn" "github.com/wavetermdev/waveterm/pkg/util/utilfn"
) )
const ( const (

View File

@ -17,9 +17,9 @@ import (
"strings" "strings"
"time" "time"
"github.com/wavetermdev/thenextwave/pkg/telemetry" "github.com/wavetermdev/waveterm/pkg/telemetry"
"github.com/wavetermdev/thenextwave/pkg/util/daystr" "github.com/wavetermdev/waveterm/pkg/util/daystr"
"github.com/wavetermdev/thenextwave/pkg/wavebase" "github.com/wavetermdev/waveterm/pkg/wavebase"
) )
const WCloudEndpoint = "https://api.waveterm.dev/central" const WCloudEndpoint = "https://api.waveterm.dev/central"

View File

@ -4,7 +4,7 @@
package wcloud package wcloud
import ( import (
"github.com/wavetermdev/thenextwave/pkg/telemetry" "github.com/wavetermdev/waveterm/pkg/telemetry"
) )
type NoTelemetryInputType struct { type NoTelemetryInputType struct {

View File

@ -10,8 +10,8 @@ import (
"sync" "sync"
"github.com/fsnotify/fsnotify" "github.com/fsnotify/fsnotify"
"github.com/wavetermdev/thenextwave/pkg/eventbus" "github.com/wavetermdev/waveterm/pkg/eventbus"
"github.com/wavetermdev/thenextwave/pkg/wavebase" "github.com/wavetermdev/waveterm/pkg/wavebase"
) )
const configDir = "config" const configDir = "config"

View File

@ -13,9 +13,9 @@ import (
"sort" "sort"
"strings" "strings"
"github.com/wavetermdev/thenextwave/pkg/util/utilfn" "github.com/wavetermdev/waveterm/pkg/util/utilfn"
"github.com/wavetermdev/thenextwave/pkg/waveobj" "github.com/wavetermdev/waveterm/pkg/waveobj"
"github.com/wavetermdev/thenextwave/pkg/wconfig/defaultconfig" "github.com/wavetermdev/waveterm/pkg/wconfig/defaultconfig"
) )
const SettingsFile = "settings.json" const SettingsFile = "settings.json"

View File

@ -10,11 +10,11 @@ import (
"time" "time"
"github.com/google/uuid" "github.com/google/uuid"
"github.com/wavetermdev/thenextwave/pkg/blockcontroller" "github.com/wavetermdev/waveterm/pkg/blockcontroller"
"github.com/wavetermdev/thenextwave/pkg/waveobj" "github.com/wavetermdev/waveterm/pkg/waveobj"
"github.com/wavetermdev/thenextwave/pkg/wps" "github.com/wavetermdev/waveterm/pkg/wps"
"github.com/wavetermdev/thenextwave/pkg/wshrpc" "github.com/wavetermdev/waveterm/pkg/wshrpc"
"github.com/wavetermdev/thenextwave/pkg/wstore" "github.com/wavetermdev/waveterm/pkg/wstore"
) )
// the wcore package coordinates actions across the storage layer // the wcore package coordinates actions across the storage layer

View File

@ -21,17 +21,17 @@ import (
"github.com/google/uuid" "github.com/google/uuid"
"github.com/gorilla/handlers" "github.com/gorilla/handlers"
"github.com/gorilla/mux" "github.com/gorilla/mux"
"github.com/wavetermdev/thenextwave/pkg/authkey" "github.com/wavetermdev/waveterm/pkg/authkey"
"github.com/wavetermdev/thenextwave/pkg/filestore" "github.com/wavetermdev/waveterm/pkg/filestore"
"github.com/wavetermdev/thenextwave/pkg/service" "github.com/wavetermdev/waveterm/pkg/service"
"github.com/wavetermdev/thenextwave/pkg/telemetry" "github.com/wavetermdev/waveterm/pkg/telemetry"
"github.com/wavetermdev/thenextwave/pkg/wavebase" "github.com/wavetermdev/waveterm/pkg/wavebase"
"github.com/wavetermdev/thenextwave/pkg/waveobj" "github.com/wavetermdev/waveterm/pkg/waveobj"
"github.com/wavetermdev/thenextwave/pkg/wshrpc" "github.com/wavetermdev/waveterm/pkg/wshrpc"
"github.com/wavetermdev/thenextwave/pkg/wshrpc/wshclient" "github.com/wavetermdev/waveterm/pkg/wshrpc/wshclient"
"github.com/wavetermdev/thenextwave/pkg/wshrpc/wshserver" "github.com/wavetermdev/waveterm/pkg/wshrpc/wshserver"
"github.com/wavetermdev/thenextwave/pkg/wshutil" "github.com/wavetermdev/waveterm/pkg/wshutil"
"github.com/wavetermdev/thenextwave/pkg/wstore" "github.com/wavetermdev/waveterm/pkg/wstore"
) )
type WebFnType = func(http.ResponseWriter, *http.Request) type WebFnType = func(http.ResponseWriter, *http.Request)

View File

@ -7,10 +7,10 @@ import (
"fmt" "fmt"
"reflect" "reflect"
"github.com/wavetermdev/thenextwave/pkg/tsgen/tsgenmeta" "github.com/wavetermdev/waveterm/pkg/tsgen/tsgenmeta"
"github.com/wavetermdev/thenextwave/pkg/util/utilfn" "github.com/wavetermdev/waveterm/pkg/util/utilfn"
"github.com/wavetermdev/thenextwave/pkg/waveobj" "github.com/wavetermdev/waveterm/pkg/waveobj"
"github.com/wavetermdev/thenextwave/pkg/wshutil" "github.com/wavetermdev/waveterm/pkg/wshutil"
) )
const ( const (

View File

@ -16,11 +16,11 @@ import (
"github.com/google/uuid" "github.com/google/uuid"
"github.com/gorilla/mux" "github.com/gorilla/mux"
"github.com/gorilla/websocket" "github.com/gorilla/websocket"
"github.com/wavetermdev/thenextwave/pkg/authkey" "github.com/wavetermdev/waveterm/pkg/authkey"
"github.com/wavetermdev/thenextwave/pkg/eventbus" "github.com/wavetermdev/waveterm/pkg/eventbus"
"github.com/wavetermdev/thenextwave/pkg/web/webcmd" "github.com/wavetermdev/waveterm/pkg/web/webcmd"
"github.com/wavetermdev/thenextwave/pkg/wshrpc" "github.com/wavetermdev/waveterm/pkg/wshrpc"
"github.com/wavetermdev/thenextwave/pkg/wshutil" "github.com/wavetermdev/waveterm/pkg/wshutil"
) )
const wsReadWaitTimeout = 15 * time.Second const wsReadWaitTimeout = 15 * time.Second

View File

@ -9,9 +9,9 @@ import (
"log" "log"
"time" "time"
"github.com/wavetermdev/thenextwave/pkg/waveobj" "github.com/wavetermdev/waveterm/pkg/waveobj"
"github.com/wavetermdev/thenextwave/pkg/wcore" "github.com/wavetermdev/waveterm/pkg/wcore"
"github.com/wavetermdev/thenextwave/pkg/wstore" "github.com/wavetermdev/waveterm/pkg/wstore"
) )
const ( const (

View File

@ -9,8 +9,8 @@ import (
"strings" "strings"
"sync" "sync"
"github.com/wavetermdev/thenextwave/pkg/util/utilfn" "github.com/wavetermdev/waveterm/pkg/util/utilfn"
"github.com/wavetermdev/thenextwave/pkg/wshrpc" "github.com/wavetermdev/waveterm/pkg/wshrpc"
) )
// this broker interface is mostly generic // this broker interface is mostly generic

View File

@ -6,10 +6,10 @@
package wshclient package wshclient
import ( import (
"github.com/wavetermdev/thenextwave/pkg/wshutil" "github.com/wavetermdev/waveterm/pkg/wshutil"
"github.com/wavetermdev/thenextwave/pkg/wshrpc" "github.com/wavetermdev/waveterm/pkg/wshrpc"
"github.com/wavetermdev/thenextwave/pkg/waveobj" "github.com/wavetermdev/waveterm/pkg/waveobj"
"github.com/wavetermdev/thenextwave/pkg/wconfig" "github.com/wavetermdev/waveterm/pkg/wconfig"
) )
// command "announce", wshserver.AnnounceCommand // command "announce", wshserver.AnnounceCommand

View File

@ -6,9 +6,9 @@ package wshclient
import ( import (
"errors" "errors"
"github.com/wavetermdev/thenextwave/pkg/util/utilfn" "github.com/wavetermdev/waveterm/pkg/util/utilfn"
"github.com/wavetermdev/thenextwave/pkg/wshrpc" "github.com/wavetermdev/waveterm/pkg/wshrpc"
"github.com/wavetermdev/thenextwave/pkg/wshutil" "github.com/wavetermdev/waveterm/pkg/wshutil"
) )
func sendRpcRequestCallHelper[T any](w *wshutil.WshRpc, command string, data interface{}, opts *wshrpc.RpcOpts) (T, error) { func sendRpcRequestCallHelper[T any](w *wshutil.WshRpc, command string, data interface{}, opts *wshrpc.RpcOpts) (T, error) {

View File

@ -10,9 +10,9 @@ import (
"github.com/shirou/gopsutil/v4/cpu" "github.com/shirou/gopsutil/v4/cpu"
"github.com/shirou/gopsutil/v4/mem" "github.com/shirou/gopsutil/v4/mem"
"github.com/wavetermdev/thenextwave/pkg/wshrpc" "github.com/wavetermdev/waveterm/pkg/wshrpc"
"github.com/wavetermdev/thenextwave/pkg/wshrpc/wshclient" "github.com/wavetermdev/waveterm/pkg/wshrpc/wshclient"
"github.com/wavetermdev/thenextwave/pkg/wshutil" "github.com/wavetermdev/waveterm/pkg/wshutil"
) )
func getCpuData(values map[string]float64) { func getCpuData(values map[string]float64) {

View File

@ -15,9 +15,9 @@ import (
"path/filepath" "path/filepath"
"strings" "strings"
"github.com/wavetermdev/thenextwave/pkg/util/utilfn" "github.com/wavetermdev/waveterm/pkg/util/utilfn"
"github.com/wavetermdev/thenextwave/pkg/wavebase" "github.com/wavetermdev/waveterm/pkg/wavebase"
"github.com/wavetermdev/thenextwave/pkg/wshrpc" "github.com/wavetermdev/waveterm/pkg/wshrpc"
) )
const MaxFileSize = 50 * 1024 * 1024 // 10M const MaxFileSize = 50 * 1024 * 1024 // 10M

View File

@ -10,10 +10,10 @@ import (
"os" "os"
"reflect" "reflect"
"github.com/wavetermdev/thenextwave/pkg/ijson" "github.com/wavetermdev/waveterm/pkg/ijson"
"github.com/wavetermdev/thenextwave/pkg/util/utilfn" "github.com/wavetermdev/waveterm/pkg/util/utilfn"
"github.com/wavetermdev/thenextwave/pkg/waveobj" "github.com/wavetermdev/waveterm/pkg/waveobj"
"github.com/wavetermdev/thenextwave/pkg/wconfig" "github.com/wavetermdev/waveterm/pkg/wconfig"
) )
const LocalConnName = "local" const LocalConnName = "local"

View File

@ -17,21 +17,21 @@ import (
"strings" "strings"
"time" "time"
"github.com/wavetermdev/thenextwave/pkg/blockcontroller" "github.com/wavetermdev/waveterm/pkg/blockcontroller"
"github.com/wavetermdev/thenextwave/pkg/eventbus" "github.com/wavetermdev/waveterm/pkg/eventbus"
"github.com/wavetermdev/thenextwave/pkg/filestore" "github.com/wavetermdev/waveterm/pkg/filestore"
"github.com/wavetermdev/thenextwave/pkg/remote" "github.com/wavetermdev/waveterm/pkg/remote"
"github.com/wavetermdev/thenextwave/pkg/remote/conncontroller" "github.com/wavetermdev/waveterm/pkg/remote/conncontroller"
"github.com/wavetermdev/thenextwave/pkg/waveai" "github.com/wavetermdev/waveterm/pkg/waveai"
"github.com/wavetermdev/thenextwave/pkg/waveobj" "github.com/wavetermdev/waveterm/pkg/waveobj"
"github.com/wavetermdev/thenextwave/pkg/wconfig" "github.com/wavetermdev/waveterm/pkg/wconfig"
"github.com/wavetermdev/thenextwave/pkg/wcore" "github.com/wavetermdev/waveterm/pkg/wcore"
"github.com/wavetermdev/thenextwave/pkg/wlayout" "github.com/wavetermdev/waveterm/pkg/wlayout"
"github.com/wavetermdev/thenextwave/pkg/wps" "github.com/wavetermdev/waveterm/pkg/wps"
"github.com/wavetermdev/thenextwave/pkg/wshrpc" "github.com/wavetermdev/waveterm/pkg/wshrpc"
"github.com/wavetermdev/thenextwave/pkg/wshrpc/wshclient" "github.com/wavetermdev/waveterm/pkg/wshrpc/wshclient"
"github.com/wavetermdev/thenextwave/pkg/wshutil" "github.com/wavetermdev/waveterm/pkg/wshutil"
"github.com/wavetermdev/thenextwave/pkg/wstore" "github.com/wavetermdev/waveterm/pkg/wstore"
) )
const SimpleId_This = "this" const SimpleId_This = "this"

View File

@ -6,8 +6,8 @@ package wshserver
import ( import (
"sync" "sync"
"github.com/wavetermdev/thenextwave/pkg/wshrpc" "github.com/wavetermdev/waveterm/pkg/wshrpc"
"github.com/wavetermdev/thenextwave/pkg/wshutil" "github.com/wavetermdev/waveterm/pkg/wshutil"
) )
const ( const (

View File

@ -8,8 +8,8 @@ import (
"reflect" "reflect"
"strings" "strings"
"github.com/wavetermdev/thenextwave/pkg/util/utilfn" "github.com/wavetermdev/waveterm/pkg/util/utilfn"
"github.com/wavetermdev/thenextwave/pkg/wshrpc" "github.com/wavetermdev/waveterm/pkg/wshrpc"
) )
var WshCommandDeclMap = wshrpc.GenerateWshCommandDeclMap() var WshCommandDeclMap = wshrpc.GenerateWshCommandDeclMap()

View File

@ -7,7 +7,7 @@ import (
"sync" "sync"
"github.com/google/uuid" "github.com/google/uuid"
"github.com/wavetermdev/thenextwave/pkg/wshrpc" "github.com/wavetermdev/waveterm/pkg/wshrpc"
) )
// event inverter. converts WaveEvents to a listener.On() API // event inverter. converts WaveEvents to a listener.On() API

View File

@ -10,7 +10,7 @@ import (
"sync" "sync"
"github.com/google/uuid" "github.com/google/uuid"
"github.com/wavetermdev/thenextwave/pkg/wshrpc" "github.com/wavetermdev/waveterm/pkg/wshrpc"
) )
type WshRpcProxy struct { type WshRpcProxy struct {

View File

@ -12,8 +12,8 @@ import (
"sync" "sync"
"time" "time"
"github.com/wavetermdev/thenextwave/pkg/wps" "github.com/wavetermdev/waveterm/pkg/wps"
"github.com/wavetermdev/thenextwave/pkg/wshrpc" "github.com/wavetermdev/waveterm/pkg/wshrpc"
) )
const DefaultRoute = "wavesrv" const DefaultRoute = "wavesrv"

View File

@ -16,8 +16,8 @@ import (
"time" "time"
"github.com/google/uuid" "github.com/google/uuid"
"github.com/wavetermdev/thenextwave/pkg/util/utilfn" "github.com/wavetermdev/waveterm/pkg/util/utilfn"
"github.com/wavetermdev/thenextwave/pkg/wshrpc" "github.com/wavetermdev/waveterm/pkg/wshrpc"
) )
const DefaultTimeoutMs = 5000 const DefaultTimeoutMs = 5000

View File

@ -19,8 +19,8 @@ import (
"github.com/golang-jwt/jwt/v5" "github.com/golang-jwt/jwt/v5"
"github.com/google/uuid" "github.com/google/uuid"
"github.com/wavetermdev/thenextwave/pkg/wavebase" "github.com/wavetermdev/waveterm/pkg/wavebase"
"github.com/wavetermdev/thenextwave/pkg/wshrpc" "github.com/wavetermdev/waveterm/pkg/wshrpc"
"golang.org/x/term" "golang.org/x/term"
) )

View File

@ -8,8 +8,8 @@ import (
"fmt" "fmt"
"github.com/google/uuid" "github.com/google/uuid"
"github.com/wavetermdev/thenextwave/pkg/util/utilfn" "github.com/wavetermdev/waveterm/pkg/util/utilfn"
"github.com/wavetermdev/thenextwave/pkg/waveobj" "github.com/wavetermdev/waveterm/pkg/waveobj"
) )
func init() { func init() {

View File

@ -10,8 +10,8 @@ import (
"time" "time"
"github.com/jmoiron/sqlx" "github.com/jmoiron/sqlx"
"github.com/wavetermdev/thenextwave/pkg/wavebase" "github.com/wavetermdev/waveterm/pkg/wavebase"
"github.com/wavetermdev/thenextwave/pkg/waveobj" "github.com/wavetermdev/waveterm/pkg/waveobj"
) )
const OldDBName = "~/.waveterm/waveterm.db" const OldDBName = "~/.waveterm/waveterm.db"

View File

@ -10,9 +10,9 @@ import (
"reflect" "reflect"
"time" "time"
"github.com/wavetermdev/thenextwave/pkg/filestore" "github.com/wavetermdev/waveterm/pkg/filestore"
"github.com/wavetermdev/thenextwave/pkg/util/dbutil" "github.com/wavetermdev/waveterm/pkg/util/dbutil"
"github.com/wavetermdev/thenextwave/pkg/waveobj" "github.com/wavetermdev/waveterm/pkg/waveobj"
) )
var ErrNotFound = fmt.Errorf("not found") var ErrNotFound = fmt.Errorf("not found")

View File

@ -12,11 +12,11 @@ import (
"github.com/jmoiron/sqlx" "github.com/jmoiron/sqlx"
"github.com/sawka/txwrap" "github.com/sawka/txwrap"
"github.com/wavetermdev/thenextwave/pkg/util/migrateutil" "github.com/wavetermdev/waveterm/pkg/util/migrateutil"
"github.com/wavetermdev/thenextwave/pkg/wavebase" "github.com/wavetermdev/waveterm/pkg/wavebase"
"github.com/wavetermdev/thenextwave/pkg/waveobj" "github.com/wavetermdev/waveterm/pkg/waveobj"
dbfs "github.com/wavetermdev/thenextwave/db" dbfs "github.com/wavetermdev/waveterm/db"
) )
const WStoreDBName = "waveterm.db" const WStoreDBName = "waveterm.db"