Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/goose/src/providers/factory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ mod tests {
use mcp_core::{content::TextContent, Role};
use std::env;

#[warn(dead_code)]
#[allow(dead_code)]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why this?

#[derive(Clone)]
struct MockTestProvider {
name: String,
Expand Down
17 changes: 17 additions & 0 deletions demo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"demo": {
"title": "Goose File Operations Demo",
"version": "1.0.0",
"features": [
"File creation",
"File reading",
"Content modification",
"Multiple formats"
],
"metadata": {
"created_by": "Goose AI Assistant",
"created_at": "2025-07-02T17:33:32Z",
"file_type": "demonstration"
}
}
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is this file?

17 changes: 17 additions & 0 deletions demo.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Hello, World!

This is a demonstration of file operations in Goose.

Here are some key points:
- Files can be created and edited
- Content can be viewed and modified
- Multiple file formats are supported

Current timestamp: 2025-07-02 17:33:32

--- UPDATE ---
This content was added after the initial file creation!
File modification operations include:
- String replacement
- Line insertion
- Content appending
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and this one?

6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions ui/desktop/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1342,6 +1342,12 @@
"envs": {
"$ref": "#/components/schemas/Envs"
},
"headers": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"name": {
"type": "string",
"description": "The name used to identify this extension"
Expand Down
3 changes: 3 additions & 0 deletions ui/desktop/src/api/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ export type ExtensionConfig = {
description?: string | null;
env_keys?: Array<string>;
envs?: Envs;
headers?: {
[key: string]: string;
};
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need this?

/**
* The name used to identify this extension
*/
Expand Down
Loading
Loading