@botbotgo/kit-builtin 0.0.92
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +82 -0
- package/dist/agent-tool-extension-compat.d.ts +5 -0
- package/dist/agent-tool-extension-compat.d.ts.map +1 -0
- package/dist/agent-tool-extension-compat.js +8 -0
- package/dist/agent-tool-extension-compat.js.map +1 -0
- package/dist/config/tool.yaml +162 -0
- package/dist/core-tools-manifest.json +7081 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +11 -0
- package/dist/index.js.map +1 -0
- package/dist/src/analyze/analyzeLog.d.ts +30 -0
- package/dist/src/analyze/analyzeLog.d.ts.map +1 -0
- package/dist/src/analyze/analyzeLog.js +168 -0
- package/dist/src/analyze/analyzeLog.js.map +1 -0
- package/dist/src/analyze/analyzeProjectRepo.constants.d.ts +6 -0
- package/dist/src/analyze/analyzeProjectRepo.constants.d.ts.map +1 -0
- package/dist/src/analyze/analyzeProjectRepo.constants.js +53 -0
- package/dist/src/analyze/analyzeProjectRepo.constants.js.map +1 -0
- package/dist/src/analyze/analyzeProjectRepo.d.ts +35 -0
- package/dist/src/analyze/analyzeProjectRepo.d.ts.map +1 -0
- package/dist/src/analyze/analyzeProjectRepo.js +349 -0
- package/dist/src/analyze/analyzeProjectRepo.js.map +1 -0
- package/dist/src/analyze/askProjectRepo.d.ts +40 -0
- package/dist/src/analyze/askProjectRepo.d.ts.map +1 -0
- package/dist/src/analyze/askProjectRepo.helpers.d.ts +57 -0
- package/dist/src/analyze/askProjectRepo.helpers.d.ts.map +1 -0
- package/dist/src/analyze/askProjectRepo.helpers.js +233 -0
- package/dist/src/analyze/askProjectRepo.helpers.js.map +1 -0
- package/dist/src/analyze/askProjectRepo.js +287 -0
- package/dist/src/analyze/askProjectRepo.js.map +1 -0
- package/dist/src/analyze/defaults.d.ts +17 -0
- package/dist/src/analyze/defaults.d.ts.map +1 -0
- package/dist/src/analyze/defaults.js +17 -0
- package/dist/src/analyze/defaults.js.map +1 -0
- package/dist/src/analyze/embedText.d.ts +27 -0
- package/dist/src/analyze/embedText.d.ts.map +1 -0
- package/dist/src/analyze/embedText.js +132 -0
- package/dist/src/analyze/embedText.js.map +1 -0
- package/dist/src/calendar/calendarCreateEvent.d.ts +31 -0
- package/dist/src/calendar/calendarCreateEvent.d.ts.map +1 -0
- package/dist/src/calendar/calendarCreateEvent.js +67 -0
- package/dist/src/calendar/calendarCreateEvent.js.map +1 -0
- package/dist/src/calendar/calendarDeleteEvent.d.ts +22 -0
- package/dist/src/calendar/calendarDeleteEvent.d.ts.map +1 -0
- package/dist/src/calendar/calendarDeleteEvent.js +41 -0
- package/dist/src/calendar/calendarDeleteEvent.js.map +1 -0
- package/dist/src/calendar/calendarListEvents.d.ts +32 -0
- package/dist/src/calendar/calendarListEvents.d.ts.map +1 -0
- package/dist/src/calendar/calendarListEvents.js +95 -0
- package/dist/src/calendar/calendarListEvents.js.map +1 -0
- package/dist/src/calendar/calendarRescheduleEventByTitle.d.ts +30 -0
- package/dist/src/calendar/calendarRescheduleEventByTitle.d.ts.map +1 -0
- package/dist/src/calendar/calendarRescheduleEventByTitle.js +94 -0
- package/dist/src/calendar/calendarRescheduleEventByTitle.js.map +1 -0
- package/dist/src/calendar/calendarSearchEventsByTitle.d.ts +33 -0
- package/dist/src/calendar/calendarSearchEventsByTitle.d.ts.map +1 -0
- package/dist/src/calendar/calendarSearchEventsByTitle.js +95 -0
- package/dist/src/calendar/calendarSearchEventsByTitle.js.map +1 -0
- package/dist/src/calendar/calendarUpdateEvent.d.ts +27 -0
- package/dist/src/calendar/calendarUpdateEvent.d.ts.map +1 -0
- package/dist/src/calendar/calendarUpdateEvent.js +58 -0
- package/dist/src/calendar/calendarUpdateEvent.js.map +1 -0
- package/dist/src/cron/cronListEntries.d.ts +19 -0
- package/dist/src/cron/cronListEntries.d.ts.map +1 -0
- package/dist/src/cron/cronListEntries.js +33 -0
- package/dist/src/cron/cronListEntries.js.map +1 -0
- package/dist/src/cron/cronRemoveTaggedEntries.d.ts +21 -0
- package/dist/src/cron/cronRemoveTaggedEntries.d.ts.map +1 -0
- package/dist/src/cron/cronRemoveTaggedEntries.js +41 -0
- package/dist/src/cron/cronRemoveTaggedEntries.js.map +1 -0
- package/dist/src/cron/cronSetTaggedEntry.d.ts +24 -0
- package/dist/src/cron/cronSetTaggedEntry.d.ts.map +1 -0
- package/dist/src/cron/cronSetTaggedEntry.js +51 -0
- package/dist/src/cron/cronSetTaggedEntry.js.map +1 -0
- package/dist/src/exec/defaults.d.ts +8 -0
- package/dist/src/exec/defaults.d.ts.map +1 -0
- package/dist/src/exec/defaults.js +28 -0
- package/dist/src/exec/defaults.js.map +1 -0
- package/dist/src/exec/runCommand.d.ts +31 -0
- package/dist/src/exec/runCommand.d.ts.map +1 -0
- package/dist/src/exec/runCommand.js +158 -0
- package/dist/src/exec/runCommand.js.map +1 -0
- package/dist/src/fs/defaults.d.ts +16 -0
- package/dist/src/fs/defaults.d.ts.map +1 -0
- package/dist/src/fs/defaults.js +16 -0
- package/dist/src/fs/defaults.js.map +1 -0
- package/dist/src/fs/deletePath.d.ts +23 -0
- package/dist/src/fs/deletePath.d.ts.map +1 -0
- package/dist/src/fs/deletePath.js +70 -0
- package/dist/src/fs/deletePath.js.map +1 -0
- package/dist/src/fs/listDir.d.ts +35 -0
- package/dist/src/fs/listDir.d.ts.map +1 -0
- package/dist/src/fs/listDir.js +115 -0
- package/dist/src/fs/listDir.js.map +1 -0
- package/dist/src/fs/readText.d.ts +22 -0
- package/dist/src/fs/readText.d.ts.map +1 -0
- package/dist/src/fs/readText.js +47 -0
- package/dist/src/fs/readText.js.map +1 -0
- package/dist/src/fs/searchText.d.ts +40 -0
- package/dist/src/fs/searchText.d.ts.map +1 -0
- package/dist/src/fs/searchText.js +162 -0
- package/dist/src/fs/searchText.js.map +1 -0
- package/dist/src/fs/sha256.d.ts +21 -0
- package/dist/src/fs/sha256.d.ts.map +1 -0
- package/dist/src/fs/sha256.js +51 -0
- package/dist/src/fs/sha256.js.map +1 -0
- package/dist/src/fs/writeText.d.ts +28 -0
- package/dist/src/fs/writeText.d.ts.map +1 -0
- package/dist/src/fs/writeText.js +68 -0
- package/dist/src/fs/writeText.js.map +1 -0
- package/dist/src/git/common.d.ts +34 -0
- package/dist/src/git/common.d.ts.map +1 -0
- package/dist/src/git/common.js +120 -0
- package/dist/src/git/common.js.map +1 -0
- package/dist/src/git/defaults.d.ts +11 -0
- package/dist/src/git/defaults.d.ts.map +1 -0
- package/dist/src/git/defaults.js +54 -0
- package/dist/src/git/defaults.js.map +1 -0
- package/dist/src/git/ghRead.d.ts +29 -0
- package/dist/src/git/ghRead.d.ts.map +1 -0
- package/dist/src/git/ghRead.js +63 -0
- package/dist/src/git/ghRead.js.map +1 -0
- package/dist/src/git/gitAdd.d.ts +29 -0
- package/dist/src/git/gitAdd.d.ts.map +1 -0
- package/dist/src/git/gitAdd.js +57 -0
- package/dist/src/git/gitAdd.js.map +1 -0
- package/dist/src/git/gitCommit.d.ts +29 -0
- package/dist/src/git/gitCommit.d.ts.map +1 -0
- package/dist/src/git/gitCommit.js +56 -0
- package/dist/src/git/gitCommit.js.map +1 -0
- package/dist/src/git/gitDiff.d.ts +28 -0
- package/dist/src/git/gitDiff.d.ts.map +1 -0
- package/dist/src/git/gitDiff.js +54 -0
- package/dist/src/git/gitDiff.js.map +1 -0
- package/dist/src/git/gitLogHistory.d.ts +37 -0
- package/dist/src/git/gitLogHistory.d.ts.map +1 -0
- package/dist/src/git/gitLogHistory.js +85 -0
- package/dist/src/git/gitLogHistory.js.map +1 -0
- package/dist/src/git/gitPrView.d.ts +26 -0
- package/dist/src/git/gitPrView.d.ts.map +1 -0
- package/dist/src/git/gitPrView.js +66 -0
- package/dist/src/git/gitPrView.js.map +1 -0
- package/dist/src/git/gitPull.d.ts +31 -0
- package/dist/src/git/gitPull.d.ts.map +1 -0
- package/dist/src/git/gitPull.js +56 -0
- package/dist/src/git/gitPull.js.map +1 -0
- package/dist/src/git/gitRead.d.ts +28 -0
- package/dist/src/git/gitRead.d.ts.map +1 -0
- package/dist/src/git/gitRead.js +59 -0
- package/dist/src/git/gitRead.js.map +1 -0
- package/dist/src/git/gitStatus.d.ts +28 -0
- package/dist/src/git/gitStatus.d.ts.map +1 -0
- package/dist/src/git/gitStatus.js +55 -0
- package/dist/src/git/gitStatus.js.map +1 -0
- package/dist/src/git/gitSwitchBranch.d.ts +29 -0
- package/dist/src/git/gitSwitchBranch.d.ts.map +1 -0
- package/dist/src/git/gitSwitchBranch.js +57 -0
- package/dist/src/git/gitSwitchBranch.js.map +1 -0
- package/dist/src/git/gitTools.d.ts +11 -0
- package/dist/src/git/gitTools.d.ts.map +1 -0
- package/dist/src/git/gitTools.js +11 -0
- package/dist/src/git/gitTools.js.map +1 -0
- package/dist/src/http/defaults.d.ts +10 -0
- package/dist/src/http/defaults.d.ts.map +1 -0
- package/dist/src/http/defaults.js +19 -0
- package/dist/src/http/defaults.js.map +1 -0
- package/dist/src/http/downloadFile.d.ts +31 -0
- package/dist/src/http/downloadFile.d.ts.map +1 -0
- package/dist/src/http/downloadFile.js +188 -0
- package/dist/src/http/downloadFile.js.map +1 -0
- package/dist/src/http/duckduckgoSearch.d.ts +31 -0
- package/dist/src/http/duckduckgoSearch.d.ts.map +1 -0
- package/dist/src/http/duckduckgoSearch.js +190 -0
- package/dist/src/http/duckduckgoSearch.js.map +1 -0
- package/dist/src/http/fetchJson.d.ts +28 -0
- package/dist/src/http/fetchJson.d.ts.map +1 -0
- package/dist/src/http/fetchJson.js +139 -0
- package/dist/src/http/fetchJson.js.map +1 -0
- package/dist/src/http/fetchPageMainContent.d.ts +27 -0
- package/dist/src/http/fetchPageMainContent.d.ts.map +1 -0
- package/dist/src/http/fetchPageMainContent.js +164 -0
- package/dist/src/http/fetchPageMainContent.js.map +1 -0
- package/dist/src/http/fetchText.d.ts +29 -0
- package/dist/src/http/fetchText.d.ts.map +1 -0
- package/dist/src/http/fetchText.js +153 -0
- package/dist/src/http/fetchText.js.map +1 -0
- package/dist/src/http/head.d.ts +25 -0
- package/dist/src/http/head.d.ts.map +1 -0
- package/dist/src/http/head.js +80 -0
- package/dist/src/http/head.js.map +1 -0
- package/dist/src/http/yahooFinance.d.ts +39 -0
- package/dist/src/http/yahooFinance.d.ts.map +1 -0
- package/dist/src/http/yahooFinance.js +160 -0
- package/dist/src/http/yahooFinance.js.map +1 -0
- package/dist/src/iterm/common.d.ts +51 -0
- package/dist/src/iterm/common.d.ts.map +1 -0
- package/dist/src/iterm/common.js +214 -0
- package/dist/src/iterm/common.js.map +1 -0
- package/dist/src/iterm/itermCreateTab.d.ts +30 -0
- package/dist/src/iterm/itermCreateTab.d.ts.map +1 -0
- package/dist/src/iterm/itermCreateTab.js +73 -0
- package/dist/src/iterm/itermCreateTab.js.map +1 -0
- package/dist/src/iterm/itermCreateWindow.d.ts +30 -0
- package/dist/src/iterm/itermCreateWindow.d.ts.map +1 -0
- package/dist/src/iterm/itermCreateWindow.js +78 -0
- package/dist/src/iterm/itermCreateWindow.js.map +1 -0
- package/dist/src/iterm/itermGetSessionInfo.d.ts +30 -0
- package/dist/src/iterm/itermGetSessionInfo.d.ts.map +1 -0
- package/dist/src/iterm/itermGetSessionInfo.js +41 -0
- package/dist/src/iterm/itermGetSessionInfo.js.map +1 -0
- package/dist/src/iterm/itermListCurrentWindowSessions.d.ts +22 -0
- package/dist/src/iterm/itermListCurrentWindowSessions.d.ts.map +1 -0
- package/dist/src/iterm/itermListCurrentWindowSessions.js +67 -0
- package/dist/src/iterm/itermListCurrentWindowSessions.js.map +1 -0
- package/dist/src/iterm/itermListWindows.d.ts +31 -0
- package/dist/src/iterm/itermListWindows.d.ts.map +1 -0
- package/dist/src/iterm/itermListWindows.js +73 -0
- package/dist/src/iterm/itermListWindows.js.map +1 -0
- package/dist/src/iterm/itermRename.d.ts +30 -0
- package/dist/src/iterm/itermRename.d.ts.map +1 -0
- package/dist/src/iterm/itermRename.js +49 -0
- package/dist/src/iterm/itermRename.js.map +1 -0
- package/dist/src/iterm/itermResizeWindow.d.ts +29 -0
- package/dist/src/iterm/itermResizeWindow.d.ts.map +1 -0
- package/dist/src/iterm/itermResizeWindow.js +53 -0
- package/dist/src/iterm/itermResizeWindow.js.map +1 -0
- package/dist/src/iterm/itermRunCommandInSession.d.ts +37 -0
- package/dist/src/iterm/itermRunCommandInSession.d.ts.map +1 -0
- package/dist/src/iterm/itermRunCommandInSession.js +175 -0
- package/dist/src/iterm/itermRunCommandInSession.js.map +1 -0
- package/dist/src/iterm/itermSendText.d.ts +31 -0
- package/dist/src/iterm/itermSendText.d.ts.map +1 -0
- package/dist/src/iterm/itermSendText.js +70 -0
- package/dist/src/iterm/itermSendText.js.map +1 -0
- package/dist/src/iterm/itermSetBackgroundColor.d.ts +35 -0
- package/dist/src/iterm/itermSetBackgroundColor.d.ts.map +1 -0
- package/dist/src/iterm/itermSetBackgroundColor.js +41 -0
- package/dist/src/iterm/itermSetBackgroundColor.js.map +1 -0
- package/dist/src/iterm/itermSetSessionColors.d.ts +48 -0
- package/dist/src/iterm/itermSetSessionColors.d.ts.map +1 -0
- package/dist/src/iterm/itermSetSessionColors.js +71 -0
- package/dist/src/iterm/itermSetSessionColors.js.map +1 -0
- package/dist/src/iterm/itermSplitPane.d.ts +32 -0
- package/dist/src/iterm/itermSplitPane.d.ts.map +1 -0
- package/dist/src/iterm/itermSplitPane.js +76 -0
- package/dist/src/iterm/itermSplitPane.js.map +1 -0
- package/dist/src/iterm/itermTools.d.ts +13 -0
- package/dist/src/iterm/itermTools.d.ts.map +1 -0
- package/dist/src/iterm/itermTools.js +13 -0
- package/dist/src/iterm/itermTools.js.map +1 -0
- package/dist/src/messages/messagesFindChatsByParticipant.d.ts +27 -0
- package/dist/src/messages/messagesFindChatsByParticipant.d.ts.map +1 -0
- package/dist/src/messages/messagesFindChatsByParticipant.js +95 -0
- package/dist/src/messages/messagesFindChatsByParticipant.js.map +1 -0
- package/dist/src/messages/messagesListChats.d.ts +25 -0
- package/dist/src/messages/messagesListChats.d.ts.map +1 -0
- package/dist/src/messages/messagesListChats.js +69 -0
- package/dist/src/messages/messagesListChats.js.map +1 -0
- package/dist/src/messages/messagesReadChat.d.ts +28 -0
- package/dist/src/messages/messagesReadChat.d.ts.map +1 -0
- package/dist/src/messages/messagesReadChat.js +88 -0
- package/dist/src/messages/messagesReadChat.js.map +1 -0
- package/dist/src/messages/messagesSendByChatId.d.ts +22 -0
- package/dist/src/messages/messagesSendByChatId.d.ts.map +1 -0
- package/dist/src/messages/messagesSendByChatId.js +48 -0
- package/dist/src/messages/messagesSendByChatId.js.map +1 -0
- package/dist/src/messages/messagesSendByHandle.d.ts +26 -0
- package/dist/src/messages/messagesSendByHandle.d.ts.map +1 -0
- package/dist/src/messages/messagesSendByHandle.js +67 -0
- package/dist/src/messages/messagesSendByHandle.js.map +1 -0
- package/dist/src/messages/messagesSendByParticipantQuery.d.ts +26 -0
- package/dist/src/messages/messagesSendByParticipantQuery.d.ts.map +1 -0
- package/dist/src/messages/messagesSendByParticipantQuery.js +93 -0
- package/dist/src/messages/messagesSendByParticipantQuery.js.map +1 -0
- package/dist/src/notes/notesCreate.d.ts +23 -0
- package/dist/src/notes/notesCreate.d.ts.map +1 -0
- package/dist/src/notes/notesCreate.js +56 -0
- package/dist/src/notes/notesCreate.js.map +1 -0
- package/dist/src/notes/notesDelete.d.ts +20 -0
- package/dist/src/notes/notesDelete.d.ts.map +1 -0
- package/dist/src/notes/notesDelete.js +58 -0
- package/dist/src/notes/notesDelete.js.map +1 -0
- package/dist/src/notes/notesList.d.ts +26 -0
- package/dist/src/notes/notesList.d.ts.map +1 -0
- package/dist/src/notes/notesList.js +80 -0
- package/dist/src/notes/notesList.js.map +1 -0
- package/dist/src/notes/notesRead.d.ts +26 -0
- package/dist/src/notes/notesRead.d.ts.map +1 -0
- package/dist/src/notes/notesRead.js +82 -0
- package/dist/src/notes/notesRead.js.map +1 -0
- package/dist/src/notes/notesUpdate.d.ts +24 -0
- package/dist/src/notes/notesUpdate.d.ts.map +1 -0
- package/dist/src/notes/notesUpdate.js +75 -0
- package/dist/src/notes/notesUpdate.js.map +1 -0
- package/dist/src/osascript/common.d.ts +6 -0
- package/dist/src/osascript/common.d.ts.map +1 -0
- package/dist/src/osascript/common.js +52 -0
- package/dist/src/osascript/common.js.map +1 -0
- package/dist/src/platform/adapters/darwin.d.ts +3 -0
- package/dist/src/platform/adapters/darwin.d.ts.map +1 -0
- package/dist/src/platform/adapters/darwin.js +14 -0
- package/dist/src/platform/adapters/darwin.js.map +1 -0
- package/dist/src/platform/adapters/linux.d.ts +3 -0
- package/dist/src/platform/adapters/linux.d.ts.map +1 -0
- package/dist/src/platform/adapters/linux.js +8 -0
- package/dist/src/platform/adapters/linux.js.map +1 -0
- package/dist/src/platform/adapters/win32.d.ts +3 -0
- package/dist/src/platform/adapters/win32.d.ts.map +1 -0
- package/dist/src/platform/adapters/win32.js +8 -0
- package/dist/src/platform/adapters/win32.js.map +1 -0
- package/dist/src/platform/platformGetCapabilities.d.ts +23 -0
- package/dist/src/platform/platformGetCapabilities.d.ts.map +1 -0
- package/dist/src/platform/platformGetCapabilities.js +32 -0
- package/dist/src/platform/platformGetCapabilities.js.map +1 -0
- package/dist/src/platform/registry.d.ts +3 -0
- package/dist/src/platform/registry.d.ts.map +1 -0
- package/dist/src/platform/registry.js +16 -0
- package/dist/src/platform/registry.js.map +1 -0
- package/dist/src/platform/runtime.d.ts +15 -0
- package/dist/src/platform/runtime.d.ts.map +1 -0
- package/dist/src/platform/runtime.js +37 -0
- package/dist/src/platform/runtime.js.map +1 -0
- package/dist/src/platform/securityCompat.d.ts +8 -0
- package/dist/src/platform/securityCompat.d.ts.map +1 -0
- package/dist/src/platform/securityCompat.js +3 -0
- package/dist/src/platform/securityCompat.js.map +1 -0
- package/dist/src/platform/types.d.ts +10 -0
- package/dist/src/platform/types.d.ts.map +1 -0
- package/dist/src/platform/types.js +10 -0
- package/dist/src/platform/types.js.map +1 -0
- package/dist/src/reminders/remindersComplete.d.ts +22 -0
- package/dist/src/reminders/remindersComplete.d.ts.map +1 -0
- package/dist/src/reminders/remindersComplete.js +60 -0
- package/dist/src/reminders/remindersComplete.js.map +1 -0
- package/dist/src/reminders/remindersCreate.d.ts +24 -0
- package/dist/src/reminders/remindersCreate.d.ts.map +1 -0
- package/dist/src/reminders/remindersCreate.js +57 -0
- package/dist/src/reminders/remindersCreate.js.map +1 -0
- package/dist/src/reminders/remindersDelete.d.ts +22 -0
- package/dist/src/reminders/remindersDelete.d.ts.map +1 -0
- package/dist/src/reminders/remindersDelete.js +60 -0
- package/dist/src/reminders/remindersDelete.js.map +1 -0
- package/dist/src/reminders/remindersFind.d.ts +30 -0
- package/dist/src/reminders/remindersFind.d.ts.map +1 -0
- package/dist/src/reminders/remindersFind.js +85 -0
- package/dist/src/reminders/remindersFind.js.map +1 -0
- package/dist/src/reminders/remindersList.d.ts +28 -0
- package/dist/src/reminders/remindersList.d.ts.map +1 -0
- package/dist/src/reminders/remindersList.js +78 -0
- package/dist/src/reminders/remindersList.js.map +1 -0
- package/dist/src/safari/safariCloseTab.d.ts +22 -0
- package/dist/src/safari/safariCloseTab.d.ts.map +1 -0
- package/dist/src/safari/safariCloseTab.js +39 -0
- package/dist/src/safari/safariCloseTab.js.map +1 -0
- package/dist/src/safari/safariGetActiveTab.d.ts +18 -0
- package/dist/src/safari/safariGetActiveTab.d.ts.map +1 -0
- package/dist/src/safari/safariGetActiveTab.js +34 -0
- package/dist/src/safari/safariGetActiveTab.js.map +1 -0
- package/dist/src/safari/safariListTabs.d.ts +26 -0
- package/dist/src/safari/safariListTabs.d.ts.map +1 -0
- package/dist/src/safari/safariListTabs.js +71 -0
- package/dist/src/safari/safariListTabs.js.map +1 -0
- package/dist/src/safari/safariOpenWebUrl.d.ts +22 -0
- package/dist/src/safari/safariOpenWebUrl.d.ts.map +1 -0
- package/dist/src/safari/safariOpenWebUrl.js +49 -0
- package/dist/src/safari/safariOpenWebUrl.js.map +1 -0
- package/dist/src/safari/safariReadPageContent.d.ts +31 -0
- package/dist/src/safari/safariReadPageContent.d.ts.map +1 -0
- package/dist/src/safari/safariReadPageContent.js +69 -0
- package/dist/src/safari/safariReadPageContent.js.map +1 -0
- package/dist/src/safari/safariReadSelection.d.ts +26 -0
- package/dist/src/safari/safariReadSelection.d.ts.map +1 -0
- package/dist/src/safari/safariReadSelection.js +75 -0
- package/dist/src/safari/safariReadSelection.js.map +1 -0
- package/dist/src/util/hashText.d.ts +19 -0
- package/dist/src/util/hashText.d.ts.map +1 -0
- package/dist/src/util/hashText.js +24 -0
- package/dist/src/util/hashText.js.map +1 -0
- package/dist/src/util/jsonSelect.d.ts +22 -0
- package/dist/src/util/jsonSelect.d.ts.map +1 -0
- package/dist/src/util/jsonSelect.js +41 -0
- package/dist/src/util/jsonSelect.js.map +1 -0
- package/dist/src/util/now.d.ts +22 -0
- package/dist/src/util/now.d.ts.map +1 -0
- package/dist/src/util/now.js +51 -0
- package/dist/src/util/now.js.map +1 -0
- package/dist/src/util/overrideWithConfig.d.ts +2 -0
- package/dist/src/util/overrideWithConfig.d.ts.map +1 -0
- package/dist/src/util/overrideWithConfig.js +2 -0
- package/dist/src/util/overrideWithConfig.js.map +1 -0
- package/dist/src/util/templateRender.d.ts +20 -0
- package/dist/src/util/templateRender.d.ts.map +1 -0
- package/dist/src/util/templateRender.js +40 -0
- package/dist/src/util/templateRender.js.map +1 -0
- package/dist/src/util/truncate.d.ts +23 -0
- package/dist/src/util/truncate.d.ts.map +1 -0
- package/dist/src/util/truncate.js +44 -0
- package/dist/src/util/truncate.js.map +1 -0
- package/dist/vitest.config.d.ts +3 -0
- package/dist/vitest.config.d.ts.map +1 -0
- package/dist/vitest.config.js +8 -0
- package/dist/vitest.config.js.map +1 -0
- package/package.json +65 -0
package/README.md
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# @botbotgo/kit-builtin
|
|
2
|
+
|
|
3
|
+
## Introduction
|
|
4
|
+
|
|
5
|
+
`@botbotgo/kit-builtin` is the built-in tool extension package for `@botbotgo/kit`. It exposes the extension entry required by the tool runtime and also exports iTerm helpers from the `./iterm` subpath.
|
|
6
|
+
|
|
7
|
+
## API Reference
|
|
8
|
+
|
|
9
|
+
| API | What it does | Minimal usage |
|
|
10
|
+
| --- | --- | --- |
|
|
11
|
+
| `register` | Register this extension into a tool registry. | `register(registry, { only: ["fs.readText"] })` |
|
|
12
|
+
| `getExtensionContext` | Read the current extension context inside a tool. | `const ctx = getExtensionContext()` |
|
|
13
|
+
| `runWithExtensionContext` | Run code with an injected extension context, mainly for tests. | `runWithExtensionContext(ctx, () => fn())` |
|
|
14
|
+
| `@botbotgo/kit-builtin/iterm` | Re-export iTerm-related helpers and tool implementations. | `import * as iTermTools from "@botbotgo/kit-builtin/iterm"` |
|
|
15
|
+
|
|
16
|
+
## Usage
|
|
17
|
+
|
|
18
|
+
Use the package from `tool.yaml`:
|
|
19
|
+
|
|
20
|
+
```yaml
|
|
21
|
+
tools:
|
|
22
|
+
sandboxedPath: .
|
|
23
|
+
allowedHosts: []
|
|
24
|
+
blockedHosts: []
|
|
25
|
+
list:
|
|
26
|
+
- npm:@botbotgo/kit-builtin
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Enable only specific tools:
|
|
30
|
+
|
|
31
|
+
```yaml
|
|
32
|
+
tools:
|
|
33
|
+
sandboxedPath: .
|
|
34
|
+
allowedHosts: [api.github.com]
|
|
35
|
+
blockedHosts: []
|
|
36
|
+
list:
|
|
37
|
+
- npm:@botbotgo/kit-builtin#fs.readText
|
|
38
|
+
- npm:@botbotgo/kit-builtin#fs.writeText
|
|
39
|
+
- npm:@botbotgo/kit-builtin#http.fetchJson
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### YAML config
|
|
43
|
+
|
|
44
|
+
This package ships an embedded `config/tool.yaml` with default settings for built-in tools. It is picked up automatically by `@botbotgo/kit` when this extension is loaded.
|
|
45
|
+
|
|
46
|
+
Example:
|
|
47
|
+
|
|
48
|
+
```yaml
|
|
49
|
+
apiVersion: botbotgo.world/v1
|
|
50
|
+
kind: ToolConfig
|
|
51
|
+
metadata:
|
|
52
|
+
name: agent-tool-buildin-default
|
|
53
|
+
spec:
|
|
54
|
+
tools:
|
|
55
|
+
sandboxedPath: .
|
|
56
|
+
enableSandboxValidation: false
|
|
57
|
+
allowedHosts: []
|
|
58
|
+
blockedHosts: []
|
|
59
|
+
defaults:
|
|
60
|
+
fs.readText:
|
|
61
|
+
maxBytes: 5242880
|
|
62
|
+
fs.listDir:
|
|
63
|
+
maxEntries: 2000
|
|
64
|
+
maxDepth: 5
|
|
65
|
+
http.fetchJson:
|
|
66
|
+
timeoutMs: 15000
|
|
67
|
+
maxBytes: 5242880
|
|
68
|
+
userAgent: "agent-tool-core/1.0"
|
|
69
|
+
exec.runCommand:
|
|
70
|
+
allowedCommands: [rg, sed, cat, ls]
|
|
71
|
+
maxOutputBytes: 1048576
|
|
72
|
+
timeoutMs: 10000
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
Explanation:
|
|
76
|
+
|
|
77
|
+
- `enableSandboxValidation`: controls extra sandbox validation behavior.
|
|
78
|
+
- `defaults`: per-tool default arguments merged at load time.
|
|
79
|
+
- `fs.readText.maxBytes`: read limit for file content.
|
|
80
|
+
- `fs.listDir.maxEntries` and `fs.listDir.maxDepth`: directory traversal limits.
|
|
81
|
+
- `http.fetchJson.timeoutMs`: request timeout for HTTP JSON fetches.
|
|
82
|
+
- `exec.runCommand.allowedCommands`: shell commands allowed by the built-in exec tool.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare function createExtensionCompat(options: {
|
|
2
|
+
importMeta: ImportMeta;
|
|
3
|
+
}): import("@botbotgo/kit/sdk").CreateExtensionResult<Record<string, unknown>, import("@botbotgo/kit/sdk").RegisterOptionsDefaultOnly>;
|
|
4
|
+
export declare function generateManifestCompat(cwd: string): void;
|
|
5
|
+
//# sourceMappingURL=agent-tool-extension-compat.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-tool-extension-compat.d.ts","sourceRoot":"","sources":["../agent-tool-extension-compat.ts"],"names":[],"mappings":"AAKA,wBAAgB,qBAAqB,CAAC,OAAO,EAAE;IAAE,UAAU,EAAE,UAAU,CAAA;CAAE,sIAExE;AAED,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAExD"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { createExtension, generateManifest, } from "@botbotgo/kit/sdk";
|
|
2
|
+
export function createExtensionCompat(options) {
|
|
3
|
+
return createExtension(options);
|
|
4
|
+
}
|
|
5
|
+
export function generateManifestCompat(cwd) {
|
|
6
|
+
generateManifest(cwd);
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=agent-tool-extension-compat.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-tool-extension-compat.js","sourceRoot":"","sources":["../agent-tool-extension-compat.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,gBAAgB,GACjB,MAAM,mBAAmB,CAAC;AAE3B,MAAM,UAAU,qBAAqB,CAAC,OAAmC;IACvE,OAAO,eAAe,CAAC,OAAO,CAAC,CAAC;AAClC,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAC,GAAW;IAChD,gBAAgB,CAAC,GAAG,CAAC,CAAC;AACxB,CAAC"}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
apiVersion: botbotgo.world/v1
|
|
2
|
+
kind: ToolConfig
|
|
3
|
+
metadata:
|
|
4
|
+
name: agent-tool-buildin-default
|
|
5
|
+
spec:
|
|
6
|
+
tools:
|
|
7
|
+
sandboxedPath: .
|
|
8
|
+
enableSandboxValidation: false
|
|
9
|
+
allowedHosts: []
|
|
10
|
+
blockedHosts: []
|
|
11
|
+
|
|
12
|
+
# Per-tool default configs. Override any of these via tool.override.yaml.
|
|
13
|
+
defaults:
|
|
14
|
+
|
|
15
|
+
# --- fs tools ---
|
|
16
|
+
fs.readText:
|
|
17
|
+
maxBytes: 5242880 # 5MB
|
|
18
|
+
fs.listDir:
|
|
19
|
+
maxEntries: 2000
|
|
20
|
+
maxDepth: 5
|
|
21
|
+
fs.searchText:
|
|
22
|
+
maxMatches: 100
|
|
23
|
+
maxFiles: 500
|
|
24
|
+
fs.writeText: {}
|
|
25
|
+
fs.deletePath: {}
|
|
26
|
+
fs.sha256: {}
|
|
27
|
+
|
|
28
|
+
# --- http tools ---
|
|
29
|
+
http.fetchText:
|
|
30
|
+
timeoutMs: 15000
|
|
31
|
+
maxBytes: 5242880 # 5MB
|
|
32
|
+
userAgent: "agent-tool-core/1.0"
|
|
33
|
+
http.fetchJson:
|
|
34
|
+
timeoutMs: 15000
|
|
35
|
+
maxBytes: 5242880
|
|
36
|
+
userAgent: "agent-tool-core/1.0"
|
|
37
|
+
http.downloadFile:
|
|
38
|
+
timeoutMs: 15000
|
|
39
|
+
maxBytes: 104857600 # 100MB
|
|
40
|
+
userAgent: "agent-tool-core/1.0"
|
|
41
|
+
http.fetchPageMainContent:
|
|
42
|
+
timeoutMs: 15000
|
|
43
|
+
maxBytes: 5242880
|
|
44
|
+
userAgent: "agent-tool-core/1.0"
|
|
45
|
+
http.head:
|
|
46
|
+
timeoutMs: 15000
|
|
47
|
+
userAgent: "agent-tool-core/1.0"
|
|
48
|
+
http.duckduckgoSearch:
|
|
49
|
+
timeoutMs: 15000
|
|
50
|
+
maxBytes: 5242880
|
|
51
|
+
userAgent: "agent-tool-core/1.0"
|
|
52
|
+
http.yahooFinance:
|
|
53
|
+
timeoutMs: 15000
|
|
54
|
+
maxBytes: 5242880
|
|
55
|
+
userAgent: "agent-tool-core/1.0"
|
|
56
|
+
|
|
57
|
+
# --- exec tools ---
|
|
58
|
+
exec.runCommand:
|
|
59
|
+
allowedCommands:
|
|
60
|
+
- awk
|
|
61
|
+
- cat
|
|
62
|
+
- cut
|
|
63
|
+
- echo
|
|
64
|
+
- env
|
|
65
|
+
- find
|
|
66
|
+
- grep
|
|
67
|
+
- head
|
|
68
|
+
- ls
|
|
69
|
+
- pwd
|
|
70
|
+
- rg
|
|
71
|
+
- sed
|
|
72
|
+
- sort
|
|
73
|
+
- tail
|
|
74
|
+
- tr
|
|
75
|
+
- uniq
|
|
76
|
+
- wc
|
|
77
|
+
- whoami
|
|
78
|
+
- xargs
|
|
79
|
+
maxOutputBytes: 1048576 # 1MB
|
|
80
|
+
timeoutMs: 10000
|
|
81
|
+
|
|
82
|
+
# --- git tools ---
|
|
83
|
+
git.gitStatus: {}
|
|
84
|
+
git.gitLog:
|
|
85
|
+
maxCount: 100
|
|
86
|
+
timeoutMs: 30000
|
|
87
|
+
maxOutputBytes: 2097152 # 2MB
|
|
88
|
+
git.gitDiff:
|
|
89
|
+
timeoutMs: 30000
|
|
90
|
+
maxOutputBytes: 2097152
|
|
91
|
+
git.gitAdd: {}
|
|
92
|
+
git.gitCommit: {}
|
|
93
|
+
git.gitShow:
|
|
94
|
+
timeoutMs: 30000
|
|
95
|
+
maxOutputBytes: 2097152
|
|
96
|
+
git.gitCommand:
|
|
97
|
+
allowedCommands:
|
|
98
|
+
- status
|
|
99
|
+
- log
|
|
100
|
+
- show
|
|
101
|
+
- diff
|
|
102
|
+
- branch
|
|
103
|
+
- rev-parse
|
|
104
|
+
- remote
|
|
105
|
+
- tag
|
|
106
|
+
- reflog
|
|
107
|
+
- blame
|
|
108
|
+
- ls-files
|
|
109
|
+
- grep
|
|
110
|
+
- shortlog
|
|
111
|
+
- describe
|
|
112
|
+
- ls-remote
|
|
113
|
+
- cat-file
|
|
114
|
+
timeoutMs: 30000
|
|
115
|
+
maxOutputBytes: 2097152
|
|
116
|
+
git.ghCommand:
|
|
117
|
+
allowedCommands:
|
|
118
|
+
- "repo view"
|
|
119
|
+
- "pr list"
|
|
120
|
+
- "pr view"
|
|
121
|
+
- "issue list"
|
|
122
|
+
- "issue view"
|
|
123
|
+
- "search prs"
|
|
124
|
+
- "search issues"
|
|
125
|
+
- "release list"
|
|
126
|
+
- "release view"
|
|
127
|
+
- "workflow list"
|
|
128
|
+
- "workflow view"
|
|
129
|
+
- "run list"
|
|
130
|
+
- "run view"
|
|
131
|
+
timeoutMs: 30000
|
|
132
|
+
maxOutputBytes: 2097152
|
|
133
|
+
|
|
134
|
+
# --- analyze tools ---
|
|
135
|
+
analyze.analyzeLog:
|
|
136
|
+
model: "gpt-4o-mini"
|
|
137
|
+
openaiBaseUrl: "https://api.openai.com/v1"
|
|
138
|
+
timeoutMs: 60000
|
|
139
|
+
chunkSize: 2000
|
|
140
|
+
chunkOverlap: 200
|
|
141
|
+
analyze.analyzeProjectRepo:
|
|
142
|
+
model: "gpt-4o-mini"
|
|
143
|
+
openaiBaseUrl: "https://api.openai.com/v1"
|
|
144
|
+
timeoutMs: 60000
|
|
145
|
+
chunkSize: 2000
|
|
146
|
+
chunkOverlap: 200
|
|
147
|
+
embeddingModel: "qwen3-embedding:0.6b"
|
|
148
|
+
embeddingBaseUrl: "http://localhost:11434/v1"
|
|
149
|
+
embeddingTimeoutMs: 30000
|
|
150
|
+
analyze.askProjectRepo:
|
|
151
|
+
model: "gpt-4o-mini"
|
|
152
|
+
openaiBaseUrl: "https://api.openai.com/v1"
|
|
153
|
+
timeoutMs: 60000
|
|
154
|
+
chunkSize: 2000
|
|
155
|
+
chunkOverlap: 200
|
|
156
|
+
embeddingModel: "qwen3-embedding:0.6b"
|
|
157
|
+
embeddingBaseUrl: "http://localhost:11434/v1"
|
|
158
|
+
embeddingTimeoutMs: 30000
|
|
159
|
+
analyze.embedText:
|
|
160
|
+
embeddingModel: "qwen3-embedding:0.6b"
|
|
161
|
+
embeddingBaseUrl: "http://localhost:11434/v1"
|
|
162
|
+
embeddingTimeoutMs: 30000
|