diff --git a/docs/genaisrc/genaiscript.d.ts b/docs/genaisrc/genaiscript.d.ts index 471b771195..62b860155a 100644 --- a/docs/genaisrc/genaiscript.d.ts +++ b/docs/genaisrc/genaiscript.d.ts @@ -1306,6 +1306,21 @@ interface HTML { convertToMarkdown(html: string): Promise } +interface Git { + /** + * Finds specific files in the git repository. + * By default, work + * @param options + */ + selectModifiedFiles( + scope: "branch" | "staged" | "modified", + options?: { + endsWith?: ElementOrArray + glob?: ElementOrArray + } + ): Promise +} + interface GitHubOptions { owner: string repo: string @@ -2909,6 +2924,11 @@ declare var host: PromptHost */ declare var github: GitHub +/** + * Access to Git operations for the current repository + */ +declare var git: Git + /** * Fetches a given URL and returns the response. * @param url diff --git a/genaisrc/genaiscript.d.ts b/genaisrc/genaiscript.d.ts index 471b771195..62b860155a 100644 --- a/genaisrc/genaiscript.d.ts +++ b/genaisrc/genaiscript.d.ts @@ -1306,6 +1306,21 @@ interface HTML { convertToMarkdown(html: string): Promise } +interface Git { + /** + * Finds specific files in the git repository. + * By default, work + * @param options + */ + selectModifiedFiles( + scope: "branch" | "staged" | "modified", + options?: { + endsWith?: ElementOrArray + glob?: ElementOrArray + } + ): Promise +} + interface GitHubOptions { owner: string repo: string @@ -2909,6 +2924,11 @@ declare var host: PromptHost */ declare var github: GitHub +/** + * Access to Git operations for the current repository + */ +declare var git: Git + /** * Fetches a given URL and returns the response. * @param url diff --git a/packages/auto/genaiscript.d.ts b/packages/auto/genaiscript.d.ts index 471b771195..62b860155a 100644 --- a/packages/auto/genaiscript.d.ts +++ b/packages/auto/genaiscript.d.ts @@ -1306,6 +1306,21 @@ interface HTML { convertToMarkdown(html: string): Promise } +interface Git { + /** + * Finds specific files in the git repository. + * By default, work + * @param options + */ + selectModifiedFiles( + scope: "branch" | "staged" | "modified", + options?: { + endsWith?: ElementOrArray + glob?: ElementOrArray + } + ): Promise +} + interface GitHubOptions { owner: string repo: string @@ -2909,6 +2924,11 @@ declare var host: PromptHost */ declare var github: GitHub +/** + * Access to Git operations for the current repository + */ +declare var git: Git + /** * Fetches a given URL and returns the response. * @param url diff --git a/packages/core/src/genaisrc/genaiscript.d.ts b/packages/core/src/genaisrc/genaiscript.d.ts index 471b771195..62b860155a 100644 --- a/packages/core/src/genaisrc/genaiscript.d.ts +++ b/packages/core/src/genaisrc/genaiscript.d.ts @@ -1306,6 +1306,21 @@ interface HTML { convertToMarkdown(html: string): Promise } +interface Git { + /** + * Finds specific files in the git repository. + * By default, work + * @param options + */ + selectModifiedFiles( + scope: "branch" | "staged" | "modified", + options?: { + endsWith?: ElementOrArray + glob?: ElementOrArray + } + ): Promise +} + interface GitHubOptions { owner: string repo: string @@ -2909,6 +2924,11 @@ declare var host: PromptHost */ declare var github: GitHub +/** + * Access to Git operations for the current repository + */ +declare var git: Git + /** * Fetches a given URL and returns the response. * @param url diff --git a/packages/core/src/types/prompt_template.d.ts b/packages/core/src/types/prompt_template.d.ts index 15ff58f5de..fa1d2000d5 100644 --- a/packages/core/src/types/prompt_template.d.ts +++ b/packages/core/src/types/prompt_template.d.ts @@ -1273,6 +1273,21 @@ interface HTML { convertToMarkdown(html: string): Promise } +interface Git { + /** + * Finds specific files in the git repository. + * By default, work + * @param options + */ + selectModifiedFiles( + scope: "branch" | "staged" | "modified", + options?: { + endsWith?: ElementOrArray + glob?: ElementOrArray + } + ): Promise +} + interface GitHubOptions { owner: string repo: string diff --git a/packages/core/src/types/prompt_type.d.ts b/packages/core/src/types/prompt_type.d.ts index fa5cfd7e77..117f0bd87a 100644 --- a/packages/core/src/types/prompt_type.d.ts +++ b/packages/core/src/types/prompt_type.d.ts @@ -187,6 +187,11 @@ declare var host: PromptHost */ declare var github: GitHub +/** + * Access to Git operations for the current repository + */ +declare var git: Git + /** * Fetches a given URL and returns the response. * @param url diff --git a/packages/sample/genaisrc/blog/genaiscript.d.ts b/packages/sample/genaisrc/blog/genaiscript.d.ts index 471b771195..62b860155a 100644 --- a/packages/sample/genaisrc/blog/genaiscript.d.ts +++ b/packages/sample/genaisrc/blog/genaiscript.d.ts @@ -1306,6 +1306,21 @@ interface HTML { convertToMarkdown(html: string): Promise } +interface Git { + /** + * Finds specific files in the git repository. + * By default, work + * @param options + */ + selectModifiedFiles( + scope: "branch" | "staged" | "modified", + options?: { + endsWith?: ElementOrArray + glob?: ElementOrArray + } + ): Promise +} + interface GitHubOptions { owner: string repo: string @@ -2909,6 +2924,11 @@ declare var host: PromptHost */ declare var github: GitHub +/** + * Access to Git operations for the current repository + */ +declare var git: Git + /** * Fetches a given URL and returns the response. * @param url diff --git a/packages/sample/genaisrc/genaiscript.d.ts b/packages/sample/genaisrc/genaiscript.d.ts index 471b771195..62b860155a 100644 --- a/packages/sample/genaisrc/genaiscript.d.ts +++ b/packages/sample/genaisrc/genaiscript.d.ts @@ -1306,6 +1306,21 @@ interface HTML { convertToMarkdown(html: string): Promise } +interface Git { + /** + * Finds specific files in the git repository. + * By default, work + * @param options + */ + selectModifiedFiles( + scope: "branch" | "staged" | "modified", + options?: { + endsWith?: ElementOrArray + glob?: ElementOrArray + } + ): Promise +} + interface GitHubOptions { owner: string repo: string @@ -2909,6 +2924,11 @@ declare var host: PromptHost */ declare var github: GitHub +/** + * Access to Git operations for the current repository + */ +declare var git: Git + /** * Fetches a given URL and returns the response. * @param url diff --git a/packages/sample/genaisrc/node/genaiscript.d.ts b/packages/sample/genaisrc/node/genaiscript.d.ts index 471b771195..62b860155a 100644 --- a/packages/sample/genaisrc/node/genaiscript.d.ts +++ b/packages/sample/genaisrc/node/genaiscript.d.ts @@ -1306,6 +1306,21 @@ interface HTML { convertToMarkdown(html: string): Promise } +interface Git { + /** + * Finds specific files in the git repository. + * By default, work + * @param options + */ + selectModifiedFiles( + scope: "branch" | "staged" | "modified", + options?: { + endsWith?: ElementOrArray + glob?: ElementOrArray + } + ): Promise +} + interface GitHubOptions { owner: string repo: string @@ -2909,6 +2924,11 @@ declare var host: PromptHost */ declare var github: GitHub +/** + * Access to Git operations for the current repository + */ +declare var git: Git + /** * Fetches a given URL and returns the response. * @param url diff --git a/packages/sample/genaisrc/python/genaiscript.d.ts b/packages/sample/genaisrc/python/genaiscript.d.ts index 471b771195..62b860155a 100644 --- a/packages/sample/genaisrc/python/genaiscript.d.ts +++ b/packages/sample/genaisrc/python/genaiscript.d.ts @@ -1306,6 +1306,21 @@ interface HTML { convertToMarkdown(html: string): Promise } +interface Git { + /** + * Finds specific files in the git repository. + * By default, work + * @param options + */ + selectModifiedFiles( + scope: "branch" | "staged" | "modified", + options?: { + endsWith?: ElementOrArray + glob?: ElementOrArray + } + ): Promise +} + interface GitHubOptions { owner: string repo: string @@ -2909,6 +2924,11 @@ declare var host: PromptHost */ declare var github: GitHub +/** + * Access to Git operations for the current repository + */ +declare var git: Git + /** * Fetches a given URL and returns the response. * @param url diff --git a/packages/sample/genaisrc/style/genaiscript.d.ts b/packages/sample/genaisrc/style/genaiscript.d.ts index 471b771195..62b860155a 100644 --- a/packages/sample/genaisrc/style/genaiscript.d.ts +++ b/packages/sample/genaisrc/style/genaiscript.d.ts @@ -1306,6 +1306,21 @@ interface HTML { convertToMarkdown(html: string): Promise } +interface Git { + /** + * Finds specific files in the git repository. + * By default, work + * @param options + */ + selectModifiedFiles( + scope: "branch" | "staged" | "modified", + options?: { + endsWith?: ElementOrArray + glob?: ElementOrArray + } + ): Promise +} + interface GitHubOptions { owner: string repo: string @@ -2909,6 +2924,11 @@ declare var host: PromptHost */ declare var github: GitHub +/** + * Access to Git operations for the current repository + */ +declare var git: Git + /** * Fetches a given URL and returns the response. * @param url diff --git a/packages/sample/src/aici/genaiscript.d.ts b/packages/sample/src/aici/genaiscript.d.ts index 471b771195..62b860155a 100644 --- a/packages/sample/src/aici/genaiscript.d.ts +++ b/packages/sample/src/aici/genaiscript.d.ts @@ -1306,6 +1306,21 @@ interface HTML { convertToMarkdown(html: string): Promise } +interface Git { + /** + * Finds specific files in the git repository. + * By default, work + * @param options + */ + selectModifiedFiles( + scope: "branch" | "staged" | "modified", + options?: { + endsWith?: ElementOrArray + glob?: ElementOrArray + } + ): Promise +} + interface GitHubOptions { owner: string repo: string @@ -2909,6 +2924,11 @@ declare var host: PromptHost */ declare var github: GitHub +/** + * Access to Git operations for the current repository + */ +declare var git: Git + /** * Fetches a given URL and returns the response. * @param url diff --git a/packages/sample/src/errors/genaiscript.d.ts b/packages/sample/src/errors/genaiscript.d.ts index 471b771195..62b860155a 100644 --- a/packages/sample/src/errors/genaiscript.d.ts +++ b/packages/sample/src/errors/genaiscript.d.ts @@ -1306,6 +1306,21 @@ interface HTML { convertToMarkdown(html: string): Promise } +interface Git { + /** + * Finds specific files in the git repository. + * By default, work + * @param options + */ + selectModifiedFiles( + scope: "branch" | "staged" | "modified", + options?: { + endsWith?: ElementOrArray + glob?: ElementOrArray + } + ): Promise +} + interface GitHubOptions { owner: string repo: string @@ -2909,6 +2924,11 @@ declare var host: PromptHost */ declare var github: GitHub +/** + * Access to Git operations for the current repository + */ +declare var git: Git + /** * Fetches a given URL and returns the response. * @param url diff --git a/packages/sample/src/genaiscript.d.ts b/packages/sample/src/genaiscript.d.ts index 471b771195..62b860155a 100644 --- a/packages/sample/src/genaiscript.d.ts +++ b/packages/sample/src/genaiscript.d.ts @@ -1306,6 +1306,21 @@ interface HTML { convertToMarkdown(html: string): Promise } +interface Git { + /** + * Finds specific files in the git repository. + * By default, work + * @param options + */ + selectModifiedFiles( + scope: "branch" | "staged" | "modified", + options?: { + endsWith?: ElementOrArray + glob?: ElementOrArray + } + ): Promise +} + interface GitHubOptions { owner: string repo: string @@ -2909,6 +2924,11 @@ declare var host: PromptHost */ declare var github: GitHub +/** + * Access to Git operations for the current repository + */ +declare var git: Git + /** * Fetches a given URL and returns the response. * @param url diff --git a/packages/sample/src/makecode/genaiscript.d.ts b/packages/sample/src/makecode/genaiscript.d.ts index 471b771195..62b860155a 100644 --- a/packages/sample/src/makecode/genaiscript.d.ts +++ b/packages/sample/src/makecode/genaiscript.d.ts @@ -1306,6 +1306,21 @@ interface HTML { convertToMarkdown(html: string): Promise } +interface Git { + /** + * Finds specific files in the git repository. + * By default, work + * @param options + */ + selectModifiedFiles( + scope: "branch" | "staged" | "modified", + options?: { + endsWith?: ElementOrArray + glob?: ElementOrArray + } + ): Promise +} + interface GitHubOptions { owner: string repo: string @@ -2909,6 +2924,11 @@ declare var host: PromptHost */ declare var github: GitHub +/** + * Access to Git operations for the current repository + */ +declare var git: Git + /** * Fetches a given URL and returns the response. * @param url diff --git a/packages/sample/src/tla/genaiscript.d.ts b/packages/sample/src/tla/genaiscript.d.ts index 471b771195..62b860155a 100644 --- a/packages/sample/src/tla/genaiscript.d.ts +++ b/packages/sample/src/tla/genaiscript.d.ts @@ -1306,6 +1306,21 @@ interface HTML { convertToMarkdown(html: string): Promise } +interface Git { + /** + * Finds specific files in the git repository. + * By default, work + * @param options + */ + selectModifiedFiles( + scope: "branch" | "staged" | "modified", + options?: { + endsWith?: ElementOrArray + glob?: ElementOrArray + } + ): Promise +} + interface GitHubOptions { owner: string repo: string @@ -2909,6 +2924,11 @@ declare var host: PromptHost */ declare var github: GitHub +/** + * Access to Git operations for the current repository + */ +declare var git: Git + /** * Fetches a given URL and returns the response. * @param url diff --git a/packages/sample/src/vision/genaiscript.d.ts b/packages/sample/src/vision/genaiscript.d.ts index 471b771195..62b860155a 100644 --- a/packages/sample/src/vision/genaiscript.d.ts +++ b/packages/sample/src/vision/genaiscript.d.ts @@ -1306,6 +1306,21 @@ interface HTML { convertToMarkdown(html: string): Promise } +interface Git { + /** + * Finds specific files in the git repository. + * By default, work + * @param options + */ + selectModifiedFiles( + scope: "branch" | "staged" | "modified", + options?: { + endsWith?: ElementOrArray + glob?: ElementOrArray + } + ): Promise +} + interface GitHubOptions { owner: string repo: string @@ -2909,6 +2924,11 @@ declare var host: PromptHost */ declare var github: GitHub +/** + * Access to Git operations for the current repository + */ +declare var git: Git + /** * Fetches a given URL and returns the response. * @param url diff --git a/packages/vscode/genaisrc/genaiscript.d.ts b/packages/vscode/genaisrc/genaiscript.d.ts index 471b771195..62b860155a 100644 --- a/packages/vscode/genaisrc/genaiscript.d.ts +++ b/packages/vscode/genaisrc/genaiscript.d.ts @@ -1306,6 +1306,21 @@ interface HTML { convertToMarkdown(html: string): Promise } +interface Git { + /** + * Finds specific files in the git repository. + * By default, work + * @param options + */ + selectModifiedFiles( + scope: "branch" | "staged" | "modified", + options?: { + endsWith?: ElementOrArray + glob?: ElementOrArray + } + ): Promise +} + interface GitHubOptions { owner: string repo: string @@ -2909,6 +2924,11 @@ declare var host: PromptHost */ declare var github: GitHub +/** + * Access to Git operations for the current repository + */ +declare var git: Git + /** * Fetches a given URL and returns the response. * @param url diff --git a/slides/genaisrc/genaiscript.d.ts b/slides/genaisrc/genaiscript.d.ts index 471b771195..62b860155a 100644 --- a/slides/genaisrc/genaiscript.d.ts +++ b/slides/genaisrc/genaiscript.d.ts @@ -1306,6 +1306,21 @@ interface HTML { convertToMarkdown(html: string): Promise } +interface Git { + /** + * Finds specific files in the git repository. + * By default, work + * @param options + */ + selectModifiedFiles( + scope: "branch" | "staged" | "modified", + options?: { + endsWith?: ElementOrArray + glob?: ElementOrArray + } + ): Promise +} + interface GitHubOptions { owner: string repo: string @@ -2909,6 +2924,11 @@ declare var host: PromptHost */ declare var github: GitHub +/** + * Access to Git operations for the current repository + */ +declare var git: Git + /** * Fetches a given URL and returns the response. * @param url