@openllmsh/sdk 2.10.15-alpha.4 → 2.10.15-alpha.6

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.
@@ -148,6 +148,13 @@ export declare const AgentAttachmentMeta: S.Struct<{
148
148
  export type TAgentAttachmentMeta = S.Schema.Type<typeof AgentAttachmentMeta>;
149
149
  /** Decoded-byte cap mirroring {@link AGENT_MAX_ATTACHMENT_BASE64_LENGTH}. */
150
150
  export declare const AGENT_MAX_ATTACHMENT_BYTES: number;
151
+ /**
152
+ * Cap for a `path` attachment on this Mac (loopback only). The send carries
153
+ * no bytes, so {@link AGENT_MAX_ATTACHMENT_BYTES} doesn't apply; this bounds
154
+ * the daemon's read when the transcript previews it (`attachment_get`,
155
+ * chunked), so anything that can be sent can also be shown.
156
+ */
157
+ export declare const AGENT_MAX_LOCAL_ATTACHMENT_BYTES: number;
151
158
  /** Decision on an approval request (`request.opened`). */
152
159
  export declare const AgentRequestDecision: S.Literals<readonly ["accept", "accept_for_session", "decline", "cancel"]>;
153
160
  export type TAgentRequestDecision = S.Schema.Type<typeof AgentRequestDecision>;
@@ -179,6 +179,13 @@ export const AgentAttachmentMeta = S.Struct({
179
179
  });
180
180
  /** Decoded-byte cap mirroring {@link AGENT_MAX_ATTACHMENT_BASE64_LENGTH}. */
181
181
  export const AGENT_MAX_ATTACHMENT_BYTES = Math.floor((AGENT_MAX_ATTACHMENT_BASE64_LENGTH * 3) / 4);
182
+ /**
183
+ * Cap for a `path` attachment on this Mac (loopback only). The send carries
184
+ * no bytes, so {@link AGENT_MAX_ATTACHMENT_BYTES} doesn't apply; this bounds
185
+ * the daemon's read when the transcript previews it (`attachment_get`,
186
+ * chunked), so anything that can be sent can also be shown.
187
+ */
188
+ export const AGENT_MAX_LOCAL_ATTACHMENT_BYTES = 64 * 1024 * 1024;
182
189
  /** Decision on an approval request (`request.opened`). */
183
190
  export const AgentRequestDecision = S.Literals([
184
191
  "accept",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openllmsh/sdk",
3
- "version": "2.10.15-alpha.4",
3
+ "version": "2.10.15-alpha.6",
4
4
  "private": false,
5
5
  "description": "The OpenLLM SDK: typed API contracts, wire-format adapters, the device tunnel, client-side vault crypto, the OpenAPI spec and MCP tools.",
6
6
  "keywords": [