Something went wrong. Try again.
This repository has no description
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162import { version } from "../package.json";import { loadCustomerConfig, type CustomerConfigBindings,} from "../configuration/customer";import type { RuntimeInfo } from "../shared/runtime-info";
export function runtimeInfo( env: CustomerConfigBindings & { BROWSER?: unknown; Sandbox?: unknown },): RuntimeInfo { const { effectiveInstallation } = loadCustomerConfig(env); return { applicationVersion: version, installationId: effectiveInstallation.installationId, runtimeOrigin: effectiveInstallation.runtimeOrigin, controlPlaneOrigin: effectiveInstallation.controlPlaneOrigin, tools: [ { id: "memory", name: "Memory", status: "available", description: "Remember, update, forget and recall facts at your request.", }, { id: "read_url", name: "Read webpages", status: "available", description: "Read text from public webpages. Does not run JavaScript or read PDFs.", }, { id: "web_search", name: "Web search", status: env.BROWSER ? "configured" : "not configured", description: "Find up to five public sources. Search sites may block requests.", }, { id: "browser_read", name: "Browser reading", status: env.BROWSER ? "configured" : "not configured", description: "Read public pages that need JavaScript. No logins or persistent browser session.", }, { id: "shell", name: "Shell", status: env.Sandbox ? "configured" : "not configured", description: "Run commands in a fresh temporary workspace, for up to 45 seconds. Files do not persist between calls.", }, { id: "createSchedule", name: "Scheduled tasks", status: "available", description: "Create tasks when you ask. Recurring schedules use UTC.", }, ], };}