@workbench-ai/workbench 0.0.99 → 0.0.101

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAiEA,MAAM,WAAW,KAAK;IACpB,MAAM,EAAE,MAAM,CAAC,cAAc,CAAC;IAC9B,MAAM,EAAE,MAAM,CAAC,cAAc,CAAC;CAC/B;AAuTD,wBAAsB,MAAM,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,EAAE,EAAE,GAAE,KAGzD,GAAG,OAAO,CAAC,MAAM,CAAC,CA0NlB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAiEA,MAAM,WAAW,KAAK;IACpB,MAAM,EAAE,MAAM,CAAC,cAAc,CAAC;IAC9B,MAAM,EAAE,MAAM,CAAC,cAAc,CAAC;CAC/B;AAuTD,wBAAsB,MAAM,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,EAAE,EAAE,GAAE,KAGzD,GAAG,OAAO,CAAC,MAAM,CAAC,CA8NlB"}
package/dist/index.js CHANGED
@@ -324,7 +324,11 @@ export async function runCli(argv, io = {
324
324
  const core = await coreOptions(parsed);
325
325
  if (command === "new") {
326
326
  const status = await initWorkbenchSkill({ dir: parsed.positionals[1] ?? dirFlag(parsed) });
327
- return output(status, parsed, io, () => `Created Workbench skill at ${status.root}.\nnext: edit SKILL.md, then run workbench eval`);
327
+ return output(status, parsed, io, () => [
328
+ `Created Workbench skill at ${status.root}.`,
329
+ "Created starter case at .workbench/cases/case-001/case.yaml.",
330
+ "next: edit SKILL.md and .workbench/cases/, then run workbench eval",
331
+ ].join("\n"));
328
332
  }
329
333
  if (command === "status") {
330
334
  return await handleStatus(parsed, io);
@@ -419,7 +423,7 @@ export async function runCli(argv, io = {
419
423
  ? undefined
420
424
  : await runEvidenceFingerprints(core).catch(() => undefined);
421
425
  if (parsed.flags["dry-run"] !== true) {
422
- writeCliProgress(io, `workbench sync: syncing ${optionalPositional(parsed, 1) ?? "default remote"}.`);
426
+ writeCliProgress(parsed, io, `workbench sync: syncing ${optionalPositional(parsed, 1) ?? "default remote"}.`);
423
427
  }
424
428
  const result = await syncWorkbenchRemote({
425
429
  ...core,
@@ -463,9 +467,9 @@ export async function runCli(argv, io = {
463
467
  let remote;
464
468
  let result;
465
469
  try {
466
- writeCliProgress(io, "workbench publish: preparing Cloud skill.");
470
+ writeCliProgress(parsed, io, "workbench publish: preparing Cloud skill.");
467
471
  remote = await ensurePublishRemote(parsed);
468
- writeCliProgress(io, `workbench publish: publishing ${optionalPositional(parsed, 1) ?? "current"} source.`);
472
+ writeCliProgress(parsed, io, `workbench publish: publishing ${optionalPositional(parsed, 1) ?? "current"} source.`);
469
473
  result = await publishWorkbenchVersion({
470
474
  ...core,
471
475
  version: optionalPositional(parsed, 1),
@@ -1599,7 +1603,10 @@ function writeCloudProgress(io, message, enabled = true) {
1599
1603
  }
1600
1604
  io.stderr.write(`${message}\n`);
1601
1605
  }
1602
- function writeCliProgress(io, message) {
1606
+ function writeCliProgress(parsed, io, message) {
1607
+ if (parsed.flags.json === true) {
1608
+ return;
1609
+ }
1603
1610
  io.stderr.write(`${message}\n`);
1604
1611
  }
1605
1612
  function formatCloudRunStatuses(runs) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workbench-ai/workbench",
3
- "version": "0.0.99",
3
+ "version": "0.0.101",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/workbench-ai/workbench.git",
@@ -21,10 +21,10 @@
21
21
  ],
22
22
  "dependencies": {
23
23
  "yaml": "^2.8.2",
24
- "@workbench-ai/workbench-built-in-adapters": "0.0.99",
25
- "@workbench-ai/workbench-protocol": "0.0.99",
26
- "@workbench-ai/workbench-core": "0.0.99",
27
- "@workbench-ai/workbench-contract": "0.0.99"
24
+ "@workbench-ai/workbench-contract": "0.0.101",
25
+ "@workbench-ai/workbench-built-in-adapters": "0.0.101",
26
+ "@workbench-ai/workbench-protocol": "0.0.101",
27
+ "@workbench-ai/workbench-core": "0.0.101"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@tailwindcss/postcss": "^4.2.2",
@@ -35,7 +35,7 @@
35
35
  "react-dom": "^19.2.0",
36
36
  "typescript": "^5.9.2",
37
37
  "vitest": "^3.2.4",
38
- "@workbench-ai/workbench-ui": "0.0.99"
38
+ "@workbench-ai/workbench-ui": "0.0.101"
39
39
  },
40
40
  "scripts": {
41
41
  "build": "rm -rf dist && tsc -p tsconfig.json && chmod 755 dist/workbench.js && node ./scripts/build-dev-open-assets.mjs",