@tuned-tensor/cli 0.18.0 → 0.19.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.
@@ -88,7 +88,7 @@ import {
88
88
  withHuggingFaceCacheEnvironment,
89
89
  withOfflineHuggingFaceCacheEnvironment,
90
90
  writePrivateJsonAtomic
91
- } from "./chunk-U5HNS367.js";
91
+ } from "./chunk-4Q54NHKR.js";
92
92
 
93
93
  // src/local-runtime/index.ts
94
94
  import { readFileSync as readFileSync3, realpathSync } from "fs";
@@ -4,8 +4,8 @@ The foundation engine can run recoverable, single-GPU pretraining from `.txt`
4
4
  files or JSONL shards whose rows contain a string `text` field. Keep training
5
5
  and validation data in different files or directories.
6
6
 
7
- The commands below also support an [AWS GPU](aws-gpu.md) configured in the
8
- adjacent `local-runner.json`. The CLI and tokenizer still run locally; the
7
+ The commands below also support an [AWS GPU](aws-gpu.md) configured as
8
+ `runtime.gpu` in `tunedtensor.json`. The CLI and tokenizer still run locally; the
9
9
  local machine must stay awake and connected throughout the pipeline.
10
10
 
11
11
  ## Spec
@@ -13,7 +13,7 @@ not mutate the training runtime.
13
13
  serving is not supported by this runtime; CLI/package commands still work
14
14
  there. Unsupported hardware or model/adapter combinations fail rather than
15
15
  silently falling back to the old server.
16
- - `gpu` in `local-runner.json` applies to training and evaluation. It does not
16
+ - `runtime.gpu` in `tunedtensor.json` applies to training and evaluation. It does not
17
17
  move `tt serve` to AWS; returned artifacts still need a Linux/CUDA machine
18
18
  running the serving command.
19
19
  - Install `uv` and prefetch the certified model with `tt models prefetch`.
@@ -234,7 +234,7 @@
234
234
  "summary": "Validate the proposed document and bind it to the current file and workspace before approval.",
235
235
  "input": "Field changes + the hash returned by get_local_spec.",
236
236
  "output": "After /approve: atomic spec replacement and a before/after revision record.",
237
- "boundary": "Stale edits fail. Arrays replace fields; foundation and hyperparameters merge by key. Secure edits currently require Linux.",
237
+ "boundary": "Stale edits fail. add_examples appends; other arrays replace fields; foundation and hyperparameters merge by key. Secure edits currently require Linux.",
238
238
  "flow": [
239
239
  "prepareSpecUpdate",
240
240
  "diff",
@@ -46,10 +46,14 @@ for an invalid spec.
46
46
 
47
47
  `get_local_spec` returns the document, validation diagnostics and content hash.
48
48
  `prepare_update_local_spec` requires that hash and a patch of supported fields.
49
- Arrays replace their whole field; `hyperparameters` and `foundation` merge by
49
+ `add_examples` appends examples without resending existing ones; other arrays
50
+ replace their whole field, and the diff lists only removed and added items.
51
+ `hyperparameters` and `foundation` merge by
50
52
  key. `runtime` and `evaluation` merge recursively; null removes optional settings.
51
53
  `pipeline` replaces the entire recipe (null restores the derived default). Unmentioned fields remain unchanged. Identity and engine cannot change
52
- through this edit tool. The full resulting document must pass the runtime's
54
+ through this edit tool. An adapter spec without an `id` gets one on its first
55
+ edit, pinned to the ID its earlier runs used, so later edits keep the same run
56
+ identity and evaluation split. Specs created by the agent start with an `id`. The full resulting document must pass the runtime's
53
57
  strict schema, readiness checks, nonblank content checks and distinct-example
54
58
  checks. Small example sets produce a warning; validation is not a claim of model
55
59
  quality or GPU readiness.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tuned-tensor/cli",
3
- "version": "0.18.0",
3
+ "version": "0.19.0",
4
4
  "description": "Local TT agent and CUDA fine-tuning CLI for Tuned Tensor workflows",
5
5
  "repository": {
6
6
  "type": "git",