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
197 changes: 197 additions & 0 deletions docs/adr/0018-unified-node-action-registry.md

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion packages/spec/scripts/build-skill-references.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ const SKILL_MAP: Record<string, string[]> = {
],
'objectstack-automation': [
'automation/flow.zod.ts',
'automation/workflow.zod.ts',
'automation/trigger-registry.zod.ts',
'automation/approval.zod.ts',
'automation/state-machine.zod.ts',
Expand Down
4 changes: 2 additions & 2 deletions packages/spec/src/api/protocol.zod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
} from './analytics.zod';
import { RealtimePresenceSchema, TransportProtocol } from './realtime.zod';
import { ObjectPermissionSchema, FieldPermissionSchema } from '../security/permission.zod';
import { WorkflowRuleSchema } from '../automation/workflow.zod';
import { StateMachineSchema } from '../automation/state-machine.zod';
import { TranslationDataSchema } from '../system/translation.zod';
import type {
GetFeedRequest,
Expand Down Expand Up @@ -666,7 +666,7 @@ export const GetWorkflowConfigRequestSchema = lazySchema(() => z.object({

export const GetWorkflowConfigResponseSchema = lazySchema(() => z.object({
object: z.string().describe('Object name'),
workflows: z.array(WorkflowRuleSchema).describe('Active workflow rules for this object'),
workflows: z.array(StateMachineSchema).describe('Active state-machine workflows for this object'),
}));

export const WorkflowStateSchema = lazySchema(() => z.object({
Expand Down
2 changes: 0 additions & 2 deletions packages/spec/src/automation/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Copyright (c) 2025 ObjectStack. Licensed under the Apache-2.0 license.


export * from './workflow.zod';
export { workflowForm } from './workflow.form';
export * from './flow.zod';
export { flowForm } from './flow.form';
export * from './execution.zod';
Expand Down
45 changes: 0 additions & 45 deletions packages/spec/src/automation/workflow.form.ts

This file was deleted.

Loading
Loading