@jskit-ai/assistant-runtime 0.1.8 → 0.1.10

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.
@@ -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.8",
4
+ version: "0.1.10",
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.13",
78
- "@jskit-ai/database-runtime": "0.1.37",
79
- "@jskit-ai/http-runtime": "0.1.36",
80
- "@jskit-ai/kernel": "0.1.37",
81
- "@jskit-ai/shell-web": "0.1.36",
82
- "@jskit-ai/users-core": "0.1.47",
83
- "@jskit-ai/users-web": "0.1.52",
81
+ "@jskit-ai/assistant-core": "0.1.15",
82
+ "@jskit-ai/database-runtime": "0.1.39",
83
+ "@jskit-ai/http-runtime": "0.1.38",
84
+ "@jskit-ai/kernel": "0.1.39",
85
+ "@jskit-ai/shell-web": "0.1.38",
86
+ "@jskit-ai/users-core": "0.1.49",
87
+ "@jskit-ai/users-web": "0.1.54",
88
+ "@jskit-ai/workspaces-core": "0.1.15",
89
+ "@jskit-ai/workspaces-web": "0.1.15",
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.8",
3
+ "version": "0.1.10",
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.13",
12
- "@jskit-ai/database-runtime": "0.1.37",
13
- "@jskit-ai/http-runtime": "0.1.36",
14
- "@jskit-ai/kernel": "0.1.37",
15
- "@jskit-ai/shell-web": "0.1.36",
16
- "@jskit-ai/users-core": "0.1.47",
17
- "@jskit-ai/users-web": "0.1.52",
11
+ "@jskit-ai/assistant-core": "0.1.15",
12
+ "@jskit-ai/database-runtime": "0.1.39",
13
+ "@jskit-ai/http-runtime": "0.1.38",
14
+ "@jskit-ai/kernel": "0.1.39",
15
+ "@jskit-ai/shell-web": "0.1.38",
16
+ "@jskit-ai/users-core": "0.1.49",
17
+ "@jskit-ai/users-web": "0.1.54",
18
+ "@jskit-ai/workspaces-core": "0.1.15",
19
+ "@jskit-ai/workspaces-web": "0.1.15",
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/users-web/client/composables/useWorkspaceRouteContext";
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/users-web/client/composables/useWorkspaceRouteContext";
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/users-core/server/support/workspaceRouteInput";
6
- import { workspaceSlugParamsValidator } from "@jskit-ai/users-core/server/validators/routeParamsValidator";
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/users-core/server/support/resolveWorkspace";
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/users-core/server/support/resolveWorkspace";
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