@@ -373,15 +373,15 @@ type ClaudeCodeLocalApplyResult struct {
373373}
374374
375375type ClaudeCodeLocalApplyOptions struct {
376- Model string `json:"model,omitempty"`
377- DefaultHaikuModel string `json:"defaultHaikuModel,omitempty"`
378- DefaultSonnetModel string `json:"defaultSonnetModel,omitempty"`
379- DefaultOpusModel string `json:"defaultOpusModel,omitempty"`
380- SmallFastModel string `json:"smallFastModel,omitempty"`
381- MaxOutputTokens string `json:"maxOutputTokens,omitempty"`
382- APITimeoutMS string `json:"apiTimeoutMs,omitempty"`
383- DisableNonEssentialTraffic bool `json:"disableNonEssentialTraffic,omitempty"`
384- ClaudeCodeAttributionHeader bool `json:"claudeCodeAttributionHeader,omitempty"`
376+ Model string `json:"model,omitempty"`
377+ DefaultHaikuModel string `json:"defaultHaikuModel,omitempty"`
378+ DefaultSonnetModel string `json:"defaultSonnetModel,omitempty"`
379+ DefaultOpusModel string `json:"defaultOpusModel,omitempty"`
380+ SmallFastModel string `json:"smallFastModel,omitempty"`
381+ MaxOutputTokens string `json:"maxOutputTokens,omitempty"`
382+ APITimeoutMS string `json:"apiTimeoutMs,omitempty"`
383+ DisableNonEssentialTraffic bool `json:"disableNonEssentialTraffic,omitempty"`
384+ ClaudeCodeAttributionHeader bool `json:"claudeCodeAttributionHeader,omitempty"`
385385}
386386
387387type UsageStatisticsResponse struct {
@@ -694,17 +694,17 @@ type SaveCodexSkillEnabledInput struct {
694694}
695695
696696type ClaudeCodeSettingsSnapshotDTO struct {
697- ProjectPath string `json:"projectPath"`
698- Layers []ClaudeCodeSettingsLayer `json:"layers"`
699- Warnings []string `json:"warnings,omitempty"`
697+ ProjectPath string `json:"projectPath"`
698+ Layers []ClaudeCodeSettingsLayer `json:"layers"`
699+ Warnings []string `json:"warnings,omitempty"`
700700}
701701
702702type ClaudeCodeSettingsLayer struct {
703- Scope string `json:"scope"`
704- Path string `json:"path"`
705- Exists bool `json:"exists"`
706- ParseError string `json:"parseError,omitempty"`
707- KnownFields * ClaudeCodeSettingsFieldsDTO `json:"knownFields,omitempty"`
703+ Scope string `json:"scope"`
704+ Path string `json:"path"`
705+ Exists bool `json:"exists"`
706+ ParseError string `json:"parseError,omitempty"`
707+ KnownFields * ClaudeCodeSettingsFieldsDTO `json:"knownFields,omitempty"`
708708}
709709
710710type ClaudeCodeSettingsFieldsDTO struct {
@@ -727,8 +727,8 @@ type ClaudeCodeSettingsChangeDTO struct {
727727}
728728
729729type PatchClaudeCodeSettingsResultDTO struct {
730- ConfigPath string `json:"configPath"`
731- Preview string `json:"preview"`
730+ ConfigPath string `json:"configPath"`
731+ Preview string `json:"preview"`
732732 Changes []ClaudeCodeSettingsChangeDTO `json:"changes"`
733733}
734734
@@ -929,83 +929,84 @@ type SessionManagementMessageRecord struct {
929929 Summary string `json:"summary"`
930930 Content string `json:"content"`
931931 Truncated bool `json:"truncated,omitempty"`
932+ }
933+
934+ // CLAUDE.md Memory File types
935+ type ClaudeCodeMemoryFilesSnapshotDTO struct {
936+ ProjectPath string `json:"projectPath"`
937+ Files []ClaudeCodeMemoryFileRecordDTO `json:"files"`
938+ Warnings []string `json:"warnings,omitempty"`
939+ }
940+
941+ type ClaudeCodeMemoryFileRecordDTO struct {
942+ Scope string `json:"scope"`
943+ Path string `json:"path"`
944+ Exists bool `json:"exists"`
945+ GitIgnored bool `json:"gitIgnored,omitempty"`
946+ Imports []ClaudeCodeMemoryFileImportDTO `json:"imports,omitempty"`
947+ Content string `json:"content,omitempty"`
948+ ContentTruncated bool `json:"contentTruncated,omitempty"`
949+ Size int64 `json:"size"`
950+ }
951+
952+ type ClaudeCodeMemoryFileImportDTO struct {
953+ Raw string `json:"raw"`
954+ Resolved string `json:"resolved"`
955+ Exists bool `json:"exists"`
956+ Depth int `json:"depth"`
957+ }
958+
959+ type SaveClaudeCodeMemoryFileInputDTO struct {
960+ Path string `json:"path"`
961+ Content string `json:"content"`
962+ }
963+
964+ type SaveClaudeCodeMemoryFileResultDTO struct {
965+ Path string `json:"path"`
966+ Size int64 `json:"size"`
967+ Warning string `json:"warning,omitempty"`
968+ }
969+
970+ // Subagents types
971+ type ClaudeCodeSubagentsSnapshotDTO struct {
972+ UserPath string `json:"userPath"`
973+ ProjectPath string `json:"projectPath"`
974+ Agents []ClaudeCodeSubagentRecordDTO `json:"agents"`
975+ Warnings []string `json:"warnings,omitempty"`
976+ }
977+
978+ type ClaudeCodeSubagentRecordDTO struct {
979+ Name string `json:"name"`
980+ Description string `json:"description"`
981+ Path string `json:"path"`
982+ Scope string `json:"scope"`
983+ FrontmatterValid bool `json:"frontmatterValid"`
984+ FrontmatterError string `json:"frontmatterError,omitempty"`
985+ ValidationErrors []string `json:"validationErrors,omitempty"`
986+ KnownFields map [string ]any `json:"knownFields,omitempty"`
987+ UnknownFields map [string ]any `json:"unknownFields,omitempty"`
988+ Body string `json:"body,omitempty"`
989+ BodyPreview string `json:"bodyPreview,omitempty"`
990+ IsPlugin bool `json:"isPlugin,omitempty"`
991+ IgnoredFields []string `json:"ignoredFields,omitempty"`
992+ }
993+
994+ type SaveClaudeCodeSubagentInputDTO struct {
995+ Scope string `json:"scope"`
996+ Path string `json:"path"`
997+ Name string `json:"name"`
998+ Description string `json:"description"`
999+ KnownFields map [string ]any `json:"knownFields,omitempty"`
1000+ UnknownFields map [string ]any `json:"unknownFields,omitempty"`
1001+ Body string `json:"body"`
1002+ }
1003+
1004+ type SaveClaudeCodeSubagentResultDTO struct {
1005+ Path string `json:"path"`
1006+ Preview string `json:"preview"`
1007+ }
9321008
933- // CLAUDE.md Memory File types
934- type ClaudeCodeMemoryFilesSnapshotDTO struct {
935- ProjectPath string `json:"projectPath"`
936- Files []ClaudeCodeMemoryFileRecordDTO `json:"files"`
937- Warnings []string `json:"warnings,omitempty"`
938- }
939-
940- type ClaudeCodeMemoryFileRecordDTO struct {
941- Scope string `json:"scope"`
942- Path string `json:"path"`
943- Exists bool `json:"exists"`
944- GitIgnored bool `json:"gitIgnored,omitempty"`
945- Imports []ClaudeCodeMemoryFileImportDTO `json:"imports,omitempty"`
946- Content string `json:"content,omitempty"`
947- ContentTruncated bool `json:"contentTruncated,omitempty"`
948- Size int64 `json:"size"`
949- }
950-
951- type ClaudeCodeMemoryFileImportDTO struct {
952- Raw string `json:"raw"`
953- Resolved string `json:"resolved"`
954- Exists bool `json:"exists"`
955- Depth int `json:"depth"`
956- }
957-
958- type SaveClaudeCodeMemoryFileInputDTO struct {
959- Path string `json:"path"`
960- Content string `json:"content"`
961- }
962-
963- type SaveClaudeCodeMemoryFileResultDTO struct {
964- Path string `json:"path"`
965- Size int64 `json:"size"`
966- Warning string `json:"warning,omitempty"`
967- }
968-
969- // Subagents types
970- type ClaudeCodeSubagentsSnapshotDTO struct {
971- UserPath string `json:"userPath"`
972- ProjectPath string `json:"projectPath"`
973- Agents []ClaudeCodeSubagentRecordDTO `json:"agents"`
974- Warnings []string `json:"warnings,omitempty"`
975- }
976-
977- type ClaudeCodeSubagentRecordDTO struct {
978- Name string `json:"name"`
979- Description string `json:"description"`
980- Path string `json:"path"`
981- Scope string `json:"scope"`
982- FrontmatterValid bool `json:"frontmatterValid"`
983- FrontmatterError string `json:"frontmatterError,omitempty"`
984- ValidationErrors []string `json:"validationErrors,omitempty"`
985- KnownFields map [string ]any `json:"knownFields,omitempty"`
986- UnknownFields map [string ]any `json:"unknownFields,omitempty"`
987- BodyPreview string `json:"bodyPreview,omitempty"`
988- IsPlugin bool `json:"isPlugin,omitempty"`
989- IgnoredFields []string `json:"ignoredFields,omitempty"`
990- }
991-
992- type SaveClaudeCodeSubagentInputDTO struct {
993- Scope string `json:"scope"`
994- Path string `json:"path"`
995- Name string `json:"name"`
996- Description string `json:"description"`
997- KnownFields map [string ]any `json:"knownFields,omitempty"`
998- UnknownFields map [string ]any `json:"unknownFields,omitempty"`
999- Body string `json:"body"`
1000- }
1001-
1002- type SaveClaudeCodeSubagentResultDTO struct {
1003- Path string `json:"path"`
1004- Preview string `json:"preview"`
1005- }
1006-
1007- type DeleteClaudeCodeSubagentInputDTO struct {
1008- Scope string `json:"scope"`
1009- Path string `json:"path"`
1010- }
1009+ type DeleteClaudeCodeSubagentInputDTO struct {
1010+ Scope string `json:"scope"`
1011+ Path string `json:"path"`
10111012}
0 commit comments