@gleanwork/api-client 0.5.1 → 0.6.1

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.
Files changed (83) hide show
  1. package/README.md +15 -15
  2. package/dist/commonjs/funcs/clientAgentsList.d.ts +2 -2
  3. package/dist/commonjs/funcs/clientAgentsList.js +2 -2
  4. package/dist/commonjs/funcs/clientAgentsRetrieve.d.ts +2 -2
  5. package/dist/commonjs/funcs/clientAgentsRetrieve.js +2 -2
  6. package/dist/commonjs/funcs/clientAgentsRetrieveSchemas.d.ts +2 -2
  7. package/dist/commonjs/funcs/clientAgentsRetrieveSchemas.js +2 -2
  8. package/dist/commonjs/funcs/clientAgentsRun.d.ts +2 -2
  9. package/dist/commonjs/funcs/clientAgentsRun.js +2 -2
  10. package/dist/commonjs/funcs/clientAgentsRunStream.d.ts +2 -2
  11. package/dist/commonjs/funcs/clientAgentsRunStream.js +2 -2
  12. package/dist/commonjs/lib/config.d.ts +2 -2
  13. package/dist/commonjs/lib/config.js +2 -2
  14. package/dist/commonjs/models/components/agent.d.ts +16 -6
  15. package/dist/commonjs/models/components/agent.d.ts.map +1 -1
  16. package/dist/commonjs/models/components/agent.js.map +1 -1
  17. package/dist/commonjs/models/components/searchagentsrequest.d.ts +1 -1
  18. package/dist/commonjs/models/components/workflow.d.ts +5 -5
  19. package/dist/commonjs/models/components/workflow.d.ts.map +1 -1
  20. package/dist/commonjs/models/components/workflow.js +2 -2
  21. package/dist/commonjs/models/components/workflow.js.map +1 -1
  22. package/dist/commonjs/react-query/clientAgentsList.d.ts +2 -2
  23. package/dist/commonjs/react-query/clientAgentsList.js +2 -2
  24. package/dist/commonjs/react-query/clientAgentsRetrieve.d.ts +4 -4
  25. package/dist/commonjs/react-query/clientAgentsRetrieve.js +4 -4
  26. package/dist/commonjs/react-query/clientAgentsRetrieveSchemas.d.ts +4 -4
  27. package/dist/commonjs/react-query/clientAgentsRetrieveSchemas.js +4 -4
  28. package/dist/commonjs/react-query/clientAgentsRun.d.ts +2 -2
  29. package/dist/commonjs/react-query/clientAgentsRun.js +2 -2
  30. package/dist/commonjs/react-query/clientAgentsRunStream.d.ts +2 -2
  31. package/dist/commonjs/react-query/clientAgentsRunStream.js +2 -2
  32. package/dist/commonjs/sdk/agents.d.ts +10 -10
  33. package/dist/commonjs/sdk/agents.js +10 -10
  34. package/dist/esm/funcs/clientAgentsList.d.ts +2 -2
  35. package/dist/esm/funcs/clientAgentsList.js +2 -2
  36. package/dist/esm/funcs/clientAgentsRetrieve.d.ts +2 -2
  37. package/dist/esm/funcs/clientAgentsRetrieve.js +2 -2
  38. package/dist/esm/funcs/clientAgentsRetrieveSchemas.d.ts +2 -2
  39. package/dist/esm/funcs/clientAgentsRetrieveSchemas.js +2 -2
  40. package/dist/esm/funcs/clientAgentsRun.d.ts +2 -2
  41. package/dist/esm/funcs/clientAgentsRun.js +2 -2
  42. package/dist/esm/funcs/clientAgentsRunStream.d.ts +2 -2
  43. package/dist/esm/funcs/clientAgentsRunStream.js +2 -2
  44. package/dist/esm/lib/config.d.ts +2 -2
  45. package/dist/esm/lib/config.js +2 -2
  46. package/dist/esm/models/components/agent.d.ts +16 -6
  47. package/dist/esm/models/components/agent.d.ts.map +1 -1
  48. package/dist/esm/models/components/agent.js.map +1 -1
  49. package/dist/esm/models/components/searchagentsrequest.d.ts +1 -1
  50. package/dist/esm/models/components/workflow.d.ts +5 -5
  51. package/dist/esm/models/components/workflow.d.ts.map +1 -1
  52. package/dist/esm/models/components/workflow.js +2 -2
  53. package/dist/esm/models/components/workflow.js.map +1 -1
  54. package/dist/esm/react-query/clientAgentsList.d.ts +2 -2
  55. package/dist/esm/react-query/clientAgentsList.js +2 -2
  56. package/dist/esm/react-query/clientAgentsRetrieve.d.ts +4 -4
  57. package/dist/esm/react-query/clientAgentsRetrieve.js +4 -4
  58. package/dist/esm/react-query/clientAgentsRetrieveSchemas.d.ts +4 -4
  59. package/dist/esm/react-query/clientAgentsRetrieveSchemas.js +4 -4
  60. package/dist/esm/react-query/clientAgentsRun.d.ts +2 -2
  61. package/dist/esm/react-query/clientAgentsRun.js +2 -2
  62. package/dist/esm/react-query/clientAgentsRunStream.d.ts +2 -2
  63. package/dist/esm/react-query/clientAgentsRunStream.js +2 -2
  64. package/dist/esm/sdk/agents.d.ts +10 -10
  65. package/dist/esm/sdk/agents.js +10 -10
  66. package/docs/sdks/agents/README.md +16 -12
  67. package/jsr.json +1 -1
  68. package/package.json +1 -1
  69. package/src/funcs/clientAgentsList.ts +2 -2
  70. package/src/funcs/clientAgentsRetrieve.ts +2 -2
  71. package/src/funcs/clientAgentsRetrieveSchemas.ts +2 -2
  72. package/src/funcs/clientAgentsRun.ts +2 -2
  73. package/src/funcs/clientAgentsRunStream.ts +2 -2
  74. package/src/lib/config.ts +2 -2
  75. package/src/models/components/agent.ts +16 -6
  76. package/src/models/components/searchagentsrequest.ts +1 -1
  77. package/src/models/components/workflow.ts +7 -7
  78. package/src/react-query/clientAgentsList.ts +2 -2
  79. package/src/react-query/clientAgentsRetrieve.ts +4 -4
  80. package/src/react-query/clientAgentsRetrieveSchemas.ts +4 -4
  81. package/src/react-query/clientAgentsRun.ts +2 -2
  82. package/src/react-query/clientAgentsRunStream.ts +2 -2
  83. package/src/sdk/agents.ts +10 -10
