@hachej/boring-agent 0.1.95 → 0.1.97
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/DebugDrawer-2TO5SE2D.js +7 -0
- package/dist/{chunk-NITBKFG6.js → chunk-3OEDBRKY.js} +93 -58
- package/dist/{chunk-BOIV2I3N.js → chunk-46HJK2ES.js} +31 -16
- package/dist/{chunk-AQBXNPMD.js → chunk-4IQ4HHBG.js} +4 -0
- package/dist/{chunk-2EMAKBVR.js → chunk-CXMM24NW.js} +9039 -7788
- package/dist/{chunk-OFQ7J6SI.js → chunk-LSO2AO6Q.js} +57 -1
- package/dist/{chunk-2GBHYJVC.js → chunk-VXF5DWS6.js} +34 -0
- package/dist/{chunk-2TMS2RU2.js → chunk-WC5KBGP2.js} +518 -165
- package/dist/chunk-YGRQ4Q5P.js +20 -0
- package/dist/core/index.d.ts +5 -5
- package/dist/core/index.js +604 -7
- package/dist/{createHarness-UCD74XXK.js → createHarness-PW3A2MRB.js} +3 -3
- package/dist/{errors-G6T6S7PQ.d.ts → errors-cNC4HMpV.d.ts} +14 -7
- package/dist/eval/index.d.ts +5 -3
- package/dist/eval/index.js +31 -23
- package/dist/file-search-QxnanNjO.d.ts +87 -0
- package/dist/front/index.d.ts +86 -16
- package/dist/front/index.js +839 -343
- package/dist/front/styles.css +1171 -2129
- package/dist/{harness-Cc48o6uS.d.ts → harness-DS8jLKIx.d.ts} +4 -2
- package/dist/{lease-CusB-uLg.d.ts → lease-D8WC6pQl.d.ts} +10 -89
- package/dist/{middleware-CzW8n7B7.d.ts → middleware-Cq_cYHjJ.d.ts} +1 -1
- package/dist/piChatEvent-B3ehh9V0.d.ts +384 -0
- package/dist/{piChatSessionService-C0KbcGw9.d.ts → piChatSessionService-xnv8rcdh.d.ts} +1 -1
- package/dist/{sandbox-DAD8cWQR.d.ts → sandbox-KQiEdz4W.d.ts} +12 -1
- package/dist/server/agent-host/testing/compositionRouteProof.d.ts +8 -0
- package/dist/server/agent-host/testing/compositionRouteProof.js +78 -0
- package/dist/server/agent-host/testing/gatewayConformance.d.ts +6 -6
- package/dist/server/agent-host/testing/gatewayConformance.js +17 -9
- package/dist/server/index.d.ts +572 -370
- package/dist/server/index.js +69 -17
- package/dist/server/worker/index.d.ts +2 -2
- package/dist/server/worker/index.js +9 -9
- package/dist/shared/index.d.ts +212 -56
- package/dist/shared/index.js +43 -7
- package/dist/{types-C-Eroi__.d.ts → types-D_SD-7_l.d.ts} +304 -87
- package/docs/AGENT_GATEWAY_V0.md +6 -3
- package/docs/AGENT_PACKAGES.md +80 -0
- package/docs/ERROR_CODES.md +58 -0
- package/docs/README.md +1 -0
- package/docs/runtime.md +19 -2
- package/package.json +34 -29
- package/dist/DebugDrawer-RYEBQ6CO.js +0 -6
- package/dist/chunk-EOMY2HDT.js +0 -619
- package/dist/piChatEvent-BsMp3MSo.d.ts +0 -368
package/dist/shared/index.js
CHANGED
|
@@ -1,18 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
AGENT_KNOWLEDGE_FILESYSTEM_ID,
|
|
3
|
+
AGENT_RESOURCES_FILESYSTEM_ID,
|
|
3
4
|
AGENT_TASK_SCHEMA_VERSION,
|
|
4
5
|
ARTIFACT_LOCATOR_KINDS,
|
|
5
6
|
AgentConsumptionValidationError,
|
|
6
7
|
AgentDefinitionValidationError,
|
|
7
8
|
AgentDeploymentValidationError,
|
|
8
|
-
AgentGatewayError,
|
|
9
|
-
AgentGatewayErrorCode,
|
|
10
9
|
AgentMessageSchema,
|
|
11
10
|
AgentRefSchema,
|
|
12
11
|
AgentTaskSchema,
|
|
13
12
|
ArtifactLocatorSchema,
|
|
14
13
|
ArtifactRefSchema,
|
|
14
|
+
CREDENTIAL_AAD_ENCODING_VERSION,
|
|
15
|
+
CREDENTIAL_AUTH_TAG_BYTE_LENGTH_V1,
|
|
16
|
+
CREDENTIAL_DEK_BYTE_LENGTH_V1,
|
|
17
|
+
CREDENTIAL_ENVELOPE_VERSION,
|
|
15
18
|
CREDENTIAL_ERROR_CODES,
|
|
19
|
+
CREDENTIAL_KEK_BYTE_LENGTH_V1,
|
|
20
|
+
CREDENTIAL_NONCE_BYTE_LENGTH_V1,
|
|
16
21
|
ConfigSchema,
|
|
17
22
|
ConsumptionGuardsSchema,
|
|
18
23
|
CredentialResolutionError,
|
|
@@ -25,6 +30,9 @@ import {
|
|
|
25
30
|
PROVIDER_CREDENTIAL_REF_VERSION,
|
|
26
31
|
PartSchema,
|
|
27
32
|
PrincipalRefSchema,
|
|
33
|
+
READONLY_FILESYSTEM_MUTATION_CODE,
|
|
34
|
+
RUNTIME_FILESYSTEM_CAPABILITIES,
|
|
35
|
+
ReadonlyFilesystemMutationError,
|
|
28
36
|
RuntimeModeSchema,
|
|
29
37
|
SANDBOX_CREDENTIAL_MAX_FIELDS_V1,
|
|
30
38
|
SANDBOX_CREDENTIAL_MAX_METADATA_BYTES_V1,
|
|
@@ -36,6 +44,7 @@ import {
|
|
|
36
44
|
ShareEntryValidationError,
|
|
37
45
|
TASK_STATES,
|
|
38
46
|
TaskStateSchema,
|
|
47
|
+
WORKSPACE_KEK_PROVIDER_VERSION,
|
|
39
48
|
WorkspaceFileLocatorSchema,
|
|
40
49
|
agentRefEquals,
|
|
41
50
|
assertNoConsumptionCycle,
|
|
@@ -49,27 +58,34 @@ import {
|
|
|
49
58
|
createProviderCredentialRefFactoryV1,
|
|
50
59
|
createProviderRegistryV1,
|
|
51
60
|
detectConsumptionCycle,
|
|
61
|
+
isReadonlyFilesystemMutationError,
|
|
52
62
|
isValidTaskTransition,
|
|
53
63
|
isWithinConsumptionDepth,
|
|
54
64
|
parseAgentTaskEdgeCompat,
|
|
65
|
+
providerCredentialFieldsV1,
|
|
55
66
|
resolveShareEntry,
|
|
67
|
+
sandboxCredentialPayloadMetadataBytesV1,
|
|
56
68
|
validateAgentDefinition,
|
|
57
69
|
validateAgentDeployment,
|
|
58
70
|
validateAgentTask,
|
|
59
71
|
validateConfig,
|
|
60
72
|
validateConsumptionGuards,
|
|
61
73
|
validateTool
|
|
62
|
-
} from "../chunk-
|
|
74
|
+
} from "../chunk-3OEDBRKY.js";
|
|
63
75
|
import {
|
|
76
|
+
SAFE_NATIVE_SESSION_ID,
|
|
64
77
|
noopTelemetry,
|
|
65
78
|
safeCapture
|
|
66
|
-
} from "../chunk-
|
|
79
|
+
} from "../chunk-4IQ4HHBG.js";
|
|
67
80
|
import {
|
|
68
81
|
AGENT_NOT_IMPLEMENTED_UNTIL_T1,
|
|
69
82
|
AgentNotImplementedError,
|
|
70
83
|
sessionStreamPath
|
|
71
84
|
} from "../chunk-WSQ5QNIY.js";
|
|
72
85
|
import {
|
|
86
|
+
AGENT_GATEWAY_ERROR_CODES,
|
|
87
|
+
AgentGatewayError,
|
|
88
|
+
AgentGatewayErrorCode,
|
|
73
89
|
BoringChatMessageSchema,
|
|
74
90
|
BoringChatPartSchema,
|
|
75
91
|
ChatAttachmentPayloadSchema,
|
|
@@ -98,7 +114,10 @@ import {
|
|
|
98
114
|
extractToolUiMetadata,
|
|
99
115
|
isToolUiMetadata,
|
|
100
116
|
sanitizeToolUiMetadata2 as sanitizeToolUiMetadata
|
|
101
|
-
} from "../chunk-
|
|
117
|
+
} from "../chunk-LSO2AO6Q.js";
|
|
118
|
+
import {
|
|
119
|
+
safeRandomUUID
|
|
120
|
+
} from "../chunk-YGRQ4Q5P.js";
|
|
102
121
|
import {
|
|
103
122
|
AgentConsumptionErrorCode,
|
|
104
123
|
AgentDefinitionErrorCode,
|
|
@@ -108,10 +127,12 @@ import {
|
|
|
108
127
|
ERROR_CODES,
|
|
109
128
|
ErrorCode,
|
|
110
129
|
ErrorLogFieldsSchema
|
|
111
|
-
} from "../chunk-
|
|
130
|
+
} from "../chunk-VXF5DWS6.js";
|
|
112
131
|
export {
|
|
113
132
|
AGENT_GATEWAY_ERROR_CODES,
|
|
133
|
+
AGENT_KNOWLEDGE_FILESYSTEM_ID,
|
|
114
134
|
AGENT_NOT_IMPLEMENTED_UNTIL_T1,
|
|
135
|
+
AGENT_RESOURCES_FILESYSTEM_ID,
|
|
115
136
|
AGENT_TASK_SCHEMA_VERSION,
|
|
116
137
|
ARTIFACT_LOCATOR_KINDS,
|
|
117
138
|
AgentConsumptionErrorCode,
|
|
@@ -132,7 +153,13 @@ export {
|
|
|
132
153
|
ArtifactRefSchema,
|
|
133
154
|
BoringChatMessageSchema,
|
|
134
155
|
BoringChatPartSchema,
|
|
156
|
+
CREDENTIAL_AAD_ENCODING_VERSION,
|
|
157
|
+
CREDENTIAL_AUTH_TAG_BYTE_LENGTH_V1,
|
|
158
|
+
CREDENTIAL_DEK_BYTE_LENGTH_V1,
|
|
159
|
+
CREDENTIAL_ENVELOPE_VERSION,
|
|
135
160
|
CREDENTIAL_ERROR_CODES,
|
|
161
|
+
CREDENTIAL_KEK_BYTE_LENGTH_V1,
|
|
162
|
+
CREDENTIAL_NONCE_BYTE_LENGTH_V1,
|
|
136
163
|
ChatAttachmentPayloadSchema,
|
|
137
164
|
ChatErrorSchema,
|
|
138
165
|
ChatModelSelectionSchema,
|
|
@@ -165,7 +192,11 @@ export {
|
|
|
165
192
|
QueueClearPayloadSchema,
|
|
166
193
|
QueueClearReceiptSchema,
|
|
167
194
|
QueuedUserMessageSchema,
|
|
195
|
+
READONLY_FILESYSTEM_MUTATION_CODE,
|
|
196
|
+
RUNTIME_FILESYSTEM_CAPABILITIES,
|
|
197
|
+
ReadonlyFilesystemMutationError,
|
|
168
198
|
RuntimeModeSchema,
|
|
199
|
+
SAFE_NATIVE_SESSION_ID,
|
|
169
200
|
SANDBOX_CREDENTIAL_MAX_FIELDS_V1,
|
|
170
201
|
SANDBOX_CREDENTIAL_MAX_METADATA_BYTES_V1,
|
|
171
202
|
SANDBOX_CREDENTIAL_MAX_TOTAL_BYTES_V1,
|
|
@@ -182,6 +213,7 @@ export {
|
|
|
182
213
|
ToolUiMetadataSchema,
|
|
183
214
|
WORKSPACE_AGENT_PLUGINS_RELOADED_EVENT,
|
|
184
215
|
WORKSPACE_COMMAND_NOTIFY_EVENT,
|
|
216
|
+
WORKSPACE_KEK_PROVIDER_VERSION,
|
|
185
217
|
WorkspaceFileLocatorSchema,
|
|
186
218
|
agentRefEquals,
|
|
187
219
|
assertNoConsumptionCycle,
|
|
@@ -196,13 +228,17 @@ export {
|
|
|
196
228
|
createProviderRegistryV1,
|
|
197
229
|
detectConsumptionCycle,
|
|
198
230
|
extractToolUiMetadata,
|
|
231
|
+
isReadonlyFilesystemMutationError,
|
|
199
232
|
isToolUiMetadata,
|
|
200
233
|
isValidTaskTransition,
|
|
201
234
|
isWithinConsumptionDepth,
|
|
202
235
|
noopTelemetry,
|
|
203
236
|
parseAgentTaskEdgeCompat,
|
|
237
|
+
providerCredentialFieldsV1,
|
|
204
238
|
resolveShareEntry,
|
|
205
239
|
safeCapture,
|
|
240
|
+
safeRandomUUID,
|
|
241
|
+
sandboxCredentialPayloadMetadataBytesV1,
|
|
206
242
|
sanitizeToolUiMetadata,
|
|
207
243
|
sessionStreamPath,
|
|
208
244
|
validateAgentDefinition,
|