@vm0/cli 9.90.1 → 9.90.3
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-RJS4OQ2I.js → chunk-HZQ6GQVS.js} +220 -231
- package/chunk-HZQ6GQVS.js.map +1 -0
- package/index.js +14 -15
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/zero.js +90 -94
- package/zero.js.map +1 -1
- package/chunk-RJS4OQ2I.js.map +0 -1
|
@@ -47,7 +47,7 @@ if (DSN) {
|
|
|
47
47
|
Sentry.init({
|
|
48
48
|
dsn: DSN,
|
|
49
49
|
environment: process.env.SENTRY_ENVIRONMENT ?? "production",
|
|
50
|
-
release: "9.90.
|
|
50
|
+
release: "9.90.3",
|
|
51
51
|
sendDefaultPii: false,
|
|
52
52
|
tracesSampleRate: 0,
|
|
53
53
|
shutdownTimeout: 500,
|
|
@@ -66,7 +66,7 @@ if (DSN) {
|
|
|
66
66
|
}
|
|
67
67
|
});
|
|
68
68
|
Sentry.setContext("cli", {
|
|
69
|
-
version: "9.90.
|
|
69
|
+
version: "9.90.3",
|
|
70
70
|
command: process.argv.slice(2).join(" ")
|
|
71
71
|
});
|
|
72
72
|
Sentry.setContext("runtime", {
|
|
@@ -543,8 +543,7 @@ var composesMainContract = c.router({
|
|
|
543
543
|
path: "/api/agent/composes",
|
|
544
544
|
headers: authHeadersSchema,
|
|
545
545
|
query: z3.object({
|
|
546
|
-
name: z3.string().min(1, "Missing name query parameter")
|
|
547
|
-
org: z3.string().optional()
|
|
546
|
+
name: z3.string().min(1, "Missing name query parameter")
|
|
548
547
|
}),
|
|
549
548
|
responses: {
|
|
550
549
|
200: composeResponseSchema,
|
|
@@ -660,15 +659,13 @@ var composesListContract = c.router({
|
|
|
660
659
|
/**
|
|
661
660
|
* GET /api/agent/composes/list?org={org}
|
|
662
661
|
* List all agent composes for an org
|
|
663
|
-
*
|
|
662
|
+
* Uses the authenticated user's active org.
|
|
664
663
|
*/
|
|
665
664
|
list: {
|
|
666
665
|
method: "GET",
|
|
667
666
|
path: "/api/agent/composes/list",
|
|
668
667
|
headers: authHeadersSchema,
|
|
669
|
-
query: z3.object({
|
|
670
|
-
org: z3.string().optional()
|
|
671
|
-
}),
|
|
668
|
+
query: z3.object({}),
|
|
672
669
|
responses: {
|
|
673
670
|
200: z3.object({
|
|
674
671
|
composes: z3.array(composeListItemSchema)
|
|
@@ -859,7 +856,6 @@ var logsListContract = c2.router({
|
|
|
859
856
|
search: z5.string().optional(),
|
|
860
857
|
agent: z5.string().optional(),
|
|
861
858
|
name: z5.string().optional(),
|
|
862
|
-
org: z5.string().optional(),
|
|
863
859
|
status: logStatusSchema.optional(),
|
|
864
860
|
triggerSource: triggerSourceSchema.optional(),
|
|
865
861
|
scheduleId: z5.string().uuid().optional()
|
|
@@ -996,7 +992,7 @@ var updateOrgRequestSchema = z7.object({
|
|
|
996
992
|
});
|
|
997
993
|
var orgDefaultAgentContract = c3.router({
|
|
998
994
|
/**
|
|
999
|
-
* PUT /api/zero/default-agent
|
|
995
|
+
* PUT /api/zero/default-agent
|
|
1000
996
|
* Set or unset the default agent for an org.
|
|
1001
997
|
* Only org admins can perform this action.
|
|
1002
998
|
* The agent must belong to the same org.
|
|
@@ -1005,9 +1001,7 @@ var orgDefaultAgentContract = c3.router({
|
|
|
1005
1001
|
method: "PUT",
|
|
1006
1002
|
path: "/api/zero/default-agent",
|
|
1007
1003
|
headers: authHeadersSchema,
|
|
1008
|
-
query: z7.object({
|
|
1009
|
-
org: z7.string().optional()
|
|
1010
|
-
}),
|
|
1004
|
+
query: z7.object({}),
|
|
1011
1005
|
body: z7.object({
|
|
1012
1006
|
agentId: z7.uuid().nullable()
|
|
1013
1007
|
}),
|
|
@@ -2828,6 +2822,19 @@ var chatThreadByIdContract = c10.router({
|
|
|
2828
2822
|
404: apiErrorSchema
|
|
2829
2823
|
},
|
|
2830
2824
|
summary: "Get chat thread detail with messages"
|
|
2825
|
+
},
|
|
2826
|
+
delete: {
|
|
2827
|
+
method: "DELETE",
|
|
2828
|
+
path: "/api/zero/chat-threads/:id",
|
|
2829
|
+
headers: authHeadersSchema,
|
|
2830
|
+
pathParams: z17.object({ id: z17.string() }),
|
|
2831
|
+
responses: {
|
|
2832
|
+
204: c10.noBody(),
|
|
2833
|
+
401: apiErrorSchema,
|
|
2834
|
+
404: apiErrorSchema
|
|
2835
|
+
},
|
|
2836
|
+
summary: "Delete a chat thread",
|
|
2837
|
+
body: c10.noBody()
|
|
2831
2838
|
}
|
|
2832
2839
|
});
|
|
2833
2840
|
var chatMessagesContract = c10.router({
|
|
@@ -16770,25 +16777,22 @@ var zeroAgentSkillContentResponseSchema = z26.object({
|
|
|
16770
16777
|
var zeroAgentSkillListResponseSchema = z26.array(
|
|
16771
16778
|
zeroAgentCustomSkillSchema
|
|
16772
16779
|
);
|
|
16773
|
-
var
|
|
16780
|
+
var zeroSkillsCollectionContract = c17.router({
|
|
16774
16781
|
list: {
|
|
16775
16782
|
method: "GET",
|
|
16776
|
-
path: "/api/zero/
|
|
16783
|
+
path: "/api/zero/skills",
|
|
16777
16784
|
headers: authHeadersSchema,
|
|
16778
|
-
pathParams: z26.object({ id: z26.string().uuid() }),
|
|
16779
16785
|
responses: {
|
|
16780
16786
|
200: zeroAgentSkillListResponseSchema,
|
|
16781
16787
|
401: apiErrorSchema,
|
|
16782
|
-
403: apiErrorSchema
|
|
16783
|
-
404: apiErrorSchema
|
|
16788
|
+
403: apiErrorSchema
|
|
16784
16789
|
},
|
|
16785
|
-
summary: "List custom skills
|
|
16790
|
+
summary: "List all custom skills in the organization"
|
|
16786
16791
|
},
|
|
16787
16792
|
create: {
|
|
16788
16793
|
method: "POST",
|
|
16789
|
-
path: "/api/zero/
|
|
16794
|
+
path: "/api/zero/skills",
|
|
16790
16795
|
headers: authHeadersSchema,
|
|
16791
|
-
pathParams: z26.object({ id: z26.string().uuid() }),
|
|
16792
16796
|
body: zeroAgentSkillContentRequestSchema.extend({
|
|
16793
16797
|
name: zeroAgentCustomSkillNameSchema,
|
|
16794
16798
|
displayName: z26.string().max(256).optional(),
|
|
@@ -16799,21 +16803,17 @@ var zeroAgentSkillsCollectionContract = c17.router({
|
|
|
16799
16803
|
400: apiErrorSchema,
|
|
16800
16804
|
401: apiErrorSchema,
|
|
16801
16805
|
403: apiErrorSchema,
|
|
16802
|
-
404: apiErrorSchema,
|
|
16803
16806
|
409: apiErrorSchema
|
|
16804
16807
|
},
|
|
16805
|
-
summary: "Create custom skill
|
|
16808
|
+
summary: "Create a custom skill in the organization"
|
|
16806
16809
|
}
|
|
16807
16810
|
});
|
|
16808
|
-
var
|
|
16811
|
+
var zeroSkillsDetailContract = c17.router({
|
|
16809
16812
|
get: {
|
|
16810
16813
|
method: "GET",
|
|
16811
|
-
path: "/api/zero/
|
|
16814
|
+
path: "/api/zero/skills/:name",
|
|
16812
16815
|
headers: authHeadersSchema,
|
|
16813
|
-
pathParams: z26.object({
|
|
16814
|
-
id: z26.string().uuid(),
|
|
16815
|
-
name: zeroAgentCustomSkillNameSchema
|
|
16816
|
-
}),
|
|
16816
|
+
pathParams: z26.object({ name: zeroAgentCustomSkillNameSchema }),
|
|
16817
16817
|
responses: {
|
|
16818
16818
|
200: zeroAgentSkillContentResponseSchema,
|
|
16819
16819
|
401: apiErrorSchema,
|
|
@@ -16824,12 +16824,9 @@ var zeroAgentSkillsDetailContract = c17.router({
|
|
|
16824
16824
|
},
|
|
16825
16825
|
update: {
|
|
16826
16826
|
method: "PUT",
|
|
16827
|
-
path: "/api/zero/
|
|
16827
|
+
path: "/api/zero/skills/:name",
|
|
16828
16828
|
headers: authHeadersSchema,
|
|
16829
|
-
pathParams: z26.object({
|
|
16830
|
-
id: z26.string().uuid(),
|
|
16831
|
-
name: zeroAgentCustomSkillNameSchema
|
|
16832
|
-
}),
|
|
16829
|
+
pathParams: z26.object({ name: zeroAgentCustomSkillNameSchema }),
|
|
16833
16830
|
body: zeroAgentSkillContentRequestSchema,
|
|
16834
16831
|
responses: {
|
|
16835
16832
|
200: zeroAgentSkillContentResponseSchema,
|
|
@@ -16841,12 +16838,9 @@ var zeroAgentSkillsDetailContract = c17.router({
|
|
|
16841
16838
|
},
|
|
16842
16839
|
delete: {
|
|
16843
16840
|
method: "DELETE",
|
|
16844
|
-
path: "/api/zero/
|
|
16841
|
+
path: "/api/zero/skills/:name",
|
|
16845
16842
|
headers: authHeadersSchema,
|
|
16846
|
-
pathParams: z26.object({
|
|
16847
|
-
id: z26.string().uuid(),
|
|
16848
|
-
name: zeroAgentCustomSkillNameSchema
|
|
16849
|
-
}),
|
|
16843
|
+
pathParams: z26.object({ name: zeroAgentCustomSkillNameSchema }),
|
|
16850
16844
|
body: c17.noBody(),
|
|
16851
16845
|
responses: {
|
|
16852
16846
|
204: c17.noBody(),
|
|
@@ -16854,7 +16848,7 @@ var zeroAgentSkillsDetailContract = c17.router({
|
|
|
16854
16848
|
403: apiErrorSchema,
|
|
16855
16849
|
404: apiErrorSchema
|
|
16856
16850
|
},
|
|
16857
|
-
summary: "Delete custom skill"
|
|
16851
|
+
summary: "Delete custom skill from the organization"
|
|
16858
16852
|
}
|
|
16859
16853
|
});
|
|
16860
16854
|
var firewallAccessRequestStatusSchema = z26.enum([
|
|
@@ -16872,6 +16866,7 @@ var firewallAccessRequestResponseSchema = z26.object({
|
|
|
16872
16866
|
reason: z26.string().nullable(),
|
|
16873
16867
|
status: firewallAccessRequestStatusSchema,
|
|
16874
16868
|
requesterUserId: z26.string(),
|
|
16869
|
+
requesterName: z26.string().nullable(),
|
|
16875
16870
|
resolvedBy: z26.string().nullable(),
|
|
16876
16871
|
resolvedAt: z26.string().nullable(),
|
|
16877
16872
|
createdAt: z26.string()
|
|
@@ -16904,11 +16899,16 @@ var firewallAccessRequestsCreateContract = c17.router({
|
|
|
16904
16899
|
summary: "Create firewall access request"
|
|
16905
16900
|
}
|
|
16906
16901
|
});
|
|
16902
|
+
var firewallAccessRequestsListQuerySchema = z26.object({
|
|
16903
|
+
agentId: z26.string(),
|
|
16904
|
+
status: z26.string().optional()
|
|
16905
|
+
});
|
|
16907
16906
|
var firewallAccessRequestsListContract = c17.router({
|
|
16908
16907
|
list: {
|
|
16909
16908
|
method: "GET",
|
|
16910
16909
|
path: "/api/zero/firewall-access-requests",
|
|
16911
16910
|
headers: authHeadersSchema,
|
|
16911
|
+
query: firewallAccessRequestsListQuerySchema,
|
|
16912
16912
|
responses: {
|
|
16913
16913
|
200: z26.array(firewallAccessRequestResponseSchema),
|
|
16914
16914
|
400: apiErrorSchema,
|
|
@@ -17374,8 +17374,7 @@ var zeroComposesMainContract = c24.router({
|
|
|
17374
17374
|
path: "/api/zero/composes",
|
|
17375
17375
|
headers: authHeadersSchema,
|
|
17376
17376
|
query: z30.object({
|
|
17377
|
-
name: z30.string().min(1, "Missing name query parameter")
|
|
17378
|
-
org: z30.string().optional()
|
|
17377
|
+
name: z30.string().min(1, "Missing name query parameter")
|
|
17379
17378
|
}),
|
|
17380
17379
|
responses: {
|
|
17381
17380
|
200: composeResponseSchema,
|
|
@@ -17425,9 +17424,7 @@ var zeroComposesListContract = c24.router({
|
|
|
17425
17424
|
method: "GET",
|
|
17426
17425
|
path: "/api/zero/composes/list",
|
|
17427
17426
|
headers: authHeadersSchema,
|
|
17428
|
-
query: z30.object({
|
|
17429
|
-
org: z30.string().optional()
|
|
17430
|
-
}),
|
|
17427
|
+
query: z30.object({}),
|
|
17431
17428
|
responses: {
|
|
17432
17429
|
200: z30.object({
|
|
17433
17430
|
composes: z30.array(composeListItemSchema)
|
|
@@ -18887,11 +18884,11 @@ function withErrorHandler(fn) {
|
|
|
18887
18884
|
|
|
18888
18885
|
// src/lib/api/domains/composes.ts
|
|
18889
18886
|
import { initClient } from "@ts-rest/core";
|
|
18890
|
-
async function getComposeByName(name
|
|
18887
|
+
async function getComposeByName(name) {
|
|
18891
18888
|
const config = await getClientConfig();
|
|
18892
18889
|
const client = initClient(composesMainContract, config);
|
|
18893
18890
|
const result = await client.getByName({
|
|
18894
|
-
query: { name
|
|
18891
|
+
query: { name }
|
|
18895
18892
|
});
|
|
18896
18893
|
if (result.status === 200) {
|
|
18897
18894
|
return result.body;
|
|
@@ -18902,7 +18899,7 @@ async function getComposeByName(name, org) {
|
|
|
18902
18899
|
handleError(result, `Compose not found: ${name}`);
|
|
18903
18900
|
}
|
|
18904
18901
|
var UUID_PATTERN = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
18905
|
-
async function resolveCompose(identifier
|
|
18902
|
+
async function resolveCompose(identifier) {
|
|
18906
18903
|
if (UUID_PATTERN.test(identifier)) {
|
|
18907
18904
|
try {
|
|
18908
18905
|
return await getComposeById(identifier);
|
|
@@ -18913,7 +18910,7 @@ async function resolveCompose(identifier, org) {
|
|
|
18913
18910
|
throw error;
|
|
18914
18911
|
}
|
|
18915
18912
|
}
|
|
18916
|
-
return getComposeByName(identifier
|
|
18913
|
+
return getComposeByName(identifier);
|
|
18917
18914
|
}
|
|
18918
18915
|
async function getComposeById(id) {
|
|
18919
18916
|
const config = await getClientConfig();
|
|
@@ -18991,121 +18988,11 @@ async function resolveSkills(skillUrls) {
|
|
|
18991
18988
|
}
|
|
18992
18989
|
}
|
|
18993
18990
|
|
|
18994
|
-
// src/lib/api/domains/zero-orgs.ts
|
|
18995
|
-
import { initClient as initClient4 } from "@ts-rest/core";
|
|
18996
|
-
async function getUserTokenClientConfig() {
|
|
18997
|
-
const baseUrl = await getBaseUrl();
|
|
18998
|
-
const token = await getToken();
|
|
18999
|
-
if (!token) {
|
|
19000
|
-
throw new ApiRequestError("Not authenticated", "UNAUTHORIZED", 401);
|
|
19001
|
-
}
|
|
19002
|
-
const headers = {
|
|
19003
|
-
Authorization: `Bearer ${token}`
|
|
19004
|
-
};
|
|
19005
|
-
const bypassSecret = process.env.VERCEL_AUTOMATION_BYPASS_SECRET;
|
|
19006
|
-
if (bypassSecret) {
|
|
19007
|
-
headers["x-vercel-protection-bypass"] = bypassSecret;
|
|
19008
|
-
}
|
|
19009
|
-
return { baseUrl, baseHeaders: headers, jsonQuery: false };
|
|
19010
|
-
}
|
|
19011
|
-
async function getZeroOrg() {
|
|
19012
|
-
const config = await getClientConfig();
|
|
19013
|
-
const client = initClient4(zeroOrgContract, config);
|
|
19014
|
-
const result = await client.get({ headers: {} });
|
|
19015
|
-
if (result.status === 200) {
|
|
19016
|
-
return result.body;
|
|
19017
|
-
}
|
|
19018
|
-
handleError(result, "Failed to get organization");
|
|
19019
|
-
}
|
|
19020
|
-
async function updateZeroOrg(body) {
|
|
19021
|
-
const config = await getClientConfig();
|
|
19022
|
-
const client = initClient4(zeroOrgContract, config);
|
|
19023
|
-
const result = await client.update({ body });
|
|
19024
|
-
if (result.status === 200) {
|
|
19025
|
-
return result.body;
|
|
19026
|
-
}
|
|
19027
|
-
handleError(result, "Failed to update organization");
|
|
19028
|
-
}
|
|
19029
|
-
async function listZeroOrgs() {
|
|
19030
|
-
const config = await getUserTokenClientConfig();
|
|
19031
|
-
const client = initClient4(zeroOrgListContract, config);
|
|
19032
|
-
const result = await client.list({ headers: {} });
|
|
19033
|
-
if (result.status === 200) {
|
|
19034
|
-
return result.body;
|
|
19035
|
-
}
|
|
19036
|
-
handleError(result, "Failed to list organizations");
|
|
19037
|
-
}
|
|
19038
|
-
async function getZeroOrgMembers() {
|
|
19039
|
-
const config = await getClientConfig();
|
|
19040
|
-
const client = initClient4(zeroOrgMembersContract, config);
|
|
19041
|
-
const result = await client.members({ headers: {} });
|
|
19042
|
-
if (result.status === 200) {
|
|
19043
|
-
return result.body;
|
|
19044
|
-
}
|
|
19045
|
-
handleError(result, "Failed to get organization members");
|
|
19046
|
-
}
|
|
19047
|
-
async function inviteZeroOrgMember(email) {
|
|
19048
|
-
const config = await getClientConfig();
|
|
19049
|
-
const client = initClient4(zeroOrgInviteContract, config);
|
|
19050
|
-
const result = await client.invite({
|
|
19051
|
-
body: { email }
|
|
19052
|
-
});
|
|
19053
|
-
if (result.status === 200) {
|
|
19054
|
-
return;
|
|
19055
|
-
}
|
|
19056
|
-
handleError(result, "Failed to invite member");
|
|
19057
|
-
}
|
|
19058
|
-
async function removeZeroOrgMember(email) {
|
|
19059
|
-
const config = await getClientConfig();
|
|
19060
|
-
const client = initClient4(zeroOrgMembersContract, config);
|
|
19061
|
-
const result = await client.removeMember({
|
|
19062
|
-
body: { email }
|
|
19063
|
-
});
|
|
19064
|
-
if (result.status === 200) {
|
|
19065
|
-
return;
|
|
19066
|
-
}
|
|
19067
|
-
handleError(result, "Failed to remove member");
|
|
19068
|
-
}
|
|
19069
|
-
async function leaveZeroOrg() {
|
|
19070
|
-
const config = await getClientConfig();
|
|
19071
|
-
const client = initClient4(zeroOrgLeaveContract, config);
|
|
19072
|
-
const result = await client.leave({
|
|
19073
|
-
body: {}
|
|
19074
|
-
});
|
|
19075
|
-
if (result.status === 200) {
|
|
19076
|
-
return;
|
|
19077
|
-
}
|
|
19078
|
-
handleError(result, "Failed to leave organization");
|
|
19079
|
-
}
|
|
19080
|
-
async function deleteZeroOrg(slug) {
|
|
19081
|
-
const config = await getClientConfig();
|
|
19082
|
-
const client = initClient4(zeroOrgDeleteContract, config);
|
|
19083
|
-
const result = await client.delete({
|
|
19084
|
-
body: { slug }
|
|
19085
|
-
});
|
|
19086
|
-
if (result.status === 200) {
|
|
19087
|
-
return;
|
|
19088
|
-
}
|
|
19089
|
-
handleError(result, "Failed to delete organization");
|
|
19090
|
-
}
|
|
19091
|
-
async function switchZeroOrg(slug) {
|
|
19092
|
-
const config = await getUserTokenClientConfig();
|
|
19093
|
-
const client = initClient4(cliAuthOrgContract, config);
|
|
19094
|
-
const result = await client.switchOrg({
|
|
19095
|
-
headers: {},
|
|
19096
|
-
body: { slug }
|
|
19097
|
-
});
|
|
19098
|
-
if (result.status === 200) {
|
|
19099
|
-
return result.body;
|
|
19100
|
-
}
|
|
19101
|
-
handleError(result, "Failed to switch organization");
|
|
19102
|
-
}
|
|
19103
|
-
|
|
19104
18991
|
// src/lib/api/domains/zero-secrets.ts
|
|
19105
|
-
import { initClient as
|
|
18992
|
+
import { initClient as initClient4 } from "@ts-rest/core";
|
|
19106
18993
|
async function listZeroSecrets() {
|
|
19107
18994
|
const config = await getClientConfig();
|
|
19108
|
-
const client =
|
|
18995
|
+
const client = initClient4(zeroSecretsContract, config);
|
|
19109
18996
|
const result = await client.list({ headers: {} });
|
|
19110
18997
|
if (result.status === 200) {
|
|
19111
18998
|
return result.body;
|
|
@@ -19114,7 +19001,7 @@ async function listZeroSecrets() {
|
|
|
19114
19001
|
}
|
|
19115
19002
|
async function setZeroSecret(body) {
|
|
19116
19003
|
const config = await getClientConfig();
|
|
19117
|
-
const client =
|
|
19004
|
+
const client = initClient4(zeroSecretsContract, config);
|
|
19118
19005
|
const result = await client.set({ body });
|
|
19119
19006
|
if (result.status === 200 || result.status === 201) {
|
|
19120
19007
|
return result.body;
|
|
@@ -19123,7 +19010,7 @@ async function setZeroSecret(body) {
|
|
|
19123
19010
|
}
|
|
19124
19011
|
async function deleteZeroSecret(name) {
|
|
19125
19012
|
const config = await getClientConfig();
|
|
19126
|
-
const client =
|
|
19013
|
+
const client = initClient4(zeroSecretsByNameContract, config);
|
|
19127
19014
|
const result = await client.delete({
|
|
19128
19015
|
params: { name }
|
|
19129
19016
|
});
|
|
@@ -19134,10 +19021,10 @@ async function deleteZeroSecret(name) {
|
|
|
19134
19021
|
}
|
|
19135
19022
|
|
|
19136
19023
|
// src/lib/api/domains/zero-variables.ts
|
|
19137
|
-
import { initClient as
|
|
19024
|
+
import { initClient as initClient5 } from "@ts-rest/core";
|
|
19138
19025
|
async function listZeroVariables() {
|
|
19139
19026
|
const config = await getClientConfig();
|
|
19140
|
-
const client =
|
|
19027
|
+
const client = initClient5(zeroVariablesContract, config);
|
|
19141
19028
|
const result = await client.list({ headers: {} });
|
|
19142
19029
|
if (result.status === 200) {
|
|
19143
19030
|
return result.body;
|
|
@@ -19146,7 +19033,7 @@ async function listZeroVariables() {
|
|
|
19146
19033
|
}
|
|
19147
19034
|
async function setZeroVariable(body) {
|
|
19148
19035
|
const config = await getClientConfig();
|
|
19149
|
-
const client =
|
|
19036
|
+
const client = initClient5(zeroVariablesContract, config);
|
|
19150
19037
|
const result = await client.set({ body });
|
|
19151
19038
|
if (result.status === 200 || result.status === 201) {
|
|
19152
19039
|
return result.body;
|
|
@@ -19155,7 +19042,7 @@ async function setZeroVariable(body) {
|
|
|
19155
19042
|
}
|
|
19156
19043
|
async function deleteZeroVariable(name) {
|
|
19157
19044
|
const config = await getClientConfig();
|
|
19158
|
-
const client =
|
|
19045
|
+
const client = initClient5(zeroVariablesByNameContract, config);
|
|
19159
19046
|
const result = await client.delete({
|
|
19160
19047
|
params: { name }
|
|
19161
19048
|
});
|
|
@@ -19166,10 +19053,10 @@ async function deleteZeroVariable(name) {
|
|
|
19166
19053
|
}
|
|
19167
19054
|
|
|
19168
19055
|
// src/lib/api/domains/zero-connectors.ts
|
|
19169
|
-
import { initClient as
|
|
19056
|
+
import { initClient as initClient6 } from "@ts-rest/core";
|
|
19170
19057
|
async function listZeroConnectors() {
|
|
19171
19058
|
const config = await getClientConfig();
|
|
19172
|
-
const client =
|
|
19059
|
+
const client = initClient6(zeroConnectorsMainContract, config);
|
|
19173
19060
|
const result = await client.list({ headers: {} });
|
|
19174
19061
|
if (result.status === 200) {
|
|
19175
19062
|
return result.body;
|
|
@@ -19178,7 +19065,7 @@ async function listZeroConnectors() {
|
|
|
19178
19065
|
}
|
|
19179
19066
|
async function getZeroConnector(type) {
|
|
19180
19067
|
const config = await getClientConfig();
|
|
19181
|
-
const client =
|
|
19068
|
+
const client = initClient6(zeroConnectorsByTypeContract, config);
|
|
19182
19069
|
const result = await client.get({
|
|
19183
19070
|
params: { type }
|
|
19184
19071
|
});
|
|
@@ -19192,7 +19079,7 @@ async function getZeroConnector(type) {
|
|
|
19192
19079
|
}
|
|
19193
19080
|
async function deleteZeroConnector(type) {
|
|
19194
19081
|
const config = await getClientConfig();
|
|
19195
|
-
const client =
|
|
19082
|
+
const client = initClient6(zeroConnectorsByTypeContract, config);
|
|
19196
19083
|
const result = await client.delete({
|
|
19197
19084
|
params: { type }
|
|
19198
19085
|
});
|
|
@@ -19203,7 +19090,7 @@ async function deleteZeroConnector(type) {
|
|
|
19203
19090
|
}
|
|
19204
19091
|
async function createZeroConnectorSession(type) {
|
|
19205
19092
|
const config = await getClientConfig();
|
|
19206
|
-
const client =
|
|
19093
|
+
const client = initClient6(zeroConnectorSessionsContract, config);
|
|
19207
19094
|
const result = await client.create({
|
|
19208
19095
|
params: { type },
|
|
19209
19096
|
body: {}
|
|
@@ -19215,7 +19102,7 @@ async function createZeroConnectorSession(type) {
|
|
|
19215
19102
|
}
|
|
19216
19103
|
async function getZeroConnectorSession(type, sessionId) {
|
|
19217
19104
|
const config = await getClientConfig();
|
|
19218
|
-
const client =
|
|
19105
|
+
const client = initClient6(zeroConnectorSessionByIdContract, config);
|
|
19219
19106
|
const result = await client.get({
|
|
19220
19107
|
params: { type, sessionId }
|
|
19221
19108
|
});
|
|
@@ -19226,7 +19113,7 @@ async function getZeroConnectorSession(type, sessionId) {
|
|
|
19226
19113
|
}
|
|
19227
19114
|
async function createZeroComputerConnector() {
|
|
19228
19115
|
const config = await getClientConfig();
|
|
19229
|
-
const client =
|
|
19116
|
+
const client = initClient6(zeroComputerConnectorContract, config);
|
|
19230
19117
|
const result = await client.create({
|
|
19231
19118
|
body: {}
|
|
19232
19119
|
});
|
|
@@ -19237,7 +19124,7 @@ async function createZeroComputerConnector() {
|
|
|
19237
19124
|
}
|
|
19238
19125
|
async function deleteZeroComputerConnector() {
|
|
19239
19126
|
const config = await getClientConfig();
|
|
19240
|
-
const client =
|
|
19127
|
+
const client = initClient6(zeroComputerConnectorContract, config);
|
|
19241
19128
|
const result = await client.delete({});
|
|
19242
19129
|
if (result.status === 204) {
|
|
19243
19130
|
return;
|
|
@@ -19246,10 +19133,10 @@ async function deleteZeroComputerConnector() {
|
|
|
19246
19133
|
}
|
|
19247
19134
|
|
|
19248
19135
|
// src/lib/api/domains/logs.ts
|
|
19249
|
-
import { initClient as
|
|
19136
|
+
import { initClient as initClient7 } from "@ts-rest/core";
|
|
19250
19137
|
async function getSystemLog(runId, options) {
|
|
19251
19138
|
const config = await getClientConfig();
|
|
19252
|
-
const client =
|
|
19139
|
+
const client = initClient7(runSystemLogContract, config);
|
|
19253
19140
|
const result = await client.getSystemLog({
|
|
19254
19141
|
params: { id: runId },
|
|
19255
19142
|
query: {
|
|
@@ -19265,7 +19152,7 @@ async function getSystemLog(runId, options) {
|
|
|
19265
19152
|
}
|
|
19266
19153
|
async function getMetrics(runId, options) {
|
|
19267
19154
|
const config = await getClientConfig();
|
|
19268
|
-
const client =
|
|
19155
|
+
const client = initClient7(runMetricsContract, config);
|
|
19269
19156
|
const result = await client.getMetrics({
|
|
19270
19157
|
params: { id: runId },
|
|
19271
19158
|
query: {
|
|
@@ -19281,7 +19168,7 @@ async function getMetrics(runId, options) {
|
|
|
19281
19168
|
}
|
|
19282
19169
|
async function getAgentEvents(runId, options) {
|
|
19283
19170
|
const config = await getClientConfig();
|
|
19284
|
-
const client =
|
|
19171
|
+
const client = initClient7(runAgentEventsContract, config);
|
|
19285
19172
|
const result = await client.getAgentEvents({
|
|
19286
19173
|
params: { id: runId },
|
|
19287
19174
|
query: {
|
|
@@ -19297,7 +19184,7 @@ async function getAgentEvents(runId, options) {
|
|
|
19297
19184
|
}
|
|
19298
19185
|
async function getNetworkLogs(runId, options) {
|
|
19299
19186
|
const config = await getClientConfig();
|
|
19300
|
-
const client =
|
|
19187
|
+
const client = initClient7(runNetworkLogsContract, config);
|
|
19301
19188
|
const result = await client.getNetworkLogs({
|
|
19302
19189
|
params: { id: runId },
|
|
19303
19190
|
query: {
|
|
@@ -19313,7 +19200,7 @@ async function getNetworkLogs(runId, options) {
|
|
|
19313
19200
|
}
|
|
19314
19201
|
async function searchLogs(options) {
|
|
19315
19202
|
const config = await getClientConfig();
|
|
19316
|
-
const client =
|
|
19203
|
+
const client = initClient7(logsSearchContract, config);
|
|
19317
19204
|
const result = await client.searchLogs({
|
|
19318
19205
|
query: {
|
|
19319
19206
|
keyword: options.keyword,
|
|
@@ -19332,10 +19219,10 @@ async function searchLogs(options) {
|
|
|
19332
19219
|
}
|
|
19333
19220
|
|
|
19334
19221
|
// src/lib/api/domains/runs.ts
|
|
19335
|
-
import { initClient as
|
|
19222
|
+
import { initClient as initClient8 } from "@ts-rest/core";
|
|
19336
19223
|
async function createRun(body) {
|
|
19337
19224
|
const config = await getClientConfig();
|
|
19338
|
-
const client =
|
|
19225
|
+
const client = initClient8(runsMainContract, config);
|
|
19339
19226
|
const result = await client.create({ body });
|
|
19340
19227
|
if (result.status === 201) {
|
|
19341
19228
|
return result.body;
|
|
@@ -19344,7 +19231,7 @@ async function createRun(body) {
|
|
|
19344
19231
|
}
|
|
19345
19232
|
async function getEvents(runId, options) {
|
|
19346
19233
|
const config = await getClientConfig();
|
|
19347
|
-
const client =
|
|
19234
|
+
const client = initClient8(runEventsContract, config);
|
|
19348
19235
|
const result = await client.getEvents({
|
|
19349
19236
|
params: { id: runId },
|
|
19350
19237
|
query: {
|
|
@@ -19359,7 +19246,7 @@ async function getEvents(runId, options) {
|
|
|
19359
19246
|
}
|
|
19360
19247
|
async function listRuns(params) {
|
|
19361
19248
|
const config = await getClientConfig();
|
|
19362
|
-
const client =
|
|
19249
|
+
const client = initClient8(runsMainContract, config);
|
|
19363
19250
|
const result = await client.list({
|
|
19364
19251
|
query: {
|
|
19365
19252
|
status: params?.status,
|
|
@@ -19376,7 +19263,7 @@ async function listRuns(params) {
|
|
|
19376
19263
|
}
|
|
19377
19264
|
async function getRunQueue() {
|
|
19378
19265
|
const config = await getClientConfig();
|
|
19379
|
-
const client =
|
|
19266
|
+
const client = initClient8(runsQueueContract, config);
|
|
19380
19267
|
const result = await client.getQueue({ headers: {} });
|
|
19381
19268
|
if (result.status === 200) {
|
|
19382
19269
|
return result.body;
|
|
@@ -19385,7 +19272,7 @@ async function getRunQueue() {
|
|
|
19385
19272
|
}
|
|
19386
19273
|
async function cancelRun(runId) {
|
|
19387
19274
|
const config = await getClientConfig();
|
|
19388
|
-
const client =
|
|
19275
|
+
const client = initClient8(runsCancelContract, config);
|
|
19389
19276
|
const result = await client.cancel({
|
|
19390
19277
|
params: { id: runId }
|
|
19391
19278
|
});
|
|
@@ -19396,10 +19283,10 @@ async function cancelRun(runId) {
|
|
|
19396
19283
|
}
|
|
19397
19284
|
|
|
19398
19285
|
// src/lib/api/domains/sessions.ts
|
|
19399
|
-
import { initClient as
|
|
19286
|
+
import { initClient as initClient9 } from "@ts-rest/core";
|
|
19400
19287
|
async function getSession(sessionId) {
|
|
19401
19288
|
const config = await getClientConfig();
|
|
19402
|
-
const client =
|
|
19289
|
+
const client = initClient9(sessionsByIdContract, config);
|
|
19403
19290
|
const result = await client.getById({
|
|
19404
19291
|
params: { id: sessionId }
|
|
19405
19292
|
});
|
|
@@ -19412,7 +19299,7 @@ async function getSession(sessionId) {
|
|
|
19412
19299
|
}
|
|
19413
19300
|
async function getCheckpoint(checkpointId) {
|
|
19414
19301
|
const config = await getClientConfig();
|
|
19415
|
-
const client =
|
|
19302
|
+
const client = initClient9(checkpointsByIdContract, config);
|
|
19416
19303
|
const result = await client.getById({
|
|
19417
19304
|
params: { id: checkpointId }
|
|
19418
19305
|
});
|
|
@@ -19423,10 +19310,10 @@ async function getCheckpoint(checkpointId) {
|
|
|
19423
19310
|
}
|
|
19424
19311
|
|
|
19425
19312
|
// src/lib/api/domains/storages.ts
|
|
19426
|
-
import { initClient as
|
|
19313
|
+
import { initClient as initClient10 } from "@ts-rest/core";
|
|
19427
19314
|
async function prepareStorage(body) {
|
|
19428
19315
|
const config = await getClientConfig();
|
|
19429
|
-
const client =
|
|
19316
|
+
const client = initClient10(storagesPrepareContract, config);
|
|
19430
19317
|
const result = await client.prepare({ body });
|
|
19431
19318
|
if (result.status === 200) {
|
|
19432
19319
|
return result.body;
|
|
@@ -19435,7 +19322,7 @@ async function prepareStorage(body) {
|
|
|
19435
19322
|
}
|
|
19436
19323
|
async function commitStorage(body) {
|
|
19437
19324
|
const config = await getClientConfig();
|
|
19438
|
-
const client =
|
|
19325
|
+
const client = initClient10(storagesCommitContract, config);
|
|
19439
19326
|
const result = await client.commit({ body });
|
|
19440
19327
|
if (result.status === 200) {
|
|
19441
19328
|
return result.body;
|
|
@@ -19444,7 +19331,7 @@ async function commitStorage(body) {
|
|
|
19444
19331
|
}
|
|
19445
19332
|
async function getStorageDownload(query) {
|
|
19446
19333
|
const config = await getClientConfig();
|
|
19447
|
-
const client =
|
|
19334
|
+
const client = initClient10(storagesDownloadContract, config);
|
|
19448
19335
|
const result = await client.download({
|
|
19449
19336
|
query: {
|
|
19450
19337
|
name: query.name,
|
|
@@ -19459,7 +19346,7 @@ async function getStorageDownload(query) {
|
|
|
19459
19346
|
}
|
|
19460
19347
|
async function listStorages(query) {
|
|
19461
19348
|
const config = await getClientConfig();
|
|
19462
|
-
const client =
|
|
19349
|
+
const client = initClient10(storagesListContract, config);
|
|
19463
19350
|
const result = await client.list({ query });
|
|
19464
19351
|
if (result.status === 200) {
|
|
19465
19352
|
return result.body;
|
|
@@ -19467,6 +19354,116 @@ async function listStorages(query) {
|
|
|
19467
19354
|
handleError(result, `Failed to list ${query.type}s`);
|
|
19468
19355
|
}
|
|
19469
19356
|
|
|
19357
|
+
// src/lib/api/domains/zero-orgs.ts
|
|
19358
|
+
import { initClient as initClient11 } from "@ts-rest/core";
|
|
19359
|
+
async function getUserTokenClientConfig() {
|
|
19360
|
+
const baseUrl = await getBaseUrl();
|
|
19361
|
+
const token = await getToken();
|
|
19362
|
+
if (!token) {
|
|
19363
|
+
throw new ApiRequestError("Not authenticated", "UNAUTHORIZED", 401);
|
|
19364
|
+
}
|
|
19365
|
+
const headers = {
|
|
19366
|
+
Authorization: `Bearer ${token}`
|
|
19367
|
+
};
|
|
19368
|
+
const bypassSecret = process.env.VERCEL_AUTOMATION_BYPASS_SECRET;
|
|
19369
|
+
if (bypassSecret) {
|
|
19370
|
+
headers["x-vercel-protection-bypass"] = bypassSecret;
|
|
19371
|
+
}
|
|
19372
|
+
return { baseUrl, baseHeaders: headers, jsonQuery: false };
|
|
19373
|
+
}
|
|
19374
|
+
async function getZeroOrg() {
|
|
19375
|
+
const config = await getClientConfig();
|
|
19376
|
+
const client = initClient11(zeroOrgContract, config);
|
|
19377
|
+
const result = await client.get({ headers: {} });
|
|
19378
|
+
if (result.status === 200) {
|
|
19379
|
+
return result.body;
|
|
19380
|
+
}
|
|
19381
|
+
handleError(result, "Failed to get organization");
|
|
19382
|
+
}
|
|
19383
|
+
async function updateZeroOrg(body) {
|
|
19384
|
+
const config = await getClientConfig();
|
|
19385
|
+
const client = initClient11(zeroOrgContract, config);
|
|
19386
|
+
const result = await client.update({ body });
|
|
19387
|
+
if (result.status === 200) {
|
|
19388
|
+
return result.body;
|
|
19389
|
+
}
|
|
19390
|
+
handleError(result, "Failed to update organization");
|
|
19391
|
+
}
|
|
19392
|
+
async function listZeroOrgs() {
|
|
19393
|
+
const config = await getUserTokenClientConfig();
|
|
19394
|
+
const client = initClient11(zeroOrgListContract, config);
|
|
19395
|
+
const result = await client.list({ headers: {} });
|
|
19396
|
+
if (result.status === 200) {
|
|
19397
|
+
return result.body;
|
|
19398
|
+
}
|
|
19399
|
+
handleError(result, "Failed to list organizations");
|
|
19400
|
+
}
|
|
19401
|
+
async function getZeroOrgMembers() {
|
|
19402
|
+
const config = await getClientConfig();
|
|
19403
|
+
const client = initClient11(zeroOrgMembersContract, config);
|
|
19404
|
+
const result = await client.members({ headers: {} });
|
|
19405
|
+
if (result.status === 200) {
|
|
19406
|
+
return result.body;
|
|
19407
|
+
}
|
|
19408
|
+
handleError(result, "Failed to get organization members");
|
|
19409
|
+
}
|
|
19410
|
+
async function inviteZeroOrgMember(email) {
|
|
19411
|
+
const config = await getClientConfig();
|
|
19412
|
+
const client = initClient11(zeroOrgInviteContract, config);
|
|
19413
|
+
const result = await client.invite({
|
|
19414
|
+
body: { email }
|
|
19415
|
+
});
|
|
19416
|
+
if (result.status === 200) {
|
|
19417
|
+
return;
|
|
19418
|
+
}
|
|
19419
|
+
handleError(result, "Failed to invite member");
|
|
19420
|
+
}
|
|
19421
|
+
async function removeZeroOrgMember(email) {
|
|
19422
|
+
const config = await getClientConfig();
|
|
19423
|
+
const client = initClient11(zeroOrgMembersContract, config);
|
|
19424
|
+
const result = await client.removeMember({
|
|
19425
|
+
body: { email }
|
|
19426
|
+
});
|
|
19427
|
+
if (result.status === 200) {
|
|
19428
|
+
return;
|
|
19429
|
+
}
|
|
19430
|
+
handleError(result, "Failed to remove member");
|
|
19431
|
+
}
|
|
19432
|
+
async function leaveZeroOrg() {
|
|
19433
|
+
const config = await getClientConfig();
|
|
19434
|
+
const client = initClient11(zeroOrgLeaveContract, config);
|
|
19435
|
+
const result = await client.leave({
|
|
19436
|
+
body: {}
|
|
19437
|
+
});
|
|
19438
|
+
if (result.status === 200) {
|
|
19439
|
+
return;
|
|
19440
|
+
}
|
|
19441
|
+
handleError(result, "Failed to leave organization");
|
|
19442
|
+
}
|
|
19443
|
+
async function deleteZeroOrg(slug) {
|
|
19444
|
+
const config = await getClientConfig();
|
|
19445
|
+
const client = initClient11(zeroOrgDeleteContract, config);
|
|
19446
|
+
const result = await client.delete({
|
|
19447
|
+
body: { slug }
|
|
19448
|
+
});
|
|
19449
|
+
if (result.status === 200) {
|
|
19450
|
+
return;
|
|
19451
|
+
}
|
|
19452
|
+
handleError(result, "Failed to delete organization");
|
|
19453
|
+
}
|
|
19454
|
+
async function switchZeroOrg(slug) {
|
|
19455
|
+
const config = await getUserTokenClientConfig();
|
|
19456
|
+
const client = initClient11(cliAuthOrgContract, config);
|
|
19457
|
+
const result = await client.switchOrg({
|
|
19458
|
+
headers: {},
|
|
19459
|
+
body: { slug }
|
|
19460
|
+
});
|
|
19461
|
+
if (result.status === 200) {
|
|
19462
|
+
return result.body;
|
|
19463
|
+
}
|
|
19464
|
+
handleError(result, "Failed to switch organization");
|
|
19465
|
+
}
|
|
19466
|
+
|
|
19470
19467
|
// src/lib/api/domains/zero-org-secrets.ts
|
|
19471
19468
|
import { initClient as initClient12 } from "@ts-rest/core";
|
|
19472
19469
|
async function listZeroOrgSecrets() {
|
|
@@ -19664,40 +19661,40 @@ async function updateZeroAgentInstructions(id, content) {
|
|
|
19664
19661
|
handleError(result, `Failed to update instructions for zero agent "${id}"`);
|
|
19665
19662
|
}
|
|
19666
19663
|
|
|
19667
|
-
// src/lib/api/domains/zero-
|
|
19664
|
+
// src/lib/api/domains/zero-skills.ts
|
|
19668
19665
|
import { initClient as initClient16 } from "@ts-rest/core";
|
|
19669
|
-
async function
|
|
19666
|
+
async function listSkills() {
|
|
19670
19667
|
const config = await getClientConfig();
|
|
19671
|
-
const client = initClient16(
|
|
19672
|
-
const result = await client.list(
|
|
19668
|
+
const client = initClient16(zeroSkillsCollectionContract, config);
|
|
19669
|
+
const result = await client.list();
|
|
19673
19670
|
if (result.status === 200) return result.body;
|
|
19674
|
-
handleError(result,
|
|
19671
|
+
handleError(result, "Failed to list skills");
|
|
19675
19672
|
}
|
|
19676
|
-
async function
|
|
19673
|
+
async function createSkill(body) {
|
|
19677
19674
|
const config = await getClientConfig();
|
|
19678
|
-
const client = initClient16(
|
|
19679
|
-
const result = await client.create({
|
|
19675
|
+
const client = initClient16(zeroSkillsCollectionContract, config);
|
|
19676
|
+
const result = await client.create({ body });
|
|
19680
19677
|
if (result.status === 201) return result.body;
|
|
19681
19678
|
handleError(result, `Failed to create skill "${body.name}"`);
|
|
19682
19679
|
}
|
|
19683
|
-
async function
|
|
19680
|
+
async function getSkill(name) {
|
|
19684
19681
|
const config = await getClientConfig();
|
|
19685
|
-
const client = initClient16(
|
|
19686
|
-
const result = await client.get({ params: {
|
|
19682
|
+
const client = initClient16(zeroSkillsDetailContract, config);
|
|
19683
|
+
const result = await client.get({ params: { name } });
|
|
19687
19684
|
if (result.status === 200) return result.body;
|
|
19688
19685
|
handleError(result, `Skill "${name}" not found`);
|
|
19689
19686
|
}
|
|
19690
|
-
async function
|
|
19687
|
+
async function updateSkill(name, body) {
|
|
19691
19688
|
const config = await getClientConfig();
|
|
19692
|
-
const client = initClient16(
|
|
19693
|
-
const result = await client.update({ params: {
|
|
19689
|
+
const client = initClient16(zeroSkillsDetailContract, config);
|
|
19690
|
+
const result = await client.update({ params: { name }, body });
|
|
19694
19691
|
if (result.status === 200) return result.body;
|
|
19695
19692
|
handleError(result, `Failed to update skill "${name}"`);
|
|
19696
19693
|
}
|
|
19697
|
-
async function
|
|
19694
|
+
async function deleteSkill(name) {
|
|
19698
19695
|
const config = await getClientConfig();
|
|
19699
|
-
const client = initClient16(
|
|
19700
|
-
const result = await client.delete({ params: {
|
|
19696
|
+
const client = initClient16(zeroSkillsDetailContract, config);
|
|
19697
|
+
const result = await client.delete({ params: { name } });
|
|
19701
19698
|
if (result.status === 204) return;
|
|
19702
19699
|
handleError(result, `Skill "${name}" not found`);
|
|
19703
19700
|
}
|
|
@@ -20596,22 +20593,14 @@ function parseIdentifier(identifier) {
|
|
|
20596
20593
|
if (isUUID(identifier)) {
|
|
20597
20594
|
return { name: identifier };
|
|
20598
20595
|
}
|
|
20599
|
-
|
|
20600
|
-
|
|
20601
|
-
const slashIndex = identifier.indexOf("/");
|
|
20602
|
-
if (slashIndex > 0) {
|
|
20603
|
-
org = identifier.slice(0, slashIndex);
|
|
20604
|
-
rest = identifier.slice(slashIndex + 1);
|
|
20605
|
-
}
|
|
20606
|
-
const colonIndex = rest.indexOf(":");
|
|
20607
|
-
if (colonIndex > 0 && colonIndex < rest.length - 1) {
|
|
20596
|
+
const colonIndex = identifier.indexOf(":");
|
|
20597
|
+
if (colonIndex > 0 && colonIndex < identifier.length - 1) {
|
|
20608
20598
|
return {
|
|
20609
|
-
|
|
20610
|
-
|
|
20611
|
-
version: rest.slice(colonIndex + 1)
|
|
20599
|
+
name: identifier.slice(0, colonIndex),
|
|
20600
|
+
version: identifier.slice(colonIndex + 1)
|
|
20612
20601
|
};
|
|
20613
20602
|
}
|
|
20614
|
-
return {
|
|
20603
|
+
return { name: identifier };
|
|
20615
20604
|
}
|
|
20616
20605
|
function renderRunCreated(response) {
|
|
20617
20606
|
if (response.status === "queued") {
|
|
@@ -20796,11 +20785,11 @@ export {
|
|
|
20796
20785
|
getZeroAgentUserConnectors,
|
|
20797
20786
|
setZeroAgentUserConnectors,
|
|
20798
20787
|
updateZeroAgentInstructions,
|
|
20799
|
-
|
|
20800
|
-
|
|
20801
|
-
|
|
20802
|
-
|
|
20803
|
-
|
|
20788
|
+
listSkills,
|
|
20789
|
+
createSkill,
|
|
20790
|
+
getSkill,
|
|
20791
|
+
updateSkill,
|
|
20792
|
+
deleteSkill,
|
|
20804
20793
|
listZeroConnectors,
|
|
20805
20794
|
getZeroConnector,
|
|
20806
20795
|
deleteZeroConnector,
|
|
@@ -20845,4 +20834,4 @@ export {
|
|
|
20845
20834
|
pollEvents,
|
|
20846
20835
|
showNextSteps
|
|
20847
20836
|
};
|
|
20848
|
-
//# sourceMappingURL=chunk-
|
|
20837
|
+
//# sourceMappingURL=chunk-HZQ6GQVS.js.map
|