@hachej/boring-agent 0.1.90 → 0.1.92
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/{chunk-4PKGVPJA.js → chunk-2GBHYJVC.js} +27 -5
- package/dist/{chunk-BEFJNMKQ.js → chunk-CJ2BW2W2.js} +23 -8
- package/dist/{chunk-F7ZS27HE.js → chunk-IWBC6SF7.js} +93 -19
- package/dist/chunk-NITBKFG6.js +1246 -0
- package/dist/{chunk-JEDRQAR5.js → chunk-OFQ7J6SI.js} +8 -2
- package/dist/{chunk-5CYVBVP3.js → chunk-V3ZD3T3G.js} +4785 -2153
- package/dist/core/index.d.ts +5 -5
- package/dist/core/index.js +2 -2
- package/dist/{createHarness-UCCGMVQJ.js → createHarness-PMYRKDE4.js} +2 -2
- package/dist/errors-C38f6pol.d.ts +200 -0
- package/dist/front/index.d.ts +20 -4
- package/dist/front/index.js +172 -44
- package/dist/{harness-Rbkdpvse.d.ts → harness-Cc48o6uS.d.ts} +2 -2
- package/dist/{workspaceAgentDispatcher-50Uzuxhs.d.ts → lease-BqeCLGPL.d.ts} +266 -57
- package/dist/{protocol-CDA4bcP9.d.ts → middleware-CzW8n7B7.d.ts} +20 -2
- package/dist/piChatEvent-BsMp3MSo.d.ts +368 -0
- package/dist/{piChatSessionService-DDKPOj4x.d.ts → piChatSessionService-BrPqKrpY.d.ts} +5 -1
- package/dist/{sandbox-OEG_l9GE.d.ts → sandbox-DAD8cWQR.d.ts} +14 -1
- package/dist/server/agent-host/testing/gatewayConformance.d.ts +41 -0
- package/dist/server/agent-host/testing/gatewayConformance.js +465 -0
- package/dist/server/index.d.ts +451 -528
- package/dist/server/index.js +43 -9
- package/dist/server/worker/index.d.ts +2 -2
- package/dist/server/worker/index.js +7 -7
- package/dist/shared/index.d.ts +115 -41
- package/dist/shared/index.js +65 -282
- package/dist/types-uQozUhGt.d.ts +759 -0
- package/docs/ACCESSIBILITY.md +4 -5
- package/docs/API.md +3 -0
- package/docs/AUTHORING.md +68 -0
- package/docs/ERROR_CODES.md +27 -6
- package/docs/README.md +1 -0
- package/docs/runtime.md +3 -3
- package/package.json +22 -13
- package/dist/chunk-CFQQXJKK.js +0 -385
- package/dist/chunk-DGRKMMXO.js +0 -8
- package/dist/piChatEvent-CHgln6yx.d.ts +0 -367
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ErrorCode
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2GBHYJVC.js";
|
|
4
4
|
|
|
5
5
|
// src/shared/tool-ui.ts
|
|
6
6
|
function isRecord(value) {
|
|
@@ -29,6 +29,10 @@ function extractToolUiMetadata(output) {
|
|
|
29
29
|
return sanitizeToolUiMetadata(details.ui);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
+
// src/shared/agentPluginEvents.ts
|
|
33
|
+
var WORKSPACE_AGENT_PLUGINS_RELOADED_EVENT = "boring-ui:agent-plugins-reloaded";
|
|
34
|
+
var WORKSPACE_COMMAND_NOTIFY_EVENT = "boring-ui:command-notify";
|
|
35
|
+
|
|
32
36
|
// src/shared/chat/piChatSchemas.ts
|
|
33
37
|
import { z } from "zod";
|
|
34
38
|
var nonEmptyString = z.string().min(1);
|
|
@@ -183,7 +187,7 @@ var PiChatEventSchema = z.discriminatedUnion("type", [
|
|
|
183
187
|
clientSeq: z.number().int().nonnegative().optional(),
|
|
184
188
|
messageId: nonEmptyString
|
|
185
189
|
}),
|
|
186
|
-
baseEvent.extend({ type: z.literal("file-changed"), path: nonEmptyString, changeType: nonEmptyString }),
|
|
190
|
+
baseEvent.extend({ type: z.literal("file-changed"), path: nonEmptyString, changeType: nonEmptyString, filesystem: nonEmptyString.optional() }),
|
|
187
191
|
baseEvent.extend({ type: z.literal("ui-command"), command: ShallowPayloadSchema, displayOnly: z.literal(true) }),
|
|
188
192
|
baseEvent.extend({ type: z.literal("usage"), usage: ShallowPayloadSchema }),
|
|
189
193
|
baseEvent.extend({
|
|
@@ -263,6 +267,8 @@ export {
|
|
|
263
267
|
isToolUiMetadata,
|
|
264
268
|
sanitizeToolUiMetadata,
|
|
265
269
|
extractToolUiMetadata,
|
|
270
|
+
WORKSPACE_AGENT_PLUGINS_RELOADED_EVENT,
|
|
271
|
+
WORKSPACE_COMMAND_NOTIFY_EVENT,
|
|
266
272
|
ToolUiMetadataSchema,
|
|
267
273
|
sanitizeToolUiMetadata2,
|
|
268
274
|
ChatErrorSchema,
|