@tangle-network/agent-app 0.60.228 → 0.60.229

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.
@@ -1,21 +1,3 @@
1
- /**
2
- * The sequences MCP tool registry — what the in-sandbox agent sees over the
3
- * live agent→timeline channel. Each entry carries an LLM-facing description,
4
- * a JSON Schema for the arguments, and the typed dispatch that converts
5
- * seconds→frames exactly once, validates the resulting operations, applies
6
- * them through the store, and records ONE decision row per mutating call.
7
- *
8
- * Tool arguments speak SECONDS (the unit an LLM reasons in); everything past
9
- * this edge is integer frames at the sequence fps. Results come back in
10
- * snake_case with both seconds and `m:ss.ff` timecodes so the model can quote
11
- * positions back to the user without doing frame math.
12
- *
13
- * Every mutation funnels through the ./validate + ./apply kernel: the WHOLE
14
- * operation batch validates against pre-state before the first write. Errors
15
- * thrown anywhere in a tool run (argument shape, validation, store) carry the
16
- * precise reason — the handler surfaces them verbatim as `isError` tool
17
- * results the model can act on.
18
- */
19
1
  import type { SequenceStore } from './store';
20
2
  /** Everything one tool invocation needs. Constructed per request by the
21
3
  * handler — the store is already scoped + authorized by the product. The
@@ -0,0 +1,4 @@
1
+ export declare function isRecord(value: unknown): value is Record<string, unknown>;
2
+ export declare function requireString(args: Record<string, unknown>, name: string): string;
3
+ export declare function requireEnum<T extends string>(args: Record<string, unknown>, name: string, values: readonly T[]): T;
4
+ export declare function objectSchema(properties: Record<string, unknown>, required: string[]): Record<string, unknown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/agent-app",
3
- "version": "0.60.228",
3
+ "version": "0.60.229",
4
4
  "packageManager": "pnpm@11.24.0",
5
5
  "description": "Build agent applications with typed chat, tools, sandboxes, integrations, billing, and evaluation.",
6
6
  "keywords": [