@paperclipai/shared 2026.817.0 → 2026.818.0-beta.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/dist/adapter-auth-session.d.ts +16 -0
- package/dist/adapter-auth-session.d.ts.map +1 -0
- package/dist/adapter-auth-session.js +37 -0
- package/dist/adapter-auth-session.js.map +1 -0
- package/dist/company-import-transfer.d.ts +97 -0
- package/dist/company-import-transfer.d.ts.map +1 -0
- package/dist/company-import-transfer.js +50 -0
- package/dist/company-import-transfer.js.map +1 -0
- package/dist/constants.d.ts +19 -3
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +50 -3
- package/dist/constants.js.map +1 -1
- package/dist/environment-support.d.ts +16 -1
- package/dist/environment-support.d.ts.map +1 -1
- package/dist/environment-support.js +25 -2
- package/dist/environment-support.js.map +1 -1
- package/dist/environment-support.test.js +20 -0
- package/dist/environment-support.test.js.map +1 -1
- package/dist/feature-catalog.d.ts.map +1 -1
- package/dist/feature-catalog.js +10 -3
- package/dist/feature-catalog.js.map +1 -1
- package/dist/index.d.ts +13 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -3
- package/dist/index.js.map +1 -1
- package/dist/issue-thread-interactions.test.js +45 -1
- package/dist/issue-thread-interactions.test.js.map +1 -1
- package/dist/runtime-exposure/loopback-bind.d.ts +52 -0
- package/dist/runtime-exposure/loopback-bind.d.ts.map +1 -0
- package/dist/runtime-exposure/loopback-bind.js +93 -0
- package/dist/runtime-exposure/loopback-bind.js.map +1 -0
- package/dist/runtime-exposure/loopback-bind.test.d.ts +2 -0
- package/dist/runtime-exposure/loopback-bind.test.d.ts.map +1 -0
- package/dist/runtime-exposure/loopback-bind.test.js +93 -0
- package/dist/runtime-exposure/loopback-bind.test.js.map +1 -0
- package/dist/runtime-exposure/ports.d.ts +61 -0
- package/dist/runtime-exposure/ports.d.ts.map +1 -0
- package/dist/runtime-exposure/ports.js +96 -0
- package/dist/runtime-exposure/ports.js.map +1 -0
- package/dist/runtime-exposure/ports.test.d.ts +2 -0
- package/dist/runtime-exposure/ports.test.d.ts.map +1 -0
- package/dist/runtime-exposure/ports.test.js +46 -0
- package/dist/runtime-exposure/ports.test.js.map +1 -0
- package/dist/summary-slot.test.js +10 -1
- package/dist/summary-slot.test.js.map +1 -1
- package/dist/telemetry/events.d.ts +5 -0
- package/dist/telemetry/events.d.ts.map +1 -1
- package/dist/telemetry/events.js +7 -0
- package/dist/telemetry/events.js.map +1 -1
- package/dist/telemetry/generated/paperclip-telemetry.d.ts +20 -2
- package/dist/telemetry/generated/paperclip-telemetry.d.ts.map +1 -1
- package/dist/telemetry/generated/paperclip-telemetry.js +12 -0
- package/dist/telemetry/generated/paperclip-telemetry.js.map +1 -1
- package/dist/telemetry/index.d.ts +1 -1
- package/dist/telemetry/index.d.ts.map +1 -1
- package/dist/telemetry/index.js +1 -1
- package/dist/telemetry/index.js.map +1 -1
- package/dist/telemetry/retention.d.ts.map +1 -1
- package/dist/telemetry/retention.js +2 -0
- package/dist/telemetry/retention.js.map +1 -1
- package/dist/telemetry/retention.test.js +4 -0
- package/dist/telemetry/retention.test.js.map +1 -1
- package/dist/types/agent.adapter-auth-session.test.d.ts +2 -0
- package/dist/types/agent.adapter-auth-session.test.d.ts.map +1 -0
- package/dist/types/agent.adapter-auth-session.test.js +103 -0
- package/dist/types/agent.adapter-auth-session.test.js.map +1 -0
- package/dist/types/agent.d.ts +56 -0
- package/dist/types/agent.d.ts.map +1 -1
- package/dist/types/agent.js +50 -1
- package/dist/types/agent.js.map +1 -1
- package/dist/types/attention.d.ts +35 -0
- package/dist/types/attention.d.ts.map +1 -1
- package/dist/types/attention.js.map +1 -1
- package/dist/types/company-portability.d.ts +8 -0
- package/dist/types/company-portability.d.ts.map +1 -1
- package/dist/types/document-annotation.d.ts +17 -0
- package/dist/types/document-annotation.d.ts.map +1 -1
- package/dist/types/environment.d.ts +15 -12
- package/dist/types/environment.d.ts.map +1 -1
- package/dist/types/index.d.ts +7 -6
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +1 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/instance.d.ts +6 -1
- package/dist/types/instance.d.ts.map +1 -1
- package/dist/types/instance.js.map +1 -1
- package/dist/types/issue.d.ts +35 -7
- package/dist/types/issue.d.ts.map +1 -1
- package/dist/types/plugin.d.ts +46 -0
- package/dist/types/plugin.d.ts.map +1 -1
- package/dist/types/runtime-exposure.d.ts +74 -0
- package/dist/types/runtime-exposure.d.ts.map +1 -0
- package/dist/types/runtime-exposure.js +12 -0
- package/dist/types/runtime-exposure.js.map +1 -0
- package/dist/types/workspace-file-resource.d.ts +25 -0
- package/dist/types/workspace-file-resource.d.ts.map +1 -1
- package/dist/types/workspace-runtime.d.ts +9 -0
- package/dist/types/workspace-runtime.d.ts.map +1 -1
- package/dist/validators/access.d.ts +6 -6
- package/dist/validators/adapter-auth-session.d.ts +129 -0
- package/dist/validators/adapter-auth-session.d.ts.map +1 -0
- package/dist/validators/adapter-auth-session.js +34 -0
- package/dist/validators/adapter-auth-session.js.map +1 -0
- package/dist/validators/adapter-registry.d.ts +2 -2
- package/dist/validators/adapter-skills.d.ts +22 -22
- package/dist/validators/agent.d.ts +316 -298
- package/dist/validators/agent.d.ts.map +1 -1
- package/dist/validators/agent.js +9 -0
- package/dist/validators/agent.js.map +1 -1
- package/dist/validators/app-definition.d.ts +156 -156
- package/dist/validators/artifact.d.ts +64 -64
- package/dist/validators/claude-setup-token-session.d.ts +244 -0
- package/dist/validators/claude-setup-token-session.d.ts.map +1 -0
- package/dist/validators/claude-setup-token-session.js +128 -0
- package/dist/validators/claude-setup-token-session.js.map +1 -0
- package/dist/validators/claude-setup-token-session.test.d.ts +2 -0
- package/dist/validators/claude-setup-token-session.test.d.ts.map +1 -0
- package/dist/validators/claude-setup-token-session.test.js +107 -0
- package/dist/validators/claude-setup-token-session.test.js.map +1 -0
- package/dist/validators/company-portability.d.ts +342 -294
- package/dist/validators/company-portability.d.ts.map +1 -1
- package/dist/validators/company-portability.js +6 -0
- package/dist/validators/company-portability.js.map +1 -1
- package/dist/validators/company-skill.d.ts +386 -386
- package/dist/validators/company.d.ts +120 -120
- package/dist/validators/cost.d.ts +8 -8
- package/dist/validators/decision-queue.d.ts +6 -6
- package/dist/validators/decision.d.ts +124 -124
- package/dist/validators/environment-custom-images.d.ts +8 -8
- package/dist/validators/environment.d.ts +16 -16
- package/dist/validators/execution-workspace.d.ts +38 -38
- package/dist/validators/finance.d.ts +12 -12
- package/dist/validators/folder.d.ts +38 -38
- package/dist/validators/index.d.ts +4 -3
- package/dist/validators/index.d.ts.map +1 -1
- package/dist/validators/index.js +4 -3
- package/dist/validators/index.js.map +1 -1
- package/dist/validators/instance.d.ts +30 -16
- package/dist/validators/instance.d.ts.map +1 -1
- package/dist/validators/instance.js +2 -1
- package/dist/validators/instance.js.map +1 -1
- package/dist/validators/issue-tree-control.d.ts +4 -4
- package/dist/validators/issue.d.ts +1254 -1156
- package/dist/validators/issue.d.ts.map +1 -1
- package/dist/validators/issue.js +59 -5
- package/dist/validators/issue.js.map +1 -1
- package/dist/validators/onboarding-seed.d.ts +64 -0
- package/dist/validators/onboarding-seed.d.ts.map +1 -0
- package/dist/validators/onboarding-seed.js +33 -0
- package/dist/validators/onboarding-seed.js.map +1 -0
- package/dist/validators/pipeline.d.ts +96 -96
- package/dist/validators/plugin.d.ts +325 -184
- package/dist/validators/plugin.d.ts.map +1 -1
- package/dist/validators/plugin.js +14 -0
- package/dist/validators/plugin.js.map +1 -1
- package/dist/validators/plugin.test.js +80 -0
- package/dist/validators/plugin.test.js.map +1 -1
- package/dist/validators/project.d.ts +216 -216
- package/dist/validators/routine.d.ts +148 -148
- package/dist/validators/runtime-exposure.d.ts +149 -0
- package/dist/validators/runtime-exposure.d.ts.map +1 -0
- package/dist/validators/runtime-exposure.js +138 -0
- package/dist/validators/runtime-exposure.js.map +1 -0
- package/dist/validators/runtime-exposure.test.d.ts +2 -0
- package/dist/validators/runtime-exposure.test.d.ts.map +1 -0
- package/dist/validators/runtime-exposure.test.js +112 -0
- package/dist/validators/runtime-exposure.test.js.map +1 -0
- package/dist/validators/search.d.ts +13 -13
- package/dist/validators/secret.d.ts +53 -53
- package/dist/validators/status-card.d.ts +34 -34
- package/dist/validators/summary-slot.d.ts +6 -6
- package/dist/validators/summary-slot.d.ts.map +1 -1
- package/dist/validators/teams-catalog.d.ts +30 -30
- package/dist/validators/tool-access.d.ts +179 -179
- package/dist/validators/trust-policy.d.ts +18 -18
- package/dist/validators/work-product.d.ts +21 -21
- package/dist/validators/workspace-file-resource.d.ts +430 -16
- package/dist/validators/workspace-file-resource.d.ts.map +1 -1
- package/dist/validators/workspace-file-resource.js +19 -0
- package/dist/validators/workspace-file-resource.js.map +1 -1
- package/dist/workspace-file-resource.test.d.ts +2 -0
- package/dist/workspace-file-resource.test.d.ts.map +1 -0
- package/dist/workspace-file-resource.test.js +52 -0
- package/dist/workspace-file-resource.test.js.map +1 -0
- package/package.json +1 -1
|
@@ -45,13 +45,13 @@ export declare const environmentCustomImageTemplateSchema: z.ZodObject<{
|
|
|
45
45
|
updatedAt: z.ZodUnion<[z.ZodDate, z.ZodString]>;
|
|
46
46
|
}, "strict", z.ZodTypeAny, {
|
|
47
47
|
status: "active" | "failed" | "superseded" | "revoked";
|
|
48
|
+
provider: string;
|
|
48
49
|
id: string;
|
|
50
|
+
environmentId: string;
|
|
49
51
|
createdByAgentId: string | null;
|
|
50
52
|
createdByUserId: string | null;
|
|
51
53
|
createdAt: string | Date;
|
|
52
54
|
updatedAt: string | Date;
|
|
53
|
-
environmentId: string;
|
|
54
|
-
provider: string;
|
|
55
55
|
lastUsedAt: string | Date | null;
|
|
56
56
|
templateKind: "unknown" | "snapshot" | "image" | "provider_template";
|
|
57
57
|
templateRef: string | null;
|
|
@@ -62,13 +62,13 @@ export declare const environmentCustomImageTemplateSchema: z.ZodObject<{
|
|
|
62
62
|
metadata?: Record<string, unknown> | null | undefined;
|
|
63
63
|
}, {
|
|
64
64
|
status: "active" | "failed" | "superseded" | "revoked";
|
|
65
|
+
provider: string;
|
|
65
66
|
id: string;
|
|
67
|
+
environmentId: string;
|
|
66
68
|
createdByAgentId: string | null;
|
|
67
69
|
createdByUserId: string | null;
|
|
68
70
|
createdAt: string | Date;
|
|
69
71
|
updatedAt: string | Date;
|
|
70
|
-
environmentId: string;
|
|
71
|
-
provider: string;
|
|
72
72
|
lastUsedAt: string | Date | null;
|
|
73
73
|
templateKind: "unknown" | "snapshot" | "image" | "provider_template";
|
|
74
74
|
templateRef: string | null;
|
|
@@ -122,14 +122,14 @@ export declare const environmentCustomImageSetupSessionSchema: z.ZodObject<{
|
|
|
122
122
|
updatedAt: z.ZodUnion<[z.ZodDate, z.ZodString]>;
|
|
123
123
|
}, "strict", z.ZodTypeAny, {
|
|
124
124
|
status: "cancelled" | "failed" | "starting" | "waiting_for_user" | "capturing" | "promoted" | "timed_out";
|
|
125
|
+
provider: string;
|
|
125
126
|
id: string;
|
|
127
|
+
environmentId: string;
|
|
126
128
|
createdAt: string | Date;
|
|
127
129
|
updatedAt: string | Date;
|
|
128
130
|
failureReason: string | null;
|
|
129
131
|
finishedAt: string | Date | null;
|
|
130
|
-
environmentId: string;
|
|
131
132
|
expiresAt: string | Date | null;
|
|
132
|
-
provider: string;
|
|
133
133
|
templateId: string | null;
|
|
134
134
|
promotedTemplateId: string | null;
|
|
135
135
|
providerLeaseId: string | null;
|
|
@@ -149,14 +149,14 @@ export declare const environmentCustomImageSetupSessionSchema: z.ZodObject<{
|
|
|
149
149
|
metadata?: Record<string, unknown> | null | undefined;
|
|
150
150
|
}, {
|
|
151
151
|
status: "cancelled" | "failed" | "starting" | "waiting_for_user" | "capturing" | "promoted" | "timed_out";
|
|
152
|
+
provider: string;
|
|
152
153
|
id: string;
|
|
154
|
+
environmentId: string;
|
|
153
155
|
createdAt: string | Date;
|
|
154
156
|
updatedAt: string | Date;
|
|
155
157
|
failureReason: string | null;
|
|
156
158
|
finishedAt: string | Date | null;
|
|
157
|
-
environmentId: string;
|
|
158
159
|
expiresAt: string | Date | null;
|
|
159
|
-
provider: string;
|
|
160
160
|
templateId: string | null;
|
|
161
161
|
promotedTemplateId: string | null;
|
|
162
162
|
providerLeaseId: string | null;
|
|
@@ -13,11 +13,11 @@ export declare const createEnvironmentSchema: z.ZodObject<{
|
|
|
13
13
|
type: z.ZodLiteral<"plain">;
|
|
14
14
|
value: z.ZodString;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
|
-
type: "plain";
|
|
17
16
|
value: string;
|
|
18
|
-
}, {
|
|
19
17
|
type: "plain";
|
|
18
|
+
}, {
|
|
20
19
|
value: string;
|
|
20
|
+
type: "plain";
|
|
21
21
|
}>, z.ZodObject<{
|
|
22
22
|
type: z.ZodLiteral<"secret_ref">;
|
|
23
23
|
secretId: z.ZodString;
|
|
@@ -58,12 +58,12 @@ export declare const createEnvironmentSchema: z.ZodObject<{
|
|
|
58
58
|
metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
59
59
|
}, "strict", z.ZodTypeAny, {
|
|
60
60
|
status: "active" | "archived";
|
|
61
|
-
config: Record<string, unknown>;
|
|
62
61
|
name: string;
|
|
62
|
+
config: Record<string, unknown>;
|
|
63
63
|
driver: "plugin" | "local" | "ssh" | "sandbox";
|
|
64
64
|
envVars: Record<string, string | {
|
|
65
|
-
type: "plain";
|
|
66
65
|
value: string;
|
|
66
|
+
type: "plain";
|
|
67
67
|
} | {
|
|
68
68
|
type: "secret_ref";
|
|
69
69
|
secretId: string;
|
|
@@ -87,8 +87,8 @@ export declare const createEnvironmentSchema: z.ZodObject<{
|
|
|
87
87
|
config?: Record<string, unknown> | undefined;
|
|
88
88
|
metadata?: Record<string, unknown> | null | undefined;
|
|
89
89
|
envVars?: Record<string, string | {
|
|
90
|
-
type: "plain";
|
|
91
90
|
value: string;
|
|
91
|
+
type: "plain";
|
|
92
92
|
} | {
|
|
93
93
|
type: "secret_ref";
|
|
94
94
|
secretId: string;
|
|
@@ -114,11 +114,11 @@ export declare const updateEnvironmentSchema: z.ZodObject<{
|
|
|
114
114
|
type: z.ZodLiteral<"plain">;
|
|
115
115
|
value: z.ZodString;
|
|
116
116
|
}, "strip", z.ZodTypeAny, {
|
|
117
|
-
type: "plain";
|
|
118
117
|
value: string;
|
|
119
|
-
}, {
|
|
120
118
|
type: "plain";
|
|
119
|
+
}, {
|
|
121
120
|
value: string;
|
|
121
|
+
type: "plain";
|
|
122
122
|
}>, z.ZodObject<{
|
|
123
123
|
type: z.ZodLiteral<"secret_ref">;
|
|
124
124
|
secretId: z.ZodString;
|
|
@@ -160,13 +160,13 @@ export declare const updateEnvironmentSchema: z.ZodObject<{
|
|
|
160
160
|
}, "strict", z.ZodTypeAny, {
|
|
161
161
|
description?: string | null | undefined;
|
|
162
162
|
status?: "active" | "archived" | undefined;
|
|
163
|
-
config?: Record<string, unknown> | undefined;
|
|
164
163
|
name?: string | undefined;
|
|
164
|
+
config?: Record<string, unknown> | undefined;
|
|
165
165
|
metadata?: Record<string, unknown> | null | undefined;
|
|
166
166
|
driver?: "plugin" | "local" | "ssh" | "sandbox" | undefined;
|
|
167
167
|
envVars?: Record<string, string | {
|
|
168
|
-
type: "plain";
|
|
169
168
|
value: string;
|
|
169
|
+
type: "plain";
|
|
170
170
|
} | {
|
|
171
171
|
type: "secret_ref";
|
|
172
172
|
secretId: string;
|
|
@@ -183,13 +183,13 @@ export declare const updateEnvironmentSchema: z.ZodObject<{
|
|
|
183
183
|
}, {
|
|
184
184
|
description?: string | null | undefined;
|
|
185
185
|
status?: "active" | "archived" | undefined;
|
|
186
|
-
config?: Record<string, unknown> | undefined;
|
|
187
186
|
name?: string | undefined;
|
|
187
|
+
config?: Record<string, unknown> | undefined;
|
|
188
188
|
metadata?: Record<string, unknown> | null | undefined;
|
|
189
189
|
driver?: "plugin" | "local" | "ssh" | "sandbox" | undefined;
|
|
190
190
|
envVars?: Record<string, string | {
|
|
191
|
-
type: "plain";
|
|
192
191
|
value: string;
|
|
192
|
+
type: "plain";
|
|
193
193
|
} | {
|
|
194
194
|
type: "secret_ref";
|
|
195
195
|
secretId: string;
|
|
@@ -214,11 +214,11 @@ export declare const probeEnvironmentConfigSchema: z.ZodObject<{
|
|
|
214
214
|
type: z.ZodLiteral<"plain">;
|
|
215
215
|
value: z.ZodString;
|
|
216
216
|
}, "strip", z.ZodTypeAny, {
|
|
217
|
-
type: "plain";
|
|
218
217
|
value: string;
|
|
219
|
-
}, {
|
|
220
218
|
type: "plain";
|
|
219
|
+
}, {
|
|
221
220
|
value: string;
|
|
221
|
+
type: "plain";
|
|
222
222
|
}>, z.ZodObject<{
|
|
223
223
|
type: z.ZodLiteral<"secret_ref">;
|
|
224
224
|
secretId: z.ZodString;
|
|
@@ -261,8 +261,8 @@ export declare const probeEnvironmentConfigSchema: z.ZodObject<{
|
|
|
261
261
|
config: Record<string, unknown>;
|
|
262
262
|
driver: "plugin" | "local" | "ssh" | "sandbox";
|
|
263
263
|
envVars: Record<string, string | {
|
|
264
|
-
type: "plain";
|
|
265
264
|
value: string;
|
|
265
|
+
type: "plain";
|
|
266
266
|
} | {
|
|
267
267
|
type: "secret_ref";
|
|
268
268
|
secretId: string;
|
|
@@ -282,12 +282,12 @@ export declare const probeEnvironmentConfigSchema: z.ZodObject<{
|
|
|
282
282
|
}, {
|
|
283
283
|
driver: "plugin" | "local" | "ssh" | "sandbox";
|
|
284
284
|
description?: string | null | undefined;
|
|
285
|
-
config?: Record<string, unknown> | undefined;
|
|
286
285
|
name?: string | undefined;
|
|
286
|
+
config?: Record<string, unknown> | undefined;
|
|
287
287
|
metadata?: Record<string, unknown> | null | undefined;
|
|
288
288
|
envVars?: Record<string, string | {
|
|
289
|
-
type: "plain";
|
|
290
289
|
value: string;
|
|
290
|
+
type: "plain";
|
|
291
291
|
} | {
|
|
292
292
|
type: "secret_ref";
|
|
293
293
|
secretId: string;
|
|
@@ -27,19 +27,19 @@ export declare const executionWorkspaceConfigSchema: z.ZodObject<{
|
|
|
27
27
|
desiredState: z.ZodNullable<z.ZodOptional<z.ZodEnum<["running", "stopped", "manual"]>>>;
|
|
28
28
|
serviceStates: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<["running", "stopped", "manual"]>>>>;
|
|
29
29
|
}, "strict", z.ZodTypeAny, {
|
|
30
|
+
environmentId?: string | null | undefined;
|
|
30
31
|
provisionCommand?: string | null | undefined;
|
|
31
32
|
runtimeProvisionCommand?: string | null | undefined;
|
|
32
33
|
teardownCommand?: string | null | undefined;
|
|
33
|
-
environmentId?: string | null | undefined;
|
|
34
34
|
workspaceRuntime?: Record<string, unknown> | null | undefined;
|
|
35
35
|
cleanupCommand?: string | null | undefined;
|
|
36
36
|
desiredState?: "running" | "manual" | "stopped" | null | undefined;
|
|
37
37
|
serviceStates?: Record<string, "running" | "manual" | "stopped"> | null | undefined;
|
|
38
38
|
}, {
|
|
39
|
+
environmentId?: string | null | undefined;
|
|
39
40
|
provisionCommand?: string | null | undefined;
|
|
40
41
|
runtimeProvisionCommand?: string | null | undefined;
|
|
41
42
|
teardownCommand?: string | null | undefined;
|
|
42
|
-
environmentId?: string | null | undefined;
|
|
43
43
|
workspaceRuntime?: Record<string, unknown> | null | undefined;
|
|
44
44
|
cleanupCommand?: string | null | undefined;
|
|
45
45
|
desiredState?: "running" | "manual" | "stopped" | null | undefined;
|
|
@@ -166,25 +166,25 @@ export declare const workspaceRuntimeServiceSchema: z.ZodObject<{
|
|
|
166
166
|
updatedAt: z.ZodDate;
|
|
167
167
|
}, "strict", z.ZodTypeAny, {
|
|
168
168
|
cwd: string | null;
|
|
169
|
+
companyId: string;
|
|
169
170
|
status: "running" | "failed" | "starting" | "stopped" | "provisioning";
|
|
171
|
+
provider: "adapter_managed" | "local_process";
|
|
170
172
|
projectId: string | null;
|
|
173
|
+
url: string | null;
|
|
174
|
+
issueId: string | null;
|
|
171
175
|
id: string;
|
|
172
|
-
companyId: string;
|
|
173
176
|
healthStatus: "unknown" | "healthy" | "unhealthy";
|
|
174
177
|
projectWorkspaceId: string | null;
|
|
175
178
|
executionWorkspaceId: string | null;
|
|
176
179
|
startedAt: Date;
|
|
177
180
|
createdAt: Date;
|
|
178
181
|
updatedAt: Date;
|
|
179
|
-
issueId: string | null;
|
|
180
|
-
url: string | null;
|
|
181
182
|
serviceName: string;
|
|
182
183
|
ownerAgentId: string | null;
|
|
183
|
-
provider: "adapter_managed" | "local_process";
|
|
184
184
|
scopeId: string | null;
|
|
185
185
|
lastUsedAt: Date;
|
|
186
186
|
command: string | null;
|
|
187
|
-
scopeType: "project_workspace" | "
|
|
187
|
+
scopeType: "project_workspace" | "execution_workspace" | "agent" | "run";
|
|
188
188
|
lifecycle: "ephemeral" | "shared";
|
|
189
189
|
reuseKey: string | null;
|
|
190
190
|
port: number | null;
|
|
@@ -195,25 +195,25 @@ export declare const workspaceRuntimeServiceSchema: z.ZodObject<{
|
|
|
195
195
|
configIndex?: number | null | undefined;
|
|
196
196
|
}, {
|
|
197
197
|
cwd: string | null;
|
|
198
|
+
companyId: string;
|
|
198
199
|
status: "running" | "failed" | "starting" | "stopped" | "provisioning";
|
|
200
|
+
provider: "adapter_managed" | "local_process";
|
|
199
201
|
projectId: string | null;
|
|
202
|
+
url: string | null;
|
|
203
|
+
issueId: string | null;
|
|
200
204
|
id: string;
|
|
201
|
-
companyId: string;
|
|
202
205
|
healthStatus: "unknown" | "healthy" | "unhealthy";
|
|
203
206
|
projectWorkspaceId: string | null;
|
|
204
207
|
executionWorkspaceId: string | null;
|
|
205
208
|
startedAt: Date;
|
|
206
209
|
createdAt: Date;
|
|
207
210
|
updatedAt: Date;
|
|
208
|
-
issueId: string | null;
|
|
209
|
-
url: string | null;
|
|
210
211
|
serviceName: string;
|
|
211
212
|
ownerAgentId: string | null;
|
|
212
|
-
provider: "adapter_managed" | "local_process";
|
|
213
213
|
scopeId: string | null;
|
|
214
214
|
lastUsedAt: Date;
|
|
215
215
|
command: string | null;
|
|
216
|
-
scopeType: "project_workspace" | "
|
|
216
|
+
scopeType: "project_workspace" | "execution_workspace" | "agent" | "run";
|
|
217
217
|
lifecycle: "ephemeral" | "shared";
|
|
218
218
|
reuseKey: string | null;
|
|
219
219
|
port: number | null;
|
|
@@ -338,25 +338,25 @@ export declare const executionWorkspaceCloseReadinessSchema: z.ZodObject<{
|
|
|
338
338
|
updatedAt: z.ZodDate;
|
|
339
339
|
}, "strict", z.ZodTypeAny, {
|
|
340
340
|
cwd: string | null;
|
|
341
|
+
companyId: string;
|
|
341
342
|
status: "running" | "failed" | "starting" | "stopped" | "provisioning";
|
|
343
|
+
provider: "adapter_managed" | "local_process";
|
|
342
344
|
projectId: string | null;
|
|
345
|
+
url: string | null;
|
|
346
|
+
issueId: string | null;
|
|
343
347
|
id: string;
|
|
344
|
-
companyId: string;
|
|
345
348
|
healthStatus: "unknown" | "healthy" | "unhealthy";
|
|
346
349
|
projectWorkspaceId: string | null;
|
|
347
350
|
executionWorkspaceId: string | null;
|
|
348
351
|
startedAt: Date;
|
|
349
352
|
createdAt: Date;
|
|
350
353
|
updatedAt: Date;
|
|
351
|
-
issueId: string | null;
|
|
352
|
-
url: string | null;
|
|
353
354
|
serviceName: string;
|
|
354
355
|
ownerAgentId: string | null;
|
|
355
|
-
provider: "adapter_managed" | "local_process";
|
|
356
356
|
scopeId: string | null;
|
|
357
357
|
lastUsedAt: Date;
|
|
358
358
|
command: string | null;
|
|
359
|
-
scopeType: "project_workspace" | "
|
|
359
|
+
scopeType: "project_workspace" | "execution_workspace" | "agent" | "run";
|
|
360
360
|
lifecycle: "ephemeral" | "shared";
|
|
361
361
|
reuseKey: string | null;
|
|
362
362
|
port: number | null;
|
|
@@ -367,25 +367,25 @@ export declare const executionWorkspaceCloseReadinessSchema: z.ZodObject<{
|
|
|
367
367
|
configIndex?: number | null | undefined;
|
|
368
368
|
}, {
|
|
369
369
|
cwd: string | null;
|
|
370
|
+
companyId: string;
|
|
370
371
|
status: "running" | "failed" | "starting" | "stopped" | "provisioning";
|
|
372
|
+
provider: "adapter_managed" | "local_process";
|
|
371
373
|
projectId: string | null;
|
|
374
|
+
url: string | null;
|
|
375
|
+
issueId: string | null;
|
|
372
376
|
id: string;
|
|
373
|
-
companyId: string;
|
|
374
377
|
healthStatus: "unknown" | "healthy" | "unhealthy";
|
|
375
378
|
projectWorkspaceId: string | null;
|
|
376
379
|
executionWorkspaceId: string | null;
|
|
377
380
|
startedAt: Date;
|
|
378
381
|
createdAt: Date;
|
|
379
382
|
updatedAt: Date;
|
|
380
|
-
issueId: string | null;
|
|
381
|
-
url: string | null;
|
|
382
383
|
serviceName: string;
|
|
383
384
|
ownerAgentId: string | null;
|
|
384
|
-
provider: "adapter_managed" | "local_process";
|
|
385
385
|
scopeId: string | null;
|
|
386
386
|
lastUsedAt: Date;
|
|
387
387
|
command: string | null;
|
|
388
|
-
scopeType: "project_workspace" | "
|
|
388
|
+
scopeType: "project_workspace" | "execution_workspace" | "agent" | "run";
|
|
389
389
|
lifecycle: "ephemeral" | "shared";
|
|
390
390
|
reuseKey: string | null;
|
|
391
391
|
port: number | null;
|
|
@@ -433,25 +433,25 @@ export declare const executionWorkspaceCloseReadinessSchema: z.ZodObject<{
|
|
|
433
433
|
} | null;
|
|
434
434
|
runtimeServices: {
|
|
435
435
|
cwd: string | null;
|
|
436
|
+
companyId: string;
|
|
436
437
|
status: "running" | "failed" | "starting" | "stopped" | "provisioning";
|
|
438
|
+
provider: "adapter_managed" | "local_process";
|
|
437
439
|
projectId: string | null;
|
|
440
|
+
url: string | null;
|
|
441
|
+
issueId: string | null;
|
|
438
442
|
id: string;
|
|
439
|
-
companyId: string;
|
|
440
443
|
healthStatus: "unknown" | "healthy" | "unhealthy";
|
|
441
444
|
projectWorkspaceId: string | null;
|
|
442
445
|
executionWorkspaceId: string | null;
|
|
443
446
|
startedAt: Date;
|
|
444
447
|
createdAt: Date;
|
|
445
448
|
updatedAt: Date;
|
|
446
|
-
issueId: string | null;
|
|
447
|
-
url: string | null;
|
|
448
449
|
serviceName: string;
|
|
449
450
|
ownerAgentId: string | null;
|
|
450
|
-
provider: "adapter_managed" | "local_process";
|
|
451
451
|
scopeId: string | null;
|
|
452
452
|
lastUsedAt: Date;
|
|
453
453
|
command: string | null;
|
|
454
|
-
scopeType: "project_workspace" | "
|
|
454
|
+
scopeType: "project_workspace" | "execution_workspace" | "agent" | "run";
|
|
455
455
|
lifecycle: "ephemeral" | "shared";
|
|
456
456
|
reuseKey: string | null;
|
|
457
457
|
port: number | null;
|
|
@@ -499,25 +499,25 @@ export declare const executionWorkspaceCloseReadinessSchema: z.ZodObject<{
|
|
|
499
499
|
} | null;
|
|
500
500
|
runtimeServices: {
|
|
501
501
|
cwd: string | null;
|
|
502
|
+
companyId: string;
|
|
502
503
|
status: "running" | "failed" | "starting" | "stopped" | "provisioning";
|
|
504
|
+
provider: "adapter_managed" | "local_process";
|
|
503
505
|
projectId: string | null;
|
|
506
|
+
url: string | null;
|
|
507
|
+
issueId: string | null;
|
|
504
508
|
id: string;
|
|
505
|
-
companyId: string;
|
|
506
509
|
healthStatus: "unknown" | "healthy" | "unhealthy";
|
|
507
510
|
projectWorkspaceId: string | null;
|
|
508
511
|
executionWorkspaceId: string | null;
|
|
509
512
|
startedAt: Date;
|
|
510
513
|
createdAt: Date;
|
|
511
514
|
updatedAt: Date;
|
|
512
|
-
issueId: string | null;
|
|
513
|
-
url: string | null;
|
|
514
515
|
serviceName: string;
|
|
515
516
|
ownerAgentId: string | null;
|
|
516
|
-
provider: "adapter_managed" | "local_process";
|
|
517
517
|
scopeId: string | null;
|
|
518
518
|
lastUsedAt: Date;
|
|
519
519
|
command: string | null;
|
|
520
|
-
scopeType: "project_workspace" | "
|
|
520
|
+
scopeType: "project_workspace" | "execution_workspace" | "agent" | "run";
|
|
521
521
|
lifecycle: "ephemeral" | "shared";
|
|
522
522
|
reuseKey: string | null;
|
|
523
523
|
port: number | null;
|
|
@@ -548,19 +548,19 @@ export declare const updateExecutionWorkspaceSchema: z.ZodObject<{
|
|
|
548
548
|
desiredState: z.ZodNullable<z.ZodOptional<z.ZodEnum<["running", "stopped", "manual"]>>>;
|
|
549
549
|
serviceStates: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<["running", "stopped", "manual"]>>>>;
|
|
550
550
|
}, "strict", z.ZodTypeAny, {
|
|
551
|
+
environmentId?: string | null | undefined;
|
|
551
552
|
provisionCommand?: string | null | undefined;
|
|
552
553
|
runtimeProvisionCommand?: string | null | undefined;
|
|
553
554
|
teardownCommand?: string | null | undefined;
|
|
554
|
-
environmentId?: string | null | undefined;
|
|
555
555
|
workspaceRuntime?: Record<string, unknown> | null | undefined;
|
|
556
556
|
cleanupCommand?: string | null | undefined;
|
|
557
557
|
desiredState?: "running" | "manual" | "stopped" | null | undefined;
|
|
558
558
|
serviceStates?: Record<string, "running" | "manual" | "stopped"> | null | undefined;
|
|
559
559
|
}, {
|
|
560
|
+
environmentId?: string | null | undefined;
|
|
560
561
|
provisionCommand?: string | null | undefined;
|
|
561
562
|
runtimeProvisionCommand?: string | null | undefined;
|
|
562
563
|
teardownCommand?: string | null | undefined;
|
|
563
|
-
environmentId?: string | null | undefined;
|
|
564
564
|
workspaceRuntime?: Record<string, unknown> | null | undefined;
|
|
565
565
|
cleanupCommand?: string | null | undefined;
|
|
566
566
|
desiredState?: "running" | "manual" | "stopped" | null | undefined;
|
|
@@ -570,17 +570,17 @@ export declare const updateExecutionWorkspaceSchema: z.ZodObject<{
|
|
|
570
570
|
}, "strict", z.ZodTypeAny, {
|
|
571
571
|
cwd?: string | null | undefined;
|
|
572
572
|
status?: "active" | "archived" | "idle" | "in_review" | "cleanup_failed" | undefined;
|
|
573
|
+
name?: string | undefined;
|
|
573
574
|
config?: {
|
|
575
|
+
environmentId?: string | null | undefined;
|
|
574
576
|
provisionCommand?: string | null | undefined;
|
|
575
577
|
runtimeProvisionCommand?: string | null | undefined;
|
|
576
578
|
teardownCommand?: string | null | undefined;
|
|
577
|
-
environmentId?: string | null | undefined;
|
|
578
579
|
workspaceRuntime?: Record<string, unknown> | null | undefined;
|
|
579
580
|
cleanupCommand?: string | null | undefined;
|
|
580
581
|
desiredState?: "running" | "manual" | "stopped" | null | undefined;
|
|
581
582
|
serviceStates?: Record<string, "running" | "manual" | "stopped"> | null | undefined;
|
|
582
583
|
} | null | undefined;
|
|
583
|
-
name?: string | undefined;
|
|
584
584
|
metadata?: Record<string, unknown> | null | undefined;
|
|
585
585
|
baseRef?: string | null | undefined;
|
|
586
586
|
branchName?: string | null | undefined;
|
|
@@ -591,17 +591,17 @@ export declare const updateExecutionWorkspaceSchema: z.ZodObject<{
|
|
|
591
591
|
}, {
|
|
592
592
|
cwd?: string | null | undefined;
|
|
593
593
|
status?: "active" | "archived" | "idle" | "in_review" | "cleanup_failed" | undefined;
|
|
594
|
+
name?: string | undefined;
|
|
594
595
|
config?: {
|
|
596
|
+
environmentId?: string | null | undefined;
|
|
595
597
|
provisionCommand?: string | null | undefined;
|
|
596
598
|
runtimeProvisionCommand?: string | null | undefined;
|
|
597
599
|
teardownCommand?: string | null | undefined;
|
|
598
|
-
environmentId?: string | null | undefined;
|
|
599
600
|
workspaceRuntime?: Record<string, unknown> | null | undefined;
|
|
600
601
|
cleanupCommand?: string | null | undefined;
|
|
601
602
|
desiredState?: "running" | "manual" | "stopped" | null | undefined;
|
|
602
603
|
serviceStates?: Record<string, "running" | "manual" | "stopped"> | null | undefined;
|
|
603
604
|
} | null | undefined;
|
|
604
|
-
name?: string | undefined;
|
|
605
605
|
metadata?: Record<string, unknown> | null | undefined;
|
|
606
606
|
baseRef?: string | null | undefined;
|
|
607
607
|
branchName?: string | null | undefined;
|
|
@@ -33,14 +33,14 @@ export declare const createFinanceEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
33
33
|
currency: string;
|
|
34
34
|
estimated: boolean;
|
|
35
35
|
description?: string | null | undefined;
|
|
36
|
+
provider?: string | null | undefined;
|
|
37
|
+
region?: string | null | undefined;
|
|
36
38
|
projectId?: string | null | undefined;
|
|
39
|
+
issueId?: string | null | undefined;
|
|
37
40
|
goalId?: string | null | undefined;
|
|
38
41
|
agentId?: string | null | undefined;
|
|
39
42
|
billingCode?: string | null | undefined;
|
|
40
|
-
issueId?: string | null | undefined;
|
|
41
43
|
model?: string | null | undefined;
|
|
42
|
-
provider?: string | null | undefined;
|
|
43
|
-
region?: string | null | undefined;
|
|
44
44
|
heartbeatRunId?: string | null | undefined;
|
|
45
45
|
costEventId?: string | null | undefined;
|
|
46
46
|
executionAdapterType?: "process" | "http" | "claude_local" | "codex_local" | "cursor_cloud" | "gemini_local" | "grok_local" | "hermes_gateway" | "hermes_local" | "opencode_local" | "pi_local" | "cursor" | "openclaw_gateway" | null | undefined;
|
|
@@ -55,14 +55,14 @@ export declare const createFinanceEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
55
55
|
eventKind: "inference_charge" | "platform_fee" | "credit_purchase" | "credit_refund" | "credit_expiry" | "byok_fee" | "gateway_overhead" | "log_storage_charge" | "logpush_charge" | "provisioned_capacity_charge" | "training_charge" | "custom_model_import_charge" | "custom_model_storage_charge" | "manual_adjustment";
|
|
56
56
|
amountCents: number;
|
|
57
57
|
description?: string | null | undefined;
|
|
58
|
+
provider?: string | null | undefined;
|
|
59
|
+
region?: string | null | undefined;
|
|
58
60
|
projectId?: string | null | undefined;
|
|
61
|
+
issueId?: string | null | undefined;
|
|
59
62
|
goalId?: string | null | undefined;
|
|
60
63
|
agentId?: string | null | undefined;
|
|
61
64
|
billingCode?: string | null | undefined;
|
|
62
|
-
issueId?: string | null | undefined;
|
|
63
65
|
model?: string | null | undefined;
|
|
64
|
-
provider?: string | null | undefined;
|
|
65
|
-
region?: string | null | undefined;
|
|
66
66
|
heartbeatRunId?: string | null | undefined;
|
|
67
67
|
costEventId?: string | null | undefined;
|
|
68
68
|
direction?: "debit" | "credit" | undefined;
|
|
@@ -83,14 +83,14 @@ export declare const createFinanceEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
83
83
|
amountCents: number;
|
|
84
84
|
estimated: boolean;
|
|
85
85
|
description?: string | null | undefined;
|
|
86
|
+
provider?: string | null | undefined;
|
|
87
|
+
region?: string | null | undefined;
|
|
86
88
|
projectId?: string | null | undefined;
|
|
89
|
+
issueId?: string | null | undefined;
|
|
87
90
|
goalId?: string | null | undefined;
|
|
88
91
|
agentId?: string | null | undefined;
|
|
89
92
|
billingCode?: string | null | undefined;
|
|
90
|
-
issueId?: string | null | undefined;
|
|
91
93
|
model?: string | null | undefined;
|
|
92
|
-
provider?: string | null | undefined;
|
|
93
|
-
region?: string | null | undefined;
|
|
94
94
|
heartbeatRunId?: string | null | undefined;
|
|
95
95
|
costEventId?: string | null | undefined;
|
|
96
96
|
executionAdapterType?: "process" | "http" | "claude_local" | "codex_local" | "cursor_cloud" | "gemini_local" | "grok_local" | "hermes_gateway" | "hermes_local" | "opencode_local" | "pi_local" | "cursor" | "openclaw_gateway" | null | undefined;
|
|
@@ -105,14 +105,14 @@ export declare const createFinanceEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
105
105
|
eventKind: "inference_charge" | "platform_fee" | "credit_purchase" | "credit_refund" | "credit_expiry" | "byok_fee" | "gateway_overhead" | "log_storage_charge" | "logpush_charge" | "provisioned_capacity_charge" | "training_charge" | "custom_model_import_charge" | "custom_model_storage_charge" | "manual_adjustment";
|
|
106
106
|
amountCents: number;
|
|
107
107
|
description?: string | null | undefined;
|
|
108
|
+
provider?: string | null | undefined;
|
|
109
|
+
region?: string | null | undefined;
|
|
108
110
|
projectId?: string | null | undefined;
|
|
111
|
+
issueId?: string | null | undefined;
|
|
109
112
|
goalId?: string | null | undefined;
|
|
110
113
|
agentId?: string | null | undefined;
|
|
111
114
|
billingCode?: string | null | undefined;
|
|
112
|
-
issueId?: string | null | undefined;
|
|
113
115
|
model?: string | null | undefined;
|
|
114
|
-
provider?: string | null | undefined;
|
|
115
|
-
region?: string | null | undefined;
|
|
116
116
|
heartbeatRunId?: string | null | undefined;
|
|
117
117
|
costEventId?: string | null | undefined;
|
|
118
118
|
direction?: "debit" | "credit" | undefined;
|