@rudderhq/shared 0.7.2-canary.0 → 0.7.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/dist/computer-use.d.ts +325 -0
- package/dist/computer-use.d.ts.map +1 -0
- package/dist/computer-use.js +251 -0
- package/dist/computer-use.js.map +1 -0
- package/dist/computer-use.test.d.ts +2 -0
- package/dist/computer-use.test.d.ts.map +1 -0
- package/dist/computer-use.test.js +32 -0
- package/dist/computer-use.test.js.map +1 -0
- package/dist/config-schema.d.ts +7 -7
- package/dist/constants.d.ts +46 -128
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +66 -302
- package/dist/constants.js.map +1 -1
- package/dist/index.d.ts +12 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -5
- package/dist/index.js.map +1 -1
- package/dist/project-mentions.d.ts +7 -0
- package/dist/project-mentions.d.ts.map +1 -1
- package/dist/project-mentions.js +34 -0
- package/dist/project-mentions.js.map +1 -1
- package/dist/project-mentions.test.js +6 -1
- package/dist/project-mentions.test.js.map +1 -1
- package/dist/types/app-builder.d.ts +1 -1
- package/dist/types/app-builder.d.ts.map +1 -1
- package/dist/types/chat.d.ts +5 -1
- package/dist/types/chat.d.ts.map +1 -1
- package/dist/types/goal.d.ts +267 -1
- package/dist/types/goal.d.ts.map +1 -1
- package/dist/types/index.d.ts +3 -3
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/instance.d.ts +3 -0
- package/dist/types/instance.d.ts.map +1 -1
- package/dist/types/issue.d.ts +1 -0
- package/dist/types/issue.d.ts.map +1 -1
- package/dist/types/mcp.d.ts +7 -2
- package/dist/types/mcp.d.ts.map +1 -1
- package/dist/types/organization-skill.d.ts +1 -0
- package/dist/types/organization-skill.d.ts.map +1 -1
- package/dist/types/plugin-v1.d.ts +158 -0
- package/dist/types/plugin-v1.d.ts.map +1 -0
- package/dist/types/plugin-v1.js +2 -0
- package/dist/types/plugin-v1.js.map +1 -0
- package/dist/validators/access.d.ts +3 -3
- package/dist/validators/adapter-skills.d.ts +12 -12
- package/dist/validators/agent-issue-creation.d.ts +29 -0
- package/dist/validators/agent-issue-creation.d.ts.map +1 -0
- package/dist/validators/agent-issue-creation.js +13 -0
- package/dist/validators/agent-issue-creation.js.map +1 -0
- package/dist/validators/agent-issue-creation.test.d.ts +2 -0
- package/dist/validators/agent-issue-creation.test.d.ts.map +1 -0
- package/dist/validators/agent-issue-creation.test.js +64 -0
- package/dist/validators/agent-issue-creation.test.js.map +1 -0
- package/dist/validators/agent.d.ts +11 -11
- package/dist/validators/app-builder.d.ts +15 -15
- package/dist/validators/app-builder.d.ts.map +1 -1
- package/dist/validators/app-builder.js +13 -3
- package/dist/validators/app-builder.js.map +1 -1
- package/dist/validators/app-builder.test.js +25 -1
- package/dist/validators/app-builder.test.js.map +1 -1
- package/dist/validators/approval.d.ts +3 -3
- package/dist/validators/budget.d.ts +7 -7
- package/dist/validators/calendar.d.ts +11 -11
- package/dist/validators/chat.d.ts +18 -18
- package/dist/validators/cost.d.ts +4 -4
- package/dist/validators/finance.d.ts +13 -13
- package/dist/validators/goal.d.ts +1015 -20
- package/dist/validators/goal.d.ts.map +1 -1
- package/dist/validators/goal.js +182 -5
- package/dist/validators/goal.js.map +1 -1
- package/dist/validators/index.d.ts +3 -2
- package/dist/validators/index.d.ts.map +1 -1
- package/dist/validators/index.js +3 -2
- package/dist/validators/index.js.map +1 -1
- package/dist/validators/instance.d.ts +18 -0
- package/dist/validators/instance.d.ts.map +1 -1
- package/dist/validators/instance.js +3 -0
- package/dist/validators/instance.js.map +1 -1
- package/dist/validators/instance.test.js +2 -0
- package/dist/validators/instance.test.js.map +1 -1
- package/dist/validators/issue.d.ts +15 -2
- package/dist/validators/issue.d.ts.map +1 -1
- package/dist/validators/issue.js +3 -0
- package/dist/validators/issue.js.map +1 -1
- package/dist/validators/issue.test.d.ts +2 -0
- package/dist/validators/issue.test.d.ts.map +1 -0
- package/dist/validators/issue.test.js +15 -0
- package/dist/validators/issue.test.js.map +1 -0
- package/dist/validators/mcp.d.ts +243 -55
- package/dist/validators/mcp.d.ts.map +1 -1
- package/dist/validators/mcp.js +57 -4
- package/dist/validators/mcp.js.map +1 -1
- package/dist/validators/mcp.test.js +78 -58
- package/dist/validators/mcp.test.js.map +1 -1
- package/dist/validators/organization-intelligence-profile.d.ts +3 -3
- package/dist/validators/organization-portability.d.ts +82 -82
- package/dist/validators/organization-skill.d.ts +60 -60
- package/dist/validators/plugin-v1.d.ts +183 -0
- package/dist/validators/plugin-v1.d.ts.map +1 -0
- package/dist/validators/plugin-v1.js +47 -0
- package/dist/validators/plugin-v1.js.map +1 -0
- package/dist/validators/project.d.ts +20 -20
- package/dist/validators/resource.d.ts +8 -8
- package/dist/validators/secret.d.ts +2 -2
- package/dist/validators/work-product.d.ts +8 -8
- package/package.json +10 -1
- package/dist/types/plugin.d.ts +0 -419
- package/dist/types/plugin.d.ts.map +0 -1
- package/dist/types/plugin.js +0 -2
- package/dist/types/plugin.js.map +0 -1
- package/dist/validators/plugin.d.ts +0 -1173
- package/dist/validators/plugin.d.ts.map +0 -1
- package/dist/validators/plugin.js +0 -547
- package/dist/validators/plugin.js.map +0 -1
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const rudderPluginPackageFileSchema: z.ZodObject<{
|
|
3
|
+
path: z.ZodString;
|
|
4
|
+
content: z.ZodString;
|
|
5
|
+
encoding: z.ZodDefault<z.ZodOptional<z.ZodEnum<["utf8", "base64"]>>>;
|
|
6
|
+
}, "strict", z.ZodTypeAny, {
|
|
7
|
+
path: string;
|
|
8
|
+
content: string;
|
|
9
|
+
encoding: "base64" | "utf8";
|
|
10
|
+
}, {
|
|
11
|
+
path: string;
|
|
12
|
+
content: string;
|
|
13
|
+
encoding?: "base64" | "utf8" | undefined;
|
|
14
|
+
}>;
|
|
15
|
+
export declare const inspectRudderPluginSchema: z.ZodObject<{
|
|
16
|
+
sourceLabel: z.ZodString;
|
|
17
|
+
sourceType: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"local_upload">>>;
|
|
18
|
+
files: z.ZodArray<z.ZodObject<{
|
|
19
|
+
path: z.ZodString;
|
|
20
|
+
content: z.ZodString;
|
|
21
|
+
encoding: z.ZodDefault<z.ZodOptional<z.ZodEnum<["utf8", "base64"]>>>;
|
|
22
|
+
}, "strict", z.ZodTypeAny, {
|
|
23
|
+
path: string;
|
|
24
|
+
content: string;
|
|
25
|
+
encoding: "base64" | "utf8";
|
|
26
|
+
}, {
|
|
27
|
+
path: string;
|
|
28
|
+
content: string;
|
|
29
|
+
encoding?: "base64" | "utf8" | undefined;
|
|
30
|
+
}>, "many">;
|
|
31
|
+
}, "strict", z.ZodTypeAny, {
|
|
32
|
+
sourceType: "local_upload";
|
|
33
|
+
files: {
|
|
34
|
+
path: string;
|
|
35
|
+
content: string;
|
|
36
|
+
encoding: "base64" | "utf8";
|
|
37
|
+
}[];
|
|
38
|
+
sourceLabel: string;
|
|
39
|
+
}, {
|
|
40
|
+
files: {
|
|
41
|
+
path: string;
|
|
42
|
+
content: string;
|
|
43
|
+
encoding?: "base64" | "utf8" | undefined;
|
|
44
|
+
}[];
|
|
45
|
+
sourceLabel: string;
|
|
46
|
+
sourceType?: "local_upload" | undefined;
|
|
47
|
+
}>;
|
|
48
|
+
export declare const inspectRudderPluginArchiveSchema: z.ZodObject<{
|
|
49
|
+
sourceLabel: z.ZodString;
|
|
50
|
+
filename: z.ZodEffects<z.ZodString, string, string>;
|
|
51
|
+
content: z.ZodString;
|
|
52
|
+
encoding: z.ZodLiteral<"base64">;
|
|
53
|
+
}, "strict", z.ZodTypeAny, {
|
|
54
|
+
content: string;
|
|
55
|
+
encoding: "base64";
|
|
56
|
+
sourceLabel: string;
|
|
57
|
+
filename: string;
|
|
58
|
+
}, {
|
|
59
|
+
content: string;
|
|
60
|
+
encoding: "base64";
|
|
61
|
+
sourceLabel: string;
|
|
62
|
+
filename: string;
|
|
63
|
+
}>;
|
|
64
|
+
export declare const configureRudderPluginMarketplaceSchema: z.ZodEffects<z.ZodObject<{
|
|
65
|
+
sourceLabel: z.ZodString;
|
|
66
|
+
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
67
|
+
path: z.ZodString;
|
|
68
|
+
content: z.ZodString;
|
|
69
|
+
encoding: z.ZodDefault<z.ZodOptional<z.ZodEnum<["utf8", "base64"]>>>;
|
|
70
|
+
}, "strict", z.ZodTypeAny, {
|
|
71
|
+
path: string;
|
|
72
|
+
content: string;
|
|
73
|
+
encoding: "base64" | "utf8";
|
|
74
|
+
}, {
|
|
75
|
+
path: string;
|
|
76
|
+
content: string;
|
|
77
|
+
encoding?: "base64" | "utf8" | undefined;
|
|
78
|
+
}>, "many">>;
|
|
79
|
+
github: z.ZodOptional<z.ZodObject<{
|
|
80
|
+
repository: z.ZodString;
|
|
81
|
+
commit: z.ZodString;
|
|
82
|
+
}, "strict", z.ZodTypeAny, {
|
|
83
|
+
commit: string;
|
|
84
|
+
repository: string;
|
|
85
|
+
}, {
|
|
86
|
+
commit: string;
|
|
87
|
+
repository: string;
|
|
88
|
+
}>>;
|
|
89
|
+
}, "strict", z.ZodTypeAny, {
|
|
90
|
+
sourceLabel: string;
|
|
91
|
+
github?: {
|
|
92
|
+
commit: string;
|
|
93
|
+
repository: string;
|
|
94
|
+
} | undefined;
|
|
95
|
+
files?: {
|
|
96
|
+
path: string;
|
|
97
|
+
content: string;
|
|
98
|
+
encoding: "base64" | "utf8";
|
|
99
|
+
}[] | undefined;
|
|
100
|
+
}, {
|
|
101
|
+
sourceLabel: string;
|
|
102
|
+
github?: {
|
|
103
|
+
commit: string;
|
|
104
|
+
repository: string;
|
|
105
|
+
} | undefined;
|
|
106
|
+
files?: {
|
|
107
|
+
path: string;
|
|
108
|
+
content: string;
|
|
109
|
+
encoding?: "base64" | "utf8" | undefined;
|
|
110
|
+
}[] | undefined;
|
|
111
|
+
}>, {
|
|
112
|
+
sourceLabel: string;
|
|
113
|
+
github?: {
|
|
114
|
+
commit: string;
|
|
115
|
+
repository: string;
|
|
116
|
+
} | undefined;
|
|
117
|
+
files?: {
|
|
118
|
+
path: string;
|
|
119
|
+
content: string;
|
|
120
|
+
encoding: "base64" | "utf8";
|
|
121
|
+
}[] | undefined;
|
|
122
|
+
}, {
|
|
123
|
+
sourceLabel: string;
|
|
124
|
+
github?: {
|
|
125
|
+
commit: string;
|
|
126
|
+
repository: string;
|
|
127
|
+
} | undefined;
|
|
128
|
+
files?: {
|
|
129
|
+
path: string;
|
|
130
|
+
content: string;
|
|
131
|
+
encoding?: "base64" | "utf8" | undefined;
|
|
132
|
+
}[] | undefined;
|
|
133
|
+
}>;
|
|
134
|
+
export declare const installRudderPluginSchema: z.ZodObject<{
|
|
135
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
136
|
+
confirmAccessExpansion: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
137
|
+
skillConflictStrategy: z.ZodOptional<z.ZodEnum<["keep", "replace", "rename"]>>;
|
|
138
|
+
}, "strict", z.ZodTypeAny, {
|
|
139
|
+
enabled: boolean;
|
|
140
|
+
confirmAccessExpansion: boolean;
|
|
141
|
+
skillConflictStrategy?: "rename" | "replace" | "keep" | undefined;
|
|
142
|
+
}, {
|
|
143
|
+
enabled?: boolean | undefined;
|
|
144
|
+
confirmAccessExpansion?: boolean | undefined;
|
|
145
|
+
skillConflictStrategy?: "rename" | "replace" | "keep" | undefined;
|
|
146
|
+
}>;
|
|
147
|
+
export declare const updateRudderPluginEnablementSchema: z.ZodObject<{
|
|
148
|
+
enabled: z.ZodBoolean;
|
|
149
|
+
}, "strict", z.ZodTypeAny, {
|
|
150
|
+
enabled: boolean;
|
|
151
|
+
}, {
|
|
152
|
+
enabled: boolean;
|
|
153
|
+
}>;
|
|
154
|
+
export declare const configureRudderPluginSkillsSchema: z.ZodObject<{
|
|
155
|
+
agentIds: z.ZodArray<z.ZodString, "many">;
|
|
156
|
+
}, "strict", z.ZodTypeAny, {
|
|
157
|
+
agentIds: string[];
|
|
158
|
+
}, {
|
|
159
|
+
agentIds: string[];
|
|
160
|
+
}>;
|
|
161
|
+
export declare const configureRudderPluginMcpSchema: z.ZodObject<{
|
|
162
|
+
componentId: z.ZodString;
|
|
163
|
+
}, "strict", z.ZodTypeAny, {
|
|
164
|
+
componentId: string;
|
|
165
|
+
}, {
|
|
166
|
+
componentId: string;
|
|
167
|
+
}>;
|
|
168
|
+
export declare const customizeRudderPluginSkillSchema: z.ZodObject<{
|
|
169
|
+
componentId: z.ZodString;
|
|
170
|
+
}, "strict", z.ZodTypeAny, {
|
|
171
|
+
componentId: string;
|
|
172
|
+
}, {
|
|
173
|
+
componentId: string;
|
|
174
|
+
}>;
|
|
175
|
+
export type InspectRudderPlugin = z.infer<typeof inspectRudderPluginSchema>;
|
|
176
|
+
export type InspectRudderPluginArchive = z.infer<typeof inspectRudderPluginArchiveSchema>;
|
|
177
|
+
export type ConfigureRudderPluginMarketplace = z.infer<typeof configureRudderPluginMarketplaceSchema>;
|
|
178
|
+
export type InstallRudderPlugin = z.infer<typeof installRudderPluginSchema>;
|
|
179
|
+
export type UpdateRudderPluginEnablement = z.infer<typeof updateRudderPluginEnablementSchema>;
|
|
180
|
+
export type ConfigureRudderPluginSkills = z.infer<typeof configureRudderPluginSkillsSchema>;
|
|
181
|
+
export type ConfigureRudderPluginMcp = z.infer<typeof configureRudderPluginMcpSchema>;
|
|
182
|
+
export type CustomizeRudderPluginSkill = z.infer<typeof customizeRudderPluginSkillSchema>;
|
|
183
|
+
//# sourceMappingURL=plugin-v1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-v1.d.ts","sourceRoot":"","sources":["../../src/validators/plugin-v1.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,6BAA6B;;;;;;;;;;;;EAI/B,CAAC;AAEZ,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derPluginPackageFileSchema = z.object({
|
|
3
|
+
path: z.string().min(1).max(1_024),
|
|
4
|
+
content: z.string().max(14_000_000),
|
|
5
|
+
encoding: z.enum(["utf8", "base64"]).optional().default("utf8"),
|
|
6
|
+
}).strict();
|
|
7
|
+
export const inspectRudderPluginSchema = z.object({
|
|
8
|
+
sourceLabel: z.string().trim().min(1).max(240),
|
|
9
|
+
sourceType: z.literal("local_upload").optional().default("local_upload"),
|
|
10
|
+
files: z.array(rudderPluginPackageFileSchema).min(1).max(500),
|
|
11
|
+
}).strict();
|
|
12
|
+
export const inspectRudderPluginArchiveSchema = z.object({
|
|
13
|
+
sourceLabel: z.string().trim().min(1).max(240),
|
|
14
|
+
filename: z.string().trim().min(1).max(240).refine((value) => /\.zip$/i.test(value), "Only ZIP Plugin archives are supported"),
|
|
15
|
+
content: z.string().min(1).max(14_000_000),
|
|
16
|
+
encoding: z.literal("base64"),
|
|
17
|
+
}).strict();
|
|
18
|
+
export const configureRudderPluginMarketplaceSchema = z.object({
|
|
19
|
+
sourceLabel: z.string().trim().min(1).max(240),
|
|
20
|
+
files: z.array(rudderPluginPackageFileSchema).min(1).max(500).optional(),
|
|
21
|
+
github: z.object({
|
|
22
|
+
repository: z.string().url().max(500),
|
|
23
|
+
commit: z.string().regex(/^[0-9a-f]{40}$/i, "A full 40-character Git commit SHA is required"),
|
|
24
|
+
}).strict().optional(),
|
|
25
|
+
}).strict().superRefine((value, ctx) => {
|
|
26
|
+
if (Boolean(value.files) === Boolean(value.github)) {
|
|
27
|
+
ctx.addIssue({ code: z.ZodIssueCode.custom, message: "Provide exactly one local marketplace folder or pinned GitHub marketplace" });
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
export const installRudderPluginSchema = z.object({
|
|
31
|
+
enabled: z.boolean().optional().default(true),
|
|
32
|
+
confirmAccessExpansion: z.boolean().optional().default(false),
|
|
33
|
+
skillConflictStrategy: z.enum(["keep", "replace", "rename"]).optional(),
|
|
34
|
+
}).strict();
|
|
35
|
+
export const updateRudderPluginEnablementSchema = z.object({
|
|
36
|
+
enabled: z.boolean(),
|
|
37
|
+
}).strict();
|
|
38
|
+
export const configureRudderPluginSkillsSchema = z.object({
|
|
39
|
+
agentIds: z.array(z.string().uuid()).max(100),
|
|
40
|
+
}).strict();
|
|
41
|
+
export const configureRudderPluginMcpSchema = z.object({
|
|
42
|
+
componentId: z.string().uuid(),
|
|
43
|
+
}).strict();
|
|
44
|
+
export const customizeRudderPluginSkillSchema = z.object({
|
|
45
|
+
componentId: z.string().uuid(),
|
|
46
|
+
}).strict();
|
|
47
|
+
//# sourceMappingURL=plugin-v1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-v1.js","sourceRoot":"","sources":["../../src/validators/plugin-v1.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,CAAC;IACpD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC;IAClC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,UAAU,CAAC;IACnC,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC;CAChE,CAAC,CAAC,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChD,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;IAC9C,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,cA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EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IACrD,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CAC/B,CAAC,CAAC,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,MAAM,CAAC;IACvD,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CAC/B,CAAC,CAAC,MAAM,EAAE,CAAC"}
|
|
@@ -280,13 +280,13 @@ export declare const createProjectSchema: z.ZodObject<{
|
|
|
280
280
|
}, "strict", z.ZodTypeAny, {
|
|
281
281
|
resourceId: string;
|
|
282
282
|
sortOrder?: number | undefined;
|
|
283
|
-
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
284
283
|
note?: string | null | undefined;
|
|
284
|
+
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
285
285
|
}, {
|
|
286
286
|
resourceId: string;
|
|
287
287
|
sortOrder?: number | undefined;
|
|
288
|
-
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
289
288
|
note?: string | null | undefined;
|
|
289
|
+
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
290
290
|
}>, "many">>;
|
|
291
291
|
newResources: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
292
292
|
name: z.ZodString;
|
|
@@ -307,8 +307,8 @@ export declare const createProjectSchema: z.ZodObject<{
|
|
|
307
307
|
description?: string | null | undefined;
|
|
308
308
|
metadata?: Record<string, unknown> | null | undefined;
|
|
309
309
|
sortOrder?: number | undefined;
|
|
310
|
-
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
311
310
|
note?: string | null | undefined;
|
|
311
|
+
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
312
312
|
}, {
|
|
313
313
|
kind: "file" | "url" | "directory" | "connector_object";
|
|
314
314
|
name: string;
|
|
@@ -316,9 +316,9 @@ export declare const createProjectSchema: z.ZodObject<{
|
|
|
316
316
|
description?: string | null | undefined;
|
|
317
317
|
metadata?: Record<string, unknown> | null | undefined;
|
|
318
318
|
sortOrder?: number | undefined;
|
|
319
|
+
note?: string | null | undefined;
|
|
319
320
|
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
320
321
|
sourceType?: "external" | "library" | undefined;
|
|
321
|
-
note?: string | null | undefined;
|
|
322
322
|
}>, {
|
|
323
323
|
kind: "file" | "url" | "directory" | "connector_object";
|
|
324
324
|
name: string;
|
|
@@ -327,8 +327,8 @@ export declare const createProjectSchema: z.ZodObject<{
|
|
|
327
327
|
description?: string | null | undefined;
|
|
328
328
|
metadata?: Record<string, unknown> | null | undefined;
|
|
329
329
|
sortOrder?: number | undefined;
|
|
330
|
-
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
331
330
|
note?: string | null | undefined;
|
|
331
|
+
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
332
332
|
}, {
|
|
333
333
|
kind: "file" | "url" | "directory" | "connector_object";
|
|
334
334
|
name: string;
|
|
@@ -336,9 +336,9 @@ export declare const createProjectSchema: z.ZodObject<{
|
|
|
336
336
|
description?: string | null | undefined;
|
|
337
337
|
metadata?: Record<string, unknown> | null | undefined;
|
|
338
338
|
sortOrder?: number | undefined;
|
|
339
|
+
note?: string | null | undefined;
|
|
339
340
|
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
340
341
|
sourceType?: "external" | "library" | undefined;
|
|
341
|
-
note?: string | null | undefined;
|
|
342
342
|
}>, "many">>;
|
|
343
343
|
archivedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
344
344
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -373,8 +373,8 @@ export declare const createProjectSchema: z.ZodObject<{
|
|
|
373
373
|
resourceAttachments?: {
|
|
374
374
|
resourceId: string;
|
|
375
375
|
sortOrder?: number | undefined;
|
|
376
|
-
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
377
376
|
note?: string | null | undefined;
|
|
377
|
+
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
378
378
|
}[] | undefined;
|
|
379
379
|
newResources?: {
|
|
380
380
|
kind: "file" | "url" | "directory" | "connector_object";
|
|
@@ -384,8 +384,8 @@ export declare const createProjectSchema: z.ZodObject<{
|
|
|
384
384
|
description?: string | null | undefined;
|
|
385
385
|
metadata?: Record<string, unknown> | null | undefined;
|
|
386
386
|
sortOrder?: number | undefined;
|
|
387
|
-
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
388
387
|
note?: string | null | undefined;
|
|
388
|
+
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
389
389
|
}[] | undefined;
|
|
390
390
|
archivedAt?: string | null | undefined;
|
|
391
391
|
}, {
|
|
@@ -420,8 +420,8 @@ export declare const createProjectSchema: z.ZodObject<{
|
|
|
420
420
|
resourceAttachments?: {
|
|
421
421
|
resourceId: string;
|
|
422
422
|
sortOrder?: number | undefined;
|
|
423
|
-
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
424
423
|
note?: string | null | undefined;
|
|
424
|
+
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
425
425
|
}[] | undefined;
|
|
426
426
|
newResources?: {
|
|
427
427
|
kind: "file" | "url" | "directory" | "connector_object";
|
|
@@ -430,9 +430,9 @@ export declare const createProjectSchema: z.ZodObject<{
|
|
|
430
430
|
description?: string | null | undefined;
|
|
431
431
|
metadata?: Record<string, unknown> | null | undefined;
|
|
432
432
|
sortOrder?: number | undefined;
|
|
433
|
+
note?: string | null | undefined;
|
|
433
434
|
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
434
435
|
sourceType?: "external" | "library" | undefined;
|
|
435
|
-
note?: string | null | undefined;
|
|
436
436
|
}[] | undefined;
|
|
437
437
|
archivedAt?: string | null | undefined;
|
|
438
438
|
}>;
|
|
@@ -524,13 +524,13 @@ export declare const updateProjectSchema: z.ZodObject<{
|
|
|
524
524
|
}, "strict", z.ZodTypeAny, {
|
|
525
525
|
resourceId: string;
|
|
526
526
|
sortOrder?: number | undefined;
|
|
527
|
-
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
528
527
|
note?: string | null | undefined;
|
|
528
|
+
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
529
529
|
}, {
|
|
530
530
|
resourceId: string;
|
|
531
531
|
sortOrder?: number | undefined;
|
|
532
|
-
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
533
532
|
note?: string | null | undefined;
|
|
533
|
+
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
534
534
|
}>, "many">>>;
|
|
535
535
|
newResources: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
536
536
|
name: z.ZodString;
|
|
@@ -551,8 +551,8 @@ export declare const updateProjectSchema: z.ZodObject<{
|
|
|
551
551
|
description?: string | null | undefined;
|
|
552
552
|
metadata?: Record<string, unknown> | null | undefined;
|
|
553
553
|
sortOrder?: number | undefined;
|
|
554
|
-
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
555
554
|
note?: string | null | undefined;
|
|
555
|
+
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
556
556
|
}, {
|
|
557
557
|
kind: "file" | "url" | "directory" | "connector_object";
|
|
558
558
|
name: string;
|
|
@@ -560,9 +560,9 @@ export declare const updateProjectSchema: z.ZodObject<{
|
|
|
560
560
|
description?: string | null | undefined;
|
|
561
561
|
metadata?: Record<string, unknown> | null | undefined;
|
|
562
562
|
sortOrder?: number | undefined;
|
|
563
|
+
note?: string | null | undefined;
|
|
563
564
|
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
564
565
|
sourceType?: "external" | "library" | undefined;
|
|
565
|
-
note?: string | null | undefined;
|
|
566
566
|
}>, {
|
|
567
567
|
kind: "file" | "url" | "directory" | "connector_object";
|
|
568
568
|
name: string;
|
|
@@ -571,8 +571,8 @@ export declare const updateProjectSchema: z.ZodObject<{
|
|
|
571
571
|
description?: string | null | undefined;
|
|
572
572
|
metadata?: Record<string, unknown> | null | undefined;
|
|
573
573
|
sortOrder?: number | undefined;
|
|
574
|
-
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
575
574
|
note?: string | null | undefined;
|
|
575
|
+
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
576
576
|
}, {
|
|
577
577
|
kind: "file" | "url" | "directory" | "connector_object";
|
|
578
578
|
name: string;
|
|
@@ -580,9 +580,9 @@ export declare const updateProjectSchema: z.ZodObject<{
|
|
|
580
580
|
description?: string | null | undefined;
|
|
581
581
|
metadata?: Record<string, unknown> | null | undefined;
|
|
582
582
|
sortOrder?: number | undefined;
|
|
583
|
+
note?: string | null | undefined;
|
|
583
584
|
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
584
585
|
sourceType?: "external" | "library" | undefined;
|
|
585
|
-
note?: string | null | undefined;
|
|
586
586
|
}>, "many">>>;
|
|
587
587
|
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
588
588
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -617,8 +617,8 @@ export declare const updateProjectSchema: z.ZodObject<{
|
|
|
617
617
|
resourceAttachments?: {
|
|
618
618
|
resourceId: string;
|
|
619
619
|
sortOrder?: number | undefined;
|
|
620
|
-
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
621
620
|
note?: string | null | undefined;
|
|
621
|
+
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
622
622
|
}[] | undefined;
|
|
623
623
|
newResources?: {
|
|
624
624
|
kind: "file" | "url" | "directory" | "connector_object";
|
|
@@ -628,8 +628,8 @@ export declare const updateProjectSchema: z.ZodObject<{
|
|
|
628
628
|
description?: string | null | undefined;
|
|
629
629
|
metadata?: Record<string, unknown> | null | undefined;
|
|
630
630
|
sortOrder?: number | undefined;
|
|
631
|
-
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
632
631
|
note?: string | null | undefined;
|
|
632
|
+
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
633
633
|
}[] | undefined;
|
|
634
634
|
archivedAt?: string | null | undefined;
|
|
635
635
|
}, {
|
|
@@ -664,8 +664,8 @@ export declare const updateProjectSchema: z.ZodObject<{
|
|
|
664
664
|
resourceAttachments?: {
|
|
665
665
|
resourceId: string;
|
|
666
666
|
sortOrder?: number | undefined;
|
|
667
|
-
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
668
667
|
note?: string | null | undefined;
|
|
668
|
+
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
669
669
|
}[] | undefined;
|
|
670
670
|
newResources?: {
|
|
671
671
|
kind: "file" | "url" | "directory" | "connector_object";
|
|
@@ -674,9 +674,9 @@ export declare const updateProjectSchema: z.ZodObject<{
|
|
|
674
674
|
description?: string | null | undefined;
|
|
675
675
|
metadata?: Record<string, unknown> | null | undefined;
|
|
676
676
|
sortOrder?: number | undefined;
|
|
677
|
+
note?: string | null | undefined;
|
|
677
678
|
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
678
679
|
sourceType?: "external" | "library" | undefined;
|
|
679
|
-
note?: string | null | undefined;
|
|
680
680
|
}[] | undefined;
|
|
681
681
|
archivedAt?: string | null | undefined;
|
|
682
682
|
}>;
|
|
@@ -84,13 +84,13 @@ export declare const projectResourceAttachmentInputSchema: z.ZodObject<{
|
|
|
84
84
|
}, "strict", z.ZodTypeAny, {
|
|
85
85
|
resourceId: string;
|
|
86
86
|
sortOrder?: number | undefined;
|
|
87
|
-
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
88
87
|
note?: string | null | undefined;
|
|
88
|
+
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
89
89
|
}, {
|
|
90
90
|
resourceId: string;
|
|
91
91
|
sortOrder?: number | undefined;
|
|
92
|
-
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
93
92
|
note?: string | null | undefined;
|
|
93
|
+
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
94
94
|
}>;
|
|
95
95
|
export type ProjectResourceAttachmentInputPayload = z.infer<typeof projectResourceAttachmentInputSchema>;
|
|
96
96
|
export declare const updateProjectResourceAttachmentSchema: z.ZodObject<{
|
|
@@ -99,12 +99,12 @@ export declare const updateProjectResourceAttachmentSchema: z.ZodObject<{
|
|
|
99
99
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
100
100
|
}, "strict", z.ZodTypeAny, {
|
|
101
101
|
sortOrder?: number | undefined;
|
|
102
|
-
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
103
102
|
note?: string | null | undefined;
|
|
103
|
+
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
104
104
|
}, {
|
|
105
105
|
sortOrder?: number | undefined;
|
|
106
|
-
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
107
106
|
note?: string | null | undefined;
|
|
107
|
+
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
108
108
|
}>;
|
|
109
109
|
export type UpdateProjectResourceAttachment = z.infer<typeof updateProjectResourceAttachmentSchema>;
|
|
110
110
|
export declare const createProjectInlineResourceSchema: z.ZodEffects<z.ZodObject<{
|
|
@@ -126,8 +126,8 @@ export declare const createProjectInlineResourceSchema: z.ZodEffects<z.ZodObject
|
|
|
126
126
|
description?: string | null | undefined;
|
|
127
127
|
metadata?: Record<string, unknown> | null | undefined;
|
|
128
128
|
sortOrder?: number | undefined;
|
|
129
|
-
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
130
129
|
note?: string | null | undefined;
|
|
130
|
+
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
131
131
|
}, {
|
|
132
132
|
kind: "file" | "url" | "directory" | "connector_object";
|
|
133
133
|
name: string;
|
|
@@ -135,9 +135,9 @@ export declare const createProjectInlineResourceSchema: z.ZodEffects<z.ZodObject
|
|
|
135
135
|
description?: string | null | undefined;
|
|
136
136
|
metadata?: Record<string, unknown> | null | undefined;
|
|
137
137
|
sortOrder?: number | undefined;
|
|
138
|
+
note?: string | null | undefined;
|
|
138
139
|
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
139
140
|
sourceType?: "external" | "library" | undefined;
|
|
140
|
-
note?: string | null | undefined;
|
|
141
141
|
}>, {
|
|
142
142
|
kind: "file" | "url" | "directory" | "connector_object";
|
|
143
143
|
name: string;
|
|
@@ -146,8 +146,8 @@ export declare const createProjectInlineResourceSchema: z.ZodEffects<z.ZodObject
|
|
|
146
146
|
description?: string | null | undefined;
|
|
147
147
|
metadata?: Record<string, unknown> | null | undefined;
|
|
148
148
|
sortOrder?: number | undefined;
|
|
149
|
-
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
150
149
|
note?: string | null | undefined;
|
|
150
|
+
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
151
151
|
}, {
|
|
152
152
|
kind: "file" | "url" | "directory" | "connector_object";
|
|
153
153
|
name: string;
|
|
@@ -155,9 +155,9 @@ export declare const createProjectInlineResourceSchema: z.ZodEffects<z.ZodObject
|
|
|
155
155
|
description?: string | null | undefined;
|
|
156
156
|
metadata?: Record<string, unknown> | null | undefined;
|
|
157
157
|
sortOrder?: number | undefined;
|
|
158
|
+
note?: string | null | undefined;
|
|
158
159
|
role?: "reference" | "working_set" | "tracking" | "deliverable" | "background" | undefined;
|
|
159
160
|
sourceType?: "external" | "library" | undefined;
|
|
160
|
-
note?: string | null | undefined;
|
|
161
161
|
}>;
|
|
162
162
|
export type CreateProjectInlineResource = z.infer<typeof createProjectInlineResourceSchema>;
|
|
163
163
|
//# sourceMappingURL=resource.d.ts.map
|
|
@@ -73,14 +73,14 @@ export declare const createSecretSchema: z.ZodObject<{
|
|
|
73
73
|
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
74
74
|
externalRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
75
75
|
}, "strict", z.ZodTypeAny, {
|
|
76
|
-
name: string;
|
|
77
76
|
value: string;
|
|
77
|
+
name: string;
|
|
78
78
|
description?: string | null | undefined;
|
|
79
79
|
provider?: "local_encrypted" | "aws_secrets_manager" | "gcp_secret_manager" | "vault" | undefined;
|
|
80
80
|
externalRef?: string | null | undefined;
|
|
81
81
|
}, {
|
|
82
|
-
name: string;
|
|
83
82
|
value: string;
|
|
83
|
+
name: string;
|
|
84
84
|
description?: string | null | undefined;
|
|
85
85
|
provider?: "local_encrypted" | "aws_secrets_manager" | "gcp_secret_manager" | "vault" | undefined;
|
|
86
86
|
externalRef?: string | null | undefined;
|
|
@@ -21,9 +21,9 @@ export declare const createIssueWorkProductSchema: z.ZodObject<{
|
|
|
21
21
|
metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
22
22
|
createdByRunId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
|
-
status: "active" | "archived" | "draft" | "failed" | "
|
|
24
|
+
status: "active" | "archived" | "draft" | "failed" | "closed" | "approved" | "ready_for_review" | "changes_requested" | "merged";
|
|
25
25
|
title: string;
|
|
26
|
-
type: "preview_url" | "runtime_service" | "pull_request" | "branch" | "commit" | "
|
|
26
|
+
type: "artifact" | "preview_url" | "runtime_service" | "pull_request" | "branch" | "commit" | "document";
|
|
27
27
|
provider: string;
|
|
28
28
|
isPrimary: boolean;
|
|
29
29
|
reviewState: "none" | "approved" | "changes_requested" | "needs_board_review";
|
|
@@ -39,9 +39,9 @@ export declare const createIssueWorkProductSchema: z.ZodObject<{
|
|
|
39
39
|
createdByRunId?: string | null | undefined;
|
|
40
40
|
}, {
|
|
41
41
|
title: string;
|
|
42
|
-
type: "preview_url" | "runtime_service" | "pull_request" | "branch" | "commit" | "
|
|
42
|
+
type: "artifact" | "preview_url" | "runtime_service" | "pull_request" | "branch" | "commit" | "document";
|
|
43
43
|
provider: string;
|
|
44
|
-
status?: "active" | "archived" | "draft" | "failed" | "
|
|
44
|
+
status?: "active" | "archived" | "draft" | "failed" | "closed" | "approved" | "ready_for_review" | "changes_requested" | "merged" | undefined;
|
|
45
45
|
projectId?: string | null | undefined;
|
|
46
46
|
url?: string | null | undefined;
|
|
47
47
|
summary?: string | null | undefined;
|
|
@@ -74,12 +74,12 @@ export declare const updateIssueWorkProductSchema: z.ZodObject<{
|
|
|
74
74
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
75
75
|
createdByRunId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
76
76
|
}, "strip", z.ZodTypeAny, {
|
|
77
|
-
status?: "active" | "archived" | "draft" | "failed" | "
|
|
77
|
+
status?: "active" | "archived" | "draft" | "failed" | "closed" | "approved" | "ready_for_review" | "changes_requested" | "merged" | undefined;
|
|
78
78
|
projectId?: string | null | undefined;
|
|
79
79
|
title?: string | undefined;
|
|
80
80
|
url?: string | null | undefined;
|
|
81
81
|
summary?: string | null | undefined;
|
|
82
|
-
type?: "preview_url" | "runtime_service" | "pull_request" | "branch" | "commit" | "
|
|
82
|
+
type?: "artifact" | "preview_url" | "runtime_service" | "pull_request" | "branch" | "commit" | "document" | undefined;
|
|
83
83
|
provider?: string | undefined;
|
|
84
84
|
metadata?: Record<string, unknown> | null | undefined;
|
|
85
85
|
runWorkspaceId?: string | null | undefined;
|
|
@@ -91,12 +91,12 @@ export declare const updateIssueWorkProductSchema: z.ZodObject<{
|
|
|
91
91
|
healthStatus?: "unknown" | "healthy" | "unhealthy" | undefined;
|
|
92
92
|
createdByRunId?: string | null | undefined;
|
|
93
93
|
}, {
|
|
94
|
-
status?: "active" | "archived" | "draft" | "failed" | "
|
|
94
|
+
status?: "active" | "archived" | "draft" | "failed" | "closed" | "approved" | "ready_for_review" | "changes_requested" | "merged" | undefined;
|
|
95
95
|
projectId?: string | null | undefined;
|
|
96
96
|
title?: string | undefined;
|
|
97
97
|
url?: string | null | undefined;
|
|
98
98
|
summary?: string | null | undefined;
|
|
99
|
-
type?: "preview_url" | "runtime_service" | "pull_request" | "branch" | "commit" | "
|
|
99
|
+
type?: "artifact" | "preview_url" | "runtime_service" | "pull_request" | "branch" | "commit" | "document" | undefined;
|
|
100
100
|
provider?: string | undefined;
|
|
101
101
|
metadata?: Record<string, unknown> | null | undefined;
|
|
102
102
|
runWorkspaceId?: string | null | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rudderhq/shared",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.3",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"homepage": "https://github.com/Undertone0809/rudder",
|
|
6
6
|
"bugs": {
|
|
@@ -18,6 +18,11 @@
|
|
|
18
18
|
"import": "./dist/index.js",
|
|
19
19
|
"default": "./dist/index.js"
|
|
20
20
|
},
|
|
21
|
+
"./computer-use": {
|
|
22
|
+
"types": "./dist/computer-use.d.ts",
|
|
23
|
+
"import": "./dist/computer-use.js",
|
|
24
|
+
"default": "./dist/computer-use.js"
|
|
25
|
+
},
|
|
21
26
|
"./*": {
|
|
22
27
|
"types": "./dist/*.d.ts",
|
|
23
28
|
"import": "./dist/*.js",
|
|
@@ -31,6 +36,10 @@
|
|
|
31
36
|
"types": "./dist/index.d.ts",
|
|
32
37
|
"import": "./dist/index.js"
|
|
33
38
|
},
|
|
39
|
+
"./computer-use": {
|
|
40
|
+
"types": "./dist/computer-use.d.ts",
|
|
41
|
+
"import": "./dist/computer-use.js"
|
|
42
|
+
},
|
|
34
43
|
"./*": {
|
|
35
44
|
"types": "./dist/*.d.ts",
|
|
36
45
|
"import": "./dist/*.js"
|