@theoremjs/studio 0.3.4-next.602.gb5a7fab → 0.3.4-next.606.g8936f75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser-execution.js +1 -1
- package/live-session-bridge.d.ts +4 -1
- package/live-session-bridge.js +3 -2
- package/package.json +4 -4
- package/page/assets/{Banner-p9SclVnW.js → Banner-DjmNbolt.js} +2 -2
- package/page/assets/{ConsoleFrame-Bk7U_dkx.js → ConsoleFrame-DA11Fku_.js} +1 -1
- package/page/assets/{MenuBottomSheet-BQlpVmEr.js → MenuBottomSheet-3zlicLHX.js} +1 -1
- package/page/assets/{SchemaFields-knHoiON5.js → SchemaFields-CpFY3ebA.js} +1 -1
- package/page/assets/{ToolResultCharts-DrK7h289.js → ToolResultCharts-gTYzrv97.js} +1 -1
- package/page/assets/{TraceInspector-Ix8TGKUr.js → TraceInspector-DfCvBkOH.js} +1 -1
- package/page/assets/{TraceOverview-D30xb36O.js → TraceOverview-BitZyKPI.js} +1 -1
- package/page/assets/{_virtual_studio-type-sources-CUVOpqcN.js → _virtual_studio-type-sources-D4cXOQWg.js} +17 -17
- package/page/assets/{browser-engine-BBSrAkpf.js → browser-engine-CvJbFjEy.js} +7 -7
- package/page/assets/{browser-transport-DI2MaVLx.js → browser-transport-BgmUaqDP.js} +3 -3
- package/page/assets/{export-agent-BjRGGhHp.js → export-agent-C68TpApX.js} +1 -1
- package/page/assets/{guardrail-tester-jChXDXvA.js → guardrail-tester-nXXVXNzQ.js} +1 -1
- package/page/assets/{index-D-9zkt1z.js → index-Dblg49i6.js} +8 -8
- package/page/assets/{live-messages-QLwxUT0i.js → live-messages-DzRBDO3t.js} +1 -1
- package/page/assets/{studio-code-pane-D0gvxh9E.js → studio-code-pane-9xA06tts.js} +3 -3
- package/page/assets/{studio-console-DgngrbWF.js → studio-console-B517lIZ-.js} +1 -1
- package/page/assets/{studio-decision-17k-mqAR.js → studio-decision-Cf2lbMFz.js} +1 -1
- package/page/assets/{studio-embedding-BDSfOSHQ.js → studio-embedding-BEKBtCKn.js} +1 -1
- package/page/assets/{studio-host-console-BIRwm7JW.js → studio-host-console-TXtb6kyY.js} +2 -2
- package/page/assets/{studio-labels-Ch9-yR_t.js → studio-labels-CGR8sQpd.js} +1 -1
- package/page/assets/{studio-live-DboP35Z1.js → studio-live-iNfxo1P9.js} +1 -1
- package/page/assets/{studio-map-qFa39sGA.js → studio-map-BGq5KDQu.js} +1 -1
- package/page/assets/{studio-trace-replay-CNZg-u6a.js → studio-trace-replay-cJ1PXrFw.js} +1 -1
- package/page/assets/{studio-type-checker-BD42Vls4.js → studio-type-checker-DlxHkNic.js} +1 -1
- package/page/assets/turn-client-CZG4gVtX.js +2 -0
- package/page/assets/{use-one-call-D089AxXD.js → use-one-call-C95kZjb_.js} +1 -1
- package/page/index.html +5 -5
- package/page/assets/turn-client-BCpbITbw.js +0 -2
|
@@ -4765,7 +4765,7 @@ export { createMemoryToolExecution } from './src/kernel/tools/memory-execution.j
|
|
|
4765
4765
|
export type { CredentialQuery, McpProtocolVersion, McpRpcResponse, ToolRegistry, } from './src/kernel/tools/mod.js';
|
|
4766
4766
|
export { askUserTool, buildHttpToolTarget, createToolRegistry, credentialPlacement, executeHttpTool, executeMcpTool, formatToolResult, isUnsupportedMcpProtocolError, MCP_PROTOCOL_VERSIONS, mcpRequestMeta, parseMcpRpcResponse, prepareTurnToolSnapshot, registerHarnessTools, resolveToolAuth, UncheckedOutput, uncheckedOutput, withCredentialQuery, } from './src/kernel/tools/mod.js';
|
|
4767
4767
|
export type { BeginToolOperationResult, PageToolDispatch, PageToolExecution, SavedToolInvocation, TerminalToolEvent, ToolExecutionCoordinator, ToolOperationClaim, ToolOperationIdentity, ToolOperationOutcome, ToolOperationUncertainty, } from './src/kernel/tools/operation.js';
|
|
4768
|
-
export {
|
|
4768
|
+
export { savedToolInvocationSchema, toolInvocationHash, toolOperationOutcomeSchema, } from './src/kernel/tools/operation.js';
|
|
4769
4769
|
export type { SettledToolCall, ToolCallResult, ToolStepCallResult, } from './src/kernel/tools/run.js';
|
|
4770
4770
|
export type { ModelToolResult, PageAnswer, ToolContext } from './src/kernel/tools/types.js';
|
|
4771
4771
|
export { awaitingUserInputSchema, type GateReference, gateReferenceSchema, isAwaitingUserInput, keptReply, reasoningPartSchema, TURN_EVENT_SCHEMAS, toolGateSchema, turnDoneOf, turnEventSchema, turnHistoryMessageSchema, turnToolSnapshotSchema, } from './src/kernel/turn-events.js';
|
|
@@ -9743,17 +9743,13 @@ export type BeginToolOperationResult = {
|
|
|
9743
9743
|
} | {
|
|
9744
9744
|
kind: 'uncertain';
|
|
9745
9745
|
};
|
|
9746
|
-
/**
|
|
9747
|
-
* The default most bytes a coordinator keeps for one tool result, as UTF-8 JSON. A result that
|
|
9748
|
-
* size is about 250,000 tokens, already more than one tool result should give a model.
|
|
9749
|
-
*/
|
|
9750
|
-
export declare const DEFAULT_MAX_OUTCOME_BYTES: number;
|
|
9751
9746
|
export interface ToolExecutionCoordinator {
|
|
9752
9747
|
/**
|
|
9753
|
-
* The most bytes, as UTF-8 JSON, it keeps for one outcome.
|
|
9754
|
-
* the call's \`result_too_large\` failure, so a call that ran is never
|
|
9748
|
+
* The most bytes, as UTF-8 JSON, it keeps for one outcome. Unset, it keeps any size. The kernel
|
|
9749
|
+
* settles a larger result as the call's \`result_too_large\` failure, so a call that ran is never
|
|
9750
|
+
* left unresolved by its size.
|
|
9755
9751
|
*/
|
|
9756
|
-
readonly maxOutcomeBytes
|
|
9752
|
+
readonly maxOutcomeBytes?: number;
|
|
9757
9753
|
lookup(operation: ToolOperationIdentity): Promise<Exclude<BeginToolOperationResult, {
|
|
9758
9754
|
kind: 'acquired';
|
|
9759
9755
|
}> | undefined>;
|
|
@@ -9840,10 +9836,13 @@ import type { ToolAuthChallenge } from '../turn-events.js';
|
|
|
9840
9836
|
import type { InvokeToolResume, PageAnswer } from './types.js';
|
|
9841
9837
|
/** What a sign-in gate asks for, minus the challenge's OAuth details. */
|
|
9842
9838
|
export type ToolGateAuth = Pick<ToolAuthChallenge, 'slot' | 'authType' | 'service'>;
|
|
9843
|
-
/**
|
|
9844
|
-
|
|
9845
|
-
|
|
9846
|
-
|
|
9839
|
+
/**
|
|
9840
|
+
* A bad value is refused when \`owner\` is built, not when a gate expires. Unset, a gate waits until
|
|
9841
|
+
* it is answered.
|
|
9842
|
+
*/
|
|
9843
|
+
export declare function resolveGateTtlMs(owner: string, gateTtlMs: number | undefined): number | undefined;
|
|
9844
|
+
/** True when the gate has waited as long as its time limit. With no limit, never. */
|
|
9845
|
+
export declare function gateExpired(createdAt: number, now: number, ttlMs: number | undefined): boolean;
|
|
9847
9846
|
/** How a user can answer a tool gate: approve it, deny it, or walk away. */
|
|
9848
9847
|
export declare const GATE_DECISIONS: readonly ["approve", "deny", "abandon"];
|
|
9849
9848
|
/** One of {@linkcode GATE_DECISIONS}. */
|
|
@@ -11601,9 +11600,9 @@ export type { EventLeak, LeakScope };
|
|
|
11601
11600
|
export { boundaryNote, eventLeak, eventPromptLeakHits, hitRules, isPromptLeakHit, promptEchoHits, promptLeakReason, WITHHELD_REASON, };
|
|
11602
11601
|
`,"file:///node_modules/@theoremjs/agents/src/kernel/tools/memory-execution.d.ts":`import { type ToolExecutionCoordinator } from './operation.js';
|
|
11603
11602
|
export interface MemoryToolExecutionOptions {
|
|
11604
|
-
/** The most operations it holds. A full coordinator refuses dispatch and keeps what it has. */
|
|
11603
|
+
/** The most operations it holds. Unset, it holds any number. A full coordinator refuses dispatch and keeps what it has. */
|
|
11605
11604
|
maxOperations?: number;
|
|
11606
|
-
/** The most bytes it keeps for one tool result.
|
|
11605
|
+
/** The most bytes it keeps for one tool result. Unset, it keeps any size. */
|
|
11607
11606
|
maxOutcomeBytes?: number;
|
|
11608
11607
|
}
|
|
11609
11608
|
/**
|
|
@@ -11671,8 +11670,9 @@ export interface RunSessionOptions extends ProviderHostOptions {
|
|
|
11671
11670
|
/** The host's keys by slot; the session uses the slots its profile names. */
|
|
11672
11671
|
vault?: KeyVault;
|
|
11673
11672
|
/**
|
|
11674
|
-
* Milliseconds a gated call waits for its decision
|
|
11675
|
-
*
|
|
11673
|
+
* Milliseconds a gated call waits for its decision. A later decision is refused
|
|
11674
|
+
* (\`session.gate_expired\`), and the model reads the call as abandoned. Unset, the call waits
|
|
11675
|
+
* until it is decided or the session closes.
|
|
11676
11676
|
*/
|
|
11677
11677
|
gateTtlMs?: number;
|
|
11678
11678
|
/**
|