Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
378 changes: 316 additions & 62 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: true
go:
version: 0.17.8
version: 0.17.9
additionalDependencies: {}
allowUnknownFieldsInWeakUnions: false
baseErrorName: GleanError
Expand Down
1,152 changes: 1,070 additions & 82 deletions .speakeasy/glean-merged-spec.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/tests.arazzo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -164602,7 +164602,7 @@ workflows:
- condition: $response.header.Content-Type == application/json
- context: $response.body
condition: |
{"agent":{"agent_id":"mho4lwzylcozgoc2","name":"HR Policy Agent","capabilities":{}},"request_id":"<id>"}
{"agent":{"name":"HR Policy Agent","agent_id":"mho4lwzylcozgoc2","capabilities":{},"subagents":[{"name":"HR Policy Agent"}]},"request_id":"<id>"}
type: simple
x-speakeasy-test-group: agents
x-speakeasy-test-rebuild: true
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ speakeasyVersion: 1.810.0
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:0ce4e9b2b8560aa2004ea154dba75c6bb685cccc1fc5dd9a0b10c8825182e0b5
sourceBlobDigest: sha256:4f89567ad6174b01fa95ea0e4c705bcfe303ad158f8935313105767ec9cd3492
sourceRevisionDigest: sha256:84a05dcb86918661f57b7d0e5069f3803f1aef3b43cfb1e78b2ad8ed8b8ca1ee
sourceBlobDigest: sha256:07098f3955607bd1f6f14da07359797de542881ca1deb3994198b6da9709cecf
tags:
- latest
petstore-oas:
Expand All @@ -17,10 +17,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:0ce4e9b2b8560aa2004ea154dba75c6bb685cccc1fc5dd9a0b10c8825182e0b5
sourceBlobDigest: sha256:4f89567ad6174b01fa95ea0e4c705bcfe303ad158f8935313105767ec9cd3492
sourceRevisionDigest: sha256:84a05dcb86918661f57b7d0e5069f3803f1aef3b43cfb1e78b2ad8ed8b8ca1ee
sourceBlobDigest: sha256:07098f3955607bd1f6f14da07359797de542881ca1deb3994198b6da9709cecf
codeSamplesNamespace: glean-api-specs-go-code-samples
codeSamplesRevisionDigest: sha256:76f0de87055ebaf36603147ff3188a4d7d7aa32b6825ad830ed5dd43266cd142
codeSamplesRevisionDigest: sha256:c25e3379d4fe4e868481df57627504433d38566797ba72296106387a1c2ba9ac
petstore:
source: petstore-oas
sourceNamespace: petstore-oas
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -1108,4 +1108,14 @@ Based on:
### Generated
- [go v0.17.8] .
### Releases
- [Go v0.17.8] https://github.com/gleanwork/api-client-go/releases/tag/v0.17.8 - .
- [Go v0.17.8] https://github.com/gleanwork/api-client-go/releases/tag/v0.17.8 - .

## 2026-11-19 10:34:36
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.810.0 (2.961.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.17.9] .
### Releases
- [Go v0.17.9] https://github.com/gleanwork/api-client-go/releases/tag/v0.17.9 - .
2 changes: 1 addition & 1 deletion docs/models/components/agentconfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ Describes the agent that executes the request.
| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
| `Agent` | [*components.AgentEnum](../../models/components/agentenum.md) | :heavy_minus_sign: | Name of the agent. |
| `ToolSets` | [*components.ToolSets](../../models/components/toolsets.md) | :heavy_minus_sign: | The types of tools that the agent is allowed to use. Only works with FAST and ADVANCED `agent` values |
| `Mode` | [*components.Mode](../../models/components/mode.md) | :heavy_minus_sign: | Top level modes to run GleanChat in. |
| `Mode` | [*components.AgentConfigMode](../../models/components/agentconfigmode.md) | :heavy_minus_sign: | Top level modes to run GleanChat in. |
| `UseImageGeneration` | `*bool` | :heavy_minus_sign: | Whether the agent should create an image. |
24 changes: 24 additions & 0 deletions docs/models/components/agentconfigmode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# AgentConfigMode

Top level modes to run GleanChat in.

## Example Usage

```go
import (
"github.com/gleanwork/api-client-go/models/components"
)

value := components.AgentConfigModeDefault

// Open enum: custom values can be created with a direct type cast
custom := components.AgentConfigMode("custom_value")
```


## Values

| Name | Value |
| ------------------------ | ------------------------ |
| `AgentConfigModeDefault` | DEFAULT |
| `AgentConfigModeQuick` | QUICK |
10 changes: 10 additions & 0 deletions docs/models/components/content.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Content

Document events that run a CONTENT_TRIGGER agent.


## Fields

| Field | Type | Required | Description |
| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
| `Triggers` | [][components.PlatformAgentContentTrigger](../../models/components/platformagentcontenttrigger.md) | :heavy_check_mark: | Event subscriptions. The agent runs when any entry matches. |
10 changes: 10 additions & 0 deletions docs/models/components/customisationdata.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# CustomisationData

Settings applied to every tool in this provider entry.


## Fields

| Field | Type | Required | Description |
| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
| `SkipConfirmation` | `*bool` | :heavy_minus_sign: | Whether tools in this entry run without asking the user for confirmation. Defaults to false.<br/> |
21 changes: 0 additions & 21 deletions docs/models/components/direction.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/models/components/insightsoverviewresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
| `ExtensionSummary` | [*components.CurrentActiveUsers](../../models/components/currentactiveusers.md) | :heavy_minus_sign: | N/A |
| `UgcSummary` | [*components.CurrentActiveUsers](../../models/components/currentactiveusers.md) | :heavy_minus_sign: | N/A |
| `LastUpdatedTs` | `*int64` | :heavy_minus_sign: | Unix timestamp of the last update for the insights data in the response. |
| `TotalSignupsWeekAgo` | `*int64` | :heavy_minus_sign: | Number of current employees in the specified departments who had signed up 7 days before the latest day of insights data. Compare with totalSignups for week-over-week signup change. |
| `TotalSignupsWeekAgo` | `*int64` | :heavy_minus_sign: | Number of current employees in the specified departments who had signed up 7 days before the latest day of insights data. Compare with totalSignups for week-over-week signup change. Included even when zero. |
| ~~`SearchSessionSatisfaction`~~ | `*float32` | :heavy_minus_sign: | :warning: **DEPRECATED**: Deprecated on 2026-05-13, removal scheduled for 2027-01-15: This property is no longer supported. Please contact Support for alternatives..<br/><br/>Search session satisfaction rate, over the specified time period in the specified departments. |
| `MonthlyActiveUserTimeseries` | [*components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A |
| `WeeklyActiveUserTimeseries` | [*components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A |
Expand Down
Loading
Loading