Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

opencode-adk-docs

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

opencode-adk-docs - npm Package Compare versions

Comparing version
0.1.0
to
0.1.1
+1
-1
package.json
{
"name": "opencode-adk-docs",
"version": "0.1.0",
"version": "0.1.1",
"description": "OpenCode plugin for Google Agent Development Kit (ADK) Python SDK documentation and cache management",

@@ -5,0 +5,0 @@ "module": "dist/index.js",

@@ -5,3 +5,3 @@ import { homedir } from "node:os";

/** Root directory for cached ADK repositories. */
export const CACHE_ROOT = join(homedir(), ".cache", "opencode", "adk-docs");
export const CACHE_ROOT = join(homedir(), ".cache", "opencode", "plugins", "adk-docs");

@@ -8,0 +8,0 @@ /** ADK GitHub repositories to cache. */

@@ -152,7 +152,18 @@ import { existsSync, readFileSync } from "node:fs";

repo: tool.schema
.enum(["adk-docs", "adk-python", "adk-samples"])
.union([
tool.schema.literal("adk-docs"),
tool.schema.literal("adk-python"),
tool.schema.literal("adk-samples"),
])
.optional()
.describe("Restrict search to a specific repository"),
kind: tool.schema
.enum(["class", "function", "method", "doc-section", "sample", "code-example"])
.union([
tool.schema.literal("class"),
tool.schema.literal("function"),
tool.schema.literal("method"),
tool.schema.literal("doc-section"),
tool.schema.literal("sample"),
tool.schema.literal("code-example"),
])
.optional()

@@ -185,3 +196,7 @@ .describe("Filter results by entry kind"),

repo: tool.schema
.enum(["adk-docs", "adk-python", "adk-samples"])
.union([
tool.schema.literal("adk-docs"),
tool.schema.literal("adk-python"),
tool.schema.literal("adk-samples"),
])
.describe("Which repository to read from"),

@@ -188,0 +203,0 @@ path: tool.schema.string().describe("Relative file path within the repository"),

Sorry, the diff of this file is too big to display