context-dropper 0.1.3 → 0.1.5

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.
Files changed (3) hide show
  1. package/README.md +26 -5
  2. package/dist/index.js +39 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -3,24 +3,45 @@
3
3
  `context-dropper` is a CLI for iterating through a fixed list of files, tracking
4
4
  position, and tagging progress.
5
5
 
6
- ## Install and Run
6
+ ## Installation
7
+
8
+ You can install `context-dropper` using one of the following methods.
9
+
10
+ ### 1. Download Pre-compiled Binary (Recommended)
11
+
12
+ Download the latest standalone executable for your operating system from the [Releases](https://github.com/fardjad/context-dropper/releases) page. Ensure it is executable and in your `PATH`.
7
13
 
8
14
  ```bash
9
- bun install
15
+ chmod +x context-dropper
16
+ mv context-dropper /usr/local/bin/
10
17
  ```
11
18
 
12
- Run directly:
19
+ ### 2. Install via Package Manager
20
+
21
+ You can install the package globally from NPM.
22
+
23
+ **Bun:**
13
24
 
14
25
  ```bash
15
- bun run src/index.ts --help
26
+ bun install -g context-dropper
16
27
  ```
17
28
 
18
- Or after building your own wrapper/binary, use:
29
+ **NPM:**
30
+
31
+ ```bash
32
+ npm install -g context-dropper
33
+ ```
34
+
35
+ Then run it anywhere:
19
36
 
20
37
  ```bash
21
38
  context-dropper --help
22
39
  ```
23
40
 
41
+ ### 3. Build from Source (Development)
42
+
43
+ To develop, compile binaries from source, or contribute to the project, please refer to the [Contributing Guide](CONTRIBUTING.md).
44
+
24
45
  ## Command Shape
25
46
 
26
47
  ```bash
package/dist/index.js CHANGED
@@ -6555,6 +6555,44 @@ function createFilesetCommand(deps) {
6555
6555
  }
6556
6556
  };
6557
6557
  }
6558
+ // package.json
6559
+ var package_default = {
6560
+ name: "context-dropper",
6561
+ version: "0.1.5",
6562
+ description: "CLI for iterating through a fixed list of files, tracking position, and tagging progress within an AI agent's session.",
6563
+ author: {
6564
+ name: "Fardjad Davari",
6565
+ email: "public@fardjad.com"
6566
+ },
6567
+ license: "MIT",
6568
+ repository: {
6569
+ type: "git",
6570
+ url: "https://github.com/fardjad/context-dropper"
6571
+ },
6572
+ keywords: ["cli", "context", "llm", "ai", "opencode", "automation"],
6573
+ bin: {
6574
+ "context-dropper": "./dist/index.js"
6575
+ },
6576
+ main: "dist/index.js",
6577
+ module: "dist/index.js",
6578
+ type: "module",
6579
+ files: ["dist/index.js"],
6580
+ scripts: {
6581
+ build: "bun build ./src/index.ts --outdir ./dist --target node",
6582
+ prepack: "npm run build"
6583
+ },
6584
+ devDependencies: {
6585
+ "@types/bun": "latest",
6586
+ typescript: "^5"
6587
+ },
6588
+ dependencies: {
6589
+ "@types/yargs": "^17.0.35",
6590
+ yargs: "^18.0.0"
6591
+ }
6592
+ };
6593
+
6594
+ // src/version/version.ts
6595
+ var getPackageVersion = () => package_default.version;
6558
6596
 
6559
6597
  // src/cli/app.ts
6560
6598
  async function runCli(argv = process.argv, deps = {}) {
@@ -6566,7 +6604,7 @@ async function runCli(argv = process.argv, deps = {}) {
6566
6604
  const stdout = deps.stdout ?? process.stdout;
6567
6605
  const stderr = deps.stderr ?? process.stderr;
6568
6606
  try {
6569
- await yargs_default(parseArgs).scriptName("context-dropper").usage("$0 [--data-dir <path>] <cmd> [args]").option("data-dir", {
6607
+ await yargs_default(parseArgs).scriptName("context-dropper").usage("$0 [--data-dir <path>] <cmd> [args]").version(getPackageVersion()).option("data-dir", {
6570
6608
  type: "string",
6571
6609
  global: true,
6572
6610
  default: path5.resolve(cwd, ".context-dropper"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "context-dropper",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "CLI for iterating through a fixed list of files, tracking position, and tagging progress within an AI agent's session.",
5
5
  "author": {
6
6
  "name": "Fardjad Davari",