@on-par/factory-cli 0.9.14-next.2 → 0.9.14-next.21

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 (76) hide show
  1. package/dist/cli/__fixtures__/open-pr.d.ts +24 -0
  2. package/dist/cli/__fixtures__/open-pr.d.ts.map +1 -0
  3. package/dist/cli/__fixtures__/open-pr.js +15 -0
  4. package/dist/cli/__fixtures__/open-pr.js.map +1 -0
  5. package/dist/cli/cost-json.d.ts +9 -2
  6. package/dist/cli/cost-json.d.ts.map +1 -1
  7. package/dist/cli/cost-json.js +29 -2
  8. package/dist/cli/cost-json.js.map +1 -1
  9. package/dist/cli/daemon-load.d.ts +14 -0
  10. package/dist/cli/daemon-load.d.ts.map +1 -0
  11. package/dist/cli/daemon-load.js +75 -0
  12. package/dist/cli/daemon-load.js.map +1 -0
  13. package/dist/cli/daemon.d.ts +5 -1
  14. package/dist/cli/daemon.d.ts.map +1 -1
  15. package/dist/cli/daemon.js +15 -4
  16. package/dist/cli/daemon.js.map +1 -1
  17. package/dist/cli/index.d.ts +9 -0
  18. package/dist/cli/index.d.ts.map +1 -1
  19. package/dist/cli/index.js +50 -19
  20. package/dist/cli/index.js.map +1 -1
  21. package/dist/cli/json-contract.d.ts +22 -0
  22. package/dist/cli/json-contract.d.ts.map +1 -1
  23. package/dist/cli/json-contract.js +22 -1
  24. package/dist/cli/json-contract.js.map +1 -1
  25. package/dist/cli/land.d.ts +1 -1
  26. package/dist/cli/land.d.ts.map +1 -1
  27. package/dist/cli/land.js +27 -36
  28. package/dist/cli/land.js.map +1 -1
  29. package/dist/cli/program-advanced.d.ts.map +1 -1
  30. package/dist/cli/program-advanced.js +13 -1
  31. package/dist/cli/program-advanced.js.map +1 -1
  32. package/dist/cli/queue-preflight.d.ts +5 -0
  33. package/dist/cli/queue-preflight.d.ts.map +1 -1
  34. package/dist/cli/queue-preflight.js +25 -2
  35. package/dist/cli/queue-preflight.js.map +1 -1
  36. package/dist/cli/reset.d.ts.map +1 -1
  37. package/dist/cli/reset.js +3 -0
  38. package/dist/cli/reset.js.map +1 -1
  39. package/dist/cli/run-lane.d.ts.map +1 -1
  40. package/dist/cli/run-lane.js +3 -0
  41. package/dist/cli/run-lane.js.map +1 -1
  42. package/dist/cli/run.d.ts.map +1 -1
  43. package/dist/cli/run.js +5 -3
  44. package/dist/cli/run.js.map +1 -1
  45. package/dist/cli/runs.d.ts +1 -1
  46. package/dist/cli/runs.d.ts.map +1 -1
  47. package/dist/cli/runs.js +8 -10
  48. package/dist/cli/runs.js.map +1 -1
  49. package/dist/cli/ship-steps.d.ts.map +1 -1
  50. package/dist/cli/ship-steps.js +18 -2
  51. package/dist/cli/ship-steps.js.map +1 -1
  52. package/dist/cli/ship.d.ts.map +1 -1
  53. package/dist/cli/ship.js +1 -0
  54. package/dist/cli/ship.js.map +1 -1
  55. package/dist/cli/status.d.ts.map +1 -1
  56. package/dist/cli/status.js +61 -30
  57. package/dist/cli/status.js.map +1 -1
  58. package/dist/cli/steer.d.ts +1 -0
  59. package/dist/cli/steer.d.ts.map +1 -1
  60. package/dist/cli/steer.js +55 -28
  61. package/dist/cli/steer.js.map +1 -1
  62. package/dist/cli/steerability-report.d.ts +1 -1
  63. package/dist/cli/steerability-report.d.ts.map +1 -1
  64. package/dist/cli/steerability-report.js +4 -7
  65. package/dist/cli/steerability-report.js.map +1 -1
  66. package/dist/cli/worktree-keep.d.ts +18 -0
  67. package/dist/cli/worktree-keep.d.ts.map +1 -0
  68. package/dist/cli/worktree-keep.js +47 -0
  69. package/dist/cli/worktree-keep.js.map +1 -0
  70. package/dist/cli/worktree-reap.d.ts +1 -1
  71. package/dist/cli/worktree-reap.d.ts.map +1 -1
  72. package/dist/cli/worktree-reap.js +10 -12
  73. package/dist/cli/worktree-reap.js.map +1 -1
  74. package/package.json +4 -4
  75. package/schemas/cost.schema.json +39 -1
  76. package/schemas/daemon-status.schema.json +44 -1
