@tiangong-ai/cli 0.0.36 → 0.0.38
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/AGENTS.md +2 -2
- package/README.md +46 -5
- package/dist/research/orchestration.js +36 -1
- package/dist/research/orchestration.js.map +1 -1
- package/dist/research/workspace/acquisition-routes.d.ts +14 -0
- package/dist/research/workspace/acquisition-routes.js +45 -0
- package/dist/research/workspace/acquisition-routes.js.map +1 -0
- package/dist/research/workspace/broker.js +54 -10
- package/dist/research/workspace/broker.js.map +1 -1
- package/dist/research/workspace/downloads.d.ts +6 -0
- package/dist/research/workspace/downloads.js +32 -8
- package/dist/research/workspace/downloads.js.map +1 -1
- package/dist/research/workspace/evidence-exhaustion.d.ts +45 -0
- package/dist/research/workspace/evidence-exhaustion.js +365 -0
- package/dist/research/workspace/evidence-exhaustion.js.map +1 -0
- package/dist/research/workspace/native-activity.d.ts +6 -0
- package/dist/research/workspace/native-activity.js +24 -7
- package/dist/research/workspace/native-activity.js.map +1 -1
- package/dist/research/workspace/preflight.js +18 -2
- package/dist/research/workspace/preflight.js.map +1 -1
- package/dist/research/workspace/projects.js +52 -0
- package/dist/research/workspace/projects.js.map +1 -1
- package/dist/research/workspace/research-policy.d.ts +16 -0
- package/dist/research/workspace/research-policy.js +73 -11
- package/dist/research/workspace/research-policy.js.map +1 -1
- package/dist/research/workspace/runtime.d.ts +151 -3
- package/dist/research/workspace/runtime.js +176 -5
- package/dist/research/workspace/runtime.js.map +1 -1
- package/dist/research/workspace/scientific-design.d.ts +23 -0
- package/dist/research/workspace/scientific-design.js +176 -0
- package/dist/research/workspace/scientific-design.js.map +1 -1
- package/dist/research/workspace/setup-catalog.js +2 -2
- package/dist/research/workspace/setup.js +15 -0
- package/dist/research/workspace/setup.js.map +1 -1
- package/dist/research/workspace/types.d.ts +27 -0
- package/package.json +1 -1
|
@@ -273,6 +273,30 @@ export interface ProjectUsage {
|
|
|
273
273
|
costUsd: number;
|
|
274
274
|
wallSeconds: number;
|
|
275
275
|
}
|
|
276
|
+
export type ResearchHandoffKind = "interactive-challenge" | "external-wait" | "evidence-exhausted";
|
|
277
|
+
export interface ResearchEvidenceRouteAttempt {
|
|
278
|
+
routeId: string;
|
|
279
|
+
terminalEventHashes: string[];
|
|
280
|
+
outcome: "completed-insufficient" | "access-blocked" | "deterministic-unavailable";
|
|
281
|
+
}
|
|
282
|
+
export interface ResearchEvidenceExhaustion {
|
|
283
|
+
missingEvidenceRoleIds: string[];
|
|
284
|
+
routeAttempts: ResearchEvidenceRouteAttempt[];
|
|
285
|
+
remainingRouteIds: string[];
|
|
286
|
+
}
|
|
287
|
+
export interface ResearchAccessRequest {
|
|
288
|
+
id: string;
|
|
289
|
+
routeId: string;
|
|
290
|
+
resourceType: "database-subscription" | "article-purchase" | "institutional-access" | "licensed-dataset" | "owner-provided-material" | "external-data-request" | "field-data-collection";
|
|
291
|
+
resourceName: string;
|
|
292
|
+
officialLocator: string | null;
|
|
293
|
+
evidenceRoleIds: string[];
|
|
294
|
+
rationale: string;
|
|
295
|
+
alternativesTriedRouteIds: string[];
|
|
296
|
+
requestedAction: string;
|
|
297
|
+
resumeCriteria: string;
|
|
298
|
+
costStatus: "unknown" | "provider-quote-required";
|
|
299
|
+
}
|
|
276
300
|
export interface ProjectState {
|
|
277
301
|
schemaVersion: 1;
|
|
278
302
|
id: string;
|
|
@@ -297,10 +321,13 @@ export interface ProjectState {
|
|
|
297
321
|
};
|
|
298
322
|
handoff: {
|
|
299
323
|
state: "agent-actionable" | "user-action-required" | "external-response-required";
|
|
324
|
+
kind: ResearchHandoffKind | null;
|
|
300
325
|
reasonCode: string | null;
|
|
301
326
|
summary: string | null;
|
|
302
327
|
requestedActions: string[];
|
|
303
328
|
evidenceGaps: string[];
|
|
329
|
+
exhaustion: ResearchEvidenceExhaustion | null;
|
|
330
|
+
accessRequests: ResearchAccessRequest[];
|
|
304
331
|
requestedAt: string | null;
|
|
305
332
|
resolvedAt: string | null;
|
|
306
333
|
resolutionNote: string | null;
|