From 0011f2a3989cfc25da7dd929c73d8f4914c123b1 Mon Sep 17 00:00:00 2001 From: Sawyer Cutler Date: Sat, 1 Aug 2026 20:53:27 -0700 Subject: [PATCH] Export windowContent from the package index MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit windowContent is defined and exported in src/tools.ts but never re-exported from the index, and the exports map serves only "." — so consumers cannot reach it. readArtifactChunk isn't a substitute: it requires an Identity/ResolvedPrincipal and returns a different shape, so the plain 'window this string I already have' case had no public entry point (Scout re-implemented it as a result). CL-4971 --- src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.ts b/src/index.ts index 5f13059..61f97f7 100644 --- a/src/index.ts +++ b/src/index.ts @@ -99,6 +99,7 @@ export { linkFileArtifact, readArtifact, readArtifactChunk, + windowContent, } from "./tools.js"; export type { ArtifactReadResult, ArtifactToolDefinition } from "./tools.js";