@brainpilot/protocol 0.0.11 → 0.0.13
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/dist/http.d.ts +36 -23
- package/dist/http.d.ts.map +1 -1
- package/dist/http.js +28 -4
- package/dist/http.js.map +1 -1
- package/package.json +1 -1
package/dist/http.d.ts
CHANGED
|
@@ -78,13 +78,13 @@ export declare const CreateSessionRequestSchema: z.ZodObject<{
|
|
|
78
78
|
/** Optional model id within that provider. */
|
|
79
79
|
modelId: z.ZodOptional<z.ZodString>;
|
|
80
80
|
}, "strip", z.ZodTypeAny, {
|
|
81
|
-
id?: string | undefined;
|
|
82
81
|
title?: string | undefined;
|
|
82
|
+
id?: string | undefined;
|
|
83
83
|
providerId?: string | undefined;
|
|
84
84
|
modelId?: string | undefined;
|
|
85
85
|
}, {
|
|
86
|
-
id?: string | undefined;
|
|
87
86
|
title?: string | undefined;
|
|
87
|
+
id?: string | undefined;
|
|
88
88
|
providerId?: string | undefined;
|
|
89
89
|
modelId?: string | undefined;
|
|
90
90
|
}>;
|
|
@@ -97,29 +97,29 @@ export declare const CreateSessionResponseSchema: z.ZodObject<{
|
|
|
97
97
|
createdAt: z.ZodString;
|
|
98
98
|
updatedAt: z.ZodString;
|
|
99
99
|
}, "strip", z.ZodTypeAny, {
|
|
100
|
-
id: string;
|
|
101
100
|
title: string;
|
|
101
|
+
id: string;
|
|
102
102
|
createdAt: string;
|
|
103
103
|
updatedAt: string;
|
|
104
104
|
}, {
|
|
105
|
-
id: string;
|
|
106
105
|
title: string;
|
|
106
|
+
id: string;
|
|
107
107
|
createdAt: string;
|
|
108
108
|
updatedAt: string;
|
|
109
109
|
}>>;
|
|
110
110
|
}, "strip", z.ZodTypeAny, {
|
|
111
111
|
id: string;
|
|
112
112
|
session?: {
|
|
113
|
-
id: string;
|
|
114
113
|
title: string;
|
|
114
|
+
id: string;
|
|
115
115
|
createdAt: string;
|
|
116
116
|
updatedAt: string;
|
|
117
117
|
} | undefined;
|
|
118
118
|
}, {
|
|
119
119
|
id: string;
|
|
120
120
|
session?: {
|
|
121
|
-
id: string;
|
|
122
121
|
title: string;
|
|
122
|
+
id: string;
|
|
123
123
|
createdAt: string;
|
|
124
124
|
updatedAt: string;
|
|
125
125
|
} | undefined;
|
|
@@ -132,27 +132,27 @@ export declare const ListSessionsResponseSchema: z.ZodObject<{
|
|
|
132
132
|
createdAt: z.ZodString;
|
|
133
133
|
updatedAt: z.ZodString;
|
|
134
134
|
}, "strip", z.ZodTypeAny, {
|
|
135
|
-
id: string;
|
|
136
135
|
title: string;
|
|
136
|
+
id: string;
|
|
137
137
|
createdAt: string;
|
|
138
138
|
updatedAt: string;
|
|
139
139
|
}, {
|
|
140
|
-
id: string;
|
|
141
140
|
title: string;
|
|
141
|
+
id: string;
|
|
142
142
|
createdAt: string;
|
|
143
143
|
updatedAt: string;
|
|
144
144
|
}>, "many">;
|
|
145
145
|
}, "strip", z.ZodTypeAny, {
|
|
146
146
|
sessions: {
|
|
147
|
-
id: string;
|
|
148
147
|
title: string;
|
|
148
|
+
id: string;
|
|
149
149
|
createdAt: string;
|
|
150
150
|
updatedAt: string;
|
|
151
151
|
}[];
|
|
152
152
|
}, {
|
|
153
153
|
sessions: {
|
|
154
|
-
id: string;
|
|
155
154
|
title: string;
|
|
155
|
+
id: string;
|
|
156
156
|
createdAt: string;
|
|
157
157
|
updatedAt: string;
|
|
158
158
|
}[];
|
|
@@ -164,13 +164,13 @@ export declare const GetSessionResponseSchema: z.ZodObject<{
|
|
|
164
164
|
createdAt: z.ZodString;
|
|
165
165
|
updatedAt: z.ZodString;
|
|
166
166
|
}, "strip", z.ZodTypeAny, {
|
|
167
|
-
id: string;
|
|
168
167
|
title: string;
|
|
168
|
+
id: string;
|
|
169
169
|
createdAt: string;
|
|
170
170
|
updatedAt: string;
|
|
171
171
|
}, {
|
|
172
|
-
id: string;
|
|
173
172
|
title: string;
|
|
173
|
+
id: string;
|
|
174
174
|
createdAt: string;
|
|
175
175
|
updatedAt: string;
|
|
176
176
|
}>;
|
|
@@ -363,25 +363,25 @@ export declare const SendMessageContentSchema: z.ZodObject<{
|
|
|
363
363
|
uuid: z.ZodOptional<z.ZodString>;
|
|
364
364
|
timestamp: z.ZodOptional<z.ZodString>;
|
|
365
365
|
}, "strip", z.ZodTypeAny, {
|
|
366
|
-
timestamp?: string | undefined;
|
|
367
366
|
uuid?: string | undefined;
|
|
368
|
-
}, {
|
|
369
367
|
timestamp?: string | undefined;
|
|
368
|
+
}, {
|
|
370
369
|
uuid?: string | undefined;
|
|
370
|
+
timestamp?: string | undefined;
|
|
371
371
|
}>>;
|
|
372
372
|
}, "strip", z.ZodTypeAny, {
|
|
373
373
|
content: string;
|
|
374
374
|
agent?: string | undefined;
|
|
375
375
|
data?: {
|
|
376
|
-
timestamp?: string | undefined;
|
|
377
376
|
uuid?: string | undefined;
|
|
377
|
+
timestamp?: string | undefined;
|
|
378
378
|
} | undefined;
|
|
379
379
|
}, {
|
|
380
380
|
content: string;
|
|
381
381
|
agent?: string | undefined;
|
|
382
382
|
data?: {
|
|
383
|
-
timestamp?: string | undefined;
|
|
384
383
|
uuid?: string | undefined;
|
|
384
|
+
timestamp?: string | undefined;
|
|
385
385
|
} | undefined;
|
|
386
386
|
}>;
|
|
387
387
|
/** A reply to an outstanding ask_user (user_input_request) — see events.ts. */
|
|
@@ -436,25 +436,25 @@ export declare const SendMessageRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
436
436
|
uuid: z.ZodOptional<z.ZodString>;
|
|
437
437
|
timestamp: z.ZodOptional<z.ZodString>;
|
|
438
438
|
}, "strip", z.ZodTypeAny, {
|
|
439
|
-
timestamp?: string | undefined;
|
|
440
439
|
uuid?: string | undefined;
|
|
441
|
-
}, {
|
|
442
440
|
timestamp?: string | undefined;
|
|
441
|
+
}, {
|
|
443
442
|
uuid?: string | undefined;
|
|
443
|
+
timestamp?: string | undefined;
|
|
444
444
|
}>>;
|
|
445
445
|
}, "strip", z.ZodTypeAny, {
|
|
446
446
|
content: string;
|
|
447
447
|
agent?: string | undefined;
|
|
448
448
|
data?: {
|
|
449
|
-
timestamp?: string | undefined;
|
|
450
449
|
uuid?: string | undefined;
|
|
450
|
+
timestamp?: string | undefined;
|
|
451
451
|
} | undefined;
|
|
452
452
|
}, {
|
|
453
453
|
content: string;
|
|
454
454
|
agent?: string | undefined;
|
|
455
455
|
data?: {
|
|
456
|
-
timestamp?: string | undefined;
|
|
457
456
|
uuid?: string | undefined;
|
|
457
|
+
timestamp?: string | undefined;
|
|
458
458
|
} | undefined;
|
|
459
459
|
}>]>;
|
|
460
460
|
export type SendMessageRequest = z.infer<typeof SendMessageRequestSchema>;
|
|
@@ -1332,7 +1332,7 @@ export declare const InterruptResponseSchema: z.ZodObject<{
|
|
|
1332
1332
|
interrupted: boolean;
|
|
1333
1333
|
}>;
|
|
1334
1334
|
export type InterruptResponse = z.infer<typeof InterruptResponseSchema>;
|
|
1335
|
-
/** #47: upload body. Content is base64 (binary-safe over the JSON byte chain). */
|
|
1335
|
+
/** #47: base64 JSON upload body. Content is base64 (binary-safe over the JSON byte chain). */
|
|
1336
1336
|
export declare const WriteFileRequestSchema: z.ZodObject<{
|
|
1337
1337
|
/** Workspace-relative path (a leading `/workspace` prefix is tolerated). */
|
|
1338
1338
|
path: z.ZodString;
|
|
@@ -1483,7 +1483,16 @@ export declare const RUNTIME_ROUTES: {
|
|
|
1483
1483
|
readonly method: "POST";
|
|
1484
1484
|
readonly path: "/sessions/:id/evict";
|
|
1485
1485
|
};
|
|
1486
|
-
/**
|
|
1486
|
+
/**
|
|
1487
|
+
* Workspace files. `?path=` addresses one of several roots by prefix:
|
|
1488
|
+
* - `/workspace[/...]` (or a bare relative path) → per-session workspace
|
|
1489
|
+
* `workspaces/:id/` (the agent's cwd);
|
|
1490
|
+
* - `/data[/...]` → the shared per-user persistent root `data/<userId>/`,
|
|
1491
|
+
* reusable across sessions (#257);
|
|
1492
|
+
* - `/shared[/...]` → the cross-user READ-ONLY shared root (#261), when the
|
|
1493
|
+
* deployment configures one (`BP_SHARED_DIR`); writes/deletes are rejected.
|
|
1494
|
+
* Each root is traversal-guarded independently.
|
|
1495
|
+
*/
|
|
1487
1496
|
readonly listFiles: {
|
|
1488
1497
|
readonly method: "GET";
|
|
1489
1498
|
readonly path: "/sessions/:id/files";
|
|
@@ -1500,7 +1509,11 @@ export declare const RUNTIME_ROUTES: {
|
|
|
1500
1509
|
readonly method: "DELETE";
|
|
1501
1510
|
readonly path: "/sessions/:id/files";
|
|
1502
1511
|
};
|
|
1503
|
-
/**
|
|
1512
|
+
/**
|
|
1513
|
+
* #47/#256: upload a file into the workspace. Two shapes negotiated by
|
|
1514
|
+
* Content-Type: `application/json` body `{ path, contentBase64 }`, or
|
|
1515
|
+
* `application/octet-stream` raw bytes with `?path=` (streamed to disk).
|
|
1516
|
+
*/
|
|
1504
1517
|
readonly writeFile: {
|
|
1505
1518
|
readonly method: "POST";
|
|
1506
1519
|
readonly path: "/sessions/:id/files";
|
package/dist/http.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../src/http.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,MAAM,MAAM,UAAU,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,QAAQ,CAAC;AAE3D,MAAM,WAAW,QAAQ;IACvB,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC;IAC5B,gDAAgD;IAChD,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAMD,eAAO,MAAM,oBAAoB;;;;;;EAE/B,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAMlE,eAAO,MAAM,qBAAqB;;;IAGhC,0EAA0E;;IAE1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AO,MAAM,uBAAuB;;;;;;;;;EAGlC,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAMxE,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEnC,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAM1E,eAAO,MAAM,0BAA0B;;IAErC,2CAA2C;;;;;;;;EAE3C,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAM9E,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;IAMzB,+EAA+E;;;;;;;;;;;;;IAI/E,oDAAoD;;;;;;;;;IAGpD,4CAA4C;;;;;IAE5C,8EAA8E;;;;;IAE9E;;;;;;OAMG;;;;;;;;;;;;;;;;;IAKH;;;;;;;;;OASG;;;;;;;;;;;;;;;;;IAKH;;;;OAIG;;;;;CAEwC,CAAC;AAE9C,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,cAAc,CAAC"}
|
package/dist/http.js
CHANGED
|
@@ -143,8 +143,19 @@ export const InterruptResponseSchema = z.object({
|
|
|
143
143
|
});
|
|
144
144
|
/* ------------------------------------------------------------------ *
|
|
145
145
|
* POST /sessions/:id/files (#47 — upload a file into the workspace)
|
|
146
|
-
* ------------------------------------------------------------------
|
|
147
|
-
|
|
146
|
+
* ------------------------------------------------------------------ *
|
|
147
|
+
* Two accepted request shapes, negotiated by `Content-Type` (#256):
|
|
148
|
+
* 1. base64 JSON — `application/json` body `{ path, contentBase64 }`
|
|
149
|
+
* (this schema). Whole payload is buffered in memory; +33% wire
|
|
150
|
+
* inflation. Kept for backward compatibility / small files.
|
|
151
|
+
* 2. raw stream — `application/octet-stream` body is the file bytes
|
|
152
|
+
* verbatim, with the workspace-relative path in the `?path=` query
|
|
153
|
+
* (e.g. `POST /sessions/:id/files?path=docs/foo.pdf`). Streamed to
|
|
154
|
+
* disk, symmetric with the `readRawFile` download. Preferred for
|
|
155
|
+
* large uploads.
|
|
156
|
+
* Both return `WriteFileResponseSchema` and enforce the same traversal
|
|
157
|
+
* guard + size cap (`BP_UPLOAD_MAX_BYTES`, default 20 MiB). */
|
|
158
|
+
/** #47: base64 JSON upload body. Content is base64 (binary-safe over the JSON byte chain). */
|
|
148
159
|
export const WriteFileRequestSchema = z.object({
|
|
149
160
|
/** Workspace-relative path (a leading `/workspace` prefix is tolerated). */
|
|
150
161
|
path: z.string().trim().min(1),
|
|
@@ -200,12 +211,25 @@ export const RUNTIME_ROUTES = {
|
|
|
200
211
|
interrupt: { method: "POST", path: "/sessions/:id/interrupt" },
|
|
201
212
|
listAgents: { method: "GET", path: "/sessions/:id/agents" },
|
|
202
213
|
evictSession: { method: "POST", path: "/sessions/:id/evict" },
|
|
203
|
-
/**
|
|
214
|
+
/**
|
|
215
|
+
* Workspace files. `?path=` addresses one of several roots by prefix:
|
|
216
|
+
* - `/workspace[/...]` (or a bare relative path) → per-session workspace
|
|
217
|
+
* `workspaces/:id/` (the agent's cwd);
|
|
218
|
+
* - `/data[/...]` → the shared per-user persistent root `data/<userId>/`,
|
|
219
|
+
* reusable across sessions (#257);
|
|
220
|
+
* - `/shared[/...]` → the cross-user READ-ONLY shared root (#261), when the
|
|
221
|
+
* deployment configures one (`BP_SHARED_DIR`); writes/deletes are rejected.
|
|
222
|
+
* Each root is traversal-guarded independently.
|
|
223
|
+
*/
|
|
204
224
|
listFiles: { method: "GET", path: "/sessions/:id/files" },
|
|
205
225
|
readFile: { method: "GET", path: "/sessions/:id/files/content" },
|
|
206
226
|
readRawFile: { method: "GET", path: "/sessions/:id/files/raw" },
|
|
207
227
|
deleteFile: { method: "DELETE", path: "/sessions/:id/files" },
|
|
208
|
-
/**
|
|
228
|
+
/**
|
|
229
|
+
* #47/#256: upload a file into the workspace. Two shapes negotiated by
|
|
230
|
+
* Content-Type: `application/json` body `{ path, contentBase64 }`, or
|
|
231
|
+
* `application/octet-stream` raw bytes with `?path=` (streamed to disk).
|
|
232
|
+
*/
|
|
209
233
|
writeFile: { method: "POST", path: "/sessions/:id/files" },
|
|
210
234
|
};
|
|
211
235
|
//# sourceMappingURL=http.js.map
|
package/dist/http.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http.js","sourceRoot":"","sources":["../src/http.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAU3F;;wEAEwE;AAExE,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3C,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC3D,CAAC,CAAC;AAGH;;wEAEwE;AAExE,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;IAC1B,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,0EAA0E;IAC1E,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,kCAAkC;IAClC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB;;;OAGG;IACH,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,6DAA6D;IAC7D,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CA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