@inflexa-ai/harness 0.6.0 → 0.7.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.
- package/dist/agents/conversation-agent.d.ts +8 -2
- package/dist/agents/conversation-agent.js +14 -2
- package/dist/agents/sandbox/shared.d.ts +2 -1
- package/dist/agents/sandbox/shared.js +3 -11
- package/dist/config/environment-stores.d.ts +42 -0
- package/dist/config/environment-stores.js +11 -0
- package/dist/execution/ephemeral-runner.d.ts +2 -1
- package/dist/execution/ephemeral-runner.js +2 -0
- package/dist/prompts/conversation.d.ts +1 -1
- package/dist/prompts/conversation.js +5 -0
- package/dist/prompts/planner.js +39 -0
- package/dist/prompts/sandbox/data-profiler.d.ts +1 -1
- package/dist/prompts/sandbox/data-profiler.js +5 -4
- package/dist/prompts/sandbox-standards.d.ts +1 -1
- package/dist/prompts/sandbox-standards.js +34 -21
- package/dist/reference-data/catalog.d.ts +33 -3
- package/dist/reference-data/catalog.js +213 -8
- package/dist/tasks/data-profile.d.ts +2 -1
- package/dist/tasks/data-profile.js +2 -0
- package/dist/tools/research/generate-plan.d.ts +2 -1
- package/dist/tools/research/generate-plan.js +15 -3
- package/dist/tools/sandbox/list-available-packages.d.ts +8 -3
- package/dist/tools/sandbox/list-available-packages.js +72 -38
- package/dist/tools/sandbox/list-available-refs.d.ts +30 -77
- package/dist/tools/sandbox/list-available-refs.js +359 -443
- package/package.json +1 -1
|
@@ -6,6 +6,14 @@ export declare const REFERENCE_DATA_CATALOG_VERSION: 1;
|
|
|
6
6
|
export declare const ReferenceArtifactPathSchema: z.ZodString;
|
|
7
7
|
/** Lowercase SHA-256 digest of one artifact's bytes. */
|
|
8
8
|
export declare const ReferenceSha256Schema: z.ZodString;
|
|
9
|
+
/**
|
|
10
|
+
* Logical content format, independent of compression: a `.txt.gz` mapping table
|
|
11
|
+
* is `tsv`, not `gz`. Agents pick a reader from this rather than guessing from
|
|
12
|
+
* the extension, so it stays a free token instead of an enum — a new source must
|
|
13
|
+
* remain cheap to add, and an unrecognized format degrades to "unknown reader"
|
|
14
|
+
* rather than failing catalog validation.
|
|
15
|
+
*/
|
|
16
|
+
export declare const ReferenceArtifactFormatSchema: z.ZodString;
|
|
9
17
|
/**
|
|
10
18
|
* One final file distributed for a reference dataset: a stable install-relative
|
|
11
19
|
* path and the third-party https URL it is fetched from. The catalog carries no
|
|
@@ -15,17 +23,32 @@ export declare const ReferenceSha256Schema: z.ZodString;
|
|
|
15
23
|
* one uniform trust-on-first-use model; there is deliberately no per-artifact
|
|
16
24
|
* integrity class, so adding a source is only ever a URL, and no checked-in
|
|
17
25
|
* digest is ours to maintain or lets go stale when a `current` upstream rebuilds.
|
|
26
|
+
*
|
|
27
|
+
* `format` and `contents` exist because skills name no paths: an agent asked for
|
|
28
|
+
* "a TF-target regulon network" can only match that against an inventory entry if
|
|
29
|
+
* the entry says what it holds and how to read it. `contents` should name the
|
|
30
|
+
* shape a caller must know — key columns, identifier space — not restate the title.
|
|
18
31
|
*/
|
|
19
32
|
export declare const ReferenceArtifactSchema: z.ZodObject<{
|
|
20
33
|
path: z.ZodString;
|
|
21
34
|
url: z.ZodURL;
|
|
35
|
+
format: z.ZodString;
|
|
36
|
+
contents: z.ZodString;
|
|
22
37
|
}, z.core.$strict>;
|
|
38
|
+
/**
|
|
39
|
+
* Common-name organism the dataset describes, lowercase (`human`, `mouse`, `rat`).
|
|
40
|
+
* Omitted for species-agnostic or multi-species sources. This is the axis a wrong
|
|
41
|
+
* choice is most silently wrong on — human regulons over mouse counts still run —
|
|
42
|
+
* so it is a first-class field rather than something inferred from the id suffix.
|
|
43
|
+
*/
|
|
44
|
+
export declare const ReferenceOrganismSchema: z.ZodString;
|
|
23
45
|
/** Provenance and licensing information for one supported reference dataset. */
|
|
24
46
|
export declare const ReferenceDatasetSchema: z.ZodObject<{
|
|
25
47
|
id: z.ZodString;
|
|
26
48
|
version: z.ZodString;
|
|
27
49
|
title: z.ZodString;
|
|
28
50
|
description: z.ZodString;
|
|
51
|
+
organism: z.ZodOptional<z.ZodString>;
|
|
29
52
|
sourceUrl: z.ZodURL;
|
|
30
53
|
license: z.ZodObject<{
|
|
31
54
|
identifier: z.ZodString;
|
|
@@ -38,6 +61,8 @@ export declare const ReferenceDatasetSchema: z.ZodObject<{
|
|
|
38
61
|
artifacts: z.ZodArray<z.ZodObject<{
|
|
39
62
|
path: z.ZodString;
|
|
40
63
|
url: z.ZodURL;
|
|
64
|
+
format: z.ZodString;
|
|
65
|
+
contents: z.ZodString;
|
|
41
66
|
}, z.core.$strict>>;
|
|
42
67
|
}, z.core.$strip>;
|
|
43
68
|
/** Versioned canonical catalog consumed identically by every harness embedder. */
|
|
@@ -48,6 +73,7 @@ export declare const ReferenceDataCatalogSchema: z.ZodObject<{
|
|
|
48
73
|
version: z.ZodString;
|
|
49
74
|
title: z.ZodString;
|
|
50
75
|
description: z.ZodString;
|
|
76
|
+
organism: z.ZodOptional<z.ZodString>;
|
|
51
77
|
sourceUrl: z.ZodURL;
|
|
52
78
|
license: z.ZodObject<{
|
|
53
79
|
identifier: z.ZodString;
|
|
@@ -60,6 +86,8 @@ export declare const ReferenceDataCatalogSchema: z.ZodObject<{
|
|
|
60
86
|
artifacts: z.ZodArray<z.ZodObject<{
|
|
61
87
|
path: z.ZodString;
|
|
62
88
|
url: z.ZodURL;
|
|
89
|
+
format: z.ZodString;
|
|
90
|
+
contents: z.ZodString;
|
|
63
91
|
}, z.core.$strict>>;
|
|
64
92
|
}, z.core.$strip>>;
|
|
65
93
|
}, z.core.$strip>;
|
|
@@ -83,9 +111,11 @@ export declare function referenceArtifactKey(dataset: {
|
|
|
83
111
|
/**
|
|
84
112
|
* Canonical release catalog. Every artifact is fetched directly from the third
|
|
85
113
|
* party that publishes it; this project hosts, mirrors, and redistributes
|
|
86
|
-
* nothing. Entries are added with a real upstream https URL, provenance
|
|
87
|
-
* licensing data
|
|
88
|
-
* keep in sync.
|
|
114
|
+
* nothing. Entries are added with a real upstream https URL, provenance and
|
|
115
|
+
* licensing data, and a description of what the file holds — but never a size or
|
|
116
|
+
* digest to compute and keep in sync. The descriptive half is what makes a
|
|
117
|
+
* dataset findable: this catalog is the only place that says what a reference
|
|
118
|
+
* file is, so nothing downstream has to encode a path or a filename to use it.
|
|
89
119
|
*
|
|
90
120
|
* `version` is the dataset's upstream release identifier. Datasets built on an
|
|
91
121
|
* upstream that has no immutable release — NCBI regenerates `gene_info` daily,
|