diff --git a/site/scripts/check-dev-sample.mjs b/site/scripts/check-dev-sample.mjs
index 4c3238d30..f46b57c78 100644
--- a/site/scripts/check-dev-sample.mjs
+++ b/site/scripts/check-dev-sample.mjs
@@ -189,9 +189,9 @@ export async function checkDevSample(browser, base) {
assert.equal(await page.locator('main h1').count(), 1, `${path}: one main heading`)
const rootPath = new URL(base).pathname.replace(/\/$/, '')
const inventoryLinks = await page.locator('footer a[href$=".inv"]').evaluateAll((links) => links.map((link) => link.getAttribute('href')))
- assert.deepEqual(inventoryLinks, path === 'api-example-probe/'
- ? [`${rootPath}/ts/latest/objects.inv`, `${rootPath}/objects-full.inv`]
- : [...(path.startsWith('tmux/') ? [`${rootPath}/tmux/objects.inv`] : []), `${rootPath}/objects-full.inv`], `${path}: inventory links follow page scope`)
+ // The probe renders a TypeScript reference page outside /ts/latest/, so it names no port inventory.
+ assert.deepEqual(inventoryLinks, [...(path.startsWith('tmux/') ? [`${rootPath}/tmux/objects.inv`] : []), `${rootPath}/objects-full.inv`],
+ `${path}: inventory links follow page scope`)
assert.equal(await page.getByRole('link', { name: 'About Sphinx inventories', exact: true }).getAttribute('href'), `${rootPath}/meta/intersphinx/`)
for (const width of [1440, 768, 390]) {
await page.setViewportSize({ width, height: 1000 })
diff --git a/site/src/components/SiteFooter.astro b/site/src/components/SiteFooter.astro
index 7223f0b6b..cd286c71c 100644
--- a/site/src/components/SiteFooter.astro
+++ b/site/src/components/SiteFooter.astro
@@ -82,7 +82,8 @@ const inventories = inventoryLinks(port, version, pagePath)
.inventory-tooltip { position: fixed; bottom: 3.5rem; right: 1rem; width: 15rem; max-width: calc(100vw - 2rem); padding: .5rem .75rem; border: 1px solid var(--color-edge); border-radius: .25rem; background: var(--color-surface); color: var(--color-fg); font-size: .75rem; opacity: 0; visibility: hidden; z-index: 10; transition: opacity .1s, visibility .1s; transition-delay: .1s; }
.inventory-tooltip::after { content: ''; position: absolute; inset: 100% 0 auto; height: .5rem; }
.inventory-tooltip[data-below]::after { inset: auto 0 100%; }
- .inventory-help:hover .inventory-tooltip, .inventory-help:focus-within .inventory-tooltip { opacity: 1; visibility: visible; transition-delay: 0s; }
+ /* Showing flips visibility at once, so the link inside is tabbable as soon as the help link has focus; only the opacity fades. */
+ .inventory-help:hover .inventory-tooltip, .inventory-help:focus-within .inventory-tooltip { opacity: 1; visibility: visible; transition: opacity .1s 0s, visibility 0s 0s; }
.inventory-help[data-dismissed] .inventory-tooltip { opacity: 0; visibility: hidden; pointer-events: none; transition: none; }
diff --git a/site/src/components/api/ApiReference.astro b/site/src/components/api/ApiReference.astro
index ee1ba4664..8660da95b 100644
--- a/site/src/components/api/ApiReference.astro
+++ b/site/src/components/api/ApiReference.astro
@@ -472,7 +472,7 @@ const bases = owner && 'extends' in owner ? owner.extends ?? [] : []
{owner.doc?.since && Since {owner.doc.since}}
{version}
}
-
+
{owner && <>
diff --git a/site/src/components/mcp/ProtocolReference.astro b/site/src/components/mcp/ProtocolReference.astro
index 69782c138..3add2f222 100644
--- a/site/src/components/mcp/ProtocolReference.astro
+++ b/site/src/components/mcp/ProtocolReference.astro
@@ -127,7 +127,7 @@ const summaries = new Map(await Promise.all(entries.map(async (entry) => [entry.
{object && }
- {object ? : title}
+ {object ? : title}
{!object && {introductions[section]}
}
diff --git a/site/src/components/tmux/Catalog.astro b/site/src/components/tmux/Catalog.astro
index 7e25ce374..12b045e48 100644
--- a/site/src/components/tmux/Catalog.astro
+++ b/site/src/components/tmux/Catalog.astro
@@ -103,7 +103,7 @@ const entryCards = (items: ReturnType) => items.map((
tmux{model.version}
}
-
+
{entry ? : title}
{entry?.summary &&
{entry.summary}
}
diff --git a/site/src/content/docs/ports/csharp/mcp/examples/inspect-sessions.md b/site/src/content/docs/ports/csharp/mcp/examples/inspect-sessions.md
index 100029856..bdc775187 100644
--- a/site/src/content/docs/ports/csharp/mcp/examples/inspect-sessions.md
+++ b/site/src/content/docs/ports/csharp/mcp/examples/inspect-sessions.md
@@ -16,8 +16,8 @@ client. The program stops its owned server when the request succeeds or fails.
## Run the example
Use the .NET 10 SDK and tmux 3.3a or newer on Linux, macOS, or WSL. The project
-pins the library and tool to the same published alpha release. The package
-source is [libtmux-dotnet at the documented release](https://github.com/libtmux/libtmux-dotnet/tree/ec8b6ab2a4f65e23664f43fba538ba200d4ae8bc).
+pins the library and tool to the same published release, 0.1.0. The package
+source is [libtmux-dotnet at the documented release](https://github.com/libtmux/libtmux-dotnet/tree/472c2bcfbda6735139849324cc109ad70300001e).
Create an empty directory:
@@ -34,7 +34,7 @@ Install the MCP executable into that directory:
```console
$ dotnet tool install \
--tool-path .tools \
- --version 0.0.0-alpha.20 \
+ --version 0.1.0 \
LibTmux.Mcp
```
@@ -49,7 +49,7 @@ Save the project file:
enable
-
+
@@ -248,5 +248,5 @@ it prints the retained directory for inspection.
The [connection guide](../../guides/) covers connecting to an existing server.
The [tool reference](../../tools/list_sessions/) describes the session fields,
-and the [owned-server implementation](https://github.com/libtmux/libtmux-dotnet/blob/ec8b6ab2a4f65e23664f43fba538ba200d4ae8bc/src/LibTmux/Server.Lifecycle.cs)
+and the [owned-server implementation](https://github.com/libtmux/libtmux-dotnet/blob/472c2bcfbda6735139849324cc109ad70300001e/src/LibTmux/Server.Lifecycle.cs)
defines daemon ownership and cleanup.
diff --git a/site/src/content/docs/ports/csharp/mcp/examples/run-command.md b/site/src/content/docs/ports/csharp/mcp/examples/run-command.md
index fc34a2e6e..2e82ec80c 100644
--- a/site/src/content/docs/ports/csharp/mcp/examples/run-command.md
+++ b/site/src/content/docs/ports/csharp/mcp/examples/run-command.md
@@ -20,7 +20,9 @@ sessions.
## Run the example
Use the .NET 10 SDK and tmux 3.3a or newer on Linux, macOS, or WSL. The library
-and tool use the same [published source revision](https://github.com/libtmux/libtmux-dotnet/tree/ec8b6ab2a4f65e23664f43fba538ba200d4ae8bc).
+and tool use the same [published source revision](https://github.com/libtmux/libtmux-dotnet/tree/472c2bcfbda6735139849324cc109ad70300001e).
+`run_shell_command` stages its command in a named tmux buffer, so this example
+needs a server at version 3.4 or later; on 3.3a the tool refuses the request.
Create an empty directory:
@@ -37,7 +39,7 @@ Install the MCP executable into that directory:
```console
$ dotnet tool install \
--tool-path .tools \
- --version 0.0.0-alpha.20 \
+ --version 0.1.0 \
LibTmux.Mcp
```
@@ -52,7 +54,7 @@ Save the project file:
enable
-
+
diff --git a/site/src/content/docs/ports/csharp/mcp/guides/connect-client.md b/site/src/content/docs/ports/csharp/mcp/guides/connect-client.md
index 6bd83a689..406e42a1f 100644
--- a/site/src/content/docs/ports/csharp/mcp/guides/connect-client.md
+++ b/site/src/content/docs/ports/csharp/mcp/guides/connect-client.md
@@ -13,17 +13,17 @@ Configure your MCP client to launch `libtmux-mcp`. The executable selects one
tmux socket and its tools at startup, then serves MCP over stdin and stdout.
Use Linux, macOS, or WSL with tmux 3.3a or newer and a compatible .NET runtime.
-The examples here use the [published package](https://www.nuget.org/packages/LibTmux.Mcp/0.0.0-alpha.20)
-and its [source contract](https://github.com/libtmux/libtmux-dotnet/blob/ec8b6ab2a4f65e23664f43fba538ba200d4ae8bc/src/LibTmux.Mcp/README.md).
+The examples here use the [published package](https://www.nuget.org/packages/LibTmux.Mcp/0.1.0)
+and its [source contract](https://github.com/libtmux/libtmux-dotnet/blob/472c2bcfbda6735139849324cc109ad70300001e/src/LibTmux.Mcp/README.md).
## Install the tool
-Install the pinned alpha release with the .NET SDK:
+Install the pinned release with the .NET SDK:
```console
$ dotnet tool install \
--global \
- --version 0.0.0-alpha.20 \
+ --version 0.1.0 \
LibTmux.Mcp
```
@@ -114,7 +114,7 @@ Restart the MCP connection after changing its environment. Changing a
terminal's environment does not reconfigure a server process already running
inside another client.
-The [startup implementation](https://github.com/libtmux/libtmux-dotnet/blob/ec8b6ab2a4f65e23664f43fba538ba200d4ae8bc/src/LibTmux.Mcp/Policy/McpStartup.cs)
+The [startup implementation](https://github.com/libtmux/libtmux-dotnet/blob/472c2bcfbda6735139849324cc109ad70300001e/src/LibTmux.Mcp/Policy/McpStartup.cs)
defines socket selection and ownership. The
-[tool-selection implementation](https://github.com/libtmux/libtmux-dotnet/blob/ec8b6ab2a4f65e23664f43fba538ba200d4ae8bc/src/LibTmux.Mcp/Policy/CapabilitySelection.cs)
+[tool-selection implementation](https://github.com/libtmux/libtmux-dotnet/blob/472c2bcfbda6735139849324cc109ad70300001e/src/LibTmux.Mcp/Policy/CapabilitySelection.cs)
defines registration and filter precedence.
diff --git a/site/src/content/docs/ports/elixir/guides/attaching-to-tmux.md b/site/src/content/docs/ports/elixir/guides/attaching-to-tmux.md
index 08f1d1aeb..7255b7677 100644
--- a/site/src/content/docs/ports/elixir/guides/attaching-to-tmux.md
+++ b/site/src/content/docs/ports/elixir/guides/attaching-to-tmux.md
@@ -23,10 +23,10 @@ covers interactive attachment and detaching.
Save the complete program as `connect.exs`. The environment variable
`LIBTMUX_SOCKET_PATH` selects the existing server. The launcher below sets it
to a private socket for trying the example. The first line installs the
-published alpha from Hex.
+released 0.1 series from Hex.
```elixir title="connect.exs"
-Mix.install([{:libtmux, "== 0.0.1-alpha.1"}])
+Mix.install([{:libtmux, "~> 0.1"}])
alias LibTmux.{Selection, Server, Snapshot}
@@ -106,5 +106,5 @@ between those operations. Handle the creation error as well as the lookup.
[Capture a pane and read it](../../examples/capture-and-read/) is a complete
program that runs against an isolated server.
-The [library source revision](https://github.com/libtmux/libtmux-elixir/tree/b72452c198917433229bdc266a68c163541b6127)
+The [library source revision](https://github.com/libtmux/libtmux-elixir/tree/cac4252bfc52069980d47db2b7803dc9b33f36f1)
records the implementation used by this example.
diff --git a/site/src/content/docs/ports/go/mcp/examples/inspect-sessions.md b/site/src/content/docs/ports/go/mcp/examples/inspect-sessions.md
index 26bcb5ae4..e74417be7 100644
--- a/site/src/content/docs/ports/go/mcp/examples/inspect-sessions.md
+++ b/site/src/content/docs/ports/go/mcp/examples/inspect-sessions.md
@@ -16,8 +16,8 @@ ID against the session it created, then closes the client and stops its server.
## Run the example
Use Go 1.26 or newer and tmux 3.3a or newer on Linux, macOS, or WSL.
-The project pins the [core library](https://github.com/libtmux/libtmux-go/tree/3f6f99dd41f077aaac2fa18acf7c82d99f58c7cd)
-and [MCP executable](https://github.com/libtmux/libtmux-go/tree/6e7420927f4cb717fe089a710328e44e8d551025/mcp)
+The project pins the [core library](https://github.com/libtmux/libtmux-go/tree/c21afc69867e989410e15b3616a8c0f0b1073c33)
+and [MCP executable](https://github.com/libtmux/libtmux-go/tree/59aed98c06984e2f8613fd1df6ec8943f5f1eed3/mcp)
to their published releases. The client uses the official Go MCP SDK.
Create an empty directory:
@@ -36,7 +36,7 @@ Install the MCP executable inside the project:
```console
$ GOBIN="$PWD/.tools" go install \
- github.com/libtmux/libtmux-go/mcp/cmd/libtmux-mcp@v0.0.1-alpha.12
+ github.com/libtmux/libtmux-go/mcp/cmd/libtmux-mcp@v0.1.0
```
Save the module file:
@@ -47,7 +47,7 @@ module example.com/session-inspector
go 1.26.0
require (
- github.com/libtmux/libtmux-go v0.0.1-alpha.9
+ github.com/libtmux/libtmux-go v0.1.0
github.com/modelcontextprotocol/go-sdk v1.6.1
)
diff --git a/site/src/content/docs/ports/go/mcp/examples/run-command.md b/site/src/content/docs/ports/go/mcp/examples/run-command.md
index 7301159d6..56cfa51ba 100644
--- a/site/src/content/docs/ports/go/mcp/examples/run-command.md
+++ b/site/src/content/docs/ports/go/mcp/examples/run-command.md
@@ -16,8 +16,8 @@ The client checks completion and output before reporting the result.
## Run the example
Use Go 1.26 or newer and tmux 3.3a or newer on Linux, macOS, or WSL.
-The project pins the [core library](https://github.com/libtmux/libtmux-go/tree/3f6f99dd41f077aaac2fa18acf7c82d99f58c7cd)
-and [MCP executable](https://github.com/libtmux/libtmux-go/tree/6e7420927f4cb717fe089a710328e44e8d551025/mcp)
+The project pins the [core library](https://github.com/libtmux/libtmux-go/tree/c21afc69867e989410e15b3616a8c0f0b1073c33)
+and [MCP executable](https://github.com/libtmux/libtmux-go/tree/59aed98c06984e2f8613fd1df6ec8943f5f1eed3/mcp)
to their published releases. The client uses the official Go MCP SDK.
Create an empty directory:
@@ -36,7 +36,7 @@ Install the MCP executable inside the project:
```console
$ GOBIN="$PWD/.tools" go install \
- github.com/libtmux/libtmux-go/mcp/cmd/libtmux-mcp@v0.0.1-alpha.12
+ github.com/libtmux/libtmux-go/mcp/cmd/libtmux-mcp@v0.1.0
```
Save the module file:
@@ -47,7 +47,7 @@ module example.com/command-runner
go 1.26.0
require (
- github.com/libtmux/libtmux-go v0.0.1-alpha.9
+ github.com/libtmux/libtmux-go v0.1.0
github.com/modelcontextprotocol/go-sdk v1.6.1
)
diff --git a/site/src/content/docs/ports/go/mcp/guides/connect-client.md b/site/src/content/docs/ports/go/mcp/guides/connect-client.md
index 29aac3720..4fd0775d3 100644
--- a/site/src/content/docs/ports/go/mcp/guides/connect-client.md
+++ b/site/src/content/docs/ports/go/mcp/guides/connect-client.md
@@ -16,11 +16,11 @@ go to stderr, which the client should retain in its server log.
## Install the command
Use Go 1.26 or newer and tmux 3.3a or newer on Linux, macOS, or WSL. Install the
-[published MCP module](https://github.com/libtmux/libtmux-go/tree/6e7420927f4cb717fe089a710328e44e8d551025/mcp):
+[published MCP module](https://github.com/libtmux/libtmux-go/tree/59aed98c06984e2f8613fd1df6ec8943f5f1eed3/mcp):
```console
$ go install \
- github.com/libtmux/libtmux-go/mcp/cmd/libtmux-mcp@v0.0.1-alpha.12
+ github.com/libtmux/libtmux-go/mcp/cmd/libtmux-mcp@v0.1.0
```
Make the Go installation directory available in the MCP client's `PATH`, or
@@ -32,7 +32,7 @@ Check the executable the client will launch:
$ libtmux-mcp -version
```
-The installed release reports `libtmux-mcp v0.0.1-alpha.12`. The
+The installed release reports `libtmux-mcp v0.1.0`. The
[complete SDK example](../../examples/inspect-sessions/) installs this same
release into a local `.tools` directory and supplies the client code.
diff --git a/site/src/content/docs/ports/go/workspace/internals/examples.md b/site/src/content/docs/ports/go/workspace/internals/examples.md
index d132e7d3a..833098819 100644
--- a/site/src/content/docs/ports/go/workspace/internals/examples.md
+++ b/site/src/content/docs/ports/go/workspace/internals/examples.md
@@ -17,22 +17,14 @@ application or log file.
## Prepare the project
-Use Go 1.26, Git, and tmux 3.3a or newer on Unix. Create an empty project and
-fetch the source revision used by this example:
+Use Go 1.26 and tmux 3.3a or newer on Unix. Create an empty project:
```console
$ mkdir go-workspace-example && cd go-workspace-example
```
-```console
-$ git init libtmux-source && \
- git -C libtmux-source remote add origin https://github.com/libtmux/libtmux-go.git && \
- git -C libtmux-source fetch --depth=1 origin bb06e26e116e941813ca40bf45e7e3a47d38f52a && \
- git -C libtmux-source checkout --detach FETCH_HEAD
-```
-
-Create the module file. Both replacements select that checkout, so the core
-and workspace libraries use the same source revision:
+Create the module file. It requires the published core and workspace
+modules at `v0.1.0`; the indirect YAML dependency is what `go mod tidy` resolves:
```go title="go.mod"
module example.com/workspace
@@ -40,15 +32,11 @@ module example.com/workspace
go 1.26.0
require (
- github.com/libtmux/libtmux-go v0.0.1-alpha.9
- github.com/libtmux/libtmux-go/workspace v0.0.0
+ github.com/libtmux/libtmux-go v0.1.0
+ github.com/libtmux/libtmux-go/workspace v0.1.0
)
require go.yaml.in/yaml/v3 v3.0.5 // indirect
-
-replace github.com/libtmux/libtmux-go => ./libtmux-source
-
-replace github.com/libtmux/libtmux-go/workspace => ./libtmux-source/workspace
```
Create the workspace file in the same directory:
@@ -189,5 +177,5 @@ selected server and choose when to stop it.
-[Builder source](https://github.com/libtmux/libtmux-go/blob/bb06e26e116e941813ca40bf45e7e3a47d38f52a/workspace/builder.go);
-[configuration source](https://github.com/libtmux/libtmux-go/blob/bb06e26e116e941813ca40bf45e7e3a47d38f52a/workspace/workspace.go).
+[Builder source](https://github.com/libtmux/libtmux-go/blob/59aed98c06984e2f8613fd1df6ec8943f5f1eed3/workspace/builder.go);
+[configuration source](https://github.com/libtmux/libtmux-go/blob/59aed98c06984e2f8613fd1df6ec8943f5f1eed3/workspace/workspace.go).
diff --git a/site/src/content/docs/ports/java/mcp/examples.md b/site/src/content/docs/ports/java/mcp/examples.md
index c69fd5ce9..fda00c202 100644
--- a/site/src/content/docs/ports/java/mcp/examples.md
+++ b/site/src/content/docs/ports/java/mcp/examples.md
@@ -20,27 +20,24 @@ For a client configured to launch the server itself, use the
## Create the project
Use JDK 25, Git, tmux 3.3a or newer, and a Unix host with `env -u`. Create an
-empty project and fetch the source revision used by this example:
+empty project and fetch the 0.1.0 release, which supplies the Gradle wrapper:
```console
$ mkdir java-mcp-example && cd java-mcp-example && \
git init libtmux-source && \
git -C libtmux-source remote add origin https://github.com/libtmux/libtmux-java.git && \
- git -C libtmux-source fetch --depth=1 origin 842228310449e879ebcaa3f910597757c9dbffd6 && \
+ git -C libtmux-source fetch --depth=1 origin 5c181887918351119bfdb3a046719fa792048e59 && \
git -C libtmux-source checkout --detach FETCH_HEAD && \
mkdir -p src/main/java
```
-Save the settings file. The included build supplies the MCP and core libraries
-from the same selected source. Its toolchain resolver downloads the Temurin 21
-compiler for those libraries when needed.
+Save the settings file:
```kotlin title="settings.gradle.kts"
rootProject.name = "mcp-example"
-includeBuild("libtmux-source")
```
-Save the build file. Its SDK and JSON dependencies match the selected library:
+Save the build file. Gradle resolves the MCP library from Maven Central. Its SDK and JSON dependencies match that release:
```kotlin title="build.gradle.kts"
plugins {
@@ -52,7 +49,7 @@ repositories {
}
dependencies {
- implementation("io.github.libtmux:libtmux-mcp:0.0.1-alpha.12-SNAPSHOT")
+ implementation("io.github.libtmux:libtmux-mcp:0.1.0")
implementation("io.modelcontextprotocol.sdk:mcp-json-jackson2:2.0.1")
implementation("com.fasterxml.jackson.core:jackson-databind:2.21.5")
runtimeOnly("org.slf4j:slf4j-nop:2.0.17")
@@ -184,5 +181,5 @@ to discover a pane and call `run_shell_command`. Read the typed exit status
and output. Use `capture_since` for subsequent screen changes; a prompt redraw
can arrive after command completion.
-[Server entry points](https://github.com/libtmux/libtmux-java/blob/842228310449e879ebcaa3f910597757c9dbffd6/libtmux-mcp/src/main/java/io/github/libtmux/mcp/TmuxMcpServer.java);
-[upstream MCP tests](https://github.com/libtmux/libtmux-java/tree/842228310449e879ebcaa3f910597757c9dbffd6/libtmux-mcp/src/test).
+[Server entry points](https://github.com/libtmux/libtmux-java/blob/5c181887918351119bfdb3a046719fa792048e59/libtmux-mcp/src/main/java/io/github/libtmux/mcp/TmuxMcpServer.java);
+[upstream MCP tests](https://github.com/libtmux/libtmux-java/tree/5c181887918351119bfdb3a046719fa792048e59/libtmux-mcp/src/test).
diff --git a/site/src/content/docs/ports/java/workspace/internals/examples.md b/site/src/content/docs/ports/java/workspace/internals/examples.md
index abb62ab12..495f97b2e 100644
--- a/site/src/content/docs/ports/java/workspace/internals/examples.md
+++ b/site/src/content/docs/ports/java/workspace/internals/examples.md
@@ -16,28 +16,25 @@ server. Use a POSIX host with tmux on `PATH` and JDK 25.
## Create the project
-In a new directory, fetch the source revision used by this documentation:
+In a new directory, fetch the 0.1.0 release, which supplies the Gradle wrapper:
```console
$ mkdir java-workspace-example
$ cd java-workspace-example
$ git init -q libtmux-source
$ git -C libtmux-source remote add origin https://github.com/libtmux/libtmux-java.git
-$ git -C libtmux-source fetch --depth=1 origin 842228310449e879ebcaa3f910597757c9dbffd6
+$ git -C libtmux-source fetch --depth=1 origin 5c181887918351119bfdb3a046719fa792048e59
$ git -C libtmux-source checkout --detach FETCH_HEAD
$ mkdir -p src/main/java
```
-Save the following settings file. The included build supplies the workspace
-module and its core dependency from the selected source. Its toolchain resolver
-downloads the Temurin 21 compiler for those libraries when needed.
+Save the following settings file:
```kotlin title="settings.gradle.kts"
rootProject.name = "workspace-example"
-includeBuild("libtmux-source")
```
-Save the following build file:
+Save the following build file. Gradle resolves the workspace module and its core dependency from Maven Central:
```kotlin title="build.gradle.kts"
plugins {
@@ -49,7 +46,7 @@ repositories {
}
dependencies {
- implementation("io.github.libtmux:libtmux-workspace:0.0.1-alpha.12-SNAPSHOT")
+ implementation("io.github.libtmux:libtmux-workspace:0.1.0")
}
java {
@@ -128,4 +125,4 @@ those programs to finish. Keep the session running instead of calling
-[Workspace API source](https://github.com/libtmux/libtmux-java/tree/842228310449e879ebcaa3f910597757c9dbffd6/libtmux-workspace/src/main/java/io/github/libtmux/workspace)
+[Workspace API source](https://github.com/libtmux/libtmux-java/tree/5c181887918351119bfdb3a046719fa792048e59/libtmux-workspace/src/main/java/io/github/libtmux/workspace)
diff --git a/site/src/content/docs/ports/java/workspace/internals/guides.md b/site/src/content/docs/ports/java/workspace/internals/guides.md
index 640123d1b..257525725 100644
--- a/site/src/content/docs/ports/java/workspace/internals/guides.md
+++ b/site/src/content/docs/ports/java/workspace/internals/guides.md
@@ -15,7 +15,7 @@ libtmux modules:
```kotlin title="build.gradle.kts"
dependencies {
- implementation(platform("io.github.libtmux:libtmux-bom:0.0.1-alpha.10"))
+ implementation(platform("io.github.libtmux:libtmux-bom:0.1.0"))
implementation("io.github.libtmux:libtmux-workspace")
}
```
diff --git a/site/src/content/docs/ports/kotlin/concepts/queries.md b/site/src/content/docs/ports/kotlin/concepts/queries.md
index f08f9de67..6f0c51a68 100644
--- a/site/src/content/docs/ports/kotlin/concepts/queries.md
+++ b/site/src/content/docs/ports/kotlin/concepts/queries.md
@@ -18,11 +18,10 @@ Filter captured objects in Kotlin, handle result counts explicitly, and match se
Use an empty directory on Linux with Git, tmux 3.3a or newer, and JDK 25. Save the project files and launcher below, then save any complete program on this page. Each program has its own imports and entry point.
-The pinned source checkout supplies the Gradle wrapper and the library dependency.
+The pinned source checkout supplies the Gradle wrapper. Gradle resolves the library from Maven Central.
```kotlin title="settings.gradle.kts"
rootProject.name = "connect"
-includeBuild("libtmux-source")
```
```kotlin title="build.gradle.kts"
@@ -35,7 +34,7 @@ plugins {
repositories { mavenCentral() }
dependencies {
- implementation("io.github.libtmux:libtmux-kotlin:0.0.1-alpha.17-SNAPSHOT")
+ implementation("io.github.libtmux:libtmux-kotlin:0.1.0")
}
kotlin {
jvmToolchain(25)
@@ -82,11 +81,11 @@ export LIBTMUX_SOCKET_PATH="$socket" TMUX_BIN="$binary"
"$binary" -S "$socket" has-session -t '=work-one'
```
-Fetch the library revision used by these examples:
+Fetch the Gradle wrapper from the 0.1.0 release:
```console
$ git clone https://github.com/libtmux/libtmux-java libtmux-source &&
- git -C libtmux-source checkout be1d62fbaa1aa634c687e1c50bceeb09ef0b8a15
+ git -C libtmux-source checkout 5c181887918351119bfdb3a046719fa792048e59
```
Each run starts from the same two-session fixture. Programs do not depend on another example having run first. Their assertions fail if the observed result differs.
diff --git a/site/src/content/docs/ports/kotlin/concepts/server-session-window-pane.md b/site/src/content/docs/ports/kotlin/concepts/server-session-window-pane.md
index bafdad26e..d782fa2b5 100644
--- a/site/src/content/docs/ports/kotlin/concepts/server-session-window-pane.md
+++ b/site/src/content/docs/ports/kotlin/concepts/server-session-window-pane.md
@@ -20,11 +20,10 @@ A session holds window placements; a window holds panes. A linked window can app
Use an empty directory on Linux with Git, tmux 3.3a or newer, and JDK 25. Save the project files and launcher below, then save any complete program on this page. Each program has its own imports and entry point.
-The pinned source checkout supplies the Gradle wrapper and the library dependency.
+The pinned source checkout supplies the Gradle wrapper. Gradle resolves the library from Maven Central.
```kotlin title="settings.gradle.kts"
rootProject.name = "connect"
-includeBuild("libtmux-source")
```
```kotlin title="build.gradle.kts"
@@ -37,7 +36,7 @@ plugins {
repositories { mavenCentral() }
dependencies {
- implementation("io.github.libtmux:libtmux-kotlin:0.0.1-alpha.17-SNAPSHOT")
+ implementation("io.github.libtmux:libtmux-kotlin:0.1.0")
}
kotlin {
jvmToolchain(25)
@@ -84,11 +83,11 @@ export LIBTMUX_SOCKET_PATH="$socket" TMUX_BIN="$binary"
"$binary" -S "$socket" has-session -t '=work-one'
```
-Fetch the library revision used by these examples:
+Fetch the Gradle wrapper from the 0.1.0 release:
```console
$ git clone https://github.com/libtmux/libtmux-java libtmux-source &&
- git -C libtmux-source checkout be1d62fbaa1aa634c687e1c50bceeb09ef0b8a15
+ git -C libtmux-source checkout 5c181887918351119bfdb3a046719fa792048e59
```
Each run starts from the same two-session fixture. Programs do not depend on another example having run first. Their assertions fail if the observed result differs.
diff --git a/site/src/content/docs/ports/kotlin/concepts/transports.md b/site/src/content/docs/ports/kotlin/concepts/transports.md
index 8f3cef7a3..d95c5aaed 100644
--- a/site/src/content/docs/ports/kotlin/concepts/transports.md
+++ b/site/src/content/docs/ports/kotlin/concepts/transports.md
@@ -18,11 +18,10 @@ Choose command calls for bounded operations and a control connection when you ne
Use an empty directory on Linux with Git, tmux 3.3a or newer, and JDK 25. Save the project files and launcher below, then save any complete program on this page. Each program has its own imports and entry point.
-The pinned source checkout supplies the Gradle wrapper and the library dependency.
+The pinned source checkout supplies the Gradle wrapper. Gradle resolves the library from Maven Central.
```kotlin title="settings.gradle.kts"
rootProject.name = "connect"
-includeBuild("libtmux-source")
```
```kotlin title="build.gradle.kts"
@@ -35,7 +34,7 @@ plugins {
repositories { mavenCentral() }
dependencies {
- implementation("io.github.libtmux:libtmux-kotlin:0.0.1-alpha.17-SNAPSHOT")
+ implementation("io.github.libtmux:libtmux-kotlin:0.1.0")
}
kotlin {
jvmToolchain(25)
@@ -82,11 +81,11 @@ export LIBTMUX_SOCKET_PATH="$socket" TMUX_BIN="$binary"
"$binary" -S "$socket" has-session -t '=work-one'
```
-Fetch the library revision used by these examples:
+Fetch the Gradle wrapper from the 0.1.0 release:
```console
$ git clone https://github.com/libtmux/libtmux-java libtmux-source &&
- git -C libtmux-source checkout be1d62fbaa1aa634c687e1c50bceeb09ef0b8a15
+ git -C libtmux-source checkout 5c181887918351119bfdb3a046719fa792048e59
```
Each run starts from the same two-session fixture. Programs do not depend on another example having run first. Their assertions fail if the observed result differs.
@@ -142,7 +141,7 @@ work-one, work-two
## Open and close a control client
-Send `list-sessions` over a persistent control connection, verify the response, then close the control client. A subsequent ordinary read verifies the tmux server still has both sessions.
+Send `list-sessions` over a persistent control connection, verify the response, then close the control client. A subsequent ordinary read verifies the tmux server still has both sessions. Managed control needs tmux 3.7 or newer; on an older server the library refuses it with an unsupported-feature error.
```kotlin title="Control.kt"
import io.github.libtmux.ServerConfig
diff --git a/site/src/content/docs/ports/kotlin/concepts/workspaces.md b/site/src/content/docs/ports/kotlin/concepts/workspaces.md
index 37697a1ed..8c531ac73 100644
--- a/site/src/content/docs/ports/kotlin/concepts/workspaces.md
+++ b/site/src/content/docs/ports/kotlin/concepts/workspaces.md
@@ -16,11 +16,10 @@ Build a tmux layout from Kotlin by creating a window, splitting a pane and selec
Use an empty directory on Linux with Git, tmux 3.3a or newer, and JDK 25. Save the project files and launcher below, then save any complete program on this page. Each program has its own imports and entry point.
-The pinned source checkout supplies the Gradle wrapper and the library dependency.
+The pinned source checkout supplies the Gradle wrapper. Gradle resolves the library from Maven Central.
```kotlin title="settings.gradle.kts"
rootProject.name = "connect"
-includeBuild("libtmux-source")
```
```kotlin title="build.gradle.kts"
@@ -33,7 +32,7 @@ plugins {
repositories { mavenCentral() }
dependencies {
- implementation("io.github.libtmux:libtmux-kotlin:0.0.1-alpha.17-SNAPSHOT")
+ implementation("io.github.libtmux:libtmux-kotlin:0.1.0")
}
kotlin {
jvmToolchain(25)
@@ -80,11 +79,11 @@ export LIBTMUX_SOCKET_PATH="$socket" TMUX_BIN="$binary"
"$binary" -S "$socket" has-session -t '=work-one'
```
-Fetch the library revision used by these examples:
+Fetch the Gradle wrapper from the 0.1.0 release:
```console
$ git clone https://github.com/libtmux/libtmux-java libtmux-source &&
- git -C libtmux-source checkout be1d62fbaa1aa634c687e1c50bceeb09ef0b8a15
+ git -C libtmux-source checkout 5c181887918351119bfdb3a046719fa792048e59
```
Each run starts from the same two-session fixture. Programs do not depend on another example having run first. Their assertions fail if the observed result differs.
diff --git a/site/src/content/docs/ports/kotlin/examples/capture-pane-output.md b/site/src/content/docs/ports/kotlin/examples/capture-pane-output.md
index 7a7b80f4f..47ebf4a7f 100644
--- a/site/src/content/docs/ports/kotlin/examples/capture-pane-output.md
+++ b/site/src/content/docs/ports/kotlin/examples/capture-pane-output.md
@@ -105,7 +105,6 @@ Save `settings.gradle.kts` beside `Capture.kt`.
```kotlin title="settings.gradle.kts"
rootProject.name = "capture"
-includeBuild("libtmux-source")
```
Save `build.gradle.kts` beside `Capture.kt`.
@@ -118,7 +117,7 @@ plugins {
repositories { mavenCentral() }
dependencies {
- implementation("io.github.libtmux:libtmux-kotlin:0.0.1-alpha.17-SNAPSHOT")
+ implementation("io.github.libtmux:libtmux-kotlin:0.1.0")
}
kotlin {
jvmToolchain(25)
@@ -135,11 +134,11 @@ kotlin.daemon.jvmargs=-Xmx2g
org.gradle.workers.max=2
```
-The commands pin the library revision used to run this program.
+The commands fetch the Gradle wrapper from the 0.1.0 release; Gradle resolves the library from Maven Central.
```console
$ git clone https://github.com/libtmux/libtmux-java libtmux-source &&
- git -C libtmux-source checkout 85ebf6955e56703c5be74e2afd34a18309044741 &&
+ git -C libtmux-source checkout 5c181887918351119bfdb3a046719fa792048e59 &&
./libtmux-source/gradlew --project-dir . run --console=plain --max-workers=2
```
@@ -148,4 +147,4 @@ $ git clone https://github.com/libtmux/libtmux-java libtmux-source &&
## Where this comes from
The displayed files were compiled or loaded with their native tools and run
-on Linux with tmux 3.2a and 3.7c. The rendering checks preserve those file bytes.
+on Linux with tmux 3.3a and 3.7c. The rendering checks preserve those file bytes.
diff --git a/site/src/content/docs/ports/kotlin/guides/attaching-to-tmux.md b/site/src/content/docs/ports/kotlin/guides/attaching-to-tmux.md
index 2b1b0aa5f..a8c5ccb71 100644
--- a/site/src/content/docs/ports/kotlin/guides/attaching-to-tmux.md
+++ b/site/src/content/docs/ports/kotlin/guides/attaching-to-tmux.md
@@ -66,7 +66,7 @@ plugins {
repositories { mavenCentral() }
dependencies {
- implementation("io.github.libtmux:libtmux-kotlin:0.0.1-alpha.17-SNAPSHOT")
+ implementation("io.github.libtmux:libtmux-kotlin:0.1.0")
}
kotlin {
jvmToolchain(25)
@@ -79,7 +79,6 @@ Save this file beside the program using the displayed filename.
```kotlin title="settings.gradle.kts"
rootProject.name = "connect"
-includeBuild("libtmux-source")
```
Save this file beside the program using the displayed filename.
@@ -123,11 +122,11 @@ export LIBTMUX_SOCKET_PATH="$socket" TMUX_BIN="$binary"
"$binary" -S "$socket" has-session -t '=work'
```
-Fetch the verified library revision, build, and run:
+Fetch the Gradle wrapper from the 0.1.0 release, build, and run:
```console
$ git clone https://github.com/libtmux/libtmux-java libtmux-source &&
- git -C libtmux-source checkout 85ebf6955e56703c5be74e2afd34a18309044741 &&
+ git -C libtmux-source checkout 5c181887918351119bfdb3a046719fa792048e59 &&
sh run.sh ./libtmux-source/gradlew --project-dir . run --console=plain --max-workers=2
```
diff --git a/site/src/content/docs/ports/rs/mcp/examples/inspect-sessions.md b/site/src/content/docs/ports/rs/mcp/examples/inspect-sessions.md
index b9987930d..a0bafacbe 100644
--- a/site/src/content/docs/ports/rs/mcp/examples/inspect-sessions.md
+++ b/site/src/content/docs/ports/rs/mcp/examples/inspect-sessions.md
@@ -19,9 +19,9 @@ that server before exiting. The socket lives in a temporary directory under
## Run the example
-Use Git, Rust 1.97.1, and tmux 3.3a or newer on Linux or macOS. Both libtmux
-crates below use the source revision documented by the MCP reference.
-The example was run on Linux with tmux 3.2a and 3.7c.
+Use Rust 1.97.1 and tmux 3.3a or newer on Linux or macOS. Both libtmux
+crates below are the published [0.1.0 release](https://github.com/libtmux/libtmux-rs/tree/ce7610a3b46376c377292e5a640b3798c18708fe).
+The example was run on Linux with tmux 3.3a and 3.7c.
Create a directory for the program:
@@ -47,8 +47,8 @@ edition = "2024"
publish = false
[dependencies]
-libtmux = { git = "https://github.com/libtmux/libtmux-rs", rev = "a6fc2a65674177b92b17fa380757155d2ba150fd" }
-tmux-mcp = { git = "https://github.com/libtmux/libtmux-rs", rev = "a6fc2a65674177b92b17fa380757155d2ba150fd" }
+libtmux = "0.1.0"
+tmux-mcp = "0.1.0"
rmcp = { version = "=3.1.2", features = ["client", "server", "transport-io"] }
serde_json = "=1.0.151"
tempfile = "=3.27.0"
diff --git a/site/src/content/docs/ports/rs/mcp/guides/connect-client.md b/site/src/content/docs/ports/rs/mcp/guides/connect-client.md
index 01867907c..d740985f6 100644
--- a/site/src/content/docs/ports/rs/mcp/guides/connect-client.md
+++ b/site/src/content/docs/ports/rs/mcp/guides/connect-client.md
@@ -13,19 +13,15 @@ sidebar:
the executable and exchanges JSON-RPC messages over stdin and stdout.
The launcher writes diagnostics to stderr.
-Use Rust 1.88 or newer, Git, and tmux 3.3a or newer on Linux or macOS.
+Use Rust 1.88 or newer and tmux 3.3a or newer on Linux or macOS.
The command below uses the tested Rust 1.97.1 toolchain and installs the
-source revision used by this documentation's MCP reference. Cargo's
-binary directory must be on the path available to your MCP client.
+published `tmux-mcp` 0.1.0 crate. Cargo's binary directory must be on the
+path available to your MCP client.
## Install and connect
```console
-$ cargo +1.97.1 install \
- --git https://github.com/libtmux/libtmux-rs \
- --rev a6fc2a65674177b92b17fa380757155d2ba150fd \
- --locked \
- tmux-mcp
+$ cargo +1.97.1 install --locked tmux-mcp@0.1.0
```
Check that the installed command runs:
@@ -37,7 +33,7 @@ $ tmux-mcp --version
Expected output:
```text
-tmux-mcp 0.1.0-alpha.16
+tmux-mcp 0.1.0
```
For a client that accepts `mcpServers`, add this entry to its configuration:
diff --git a/site/src/content/docs/ports/scala/concepts/queries.md b/site/src/content/docs/ports/scala/concepts/queries.md
index 595cf5ec1..5a52f7dfe 100644
--- a/site/src/content/docs/ports/scala/concepts/queries.md
+++ b/site/src/content/docs/ports/scala/concepts/queries.md
@@ -18,16 +18,10 @@ Filter captured objects in Scala, handle result counts explicitly, and match ses
Use an empty directory on Linux with Git, tmux 3.3a or newer, and JDK 25. Save the project files and launcher below, then save any complete program on this page. Each program has its own imports and entry point.
-The pinned source checkout supplies the Gradle wrapper and the library dependency.
+The pinned source checkout supplies the Gradle wrapper. Gradle resolves the library from Maven Central.
```kotlin title="settings.gradle.kts"
rootProject.name = "connect"
-includeBuild("libtmux-source") {
- dependencySubstitution {
- substitute(module("io.github.libtmux:libtmux-scala_3"))
- .using(project(":libtmux-scala"))
- }
-}
```
```kotlin title="build.gradle.kts"
@@ -41,7 +35,7 @@ plugins {
repositories { mavenCentral() }
dependencies {
implementation("org.scala-lang:scala3-library_3:3.9.0")
- implementation("io.github.libtmux:libtmux-scala_3:0.0.1-alpha.17-SNAPSHOT")
+ implementation("io.github.libtmux:libtmux-scala_3:0.1.0")
}
java { toolchain { languageVersion.set(JavaLanguageVersion.of(25)) } }
sourceSets.main { scala.srcDir("."); scala.include("${example}.scala") }
@@ -86,11 +80,11 @@ export LIBTMUX_SOCKET_PATH="$socket" TMUX_BIN="$binary"
"$binary" -S "$socket" has-session -t '=work-one'
```
-Fetch the library revision used by these examples:
+Fetch the Gradle wrapper from the 0.1.0 release:
```console
$ git clone https://github.com/libtmux/libtmux-java libtmux-source &&
- git -C libtmux-source checkout be1d62fbaa1aa634c687e1c50bceeb09ef0b8a15
+ git -C libtmux-source checkout 5c181887918351119bfdb3a046719fa792048e59
```
Each run starts from the same two-session fixture. Programs do not depend on another example having run first. Their assertions fail if the observed result differs.
diff --git a/site/src/content/docs/ports/scala/concepts/server-session-window-pane.md b/site/src/content/docs/ports/scala/concepts/server-session-window-pane.md
index 508bcecea..028adc93b 100644
--- a/site/src/content/docs/ports/scala/concepts/server-session-window-pane.md
+++ b/site/src/content/docs/ports/scala/concepts/server-session-window-pane.md
@@ -20,16 +20,10 @@ A session holds window placements; a window holds panes. A linked window can app
Use an empty directory on Linux with Git, tmux 3.3a or newer, and JDK 25. Save the project files and launcher below, then save any complete program on this page. Each program has its own imports and entry point.
-The pinned source checkout supplies the Gradle wrapper and the library dependency.
+The pinned source checkout supplies the Gradle wrapper. Gradle resolves the library from Maven Central.
```kotlin title="settings.gradle.kts"
rootProject.name = "connect"
-includeBuild("libtmux-source") {
- dependencySubstitution {
- substitute(module("io.github.libtmux:libtmux-scala_3"))
- .using(project(":libtmux-scala"))
- }
-}
```
```kotlin title="build.gradle.kts"
@@ -43,7 +37,7 @@ plugins {
repositories { mavenCentral() }
dependencies {
implementation("org.scala-lang:scala3-library_3:3.9.0")
- implementation("io.github.libtmux:libtmux-scala_3:0.0.1-alpha.17-SNAPSHOT")
+ implementation("io.github.libtmux:libtmux-scala_3:0.1.0")
}
java { toolchain { languageVersion.set(JavaLanguageVersion.of(25)) } }
sourceSets.main { scala.srcDir("."); scala.include("${example}.scala") }
@@ -88,11 +82,11 @@ export LIBTMUX_SOCKET_PATH="$socket" TMUX_BIN="$binary"
"$binary" -S "$socket" has-session -t '=work-one'
```
-Fetch the library revision used by these examples:
+Fetch the Gradle wrapper from the 0.1.0 release:
```console
$ git clone https://github.com/libtmux/libtmux-java libtmux-source &&
- git -C libtmux-source checkout be1d62fbaa1aa634c687e1c50bceeb09ef0b8a15
+ git -C libtmux-source checkout 5c181887918351119bfdb3a046719fa792048e59
```
Each run starts from the same two-session fixture. Programs do not depend on another example having run first. Their assertions fail if the observed result differs.
diff --git a/site/src/content/docs/ports/scala/concepts/transports.md b/site/src/content/docs/ports/scala/concepts/transports.md
index a85027ad9..2d2f2cd3c 100644
--- a/site/src/content/docs/ports/scala/concepts/transports.md
+++ b/site/src/content/docs/ports/scala/concepts/transports.md
@@ -18,16 +18,10 @@ The direct [`Server`](../../reference/io-github-libtmux-scaladsl-server/) API bl
Use an empty directory on Linux with Git, tmux 3.3a or newer, and JDK 25. Save the project files and launcher below, then save any complete program on this page. Each program has its own imports and entry point.
-The pinned source checkout supplies the Gradle wrapper and the library dependency.
+The pinned source checkout supplies the Gradle wrapper. Gradle resolves the library from Maven Central.
```kotlin title="settings.gradle.kts"
rootProject.name = "connect"
-includeBuild("libtmux-source") {
- dependencySubstitution {
- substitute(module("io.github.libtmux:libtmux-scala_3"))
- .using(project(":libtmux-scala"))
- }
-}
```
```kotlin title="build.gradle.kts"
@@ -41,7 +35,7 @@ plugins {
repositories { mavenCentral() }
dependencies {
implementation("org.scala-lang:scala3-library_3:3.9.0")
- implementation("io.github.libtmux:libtmux-scala_3:0.0.1-alpha.17-SNAPSHOT")
+ implementation("io.github.libtmux:libtmux-scala_3:0.1.0")
}
java { toolchain { languageVersion.set(JavaLanguageVersion.of(25)) } }
sourceSets.main { scala.srcDir("."); scala.include("${example}.scala") }
@@ -86,11 +80,11 @@ export LIBTMUX_SOCKET_PATH="$socket" TMUX_BIN="$binary"
"$binary" -S "$socket" has-session -t '=work-one'
```
-Fetch the library revision used by these examples:
+Fetch the Gradle wrapper from the 0.1.0 release:
```console
$ git clone https://github.com/libtmux/libtmux-java libtmux-source &&
- git -C libtmux-source checkout be1d62fbaa1aa634c687e1c50bceeb09ef0b8a15
+ git -C libtmux-source checkout 5c181887918351119bfdb3a046719fa792048e59
```
Each run starts from the same two-session fixture. Programs do not depend on another example having run first. Their assertions fail if the observed result differs.
@@ -147,7 +141,7 @@ work-one, work-two
## Open and close a control client
-Send `list-sessions` over a persistent control connection, verify the response, then close the control client. A subsequent ordinary read verifies the tmux server still has both sessions.
+Send `list-sessions` over a persistent control connection, verify the response, then close the control client. A subsequent ordinary read verifies the tmux server still has both sessions. Managed control needs tmux 3.7 or newer; on an older server the library refuses it with an unsupported-feature error.
```scala title="Control.scala"
import io.github.libtmux.{ServerConfig, ServerEndpoint}
diff --git a/site/src/content/docs/ports/scala/concepts/workspaces.md b/site/src/content/docs/ports/scala/concepts/workspaces.md
index 72900c360..228390d89 100644
--- a/site/src/content/docs/ports/scala/concepts/workspaces.md
+++ b/site/src/content/docs/ports/scala/concepts/workspaces.md
@@ -16,16 +16,10 @@ Build a tmux layout from Scala by creating a window, splitting a pane and select
Use an empty directory on Linux with Git, tmux 3.3a or newer, and JDK 25. Save the project files and launcher below, then save any complete program on this page. Each program has its own imports and entry point.
-The pinned source checkout supplies the Gradle wrapper and the library dependency.
+The pinned source checkout supplies the Gradle wrapper. Gradle resolves the library from Maven Central.
```kotlin title="settings.gradle.kts"
rootProject.name = "connect"
-includeBuild("libtmux-source") {
- dependencySubstitution {
- substitute(module("io.github.libtmux:libtmux-scala_3"))
- .using(project(":libtmux-scala"))
- }
-}
```
```kotlin title="build.gradle.kts"
@@ -39,7 +33,7 @@ plugins {
repositories { mavenCentral() }
dependencies {
implementation("org.scala-lang:scala3-library_3:3.9.0")
- implementation("io.github.libtmux:libtmux-scala_3:0.0.1-alpha.17-SNAPSHOT")
+ implementation("io.github.libtmux:libtmux-scala_3:0.1.0")
}
java { toolchain { languageVersion.set(JavaLanguageVersion.of(25)) } }
sourceSets.main { scala.srcDir("."); scala.include("${example}.scala") }
@@ -84,11 +78,11 @@ export LIBTMUX_SOCKET_PATH="$socket" TMUX_BIN="$binary"
"$binary" -S "$socket" has-session -t '=work-one'
```
-Fetch the library revision used by these examples:
+Fetch the Gradle wrapper from the 0.1.0 release:
```console
$ git clone https://github.com/libtmux/libtmux-java libtmux-source &&
- git -C libtmux-source checkout be1d62fbaa1aa634c687e1c50bceeb09ef0b8a15
+ git -C libtmux-source checkout 5c181887918351119bfdb3a046719fa792048e59
```
Each run starts from the same two-session fixture. Programs do not depend on another example having run first. Their assertions fail if the observed result differs.
diff --git a/site/src/content/docs/ports/scala/examples/capture-pane-output.md b/site/src/content/docs/ports/scala/examples/capture-pane-output.md
index 1f93fa9ee..3367db026 100644
--- a/site/src/content/docs/ports/scala/examples/capture-pane-output.md
+++ b/site/src/content/docs/ports/scala/examples/capture-pane-output.md
@@ -97,12 +97,6 @@ Save `settings.gradle.kts` beside `Capture.scala`.
```kotlin title="settings.gradle.kts"
rootProject.name = "capture"
-includeBuild("libtmux-source") {
- dependencySubstitution {
- substitute(module("io.github.libtmux:libtmux-scala_3"))
- .using(project(":libtmux-scala"))
- }
-}
```
Save `build.gradle.kts` beside `Capture.scala`.
@@ -116,7 +110,7 @@ plugins {
repositories { mavenCentral() }
dependencies {
implementation("org.scala-lang:scala3-library_3:3.9.0")
- implementation("io.github.libtmux:libtmux-scala_3:0.0.1-alpha.17-SNAPSHOT")
+ implementation("io.github.libtmux:libtmux-scala_3:0.1.0")
}
java { toolchain { languageVersion.set(JavaLanguageVersion.of(25)) } }
sourceSets.main { scala.srcDir("."); scala.include("Capture.scala") }
@@ -131,11 +125,11 @@ kotlin.daemon.jvmargs=-Xmx2g
org.gradle.workers.max=2
```
-The commands pin the library revision used to run this program.
+The commands fetch the Gradle wrapper from the 0.1.0 release; Gradle resolves the library from Maven Central.
```console
$ git clone https://github.com/libtmux/libtmux-java libtmux-source &&
- git -C libtmux-source checkout 85ebf6955e56703c5be74e2afd34a18309044741 &&
+ git -C libtmux-source checkout 5c181887918351119bfdb3a046719fa792048e59 &&
./libtmux-source/gradlew --project-dir . run --console=plain --max-workers=2
```
@@ -144,4 +138,4 @@ $ git clone https://github.com/libtmux/libtmux-java libtmux-source &&
## Where this comes from
The displayed files were compiled or loaded with their native tools and run
-on Linux with tmux 3.2a and 3.7c. The rendering checks preserve those file bytes.
+on Linux with tmux 3.3a and 3.7c. The rendering checks preserve those file bytes.
diff --git a/site/src/content/docs/ports/scala/guides/attaching-to-tmux.md b/site/src/content/docs/ports/scala/guides/attaching-to-tmux.md
index b8403244b..ddbb2bd31 100644
--- a/site/src/content/docs/ports/scala/guides/attaching-to-tmux.md
+++ b/site/src/content/docs/ports/scala/guides/attaching-to-tmux.md
@@ -67,7 +67,7 @@ plugins {
repositories { mavenCentral() }
dependencies {
implementation("org.scala-lang:scala3-library_3:3.9.0")
- implementation("io.github.libtmux:libtmux-scala_3:0.0.1-alpha.17-SNAPSHOT")
+ implementation("io.github.libtmux:libtmux-scala_3:0.1.0")
}
java { toolchain { languageVersion.set(JavaLanguageVersion.of(25)) } }
sourceSets.main { scala.srcDir("."); scala.include("Connect.scala") }
@@ -78,12 +78,6 @@ Save this file beside the program using the displayed filename.
```kotlin title="settings.gradle.kts"
rootProject.name = "connect"
-includeBuild("libtmux-source") {
- dependencySubstitution {
- substitute(module("io.github.libtmux:libtmux-scala_3"))
- .using(project(":libtmux-scala"))
- }
-}
```
Save this file beside the program using the displayed filename.
@@ -127,11 +121,11 @@ export LIBTMUX_SOCKET_PATH="$socket" TMUX_BIN="$binary"
"$binary" -S "$socket" has-session -t '=work'
```
-Fetch the verified library revision, build, and run:
+Fetch the Gradle wrapper from the 0.1.0 release, build, and run:
```console
$ git clone https://github.com/libtmux/libtmux-java libtmux-source &&
- git -C libtmux-source checkout 85ebf6955e56703c5be74e2afd34a18309044741 &&
+ git -C libtmux-source checkout 5c181887918351119bfdb3a046719fa792048e59 &&
sh run.sh ./libtmux-source/gradlew --project-dir . run --console=plain --max-workers=2
```
diff --git a/site/src/data/home-examples.json b/site/src/data/home-examples.json
index 24d28a1a6..a9de965d5 100644
--- a/site/src/data/home-examples.json
+++ b/site/src/data/home-examples.json
@@ -33,8 +33,8 @@
"ruby": {
"lang": "ruby",
"sourceRepository": "libtmux/libtmux-ruby",
- "sourceRevision": "9b1545562a112353c2c893a1d3e8c0d9b4b51f8d",
- "sourceTree": "61f4a53afc47b42ac9dbffcca05f704599e11d35",
+ "sourceRevision": "c8b839595d5a30e271e3f9be0d0fe811ddb11b7e",
+ "sourceTree": "0cf427e8bbe586e4e86ab6fc66d325edb62e6646",
"program": "quickstart.rb",
"excerpt": {
"startLine": 1,
@@ -51,17 +51,17 @@
{
"name": "Gemfile",
"lang": "ruby",
- "code": "source \"https://rubygems.org\"\ngem \"libtmux\", path: \"source/gems/libtmux\"\n"
+ "code": "source \"https://rubygems.org\"\ngem \"libtmux\", \"~> 0.1\"\n"
},
{
"name": "Gemfile.lock",
"lang": "text",
- "code": "PATH\n remote: source/gems/libtmux\n specs:\n libtmux (0.1.0.alpha.1)\n fiddle (~> 1.1)\n io-console (~> 0.8)\n json (~> 3.0.2)\n securerandom (~> 0.4)\n tmpdir (~> 0.3)\n\nGEM\n remote: https://rubygems.org/\n specs:\n fiddle (1.1.8)\n fileutils (1.8.0)\n io-console (0.9.4)\n json (3.0.2)\n securerandom (0.4.1)\n tmpdir (0.3.1)\n fileutils\n\nPLATFORMS\n ruby\n x86_64-linux\n\nDEPENDENCIES\n libtmux!\n\nCHECKSUMS\n fiddle (1.1.8) sha256=7fa8ee3627271497f3add5503acdbc3f40b32f610fc1cf49634f083ef3f32eee\n fileutils (1.8.0) sha256=8c6b1df54e2540bdb2f39258f08af78853aa70bad52b4d394bbc6424593c6e02\n io-console (0.9.4) sha256=a403304f32928ee85e56d457b4612ca43f2703b561a3258844992bd24085fbb1\n json (3.0.2) sha256=8e6d7e7b11384c21230430cef90b71f14849a34a1f4452796670f7c981bd19df\n libtmux (0.1.0.alpha.1)\n securerandom (0.4.1) sha256=cc5193d414a4341b6e225f0cb4446aceca8e50d5e1888743fac16987638ea0b1\n tmpdir (0.3.1) sha256=908e9729bb31ce104ba27fc03cfc8293a7f858a8dc9e3a1d7cfd112919a3513d\n\nBUNDLED WITH\n 4.0.20\n"
+ "code": "GEM\n remote: https://rubygems.org/\n specs:\n fiddle (1.1.8)\n fileutils (1.8.1)\n io-console (0.9.4)\n json (3.0.2)\n libtmux (0.1.0)\n fiddle (~> 1.1)\n io-console (~> 0.8)\n json (~> 3.0.2)\n securerandom (~> 0.4)\n tmpdir (~> 0.3)\n securerandom (0.4.1)\n tmpdir (0.3.2)\n fileutils\n\nPLATFORMS\n ruby\n x86_64-linux\n\nDEPENDENCIES\n libtmux (~> 0.1)\n\nCHECKSUMS\n fiddle (1.1.8) sha256=7fa8ee3627271497f3add5503acdbc3f40b32f610fc1cf49634f083ef3f32eee\n fileutils (1.8.1) sha256=2d541a1ee34a9ed5c4f054be8fb819a26b5d654488a31dc8806917cf448b9cc3\n io-console (0.9.4) sha256=a403304f32928ee85e56d457b4612ca43f2703b561a3258844992bd24085fbb1\n json (3.0.2) sha256=8e6d7e7b11384c21230430cef90b71f14849a34a1f4452796670f7c981bd19df\n libtmux (0.1.0) sha256=e1cc928de46d517fc9956ba6161a5b9d205ae8ed337bfd31689b1adb75f3ef00\n securerandom (0.4.1) sha256=cc5193d414a4341b6e225f0cb4446aceca8e50d5e1888743fac16987638ea0b1\n tmpdir (0.3.2) sha256=e276ef386182169f8d417d9e90f12dba82a54e81646df0caf21de4a7987a0c27\n\nBUNDLED WITH\n 4.0.20\n"
}
],
- "prerequisites": "POSIX shell, Git, tmux 3.3a or newer, Ruby 4.0.7, Bundler 4.0.20 and a C build toolchain for gems.",
+ "prerequisites": "POSIX shell, tmux 3.3a or newer, Ruby 4.0.7, Bundler 4.0.20, a C build toolchain for gems and access to rubygems.org.",
"commands": [
- "git init -q source\ngit -C source fetch -q --depth=1 \\\n https://github.com/libtmux/libtmux-ruby.git \\\n 9b1545562a112353c2c893a1d3e8c0d9b4b51f8d\ngit -C source checkout -q --detach FETCH_HEAD\nbundle config set --local path vendor/bundle\nbundle install --jobs 2",
+ "bundle config set --local path vendor/bundle\nbundle install --jobs 2",
"unset TMUX TMUX_PANE\nexport ENV=/dev/null BASH_ENV=/dev/null SHELL=/bin/sh\nbundle exec ruby quickstart.rb"
],
"expectedOutput": "main: %0\nlogs: %1, %2\n",
@@ -142,8 +142,8 @@
"rs": {
"lang": "rust",
"sourceRepository": "libtmux/libtmux-rs",
- "sourceRevision": "a6fc2a65674177b92b17fa380757155d2ba150fd",
- "sourceTree": "865aef72a40135bade83eb5d44c0b78ea018a270",
+ "sourceRevision": "ce7610a3b46376c377292e5a640b3798c18708fe",
+ "sourceTree": "32c8792ffcd03d4d1c58d1f25b8d29fd36fc2287",
"program": "src/main.rs",
"excerpt": {
"startLine": 1,
@@ -160,12 +160,12 @@
{
"name": "Cargo.toml",
"lang": "toml",
- "code": "[package]\nname = \"libtmux-home-quickstart\"\nversion = \"0.0.0\"\nedition = \"2024\"\npublish = false\n\n[dependencies]\nlibtmux = { path = \"source/crates/libtmux\" }\ntempfile = \"3.20\"\ntokio = { version = \"1.40\", features = [\"macros\", \"rt\", \"time\"] }\n"
+ "code": "[package]\nname = \"libtmux-home-quickstart\"\nversion = \"0.0.0\"\nedition = \"2024\"\npublish = false\n\n[dependencies]\nlibtmux = \"0.1.0\"\ntempfile = \"3.20\"\ntokio = { version = \"1.40\", features = [\"macros\", \"rt\", \"time\"] }\n"
},
{
"name": "Cargo.lock",
"lang": "toml",
- "code": "# This file is automatically @generated by Cargo.\n# It is not intended for manual editing.\nversion = 4\n\n[[package]]\nname = \"aho-corasick\"\nversion = \"1.1.5\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba\"\ndependencies = [\n \"memchr\",\n]\n\n[[package]]\nname = \"bitflags\"\nversion = \"2.13.2\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06\"\n\n[[package]]\nname = \"bytes\"\nversion = \"1.12.1\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04\"\n\n[[package]]\nname = \"caseless\"\nversion = \"0.2.2\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"8b6fd507454086c8edfd769ca6ada439193cdb209c7681712ef6275cccbfe5d8\"\ndependencies = [\n \"unicode-normalization\",\n]\n\n[[package]]\nname = \"cfg-if\"\nversion = \"1.0.5\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600\"\n\n[[package]]\nname = \"errno\"\nversion = \"0.3.14\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb\"\ndependencies = [\n \"libc\",\n \"windows-sys\",\n]\n\n[[package]]\nname = \"fastrand\"\nversion = \"2.5.0\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223\"\n\n[[package]]\nname = \"getrandom\"\nversion = \"0.4.3\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099\"\ndependencies = [\n \"cfg-if\",\n \"libc\",\n \"r-efi\",\n]\n\n[[package]]\nname = \"libc\"\nversion = \"0.2.190\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"ce5d3ddc6d3fa000eb1536d85e147bfe31aacaba692ed6a876f95cb7c855be78\"\n\n[[package]]\nname = \"libtmux\"\nversion = \"0.1.0-alpha.15\"\ndependencies = [\n \"caseless\",\n \"regex\",\n \"rustix\",\n \"thiserror\",\n \"tokio\",\n]\n\n[[package]]\nname = \"libtmux-home-quickstart\"\nversion = \"0.0.0\"\ndependencies = [\n \"libtmux\",\n \"tempfile\",\n \"tokio\",\n]\n\n[[package]]\nname = \"linux-raw-sys\"\nversion = \"0.12.1\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53\"\n\n[[package]]\nname = \"memchr\"\nversion = \"2.8.3\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98\"\n\n[[package]]\nname = \"mio\"\nversion = \"1.2.3\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"4b18443e9c262bfe8fa82f51666e2642c53393f7e5c27b3e1aeab922cff5b9d8\"\ndependencies = [\n \"libc\",\n \"wasi\",\n \"windows-sys\",\n]\n\n[[package]]\nname = \"once_cell\"\nversion = \"1.21.4\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50\"\n\n[[package]]\nname = \"pin-project-lite\"\nversion = \"0.2.17\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd\"\n\n[[package]]\nname = \"proc-macro2\"\nversion = \"1.0.107\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9\"\ndependencies = [\n \"unicode-ident\",\n]\n\n[[package]]\nname = \"quote\"\nversion = \"1.0.47\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001\"\ndependencies = [\n \"proc-macro2\",\n]\n\n[[package]]\nname = \"r-efi\"\nversion = \"6.0.0\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf\"\n\n[[package]]\nname = \"regex\"\nversion = \"1.13.1\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d\"\ndependencies = [\n \"aho-corasick\",\n \"memchr\",\n \"regex-automata\",\n \"regex-syntax\",\n]\n\n[[package]]\nname = \"regex-automata\"\nversion = \"0.4.18\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2\"\ndependencies = [\n \"aho-corasick\",\n \"memchr\",\n \"regex-syntax\",\n]\n\n[[package]]\nname = \"regex-syntax\"\nversion = \"0.8.11\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4\"\n\n[[package]]\nname = \"rustix\"\nversion = \"1.1.5\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"891efababe418670775f199f0d233d84843c227a0949a883ce15b37c78d6629d\"\ndependencies = [\n \"bitflags\",\n \"errno\",\n \"libc\",\n \"linux-raw-sys\",\n \"windows-sys\",\n]\n\n[[package]]\nname = \"signal-hook-registry\"\nversion = \"1.4.8\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"c4db69cba1110affc0e9f7bcd48bbf87b3f4fc7c61fc9155afd4c469eb3d6c1b\"\ndependencies = [\n \"errno\",\n \"libc\",\n]\n\n[[package]]\nname = \"syn\"\nversion = \"3.0.6\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"8593e8e72159ed2257d083c7a454a85cbf854f37a0966d8d483aff8c8a3ebcee\"\ndependencies = [\n \"proc-macro2\",\n \"quote\",\n \"unicode-ident\",\n]\n\n[[package]]\nname = \"tempfile\"\nversion = \"3.27.0\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd\"\ndependencies = [\n \"fastrand\",\n \"getrandom\",\n \"once_cell\",\n \"rustix\",\n \"windows-sys\",\n]\n\n[[package]]\nname = \"thiserror\"\nversion = \"2.0.21\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e\"\ndependencies = [\n \"thiserror-impl\",\n]\n\n[[package]]\nname = \"thiserror-impl\"\nversion = \"2.0.21\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524\"\ndependencies = [\n \"proc-macro2\",\n \"quote\",\n \"syn\",\n]\n\n[[package]]\nname = \"tinyvec\"\nversion = \"1.13.3\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"fd3ca314f692efd6c868f8408f53fe444634a845f96c028b97d35f6a1f79f0ee\"\n\n[[package]]\nname = \"tokio\"\nversion = \"1.53.2\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"e95f91fcc7a621e8b030f6aa23c71fe9838ae2fb4d8118b75602a328f5144044\"\ndependencies = [\n \"bytes\",\n \"libc\",\n \"mio\",\n \"pin-project-lite\",\n \"signal-hook-registry\",\n \"tokio-macros\",\n \"windows-sys\",\n]\n\n[[package]]\nname = \"tokio-macros\"\nversion = \"2.7.2\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"78773a2a397f451582ce068015985c33193cf6dea8b74d2a639fe457b2f07b0e\"\ndependencies = [\n \"proc-macro2\",\n \"quote\",\n \"syn\",\n]\n\n[[package]]\nname = \"unicode-ident\"\nversion = \"1.0.26\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"d245f478577f809a851594d02313b640fb437e0bb33866753cff937863096954\"\n\n[[package]]\nname = \"unicode-normalization\"\nversion = \"0.1.25\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"5fd4f6878c9cb28d874b009da9e8d183b5abc80117c40bbd187a1fde336be6e8\"\ndependencies = [\n \"tinyvec\",\n]\n\n[[package]]\nname = \"wasi\"\nversion = \"0.11.1+wasi-snapshot-preview1\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b\"\n\n[[package]]\nname = \"windows-link\"\nversion = \"0.2.1\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5\"\n\n[[package]]\nname = \"windows-sys\"\nversion = \"0.61.2\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc\"\ndependencies = [\n \"windows-link\",\n]\n"
+ "code": "# This file is automatically @generated by Cargo.\n# It is not intended for manual editing.\nversion = 4\n\n[[package]]\nname = \"aho-corasick\"\nversion = \"1.1.5\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba\"\ndependencies = [\n \"memchr\",\n]\n\n[[package]]\nname = \"bitflags\"\nversion = \"2.13.2\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06\"\n\n[[package]]\nname = \"bytes\"\nversion = \"1.12.1\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04\"\n\n[[package]]\nname = \"caseless\"\nversion = \"0.2.2\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"8b6fd507454086c8edfd769ca6ada439193cdb209c7681712ef6275cccbfe5d8\"\ndependencies = [\n \"unicode-normalization\",\n]\n\n[[package]]\nname = \"cfg-if\"\nversion = \"1.0.5\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600\"\n\n[[package]]\nname = \"errno\"\nversion = \"0.3.14\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb\"\ndependencies = [\n \"libc\",\n \"windows-sys\",\n]\n\n[[package]]\nname = \"fastrand\"\nversion = \"2.5.0\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223\"\n\n[[package]]\nname = \"getrandom\"\nversion = \"0.4.3\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099\"\ndependencies = [\n \"cfg-if\",\n \"libc\",\n \"r-efi\",\n]\n\n[[package]]\nname = \"libc\"\nversion = \"0.2.191\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a\"\n\n[[package]]\nname = \"libtmux\"\nversion = \"0.1.0\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"d5a6ac3b0304461e4d8825397b931cbaab705e9cacfcc485974ff5a4252fffb6\"\ndependencies = [\n \"caseless\",\n \"regex\",\n \"rustix\",\n \"thiserror\",\n \"tokio\",\n]\n\n[[package]]\nname = \"libtmux-home-quickstart\"\nversion = \"0.0.0\"\ndependencies = [\n \"libtmux\",\n \"tempfile\",\n \"tokio\",\n]\n\n[[package]]\nname = \"linux-raw-sys\"\nversion = \"0.12.1\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53\"\n\n[[package]]\nname = \"memchr\"\nversion = \"2.8.3\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98\"\n\n[[package]]\nname = \"mio\"\nversion = \"1.2.4\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"1788edb87fdc09c7e26304471e2f5be8cdefb1b6930d6e3985fc02ff53bf86ee\"\ndependencies = [\n \"libc\",\n \"wasi\",\n \"windows-sys\",\n]\n\n[[package]]\nname = \"once_cell\"\nversion = \"1.21.4\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50\"\n\n[[package]]\nname = \"pin-project-lite\"\nversion = \"0.2.17\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd\"\n\n[[package]]\nname = \"proc-macro2\"\nversion = \"1.0.107\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9\"\ndependencies = [\n \"unicode-ident\",\n]\n\n[[package]]\nname = \"quote\"\nversion = \"1.0.47\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001\"\ndependencies = [\n \"proc-macro2\",\n]\n\n[[package]]\nname = \"r-efi\"\nversion = \"6.0.0\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf\"\n\n[[package]]\nname = \"regex\"\nversion = \"1.13.1\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d\"\ndependencies = [\n \"aho-corasick\",\n \"memchr\",\n \"regex-automata\",\n \"regex-syntax\",\n]\n\n[[package]]\nname = \"regex-automata\"\nversion = \"0.4.18\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2\"\ndependencies = [\n \"aho-corasick\",\n \"memchr\",\n \"regex-syntax\",\n]\n\n[[package]]\nname = \"regex-syntax\"\nversion = \"0.8.11\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4\"\n\n[[package]]\nname = \"rustix\"\nversion = \"1.1.6\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"e5e76742e5294153d4dde1207dbec5bdd81eef6fabdc0d2118babadabfd858aa\"\ndependencies = [\n \"bitflags\",\n \"errno\",\n \"libc\",\n \"linux-raw-sys\",\n \"windows-sys\",\n]\n\n[[package]]\nname = \"signal-hook-registry\"\nversion = \"1.4.8\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"c4db69cba1110affc0e9f7bcd48bbf87b3f4fc7c61fc9155afd4c469eb3d6c1b\"\ndependencies = [\n \"errno\",\n \"libc\",\n]\n\n[[package]]\nname = \"syn\"\nversion = \"3.0.9\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"d78c8dee4c7bf0e14673097256fed6142ce9d3b85a408189d07482442145823b\"\ndependencies = [\n \"proc-macro2\",\n \"quote\",\n \"unicode-ident\",\n]\n\n[[package]]\nname = \"tempfile\"\nversion = \"3.27.0\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd\"\ndependencies = [\n \"fastrand\",\n \"getrandom\",\n \"once_cell\",\n \"rustix\",\n \"windows-sys\",\n]\n\n[[package]]\nname = \"thiserror\"\nversion = \"2.0.21\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e\"\ndependencies = [\n \"thiserror-impl\",\n]\n\n[[package]]\nname = \"thiserror-impl\"\nversion = \"2.0.21\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524\"\ndependencies = [\n \"proc-macro2\",\n \"quote\",\n \"syn\",\n]\n\n[[package]]\nname = \"tinyvec\"\nversion = \"1.13.3\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"fd3ca314f692efd6c868f8408f53fe444634a845f96c028b97d35f6a1f79f0ee\"\n\n[[package]]\nname = \"tokio\"\nversion = \"1.54.1\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"b52fd3255258d26fac7264ab5a76b53c13367136dc011d3d6ad4f8ed070396a3\"\ndependencies = [\n \"bytes\",\n \"libc\",\n \"mio\",\n \"pin-project-lite\",\n \"signal-hook-registry\",\n \"tokio-macros\",\n \"windows-sys\",\n]\n\n[[package]]\nname = \"tokio-macros\"\nversion = \"2.7.2\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"78773a2a397f451582ce068015985c33193cf6dea8b74d2a639fe457b2f07b0e\"\ndependencies = [\n \"proc-macro2\",\n \"quote\",\n \"syn\",\n]\n\n[[package]]\nname = \"unicode-ident\"\nversion = \"1.0.27\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563\"\n\n[[package]]\nname = \"unicode-normalization\"\nversion = \"0.1.26\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"75cd3fb03d5288b3ba9a1ee103ac7e9cbb59f0b03d64f8ddfcc04dd42758a85d\"\ndependencies = [\n \"tinyvec\",\n]\n\n[[package]]\nname = \"wasi\"\nversion = \"0.11.1+wasi-snapshot-preview1\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b\"\n\n[[package]]\nname = \"windows-link\"\nversion = \"0.2.1\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5\"\n\n[[package]]\nname = \"windows-sys\"\nversion = \"0.61.2\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\nchecksum = \"ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc\"\ndependencies = [\n \"windows-link\",\n]\n"
},
{
"name": "rust-toolchain.toml",
@@ -173,9 +173,9 @@
"code": "[toolchain]\nchannel = \"1.97.1\"\ncomponents = [\"clippy\", \"rust-src\", \"rustfmt\"]\nprofile = \"minimal\"\n"
}
],
- "prerequisites": "POSIX shell, Git, tmux 3.3a or newer, rustup with Rust 1.97.1 (rust-toolchain.toml), and a C linker.",
+ "prerequisites": "POSIX shell, tmux 3.3a or newer, rustup with Rust 1.97.1 (rust-toolchain.toml), and a C linker.",
"commands": [
- "git init -q source\ngit -C source fetch -q --depth=1 \\\n https://github.com/libtmux/libtmux-rs.git \\\n a6fc2a65674177b92b17fa380757155d2ba150fd\ngit -C source checkout -q --detach FETCH_HEAD\ncargo build --locked --jobs 2",
+ "cargo build --locked --jobs 2",
"unset TMUX TMUX_PANE\nexport ENV=/dev/null BASH_ENV=/dev/null SHELL=/bin/sh\ncargo run --quiet --locked"
],
"expectedOutput": "hello\n",
@@ -224,8 +224,8 @@
"java": {
"lang": "java",
"sourceRepository": "libtmux/libtmux-java",
- "sourceRevision": "a0ecbc16da00140e2520462d478a2af470878272",
- "sourceTree": "342c76ca1ad7257b3655c7a47d7258b486b26975",
+ "sourceRevision": "5c181887918351119bfdb3a046719fa792048e59",
+ "sourceTree": "546ecf68a8a31e0503e18323ba82ce3a490490ab",
"program": "src/main/java/Main.java",
"excerpt": {
"startLine": 1,
@@ -237,12 +237,12 @@
{
"name": "build.gradle.kts",
"lang": "kotlin",
- "code": "plugins {\n application\n}\n\nrepositories { mavenCentral() }\n\ndependencies {\n implementation(\"io.github.libtmux:libtmux:0.0.1-alpha.17-SNAPSHOT\")\n}\n\njava { toolchain { languageVersion.set(JavaLanguageVersion.of(25)) } }\n\napplication { mainClass.set(providers.gradleProperty(\"exampleMain\")) }\n"
+ "code": "plugins {\n application\n}\n\nrepositories { mavenCentral() }\n\ndependencies {\n implementation(\"io.github.libtmux:libtmux:0.1.0\")\n}\n\njava { toolchain { languageVersion.set(JavaLanguageVersion.of(25)) } }\n\napplication { mainClass.set(providers.gradleProperty(\"exampleMain\")) }\n"
},
{
"name": "settings.gradle.kts",
"lang": "kotlin",
- "code": "rootProject.name = \"api-example\"\n\nincludeBuild(\"libtmux-source\")\n"
+ "code": "rootProject.name = \"api-example\"\n"
},
{
"name": "gradle.properties",
@@ -257,7 +257,7 @@
],
"prerequisites": "JDK 25 and tmux on Linux/macOS",
"commands": [
- "# Save the files above at their displayed relative paths.\ngit clone https://github.com/libtmux/libtmux-java.git libtmux-source\ngit -C libtmux-source checkout --detach a0ecbc16da00140e2520462d478a2af470878272\n./libtmux-source/gradlew --project-dir . --console=plain --no-daemon --max-workers=2 \\\n installDist -PexampleMain=Main\nSHELL=/bin/sh build/install/api-example/bin/api-example"
+ "# Save the files above at their displayed relative paths.\ngit clone https://github.com/libtmux/libtmux-java.git libtmux-source\ngit -C libtmux-source checkout --detach 5c181887918351119bfdb3a046719fa792048e59\n./libtmux-source/gradlew --project-dir . --console=plain --no-daemon --max-workers=2 \\\n installDist -PexampleMain=Main\nSHELL=/bin/sh build/install/api-example/bin/api-example"
],
"expectedOutput": "hello from libtmux\n",
"variants": {
@@ -269,8 +269,8 @@
"kotlin": {
"lang": "kotlin",
"sourceRepository": "libtmux/libtmux-java",
- "sourceRevision": "a0ecbc16da00140e2520462d478a2af470878272",
- "sourceTree": "342c76ca1ad7257b3655c7a47d7258b486b26975",
+ "sourceRevision": "5c181887918351119bfdb3a046719fa792048e59",
+ "sourceTree": "546ecf68a8a31e0503e18323ba82ce3a490490ab",
"program": "src/main/kotlin/Main.kt",
"excerpt": {
"startLine": 1,
@@ -282,12 +282,12 @@
{
"name": "build.gradle.kts",
"lang": "kotlin",
- "code": "plugins {\n kotlin(\"jvm\") version \"2.4.10\"\n application\n}\n\nrepositories { mavenCentral() }\n\ndependencies {\n implementation(\"io.github.libtmux:libtmux-kotlin:0.0.1-alpha.17-SNAPSHOT\")\n}\n\njava { toolchain { languageVersion.set(JavaLanguageVersion.of(25)) } }\nkotlin { jvmToolchain(25) }\n\napplication { mainClass.set(providers.gradleProperty(\"exampleMain\")) }\n"
+ "code": "plugins {\n kotlin(\"jvm\") version \"2.4.10\"\n application\n}\n\nrepositories { mavenCentral() }\n\ndependencies {\n implementation(\"io.github.libtmux:libtmux-kotlin:0.1.0\")\n}\n\njava { toolchain { languageVersion.set(JavaLanguageVersion.of(25)) } }\nkotlin { jvmToolchain(25) }\n\napplication { mainClass.set(providers.gradleProperty(\"exampleMain\")) }\n"
},
{
"name": "settings.gradle.kts",
"lang": "kotlin",
- "code": "rootProject.name = \"api-example\"\n\nincludeBuild(\"libtmux-source\")\n"
+ "code": "rootProject.name = \"api-example\"\n"
},
{
"name": "gradle.properties",
@@ -302,7 +302,7 @@
],
"prerequisites": "JDK 25 and tmux on Linux/macOS; Gradle resolves Kotlin 2.4.10",
"commands": [
- "# Save the files above at their displayed relative paths.\ngit clone https://github.com/libtmux/libtmux-java.git libtmux-source\ngit -C libtmux-source checkout --detach a0ecbc16da00140e2520462d478a2af470878272\n./libtmux-source/gradlew --project-dir . --console=plain --no-daemon --max-workers=2 \\\n installDist -PexampleMain=MainKt\nSHELL=/bin/sh build/install/api-example/bin/api-example"
+ "# Save the files above at their displayed relative paths.\ngit clone https://github.com/libtmux/libtmux-java.git libtmux-source\ngit -C libtmux-source checkout --detach 5c181887918351119bfdb3a046719fa792048e59\n./libtmux-source/gradlew --project-dir . --console=plain --no-daemon --max-workers=2 \\\n installDist -PexampleMain=MainKt\nSHELL=/bin/sh build/install/api-example/bin/api-example"
],
"expectedOutput": "ready; exit 3\n",
"variants": {
@@ -314,8 +314,8 @@
"scala": {
"lang": "scala",
"sourceRepository": "libtmux/libtmux-java",
- "sourceRevision": "a0ecbc16da00140e2520462d478a2af470878272",
- "sourceTree": "342c76ca1ad7257b3655c7a47d7258b486b26975",
+ "sourceRevision": "5c181887918351119bfdb3a046719fa792048e59",
+ "sourceTree": "546ecf68a8a31e0503e18323ba82ce3a490490ab",
"program": "src/main/scala/Main.scala",
"excerpt": {
"startLine": 1,
@@ -327,12 +327,12 @@
{
"name": "build.gradle.kts",
"lang": "kotlin",
- "code": "plugins {\n scala\n application\n}\n\nrepositories { mavenCentral() }\n\ndependencies {\n implementation(\"io.github.libtmux:libtmux-scala_3:0.0.1-alpha.17-SNAPSHOT\")\n implementation(\"org.scala-lang:scala3-library_3:3.9.0\")\n}\n\njava { toolchain { languageVersion.set(JavaLanguageVersion.of(25)) } }\n\napplication { mainClass.set(providers.gradleProperty(\"exampleMain\")) }\n"
+ "code": "plugins {\n scala\n application\n}\n\nrepositories { mavenCentral() }\n\ndependencies {\n implementation(\"io.github.libtmux:libtmux-scala_3:0.1.0\")\n implementation(\"org.scala-lang:scala3-library_3:3.9.0\")\n}\n\njava { toolchain { languageVersion.set(JavaLanguageVersion.of(25)) } }\n\napplication { mainClass.set(providers.gradleProperty(\"exampleMain\")) }\n"
},
{
"name": "settings.gradle.kts",
"lang": "kotlin",
- "code": "rootProject.name = \"api-example\"\n\nincludeBuild(\"libtmux-source\") {\n dependencySubstitution {\n substitute(module(\"io.github.libtmux:libtmux-scala_3\"))\n .using(project(\":libtmux-scala\"))\n }\n}\n"
+ "code": "rootProject.name = \"api-example\"\n"
},
{
"name": "gradle.properties",
@@ -347,7 +347,7 @@
],
"prerequisites": "JDK 25 and tmux on Linux/macOS; Scala 3.9.0 Direct facade",
"commands": [
- "# Save the files above at their displayed relative paths.\ngit clone https://github.com/libtmux/libtmux-java.git libtmux-source\ngit -C libtmux-source checkout --detach a0ecbc16da00140e2520462d478a2af470878272\n./libtmux-source/gradlew --project-dir . --console=plain --no-daemon --max-workers=2 \\\n installDist -PexampleMain=Main\nSHELL=/bin/sh build/install/api-example/bin/api-example"
+ "# Save the files above at their displayed relative paths.\ngit clone https://github.com/libtmux/libtmux-java.git libtmux-source\ngit -C libtmux-source checkout --detach 5c181887918351119bfdb3a046719fa792048e59\n./libtmux-source/gradlew --project-dir . --console=plain --no-daemon --max-workers=2 \\\n installDist -PexampleMain=Main\nSHELL=/bin/sh build/install/api-example/bin/api-example"
],
"expectedOutput": "work: 2 panes\ncommands: sh\n",
"variants": {
@@ -359,8 +359,8 @@
"csharp": {
"lang": "csharp",
"sourceRepository": "libtmux/libtmux-dotnet",
- "sourceRevision": "4f1b997b2e4aeb604c4184707e49dcd4dea44fef",
- "sourceTree": "2bed2dca445fd23ad3f627f0c8f8eba76436aeb4",
+ "sourceRevision": "472c2bcfbda6735139849324cc109ad70300001e",
+ "sourceTree": "4ef96f46e6f60db9f55e7349ed3e5ab60315af1a",
"program": "app/Program.cs",
"excerpt": {
"startLine": 1,
@@ -377,22 +377,17 @@
{
"name": "app/Example.csproj",
"lang": "xml",
- "code": "\n \n Exe\n net8.0;net10.0\n 12.0\n enable\n disable\n false\n true\n 10-recommended\n \n \n \n \n \n\n"
+ "code": "\n \n Exe\n net8.0;net10.0\n 12.0\n enable\n disable\n false\n true\n 10-recommended\n \n \n \n \n \n\n"
},
{
"name": "app/global.json",
"lang": "json",
- "code": "{\n \"sdk\": {\n \"version\": \"10.0.302\",\n \"rollForward\": \"disable\",\n \"allowPrerelease\": false\n },\n \"test\": {\n \"runner\": \"Microsoft.Testing.Platform\"\n }\n}\n"
- },
- {
- "name": "app/NuGet.config",
- "lang": "xml",
- "code": "\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n"
+ "code": "{\n \"sdk\": {\n \"version\": \"10.0.303\",\n \"rollForward\": \"disable\",\n \"allowPrerelease\": false\n },\n \"test\": {\n \"runner\": \"Microsoft.Testing.Platform\"\n }\n}\n"
}
],
- "prerequisites": ".NET SDK 10.0.302, .NET 8 and 10 runtimes, tmux on Linux/macOS",
+ "prerequisites": ".NET SDK 10.0.303, .NET 8 and 10 runtimes, tmux on Linux/macOS",
"commands": [
- "# Save the files above at their displayed relative paths.\ngit clone https://github.com/libtmux/libtmux-dotnet.git libtmux-source\ngit -C libtmux-source checkout --detach 4f1b997b2e4aeb604c4184707e49dcd4dea44fef\nexport NUGET_PACKAGES=\"$PWD/packages\"\ncd libtmux-source\ndotnet restore src/LibTmux.FSharp/LibTmux.FSharp.fsproj --locked-mode\ndotnet pack src/LibTmux/LibTmux.csproj -c Release --no-restore \\\n -p:ContinuousIntegrationBuild=true --output artifacts/api-example-packages\ncd ../app\ndotnet restore Example.csproj --configfile NuGet.config\ndotnet build Example.csproj -c Release --no-restore --warnaserror\nexport TMUX_TMPDIR=/tmp/libtmux-dotnet-dev\nmkdir -p \"$TMUX_TMPDIR\"\nunset TMUX TMUX_PANE\ndotnet bin/Release/net8.0/Example.dll\ndotnet bin/Release/net10.0/Example.dll"
+ "# Save the files above at their displayed relative paths.\ncd app\ndotnet restore Example.csproj\ndotnet build Example.csproj -c Release --no-restore --warnaserror\nexport TMUX_TMPDIR=/tmp/libtmux-dotnet-dev\nmkdir -p \"$TMUX_TMPDIR\"\nunset TMUX TMUX_PANE\ndotnet bin/Release/net8.0/Example.dll\ndotnet bin/Release/net10.0/Example.dll"
],
"expectedOutput": "hello-from-libtmux\n",
"variants": {
@@ -404,8 +399,8 @@
"fsharp": {
"lang": "fsharp",
"sourceRepository": "libtmux/libtmux-dotnet",
- "sourceRevision": "4f1b997b2e4aeb604c4184707e49dcd4dea44fef",
- "sourceTree": "2bed2dca445fd23ad3f627f0c8f8eba76436aeb4",
+ "sourceRevision": "472c2bcfbda6735139849324cc109ad70300001e",
+ "sourceTree": "4ef96f46e6f60db9f55e7349ed3e5ab60315af1a",
"program": "app/Program.fs",
"excerpt": {
"startLine": 1,
@@ -422,22 +417,17 @@
{
"name": "app/Example.fsproj",
"lang": "xml",
- "code": "\n \n Exe\n net8.0;net10.0\n 10.0\n true\n true\n true\n \n \n \n \n \n \n\n"
+ "code": "\n \n Exe\n net8.0;net10.0\n 10.0\n true\n true\n true\n \n \n \n \n \n \n\n"
},
{
"name": "app/global.json",
"lang": "json",
- "code": "{\n \"sdk\": {\n \"version\": \"10.0.302\",\n \"rollForward\": \"disable\",\n \"allowPrerelease\": false\n },\n \"test\": {\n \"runner\": \"Microsoft.Testing.Platform\"\n }\n}\n"
- },
- {
- "name": "app/NuGet.config",
- "lang": "xml",
- "code": "\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n"
+ "code": "{\n \"sdk\": {\n \"version\": \"10.0.303\",\n \"rollForward\": \"disable\",\n \"allowPrerelease\": false\n },\n \"test\": {\n \"runner\": \"Microsoft.Testing.Platform\"\n }\n}\n"
}
],
- "prerequisites": ".NET SDK 10.0.302, .NET 8 and 10 runtimes, tmux on Linux/macOS",
+ "prerequisites": ".NET SDK 10.0.303, .NET 8 and 10 runtimes, tmux 3.4 or newer on Linux/macOS",
"commands": [
- "# Save the files above at their displayed relative paths.\ngit clone https://github.com/libtmux/libtmux-dotnet.git libtmux-source\ngit -C libtmux-source checkout --detach 4f1b997b2e4aeb604c4184707e49dcd4dea44fef\nexport NUGET_PACKAGES=\"$PWD/packages\"\ncd libtmux-source\ndotnet restore src/LibTmux.FSharp/LibTmux.FSharp.fsproj --locked-mode\ndotnet pack src/LibTmux/LibTmux.csproj -c Release --no-restore \\\n -p:ContinuousIntegrationBuild=true --output artifacts/api-example-packages\ndotnet pack src/LibTmux.FSharp/LibTmux.FSharp.fsproj -c Release --no-restore \\\n -p:ContinuousIntegrationBuild=true --output artifacts/api-example-packages\ncd ../app\ndotnet restore Example.fsproj --configfile NuGet.config\ndotnet build Example.fsproj -c Release --no-restore --warnaserror\nexport TMUX_TMPDIR=/tmp/libtmux-dotnet-dev\nmkdir -p \"$TMUX_TMPDIR\"\nunset TMUX TMUX_PANE\ndotnet bin/Release/net8.0/Example.dll\ndotnet bin/Release/net10.0/Example.dll"
+ "# Save the files above at their displayed relative paths.\ncd app\ndotnet restore Example.fsproj\ndotnet build Example.fsproj -c Release --no-restore --warnaserror\nexport TMUX_TMPDIR=/tmp/libtmux-dotnet-dev\nmkdir -p \"$TMUX_TMPDIR\"\nunset TMUX TMUX_PANE\ndotnet bin/Release/net8.0/Example.dll\ndotnet bin/Release/net10.0/Example.dll"
],
"expectedOutput": "other sessions: web, worker\nwait found: true\nrun: exit 3, output [\"ok\"]\n",
"variants": {
@@ -519,8 +509,8 @@
"powershell": {
"lang": "powershell",
"sourceRepository": "libtmux/libtmux-powershell",
- "sourceRevision": "fcd0634e9ca887b70d88915c2d8e26c5da2737e5",
- "sourceTree": "e842e7d382a31131e73b2e9967d2b5d977304a0a",
+ "sourceRevision": "2c30121b7733bf772d17140231a49332e5a470ab",
+ "sourceTree": "3752a58d6d5ff6852c5446cee4f4d95ad826ef8c",
"program": "quickstart.ps1",
"excerpt": {
"startLine": 1,
@@ -537,7 +527,7 @@
],
"prerequisites": "PowerShell 7.4.20 with PSResourceGet 1.1.1, POSIX shell and tmux on Linux.",
"commands": [
- "pwsh -NoLogo -NoProfile -Command '\n $ErrorActionPreference = \"Stop\"\n $null = New-Item -ItemType Directory -Path ./modules -Force\n Save-PSResource -Name LibTmux -Version 0.1.0-alpha2 `\n -Prerelease -Path ./modules -TrustRepository\n'",
+ "pwsh -NoLogo -NoProfile -Command '\n $ErrorActionPreference = \"Stop\"\n $null = New-Item -ItemType Directory -Path ./modules -Force\n Save-PSResource -Name LibTmux -Version 0.1.0 `\n -Path ./modules -TrustRepository\n'",
"unset TMUX TMUX_PANE\nexport ENV=/dev/null BASH_ENV=/dev/null SHELL=/bin/sh\npwsh -NoLogo -NoProfile -File quickstart.ps1"
],
"expectedOutput": "editor: %0, %1\nlogs: %2\n",
@@ -581,8 +571,8 @@
"elixir": {
"lang": "elixir",
"sourceRepository": "libtmux/libtmux-elixir",
- "sourceRevision": "6e6e88e886bdd9267fcd8be66f561dc5d5462476",
- "sourceTree": "82a927e2c306379461b7cfba69cf31c9109c01f7",
+ "sourceRevision": "cac4252bfc52069980d47db2b7803dc9b33f36f1",
+ "sourceTree": "f2c639ac8c99fa284acf6d122aa7af7177e068a9",
"program": "quickstart.exs",
"excerpt": {
"startLine": 1,
@@ -594,7 +584,7 @@
{
"name": "quickstart.exs",
"lang": "elixir",
- "code": "Mix.install([{:libtmux, \"== 0.0.1-alpha.1\"}])\n\nalias LibTmux.{Command, Selection, Server, Snapshot}\n\ntmux = System.find_executable(\"tmux\") || raise \"tmux is not on PATH\"\nid = Base.encode16(:crypto.strong_rand_bytes(8), case: :lower)\ndir = Path.join(System.tmp_dir!(), \"libtmux-\" <> id)\nsocket = Path.join(dir, \"tmux.sock\")\nFile.mkdir!(dir)\nFile.chmod!(dir, 0o700)\n\ntry do\n # libtmux works on a running server, so tmux itself starts the private one.\n create = [\"new-session\", \"-d\", \"-s\", \"demo\", \"/bin/cat\"]\n {_, 0} = System.cmd(tmux, [\"-S\", socket, \"-f\", \"/dev/null\" | create])\n\n server = Server.new(executable: tmux, socket: socket)\n split = Command.new(\"split-window\", [\"-t\", \"demo\", \"/bin/cat\"])\n logs = Command.new(\"new-window\", [\"-t\", \"demo\", \"-n\", \"logs\", \"/bin/cat\"])\n {:ok, _} = Server.run(server, split)\n {:ok, _} = Server.run(server, logs)\n\n snapshot = Server.snapshot!(server)\n session = snapshot |> Snapshot.sessions() |> Selection.one!()\n windows = snapshot |> Snapshot.windows() |> Selection.size()\n panes = snapshot |> Snapshot.panes() |> Selection.size()\n IO.puts(\"#{session.name}: #{windows} windows, #{panes} panes\")\nafter\n System.cmd(tmux, [\"-S\", socket, \"kill-server\"], stderr_to_stdout: true)\n File.rm_rf(dir)\nend\n"
+ "code": "Mix.install([{:libtmux, \"~> 0.1\"}])\n\nalias LibTmux.{Command, Selection, Server, Snapshot}\n\ntmux = System.find_executable(\"tmux\") || raise \"tmux is not on PATH\"\nid = Base.encode16(:crypto.strong_rand_bytes(8), case: :lower)\ndir = Path.join(System.tmp_dir!(), \"libtmux-\" <> id)\nsocket = Path.join(dir, \"tmux.sock\")\nFile.mkdir!(dir)\nFile.chmod!(dir, 0o700)\n\ntry do\n # libtmux works on a running server, so tmux itself starts the private one.\n create = [\"new-session\", \"-d\", \"-s\", \"demo\", \"/bin/cat\"]\n {_, 0} = System.cmd(tmux, [\"-S\", socket, \"-f\", \"/dev/null\" | create])\n\n server = Server.new(executable: tmux, socket: socket)\n split = Command.new(\"split-window\", [\"-t\", \"demo\", \"/bin/cat\"])\n logs = Command.new(\"new-window\", [\"-t\", \"demo\", \"-n\", \"logs\", \"/bin/cat\"])\n {:ok, _} = Server.run(server, split)\n {:ok, _} = Server.run(server, logs)\n\n snapshot = Server.snapshot!(server)\n session = snapshot |> Snapshot.sessions() |> Selection.one!()\n windows = snapshot |> Snapshot.windows() |> Selection.size()\n panes = snapshot |> Snapshot.panes() |> Selection.size()\n IO.puts(\"#{session.name}: #{windows} windows, #{panes} panes\")\nafter\n System.cmd(tmux, [\"-S\", socket, \"kill-server\"], stderr_to_stdout: true)\n File.rm_rf(dir)\nend\n"
}
],
"prerequisites": "POSIX shell, tmux 3.3 or newer, Elixir 1.20.4 or newer, Erlang/OTP 29.1.2 or a newer 29.x release, access to hex.pm, and a C11 compiler on Linux.",
@@ -604,9 +594,9 @@
"expectedOutput": "demo: 2 windows, 3 panes\n",
"withoutErrorHandling": "An unmatched result or a raised error ends the script with its message and stack trace, so there is no separate error handling to add. Every version checks required results.",
"variants": {
- "concise": "Mix.install([{:libtmux, \"== 0.0.1-alpha.1\"}])\n\nalias LibTmux.{Command, Selection, Server, Snapshot}\n\ntmux = System.find_executable(\"tmux\") || raise \"tmux is not on PATH\"\nid = Base.encode16(:crypto.strong_rand_bytes(8), case: :lower)\ndir = Path.join(System.tmp_dir!(), \"libtmux-\" <> id)\nsocket = Path.join(dir, \"tmux.sock\")\nFile.mkdir!(dir)\nFile.chmod!(dir, 0o700)\n\n# libtmux works on a running server, so tmux itself starts the private one.\ncreate = [\"new-session\", \"-d\", \"-s\", \"demo\", \"/bin/cat\"]\n{_, 0} = System.cmd(tmux, [\"-S\", socket, \"-f\", \"/dev/null\" | create])\n\nserver = Server.new(executable: tmux, socket: socket)\nsplit = Command.new(\"split-window\", [\"-t\", \"demo\", \"/bin/cat\"])\nlogs = Command.new(\"new-window\", [\"-t\", \"demo\", \"-n\", \"logs\", \"/bin/cat\"])\n{:ok, _} = Server.run(server, split)\n{:ok, _} = Server.run(server, logs)\n\nsnapshot = Server.snapshot!(server)\nsession = snapshot |> Snapshot.sessions() |> Selection.one!()\nwindows = snapshot |> Snapshot.windows() |> Selection.size()\npanes = snapshot |> Snapshot.panes() |> Selection.size()\nIO.puts(\"#{session.name}: #{windows} windows, #{panes} panes\")\n",
- "errors": "Mix.install([{:libtmux, \"== 0.0.1-alpha.1\"}])\n\nalias LibTmux.{Command, Selection, Server, Snapshot}\n\ntmux = System.find_executable(\"tmux\") || raise \"tmux is not on PATH\"\nid = Base.encode16(:crypto.strong_rand_bytes(8), case: :lower)\ndir = Path.join(System.tmp_dir!(), \"libtmux-\" <> id)\nsocket = Path.join(dir, \"tmux.sock\")\nFile.mkdir!(dir)\nFile.chmod!(dir, 0o700)\n\n# libtmux works on a running server, so tmux itself starts the private one.\ncreate = [\"new-session\", \"-d\", \"-s\", \"demo\", \"/bin/cat\"]\n{_, 0} = System.cmd(tmux, [\"-S\", socket, \"-f\", \"/dev/null\" | create])\n\nserver = Server.new(executable: tmux, socket: socket)\nsplit = Command.new(\"split-window\", [\"-t\", \"demo\", \"/bin/cat\"])\nlogs = Command.new(\"new-window\", [\"-t\", \"demo\", \"-n\", \"logs\", \"/bin/cat\"])\n{:ok, _} = Server.run(server, split)\n{:ok, _} = Server.run(server, logs)\n\nsnapshot = Server.snapshot!(server)\nsession = snapshot |> Snapshot.sessions() |> Selection.one!()\nwindows = snapshot |> Snapshot.windows() |> Selection.size()\npanes = snapshot |> Snapshot.panes() |> Selection.size()\nIO.puts(\"#{session.name}: #{windows} windows, #{panes} panes\")\n",
- "cleanup": "Mix.install([{:libtmux, \"== 0.0.1-alpha.1\"}])\n\nalias LibTmux.{Command, Selection, Server, Snapshot}\n\ntmux = System.find_executable(\"tmux\") || raise \"tmux is not on PATH\"\nid = Base.encode16(:crypto.strong_rand_bytes(8), case: :lower)\ndir = Path.join(System.tmp_dir!(), \"libtmux-\" <> id)\nsocket = Path.join(dir, \"tmux.sock\")\nFile.mkdir!(dir)\nFile.chmod!(dir, 0o700)\n\ntry do\n # libtmux works on a running server, so tmux itself starts the private one.\n create = [\"new-session\", \"-d\", \"-s\", \"demo\", \"/bin/cat\"]\n {_, 0} = System.cmd(tmux, [\"-S\", socket, \"-f\", \"/dev/null\" | create])\n\n server = Server.new(executable: tmux, socket: socket)\n split = Command.new(\"split-window\", [\"-t\", \"demo\", \"/bin/cat\"])\n logs = Command.new(\"new-window\", [\"-t\", \"demo\", \"-n\", \"logs\", \"/bin/cat\"])\n {:ok, _} = Server.run(server, split)\n {:ok, _} = Server.run(server, logs)\n\n snapshot = Server.snapshot!(server)\n session = snapshot |> Snapshot.sessions() |> Selection.one!()\n windows = snapshot |> Snapshot.windows() |> Selection.size()\n panes = snapshot |> Snapshot.panes() |> Selection.size()\n IO.puts(\"#{session.name}: #{windows} windows, #{panes} panes\")\nafter\n System.cmd(tmux, [\"-S\", socket, \"kill-server\"], stderr_to_stdout: true)\n File.rm_rf(dir)\nend\n"
+ "concise": "Mix.install([{:libtmux, \"~> 0.1\"}])\n\nalias LibTmux.{Command, Selection, Server, Snapshot}\n\ntmux = System.find_executable(\"tmux\") || raise \"tmux is not on PATH\"\nid = Base.encode16(:crypto.strong_rand_bytes(8), case: :lower)\ndir = Path.join(System.tmp_dir!(), \"libtmux-\" <> id)\nsocket = Path.join(dir, \"tmux.sock\")\nFile.mkdir!(dir)\nFile.chmod!(dir, 0o700)\n\n# libtmux works on a running server, so tmux itself starts the private one.\ncreate = [\"new-session\", \"-d\", \"-s\", \"demo\", \"/bin/cat\"]\n{_, 0} = System.cmd(tmux, [\"-S\", socket, \"-f\", \"/dev/null\" | create])\n\nserver = Server.new(executable: tmux, socket: socket)\nsplit = Command.new(\"split-window\", [\"-t\", \"demo\", \"/bin/cat\"])\nlogs = Command.new(\"new-window\", [\"-t\", \"demo\", \"-n\", \"logs\", \"/bin/cat\"])\n{:ok, _} = Server.run(server, split)\n{:ok, _} = Server.run(server, logs)\n\nsnapshot = Server.snapshot!(server)\nsession = snapshot |> Snapshot.sessions() |> Selection.one!()\nwindows = snapshot |> Snapshot.windows() |> Selection.size()\npanes = snapshot |> Snapshot.panes() |> Selection.size()\nIO.puts(\"#{session.name}: #{windows} windows, #{panes} panes\")\n",
+ "errors": "Mix.install([{:libtmux, \"~> 0.1\"}])\n\nalias LibTmux.{Command, Selection, Server, Snapshot}\n\ntmux = System.find_executable(\"tmux\") || raise \"tmux is not on PATH\"\nid = Base.encode16(:crypto.strong_rand_bytes(8), case: :lower)\ndir = Path.join(System.tmp_dir!(), \"libtmux-\" <> id)\nsocket = Path.join(dir, \"tmux.sock\")\nFile.mkdir!(dir)\nFile.chmod!(dir, 0o700)\n\n# libtmux works on a running server, so tmux itself starts the private one.\ncreate = [\"new-session\", \"-d\", \"-s\", \"demo\", \"/bin/cat\"]\n{_, 0} = System.cmd(tmux, [\"-S\", socket, \"-f\", \"/dev/null\" | create])\n\nserver = Server.new(executable: tmux, socket: socket)\nsplit = Command.new(\"split-window\", [\"-t\", \"demo\", \"/bin/cat\"])\nlogs = Command.new(\"new-window\", [\"-t\", \"demo\", \"-n\", \"logs\", \"/bin/cat\"])\n{:ok, _} = Server.run(server, split)\n{:ok, _} = Server.run(server, logs)\n\nsnapshot = Server.snapshot!(server)\nsession = snapshot |> Snapshot.sessions() |> Selection.one!()\nwindows = snapshot |> Snapshot.windows() |> Selection.size()\npanes = snapshot |> Snapshot.panes() |> Selection.size()\nIO.puts(\"#{session.name}: #{windows} windows, #{panes} panes\")\n",
+ "cleanup": "Mix.install([{:libtmux, \"~> 0.1\"}])\n\nalias LibTmux.{Command, Selection, Server, Snapshot}\n\ntmux = System.find_executable(\"tmux\") || raise \"tmux is not on PATH\"\nid = Base.encode16(:crypto.strong_rand_bytes(8), case: :lower)\ndir = Path.join(System.tmp_dir!(), \"libtmux-\" <> id)\nsocket = Path.join(dir, \"tmux.sock\")\nFile.mkdir!(dir)\nFile.chmod!(dir, 0o700)\n\ntry do\n # libtmux works on a running server, so tmux itself starts the private one.\n create = [\"new-session\", \"-d\", \"-s\", \"demo\", \"/bin/cat\"]\n {_, 0} = System.cmd(tmux, [\"-S\", socket, \"-f\", \"/dev/null\" | create])\n\n server = Server.new(executable: tmux, socket: socket)\n split = Command.new(\"split-window\", [\"-t\", \"demo\", \"/bin/cat\"])\n logs = Command.new(\"new-window\", [\"-t\", \"demo\", \"-n\", \"logs\", \"/bin/cat\"])\n {:ok, _} = Server.run(server, split)\n {:ok, _} = Server.run(server, logs)\n\n snapshot = Server.snapshot!(server)\n session = snapshot |> Snapshot.sessions() |> Selection.one!()\n windows = snapshot |> Snapshot.windows() |> Selection.size()\n panes = snapshot |> Snapshot.panes() |> Selection.size()\n IO.puts(\"#{session.name}: #{windows} windows, #{panes} panes\")\nafter\n System.cmd(tmux, [\"-S\", socket, \"kill-server\"], stderr_to_stdout: true)\n File.rm_rf(dir)\nend\n"
}
}
}
diff --git a/site/src/lib/link-preview-browser.ts b/site/src/lib/link-preview-browser.ts
index 92c83c6f1..73a2e1ffe 100644
--- a/site/src/lib/link-preview-browser.ts
+++ b/site/src/lib/link-preview-browser.ts
@@ -4,6 +4,9 @@ import { paintCard, previewLabel } from './link-preview-card'
export { linkPreviewTarget } from './link-preview-paint'
const cache = new Map()
+/** How long a pointer or focus rests on a link before its card opens. */
+const PREVIEW_DWELL_MS = 180
+const GLOSSARY_DWELL_MS = 1000
let dispose = () => {}
/** Keep keyword help and fetched previews inside the same viewport gutter. */
@@ -121,7 +124,9 @@ export function initLinkPreviews() {
if (current === link) return
// A new target owns the intent immediately, even while its dwell timer runs.
close()
- timer = setTimeout(() => { void show(link) }, 180)
+ // A glossary card would cover the prose around its link, so it waits until the reader stops on it.
+ const dwell = linkPreviewTarget(link.href, location.origin)?.glossary ? GLOSSARY_DWELL_MS : PREVIEW_DWELL_MS
+ timer = setTimeout(() => { void show(link) }, dwell)
}
const dismissUnused = () => {
clearTimeout(closeTimer)
@@ -161,7 +166,10 @@ export function initLinkPreviews() {
place()
}, { signal })
document.addEventListener('keydown', (event) => {
- if (event.key === 'Escape' && (current || panel.matches(':popover-open'))) { event.preventDefault(); close(pinned) }
+ if (event.key !== 'Escape') return
+ // A card still waiting out its dwell is cancelled too; only an open one consumes the key.
+ clearTimeout(timer)
+ if (current || panel.matches(':popover-open')) { event.preventDefault(); close(pinned) }
}, { signal, capture: true })
panel.addEventListener('toggle', (event) => {
if ((event as ToggleEvent).newState === 'closed' && shown && !panel.matches(':popover-open')) close()
diff --git a/site/src/pages/reference/symbols/[letter].astro b/site/src/pages/reference/symbols/[letter].astro
index 71afbf02b..b678e2171 100644
--- a/site/src/pages/reference/symbols/[letter].astro
+++ b/site/src/pages/reference/symbols/[letter].astro
@@ -94,7 +94,7 @@ for (const { port, symbol } of entries) {
>
- Symbol index
+ Symbol index
Public symbols by name. {entries.length} beginning
with {letter}.
diff --git a/site/src/styles/api-tree.css b/site/src/styles/api-tree.css
index 506411af2..ce85fdc12 100644
--- a/site/src/styles/api-tree.css
+++ b/site/src/styles/api-tree.css
@@ -81,7 +81,10 @@ html[data-theme-mode='dark'] .api-nav { --api-nav-guide: color-mix(in srgb, var(
inset-inline-start: calc(0.5rem + round(1.35em, 2px) + 0.5rem + (var(--level) - 2) * var(--api-nav-indent));
border-inline-start: 1px solid var(--api-nav-guide); pointer-events: none;
}
-.api-nav[data-marks='mixed'][data-presentation] .api-nav__row > .api-nav__label::before {
+/* Mixed marks have no kind-mark gutter, so the guide sits under the parent's label.
+ It repeats the guide's own selector so its specificity is at least as high. */
+.api-nav[data-marks='mixed'][data-presentation] :is(.api-nav__item:is([aria-description], [data-lazy^='group:']):not([aria-level='1']) > .api-nav__row, .api-nav__item[data-lazy^='more:'] > .api-nav__row, .api-nav__leaf[aria-description]:not([aria-level='1'])) > .api-nav__label::before,
+.api-nav[data-marks='mixed'][data-presentation] .api-nav__item[data-lazy^='more:'] > .api-nav__row > noscript > .api-nav__label::before {
inset-inline-start: calc(0.5rem + (var(--level) - 2) * var(--api-nav-indent));
}
.api-nav[data-presentation] :is(.api-nav__leaf[aria-current='page'], .api-nav__row:has(> [aria-current='page'])) {
diff --git a/site/src/styles/native-sphinx.css b/site/src/styles/native-sphinx.css
index 58535a48f..ef35a0a94 100644
--- a/site/src/styles/native-sphinx.css
+++ b/site/src/styles/native-sphinx.css
@@ -2,6 +2,8 @@
html[data-native-shell] {
font-size: 100%;
--native-header-height: calc(3.25rem + 1px);
+ /* NativeSphinxScript writes the measured pinned class row height on each class; 0px until it does. */
+ --native-class-row-height: 0px;
scroll-padding-top: calc(var(--native-header-height) + 1.25rem);
/* Native Tailwind defaults must not replace the shared downloaded faces. */
--font-sans: var(--font-ibm-plex-sans);
diff --git a/site/test/api-tree-guides.outer.test.ts b/site/test/api-tree-guides.outer.test.ts
new file mode 100644
index 000000000..c7962eaed
--- /dev/null
+++ b/site/test/api-tree-guides.outer.test.ts
@@ -0,0 +1,69 @@
+import { readFileSync } from 'node:fs'
+import { chromium, type Browser } from 'playwright'
+import { afterAll, beforeAll, describe, expect, it } from 'vitest'
+
+/**
+ * Sidebar guide lines in a real browser, with the site's own stylesheets and no server. A guide line marks a row's
+ * parent, so it sits under the parent's label and never crosses the row's own.
+ */
+const read = (path: string) => readFileSync(new URL(path, import.meta.url), 'utf8')
+const styles = ['../src/styles/kind-marks.css', '../src/styles/api-tree.css'].map(read).join('\n')
+// The rule that moves the guide for mixed marks, which have no kind-mark gutter.
+const mixedGuide = /\/\* Mixed marks have no kind-mark gutter[\s\S]*?\n\}\n/
+
+// The MCP sidebar as the page writes it: Outline, mixed marks, a section, a subsection and a resource.
+const tree = `
`
+
+const page = (css: string) => `${tree}`
+
+let browser: Browser
+beforeAll(async () => { browser = await chromium.launch({ headless: true }) }, 60_000)
+afterAll(async () => { await browser?.close() })
+
+/** Each nested row's guide line, its own label's text and its parent label's text, as page x positions. */
+async function guides(css: string) {
+ const target = await browser.newPage({ viewport: { width: 400, height: 300 } })
+ await target.setContent(page(css))
+ const rows = await target.evaluate(() => {
+ const textLeft = (label: Element) => { const range = document.createRange(); range.selectNodeContents(label); return range.getBoundingClientRect().left }
+ return [...document.querySelectorAll('[aria-level]:not([aria-level="1"])')].map((row) => {
+ const label = row.matches('a') ? row.querySelector('.api-nav__label')! : row.querySelector(':scope > .api-nav__row > .api-nav__label')!
+ const guide = getComputedStyle(label, '::before')
+ const parent = row.parentElement!.closest('[aria-level]')!.querySelector(':scope > .api-nav__row > .api-nav__label')!
+ return { text: label.textContent!.trim(), line: guide.borderInlineStartWidth,
+ guide: label.parentElement!.getBoundingClientRect().left + parseFloat(guide.left), own: textLeft(label), parent: textLeft(parent) }
+ })
+ })
+ await target.close()
+ return rows
+}
+
+describe('sidebar guide lines with mixed marks', () => {
+ it('sit under the parent label and clear the row label', async () => {
+ const rows = await guides(styles)
+ expect(rows.map((row) => row.text)).toEqual(['Fixed resources', 'capabilities'])
+ for (const row of rows) {
+ expect(row.line, row.text).toBe('1px')
+ expect(Math.abs(row.guide - row.parent), `${row.text}: guide under its parent label`).toBeLessThan(1)
+ expect(row.guide, `${row.text}: guide clears its own label`).toBeLessThan(row.own - 4)
+ }
+ })
+
+ it('cross the row label without the mixed-marks rule, so the check above can fail', async () => {
+ expect(styles).toMatch(mixedGuide)
+ const rows = await guides(styles.replace(mixedGuide, ''))
+ for (const row of rows) expect(row.guide, `${row.text}: the general rule's gutter puts the guide in the text`).toBeGreaterThan(row.own)
+ })
+})
diff --git a/site/test/fixtures/attach-examples.json b/site/test/fixtures/attach-examples.json
index a034e4533..dfee418d1 100644
--- a/site/test/fixtures/attach-examples.json
+++ b/site/test/fixtures/attach-examples.json
@@ -257,7 +257,7 @@
{
"port": "kotlin",
"language": "kotlin",
- "sourceRevision": "85ebf6955e56703c5be74e2afd34a18309044741",
+ "sourceRevision": "5c181887918351119bfdb3a046719fa792048e59",
"sourceRepository": "libtmux/libtmux-java",
"toolchain": [
"JDK 25.0.3",
@@ -265,7 +265,7 @@
],
"page": "ports/kotlin/guides/attaching-to-tmux",
"shellRecipe": [
- "git clone https://github.com/libtmux/libtmux-java libtmux-source &&\n git -C libtmux-source checkout 85ebf6955e56703c5be74e2afd34a18309044741 &&\n sh run.sh ./libtmux-source/gradlew --project-dir . run --console=plain --max-workers=2"
+ "git clone https://github.com/libtmux/libtmux-java libtmux-source &&\n git -C libtmux-source checkout 5c181887918351119bfdb3a046719fa792048e59 &&\n sh run.sh ./libtmux-source/gradlew --project-dir . run --console=plain --max-workers=2"
],
"expectedOutput": "work",
"files": [
@@ -275,11 +275,11 @@
},
{
"name": "build.gradle.kts",
- "sha256": "e1d0abe83d5ccb4948dc48e4c035b1f60ef45a04924f25f4711a81dded646d27"
+ "sha256": "6a52d9d89a28314b2f93bf6318746ce434f37e591df4de2f1017e85ab6e29a2f"
},
{
"name": "settings.gradle.kts",
- "sha256": "b00ae8397b15423ec37743ffe34966e3123fa2a21996d36457953dff131d60bc"
+ "sha256": "8a9a1cef4b025e20741219b949c5a591444f9f3b850534f1cc5b2f9164b9c126"
},
{
"name": "gradle.properties",
@@ -291,14 +291,14 @@
}
],
"tmux": [
- "3.2a",
+ "3.3a",
"3.7c"
]
},
{
"port": "scala",
"language": "scala",
- "sourceRevision": "85ebf6955e56703c5be74e2afd34a18309044741",
+ "sourceRevision": "5c181887918351119bfdb3a046719fa792048e59",
"sourceRepository": "libtmux/libtmux-java",
"toolchain": [
"JDK 25.0.3",
@@ -306,7 +306,7 @@
],
"page": "ports/scala/guides/attaching-to-tmux",
"shellRecipe": [
- "git clone https://github.com/libtmux/libtmux-java libtmux-source &&\n git -C libtmux-source checkout 85ebf6955e56703c5be74e2afd34a18309044741 &&\n sh run.sh ./libtmux-source/gradlew --project-dir . run --console=plain --max-workers=2"
+ "git clone https://github.com/libtmux/libtmux-java libtmux-source &&\n git -C libtmux-source checkout 5c181887918351119bfdb3a046719fa792048e59 &&\n sh run.sh ./libtmux-source/gradlew --project-dir . run --console=plain --max-workers=2"
],
"expectedOutput": "work",
"files": [
@@ -316,11 +316,11 @@
},
{
"name": "build.gradle.kts",
- "sha256": "745dadde4e2fff287d2bb57ee8b2679d19921af02745857b9a9a0c62c1dc04e9"
+ "sha256": "8b263bf130f131ebbabc1addd90642e0b5f7c83075adeadcd1038fcdde86cb05"
},
{
"name": "settings.gradle.kts",
- "sha256": "84f6f8c1760984676ed15761a8838fba725ee18fee25a28b8cc3f94ad3e24b99"
+ "sha256": "8a9a1cef4b025e20741219b949c5a591444f9f3b850534f1cc5b2f9164b9c126"
},
{
"name": "gradle.properties",
@@ -332,7 +332,7 @@
}
],
"tmux": [
- "3.2a",
+ "3.3a",
"3.7c"
]
},
@@ -495,7 +495,7 @@
{
"port": "elixir",
"language": "elixir",
- "sourceRevision": "b72452c198917433229bdc266a68c163541b6127",
+ "sourceRevision": "cac4252bfc52069980d47db2b7803dc9b33f36f1",
"sourceRepository": "libtmux/libtmux-elixir",
"toolchain": [
"Elixir 1.20.4",
@@ -513,7 +513,7 @@
"files": [
{
"name": "connect.exs",
- "sha256": "75ce60ad895fd506eabf88108abd51d3af2f882d62d035fbacd9ff9c90c43e62"
+ "sha256": "3e31d5064fb69384b1a618275ae0f027f9515c52cf1de2555c87fce022990b8e"
},
{
"name": "run.sh",
diff --git a/site/test/fixtures/capture-examples.json b/site/test/fixtures/capture-examples.json
index f102bd012..0870ec90a 100644
--- a/site/test/fixtures/capture-examples.json
+++ b/site/test/fixtures/capture-examples.json
@@ -214,7 +214,7 @@
{
"port": "kotlin",
"language": "kotlin",
- "sourceRevision": "85ebf6955e56703c5be74e2afd34a18309044741",
+ "sourceRevision": "5c181887918351119bfdb3a046719fa792048e59",
"sourceRepository": "libtmux/libtmux-java",
"files": [
{
@@ -223,11 +223,11 @@
},
{
"name": "build.gradle.kts",
- "sha256": "a705fe6e99a1931cb90267adf81650a44a93b6580c5277f0657d468287be5068"
+ "sha256": "dcb4c29ed651d0f463ce0d19d4a4e85c79c59f50642f5341435f57414e7a091e"
},
{
"name": "settings.gradle.kts",
- "sha256": "7c01a4d1d8620741df4852dad3a03e0eac7a084a2bbb20e53016064cab1f958b"
+ "sha256": "623c7967842d9b0330b5016fab47d4351151dc1cffcf295a9298c7378b7561aa"
},
{
"name": "gradle.properties",
@@ -239,28 +239,28 @@
"Kotlin 2.4.10"
],
"tmux": [
- "3.2a",
+ "3.3a",
"3.7c"
],
"page": "ports/kotlin/examples/capture-pane-output",
"shellRecipe": [
- "git clone https://github.com/libtmux/libtmux-java libtmux-source &&\n git -C libtmux-source checkout 85ebf6955e56703c5be74e2afd34a18309044741 &&\n ./libtmux-source/gradlew --project-dir . run --console=plain --max-workers=2"
+ "git clone https://github.com/libtmux/libtmux-java libtmux-source &&\n git -C libtmux-source checkout 5c181887918351119bfdb3a046719fa792048e59 &&\n ./libtmux-source/gradlew --project-dir . run --console=plain --max-workers=2"
],
"verification": {
"platform": "Linux",
"checks": [
{
- "name": "positive-3.2a",
- "tmux": "3.2a",
+ "name": "positive-3.3a",
+ "tmux": "3.3a",
"exit": 0,
- "seconds": 2.282,
+ "seconds": 2.924,
"remainingSocketDirectories": 0
},
{
"name": "positive-3.7c",
"tmux": "3.7c",
"exit": 0,
- "seconds": 2.183,
+ "seconds": 11.445,
"remainingSocketDirectories": 0
},
{
@@ -297,7 +297,7 @@
{
"port": "scala",
"language": "scala",
- "sourceRevision": "85ebf6955e56703c5be74e2afd34a18309044741",
+ "sourceRevision": "5c181887918351119bfdb3a046719fa792048e59",
"sourceRepository": "libtmux/libtmux-java",
"files": [
{
@@ -306,11 +306,11 @@
},
{
"name": "build.gradle.kts",
- "sha256": "a770d0b99553598b21e82030b6c7d42215769abca70789c2aae836956a70b3c5"
+ "sha256": "5c30b0576ad1a6c02237fcc4839dc2730568ac2282c4bebaf12e4a6f2501d458"
},
{
"name": "settings.gradle.kts",
- "sha256": "b714b16f8397fc43c5780c8a1c330ed85dcd80c3c5c565023f7504fb8fa9b06b"
+ "sha256": "623c7967842d9b0330b5016fab47d4351151dc1cffcf295a9298c7378b7561aa"
},
{
"name": "gradle.properties",
@@ -322,28 +322,28 @@
"Scala 3.9.0"
],
"tmux": [
- "3.2a",
+ "3.3a",
"3.7c"
],
"page": "ports/scala/examples/capture-pane-output",
"shellRecipe": [
- "git clone https://github.com/libtmux/libtmux-java libtmux-source &&\n git -C libtmux-source checkout 85ebf6955e56703c5be74e2afd34a18309044741 &&\n ./libtmux-source/gradlew --project-dir . run --console=plain --max-workers=2"
+ "git clone https://github.com/libtmux/libtmux-java libtmux-source &&\n git -C libtmux-source checkout 5c181887918351119bfdb3a046719fa792048e59 &&\n ./libtmux-source/gradlew --project-dir . run --console=plain --max-workers=2"
],
"verification": {
"platform": "Linux",
"checks": [
{
- "name": "positive-3.2a",
- "tmux": "3.2a",
+ "name": "positive-3.3a",
+ "tmux": "3.3a",
"exit": 0,
- "seconds": 1.809,
+ "seconds": 3.829,
"remainingSocketDirectories": 0
},
{
"name": "positive-3.7c",
"tmux": "3.7c",
"exit": 0,
- "seconds": 1.596,
+ "seconds": 6.542,
"remainingSocketDirectories": 0
},
{
diff --git a/site/test/fixtures/concept-examples.json b/site/test/fixtures/concept-examples.json
index 4e60542ea..a8e03639b 100644
--- a/site/test/fixtures/concept-examples.json
+++ b/site/test/fixtures/concept-examples.json
@@ -3,20 +3,20 @@
{
"port": "kotlin",
"page": "ports/kotlin/concepts/server-session-window-pane",
- "sourceRevision": "be1d62fbaa1aa634c687e1c50bceeb09ef0b8a15",
+ "sourceRevision": "5c181887918351119bfdb3a046719fa792048e59",
"runtime": "Temurin JDK 25.0.3",
"tmuxVersions": [
- "3.2a",
+ "3.3a",
"3.7c"
],
"files": [
{
"name": "settings.gradle.kts",
- "sha256": "b00ae8397b15423ec37743ffe34966e3123fa2a21996d36457953dff131d60bc"
+ "sha256": "8a9a1cef4b025e20741219b949c5a591444f9f3b850534f1cc5b2f9164b9c126"
},
{
"name": "build.gradle.kts",
- "sha256": "7c086e8a937a8219dd20df5b5380048d993b0c0ed9aea65e13a017428e3b50b7"
+ "sha256": "8c58be9952882697a411fe07d19d7f5a4d79e4ef64bde65facc97ee7d8e5822f"
},
{
"name": "gradle.properties",
@@ -36,7 +36,7 @@
}
],
"shellRecipe": [
- "git clone https://github.com/libtmux/libtmux-java libtmux-source &&\n git -C libtmux-source checkout be1d62fbaa1aa634c687e1c50bceeb09ef0b8a15",
+ "git clone https://github.com/libtmux/libtmux-java libtmux-source &&\n git -C libtmux-source checkout 5c181887918351119bfdb3a046719fa792048e59",
"sh run.sh ./libtmux-source/gradlew --project-dir . run \\\n -Pexample=Hierarchy --console=plain --max-workers=2",
"sh run.sh ./libtmux-source/gradlew --project-dir . run \\\n -Pexample=Refresh --console=plain --max-workers=2"
],
@@ -51,25 +51,25 @@
"editor -> renamed"
]
],
- "verificationScope": "Each displayed program runs independently with its displayed project, launcher and pinned library. Native checks cover assertions, stdout and cleanup."
+ "verificationScope": "Each displayed program runs independently with its displayed project, launcher and the library from Maven Central 0.1.0. Native checks cover assertions, stdout and cleanup."
},
{
"port": "kotlin",
"page": "ports/kotlin/concepts/queries",
- "sourceRevision": "be1d62fbaa1aa634c687e1c50bceeb09ef0b8a15",
+ "sourceRevision": "5c181887918351119bfdb3a046719fa792048e59",
"runtime": "Temurin JDK 25.0.3",
"tmuxVersions": [
- "3.2a",
+ "3.3a",
"3.7c"
],
"files": [
{
"name": "settings.gradle.kts",
- "sha256": "b00ae8397b15423ec37743ffe34966e3123fa2a21996d36457953dff131d60bc"
+ "sha256": "8a9a1cef4b025e20741219b949c5a591444f9f3b850534f1cc5b2f9164b9c126"
},
{
"name": "build.gradle.kts",
- "sha256": "7c086e8a937a8219dd20df5b5380048d993b0c0ed9aea65e13a017428e3b50b7"
+ "sha256": "8c58be9952882697a411fe07d19d7f5a4d79e4ef64bde65facc97ee7d8e5822f"
},
{
"name": "gradle.properties",
@@ -93,7 +93,7 @@
}
],
"shellRecipe": [
- "git clone https://github.com/libtmux/libtmux-java libtmux-source &&\n git -C libtmux-source checkout be1d62fbaa1aa634c687e1c50bceeb09ef0b8a15",
+ "git clone https://github.com/libtmux/libtmux-java libtmux-source &&\n git -C libtmux-source checkout 5c181887918351119bfdb3a046719fa792048e59",
"sh run.sh ./libtmux-source/gradlew --project-dir . run \\\n -Pexample=Local --console=plain --max-workers=2",
"sh run.sh ./libtmux-source/gradlew --project-dir . run \\\n -Pexample=Cardinality --console=plain --max-workers=2",
"sh run.sh ./libtmux-source/gradlew --project-dir . run \\\n -Pexample=Relations --console=plain --max-workers=2"
@@ -113,25 +113,24 @@
"no editor: work-two"
]
],
- "verificationScope": "Each displayed program runs independently with its displayed project, launcher and pinned library. Native checks cover assertions, stdout and cleanup."
+ "verificationScope": "Each displayed program runs independently with its displayed project, launcher and the library from Maven Central 0.1.0. Native checks cover assertions, stdout and cleanup."
},
{
"port": "kotlin",
"page": "ports/kotlin/concepts/transports",
- "sourceRevision": "be1d62fbaa1aa634c687e1c50bceeb09ef0b8a15",
+ "sourceRevision": "5c181887918351119bfdb3a046719fa792048e59",
"runtime": "Temurin JDK 25.0.3",
"tmuxVersions": [
- "3.2a",
"3.7c"
],
"files": [
{
"name": "settings.gradle.kts",
- "sha256": "b00ae8397b15423ec37743ffe34966e3123fa2a21996d36457953dff131d60bc"
+ "sha256": "8a9a1cef4b025e20741219b949c5a591444f9f3b850534f1cc5b2f9164b9c126"
},
{
"name": "build.gradle.kts",
- "sha256": "7c086e8a937a8219dd20df5b5380048d993b0c0ed9aea65e13a017428e3b50b7"
+ "sha256": "8c58be9952882697a411fe07d19d7f5a4d79e4ef64bde65facc97ee7d8e5822f"
},
{
"name": "gradle.properties",
@@ -151,7 +150,7 @@
}
],
"shellRecipe": [
- "git clone https://github.com/libtmux/libtmux-java libtmux-source &&\n git -C libtmux-source checkout be1d62fbaa1aa634c687e1c50bceeb09ef0b8a15",
+ "git clone https://github.com/libtmux/libtmux-java libtmux-source &&\n git -C libtmux-source checkout 5c181887918351119bfdb3a046719fa792048e59",
"sh run.sh ./libtmux-source/gradlew --project-dir . run \\\n -Pexample=Local --console=plain --max-workers=2",
"sh run.sh ./libtmux-source/gradlew --project-dir . run \\\n -Pexample=Control --console=plain --max-workers=2"
],
@@ -165,25 +164,25 @@
"control client closed; server still running"
]
],
- "verificationScope": "Each displayed program runs independently with its displayed project, launcher and pinned library. Native checks cover assertions, stdout and cleanup."
+ "verificationScope": "Each displayed program runs independently with its displayed project, launcher and the library from Maven Central 0.1.0. Native checks cover assertions, stdout and cleanup."
},
{
"port": "kotlin",
"page": "ports/kotlin/concepts/workspaces",
- "sourceRevision": "be1d62fbaa1aa634c687e1c50bceeb09ef0b8a15",
+ "sourceRevision": "5c181887918351119bfdb3a046719fa792048e59",
"runtime": "Temurin JDK 25.0.3",
"tmuxVersions": [
- "3.2a",
+ "3.3a",
"3.7c"
],
"files": [
{
"name": "settings.gradle.kts",
- "sha256": "b00ae8397b15423ec37743ffe34966e3123fa2a21996d36457953dff131d60bc"
+ "sha256": "8a9a1cef4b025e20741219b949c5a591444f9f3b850534f1cc5b2f9164b9c126"
},
{
"name": "build.gradle.kts",
- "sha256": "7c086e8a937a8219dd20df5b5380048d993b0c0ed9aea65e13a017428e3b50b7"
+ "sha256": "8c58be9952882697a411fe07d19d7f5a4d79e4ef64bde65facc97ee7d8e5822f"
},
{
"name": "gradle.properties",
@@ -203,7 +202,7 @@
}
],
"shellRecipe": [
- "git clone https://github.com/libtmux/libtmux-java libtmux-source &&\n git -C libtmux-source checkout be1d62fbaa1aa634c687e1c50bceeb09ef0b8a15",
+ "git clone https://github.com/libtmux/libtmux-java libtmux-source &&\n git -C libtmux-source checkout 5c181887918351119bfdb3a046719fa792048e59",
"sh run.sh ./libtmux-source/gradlew --project-dir . run \\\n -Pexample=Layout --console=plain --max-workers=2",
"sh run.sh ./libtmux-source/gradlew --project-dir . run \\\n -Pexample=ReuseLayout --console=plain --max-workers=2"
],
@@ -216,25 +215,25 @@
"one tools window after two calls"
]
],
- "verificationScope": "Each displayed program runs independently with its displayed project, launcher and pinned library. Native checks cover assertions, stdout and cleanup."
+ "verificationScope": "Each displayed program runs independently with its displayed project, launcher and the library from Maven Central 0.1.0. Native checks cover assertions, stdout and cleanup."
},
{
"port": "scala",
"page": "ports/scala/concepts/server-session-window-pane",
- "sourceRevision": "be1d62fbaa1aa634c687e1c50bceeb09ef0b8a15",
+ "sourceRevision": "5c181887918351119bfdb3a046719fa792048e59",
"runtime": "Temurin JDK 25.0.3",
"tmuxVersions": [
- "3.2a",
+ "3.3a",
"3.7c"
],
"files": [
{
"name": "settings.gradle.kts",
- "sha256": "84f6f8c1760984676ed15761a8838fba725ee18fee25a28b8cc3f94ad3e24b99"
+ "sha256": "8a9a1cef4b025e20741219b949c5a591444f9f3b850534f1cc5b2f9164b9c126"
},
{
"name": "build.gradle.kts",
- "sha256": "c94c54df066047a1040b70e4f69a303426174aac83683b8cd1c274d6213511e9"
+ "sha256": "e14d7b03051f9895e952ecaae81afbe8bd7ce2008f85cc97096fed8b9795cdaf"
},
{
"name": "gradle.properties",
@@ -254,7 +253,7 @@
}
],
"shellRecipe": [
- "git clone https://github.com/libtmux/libtmux-java libtmux-source &&\n git -C libtmux-source checkout be1d62fbaa1aa634c687e1c50bceeb09ef0b8a15",
+ "git clone https://github.com/libtmux/libtmux-java libtmux-source &&\n git -C libtmux-source checkout 5c181887918351119bfdb3a046719fa792048e59",
"sh run.sh ./libtmux-source/gradlew --project-dir . run \\\n -Pexample=Hierarchy --console=plain --max-workers=2",
"sh run.sh ./libtmux-source/gradlew --project-dir . run \\\n -Pexample=Refresh --console=plain --max-workers=2"
],
@@ -269,25 +268,25 @@
"editor -> renamed"
]
],
- "verificationScope": "Each displayed program runs independently with its displayed project, launcher and pinned library. Native checks cover assertions, stdout and cleanup."
+ "verificationScope": "Each displayed program runs independently with its displayed project, launcher and the library from Maven Central 0.1.0. Native checks cover assertions, stdout and cleanup."
},
{
"port": "scala",
"page": "ports/scala/concepts/queries",
- "sourceRevision": "be1d62fbaa1aa634c687e1c50bceeb09ef0b8a15",
+ "sourceRevision": "5c181887918351119bfdb3a046719fa792048e59",
"runtime": "Temurin JDK 25.0.3",
"tmuxVersions": [
- "3.2a",
+ "3.3a",
"3.7c"
],
"files": [
{
"name": "settings.gradle.kts",
- "sha256": "84f6f8c1760984676ed15761a8838fba725ee18fee25a28b8cc3f94ad3e24b99"
+ "sha256": "8a9a1cef4b025e20741219b949c5a591444f9f3b850534f1cc5b2f9164b9c126"
},
{
"name": "build.gradle.kts",
- "sha256": "c94c54df066047a1040b70e4f69a303426174aac83683b8cd1c274d6213511e9"
+ "sha256": "e14d7b03051f9895e952ecaae81afbe8bd7ce2008f85cc97096fed8b9795cdaf"
},
{
"name": "gradle.properties",
@@ -311,7 +310,7 @@
}
],
"shellRecipe": [
- "git clone https://github.com/libtmux/libtmux-java libtmux-source &&\n git -C libtmux-source checkout be1d62fbaa1aa634c687e1c50bceeb09ef0b8a15",
+ "git clone https://github.com/libtmux/libtmux-java libtmux-source &&\n git -C libtmux-source checkout 5c181887918351119bfdb3a046719fa792048e59",
"sh run.sh ./libtmux-source/gradlew --project-dir . run \\\n -Pexample=Local --console=plain --max-workers=2",
"sh run.sh ./libtmux-source/gradlew --project-dir . run \\\n -Pexample=Cardinality --console=plain --max-workers=2",
"sh run.sh ./libtmux-source/gradlew --project-dir . run \\\n -Pexample=Relations --console=plain --max-workers=2"
@@ -331,25 +330,24 @@
"no editor: work-two"
]
],
- "verificationScope": "Each displayed program runs independently with its displayed project, launcher and pinned library. Native checks cover assertions, stdout and cleanup."
+ "verificationScope": "Each displayed program runs independently with its displayed project, launcher and the library from Maven Central 0.1.0. Native checks cover assertions, stdout and cleanup."
},
{
"port": "scala",
"page": "ports/scala/concepts/transports",
- "sourceRevision": "be1d62fbaa1aa634c687e1c50bceeb09ef0b8a15",
+ "sourceRevision": "5c181887918351119bfdb3a046719fa792048e59",
"runtime": "Temurin JDK 25.0.3",
"tmuxVersions": [
- "3.2a",
"3.7c"
],
"files": [
{
"name": "settings.gradle.kts",
- "sha256": "84f6f8c1760984676ed15761a8838fba725ee18fee25a28b8cc3f94ad3e24b99"
+ "sha256": "8a9a1cef4b025e20741219b949c5a591444f9f3b850534f1cc5b2f9164b9c126"
},
{
"name": "build.gradle.kts",
- "sha256": "c94c54df066047a1040b70e4f69a303426174aac83683b8cd1c274d6213511e9"
+ "sha256": "e14d7b03051f9895e952ecaae81afbe8bd7ce2008f85cc97096fed8b9795cdaf"
},
{
"name": "gradle.properties",
@@ -369,7 +367,7 @@
}
],
"shellRecipe": [
- "git clone https://github.com/libtmux/libtmux-java libtmux-source &&\n git -C libtmux-source checkout be1d62fbaa1aa634c687e1c50bceeb09ef0b8a15",
+ "git clone https://github.com/libtmux/libtmux-java libtmux-source &&\n git -C libtmux-source checkout 5c181887918351119bfdb3a046719fa792048e59",
"sh run.sh ./libtmux-source/gradlew --project-dir . run \\\n -Pexample=Local --console=plain --max-workers=2",
"sh run.sh ./libtmux-source/gradlew --project-dir . run \\\n -Pexample=Control --console=plain --max-workers=2"
],
@@ -383,25 +381,25 @@
"control client closed; server still running"
]
],
- "verificationScope": "Each displayed program runs independently with its displayed project, launcher and pinned library. Native checks cover assertions, stdout and cleanup."
+ "verificationScope": "Each displayed program runs independently with its displayed project, launcher and the library from Maven Central 0.1.0. Native checks cover assertions, stdout and cleanup."
},
{
"port": "scala",
"page": "ports/scala/concepts/workspaces",
- "sourceRevision": "be1d62fbaa1aa634c687e1c50bceeb09ef0b8a15",
+ "sourceRevision": "5c181887918351119bfdb3a046719fa792048e59",
"runtime": "Temurin JDK 25.0.3",
"tmuxVersions": [
- "3.2a",
+ "3.3a",
"3.7c"
],
"files": [
{
"name": "settings.gradle.kts",
- "sha256": "84f6f8c1760984676ed15761a8838fba725ee18fee25a28b8cc3f94ad3e24b99"
+ "sha256": "8a9a1cef4b025e20741219b949c5a591444f9f3b850534f1cc5b2f9164b9c126"
},
{
"name": "build.gradle.kts",
- "sha256": "c94c54df066047a1040b70e4f69a303426174aac83683b8cd1c274d6213511e9"
+ "sha256": "e14d7b03051f9895e952ecaae81afbe8bd7ce2008f85cc97096fed8b9795cdaf"
},
{
"name": "gradle.properties",
@@ -421,7 +419,7 @@
}
],
"shellRecipe": [
- "git clone https://github.com/libtmux/libtmux-java libtmux-source &&\n git -C libtmux-source checkout be1d62fbaa1aa634c687e1c50bceeb09ef0b8a15",
+ "git clone https://github.com/libtmux/libtmux-java libtmux-source &&\n git -C libtmux-source checkout 5c181887918351119bfdb3a046719fa792048e59",
"sh run.sh ./libtmux-source/gradlew --project-dir . run \\\n -Pexample=Layout --console=plain --max-workers=2",
"sh run.sh ./libtmux-source/gradlew --project-dir . run \\\n -Pexample=ReuseLayout --console=plain --max-workers=2"
],
@@ -434,7 +432,7 @@
"one tools window after two calls"
]
],
- "verificationScope": "Each displayed program runs independently with its displayed project, launcher and pinned library. Native checks cover assertions, stdout and cleanup."
+ "verificationScope": "Each displayed program runs independently with its displayed project, launcher and the library from Maven Central 0.1.0. Native checks cover assertions, stdout and cleanup."
},
{
"port": "fsharp",
diff --git a/site/test/fixtures/home-examples.json b/site/test/fixtures/home-examples.json
index 1082359ef..501f24254 100644
--- a/site/test/fixtures/home-examples.json
+++ b/site/test/fixtures/home-examples.json
@@ -65,8 +65,8 @@
"port": "ruby",
"page": "home",
"sourceRepository": "libtmux/libtmux-ruby",
- "sourceRevision": "9b1545562a112353c2c893a1d3e8c0d9b4b51f8d",
- "sourceTree": "61f4a53afc47b42ac9dbffcca05f704599e11d35",
+ "sourceRevision": "c8b839595d5a30e271e3f9be0d0fe811ddb11b7e",
+ "sourceTree": "0cf427e8bbe586e4e86ab6fc66d325edb62e6646",
"files": [
{
"name": "quickstart.rb",
@@ -75,17 +75,17 @@
},
{
"name": "Gemfile",
- "sha256": "5d2222a5c0820dbcae11867dcd9678440e8ddfbc49eb7db9fe7bdb9366dac019",
- "clipboardSha256": "0304eb8570960bb3f198032b4ef806e1cd690a72a136ec617bb7b2023d200e9e"
+ "sha256": "8a41c6ffc694da32d1f5d9885135e38acb7b8891e5708d223b6e1dd5f6432142",
+ "clipboardSha256": "822a519a27a65be3bd3feedea6ca2338b5aec03410f65959642ec352ca6bc157"
},
{
"name": "Gemfile.lock",
- "sha256": "ae6b8472c320b8eafede9c07daa10e1f4132a501f116ccdfd694c2a95fda2c31",
- "clipboardSha256": "309689fd2e789e91b0d1a25b287d3d4a65cb2d7337ceb38ef6ef0a0db9f57717"
+ "sha256": "8d7e466a3a679c7cddd6a2231d1b4d6f13dfc3bb2fd46683f87426c37d455b85",
+ "clipboardSha256": "b332eddd94d8530b773c941417ba6bbd840ca28b95f77ae9fba7ae521379d764"
}
],
"shellRecipe": [
- "git init -q source\ngit -C source fetch -q --depth=1 \\\n https://github.com/libtmux/libtmux-ruby.git \\\n 9b1545562a112353c2c893a1d3e8c0d9b4b51f8d\ngit -C source checkout -q --detach FETCH_HEAD\nbundle config set --local path vendor/bundle\nbundle install --jobs 2",
+ "bundle config set --local path vendor/bundle\nbundle install --jobs 2",
"unset TMUX TMUX_PANE\nexport ENV=/dev/null BASH_ENV=/dev/null SHELL=/bin/sh\nbundle exec ruby quickstart.rb"
],
"expectedOutputs": [
@@ -97,8 +97,8 @@
],
"excerptSha256": "01a8dfb7d28e85966191445cf912045fd6435ff20805845d63282bc534898e1f",
"tmuxVersions": [
- "3.2a",
- "3.7c"
+ "3.3a",
+ "3.8a"
],
"variants": {
"concise": {
@@ -110,13 +110,13 @@
},
{
"name": "Gemfile",
- "sha256": "5d2222a5c0820dbcae11867dcd9678440e8ddfbc49eb7db9fe7bdb9366dac019",
- "clipboardSha256": "0304eb8570960bb3f198032b4ef806e1cd690a72a136ec617bb7b2023d200e9e"
+ "sha256": "8a41c6ffc694da32d1f5d9885135e38acb7b8891e5708d223b6e1dd5f6432142",
+ "clipboardSha256": "822a519a27a65be3bd3feedea6ca2338b5aec03410f65959642ec352ca6bc157"
},
{
"name": "Gemfile.lock",
- "sha256": "ae6b8472c320b8eafede9c07daa10e1f4132a501f116ccdfd694c2a95fda2c31",
- "clipboardSha256": "309689fd2e789e91b0d1a25b287d3d4a65cb2d7337ceb38ef6ef0a0db9f57717"
+ "sha256": "8d7e466a3a679c7cddd6a2231d1b4d6f13dfc3bb2fd46683f87426c37d455b85",
+ "clipboardSha256": "b332eddd94d8530b773c941417ba6bbd840ca28b95f77ae9fba7ae521379d764"
}
],
"excerptSha256": "e9417db23319b374411d6b8089329dd0be7345a4e719ad4cf810e368a040c7da"
@@ -130,13 +130,13 @@
},
{
"name": "Gemfile",
- "sha256": "5d2222a5c0820dbcae11867dcd9678440e8ddfbc49eb7db9fe7bdb9366dac019",
- "clipboardSha256": "0304eb8570960bb3f198032b4ef806e1cd690a72a136ec617bb7b2023d200e9e"
+ "sha256": "8a41c6ffc694da32d1f5d9885135e38acb7b8891e5708d223b6e1dd5f6432142",
+ "clipboardSha256": "822a519a27a65be3bd3feedea6ca2338b5aec03410f65959642ec352ca6bc157"
},
{
"name": "Gemfile.lock",
- "sha256": "ae6b8472c320b8eafede9c07daa10e1f4132a501f116ccdfd694c2a95fda2c31",
- "clipboardSha256": "309689fd2e789e91b0d1a25b287d3d4a65cb2d7337ceb38ef6ef0a0db9f57717"
+ "sha256": "8d7e466a3a679c7cddd6a2231d1b4d6f13dfc3bb2fd46683f87426c37d455b85",
+ "clipboardSha256": "b332eddd94d8530b773c941417ba6bbd840ca28b95f77ae9fba7ae521379d764"
}
],
"excerptSha256": "03a72a7fb00f53f0ef023e515783172c76b5e6379270c5ff6187656c1528cf44"
@@ -150,13 +150,13 @@
},
{
"name": "Gemfile",
- "sha256": "5d2222a5c0820dbcae11867dcd9678440e8ddfbc49eb7db9fe7bdb9366dac019",
- "clipboardSha256": "0304eb8570960bb3f198032b4ef806e1cd690a72a136ec617bb7b2023d200e9e"
+ "sha256": "8a41c6ffc694da32d1f5d9885135e38acb7b8891e5708d223b6e1dd5f6432142",
+ "clipboardSha256": "822a519a27a65be3bd3feedea6ca2338b5aec03410f65959642ec352ca6bc157"
},
{
"name": "Gemfile.lock",
- "sha256": "ae6b8472c320b8eafede9c07daa10e1f4132a501f116ccdfd694c2a95fda2c31",
- "clipboardSha256": "309689fd2e789e91b0d1a25b287d3d4a65cb2d7337ceb38ef6ef0a0db9f57717"
+ "sha256": "8d7e466a3a679c7cddd6a2231d1b4d6f13dfc3bb2fd46683f87426c37d455b85",
+ "clipboardSha256": "b332eddd94d8530b773c941417ba6bbd840ca28b95f77ae9fba7ae521379d764"
}
],
"excerptSha256": "c4d6f09d4b055c31f4830c9c8b62751cd4efa3115a61877ae5ca41b7178d71ed"
@@ -309,8 +309,8 @@
"port": "rs",
"page": "home",
"sourceRepository": "libtmux/libtmux-rs",
- "sourceRevision": "a6fc2a65674177b92b17fa380757155d2ba150fd",
- "sourceTree": "865aef72a40135bade83eb5d44c0b78ea018a270",
+ "sourceRevision": "ce7610a3b46376c377292e5a640b3798c18708fe",
+ "sourceTree": "32c8792ffcd03d4d1c58d1f25b8d29fd36fc2287",
"files": [
{
"name": "src/main.rs",
@@ -319,13 +319,13 @@
},
{
"name": "Cargo.toml",
- "sha256": "25770faf80da67fd495e9e7a5d525bcdc055b94cab33549739a5159a01dd037a",
- "clipboardSha256": "87a03c24caaeb6c8957f624b5465633b4794908ad16719a9d4063cca08168f11"
+ "sha256": "0886a13de14b8c6642db2c46926c95a5d5bc7a979e64c989ba6b91308e42f678",
+ "clipboardSha256": "11ed755469ef808e06d92029f18eca7fd76c6d73f8d5c7935ac25cbcc6026aa0"
},
{
"name": "Cargo.lock",
- "sha256": "891b66eec409ff90621097ed80f476ecd0f8f6907776ce6973465f85373e5a43",
- "clipboardSha256": "9df8639553925b9a72d291720bf12e747378dc75a9348811d9a47c2acabe3b3a"
+ "sha256": "1bd0b462408850261d8c59d3ab2884ae594607af3fdd522f2726989517674538",
+ "clipboardSha256": "1c0b3ecf064cad986bea6e1e904a8290469750bdaa947699847d655ab11e8e9f"
},
{
"name": "rust-toolchain.toml",
@@ -334,7 +334,7 @@
}
],
"shellRecipe": [
- "git init -q source\ngit -C source fetch -q --depth=1 \\\n https://github.com/libtmux/libtmux-rs.git \\\n a6fc2a65674177b92b17fa380757155d2ba150fd\ngit -C source checkout -q --detach FETCH_HEAD\ncargo build --locked --jobs 2",
+ "cargo build --locked --jobs 2",
"unset TMUX TMUX_PANE\nexport ENV=/dev/null BASH_ENV=/dev/null SHELL=/bin/sh\ncargo run --quiet --locked"
],
"expectedOutputs": [
@@ -345,7 +345,7 @@
],
"excerptSha256": "2322ba9f0427da9f242413dbde8fe60567d2dfa89e5d3fcf3d3a2e4608dc2dd6",
"tmuxVersions": [
- "3.2a",
+ "3.3a",
"3.7c"
],
"variants": {
@@ -358,13 +358,13 @@
},
{
"name": "Cargo.toml",
- "sha256": "25770faf80da67fd495e9e7a5d525bcdc055b94cab33549739a5159a01dd037a",
- "clipboardSha256": "87a03c24caaeb6c8957f624b5465633b4794908ad16719a9d4063cca08168f11"
+ "sha256": "0886a13de14b8c6642db2c46926c95a5d5bc7a979e64c989ba6b91308e42f678",
+ "clipboardSha256": "11ed755469ef808e06d92029f18eca7fd76c6d73f8d5c7935ac25cbcc6026aa0"
},
{
"name": "Cargo.lock",
- "sha256": "891b66eec409ff90621097ed80f476ecd0f8f6907776ce6973465f85373e5a43",
- "clipboardSha256": "9df8639553925b9a72d291720bf12e747378dc75a9348811d9a47c2acabe3b3a"
+ "sha256": "1bd0b462408850261d8c59d3ab2884ae594607af3fdd522f2726989517674538",
+ "clipboardSha256": "1c0b3ecf064cad986bea6e1e904a8290469750bdaa947699847d655ab11e8e9f"
},
{
"name": "rust-toolchain.toml",
@@ -383,13 +383,13 @@
},
{
"name": "Cargo.toml",
- "sha256": "25770faf80da67fd495e9e7a5d525bcdc055b94cab33549739a5159a01dd037a",
- "clipboardSha256": "87a03c24caaeb6c8957f624b5465633b4794908ad16719a9d4063cca08168f11"
+ "sha256": "0886a13de14b8c6642db2c46926c95a5d5bc7a979e64c989ba6b91308e42f678",
+ "clipboardSha256": "11ed755469ef808e06d92029f18eca7fd76c6d73f8d5c7935ac25cbcc6026aa0"
},
{
"name": "Cargo.lock",
- "sha256": "891b66eec409ff90621097ed80f476ecd0f8f6907776ce6973465f85373e5a43",
- "clipboardSha256": "9df8639553925b9a72d291720bf12e747378dc75a9348811d9a47c2acabe3b3a"
+ "sha256": "1bd0b462408850261d8c59d3ab2884ae594607af3fdd522f2726989517674538",
+ "clipboardSha256": "1c0b3ecf064cad986bea6e1e904a8290469750bdaa947699847d655ab11e8e9f"
},
{
"name": "rust-toolchain.toml",
@@ -408,13 +408,13 @@
},
{
"name": "Cargo.toml",
- "sha256": "25770faf80da67fd495e9e7a5d525bcdc055b94cab33549739a5159a01dd037a",
- "clipboardSha256": "87a03c24caaeb6c8957f624b5465633b4794908ad16719a9d4063cca08168f11"
+ "sha256": "0886a13de14b8c6642db2c46926c95a5d5bc7a979e64c989ba6b91308e42f678",
+ "clipboardSha256": "11ed755469ef808e06d92029f18eca7fd76c6d73f8d5c7935ac25cbcc6026aa0"
},
{
"name": "Cargo.lock",
- "sha256": "891b66eec409ff90621097ed80f476ecd0f8f6907776ce6973465f85373e5a43",
- "clipboardSha256": "9df8639553925b9a72d291720bf12e747378dc75a9348811d9a47c2acabe3b3a"
+ "sha256": "1bd0b462408850261d8c59d3ab2884ae594607af3fdd522f2726989517674538",
+ "clipboardSha256": "1c0b3ecf064cad986bea6e1e904a8290469750bdaa947699847d655ab11e8e9f"
},
{
"name": "rust-toolchain.toml",
@@ -511,18 +511,18 @@
"port": "java",
"page": "home",
"sourceRepository": "libtmux/libtmux-java",
- "sourceRevision": "a0ecbc16da00140e2520462d478a2af470878272",
- "sourceTree": "342c76ca1ad7257b3655c7a47d7258b486b26975",
+ "sourceRevision": "5c181887918351119bfdb3a046719fa792048e59",
+ "sourceTree": "546ecf68a8a31e0503e18323ba82ce3a490490ab",
"files": [
{
"name": "build.gradle.kts",
- "sha256": "f3f500e407228401953bceed9654c86a9353c650991c376a7a2d8ee62e6184c7",
- "clipboardSha256": "78ca5bc35da4ba7a04e60fa5b7303b4a46158c32e2c94c0133cf9e39441e1b3d"
+ "sha256": "bad8c79d41e933b5a92326cad82fbab9fd25d5264e77e0f0017ecd15bc335c4c",
+ "clipboardSha256": "60880800d5bd207f753f33e0fb20e65fc5eb6f5786146606cf3490db481795e8"
},
{
"name": "settings.gradle.kts",
- "sha256": "86d4d5effb8203cba4aee51a2904b60e343598f4dde31b98d3f5837f99560ed2",
- "clipboardSha256": "beac5d3b44bdc3bf1d83f435ca9169794dc7dc42f685d9feffb509adf7c807a7"
+ "sha256": "9ef47986c06cc0ec9eff93a196500d6cd2bcf3cb43878de4cef410da792667d7",
+ "clipboardSha256": "558639ca13041c333e86fc82975aff130cfcd0cc910a6965d02eb769c9db9e7c"
},
{
"name": "gradle.properties",
@@ -536,7 +536,7 @@
}
],
"shellRecipe": [
- "# Save the files above at their displayed relative paths.\ngit clone https://github.com/libtmux/libtmux-java.git libtmux-source\ngit -C libtmux-source checkout --detach a0ecbc16da00140e2520462d478a2af470878272\n./libtmux-source/gradlew --project-dir . --console=plain --no-daemon --max-workers=2 \\\n installDist -PexampleMain=Main\nSHELL=/bin/sh build/install/api-example/bin/api-example"
+ "# Save the files above at their displayed relative paths.\ngit clone https://github.com/libtmux/libtmux-java.git libtmux-source\ngit -C libtmux-source checkout --detach 5c181887918351119bfdb3a046719fa792048e59\n./libtmux-source/gradlew --project-dir . --console=plain --no-daemon --max-workers=2 \\\n installDist -PexampleMain=Main\nSHELL=/bin/sh build/install/api-example/bin/api-example"
],
"expectedOutputs": [
[
@@ -545,7 +545,7 @@
],
"excerptSha256": "23fe2c99d5f57a06c2e0dfaabba35107acd0f23e250192dcf58fd6babeedfccf",
"tmuxVersions": [
- "3.2a",
+ "3.3a",
"3.7c"
],
"variants": {
@@ -553,13 +553,13 @@
"files": [
{
"name": "build.gradle.kts",
- "sha256": "f3f500e407228401953bceed9654c86a9353c650991c376a7a2d8ee62e6184c7",
- "clipboardSha256": "78ca5bc35da4ba7a04e60fa5b7303b4a46158c32e2c94c0133cf9e39441e1b3d"
+ "sha256": "bad8c79d41e933b5a92326cad82fbab9fd25d5264e77e0f0017ecd15bc335c4c",
+ "clipboardSha256": "60880800d5bd207f753f33e0fb20e65fc5eb6f5786146606cf3490db481795e8"
},
{
"name": "settings.gradle.kts",
- "sha256": "86d4d5effb8203cba4aee51a2904b60e343598f4dde31b98d3f5837f99560ed2",
- "clipboardSha256": "beac5d3b44bdc3bf1d83f435ca9169794dc7dc42f685d9feffb509adf7c807a7"
+ "sha256": "9ef47986c06cc0ec9eff93a196500d6cd2bcf3cb43878de4cef410da792667d7",
+ "clipboardSha256": "558639ca13041c333e86fc82975aff130cfcd0cc910a6965d02eb769c9db9e7c"
},
{
"name": "gradle.properties",
@@ -578,13 +578,13 @@
"files": [
{
"name": "build.gradle.kts",
- "sha256": "f3f500e407228401953bceed9654c86a9353c650991c376a7a2d8ee62e6184c7",
- "clipboardSha256": "78ca5bc35da4ba7a04e60fa5b7303b4a46158c32e2c94c0133cf9e39441e1b3d"
+ "sha256": "bad8c79d41e933b5a92326cad82fbab9fd25d5264e77e0f0017ecd15bc335c4c",
+ "clipboardSha256": "60880800d5bd207f753f33e0fb20e65fc5eb6f5786146606cf3490db481795e8"
},
{
"name": "settings.gradle.kts",
- "sha256": "86d4d5effb8203cba4aee51a2904b60e343598f4dde31b98d3f5837f99560ed2",
- "clipboardSha256": "beac5d3b44bdc3bf1d83f435ca9169794dc7dc42f685d9feffb509adf7c807a7"
+ "sha256": "9ef47986c06cc0ec9eff93a196500d6cd2bcf3cb43878de4cef410da792667d7",
+ "clipboardSha256": "558639ca13041c333e86fc82975aff130cfcd0cc910a6965d02eb769c9db9e7c"
},
{
"name": "gradle.properties",
@@ -603,13 +603,13 @@
"files": [
{
"name": "build.gradle.kts",
- "sha256": "f3f500e407228401953bceed9654c86a9353c650991c376a7a2d8ee62e6184c7",
- "clipboardSha256": "78ca5bc35da4ba7a04e60fa5b7303b4a46158c32e2c94c0133cf9e39441e1b3d"
+ "sha256": "bad8c79d41e933b5a92326cad82fbab9fd25d5264e77e0f0017ecd15bc335c4c",
+ "clipboardSha256": "60880800d5bd207f753f33e0fb20e65fc5eb6f5786146606cf3490db481795e8"
},
{
"name": "settings.gradle.kts",
- "sha256": "86d4d5effb8203cba4aee51a2904b60e343598f4dde31b98d3f5837f99560ed2",
- "clipboardSha256": "beac5d3b44bdc3bf1d83f435ca9169794dc7dc42f685d9feffb509adf7c807a7"
+ "sha256": "9ef47986c06cc0ec9eff93a196500d6cd2bcf3cb43878de4cef410da792667d7",
+ "clipboardSha256": "558639ca13041c333e86fc82975aff130cfcd0cc910a6965d02eb769c9db9e7c"
},
{
"name": "gradle.properties",
@@ -630,18 +630,18 @@
"port": "kotlin",
"page": "home",
"sourceRepository": "libtmux/libtmux-java",
- "sourceRevision": "a0ecbc16da00140e2520462d478a2af470878272",
- "sourceTree": "342c76ca1ad7257b3655c7a47d7258b486b26975",
+ "sourceRevision": "5c181887918351119bfdb3a046719fa792048e59",
+ "sourceTree": "546ecf68a8a31e0503e18323ba82ce3a490490ab",
"files": [
{
"name": "build.gradle.kts",
- "sha256": "6fc1e9a705742429f068305926f9c2ecc7f8679a911df956e21a2d07cec05434",
- "clipboardSha256": "cd331df371e395de0c3cebbc92b8550dc4949f7c281c3c2cedcf57bb325d25c1"
+ "sha256": "df1a5d328bd409d027101a3a1c30d491a790158bb51151102cd7e64b336a1089",
+ "clipboardSha256": "56054b0671305014d4e5b3160d2d33acabaf3f67289287a053f4e50342152141"
},
{
"name": "settings.gradle.kts",
- "sha256": "86d4d5effb8203cba4aee51a2904b60e343598f4dde31b98d3f5837f99560ed2",
- "clipboardSha256": "beac5d3b44bdc3bf1d83f435ca9169794dc7dc42f685d9feffb509adf7c807a7"
+ "sha256": "9ef47986c06cc0ec9eff93a196500d6cd2bcf3cb43878de4cef410da792667d7",
+ "clipboardSha256": "558639ca13041c333e86fc82975aff130cfcd0cc910a6965d02eb769c9db9e7c"
},
{
"name": "gradle.properties",
@@ -655,7 +655,7 @@
}
],
"shellRecipe": [
- "# Save the files above at their displayed relative paths.\ngit clone https://github.com/libtmux/libtmux-java.git libtmux-source\ngit -C libtmux-source checkout --detach a0ecbc16da00140e2520462d478a2af470878272\n./libtmux-source/gradlew --project-dir . --console=plain --no-daemon --max-workers=2 \\\n installDist -PexampleMain=MainKt\nSHELL=/bin/sh build/install/api-example/bin/api-example"
+ "# Save the files above at their displayed relative paths.\ngit clone https://github.com/libtmux/libtmux-java.git libtmux-source\ngit -C libtmux-source checkout --detach 5c181887918351119bfdb3a046719fa792048e59\n./libtmux-source/gradlew --project-dir . --console=plain --no-daemon --max-workers=2 \\\n installDist -PexampleMain=MainKt\nSHELL=/bin/sh build/install/api-example/bin/api-example"
],
"expectedOutputs": [
[
@@ -664,7 +664,7 @@
],
"excerptSha256": "fe931c04c4b06767c5dc75322d28cc0391a6cd16ac9eb6de7444af7bc6061e7d",
"tmuxVersions": [
- "3.2a",
+ "3.3a",
"3.7c"
],
"variants": {
@@ -672,13 +672,13 @@
"files": [
{
"name": "build.gradle.kts",
- "sha256": "6fc1e9a705742429f068305926f9c2ecc7f8679a911df956e21a2d07cec05434",
- "clipboardSha256": "cd331df371e395de0c3cebbc92b8550dc4949f7c281c3c2cedcf57bb325d25c1"
+ "sha256": "df1a5d328bd409d027101a3a1c30d491a790158bb51151102cd7e64b336a1089",
+ "clipboardSha256": "56054b0671305014d4e5b3160d2d33acabaf3f67289287a053f4e50342152141"
},
{
"name": "settings.gradle.kts",
- "sha256": "86d4d5effb8203cba4aee51a2904b60e343598f4dde31b98d3f5837f99560ed2",
- "clipboardSha256": "beac5d3b44bdc3bf1d83f435ca9169794dc7dc42f685d9feffb509adf7c807a7"
+ "sha256": "9ef47986c06cc0ec9eff93a196500d6cd2bcf3cb43878de4cef410da792667d7",
+ "clipboardSha256": "558639ca13041c333e86fc82975aff130cfcd0cc910a6965d02eb769c9db9e7c"
},
{
"name": "gradle.properties",
@@ -697,13 +697,13 @@
"files": [
{
"name": "build.gradle.kts",
- "sha256": "6fc1e9a705742429f068305926f9c2ecc7f8679a911df956e21a2d07cec05434",
- "clipboardSha256": "cd331df371e395de0c3cebbc92b8550dc4949f7c281c3c2cedcf57bb325d25c1"
+ "sha256": "df1a5d328bd409d027101a3a1c30d491a790158bb51151102cd7e64b336a1089",
+ "clipboardSha256": "56054b0671305014d4e5b3160d2d33acabaf3f67289287a053f4e50342152141"
},
{
"name": "settings.gradle.kts",
- "sha256": "86d4d5effb8203cba4aee51a2904b60e343598f4dde31b98d3f5837f99560ed2",
- "clipboardSha256": "beac5d3b44bdc3bf1d83f435ca9169794dc7dc42f685d9feffb509adf7c807a7"
+ "sha256": "9ef47986c06cc0ec9eff93a196500d6cd2bcf3cb43878de4cef410da792667d7",
+ "clipboardSha256": "558639ca13041c333e86fc82975aff130cfcd0cc910a6965d02eb769c9db9e7c"
},
{
"name": "gradle.properties",
@@ -722,13 +722,13 @@
"files": [
{
"name": "build.gradle.kts",
- "sha256": "6fc1e9a705742429f068305926f9c2ecc7f8679a911df956e21a2d07cec05434",
- "clipboardSha256": "cd331df371e395de0c3cebbc92b8550dc4949f7c281c3c2cedcf57bb325d25c1"
+ "sha256": "df1a5d328bd409d027101a3a1c30d491a790158bb51151102cd7e64b336a1089",
+ "clipboardSha256": "56054b0671305014d4e5b3160d2d33acabaf3f67289287a053f4e50342152141"
},
{
"name": "settings.gradle.kts",
- "sha256": "86d4d5effb8203cba4aee51a2904b60e343598f4dde31b98d3f5837f99560ed2",
- "clipboardSha256": "beac5d3b44bdc3bf1d83f435ca9169794dc7dc42f685d9feffb509adf7c807a7"
+ "sha256": "9ef47986c06cc0ec9eff93a196500d6cd2bcf3cb43878de4cef410da792667d7",
+ "clipboardSha256": "558639ca13041c333e86fc82975aff130cfcd0cc910a6965d02eb769c9db9e7c"
},
{
"name": "gradle.properties",
@@ -749,18 +749,18 @@
"port": "scala",
"page": "home",
"sourceRepository": "libtmux/libtmux-java",
- "sourceRevision": "a0ecbc16da00140e2520462d478a2af470878272",
- "sourceTree": "342c76ca1ad7257b3655c7a47d7258b486b26975",
+ "sourceRevision": "5c181887918351119bfdb3a046719fa792048e59",
+ "sourceTree": "546ecf68a8a31e0503e18323ba82ce3a490490ab",
"files": [
{
"name": "build.gradle.kts",
- "sha256": "3a40bd1fad7697618812767784a0971b03184f5b23f811cc0cd3f0c917ff27fb",
- "clipboardSha256": "557ed4083bb64e48c6f88ac3f5ae819f8e422bc35b5545fb8dd5e62912641cc1"
+ "sha256": "25cf12ecf6b6edda898a18fe2ae7bd9341952dbcb943513582b79e5da226caf9",
+ "clipboardSha256": "027b815eb60ff8d6a2ff4a4e19f60a20670807cf5da6c3242645fa8855cf7745"
},
{
"name": "settings.gradle.kts",
- "sha256": "bff153085e5944d96e7efc63bc5f8f281013c2d410c05eabb4faf09161d4d806",
- "clipboardSha256": "510b2e425ae160ae4d4abd9ab911b5d8d6b0e194c518f6c5cb5dfa8501cf4a46"
+ "sha256": "9ef47986c06cc0ec9eff93a196500d6cd2bcf3cb43878de4cef410da792667d7",
+ "clipboardSha256": "558639ca13041c333e86fc82975aff130cfcd0cc910a6965d02eb769c9db9e7c"
},
{
"name": "gradle.properties",
@@ -774,7 +774,7 @@
}
],
"shellRecipe": [
- "# Save the files above at their displayed relative paths.\ngit clone https://github.com/libtmux/libtmux-java.git libtmux-source\ngit -C libtmux-source checkout --detach a0ecbc16da00140e2520462d478a2af470878272\n./libtmux-source/gradlew --project-dir . --console=plain --no-daemon --max-workers=2 \\\n installDist -PexampleMain=Main\nSHELL=/bin/sh build/install/api-example/bin/api-example"
+ "# Save the files above at their displayed relative paths.\ngit clone https://github.com/libtmux/libtmux-java.git libtmux-source\ngit -C libtmux-source checkout --detach 5c181887918351119bfdb3a046719fa792048e59\n./libtmux-source/gradlew --project-dir . --console=plain --no-daemon --max-workers=2 \\\n installDist -PexampleMain=Main\nSHELL=/bin/sh build/install/api-example/bin/api-example"
],
"expectedOutputs": [
[
@@ -784,7 +784,7 @@
],
"excerptSha256": "0d52e72c9363570f0e992167f486298ea1312a467d4de38ecb1f54d4b0136195",
"tmuxVersions": [
- "3.2a",
+ "3.3a",
"3.7c"
],
"variants": {
@@ -792,13 +792,13 @@
"files": [
{
"name": "build.gradle.kts",
- "sha256": "3a40bd1fad7697618812767784a0971b03184f5b23f811cc0cd3f0c917ff27fb",
- "clipboardSha256": "557ed4083bb64e48c6f88ac3f5ae819f8e422bc35b5545fb8dd5e62912641cc1"
+ "sha256": "25cf12ecf6b6edda898a18fe2ae7bd9341952dbcb943513582b79e5da226caf9",
+ "clipboardSha256": "027b815eb60ff8d6a2ff4a4e19f60a20670807cf5da6c3242645fa8855cf7745"
},
{
"name": "settings.gradle.kts",
- "sha256": "bff153085e5944d96e7efc63bc5f8f281013c2d410c05eabb4faf09161d4d806",
- "clipboardSha256": "510b2e425ae160ae4d4abd9ab911b5d8d6b0e194c518f6c5cb5dfa8501cf4a46"
+ "sha256": "9ef47986c06cc0ec9eff93a196500d6cd2bcf3cb43878de4cef410da792667d7",
+ "clipboardSha256": "558639ca13041c333e86fc82975aff130cfcd0cc910a6965d02eb769c9db9e7c"
},
{
"name": "gradle.properties",
@@ -817,13 +817,13 @@
"files": [
{
"name": "build.gradle.kts",
- "sha256": "3a40bd1fad7697618812767784a0971b03184f5b23f811cc0cd3f0c917ff27fb",
- "clipboardSha256": "557ed4083bb64e48c6f88ac3f5ae819f8e422bc35b5545fb8dd5e62912641cc1"
+ "sha256": "25cf12ecf6b6edda898a18fe2ae7bd9341952dbcb943513582b79e5da226caf9",
+ "clipboardSha256": "027b815eb60ff8d6a2ff4a4e19f60a20670807cf5da6c3242645fa8855cf7745"
},
{
"name": "settings.gradle.kts",
- "sha256": "bff153085e5944d96e7efc63bc5f8f281013c2d410c05eabb4faf09161d4d806",
- "clipboardSha256": "510b2e425ae160ae4d4abd9ab911b5d8d6b0e194c518f6c5cb5dfa8501cf4a46"
+ "sha256": "9ef47986c06cc0ec9eff93a196500d6cd2bcf3cb43878de4cef410da792667d7",
+ "clipboardSha256": "558639ca13041c333e86fc82975aff130cfcd0cc910a6965d02eb769c9db9e7c"
},
{
"name": "gradle.properties",
@@ -842,13 +842,13 @@
"files": [
{
"name": "build.gradle.kts",
- "sha256": "3a40bd1fad7697618812767784a0971b03184f5b23f811cc0cd3f0c917ff27fb",
- "clipboardSha256": "557ed4083bb64e48c6f88ac3f5ae819f8e422bc35b5545fb8dd5e62912641cc1"
+ "sha256": "25cf12ecf6b6edda898a18fe2ae7bd9341952dbcb943513582b79e5da226caf9",
+ "clipboardSha256": "027b815eb60ff8d6a2ff4a4e19f60a20670807cf5da6c3242645fa8855cf7745"
},
{
"name": "settings.gradle.kts",
- "sha256": "bff153085e5944d96e7efc63bc5f8f281013c2d410c05eabb4faf09161d4d806",
- "clipboardSha256": "510b2e425ae160ae4d4abd9ab911b5d8d6b0e194c518f6c5cb5dfa8501cf4a46"
+ "sha256": "9ef47986c06cc0ec9eff93a196500d6cd2bcf3cb43878de4cef410da792667d7",
+ "clipboardSha256": "558639ca13041c333e86fc82975aff130cfcd0cc910a6965d02eb769c9db9e7c"
},
{
"name": "gradle.properties",
@@ -869,8 +869,8 @@
"port": "csharp",
"page": "home",
"sourceRepository": "libtmux/libtmux-dotnet",
- "sourceRevision": "4f1b997b2e4aeb604c4184707e49dcd4dea44fef",
- "sourceTree": "2bed2dca445fd23ad3f627f0c8f8eba76436aeb4",
+ "sourceRevision": "472c2bcfbda6735139849324cc109ad70300001e",
+ "sourceTree": "4ef96f46e6f60db9f55e7349ed3e5ab60315af1a",
"files": [
{
"name": "app/Program.cs",
@@ -879,22 +879,17 @@
},
{
"name": "app/Example.csproj",
- "sha256": "e52631c3bc6cf7f55f79426e42f24c11b51fc1c6ada3aa5de750b260776ac75c",
- "clipboardSha256": "850555a244a332adf3e845659e410ccdd90d5b9fbbe9bb29a83a74841cac74c7"
+ "sha256": "5f86230b0760f6cda27f409af90150803d04dcc493c24a16ab9e6ed8bedd7f4e",
+ "clipboardSha256": "4543e328ee0a4e45f73ebb504dd01cff171a7b3ee2ccbbfb5121fd90a8db82e6"
},
{
"name": "app/global.json",
- "sha256": "e8c147e2003fe0af554dcd34367ae969a9150206b62c17cd86459695023c3bdf",
- "clipboardSha256": "390e6dddf63a5b602271b9aee34e74676c116fb393ad0c5f36380ed4634a7ee3"
- },
- {
- "name": "app/NuGet.config",
- "sha256": "e977519a23f7c0ea4961461102d6c78b91828cdc97e5e75d31758bd2bd440eb3",
- "clipboardSha256": "8787f78945d068677587e2794dfa18753c6043ca88c900201b3a3cadb8c9ee7f"
+ "sha256": "c5a832e5d1033966cc9354ad344d64cd85c11c4f8165324f97322eeb46e336b9",
+ "clipboardSha256": "11c4f249624d34097497a6b8dbac72acadc2216d9736e033258e2397a0f945a6"
}
],
"shellRecipe": [
- "# Save the files above at their displayed relative paths.\ngit clone https://github.com/libtmux/libtmux-dotnet.git libtmux-source\ngit -C libtmux-source checkout --detach 4f1b997b2e4aeb604c4184707e49dcd4dea44fef\nexport NUGET_PACKAGES=\"$PWD/packages\"\ncd libtmux-source\ndotnet restore src/LibTmux.FSharp/LibTmux.FSharp.fsproj --locked-mode\ndotnet pack src/LibTmux/LibTmux.csproj -c Release --no-restore \\\n -p:ContinuousIntegrationBuild=true --output artifacts/api-example-packages\ncd ../app\ndotnet restore Example.csproj --configfile NuGet.config\ndotnet build Example.csproj -c Release --no-restore --warnaserror\nexport TMUX_TMPDIR=/tmp/libtmux-dotnet-dev\nmkdir -p \"$TMUX_TMPDIR\"\nunset TMUX TMUX_PANE\ndotnet bin/Release/net8.0/Example.dll\ndotnet bin/Release/net10.0/Example.dll"
+ "# Save the files above at their displayed relative paths.\ncd app\ndotnet restore Example.csproj\ndotnet build Example.csproj -c Release --no-restore --warnaserror\nexport TMUX_TMPDIR=/tmp/libtmux-dotnet-dev\nmkdir -p \"$TMUX_TMPDIR\"\nunset TMUX TMUX_PANE\ndotnet bin/Release/net8.0/Example.dll\ndotnet bin/Release/net10.0/Example.dll"
],
"expectedOutputs": [
[
@@ -903,7 +898,7 @@
],
"excerptSha256": "b929ea7aef844d63bdc65d28749ad6023a7ebff4762fe4f3b95cb7e7cfde3e3b",
"tmuxVersions": [
- "3.2a",
+ "3.3a",
"3.7c"
],
"variants": {
@@ -916,18 +911,13 @@
},
{
"name": "app/Example.csproj",
- "sha256": "e52631c3bc6cf7f55f79426e42f24c11b51fc1c6ada3aa5de750b260776ac75c",
- "clipboardSha256": "850555a244a332adf3e845659e410ccdd90d5b9fbbe9bb29a83a74841cac74c7"
+ "sha256": "5f86230b0760f6cda27f409af90150803d04dcc493c24a16ab9e6ed8bedd7f4e",
+ "clipboardSha256": "4543e328ee0a4e45f73ebb504dd01cff171a7b3ee2ccbbfb5121fd90a8db82e6"
},
{
"name": "app/global.json",
- "sha256": "e8c147e2003fe0af554dcd34367ae969a9150206b62c17cd86459695023c3bdf",
- "clipboardSha256": "390e6dddf63a5b602271b9aee34e74676c116fb393ad0c5f36380ed4634a7ee3"
- },
- {
- "name": "app/NuGet.config",
- "sha256": "e977519a23f7c0ea4961461102d6c78b91828cdc97e5e75d31758bd2bd440eb3",
- "clipboardSha256": "8787f78945d068677587e2794dfa18753c6043ca88c900201b3a3cadb8c9ee7f"
+ "sha256": "c5a832e5d1033966cc9354ad344d64cd85c11c4f8165324f97322eeb46e336b9",
+ "clipboardSha256": "11c4f249624d34097497a6b8dbac72acadc2216d9736e033258e2397a0f945a6"
}
],
"excerptSha256": "18a511f52d30e5117c9393fcf9dfd471223738f31b9cf5c5b78ce3ba54fe5488"
@@ -941,18 +931,13 @@
},
{
"name": "app/Example.csproj",
- "sha256": "e52631c3bc6cf7f55f79426e42f24c11b51fc1c6ada3aa5de750b260776ac75c",
- "clipboardSha256": "850555a244a332adf3e845659e410ccdd90d5b9fbbe9bb29a83a74841cac74c7"
+ "sha256": "5f86230b0760f6cda27f409af90150803d04dcc493c24a16ab9e6ed8bedd7f4e",
+ "clipboardSha256": "4543e328ee0a4e45f73ebb504dd01cff171a7b3ee2ccbbfb5121fd90a8db82e6"
},
{
"name": "app/global.json",
- "sha256": "e8c147e2003fe0af554dcd34367ae969a9150206b62c17cd86459695023c3bdf",
- "clipboardSha256": "390e6dddf63a5b602271b9aee34e74676c116fb393ad0c5f36380ed4634a7ee3"
- },
- {
- "name": "app/NuGet.config",
- "sha256": "e977519a23f7c0ea4961461102d6c78b91828cdc97e5e75d31758bd2bd440eb3",
- "clipboardSha256": "8787f78945d068677587e2794dfa18753c6043ca88c900201b3a3cadb8c9ee7f"
+ "sha256": "c5a832e5d1033966cc9354ad344d64cd85c11c4f8165324f97322eeb46e336b9",
+ "clipboardSha256": "11c4f249624d34097497a6b8dbac72acadc2216d9736e033258e2397a0f945a6"
}
],
"excerptSha256": "8700a98b89c2f6f1937bdbc0a644a81242d56b342f496b7090e58cad622c9ea4"
@@ -966,18 +951,13 @@
},
{
"name": "app/Example.csproj",
- "sha256": "e52631c3bc6cf7f55f79426e42f24c11b51fc1c6ada3aa5de750b260776ac75c",
- "clipboardSha256": "850555a244a332adf3e845659e410ccdd90d5b9fbbe9bb29a83a74841cac74c7"
+ "sha256": "5f86230b0760f6cda27f409af90150803d04dcc493c24a16ab9e6ed8bedd7f4e",
+ "clipboardSha256": "4543e328ee0a4e45f73ebb504dd01cff171a7b3ee2ccbbfb5121fd90a8db82e6"
},
{
"name": "app/global.json",
- "sha256": "e8c147e2003fe0af554dcd34367ae969a9150206b62c17cd86459695023c3bdf",
- "clipboardSha256": "390e6dddf63a5b602271b9aee34e74676c116fb393ad0c5f36380ed4634a7ee3"
- },
- {
- "name": "app/NuGet.config",
- "sha256": "e977519a23f7c0ea4961461102d6c78b91828cdc97e5e75d31758bd2bd440eb3",
- "clipboardSha256": "8787f78945d068677587e2794dfa18753c6043ca88c900201b3a3cadb8c9ee7f"
+ "sha256": "c5a832e5d1033966cc9354ad344d64cd85c11c4f8165324f97322eeb46e336b9",
+ "clipboardSha256": "11c4f249624d34097497a6b8dbac72acadc2216d9736e033258e2397a0f945a6"
}
],
"excerptSha256": "2803c70899673755433036a6539790ce05b25ad87a8c6c22a2c79840d711ae52"
@@ -988,8 +968,8 @@
"port": "fsharp",
"page": "home",
"sourceRepository": "libtmux/libtmux-dotnet",
- "sourceRevision": "4f1b997b2e4aeb604c4184707e49dcd4dea44fef",
- "sourceTree": "2bed2dca445fd23ad3f627f0c8f8eba76436aeb4",
+ "sourceRevision": "472c2bcfbda6735139849324cc109ad70300001e",
+ "sourceTree": "4ef96f46e6f60db9f55e7349ed3e5ab60315af1a",
"files": [
{
"name": "app/Program.fs",
@@ -998,22 +978,17 @@
},
{
"name": "app/Example.fsproj",
- "sha256": "4d7013dc6880249e3a34a104c27d4a85374ccbf5468165f22677fbdf1bfbbeaf",
- "clipboardSha256": "7e11b837ac061657bb407a4d16a3e44f089272499af7156187d10e0384fc5d0f"
+ "sha256": "b52f2c94dc6349e917eba205573e2eb361c286aadcb8261557ddcf052baca861",
+ "clipboardSha256": "ca7c5193ba23f5fa1128a7889fc08e692f6ad3d85adb85e6ab2b7851a91a6ef7"
},
{
"name": "app/global.json",
- "sha256": "e8c147e2003fe0af554dcd34367ae969a9150206b62c17cd86459695023c3bdf",
- "clipboardSha256": "390e6dddf63a5b602271b9aee34e74676c116fb393ad0c5f36380ed4634a7ee3"
- },
- {
- "name": "app/NuGet.config",
- "sha256": "e977519a23f7c0ea4961461102d6c78b91828cdc97e5e75d31758bd2bd440eb3",
- "clipboardSha256": "8787f78945d068677587e2794dfa18753c6043ca88c900201b3a3cadb8c9ee7f"
+ "sha256": "c5a832e5d1033966cc9354ad344d64cd85c11c4f8165324f97322eeb46e336b9",
+ "clipboardSha256": "11c4f249624d34097497a6b8dbac72acadc2216d9736e033258e2397a0f945a6"
}
],
"shellRecipe": [
- "# Save the files above at their displayed relative paths.\ngit clone https://github.com/libtmux/libtmux-dotnet.git libtmux-source\ngit -C libtmux-source checkout --detach 4f1b997b2e4aeb604c4184707e49dcd4dea44fef\nexport NUGET_PACKAGES=\"$PWD/packages\"\ncd libtmux-source\ndotnet restore src/LibTmux.FSharp/LibTmux.FSharp.fsproj --locked-mode\ndotnet pack src/LibTmux/LibTmux.csproj -c Release --no-restore \\\n -p:ContinuousIntegrationBuild=true --output artifacts/api-example-packages\ndotnet pack src/LibTmux.FSharp/LibTmux.FSharp.fsproj -c Release --no-restore \\\n -p:ContinuousIntegrationBuild=true --output artifacts/api-example-packages\ncd ../app\ndotnet restore Example.fsproj --configfile NuGet.config\ndotnet build Example.fsproj -c Release --no-restore --warnaserror\nexport TMUX_TMPDIR=/tmp/libtmux-dotnet-dev\nmkdir -p \"$TMUX_TMPDIR\"\nunset TMUX TMUX_PANE\ndotnet bin/Release/net8.0/Example.dll\ndotnet bin/Release/net10.0/Example.dll"
+ "# Save the files above at their displayed relative paths.\ncd app\ndotnet restore Example.fsproj\ndotnet build Example.fsproj -c Release --no-restore --warnaserror\nexport TMUX_TMPDIR=/tmp/libtmux-dotnet-dev\nmkdir -p \"$TMUX_TMPDIR\"\nunset TMUX TMUX_PANE\ndotnet bin/Release/net8.0/Example.dll\ndotnet bin/Release/net10.0/Example.dll"
],
"expectedOutputs": [
[
@@ -1024,7 +999,7 @@
],
"excerptSha256": "ad1792892d6af026eaf952694f0d5462ddd858b4dc12671773012b47320e2a97",
"tmuxVersions": [
- "3.2a",
+ "3.4",
"3.7c"
],
"variants": {
@@ -1037,18 +1012,13 @@
},
{
"name": "app/Example.fsproj",
- "sha256": "4d7013dc6880249e3a34a104c27d4a85374ccbf5468165f22677fbdf1bfbbeaf",
- "clipboardSha256": "7e11b837ac061657bb407a4d16a3e44f089272499af7156187d10e0384fc5d0f"
+ "sha256": "b52f2c94dc6349e917eba205573e2eb361c286aadcb8261557ddcf052baca861",
+ "clipboardSha256": "ca7c5193ba23f5fa1128a7889fc08e692f6ad3d85adb85e6ab2b7851a91a6ef7"
},
{
"name": "app/global.json",
- "sha256": "e8c147e2003fe0af554dcd34367ae969a9150206b62c17cd86459695023c3bdf",
- "clipboardSha256": "390e6dddf63a5b602271b9aee34e74676c116fb393ad0c5f36380ed4634a7ee3"
- },
- {
- "name": "app/NuGet.config",
- "sha256": "e977519a23f7c0ea4961461102d6c78b91828cdc97e5e75d31758bd2bd440eb3",
- "clipboardSha256": "8787f78945d068677587e2794dfa18753c6043ca88c900201b3a3cadb8c9ee7f"
+ "sha256": "c5a832e5d1033966cc9354ad344d64cd85c11c4f8165324f97322eeb46e336b9",
+ "clipboardSha256": "11c4f249624d34097497a6b8dbac72acadc2216d9736e033258e2397a0f945a6"
}
],
"excerptSha256": "e235031ac538f209036df425383c0279b849d7f65c2eefae63dfcccfb2ec4480"
@@ -1062,18 +1032,13 @@
},
{
"name": "app/Example.fsproj",
- "sha256": "4d7013dc6880249e3a34a104c27d4a85374ccbf5468165f22677fbdf1bfbbeaf",
- "clipboardSha256": "7e11b837ac061657bb407a4d16a3e44f089272499af7156187d10e0384fc5d0f"
+ "sha256": "b52f2c94dc6349e917eba205573e2eb361c286aadcb8261557ddcf052baca861",
+ "clipboardSha256": "ca7c5193ba23f5fa1128a7889fc08e692f6ad3d85adb85e6ab2b7851a91a6ef7"
},
{
"name": "app/global.json",
- "sha256": "e8c147e2003fe0af554dcd34367ae969a9150206b62c17cd86459695023c3bdf",
- "clipboardSha256": "390e6dddf63a5b602271b9aee34e74676c116fb393ad0c5f36380ed4634a7ee3"
- },
- {
- "name": "app/NuGet.config",
- "sha256": "e977519a23f7c0ea4961461102d6c78b91828cdc97e5e75d31758bd2bd440eb3",
- "clipboardSha256": "8787f78945d068677587e2794dfa18753c6043ca88c900201b3a3cadb8c9ee7f"
+ "sha256": "c5a832e5d1033966cc9354ad344d64cd85c11c4f8165324f97322eeb46e336b9",
+ "clipboardSha256": "11c4f249624d34097497a6b8dbac72acadc2216d9736e033258e2397a0f945a6"
}
],
"excerptSha256": "119cb2671cababa87cb2e11875c3ef4f5232d1090755fe3c4363bb294f321715"
@@ -1087,18 +1052,13 @@
},
{
"name": "app/Example.fsproj",
- "sha256": "4d7013dc6880249e3a34a104c27d4a85374ccbf5468165f22677fbdf1bfbbeaf",
- "clipboardSha256": "7e11b837ac061657bb407a4d16a3e44f089272499af7156187d10e0384fc5d0f"
+ "sha256": "b52f2c94dc6349e917eba205573e2eb361c286aadcb8261557ddcf052baca861",
+ "clipboardSha256": "ca7c5193ba23f5fa1128a7889fc08e692f6ad3d85adb85e6ab2b7851a91a6ef7"
},
{
"name": "app/global.json",
- "sha256": "e8c147e2003fe0af554dcd34367ae969a9150206b62c17cd86459695023c3bdf",
- "clipboardSha256": "390e6dddf63a5b602271b9aee34e74676c116fb393ad0c5f36380ed4634a7ee3"
- },
- {
- "name": "app/NuGet.config",
- "sha256": "e977519a23f7c0ea4961461102d6c78b91828cdc97e5e75d31758bd2bd440eb3",
- "clipboardSha256": "8787f78945d068677587e2794dfa18753c6043ca88c900201b3a3cadb8c9ee7f"
+ "sha256": "c5a832e5d1033966cc9354ad344d64cd85c11c4f8165324f97322eeb46e336b9",
+ "clipboardSha256": "11c4f249624d34097497a6b8dbac72acadc2216d9736e033258e2397a0f945a6"
}
],
"excerptSha256": "89e4d781c4499d2dc8db65da4de720e6b783289e260576777e7baf98d7ace27b"
@@ -1267,8 +1227,8 @@
"port": "powershell",
"page": "home",
"sourceRepository": "libtmux/libtmux-powershell",
- "sourceRevision": "fcd0634e9ca887b70d88915c2d8e26c5da2737e5",
- "sourceTree": "e842e7d382a31131e73b2e9967d2b5d977304a0a",
+ "sourceRevision": "2c30121b7733bf772d17140231a49332e5a470ab",
+ "sourceTree": "3752a58d6d5ff6852c5446cee4f4d95ad826ef8c",
"files": [
{
"name": "quickstart.ps1",
@@ -1277,7 +1237,7 @@
}
],
"shellRecipe": [
- "pwsh -NoLogo -NoProfile -Command '\n $ErrorActionPreference = \"Stop\"\n $null = New-Item -ItemType Directory -Path ./modules -Force\n Save-PSResource -Name LibTmux -Version 0.1.0-alpha2 `\n -Prerelease -Path ./modules -TrustRepository\n'",
+ "pwsh -NoLogo -NoProfile -Command '\n $ErrorActionPreference = \"Stop\"\n $null = New-Item -ItemType Directory -Path ./modules -Force\n Save-PSResource -Name LibTmux -Version 0.1.0 `\n -Path ./modules -TrustRepository\n'",
"unset TMUX TMUX_PANE\nexport ENV=/dev/null BASH_ENV=/dev/null SHELL=/bin/sh\npwsh -NoLogo -NoProfile -File quickstart.ps1"
],
"expectedOutputs": [
@@ -1289,7 +1249,7 @@
],
"excerptSha256": "2e0437140b5dc07e1fc5ad142052afd74cb550a7828f41e441c958bd1423cc72",
"tmuxVersions": [
- "3.7d"
+ "3.8"
],
"variants": {
"concise": {
@@ -1388,13 +1348,13 @@
"port": "elixir",
"page": "home",
"sourceRepository": "libtmux/libtmux-elixir",
- "sourceRevision": "6e6e88e886bdd9267fcd8be66f561dc5d5462476",
- "sourceTree": "82a927e2c306379461b7cfba69cf31c9109c01f7",
+ "sourceRevision": "cac4252bfc52069980d47db2b7803dc9b33f36f1",
+ "sourceTree": "f2c639ac8c99fa284acf6d122aa7af7177e068a9",
"files": [
{
"name": "quickstart.exs",
- "sha256": "0f92d981ae5663a2f494391789a7c63c88a2c2dfe10092998d7ce8434fdfc0b7",
- "clipboardSha256": "d01da18d1a92abb41e4c447e69bb4f07facb02fa7ecd1ff0c66a698c6591ed92"
+ "sha256": "9a5be3e88f6e21081b22c9b884b94d2b1225368b0e1e0656549024c14b1ed88e",
+ "clipboardSha256": "a0a04cbe7b9922255ba1f93d776ab775a5eab839c8479a4d25c57801b4a6769d"
}
],
"shellRecipe": [
@@ -1405,41 +1365,41 @@
"demo: 2 windows, 3 panes"
]
],
- "excerptSha256": "d01da18d1a92abb41e4c447e69bb4f07facb02fa7ecd1ff0c66a698c6591ed92",
+ "excerptSha256": "a0a04cbe7b9922255ba1f93d776ab775a5eab839c8479a4d25c57801b4a6769d",
"tmuxVersions": [
"3.3a",
- "3.8"
+ "3.8a"
],
"variants": {
"concise": {
"files": [
{
"name": "quickstart.exs",
- "sha256": "0b9626d99549877ee6b2cb74262a5771eac451af7c483df27f73ea22082a7fd6",
- "clipboardSha256": "0c4f4204381d44729ffe6e60eddcc16c819874881374e1ceb3328c0acafc7a5f"
+ "sha256": "e7671613e3fb2c0bb20affb48539ebdbc6947f3620d4af6705a651e27396c3c2",
+ "clipboardSha256": "086dd47af5d82109690a8607f11b1f3e12b84cd6afafc8f36f2da1a54e871ad4"
}
],
- "excerptSha256": "0c4f4204381d44729ffe6e60eddcc16c819874881374e1ceb3328c0acafc7a5f"
+ "excerptSha256": "086dd47af5d82109690a8607f11b1f3e12b84cd6afafc8f36f2da1a54e871ad4"
},
"errors": {
"files": [
{
"name": "quickstart.exs",
- "sha256": "0b9626d99549877ee6b2cb74262a5771eac451af7c483df27f73ea22082a7fd6",
- "clipboardSha256": "0c4f4204381d44729ffe6e60eddcc16c819874881374e1ceb3328c0acafc7a5f"
+ "sha256": "e7671613e3fb2c0bb20affb48539ebdbc6947f3620d4af6705a651e27396c3c2",
+ "clipboardSha256": "086dd47af5d82109690a8607f11b1f3e12b84cd6afafc8f36f2da1a54e871ad4"
}
],
- "excerptSha256": "0c4f4204381d44729ffe6e60eddcc16c819874881374e1ceb3328c0acafc7a5f"
+ "excerptSha256": "086dd47af5d82109690a8607f11b1f3e12b84cd6afafc8f36f2da1a54e871ad4"
},
"cleanup": {
"files": [
{
"name": "quickstart.exs",
- "sha256": "0f92d981ae5663a2f494391789a7c63c88a2c2dfe10092998d7ce8434fdfc0b7",
- "clipboardSha256": "d01da18d1a92abb41e4c447e69bb4f07facb02fa7ecd1ff0c66a698c6591ed92"
+ "sha256": "9a5be3e88f6e21081b22c9b884b94d2b1225368b0e1e0656549024c14b1ed88e",
+ "clipboardSha256": "a0a04cbe7b9922255ba1f93d776ab775a5eab839c8479a4d25c57801b4a6769d"
}
],
- "excerptSha256": "d01da18d1a92abb41e4c447e69bb4f07facb02fa7ecd1ff0c66a698c6591ed92"
+ "excerptSha256": "a0a04cbe7b9922255ba1f93d776ab775a5eab839c8479a4d25c57801b4a6769d"
}
}
}
diff --git a/site/test/fixtures/product-examples.json b/site/test/fixtures/product-examples.json
index c52749f10..efbe50950 100644
--- a/site/test/fixtures/product-examples.json
+++ b/site/test/fixtures/product-examples.json
@@ -147,7 +147,7 @@
{
"port": "java",
"language": "java",
- "sourceRevision": "842228310449e879ebcaa3f910597757c9dbffd6",
+ "sourceRevision": "5c181887918351119bfdb3a046719fa792048e59",
"sourceRepository": "libtmux/libtmux-java",
"files": [
{
@@ -156,24 +156,24 @@
},
{
"name": "settings.gradle.kts",
- "sha256": "68853d2191a6d1f8306684a898d2b079e2de868964123fc6b5121bb305a83844"
+ "sha256": "10d8a42b1f559a6d76d4cc0941c1b5c49f23c5256fcac25821481b39056dcf00"
},
{
"name": "build.gradle.kts",
- "sha256": "22f664fa486cdbaa8bb473cd245986c885e87ea86b4c6931dfab2df4ca09be1a"
+ "sha256": "3a4a1b65c6e47f61751532440ba4909b186813771565c6c35567c8c20d1f65b5"
}
],
"toolchain": [
"JDK 25.0.3+9",
- "Gradle wrapper at selected source"
+ "Gradle wrapper from the 0.1.0 release"
],
"tmux": [
- "3.2a",
+ "3.3a",
"3.7c"
],
"page": "ports/java/mcp/examples",
"shellRecipe": [
- "mkdir java-mcp-example && cd java-mcp-example && \\\n git init libtmux-source && \\\n git -C libtmux-source remote add origin https://github.com/libtmux/libtmux-java.git && \\\n git -C libtmux-source fetch --depth=1 origin 842228310449e879ebcaa3f910597757c9dbffd6 && \\\n git -C libtmux-source checkout --detach FETCH_HEAD && \\\n mkdir -p src/main/java",
+ "mkdir java-mcp-example && cd java-mcp-example && \\\n git init libtmux-source && \\\n git -C libtmux-source remote add origin https://github.com/libtmux/libtmux-java.git && \\\n git -C libtmux-source fetch --depth=1 origin 5c181887918351119bfdb3a046719fa792048e59 && \\\n git -C libtmux-source checkout --detach FETCH_HEAD && \\\n mkdir -p src/main/java",
"./libtmux-source/gradlew --no-daemon --max-workers=2 -p . installDist",
"./build/install/mcp-example/bin/mcp-example"
]
@@ -207,7 +207,7 @@
{
"port": "go",
"language": "go",
- "sourceRevision": "bb06e26e116e941813ca40bf45e7e3a47d38f52a",
+ "sourceRevision": "59aed98c06984e2f8613fd1df6ec8943f5f1eed3",
"sourceRepository": "libtmux/libtmux-go",
"files": [
{
@@ -216,7 +216,7 @@
},
{
"name": "go.mod",
- "sha256": "389de8aafa2051802de5153ff5020de1529ad034732da91885cff3b9265e324d"
+ "sha256": "6756a23475ee988412ed9249698083c7685c5658b49cc830ad4c76f81183918f"
},
{
"name": "workspace.yaml",
@@ -224,16 +224,15 @@
}
],
"toolchain": [
- "Go 1.26.8"
+ "Go 1.26.5"
],
"tmux": [
- "3.2a",
+ "3.3a",
"3.7c"
],
"page": "ports/go/workspace/internals/examples",
"shellRecipe": [
"mkdir go-workspace-example && cd go-workspace-example",
- "git init libtmux-source && \\\n git -C libtmux-source remote add origin https://github.com/libtmux/libtmux-go.git && \\\n git -C libtmux-source fetch --depth=1 origin bb06e26e116e941813ca40bf45e7e3a47d38f52a && \\\n git -C libtmux-source checkout --detach FETCH_HEAD",
"go mod tidy",
"go run ."
]
@@ -331,12 +330,12 @@
{
"port": "rs",
"language": "rust",
- "sourceRevision": "a6fc2a65674177b92b17fa380757155d2ba150fd",
+ "sourceRevision": "ce7610a3b46376c377292e5a640b3798c18708fe",
"sourceRepository": "libtmux/libtmux-rs",
"files": [
{
"name": "Cargo.toml",
- "sha256": "5ec266b05567cb1799d2df65b3dcf6f5db69cab7c8878616d43f21da192d2562"
+ "sha256": "ebfa2c0baa9217baa3f61ca3b00f4d485f3a0f992c31109a9441dc4a4aff22c3"
},
{
"name": "src/main.rs",
@@ -347,7 +346,7 @@
"Rust 1.97.1"
],
"tmux": [
- "3.2a",
+ "3.3a",
"3.7c"
],
"page": "ports/rs/mcp/examples/inspect-sessions",
@@ -362,12 +361,12 @@
{
"port": "csharp",
"language": "csharp",
- "sourceRevision": "ec8b6ab2a4f65e23664f43fba538ba200d4ae8bc",
+ "sourceRevision": "472c2bcfbda6735139849324cc109ad70300001e",
"sourceRepository": "libtmux/libtmux-dotnet",
"files": [
{
"name": "McpExample.csproj",
- "sha256": "a17e9ff530230a986888f38654225c5aaae0a6bff2ddc0c40e5ef312d3d3d370"
+ "sha256": "b0a6b06aa978bc41310fb31181445fdc77246efebbef414d2a9308f486f4f21c"
},
{
"name": "Program.cs",
@@ -377,29 +376,29 @@
"toolchain": [
".NET SDK 10.0.400; .NET 10 runtime",
"ModelContextProtocol 2.2.0",
- "LibTmux and LibTmux.Mcp 0.0.0-alpha.20"
+ "LibTmux and LibTmux.Mcp 0.1.0"
],
"tmux": [
- "3.2a",
+ "3.3a",
"3.7c"
],
"page": "ports/csharp/mcp/examples/inspect-sessions",
"shellRecipe": [
"mkdir inspect-mcp-sessions",
"cd inspect-mcp-sessions",
- "dotnet tool install \\\n --tool-path .tools \\\n --version 0.0.0-alpha.20 \\\n LibTmux.Mcp",
+ "dotnet tool install \\\n --tool-path .tools \\\n --version 0.1.0 \\\n LibTmux.Mcp",
"dotnet run --project McpExample.csproj --no-launch-profile"
]
},
{
"port": "csharp",
"language": "csharp",
- "sourceRevision": "ec8b6ab2a4f65e23664f43fba538ba200d4ae8bc",
+ "sourceRevision": "472c2bcfbda6735139849324cc109ad70300001e",
"sourceRepository": "libtmux/libtmux-dotnet",
"files": [
{
"name": "McpExample.csproj",
- "sha256": "a17e9ff530230a986888f38654225c5aaae0a6bff2ddc0c40e5ef312d3d3d370"
+ "sha256": "b0a6b06aa978bc41310fb31181445fdc77246efebbef414d2a9308f486f4f21c"
},
{
"name": "Program.cs",
@@ -409,29 +408,29 @@
"toolchain": [
".NET SDK 10.0.400; .NET 10 runtime",
"ModelContextProtocol 2.2.0",
- "LibTmux and LibTmux.Mcp 0.0.0-alpha.20"
+ "LibTmux and LibTmux.Mcp 0.1.0"
],
"tmux": [
- "3.2a",
+ "3.4",
"3.7c"
],
"page": "ports/csharp/mcp/examples/run-command",
"shellRecipe": [
"mkdir run-mcp-command",
"cd run-mcp-command",
- "dotnet tool install \\\n --tool-path .tools \\\n --version 0.0.0-alpha.20 \\\n LibTmux.Mcp",
+ "dotnet tool install \\\n --tool-path .tools \\\n --version 0.1.0 \\\n LibTmux.Mcp",
"dotnet run --project McpExample.csproj --no-launch-profile"
]
},
{
"port": "go",
"language": "go",
- "sourceRevision": "6e7420927f4cb717fe089a710328e44e8d551025",
+ "sourceRevision": "59aed98c06984e2f8613fd1df6ec8943f5f1eed3",
"sourceRepository": "libtmux/libtmux-go",
"files": [
{
"name": "go.mod",
- "sha256": "96275c7f48d59c0b5fab40050b874c791afa26c33e91caa75c2f86d8bfe96247"
+ "sha256": "11837e181881db11ded5043877a62be815e4bd6828c4e39ecdbf674cde2eb3c8"
},
{
"name": "main.go",
@@ -440,19 +439,19 @@
],
"toolchain": [
"Go 1.26.5",
- "github.com/libtmux/libtmux-go v0.0.1-alpha.9",
- "github.com/libtmux/libtmux-go/mcp v0.0.1-alpha.12",
+ "github.com/libtmux/libtmux-go v0.1.0",
+ "github.com/libtmux/libtmux-go/mcp v0.1.0",
"github.com/modelcontextprotocol/go-sdk v1.6.1"
],
"tmux": [
- "3.2a",
+ "3.3a",
"3.7c"
],
"page": "ports/go/mcp/examples/inspect-sessions",
"shellRecipe": [
"mkdir inspect-mcp-sessions",
"cd inspect-mcp-sessions",
- "GOBIN=\"$PWD/.tools\" go install \\\n github.com/libtmux/libtmux-go/mcp/cmd/libtmux-mcp@v0.0.1-alpha.12",
+ "GOBIN=\"$PWD/.tools\" go install \\\n github.com/libtmux/libtmux-go/mcp/cmd/libtmux-mcp@v0.1.0",
"go mod tidy",
"go run ."
]
@@ -460,12 +459,12 @@
{
"port": "go",
"language": "go",
- "sourceRevision": "6e7420927f4cb717fe089a710328e44e8d551025",
+ "sourceRevision": "59aed98c06984e2f8613fd1df6ec8943f5f1eed3",
"sourceRepository": "libtmux/libtmux-go",
"files": [
{
"name": "go.mod",
- "sha256": "08431445630b8c2f989a6294e939a9746857bf2d88e28903cb28a72d67461fd0"
+ "sha256": "27926a7fbebb1ea920e7b3192c556f8b2c5e9e8b3366a4906a9b4ba4ce63d6c1"
},
{
"name": "main.go",
@@ -474,19 +473,19 @@
],
"toolchain": [
"Go 1.26.5",
- "github.com/libtmux/libtmux-go v0.0.1-alpha.9",
- "github.com/libtmux/libtmux-go/mcp v0.0.1-alpha.12",
+ "github.com/libtmux/libtmux-go v0.1.0",
+ "github.com/libtmux/libtmux-go/mcp v0.1.0",
"github.com/modelcontextprotocol/go-sdk v1.6.1"
],
"tmux": [
- "3.2a",
+ "3.3a",
"3.7c"
],
"page": "ports/go/mcp/examples/run-command",
"shellRecipe": [
"mkdir run-mcp-command",
"cd run-mcp-command",
- "GOBIN=\"$PWD/.tools\" go install \\\n github.com/libtmux/libtmux-go/mcp/cmd/libtmux-mcp@v0.0.1-alpha.12",
+ "GOBIN=\"$PWD/.tools\" go install \\\n github.com/libtmux/libtmux-go/mcp/cmd/libtmux-mcp@v0.1.0",
"go mod tidy",
"go run ."
]
diff --git a/site/test/inventory-tooltip.outer.test.ts b/site/test/inventory-tooltip.outer.test.ts
new file mode 100644
index 000000000..6fdd2f822
--- /dev/null
+++ b/site/test/inventory-tooltip.outer.test.ts
@@ -0,0 +1,46 @@
+import { readFileSync } from 'node:fs'
+import { chromium, type Browser } from 'playwright'
+import { afterAll, beforeAll, describe, expect, it } from 'vitest'
+
+/**
+ * The footer's inventory help in a real browser, with the component's own styles and no server. Tab from the help
+ * link reaches the tooltip's link at once, before any transition has run.
+ */
+const source = readFileSync(new URL('../src/components/SiteFooter.astro', import.meta.url), 'utf8')
+const styles = source.match(/
+objects-full.inv
+?
+Sphinx inventories. Learn how to link to this documentation.
+GitHub