@scalar/agent-chat 0.3.0 → 0.3.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/dist/entities/index.d.ts +1 -0
- package/dist/entities/index.d.ts.map +1 -1
- package/dist/entities/index.js +17 -15
- package/dist/package.json +1 -1
- package/package.json +5 -5
package/dist/entities/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { type AgentChatError, AgentErrorCodes, } from './error/constants.js';
|
|
2
2
|
export { createError } from './error/helpers.js';
|
|
3
|
+
export { MAX_PROMPT_SIZE } from './prompt/constants.js';
|
|
3
4
|
export { type ApiMetadata, type DocumentSettings, type RegistryDocument, registryApiMetadata, } from './registry/document.js';
|
|
4
5
|
export { ASK_FOR_AUTHENTICATION_TOOL_NAME, type AskForAuthenticationInput, askForAuthenticationInputSchema, } from './tools/ask-for-authentication.js';
|
|
5
6
|
export { TOOL_NAMESPACE_SLUG_DELIMITER } from './tools/constants.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,EACnB,eAAe,GAChB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAC7C,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,mBAAmB,GACpB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EACL,gCAAgC,EAChC,KAAK,yBAAyB,EAC9B,+BAA+B,GAChC,MAAM,gCAAgC,CAAA;AACvC,OAAO,EAAE,6BAA6B,EAAE,MAAM,mBAAmB,CAAA;AACjE,OAAO,EACL,yBAAyB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,6BAA6B,GAC9B,MAAM,yBAAyB,CAAA;AAChC,OAAO,EACL,+BAA+B,EAC/B,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,gCAAgC,GACjC,MAAM,+BAA+B,CAAA;AACtC,OAAO,EACL,mCAAmC,EACnC,KAAK,gCAAgC,GACtC,MAAM,kCAAkC,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,EACnB,eAAe,GAChB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,mBAAmB,GACpB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EACL,gCAAgC,EAChC,KAAK,yBAAyB,EAC9B,+BAA+B,GAChC,MAAM,gCAAgC,CAAA;AACvC,OAAO,EAAE,6BAA6B,EAAE,MAAM,mBAAmB,CAAA;AACjE,OAAO,EACL,yBAAyB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,6BAA6B,GAC9B,MAAM,yBAAyB,CAAA;AAChC,OAAO,EACL,+BAA+B,EAC/B,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,gCAAgC,GACjC,MAAM,+BAA+B,CAAA;AACtC,OAAO,EACL,mCAAmC,EACnC,KAAK,gCAAgC,GACtC,MAAM,kCAAkC,CAAA"}
|
package/dist/entities/index.js
CHANGED
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
import { AgentErrorCodes as e } from "./error/constants.js";
|
|
2
2
|
import { createError as E } from "./error/helpers.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
3
|
+
import { MAX_PROMPT_SIZE as A } from "./prompt/constants.js";
|
|
4
|
+
import { registryApiMetadata as T } from "./registry/document.js";
|
|
5
|
+
import { ASK_FOR_AUTHENTICATION_TOOL_NAME as I, askForAuthenticationInputSchema as M } from "./tools/ask-for-authentication.js";
|
|
6
|
+
import { TOOL_NAMESPACE_SLUG_DELIMITER as S } from "./tools/constants.js";
|
|
7
|
+
import { EXECUTE_REQUEST_TOOL_NAME as N, executeRequestToolInputSchema as P } from "./tools/execute-request.js";
|
|
8
|
+
import { GET_MINI_OPENAPI_SPEC_TOOL_NAME as f, getMiniOpenAPIDocToolInputSchema as n } from "./tools/get-mini-openapi-spec.js";
|
|
9
|
+
import { GET_OPENAPI_SPECS_SUMMARY_TOOL_NAME as L } from "./tools/get-openapi-spec-summary.js";
|
|
9
10
|
export {
|
|
10
|
-
|
|
11
|
+
I as ASK_FOR_AUTHENTICATION_TOOL_NAME,
|
|
11
12
|
e as AgentErrorCodes,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
N as EXECUTE_REQUEST_TOOL_NAME,
|
|
14
|
+
f as GET_MINI_OPENAPI_SPEC_TOOL_NAME,
|
|
15
|
+
L as GET_OPENAPI_SPECS_SUMMARY_TOOL_NAME,
|
|
16
|
+
A as MAX_PROMPT_SIZE,
|
|
17
|
+
S as TOOL_NAMESPACE_SLUG_DELIMITER,
|
|
18
|
+
M as askForAuthenticationInputSchema,
|
|
17
19
|
E as createError,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
P as executeRequestToolInputSchema,
|
|
21
|
+
n as getMiniOpenAPIDocToolInputSchema,
|
|
22
|
+
T as registryApiMetadata
|
|
21
23
|
};
|
package/dist/package.json
CHANGED
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"url": "git+https://github.com/scalar/scalar.git",
|
|
11
11
|
"directory": "packages/agent-chat"
|
|
12
12
|
},
|
|
13
|
-
"version": "0.3.
|
|
13
|
+
"version": "0.3.2",
|
|
14
14
|
"engines": {
|
|
15
15
|
"node": ">=20"
|
|
16
16
|
},
|
|
@@ -49,14 +49,14 @@
|
|
|
49
49
|
"vue": "^3.5.26",
|
|
50
50
|
"whatwg-mimetype": "4.0.0",
|
|
51
51
|
"zod": "^4.3.5",
|
|
52
|
-
"@scalar/icons": "0.5.2",
|
|
53
|
-
"@scalar/components": "0.16.30",
|
|
54
52
|
"@scalar/api-client": "2.20.2",
|
|
53
|
+
"@scalar/icons": "0.5.2",
|
|
54
|
+
"@scalar/openapi-types": "0.5.3",
|
|
55
55
|
"@scalar/helpers": "0.2.9",
|
|
56
|
-
"@scalar/json-magic": "0.9.3",
|
|
57
56
|
"@scalar/themes": "0.13.26",
|
|
58
|
-
"@scalar/
|
|
57
|
+
"@scalar/json-magic": "0.9.3",
|
|
59
58
|
"@scalar/workspace-store": "0.26.2",
|
|
59
|
+
"@scalar/components": "0.16.30",
|
|
60
60
|
"@scalar/types": "0.5.10"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|