From be12a67ae9c68b379b497aaef8562cd2c6b79d75 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 15 Mar 2026 21:39:29 +0000 Subject: [PATCH 1/4] Initial plan From 45bdcfca65a79997bdc37d80c3b7cf9b50be6c3a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 15 Mar 2026 21:47:52 +0000 Subject: [PATCH 2/4] Add config tool definition Co-authored-by: sawka <2722291+sawka@users.noreply.github.com> --- pkg/aiusechat/tools_setconfig.go | 371 ++++++++++++++++++++++++++ pkg/aiusechat/tools_setconfig_test.go | 174 ++++++++++++ 2 files changed, 545 insertions(+) create mode 100644 pkg/aiusechat/tools_setconfig.go create mode 100644 pkg/aiusechat/tools_setconfig_test.go diff --git a/pkg/aiusechat/tools_setconfig.go b/pkg/aiusechat/tools_setconfig.go new file mode 100644 index 0000000000..687320db2e --- /dev/null +++ b/pkg/aiusechat/tools_setconfig.go @@ -0,0 +1,371 @@ +// Copyright 2026, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + +package aiusechat + +import ( + "fmt" + "sort" + "strings" + + "github.com/wavetermdev/waveterm/pkg/aiusechat/uctypes" + "github.com/wavetermdev/waveterm/pkg/util/utilfn" + "github.com/wavetermdev/waveterm/pkg/waveobj" + "github.com/wavetermdev/waveterm/pkg/wconfig" +) + +const SetConfigToolName = "set_config" + +type setConfigToolInput struct { + Config waveobj.MetaMapType `json:"config"` +} + +type setConfigAllowedValue struct { + Schema map[string]any + ValidateFunc func(any) error +} + +var setConfigAllowedSettings = map[string]setConfigAllowedValue{ + "app:defaultnewblock": { + Schema: makeNullableStringSchema("Default widget type used for newly created blocks."), + ValidateFunc: validateConfigStringValue(nil), + }, + "app:showoverlayblocknums": { + Schema: makeNullableBoolSchema("Show block number overlays in the UI."), + ValidateFunc: validateConfigBoolValue(), + }, + "app:ctrlvpaste": { + Schema: makeNullableBoolSchema("Enable Ctrl+V paste behavior."), + ValidateFunc: validateConfigBoolValue(), + }, + "app:confirmquit": { + Schema: makeNullableBoolSchema("Ask for confirmation before quitting Wave."), + ValidateFunc: validateConfigBoolValue(), + }, + "app:hideaibutton": { + Schema: makeNullableBoolSchema("Hide the AI button in the UI."), + ValidateFunc: validateConfigBoolValue(), + }, + "app:disablectrlshiftarrows": { + Schema: makeNullableBoolSchema("Disable Ctrl+Shift+Arrow shortcuts."), + ValidateFunc: validateConfigBoolValue(), + }, + "app:disablectrlshiftdisplay": { + Schema: makeNullableBoolSchema("Disable Ctrl+Shift display shortcuts."), + ValidateFunc: validateConfigBoolValue(), + }, + "app:focusfollowscursor": { + Schema: makeNullableEnumStringSchema("Control whether focus follows the cursor.", "off", "on", "term"), + ValidateFunc: validateConfigStringValue([]string{"off", "on", "term"}), + }, + "app:tabbar": { + Schema: makeNullableEnumStringSchema("Choose where the tab bar is shown.", "top", "left"), + ValidateFunc: validateConfigStringValue([]string{"top", "left"}), + }, + "feature:waveappbuilder": { + Schema: makeNullableBoolSchema("Enable or disable the Wave app builder feature."), + ValidateFunc: validateConfigBoolValue(), + }, + "waveai:showcloudmodes": { + Schema: makeNullableBoolSchema("Show Wave cloud AI modes in the mode picker."), + ValidateFunc: validateConfigBoolValue(), + }, + "waveai:defaultmode": { + Schema: makeNullableStringSchema("Default Wave AI mode to select."), + ValidateFunc: validateConfigStringValue(nil), + }, + "term:fontsize": { + Schema: makeNullableNumberSchema("Terminal font size."), + ValidateFunc: validateConfigNumberValue(), + }, + "term:fontfamily": { + Schema: makeNullableStringSchema("Terminal font family."), + ValidateFunc: validateConfigStringValue(nil), + }, + "term:theme": { + Schema: makeNullableStringSchema("Terminal theme name."), + ValidateFunc: validateConfigStringValue(nil), + }, + "term:disablewebgl": { + Schema: makeNullableBoolSchema("Disable terminal WebGL rendering."), + ValidateFunc: validateConfigBoolValue(), + }, + "term:copyonselect": { + Schema: makeNullableBoolSchema("Copy terminal selections automatically."), + ValidateFunc: validateConfigBoolValue(), + }, + "term:allowbracketedpaste": { + Schema: makeNullableBoolSchema("Allow bracketed paste in the terminal."), + ValidateFunc: validateConfigBoolValue(), + }, + "term:shiftenternewline": { + Schema: makeNullableBoolSchema("Insert a newline when Shift+Enter is pressed."), + ValidateFunc: validateConfigBoolValue(), + }, + "term:macoptionismeta": { + Schema: makeNullableBoolSchema("Treat the Mac Option key as Meta."), + ValidateFunc: validateConfigBoolValue(), + }, + "term:cursor": { + Schema: makeNullableStringSchema("Terminal cursor style."), + ValidateFunc: validateConfigStringValue(nil), + }, + "term:cursorblink": { + Schema: makeNullableBoolSchema("Enable cursor blinking in the terminal."), + ValidateFunc: validateConfigBoolValue(), + }, + "term:bellsound": { + Schema: makeNullableBoolSchema("Enable terminal bell sounds."), + ValidateFunc: validateConfigBoolValue(), + }, + "term:bellindicator": { + Schema: makeNullableBoolSchema("Enable terminal bell indicators."), + ValidateFunc: validateConfigBoolValue(), + }, + "term:osc52": { + Schema: makeNullableEnumStringSchema("Terminal OSC52 clipboard behavior.", "focus", "always"), + ValidateFunc: validateConfigStringValue([]string{"focus", "always"}), + }, + "term:durable": { + Schema: makeNullableBoolSchema("Keep terminal state durable across reloads."), + ValidateFunc: validateConfigBoolValue(), + }, + "editor:minimapenabled": { + Schema: makeNullableBoolSchema("Show the code editor minimap."), + ValidateFunc: validateConfigBoolValue(), + }, + "editor:stickyscrollenabled": { + Schema: makeNullableBoolSchema("Enable sticky scroll in the code editor."), + ValidateFunc: validateConfigBoolValue(), + }, + "editor:wordwrap": { + Schema: makeNullableBoolSchema("Enable word wrap in the code editor."), + ValidateFunc: validateConfigBoolValue(), + }, + "editor:fontsize": { + Schema: makeNullableNumberSchema("Code editor font size."), + ValidateFunc: validateConfigNumberValue(), + }, + "editor:inlinediff": { + Schema: makeNullableBoolSchema("Show code diffs inline in the editor."), + ValidateFunc: validateConfigBoolValue(), + }, + "web:openlinksinternally": { + Schema: makeNullableBoolSchema("Open web links inside Wave."), + ValidateFunc: validateConfigBoolValue(), + }, + "web:defaulturl": { + Schema: makeNullableStringSchema("Default URL for new web widgets."), + ValidateFunc: validateConfigStringValue(nil), + }, + "web:defaultsearch": { + Schema: makeNullableStringSchema("Default search URL template for web widgets."), + ValidateFunc: validateConfigStringValue(nil), + }, +} + +func makeNullableBoolSchema(description string) map[string]any { + return map[string]any{ + "anyOf": []any{ + map[string]any{ + "type": "boolean", + "description": description, + }, + map[string]any{ + "type": "null", + }, + }, + } +} + +func makeNullableNumberSchema(description string) map[string]any { + return map[string]any{ + "anyOf": []any{ + map[string]any{ + "type": "number", + "description": description, + }, + map[string]any{ + "type": "null", + }, + }, + } +} + +func makeNullableStringSchema(description string) map[string]any { + return map[string]any{ + "anyOf": []any{ + map[string]any{ + "type": "string", + "description": description, + }, + map[string]any{ + "type": "null", + }, + }, + } +} + +func makeNullableEnumStringSchema(description string, values ...string) map[string]any { + return map[string]any{ + "anyOf": []any{ + map[string]any{ + "type": "string", + "description": description, + "enum": values, + }, + map[string]any{ + "type": "null", + }, + }, + } +} + +func validateConfigBoolValue() func(any) error { + return func(val any) error { + if val == nil { + return nil + } + if _, ok := val.(bool); !ok { + return fmt.Errorf("must be a boolean or null") + } + return nil + } +} + +func validateConfigNumberValue() func(any) error { + return func(val any) error { + if val == nil { + return nil + } + if _, ok := val.(float64); !ok { + return fmt.Errorf("must be a number or null") + } + return nil + } +} + +func validateConfigStringValue(enumValues []string) func(any) error { + return func(val any) error { + if val == nil { + return nil + } + strVal, ok := val.(string) + if !ok { + return fmt.Errorf("must be a string or null") + } + if len(enumValues) == 0 { + return nil + } + for _, enumVal := range enumValues { + if strVal == enumVal { + return nil + } + } + return fmt.Errorf("must be one of: %s", strings.Join(enumValues, ", ")) + } +} + +func parseSetConfigInput(input any) (*setConfigToolInput, error) { + result := &setConfigToolInput{} + if input == nil { + return nil, fmt.Errorf("input is required") + } + if err := utilfn.ReUnmarshal(result, input); err != nil { + return nil, fmt.Errorf("invalid input format: %w", err) + } + if len(result.Config) == 0 { + return nil, fmt.Errorf("config must contain at least one setting") + } + return result, nil +} + +func validateSetConfigInput(input any) (*setConfigToolInput, error) { + result, err := parseSetConfigInput(input) + if err != nil { + return nil, err + } + for configKey, val := range result.Config { + allowedSetting, ok := setConfigAllowedSettings[configKey] + if !ok { + return nil, fmt.Errorf("config key %q is not allowed", configKey) + } + if err := allowedSetting.ValidateFunc(val); err != nil { + return nil, fmt.Errorf("invalid value for %s: %w", configKey, err) + } + } + return result, nil +} + +func verifySetConfigInput(input any, _ *uctypes.UIMessageDataToolUse) error { + _, err := validateSetConfigInput(input) + return err +} + +func setConfigCallback(input any, toolUseData *uctypes.UIMessageDataToolUse) (any, error) { + parsedInput, err := validateSetConfigInput(input) + if err != nil { + return nil, err + } + err = wconfig.SetBaseConfigValue(parsedInput.Config) + if err != nil { + return nil, err + } + return map[string]any{ + "success": true, + "updated_keys": getSortedConfigKeys(parsedInput.Config), + }, nil +} + +func getSortedConfigKeys(config waveobj.MetaMapType) []string { + keys := make([]string, 0, len(config)) + for key := range config { + keys = append(keys, key) + } + sort.Strings(keys) + return keys +} + +func getSetConfigSchemaProperties() map[string]any { + properties := make(map[string]any, len(setConfigAllowedSettings)) + for configKey, allowedSetting := range setConfigAllowedSettings { + properties[configKey] = allowedSetting.Schema + } + return properties +} + +func GetSetConfigToolDefinition() uctypes.ToolDefinition { + return uctypes.ToolDefinition{ + Name: SetConfigToolName, + DisplayName: "Set Wave Config", + Description: "Update a small whitelist of safe Wave configuration settings. Use null to remove a setting and restore its default behavior.", + ToolLogName: "app:setconfig", + Strict: true, + InputSchema: map[string]any{ + "type": "object", + "properties": map[string]any{ + "config": map[string]any{ + "type": "object", + "description": "Configuration key/value pairs to update. Only the listed keys are allowed.", + "properties": getSetConfigSchemaProperties(), + "additionalProperties": false, + "minProperties": 1, + }, + }, + "required": []string{"config"}, + "additionalProperties": false, + }, + ToolCallDesc: func(input any, output any, toolUseData *uctypes.UIMessageDataToolUse) string { + parsedInput, err := parseSetConfigInput(input) + if err != nil { + return fmt.Sprintf("error parsing input: %v", err) + } + return fmt.Sprintf("updating Wave config keys: %s", strings.Join(getSortedConfigKeys(parsedInput.Config), ", ")) + }, + ToolAnyCallback: setConfigCallback, + ToolApproval: func(input any) string { + return uctypes.ApprovalNeedsApproval + }, + ToolVerifyInput: verifySetConfigInput, + } +} diff --git a/pkg/aiusechat/tools_setconfig_test.go b/pkg/aiusechat/tools_setconfig_test.go new file mode 100644 index 0000000000..1b7c8c5edc --- /dev/null +++ b/pkg/aiusechat/tools_setconfig_test.go @@ -0,0 +1,174 @@ +// Copyright 2026, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + +package aiusechat + +import ( + "os" + "path/filepath" + "testing" + + "github.com/wavetermdev/waveterm/pkg/aiusechat/uctypes" + "github.com/wavetermdev/waveterm/pkg/wavebase" + "github.com/wavetermdev/waveterm/pkg/wconfig" +) + +func TestParseSetConfigInput(t *testing.T) { + input := map[string]any{ + "config": map[string]any{ + "web:defaulturl": "https://example.com", + }, + } + + parsedInput, err := parseSetConfigInput(input) + if err != nil { + t.Fatalf("parseSetConfigInput failed: %v", err) + } + if parsedInput.Config["web:defaulturl"] != "https://example.com" { + t.Fatalf("expected web:defaulturl to be preserved, got %#v", parsedInput.Config["web:defaulturl"]) + } + + _, err = parseSetConfigInput(map[string]any{}) + if err == nil { + t.Fatalf("expected missing config error") + } +} + +func TestVerifySetConfigInputRejectsUnsafeKeysAndTypes(t *testing.T) { + err := verifySetConfigInput(map[string]any{ + "config": map[string]any{ + "ai:apitoken": "secret", + }, + }, &uctypes.UIMessageDataToolUse{}) + if err == nil { + t.Fatalf("expected ai:apitoken to be rejected") + } + + err = verifySetConfigInput(map[string]any{ + "config": map[string]any{ + "term:fontsize": "large", + }, + }, &uctypes.UIMessageDataToolUse{}) + if err == nil { + t.Fatalf("expected invalid term:fontsize type to be rejected") + } + + err = verifySetConfigInput(map[string]any{ + "config": map[string]any{ + "app:tabbar": "bottom", + }, + }, &uctypes.UIMessageDataToolUse{}) + if err == nil { + t.Fatalf("expected invalid app:tabbar enum to be rejected") + } +} + +func TestSetConfigCallbackWritesAndRemovesConfig(t *testing.T) { + tmpConfigDir, err := os.MkdirTemp("", "setconfig-tool") + if err != nil { + t.Fatalf("failed to create temp config dir: %v", err) + } + defer os.RemoveAll(tmpConfigDir) + + err = os.MkdirAll(tmpConfigDir, 0755) + if err != nil { + t.Fatalf("failed to create config dir: %v", err) + } + + oldConfigHome := wavebase.ConfigHome_VarCache + defer func() { + wavebase.ConfigHome_VarCache = oldConfigHome + }() + wavebase.ConfigHome_VarCache = tmpConfigDir + + toolUse := &uctypes.UIMessageDataToolUse{} + _, err = setConfigCallback(map[string]any{ + "config": map[string]any{ + "web:defaulturl": "https://example.com", + "term:fontsize": 14.0, + "term:copyonselect": true, + }, + }, toolUse) + if err != nil { + t.Fatalf("setConfigCallback failed: %v", err) + } + + configFile := filepath.Join(tmpConfigDir, wconfig.SettingsFile) + if _, err := os.Stat(configFile); err != nil { + t.Fatalf("expected settings file to be written: %v", err) + } + + storedConfig, cerrs := wconfig.ReadWaveHomeConfigFile(wconfig.SettingsFile) + if len(cerrs) > 0 { + t.Fatalf("unexpected config read errors: %v", cerrs) + } + if storedConfig["web:defaulturl"] != "https://example.com" { + t.Fatalf("expected web:defaulturl to be written, got %#v", storedConfig["web:defaulturl"]) + } + if storedConfig["term:fontsize"] != float64(14) { + t.Fatalf("expected term:fontsize to be 14, got %#v", storedConfig["term:fontsize"]) + } + if storedConfig["term:copyonselect"] != true { + t.Fatalf("expected term:copyonselect to be true, got %#v", storedConfig["term:copyonselect"]) + } + + _, err = setConfigCallback(map[string]any{ + "config": map[string]any{ + "web:defaulturl": nil, + }, + }, toolUse) + if err != nil { + t.Fatalf("setConfigCallback remove failed: %v", err) + } + + storedConfig, cerrs = wconfig.ReadWaveHomeConfigFile(wconfig.SettingsFile) + if len(cerrs) > 0 { + t.Fatalf("unexpected config read errors after remove: %v", cerrs) + } + if _, ok := storedConfig["web:defaulturl"]; ok { + t.Fatalf("expected web:defaulturl to be removed") + } +} + +func TestGetSetConfigToolDefinition(t *testing.T) { + toolDef := GetSetConfigToolDefinition() + + if toolDef.Name != SetConfigToolName { + t.Fatalf("expected tool name %q, got %q", SetConfigToolName, toolDef.Name) + } + if toolDef.ToolLogName != "app:setconfig" { + t.Fatalf("expected tool log name app:setconfig, got %q", toolDef.ToolLogName) + } + if toolDef.ToolAnyCallback == nil { + t.Fatalf("ToolAnyCallback should not be nil") + } + if toolDef.ToolVerifyInput == nil { + t.Fatalf("ToolVerifyInput should not be nil") + } + if toolDef.ToolApproval == nil { + t.Fatalf("ToolApproval should not be nil") + } + + properties, ok := toolDef.InputSchema["properties"].(map[string]any) + if !ok { + t.Fatalf("tool input schema properties should be a map") + } + configSchema, ok := properties["config"].(map[string]any) + if !ok { + t.Fatalf("config schema should be a map") + } + configProperties, ok := configSchema["properties"].(map[string]any) + if !ok { + t.Fatalf("config schema properties should be a map") + } + if _, ok := configProperties["web:defaulturl"]; !ok { + t.Fatalf("expected whitelisted key web:defaulturl in schema") + } + if _, ok := configProperties["ai:apitoken"]; ok { + t.Fatalf("did not expect ai:apitoken in schema") + } + + if approval := toolDef.ToolApproval(nil); approval != uctypes.ApprovalNeedsApproval { + t.Fatalf("expected approval %q, got %q", uctypes.ApprovalNeedsApproval, approval) + } +} From ea5e6a46c32e0295ae15b63d4fb178e3ce52335a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 15 Mar 2026 21:50:07 +0000 Subject: [PATCH 3/4] Finalize config tool definition Co-authored-by: sawka <2722291+sawka@users.noreply.github.com> --- pkg/aiusechat/tools_setconfig_test.go | 4 ++-- tsunami/demo/cpuchart/go.mod | 7 +------ tsunami/demo/cpuchart/go.sum | 12 ------------ tsunami/demo/githubaction/go.mod | 7 ------- tsunami/demo/githubaction/go.sum | 4 ---- tsunami/demo/modaltest/go.mod | 7 ------- tsunami/demo/modaltest/go.sum | 4 ---- tsunami/demo/pomodoro/go.mod | 7 ------- tsunami/demo/pomodoro/go.sum | 4 ---- tsunami/demo/recharts/go.mod | 7 ------- tsunami/demo/recharts/go.sum | 4 ---- tsunami/demo/tabletest/go.mod | 7 ------- tsunami/demo/tabletest/go.sum | 4 ---- tsunami/demo/todo/go.mod | 7 ------- tsunami/demo/todo/go.sum | 4 ---- tsunami/demo/tsunamiconfig/go.mod | 7 ------- tsunami/demo/tsunamiconfig/go.sum | 4 ---- 17 files changed, 3 insertions(+), 97 deletions(-) diff --git a/pkg/aiusechat/tools_setconfig_test.go b/pkg/aiusechat/tools_setconfig_test.go index 1b7c8c5edc..57bb250019 100644 --- a/pkg/aiusechat/tools_setconfig_test.go +++ b/pkg/aiusechat/tools_setconfig_test.go @@ -84,8 +84,8 @@ func TestSetConfigCallbackWritesAndRemovesConfig(t *testing.T) { toolUse := &uctypes.UIMessageDataToolUse{} _, err = setConfigCallback(map[string]any{ "config": map[string]any{ - "web:defaulturl": "https://example.com", - "term:fontsize": 14.0, + "web:defaulturl": "https://example.com", + "term:fontsize": 14.0, "term:copyonselect": true, }, }, toolUse) diff --git a/tsunami/demo/cpuchart/go.mod b/tsunami/demo/cpuchart/go.mod index a828a4479b..72d2f4ddcc 100644 --- a/tsunami/demo/cpuchart/go.mod +++ b/tsunami/demo/cpuchart/go.mod @@ -2,17 +2,12 @@ module tsunami/app/cpuchart go 1.25.6 -require ( - github.com/shirou/gopsutil/v4 v4.25.8 - github.com/wavetermdev/waveterm/tsunami v0.0.0 -) +require github.com/shirou/gopsutil/v4 v4.25.8 require ( github.com/ebitengine/purego v0.8.4 // indirect github.com/go-ole/go-ole v1.2.6 // indirect - github.com/google/uuid v1.6.0 // indirect github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect - github.com/outrigdev/goid v0.3.0 // indirect github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect github.com/tklauser/go-sysconf v0.3.15 // indirect github.com/tklauser/numcpus v0.10.0 // indirect diff --git a/tsunami/demo/cpuchart/go.sum b/tsunami/demo/cpuchart/go.sum index 4d3c872cfc..965d0ed1e9 100644 --- a/tsunami/demo/cpuchart/go.sum +++ b/tsunami/demo/cpuchart/go.sum @@ -1,26 +1,16 @@ -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/ebitengine/purego v0.8.4 h1:CF7LEKg5FFOsASUj0+QwaXf8Ht6TlFxg09+S9wz0omw= github.com/ebitengine/purego v0.8.4/go.mod h1:iIjxzd6CiRiOG0UyXP+V1+jWqUXVjPKLAI0mRfJZTmQ= github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY= github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0= github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= -github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= -github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= -github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 h1:6E+4a0GO5zZEnZ81pIr0yLvtUWk2if982qA3F3QD6H4= github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0/go.mod h1:zJYVVT2jmtg6P3p1VtQj7WsuWi/y4VnjVBn7F8KPB3I= -github.com/outrigdev/goid v0.3.0 h1:t/otQD3EXc45cLtQVPUnNgEyRaTQA4cPeu3qVcrsIws= -github.com/outrigdev/goid v0.3.0/go.mod h1:hEH7f27ypN/GHWt/7gvkRoFYR0LZizfUBIAbak4neVE= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 h1:o4JXh1EVt9k/+g42oCprj/FisM4qX9L3sZB3upGN2ZU= github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE= github.com/shirou/gopsutil/v4 v4.25.8 h1:NnAsw9lN7587WHxjJA9ryDnqhJpFH6A+wagYWTOH970= github.com/shirou/gopsutil/v4 v4.25.8/go.mod h1:q9QdMmfAOVIw7a+eF86P7ISEU6ka+NLgkUxlopV4RwI= github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= -github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= github.com/tklauser/go-sysconf v0.3.15 h1:VE89k0criAymJ/Os65CSn1IXaol+1wrsFHEB8Ol49K4= github.com/tklauser/go-sysconf v0.3.15/go.mod h1:Dmjwr6tYFIseJw7a3dRLJfsHAMXZ3nEnL/aZY+0IuI4= github.com/tklauser/numcpus v0.10.0 h1:18njr6LDBk1zuna922MgdjQuJFjrdppsZG60sHGfjso= @@ -32,5 +22,3 @@ golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.35.0 h1:vz1N37gP5bs89s7He8XuIYXpyY0+QlsKmzipCbUtyxI= golang.org/x/sys v0.35.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= -gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/tsunami/demo/githubaction/go.mod b/tsunami/demo/githubaction/go.mod index e93f7a5b90..8af0676a3c 100644 --- a/tsunami/demo/githubaction/go.mod +++ b/tsunami/demo/githubaction/go.mod @@ -2,11 +2,4 @@ module tsunami/app/githubaction go 1.25.6 -require github.com/wavetermdev/waveterm/tsunami v0.0.0 - -require ( - github.com/google/uuid v1.6.0 // indirect - github.com/outrigdev/goid v0.3.0 // indirect -) - replace github.com/wavetermdev/waveterm/tsunami => /Users/mike/work/waveterm/tsunami diff --git a/tsunami/demo/githubaction/go.sum b/tsunami/demo/githubaction/go.sum index 4c44991dfc..e69de29bb2 100644 --- a/tsunami/demo/githubaction/go.sum +++ b/tsunami/demo/githubaction/go.sum @@ -1,4 +0,0 @@ -github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= -github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/outrigdev/goid v0.3.0 h1:t/otQD3EXc45cLtQVPUnNgEyRaTQA4cPeu3qVcrsIws= -github.com/outrigdev/goid v0.3.0/go.mod h1:hEH7f27ypN/GHWt/7gvkRoFYR0LZizfUBIAbak4neVE= diff --git a/tsunami/demo/modaltest/go.mod b/tsunami/demo/modaltest/go.mod index 7a4ec22e75..cd56206d7d 100644 --- a/tsunami/demo/modaltest/go.mod +++ b/tsunami/demo/modaltest/go.mod @@ -2,11 +2,4 @@ module github.com/wavetermdev/waveterm/tsunami/demo/modaltest go 1.25.6 -require github.com/wavetermdev/waveterm/tsunami v0.0.0-00010101000000-000000000000 - -require ( - github.com/google/uuid v1.6.0 // indirect - github.com/outrigdev/goid v0.3.0 // indirect -) - replace github.com/wavetermdev/waveterm/tsunami => /Users/mike/work/waveterm/tsunami diff --git a/tsunami/demo/modaltest/go.sum b/tsunami/demo/modaltest/go.sum index 4c44991dfc..e69de29bb2 100644 --- a/tsunami/demo/modaltest/go.sum +++ b/tsunami/demo/modaltest/go.sum @@ -1,4 +0,0 @@ -github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= -github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/outrigdev/goid v0.3.0 h1:t/otQD3EXc45cLtQVPUnNgEyRaTQA4cPeu3qVcrsIws= -github.com/outrigdev/goid v0.3.0/go.mod h1:hEH7f27ypN/GHWt/7gvkRoFYR0LZizfUBIAbak4neVE= diff --git a/tsunami/demo/pomodoro/go.mod b/tsunami/demo/pomodoro/go.mod index 777fdb392e..9c6becc31f 100644 --- a/tsunami/demo/pomodoro/go.mod +++ b/tsunami/demo/pomodoro/go.mod @@ -2,11 +2,4 @@ module tsunami/app/pomodoro go 1.25.6 -require github.com/wavetermdev/waveterm/tsunami v0.0.0 - -require ( - github.com/google/uuid v1.6.0 // indirect - github.com/outrigdev/goid v0.3.0 // indirect -) - replace github.com/wavetermdev/waveterm/tsunami => /Users/mike/work/waveterm/tsunami diff --git a/tsunami/demo/pomodoro/go.sum b/tsunami/demo/pomodoro/go.sum index 4c44991dfc..e69de29bb2 100644 --- a/tsunami/demo/pomodoro/go.sum +++ b/tsunami/demo/pomodoro/go.sum @@ -1,4 +0,0 @@ -github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= -github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/outrigdev/goid v0.3.0 h1:t/otQD3EXc45cLtQVPUnNgEyRaTQA4cPeu3qVcrsIws= -github.com/outrigdev/goid v0.3.0/go.mod h1:hEH7f27ypN/GHWt/7gvkRoFYR0LZizfUBIAbak4neVE= diff --git a/tsunami/demo/recharts/go.mod b/tsunami/demo/recharts/go.mod index 1369113900..4067012a94 100644 --- a/tsunami/demo/recharts/go.mod +++ b/tsunami/demo/recharts/go.mod @@ -2,11 +2,4 @@ module tsunami/app/recharts go 1.25.6 -require github.com/wavetermdev/waveterm/tsunami v0.0.0 - -require ( - github.com/google/uuid v1.6.0 // indirect - github.com/outrigdev/goid v0.3.0 // indirect -) - replace github.com/wavetermdev/waveterm/tsunami => /Users/mike/work/waveterm/tsunami diff --git a/tsunami/demo/recharts/go.sum b/tsunami/demo/recharts/go.sum index 4c44991dfc..e69de29bb2 100644 --- a/tsunami/demo/recharts/go.sum +++ b/tsunami/demo/recharts/go.sum @@ -1,4 +0,0 @@ -github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= -github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/outrigdev/goid v0.3.0 h1:t/otQD3EXc45cLtQVPUnNgEyRaTQA4cPeu3qVcrsIws= -github.com/outrigdev/goid v0.3.0/go.mod h1:hEH7f27ypN/GHWt/7gvkRoFYR0LZizfUBIAbak4neVE= diff --git a/tsunami/demo/tabletest/go.mod b/tsunami/demo/tabletest/go.mod index 77550fcfbd..fdb23ddd6e 100644 --- a/tsunami/demo/tabletest/go.mod +++ b/tsunami/demo/tabletest/go.mod @@ -2,11 +2,4 @@ module tsunami/app/tabletest go 1.25.6 -require github.com/wavetermdev/waveterm/tsunami v0.0.0 - -require ( - github.com/google/uuid v1.6.0 // indirect - github.com/outrigdev/goid v0.3.0 // indirect -) - replace github.com/wavetermdev/waveterm/tsunami => /Users/mike/work/waveterm/tsunami diff --git a/tsunami/demo/tabletest/go.sum b/tsunami/demo/tabletest/go.sum index 4c44991dfc..e69de29bb2 100644 --- a/tsunami/demo/tabletest/go.sum +++ b/tsunami/demo/tabletest/go.sum @@ -1,4 +0,0 @@ -github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= -github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/outrigdev/goid v0.3.0 h1:t/otQD3EXc45cLtQVPUnNgEyRaTQA4cPeu3qVcrsIws= -github.com/outrigdev/goid v0.3.0/go.mod h1:hEH7f27ypN/GHWt/7gvkRoFYR0LZizfUBIAbak4neVE= diff --git a/tsunami/demo/todo/go.mod b/tsunami/demo/todo/go.mod index c70affff32..1c17fba3c5 100644 --- a/tsunami/demo/todo/go.mod +++ b/tsunami/demo/todo/go.mod @@ -2,11 +2,4 @@ module tsunami/app/todo go 1.25.6 -require github.com/wavetermdev/waveterm/tsunami v0.0.0 - -require ( - github.com/google/uuid v1.6.0 // indirect - github.com/outrigdev/goid v0.3.0 // indirect -) - replace github.com/wavetermdev/waveterm/tsunami => /Users/mike/work/waveterm/tsunami diff --git a/tsunami/demo/todo/go.sum b/tsunami/demo/todo/go.sum index 4c44991dfc..e69de29bb2 100644 --- a/tsunami/demo/todo/go.sum +++ b/tsunami/demo/todo/go.sum @@ -1,4 +0,0 @@ -github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= -github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/outrigdev/goid v0.3.0 h1:t/otQD3EXc45cLtQVPUnNgEyRaTQA4cPeu3qVcrsIws= -github.com/outrigdev/goid v0.3.0/go.mod h1:hEH7f27ypN/GHWt/7gvkRoFYR0LZizfUBIAbak4neVE= diff --git a/tsunami/demo/tsunamiconfig/go.mod b/tsunami/demo/tsunamiconfig/go.mod index bc485e2ace..a3118a9ca7 100644 --- a/tsunami/demo/tsunamiconfig/go.mod +++ b/tsunami/demo/tsunamiconfig/go.mod @@ -2,11 +2,4 @@ module tsunami/app/tsunamiconfig go 1.25.6 -require github.com/wavetermdev/waveterm/tsunami v0.0.0 - -require ( - github.com/google/uuid v1.6.0 // indirect - github.com/outrigdev/goid v0.3.0 // indirect -) - replace github.com/wavetermdev/waveterm/tsunami => /Users/mike/work/waveterm/tsunami diff --git a/tsunami/demo/tsunamiconfig/go.sum b/tsunami/demo/tsunamiconfig/go.sum index 4c44991dfc..e69de29bb2 100644 --- a/tsunami/demo/tsunamiconfig/go.sum +++ b/tsunami/demo/tsunamiconfig/go.sum @@ -1,4 +0,0 @@ -github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= -github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/outrigdev/goid v0.3.0 h1:t/otQD3EXc45cLtQVPUnNgEyRaTQA4cPeu3qVcrsIws= -github.com/outrigdev/goid v0.3.0/go.mod h1:hEH7f27ypN/GHWt/7gvkRoFYR0LZizfUBIAbak4neVE= From 37dc6ae65cbce96ec916a592a2bedb29ebdd8f05 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 15 Mar 2026 21:50:30 +0000 Subject: [PATCH 4/4] Revert unrelated demo module changes Co-authored-by: sawka <2722291+sawka@users.noreply.github.com> --- tsunami/demo/cpuchart/go.mod | 7 ++++++- tsunami/demo/cpuchart/go.sum | 12 ++++++++++++ tsunami/demo/githubaction/go.mod | 7 +++++++ tsunami/demo/githubaction/go.sum | 4 ++++ tsunami/demo/modaltest/go.mod | 7 +++++++ tsunami/demo/modaltest/go.sum | 4 ++++ tsunami/demo/pomodoro/go.mod | 7 +++++++ tsunami/demo/pomodoro/go.sum | 4 ++++ tsunami/demo/recharts/go.mod | 7 +++++++ tsunami/demo/recharts/go.sum | 4 ++++ tsunami/demo/tabletest/go.mod | 7 +++++++ tsunami/demo/tabletest/go.sum | 4 ++++ tsunami/demo/todo/go.mod | 7 +++++++ tsunami/demo/todo/go.sum | 4 ++++ tsunami/demo/tsunamiconfig/go.mod | 7 +++++++ tsunami/demo/tsunamiconfig/go.sum | 4 ++++ 16 files changed, 95 insertions(+), 1 deletion(-) diff --git a/tsunami/demo/cpuchart/go.mod b/tsunami/demo/cpuchart/go.mod index 72d2f4ddcc..a828a4479b 100644 --- a/tsunami/demo/cpuchart/go.mod +++ b/tsunami/demo/cpuchart/go.mod @@ -2,12 +2,17 @@ module tsunami/app/cpuchart go 1.25.6 -require github.com/shirou/gopsutil/v4 v4.25.8 +require ( + github.com/shirou/gopsutil/v4 v4.25.8 + github.com/wavetermdev/waveterm/tsunami v0.0.0 +) require ( github.com/ebitengine/purego v0.8.4 // indirect github.com/go-ole/go-ole v1.2.6 // indirect + github.com/google/uuid v1.6.0 // indirect github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect + github.com/outrigdev/goid v0.3.0 // indirect github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect github.com/tklauser/go-sysconf v0.3.15 // indirect github.com/tklauser/numcpus v0.10.0 // indirect diff --git a/tsunami/demo/cpuchart/go.sum b/tsunami/demo/cpuchart/go.sum index 965d0ed1e9..4d3c872cfc 100644 --- a/tsunami/demo/cpuchart/go.sum +++ b/tsunami/demo/cpuchart/go.sum @@ -1,16 +1,26 @@ +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/ebitengine/purego v0.8.4 h1:CF7LEKg5FFOsASUj0+QwaXf8Ht6TlFxg09+S9wz0omw= github.com/ebitengine/purego v0.8.4/go.mod h1:iIjxzd6CiRiOG0UyXP+V1+jWqUXVjPKLAI0mRfJZTmQ= github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY= github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0= github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= +github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= +github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= +github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 h1:6E+4a0GO5zZEnZ81pIr0yLvtUWk2if982qA3F3QD6H4= github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0/go.mod h1:zJYVVT2jmtg6P3p1VtQj7WsuWi/y4VnjVBn7F8KPB3I= +github.com/outrigdev/goid v0.3.0 h1:t/otQD3EXc45cLtQVPUnNgEyRaTQA4cPeu3qVcrsIws= +github.com/outrigdev/goid v0.3.0/go.mod h1:hEH7f27ypN/GHWt/7gvkRoFYR0LZizfUBIAbak4neVE= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 h1:o4JXh1EVt9k/+g42oCprj/FisM4qX9L3sZB3upGN2ZU= github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE= github.com/shirou/gopsutil/v4 v4.25.8 h1:NnAsw9lN7587WHxjJA9ryDnqhJpFH6A+wagYWTOH970= github.com/shirou/gopsutil/v4 v4.25.8/go.mod h1:q9QdMmfAOVIw7a+eF86P7ISEU6ka+NLgkUxlopV4RwI= github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= +github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= github.com/tklauser/go-sysconf v0.3.15 h1:VE89k0criAymJ/Os65CSn1IXaol+1wrsFHEB8Ol49K4= github.com/tklauser/go-sysconf v0.3.15/go.mod h1:Dmjwr6tYFIseJw7a3dRLJfsHAMXZ3nEnL/aZY+0IuI4= github.com/tklauser/numcpus v0.10.0 h1:18njr6LDBk1zuna922MgdjQuJFjrdppsZG60sHGfjso= @@ -22,3 +32,5 @@ golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.35.0 h1:vz1N37gP5bs89s7He8XuIYXpyY0+QlsKmzipCbUtyxI= golang.org/x/sys v0.35.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/tsunami/demo/githubaction/go.mod b/tsunami/demo/githubaction/go.mod index 8af0676a3c..e93f7a5b90 100644 --- a/tsunami/demo/githubaction/go.mod +++ b/tsunami/demo/githubaction/go.mod @@ -2,4 +2,11 @@ module tsunami/app/githubaction go 1.25.6 +require github.com/wavetermdev/waveterm/tsunami v0.0.0 + +require ( + github.com/google/uuid v1.6.0 // indirect + github.com/outrigdev/goid v0.3.0 // indirect +) + replace github.com/wavetermdev/waveterm/tsunami => /Users/mike/work/waveterm/tsunami diff --git a/tsunami/demo/githubaction/go.sum b/tsunami/demo/githubaction/go.sum index e69de29bb2..4c44991dfc 100644 --- a/tsunami/demo/githubaction/go.sum +++ b/tsunami/demo/githubaction/go.sum @@ -0,0 +1,4 @@ +github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= +github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/outrigdev/goid v0.3.0 h1:t/otQD3EXc45cLtQVPUnNgEyRaTQA4cPeu3qVcrsIws= +github.com/outrigdev/goid v0.3.0/go.mod h1:hEH7f27ypN/GHWt/7gvkRoFYR0LZizfUBIAbak4neVE= diff --git a/tsunami/demo/modaltest/go.mod b/tsunami/demo/modaltest/go.mod index cd56206d7d..7a4ec22e75 100644 --- a/tsunami/demo/modaltest/go.mod +++ b/tsunami/demo/modaltest/go.mod @@ -2,4 +2,11 @@ module github.com/wavetermdev/waveterm/tsunami/demo/modaltest go 1.25.6 +require github.com/wavetermdev/waveterm/tsunami v0.0.0-00010101000000-000000000000 + +require ( + github.com/google/uuid v1.6.0 // indirect + github.com/outrigdev/goid v0.3.0 // indirect +) + replace github.com/wavetermdev/waveterm/tsunami => /Users/mike/work/waveterm/tsunami diff --git a/tsunami/demo/modaltest/go.sum b/tsunami/demo/modaltest/go.sum index e69de29bb2..4c44991dfc 100644 --- a/tsunami/demo/modaltest/go.sum +++ b/tsunami/demo/modaltest/go.sum @@ -0,0 +1,4 @@ +github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= +github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/outrigdev/goid v0.3.0 h1:t/otQD3EXc45cLtQVPUnNgEyRaTQA4cPeu3qVcrsIws= +github.com/outrigdev/goid v0.3.0/go.mod h1:hEH7f27ypN/GHWt/7gvkRoFYR0LZizfUBIAbak4neVE= diff --git a/tsunami/demo/pomodoro/go.mod b/tsunami/demo/pomodoro/go.mod index 9c6becc31f..777fdb392e 100644 --- a/tsunami/demo/pomodoro/go.mod +++ b/tsunami/demo/pomodoro/go.mod @@ -2,4 +2,11 @@ module tsunami/app/pomodoro go 1.25.6 +require github.com/wavetermdev/waveterm/tsunami v0.0.0 + +require ( + github.com/google/uuid v1.6.0 // indirect + github.com/outrigdev/goid v0.3.0 // indirect +) + replace github.com/wavetermdev/waveterm/tsunami => /Users/mike/work/waveterm/tsunami diff --git a/tsunami/demo/pomodoro/go.sum b/tsunami/demo/pomodoro/go.sum index e69de29bb2..4c44991dfc 100644 --- a/tsunami/demo/pomodoro/go.sum +++ b/tsunami/demo/pomodoro/go.sum @@ -0,0 +1,4 @@ +github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= +github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/outrigdev/goid v0.3.0 h1:t/otQD3EXc45cLtQVPUnNgEyRaTQA4cPeu3qVcrsIws= +github.com/outrigdev/goid v0.3.0/go.mod h1:hEH7f27ypN/GHWt/7gvkRoFYR0LZizfUBIAbak4neVE= diff --git a/tsunami/demo/recharts/go.mod b/tsunami/demo/recharts/go.mod index 4067012a94..1369113900 100644 --- a/tsunami/demo/recharts/go.mod +++ b/tsunami/demo/recharts/go.mod @@ -2,4 +2,11 @@ module tsunami/app/recharts go 1.25.6 +require github.com/wavetermdev/waveterm/tsunami v0.0.0 + +require ( + github.com/google/uuid v1.6.0 // indirect + github.com/outrigdev/goid v0.3.0 // indirect +) + replace github.com/wavetermdev/waveterm/tsunami => /Users/mike/work/waveterm/tsunami diff --git a/tsunami/demo/recharts/go.sum b/tsunami/demo/recharts/go.sum index e69de29bb2..4c44991dfc 100644 --- a/tsunami/demo/recharts/go.sum +++ b/tsunami/demo/recharts/go.sum @@ -0,0 +1,4 @@ +github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= +github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/outrigdev/goid v0.3.0 h1:t/otQD3EXc45cLtQVPUnNgEyRaTQA4cPeu3qVcrsIws= +github.com/outrigdev/goid v0.3.0/go.mod h1:hEH7f27ypN/GHWt/7gvkRoFYR0LZizfUBIAbak4neVE= diff --git a/tsunami/demo/tabletest/go.mod b/tsunami/demo/tabletest/go.mod index fdb23ddd6e..77550fcfbd 100644 --- a/tsunami/demo/tabletest/go.mod +++ b/tsunami/demo/tabletest/go.mod @@ -2,4 +2,11 @@ module tsunami/app/tabletest go 1.25.6 +require github.com/wavetermdev/waveterm/tsunami v0.0.0 + +require ( + github.com/google/uuid v1.6.0 // indirect + github.com/outrigdev/goid v0.3.0 // indirect +) + replace github.com/wavetermdev/waveterm/tsunami => /Users/mike/work/waveterm/tsunami diff --git a/tsunami/demo/tabletest/go.sum b/tsunami/demo/tabletest/go.sum index e69de29bb2..4c44991dfc 100644 --- a/tsunami/demo/tabletest/go.sum +++ b/tsunami/demo/tabletest/go.sum @@ -0,0 +1,4 @@ +github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= +github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/outrigdev/goid v0.3.0 h1:t/otQD3EXc45cLtQVPUnNgEyRaTQA4cPeu3qVcrsIws= +github.com/outrigdev/goid v0.3.0/go.mod h1:hEH7f27ypN/GHWt/7gvkRoFYR0LZizfUBIAbak4neVE= diff --git a/tsunami/demo/todo/go.mod b/tsunami/demo/todo/go.mod index 1c17fba3c5..c70affff32 100644 --- a/tsunami/demo/todo/go.mod +++ b/tsunami/demo/todo/go.mod @@ -2,4 +2,11 @@ module tsunami/app/todo go 1.25.6 +require github.com/wavetermdev/waveterm/tsunami v0.0.0 + +require ( + github.com/google/uuid v1.6.0 // indirect + github.com/outrigdev/goid v0.3.0 // indirect +) + replace github.com/wavetermdev/waveterm/tsunami => /Users/mike/work/waveterm/tsunami diff --git a/tsunami/demo/todo/go.sum b/tsunami/demo/todo/go.sum index e69de29bb2..4c44991dfc 100644 --- a/tsunami/demo/todo/go.sum +++ b/tsunami/demo/todo/go.sum @@ -0,0 +1,4 @@ +github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= +github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/outrigdev/goid v0.3.0 h1:t/otQD3EXc45cLtQVPUnNgEyRaTQA4cPeu3qVcrsIws= +github.com/outrigdev/goid v0.3.0/go.mod h1:hEH7f27ypN/GHWt/7gvkRoFYR0LZizfUBIAbak4neVE= diff --git a/tsunami/demo/tsunamiconfig/go.mod b/tsunami/demo/tsunamiconfig/go.mod index a3118a9ca7..bc485e2ace 100644 --- a/tsunami/demo/tsunamiconfig/go.mod +++ b/tsunami/demo/tsunamiconfig/go.mod @@ -2,4 +2,11 @@ module tsunami/app/tsunamiconfig go 1.25.6 +require github.com/wavetermdev/waveterm/tsunami v0.0.0 + +require ( + github.com/google/uuid v1.6.0 // indirect + github.com/outrigdev/goid v0.3.0 // indirect +) + replace github.com/wavetermdev/waveterm/tsunami => /Users/mike/work/waveterm/tsunami diff --git a/tsunami/demo/tsunamiconfig/go.sum b/tsunami/demo/tsunamiconfig/go.sum index e69de29bb2..4c44991dfc 100644 --- a/tsunami/demo/tsunamiconfig/go.sum +++ b/tsunami/demo/tsunamiconfig/go.sum @@ -0,0 +1,4 @@ +github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= +github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/outrigdev/goid v0.3.0 h1:t/otQD3EXc45cLtQVPUnNgEyRaTQA4cPeu3qVcrsIws= +github.com/outrigdev/goid v0.3.0/go.mod h1:hEH7f27ypN/GHWt/7gvkRoFYR0LZizfUBIAbak4neVE=