evalctl 0.0.0-stage → 0.1.0

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 (49) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +149 -2
  3. package/dist/cli.d.ts +13 -0
  4. package/dist/cli.js +294 -0
  5. package/dist/client.d.ts +53 -0
  6. package/dist/client.js +269 -0
  7. package/dist/commands/auth.d.ts +6 -0
  8. package/dist/commands/auth.js +341 -0
  9. package/dist/commands/common.d.ts +17 -0
  10. package/dist/commands/common.js +53 -0
  11. package/dist/commands/export.d.ts +2 -0
  12. package/dist/commands/export.js +54 -0
  13. package/dist/commands/index.d.ts +3 -0
  14. package/dist/commands/index.js +10 -0
  15. package/dist/commands/info.d.ts +2 -0
  16. package/dist/commands/info.js +208 -0
  17. package/dist/commands/runs.d.ts +2 -0
  18. package/dist/commands/runs.js +325 -0
  19. package/dist/commands/scenarios.d.ts +2 -0
  20. package/dist/commands/scenarios.js +585 -0
  21. package/dist/commands/screens.d.ts +2 -0
  22. package/dist/commands/screens.js +139 -0
  23. package/dist/config.d.ts +52 -0
  24. package/dist/config.js +281 -0
  25. package/dist/context.d.ts +64 -0
  26. package/dist/context.js +1 -0
  27. package/dist/diff.d.ts +7 -0
  28. package/dist/diff.js +122 -0
  29. package/dist/errors.d.ts +22 -0
  30. package/dist/errors.js +35 -0
  31. package/dist/fsutil.d.ts +34 -0
  32. package/dist/fsutil.js +245 -0
  33. package/dist/index.d.ts +2 -0
  34. package/dist/index.js +18 -0
  35. package/dist/output.d.ts +38 -0
  36. package/dist/output.js +156 -0
  37. package/dist/prompt.d.ts +29 -0
  38. package/dist/prompt.js +195 -0
  39. package/dist/sidecar.d.ts +39 -0
  40. package/dist/sidecar.js +138 -0
  41. package/dist/state.d.ts +14 -0
  42. package/dist/state.js +48 -0
  43. package/dist/util.d.ts +21 -0
  44. package/dist/util.js +77 -0
  45. package/dist/version.d.ts +2 -0
  46. package/dist/version.js +12 -0
  47. package/dist/yaml-text.d.ts +15 -0
  48. package/dist/yaml-text.js +103 -0
  49. package/package.json +62 -4
package/package.json CHANGED
@@ -1,6 +1,64 @@
1
1
  {
2
2
  "name": "evalctl",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.0",
4
+ "description": "Zero-dependency CLI for direct evaluation scenario authoring and run orchestration",
5
+ "type": "module",
6
+ "bin": {
7
+ "evalctl": "dist/index.js"
8
+ },
9
+ "files": [
10
+ "dist",
11
+ "README.md",
12
+ "LICENSE"
13
+ ],
14
+ "engines": {
15
+ "node": ">=22"
16
+ },
17
+ "publishConfig": {
18
+ "access": "public"
19
+ },
20
+ "scripts": {
21
+ "build": "node -e \"import('node:fs').then(fs=>fs.rmSync('dist',{recursive:true,force:true}))\" && tsc && node -e \"import('node:fs').then(fs=>fs.chmodSync('dist/index.js',0o755))\"",
22
+ "typecheck": "tsc -p tsconfig.typecheck.json",
23
+ "lint": "eslint .",
24
+ "test": "vitest run",
25
+ "test:ci": "vitest run --coverage",
26
+ "verify:package": "node scripts/verify-package.mjs",
27
+ "neutrality": "node scripts/check-neutrality.mjs",
28
+ "prepare": "husky",
29
+ "prepack": "npm run build",
30
+ "prepublishOnly": "npm run typecheck && npm run lint && npm run test:ci && npm run neutrality -- --history && npm run verify:package && npm run neutrality -- --tarball"
31
+ },
32
+ "lint-staged": {
33
+ "*.{ts,js,mjs}": [
34
+ "eslint --fix"
35
+ ]
36
+ },
37
+ "keywords": [
38
+ "evaluation",
39
+ "scenarios",
40
+ "cli",
41
+ "zero-dependency"
42
+ ],
43
+ "author": "Dong Tran <11634454+dongitran@users.noreply.github.com>",
44
+ "license": "MIT",
45
+ "repository": {
46
+ "type": "git",
47
+ "url": "git+https://github.com/dongitran/evalctl.git"
48
+ },
49
+ "homepage": "https://github.com/dongitran/evalctl#readme",
50
+ "bugs": {
51
+ "url": "https://github.com/dongitran/evalctl/issues"
52
+ },
53
+ "devDependencies": {
54
+ "@eslint/js": "^10.0.1",
55
+ "@types/node": "^22.0.0",
56
+ "@vitest/coverage-v8": "^5.1.2",
57
+ "eslint": "^10.15.0",
58
+ "husky": "^9.1.7",
59
+ "lint-staged": "^17.6.2",
60
+ "typescript": "~5.9.0",
61
+ "typescript-eslint": "^8.68.0",
62
+ "vitest": "^5.1.2"
63
+ }
64
+ }