@vm0/cli 9.205.0 → 9.206.1
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/{chunk-GTPY5BQJ.js → chunk-A7UBSZER.js} +1 -1
- package/{chunk-GTPY5BQJ.js.map → chunk-A7UBSZER.js.map} +1 -1
- package/{chunk-URAOWQX7.js → chunk-BX6IGPXR.js} +249 -202
- package/{chunk-URAOWQX7.js.map → chunk-BX6IGPXR.js.map} +1 -1
- package/{firewall-placeholder-expansion-EZ5WNMSE.js → firewall-placeholder-expansion-ZRRX27DR.js} +2 -2
- package/index.js +10 -10
- package/package.json +1 -1
- package/zero.js +72 -52
- package/zero.js.map +1 -1
- /package/{firewall-placeholder-expansion-EZ5WNMSE.js.map → firewall-placeholder-expansion-ZRRX27DR.js.map} +0 -0
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
connectorAuthMethodIdSchema,
|
|
6
6
|
connectorTypeSchema,
|
|
7
7
|
external_exports
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-A7UBSZER.js";
|
|
9
9
|
import {
|
|
10
10
|
DiagLogLevel,
|
|
11
11
|
INVALID_SPAN_CONTEXT,
|
|
@@ -80408,7 +80408,7 @@ if (DSN) {
|
|
|
80408
80408
|
init2({
|
|
80409
80409
|
dsn: DSN,
|
|
80410
80410
|
environment: process.env.SENTRY_ENVIRONMENT ?? "production",
|
|
80411
|
-
release: "9.
|
|
80411
|
+
release: "9.206.1",
|
|
80412
80412
|
sendDefaultPii: false,
|
|
80413
80413
|
tracesSampleRate: 0,
|
|
80414
80414
|
shutdownTimeout: 500,
|
|
@@ -80427,7 +80427,7 @@ if (DSN) {
|
|
|
80427
80427
|
}
|
|
80428
80428
|
});
|
|
80429
80429
|
setContext("cli", {
|
|
80430
|
-
version: "9.
|
|
80430
|
+
version: "9.206.1",
|
|
80431
80431
|
command: process.argv.slice(2).join(" ")
|
|
80432
80432
|
});
|
|
80433
80433
|
setContext("runtime", {
|
|
@@ -91342,8 +91342,172 @@ var runsQueueContract = c16.router({
|
|
|
91342
91342
|
}
|
|
91343
91343
|
});
|
|
91344
91344
|
|
|
91345
|
-
// ../../packages/api-contracts/src/contracts/
|
|
91345
|
+
// ../../packages/api-contracts/src/contracts/zero-goals.ts
|
|
91346
|
+
init_esm_shims();
|
|
91346
91347
|
var c17 = initContract();
|
|
91348
|
+
var zeroGoalStatusSchema = external_exports.enum([
|
|
91349
|
+
"active",
|
|
91350
|
+
"paused",
|
|
91351
|
+
"blocked",
|
|
91352
|
+
"complete"
|
|
91353
|
+
]);
|
|
91354
|
+
var zeroGoalEventSchema = external_exports.union([
|
|
91355
|
+
external_exports.object({
|
|
91356
|
+
type: external_exports.literal("state"),
|
|
91357
|
+
status: external_exports.literal("active"),
|
|
91358
|
+
objectiveBrief: external_exports.string().min(1)
|
|
91359
|
+
}),
|
|
91360
|
+
external_exports.object({
|
|
91361
|
+
type: external_exports.literal("state"),
|
|
91362
|
+
status: external_exports.enum(["paused", "blocked", "complete"])
|
|
91363
|
+
}),
|
|
91364
|
+
external_exports.object({ type: external_exports.literal("cleared") })
|
|
91365
|
+
]);
|
|
91366
|
+
var zeroGoalCreateRequestSchema = external_exports.object({
|
|
91367
|
+
objective: external_exports.string().min(1).max(2e4)
|
|
91368
|
+
});
|
|
91369
|
+
var zeroGoalEditRequestSchema = external_exports.object({
|
|
91370
|
+
objective: external_exports.string().min(1).max(2e4)
|
|
91371
|
+
});
|
|
91372
|
+
var zeroGoalResponseSchema = external_exports.object({
|
|
91373
|
+
objective: external_exports.string(),
|
|
91374
|
+
objectiveBrief: external_exports.string(),
|
|
91375
|
+
status: zeroGoalStatusSchema
|
|
91376
|
+
});
|
|
91377
|
+
var chatThreadGoalParamsSchema = external_exports.object({
|
|
91378
|
+
threadId: external_exports.string().min(1)
|
|
91379
|
+
});
|
|
91380
|
+
var zeroGoalsContract = c17.router({
|
|
91381
|
+
create: {
|
|
91382
|
+
method: "POST",
|
|
91383
|
+
path: "/api/zero/goal",
|
|
91384
|
+
headers: authHeadersSchema,
|
|
91385
|
+
body: zeroGoalCreateRequestSchema,
|
|
91386
|
+
responses: {
|
|
91387
|
+
201: zeroGoalResponseSchema,
|
|
91388
|
+
400: apiErrorSchema,
|
|
91389
|
+
401: apiErrorSchema,
|
|
91390
|
+
403: apiErrorSchema,
|
|
91391
|
+
409: apiErrorSchema
|
|
91392
|
+
},
|
|
91393
|
+
summary: "Create a persistent goal for the current thread"
|
|
91394
|
+
},
|
|
91395
|
+
edit: {
|
|
91396
|
+
method: "PATCH",
|
|
91397
|
+
path: "/api/zero/goal",
|
|
91398
|
+
headers: authHeadersSchema,
|
|
91399
|
+
body: zeroGoalEditRequestSchema,
|
|
91400
|
+
responses: {
|
|
91401
|
+
200: zeroGoalResponseSchema,
|
|
91402
|
+
400: apiErrorSchema,
|
|
91403
|
+
401: apiErrorSchema,
|
|
91404
|
+
403: apiErrorSchema,
|
|
91405
|
+
404: apiErrorSchema,
|
|
91406
|
+
409: apiErrorSchema
|
|
91407
|
+
},
|
|
91408
|
+
summary: "Edit the current thread goal objective"
|
|
91409
|
+
},
|
|
91410
|
+
get: {
|
|
91411
|
+
method: "GET",
|
|
91412
|
+
path: "/api/zero/goal",
|
|
91413
|
+
headers: authHeadersSchema,
|
|
91414
|
+
responses: {
|
|
91415
|
+
200: zeroGoalResponseSchema,
|
|
91416
|
+
401: apiErrorSchema,
|
|
91417
|
+
403: apiErrorSchema,
|
|
91418
|
+
404: apiErrorSchema,
|
|
91419
|
+
409: apiErrorSchema
|
|
91420
|
+
},
|
|
91421
|
+
summary: "Get the current thread goal"
|
|
91422
|
+
},
|
|
91423
|
+
complete: {
|
|
91424
|
+
method: "POST",
|
|
91425
|
+
path: "/api/zero/goal/complete",
|
|
91426
|
+
headers: authHeadersSchema,
|
|
91427
|
+
body: c17.noBody(),
|
|
91428
|
+
responses: {
|
|
91429
|
+
200: zeroGoalResponseSchema,
|
|
91430
|
+
401: apiErrorSchema,
|
|
91431
|
+
403: apiErrorSchema,
|
|
91432
|
+
404: apiErrorSchema,
|
|
91433
|
+
409: apiErrorSchema
|
|
91434
|
+
},
|
|
91435
|
+
summary: "Mark the current thread goal complete"
|
|
91436
|
+
},
|
|
91437
|
+
block: {
|
|
91438
|
+
method: "POST",
|
|
91439
|
+
path: "/api/zero/goal/block",
|
|
91440
|
+
headers: authHeadersSchema,
|
|
91441
|
+
body: c17.noBody(),
|
|
91442
|
+
responses: {
|
|
91443
|
+
200: zeroGoalResponseSchema,
|
|
91444
|
+
401: apiErrorSchema,
|
|
91445
|
+
403: apiErrorSchema,
|
|
91446
|
+
404: apiErrorSchema,
|
|
91447
|
+
409: apiErrorSchema
|
|
91448
|
+
},
|
|
91449
|
+
summary: "Mark the current thread goal blocked"
|
|
91450
|
+
},
|
|
91451
|
+
pause: {
|
|
91452
|
+
method: "POST",
|
|
91453
|
+
path: "/api/zero/goal/pause",
|
|
91454
|
+
headers: authHeadersSchema,
|
|
91455
|
+
body: c17.noBody(),
|
|
91456
|
+
responses: {
|
|
91457
|
+
200: zeroGoalResponseSchema,
|
|
91458
|
+
401: apiErrorSchema,
|
|
91459
|
+
403: apiErrorSchema,
|
|
91460
|
+
404: apiErrorSchema,
|
|
91461
|
+
409: apiErrorSchema
|
|
91462
|
+
},
|
|
91463
|
+
summary: "Pause the current thread goal"
|
|
91464
|
+
},
|
|
91465
|
+
pauseForChatThread: {
|
|
91466
|
+
method: "POST",
|
|
91467
|
+
path: "/api/zero/chat-threads/:threadId/goal/pause",
|
|
91468
|
+
headers: authHeadersSchema,
|
|
91469
|
+
pathParams: chatThreadGoalParamsSchema,
|
|
91470
|
+
body: c17.noBody(),
|
|
91471
|
+
responses: {
|
|
91472
|
+
200: zeroGoalResponseSchema,
|
|
91473
|
+
401: apiErrorSchema,
|
|
91474
|
+
403: apiErrorSchema,
|
|
91475
|
+
404: apiErrorSchema,
|
|
91476
|
+
409: apiErrorSchema
|
|
91477
|
+
},
|
|
91478
|
+
summary: "Pause a chat thread goal"
|
|
91479
|
+
},
|
|
91480
|
+
resume: {
|
|
91481
|
+
method: "POST",
|
|
91482
|
+
path: "/api/zero/goal/resume",
|
|
91483
|
+
headers: authHeadersSchema,
|
|
91484
|
+
body: c17.noBody(),
|
|
91485
|
+
responses: {
|
|
91486
|
+
200: zeroGoalResponseSchema,
|
|
91487
|
+
401: apiErrorSchema,
|
|
91488
|
+
403: apiErrorSchema,
|
|
91489
|
+
404: apiErrorSchema,
|
|
91490
|
+
409: apiErrorSchema
|
|
91491
|
+
},
|
|
91492
|
+
summary: "Resume continuation for the current thread goal"
|
|
91493
|
+
},
|
|
91494
|
+
clear: {
|
|
91495
|
+
method: "DELETE",
|
|
91496
|
+
path: "/api/zero/goal",
|
|
91497
|
+
headers: authHeadersSchema,
|
|
91498
|
+
body: c17.noBody(),
|
|
91499
|
+
responses: {
|
|
91500
|
+
200: external_exports.object({ cleared: external_exports.literal(true) }),
|
|
91501
|
+
401: apiErrorSchema,
|
|
91502
|
+
403: apiErrorSchema,
|
|
91503
|
+
404: apiErrorSchema
|
|
91504
|
+
},
|
|
91505
|
+
summary: "Clear the current thread goal"
|
|
91506
|
+
}
|
|
91507
|
+
});
|
|
91508
|
+
|
|
91509
|
+
// ../../packages/api-contracts/src/contracts/chat-threads.ts
|
|
91510
|
+
var c18 = initContract();
|
|
91347
91511
|
var MODEL_FIRST_SELECTION_PROVIDER_ID = "00000000-0000-4000-8000-000000000000";
|
|
91348
91512
|
var attachFileSchema = external_exports.object({
|
|
91349
91513
|
id: external_exports.string(),
|
|
@@ -91499,7 +91663,9 @@ var pagedChatMessageBaseSchema = external_exports.object({
|
|
|
91499
91663
|
id: external_exports.string(),
|
|
91500
91664
|
content: external_exports.string().nullable(),
|
|
91501
91665
|
runId: external_exports.string().optional(),
|
|
91666
|
+
runGroupId: external_exports.string().optional(),
|
|
91502
91667
|
runEventId: external_exports.string().optional(),
|
|
91668
|
+
goalEvent: zeroGoalEventSchema.optional(),
|
|
91503
91669
|
usage: chatMessageUsagePayloadSchema.optional(),
|
|
91504
91670
|
revokesMessageId: external_exports.string().optional(),
|
|
91505
91671
|
interruptsRunId: external_exports.string().optional(),
|
|
@@ -91597,7 +91763,7 @@ var modelSelectionRequestSchema = external_exports.object({
|
|
|
91597
91763
|
});
|
|
91598
91764
|
}
|
|
91599
91765
|
});
|
|
91600
|
-
var chatThreadsContract =
|
|
91766
|
+
var chatThreadsContract = c18.router({
|
|
91601
91767
|
create: {
|
|
91602
91768
|
method: "POST",
|
|
91603
91769
|
path: "/api/zero/chat-threads",
|
|
@@ -91700,7 +91866,7 @@ var chatThreadIdPathParamsSchema = external_exports.object({ id: external_export
|
|
|
91700
91866
|
var chatThreadThreadIdPathParamsSchema = external_exports.object({
|
|
91701
91867
|
threadId: external_exports.string().uuid()
|
|
91702
91868
|
});
|
|
91703
|
-
var chatThreadByIdContract =
|
|
91869
|
+
var chatThreadByIdContract = c18.router({
|
|
91704
91870
|
get: {
|
|
91705
91871
|
method: "GET",
|
|
91706
91872
|
path: "/api/zero/chat-threads/:id",
|
|
@@ -91724,7 +91890,7 @@ var chatThreadByIdContract = c17.router({
|
|
|
91724
91890
|
draftAttachments: external_exports.array(persistedAttachmentSchema).nullable().optional()
|
|
91725
91891
|
}),
|
|
91726
91892
|
responses: {
|
|
91727
|
-
204:
|
|
91893
|
+
204: c18.noBody(),
|
|
91728
91894
|
400: apiErrorSchema,
|
|
91729
91895
|
401: apiErrorSchema,
|
|
91730
91896
|
404: apiErrorSchema
|
|
@@ -91737,22 +91903,22 @@ var chatThreadByIdContract = c17.router({
|
|
|
91737
91903
|
headers: authHeadersSchema,
|
|
91738
91904
|
pathParams: chatThreadIdPathParamsSchema,
|
|
91739
91905
|
responses: {
|
|
91740
|
-
204:
|
|
91906
|
+
204: c18.noBody(),
|
|
91741
91907
|
400: apiErrorSchema,
|
|
91742
91908
|
401: apiErrorSchema,
|
|
91743
91909
|
404: apiErrorSchema
|
|
91744
91910
|
},
|
|
91745
91911
|
summary: "Delete a chat thread",
|
|
91746
|
-
body:
|
|
91912
|
+
body: c18.noBody()
|
|
91747
91913
|
}
|
|
91748
91914
|
});
|
|
91749
|
-
var chatThreadMarkReadContract =
|
|
91915
|
+
var chatThreadMarkReadContract = c18.router({
|
|
91750
91916
|
markRead: {
|
|
91751
91917
|
method: "POST",
|
|
91752
91918
|
path: "/api/zero/chat-threads/:id/mark-read",
|
|
91753
91919
|
headers: authHeadersSchema,
|
|
91754
91920
|
pathParams: chatThreadIdPathParamsSchema,
|
|
91755
|
-
body:
|
|
91921
|
+
body: c18.noBody(),
|
|
91756
91922
|
responses: {
|
|
91757
91923
|
200: external_exports.object({
|
|
91758
91924
|
lastReadMessageId: external_exports.string().nullable(),
|
|
@@ -91770,15 +91936,15 @@ var chatThreadMarkReadContract = c17.router({
|
|
|
91770
91936
|
summary: "Mark a chat thread as read up to the latest message and return the agent's unread snapshot"
|
|
91771
91937
|
}
|
|
91772
91938
|
});
|
|
91773
|
-
var chatThreadPinContract =
|
|
91939
|
+
var chatThreadPinContract = c18.router({
|
|
91774
91940
|
pin: {
|
|
91775
91941
|
method: "POST",
|
|
91776
91942
|
path: "/api/zero/chat-threads/:id/pin",
|
|
91777
91943
|
headers: authHeadersSchema,
|
|
91778
91944
|
pathParams: chatThreadIdPathParamsSchema,
|
|
91779
|
-
body:
|
|
91945
|
+
body: c18.noBody(),
|
|
91780
91946
|
responses: {
|
|
91781
|
-
204:
|
|
91947
|
+
204: c18.noBody(),
|
|
91782
91948
|
400: apiErrorSchema,
|
|
91783
91949
|
401: apiErrorSchema,
|
|
91784
91950
|
404: apiErrorSchema
|
|
@@ -91786,15 +91952,15 @@ var chatThreadPinContract = c17.router({
|
|
|
91786
91952
|
summary: "Pin a chat thread to the top of the sidebar"
|
|
91787
91953
|
}
|
|
91788
91954
|
});
|
|
91789
|
-
var chatThreadUnpinContract =
|
|
91955
|
+
var chatThreadUnpinContract = c18.router({
|
|
91790
91956
|
unpin: {
|
|
91791
91957
|
method: "POST",
|
|
91792
91958
|
path: "/api/zero/chat-threads/:id/unpin",
|
|
91793
91959
|
headers: authHeadersSchema,
|
|
91794
91960
|
pathParams: chatThreadIdPathParamsSchema,
|
|
91795
|
-
body:
|
|
91961
|
+
body: c18.noBody(),
|
|
91796
91962
|
responses: {
|
|
91797
|
-
204:
|
|
91963
|
+
204: c18.noBody(),
|
|
91798
91964
|
400: apiErrorSchema,
|
|
91799
91965
|
401: apiErrorSchema,
|
|
91800
91966
|
404: apiErrorSchema
|
|
@@ -91802,7 +91968,7 @@ var chatThreadUnpinContract = c17.router({
|
|
|
91802
91968
|
summary: "Remove the pin from a chat thread"
|
|
91803
91969
|
}
|
|
91804
91970
|
});
|
|
91805
|
-
var chatThreadRenameContract =
|
|
91971
|
+
var chatThreadRenameContract = c18.router({
|
|
91806
91972
|
rename: {
|
|
91807
91973
|
method: "POST",
|
|
91808
91974
|
path: "/api/zero/chat-threads/:id/rename",
|
|
@@ -91810,7 +91976,7 @@ var chatThreadRenameContract = c17.router({
|
|
|
91810
91976
|
pathParams: chatThreadIdPathParamsSchema,
|
|
91811
91977
|
body: external_exports.object({ title: external_exports.string().min(1) }),
|
|
91812
91978
|
responses: {
|
|
91813
|
-
204:
|
|
91979
|
+
204: c18.noBody(),
|
|
91814
91980
|
400: apiErrorSchema,
|
|
91815
91981
|
401: apiErrorSchema,
|
|
91816
91982
|
404: apiErrorSchema
|
|
@@ -91818,7 +91984,7 @@ var chatThreadRenameContract = c17.router({
|
|
|
91818
91984
|
summary: "Rename a chat thread (suppresses automated title generation)"
|
|
91819
91985
|
}
|
|
91820
91986
|
});
|
|
91821
|
-
var chatThreadModelSelectionContract =
|
|
91987
|
+
var chatThreadModelSelectionContract = c18.router({
|
|
91822
91988
|
update: {
|
|
91823
91989
|
method: "POST",
|
|
91824
91990
|
path: "/api/zero/chat-threads/:id/model-selection",
|
|
@@ -91828,7 +91994,7 @@ var chatThreadModelSelectionContract = c17.router({
|
|
|
91828
91994
|
modelSelection: modelSelectionRequestSchema.nullable()
|
|
91829
91995
|
}),
|
|
91830
91996
|
responses: {
|
|
91831
|
-
204:
|
|
91997
|
+
204: c18.noBody(),
|
|
91832
91998
|
400: apiErrorSchema,
|
|
91833
91999
|
401: apiErrorSchema,
|
|
91834
92000
|
404: apiErrorSchema
|
|
@@ -91836,7 +92002,7 @@ var chatThreadModelSelectionContract = c17.router({
|
|
|
91836
92002
|
summary: "Update a chat thread model selection"
|
|
91837
92003
|
}
|
|
91838
92004
|
});
|
|
91839
|
-
var chatThreadComputerUseHostContract =
|
|
92005
|
+
var chatThreadComputerUseHostContract = c18.router({
|
|
91840
92006
|
update: {
|
|
91841
92007
|
method: "POST",
|
|
91842
92008
|
path: "/api/zero/chat-threads/:id/computer-use-host",
|
|
@@ -91846,7 +92012,7 @@ var chatThreadComputerUseHostContract = c17.router({
|
|
|
91846
92012
|
computerUseHostId: external_exports.string().uuid().nullable()
|
|
91847
92013
|
}),
|
|
91848
92014
|
responses: {
|
|
91849
|
-
204:
|
|
92015
|
+
204: c18.noBody(),
|
|
91850
92016
|
400: apiErrorSchema,
|
|
91851
92017
|
401: apiErrorSchema,
|
|
91852
92018
|
403: apiErrorSchema,
|
|
@@ -91855,7 +92021,7 @@ var chatThreadComputerUseHostContract = c17.router({
|
|
|
91855
92021
|
summary: "Update a chat thread Computer Use host binding"
|
|
91856
92022
|
}
|
|
91857
92023
|
});
|
|
91858
|
-
var chatMessagesContract =
|
|
92024
|
+
var chatMessagesContract = c18.router({
|
|
91859
92025
|
send: {
|
|
91860
92026
|
method: "POST",
|
|
91861
92027
|
path: "/api/zero/chat/messages",
|
|
@@ -91967,7 +92133,7 @@ var chatSearchResponseSchema = external_exports.object({
|
|
|
91967
92133
|
results: external_exports.array(chatSearchResultSchema),
|
|
91968
92134
|
hasMore: external_exports.boolean()
|
|
91969
92135
|
});
|
|
91970
|
-
var chatSearchContract =
|
|
92136
|
+
var chatSearchContract = c18.router({
|
|
91971
92137
|
search: {
|
|
91972
92138
|
method: "GET",
|
|
91973
92139
|
path: "/api/zero/chat/search",
|
|
@@ -91989,7 +92155,7 @@ var chatSearchContract = c17.router({
|
|
|
91989
92155
|
summary: "Search chat messages within caller's org (zero proxy)"
|
|
91990
92156
|
}
|
|
91991
92157
|
});
|
|
91992
|
-
var chatThreadMessagesContract =
|
|
92158
|
+
var chatThreadMessagesContract = c18.router({
|
|
91993
92159
|
list: {
|
|
91994
92160
|
method: "GET",
|
|
91995
92161
|
path: "/api/zero/chat-threads/:threadId/messages",
|
|
@@ -92012,7 +92178,7 @@ var chatThreadMessagesContract = c17.router({
|
|
|
92012
92178
|
summary: "Get paginated chat messages for a thread"
|
|
92013
92179
|
}
|
|
92014
92180
|
});
|
|
92015
|
-
var chatThreadArtifactsContract =
|
|
92181
|
+
var chatThreadArtifactsContract = c18.router({
|
|
92016
92182
|
list: {
|
|
92017
92183
|
method: "GET",
|
|
92018
92184
|
path: "/api/zero/chat-threads/:threadId/artifacts",
|
|
@@ -92053,7 +92219,7 @@ var chatThreadArtifactsContract = c17.router({
|
|
|
92053
92219
|
summary: "Sync a chat artifact file to the user's connected Google Drive"
|
|
92054
92220
|
}
|
|
92055
92221
|
});
|
|
92056
|
-
var chatThreadGithubPrsContract =
|
|
92222
|
+
var chatThreadGithubPrsContract = c18.router({
|
|
92057
92223
|
list: {
|
|
92058
92224
|
method: "GET",
|
|
92059
92225
|
path: "/api/zero/chat-threads/:threadId/github-prs",
|
|
@@ -92073,7 +92239,7 @@ var chatThreadGithubPrsContract = c17.router({
|
|
|
92073
92239
|
});
|
|
92074
92240
|
|
|
92075
92241
|
// ../../packages/api-contracts/src/contracts/zero-agents.ts
|
|
92076
|
-
var
|
|
92242
|
+
var c19 = initContract();
|
|
92077
92243
|
var zeroAgentVisibilitySchema = external_exports.enum(["public", "private"]);
|
|
92078
92244
|
var zeroAgentResponseSchema = external_exports.object({
|
|
92079
92245
|
agentId: external_exports.string(),
|
|
@@ -92116,7 +92282,7 @@ var zeroAgentDraftRequestSchema = external_exports.object({
|
|
|
92116
92282
|
draftContent: external_exports.string().nullable().optional(),
|
|
92117
92283
|
draftAttachments: external_exports.array(persistedAttachmentSchema).nullable().optional()
|
|
92118
92284
|
});
|
|
92119
|
-
var zeroAgentsMainContract =
|
|
92285
|
+
var zeroAgentsMainContract = c19.router({
|
|
92120
92286
|
create: {
|
|
92121
92287
|
method: "POST",
|
|
92122
92288
|
path: "/api/zero/agents",
|
|
@@ -92144,7 +92310,7 @@ var zeroAgentsMainContract = c18.router({
|
|
|
92144
92310
|
summary: "List zero agents"
|
|
92145
92311
|
}
|
|
92146
92312
|
});
|
|
92147
|
-
var zeroAgentsByIdContract =
|
|
92313
|
+
var zeroAgentsByIdContract = c19.router({
|
|
92148
92314
|
get: {
|
|
92149
92315
|
method: "GET",
|
|
92150
92316
|
path: "/api/zero/agents/:id",
|
|
@@ -92197,9 +92363,9 @@ var zeroAgentsByIdContract = c18.router({
|
|
|
92197
92363
|
path: "/api/zero/agents/:id",
|
|
92198
92364
|
headers: authHeadersSchema,
|
|
92199
92365
|
pathParams: external_exports.object({ id: external_exports.string().uuid() }),
|
|
92200
|
-
body:
|
|
92366
|
+
body: c19.noBody(),
|
|
92201
92367
|
responses: {
|
|
92202
|
-
204:
|
|
92368
|
+
204: c19.noBody(),
|
|
92203
92369
|
400: apiErrorSchema,
|
|
92204
92370
|
401: apiErrorSchema,
|
|
92205
92371
|
403: apiErrorSchema,
|
|
@@ -92209,7 +92375,7 @@ var zeroAgentsByIdContract = c18.router({
|
|
|
92209
92375
|
summary: "Delete zero agent by id"
|
|
92210
92376
|
}
|
|
92211
92377
|
});
|
|
92212
|
-
var zeroAgentInstructionsContract =
|
|
92378
|
+
var zeroAgentInstructionsContract = c19.router({
|
|
92213
92379
|
get: {
|
|
92214
92380
|
method: "GET",
|
|
92215
92381
|
path: "/api/zero/agents/:id/instructions",
|
|
@@ -92241,7 +92407,7 @@ var zeroAgentInstructionsContract = c18.router({
|
|
|
92241
92407
|
summary: "Update zero agent instructions"
|
|
92242
92408
|
}
|
|
92243
92409
|
});
|
|
92244
|
-
var zeroAgentDraftContract =
|
|
92410
|
+
var zeroAgentDraftContract = c19.router({
|
|
92245
92411
|
get: {
|
|
92246
92412
|
method: "GET",
|
|
92247
92413
|
path: "/api/zero/agents/:id/draft",
|
|
@@ -92263,7 +92429,7 @@ var zeroAgentDraftContract = c18.router({
|
|
|
92263
92429
|
pathParams: external_exports.object({ id: external_exports.string().uuid() }),
|
|
92264
92430
|
body: zeroAgentDraftRequestSchema,
|
|
92265
92431
|
responses: {
|
|
92266
|
-
204:
|
|
92432
|
+
204: c19.noBody(),
|
|
92267
92433
|
400: apiErrorSchema,
|
|
92268
92434
|
401: apiErrorSchema,
|
|
92269
92435
|
403: apiErrorSchema,
|
|
@@ -92275,7 +92441,7 @@ var zeroAgentDraftContract = c18.router({
|
|
|
92275
92441
|
|
|
92276
92442
|
// ../../packages/api-contracts/src/contracts/zero-user-permission-grants.ts
|
|
92277
92443
|
init_esm_shims();
|
|
92278
|
-
var
|
|
92444
|
+
var c20 = initContract();
|
|
92279
92445
|
var agentIdSchema = external_exports.string().uuid();
|
|
92280
92446
|
var connectorRefSchema = external_exports.string().min(1).max(64);
|
|
92281
92447
|
var permissionSchema = external_exports.string().min(1).max(128);
|
|
@@ -92318,7 +92484,7 @@ var applyUserPermissionGrantsRequestSchema = external_exports.object({
|
|
|
92318
92484
|
mode: userPermissionGrantApplyModeSchema,
|
|
92319
92485
|
grants: external_exports.array(applyUserPermissionGrantSchema)
|
|
92320
92486
|
});
|
|
92321
|
-
var zeroUserPermissionGrantsContract =
|
|
92487
|
+
var zeroUserPermissionGrantsContract = c20.router({
|
|
92322
92488
|
list: {
|
|
92323
92489
|
method: "GET",
|
|
92324
92490
|
path: "/api/zero/user-permission-grants",
|
|
@@ -92351,11 +92517,11 @@ var zeroUserPermissionGrantsContract = c19.router({
|
|
|
92351
92517
|
|
|
92352
92518
|
// ../../packages/api-contracts/src/contracts/user-connectors.ts
|
|
92353
92519
|
init_esm_shims();
|
|
92354
|
-
var
|
|
92520
|
+
var c21 = initContract();
|
|
92355
92521
|
var userConnectorEnabledTypesSchema = external_exports.object({
|
|
92356
92522
|
enabledTypes: external_exports.array(external_exports.string())
|
|
92357
92523
|
});
|
|
92358
|
-
var zeroUserConnectorsContract =
|
|
92524
|
+
var zeroUserConnectorsContract = c21.router({
|
|
92359
92525
|
get: {
|
|
92360
92526
|
method: "GET",
|
|
92361
92527
|
path: "/api/zero/agents/:id/user-connectors",
|
|
@@ -92388,11 +92554,11 @@ var zeroUserConnectorsContract = c20.router({
|
|
|
92388
92554
|
|
|
92389
92555
|
// ../../packages/api-contracts/src/contracts/zero-agent-custom-connectors.ts
|
|
92390
92556
|
init_esm_shims();
|
|
92391
|
-
var
|
|
92557
|
+
var c22 = initContract();
|
|
92392
92558
|
var agentCustomConnectorEnabledIdsSchema = external_exports.object({
|
|
92393
92559
|
enabledIds: external_exports.array(external_exports.string().uuid())
|
|
92394
92560
|
});
|
|
92395
|
-
var zeroAgentCustomConnectorsContract =
|
|
92561
|
+
var zeroAgentCustomConnectorsContract = c22.router({
|
|
92396
92562
|
get: {
|
|
92397
92563
|
method: "GET",
|
|
92398
92564
|
path: "/api/zero/agents/:id/custom-connectors",
|
|
@@ -92509,135 +92675,6 @@ async function updateZeroAgentInstructions(id, content) {
|
|
|
92509
92675
|
|
|
92510
92676
|
// src/lib/api/domains/zero-goals.ts
|
|
92511
92677
|
init_esm_shims();
|
|
92512
|
-
|
|
92513
|
-
// ../../packages/api-contracts/src/contracts/zero-goals.ts
|
|
92514
|
-
init_esm_shims();
|
|
92515
|
-
var c22 = initContract();
|
|
92516
|
-
var zeroGoalStatusSchema = external_exports.enum(["active", "blocked", "complete"]);
|
|
92517
|
-
var zeroGoalStopReasonSchema = external_exports.enum(["paused", "blocked", "failed"]);
|
|
92518
|
-
var zeroGoalPreferenceSchema = external_exports.object({
|
|
92519
|
-
version: external_exports.literal(1),
|
|
92520
|
-
objective: external_exports.string().min(1),
|
|
92521
|
-
objectiveBrief: external_exports.string().min(1).optional(),
|
|
92522
|
-
tokenBudget: external_exports.number().int().positive().optional(),
|
|
92523
|
-
stopReason: zeroGoalStopReasonSchema.optional()
|
|
92524
|
-
});
|
|
92525
|
-
var zeroGoalCreateRequestSchema = external_exports.object({
|
|
92526
|
-
objective: external_exports.string().min(1).max(2e4),
|
|
92527
|
-
tokenBudget: external_exports.number().int().positive().optional()
|
|
92528
|
-
});
|
|
92529
|
-
var zeroGoalEditRequestSchema = external_exports.object({
|
|
92530
|
-
objective: external_exports.string().min(1).max(2e4).optional(),
|
|
92531
|
-
tokenBudget: external_exports.number().int().positive().optional()
|
|
92532
|
-
});
|
|
92533
|
-
var zeroGoalResponseSchema = external_exports.object({
|
|
92534
|
-
active: external_exports.boolean(),
|
|
92535
|
-
objective: external_exports.string(),
|
|
92536
|
-
status: zeroGoalStatusSchema,
|
|
92537
|
-
tokenBudget: external_exports.number().int().positive().optional(),
|
|
92538
|
-
stopReason: zeroGoalStopReasonSchema.optional()
|
|
92539
|
-
});
|
|
92540
|
-
var chatThreadGoalParamsSchema = external_exports.object({
|
|
92541
|
-
threadId: external_exports.string().min(1)
|
|
92542
|
-
});
|
|
92543
|
-
var zeroGoalsContract = c22.router({
|
|
92544
|
-
create: {
|
|
92545
|
-
method: "POST",
|
|
92546
|
-
path: "/api/zero/goal",
|
|
92547
|
-
headers: authHeadersSchema,
|
|
92548
|
-
body: zeroGoalCreateRequestSchema,
|
|
92549
|
-
responses: {
|
|
92550
|
-
201: zeroGoalResponseSchema,
|
|
92551
|
-
400: apiErrorSchema,
|
|
92552
|
-
401: apiErrorSchema,
|
|
92553
|
-
403: apiErrorSchema,
|
|
92554
|
-
409: apiErrorSchema
|
|
92555
|
-
},
|
|
92556
|
-
summary: "Create a persistent goal for the current thread"
|
|
92557
|
-
},
|
|
92558
|
-
edit: {
|
|
92559
|
-
method: "PATCH",
|
|
92560
|
-
path: "/api/zero/goal",
|
|
92561
|
-
headers: authHeadersSchema,
|
|
92562
|
-
body: zeroGoalEditRequestSchema,
|
|
92563
|
-
responses: {
|
|
92564
|
-
200: zeroGoalResponseSchema,
|
|
92565
|
-
400: apiErrorSchema,
|
|
92566
|
-
401: apiErrorSchema,
|
|
92567
|
-
403: apiErrorSchema,
|
|
92568
|
-
404: apiErrorSchema
|
|
92569
|
-
},
|
|
92570
|
-
summary: "Edit the current thread goal's objective or token budget"
|
|
92571
|
-
},
|
|
92572
|
-
get: {
|
|
92573
|
-
method: "GET",
|
|
92574
|
-
path: "/api/zero/goal",
|
|
92575
|
-
headers: authHeadersSchema,
|
|
92576
|
-
responses: {
|
|
92577
|
-
200: zeroGoalResponseSchema,
|
|
92578
|
-
401: apiErrorSchema,
|
|
92579
|
-
403: apiErrorSchema,
|
|
92580
|
-
404: apiErrorSchema
|
|
92581
|
-
},
|
|
92582
|
-
summary: "Get the current thread goal"
|
|
92583
|
-
},
|
|
92584
|
-
complete: {
|
|
92585
|
-
method: "POST",
|
|
92586
|
-
path: "/api/zero/goal/complete",
|
|
92587
|
-
headers: authHeadersSchema,
|
|
92588
|
-
body: c22.noBody(),
|
|
92589
|
-
responses: {
|
|
92590
|
-
200: zeroGoalResponseSchema,
|
|
92591
|
-
401: apiErrorSchema,
|
|
92592
|
-
403: apiErrorSchema,
|
|
92593
|
-
404: apiErrorSchema
|
|
92594
|
-
},
|
|
92595
|
-
summary: "Mark the current thread goal complete"
|
|
92596
|
-
},
|
|
92597
|
-
block: {
|
|
92598
|
-
method: "POST",
|
|
92599
|
-
path: "/api/zero/goal/block",
|
|
92600
|
-
headers: authHeadersSchema,
|
|
92601
|
-
body: c22.noBody(),
|
|
92602
|
-
responses: {
|
|
92603
|
-
200: zeroGoalResponseSchema,
|
|
92604
|
-
401: apiErrorSchema,
|
|
92605
|
-
403: apiErrorSchema,
|
|
92606
|
-
404: apiErrorSchema
|
|
92607
|
-
},
|
|
92608
|
-
summary: "Pause continuation for the current thread goal"
|
|
92609
|
-
},
|
|
92610
|
-
blockForChatThread: {
|
|
92611
|
-
method: "POST",
|
|
92612
|
-
path: "/api/zero/chat-threads/:threadId/goal/block",
|
|
92613
|
-
headers: authHeadersSchema,
|
|
92614
|
-
pathParams: chatThreadGoalParamsSchema,
|
|
92615
|
-
body: c22.noBody(),
|
|
92616
|
-
responses: {
|
|
92617
|
-
200: zeroGoalResponseSchema,
|
|
92618
|
-
401: apiErrorSchema,
|
|
92619
|
-
403: apiErrorSchema,
|
|
92620
|
-
404: apiErrorSchema
|
|
92621
|
-
},
|
|
92622
|
-
summary: "Pause continuation for a chat thread goal"
|
|
92623
|
-
},
|
|
92624
|
-
resume: {
|
|
92625
|
-
method: "POST",
|
|
92626
|
-
path: "/api/zero/goal/resume",
|
|
92627
|
-
headers: authHeadersSchema,
|
|
92628
|
-
body: c22.noBody(),
|
|
92629
|
-
responses: {
|
|
92630
|
-
200: zeroGoalResponseSchema,
|
|
92631
|
-
401: apiErrorSchema,
|
|
92632
|
-
403: apiErrorSchema,
|
|
92633
|
-
404: apiErrorSchema,
|
|
92634
|
-
409: apiErrorSchema
|
|
92635
|
-
},
|
|
92636
|
-
summary: "Resume continuation for the current thread goal"
|
|
92637
|
-
}
|
|
92638
|
-
});
|
|
92639
|
-
|
|
92640
|
-
// src/lib/api/domains/zero-goals.ts
|
|
92641
92678
|
async function createGoal(body) {
|
|
92642
92679
|
const config3 = await getClientConfig();
|
|
92643
92680
|
const client = initClient(zeroGoalsContract, config3);
|
|
@@ -92673,6 +92710,13 @@ async function blockGoal() {
|
|
|
92673
92710
|
if (result.status === 200) return result.body;
|
|
92674
92711
|
handleError(result, "Failed to block goal");
|
|
92675
92712
|
}
|
|
92713
|
+
async function pauseGoal() {
|
|
92714
|
+
const config3 = await getClientConfig();
|
|
92715
|
+
const client = initClient(zeroGoalsContract, config3);
|
|
92716
|
+
const result = await client.pause({});
|
|
92717
|
+
if (result.status === 200) return result.body;
|
|
92718
|
+
handleError(result, "Failed to pause goal");
|
|
92719
|
+
}
|
|
92676
92720
|
async function resumeGoal() {
|
|
92677
92721
|
const config3 = await getClientConfig();
|
|
92678
92722
|
const client = initClient(zeroGoalsContract, config3);
|
|
@@ -92680,6 +92724,13 @@ async function resumeGoal() {
|
|
|
92680
92724
|
if (result.status === 200) return result.body;
|
|
92681
92725
|
handleError(result, "Failed to resume goal");
|
|
92682
92726
|
}
|
|
92727
|
+
async function clearGoal() {
|
|
92728
|
+
const config3 = await getClientConfig();
|
|
92729
|
+
const client = initClient(zeroGoalsContract, config3);
|
|
92730
|
+
const result = await client.clear({});
|
|
92731
|
+
if (result.status === 200) return result.body;
|
|
92732
|
+
handleError(result, "Failed to clear goal");
|
|
92733
|
+
}
|
|
92683
92734
|
|
|
92684
92735
|
// src/lib/api/domains/zero-connectors.ts
|
|
92685
92736
|
init_esm_shims();
|
|
@@ -95626,44 +95677,29 @@ var workflowFileMetadataSchema = external_exports.object({
|
|
|
95626
95677
|
var workflowInstructionSchema = external_exports.string().max(WORKFLOW_FILES_MAX_BYTES);
|
|
95627
95678
|
var zeroWorkflowScheduleTypeSchema = external_exports.enum(["cron", "loop", "once"]);
|
|
95628
95679
|
var zeroWorkflowTriggerKindSchema = external_exports.enum(["schedule", "event"]);
|
|
95629
|
-
var zeroWorkflowEventTypeSchema = external_exports.enum([
|
|
95630
|
-
"thread-idle",
|
|
95631
|
-
"gmail-new-message"
|
|
95632
|
-
]);
|
|
95680
|
+
var zeroWorkflowEventTypeSchema = external_exports.enum(["gmail-new-message"]);
|
|
95633
95681
|
var gmailTextMatchSchema = external_exports.object({
|
|
95634
95682
|
contains: external_exports.string().min(1).optional(),
|
|
95635
95683
|
containsAny: external_exports.array(external_exports.string().min(1)).min(1).optional(),
|
|
95636
95684
|
doesNotContain: external_exports.string().min(1).optional(),
|
|
95637
95685
|
doesNotContainAny: external_exports.array(external_exports.string().min(1)).min(1).optional()
|
|
95638
|
-
}).refine(
|
|
95686
|
+
}).strict().refine(
|
|
95639
95687
|
(value) => {
|
|
95640
95688
|
return value.contains !== void 0 || value.containsAny !== void 0 || value.doesNotContain !== void 0 || value.doesNotContainAny !== void 0;
|
|
95641
95689
|
},
|
|
95642
95690
|
{ message: "At least one text matcher is required" }
|
|
95643
95691
|
);
|
|
95644
|
-
var gmailLabelMatchSchema = external_exports.object({
|
|
95645
|
-
includeAny: external_exports.array(external_exports.string().min(1)).min(1).optional(),
|
|
95646
|
-
excludeAny: external_exports.array(external_exports.string().min(1)).min(1).optional()
|
|
95647
|
-
}).refine(
|
|
95648
|
-
(value) => {
|
|
95649
|
-
return value.includeAny !== void 0 || value.excludeAny !== void 0;
|
|
95650
|
-
},
|
|
95651
|
-
{ message: "At least one label matcher is required" }
|
|
95652
|
-
);
|
|
95653
95692
|
var gmailNewMessageEventConfigSchema = external_exports.object({
|
|
95654
95693
|
provider: external_exports.literal("gmail"),
|
|
95655
95694
|
event: external_exports.literal("new_message"),
|
|
95656
95695
|
match: external_exports.object({
|
|
95657
95696
|
from: gmailTextMatchSchema.optional(),
|
|
95658
95697
|
subject: gmailTextMatchSchema.optional(),
|
|
95659
|
-
snippet: gmailTextMatchSchema.optional(),
|
|
95660
95698
|
body: gmailTextMatchSchema.optional(),
|
|
95661
95699
|
to: gmailTextMatchSchema.optional(),
|
|
95662
|
-
cc: gmailTextMatchSchema.optional()
|
|
95663
|
-
|
|
95664
|
-
|
|
95665
|
-
}).optional()
|
|
95666
|
-
});
|
|
95700
|
+
cc: gmailTextMatchSchema.optional()
|
|
95701
|
+
}).strict().optional()
|
|
95702
|
+
}).strict();
|
|
95667
95703
|
var zeroWorkflowScheduleSchema = external_exports.discriminatedUnion("type", [
|
|
95668
95704
|
external_exports.object({
|
|
95669
95705
|
type: external_exports.literal("cron"),
|
|
@@ -95823,7 +95859,8 @@ var zeroWorkflowsCollectionContract = c32.router({
|
|
|
95823
95859
|
400: apiErrorSchema,
|
|
95824
95860
|
401: apiErrorSchema,
|
|
95825
95861
|
403: apiErrorSchema,
|
|
95826
|
-
404: apiErrorSchema
|
|
95862
|
+
404: apiErrorSchema,
|
|
95863
|
+
409: apiErrorSchema
|
|
95827
95864
|
},
|
|
95828
95865
|
summary: "Create a workflow under an agent"
|
|
95829
95866
|
}
|
|
@@ -95914,7 +95951,8 @@ var zeroWorkflowVisibilityContract = c32.router({
|
|
|
95914
95951
|
400: apiErrorSchema,
|
|
95915
95952
|
401: apiErrorSchema,
|
|
95916
95953
|
403: apiErrorSchema,
|
|
95917
|
-
404: apiErrorSchema
|
|
95954
|
+
404: apiErrorSchema,
|
|
95955
|
+
409: apiErrorSchema
|
|
95918
95956
|
},
|
|
95919
95957
|
summary: "Owner requests promotion to public (auto-approves if owner has agent write-permission)"
|
|
95920
95958
|
},
|
|
@@ -95944,7 +95982,8 @@ var zeroWorkflowVisibilityContract = c32.router({
|
|
|
95944
95982
|
400: apiErrorSchema,
|
|
95945
95983
|
401: apiErrorSchema,
|
|
95946
95984
|
403: apiErrorSchema,
|
|
95947
|
-
404: apiErrorSchema
|
|
95985
|
+
404: apiErrorSchema,
|
|
95986
|
+
409: apiErrorSchema
|
|
95948
95987
|
},
|
|
95949
95988
|
summary: "Agent write-permission holder approves a pending publish request"
|
|
95950
95989
|
},
|
|
@@ -96022,7 +96061,7 @@ var zeroWorkflowTriggersContract = c32.router({
|
|
|
96022
96061
|
404: apiErrorSchema,
|
|
96023
96062
|
409: apiErrorSchema
|
|
96024
96063
|
},
|
|
96025
|
-
summary: "Create a
|
|
96064
|
+
summary: "Create a trigger on a workflow"
|
|
96026
96065
|
},
|
|
96027
96066
|
get: {
|
|
96028
96067
|
method: "GET",
|
|
@@ -96035,7 +96074,7 @@ var zeroWorkflowTriggersContract = c32.router({
|
|
|
96035
96074
|
403: apiErrorSchema,
|
|
96036
96075
|
404: apiErrorSchema
|
|
96037
96076
|
},
|
|
96038
|
-
summary: "Get a workflow
|
|
96077
|
+
summary: "Get a workflow trigger"
|
|
96039
96078
|
},
|
|
96040
96079
|
update: {
|
|
96041
96080
|
method: "PATCH",
|
|
@@ -96051,7 +96090,7 @@ var zeroWorkflowTriggersContract = c32.router({
|
|
|
96051
96090
|
404: apiErrorSchema,
|
|
96052
96091
|
409: apiErrorSchema
|
|
96053
96092
|
},
|
|
96054
|
-
summary: "Update a workflow
|
|
96093
|
+
summary: "Update a workflow trigger"
|
|
96055
96094
|
},
|
|
96056
96095
|
delete: {
|
|
96057
96096
|
method: "DELETE",
|
|
@@ -96065,7 +96104,7 @@ var zeroWorkflowTriggersContract = c32.router({
|
|
|
96065
96104
|
403: apiErrorSchema,
|
|
96066
96105
|
404: apiErrorSchema
|
|
96067
96106
|
},
|
|
96068
|
-
summary: "Delete a workflow
|
|
96107
|
+
summary: "Delete a workflow trigger"
|
|
96069
96108
|
},
|
|
96070
96109
|
enable: {
|
|
96071
96110
|
method: "POST",
|
|
@@ -96080,7 +96119,7 @@ var zeroWorkflowTriggersContract = c32.router({
|
|
|
96080
96119
|
404: apiErrorSchema,
|
|
96081
96120
|
409: apiErrorSchema
|
|
96082
96121
|
},
|
|
96083
|
-
summary: "Enable a workflow
|
|
96122
|
+
summary: "Enable a workflow trigger"
|
|
96084
96123
|
},
|
|
96085
96124
|
disable: {
|
|
96086
96125
|
method: "POST",
|
|
@@ -96094,7 +96133,7 @@ var zeroWorkflowTriggersContract = c32.router({
|
|
|
96094
96133
|
403: apiErrorSchema,
|
|
96095
96134
|
404: apiErrorSchema
|
|
96096
96135
|
},
|
|
96097
|
-
summary: "Disable a workflow
|
|
96136
|
+
summary: "Disable a workflow trigger"
|
|
96098
96137
|
},
|
|
96099
96138
|
run: {
|
|
96100
96139
|
method: "POST",
|
|
@@ -96109,7 +96148,7 @@ var zeroWorkflowTriggersContract = c32.router({
|
|
|
96109
96148
|
404: apiErrorSchema,
|
|
96110
96149
|
409: apiErrorSchema
|
|
96111
96150
|
},
|
|
96112
|
-
summary: "Fire a one-off test run of a workflow
|
|
96151
|
+
summary: "Fire a one-off test run of a workflow trigger"
|
|
96113
96152
|
}
|
|
96114
96153
|
});
|
|
96115
96154
|
|
|
@@ -111440,6 +111479,12 @@ var FEATURE_SWITCHES = {
|
|
|
111440
111479
|
description: "Show GitHub PR tracking in chat thread headers when the current agent is connected to and authorized for GitHub. Individuals opt in via feature-switch overrides.",
|
|
111441
111480
|
enabled: false
|
|
111442
111481
|
},
|
|
111482
|
+
["chatRunGroupFolding" /* ChatRunGroupFolding */]: {
|
|
111483
|
+
maintainer: "ethan@vm0.ai",
|
|
111484
|
+
description: "Fold repeated automation, workflow trigger, and goal continuation chat runs by contiguous run-group sections in the chat thread UI.",
|
|
111485
|
+
enabled: false,
|
|
111486
|
+
enabledOrgIdHashes: STAFF_ORG_ID_HASHES
|
|
111487
|
+
},
|
|
111443
111488
|
["chatTemplatePicker" /* ChatTemplatePicker */]: {
|
|
111444
111489
|
maintainer: "linghan@vm0.ai",
|
|
111445
111490
|
description: "Show the Template picker in the Zero chat composer for per-message generation template selection.",
|
|
@@ -113111,7 +113156,9 @@ export {
|
|
|
113111
113156
|
getGoal,
|
|
113112
113157
|
completeGoal,
|
|
113113
113158
|
blockGoal,
|
|
113159
|
+
pauseGoal,
|
|
113114
113160
|
resumeGoal,
|
|
113161
|
+
clearGoal,
|
|
113115
113162
|
customConnectorProposalSchema,
|
|
113116
113163
|
listZeroConnectors,
|
|
113117
113164
|
searchZeroConnectors,
|
|
@@ -113233,4 +113280,4 @@ undici/lib/web/fetch/body.js:
|
|
|
113233
113280
|
undici/lib/web/websocket/frame.js:
|
|
113234
113281
|
(*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
|
|
113235
113282
|
*/
|
|
113236
|
-
//# sourceMappingURL=chunk-
|
|
113283
|
+
//# sourceMappingURL=chunk-BX6IGPXR.js.map
|