Skip to content

Commit ce18495

Browse files
committed
improvement(obsidian): add type re-exports and improve output descriptions
1 parent 7225288 commit ce18495

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

apps/sim/blocks/blocks/obsidian.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,9 +255,9 @@ export const ObsidianBlock: BlockConfig = {
255255
outputs: {
256256
content: { type: 'string', description: 'Markdown content of the note' },
257257
filename: { type: 'string', description: 'Path to the note' },
258-
files: { type: 'json', description: 'List of files and directories' },
259-
results: { type: 'json', description: 'Search results with filenames and matches' },
260-
commands: { type: 'json', description: 'List of available commands' },
258+
files: { type: 'json', description: 'List of files and directories (path, type)' },
259+
results: { type: 'json', description: 'Search results (filename, score, matches)' },
260+
commands: { type: 'json', description: 'List of available commands (id, name)' },
261261
created: { type: 'boolean', description: 'Whether the note was created' },
262262
appended: { type: 'boolean', description: 'Whether content was appended' },
263263
patched: { type: 'boolean', description: 'Whether content was patched' },

apps/sim/tools/obsidian/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ export { openFileTool as obsidianOpenFileTool } from './open_file'
1313
export { patchActiveTool as obsidianPatchActiveTool } from './patch_active'
1414
export { patchNoteTool as obsidianPatchNoteTool } from './patch_note'
1515
export { searchTool as obsidianSearchTool } from './search'
16+
export * from './types'

0 commit comments

Comments
 (0)