ai-discovery-manager-cli 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/README.md CHANGED
@@ -165,14 +165,14 @@ npm.cmd run build
165
165
  ## Usage
166
166
 
167
167
  ```powershell
168
- node dist/cli.js run --topic "Robust AI discovery workflows for scientific research" --workspace . --out artifacts
169
- node dist/cli.js literature-review --topic "AI agents for laboratory planning" --vector-store-id vs_...
170
- node dist/cli.js hypothesis --topic "Can retrieval-grounded agent debates improve hypothesis novelty screening?"
171
- node dist/cli.js experiment --topic "Simulation-based hypothesis screening" --experiment-spec "Compare two synthetic baselines and analyze uncertainty"
172
- node dist/cli.js run --topic "..." --manager-model "GPT-5.5 Pro" --specialist-model gpt-5.4-mini --safety-level 5
173
- node dist/cli.js chat --workspace ./papers --safety-level 4
174
- node dist/cli.js doctor --workspace . --json
175
- node dist/cli.js run --resume <run-id>
168
+ ai-discovery run --topic "Robust AI discovery workflows for scientific research" --workspace . --out artifacts
169
+ ai-discovery literature-review --topic "AI agents for laboratory planning" --vector-store-id vs_...
170
+ ai-discovery hypothesis --topic "Can retrieval-grounded agent debates improve hypothesis novelty screening?"
171
+ ai-discovery experiment --topic "Simulation-based hypothesis screening" --experiment-spec "Compare two synthetic baselines and analyze uncertainty"
172
+ ai-discovery run --topic "..." --manager-model "GPT-5.5 Pro" --specialist-model gpt-5.4-mini --safety-level 5
173
+ ai-discovery chat --workspace ./papers --safety-level 4
174
+ ai-discovery doctor --workspace . --json
175
+ ai-discovery run --resume <run-id>
176
176
  ```
177
177
 
178
178
  Example chat commands:
@@ -236,9 +236,9 @@ This prints the resolved workflow JSON — command, models, the text-only `avail
236
236
  Use `--json` when another agent or script needs stable machine-readable output:
237
237
 
238
238
  ```powershell
239
- node dist/cli.js doctor --workspace . --json
240
- node dist/cli.js run --topic "..." --json
241
- node dist/cli.js chat --workspace . --json
239
+ ai-discovery doctor --workspace . --json
240
+ ai-discovery run --topic "..." --json
241
+ ai-discovery chat --workspace . --json
242
242
  ```
243
243
 
244
244
  Live workflow and chat commands emit newline-delimited JSON events such as `run_started`, `manager_output_delta`, `artifact_written`, `run_completed`, `chat_started`, `assistant_output_delta`, `assistant_output`, and `error`. Completion events include artifact paths, checkpoint paths, citations found in the final text, SDK token usage when reported, and a cost object with `amount: null` because model-specific pricing is not bundled.
@@ -246,7 +246,7 @@ Live workflow and chat commands emit newline-delimited JSON events such as `run_
246
246
  Every non-chat workflow creates a checkpoint under `.ai-discovery/runs/<id>/` with `options.json`, `prompt.md`, `partial.md`, `final.md`, `metadata.json`, and `result.json`. Pressing Ctrl+C during a streamed run saves the current partial before exiting. Resume with:
247
247
 
248
248
  ```powershell
249
- node dist/cli.js run --resume <id>
249
+ ai-discovery run --resume <id>
250
250
  ```
251
251
 
252
- `doctor` does not call the OpenAI API. It checks local Node version, API-key presence, workspace existence/writability, model allowlist values, vector-store ID shape, MCP stdio availability, and whether `dist/cli.js` exists.
252
+ `doctor` does not call the OpenAI API. It checks local Node version, API-key presence, workspace existence/writability, model allowlist values, vector-store ID shape, MCP stdio availability, and whether the `ai-discovery` command target exists.
package/ai-discovery ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ import "./dist/cli.js";
package/dist/doctor.js CHANGED
@@ -129,8 +129,8 @@ export async function runDoctor(options) {
129
129
  name: "dist",
130
130
  status: distCli?.isFile() ? "ok" : "warn",
131
131
  message: distCli?.isFile()
132
- ? "Built dist/cli.js exists."
133
- : "dist/cli.js is missing; run `npm.cmd run build` before package/bin use.",
132
+ ? "Built ai-discovery command target exists."
133
+ : "ai-discovery command target is missing; run `npm.cmd run build` before package/bin use.",
134
134
  });
135
135
  return {
136
136
  status: overallStatus(checks),
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "ai-discovery-manager-cli",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Codex-style research manager CLI using OpenAI Agents SDK specialist agents.",
5
5
  "type": "module",
6
6
  "bin": {
7
- "ai-discovery": "dist/cli.js"
7
+ "ai-discovery": "ai-discovery"
8
8
  },
9
9
  "files": [
10
+ "ai-discovery",
10
11
  "dist/",
11
12
  "README.md",
12
13
  "package.json"
@@ -14,7 +15,7 @@
14
15
  "scripts": {
15
16
  "build": "tsc -p tsconfig.json",
16
17
  "dev": "tsx src/cli.ts",
17
- "start": "node dist/cli.js",
18
+ "start": "node ai-discovery",
18
19
  "dry-run": "tsx src/cli.ts run --dry-run --topic \"Example thesis topic\""
19
20
  },
20
21
  "dependencies": {