Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/shared/src/cloudflare-ai-gateway-errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function includesMarker(message: string, markers: readonly string[]): boolean {
return markers.some((marker) => normalized.includes(marker))
}

export function classifyCloudflareAiGatewayError(
function classifyCloudflareAiGatewayError(
message: string,
status?: number,
): CloudflareAiGatewayActionableErrorKind | null {
Expand Down
1 change: 0 additions & 1 deletion packages/shared/src/workflow-nodes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import {
export {
WORKFLOW_KV_NAMESPACE_OPTIONS,
WORKFLOW_NODE_CATALOG,
WORKFLOW_NODE_CATALOG_COMPLETE,
WORKFLOW_NODE_TYPES,
WORKFLOW_R2_BUCKET_OPTIONS,
WORKFLOW_STORAGE_ENCODING_OPTIONS,
Expand Down
2 changes: 0 additions & 2 deletions packages/shared/src/workflows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ export {
validateWorkflowJsonObjectFieldName,
WORKFLOW_JSON_OBJECT_FIELD_NAME_PATTERN,
WORKFLOW_NODE_CATALOG,
WORKFLOW_NODE_CATALOG_COMPLETE,
WORKFLOW_NODE_TYPES,
WORKFLOW_KV_NAMESPACE_OPTIONS,
WORKFLOW_R2_BUCKET_OPTIONS,
Expand Down Expand Up @@ -99,7 +98,6 @@ export type {

export {
parseWorkflowManifest,
parseWorkflowManifestDraft,
parseWorkflowNodeOptions,
SessionToolSpecSchema,
WorkflowManifestDraftSchema,
Expand Down
8 changes: 0 additions & 8 deletions packages/shared/src/workflows/manifest-schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,6 @@ const decodeOptions = Schema.decodeUnknownOption(WorkflowNodeOptionsSchema, {
onExcessProperty: "ignore",
})

const decodeDraft = Schema.decodeUnknownOption(WorkflowManifestDraftSchema, {
onExcessProperty: "ignore",
})

const decodeManifest = Schema.decodeUnknownOption(WorkflowManifestSchema, {
onExcessProperty: "ignore",
})
Expand Down Expand Up @@ -205,10 +201,6 @@ export function parseWorkflowNodeOptions(value: unknown): WorkflowNodeOptions {
})
}

export function parseWorkflowManifestDraft(value: unknown): Option.Option<WorkflowManifestDraft> {
return decodeDraft(value)
}

export function parseWorkflowManifest(value: unknown): Option.Option<WorkflowManifest> {
return Option.map(decodeManifest(value), toWorkflowManifest)
}
Loading