@karmaniverous/jeeves-server 3.5.0 → 3.5.2
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/.tsbuildinfo +1 -1
- package/CHANGELOG.md +21 -1
- package/dist/src/cli/commands/config.test.js +1 -1
- package/dist/src/cli/index.js +2 -0
- package/dist/src/descriptor.js +5 -0
- package/package.json +2 -3
- package/src/cli/commands/config.test.ts +1 -1
- package/src/cli/index.ts +5 -1
- package/src/descriptor.ts +5 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,26 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
|
|
4
4
|
|
|
5
|
-
#### [3.5.
|
|
5
|
+
#### [3.5.2](https://github.com/karmaniverous/jeeves-server/compare/service/3.5.1...3.5.2)
|
|
6
|
+
|
|
7
|
+
- [53] Fix pre-existing lint + knip errors (Commander type resolution) [`#140`](https://github.com/karmaniverous/jeeves-server/pull/140)
|
|
8
|
+
- [53] Integrate core v0.4.6: init() before descriptor.run() + knip fixes [`#139`](https://github.com/karmaniverous/jeeves-server/pull/139)
|
|
9
|
+
- [53] chore: bump core to v0.4.6 (init before run) + fix knip issues [`e5f466a`](https://github.com/karmaniverous/jeeves-server/commit/e5f466a0df574e1052601fc99b0110aaf2136666)
|
|
10
|
+
- [53] chore: bump core to v0.4.6 (init before run) + fix knip issues [`cc2adb6`](https://github.com/karmaniverous/jeeves-server/commit/cc2adb6c4d2a540a145bdcb04a712b2f6b77fa9e)
|
|
11
|
+
- chore: release @karmaniverous/jeeves-server-openclaw v0.6.1 [`b0a4bec`](https://github.com/karmaniverous/jeeves-server/commit/b0a4bec47f5141d13e59070683f7d459e82a9faa)
|
|
12
|
+
|
|
13
|
+
#### [service/3.5.1](https://github.com/karmaniverous/jeeves-server/compare/service/3.5.0...service/3.5.1)
|
|
14
|
+
|
|
15
|
+
> 31 March 2026
|
|
16
|
+
|
|
17
|
+
- [51] Integrate descriptor.run from core v0.4.5 [`#137`](https://github.com/karmaniverous/jeeves-server/pull/137)
|
|
18
|
+
- chore: release @karmaniverous/jeeves-server-openclaw v0.6.0 [`bfa7501`](https://github.com/karmaniverous/jeeves-server/commit/bfa7501f80fb1c2c8a29f7e548b4092f1bc44395)
|
|
19
|
+
- [51] feat: integrate descriptor.run from core v0.4.5 [`74bebef`](https://github.com/karmaniverous/jeeves-server/commit/74bebef9adfe433621c1f4dd1b4877634ee65f6f)
|
|
20
|
+
- chore: release @karmaniverous/jeeves-server v3.5.1 [`fd56acc`](https://github.com/karmaniverous/jeeves-server/commit/fd56accdacacc97bf47f18e489df6d87b8d6be35)
|
|
21
|
+
|
|
22
|
+
#### [service/3.5.0](https://github.com/karmaniverous/jeeves-server/compare/service/3.4.2...service/3.5.0)
|
|
23
|
+
|
|
24
|
+
> 30 March 2026
|
|
6
25
|
|
|
7
26
|
- Fix config validate test assertion [`#136`](https://github.com/karmaniverous/jeeves-server/pull/136)
|
|
8
27
|
- [35] Component SDK adoption (core v0.4.4) + plugin/CLI factories [`#134`](https://github.com/karmaniverous/jeeves-server/pull/134)
|
|
@@ -24,6 +43,7 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
24
43
|
- [35] fix: resolve lint errors from core v0.4.4 migration [`4b0c11d`](https://github.com/karmaniverous/jeeves-server/commit/4b0c11d89f22a00f0f86583e484551682bb57c06)
|
|
25
44
|
- [35] chore: bump @karmaniverous/jeeves to ^0.4.3, remove cosmiconfig dep [`8d3162b`](https://github.com/karmaniverous/jeeves-server/commit/8d3162b572167dcb5be5725956f37845d4518677)
|
|
26
45
|
- [35] feat: define JeevesComponentDescriptor for server component [`16c5b56`](https://github.com/karmaniverous/jeeves-server/commit/16c5b56ffa3600f613562b5a5e3a08629c5b1b5a)
|
|
46
|
+
- chore: release @karmaniverous/jeeves-server v3.5.0 [`f41da11`](https://github.com/karmaniverous/jeeves-server/commit/f41da1126d2180996720107cfb340b47e1b50838)
|
|
27
47
|
- [35] feat: use getBindAddress from core, replace localhost with 127.0.0.1 [`1df9dc6`](https://github.com/karmaniverous/jeeves-server/commit/1df9dc60df3ba838bc692ada8143eb06723a3671)
|
|
28
48
|
- [35] docs: add title front matter to all guides [`840f9c7`](https://github.com/karmaniverous/jeeves-server/commit/840f9c77d0c746d13983931ec69185f935036ac6)
|
|
29
49
|
- [35] fix: encode browse path segments in API calls, add SPA catch-all (#50, #127) [`dce3f11`](https://github.com/karmaniverous/jeeves-server/commit/dce3f111018937535f4e614208312653e5ea5f18)
|
|
@@ -38,7 +38,7 @@ describe('jeeves-server config validate', () => {
|
|
|
38
38
|
it('validates a valid config and prints success', async () => {
|
|
39
39
|
const configPath = writeConfig(tmpDir, VALID_CONFIG);
|
|
40
40
|
const { stdout } = await runCli(['config', 'validate', '-c', configPath]);
|
|
41
|
-
expect(stdout).toContain('
|
|
41
|
+
expect(stdout).toContain('Config is valid');
|
|
42
42
|
});
|
|
43
43
|
it('exits with error for invalid config', async () => {
|
|
44
44
|
const configPath = writeConfig(tmpDir, { port: 1234 });
|
package/dist/src/cli/index.js
CHANGED
|
@@ -10,5 +10,7 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import { createServiceCli } from '@karmaniverous/jeeves';
|
|
12
12
|
import { serverDescriptor } from '../descriptor.js';
|
|
13
|
+
// Type assertion: core's bundled .d.ts doesn't fully resolve the Command
|
|
14
|
+
// return type for eslint, but the runtime value is a Commander instance.
|
|
13
15
|
const cli = createServiceCli(serverDescriptor);
|
|
14
16
|
cli.parse();
|
package/dist/src/descriptor.js
CHANGED
|
@@ -33,6 +33,11 @@ export const serverDescriptor = jeevesComponentDescriptorSchema.parse({
|
|
|
33
33
|
const { resetConfig } = await import('./config/index.js');
|
|
34
34
|
resetConfig();
|
|
35
35
|
},
|
|
36
|
+
run: async (configPath) => {
|
|
37
|
+
const { initConfig } = await import('./config/index.js');
|
|
38
|
+
initConfig(configPath);
|
|
39
|
+
await import('./server.js');
|
|
40
|
+
},
|
|
36
41
|
startCommand: (configPath) => [
|
|
37
42
|
'node',
|
|
38
43
|
startServerPath,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@karmaniverous/jeeves-server",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.2",
|
|
4
4
|
"description": "Secure file browser, markdown viewer, and webhook gateway with PDF/DOCX export and expiring share links",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fastify",
|
|
@@ -46,10 +46,9 @@
|
|
|
46
46
|
"author": "Jeeves",
|
|
47
47
|
"license": "MIT",
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@commander-js/extra-typings": "^14.0.0",
|
|
50
49
|
"@fastify/cookie": "^11.0.2",
|
|
51
50
|
"@fastify/static": "^8.3.0",
|
|
52
|
-
"@karmaniverous/jeeves": "^0.4.
|
|
51
|
+
"@karmaniverous/jeeves": "^0.4.6",
|
|
53
52
|
"@karmaniverous/jsonmap": "^0.3.1",
|
|
54
53
|
"@mermaid-js/mermaid-cli": "^11.12.0",
|
|
55
54
|
"@turbodocx/html-to-docx": "^1.1.0",
|
|
@@ -53,7 +53,7 @@ describe('jeeves-server config validate', () => {
|
|
|
53
53
|
it('validates a valid config and prints success', async () => {
|
|
54
54
|
const configPath = writeConfig(tmpDir, VALID_CONFIG);
|
|
55
55
|
const { stdout } = await runCli(['config', 'validate', '-c', configPath]);
|
|
56
|
-
expect(stdout).toContain('
|
|
56
|
+
expect(stdout).toContain('Config is valid');
|
|
57
57
|
});
|
|
58
58
|
|
|
59
59
|
it('exits with error for invalid config', async () => {
|
package/src/cli/index.ts
CHANGED
|
@@ -13,6 +13,10 @@ import { createServiceCli } from '@karmaniverous/jeeves';
|
|
|
13
13
|
|
|
14
14
|
import { serverDescriptor } from '../descriptor.js';
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
// Type assertion: core's bundled .d.ts doesn't fully resolve the Command
|
|
17
|
+
// return type for eslint, but the runtime value is a Commander instance.
|
|
18
|
+
const cli = createServiceCli(serverDescriptor) as {
|
|
19
|
+
parse: (argv?: string[]) => void;
|
|
20
|
+
};
|
|
17
21
|
|
|
18
22
|
cli.parse();
|
package/src/descriptor.ts
CHANGED
|
@@ -42,6 +42,11 @@ export const serverDescriptor = jeevesComponentDescriptorSchema.parse({
|
|
|
42
42
|
const { resetConfig } = await import('./config/index.js');
|
|
43
43
|
resetConfig();
|
|
44
44
|
},
|
|
45
|
+
run: async (configPath: string) => {
|
|
46
|
+
const { initConfig } = await import('./config/index.js');
|
|
47
|
+
initConfig(configPath);
|
|
48
|
+
await import('./server.js');
|
|
49
|
+
},
|
|
45
50
|
startCommand: (configPath: string) => [
|
|
46
51
|
'node',
|
|
47
52
|
startServerPath,
|