Skip to content

Commit dac94a3

Browse files
committed
fix(copilot): type resource update directives
1 parent 838c936 commit dac94a3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • apps/sim/lib/copilot/tool-executor

apps/sim/lib/copilot/tool-executor/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { BillingAttributionSnapshot } from '@/lib/billing/core/billing-attribution'
2-
import type { MothershipResource } from '@/lib/copilot/resources/types'
2+
import type { MothershipResourceUpdate } from '@/lib/copilot/resources/types'
33
import type { SecretMountPolicy } from '@/lib/copilot/secret-mount-policy'
44
import type { ResolvedSecretTraceRegistry } from '@/executor/utils/resolved-secret-trace-registry'
55

@@ -84,7 +84,7 @@ export interface ToolExecutionResult {
8484
success: boolean
8585
output?: unknown
8686
error?: string
87-
resources?: MothershipResource[]
87+
resources?: MothershipResourceUpdate[]
8888
/**
8989
* Declared by tools whose failure a caller cannot otherwise act on. Consumed by
9090
* the egress projection and never returned to the model as-is — on a withheld

0 commit comments

Comments
 (0)