opencode-context-dropper-plugin 0.1.3 → 0.1.4
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.
- package/dist/index.js +41 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -12337,6 +12337,44 @@ tool.schema = exports_external;
|
|
|
12337
12337
|
import * as fs from "node:fs";
|
|
12338
12338
|
import * as os from "node:os";
|
|
12339
12339
|
import * as path4 from "node:path";
|
|
12340
|
+
// ../package.json
|
|
12341
|
+
var package_default = {
|
|
12342
|
+
name: "context-dropper",
|
|
12343
|
+
version: "0.1.4",
|
|
12344
|
+
description: "CLI for iterating through a fixed list of files, tracking position, and tagging progress within an AI agent's session.",
|
|
12345
|
+
author: {
|
|
12346
|
+
name: "Fardjad Davari",
|
|
12347
|
+
email: "public@fardjad.com"
|
|
12348
|
+
},
|
|
12349
|
+
license: "MIT",
|
|
12350
|
+
repository: {
|
|
12351
|
+
type: "git",
|
|
12352
|
+
url: "https://github.com/fardjad/context-dropper"
|
|
12353
|
+
},
|
|
12354
|
+
keywords: ["cli", "context", "llm", "ai", "opencode", "automation"],
|
|
12355
|
+
bin: {
|
|
12356
|
+
"context-dropper": "./dist/index.js"
|
|
12357
|
+
},
|
|
12358
|
+
main: "dist/index.js",
|
|
12359
|
+
module: "dist/index.js",
|
|
12360
|
+
type: "module",
|
|
12361
|
+
files: ["dist/index.js"],
|
|
12362
|
+
scripts: {
|
|
12363
|
+
build: "bun build ./src/index.ts --outdir ./dist --target node",
|
|
12364
|
+
prepack: "npm run build"
|
|
12365
|
+
},
|
|
12366
|
+
devDependencies: {
|
|
12367
|
+
"@types/bun": "latest",
|
|
12368
|
+
typescript: "^5"
|
|
12369
|
+
},
|
|
12370
|
+
dependencies: {
|
|
12371
|
+
"@types/yargs": "^17.0.35",
|
|
12372
|
+
yargs: "^18.0.0"
|
|
12373
|
+
}
|
|
12374
|
+
};
|
|
12375
|
+
|
|
12376
|
+
// ../src/version/version.ts
|
|
12377
|
+
var getPackageVersion = () => package_default.version;
|
|
12340
12378
|
|
|
12341
12379
|
// src/session.ts
|
|
12342
12380
|
class SessionManager {
|
|
@@ -12979,11 +13017,12 @@ var log = (msg, ...args) => {
|
|
|
12979
13017
|
var sessionManager = new SessionManager;
|
|
12980
13018
|
var toolkit = new Toolkit(process.cwd());
|
|
12981
13019
|
var ContextDropperPlugin = async (ctx) => {
|
|
12982
|
-
|
|
13020
|
+
const version2 = getPackageVersion();
|
|
13021
|
+
log(`Plugin initializing! Version: ${version2}`);
|
|
12983
13022
|
setTimeout(() => {
|
|
12984
13023
|
ctx.client.tui.showToast({
|
|
12985
13024
|
body: {
|
|
12986
|
-
title:
|
|
13025
|
+
title: `Context Dropper v${version2}`,
|
|
12987
13026
|
message: "Plugin is active! Type '/drop <filesetName> <instructions>' to start.",
|
|
12988
13027
|
variant: "success",
|
|
12989
13028
|
duration: 5000
|
package/package.json
CHANGED