tines 0.0.248 → 0.0.249

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 (2) hide show
  1. package/dist/index.js +5 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -9774,7 +9774,7 @@ function shellQuote(value) {
9774
9774
  return `'${value.replaceAll("'", `'\\''`)}'`;
9775
9775
  }
9776
9776
  function expandCommandTemplate(template, input2) {
9777
- return template.replaceAll("{prompt_file}", shellQuote(input2.promptFile)).replaceAll("{workspace}", shellQuote(input2.workspace)).replaceAll("{model}", input2.model ? shellQuote(input2.model) : "''");
9777
+ return template.replaceAll("{effort}", () => input2.effort ? shellQuote(input2.effort) : "''").replaceAll("{prompt_file}", shellQuote(input2.promptFile)).replaceAll("{workspace}", shellQuote(input2.workspace)).replaceAll("{model}", input2.model ? shellQuote(input2.model) : "''");
9778
9778
  }
9779
9779
  function buildHarnessInvocation(spec, input2) {
9780
9780
  switch (spec.harness) {
@@ -11039,7 +11039,7 @@ function withDaemonFlags(cmd) {
11039
11039
  "runner name, unique per user; name it machine-plus-harness, e.g. macbook-claude (default: this hostname)"
11040
11040
  ).option("--harness <harness>", "claude-code | codex | custom", "claude-code").option(
11041
11041
  "--command <template>",
11042
- "custom harness command template ({prompt_file}, {workspace}, {model})"
11042
+ "custom harness command template ({prompt_file}, {workspace}, {model}, {effort})"
11043
11043
  ).option(
11044
11044
  "--max-concurrent <n>",
11045
11045
  "local maximum simultaneous runs (remote-adjustment ceiling when enabled)",
@@ -11070,7 +11070,9 @@ function parseDaemonFlags(opts) {
11070
11070
  die(`--harness must be claude-code, codex, or custom, got "${opts.harness}"`);
11071
11071
  }
11072
11072
  if (harness === "custom" && !opts.command) {
11073
- die('the custom harness needs --command "<template>" ({prompt_file}, {workspace}, {model})');
11073
+ die(
11074
+ 'the custom harness needs --command "<template>" ({prompt_file}, {workspace}, {model}, {effort})'
11075
+ );
11074
11076
  }
11075
11077
  if (harness !== "custom" && opts.command) die("--command only applies to --harness custom");
11076
11078
  if (!Number.isInteger(opts.maxConcurrent) || opts.maxConcurrent < 1 || opts.maxConcurrent > 100) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tines",
3
- "version": "0.0.248",
3
+ "version": "0.0.249",
4
4
  "description": "CLI for Tines, an orchestration layer for AI agents",
5
5
  "repository": {
6
6
  "type": "git",