terse-cli 0.1.15 → 0.1.17
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/dist/api.d.ts +4 -0
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +13 -0
- package/dist/api.js.map +1 -1
- package/dist/assertProjectRoot.d.ts +3 -2
- package/dist/assertProjectRoot.d.ts.map +1 -1
- package/dist/assertProjectRoot.js +5 -8
- package/dist/assertProjectRoot.js.map +1 -1
- package/dist/deploy.d.ts +2 -1
- package/dist/deploy.d.ts.map +1 -1
- package/dist/deploy.js +16 -19
- package/dist/deploy.js.map +1 -1
- package/dist/generate.d.ts +2 -1
- package/dist/generate.d.ts.map +1 -1
- package/dist/generate.js +17 -18
- package/dist/generate.js.map +1 -1
- package/dist/index.js +10 -7
- package/dist/index.js.map +1 -1
- package/dist/init.d.ts +2 -1
- package/dist/init.d.ts.map +1 -1
- package/dist/init.js +32 -57
- package/dist/init.js.map +1 -1
- package/dist/integrate.d.ts +1 -0
- package/dist/integrate.d.ts.map +1 -1
- package/dist/integrate.js +194 -10
- package/dist/integrate.js.map +1 -1
- package/dist/integrationApi.d.ts +12 -0
- package/dist/integrationApi.d.ts.map +1 -0
- package/dist/integrationApi.js +31 -0
- package/dist/integrationApi.js.map +1 -0
- package/dist/loadJob.d.ts +4 -3
- package/dist/loadJob.d.ts.map +1 -1
- package/dist/loadJob.js +6 -54
- package/dist/loadJob.js.map +1 -1
- package/dist/providers/LanguageProvider.d.ts +31 -0
- package/dist/providers/LanguageProvider.d.ts.map +1 -0
- package/dist/providers/LanguageProvider.js +2 -0
- package/dist/providers/LanguageProvider.js.map +1 -0
- package/dist/providers/codegenTypes.d.ts +130 -0
- package/dist/providers/codegenTypes.d.ts.map +1 -0
- package/dist/providers/codegenTypes.js +2 -0
- package/dist/providers/codegenTypes.js.map +1 -0
- package/dist/providers/python/PythonProvider.d.ts +33 -0
- package/dist/providers/python/PythonProvider.d.ts.map +1 -0
- package/dist/providers/python/PythonProvider.js +369 -0
- package/dist/providers/python/PythonProvider.js.map +1 -0
- package/dist/providers/python/preparePythonCodegenData.d.ts +73 -0
- package/dist/providers/python/preparePythonCodegenData.d.ts.map +1 -0
- package/dist/providers/python/preparePythonCodegenData.js +338 -0
- package/dist/providers/python/preparePythonCodegenData.js.map +1 -0
- package/dist/providers/python/pythonTemplateEngine.d.ts +3 -0
- package/dist/providers/python/pythonTemplateEngine.d.ts.map +1 -0
- package/dist/providers/python/pythonTemplateEngine.js +30 -0
- package/dist/providers/python/pythonTemplateEngine.js.map +1 -0
- package/dist/providers/resolveProvider.d.ts +8 -0
- package/dist/providers/resolveProvider.d.ts.map +1 -0
- package/dist/providers/resolveProvider.js +47 -0
- package/dist/providers/resolveProvider.js.map +1 -0
- package/dist/providers/shared/sessionStream.d.ts +24 -0
- package/dist/providers/shared/sessionStream.d.ts.map +1 -0
- package/dist/providers/shared/sessionStream.js +159 -0
- package/dist/providers/shared/sessionStream.js.map +1 -0
- package/dist/providers/shared/shellUtils.d.ts +13 -0
- package/dist/providers/shared/shellUtils.d.ts.map +1 -0
- package/dist/providers/shared/shellUtils.js +70 -0
- package/dist/providers/shared/shellUtils.js.map +1 -0
- package/dist/providers/templateUtils.d.ts +7 -0
- package/dist/providers/templateUtils.d.ts.map +1 -0
- package/dist/providers/templateUtils.js +30 -0
- package/dist/providers/templateUtils.js.map +1 -0
- package/dist/providers/typescript/TypeScriptProvider.d.ts +33 -0
- package/dist/providers/typescript/TypeScriptProvider.d.ts.map +1 -0
- package/dist/providers/typescript/TypeScriptProvider.js +162 -0
- package/dist/providers/typescript/TypeScriptProvider.js.map +1 -0
- package/dist/providers/typescript/prepareCodegenData.d.ts +145 -0
- package/dist/providers/typescript/prepareCodegenData.d.ts.map +1 -0
- package/dist/providers/typescript/prepareCodegenData.js +834 -0
- package/dist/providers/typescript/prepareCodegenData.js.map +1 -0
- package/dist/providers/typescript/templateEngine.d.ts +3 -0
- package/dist/providers/typescript/templateEngine.d.ts.map +1 -0
- package/dist/providers/typescript/templateEngine.js +37 -0
- package/dist/providers/typescript/templateEngine.js.map +1 -0
- package/dist/run.d.ts +2 -11
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +5 -192
- package/dist/run.js.map +1 -1
- package/dist/shared/ApiRoutes.d.ts +14 -0
- package/dist/shared/ApiRoutes.d.ts.map +1 -1
- package/dist/shared/ApiRoutes.js +11 -1
- package/dist/shared/ApiRoutes.js.map +1 -1
- package/dist/shared/types.d.ts +925 -107
- package/dist/shared/types.d.ts.map +1 -1
- package/dist/test.d.ts +2 -1
- package/dist/test.d.ts.map +1 -1
- package/dist/test.js +9 -11
- package/dist/test.js.map +1 -1
- package/package.json +2 -2
- package/templates/python/codegen/generated.hbs +6 -0
- package/templates/python/codegen/partials/attio-list-objects-method.hbs +8 -0
- package/templates/python/codegen/partials/attio-object-types.hbs +23 -0
- package/templates/python/codegen/partials/attio-query-records-method.hbs +45 -0
- package/templates/python/codegen/partials/attio-section.hbs +111 -0
- package/templates/python/codegen/partials/attio-upsert-record-method.hbs +51 -0
- package/templates/python/codegen/partials/deterministic-tools-section.hbs +194 -0
- package/templates/python/codegen/partials/file-header.hbs +32 -0
- package/templates/python/codegen/partials/schedule-section.hbs +9 -0
- package/templates/python/codegen/partials/snowflake-section.hbs +26 -0
- package/templates/python/codegen/partials/tool-name-types.hbs +15 -0
- package/templates/python/init/.python-version.hbs +1 -0
- package/templates/python/init/README.md.hbs +38 -0
- package/templates/python/init/gitignore.hbs +3 -0
- package/templates/python/init/pyproject.toml.hbs +16 -0
- package/templates/python/init/src/main.py.hbs +21 -0
- package/templates/typescript/codegen/generated.hbs +17 -0
- package/templates/typescript/codegen/partials/atlassian-section.hbs +32 -0
- package/templates/typescript/codegen/partials/attio-section.hbs +38 -0
- package/templates/typescript/codegen/partials/datadog-section.hbs +11 -0
- package/templates/typescript/codegen/partials/figma-section.hbs +13 -0
- package/templates/typescript/codegen/partials/github-section.hbs +62 -0
- package/templates/typescript/codegen/partials/gmail-section.hbs +21 -0
- package/templates/typescript/codegen/partials/header.hbs +12 -0
- package/templates/typescript/codegen/partials/launchdarkly-section.hbs +11 -0
- package/templates/typescript/codegen/partials/linear-section.hbs +27 -0
- package/templates/typescript/codegen/partials/notion-section.hbs +15 -0
- package/templates/typescript/codegen/partials/posthog-section.hbs +11 -0
- package/templates/typescript/codegen/partials/resource-class.hbs +9 -0
- package/templates/typescript/codegen/partials/slack-section.hbs +23 -0
- package/templates/typescript/codegen/partials/snowflake-section.hbs +9 -0
- package/templates/typescript/codegen/partials/system-section.hbs +18 -0
- package/templates/typescript/codegen/partials/tools-section.hbs +68 -0
- package/templates/typescript/codegen/partials/workos-section.hbs +53 -0
- package/templates/typescript/init/env.example.hbs +1 -0
- package/templates/{package.json.tmpl → typescript/init/package.json.hbs} +1 -1
- package/templates/{src/index.ts.tmpl → typescript/init/src/index.ts.hbs} +1 -3
- /package/templates/{env.example.tmpl → python/init/env.example.hbs} +0 -0
- /package/templates/{.claude/settings.json.tmpl → typescript/init/.claude/settings.json.hbs} +0 -0
- /package/templates/{gitignore.tmpl → typescript/init/gitignore.hbs} +0 -0
- /package/templates/{tsconfig.json.tmpl → typescript/init/tsconfig.json.hbs} +0 -0
package/dist/shared/types.d.ts
CHANGED
|
@@ -521,6 +521,32 @@ export type GetGithubRepositoriesForIntegrationResponse = {
|
|
|
521
521
|
export type OAuthInstallationDetails = {
|
|
522
522
|
oauthUrl: string;
|
|
523
523
|
};
|
|
524
|
+
export type FormFieldType = "text" | "password" | "textarea";
|
|
525
|
+
export interface FormFieldDefinition {
|
|
526
|
+
name: string;
|
|
527
|
+
type: FormFieldType;
|
|
528
|
+
label: string;
|
|
529
|
+
placeholder?: string;
|
|
530
|
+
required?: boolean;
|
|
531
|
+
hint?: string;
|
|
532
|
+
}
|
|
533
|
+
export type ConfigurationFieldType = "radio" | "select";
|
|
534
|
+
export interface ConfigurationOption {
|
|
535
|
+
label: string;
|
|
536
|
+
value: string;
|
|
537
|
+
}
|
|
538
|
+
export interface ConfigurationFieldDefinition {
|
|
539
|
+
name: string;
|
|
540
|
+
type: ConfigurationFieldType;
|
|
541
|
+
label: string;
|
|
542
|
+
options: ConfigurationOption[];
|
|
543
|
+
required?: boolean;
|
|
544
|
+
hint?: string;
|
|
545
|
+
}
|
|
546
|
+
export interface IntegrationFieldsResponse {
|
|
547
|
+
installationType: "form" | "oauth";
|
|
548
|
+
fields: FormFieldDefinition[] | ConfigurationFieldDefinition[];
|
|
549
|
+
}
|
|
524
550
|
export type StatsInterval = "1h" | "24h" | "7d" | "1mo" | "3mo" | "1y";
|
|
525
551
|
export interface DailyEventCount {
|
|
526
552
|
date: string;
|
|
@@ -592,6 +618,7 @@ export type SdkAgentRunRequestBody = {
|
|
|
592
618
|
event?: Partial<SdkAgentRunEventPayload>;
|
|
593
619
|
skills?: SdkAgentSkillPayload[];
|
|
594
620
|
options?: SdkAgentRunOptionsPayload;
|
|
621
|
+
toolApprovals?: string[];
|
|
595
622
|
};
|
|
596
623
|
export type SdkAgentRunResponseBody = {
|
|
597
624
|
success: boolean;
|
|
@@ -605,6 +632,7 @@ export type SdkAgentRunResponseBody = {
|
|
|
605
632
|
prompt: string;
|
|
606
633
|
event: SdkAgentRunEventPayload;
|
|
607
634
|
skills: SdkAgentSkillPayload[];
|
|
635
|
+
toolApprovals: string[];
|
|
608
636
|
options: {
|
|
609
637
|
maxTurns: number;
|
|
610
638
|
requireApproval: boolean;
|
|
@@ -679,8 +707,681 @@ export type ToolOutputBase = {
|
|
|
679
707
|
success: boolean;
|
|
680
708
|
actions?: RunHistoryAction[];
|
|
681
709
|
};
|
|
710
|
+
export type ToolOutputSuccessBase = Omit<ToolOutputBase, "success"> & {
|
|
711
|
+
success: true;
|
|
712
|
+
};
|
|
713
|
+
export type ToolOutputFailureBase = Omit<ToolOutputBase, "success"> & {
|
|
714
|
+
success: false;
|
|
715
|
+
};
|
|
716
|
+
export type AttioUpsertError = {
|
|
717
|
+
index: number;
|
|
718
|
+
message: string;
|
|
719
|
+
};
|
|
720
|
+
export type SlackChannelListItem = {
|
|
721
|
+
id?: string;
|
|
722
|
+
name: string;
|
|
723
|
+
isPrivate: boolean;
|
|
724
|
+
isIm: boolean;
|
|
725
|
+
isMpim: boolean;
|
|
726
|
+
};
|
|
727
|
+
export type SlackConversationMessage = {
|
|
728
|
+
userId?: string;
|
|
729
|
+
userName?: string;
|
|
730
|
+
text: string;
|
|
731
|
+
timestamp?: string;
|
|
732
|
+
threadTs?: string;
|
|
733
|
+
};
|
|
734
|
+
export type GitHubPagination = {
|
|
735
|
+
page: number;
|
|
736
|
+
perPage: number;
|
|
737
|
+
hasMore: boolean;
|
|
738
|
+
};
|
|
739
|
+
export type GitHubCodeSearchResult = {
|
|
740
|
+
index: number;
|
|
741
|
+
repository: string;
|
|
742
|
+
path: string;
|
|
743
|
+
url: string;
|
|
744
|
+
snippets: string;
|
|
745
|
+
};
|
|
746
|
+
export type GitHubCodeGrepResult = {
|
|
747
|
+
index: number;
|
|
748
|
+
repository: string;
|
|
749
|
+
file: string;
|
|
750
|
+
url: string;
|
|
751
|
+
matches: string;
|
|
752
|
+
};
|
|
753
|
+
export type GitHubPullRequestSummary = {
|
|
754
|
+
number: number;
|
|
755
|
+
title: string;
|
|
756
|
+
description: string;
|
|
757
|
+
author: string;
|
|
758
|
+
state: string;
|
|
759
|
+
merged: boolean;
|
|
760
|
+
mergedAt?: string;
|
|
761
|
+
createdAt: string;
|
|
762
|
+
closedAt?: string;
|
|
763
|
+
labels: string[];
|
|
764
|
+
baseBranch: string;
|
|
765
|
+
headBranch: string;
|
|
766
|
+
url: string;
|
|
767
|
+
};
|
|
768
|
+
export type GitHubDirectoryEntry = {
|
|
769
|
+
name?: string;
|
|
770
|
+
path?: string;
|
|
771
|
+
type?: "directory";
|
|
772
|
+
};
|
|
773
|
+
export type GitHubFileEntry = {
|
|
774
|
+
name?: string;
|
|
775
|
+
path: string;
|
|
776
|
+
type?: "file";
|
|
777
|
+
size?: number;
|
|
778
|
+
};
|
|
779
|
+
export type GitHubOtherEntry = {
|
|
780
|
+
name: string;
|
|
781
|
+
type: string;
|
|
782
|
+
};
|
|
783
|
+
export type GitHubCommitSummary = {
|
|
784
|
+
sha: string;
|
|
785
|
+
fullSha: string;
|
|
786
|
+
message: string;
|
|
787
|
+
fullMessage: string;
|
|
788
|
+
author: string;
|
|
789
|
+
date: string;
|
|
790
|
+
url: string;
|
|
791
|
+
};
|
|
792
|
+
export type GitHubPullRequestRef = {
|
|
793
|
+
number: number;
|
|
794
|
+
title: string;
|
|
795
|
+
state: string;
|
|
796
|
+
merged: boolean;
|
|
797
|
+
baseBranch: string;
|
|
798
|
+
headBranch: string;
|
|
799
|
+
url: string;
|
|
800
|
+
};
|
|
801
|
+
export type SnowflakeQueryRow = Record<string, unknown>;
|
|
802
|
+
export type LinearIssueAssignee = {
|
|
803
|
+
id: string;
|
|
804
|
+
name: string;
|
|
805
|
+
email?: string;
|
|
806
|
+
};
|
|
807
|
+
export type LinearIssueTeam = {
|
|
808
|
+
id: string;
|
|
809
|
+
name: string;
|
|
810
|
+
key: string;
|
|
811
|
+
};
|
|
812
|
+
export type LinearIssueProject = {
|
|
813
|
+
id: string;
|
|
814
|
+
name: string;
|
|
815
|
+
};
|
|
816
|
+
export type LinearIssueSummary = {
|
|
817
|
+
id: string;
|
|
818
|
+
identifier: string;
|
|
819
|
+
title: string;
|
|
820
|
+
description?: string | null;
|
|
821
|
+
state: string;
|
|
822
|
+
priority?: number | null;
|
|
823
|
+
assignee: LinearIssueAssignee | null;
|
|
824
|
+
url: string;
|
|
825
|
+
createdAt: string | Date;
|
|
826
|
+
updatedAt: string | Date;
|
|
827
|
+
};
|
|
828
|
+
export type LinearIssueDetail = LinearIssueSummary & {
|
|
829
|
+
team: LinearIssueTeam | null;
|
|
830
|
+
project: LinearIssueProject | null;
|
|
831
|
+
dueDate?: string | Date;
|
|
832
|
+
estimate?: number | null;
|
|
833
|
+
};
|
|
834
|
+
export type LinearIssueHandle = {
|
|
835
|
+
id: string;
|
|
836
|
+
identifier: string;
|
|
837
|
+
title: string;
|
|
838
|
+
description?: string | null;
|
|
839
|
+
url: string;
|
|
840
|
+
createdAt?: string | Date;
|
|
841
|
+
updatedAt?: string | Date;
|
|
842
|
+
};
|
|
843
|
+
export type LinearCommentHandle = {
|
|
844
|
+
id: string;
|
|
845
|
+
body?: string;
|
|
846
|
+
createdAt?: string | Date;
|
|
847
|
+
updatedAt?: string | Date;
|
|
848
|
+
};
|
|
849
|
+
export type LinearStateSummary = {
|
|
850
|
+
id: string;
|
|
851
|
+
name: string;
|
|
852
|
+
type: string;
|
|
853
|
+
color: string;
|
|
854
|
+
teamId: string;
|
|
855
|
+
};
|
|
856
|
+
export type LinearLabelSummary = {
|
|
857
|
+
id: string;
|
|
858
|
+
name: string;
|
|
859
|
+
color: string;
|
|
860
|
+
teamId: string;
|
|
861
|
+
};
|
|
862
|
+
export type LinearProjectSummary = {
|
|
863
|
+
id: string;
|
|
864
|
+
name: string;
|
|
865
|
+
description?: string;
|
|
866
|
+
teamId: string;
|
|
867
|
+
};
|
|
868
|
+
export type LinearUserSummary = {
|
|
869
|
+
id: string;
|
|
870
|
+
name: string;
|
|
871
|
+
email: string;
|
|
872
|
+
avatarUrl?: string;
|
|
873
|
+
};
|
|
874
|
+
export type LinearSearchPagination = {
|
|
875
|
+
hasNextPage: boolean;
|
|
876
|
+
endCursor: string | null;
|
|
877
|
+
limit: number | null;
|
|
878
|
+
};
|
|
879
|
+
export type JiraIssueState = {
|
|
880
|
+
id: string;
|
|
881
|
+
name: string;
|
|
882
|
+
};
|
|
883
|
+
export type JiraIssueAssignee = {
|
|
884
|
+
id: string;
|
|
885
|
+
name: string;
|
|
886
|
+
email?: string;
|
|
887
|
+
};
|
|
888
|
+
export type JiraIssueProjectRef = {
|
|
889
|
+
id: string;
|
|
890
|
+
name: string;
|
|
891
|
+
key: string;
|
|
892
|
+
};
|
|
893
|
+
export type JiraIssueTypeRef = {
|
|
894
|
+
id: string;
|
|
895
|
+
name: string;
|
|
896
|
+
};
|
|
897
|
+
export type JiraRichDescription = string | Record<string, unknown>;
|
|
898
|
+
export type JiraIssueSummary = {
|
|
899
|
+
id?: string;
|
|
900
|
+
key: string;
|
|
901
|
+
identifier: string;
|
|
902
|
+
title?: string;
|
|
903
|
+
description?: JiraRichDescription;
|
|
904
|
+
state?: JiraIssueState;
|
|
905
|
+
priority?: number;
|
|
906
|
+
assignee?: JiraIssueAssignee | null;
|
|
907
|
+
labels?: string[];
|
|
908
|
+
dueDate?: string;
|
|
909
|
+
project?: JiraIssueProjectRef;
|
|
910
|
+
issueType?: JiraIssueTypeRef;
|
|
911
|
+
url?: string;
|
|
912
|
+
createdAt?: string;
|
|
913
|
+
updatedAt?: string;
|
|
914
|
+
};
|
|
915
|
+
export type GmailSendSummary = {
|
|
916
|
+
message_id: string;
|
|
917
|
+
thread_id: string;
|
|
918
|
+
to: string;
|
|
919
|
+
subject: string;
|
|
920
|
+
summary: string;
|
|
921
|
+
is_reply: boolean;
|
|
922
|
+
};
|
|
923
|
+
export type GmailDraftSummary = {
|
|
924
|
+
draft_id: string;
|
|
925
|
+
message_id: string;
|
|
926
|
+
thread_id: string;
|
|
927
|
+
draft_url: string;
|
|
928
|
+
to: string;
|
|
929
|
+
subject: string;
|
|
930
|
+
summary: string;
|
|
931
|
+
is_reply: boolean;
|
|
932
|
+
};
|
|
933
|
+
export type NotionUserReference = {
|
|
934
|
+
id: string;
|
|
935
|
+
name?: string;
|
|
936
|
+
object?: string;
|
|
937
|
+
};
|
|
938
|
+
export type NotionFileReference = {
|
|
939
|
+
name: string;
|
|
940
|
+
type: string;
|
|
941
|
+
file?: string;
|
|
942
|
+
external?: string;
|
|
943
|
+
};
|
|
944
|
+
export type NotionDateReference = {
|
|
945
|
+
start?: string;
|
|
946
|
+
end?: string | null;
|
|
947
|
+
time_zone?: string | null;
|
|
948
|
+
};
|
|
949
|
+
export type NotionReadablePropertyValue = string | number | boolean | null | string[] | NotionDateReference | NotionUserReference | NotionUserReference[] | NotionFileReference[] | Record<string, unknown>;
|
|
950
|
+
export type NotionPageBlock = {
|
|
951
|
+
id: string;
|
|
952
|
+
type: string;
|
|
953
|
+
object: string;
|
|
954
|
+
created_time?: string;
|
|
955
|
+
last_edited_time?: string;
|
|
956
|
+
created_by?: NotionUserReference;
|
|
957
|
+
last_edited_by?: NotionUserReference;
|
|
958
|
+
has_children?: boolean;
|
|
959
|
+
archived?: boolean;
|
|
960
|
+
content?: string;
|
|
961
|
+
rich_text?: Record<string, unknown>[];
|
|
962
|
+
checked?: boolean;
|
|
963
|
+
language?: string;
|
|
964
|
+
icon?: Record<string, unknown>;
|
|
965
|
+
table_width?: number;
|
|
966
|
+
has_column_header?: boolean;
|
|
967
|
+
has_row_header?: boolean;
|
|
968
|
+
caption?: string;
|
|
969
|
+
file?: string;
|
|
970
|
+
external?: string;
|
|
971
|
+
url?: string;
|
|
972
|
+
page_id?: string;
|
|
973
|
+
database_id?: string;
|
|
974
|
+
children?: NotionPageBlock[];
|
|
975
|
+
};
|
|
976
|
+
export type NotionPageParent = Record<string, unknown>;
|
|
977
|
+
export type NotionPageQueryMetadata = {
|
|
978
|
+
page_id: string;
|
|
979
|
+
object: string;
|
|
980
|
+
url?: string;
|
|
981
|
+
public_url?: string | null;
|
|
982
|
+
created_time?: string;
|
|
983
|
+
last_edited_time?: string;
|
|
984
|
+
archived?: boolean;
|
|
985
|
+
icon?: Record<string, unknown> | null;
|
|
986
|
+
cover?: Record<string, unknown> | null;
|
|
987
|
+
parent?: NotionPageParent;
|
|
988
|
+
created_by?: NotionUserReference;
|
|
989
|
+
last_edited_by?: NotionUserReference;
|
|
990
|
+
in_trash?: boolean;
|
|
991
|
+
};
|
|
992
|
+
export type NotionDatabaseRowMutationResult = ToolOutputSuccessBase & {
|
|
993
|
+
action: "created" | "updated";
|
|
994
|
+
page_id: string;
|
|
995
|
+
url?: string;
|
|
996
|
+
};
|
|
997
|
+
export type NotionSchemaProperty = {
|
|
998
|
+
type: string;
|
|
999
|
+
id: string;
|
|
1000
|
+
options?: string[];
|
|
1001
|
+
format_example?: string;
|
|
1002
|
+
};
|
|
1003
|
+
export type NotionDatabaseQueryPage = {
|
|
1004
|
+
page_id: string;
|
|
1005
|
+
properties: Record<string, NotionReadablePropertyValue>;
|
|
1006
|
+
url?: string;
|
|
1007
|
+
created_time?: string;
|
|
1008
|
+
last_edited_time?: string;
|
|
1009
|
+
};
|
|
1010
|
+
export type NotionQueryDatabaseFailure = ToolOutputFailureBase & {
|
|
1011
|
+
pages: [];
|
|
1012
|
+
total_returned: 0;
|
|
1013
|
+
has_more: false;
|
|
1014
|
+
next_cursor: null;
|
|
1015
|
+
error: string;
|
|
1016
|
+
hint: string;
|
|
1017
|
+
};
|
|
1018
|
+
export type NotionQueryDatabaseSuccess = ToolOutputSuccessBase & {
|
|
1019
|
+
pages: NotionDatabaseQueryPage[];
|
|
1020
|
+
total_returned: number;
|
|
1021
|
+
has_more: boolean;
|
|
1022
|
+
next_cursor: string | null;
|
|
1023
|
+
};
|
|
1024
|
+
export type NotionModifyBlocksAppendResult = {
|
|
1025
|
+
operation: "append";
|
|
1026
|
+
actions: RunHistoryAction[];
|
|
1027
|
+
block_ids: string[];
|
|
1028
|
+
blocks_count: number;
|
|
1029
|
+
};
|
|
1030
|
+
export type NotionModifyBlocksUpdateResult = {
|
|
1031
|
+
operation: "update";
|
|
1032
|
+
actions: RunHistoryAction[];
|
|
1033
|
+
block_id: string;
|
|
1034
|
+
};
|
|
1035
|
+
export type NotionModifyBlocksDeleteResult = {
|
|
1036
|
+
operation: "delete";
|
|
1037
|
+
actions: RunHistoryAction[];
|
|
1038
|
+
block_id: string;
|
|
1039
|
+
};
|
|
1040
|
+
export type NotionModifyBlocksOperationResult = NotionModifyBlocksAppendResult | NotionModifyBlocksUpdateResult | NotionModifyBlocksDeleteResult;
|
|
1041
|
+
export type NotionModifyBlocksSuccess = (ToolOutputSuccessBase & {
|
|
1042
|
+
operation: "append";
|
|
1043
|
+
block_ids: string[];
|
|
1044
|
+
blocks_count: number;
|
|
1045
|
+
}) | (ToolOutputSuccessBase & {
|
|
1046
|
+
operation: "update" | "delete";
|
|
1047
|
+
block_id: string;
|
|
1048
|
+
}) | (ToolOutputSuccessBase & {
|
|
1049
|
+
operations: NotionModifyBlocksOperationResult[];
|
|
1050
|
+
block_ids: string[];
|
|
1051
|
+
total_operations: number;
|
|
1052
|
+
});
|
|
1053
|
+
export type NotionModifyBlocksFailure = ToolOutputFailureBase & {
|
|
1054
|
+
error: string;
|
|
1055
|
+
block_ids: string[];
|
|
1056
|
+
operations?: NotionModifyBlocksOperationResult[];
|
|
1057
|
+
failed_at_index?: number;
|
|
1058
|
+
total_operations?: number;
|
|
1059
|
+
hint?: string;
|
|
1060
|
+
retry_instructions?: string;
|
|
1061
|
+
};
|
|
1062
|
+
export type NotionWorkspaceUser = {
|
|
1063
|
+
id: string;
|
|
1064
|
+
name: string;
|
|
1065
|
+
email?: string;
|
|
1066
|
+
};
|
|
1067
|
+
export type ConfluencePageSpace = {
|
|
1068
|
+
id: string | number;
|
|
1069
|
+
key: string;
|
|
1070
|
+
name: string;
|
|
1071
|
+
type: string;
|
|
1072
|
+
};
|
|
1073
|
+
export type ConfluencePageVersionAuthor = {
|
|
1074
|
+
type: string;
|
|
1075
|
+
username?: string;
|
|
1076
|
+
userKey?: string;
|
|
1077
|
+
accountId?: string;
|
|
1078
|
+
displayName?: string;
|
|
1079
|
+
};
|
|
1080
|
+
export type ConfluencePageVersion = {
|
|
1081
|
+
number: number;
|
|
1082
|
+
when: string;
|
|
1083
|
+
message?: string;
|
|
1084
|
+
by?: ConfluencePageVersionAuthor;
|
|
1085
|
+
};
|
|
1086
|
+
export type ConfluenceBodyRepresentation = {
|
|
1087
|
+
value: string;
|
|
1088
|
+
representation: string;
|
|
1089
|
+
};
|
|
1090
|
+
export type ConfluenceBodyContent = {
|
|
1091
|
+
storage?: ConfluenceBodyRepresentation;
|
|
1092
|
+
view?: ConfluenceBodyRepresentation;
|
|
1093
|
+
export_view?: ConfluenceBodyRepresentation;
|
|
1094
|
+
};
|
|
1095
|
+
export type ConfluencePageRelation = {
|
|
1096
|
+
id: string;
|
|
1097
|
+
title: string;
|
|
1098
|
+
type: string;
|
|
1099
|
+
};
|
|
1100
|
+
export type ConfluencePageQueryResult = {
|
|
1101
|
+
page_id: string;
|
|
1102
|
+
title: string;
|
|
1103
|
+
type: string;
|
|
1104
|
+
status: string;
|
|
1105
|
+
space?: ConfluencePageSpace;
|
|
1106
|
+
version?: ConfluencePageVersion;
|
|
1107
|
+
created_date?: string;
|
|
1108
|
+
last_modified?: string;
|
|
1109
|
+
url?: string;
|
|
1110
|
+
body: ConfluenceBodyContent;
|
|
1111
|
+
body_text: string;
|
|
1112
|
+
ancestors: ConfluencePageRelation[];
|
|
1113
|
+
descendants: ConfluencePageRelation[];
|
|
1114
|
+
ancestors_count: number;
|
|
1115
|
+
descendants_count: number;
|
|
1116
|
+
};
|
|
1117
|
+
export type ConfluenceCommentPosition = {
|
|
1118
|
+
start: number;
|
|
1119
|
+
end: number;
|
|
1120
|
+
};
|
|
1121
|
+
export type PosthogSessionSummary = {
|
|
1122
|
+
id: string;
|
|
1123
|
+
startTime?: string;
|
|
1124
|
+
endTime?: string;
|
|
1125
|
+
duration?: number;
|
|
1126
|
+
eventsCount: number;
|
|
1127
|
+
sessionUrl: string;
|
|
1128
|
+
personId: string;
|
|
1129
|
+
distinctId: string;
|
|
1130
|
+
};
|
|
1131
|
+
export type PosthogSearchSessionsPagination = {
|
|
1132
|
+
limit: number;
|
|
1133
|
+
offset: number;
|
|
1134
|
+
hasNext: boolean;
|
|
1135
|
+
hasPrevious: boolean;
|
|
1136
|
+
nextOffset: number | null;
|
|
1137
|
+
previousOffset: number | null;
|
|
1138
|
+
};
|
|
1139
|
+
export type PosthogSearchSessionsFound = ToolOutputBase & {
|
|
1140
|
+
userEmail: string;
|
|
1141
|
+
projectId: string;
|
|
1142
|
+
personFound: true;
|
|
1143
|
+
personId: string;
|
|
1144
|
+
distinctId: string;
|
|
1145
|
+
totalSessions: number;
|
|
1146
|
+
sessions: PosthogSessionSummary[];
|
|
1147
|
+
sessionsLink: string;
|
|
1148
|
+
pagination: PosthogSearchSessionsPagination;
|
|
1149
|
+
message: string;
|
|
1150
|
+
};
|
|
1151
|
+
export type PosthogSearchSessionsNotFound = ToolOutputBase & {
|
|
1152
|
+
userEmail: string;
|
|
1153
|
+
projectId: string;
|
|
1154
|
+
personFound: false;
|
|
1155
|
+
sessions: [];
|
|
1156
|
+
totalSessions: 0;
|
|
1157
|
+
message: string;
|
|
1158
|
+
};
|
|
1159
|
+
export type PosthogLogEntry = {
|
|
1160
|
+
id: string;
|
|
1161
|
+
timestamp?: string;
|
|
1162
|
+
level: string;
|
|
1163
|
+
message: string;
|
|
1164
|
+
service: string;
|
|
1165
|
+
attributes: Record<string, unknown>;
|
|
1166
|
+
};
|
|
1167
|
+
export type PosthogOffsetPagination = {
|
|
1168
|
+
limit: number;
|
|
1169
|
+
offset: number;
|
|
1170
|
+
hasMore: boolean;
|
|
1171
|
+
nextOffset: number | null;
|
|
1172
|
+
showing: string;
|
|
1173
|
+
};
|
|
1174
|
+
export type PosthogEventCount = {
|
|
1175
|
+
eventName: string;
|
|
1176
|
+
count: number;
|
|
1177
|
+
};
|
|
1178
|
+
export type PosthogEventSummary = {
|
|
1179
|
+
id: string;
|
|
1180
|
+
event: string;
|
|
1181
|
+
timestamp?: string;
|
|
1182
|
+
distinctId?: string;
|
|
1183
|
+
url?: string;
|
|
1184
|
+
};
|
|
1185
|
+
export type PosthogSessionEvent = {
|
|
1186
|
+
type: "click" | "input" | "scroll" | "console" | "network_error" | "navigation" | "custom" | "page_load" | "viewport_resize";
|
|
1187
|
+
timestamp: number;
|
|
1188
|
+
relativeTime: number;
|
|
1189
|
+
data: Record<string, unknown>;
|
|
1190
|
+
};
|
|
1191
|
+
export type PosthogSessionConsoleLog = {
|
|
1192
|
+
timestamp: string;
|
|
1193
|
+
level: string;
|
|
1194
|
+
message: string;
|
|
1195
|
+
};
|
|
1196
|
+
export type PosthogSessionEventsSummary = {
|
|
1197
|
+
totalRawEvents: number;
|
|
1198
|
+
meaningfulEventsReturned: number;
|
|
1199
|
+
consoleLogsReturned: number;
|
|
1200
|
+
};
|
|
1201
|
+
export type LaunchDarklyFlagSummary = {
|
|
1202
|
+
key: string;
|
|
1203
|
+
name: string;
|
|
1204
|
+
description: string;
|
|
1205
|
+
environments: Record<string, boolean>;
|
|
1206
|
+
url: string;
|
|
1207
|
+
environmentUrls: Record<string, string>;
|
|
1208
|
+
};
|
|
1209
|
+
export type LaunchDarklyFlagMetadata = {
|
|
1210
|
+
key: string;
|
|
1211
|
+
name: string;
|
|
1212
|
+
description: string;
|
|
1213
|
+
kind: string;
|
|
1214
|
+
variations: Record<string, unknown>[];
|
|
1215
|
+
tags: string[];
|
|
1216
|
+
maintainerId: string | null;
|
|
1217
|
+
};
|
|
1218
|
+
export type LaunchDarklyEnvironmentConfig = {
|
|
1219
|
+
on: boolean;
|
|
1220
|
+
targets: Record<string, unknown>[];
|
|
1221
|
+
contextTargets: Record<string, unknown>[];
|
|
1222
|
+
rules: Record<string, unknown>[];
|
|
1223
|
+
fallthrough: Record<string, unknown> | null;
|
|
1224
|
+
offVariation: number | null;
|
|
1225
|
+
prerequisites: Record<string, unknown>[];
|
|
1226
|
+
};
|
|
1227
|
+
export type LaunchDarklyHistoryEntry = {
|
|
1228
|
+
id: string;
|
|
1229
|
+
timestamp: string;
|
|
1230
|
+
kind: string;
|
|
1231
|
+
key: string;
|
|
1232
|
+
name: string;
|
|
1233
|
+
description: string;
|
|
1234
|
+
member: Record<string, unknown> | null;
|
|
1235
|
+
changes: Record<string, unknown>[];
|
|
1236
|
+
};
|
|
1237
|
+
export type LaunchDarklyHistoryResult = {
|
|
1238
|
+
entries: LaunchDarklyHistoryEntry[];
|
|
1239
|
+
totalEntries: number;
|
|
1240
|
+
url: string;
|
|
1241
|
+
};
|
|
1242
|
+
export type DatadogLogEntry = {
|
|
1243
|
+
id: string;
|
|
1244
|
+
timestamp?: string;
|
|
1245
|
+
message?: string;
|
|
1246
|
+
host?: string;
|
|
1247
|
+
service?: string;
|
|
1248
|
+
status?: string;
|
|
1249
|
+
tags: string[];
|
|
1250
|
+
customAttributes: Record<string, unknown>;
|
|
1251
|
+
};
|
|
1252
|
+
export type DatadogCursorPagination = {
|
|
1253
|
+
limit: number;
|
|
1254
|
+
cursor?: string | null;
|
|
1255
|
+
nextCursor: string | null;
|
|
1256
|
+
hasMore: boolean;
|
|
1257
|
+
showing: string;
|
|
1258
|
+
};
|
|
1259
|
+
export type DatadogRumSessionDetails = {
|
|
1260
|
+
id?: string;
|
|
1261
|
+
type?: string;
|
|
1262
|
+
hasReplay?: boolean;
|
|
1263
|
+
duration?: number;
|
|
1264
|
+
};
|
|
1265
|
+
export type DatadogRumViewDetails = {
|
|
1266
|
+
id?: string;
|
|
1267
|
+
name?: string;
|
|
1268
|
+
url?: string;
|
|
1269
|
+
loadTime?: number;
|
|
1270
|
+
timeSpent?: number;
|
|
1271
|
+
};
|
|
1272
|
+
export type DatadogRumActionDetails = {
|
|
1273
|
+
id?: string;
|
|
1274
|
+
type?: string;
|
|
1275
|
+
target?: string;
|
|
1276
|
+
loadingTime?: number;
|
|
1277
|
+
};
|
|
1278
|
+
export type DatadogRumErrorDetails = {
|
|
1279
|
+
id?: string;
|
|
1280
|
+
message?: string;
|
|
1281
|
+
source?: string;
|
|
1282
|
+
stack?: string;
|
|
1283
|
+
type?: string;
|
|
1284
|
+
};
|
|
1285
|
+
export type DatadogRumResourceDetails = {
|
|
1286
|
+
id?: string;
|
|
1287
|
+
type?: string;
|
|
1288
|
+
url?: string;
|
|
1289
|
+
method?: string;
|
|
1290
|
+
statusCode?: number;
|
|
1291
|
+
duration?: number;
|
|
1292
|
+
};
|
|
1293
|
+
export type DatadogRumLongTaskDetails = {
|
|
1294
|
+
id?: string;
|
|
1295
|
+
duration?: number;
|
|
1296
|
+
};
|
|
1297
|
+
export type DatadogRumEvent = {
|
|
1298
|
+
id: string;
|
|
1299
|
+
type: string;
|
|
1300
|
+
timestamp?: string;
|
|
1301
|
+
session?: DatadogRumSessionDetails;
|
|
1302
|
+
view?: DatadogRumViewDetails | Record<string, unknown>;
|
|
1303
|
+
action?: DatadogRumActionDetails;
|
|
1304
|
+
error?: DatadogRumErrorDetails;
|
|
1305
|
+
resource?: DatadogRumResourceDetails;
|
|
1306
|
+
longTask?: DatadogRumLongTaskDetails;
|
|
1307
|
+
service?: string;
|
|
1308
|
+
version?: string;
|
|
1309
|
+
environment?: string;
|
|
1310
|
+
device?: Record<string, unknown>;
|
|
1311
|
+
os?: Record<string, unknown>;
|
|
1312
|
+
browser?: Record<string, unknown>;
|
|
1313
|
+
user?: Record<string, unknown>;
|
|
1314
|
+
tags: string[];
|
|
1315
|
+
customAttributes: Record<string, unknown>;
|
|
1316
|
+
};
|
|
1317
|
+
export type DatadogAggregationBucketCompute = {
|
|
1318
|
+
value: unknown;
|
|
1319
|
+
aggregation: string;
|
|
1320
|
+
metric: string;
|
|
1321
|
+
};
|
|
1322
|
+
export type DatadogAggregationBucket = {
|
|
1323
|
+
by: Record<string, unknown>;
|
|
1324
|
+
computes: Record<string, DatadogAggregationBucketCompute>;
|
|
1325
|
+
};
|
|
1326
|
+
export type DatadogAggregationMeta = {
|
|
1327
|
+
elapsed?: number;
|
|
1328
|
+
requestId?: string;
|
|
1329
|
+
status?: unknown;
|
|
1330
|
+
};
|
|
1331
|
+
export type WorkOSUserSummary = {
|
|
1332
|
+
id: string;
|
|
1333
|
+
email: string;
|
|
1334
|
+
emailVerified: boolean;
|
|
1335
|
+
firstName?: string | null;
|
|
1336
|
+
lastName?: string | null;
|
|
1337
|
+
profilePictureUrl?: string | null;
|
|
1338
|
+
createdAt: string;
|
|
1339
|
+
updatedAt: string;
|
|
1340
|
+
};
|
|
1341
|
+
export type WorkOSPagination = {
|
|
1342
|
+
hasMore: boolean;
|
|
1343
|
+
after?: string | null;
|
|
1344
|
+
};
|
|
1345
|
+
export type WebSearchResultItem = {
|
|
1346
|
+
title: string;
|
|
1347
|
+
url: string;
|
|
1348
|
+
content: string;
|
|
1349
|
+
score: number;
|
|
1350
|
+
};
|
|
1351
|
+
export type WebSearchOutput = {
|
|
1352
|
+
query: string;
|
|
1353
|
+
answer: string | undefined;
|
|
1354
|
+
results: WebSearchResultItem[];
|
|
1355
|
+
};
|
|
1356
|
+
export type WebExtractResultItem = {
|
|
1357
|
+
url: string;
|
|
1358
|
+
raw_content: string;
|
|
1359
|
+
};
|
|
1360
|
+
export type WebExtractOutput = {
|
|
1361
|
+
results: WebExtractResultItem[];
|
|
1362
|
+
failed_results: unknown;
|
|
1363
|
+
};
|
|
1364
|
+
export type WebResearchSource = {
|
|
1365
|
+
title: string;
|
|
1366
|
+
url: string;
|
|
1367
|
+
};
|
|
1368
|
+
export type WebResearchOutput = ToolOutputBase & {
|
|
1369
|
+
status: "completed";
|
|
1370
|
+
request_id: string;
|
|
1371
|
+
content: string | undefined;
|
|
1372
|
+
sources: WebResearchSource[] | undefined;
|
|
1373
|
+
};
|
|
1374
|
+
export type ImageEditSnippet = {
|
|
1375
|
+
type: "image";
|
|
1376
|
+
url: string;
|
|
1377
|
+
};
|
|
1378
|
+
export type ImageEditOutput = ToolOutputBase & {
|
|
1379
|
+
url: string;
|
|
1380
|
+
image_url: string;
|
|
1381
|
+
summary: string;
|
|
1382
|
+
snippets: ImageEditSnippet[];
|
|
1383
|
+
};
|
|
682
1384
|
export type ToolOutputByName = {
|
|
683
|
-
[toolName: string]: unknown;
|
|
684
1385
|
attio_list_objects: ToolOutputBase & {
|
|
685
1386
|
objects: AttioObjectWithAttributes[];
|
|
686
1387
|
count: number;
|
|
@@ -696,10 +1397,7 @@ export type ToolOutputByName = {
|
|
|
696
1397
|
successCount?: number;
|
|
697
1398
|
failureCount?: number;
|
|
698
1399
|
partial?: boolean;
|
|
699
|
-
errors?:
|
|
700
|
-
index: number;
|
|
701
|
-
message: string;
|
|
702
|
-
}>;
|
|
1400
|
+
errors?: AttioUpsertError[];
|
|
703
1401
|
};
|
|
704
1402
|
slack_send_message: ToolOutputBase & {
|
|
705
1403
|
message_ts: string | undefined;
|
|
@@ -709,34 +1407,19 @@ export type ToolOutputByName = {
|
|
|
709
1407
|
has_blocks: boolean;
|
|
710
1408
|
};
|
|
711
1409
|
slack_list_channels: ToolOutputBase & {
|
|
712
|
-
channels:
|
|
713
|
-
id?: string;
|
|
714
|
-
name: string;
|
|
715
|
-
isPrivate: boolean;
|
|
716
|
-
isIm: boolean;
|
|
717
|
-
isMpim: boolean;
|
|
718
|
-
}>;
|
|
1410
|
+
channels: SlackChannelListItem[];
|
|
719
1411
|
count: number;
|
|
720
1412
|
nextCursor: string | null;
|
|
721
1413
|
hasMore: boolean;
|
|
722
1414
|
};
|
|
723
1415
|
slack_list_users: ToolOutputBase & {
|
|
724
|
-
users:
|
|
725
|
-
id: string;
|
|
726
|
-
name: string;
|
|
727
|
-
}>;
|
|
1416
|
+
users: SlackUserResponse[];
|
|
728
1417
|
count: number;
|
|
729
1418
|
};
|
|
730
1419
|
slack_read_conversation: ToolOutputBase & {
|
|
731
1420
|
channelId: string;
|
|
732
1421
|
channelName?: string;
|
|
733
|
-
messages:
|
|
734
|
-
userId?: string;
|
|
735
|
-
userName?: string;
|
|
736
|
-
text: string;
|
|
737
|
-
timestamp?: string;
|
|
738
|
-
threadTs?: string;
|
|
739
|
-
}>;
|
|
1422
|
+
messages: SlackConversationMessage[];
|
|
740
1423
|
count: number;
|
|
741
1424
|
hasMore: boolean;
|
|
742
1425
|
nextCursor: string | null;
|
|
@@ -746,18 +1429,8 @@ export type ToolOutputByName = {
|
|
|
746
1429
|
resultsReturned: number;
|
|
747
1430
|
query: string;
|
|
748
1431
|
repositories: string[];
|
|
749
|
-
pagination:
|
|
750
|
-
|
|
751
|
-
perPage: number;
|
|
752
|
-
hasMore: boolean;
|
|
753
|
-
};
|
|
754
|
-
results: Array<{
|
|
755
|
-
index: number;
|
|
756
|
-
repository: string;
|
|
757
|
-
path: string;
|
|
758
|
-
url: string;
|
|
759
|
-
snippets: string;
|
|
760
|
-
}>;
|
|
1432
|
+
pagination: GitHubPagination;
|
|
1433
|
+
results: GitHubCodeSearchResult[];
|
|
761
1434
|
message: string;
|
|
762
1435
|
tip: string;
|
|
763
1436
|
};
|
|
@@ -780,26 +1453,8 @@ export type ToolOutputByName = {
|
|
|
780
1453
|
open: number;
|
|
781
1454
|
closed: number;
|
|
782
1455
|
};
|
|
783
|
-
pagination:
|
|
784
|
-
|
|
785
|
-
perPage: number;
|
|
786
|
-
hasMore: boolean;
|
|
787
|
-
};
|
|
788
|
-
pullRequests: Array<{
|
|
789
|
-
number: number;
|
|
790
|
-
title: string;
|
|
791
|
-
description: string;
|
|
792
|
-
author: string;
|
|
793
|
-
state: string;
|
|
794
|
-
merged: boolean;
|
|
795
|
-
mergedAt?: string;
|
|
796
|
-
createdAt: string;
|
|
797
|
-
closedAt?: string;
|
|
798
|
-
labels: string[];
|
|
799
|
-
baseBranch: string;
|
|
800
|
-
headBranch: string;
|
|
801
|
-
url: string;
|
|
802
|
-
}>;
|
|
1456
|
+
pagination: GitHubPagination;
|
|
1457
|
+
pullRequests: GitHubPullRequestSummary[];
|
|
803
1458
|
message: string;
|
|
804
1459
|
};
|
|
805
1460
|
listGitHubDirectory: ToolOutputBase & {
|
|
@@ -807,24 +1462,12 @@ export type ToolOutputByName = {
|
|
|
807
1462
|
path: string;
|
|
808
1463
|
recursive: boolean;
|
|
809
1464
|
totalItems: number;
|
|
810
|
-
directories: Array<
|
|
811
|
-
|
|
812
|
-
path?: string;
|
|
813
|
-
type?: "directory";
|
|
814
|
-
} | string>;
|
|
815
|
-
files: Array<{
|
|
816
|
-
name?: string;
|
|
817
|
-
path: string;
|
|
818
|
-
type?: "file";
|
|
819
|
-
size?: number;
|
|
820
|
-
}>;
|
|
1465
|
+
directories: Array<GitHubDirectoryEntry | string>;
|
|
1466
|
+
files: GitHubFileEntry[];
|
|
821
1467
|
warning?: string;
|
|
822
1468
|
tip?: string;
|
|
823
1469
|
truncated?: boolean;
|
|
824
|
-
other?:
|
|
825
|
-
name: string;
|
|
826
|
-
type: string;
|
|
827
|
-
}>;
|
|
1470
|
+
other?: GitHubOtherEntry[];
|
|
828
1471
|
};
|
|
829
1472
|
listGitHubCommits: ToolOutputBase & {
|
|
830
1473
|
repository: string;
|
|
@@ -834,15 +1477,7 @@ export type ToolOutputByName = {
|
|
|
834
1477
|
total: number;
|
|
835
1478
|
byAuthor: Record<string, number>;
|
|
836
1479
|
};
|
|
837
|
-
commits:
|
|
838
|
-
sha: string;
|
|
839
|
-
fullSha: string;
|
|
840
|
-
message: string;
|
|
841
|
-
fullMessage: string;
|
|
842
|
-
author: string;
|
|
843
|
-
date: string;
|
|
844
|
-
url: string;
|
|
845
|
-
}>;
|
|
1480
|
+
commits: GitHubCommitSummary[];
|
|
846
1481
|
message: string;
|
|
847
1482
|
tip: string;
|
|
848
1483
|
};
|
|
@@ -852,50 +1487,233 @@ export type ToolOutputByName = {
|
|
|
852
1487
|
pattern: string;
|
|
853
1488
|
query: string;
|
|
854
1489
|
repositories: string[];
|
|
855
|
-
pagination:
|
|
856
|
-
|
|
857
|
-
perPage: number;
|
|
858
|
-
hasMore: boolean;
|
|
859
|
-
};
|
|
860
|
-
results: Array<{
|
|
861
|
-
index: number;
|
|
862
|
-
repository: string;
|
|
863
|
-
file: string;
|
|
864
|
-
url: string;
|
|
865
|
-
matches: string;
|
|
866
|
-
}>;
|
|
1490
|
+
pagination: GitHubPagination;
|
|
1491
|
+
results: GitHubCodeGrepResult[];
|
|
867
1492
|
message: string;
|
|
868
1493
|
tip: string;
|
|
869
1494
|
};
|
|
870
1495
|
summarizeGitHubPullRequestDiff: ToolOutputBase & {
|
|
871
1496
|
repository: string;
|
|
872
|
-
pullRequest:
|
|
873
|
-
number: number;
|
|
874
|
-
title: string;
|
|
875
|
-
state: string;
|
|
876
|
-
merged: boolean;
|
|
877
|
-
baseBranch: string;
|
|
878
|
-
headBranch: string;
|
|
879
|
-
url: string;
|
|
880
|
-
};
|
|
1497
|
+
pullRequest: GitHubPullRequestRef;
|
|
881
1498
|
summary: Record<string, unknown>;
|
|
882
|
-
pagination:
|
|
883
|
-
page: number;
|
|
884
|
-
perPage: number;
|
|
885
|
-
hasMore: boolean;
|
|
886
|
-
};
|
|
1499
|
+
pagination: GitHubPagination;
|
|
887
1500
|
analysis: string;
|
|
888
1501
|
message: string;
|
|
889
1502
|
};
|
|
890
1503
|
snowflakeExecuteQuery: ToolOutputBase & {
|
|
891
|
-
rows:
|
|
1504
|
+
rows: SnowflakeQueryRow[];
|
|
892
1505
|
columns: string[];
|
|
893
1506
|
rowCount: number;
|
|
894
1507
|
};
|
|
895
1508
|
snowflakeExplainQuery: ToolOutputBase & {
|
|
896
|
-
explainPlan:
|
|
1509
|
+
explainPlan: SnowflakeQueryRow[];
|
|
897
1510
|
columns: string[];
|
|
898
1511
|
rowCount: number;
|
|
899
1512
|
};
|
|
1513
|
+
linear_create_ticket: ToolOutputBase & {
|
|
1514
|
+
issue: LinearIssueHandle;
|
|
1515
|
+
};
|
|
1516
|
+
linear_update_ticket: ToolOutputBase & {
|
|
1517
|
+
issue: LinearIssueHandle;
|
|
1518
|
+
};
|
|
1519
|
+
linear_add_comment: ToolOutputBase & {
|
|
1520
|
+
comment: LinearCommentHandle;
|
|
1521
|
+
};
|
|
1522
|
+
linear_search_ticket: ToolOutputBase & {
|
|
1523
|
+
issues: LinearIssueSummary[];
|
|
1524
|
+
count: number;
|
|
1525
|
+
query: string;
|
|
1526
|
+
pagination: LinearSearchPagination;
|
|
1527
|
+
};
|
|
1528
|
+
linear_read_ticket: ToolOutputBase & {
|
|
1529
|
+
issue: LinearIssueDetail;
|
|
1530
|
+
comments?: Array<{
|
|
1531
|
+
id: string;
|
|
1532
|
+
body: string;
|
|
1533
|
+
authorId: string;
|
|
1534
|
+
createdAt: string;
|
|
1535
|
+
}>;
|
|
1536
|
+
};
|
|
1537
|
+
linear_get_states: ToolOutputBase & {
|
|
1538
|
+
states: LinearStateSummary[];
|
|
1539
|
+
};
|
|
1540
|
+
linear_get_labels: ToolOutputBase & {
|
|
1541
|
+
labels: LinearLabelSummary[];
|
|
1542
|
+
};
|
|
1543
|
+
linear_get_projects: ToolOutputBase & {
|
|
1544
|
+
projects: LinearProjectSummary[];
|
|
1545
|
+
};
|
|
1546
|
+
linear_get_teams: ToolOutputBase & {
|
|
1547
|
+
teams: LinearTeam[];
|
|
1548
|
+
};
|
|
1549
|
+
linear_get_users: ToolOutputBase & {
|
|
1550
|
+
users: LinearUserSummary[];
|
|
1551
|
+
};
|
|
1552
|
+
jira_create_ticket: ToolOutputBase & {
|
|
1553
|
+
issue: JiraIssueSummary;
|
|
1554
|
+
};
|
|
1555
|
+
jira_update_ticket: ToolOutputBase & {
|
|
1556
|
+
issue: JiraIssueSummary;
|
|
1557
|
+
updatedFields: string[];
|
|
1558
|
+
};
|
|
1559
|
+
jira_search_ticket: ToolOutputBase & {
|
|
1560
|
+
issues: JiraIssueSummary[];
|
|
1561
|
+
count: number;
|
|
1562
|
+
total: number;
|
|
1563
|
+
maxResults: number;
|
|
1564
|
+
isLast: boolean;
|
|
1565
|
+
nextPageToken?: string;
|
|
1566
|
+
jql: string;
|
|
1567
|
+
};
|
|
1568
|
+
notion_create_or_update_page: NotionDatabaseRowMutationResult;
|
|
1569
|
+
notion_create_or_update_database_row: NotionDatabaseRowMutationResult;
|
|
1570
|
+
notion_modify_blocks: NotionModifyBlocksSuccess | NotionModifyBlocksFailure;
|
|
1571
|
+
notion_query_page: ToolOutputBase & NotionPageQueryMetadata & {
|
|
1572
|
+
properties: Record<string, NotionReadablePropertyValue>;
|
|
1573
|
+
properties_raw?: Record<string, unknown>;
|
|
1574
|
+
blocks: NotionPageBlock[];
|
|
1575
|
+
blocks_count: number;
|
|
1576
|
+
};
|
|
1577
|
+
notion_query_database: NotionQueryDatabaseSuccess | NotionQueryDatabaseFailure;
|
|
1578
|
+
notion_get_schema: ToolOutputBase & {
|
|
1579
|
+
data_source_id: string;
|
|
1580
|
+
database_name: string;
|
|
1581
|
+
schema: Record<string, NotionSchemaProperty>;
|
|
1582
|
+
property_count: number;
|
|
1583
|
+
};
|
|
1584
|
+
notion_fetch_related_events: ToolOutputBase & {
|
|
1585
|
+
events_count: number;
|
|
1586
|
+
events?: string;
|
|
1587
|
+
message: string;
|
|
1588
|
+
};
|
|
1589
|
+
notion_list_users: ToolOutputBase & {
|
|
1590
|
+
users: NotionWorkspaceUser[];
|
|
1591
|
+
count: number;
|
|
1592
|
+
};
|
|
1593
|
+
gmail_send_email: ToolOutputBase & GmailSendSummary;
|
|
1594
|
+
gmail_create_draft: ToolOutputBase & GmailDraftSummary;
|
|
1595
|
+
confluence_query_page: ToolOutputBase & ConfluencePageQueryResult;
|
|
1596
|
+
confluence_add_comment: ToolOutputBase & {
|
|
1597
|
+
comment_id: string;
|
|
1598
|
+
comment_text: string;
|
|
1599
|
+
position: ConfluenceCommentPosition;
|
|
1600
|
+
text_commented_on?: string;
|
|
1601
|
+
message: string;
|
|
1602
|
+
};
|
|
1603
|
+
searchPosthogSessions: PosthogSearchSessionsFound | PosthogSearchSessionsNotFound;
|
|
1604
|
+
searchPosthogLogs: ToolOutputBase & {
|
|
1605
|
+
userEmail: string | null;
|
|
1606
|
+
severityLevels: Array<"error" | "warn" | "info" | "debug"> | null;
|
|
1607
|
+
messageSearch: string | null;
|
|
1608
|
+
projectId: string;
|
|
1609
|
+
totalLogs: number;
|
|
1610
|
+
logs: PosthogLogEntry[];
|
|
1611
|
+
logsLink: string;
|
|
1612
|
+
pagination: PosthogOffsetPagination;
|
|
1613
|
+
message: string;
|
|
1614
|
+
};
|
|
1615
|
+
getPosthogSessionEvents: ToolOutputBase & {
|
|
1616
|
+
sessionId: string;
|
|
1617
|
+
sessionUrl: string;
|
|
1618
|
+
startTime: string;
|
|
1619
|
+
duration?: number;
|
|
1620
|
+
timeWindow: {
|
|
1621
|
+
startSeconds: number;
|
|
1622
|
+
endSeconds: number | null;
|
|
1623
|
+
};
|
|
1624
|
+
summary: PosthogSessionEventsSummary;
|
|
1625
|
+
events: PosthogSessionEvent[];
|
|
1626
|
+
consoleLogs: PosthogSessionConsoleLog[];
|
|
1627
|
+
message: string;
|
|
1628
|
+
};
|
|
1629
|
+
searchPosthogEvents: (ToolOutputBase & {
|
|
1630
|
+
countByEventNameOnly: true;
|
|
1631
|
+
customEventsOnly: boolean;
|
|
1632
|
+
eventCounts: PosthogEventCount[];
|
|
1633
|
+
totalEventTypes: number;
|
|
1634
|
+
eventsLink: string;
|
|
1635
|
+
message: string;
|
|
1636
|
+
}) | (ToolOutputBase & {
|
|
1637
|
+
userEmail: string | null;
|
|
1638
|
+
eventName: string | null;
|
|
1639
|
+
projectId: string;
|
|
1640
|
+
totalEvents: number;
|
|
1641
|
+
events: PosthogEventSummary[];
|
|
1642
|
+
eventsLink: string;
|
|
1643
|
+
pagination: PosthogOffsetPagination;
|
|
1644
|
+
message: string;
|
|
1645
|
+
});
|
|
1646
|
+
listLaunchDarklyFlags: ToolOutputBase & {
|
|
1647
|
+
projectKey: string;
|
|
1648
|
+
totalFlags: number;
|
|
1649
|
+
flags: LaunchDarklyFlagSummary[];
|
|
1650
|
+
flagsLink: string;
|
|
1651
|
+
message: string;
|
|
1652
|
+
};
|
|
1653
|
+
getLaunchDarklyFlagDetails: ToolOutputBase & {
|
|
1654
|
+
projectKey: string;
|
|
1655
|
+
flag: LaunchDarklyFlagMetadata;
|
|
1656
|
+
environments: Record<string, LaunchDarklyEnvironmentConfig>;
|
|
1657
|
+
url: string;
|
|
1658
|
+
history?: LaunchDarklyHistoryResult;
|
|
1659
|
+
message: string;
|
|
1660
|
+
};
|
|
1661
|
+
searchDatadogLogs: ToolOutputBase & {
|
|
1662
|
+
query: string | null;
|
|
1663
|
+
indexes: string[];
|
|
1664
|
+
totalLogs: number;
|
|
1665
|
+
logs: DatadogLogEntry[];
|
|
1666
|
+
logsLink: string;
|
|
1667
|
+
pagination: DatadogCursorPagination;
|
|
1668
|
+
warnings: string | null;
|
|
1669
|
+
message: string;
|
|
1670
|
+
};
|
|
1671
|
+
searchRumEvents: ToolOutputBase & {
|
|
1672
|
+
query: string | null;
|
|
1673
|
+
totalEvents: number;
|
|
1674
|
+
events: DatadogRumEvent[];
|
|
1675
|
+
eventsByType: Record<string, number>;
|
|
1676
|
+
rumLink: string;
|
|
1677
|
+
pagination: DatadogCursorPagination;
|
|
1678
|
+
warnings: string | null;
|
|
1679
|
+
message: string;
|
|
1680
|
+
};
|
|
1681
|
+
listRumEvents: ToolOutputBase & {
|
|
1682
|
+
query: string | null;
|
|
1683
|
+
totalEvents: number;
|
|
1684
|
+
events: DatadogRumEvent[];
|
|
1685
|
+
eventsByType: Record<string, number>;
|
|
1686
|
+
rumLink: string;
|
|
1687
|
+
pagination: DatadogCursorPagination;
|
|
1688
|
+
warnings: string | null;
|
|
1689
|
+
message: string;
|
|
1690
|
+
};
|
|
1691
|
+
aggregateRumEvents: ToolOutputBase & {
|
|
1692
|
+
query: string | null;
|
|
1693
|
+
from: string;
|
|
1694
|
+
to: string | null;
|
|
1695
|
+
compute: string;
|
|
1696
|
+
groupBy: string;
|
|
1697
|
+
totalBuckets: number;
|
|
1698
|
+
buckets: DatadogAggregationBucket[];
|
|
1699
|
+
rumLink: string;
|
|
1700
|
+
pagination: Omit<DatadogCursorPagination, "cursor">;
|
|
1701
|
+
warnings: string | null;
|
|
1702
|
+
meta: DatadogAggregationMeta;
|
|
1703
|
+
message: string;
|
|
1704
|
+
};
|
|
1705
|
+
listWorkOSUsers: ToolOutputBase & {
|
|
1706
|
+
users: WorkOSUserSummary[];
|
|
1707
|
+
pagination: WorkOSPagination;
|
|
1708
|
+
message: string;
|
|
1709
|
+
};
|
|
1710
|
+
getWorkOSUser: ToolOutputBase & {
|
|
1711
|
+
user: WorkOSUserSummary;
|
|
1712
|
+
message: string;
|
|
1713
|
+
};
|
|
1714
|
+
web_search: WebSearchOutput;
|
|
1715
|
+
web_extract: WebExtractOutput;
|
|
1716
|
+
web_research: WebResearchOutput;
|
|
1717
|
+
image_edit: ImageEditOutput;
|
|
900
1718
|
};
|
|
901
1719
|
//# sourceMappingURL=types.d.ts.map
|