@octocodeai/octocode-core 4.1.0 → 4.3.0

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.
@@ -15,9 +15,7 @@ export interface ToolNames {
15
15
  LOCAL_FETCH_CONTENT: "localGetFileContent";
16
16
  LOCAL_FIND_FILES: "localFindFiles";
17
17
  LOCAL_VIEW_STRUCTURE: "localViewStructure";
18
- LSP_GOTO_DEFINITION: "lspGotoDefinition";
19
- LSP_FIND_REFERENCES: "lspFindReferences";
20
- LSP_CALL_HIERARCHY: "lspCallHierarchy";
18
+ LSP_GET_SEMANTIC_CONTENT: "lspGetSemanticContent";
21
19
  }
22
20
  export interface ToolHints {
23
21
  readonly empty: readonly string[];
@@ -137,6 +135,7 @@ export interface ToolResultEnvelope<TData> {
137
135
  readonly warnings?: readonly ToolWarning[];
138
136
  readonly error?: string;
139
137
  }
138
+ export type ContentView = "none" | "standard" | "symbols";
140
139
  /** Per-file match pagination — for paging matches *within* a single file. */
141
140
  export interface LocalSearchCodeMatchPagination {
142
141
  readonly currentPage: number;
@@ -152,8 +151,10 @@ export interface LocalSearchCodeMatch {
152
151
  }
153
152
  export interface LocalSearchCodeFile {
154
153
  path: string;
155
- matchCount: number;
156
- matches: LocalSearchCodeMatch[];
154
+ /** Omitted in filesOnly/discovery mode — rg -l reports no per-file counts. */
155
+ matchCount?: number;
156
+ /** Omitted in discovery/filesOnly mode — empty arrays are noise. */
157
+ matches?: LocalSearchCodeMatch[];
157
158
  modified?: string;
158
159
  pagination?: LocalSearchCodeMatchPagination;
159
160
  }
@@ -179,6 +180,8 @@ export interface LocalFindFilesData {
179
180
  export interface LocalGetFileContentData {
180
181
  readonly path: string;
181
182
  readonly content: string;
183
+ readonly contentView?: ContentView;
184
+ readonly isSkeleton?: boolean;
182
185
  readonly totalLines?: number;
183
186
  readonly startLine?: number;
184
187
  readonly endLine?: number;
@@ -268,6 +271,8 @@ export interface GitHubSearchCodeData {
268
271
  export interface GitHubFileContentData {
269
272
  readonly path: string;
270
273
  readonly content: string;
274
+ readonly contentView?: ContentView;
275
+ readonly isSkeleton?: boolean;
271
276
  readonly totalLines?: number;
272
277
  readonly startLine?: number;
273
278
  readonly endLine?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octocodeai/octocode-core",
3
- "version": "4.1.0",
3
+ "version": "4.3.0",
4
4
  "description": "Core config, prompts, tools, and schemas for Octocode MCP",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",