package/README.md CHANGED
@@ -293,11 +293,11 @@ For more information on obtaining the appropriate token type, please contact you
293
293
 
294
294
  #### [client.agents](docs/sdks/agents/README.md)
295
295
 
296
- * [retrieve](docs/sdks/agents/README.md#retrieve) - Get Agent
297
- * [retrieveSchemas](docs/sdks/agents/README.md#retrieveschemas) - Get Agent Schemas
298
- * [list](docs/sdks/agents/README.md#list) - Search Agents
299
- * [runStream](docs/sdks/agents/README.md#runstream) - Create Run, Stream Output
300
- * [run](docs/sdks/agents/README.md#run) - Create Run, Wait for Output
296
+ * [retrieve](docs/sdks/agents/README.md#retrieve) - Retrieve an agent
297
+ * [retrieveSchemas](docs/sdks/agents/README.md#retrieveschemas) - List an agent's schemas
298
+ * [list](docs/sdks/agents/README.md#list) - Search agents
299
+ * [runStream](docs/sdks/agents/README.md#runstream) - Create an agent run and stream the response
300
+ * [run](docs/sdks/agents/README.md#run) - Create an agent run and wait for the response
301
301
 
302
302
  #### [client.announcements](docs/sdks/announcements/README.md)
303
303
 
@@ -508,11 +508,11 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
508
508
 
509
509
  - [`clientActivityFeedback`](docs/sdks/activity/README.md#feedback) - Report client activity
510
510
  - [`clientActivityReport`](docs/sdks/activity/README.md#report) - Report document activity
511
- - [`clientAgentsList`](docs/sdks/agents/README.md#list) - Search Agents
512
- - [`clientAgentsRetrieve`](docs/sdks/agents/README.md#retrieve) - Get Agent
513
- - [`clientAgentsRetrieveSchemas`](docs/sdks/agents/README.md#retrieveschemas) - Get Agent Schemas
514
- - [`clientAgentsRun`](docs/sdks/agents/README.md#run) - Create Run, Wait for Output
515
- - [`clientAgentsRunStream`](docs/sdks/agents/README.md#runstream) - Create Run, Stream Output
511
+ - [`clientAgentsList`](docs/sdks/agents/README.md#list) - Search agents
512
+ - [`clientAgentsRetrieve`](docs/sdks/agents/README.md#retrieve) - Retrieve an agent
513
+ - [`clientAgentsRetrieveSchemas`](docs/sdks/agents/README.md#retrieveschemas) - List an agent's schemas
514
+ - [`clientAgentsRun`](docs/sdks/agents/README.md#run) - Create an agent run and wait for the response
515
+ - [`clientAgentsRunStream`](docs/sdks/agents/README.md#runstream) - Create an agent run and stream the response
516
516
  - [`clientAnnouncementsCreate`](docs/sdks/announcements/README.md#create) - Create Announcement
517
517
  - [`clientAnnouncementsDelete`](docs/sdks/announcements/README.md#delete) - Delete Announcement
518
518
  - [`clientAnnouncementsUpdate`](docs/sdks/announcements/README.md#update) - Update Announcement
@@ -647,11 +647,11 @@ To learn about this feature and how to get started, check
647
647
 
648
648
  - [`useClientActivityFeedbackMutation`](docs/sdks/activity/README.md#feedback) - Report client activity
649
649
  - [`useClientActivityReportMutation`](docs/sdks/activity/README.md#report) - Report document activity
650
- - [`useClientAgentsListMutation`](docs/sdks/agents/README.md#list) - Search Agents
651
- - [`useClientAgentsRetrieve`](docs/sdks/agents/README.md#retrieve) - Get Agent
652
- - [`useClientAgentsRetrieveSchemas`](docs/sdks/agents/README.md#retrieveschemas) - Get Agent Schemas
653
- - [`useClientAgentsRunMutation`](docs/sdks/agents/README.md#run) - Create Run, Wait for Output
654
- - [`useClientAgentsRunStreamMutation`](docs/sdks/agents/README.md#runstream) - Create Run, Stream Output
650
+ - [`useClientAgentsListMutation`](docs/sdks/agents/README.md#list) - Search agents
651
+ - [`useClientAgentsRetrieve`](docs/sdks/agents/README.md#retrieve) - Retrieve an agent
652
+ - [`useClientAgentsRetrieveSchemas`](docs/sdks/agents/README.md#retrieveschemas) - List an agent's schemas
653
+ - [`useClientAgentsRunMutation`](docs/sdks/agents/README.md#run) - Create an agent run and wait for the response
654
+ - [`useClientAgentsRunStreamMutation`](docs/sdks/agents/README.md#runstream) - Create an agent run and stream the response
655
655
  - [`useClientAnnouncementsCreateMutation`](docs/sdks/announcements/README.md#create) - Create Announcement
656
656
  - [`useClientAnnouncementsDeleteMutation`](docs/sdks/announcements/README.md#delete) - Delete Announcement
657
657
  - [`useClientAnnouncementsUpdateMutation`](docs/sdks/announcements/README.md#update) - Update Announcement
@@ -7,10 +7,10 @@ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
7
7
  import { APIPromise } from "../types/async.js";
8
8
  import { Result } from "../types/fp.js";
9
9
  /**
10
- * Search Agents
10
+ * Search agents
11
11
  *
12
12
  * @remarks
13
- * List Agents available in this service. This endpoint implements the LangChain Agent Protocol, specifically part of the Agents stage (https://langchain-ai.github.io/agent-protocol/api.html#tag/agents/POST/agents/search). It adheres to the standard contract defined for agent interoperability and can be used by agent runtimes that support the Agent Protocol.
13
+ * Search for [agents](https://developers.glean.com/agents/agents-api) by agent name.
14
14
  */
15
15
  export declare function clientAgentsList(client: GleanCore, request: components.SearchAgentsRequest, options?: RequestOptions): APIPromise<Result<components.SearchAgentsResponse, GleanError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
16
16
  //# sourceMappingURL=clientAgentsList.d.ts.map
@@ -46,10 +46,10 @@ const url_js_1 = require("../lib/url.js");
46
46
  const components = __importStar(require("../models/components/index.js"));
47
47
  const async_js_1 = require("../types/async.js");
48
48
  /**
49
- * Search Agents
49
+ * Search agents
50
50
  *
51
51
  * @remarks
52
- * List Agents available in this service. This endpoint implements the LangChain Agent Protocol, specifically part of the Agents stage (https://langchain-ai.github.io/agent-protocol/api.html#tag/agents/POST/agents/search). It adheres to the standard contract defined for agent interoperability and can be used by agent runtimes that support the Agent Protocol.
52
+ * Search for [agents](https://developers.glean.com/agents/agents-api) by agent name.
53
53
  */
54
54
  function clientAgentsList(client, request, options) {
55
55
  return new async_js_1.APIPromise($do(client, request, options));
@@ -7,10 +7,10 @@ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
7
7
  import { APIPromise } from "../types/async.js";
8
8
  import { Result } from "../types/fp.js";
9
9
  /**
10
- * Get Agent
10
+ * Retrieve an agent
11
11
  *
12
12
  * @remarks
13
- * Get an agent by ID. This endpoint implements the LangChain Agent Protocol, specifically part of the Agents stage (https://langchain-ai.github.io/agent-protocol/api.html#tag/agents/GET/agents/{agent_id}). It adheres to the standard contract defined for agent interoperability and can be used by agent runtimes that support the Agent Protocol.
13
+ * Returns details of an [agent](https://developers.glean.com/agents/agents-api) created in the Agent Builder.
14
14
  */
15
15
  export declare function clientAgentsRetrieve(client: GleanCore, agentId: string, timezoneOffset?: number | undefined, options?: RequestOptions): APIPromise<Result<components.Agent, GleanError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
16
16
  //# sourceMappingURL=clientAgentsRetrieve.d.ts.map
@@ -47,10 +47,10 @@ const components = __importStar(require("../models/components/index.js"));
47
47
  const operations = __importStar(require("../models/operations/index.js"));
48
48
  const async_js_1 = require("../types/async.js");
49
49
  /**
50
- * Get Agent
50
+ * Retrieve an agent
51
51
  *
52
52
  * @remarks
53
- * Get an agent by ID. This endpoint implements the LangChain Agent Protocol, specifically part of the Agents stage (https://langchain-ai.github.io/agent-protocol/api.html#tag/agents/GET/agents/{agent_id}). It adheres to the standard contract defined for agent interoperability and can be used by agent runtimes that support the Agent Protocol.
53
+ * Returns details of an [agent](https://developers.glean.com/agents/agents-api) created in the Agent Builder.
54
54
  */
55
55
  function clientAgentsRetrieve(client, agentId, timezoneOffset, options) {
56
56
  return new async_js_1.APIPromise($do(client, agentId, timezoneOffset, options));
@@ -7,10 +7,10 @@ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
7
7
  import { APIPromise } from "../types/async.js";
8
8
  import { Result } from "../types/fp.js";
9
9
  /**
10
- * Get Agent Schemas
10
+ * List an agent's schemas
11
11
  *
12
12
  * @remarks
13
- * Get an agent's schemas by ID. This endpoint implements the LangChain Agent Protocol, specifically part of the Agents stage (https://langchain-ai.github.io/agent-protocol/api.html#tag/agents/GET/agents/{agent_id}/schemas). It adheres to the standard contract defined for agent interoperability and can be used by agent runtimes that support the Agent Protocol.
13
+ * Return [agent](https://developers.glean.com/agents/agents-api)'s input and output schemas. You can use these schemas to detect changes to an agent's input or output structure.
14
14
  */
15
15
  export declare function clientAgentsRetrieveSchemas(client: GleanCore, agentId: string, timezoneOffset?: number | undefined, options?: RequestOptions): APIPromise<Result<components.AgentSchemas, GleanError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
16
16
  //# sourceMappingURL=clientAgentsRetrieveSchemas.d.ts.map
@@ -47,10 +47,10 @@ const components = __importStar(require("../models/components/index.js"));
47
47
  const operations = __importStar(require("../models/operations/index.js"));
48
48
  const async_js_1 = require("../types/async.js");
49
49
  /**
50
- * Get Agent Schemas
50
+ * List an agent's schemas
51
51
  *
52
52
  * @remarks
53
- * Get an agent's schemas by ID. This endpoint implements the LangChain Agent Protocol, specifically part of the Agents stage (https://langchain-ai.github.io/agent-protocol/api.html#tag/agents/GET/agents/{agent_id}/schemas). It adheres to the standard contract defined for agent interoperability and can be used by agent runtimes that support the Agent Protocol.
53
+ * Return [agent](https://developers.glean.com/agents/agents-api)'s input and output schemas. You can use these schemas to detect changes to an agent's input or output structure.
54
54
  */
55
55
  function clientAgentsRetrieveSchemas(client, agentId, timezoneOffset, options) {
56
56
  return new async_js_1.APIPromise($do(client, agentId, timezoneOffset, options));
@@ -7,10 +7,10 @@ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
7
7
  import { APIPromise } from "../types/async.js";
8
8
  import { Result } from "../types/fp.js";
9
9
  /**
10
- * Create Run, Wait for Output
10
+ * Create an agent run and wait for the response
11
11
  *
12
12
  * @remarks
13
- * Creates and triggers a run of an agent. Waits for final output and then returns it. This endpoint implements the LangChain Agent Protocol, specifically part of the Runs stage (https://langchain-ai.github.io/agent-protocol/api.html#tag/runs/POST/runs/wait). It adheres to the standard contract defined for agent interoperability and can be used by agent runtimes that support the Agent Protocol. Note that running agents that reference third party platform write actions is unsupported as it requires user confirmation.
13
+ * Executes an [agent](https://developers.glean.com/agents/agents-api) run and returns the final response.
14
14
  */
15
15
  export declare function clientAgentsRun(client: GleanCore, request: components.AgentRunCreate, options?: RequestOptions): APIPromise<Result<components.AgentRunWaitResponse, GleanError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
16
16
  //# sourceMappingURL=clientAgentsRun.d.ts.map
@@ -46,10 +46,10 @@ const url_js_1 = require("../lib/url.js");
46
46
  const components = __importStar(require("../models/components/index.js"));
47
47
  const async_js_1 = require("../types/async.js");
48
48
  /**
49
- * Create Run, Wait for Output
49
+ * Create an agent run and wait for the response
50
50
  *
51
51
  * @remarks
52
- * Creates and triggers a run of an agent. Waits for final output and then returns it. This endpoint implements the LangChain Agent Protocol, specifically part of the Runs stage (https://langchain-ai.github.io/agent-protocol/api.html#tag/runs/POST/runs/wait). It adheres to the standard contract defined for agent interoperability and can be used by agent runtimes that support the Agent Protocol. Note that running agents that reference third party platform write actions is unsupported as it requires user confirmation.
52
+ * Executes an [agent](https://developers.glean.com/agents/agents-api) run and returns the final response.
53
53
  */
54
54
  function clientAgentsRun(client, request, options) {
55
55
  return new async_js_1.APIPromise($do(client, request, options));
@@ -7,10 +7,10 @@ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
7
7
  import { APIPromise } from "../types/async.js";
8
8
  import { Result } from "../types/fp.js";
9
9
  /**
10
- * Create Run, Stream Output
10
+ * Create an agent run and stream the response
11
11
  *
12
12
  * @remarks
13
- * Creates and triggers a run of an agent. Streams the output in SSE format. This endpoint implements the LangChain Agent Protocol, specifically part of the Runs stage (https://langchain-ai.github.io/agent-protocol/api.html#tag/runs/POST/runs/stream). It adheres to the standard contract defined for agent interoperability and can be used by agent runtimes that support the Agent Protocol. Note that running agents that reference third party platform write actions is unsupported as it requires user confirmation.
13
+ * Executes an [agent](https://developers.glean.com/agents/agents-api) run and returns the result as a stream of server-sent events (SSE).
14
14
  */
15
15
  export declare function clientAgentsRunStream(client: GleanCore, request: components.AgentRunCreate, options?: RequestOptions): APIPromise<Result<string, GleanError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
16
16
  //# sourceMappingURL=clientAgentsRunStream.d.ts.map
@@ -47,10 +47,10 @@ const url_js_1 = require("../lib/url.js");
47
47
  const components = __importStar(require("../models/components/index.js"));
48
48
  const async_js_1 = require("../types/async.js");
49
49
  /**
50
- * Create Run, Stream Output
50
+ * Create an agent run and stream the response
51
51
  *
52
52
  * @remarks
53
- * Creates and triggers a run of an agent. Streams the output in SSE format. This endpoint implements the LangChain Agent Protocol, specifically part of the Runs stage (https://langchain-ai.github.io/agent-protocol/api.html#tag/runs/POST/runs/stream). It adheres to the standard contract defined for agent interoperability and can be used by agent runtimes that support the Agent Protocol. Note that running agents that reference third party platform write actions is unsupported as it requires user confirmation.
53
+ * Executes an [agent](https://developers.glean.com/agents/agents-api) run and returns the result as a stream of server-sent events (SSE).
54
54
  */
55
55
  function clientAgentsRunStream(client, request, options) {
56
56
  return new async_js_1.APIPromise($do(client, request, options));
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
31
31
  export declare const SDK_METADATA: {
32
32
  readonly language: "typescript";
33
33
  readonly openapiDocVersion: "0.9.0";
34
- readonly sdkVersion: "0.5.1";
34
+ readonly sdkVersion: "0.6.1";
35
35
  readonly genVersion: "2.610.0";
36
- readonly userAgent: "speakeasy-sdk/typescript 0.5.1 2.610.0 0.9.0 @gleanwork/api-client";
36
+ readonly userAgent: "speakeasy-sdk/typescript 0.6.1 2.610.0 0.9.0 @gleanwork/api-client";
37
37
  };
38
38
  //# sourceMappingURL=config.d.ts.map
@@ -34,8 +34,8 @@ function serverURLFromOptions(options) {
34
34
  exports.SDK_METADATA = {
35
35
  language: "typescript",
36
36
  openapiDocVersion: "0.9.0",
37
- sdkVersion: "0.5.1",
37
+ sdkVersion: "0.6.1",
38
38
  genVersion: "2.610.0",
39
- userAgent: "speakeasy-sdk/typescript 0.5.1 2.610.0 0.9.0 @gleanwork/api-client",
39
+ userAgent: "speakeasy-sdk/typescript 0.6.1 2.610.0 0.9.0 @gleanwork/api-client",
40
40
  };
41
41
  //# sourceMappingURL=config.js.map
@@ -2,19 +2,24 @@ import * as z from "zod";
2
2
  import { Result as SafeParseResult } from "../../types/fp.js";
3
3
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
4
  /**
5
- * The agent metadata.
5
+ * The agent metadata. Currently not implemented.
6
6
  */
7
7
  export type AgentMetadata = {};
8
8
  /**
9
- * Describes which protocol features the agent supports. In addition to the standard capabilities (prefixed with ap.), implementations can declare custom capabilities, named in reverse domain notation (eg. com.example.some.capability).
9
+ * Describes features that the agent supports. example: {
10
+ *
11
+ * @remarks
12
+ * "ap.io.messages": true,
13
+ * "ap.io.streaming": true
14
+ * }
10
15
  */
11
16
  export type AgentCapabilities = {
12
17
  /**
13
- * Whether the agent supports Messages as input/output/state. If true, the agent uses the `messages` key in threads/runs endpoints.
18
+ * Whether the agent supports messages as an input. If true, you'll pass `messages` as an input when running the agent.
14
19
  */
15
20
  apIoMessages?: boolean | undefined;
16
21
  /**
17
- * Whether the agent supports streaming output.
22
+ * Whether the agent supports streaming output. If true, you you can stream agent ouput. All agents currently support streaming.
18
23
  */
19
24
  apIoStreaming?: boolean | undefined;
20
25
  additionalProperties?: {
@@ -35,11 +40,16 @@ export type Agent = {
35
40
  */
36
41
  description?: string | undefined;
37
42
  /**
38
- * The agent metadata.
43
+ * The agent metadata. Currently not implemented.
39
44
  */
40
45
  metadata?: AgentMetadata | undefined;
41
46
  /**
42
- * Describes which protocol features the agent supports. In addition to the standard capabilities (prefixed with ap.), implementations can declare custom capabilities, named in reverse domain notation (eg. com.example.some.capability).
47
+ * Describes features that the agent supports. example: {
48
+ *
49
+ * @remarks
50
+ * "ap.io.messages": true,
51
+ * "ap.io.streaming": true
52
+ * }
43
53
  */
44
54
  capabilities: AgentCapabilities;
45
55
  };
@@ -1 +1 @@
1
- {"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../../../../src/models/components/agent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAMzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,EAAE,CAAC;AAE/B;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACpC,oBAAoB,CAAC,EAAE;QAAE,CAAC,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Y,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,wCAAgC,CAAC;CAC7D,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,OAAO,EAAE,UAAU;KACpB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,MAAM,CAOtB;AAPD,WAAiB,MAAM;IACrB,qDAAqD;IACxC,oBAAa,GAAG,2BAAmB,CAAC;IACjD,sDAAsD;IACzC,qBAAc,GAAG,4BAAoB,CAAC;AAGrD,CAAC,EAPgB,MAAM,sBAAN,MAAM,QAOtB;AAED,SAAgB,WAAW,CAAC,KAAY;IACtC,OAAO,IAAI,CAAC,SAAS,CAAC,4BAAoB,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;AAC3D,CAAC;AAED,SAAgB,aAAa,CAC3B,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,2BAAmB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/C,mCAAmC,CACpC,CAAC;AACJ,CAAC"}
@@ -3,7 +3,7 @@ import { Result as SafeParseResult } from "../../types/fp.js";
3
3
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
4
  export type SearchAgentsRequest = {
5
5
  /**
6
- * Filters on the name of the agent. If empty, acts as no filter.
6
+ * Filters on the name of the agent. The keyword search is case-insensitive. If search string is ommited or empty, acts as no filter.
7
7
  */
8
8
  name?: string | undefined;
9
9
  };
@@ -4,6 +4,10 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
4
  import { ObjectPermissions, ObjectPermissions$Outbound } from "./objectpermissions.js";
5
5
  import { Person, Person$Outbound } from "./person.js";
6
6
  export type Workflow = {
7
+ /**
8
+ * The name of the workflow.
9
+ */
10
+ name?: string | undefined;
7
11
  author?: Person | undefined;
8
12
  /**
9
13
  * Server Unix timestamp of the creation time.
@@ -15,10 +19,6 @@ export type Workflow = {
15
19
  lastUpdateTimestamp?: number | undefined;
16
20
  lastUpdatedBy?: Person | undefined;
17
21
  permissions?: ObjectPermissions | undefined;
18
- /**
19
- * The name of the workflow.
20
- */
21
- name?: string | undefined;
22
22
  /**
23
23
  * The ID of the workflow.
24
24
  */
@@ -28,12 +28,12 @@ export type Workflow = {
28
28
  export declare const Workflow$inboundSchema: z.ZodType<Workflow, z.ZodTypeDef, unknown>;
29
29
  /** @internal */
30
30
  export type Workflow$Outbound = {
31
+ name?: string | undefined;
31
32
  author?: Person$Outbound | undefined;
32
33
  createTimestamp?: number | undefined;
33
34
  lastUpdateTimestamp?: number | undefined;
34
35
  lastUpdatedBy?: Person$Outbound | undefined;
35
36
  permissions?: ObjectPermissions$Outbound | undefined;
36
- name?: string | undefined;
37
37
  id?: string | undefined;
38
38
  };
39
39
  /** @internal */
@@ -1 +1 @@
1
- {"version":3,"file":"workflow.d.ts","sourceRoot":"","sources":["../../../../src/models/components/workflow.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,iBAAiB,EAEjB,0BAA0B,EAE3B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,MAAM,EAEN,eAAe,EAEhB,MAAM,aAAa,CAAC;AAErB,MAAM,MAAM,QAAQ,GAAG;IACrB,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;I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,SAAS,CAAC;IACrD,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACzB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uBAAuB,EAAE,CAAC,CAAC,OAAO,CAC7C,iBAAiB,EACjB,CAAC,CAAC,UAAU,EACZ,QAAQ,CASR,CAAC;AAEH;;;GAGG;AACH,yBAAiB,SAAS,CAAC;IACzB,wDAAwD;IACjD,MAAM,aAAa,4CAAyB,CAAC;IACpD,yDAAyD;IAClD,MAAM,cAAc,sDAA0B,CAAC;IACtD,mDAAmD;IACnD,KAAY,QAAQ,GAAG,iBAAiB,CAAC;CAC1C;AAED,wBAAgB,cAAc,CAAC,QAAQ,EAAE,QAAQ,GAAG,MAAM,CAEzD;AAED,wBAAgB,gBAAgB,CAC9B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,QAAQ,EAAE,kBAAkB,CAAC,CAM/C"}
@@ -45,22 +45,22 @@ const objectpermissions_js_1 = require("./objectpermissions.js");
45
45
  const person_js_1 = require("./person.js");
46
46
  /** @internal */
47
47
  exports.Workflow$inboundSchema = z.object({
48
+ name: z.string().optional(),
48
49
  author: person_js_1.Person$inboundSchema.optional(),
49
50
  createTimestamp: z.number().int().optional(),
50
51
  lastUpdateTimestamp: z.number().int().optional(),
51
52
  lastUpdatedBy: person_js_1.Person$inboundSchema.optional(),
52
53
  permissions: objectpermissions_js_1.ObjectPermissions$inboundSchema.optional(),
53
- name: z.string().optional(),
54
54
  id: z.string().optional(),
55
55
  });
56
56
  /** @internal */
57
57
  exports.Workflow$outboundSchema = z.object({
58
+ name: z.string().optional(),
58
59
  author: person_js_1.Person$outboundSchema.optional(),
59
60
  createTimestamp: z.number().int().optional(),
60
61
  lastUpdateTimestamp: z.number().int().optional(),
61
62
  lastUpdatedBy: person_js_1.Person$outboundSchema.optional(),
62
63
  permissions: objectpermissions_js_1.ObjectPermissions$outboundSchema.optional(),
63
- name: z.string().optional(),
64
64
  id: z.string().optional(),
65
65
  });
66
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
- * Search Agents
12
+ * Search agents
13
13
  *
14
14
  * @remarks
15
- * List Agents available in this service. This endpoint implements the LangChain Agent Protocol, specifically part of the Agents stage (https://langchain-ai.github.io/agent-protocol/api.html#tag/agents/POST/agents/search). It adheres to the standard contract defined for agent interoperability and can be used by agent runtimes that support the Agent Protocol.
15
+ * Search for [agents](https://developers.glean.com/agents/agents-api) by agent name.
16
16
  */
17
17
  export declare function useClientAgentsListMutation(options?: MutationHookOptions<ClientAgentsListMutationData, Error, ClientAgentsListMutationVariables>): UseMutationResult<ClientAgentsListMutationData, Error, ClientAgentsListMutationVariables>;
18
18
  export declare function mutationKeyClientAgentsList(): MutationKey;
@@ -12,10 +12,10 @@ const primitives_js_1 = require("../lib/primitives.js");
12
12
  const fp_js_1 = require("../types/fp.js");
13
13
  const _context_js_1 = require("./_context.js");
14
14
  /**
15
- * Search Agents
15
+ * Search agents
16
16
  *
17
17
  * @remarks
18
- * List Agents available in this service. This endpoint implements the LangChain Agent Protocol, specifically part of the Agents stage (https://langchain-ai.github.io/agent-protocol/api.html#tag/agents/POST/agents/search). It adheres to the standard contract defined for agent interoperability and can be used by agent runtimes that support the Agent Protocol.
18
+ * Search for [agents](https://developers.glean.com/agents/agents-api) by agent name.
19
19
  */
20
20
  function useClientAgentsListMutation(options) {
21
21
  const client = (0, _context_js_1.useGleanContext)();
@@ -5,17 +5,17 @@ import * as components from "../models/components/index.js";
5
5
  import { QueryHookOptions, SuspenseQueryHookOptions, TupleToPrefixes } from "./_types.js";
6
6
  export type ClientAgentsRetrieveQueryData = components.Agent;
7
7
  /**
8
- * Get Agent
8
+ * Retrieve an agent
9
9
  *
10
10
  * @remarks
11
- * Get an agent by ID. This endpoint implements the LangChain Agent Protocol, specifically part of the Agents stage (https://langchain-ai.github.io/agent-protocol/api.html#tag/agents/GET/agents/{agent_id}). It adheres to the standard contract defined for agent interoperability and can be used by agent runtimes that support the Agent Protocol.
11
+ * Returns details of an [agent](https://developers.glean.com/agents/agents-api) created in the Agent Builder.
12
12
  */
13
13
  export declare function useClientAgentsRetrieve(agentId: string, timezoneOffset?: number | undefined, options?: QueryHookOptions<ClientAgentsRetrieveQueryData>): UseQueryResult<ClientAgentsRetrieveQueryData, Error>;
14
14
  /**
15
- * Get Agent
15
+ * Retrieve an agent
16
16
  *
17
17
  * @remarks
18
- * Get an agent by ID. This endpoint implements the LangChain Agent Protocol, specifically part of the Agents stage (https://langchain-ai.github.io/agent-protocol/api.html#tag/agents/GET/agents/{agent_id}). It adheres to the standard contract defined for agent interoperability and can be used by agent runtimes that support the Agent Protocol.
18
+ * Returns details of an [agent](https://developers.glean.com/agents/agents-api) created in the Agent Builder.
19
19
  */
20
20
  export declare function useClientAgentsRetrieveSuspense(agentId: string, timezoneOffset?: number | undefined, options?: SuspenseQueryHookOptions<ClientAgentsRetrieveQueryData>): UseSuspenseQueryResult<ClientAgentsRetrieveQueryData, Error>;
21
21
  export declare function prefetchClientAgentsRetrieve(queryClient: QueryClient, client$: GleanCore, agentId: string, timezoneOffset?: number | undefined): Promise<void>;
@@ -17,10 +17,10 @@ const primitives_js_1 = require("../lib/primitives.js");
17
17
  const fp_js_1 = require("../types/fp.js");
18
18
  const _context_js_1 = require("./_context.js");
19
19
  /**
20
- * Get Agent
20
+ * Retrieve an agent
21
21
  *
22
22
  * @remarks
23
- * Get an agent by ID. This endpoint implements the LangChain Agent Protocol, specifically part of the Agents stage (https://langchain-ai.github.io/agent-protocol/api.html#tag/agents/GET/agents/{agent_id}). It adheres to the standard contract defined for agent interoperability and can be used by agent runtimes that support the Agent Protocol.
23
+ * Returns details of an [agent](https://developers.glean.com/agents/agents-api) created in the Agent Builder.
24
24
  */
25
25
  function useClientAgentsRetrieve(agentId, timezoneOffset, options) {
26
26
  const client = (0, _context_js_1.useGleanContext)();
@@ -30,10 +30,10 @@ function useClientAgentsRetrieve(agentId, timezoneOffset, options) {
30
30
  });
31
31
  }
32
32
  /**
33
- * Get Agent
33
+ * Retrieve an agent
34
34
  *
35
35
  * @remarks
36
- * Get an agent by ID. This endpoint implements the LangChain Agent Protocol, specifically part of the Agents stage (https://langchain-ai.github.io/agent-protocol/api.html#tag/agents/GET/agents/{agent_id}). It adheres to the standard contract defined for agent interoperability and can be used by agent runtimes that support the Agent Protocol.
36
+ * Returns details of an [agent](https://developers.glean.com/agents/agents-api) created in the Agent Builder.
37
37
  */
38
38
  function useClientAgentsRetrieveSuspense(agentId, timezoneOffset, options) {
39
39
  const client = (0, _context_js_1.useGleanContext)();
@@ -5,17 +5,17 @@ import * as components from "../models/components/index.js";
5
5
  import { QueryHookOptions, SuspenseQueryHookOptions, TupleToPrefixes } from "./_types.js";
6
6
  export type ClientAgentsRetrieveSchemasQueryData = components.AgentSchemas;
7
7
  /**
8
- * Get Agent Schemas
8
+ * List an agent's schemas
9
9
  *
10
10
  * @remarks
11
- * Get an agent's schemas by ID. This endpoint implements the LangChain Agent Protocol, specifically part of the Agents stage (https://langchain-ai.github.io/agent-protocol/api.html#tag/agents/GET/agents/{agent_id}/schemas). It adheres to the standard contract defined for agent interoperability and can be used by agent runtimes that support the Agent Protocol.
11
+ * Return [agent](https://developers.glean.com/agents/agents-api)'s input and output schemas. You can use these schemas to detect changes to an agent's input or output structure.
12
12
  */
13
13
  export declare function useClientAgentsRetrieveSchemas(agentId: string, timezoneOffset?: number | undefined, options?: QueryHookOptions<ClientAgentsRetrieveSchemasQueryData>): UseQueryResult<ClientAgentsRetrieveSchemasQueryData, Error>;
14
14
  /**
15
- * Get Agent Schemas
15
+ * List an agent's schemas
16
16
  *
17
17
  * @remarks
18
- * Get an agent's schemas by ID. This endpoint implements the LangChain Agent Protocol, specifically part of the Agents stage (https://langchain-ai.github.io/agent-protocol/api.html#tag/agents/GET/agents/{agent_id}/schemas). It adheres to the standard contract defined for agent interoperability and can be used by agent runtimes that support the Agent Protocol.
18
+ * Return [agent](https://developers.glean.com/agents/agents-api)'s input and output schemas. You can use these schemas to detect changes to an agent's input or output structure.
19
19
  */
20
20
  export declare function useClientAgentsRetrieveSchemasSuspense(agentId: string, timezoneOffset?: number | undefined, options?: SuspenseQueryHookOptions<ClientAgentsRetrieveSchemasQueryData>): UseSuspenseQueryResult<ClientAgentsRetrieveSchemasQueryData, Error>;
21
21
  export declare function prefetchClientAgentsRetrieveSchemas(queryClient: QueryClient, client$: GleanCore, agentId: string, timezoneOffset?: number | undefined): Promise<void>;
@@ -17,10 +17,10 @@ const primitives_js_1 = require("../lib/primitives.js");
17
17
  const fp_js_1 = require("../types/fp.js");
18
18
  const _context_js_1 = require("./_context.js");
19
19
  /**
20
- * Get Agent Schemas
20
+ * List an agent's schemas
21
21
  *
22
22
  * @remarks
23
- * Get an agent's schemas by ID. This endpoint implements the LangChain Agent Protocol, specifically part of the Agents stage (https://langchain-ai.github.io/agent-protocol/api.html#tag/agents/GET/agents/{agent_id}/schemas). It adheres to the standard contract defined for agent interoperability and can be used by agent runtimes that support the Agent Protocol.
23
+ * Return [agent](https://developers.glean.com/agents/agents-api)'s input and output schemas. You can use these schemas to detect changes to an agent's input or output structure.
24
24
  */
25
25
  function useClientAgentsRetrieveSchemas(agentId, timezoneOffset, options) {
26
26
  const client = (0, _context_js_1.useGleanContext)();
@@ -30,10 +30,10 @@ function useClientAgentsRetrieveSchemas(agentId, timezoneOffset, options) {
30
30
  });
31
31
  }
32
32
  /**
33
- * Get Agent Schemas
33
+ * List an agent's schemas
34
34
  *
35
35
  * @remarks
36
- * Get an agent's schemas by ID. This endpoint implements the LangChain Agent Protocol, specifically part of the Agents stage (https://langchain-ai.github.io/agent-protocol/api.html#tag/agents/GET/agents/{agent_id}/schemas). It adheres to the standard contract defined for agent interoperability and can be used by agent runtimes that support the Agent Protocol.
36
+ * Return [agent](https://developers.glean.com/agents/agents-api)'s input and output schemas. You can use these schemas to detect changes to an agent's input or output structure.
37
37
  */
38
38
  function useClientAgentsRetrieveSchemasSuspense(agentId, timezoneOffset, options) {
39
39
  const client = (0, _context_js_1.useGleanContext)();
@@ -9,10 +9,10 @@ export type ClientAgentsRunMutationVariables = {
9
9
  };
10
10
  export type ClientAgentsRunMutationData = components.AgentRunWaitResponse;
11
11
  /**
12
- * Create Run, Wait for Output
12
+ * Create an agent run and wait for the response
13
13
  *
14
14
  * @remarks
15
- * Creates and triggers a run of an agent. Waits for final output and then returns it. This endpoint implements the LangChain Agent Protocol, specifically part of the Runs stage (https://langchain-ai.github.io/agent-protocol/api.html#tag/runs/POST/runs/wait). It adheres to the standard contract defined for agent interoperability and can be used by agent runtimes that support the Agent Protocol. Note that running agents that reference third party platform write actions is unsupported as it requires user confirmation.
15
+ * Executes an [agent](https://developers.glean.com/agents/agents-api) run and returns the final response.
16
16
  */
17
17
  export declare function useClientAgentsRunMutation(options?: MutationHookOptions<ClientAgentsRunMutationData, Error, ClientAgentsRunMutationVariables>): UseMutationResult<ClientAgentsRunMutationData, Error, ClientAgentsRunMutationVariables>;
18
18
  export declare function mutationKeyClientAgentsRun(): MutationKey;
@@ -12,10 +12,10 @@ const primitives_js_1 = require("../lib/primitives.js");
12
12
  const fp_js_1 = require("../types/fp.js");
13
13
  const _context_js_1 = require("./_context.js");
14
14
  /**
15
- * Create Run, Wait for Output
15
+ * Create an agent run and wait for the response
16
16
  *
17
17
  * @remarks
18
- * Creates and triggers a run of an agent. Waits for final output and then returns it. This endpoint implements the LangChain Agent Protocol, specifically part of the Runs stage (https://langchain-ai.github.io/agent-protocol/api.html#tag/runs/POST/runs/wait). It adheres to the standard contract defined for agent interoperability and can be used by agent runtimes that support the Agent Protocol. Note that running agents that reference third party platform write actions is unsupported as it requires user confirmation.
18
+ * Executes an [agent](https://developers.glean.com/agents/agents-api) run and returns the final response.
19
19
  */
20
20
  function useClientAgentsRunMutation(options) {
21
21
  const client = (0, _context_js_1.useGleanContext)();
@@ -9,10 +9,10 @@ export type ClientAgentsRunStreamMutationVariables = {
9
9
  };
10
10
  export type ClientAgentsRunStreamMutationData = string;
11
11
  /**
12
- * Create Run, Stream Output
12
+ * Create an agent run and stream the response
13
13
  *
14
14
  * @remarks
15
- * Creates and triggers a run of an agent. Streams the output in SSE format. This endpoint implements the LangChain Agent Protocol, specifically part of the Runs stage (https://langchain-ai.github.io/agent-protocol/api.html#tag/runs/POST/runs/stream). It adheres to the standard contract defined for agent interoperability and can be used by agent runtimes that support the Agent Protocol. Note that running agents that reference third party platform write actions is unsupported as it requires user confirmation.
15
+ * Executes an [agent](https://developers.glean.com/agents/agents-api) run and returns the result as a stream of server-sent events (SSE).
16
16
  */
17
17
  export declare function useClientAgentsRunStreamMutation(options?: MutationHookOptions<ClientAgentsRunStreamMutationData, Error, ClientAgentsRunStreamMutationVariables>): UseMutationResult<ClientAgentsRunStreamMutationData, Error, ClientAgentsRunStreamMutationVariables>;
18
18
  export declare function mutationKeyClientAgentsRunStream(): MutationKey;