@tiangong-ai/cli 0.0.34 → 0.0.35

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.
Files changed (33) hide show
  1. package/AGENTS.md +4 -2
  2. package/README.md +63 -0
  3. package/dist/research/orchestration.js +366 -9
  4. package/dist/research/orchestration.js.map +1 -1
  5. package/dist/research/workspace/input-plan.js +27 -1
  6. package/dist/research/workspace/input-plan.js.map +1 -1
  7. package/dist/research/workspace/projects.d.ts +6 -3
  8. package/dist/research/workspace/projects.js +21 -2
  9. package/dist/research/workspace/projects.js.map +1 -1
  10. package/dist/research/workspace/publication-workflow.d.ts +146 -0
  11. package/dist/research/workspace/publication-workflow.js +992 -0
  12. package/dist/research/workspace/publication-workflow.js.map +1 -0
  13. package/dist/research/workspace/publication.d.ts +110 -0
  14. package/dist/research/workspace/publication.js +246 -0
  15. package/dist/research/workspace/publication.js.map +1 -0
  16. package/dist/research/workspace/research-policy-wizard.d.ts +40 -0
  17. package/dist/research/workspace/research-policy-wizard.js +167 -0
  18. package/dist/research/workspace/research-policy-wizard.js.map +1 -0
  19. package/dist/research/workspace/research-policy.d.ts +70 -0
  20. package/dist/research/workspace/research-policy.js +886 -0
  21. package/dist/research/workspace/research-policy.js.map +1 -0
  22. package/dist/research/workspace/runtime.d.ts +17 -0
  23. package/dist/research/workspace/runtime.js +81 -2
  24. package/dist/research/workspace/runtime.js.map +1 -1
  25. package/dist/research/workspace/setup-catalog.js +2 -2
  26. package/dist/research/workspace/setup-wizard.d.ts +18 -1
  27. package/dist/research/workspace/setup-wizard.js +1 -1
  28. package/dist/research/workspace/setup-wizard.js.map +1 -1
  29. package/dist/research/workspace/setup.d.ts +1 -0
  30. package/dist/research/workspace/setup.js +55 -0
  31. package/dist/research/workspace/setup.js.map +1 -1
  32. package/dist/research/workspace/types.d.ts +31 -0
  33. package/package.json +3 -2
@@ -149,8 +149,11 @@ export interface ProjectInput {
149
149
  dimensions?: string[];
150
150
  fullText?: boolean;
151
151
  publicationDate?: string | null;
152
+ trustStatus?: ProjectInputTrustStatus;
153
+ independentlyReproduced?: boolean;
152
154
  addedAt: string;
153
155
  }
156
+ export type ProjectInputTrustStatus = "verified-owner-input" | "unverified-owner-input" | "reference-only" | "replication-candidate";
154
157
  export interface ProjectInputLineRange {
155
158
  startLine: number;
156
159
  endLine: number;
@@ -164,6 +167,8 @@ export interface ProjectInputPlanEntry {
164
167
  sourceType: string;
165
168
  fullText: boolean;
166
169
  publicationDate: string | null;
170
+ trustStatus?: ProjectInputTrustStatus;
171
+ independentlyReproduced?: boolean;
167
172
  }
168
173
  export interface ProjectInputPlan {
169
174
  schemaVersion: 1;
@@ -193,6 +198,31 @@ export interface ProjectEvidenceRequirements {
193
198
  publicationDateFrom: string | null;
194
199
  publicationDateTo: string | null;
195
200
  }
201
+ export type ResearchVerdictCeiling = "top-journal-feasibility-complete" | "top-journal-candidate" | "top-journal-class-ready" | "target-journal-submission-ready";
202
+ export interface ResearchPolicyBinding {
203
+ goal: "top-journal";
204
+ projectId: string;
205
+ articleType: string;
206
+ field: string;
207
+ journalClass: string;
208
+ targetJournal: string | null;
209
+ resolvedPolicySha256: string;
210
+ approvalSha256: string;
211
+ verdictCeiling: ResearchVerdictCeiling;
212
+ documents: Array<{
213
+ id: string;
214
+ kind: string;
215
+ logicalPath: string;
216
+ sha256: string;
217
+ sourceClass: "bundled-default" | "human-customized";
218
+ objectLocator: string;
219
+ }>;
220
+ resolvedRules: string[];
221
+ resolvedConstraints?: Record<string, boolean | number | string | string[]>;
222
+ requiredReviewers: string[];
223
+ approvedAt: string;
224
+ expiresAt: string;
225
+ }
196
226
  export interface WorkPackage {
197
227
  id: string;
198
228
  stage: "discover" | "acquire" | "analyze" | "synthesize" | "review" | "close";
@@ -227,6 +257,7 @@ export interface ProjectState {
227
257
  budgetConfirmedAt: string | null;
228
258
  inputs: ProjectInput[];
229
259
  evidenceRequirements: ProjectEvidenceRequirements;
260
+ publicationPolicy?: ResearchPolicyBinding | null;
230
261
  packages: WorkPackage[];
231
262
  usage: ProjectUsage;
232
263
  lineage: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiangong-ai/cli",
3
- "version": "0.0.34",
3
+ "version": "0.0.35",
4
4
  "description": "Tiangong AI command-line interface.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -62,6 +62,7 @@
62
62
  "@aws-sdk/client-s3": "^3.1056.0",
63
63
  "ajv": "8.20.0",
64
64
  "pdf-lib": "^1.17.1",
65
- "sharp": "^0.35.3"
65
+ "sharp": "^0.35.3",
66
+ "yaml": "2.9.0"
66
67
  }
67
68
  }