(pattern: string)
| 52 | * artifact-scoped approval path without first connecting an integration. |
| 53 | */ |
| 54 | const artifactActionCode = (pattern: string) => |
| 55 | `return await tools.executor.coreTools.policies.create(${JSON.stringify({ |
| 56 | owner: "user", |
| 57 | pattern, |
| 58 | action: "block", |
| 59 | })})`; |
| 60 | |
| 61 | /** A minimal artifact. Its source is irrelevant to the approval path — what |
| 62 | * matters is that a real artifact id scopes the call, exactly as the rendered |
no outgoing calls
no test coverage detected