Skip to content

Commit 4b3a9df

Browse files
authored
v0.8.35: cli telemetry, security hardening, desktop app improvements, chat natural language explanations
2 parents 329e249 + e9d17ba commit 4b3a9df

361 files changed

Lines changed: 38771 additions & 7032 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/publish-sim-cli.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ concurrency:
1515

1616
jobs:
1717
publish-npm:
18+
# Job-level, not on the build step: `bun publish` runs `prepublishOnly`,
19+
# which rebuilds `dist` a second time, and that second build is the one
20+
# that ships. A build without the token reports nothing. See
21+
# docs/cli/usage-data.
22+
env:
23+
SIM_CLI_TELEMETRY_KEY: ${{ vars.SIM_CLI_TELEMETRY_KEY }}
24+
SIM_CLI_TELEMETRY_HOST: ${{ vars.SIM_CLI_TELEMETRY_HOST }}
1825
runs-on: ${{ (vars.CI_PROVIDER == '' || vars.CI_PROVIDER == 'blacksmith') && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-latest' }}
1926
timeout-minutes: 15
2027
steps:
@@ -63,11 +70,6 @@ jobs:
6370

6471
- name: Build package
6572
working-directory: packages/sim-cli
66-
env:
67-
# Public PostHog project token for anonymous CLI usage reporting; a
68-
# build without it reports nothing. See docs/cli/usage-data.
69-
SIM_CLI_TELEMETRY_KEY: ${{ vars.SIM_CLI_TELEMETRY_KEY }}
70-
SIM_CLI_TELEMETRY_HOST: ${{ vars.SIM_CLI_TELEMETRY_HOST }}
7173
run: bun run build
7274

7375
- name: Resolve release channel

apps/docs/content/docs/knowledgebase/connectors.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { Step, Steps } from 'fumadocs-ui/components/steps'
88
import { Image } from '@/components/ui/image'
99
import { FAQ } from '@/components/ui/faq'
1010

11-
For workspace Search with each person's source permissions, use the [Search connector guides](/search). This page covers connectors inside general knowledge bases.
11+
For organization Search with each person's source permissions, use the [Search connector guides](/search). This page covers connectors inside general knowledge bases.
1212

1313
Connectors continuously sync documents from external services into your knowledge base, so you never have to upload files manually. New content is added, changed content is re-processed, and deleted content is removed — all automatically.
1414

apps/docs/content/docs/platform/enterprise/index.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Sim Enterprise adds organization controls for access, provisioning, operations,
1111
| [Single sign-on](/platform/enterprise/sso) | Connect a SAML or OIDC identity provider |
1212
| [Verified domains](/platform/enterprise/verified-domains) | Prove domain ownership for SSO and provisioning |
1313
| [Directory provisioning](/platform/enterprise/scim) | Sync users and group-based access from your directory |
14+
| [Security](/platform/enterprise/security) | Manage session policies and view configured outbound IP addresses |
1415
| [Session policies](/platform/enterprise/session-policies) | Set session lifetimes and revoke member sessions |
1516
| [Audit logs](/platform/enterprise/audit-logs) | Investigate configuration and security events |
1617
| [Usage tracking](/platform/enterprise/usage-tracking) | Review usage by member, workspace, model, and source |

apps/docs/content/docs/platform/enterprise/meta.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"sso",
66
"scim",
77
"verified-domains",
8+
"security",
89
"session-policies",
910
"access-control",
1011
"custom-blocks",
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
title: Security
3+
description: Manage organization session policies and view configured outbound IP addresses
4+
---
5+
6+
Organization owners and admins open **Settings → Security** to manage session policies and view outbound IP addresses.
7+
8+
## Session policies
9+
10+
Set **Max session lifetime** and **Idle timeout** in hours, then select **Save**. Leave either field empty to use its default behavior. **Discard** restores your saved values.
11+
12+
**Sign out all members** opens a confirmation before revoking the organization's browser sessions, except your current session. It does not revoke API keys.
13+
14+
See [Session policies](/platform/enterprise/session-policies) for limits, defaults, and how changes affect existing sessions.
15+
16+
## Outbound IP addresses
17+
18+
Copy your organization's configured addresses in `/32` format and allowlist **every listed address** on the destination firewall. These addresses apply to supported HTTPS connections from Sim and its background workers.
19+
20+
Contact Sim support or your deployment administrator to configure dedicated IPs and confirm connection coverage.
21+
22+
### Connection coverage
23+
24+
Dedicated routing supports public IPv4 destinations over HTTPS on port 443. It applies to supported Search connector API requests, HTTP request blocks, MCP and A2A connections, and HTTP requests made through Sim's local Function runtime. Background jobs use the same organization assignment.
25+
26+
Native database connections, AWS SDK integrations, remote sandbox traffic, and browser requests keep their existing network paths. Other provider SDKs and OAuth authorization or token refresh calls require separate coverage confirmation. Dedicated IPs do not change access permissions in connected services.
27+
28+
Google Drive, Fireflies, Google Workspace user and group discovery, and Atlassian OAuth site discovery currently use their existing network paths.
29+
30+
If dedicated routing is unavailable, affected requests fail instead of using shared IPs. Organizations without dedicated routing keep their existing behavior.
31+
32+
## Availability
33+
34+
On Sim Cloud, Security settings require an Enterprise organization and an owner or admin role. On self-hosted deployments, the outbound IP section is available to organization administrators; session controls appear only when session policies are enabled. See [self-hosted enterprise configuration](/platform/enterprise/self-hosted).

apps/docs/content/docs/platform/enterprise/session-policies.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Session Policies let organization owners and admins on Enterprise plans control
1111

1212
## Setup
1313

14-
Go to **Settings → Organization → Session policies** in your organization settings.
14+
Go to **Settings → Security → Session policies** in your organization settings.
1515

1616
Both limits are optional. Leave a field empty to keep the default behavior: sessions last 30 days and extend automatically while a member stays active.
1717

apps/docs/content/docs/search/confluence.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@ Each teammate completes this identity connection. An existing authorized account
5656
</Step>
5757
</Steps>
5858

59-
For workspace Search, start from **Search → Add source**. Available methods depend on the enabled features.
60-
6159
## Connect member accounts
6260

6361
After an admin configures Confluence, open **Integrations** and select **Connect** beside Confluence. Authorize your account; you do not enter the site's domain or choose its spaces again.
@@ -132,7 +130,7 @@ Central sources combine space permissions, page and ancestor restrictions, and g
132130

133131
Open **Settings → Sources → Confluence**, then a source's **Documents**, **Settings**, or **Sync history**. Invite teammates through **Settings → Members → Invite** or SSO, then have them connect through **Integrations**. **People → Request connections** only requests a provider connection; it does not invite people to the organization.
134132

135-
Syncing runs automatically. Admins can use **Sync now** for an immediate update, **Pause syncing** to stop scheduled syncs, or **Resume syncing** to restart them. **Full resync**, available for service-account connections, fetches unchanged content again and asks for confirmation. Successful manual syncs have a one-minute cooldown; failed syncs can be retried immediately.
133+
Syncing runs automatically. Admins can use **Sync now** for an immediate update, **Pause syncing** to stop scheduled syncs, or **Resume syncing** to restart them. Successful manual syncs have a one-minute cooldown; failed syncs can be retried immediately.
136134

137135
## Troubleshooting
138136

apps/docs/content/docs/search/connect-your-account.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ On the main **Integrations** page, select **Reconnect** beside the integration i
7878

7979
Admins manage setup from **Settings → Sources**. Open an integration, then its connection to see **Documents**, **Settings**, and **Sync history**. **People** shows account contributors across integrations and supports filtering by integration. This does not grant the admin access to every document.
8080

81-
Syncing runs automatically. Admins can use **Sync now** when they need an update; another manual run is available 60 seconds after a successful sync finishes. Failed or partial runs can be retried immediately. The connection header also offers **Pause syncing** or **Resume syncing**, and **Remove connection**. Where supported, **Full resync** fetches and reindexes all content and asks for confirmation first.
81+
Syncing runs automatically. Admins can use **Sync now** when they need an update; another manual run is available 60 seconds after a successful sync finishes. Failed or partial runs can be retried immediately. The connection header also offers **Pause syncing** or **Resume syncing**, and **Remove connection**.
8282

8383
Removing a Search connection also removes its indexed documents from Sim. The originals remain in the connected app.
8484

apps/docs/content/docs/search/github.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { Image } from '@/components/ui/image'
99

1010
GitHub Search indexes repository text files and supported PDF and Office documents on `github.com`. An organization admin can install the GitHub App once and use it to index selected repositories. Each person connects their own GitHub account once to search the repositories they can access. Installing the App does not connect teammates or give them the installer's permissions.
1111

12-
Admin setup uses your organization's **Settings → Sources** page. Teammates connect from **Integrations** in the main sidebar. Installation indexing is available for organization Search. For workspace Search, use **Search → Add source** with member accounts or a dedicated user account.
12+
Admin setup uses your organization's **Settings → Sources** page. Teammates connect from **Integrations** in the main sidebar. Installation indexing is available for organization Search.
1313

1414
## Before you start
1515

apps/docs/content/docs/search/gitlab.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { Image } from '@/components/ui/image'
99

1010
Connect one GitLab project per source. Choose an **Administrator token** to refresh permissions from GitLab, or a **Non-admin token** with two CSV files to manage access in Sim. Teammates do not connect individual GitLab accounts.
1111

12-
Organization admins set up sources in **Settings → Sources**. For workspace Search, use **Search → Add source**. The same token paths are available when adding a GitLab connector to a regular knowledge base.
12+
Organization admins set up sources in **Settings → Sources**. The same token paths are available when adding a GitLab connector to a regular knowledge base.
1313

1414
## Choose a token path
1515

@@ -146,7 +146,7 @@ Open a project to use these administrator actions:
146146
| **Settings** | Change the token, project, filters, or CSV permissions. |
147147
| **Remove connection** | Confirm removal of the connection and its indexed documents. Documents cannot be retained without the connection that maintains their permissions. |
148148

149-
GitLab does not expose a separate **Full resync** action. Each sync checks the selected content. CSV grants change only when you replace the files.
149+
Each sync checks the selected content. CSV grants change only when you replace the files.
150150

151151
## Troubleshooting
152152

0 commit comments

Comments
 (0)