@autumnsgrove/lyra 0.3.0 → 0.3.1

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.
@@ -13,6 +13,14 @@ export { decodeCassette, encodeCassette, recordingFetch, replayCassette, scanFor
13
13
  export { misbehavingModel, misbehavingScript, MISBEHAVING_KINDS, type MisbehavingKind, type MisbehavingModel, type MisbehavingScriptOptions, type MisbehavingTurn, } from "./misbehaving-model.js";
14
14
  export { failingStorage, type FailingStorage, type FailingStorageOptions } from "./storage.js";
15
15
  export { crashingStorage, type CrashingStorage, type CrashingStorageOptions, } from "./crashing-storage.js";
16
+ /**
17
+ * The scenario runner, the decoder and the matchers.
18
+ *
19
+ * Exported because a host outside this repository is what runs the files a third
20
+ * time — through its own adapter, against its own model (decision 67). The runner
21
+ * was in `dist` but not on the surface, so no consumer could reach it.
22
+ */
23
+ export { decodeScenario, matchScenarioEvents, matchScenarioRecord, runScenario, type Expectation, type Scenario, type ScenarioCompaction, type ScenarioOutcome, type ScenarioRunOptions, type ScenarioTool, type ScenarioToolBehavior, } from "./scenario.js";
16
24
  export { renderHandles, renderPage, timelineTestRecipe, type TimelineCommit, type TimelineLine, type TimelinePage, type TimelineProject, type TimelineState, } from "./timeline-recipe.js";
17
25
  export { createFinishTool, executionCounter, toolAsking, toolReturning, toolReturningError, toolTakingTime, toolThatThrows, type Executions, type ScriptedToolOptions, } from "./tools.js";
18
26
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/testkit/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AACzE,OAAO,EACN,eAAe,EACf,MAAM,EACN,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,sBAAsB,GAC3B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACN,iBAAiB,EACjB,aAAa,EACb,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,YAAY,GACjB,MAAM,YAAY,CAAC;AACpB,OAAO,EACN,cAAc,EACd,cAAc,EACd,cAAc,EACd,cAAc,EACd,cAAc,EACd,aAAa,EACb,KAAK,QAAQ,EACb,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,SAAS,GACd,MAAM,eAAe,CAAC;AACvB,OAAO,EACN,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,EACjB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,EAC7B,KAAK,eAAe,GACpB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,cAAc,EAAE,KAAK,cAAc,EAAE,KAAK,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAC/F,OAAO,EACN,eAAe,EACf,KAAK,eAAe,EACpB,KAAK,sBAAsB,GAC3B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACN,aAAa,EACb,UAAU,EACV,kBAAkB,EAClB,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,aAAa,GAClB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACN,gBAAgB,EAChB,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,kBAAkB,EAClB,cAAc,EACd,cAAc,EACd,KAAK,UAAU,EACf,KAAK,mBAAmB,GACxB,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/testkit/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,KAAK,SAAS,EAAE,MAA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jB,KAAK,eAAe,EACpB,KAAK,aAAa,GAClB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACN,gBAAgB,EAChB,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,kBAAkB,EAClB,cAAc,EACd,cAAc,EACd,KAAK,UAAU,EACf,KAAK,mBAAmB,GACxB,MAAM,YAAY,CAAC"}
@@ -13,6 +13,14 @@ export { decodeCassette, encodeCassette, recordingFetch, replayCassette, scanFor
13
13
  export { misbehavingModel, misbehavingScript, MISBEHAVING_KINDS, } from "./misbehaving-model.js";
14
14
  export { failingStorage } from "./storage.js";
15
15
  export { crashingStorage, } from "./crashing-storage.js";
16
+ /**
17
+ * The scenario runner, the decoder and the matchers.
18
+ *
19
+ * Exported because a host outside this repository is what runs the files a third
20
+ * time — through its own adapter, against its own model (decision 67). The runner
21
+ * was in `dist` but not on the surface, so no consumer could reach it.
22
+ */
23
+ export { decodeScenario, matchScenarioEvents, matchScenarioRecord, runScenario, } from "./scenario.js";
16
24
  export { renderHandles, renderPage, timelineTestRecipe, } from "./timeline-recipe.js";
17
25
  export { createFinishTool, executionCounter, toolAsking, toolReturning, toolReturningError, toolTakingTime, toolThatThrows, } from "./tools.js";
18
26
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/testkit/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAkB,MAAM,YAAY,CAAC;AACzE,OAAO,EACN,eAAe,EACf,MAAM,GAKN,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACN,iBAAiB,EACjB,aAAa,GAMb,MAAM,YAAY,CAAC;AACpB,OAAO,EACN,cAAc,EACd,cAAc,EACd,cAAc,EACd,cAAc,EACd,cAAc,EACd,aAAa,GASb,MAAM,eAAe,CAAC;AACvB,OAAO,EACN,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,GAKjB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,cAAc,EAAmD,MAAM,cAAc,CAAC;AAC/F,OAAO,EACN,eAAe,GAGf,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACN,aAAa,EACb,UAAU,EACV,kBAAkB,GAMlB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACN,gBAAgB,EAChB,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,kBAAkB,EAClB,cAAc,EACd,cAAc,GAGd,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/testkit/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAkB,MAAM,YAAY,CAAC;AACzE,OAAO,EACN,eAAe,EACf,MAAM,GAKN,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACN,iBAAiB,EACjB,aAAa,GAMb,MAAM,YAAY,CAAC;AACpB,OAAO,EACN,cAAc,EACd,cAAc,EACd,cAAc,EACd,cAAc,EACd,cAAc,EACd,aAAa,GASb,MAAM,eAAe,CAAC;AACvB,OAAO,EACN,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,GAKjB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,cAAc,EAAmD,MAAM,cAAc,CAAC;AAC/F,OAAO,EACN,eAAe,GAGf,MAAM,uBAAuB,CAAC;AAC/B;;;;;;GAMG;AACH,OAAO,EACN,cAAc,EACd,mBAAmB,EACnB,mBAAmB,EACnB,WAAW,GAQX,MAAM,eAAe,CAAC;AACvB,OAAO,EACN,aAAa,EACb,UAAU,EACV,kBAAkB,GAMlB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACN,gBAAgB,EAChB,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,kBAAkB,EAClB,cAAc,EACd,cAAc,GAGd,MAAM,YAAY,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autumnsgrove/lyra",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "A small, portable agent core: ask a model what to do, run a tool, hand the result back, repeat until the job is done",
5
5
  "license": "MIT",
6
6
  "author": "Autumn Brown <autumn@grove.place>",