@jskit-ai/assistant-runtime 0.1.9 → 0.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.descriptor.mjs +16 -10
- package/package.json +10 -8
- package/src/client/components/AssistantSettingsClientElement.vue +1 -1
- package/src/client/composables/useAssistantRuntime.js +1 -1
- package/src/server/registerRoutes.js +2 -2
- package/src/server/services/assistantConfigService.js +1 -1
- package/src/server/services/chatService.js +1 -1
package/package.descriptor.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export default Object.freeze({
|
|
2
2
|
packageVersion: 1,
|
|
3
3
|
packageId: "@jskit-ai/assistant-runtime",
|
|
4
|
-
version: "0.1.
|
|
4
|
+
version: "0.1.11",
|
|
5
5
|
kind: "runtime",
|
|
6
6
|
description: "Shared assistant runtime with per-surface assistant registration.",
|
|
7
7
|
dependsOn: [
|
|
@@ -10,7 +10,9 @@ export default Object.freeze({
|
|
|
10
10
|
"@jskit-ai/http-runtime",
|
|
11
11
|
"@jskit-ai/shell-web",
|
|
12
12
|
"@jskit-ai/users-core",
|
|
13
|
-
"@jskit-ai/users-web"
|
|
13
|
+
"@jskit-ai/users-web",
|
|
14
|
+
"@jskit-ai/workspaces-core",
|
|
15
|
+
"@jskit-ai/workspaces-web"
|
|
14
16
|
],
|
|
15
17
|
capabilities: {
|
|
16
18
|
provides: ["assistant.runtime"],
|
|
@@ -20,7 +22,9 @@ export default Object.freeze({
|
|
|
20
22
|
"auth.policy",
|
|
21
23
|
"runtime.http-client",
|
|
22
24
|
"users.core",
|
|
23
|
-
"users.web"
|
|
25
|
+
"users.web",
|
|
26
|
+
"workspaces.core",
|
|
27
|
+
"workspaces.web"
|
|
24
28
|
]
|
|
25
29
|
},
|
|
26
30
|
runtime: {
|
|
@@ -74,13 +78,15 @@ export default Object.freeze({
|
|
|
74
78
|
mutations: {
|
|
75
79
|
dependencies: {
|
|
76
80
|
runtime: {
|
|
77
|
-
"@jskit-ai/assistant-core": "0.1.
|
|
78
|
-
"@jskit-ai/database-runtime": "0.1.
|
|
79
|
-
"@jskit-ai/http-runtime": "0.1.
|
|
80
|
-
"@jskit-ai/kernel": "0.1.
|
|
81
|
-
"@jskit-ai/shell-web": "0.1.
|
|
82
|
-
"@jskit-ai/users-core": "0.1.
|
|
83
|
-
"@jskit-ai/users-web": "0.1.
|
|
81
|
+
"@jskit-ai/assistant-core": "0.1.16",
|
|
82
|
+
"@jskit-ai/database-runtime": "0.1.40",
|
|
83
|
+
"@jskit-ai/http-runtime": "0.1.39",
|
|
84
|
+
"@jskit-ai/kernel": "0.1.40",
|
|
85
|
+
"@jskit-ai/shell-web": "0.1.39",
|
|
86
|
+
"@jskit-ai/users-core": "0.1.50",
|
|
87
|
+
"@jskit-ai/users-web": "0.1.55",
|
|
88
|
+
"@jskit-ai/workspaces-core": "0.1.16",
|
|
89
|
+
"@jskit-ai/workspaces-web": "0.1.16",
|
|
84
90
|
"@tanstack/vue-query": "^5.90.5",
|
|
85
91
|
"vuetify": "^4.0.0"
|
|
86
92
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jskit-ai/assistant-runtime",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.11",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./client": "./src/client/index.js",
|
|
@@ -8,13 +8,15 @@
|
|
|
8
8
|
"./server/actionIds": "./src/server/actionIds.js"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@jskit-ai/assistant-core": "0.1.
|
|
12
|
-
"@jskit-ai/database-runtime": "0.1.
|
|
13
|
-
"@jskit-ai/http-runtime": "0.1.
|
|
14
|
-
"@jskit-ai/kernel": "0.1.
|
|
15
|
-
"@jskit-ai/shell-web": "0.1.
|
|
16
|
-
"@jskit-ai/users-core": "0.1.
|
|
17
|
-
"@jskit-ai/users-web": "0.1.
|
|
11
|
+
"@jskit-ai/assistant-core": "0.1.16",
|
|
12
|
+
"@jskit-ai/database-runtime": "0.1.40",
|
|
13
|
+
"@jskit-ai/http-runtime": "0.1.39",
|
|
14
|
+
"@jskit-ai/kernel": "0.1.40",
|
|
15
|
+
"@jskit-ai/shell-web": "0.1.39",
|
|
16
|
+
"@jskit-ai/users-core": "0.1.50",
|
|
17
|
+
"@jskit-ai/users-web": "0.1.55",
|
|
18
|
+
"@jskit-ai/workspaces-core": "0.1.16",
|
|
19
|
+
"@jskit-ai/workspaces-web": "0.1.16",
|
|
18
20
|
"@tanstack/vue-query": "^5.90.5",
|
|
19
21
|
"vuetify": "^4.0.0"
|
|
20
22
|
}
|
|
@@ -30,7 +30,7 @@ import { validateOperationSection } from "@jskit-ai/http-runtime/shared/validato
|
|
|
30
30
|
import { assistantHttpClient, createAssistantApi, AssistantSettingsFormCard } from "@jskit-ai/assistant-core/client";
|
|
31
31
|
import { assistantConfigResource, assistantSettingsQueryKey, buildAssistantApiPath } from "@jskit-ai/assistant-core/shared";
|
|
32
32
|
import { useShellWebErrorRuntime } from "@jskit-ai/shell-web/client/error";
|
|
33
|
-
import { useWorkspaceRouteContext } from "@jskit-ai/
|
|
33
|
+
import { useWorkspaceRouteContext } from "@jskit-ai/workspaces-web/client/composables/useWorkspaceRouteContext";
|
|
34
34
|
import { resolveAssistantSurfaceConfig } from "../../shared/assistantSurfaces.js";
|
|
35
35
|
|
|
36
36
|
const props = defineProps({
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "@jskit-ai/assistant-core/client";
|
|
22
22
|
import { useShellWebErrorRuntime } from "@jskit-ai/shell-web/client/error";
|
|
23
23
|
import { usePagedCollection } from "@jskit-ai/users-web/client/composables/usePagedCollection";
|
|
24
|
-
import { useWorkspaceRouteContext } from "@jskit-ai/
|
|
24
|
+
import { useWorkspaceRouteContext } from "@jskit-ai/workspaces-web/client/composables/useWorkspaceRouteContext";
|
|
25
25
|
import { resolveAssistantSurfaceConfig } from "../../shared/assistantSurfaces.js";
|
|
26
26
|
|
|
27
27
|
const DEFAULT_STREAM_TIMEOUT_MS = 120_000;
|
|
@@ -2,8 +2,8 @@ import { AppError } from "@jskit-ai/kernel/server/runtime";
|
|
|
2
2
|
import { resolveAppConfig } from "@jskit-ai/kernel/server/support";
|
|
3
3
|
import { normalizeSurfaceId } from "@jskit-ai/kernel/shared/surface/registry";
|
|
4
4
|
import { withStandardErrorResponses } from "@jskit-ai/http-runtime/shared/validators/errorResponses";
|
|
5
|
-
import { buildWorkspaceInputFromRouteParams } from "@jskit-ai/
|
|
6
|
-
import { workspaceSlugParamsValidator } from "@jskit-ai/
|
|
5
|
+
import { buildWorkspaceInputFromRouteParams } from "@jskit-ai/workspaces-core/server/support/workspaceRouteInput";
|
|
6
|
+
import { workspaceSlugParamsValidator } from "@jskit-ai/workspaces-core/server/validators/routeParamsValidator";
|
|
7
7
|
import {
|
|
8
8
|
assistantConfigResource,
|
|
9
9
|
assistantResource,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AppError, requireAuth } from "@jskit-ai/kernel/server/runtime";
|
|
2
2
|
import { normalizeObject, normalizeRecordId } from "@jskit-ai/kernel/shared/support/normalize";
|
|
3
|
-
import { resolveWorkspace } from "@jskit-ai/
|
|
3
|
+
import { resolveWorkspace } from "@jskit-ai/workspaces-core/server/support/resolveWorkspace";
|
|
4
4
|
import { resolveAssistantSurfaceConfig } from "../../shared/assistantSurfaces.js";
|
|
5
5
|
|
|
6
6
|
function createService({ assistantConfigRepository, consoleService = null, appConfig = {}, resolveAppConfig = null } = {}) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AppError } from "@jskit-ai/kernel/server/runtime";
|
|
2
2
|
import { normalizeObject, normalizeRecordId, normalizeText } from "@jskit-ai/kernel/shared/support/normalize";
|
|
3
|
-
import { resolveWorkspace } from "@jskit-ai/
|
|
3
|
+
import { resolveWorkspace } from "@jskit-ai/workspaces-core/server/support/resolveWorkspace";
|
|
4
4
|
import { resolveWorkspaceSlug } from "@jskit-ai/assistant-core/server";
|
|
5
5
|
import {
|
|
6
6
|
ASSISTANT_STREAM_EVENT_TYPES
|