@fleettools/opencode-plugin
Advanced tools
| export declare const FleetToolsPlugin: () => Promise<{ | ||
| tool: { | ||
| fleet_status: { | ||
| description: string; | ||
| }; | ||
| fleet_start: { | ||
| description: string; | ||
| }; | ||
| fleet_stop: { | ||
| description: string; | ||
| }; | ||
| fleet_setup: { | ||
| description: string; | ||
| }; | ||
| fleet_context: { | ||
| description: string; | ||
| }; | ||
| }; | ||
| config: () => {}; | ||
| }>; | ||
| //# sourceMappingURL=minimal.d.ts.map |
| {"version":3,"file":"minimal.d.ts","sourceRoot":"","sources":["../src/minimal.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;EAW5B,CAAC"} |
| {"version":3,"file":"minimal.js","sourceRoot":"","sources":["../src/minimal.ts"],"names":[],"mappings":"AAAA,oCAAoC;AACpC,MAAM,CAAC,MAAM,gBAAgB,GAAG,KAAK,IAAI,EAAE;IACzC,OAAO;QACL,IAAI,EAAE;YACJ,YAAY,EAAE,EAAE,WAAW,EAAE,+BAA+B,EAAE;YAC9D,WAAW,EAAE,EAAE,WAAW,EAAE,2BAA2B,EAAE;YACzD,UAAU,EAAE,EAAE,WAAW,EAAE,0BAA0B,EAAE;YACvD,WAAW,EAAE,EAAE,WAAW,EAAE,yBAAyB,EAAE;YACvD,aAAa,EAAE,EAAE,WAAW,EAAE,wBAAwB,EAAE;SACzD;QACD,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC;KACnB,CAAC;AACJ,CAAC,CAAC"} |
| /** | ||
| * Type Definitions for FleetTools OpenCode Plugin | ||
| */ | ||
| /** | ||
| * Arguments passed to FleetTools tools | ||
| */ | ||
| export interface ToolArgs { | ||
| /** Output format: text or json (fleet_status, fleet_stop) */ | ||
| format?: string; | ||
| /** Services to start/stop (comma-separated: api,squawk) */ | ||
| services?: string; | ||
| /** Force stop without graceful shutdown (fleet_stop) */ | ||
| force?: boolean; | ||
| /** Timeout for graceful shutdown in milliseconds (fleet_stop) */ | ||
| timeout_ms?: number; | ||
| /** Output in JSON format (fleet_stop) */ | ||
| json?: boolean; | ||
| /** Attempt to fix common issues automatically (fleet_doctor) */ | ||
| fix?: boolean; | ||
| /** Setup global configuration only (fleet_setup) */ | ||
| global?: boolean; | ||
| /** Force re-initialization (fleet_setup) */ | ||
| setup_force?: boolean; | ||
| /** Arguments to pass to fleet services command (fleet_services) */ | ||
| args?: string; | ||
| /** Project path (defaults to current directory) (fleet_opencode_setup) */ | ||
| project_path?: string; | ||
| /** Overwrite existing command files (fleet_opencode_setup) */ | ||
| overwrite?: boolean; | ||
| /** Include detailed information (fleet_context) */ | ||
| verbose?: boolean; | ||
| } | ||
| /** | ||
| * Context passed to FleetTools tool functions | ||
| */ | ||
| export interface ToolContext { | ||
| /** Current working directory */ | ||
| directory: string; | ||
| /** Git worktree path (optional) */ | ||
| worktree?: string; | ||
| } | ||
| /** | ||
| * Command configuration for OpenCode command files | ||
| */ | ||
| export interface CommandConfig { | ||
| /** Command name */ | ||
| name: string; | ||
| /** Subcommand */ | ||
| commands: string; | ||
| /** Description */ | ||
| desc: string; | ||
| /** Extra flags/options */ | ||
| extra: string; | ||
| } | ||
| /** | ||
| * Plugin context passed by OpenCode | ||
| */ | ||
| export interface PluginContext { | ||
| /** OpenCode SDK client */ | ||
| client: any; | ||
| /** Current working directory */ | ||
| directory: string; | ||
| /** Git worktree path (optional) */ | ||
| worktree?: string; | ||
| } | ||
| //# sourceMappingURL=types.d.ts.map |
| {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB,6DAA6D;IAC7D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,wDAAwD;IACxD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,iEAAiE;IACjE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,yCAAyC;IACzC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,gEAAgE;IAChE,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,oDAAoD;IACpD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,4CAA4C;IAC5C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,mEAAmE;IACnE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,0EAA0E;IAC1E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,8DAA8D;IAC9D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,mDAAmD;IACnD,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,gCAAgC;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,mCAAmC;IACnC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,mBAAmB;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,iBAAiB;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,kBAAkB;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,0BAA0B;IAC1B,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,0BAA0B;IAC1B,MAAM,EAAE,GAAG,CAAC;IACZ,gCAAgC;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,mCAAmC;IACnC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"} |
| /** | ||
| * Type Definitions for FleetTools OpenCode Plugin | ||
| */ | ||
| export {}; | ||
| //# sourceMappingURL=types.js.map |
| {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;GAEG"} |
+2
-2
| { | ||
| "name": "@fleettools/opencode-plugin", | ||
| "version": "1.1.4", | ||
| "version": "1.2.0", | ||
| "description": "FleetTools OpenCode Plugin - AI Agent Coordination System", | ||
@@ -15,3 +15,3 @@ "type": "module", | ||
| "scripts": { | ||
| "build": "bun build src/index.ts --outdir dist --target bun && bun build src/minimal.ts --outdir dist --target bun", | ||
| "build": "bun build src/index.ts --outdir dist --target bun --external zod && bun build src/minimal.ts --outdir dist --target bun", | ||
| "dev": "bun build src/index.ts --outdir dist --target bun --watch", | ||
@@ -18,0 +18,0 @@ "clean": "rm -rf dist", |
Sorry, the diff of this file is too big to display
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
15
87.5%0
-100%31478
-94.69%401
-97.58%