@keystrokehq/cli 0.1.89 → 0.1.91
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/{dist--rEosQWM.mjs → dist-BAOpw31u.mjs} +130 -10
- package/dist/dist-BAOpw31u.mjs.map +1 -0
- package/dist/dist-C2CYNwJz.mjs +3 -0
- package/dist/{dist-CKYkjDwF.mjs → dist-CNjsuUwx.mjs} +2 -2
- package/dist/{dist-CKYkjDwF.mjs.map → dist-CNjsuUwx.mjs.map} +1 -1
- package/dist/{dist-B-bOSK-t.mjs → dist-CppcpBQ9.mjs} +235 -175
- package/dist/dist-CppcpBQ9.mjs.map +1 -0
- package/dist/{dist-CtzRBy-4.mjs → dist-ZnMK-kgH.mjs} +3 -3
- package/dist/{dist-CtzRBy-4.mjs.map → dist-ZnMK-kgH.mjs.map} +1 -1
- package/dist/index.mjs +10 -10
- package/dist/{maybe-auto-update-C0AJd45Y.mjs → maybe-auto-update-CWdTMKQy.mjs} +2 -2
- package/dist/{maybe-auto-update-C0AJd45Y.mjs.map → maybe-auto-update-CWdTMKQy.mjs.map} +1 -1
- package/dist/{run-package-manager-update-C2PHSwh5.mjs → run-package-manager-update-DMMruzWa.mjs} +2 -2
- package/dist/{run-package-manager-update-C2PHSwh5.mjs.map → run-package-manager-update-DMMruzWa.mjs.map} +1 -1
- package/package.json +1 -1
- package/dist/dist--rEosQWM.mjs.map +0 -1
- package/dist/dist-27bn8V75.mjs +0 -3
- package/dist/dist-B-bOSK-t.mjs.map +0 -1
|
@@ -5778,6 +5778,7 @@ const storedRouteManifestEntryV2Schema = discriminatedUnion("kind", [
|
|
|
5778
5778
|
name: requiredDisplayTextSchema,
|
|
5779
5779
|
description: requiredDisplayTextSchema,
|
|
5780
5780
|
model: string(),
|
|
5781
|
+
compactionModel: string().optional(),
|
|
5781
5782
|
systemPrompt: string(),
|
|
5782
5783
|
toolCount: number$1().int().nonnegative(),
|
|
5783
5784
|
credentialCount: number$1().int().nonnegative(),
|
|
@@ -5996,6 +5997,47 @@ const UpdateAutoTopupRequestSchema = object({
|
|
|
5996
5997
|
thresholdMicroCredits: number$1().int().positive().optional(),
|
|
5997
5998
|
packId: string().optional()
|
|
5998
5999
|
});
|
|
6000
|
+
const BillingUsageEventSourceSchema = _enum([
|
|
6001
|
+
"ai_gateway",
|
|
6002
|
+
"sandbox",
|
|
6003
|
+
"web_proxy",
|
|
6004
|
+
"storage",
|
|
6005
|
+
"dispatch",
|
|
6006
|
+
"poll"
|
|
6007
|
+
]);
|
|
6008
|
+
const BillingUsageMeterKeySchema = _enum([
|
|
6009
|
+
"llm",
|
|
6010
|
+
"vm_second",
|
|
6011
|
+
"web_search",
|
|
6012
|
+
"web_fetch",
|
|
6013
|
+
"workflow_run",
|
|
6014
|
+
"agent_run",
|
|
6015
|
+
"poll_trigger",
|
|
6016
|
+
"tigris_storage"
|
|
6017
|
+
]);
|
|
6018
|
+
const BillingUsageKeySourceSchema = _enum(["platform", "byok"]);
|
|
6019
|
+
const BillingUsageRunKindSchema = _enum(["agent", "workflow"]);
|
|
6020
|
+
object({ events: array(object({
|
|
6021
|
+
projectId: string().min(1).max(255).nullable().optional(),
|
|
6022
|
+
runId: string().min(1).max(255).nullable().optional(),
|
|
6023
|
+
runKind: BillingUsageRunKindSchema.nullable().optional(),
|
|
6024
|
+
source: BillingUsageEventSourceSchema,
|
|
6025
|
+
sourceEventId: string().min(1).max(512),
|
|
6026
|
+
meterKey: BillingUsageMeterKeySchema,
|
|
6027
|
+
quantity: number$1().finite().nonnegative(),
|
|
6028
|
+
unit: string().min(1).max(64),
|
|
6029
|
+
providerCostUsd: number$1().finite().nonnegative().nullable().optional(),
|
|
6030
|
+
keySource: BillingUsageKeySourceSchema.nullable().optional(),
|
|
6031
|
+
occurredAt: isoDateTime$6,
|
|
6032
|
+
metadata: record(string(), unknown()).nullable().optional()
|
|
6033
|
+
}).strict()).min(1).max(100) }).strict();
|
|
6034
|
+
object({
|
|
6035
|
+
accepted: number$1().int().nonnegative(),
|
|
6036
|
+
inserted: number$1().int().nonnegative(),
|
|
6037
|
+
duplicate: number$1().int().nonnegative(),
|
|
6038
|
+
settledLedgerId: string().nullable(),
|
|
6039
|
+
chargeMicroCredits: number$1().int().nonnegative()
|
|
6040
|
+
});
|
|
5999
6041
|
/** Messaging platforms that support agent gateway bindings. */
|
|
6000
6042
|
const ChannelPlatformKeySchema = _enum(["slack"]);
|
|
6001
6043
|
const ChannelReactionSupportSchema = _enum([
|
|
@@ -6988,6 +7030,192 @@ const AgentTriggerSummaryListResponseSchema = array(object({
|
|
|
6988
7030
|
attachmentId: string(),
|
|
6989
7031
|
attachmentSlug: string()
|
|
6990
7032
|
}));
|
|
7033
|
+
const HistoryRunKindSchema = _enum(["workflow", "agent"]);
|
|
7034
|
+
const HistoryRunStatusSchema = _enum([
|
|
7035
|
+
"pending",
|
|
7036
|
+
"running",
|
|
7037
|
+
"sleeping",
|
|
7038
|
+
"waiting_hook",
|
|
7039
|
+
"completed",
|
|
7040
|
+
"failed",
|
|
7041
|
+
"canceled"
|
|
7042
|
+
]);
|
|
7043
|
+
const HistoryRunActorSchema = object({
|
|
7044
|
+
userId: string(),
|
|
7045
|
+
name: string(),
|
|
7046
|
+
avatarUrl: string().nullable().optional()
|
|
7047
|
+
});
|
|
7048
|
+
const HistoryRunUsageLineItemSchema = object({
|
|
7049
|
+
id: string(),
|
|
7050
|
+
label: string(),
|
|
7051
|
+
/** Amount debited from the org's Keystroke balance for this line. */
|
|
7052
|
+
billedUsd: number$1(),
|
|
7053
|
+
/** Provider cost for LLM usage on the org's API key (informational; not billed by Keystroke). */
|
|
7054
|
+
providerCostUsd: number$1().nullable().optional(),
|
|
7055
|
+
keySource: _enum(["byok", "platform"]).nullable().optional()
|
|
7056
|
+
});
|
|
7057
|
+
const HistoryRunUsageSchema = object({
|
|
7058
|
+
runDurationMs: number$1().nullable(),
|
|
7059
|
+
lineItems: array(HistoryRunUsageLineItemSchema),
|
|
7060
|
+
/** Sum of `billedUsd` — what Keystroke charged for this run. */
|
|
7061
|
+
totalBilledUsd: number$1().nullable(),
|
|
7062
|
+
/** Sum of BYOK LLM provider costs (billed externally by the org's provider). */
|
|
7063
|
+
externalProviderCostUsd: number$1().nullable().optional()
|
|
7064
|
+
});
|
|
7065
|
+
const HistoryRunSchema = object({
|
|
7066
|
+
id: string(),
|
|
7067
|
+
kind: HistoryRunKindSchema,
|
|
7068
|
+
traceId: string().nullable(),
|
|
7069
|
+
projectId: string(),
|
|
7070
|
+
projectName: string(),
|
|
7071
|
+
resourceKey: string(),
|
|
7072
|
+
resourceId: string(),
|
|
7073
|
+
resourceName: string(),
|
|
7074
|
+
status: HistoryRunStatusSchema,
|
|
7075
|
+
triggeredAt: string(),
|
|
7076
|
+
timeInQueueMs: number$1().nullable(),
|
|
7077
|
+
startedAt: string(),
|
|
7078
|
+
finishedAt: string().nullable(),
|
|
7079
|
+
durationMs: number$1().nullable(),
|
|
7080
|
+
triggerLabel: string(),
|
|
7081
|
+
triggerRaw: string(),
|
|
7082
|
+
ranAs: HistoryRunActorSchema.nullable(),
|
|
7083
|
+
modelsUsed: array(string()),
|
|
7084
|
+
otherServicesUsed: array(string()),
|
|
7085
|
+
totalCostUsd: number$1().nullable(),
|
|
7086
|
+
messageCount: number$1().optional(),
|
|
7087
|
+
stepCount: number$1().optional()
|
|
7088
|
+
});
|
|
7089
|
+
const HistoryTraceSpanSchema = object({
|
|
7090
|
+
id: string(),
|
|
7091
|
+
traceId: string(),
|
|
7092
|
+
parentSpanId: string().nullable(),
|
|
7093
|
+
kind: string(),
|
|
7094
|
+
refId: string(),
|
|
7095
|
+
name: string(),
|
|
7096
|
+
status: string(),
|
|
7097
|
+
startedAt: string(),
|
|
7098
|
+
finishedAt: string().nullable(),
|
|
7099
|
+
metadata: unknown().nullable(),
|
|
7100
|
+
error: unknown().nullable()
|
|
7101
|
+
});
|
|
7102
|
+
const HistoryTraceLogSchema = object({
|
|
7103
|
+
id: string(),
|
|
7104
|
+
traceId: string(),
|
|
7105
|
+
spanId: string(),
|
|
7106
|
+
seq: number$1(),
|
|
7107
|
+
level: string(),
|
|
7108
|
+
message: string(),
|
|
7109
|
+
data: unknown().nullable(),
|
|
7110
|
+
source: string(),
|
|
7111
|
+
createdAt: string()
|
|
7112
|
+
});
|
|
7113
|
+
const HistoryTraceTriggerSchema = object({
|
|
7114
|
+
triggerType: string(),
|
|
7115
|
+
triggerRunId: string(),
|
|
7116
|
+
workflowKey: string().optional(),
|
|
7117
|
+
agentKey: string().optional(),
|
|
7118
|
+
attachmentId: string().nullable().optional(),
|
|
7119
|
+
attachmentSlug: string().nullable().optional(),
|
|
7120
|
+
route: string().optional(),
|
|
7121
|
+
sourcePath: string().nullable().optional()
|
|
7122
|
+
}).nullable();
|
|
7123
|
+
const HistoryTraceGatewaySchema = object({
|
|
7124
|
+
gatewayAttachmentId: string(),
|
|
7125
|
+
gatewayAttachmentKey: string(),
|
|
7126
|
+
threadId: string().optional(),
|
|
7127
|
+
channelId: string().optional(),
|
|
7128
|
+
mode: string().optional()
|
|
7129
|
+
}).nullable();
|
|
7130
|
+
const HistoryTraceSchema = object({
|
|
7131
|
+
traceId: string(),
|
|
7132
|
+
trigger: HistoryTraceTriggerSchema,
|
|
7133
|
+
gateway: HistoryTraceGatewaySchema,
|
|
7134
|
+
spans: array(HistoryTraceSpanSchema),
|
|
7135
|
+
logs: array(HistoryTraceLogSchema)
|
|
7136
|
+
});
|
|
7137
|
+
const HistoryWorkflowStepSchema = object({
|
|
7138
|
+
id: string(),
|
|
7139
|
+
actionKey: string(),
|
|
7140
|
+
output: unknown(),
|
|
7141
|
+
completedAt: string()
|
|
7142
|
+
});
|
|
7143
|
+
const HistoryWorkflowRunDetailSchema = object({
|
|
7144
|
+
kind: literal("workflow"),
|
|
7145
|
+
run: object({
|
|
7146
|
+
id: string(),
|
|
7147
|
+
workflowKey: string(),
|
|
7148
|
+
status: HistoryRunStatusSchema,
|
|
7149
|
+
trigger: string(),
|
|
7150
|
+
triggeredAt: string(),
|
|
7151
|
+
startedAt: string().nullable(),
|
|
7152
|
+
finishedAt: string().nullable(),
|
|
7153
|
+
input: unknown().nullable(),
|
|
7154
|
+
output: unknown().nullable(),
|
|
7155
|
+
error: unknown().nullable()
|
|
7156
|
+
}),
|
|
7157
|
+
trigger: object({
|
|
7158
|
+
id: string(),
|
|
7159
|
+
attachmentSlug: string().nullable(),
|
|
7160
|
+
triggerType: string(),
|
|
7161
|
+
sourcePath: string().nullable(),
|
|
7162
|
+
payload: unknown().nullable(),
|
|
7163
|
+
triggeredAt: string()
|
|
7164
|
+
}).nullable(),
|
|
7165
|
+
steps: array(HistoryWorkflowStepSchema),
|
|
7166
|
+
trace: HistoryTraceSchema.nullable(),
|
|
7167
|
+
ranAs: HistoryRunActorSchema.nullable().optional(),
|
|
7168
|
+
usage: HistoryRunUsageSchema.nullable().optional()
|
|
7169
|
+
});
|
|
7170
|
+
const HistoryAgentCompactionEventSchema = object({
|
|
7171
|
+
seq: number$1(),
|
|
7172
|
+
createdAt: string(),
|
|
7173
|
+
compactionModel: string(),
|
|
7174
|
+
sourceModel: string(),
|
|
7175
|
+
estimatedBeforeTokens: number$1().optional(),
|
|
7176
|
+
retainedTailEstimate: number$1().optional(),
|
|
7177
|
+
durable: boolean()
|
|
7178
|
+
});
|
|
7179
|
+
const HistoryRunDetailSchema = discriminatedUnion("kind", [HistoryWorkflowRunDetailSchema, object({
|
|
7180
|
+
kind: literal("agent"),
|
|
7181
|
+
runId: string(),
|
|
7182
|
+
session: object({
|
|
7183
|
+
id: string(),
|
|
7184
|
+
agentKey: string(),
|
|
7185
|
+
status: HistoryRunStatusSchema,
|
|
7186
|
+
source: _enum([
|
|
7187
|
+
"api",
|
|
7188
|
+
"gateway",
|
|
7189
|
+
"trigger",
|
|
7190
|
+
"workflow",
|
|
7191
|
+
"agent"
|
|
7192
|
+
]),
|
|
7193
|
+
sourceId: string().nullable(),
|
|
7194
|
+
createdAt: string(),
|
|
7195
|
+
updatedAt: string(),
|
|
7196
|
+
messageCount: number$1(),
|
|
7197
|
+
error: unknown().nullable()
|
|
7198
|
+
}),
|
|
7199
|
+
gateway: object({
|
|
7200
|
+
threadId: string(),
|
|
7201
|
+
attachmentSlug: string().nullable()
|
|
7202
|
+
}).nullable(),
|
|
7203
|
+
messages: array(record(string(), unknown())),
|
|
7204
|
+
/** Sanitized context-compaction markers for the conversation timeline. */
|
|
7205
|
+
compactionEvents: array(HistoryAgentCompactionEventSchema).default([]),
|
|
7206
|
+
trace: HistoryTraceSchema.nullable(),
|
|
7207
|
+
ranAs: HistoryRunActorSchema.nullable().optional(),
|
|
7208
|
+
usage: HistoryRunUsageSchema.nullable().optional()
|
|
7209
|
+
})]);
|
|
7210
|
+
const HistoryRunListQuerySchema = object({
|
|
7211
|
+
project: string().min(1).optional(),
|
|
7212
|
+
status: HistoryRunStatusSchema.optional(),
|
|
7213
|
+
kind: HistoryRunKindSchema.optional(),
|
|
7214
|
+
limit: number().int().min(1).max(200).optional()
|
|
7215
|
+
});
|
|
7216
|
+
const HistoryRunListResponseSchema = array(HistoryRunSchema);
|
|
7217
|
+
const HistoryRunDetailResponseSchema = HistoryRunDetailSchema.nullable();
|
|
7218
|
+
const HistoryRunCancelResponseSchema = HistoryRunSchema.nullable();
|
|
6991
7219
|
const WorkflowRunStatusSchema = _enum([
|
|
6992
7220
|
"pending",
|
|
6993
7221
|
"running",
|
|
@@ -7212,6 +7440,12 @@ const AgentSessionDetailResponseSchema = object({
|
|
|
7212
7440
|
gateway: GatewaySessionDetailSchema.nullable(),
|
|
7213
7441
|
messages: array(record(string(), unknown())),
|
|
7214
7442
|
events: array(AgentEventSchema),
|
|
7443
|
+
/**
|
|
7444
|
+
* Sanitized context-compaction markers, populated alongside `messages`.
|
|
7445
|
+
* A cheap indexed lookup (session_id + event_type) — never the full event
|
|
7446
|
+
* log. Defaulted so older servers remain compatible.
|
|
7447
|
+
*/
|
|
7448
|
+
compactionEvents: array(HistoryAgentCompactionEventSchema).default([]),
|
|
7215
7449
|
trace: TraceResponseSchema.nullable()
|
|
7216
7450
|
});
|
|
7217
7451
|
const SlackGatewayModeSchema = _enum([
|
|
@@ -7249,180 +7483,6 @@ object({ agents: array(object({
|
|
|
7249
7483
|
name: string().optional(),
|
|
7250
7484
|
route: string()
|
|
7251
7485
|
})) });
|
|
7252
|
-
const HistoryRunKindSchema = _enum(["workflow", "agent"]);
|
|
7253
|
-
const HistoryRunStatusSchema = _enum([
|
|
7254
|
-
"pending",
|
|
7255
|
-
"running",
|
|
7256
|
-
"sleeping",
|
|
7257
|
-
"waiting_hook",
|
|
7258
|
-
"completed",
|
|
7259
|
-
"failed",
|
|
7260
|
-
"canceled"
|
|
7261
|
-
]);
|
|
7262
|
-
const HistoryRunActorSchema = object({
|
|
7263
|
-
userId: string(),
|
|
7264
|
-
name: string(),
|
|
7265
|
-
avatarUrl: string().nullable().optional()
|
|
7266
|
-
});
|
|
7267
|
-
const HistoryRunUsageLineItemSchema = object({
|
|
7268
|
-
id: string(),
|
|
7269
|
-
label: string(),
|
|
7270
|
-
/** Amount debited from the org's Keystroke balance for this line. */
|
|
7271
|
-
billedUsd: number$1(),
|
|
7272
|
-
/** Provider cost for LLM usage on the org's API key (informational; not billed by Keystroke). */
|
|
7273
|
-
providerCostUsd: number$1().nullable().optional(),
|
|
7274
|
-
keySource: _enum(["byok", "platform"]).nullable().optional()
|
|
7275
|
-
});
|
|
7276
|
-
const HistoryRunUsageSchema = object({
|
|
7277
|
-
runDurationMs: number$1().nullable(),
|
|
7278
|
-
lineItems: array(HistoryRunUsageLineItemSchema),
|
|
7279
|
-
/** Sum of `billedUsd` — what Keystroke charged for this run. */
|
|
7280
|
-
totalBilledUsd: number$1().nullable(),
|
|
7281
|
-
/** Sum of BYOK LLM provider costs (billed externally by the org's provider). */
|
|
7282
|
-
externalProviderCostUsd: number$1().nullable().optional()
|
|
7283
|
-
});
|
|
7284
|
-
const HistoryRunSchema = object({
|
|
7285
|
-
id: string(),
|
|
7286
|
-
kind: HistoryRunKindSchema,
|
|
7287
|
-
traceId: string().nullable(),
|
|
7288
|
-
projectId: string(),
|
|
7289
|
-
projectName: string(),
|
|
7290
|
-
resourceKey: string(),
|
|
7291
|
-
resourceId: string(),
|
|
7292
|
-
resourceName: string(),
|
|
7293
|
-
status: HistoryRunStatusSchema,
|
|
7294
|
-
triggeredAt: string(),
|
|
7295
|
-
timeInQueueMs: number$1().nullable(),
|
|
7296
|
-
startedAt: string(),
|
|
7297
|
-
finishedAt: string().nullable(),
|
|
7298
|
-
durationMs: number$1().nullable(),
|
|
7299
|
-
triggerLabel: string(),
|
|
7300
|
-
triggerRaw: string(),
|
|
7301
|
-
ranAs: HistoryRunActorSchema.nullable(),
|
|
7302
|
-
modelsUsed: array(string()),
|
|
7303
|
-
otherServicesUsed: array(string()),
|
|
7304
|
-
totalCostUsd: number$1().nullable(),
|
|
7305
|
-
messageCount: number$1().optional(),
|
|
7306
|
-
stepCount: number$1().optional()
|
|
7307
|
-
});
|
|
7308
|
-
const HistoryTraceSpanSchema = object({
|
|
7309
|
-
id: string(),
|
|
7310
|
-
traceId: string(),
|
|
7311
|
-
parentSpanId: string().nullable(),
|
|
7312
|
-
kind: string(),
|
|
7313
|
-
refId: string(),
|
|
7314
|
-
name: string(),
|
|
7315
|
-
status: string(),
|
|
7316
|
-
startedAt: string(),
|
|
7317
|
-
finishedAt: string().nullable(),
|
|
7318
|
-
metadata: unknown().nullable(),
|
|
7319
|
-
error: unknown().nullable()
|
|
7320
|
-
});
|
|
7321
|
-
const HistoryTraceLogSchema = object({
|
|
7322
|
-
id: string(),
|
|
7323
|
-
traceId: string(),
|
|
7324
|
-
spanId: string(),
|
|
7325
|
-
seq: number$1(),
|
|
7326
|
-
level: string(),
|
|
7327
|
-
message: string(),
|
|
7328
|
-
data: unknown().nullable(),
|
|
7329
|
-
source: string(),
|
|
7330
|
-
createdAt: string()
|
|
7331
|
-
});
|
|
7332
|
-
const HistoryTraceTriggerSchema = object({
|
|
7333
|
-
triggerType: string(),
|
|
7334
|
-
triggerRunId: string(),
|
|
7335
|
-
workflowKey: string().optional(),
|
|
7336
|
-
agentKey: string().optional(),
|
|
7337
|
-
attachmentId: string().nullable().optional(),
|
|
7338
|
-
attachmentSlug: string().nullable().optional(),
|
|
7339
|
-
route: string().optional(),
|
|
7340
|
-
sourcePath: string().nullable().optional()
|
|
7341
|
-
}).nullable();
|
|
7342
|
-
const HistoryTraceGatewaySchema = object({
|
|
7343
|
-
gatewayAttachmentId: string(),
|
|
7344
|
-
gatewayAttachmentKey: string(),
|
|
7345
|
-
threadId: string().optional(),
|
|
7346
|
-
channelId: string().optional(),
|
|
7347
|
-
mode: string().optional()
|
|
7348
|
-
}).nullable();
|
|
7349
|
-
const HistoryTraceSchema = object({
|
|
7350
|
-
traceId: string(),
|
|
7351
|
-
trigger: HistoryTraceTriggerSchema,
|
|
7352
|
-
gateway: HistoryTraceGatewaySchema,
|
|
7353
|
-
spans: array(HistoryTraceSpanSchema),
|
|
7354
|
-
logs: array(HistoryTraceLogSchema)
|
|
7355
|
-
});
|
|
7356
|
-
const HistoryWorkflowStepSchema = object({
|
|
7357
|
-
id: string(),
|
|
7358
|
-
actionKey: string(),
|
|
7359
|
-
output: unknown(),
|
|
7360
|
-
completedAt: string()
|
|
7361
|
-
});
|
|
7362
|
-
const HistoryRunDetailSchema = discriminatedUnion("kind", [object({
|
|
7363
|
-
kind: literal("workflow"),
|
|
7364
|
-
run: object({
|
|
7365
|
-
id: string(),
|
|
7366
|
-
workflowKey: string(),
|
|
7367
|
-
status: HistoryRunStatusSchema,
|
|
7368
|
-
trigger: string(),
|
|
7369
|
-
triggeredAt: string(),
|
|
7370
|
-
startedAt: string().nullable(),
|
|
7371
|
-
finishedAt: string().nullable(),
|
|
7372
|
-
input: unknown().nullable(),
|
|
7373
|
-
output: unknown().nullable(),
|
|
7374
|
-
error: unknown().nullable()
|
|
7375
|
-
}),
|
|
7376
|
-
trigger: object({
|
|
7377
|
-
id: string(),
|
|
7378
|
-
attachmentSlug: string().nullable(),
|
|
7379
|
-
triggerType: string(),
|
|
7380
|
-
sourcePath: string().nullable(),
|
|
7381
|
-
payload: unknown().nullable(),
|
|
7382
|
-
triggeredAt: string()
|
|
7383
|
-
}).nullable(),
|
|
7384
|
-
steps: array(HistoryWorkflowStepSchema),
|
|
7385
|
-
trace: HistoryTraceSchema.nullable(),
|
|
7386
|
-
ranAs: HistoryRunActorSchema.nullable().optional(),
|
|
7387
|
-
usage: HistoryRunUsageSchema.nullable().optional()
|
|
7388
|
-
}), object({
|
|
7389
|
-
kind: literal("agent"),
|
|
7390
|
-
runId: string(),
|
|
7391
|
-
session: object({
|
|
7392
|
-
id: string(),
|
|
7393
|
-
agentKey: string(),
|
|
7394
|
-
status: HistoryRunStatusSchema,
|
|
7395
|
-
source: _enum([
|
|
7396
|
-
"api",
|
|
7397
|
-
"gateway",
|
|
7398
|
-
"trigger",
|
|
7399
|
-
"workflow",
|
|
7400
|
-
"agent"
|
|
7401
|
-
]),
|
|
7402
|
-
sourceId: string().nullable(),
|
|
7403
|
-
createdAt: string(),
|
|
7404
|
-
updatedAt: string(),
|
|
7405
|
-
messageCount: number$1(),
|
|
7406
|
-
error: unknown().nullable()
|
|
7407
|
-
}),
|
|
7408
|
-
gateway: object({
|
|
7409
|
-
threadId: string(),
|
|
7410
|
-
attachmentSlug: string().nullable()
|
|
7411
|
-
}).nullable(),
|
|
7412
|
-
messages: array(record(string(), unknown())),
|
|
7413
|
-
trace: HistoryTraceSchema.nullable(),
|
|
7414
|
-
ranAs: HistoryRunActorSchema.nullable().optional(),
|
|
7415
|
-
usage: HistoryRunUsageSchema.nullable().optional()
|
|
7416
|
-
})]);
|
|
7417
|
-
const HistoryRunListQuerySchema = object({
|
|
7418
|
-
project: string().min(1).optional(),
|
|
7419
|
-
status: HistoryRunStatusSchema.optional(),
|
|
7420
|
-
kind: HistoryRunKindSchema.optional(),
|
|
7421
|
-
limit: number().int().min(1).max(200).optional()
|
|
7422
|
-
});
|
|
7423
|
-
const HistoryRunListResponseSchema = array(HistoryRunSchema);
|
|
7424
|
-
const HistoryRunDetailResponseSchema = HistoryRunDetailSchema.nullable();
|
|
7425
|
-
const HistoryRunCancelResponseSchema = HistoryRunSchema.nullable();
|
|
7426
7486
|
object({ subscriptions: array(object({
|
|
7427
7487
|
id: string(),
|
|
7428
7488
|
workflowKey: string(),
|
|
@@ -8406,4 +8466,4 @@ const WorkflowRunInputsPutBodySchema = record(string(), unknown());
|
|
|
8406
8466
|
//#endregion
|
|
8407
8467
|
export { CredentialInstanceRecordSchema as $, WorkflowRunDetailResponseSchema as $n, toJSONSchema as $r, PresignProjectSourceResponseSchema as $t, ConnectManagedServiceCredentialRequestSchema as A, TriggerRunListResponseSchema as An, ZodType as Ar, ListManagedServiceCredentialsResponseSchema as At, CreateCustomAppResponseSchema as B, UpdateProjectMemberResponseSchema as Bn, lazy as Br, ManagedServiceCredentialSchema as Bt, ChannelConnectionListResponseSchema as C, SubmitMarketingContactRequestSchema as Cn, parseStoredRouteManifest as Cr, ListAgentMemoryFilesResponseSchema as Ct, ConfirmCheckoutRequestSchema as D, TriggerInvokeResponseSchema as Dn, resolvePublicPlatformOrigin as Dr, ListChannelPlatformsResponseSchema as Dt, CompleteProjectArtifactResponseSchema as E, TriggerInvokeInputsSchema as En, resolveDocsMcpUrl as Er, ListAppsResponseSchema as Et, CreateCredentialInstanceBodySchema as F, UpdateManagedServiceCredentialRequestSchema as Fn, array as Fr, ListProjectDeploymentsResponseSchema as Ft, CreateProjectResponseSchema as G, UpsertGatewayAttachmentBodySchema as Gn, optional as Gr, OrganizationSidebarBrandingSchema as Gt, CreateOrganizationResponseSchema as H, UpdateProjectSettingsRequestSchema as Hn, looseObject as Hr, McpDiscoverResponseSchema as Ht, CreateCredentialsRequestSchema as I, UpdateOrganizationMemberRequestSchema as In, boolean as Ir, ListProjectFilesResponseSchema as It, CredentialAssignmentListResponseSchema as J, UserPreferencesPatchSchema as Jn, string as Jr, PresignChatAttachmentRequestSchema as Jt, CreateSubscriptionCheckoutRequestSchema as K, UserAvatarPatchSchema as Kn, preprocess as Kr, PROJECT_PULL_STATE_RELATIVE_PATH as Kt, CreateCredentialsResponseSchema as L, UpdateOrganizationMemberResponseSchema as Ln, custom as Lr, ListProjectMembersResponseSchema as Lt, CreateApiKeyRequestSchema as M, UpdateChannelBindingBodySchema as Mn, _function as Mr, ListOrganizationMembersPageQuerySchema as Mt, CreateApiKeyResponseSchema as N, UpdateCredentialInstanceBodySchema as Nn, _null as Nr, ListOrganizationMembersPageResponseSchema as Nt, ConfirmCheckoutResponseSchema as O, TriggerListResponseSchema as On, slugifyAppName as Or, ListCredentialsPageQuerySchema as Ot, CreateBillingPortalRequestSchema as P, UpdateCredentialRequestSchema as Pn, any as Pr, ListOrganizationsResponseSchema as Pt, CredentialInstanceListResponseSchema as Q, WorkflowCanvasSchema as Qn, datetime as Qr, PresignProjectSourceRequestSchema as Qt, CreateCreditsCheckoutRequestSchema as R, UpdateOrganizationRequestSchema as Rn, discriminatedUnion as Rr, ListProjectMetricsResponseSchema as Rt, ChannelAccountListResponseSchema as S, StartOAuthConnectionResultSchema as Sn, parseErrorResponse as Sr, LOCAL_PLATFORM_ORIGIN as St, ChannelDirectoryListResponseSchema as T, TriggerDetailResponseSchema as Tn, resolveConnectAppSlug as Tr, ListApiKeysResponseSchema as Tt, CreateProjectArtifactResponseSchema as U, UploadProjectSourceManifestRequestSchema as Un, number$1 as Ur, OpenApiDiscoverResponseSchema as Ut, CreateOrganizationRequestSchema as V, UpdateProjectRequestSchema as Vn, literal as Vr, ManagedServiceKindSchema as Vt, CreateProjectRequestSchema as W, UploadProjectSourceResponseSchema as Wn, object as Wr, OrganizationSidebarBrandingPatchSchema as Wt, CredentialConsumerListQuerySchema as X, WorkflowCanvasCredentialBindingsSchema as Xn, unknown as Xr, PresignOrgLogoRequestSchema as Xt, CredentialAssignmentRecordSchema as Y, UserPreferencesSchema as Yn, union as Yr, PresignChatAttachmentResponseSchema as Yt, CredentialConsumerListResponseSchema as Z, WorkflowCanvasRunSchema as Zn, url as Zr, PresignOrgLogoResponseSchema as Zt, BindChannelBodySchema as _, StartKeystrokeConnectionInputSchema as _n, isAcceptableInstallExit as _r, HistoryRunListResponseSchema as _t, AgentSessionListResponseSchema as a, ProjectSettingsResponseSchema as an, WorkflowSummaryDetailResponseSchema as ar, DownloadActiveProjectSourceResponseSchema as at, CatalogAppDetailResponseSchema as b, StartMcpOAuthConnectionResultSchema as bn, originFromPublicUrl as br, InviteProjectMembersRequestSchema as bt, AgentTriggerSummaryListResponseSchema as c, PromptResponseSchema as cn, WorkspaceTriggerFileSchema as cr, GatewayAttachmentRecordSchema as ct, AutoTopupSummarySchema as d, QueuedRunResponseSchema as dn, WorkspaceTriggerRunListResponseSchema as dr, GetCustomAppResponseSchema as dt, safeParse$1 as ei, PresignUserAvatarRequestSchema as en, WorkflowRunHooksResponseSchema as er, DEFAULT_CLOUD_PLATFORM_ORIGIN as et, BillingActivityResponseSchema as f, ROUTE_MANIFEST_REL_PATH as fn, WorkspaceWorkflowOverviewSchema as fr, GraphqlDiscoverResponseSchema as ft, BillingUsageResponseSchema as g, SlugAvailabilityResponseSchema as gn, detectProjectPackageManagerFromSnapshot as gr, HistoryRunListQuerySchema as gt, BillingSummaryResponseSchema as h, SkillSummaryListResponseSchema as hn, deriveCustomAppDisplay as hr, HistoryRunDetailResponseSchema as ht, AgentSessionDetailResponseSchema as i, ProjectResponseSchema as in, WorkflowRunResponseSchema as ir, DownloadActiveProjectArtifactResponseSchema as it, ConnectProvidersResponseSchema as j, UpdateAutoTopupRequestSchema as jn, _enum as jr, ListOrganizationInvitationsResponseSchema as jt, ConnectAuthorizeUrlResponseSchema as k, TriggerRunDetailResponseSchema as kn, number as kr, ListCredentialsPageResponseSchema as kt, AppSlugAvailabilityResponseSchema as l, PublicModelsResponseSchema as ln, WorkspaceTriggerListResponseSchema as lr, GetAppCatalogEntryResponseSchema as lt, BillingRedirectResponseSchema as m, SkillSummaryDetailResponseSchema as mn, credentialInputSchema as mr, HistoryRunCancelResponseSchema as mt, AcceptOrganizationInvitationResponseSchema as n, ProjectPullStateSchema as nn, WorkflowRunInputsSchema as nr, DOCS_SEARCH_TOOL as nt, AgentSummaryDetailResponseSchema as o, ProjectSlugAvailabilityResponseSchema as on, WorkflowSummaryListResponseSchema as or, ErrorResponseSchema as ot, BillingInvoiceUrlResponseSchema as p, RecentResourceListResponseSchema as pn, buildConnectDeeplink as pr, HealthResponseSchema as pt, CredentialAssignmentListQuerySchema as q, UserAvatarSchema as qn, record as qr, PROJECT_REACHABILITY_REQUEST_TIMEOUT_MS as qt, ActiveOrganizationResponseSchema as r, ProjectReachabilityResponseSchema as rn, WorkflowRunListResponseSchema as rr, DeclineOrganizationInvitationResponseSchema as rt, AgentSummaryListResponseSchema as s, PromptInputSchema as sn, WorkspaceTriggerDetailSchema as sr, ExecuteKeystrokeToolRequestSchema as st, ACTIVE_ORG_HEADER as t, NEVER as ti, PresignUserAvatarResponseSchema as tn, WorkflowRunInputsPutBodySchema as tr, DOCS_QUERY_TOOL as tt, AssignCredentialBodySchema as u, QueuedAgentPromptResponseSchema as un, WorkspaceTriggerOverviewSchema as ur, GetCredentialResponseSchema as ut, CatalogActionDetailResponseSchema as v, StartKeystrokeConnectionResultSchema as vn, listenPortFromPublicUrl as vr, InviteOrganizationMembersRequestSchema as vt, ChannelConnectionSchema as w, SubmitTeamRequestRequestSchema as wn, requiredDisplayTextSchema as wr, ListAgentWorkspaceFilesResponseSchema as wt, CatalogAppsPageResponseSchema as x, StartOAuthConnectionInputSchema as xn, parseAppSlug as xr, InviteProjectMembersResponseSchema as xt, CatalogActionsPageResponseSchema as y, StartMcpOAuthConnectionInputSchema as yn, normalizeCredentialList as yr, InviteOrganizationMembersResponseSchema as yt, CreateCustomAppRequestSchema as z, UpdateProjectMemberRequestSchema as zn, intersection as zr, ListProjectsResponseSchema as zt };
|
|
8408
8468
|
|
|
8409
|
-
//# sourceMappingURL=dist-
|
|
8469
|
+
//# sourceMappingURL=dist-CppcpBQ9.mjs.map
|