@beeos-ai/bma-executor-sdk 1.26.0 → 1.28.0
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.
|
@@ -1107,7 +1107,7 @@ export declare const SessionEventType: {
|
|
|
1107
1107
|
export interface SessionFilesCapability {
|
|
1108
1108
|
/** Absolute, already-expanded, clean path on the executor host (no ~, no . or .. segments, no trailing /). */
|
|
1109
1109
|
root: string;
|
|
1110
|
-
/** Contract 2.6.0. The executor materializes the session's memory stores: before every process.start of an agent session and on session_files.sync it mirrors the memory_stores of the session files manifest into <root>/<agent_session_id>/memory/<slug>/ (files 0444, platform wins, anything not in the manifest removed, marker <root>/<agent_session_id>/memory/.bma-memory.json) and exports BMA_MEMORY_DIR=<root>/<agent_session_id>/memory to that session's processes. Absent or false: the platform sends no session_files.sync, records one non-terminal session.error memory_unsupported per turn of a session with memory stores, and tells the model memory is not available there. */
|
|
1110
|
+
/** Contract 2.6.0. The executor materializes the session's memory stores: before every process.start of an agent session and on session_files.sync it mirrors the memory_stores of the session files manifest into <root>/<agent_session_id>/memory/<slug>/ (files 0444, platform wins, anything not in the manifest removed, marker <root>/<agent_session_id>/memory/.bma-memory.json) and exports BMA_MEMORY_DIR=<root>/<agent_session_id>/memory to that session's processes and (contract 2.9.0) to its bash tool commands. Absent or false: the platform sends no session_files.sync, records one non-terminal session.error memory_unsupported per turn of a session with memory stores, and tells the model memory is not available there. */
|
|
1111
1111
|
memory?: boolean;
|
|
1112
1112
|
/** Contract 2.7.0 (ADR-0111). The executor mounts the session's uploads and memory stores instead of copying them: at the points it would copy (before every process.start of an agent session, on session_files.sync) it serves <root>/<agent_session_id>/uploads as one read-only file system and each memory store <root>/<agent_session_id>/memory/<slug> as its own (read-only for access read_only), with the same paths, manifest, content routes and marker as the copy. Content is read lazily (Range on the session files content route) and cached by sha256; each mount root belongs to the OS user that session's processes run as (0700) and answers only that user. A declaring executor fails a process start or a sync whose mount fails; it never copies instead. Declared only after the executor's mount probe succeeded; outputs stay a scanned local directory. Absent or false: the copy protocol. */
|
|
1113
1113
|
mount?: boolean;
|
|
@@ -1956,7 +1956,7 @@ export interface SessionFilesFlushParams {
|
|
|
1956
1956
|
}
|
|
1957
1957
|
/** Params object of session_files.sync. */
|
|
1958
1958
|
export interface SessionFilesSyncParams {
|
|
1959
|
-
/** The public session id; the directory <root>/<agent_session_id
|
|
1959
|
+
/** The public session id; the directory <root>/<agent_session_id>. */
|
|
1960
1960
|
agent_session_id: string;
|
|
1961
1961
|
/** The anchor process the manifest and content downloads name (one per session and 10-minute window, as skill.install). */
|
|
1962
1962
|
download_token: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
|
-
// Code generated by tools/contract/gen-ts.mjs from contracts/bma (executor protocol 2.
|
|
2
|
+
// Code generated by tools/contract/gen-ts.mjs from contracts/bma (executor protocol 2.9.0). DO NOT EDIT.
|
|
3
3
|
export const AgentErrorCode = {
|
|
4
4
|
OutputLimitReached: 'output_limit_reached',
|
|
5
5
|
ContextTooLarge: 'context_too_large',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@beeos-ai/bma-executor-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.28.0",
|
|
4
4
|
"description": "BMA executor protocol (bma.executor.v1.1): executor, harness and agent ends with WebSocket, local socket and in-process transports.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|