fascicle 0.13.1 → 0.14.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.
- package/CHANGELOG.md +21 -0
- package/README.md +20 -1
- package/dist/acp.d.ts +226 -0
- package/dist/acp.js +1886 -0
- package/dist/acp.js.map +1 -0
- package/dist/adapters.js +1 -2
- package/dist/agents.d.ts +1 -1
- package/dist/agents.js +1 -1
- package/dist/{core-DK7g1Z40.js → core-CDrz0NM1.js} +1 -12
- package/dist/core-CDrz0NM1.js.map +1 -0
- package/dist/diagram_bin.js +1 -1
- package/dist/{engine-BOGuc0X2.js → engine-BDWB2jdn.js} +12 -333
- package/dist/engine-BDWB2jdn.js.map +1 -0
- package/dist/index.d.ts +468 -622
- package/dist/index.js +20 -12
- package/dist/index.js.map +1 -1
- package/dist/{invoke-Beef3R3X.js → invoke-tjTjZLHj.js} +3 -3
- package/dist/{invoke-Beef3R3X.js.map → invoke-tjTjZLHj.js.map} +1 -1
- package/dist/json_schema_to_standard-r21kW2LI.js +288 -0
- package/dist/json_schema_to_standard-r21kW2LI.js.map +1 -0
- package/dist/leading_system-BQe_405V.js +330 -0
- package/dist/leading_system-BQe_405V.js.map +1 -0
- package/dist/mcp.d.ts +17 -16
- package/dist/mcp.js +2 -266
- package/dist/mcp.js.map +1 -1
- package/dist/search-CqH5hmuF.js +563 -0
- package/dist/search-CqH5hmuF.js.map +1 -0
- package/dist/search_worker.d.ts +1 -0
- package/dist/search_worker.js +19 -0
- package/dist/search_worker.js.map +1 -0
- package/dist/stdio.js +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +3 -2
- package/dist/testing.js.map +1 -1
- package/dist/{types-CZ83Q5nm.d.ts → types-C_Rmcgck.d.ts} +7 -1
- package/dist/viewer-app/assets/index-Fnh5HKSU.js +2 -0
- package/dist/viewer-app/index.html +1 -1
- package/dist/viewer.js +1 -1
- package/package.json +30 -19
- package/dist/core-DK7g1Z40.js.map +0 -1
- package/dist/engine-BOGuc0X2.js.map +0 -1
- package/dist/viewer-app/assets/index-DXsB0byD.js +0 -2
package/dist/index.js
CHANGED
|
@@ -1,19 +1,27 @@
|
|
|
1
|
-
import { A as describe_cycle_error, C as is_valid_step_id, D as describe, E as run, F as suspended_error, I as timeout_error, L as STEP_KINDS, M as flow_changed_error, N as resume_validation_error, O as is_step, P as run_not_found_error, R as is_step_kind, S as assert_valid_step_id, T as durable, _ as map, a as suspend, b as sequence, c as checkpoint, d as timeout, f as fallback, g as pipe, i as use, j as error_path, k as aborted_error, l as compose, n as scope, p as retry, r as stash, t as chain, u as loop, v as branch, w as suggest_step_id, x as step, y as parallel, z as resolve_display_name } from "./core-
|
|
2
|
-
import {
|
|
1
|
+
import { A as describe_cycle_error, C as is_valid_step_id, D as describe, E as run, F as suspended_error, I as timeout_error, L as STEP_KINDS, M as flow_changed_error, N as resume_validation_error, O as is_step, P as run_not_found_error, R as is_step_kind, S as assert_valid_step_id, T as durable, _ as map, a as suspend, b as sequence, c as checkpoint, d as timeout, f as fallback, g as pipe, i as use, j as error_path, k as aborted_error, l as compose, n as scope, p as retry, r as stash, t as chain, u as loop, v as branch, w as suggest_step_id, x as step, y as parallel, z as resolve_display_name } from "./core-CDrz0NM1.js";
|
|
2
|
+
import { t as create_engine } from "./engine-BDWB2jdn.js";
|
|
3
3
|
import { a as is_run_end_event, c as is_step_replayed_event, i as is_map_item_failed_event, l as parse_trajectory_event, n as is_custom_trajectory_event, o as is_span_end_event, r as is_emit_event, s as is_span_start_event, t as is_checkpoint_event } from "./trajectory-BI-mrVFT.js";
|
|
4
4
|
import { a as http_logger, n as tee_logger, o as filesystem_logger } from "./adapters-DNnzeLxr.js";
|
|
5
|
+
import { _ as provider_required_error, b as tool_approval_denied_error, c as engine_config_error, d as model_required_error, f as on_chunk_error, g as provider_not_configured_error, h as provider_error, l as engine_disposed_error, m as provider_capability_error, n as default_normalize_usage, p as provider_auth_error, s as claude_cli_error, u as incomplete_generation_error, v as rate_limit_error, x as tool_error, y as schema_validation_error } from "./leading_system-BQe_405V.js";
|
|
5
6
|
import { createHash } from "node:crypto";
|
|
6
7
|
import { mkdir, readFile, readdir, writeFile } from "node:fs/promises";
|
|
7
8
|
import { dirname, join } from "node:path";
|
|
8
|
-
//#region src/core/
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
9
|
+
//#region src/core/flow_schema.ts
|
|
10
|
+
/**
|
|
11
|
+
* JSON Schema for the YAML flow representation, exported as `flow_schema`.
|
|
12
|
+
*
|
|
13
|
+
* It lives in a TypeScript module, not a .json file, because the published
|
|
14
|
+
* declarations come from tsgo under TypeScript 7, and tsgo writes none for a
|
|
15
|
+
* JSON module, which leaves the build nothing to type this export with.
|
|
16
|
+
*/
|
|
17
|
+
const flow_schema = {
|
|
18
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
19
|
+
"$id": "https://robmclarty.dev/schemas/flow-schema.json",
|
|
20
|
+
"title": "fascicle Flow DSL",
|
|
21
|
+
"description": "YAML/JSON representation of a composition tree. Documentation-only in v1. See spec.md §5.17.",
|
|
22
|
+
"type": "array",
|
|
23
|
+
"items": { "$ref": "#/$defs/compose_entry" },
|
|
24
|
+
"$defs": {
|
|
17
25
|
"compose_entry": {
|
|
18
26
|
"type": "object",
|
|
19
27
|
"required": ["compose"],
|
|
@@ -2225,6 +2233,6 @@ function forward_standard_env() {
|
|
|
2225
2233
|
return out;
|
|
2226
2234
|
}
|
|
2227
2235
|
//#endregion
|
|
2228
|
-
export { STEP_KINDS, aborted_error, adversarial, assert_valid_step_id, bench, bench_suspend_error, branch, chain, checkpoint, claude_cli_error, claude_cli_reported, compose, consensus, create_engine, default_normalize_usage, describe, describe_cycle_error, durable, engine_config_error, engine_disposed_error, ensemble, ensemble_step, error_path, fallback, flow_changed_error,
|
|
2236
|
+
export { STEP_KINDS, aborted_error, adversarial, assert_valid_step_id, bench, bench_suspend_error, branch, chain, checkpoint, claude_cli_error, claude_cli_reported, compose, consensus, create_engine, default_normalize_usage, describe, describe_cycle_error, durable, engine_config_error, engine_disposed_error, ensemble, ensemble_step, error_path, fallback, flow_changed_error, flow_schema, forward_standard_env, gate, improve, incomplete_generation_error, is_checkpoint_event, is_custom_trajectory_event, is_emit_event, is_map_item_failed_event, is_run_end_event, is_span_end_event, is_span_start_event, is_step, is_step_kind, is_step_replayed_event, is_valid_step_id, judge_equals, judge_llm, judge_with, learn, loop, map, model_call, model_required_error, model_step, normalize_score, on_chunk_error, parallel, parse_trajectory_event, pipe, provider_auth_error, provider_capability_error, provider_error, provider_not_configured_error, provider_required_error, rate_limit_error, read_baseline, regression_compare, resolve_display_name, resume_validation_error, retry, run, run_not_found_error, schema_validation_error, scope, sequence, stash, step, suggest_step_id, suspend, suspended_error, throughput, timeout, timeout_error, tool_approval_denied_error, tool_error, tournament, use, write_baseline };
|
|
2229
2237
|
|
|
2230
2238
|
//# sourceMappingURL=index.js.map
|