Skip to content

Commit

Permalink
moves
Browse files Browse the repository at this point in the history
  • Loading branch information
acharneski committed Nov 12, 2023
1 parent caa5574 commit db3abc7
Show file tree
Hide file tree
Showing 26 changed files with 34 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import com.simiacryptus.skyenet.OutputInterceptor
import com.simiacryptus.skyenet.util.AwsUtil.decryptResource
import com.simiacryptus.skyenet.servlet.AuthenticatedWebsite
import com.simiacryptus.skyenet.servlet.UsageServlet
import com.simiacryptus.skyenet.webui.ApplicationBase
import com.simiacryptus.skyenet.sessions.ApplicationBase
import com.simiacryptus.skyenet.servlet.UserInfoServlet
import com.simiacryptus.skyenet.servlet.UserSettingsServlet
import com.simiacryptus.skyenet.webui.WebSocketServer
import com.simiacryptus.skyenet.sessions.WebSocketServer
import jakarta.servlet.DispatcherType
import jakarta.servlet.Servlet
import jakarta.servlet.http.HttpServlet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ package com.simiacryptus.skyenet.servers

import com.simiacryptus.skyenet.actors.CodingActor
import com.simiacryptus.skyenet.util.MarkdownUtil.renderMarkdown
import com.simiacryptus.skyenet.webui.PersistentSessionBase
import com.simiacryptus.skyenet.webui.SessionDiv
import com.simiacryptus.skyenet.webui.MacroChat
import com.simiacryptus.skyenet.webui.MessageWebSocket
import com.simiacryptus.skyenet.sessions.PersistentSessionBase
import com.simiacryptus.skyenet.sessions.SessionDiv
import com.simiacryptus.skyenet.sessions.MacroChat
import com.simiacryptus.skyenet.sessions.MessageWebSocket
import org.slf4j.LoggerFactory
import java.util.*

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.simiacryptus.skyenet.servers

import com.simiacryptus.openai.OpenAIClient
import com.simiacryptus.skyenet.webui.*
import com.simiacryptus.skyenet.sessions.*
import com.simiacryptus.util.JsonUtil