@@ -29,6 +29,9 @@
29
29
  "outputTokens": {
30
30
  "type": "number"
31
31
  },
32
+ "rawInputTokens": {
33
+ "type": ["number", "null"]
34
+ },
32
35
  "cacheReadTokens": {
33
36
  "type": ["number", "null"]
34
37
  },
@@ -46,6 +49,7 @@
46
49
  "model",
47
50
  "inputTokens",
48
51
  "outputTokens",
52
+ "rawInputTokens",
49
53
  "cacheReadTokens",
50
54
  "cacheCreationTokens",
51
55
  "cost"
@@ -70,6 +74,15 @@
70
74
  "outputTokens": {
71
75
  "type": "number"
72
76
  },
77
+ "rawInputTokens": {
78
+ "type": "number"
79
+ },
80
+ "cacheReadTokens": {
81
+ "type": "number"
82
+ },
83
+ "cacheCreationTokens": {
84
+ "type": "number"
85
+ },
73
86
  "cost": {
74
87
  "type": ["number", "null"]
75
88
  },
@@ -85,6 +98,9 @@
85
98
  "tasks",
86
99
  "inputTokens",
87
100
  "outputTokens",
101
+ "rawInputTokens",
102
+ "cacheReadTokens",
103
+ "cacheCreationTokens",
88
104
  "cost",
89
105
  "unpricedCount",
90
106
  "cachedRateMissingCount"
@@ -103,9 +119,31 @@
103
119
  },
104
120
  "cachedRateMissingCount": {
105
121
  "type": "number"
122
+ },
123
+ "tokens": {
124
+ "type": "object",
125
+ "properties": {
126
+ "input": {
127
+ "type": "number"
128
+ },
129
+ "output": {
130
+ "type": "number"
131
+ },
132
+ "rawInput": {
133
+ "type": "number"
134
+ },
135
+ "cacheRead": {
136
+ "type": "number"
137
+ },
138
+ "cacheCreation": {
139
+ "type": "number"
140
+ }
141
+ },
142
+ "required": ["input", "output", "rawInput", "cacheRead", "cacheCreation"],
143
+ "additionalProperties": false
106
144
  }
107
145
  },
108
- "required": ["cost", "unpricedCount", "cachedRateMissingCount"],
146
+ "required": ["cost", "unpricedCount", "cachedRateMissingCount", "tokens"],
109
147
  "additionalProperties": false
110
148
  }
111
149
  },
@@ -37,8 +37,51 @@
37
37
  "required": ["slug", "checkoutPath", "state"],
38
38
  "additionalProperties": false
39
39
  }
40
+ },
41
+ "load": {
42
+ "type": "object",
43
+ "properties": {
44
+ "activeRuns": {
45
+ "anyOf": [
46
+ {
47
+ "type": "integer",
48
+ "minimum": 0,
49
+ "maximum": 9007199254740991
50
+ },
51
+ {
52
+ "type": "null"
53
+ }
54
+ ]
55
+ },
56
+ "maxSlots": {
57
+ "anyOf": [
58
+ {
59
+ "type": "integer",
60
+ "exclusiveMinimum": 0,
61
+ "maximum": 9007199254740991
62
+ },
63
+ {
64
+ "type": "null"
65
+ }
66
+ ]
67
+ },
68
+ "queueDepth": {
69
+ "anyOf": [
70
+ {
71
+ "type": "integer",
72
+ "minimum": 0,
73
+ "maximum": 9007199254740991
74
+ },
75
+ {
76
+ "type": "null"
77
+ }
78
+ ]
79
+ }
80
+ },
81
+ "required": ["activeRuns", "maxSlots", "queueDepth"],
82
+ "additionalProperties": false
40
83
  }
41
84
  },
42
- "required": ["schemaVersion", "running", "pid", "uptimeSec", "plistInstalled", "repos"],
85
+ "required": ["schemaVersion", "running", "pid", "uptimeSec", "plistInstalled", "repos", "load"],
43
86
  "additionalProperties": false
44
87
  }