@agentuity/server 0.0.79 → 0.0.84
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/dist/index.d.ts +4 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -4
- package/dist/index.js.map +1 -1
- package/package.json +6 -5
- package/src/index.ts +17 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * from './config';
|
|
2
|
-
export * from './logger';
|
|
3
|
-
export * from './server';
|
|
4
1
|
export * from './api';
|
|
5
|
-
export
|
|
2
|
+
export { type ServiceUrls, getServiceUrls } from './config';
|
|
3
|
+
export { type ColorScheme, ConsoleLogger, createLogger } from './logger';
|
|
4
|
+
export { createServerFetchAdapter } from './server';
|
|
5
|
+
export { toJSONSchema } from './schema';
|
|
6
6
|
export { z } from 'zod';
|
|
7
7
|
export type { FetchAdapter, FetchRequest, FetchResponse, FetchSuccessResponse, FetchErrorResponse, Body, ServiceException, } from '@agentuity/core';
|
|
8
8
|
export { buildUrl, toServiceException, toPayload, fromResponse } from '@agentuity/core';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,OAAO,CAAC;AAGtB,OAAO,EAAE,KAAK,WAAW,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG5D,OAAO,EAAE,KAAK,WAAW,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAGzE,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAGpD,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAGxC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,YAAY,EACX,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,oBAAoB,EACpB,kBAAkB,EAClB,IAAI,EACJ,gBAAgB,GAChB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
export * from './logger';
|
|
3
|
-
export * from './server';
|
|
1
|
+
// api exports (from api/index.ts which has barrel exports)
|
|
4
2
|
export * from './api';
|
|
5
|
-
|
|
3
|
+
// config.ts exports
|
|
4
|
+
export { getServiceUrls } from './config';
|
|
5
|
+
// logger.ts exports
|
|
6
|
+
export { ConsoleLogger, createLogger } from './logger';
|
|
7
|
+
// server.ts exports
|
|
8
|
+
export { createServerFetchAdapter } from './server';
|
|
9
|
+
// schema.ts exports
|
|
10
|
+
export { toJSONSchema } from './schema';
|
|
11
|
+
// zod re-export
|
|
6
12
|
export { z } from 'zod';
|
|
7
13
|
export { buildUrl, toServiceException, toPayload, fromResponse } from '@agentuity/core';
|
|
8
14
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,2DAA2D;AAC3D,cAAc,OAAO,CAAC;AAEtB,oBAAoB;AACpB,OAAO,EAAoB,cAAc,EAAE,MAAM,UAAU,CAAC;AAE5D,oBAAoB;AACpB,OAAO,EAAoB,aAAa,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAEzE,oBAAoB;AACpB,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAEpD,oBAAoB;AACpB,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,gBAAgB;AAChB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentuity/server",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.84",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"author": "Agentuity employees and contributors",
|
|
6
6
|
"type": "module",
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"prepublishOnly": "bun run clean && bun run build"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@agentuity/core": "0.0.
|
|
29
|
-
"@agentuity/schema": "0.0.
|
|
28
|
+
"@agentuity/core": "0.0.84",
|
|
29
|
+
"@agentuity/schema": "0.0.84",
|
|
30
30
|
"zod": "^4.1.12"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@agentuity/test-utils": "0.0.
|
|
33
|
+
"@agentuity/test-utils": "0.0.84",
|
|
34
34
|
"@types/bun": "latest",
|
|
35
35
|
"@types/node": "^22.0.0",
|
|
36
36
|
"bun-types": "latest",
|
|
@@ -38,5 +38,6 @@
|
|
|
38
38
|
},
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|
|
41
|
-
}
|
|
41
|
+
},
|
|
42
|
+
"sideEffects": false
|
|
42
43
|
}
|
package/src/index.ts
CHANGED
|
@@ -1,9 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
export * from './logger';
|
|
3
|
-
export * from './server';
|
|
1
|
+
// api exports (from api/index.ts which has barrel exports)
|
|
4
2
|
export * from './api';
|
|
5
|
-
|
|
3
|
+
|
|
4
|
+
// config.ts exports
|
|
5
|
+
export { type ServiceUrls, getServiceUrls } from './config';
|
|
6
|
+
|
|
7
|
+
// logger.ts exports
|
|
8
|
+
export { type ColorScheme, ConsoleLogger, createLogger } from './logger';
|
|
9
|
+
|
|
10
|
+
// server.ts exports
|
|
11
|
+
export { createServerFetchAdapter } from './server';
|
|
12
|
+
|
|
13
|
+
// schema.ts exports
|
|
14
|
+
export { toJSONSchema } from './schema';
|
|
15
|
+
|
|
16
|
+
// zod re-export
|
|
6
17
|
export { z } from 'zod';
|
|
18
|
+
|
|
19
|
+
// @agentuity/core re-exports
|
|
7
20
|
export type {
|
|
8
21
|
FetchAdapter,
|
|
9
22
|
FetchRequest,
|