class EmbeddingVisualizer(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ package com.simiacryptus.skyenet.servers

import com.simiacryptus.skyenet.actors.ParsedActor
import com.simiacryptus.skyenet.util.MarkdownUtil.renderMarkdown
import com.simiacryptus.skyenet.webui.PersistentSessionBase
import com.simiacryptus.skyenet.webui.SessionDiv
import com.simiacryptus.skyenet.webui.MacroChat
import com.simiacryptus.skyenet.webui.MessageWebSocket
import com.simiacryptus.skyenet.sessions.PersistentSessionBase
import com.simiacryptus.skyenet.sessions.SessionDiv
import com.simiacryptus.skyenet.sessions.MacroChat
import com.simiacryptus.skyenet.sessions.MessageWebSocket
import com.simiacryptus.util.JsonUtil
import org.slf4j.LoggerFactory

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.simiacryptus.skyenet.servers

import com.simiacryptus.openai.OpenAIClient
import com.simiacryptus.skyenet.webui.*
import com.simiacryptus.skyenet.sessions.*
import org.slf4j.LoggerFactory

open class ReadOnlyApp(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.simiacryptus.skyenet.servers

import com.simiacryptus.skyenet.actors.SimpleActor
import com.simiacryptus.skyenet.webui.*
import com.simiacryptus.skyenet.sessions.*
import com.simiacryptus.skyenet.util.MarkdownUtil
import org.slf4j.LoggerFactory

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.simiacryptus.skyenet.servlet

import com.simiacryptus.skyenet.webui.ApplicationBase
import com.simiacryptus.skyenet.webui.SessionDataStorage
import com.simiacryptus.skyenet.sessions.ApplicationBase
import com.simiacryptus.skyenet.sessions.SessionDataStorage
import jakarta.servlet.http.HttpServlet
import jakarta.servlet.http.HttpServletRequest
import jakarta.servlet.http.HttpServletResponse
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.simiacryptus.skyenet.servlet

import com.simiacryptus.skyenet.webui.SessionDataStorage
import com.simiacryptus.skyenet.sessions.SessionDataStorage
import jakarta.servlet.http.HttpServlet
import jakarta.servlet.http.HttpServletRequest
import jakarta.servlet.http.HttpServletResponse
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.simiacryptus.skyenet.servlet

import com.simiacryptus.skyenet.webui.SessionDataStorage
import com.simiacryptus.skyenet.sessions.SessionDataStorage
import jakarta.servlet.http.HttpServlet
import jakarta.servlet.http.HttpServletRequest
import jakarta.servlet.http.HttpServletResponse
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.simiacryptus.skyenet.servlet

import com.simiacryptus.skyenet.webui.ApplicationBase
import com.simiacryptus.skyenet.sessions.ApplicationBase
import com.simiacryptus.util.JsonUtil
import jakarta.servlet.http.HttpServlet
import jakarta.servlet.http.HttpServletRequest
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.simiacryptus.skyenet.servlet

import com.simiacryptus.skyenet.webui.SessionDataStorage
import com.simiacryptus.skyenet.sessions.SessionDataStorage
import jakarta.servlet.http.HttpServlet
import jakarta.servlet.http.HttpServletRequest
import jakarta.servlet.http.HttpServletResponse
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.simiacryptus.skyenet.webui
package com.simiacryptus.skyenet.sessions

import com.simiacryptus.skyenet.servlet.*
import com.simiacryptus.util.JsonUtil
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.simiacryptus.skyenet.webui
package com.simiacryptus.skyenet.sessions

import com.simiacryptus.openai.OpenAIClient

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.simiacryptus.skyenet.webui
package com.simiacryptus.skyenet.sessions

import com.simiacryptus.openai.OpenAIClient

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.simiacryptus.skyenet.webui
package com.simiacryptus.skyenet.sessions

import com.simiacryptus.openai.OpenAIClient

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.simiacryptus.skyenet.webui
package com.simiacryptus.skyenet.sessions

import java.util.function.Consumer

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.simiacryptus.skyenet.webui
package com.simiacryptus.skyenet.sessions

import java.util.concurrent.Semaphore
import java.util.function.Consumer
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.simiacryptus.skyenet.webui
package com.simiacryptus.skyenet.sessions

import com.simiacryptus.openai.OpenAIClient
import com.simiacryptus.skyenet.servlet.AuthenticatedWebsite
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.simiacryptus.skyenet.webui
package com.simiacryptus.skyenet.sessions

class MutableSessionHandler(initialDelegate: SessionInterface?) : SessionInterface {
private var priorDelegates: MutableList<SessionInterface> = mutableListOf()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.simiacryptus.skyenet.webui
package com.simiacryptus.skyenet.sessions

import com.google.common.util.concurrent.MoreExecutors
import java.util.concurrent.Executors
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.simiacryptus.skyenet.webui
package com.simiacryptus.skyenet.sessions

abstract class SessionBase(val sessionId: String) : SessionInterface {
private val sockets: MutableSet<MessageWebSocket> = mutableSetOf()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.simiacryptus.skyenet.webui
package com.simiacryptus.skyenet.sessions

import com.simiacryptus.util.JsonUtil
import java.io.File
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.simiacryptus.skyenet.webui
package com.simiacryptus.skyenet.sessions

interface SessionInterface {
fun removeSocket(socket: MessageWebSocket)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.simiacryptus.skyenet.webui
package com.simiacryptus.skyenet.sessions

import com.simiacryptus.skyenet.servlet.NewSessionServlet
import org.eclipse.jetty.server.Server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
package com.simiacryptus.skyenet

import com.simiacryptus.openai.OpenAIClient
import com.simiacryptus.skyenet.webui.BasicChat
import com.simiacryptus.skyenet.sessions.BasicChat
import org.eclipse.jetty.server.Server
import java.awt.Desktop
import java.net.URI
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.simiacryptus.skyenet

import com.simiacryptus.skyenet.webui.SessionDataStorage
import com.simiacryptus.skyenet.sessions.SessionDataStorage
import org.junit.jupiter.api.AfterEach
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Assertions.assertTrue
Expand Down

0 comments on commit db3abc7

Please sign in to comment.