feat: optimize the package name for cross-domain functionality (#690)

This commit is contained in:
Ryo
2025-08-11 19:04:06 +08:00
committed by GitHub
parent e344828933
commit e03cf4cc87
54 changed files with 69 additions and 69 deletions

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package crossagent
package agent
import (
"context"

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package crossconnector
package connector
import (
"context"

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package crossconversation
package conversation
import (
"context"

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package crossdatabase
package database
import (
"context"

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package crossdatacopy
package datacopy
import (
"context"

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package crossknowledge
package knowledge
import (
"context"

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package crossmessage
package message
import (
"context"

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package crossplugin
package plugin
import (
"context"

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package crosssearch
package search
import (
"context"

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package crossvariables
package variables
import (
"context"

View File

@@ -19,7 +19,7 @@ package agentrun
import (
"context"
"github.com/coze-dev/coze-studio/backend/crossdomain/contract/crossagentrun"
crossagentrun "github.com/coze-dev/coze-studio/backend/crossdomain/contract/agentrun"
agentrun "github.com/coze-dev/coze-studio/backend/domain/conversation/agentrun/service"
)

View File

@@ -20,7 +20,7 @@ import (
"context"
model "github.com/coze-dev/coze-studio/backend/api/model/crossdomain/connector"
"github.com/coze-dev/coze-studio/backend/crossdomain/contract/crossconnector"
crossconnector "github.com/coze-dev/coze-studio/backend/crossdomain/contract/connector"
connector "github.com/coze-dev/coze-studio/backend/domain/connector/service"
)

View File

@@ -20,7 +20,7 @@ import (
"context"
model "github.com/coze-dev/coze-studio/backend/api/model/crossdomain/conversation"
"github.com/coze-dev/coze-studio/backend/crossdomain/contract/crossconversation"
crossconversation "github.com/coze-dev/coze-studio/backend/crossdomain/contract/conversation"
conversation "github.com/coze-dev/coze-studio/backend/domain/conversation/conversation/service"
)

View File

@@ -19,7 +19,7 @@ package crossuser
import (
"context"
"github.com/coze-dev/coze-studio/backend/crossdomain/contract/crossuser"
crossuser "github.com/coze-dev/coze-studio/backend/crossdomain/contract/user"
"github.com/coze-dev/coze-studio/backend/domain/user/entity"
"github.com/coze-dev/coze-studio/backend/domain/user/service"
)

View File

@@ -20,7 +20,7 @@ import (
"context"
model "github.com/coze-dev/coze-studio/backend/api/model/crossdomain/database"
"github.com/coze-dev/coze-studio/backend/crossdomain/contract/crossdatabase"
crossdatabase "github.com/coze-dev/coze-studio/backend/crossdomain/contract/database"
database "github.com/coze-dev/coze-studio/backend/domain/memory/database/service"
)

View File

@@ -22,7 +22,7 @@ import (
"gorm.io/gorm"
"github.com/coze-dev/coze-studio/backend/application/base/appinfra"
"github.com/coze-dev/coze-studio/backend/crossdomain/contract/crossdatacopy"
crossdatacopy "github.com/coze-dev/coze-studio/backend/crossdomain/contract/datacopy"
"github.com/coze-dev/coze-studio/backend/domain/datacopy"
"github.com/coze-dev/coze-studio/backend/domain/datacopy/service"
)

View File

@@ -20,7 +20,7 @@ import (
"context"
model "github.com/coze-dev/coze-studio/backend/api/model/crossdomain/knowledge"
"github.com/coze-dev/coze-studio/backend/crossdomain/contract/crossknowledge"
crossknowledge "github.com/coze-dev/coze-studio/backend/crossdomain/contract/knowledge"
"github.com/coze-dev/coze-studio/backend/domain/knowledge/service"
)

View File

@@ -20,7 +20,7 @@ import (
"context"
model "github.com/coze-dev/coze-studio/backend/api/model/crossdomain/message"
"github.com/coze-dev/coze-studio/backend/crossdomain/contract/crossmessage"
crossmessage "github.com/coze-dev/coze-studio/backend/crossdomain/contract/message"
message "github.com/coze-dev/coze-studio/backend/domain/conversation/message/service"
)

View File

@@ -20,7 +20,7 @@ import (
"context"
model "github.com/coze-dev/coze-studio/backend/api/model/crossdomain/plugin"
"github.com/coze-dev/coze-studio/backend/crossdomain/contract/crossplugin"
crossplugin "github.com/coze-dev/coze-studio/backend/crossdomain/contract/plugin"
"github.com/coze-dev/coze-studio/backend/domain/plugin/entity"
plugin "github.com/coze-dev/coze-studio/backend/domain/plugin/service"
"github.com/coze-dev/coze-studio/backend/pkg/lang/slices"

View File

@@ -20,7 +20,7 @@ import (
"context"
model "github.com/coze-dev/coze-studio/backend/api/model/crossdomain/search"
"github.com/coze-dev/coze-studio/backend/crossdomain/contract/crosssearch"
crosssearch "github.com/coze-dev/coze-studio/backend/crossdomain/contract/search"
"github.com/coze-dev/coze-studio/backend/domain/search/service"
)

View File

@@ -25,7 +25,7 @@ import (
"github.com/coze-dev/coze-studio/backend/api/model/crossdomain/agentrun"
"github.com/coze-dev/coze-studio/backend/api/model/crossdomain/message"
model "github.com/coze-dev/coze-studio/backend/api/model/crossdomain/singleagent"
"github.com/coze-dev/coze-studio/backend/crossdomain/contract/crossagent"
crossagent "github.com/coze-dev/coze-studio/backend/crossdomain/contract/agent"
singleagent "github.com/coze-dev/coze-studio/backend/domain/agent/singleagent/service"
"github.com/coze-dev/coze-studio/backend/domain/conversation/message/entity"
"github.com/coze-dev/coze-studio/backend/infra/contract/imagex"

View File

@@ -22,7 +22,7 @@ import (
model "github.com/coze-dev/coze-studio/backend/api/model/crossdomain/variables"
"github.com/coze-dev/coze-studio/backend/api/model/data/variable/kvmemory"
"github.com/coze-dev/coze-studio/backend/crossdomain/contract/crossvariables"
crossvariables "github.com/coze-dev/coze-studio/backend/crossdomain/contract/variables"
"github.com/coze-dev/coze-studio/backend/domain/memory/variables/entity"
variables "github.com/coze-dev/coze-studio/backend/domain/memory/variables/service"
)

View File

@@ -23,7 +23,7 @@ import (
einoCompose "github.com/cloudwego/eino/compose"
"github.com/cloudwego/eino/schema"
"github.com/coze-dev/coze-studio/backend/crossdomain/contract/crossworkflow"
crossworkflow "github.com/coze-dev/coze-studio/backend/crossdomain/contract/workflow"
"github.com/coze-dev/coze-studio/backend/domain/workflow"
"github.com/coze-dev/coze-studio/backend/domain/workflow/entity"
workflowEntity "github.com/coze-dev/coze-studio/backend/domain/workflow/entity"