Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
75f6e15
fix(docs): pin the generator's sort locale to en-US
waleedlatif1 Aug 28, 2026
c647676
fix(vanta): remove the MIME Type field whose value was always discarded
waleedlatif1 Aug 28, 2026
3604c23
fix(github): resolve the PR head SHA for file comments
waleedlatif1 Aug 28, 2026
77cece9
fix(google-drive): expose the page token so pagination is reachable
waleedlatif1 Aug 28, 2026
a9b476e
fix(confluence): stop documenting a cloudId users cannot supply
waleedlatif1 Aug 28, 2026
83f5cd9
fix(docs): teach the source scanner about regex literals
waleedlatif1 Aug 28, 2026
a4d9a73
Merge remote-tracking branch 'origin/staging' into fix/pre-existing-i…
waleedlatif1 Aug 28, 2026
83b16ae
fix(github): gate the commit lookup on path, coerce line, name the fa…
waleedlatif1 Aug 28, 2026
5d74dcb
test(github): cover the comment routing cases the gate changed
waleedlatif1 Aug 28, 2026
0e790bf
fix(google-drive): let an agent feed the page token back in
waleedlatif1 Aug 28, 2026
539e1ab
docs(generator): name the load-bearing newline rule and report an uns…
waleedlatif1 Aug 28, 2026
00ff23b
fix(vanta): declare the removed uploadMimeType subblock as dropped
waleedlatif1 Aug 28, 2026
a181906
fix(github): run the two-phase PR comment on the secure transport
waleedlatif1 Aug 28, 2026
06bf99f
fix(vanta): keep mimeType an ordinary upload parameter
waleedlatif1 Aug 28, 2026
cc5a264
fix(generator): lex regex-in-keyword-position and template interpolation
waleedlatif1 Aug 28, 2026
1403919
fix(github): stop forwarding the GitHub token across a redirect origin
waleedlatif1 Aug 28, 2026
68035f6
fix(github): reject a fractional comment line instead of truncating it
waleedlatif1 Aug 28, 2026
ae542d9
fix(github): select the comment endpoint by comment type, not by path
waleedlatif1 Aug 28, 2026
e2b4eae
test(confluence): drop the cloudId visibility invariant test
waleedlatif1 Aug 28, 2026
1f06127
fix(github): send an explicit User-Agent and stop downgrading a redir…
waleedlatif1 Aug 28, 2026
ec43e24
fix(vanta): drop the dead whenOperation from the removed-subblock entry
waleedlatif1 Aug 28, 2026
36d0488
fix(docs-gen): close a regex-vs-division gap and make three guards te…
waleedlatif1 Aug 28, 2026
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
Prev Previous commit
Next Next commit
fix(vanta): keep mimeType an ordinary upload parameter
`mimeType` was marked hidden, but `visibility: 'hidden'` is reserved for
system-injected params such as OAuth tokens. It also left the base64 upload path
with no way to set a content type, since `fileContent` is hidden too.
  • Loading branch information
waleedlatif1 committed Aug 28, 2026
commit 06bf99f4f1f90977b640e32620beb312230121e9
1 change: 1 addition & 0 deletions apps/docs/content/docs/en/integrations/vanta.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ Upload an evidence file to a Vanta document. Requires credentials with the vanta
| `documentId` | string | Yes | Unique ID of the document to attach the file to |
| `file` | file | No | The evidence file to upload |
| `fileName` | string | No | Optional file name override |
| `mimeType` | string | No | MIME type of the file \(e.g., application/pdf\). Applies only to the base64 upload path; a file from the File input always sends the content type resolved from storage. |
| `description` | string | No | Description of the uploaded evidence \(e.g., "Q3 access review evidence"\) |
| `effectiveAtDate` | string | No | ISO 8601 date indicating when the document is effective from |

Expand Down
2 changes: 1 addition & 1 deletion apps/sim/tools/generated/tool-metadata.ts

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions apps/sim/tools/vanta/operation-input.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ describe('Vanta internal tool declarations', () => {
}
})

it('leaves mimeType an ordinary operation parameter the base64 path can set', () => {
expect(vantaUploadDocumentFileTool.params.mimeType.visibility).toBe('user-or-llm')
})

it('hides only the system-injected file content', () => {
expect(vantaUploadDocumentFileTool.params.fileContent.visibility).toBe('hidden')
})

it('preserves resolved secrets, variables, and protected file references verbatim', () => {
const file = { key: 'workspace/file.txt', name: 'file.txt', size: 4 }
expect(
Expand Down
2 changes: 1 addition & 1 deletion apps/sim/tools/vanta/upload_document_file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const vantaUploadDocumentFileTool: InternalToolConfig<
mimeType: {
type: 'string',
required: false,
visibility: 'hidden',
visibility: 'user-or-llm',
description:
'MIME type of the file (e.g., application/pdf). Applies only to the base64 upload path; a file from the File input always sends the content type resolved from storage.',
},
Expand Down