@jskit-ai/assistant-core 0.1.124 → 0.1.128

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.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jskit-ai/assistant-core",
3
- "version": "0.1.124",
3
+ "version": "0.1.128",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "test": "node --test"
@@ -11,13 +11,13 @@
11
11
  "./shared": "./src/shared/index.js"
12
12
  },
13
13
  "dependencies": {
14
- "@jskit-ai/database-runtime": "0.1.147",
15
- "@jskit-ai/http-runtime": "0.1.146",
16
- "@jskit-ai/kernel": "0.1.147",
17
- "@jskit-ai/resource-crud-core": "0.1.90",
18
- "@jskit-ai/resource-core": "0.1.90",
19
- "@jskit-ai/users-core": "0.1.161",
20
- "dompurify": "^3.4.12",
14
+ "@jskit-ai/database-runtime": "0.1.152",
15
+ "@jskit-ai/http-runtime": "0.1.150",
16
+ "@jskit-ai/kernel": "0.1.152",
17
+ "@jskit-ai/resource-core": "0.1.94",
18
+ "@jskit-ai/resource-crud-core": "0.1.94",
19
+ "@jskit-ai/users-core": "0.1.165",
20
+ "dompurify": "^3.4.13",
21
21
  "json-rest-schema": "^1.0.17",
22
22
  "marked": "^17.0.4",
23
23
  "openai": "^6.22.0"
@@ -25,5 +25,67 @@
25
25
  "peerDependencies": {
26
26
  "vue": "^3.5.13",
27
27
  "vuetify": "^4.0.0"
28
+ },
29
+ "description": "Reusable assistant client/server/shared primitives without surface-specific routes or settings ownership.",
30
+ "jskit": {
31
+ "kind": "runtime",
32
+ "capabilities": {
33
+ "provides": [
34
+ "assistant.core"
35
+ ],
36
+ "requires": []
37
+ },
38
+ "runtime": {
39
+ "server": {
40
+ "providers": []
41
+ },
42
+ "client": {
43
+ "providers": []
44
+ }
45
+ },
46
+ "metadata": {
47
+ "apiSummary": {
48
+ "surfaces": [
49
+ {
50
+ "subpath": "./client",
51
+ "summary": "Exports reusable assistant UI primitives, HTTP helpers, and client API builders."
52
+ },
53
+ {
54
+ "subpath": "./server",
55
+ "summary": "Exports reusable assistant AI/provider helpers, NDJSON streaming helpers, and repository persistence helpers."
56
+ },
57
+ {
58
+ "subpath": "./shared",
59
+ "summary": "Exports reusable assistant validators, path helpers, query keys, and stream/settings events."
60
+ }
61
+ ],
62
+ "containerTokens": {
63
+ "server": [],
64
+ "client": []
65
+ }
66
+ }
67
+ },
68
+ "mutations": {
69
+ "dependencies": {
70
+ "runtime": {
71
+ "@jskit-ai/http-runtime": "0.1.150",
72
+ "@jskit-ai/kernel": "0.1.152",
73
+ "@jskit-ai/resource-core": "0.1.94",
74
+ "@jskit-ai/resource-crud-core": "0.1.94",
75
+ "@jskit-ai/users-core": "0.1.165",
76
+ "dompurify": "^3.4.13",
77
+ "json-rest-schema": "^1.0.17",
78
+ "marked": "^17.0.4",
79
+ "openai": "^6.22.0"
80
+ },
81
+ "dev": {}
82
+ },
83
+ "packageJson": {
84
+ "scripts": {}
85
+ },
86
+ "procfile": {},
87
+ "files": [],
88
+ "text": []
89
+ }
28
90
  }
29
91
  }
@@ -0,0 +1,15 @@
1
+ import assert from "node:assert/strict";
2
+ import test from "node:test";
3
+ import packageJson from "../package.json" with { type: "json" };
4
+
5
+ const packageMetadata = packageJson.jskit;
6
+
7
+ test("assistant-core advertises a portable json-rest-schema runtime dependency for app installs", () => {
8
+ const specifier = String(packageMetadata?.mutations?.dependencies?.runtime?.["json-rest-schema"] || "");
9
+
10
+ assert.match(
11
+ specifier,
12
+ /^(?:[~^]?\d+\.\d+\.\d+(?:[-+][0-9A-Za-z.-]+)?|\d+\.x\.x)$/,
13
+ "assistant-core packageMetadata must not write a repo-local file: dependency into app package.json"
14
+ );
15
+ });
@@ -1,69 +0,0 @@
1
- export default Object.freeze({
2
- packageVersion: 1,
3
- packageId: "@jskit-ai/assistant-core",
4
- version: "0.1.124",
5
- kind: "runtime",
6
- description: "Reusable assistant client/server/shared primitives without surface-specific routes or settings ownership.",
7
- dependsOn: [
8
- "@jskit-ai/http-runtime",
9
- "@jskit-ai/resource-core",
10
- "@jskit-ai/resource-crud-core",
11
- "@jskit-ai/users-core"
12
- ],
13
- capabilities: {
14
- provides: ["assistant.core"],
15
- requires: []
16
- },
17
- runtime: {
18
- server: {
19
- providers: []
20
- },
21
- client: {
22
- providers: []
23
- }
24
- },
25
- metadata: {
26
- apiSummary: {
27
- surfaces: [
28
- {
29
- subpath: "./client",
30
- summary: "Exports reusable assistant UI primitives, HTTP helpers, and client API builders."
31
- },
32
- {
33
- subpath: "./server",
34
- summary: "Exports reusable assistant AI/provider helpers, NDJSON streaming helpers, and repository persistence helpers."
35
- },
36
- {
37
- subpath: "./shared",
38
- summary: "Exports reusable assistant validators, path helpers, query keys, and stream/settings events."
39
- }
40
- ],
41
- containerTokens: {
42
- server: [],
43
- client: []
44
- }
45
- }
46
- },
47
- mutations: {
48
- dependencies: {
49
- runtime: {
50
- "@jskit-ai/http-runtime": "0.1.146",
51
- "@jskit-ai/kernel": "0.1.147",
52
- "@jskit-ai/resource-core": "0.1.90",
53
- "@jskit-ai/resource-crud-core": "0.1.90",
54
- "@jskit-ai/users-core": "0.1.161",
55
- "dompurify": "^3.3.3",
56
- "json-rest-schema": "^1.0.17",
57
- "marked": "^17.0.4",
58
- "openai": "^6.22.0"
59
- },
60
- dev: {}
61
- },
62
- packageJson: {
63
- scripts: {}
64
- },
65
- procfile: {},
66
- files: [],
67
- text: []
68
- }
69
- });
@@ -1,13 +0,0 @@
1
- import assert from "node:assert/strict";
2
- import test from "node:test";
3
- import descriptor from "../package.descriptor.mjs";
4
-
5
- test("assistant-core advertises a portable json-rest-schema runtime dependency for app installs", () => {
6
- const specifier = String(descriptor?.mutations?.dependencies?.runtime?.["json-rest-schema"] || "");
7
-
8
- assert.match(
9
- specifier,
10
- /^(?:[~^]?\d+\.\d+\.\d+(?:[-+][0-9A-Za-z.-]+)?|\d+\.x\.x)$/,
11
- "assistant-core descriptor must not write a repo-local file: dependency into app package.json"
12
- );
13
- });