clinkx 1.0.0 → 1.1.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/CHANGELOG.md +95 -0
- package/README.md +184 -112
- package/clinkx-workflows/dist/chairman-knobs.d.ts +24 -0
- package/clinkx-workflows/dist/chairman-knobs.js +27 -0
- package/clinkx-workflows/dist/chairman-knobs.js.map +1 -0
- package/clinkx-workflows/dist/clink-client.d.ts +10 -0
- package/clinkx-workflows/dist/clink-client.js +39 -1
- package/clinkx-workflows/dist/clink-client.js.map +1 -1
- package/clinkx-workflows/dist/config.d.ts +29 -1
- package/clinkx-workflows/dist/config.js +35 -2
- package/clinkx-workflows/dist/config.js.map +1 -1
- package/clinkx-workflows/dist/context-preflight.d.ts +5 -0
- package/clinkx-workflows/dist/context-preflight.js.map +1 -1
- package/clinkx-workflows/dist/council-execution-policy.d.ts +68 -0
- package/clinkx-workflows/dist/council-execution-policy.js +110 -0
- package/clinkx-workflows/dist/council-execution-policy.js.map +1 -0
- package/clinkx-workflows/dist/council-expander.d.ts +9 -8
- package/clinkx-workflows/dist/council-expander.js +18 -9
- package/clinkx-workflows/dist/council-expander.js.map +1 -1
- package/clinkx-workflows/dist/dashboard/activity-contract.d.ts +5557 -4
- package/clinkx-workflows/dist/dashboard/activity-contract.js +55 -3
- package/clinkx-workflows/dist/dashboard/activity-contract.js.map +1 -1
- package/clinkx-workflows/dist/dashboard/activity-reader.d.ts +9 -5
- package/clinkx-workflows/dist/dashboard/activity-reader.js +15 -2
- package/clinkx-workflows/dist/dashboard/activity-reader.js.map +1 -1
- package/clinkx-workflows/dist/dashboard/api-routes.d.ts +4 -0
- package/clinkx-workflows/dist/dashboard/api-routes.js +133 -25
- package/clinkx-workflows/dist/dashboard/api-routes.js.map +1 -1
- package/clinkx-workflows/dist/dashboard/context-builder-invocation-contract.d.ts +3865 -0
- package/clinkx-workflows/dist/dashboard/context-builder-invocation-contract.js +69 -0
- package/clinkx-workflows/dist/dashboard/context-builder-invocation-contract.js.map +1 -0
- package/clinkx-workflows/dist/dashboard/context-run-reader.d.ts +36 -2
- package/clinkx-workflows/dist/dashboard/context-run-reader.js +142 -19
- package/clinkx-workflows/dist/dashboard/context-run-reader.js.map +1 -1
- package/clinkx-workflows/dist/dashboard/contracts.d.ts +20027 -480
- package/clinkx-workflows/dist/dashboard/contracts.js +133 -6
- package/clinkx-workflows/dist/dashboard/contracts.js.map +1 -1
- package/clinkx-workflows/dist/dashboard/index.d.ts +4 -0
- package/clinkx-workflows/dist/dashboard/index.js +4 -0
- package/clinkx-workflows/dist/dashboard/index.js.map +1 -1
- package/clinkx-workflows/dist/dashboard/invocation-contract.d.ts +786 -0
- package/clinkx-workflows/dist/dashboard/invocation-contract.js +201 -0
- package/clinkx-workflows/dist/dashboard/invocation-contract.js.map +1 -0
- package/clinkx-workflows/dist/dashboard/lazy-content.d.ts +14 -1
- package/clinkx-workflows/dist/dashboard/lazy-content.js +53 -2
- package/clinkx-workflows/dist/dashboard/lazy-content.js.map +1 -1
- package/clinkx-workflows/dist/dashboard/native-transcript/contract.d.ts +90 -0
- package/clinkx-workflows/dist/dashboard/native-transcript/contract.js +31 -0
- package/clinkx-workflows/dist/dashboard/native-transcript/contract.js.map +1 -0
- package/clinkx-workflows/dist/dashboard/native-transcript/projection.d.ts +12 -0
- package/clinkx-workflows/dist/dashboard/native-transcript/projection.js +286 -0
- package/clinkx-workflows/dist/dashboard/native-transcript/projection.js.map +1 -0
- package/clinkx-workflows/dist/dashboard/progress-report-contract.d.ts +147 -4
- package/clinkx-workflows/dist/dashboard/progress-report-contract.js +11 -11
- package/clinkx-workflows/dist/dashboard/progress-report-contract.js.map +1 -1
- package/clinkx-workflows/dist/dashboard/progress-report-reader.js +4 -56
- package/clinkx-workflows/dist/dashboard/progress-report-reader.js.map +1 -1
- package/clinkx-workflows/dist/dashboard/progress-report-status-store.d.ts +2 -1
- package/clinkx-workflows/dist/dashboard/progress-report-status-store.js +6 -5
- package/clinkx-workflows/dist/dashboard/progress-report-status-store.js.map +1 -1
- package/clinkx-workflows/dist/dashboard/prompt-builder-library-contract.d.ts +194 -0
- package/clinkx-workflows/dist/dashboard/prompt-builder-library-contract.js +89 -0
- package/clinkx-workflows/dist/dashboard/prompt-builder-library-contract.js.map +1 -0
- package/clinkx-workflows/dist/dashboard/prompt-builder-library-store.d.ts +26 -0
- package/clinkx-workflows/dist/dashboard/prompt-builder-library-store.js +102 -0
- package/clinkx-workflows/dist/dashboard/prompt-builder-library-store.js.map +1 -0
- package/clinkx-workflows/dist/dashboard/request-admission.js +4 -0
- package/clinkx-workflows/dist/dashboard/request-admission.js.map +1 -1
- package/clinkx-workflows/dist/dashboard/scanner.d.ts +3 -0
- package/clinkx-workflows/dist/dashboard/scanner.js +52 -8
- package/clinkx-workflows/dist/dashboard/scanner.js.map +1 -1
- package/clinkx-workflows/dist/dashboard/server-factory.d.ts +14 -1
- package/clinkx-workflows/dist/dashboard/server-factory.js +73 -21
- package/clinkx-workflows/dist/dashboard/server-factory.js.map +1 -1
- package/clinkx-workflows/dist/dashboard/session-log-contract.d.ts +223 -56
- package/clinkx-workflows/dist/dashboard/session-log-contract.js +26 -0
- package/clinkx-workflows/dist/dashboard/session-log-contract.js.map +1 -1
- package/clinkx-workflows/dist/dashboard/session-log-journal.js +10 -3
- package/clinkx-workflows/dist/dashboard/session-log-journal.js.map +1 -1
- package/clinkx-workflows/dist/dashboard/session-log-redaction.d.ts +9 -1
- package/clinkx-workflows/dist/dashboard/session-log-redaction.js +793 -59
- package/clinkx-workflows/dist/dashboard/session-log-redaction.js.map +1 -1
- package/clinkx-workflows/dist/dashboard-ui/assets/index-JPHQVtn9.js +106 -0
- package/clinkx-workflows/dist/dashboard-ui/assets/style-DOMHk-j6.css +1 -0
- package/clinkx-workflows/dist/dashboard-ui/index.html +2 -2
- package/clinkx-workflows/dist/delegate-finalizer-policy.d.ts +26 -0
- package/clinkx-workflows/dist/delegate-finalizer-policy.js +72 -0
- package/clinkx-workflows/dist/delegate-finalizer-policy.js.map +1 -0
- package/clinkx-workflows/dist/delegate-signature.d.ts +14 -0
- package/clinkx-workflows/dist/delegate-signature.js +14 -0
- package/clinkx-workflows/dist/delegate-signature.js.map +1 -0
- package/clinkx-workflows/dist/delegate-validate.d.ts +32 -2
- package/clinkx-workflows/dist/delegate-validate.js +51 -0
- package/clinkx-workflows/dist/delegate-validate.js.map +1 -1
- package/clinkx-workflows/dist/engine.d.ts +113 -3
- package/clinkx-workflows/dist/engine.js +476 -80
- package/clinkx-workflows/dist/engine.js.map +1 -1
- package/clinkx-workflows/dist/errors.d.ts +22 -2
- package/clinkx-workflows/dist/errors.js +30 -2
- package/clinkx-workflows/dist/errors.js.map +1 -1
- package/clinkx-workflows/dist/fidelity.d.ts +47 -1
- package/clinkx-workflows/dist/fidelity.js +54 -1
- package/clinkx-workflows/dist/fidelity.js.map +1 -1
- package/clinkx-workflows/dist/fingerprint.d.ts +24 -6
- package/clinkx-workflows/dist/fingerprint.js +32 -9
- package/clinkx-workflows/dist/fingerprint.js.map +1 -1
- package/clinkx-workflows/dist/index.js +53 -1
- package/clinkx-workflows/dist/index.js.map +1 -1
- package/clinkx-workflows/dist/logger.d.ts +1 -1
- package/clinkx-workflows/dist/logger.js +17 -3
- package/clinkx-workflows/dist/logger.js.map +1 -1
- package/clinkx-workflows/dist/monotonic-clock.d.ts +19 -0
- package/clinkx-workflows/dist/monotonic-clock.js +22 -0
- package/clinkx-workflows/dist/monotonic-clock.js.map +1 -0
- package/clinkx-workflows/dist/plan-review/contract.d.ts +52 -52
- package/clinkx-workflows/dist/plan-review/publication.d.ts +4 -4
- package/clinkx-workflows/dist/plan-review/run-state.d.ts +16 -16
- package/clinkx-workflows/dist/roster-contract.d.ts +889 -0
- package/clinkx-workflows/dist/roster-contract.js +180 -0
- package/clinkx-workflows/dist/roster-contract.js.map +1 -0
- package/clinkx-workflows/dist/rosters.d.ts +14 -0
- package/clinkx-workflows/dist/rosters.js +169 -0
- package/clinkx-workflows/dist/rosters.js.map +1 -0
- package/clinkx-workflows/dist/run-health.d.ts +7 -0
- package/clinkx-workflows/dist/run-health.js +25 -0
- package/clinkx-workflows/dist/run-health.js.map +1 -0
- package/clinkx-workflows/dist/schema.d.ts +64 -0
- package/clinkx-workflows/dist/schema.js +24 -0
- package/clinkx-workflows/dist/schema.js.map +1 -1
- package/clinkx-workflows/dist/server.js +2 -0
- package/clinkx-workflows/dist/server.js.map +1 -1
- package/clinkx-workflows/dist/shutdown.d.ts +15 -2
- package/clinkx-workflows/dist/shutdown.js +60 -16
- package/clinkx-workflows/dist/shutdown.js.map +1 -1
- package/clinkx-workflows/dist/state-schema.d.ts +23 -0
- package/clinkx-workflows/dist/state.d.ts +5 -0
- package/clinkx-workflows/dist/state.js +128 -21
- package/clinkx-workflows/dist/state.js.map +1 -1
- package/clinkx-workflows/dist/stdio-watchdog.d.ts +52 -0
- package/clinkx-workflows/dist/stdio-watchdog.js +212 -0
- package/clinkx-workflows/dist/stdio-watchdog.js.map +1 -0
- package/clinkx-workflows/dist/types.d.ts +6 -0
- package/clinkx-workflows/dist/validators/council.d.ts +50 -50
- package/clinkx-workflows/dist/validators/plan-review.d.ts +3 -3
- package/clinkx-workflows/dist/workflow-tools.d.ts +70 -0
- package/clinkx-workflows/dist/workflow-tools.js +760 -168
- package/clinkx-workflows/dist/workflow-tools.js.map +1 -1
- package/clinkx-workflows/templates/council/answer-chairman.txt +3 -0
- package/clinkx-workflows/templates/council/answer-cross-reviewer.txt +3 -0
- package/clinkx-workflows/templates/council/answer-specialist.txt +3 -0
- package/clinkx-workflows/templates/council/chairman.txt +3 -0
- package/clinkx-workflows/templates/council/code-review-chairman.txt +3 -0
- package/clinkx-workflows/templates/council/code-review-cross-reviewer.txt +3 -0
- package/clinkx-workflows/templates/council/code-review-reviewer.txt +3 -0
- package/clinkx-workflows/templates/council/debug-chairman.txt +3 -0
- package/clinkx-workflows/templates/council/debug-cross-reviewer.txt +3 -0
- package/clinkx-workflows/templates/council/debug-debugger.txt +3 -0
- package/clinkx-workflows/templates/council/discover-analyst.txt +3 -0
- package/clinkx-workflows/templates/council/discover-chairman.txt +3 -0
- package/clinkx-workflows/templates/council/discover-cross-reviewer.txt +3 -0
- package/clinkx-workflows/templates/council/member.txt +3 -0
- package/clinkx-workflows/templates/council/plan-review-chairman.txt +3 -0
- package/clinkx-workflows/templates/council/plan-review-cross-reviewer.txt +3 -0
- package/clinkx-workflows/templates/council/plan-review-reviewer.txt +3 -0
- package/clinkx-workflows/templates/council/reviewer.txt +3 -0
- package/clinkx-workflows/workflows/council-answer.yaml +3 -0
- package/clinkx-workflows/workflows/council-code-review.yaml +3 -0
- package/clinkx-workflows/workflows/council-debug.yaml +3 -0
- package/clinkx-workflows/workflows/council-default.yaml +7 -0
- package/clinkx-workflows/workflows/council-discover.yaml +3 -0
- package/clinkx-workflows/workflows/council-plan-review.yaml +3 -0
- package/conf/adapters/agy.json +9 -2
- package/conf/adapters/claude.json +7 -0
- package/conf/adapters/codex.json +7 -0
- package/conf/adapters/glm.json +19 -3
- package/conf/adapters/grok.json +9 -2
- package/conf/adapters/hapi/agy.json +9 -2
- package/conf/adapters/hapi/claude.json +7 -0
- package/conf/adapters/hapi/codex.json +7 -0
- package/conf/adapters/hapi/glm.json +20 -4
- package/conf/rosters/default-council.json +21 -0
- package/dist/activity-journal.d.ts +17 -3
- package/dist/activity-journal.js +404 -79
- package/dist/activity-journal.js.map +1 -1
- package/dist/codex/agent-tools.js +36 -0
- package/dist/codex/agent-tools.js.map +1 -1
- package/dist/codex/app-server-client.d.ts +3 -0
- package/dist/codex/app-server-client.js +11 -0
- package/dist/codex/app-server-client.js.map +1 -1
- package/dist/codex/app-server-registry.d.ts +18 -0
- package/dist/codex/app-server-registry.js +88 -2
- package/dist/codex/app-server-registry.js.map +1 -1
- package/dist/codex/client-types.d.ts +7 -1
- package/dist/codex/protocol.d.ts +4 -4
- package/dist/config.d.ts +220 -23
- package/dist/config.js +104 -1
- package/dist/config.js.map +1 -1
- package/dist/context-builder/bundle.d.ts +13 -0
- package/dist/context-builder/bundle.js +46 -0
- package/dist/context-builder/bundle.js.map +1 -1
- package/dist/context-builder/delegate-finalizer-effective.d.ts +33 -0
- package/dist/context-builder/delegate-finalizer-effective.js +82 -0
- package/dist/context-builder/delegate-finalizer-effective.js.map +1 -0
- package/dist/context-builder/delegate-packet.d.ts +18 -0
- package/dist/context-builder/delegate-packet.js +73 -9
- package/dist/context-builder/delegate-packet.js.map +1 -1
- package/dist/context-builder/delegate-reconstruction.d.ts +29 -0
- package/dist/context-builder/delegate-reconstruction.js +110 -41
- package/dist/context-builder/delegate-reconstruction.js.map +1 -1
- package/dist/context-builder/delegate-validation.d.ts +31 -0
- package/dist/context-builder/delegate-validation.js +87 -10
- package/dist/context-builder/delegate-validation.js.map +1 -1
- package/dist/context-builder/delegate.d.ts +9 -0
- package/dist/context-builder/delegate.js +210 -59
- package/dist/context-builder/delegate.js.map +1 -1
- package/dist/context-builder/diagnostics.d.ts +1 -1
- package/dist/context-builder/diagnostics.js.map +1 -1
- package/dist/context-builder/discovery-progress.d.ts +25 -0
- package/dist/context-builder/discovery-progress.js +64 -0
- package/dist/context-builder/discovery-progress.js.map +1 -0
- package/dist/context-builder/discovery-watchdog.d.ts +15 -0
- package/dist/context-builder/discovery-watchdog.js +39 -0
- package/dist/context-builder/discovery-watchdog.js.map +1 -0
- package/dist/context-builder/discovery.d.ts +7 -0
- package/dist/context-builder/discovery.js +119 -7
- package/dist/context-builder/discovery.js.map +1 -1
- package/dist/context-builder/external-gaps.d.ts +73 -0
- package/dist/context-builder/external-gaps.js +248 -0
- package/dist/context-builder/external-gaps.js.map +1 -0
- package/dist/context-builder/globs.d.ts +1 -0
- package/dist/context-builder/globs.js +15 -0
- package/dist/context-builder/globs.js.map +1 -1
- package/dist/context-builder/handler.d.ts +42 -1
- package/dist/context-builder/handler.js +690 -62
- package/dist/context-builder/handler.js.map +1 -1
- package/dist/context-builder/invocation-sidecar.d.ts +41 -0
- package/dist/context-builder/invocation-sidecar.js +189 -0
- package/dist/context-builder/invocation-sidecar.js.map +1 -0
- package/dist/context-builder/lifecycle-contract.d.ts +51 -51
- package/dist/context-builder/mutation-lock.d.ts +32 -0
- package/dist/context-builder/mutation-lock.js +321 -0
- package/dist/context-builder/mutation-lock.js.map +1 -0
- package/dist/context-builder/review-coverage.d.ts +32 -0
- package/dist/context-builder/review-coverage.js +130 -23
- package/dist/context-builder/review-coverage.js.map +1 -1
- package/dist/context-builder/schema.d.ts +76 -1
- package/dist/context-builder/schema.js +21 -1
- package/dist/context-builder/schema.js.map +1 -1
- package/dist/context-builder/secrets.d.ts +31 -0
- package/dist/context-builder/secrets.js +871 -84
- package/dist/context-builder/secrets.js.map +1 -1
- package/dist/context-builder/status.d.ts +1 -1
- package/dist/context-builder/status.js +1 -0
- package/dist/context-builder/status.js.map +1 -1
- package/dist/context-builder/storage.d.ts +29 -5
- package/dist/context-builder/storage.js +311 -236
- package/dist/context-builder/storage.js.map +1 -1
- package/dist/context-builder/versions.d.ts +19 -4
- package/dist/context-builder/versions.js +19 -4
- package/dist/context-builder/versions.js.map +1 -1
- package/dist/context-builder/workflow-runner.d.ts +6 -0
- package/dist/context-builder/workflow-runner.js +363 -173
- package/dist/context-builder/workflow-runner.js.map +1 -1
- package/dist/dashboard-adapter-catalog.js +7 -0
- package/dist/dashboard-adapter-catalog.js.map +1 -1
- package/dist/dashboard-cli.d.ts +2 -0
- package/dist/dashboard-cli.js +40 -2
- package/dist/dashboard-cli.js.map +1 -1
- package/dist/dashboard-companion/client.d.ts +1 -0
- package/dist/dashboard-companion/client.js +22 -3
- package/dist/dashboard-companion/client.js.map +1 -1
- package/dist/dashboard-companion/protocol.js +4 -1
- package/dist/dashboard-companion/protocol.js.map +1 -1
- package/dist/dashboard-gateway/index.d.ts +1 -0
- package/dist/dashboard-gateway/index.js +33 -2
- package/dist/dashboard-gateway/index.js.map +1 -1
- package/dist/handler.js +5 -1
- package/dist/handler.js.map +1 -1
- package/dist/index.d.ts +18 -1
- package/dist/index.js +145 -7
- package/dist/index.js.map +1 -1
- package/dist/logger.d.ts +1 -1
- package/dist/logger.js +18 -3
- package/dist/logger.js.map +1 -1
- package/dist/parsers/agy-stream-json.d.ts +14 -0
- package/dist/parsers/agy-stream-json.js +172 -0
- package/dist/parsers/agy-stream-json.js.map +1 -0
- package/dist/parsers/extract.js +5 -1
- package/dist/parsers/extract.js.map +1 -1
- package/dist/parsers/observed-invocation.d.ts +20 -0
- package/dist/parsers/observed-invocation.js +42 -0
- package/dist/parsers/observed-invocation.js.map +1 -0
- package/dist/pipeline.d.ts +13 -0
- package/dist/pipeline.js +60 -10
- package/dist/pipeline.js.map +1 -1
- package/dist/progress-report/lock.d.ts +74 -0
- package/dist/progress-report/lock.js +343 -0
- package/dist/progress-report/lock.js.map +1 -0
- package/dist/progress-report/schema.d.ts +808 -0
- package/dist/progress-report/schema.js +119 -0
- package/dist/progress-report/schema.js.map +1 -0
- package/dist/progress-report/store.d.ts +66 -0
- package/dist/progress-report/store.js +766 -0
- package/dist/progress-report/store.js.map +1 -0
- package/dist/progress-report/tools.d.ts +20 -0
- package/dist/progress-report/tools.js +141 -0
- package/dist/progress-report/tools.js.map +1 -0
- package/dist/prompt-mode.d.ts +1 -1
- package/dist/prompt-mode.js +7 -2
- package/dist/prompt-mode.js.map +1 -1
- package/dist/runner.d.ts +7 -0
- package/dist/runner.js +10 -3
- package/dist/runner.js.map +1 -1
- package/dist/safety.d.ts +50 -0
- package/dist/safety.js +182 -1
- package/dist/safety.js.map +1 -1
- package/dist/schema.d.ts +8 -0
- package/dist/schema.js +20 -0
- package/dist/schema.js.map +1 -1
- package/dist/server.d.ts +6 -1
- package/dist/server.js +94 -8
- package/dist/server.js.map +1 -1
- package/dist/session-log-stream.d.ts +1 -1
- package/dist/session-log-stream.js +280 -33
- package/dist/session-log-stream.js.map +1 -1
- package/dist/stdio-activity.d.ts +28 -0
- package/dist/stdio-activity.js +72 -0
- package/dist/stdio-activity.js.map +1 -0
- package/docs/configuration.md +426 -0
- package/docs/security.md +293 -0
- package/package.json +5 -5
- package/clinkx-workflows/dist/dashboard-ui/assets/index-DOkMXTfB.js +0 -25
- package/clinkx-workflows/dist/dashboard-ui/assets/style-ChJsn0KD.css +0 -1
|
@@ -0,0 +1,808 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const ProgressReportStartInputSchema: z.ZodObject<{
|
|
3
|
+
request_id: z.ZodString;
|
|
4
|
+
project_folder: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
5
|
+
title: z.ZodEffects<z.ZodString, string, string>;
|
|
6
|
+
goal: z.ZodEffects<z.ZodString, string, string>;
|
|
7
|
+
opened_by: z.ZodEffects<z.ZodString, string, string>;
|
|
8
|
+
agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
10
|
+
role: z.ZodEffects<z.ZodString, string, string>;
|
|
11
|
+
status: z.ZodEnum<["working", "idle", "blocked", "done"]>;
|
|
12
|
+
activity: z.ZodEffects<z.ZodString, string, string>;
|
|
13
|
+
}, "strict", z.ZodTypeAny, {
|
|
14
|
+
activity: string;
|
|
15
|
+
status: "blocked" | "idle" | "done" | "working";
|
|
16
|
+
role: string;
|
|
17
|
+
name: string;
|
|
18
|
+
}, {
|
|
19
|
+
activity: string;
|
|
20
|
+
status: "blocked" | "idle" | "done" | "working";
|
|
21
|
+
role: string;
|
|
22
|
+
name: string;
|
|
23
|
+
}>, "many">>;
|
|
24
|
+
tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
25
|
+
id: z.ZodEffects<z.ZodString, string, string>;
|
|
26
|
+
title: z.ZodEffects<z.ZodString, string, string>;
|
|
27
|
+
status: z.ZodEnum<["pending", "active", "done", "blocked", "failed"]>;
|
|
28
|
+
agent: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
29
|
+
note: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
30
|
+
}, "strict", z.ZodTypeAny, {
|
|
31
|
+
status: "pending" | "failed" | "blocked" | "done" | "active";
|
|
32
|
+
id: string;
|
|
33
|
+
title: string;
|
|
34
|
+
note?: string | undefined;
|
|
35
|
+
agent?: string | undefined;
|
|
36
|
+
}, {
|
|
37
|
+
status: "pending" | "failed" | "blocked" | "done" | "active";
|
|
38
|
+
id: string;
|
|
39
|
+
title: string;
|
|
40
|
+
note?: string | undefined;
|
|
41
|
+
agent?: string | undefined;
|
|
42
|
+
}>, "many">>;
|
|
43
|
+
}, "strict", z.ZodTypeAny, {
|
|
44
|
+
title: string;
|
|
45
|
+
request_id: string;
|
|
46
|
+
project_folder: string;
|
|
47
|
+
goal: string;
|
|
48
|
+
opened_by: string;
|
|
49
|
+
tasks?: {
|
|
50
|
+
status: "pending" | "failed" | "blocked" | "done" | "active";
|
|
51
|
+
id: string;
|
|
52
|
+
title: string;
|
|
53
|
+
note?: string | undefined;
|
|
54
|
+
agent?: string | undefined;
|
|
55
|
+
}[] | undefined;
|
|
56
|
+
agents?: {
|
|
57
|
+
activity: string;
|
|
58
|
+
status: "blocked" | "idle" | "done" | "working";
|
|
59
|
+
role: string;
|
|
60
|
+
name: string;
|
|
61
|
+
}[] | undefined;
|
|
62
|
+
}, {
|
|
63
|
+
title: string;
|
|
64
|
+
request_id: string;
|
|
65
|
+
project_folder: string;
|
|
66
|
+
goal: string;
|
|
67
|
+
opened_by: string;
|
|
68
|
+
tasks?: {
|
|
69
|
+
status: "pending" | "failed" | "blocked" | "done" | "active";
|
|
70
|
+
id: string;
|
|
71
|
+
title: string;
|
|
72
|
+
note?: string | undefined;
|
|
73
|
+
agent?: string | undefined;
|
|
74
|
+
}[] | undefined;
|
|
75
|
+
agents?: {
|
|
76
|
+
activity: string;
|
|
77
|
+
status: "blocked" | "idle" | "done" | "working";
|
|
78
|
+
role: string;
|
|
79
|
+
name: string;
|
|
80
|
+
}[] | undefined;
|
|
81
|
+
}>;
|
|
82
|
+
export declare const ProgressReportChangesSchema: z.ZodEffects<z.ZodObject<{
|
|
83
|
+
session: z.ZodOptional<z.ZodObject<{
|
|
84
|
+
title: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
85
|
+
goal: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
86
|
+
status: z.ZodOptional<z.ZodEnum<["running", "paused", "blocked", "done", "failed"]>>;
|
|
87
|
+
}, "strict", z.ZodTypeAny, {
|
|
88
|
+
status?: "failed" | "running" | "blocked" | "done" | "paused" | undefined;
|
|
89
|
+
title?: string | undefined;
|
|
90
|
+
goal?: string | undefined;
|
|
91
|
+
}, {
|
|
92
|
+
status?: "failed" | "running" | "blocked" | "done" | "paused" | undefined;
|
|
93
|
+
title?: string | undefined;
|
|
94
|
+
goal?: string | undefined;
|
|
95
|
+
}>>;
|
|
96
|
+
agents_upsert: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
97
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
98
|
+
role: z.ZodEffects<z.ZodString, string, string>;
|
|
99
|
+
status: z.ZodEnum<["working", "idle", "blocked", "done"]>;
|
|
100
|
+
activity: z.ZodEffects<z.ZodString, string, string>;
|
|
101
|
+
}, "strict", z.ZodTypeAny, {
|
|
102
|
+
activity: string;
|
|
103
|
+
status: "blocked" | "idle" | "done" | "working";
|
|
104
|
+
role: string;
|
|
105
|
+
name: string;
|
|
106
|
+
}, {
|
|
107
|
+
activity: string;
|
|
108
|
+
status: "blocked" | "idle" | "done" | "working";
|
|
109
|
+
role: string;
|
|
110
|
+
name: string;
|
|
111
|
+
}>, "many">>;
|
|
112
|
+
tasks_upsert: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
113
|
+
id: z.ZodEffects<z.ZodString, string, string>;
|
|
114
|
+
title: z.ZodEffects<z.ZodString, string, string>;
|
|
115
|
+
status: z.ZodEnum<["pending", "active", "done", "blocked", "failed"]>;
|
|
116
|
+
agent: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
117
|
+
note: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
118
|
+
}, "strict", z.ZodTypeAny, {
|
|
119
|
+
status: "pending" | "failed" | "blocked" | "done" | "active";
|
|
120
|
+
id: string;
|
|
121
|
+
title: string;
|
|
122
|
+
note?: string | undefined;
|
|
123
|
+
agent?: string | undefined;
|
|
124
|
+
}, {
|
|
125
|
+
status: "pending" | "failed" | "blocked" | "done" | "active";
|
|
126
|
+
id: string;
|
|
127
|
+
title: string;
|
|
128
|
+
note?: string | undefined;
|
|
129
|
+
agent?: string | undefined;
|
|
130
|
+
}>, "many">>;
|
|
131
|
+
log_append: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
132
|
+
agent: z.ZodEffects<z.ZodString, string, string>;
|
|
133
|
+
kind: z.ZodEnum<["info", "success", "warn", "error"]>;
|
|
134
|
+
msg: z.ZodEffects<z.ZodString, string, string>;
|
|
135
|
+
}, "strict", z.ZodTypeAny, {
|
|
136
|
+
kind: "info" | "error" | "warn" | "success";
|
|
137
|
+
agent: string;
|
|
138
|
+
msg: string;
|
|
139
|
+
}, {
|
|
140
|
+
kind: "info" | "error" | "warn" | "success";
|
|
141
|
+
agent: string;
|
|
142
|
+
msg: string;
|
|
143
|
+
}>, "many">>;
|
|
144
|
+
files_upsert: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
145
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
|
146
|
+
change: z.ZodEnum<["added", "modified", "deleted"]>;
|
|
147
|
+
adds: z.ZodNumber;
|
|
148
|
+
dels: z.ZodNumber;
|
|
149
|
+
}, "strict", z.ZodTypeAny, {
|
|
150
|
+
path: string;
|
|
151
|
+
change: "added" | "modified" | "deleted";
|
|
152
|
+
adds: number;
|
|
153
|
+
dels: number;
|
|
154
|
+
}, {
|
|
155
|
+
path: string;
|
|
156
|
+
change: "added" | "modified" | "deleted";
|
|
157
|
+
adds: number;
|
|
158
|
+
dels: number;
|
|
159
|
+
}>, "many">>;
|
|
160
|
+
tests_set: z.ZodOptional<z.ZodObject<{
|
|
161
|
+
passed: z.ZodNumber;
|
|
162
|
+
failed: z.ZodNumber;
|
|
163
|
+
skipped: z.ZodNumber;
|
|
164
|
+
failing: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
165
|
+
}, "strict", z.ZodTypeAny, {
|
|
166
|
+
failed: number;
|
|
167
|
+
skipped: number;
|
|
168
|
+
passed: number;
|
|
169
|
+
failing: string[];
|
|
170
|
+
}, {
|
|
171
|
+
failed: number;
|
|
172
|
+
skipped: number;
|
|
173
|
+
passed: number;
|
|
174
|
+
failing: string[];
|
|
175
|
+
}>>;
|
|
176
|
+
blockers_set: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
177
|
+
msg: z.ZodEffects<z.ZodString, string, string>;
|
|
178
|
+
raised_by: z.ZodEffects<z.ZodString, string, string>;
|
|
179
|
+
needs_human: z.ZodBoolean;
|
|
180
|
+
}, "strict", z.ZodTypeAny, {
|
|
181
|
+
msg: string;
|
|
182
|
+
raised_by: string;
|
|
183
|
+
needs_human: boolean;
|
|
184
|
+
}, {
|
|
185
|
+
msg: string;
|
|
186
|
+
raised_by: string;
|
|
187
|
+
needs_human: boolean;
|
|
188
|
+
}>, "many">>;
|
|
189
|
+
decisions_append: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
190
|
+
by: z.ZodEffects<z.ZodString, string, string>;
|
|
191
|
+
msg: z.ZodEffects<z.ZodString, string, string>;
|
|
192
|
+
}, "strict", z.ZodTypeAny, {
|
|
193
|
+
msg: string;
|
|
194
|
+
by: string;
|
|
195
|
+
}, {
|
|
196
|
+
msg: string;
|
|
197
|
+
by: string;
|
|
198
|
+
}>, "many">>;
|
|
199
|
+
}, "strict", z.ZodTypeAny, {
|
|
200
|
+
session?: {
|
|
201
|
+
status?: "failed" | "running" | "blocked" | "done" | "paused" | undefined;
|
|
202
|
+
title?: string | undefined;
|
|
203
|
+
goal?: string | undefined;
|
|
204
|
+
} | undefined;
|
|
205
|
+
agents_upsert?: {
|
|
206
|
+
activity: string;
|
|
207
|
+
status: "blocked" | "idle" | "done" | "working";
|
|
208
|
+
role: string;
|
|
209
|
+
name: string;
|
|
210
|
+
}[] | undefined;
|
|
211
|
+
tasks_upsert?: {
|
|
212
|
+
status: "pending" | "failed" | "blocked" | "done" | "active";
|
|
213
|
+
id: string;
|
|
214
|
+
title: string;
|
|
215
|
+
note?: string | undefined;
|
|
216
|
+
agent?: string | undefined;
|
|
217
|
+
}[] | undefined;
|
|
218
|
+
log_append?: {
|
|
219
|
+
kind: "info" | "error" | "warn" | "success";
|
|
220
|
+
agent: string;
|
|
221
|
+
msg: string;
|
|
222
|
+
}[] | undefined;
|
|
223
|
+
files_upsert?: {
|
|
224
|
+
path: string;
|
|
225
|
+
change: "added" | "modified" | "deleted";
|
|
226
|
+
adds: number;
|
|
227
|
+
dels: number;
|
|
228
|
+
}[] | undefined;
|
|
229
|
+
tests_set?: {
|
|
230
|
+
failed: number;
|
|
231
|
+
skipped: number;
|
|
232
|
+
passed: number;
|
|
233
|
+
failing: string[];
|
|
234
|
+
} | undefined;
|
|
235
|
+
blockers_set?: {
|
|
236
|
+
msg: string;
|
|
237
|
+
raised_by: string;
|
|
238
|
+
needs_human: boolean;
|
|
239
|
+
}[] | undefined;
|
|
240
|
+
decisions_append?: {
|
|
241
|
+
msg: string;
|
|
242
|
+
by: string;
|
|
243
|
+
}[] | undefined;
|
|
244
|
+
}, {
|
|
245
|
+
session?: {
|
|
246
|
+
status?: "failed" | "running" | "blocked" | "done" | "paused" | undefined;
|
|
247
|
+
title?: string | undefined;
|
|
248
|
+
goal?: string | undefined;
|
|
249
|
+
} | undefined;
|
|
250
|
+
agents_upsert?: {
|
|
251
|
+
activity: string;
|
|
252
|
+
status: "blocked" | "idle" | "done" | "working";
|
|
253
|
+
role: string;
|
|
254
|
+
name: string;
|
|
255
|
+
}[] | undefined;
|
|
256
|
+
tasks_upsert?: {
|
|
257
|
+
status: "pending" | "failed" | "blocked" | "done" | "active";
|
|
258
|
+
id: string;
|
|
259
|
+
title: string;
|
|
260
|
+
note?: string | undefined;
|
|
261
|
+
agent?: string | undefined;
|
|
262
|
+
}[] | undefined;
|
|
263
|
+
log_append?: {
|
|
264
|
+
kind: "info" | "error" | "warn" | "success";
|
|
265
|
+
agent: string;
|
|
266
|
+
msg: string;
|
|
267
|
+
}[] | undefined;
|
|
268
|
+
files_upsert?: {
|
|
269
|
+
path: string;
|
|
270
|
+
change: "added" | "modified" | "deleted";
|
|
271
|
+
adds: number;
|
|
272
|
+
dels: number;
|
|
273
|
+
}[] | undefined;
|
|
274
|
+
tests_set?: {
|
|
275
|
+
failed: number;
|
|
276
|
+
skipped: number;
|
|
277
|
+
passed: number;
|
|
278
|
+
failing: string[];
|
|
279
|
+
} | undefined;
|
|
280
|
+
blockers_set?: {
|
|
281
|
+
msg: string;
|
|
282
|
+
raised_by: string;
|
|
283
|
+
needs_human: boolean;
|
|
284
|
+
}[] | undefined;
|
|
285
|
+
decisions_append?: {
|
|
286
|
+
msg: string;
|
|
287
|
+
by: string;
|
|
288
|
+
}[] | undefined;
|
|
289
|
+
}>, {
|
|
290
|
+
session?: {
|
|
291
|
+
status?: "failed" | "running" | "blocked" | "done" | "paused" | undefined;
|
|
292
|
+
title?: string | undefined;
|
|
293
|
+
goal?: string | undefined;
|
|
294
|
+
} | undefined;
|
|
295
|
+
agents_upsert?: {
|
|
296
|
+
activity: string;
|
|
297
|
+
status: "blocked" | "idle" | "done" | "working";
|
|
298
|
+
role: string;
|
|
299
|
+
name: string;
|
|
300
|
+
}[] | undefined;
|
|
301
|
+
tasks_upsert?: {
|
|
302
|
+
status: "pending" | "failed" | "blocked" | "done" | "active";
|
|
303
|
+
id: string;
|
|
304
|
+
title: string;
|
|
305
|
+
note?: string | undefined;
|
|
306
|
+
agent?: string | undefined;
|
|
307
|
+
}[] | undefined;
|
|
308
|
+
log_append?: {
|
|
309
|
+
kind: "info" | "error" | "warn" | "success";
|
|
310
|
+
agent: string;
|
|
311
|
+
msg: string;
|
|
312
|
+
}[] | undefined;
|
|
313
|
+
files_upsert?: {
|
|
314
|
+
path: string;
|
|
315
|
+
change: "added" | "modified" | "deleted";
|
|
316
|
+
adds: number;
|
|
317
|
+
dels: number;
|
|
318
|
+
}[] | undefined;
|
|
319
|
+
tests_set?: {
|
|
320
|
+
failed: number;
|
|
321
|
+
skipped: number;
|
|
322
|
+
passed: number;
|
|
323
|
+
failing: string[];
|
|
324
|
+
} | undefined;
|
|
325
|
+
blockers_set?: {
|
|
326
|
+
msg: string;
|
|
327
|
+
raised_by: string;
|
|
328
|
+
needs_human: boolean;
|
|
329
|
+
}[] | undefined;
|
|
330
|
+
decisions_append?: {
|
|
331
|
+
msg: string;
|
|
332
|
+
by: string;
|
|
333
|
+
}[] | undefined;
|
|
334
|
+
}, {
|
|
335
|
+
session?: {
|
|
336
|
+
status?: "failed" | "running" | "blocked" | "done" | "paused" | undefined;
|
|
337
|
+
title?: string | undefined;
|
|
338
|
+
goal?: string | undefined;
|
|
339
|
+
} | undefined;
|
|
340
|
+
agents_upsert?: {
|
|
341
|
+
activity: string;
|
|
342
|
+
status: "blocked" | "idle" | "done" | "working";
|
|
343
|
+
role: string;
|
|
344
|
+
name: string;
|
|
345
|
+
}[] | undefined;
|
|
346
|
+
tasks_upsert?: {
|
|
347
|
+
status: "pending" | "failed" | "blocked" | "done" | "active";
|
|
348
|
+
id: string;
|
|
349
|
+
title: string;
|
|
350
|
+
note?: string | undefined;
|
|
351
|
+
agent?: string | undefined;
|
|
352
|
+
}[] | undefined;
|
|
353
|
+
log_append?: {
|
|
354
|
+
kind: "info" | "error" | "warn" | "success";
|
|
355
|
+
agent: string;
|
|
356
|
+
msg: string;
|
|
357
|
+
}[] | undefined;
|
|
358
|
+
files_upsert?: {
|
|
359
|
+
path: string;
|
|
360
|
+
change: "added" | "modified" | "deleted";
|
|
361
|
+
adds: number;
|
|
362
|
+
dels: number;
|
|
363
|
+
}[] | undefined;
|
|
364
|
+
tests_set?: {
|
|
365
|
+
failed: number;
|
|
366
|
+
skipped: number;
|
|
367
|
+
passed: number;
|
|
368
|
+
failing: string[];
|
|
369
|
+
} | undefined;
|
|
370
|
+
blockers_set?: {
|
|
371
|
+
msg: string;
|
|
372
|
+
raised_by: string;
|
|
373
|
+
needs_human: boolean;
|
|
374
|
+
}[] | undefined;
|
|
375
|
+
decisions_append?: {
|
|
376
|
+
msg: string;
|
|
377
|
+
by: string;
|
|
378
|
+
}[] | undefined;
|
|
379
|
+
}>;
|
|
380
|
+
export declare const ProgressReportUpdateInputSchema: z.ZodObject<{
|
|
381
|
+
report_id: z.ZodString;
|
|
382
|
+
request_id: z.ZodString;
|
|
383
|
+
expected_revision: z.ZodNumber;
|
|
384
|
+
changes: z.ZodEffects<z.ZodObject<{
|
|
385
|
+
session: z.ZodOptional<z.ZodObject<{
|
|
386
|
+
title: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
387
|
+
goal: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
388
|
+
status: z.ZodOptional<z.ZodEnum<["running", "paused", "blocked", "done", "failed"]>>;
|
|
389
|
+
}, "strict", z.ZodTypeAny, {
|
|
390
|
+
status?: "failed" | "running" | "blocked" | "done" | "paused" | undefined;
|
|
391
|
+
title?: string | undefined;
|
|
392
|
+
goal?: string | undefined;
|
|
393
|
+
}, {
|
|
394
|
+
status?: "failed" | "running" | "blocked" | "done" | "paused" | undefined;
|
|
395
|
+
title?: string | undefined;
|
|
396
|
+
goal?: string | undefined;
|
|
397
|
+
}>>;
|
|
398
|
+
agents_upsert: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
399
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
400
|
+
role: z.ZodEffects<z.ZodString, string, string>;
|
|
401
|
+
status: z.ZodEnum<["working", "idle", "blocked", "done"]>;
|
|
402
|
+
activity: z.ZodEffects<z.ZodString, string, string>;
|
|
403
|
+
}, "strict", z.ZodTypeAny, {
|
|
404
|
+
activity: string;
|
|
405
|
+
status: "blocked" | "idle" | "done" | "working";
|
|
406
|
+
role: string;
|
|
407
|
+
name: string;
|
|
408
|
+
}, {
|
|
409
|
+
activity: string;
|
|
410
|
+
status: "blocked" | "idle" | "done" | "working";
|
|
411
|
+
role: string;
|
|
412
|
+
name: string;
|
|
413
|
+
}>, "many">>;
|
|
414
|
+
tasks_upsert: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
415
|
+
id: z.ZodEffects<z.ZodString, string, string>;
|
|
416
|
+
title: z.ZodEffects<z.ZodString, string, string>;
|
|
417
|
+
status: z.ZodEnum<["pending", "active", "done", "blocked", "failed"]>;
|
|
418
|
+
agent: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
419
|
+
note: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
420
|
+
}, "strict", z.ZodTypeAny, {
|
|
421
|
+
status: "pending" | "failed" | "blocked" | "done" | "active";
|
|
422
|
+
id: string;
|
|
423
|
+
title: string;
|
|
424
|
+
note?: string | undefined;
|
|
425
|
+
agent?: string | undefined;
|
|
426
|
+
}, {
|
|
427
|
+
status: "pending" | "failed" | "blocked" | "done" | "active";
|
|
428
|
+
id: string;
|
|
429
|
+
title: string;
|
|
430
|
+
note?: string | undefined;
|
|
431
|
+
agent?: string | undefined;
|
|
432
|
+
}>, "many">>;
|
|
433
|
+
log_append: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
434
|
+
agent: z.ZodEffects<z.ZodString, string, string>;
|
|
435
|
+
kind: z.ZodEnum<["info", "success", "warn", "error"]>;
|
|
436
|
+
msg: z.ZodEffects<z.ZodString, string, string>;
|
|
437
|
+
}, "strict", z.ZodTypeAny, {
|
|
438
|
+
kind: "info" | "error" | "warn" | "success";
|
|
439
|
+
agent: string;
|
|
440
|
+
msg: string;
|
|
441
|
+
}, {
|
|
442
|
+
kind: "info" | "error" | "warn" | "success";
|
|
443
|
+
agent: string;
|
|
444
|
+
msg: string;
|
|
445
|
+
}>, "many">>;
|
|
446
|
+
files_upsert: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
447
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
|
448
|
+
change: z.ZodEnum<["added", "modified", "deleted"]>;
|
|
449
|
+
adds: z.ZodNumber;
|
|
450
|
+
dels: z.ZodNumber;
|
|
451
|
+
}, "strict", z.ZodTypeAny, {
|
|
452
|
+
path: string;
|
|
453
|
+
change: "added" | "modified" | "deleted";
|
|
454
|
+
adds: number;
|
|
455
|
+
dels: number;
|
|
456
|
+
}, {
|
|
457
|
+
path: string;
|
|
458
|
+
change: "added" | "modified" | "deleted";
|
|
459
|
+
adds: number;
|
|
460
|
+
dels: number;
|
|
461
|
+
}>, "many">>;
|
|
462
|
+
tests_set: z.ZodOptional<z.ZodObject<{
|
|
463
|
+
passed: z.ZodNumber;
|
|
464
|
+
failed: z.ZodNumber;
|
|
465
|
+
skipped: z.ZodNumber;
|
|
466
|
+
failing: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
467
|
+
}, "strict", z.ZodTypeAny, {
|
|
468
|
+
failed: number;
|
|
469
|
+
skipped: number;
|
|
470
|
+
passed: number;
|
|
471
|
+
failing: string[];
|
|
472
|
+
}, {
|
|
473
|
+
failed: number;
|
|
474
|
+
skipped: number;
|
|
475
|
+
passed: number;
|
|
476
|
+
failing: string[];
|
|
477
|
+
}>>;
|
|
478
|
+
blockers_set: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
479
|
+
msg: z.ZodEffects<z.ZodString, string, string>;
|
|
480
|
+
raised_by: z.ZodEffects<z.ZodString, string, string>;
|
|
481
|
+
needs_human: z.ZodBoolean;
|
|
482
|
+
}, "strict", z.ZodTypeAny, {
|
|
483
|
+
msg: string;
|
|
484
|
+
raised_by: string;
|
|
485
|
+
needs_human: boolean;
|
|
486
|
+
}, {
|
|
487
|
+
msg: string;
|
|
488
|
+
raised_by: string;
|
|
489
|
+
needs_human: boolean;
|
|
490
|
+
}>, "many">>;
|
|
491
|
+
decisions_append: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
492
|
+
by: z.ZodEffects<z.ZodString, string, string>;
|
|
493
|
+
msg: z.ZodEffects<z.ZodString, string, string>;
|
|
494
|
+
}, "strict", z.ZodTypeAny, {
|
|
495
|
+
msg: string;
|
|
496
|
+
by: string;
|
|
497
|
+
}, {
|
|
498
|
+
msg: string;
|
|
499
|
+
by: string;
|
|
500
|
+
}>, "many">>;
|
|
501
|
+
}, "strict", z.ZodTypeAny, {
|
|
502
|
+
session?: {
|
|
503
|
+
status?: "failed" | "running" | "blocked" | "done" | "paused" | undefined;
|
|
504
|
+
title?: string | undefined;
|
|
505
|
+
goal?: string | undefined;
|
|
506
|
+
} | undefined;
|
|
507
|
+
agents_upsert?: {
|
|
508
|
+
activity: string;
|
|
509
|
+
status: "blocked" | "idle" | "done" | "working";
|
|
510
|
+
role: string;
|
|
511
|
+
name: string;
|
|
512
|
+
}[] | undefined;
|
|
513
|
+
tasks_upsert?: {
|
|
514
|
+
status: "pending" | "failed" | "blocked" | "done" | "active";
|
|
515
|
+
id: string;
|
|
516
|
+
title: string;
|
|
517
|
+
note?: string | undefined;
|
|
518
|
+
agent?: string | undefined;
|
|
519
|
+
}[] | undefined;
|
|
520
|
+
log_append?: {
|
|
521
|
+
kind: "info" | "error" | "warn" | "success";
|
|
522
|
+
agent: string;
|
|
523
|
+
msg: string;
|
|
524
|
+
}[] | undefined;
|
|
525
|
+
files_upsert?: {
|
|
526
|
+
path: string;
|
|
527
|
+
change: "added" | "modified" | "deleted";
|
|
528
|
+
adds: number;
|
|
529
|
+
dels: number;
|
|
530
|
+
}[] | undefined;
|
|
531
|
+
tests_set?: {
|
|
532
|
+
failed: number;
|
|
533
|
+
skipped: number;
|
|
534
|
+
passed: number;
|
|
535
|
+
failing: string[];
|
|
536
|
+
} | undefined;
|
|
537
|
+
blockers_set?: {
|
|
538
|
+
msg: string;
|
|
539
|
+
raised_by: string;
|
|
540
|
+
needs_human: boolean;
|
|
541
|
+
}[] | undefined;
|
|
542
|
+
decisions_append?: {
|
|
543
|
+
msg: string;
|
|
544
|
+
by: string;
|
|
545
|
+
}[] | undefined;
|
|
546
|
+
}, {
|
|
547
|
+
session?: {
|
|
548
|
+
status?: "failed" | "running" | "blocked" | "done" | "paused" | undefined;
|
|
549
|
+
title?: string | undefined;
|
|
550
|
+
goal?: string | undefined;
|
|
551
|
+
} | undefined;
|
|
552
|
+
agents_upsert?: {
|
|
553
|
+
activity: string;
|
|
554
|
+
status: "blocked" | "idle" | "done" | "working";
|
|
555
|
+
role: string;
|
|
556
|
+
name: string;
|
|
557
|
+
}[] | undefined;
|
|
558
|
+
tasks_upsert?: {
|
|
559
|
+
status: "pending" | "failed" | "blocked" | "done" | "active";
|
|
560
|
+
id: string;
|
|
561
|
+
title: string;
|
|
562
|
+
note?: string | undefined;
|
|
563
|
+
agent?: string | undefined;
|
|
564
|
+
}[] | undefined;
|
|
565
|
+
log_append?: {
|
|
566
|
+
kind: "info" | "error" | "warn" | "success";
|
|
567
|
+
agent: string;
|
|
568
|
+
msg: string;
|
|
569
|
+
}[] | undefined;
|
|
570
|
+
files_upsert?: {
|
|
571
|
+
path: string;
|
|
572
|
+
change: "added" | "modified" | "deleted";
|
|
573
|
+
adds: number;
|
|
574
|
+
dels: number;
|
|
575
|
+
}[] | undefined;
|
|
576
|
+
tests_set?: {
|
|
577
|
+
failed: number;
|
|
578
|
+
skipped: number;
|
|
579
|
+
passed: number;
|
|
580
|
+
failing: string[];
|
|
581
|
+
} | undefined;
|
|
582
|
+
blockers_set?: {
|
|
583
|
+
msg: string;
|
|
584
|
+
raised_by: string;
|
|
585
|
+
needs_human: boolean;
|
|
586
|
+
}[] | undefined;
|
|
587
|
+
decisions_append?: {
|
|
588
|
+
msg: string;
|
|
589
|
+
by: string;
|
|
590
|
+
}[] | undefined;
|
|
591
|
+
}>, {
|
|
592
|
+
session?: {
|
|
593
|
+
status?: "failed" | "running" | "blocked" | "done" | "paused" | undefined;
|
|
594
|
+
title?: string | undefined;
|
|
595
|
+
goal?: string | undefined;
|
|
596
|
+
} | undefined;
|
|
597
|
+
agents_upsert?: {
|
|
598
|
+
activity: string;
|
|
599
|
+
status: "blocked" | "idle" | "done" | "working";
|
|
600
|
+
role: string;
|
|
601
|
+
name: string;
|
|
602
|
+
}[] | undefined;
|
|
603
|
+
tasks_upsert?: {
|
|
604
|
+
status: "pending" | "failed" | "blocked" | "done" | "active";
|
|
605
|
+
id: string;
|
|
606
|
+
title: string;
|
|
607
|
+
note?: string | undefined;
|
|
608
|
+
agent?: string | undefined;
|
|
609
|
+
}[] | undefined;
|
|
610
|
+
log_append?: {
|
|
611
|
+
kind: "info" | "error" | "warn" | "success";
|
|
612
|
+
agent: string;
|
|
613
|
+
msg: string;
|
|
614
|
+
}[] | undefined;
|
|
615
|
+
files_upsert?: {
|
|
616
|
+
path: string;
|
|
617
|
+
change: "added" | "modified" | "deleted";
|
|
618
|
+
adds: number;
|
|
619
|
+
dels: number;
|
|
620
|
+
}[] | undefined;
|
|
621
|
+
tests_set?: {
|
|
622
|
+
failed: number;
|
|
623
|
+
skipped: number;
|
|
624
|
+
passed: number;
|
|
625
|
+
failing: string[];
|
|
626
|
+
} | undefined;
|
|
627
|
+
blockers_set?: {
|
|
628
|
+
msg: string;
|
|
629
|
+
raised_by: string;
|
|
630
|
+
needs_human: boolean;
|
|
631
|
+
}[] | undefined;
|
|
632
|
+
decisions_append?: {
|
|
633
|
+
msg: string;
|
|
634
|
+
by: string;
|
|
635
|
+
}[] | undefined;
|
|
636
|
+
}, {
|
|
637
|
+
session?: {
|
|
638
|
+
status?: "failed" | "running" | "blocked" | "done" | "paused" | undefined;
|
|
639
|
+
title?: string | undefined;
|
|
640
|
+
goal?: string | undefined;
|
|
641
|
+
} | undefined;
|
|
642
|
+
agents_upsert?: {
|
|
643
|
+
activity: string;
|
|
644
|
+
status: "blocked" | "idle" | "done" | "working";
|
|
645
|
+
role: string;
|
|
646
|
+
name: string;
|
|
647
|
+
}[] | undefined;
|
|
648
|
+
tasks_upsert?: {
|
|
649
|
+
status: "pending" | "failed" | "blocked" | "done" | "active";
|
|
650
|
+
id: string;
|
|
651
|
+
title: string;
|
|
652
|
+
note?: string | undefined;
|
|
653
|
+
agent?: string | undefined;
|
|
654
|
+
}[] | undefined;
|
|
655
|
+
log_append?: {
|
|
656
|
+
kind: "info" | "error" | "warn" | "success";
|
|
657
|
+
agent: string;
|
|
658
|
+
msg: string;
|
|
659
|
+
}[] | undefined;
|
|
660
|
+
files_upsert?: {
|
|
661
|
+
path: string;
|
|
662
|
+
change: "added" | "modified" | "deleted";
|
|
663
|
+
adds: number;
|
|
664
|
+
dels: number;
|
|
665
|
+
}[] | undefined;
|
|
666
|
+
tests_set?: {
|
|
667
|
+
failed: number;
|
|
668
|
+
skipped: number;
|
|
669
|
+
passed: number;
|
|
670
|
+
failing: string[];
|
|
671
|
+
} | undefined;
|
|
672
|
+
blockers_set?: {
|
|
673
|
+
msg: string;
|
|
674
|
+
raised_by: string;
|
|
675
|
+
needs_human: boolean;
|
|
676
|
+
}[] | undefined;
|
|
677
|
+
decisions_append?: {
|
|
678
|
+
msg: string;
|
|
679
|
+
by: string;
|
|
680
|
+
}[] | undefined;
|
|
681
|
+
}>;
|
|
682
|
+
reopen: z.ZodOptional<z.ZodBoolean>;
|
|
683
|
+
}, "strict", z.ZodTypeAny, {
|
|
684
|
+
request_id: string;
|
|
685
|
+
report_id: string;
|
|
686
|
+
expected_revision: number;
|
|
687
|
+
changes: {
|
|
688
|
+
session?: {
|
|
689
|
+
status?: "failed" | "running" | "blocked" | "done" | "paused" | undefined;
|
|
690
|
+
title?: string | undefined;
|
|
691
|
+
goal?: string | undefined;
|
|
692
|
+
} | undefined;
|
|
693
|
+
agents_upsert?: {
|
|
694
|
+
activity: string;
|
|
695
|
+
status: "blocked" | "idle" | "done" | "working";
|
|
696
|
+
role: string;
|
|
697
|
+
name: string;
|
|
698
|
+
}[] | undefined;
|
|
699
|
+
tasks_upsert?: {
|
|
700
|
+
status: "pending" | "failed" | "blocked" | "done" | "active";
|
|
701
|
+
id: string;
|
|
702
|
+
title: string;
|
|
703
|
+
note?: string | undefined;
|
|
704
|
+
agent?: string | undefined;
|
|
705
|
+
}[] | undefined;
|
|
706
|
+
log_append?: {
|
|
707
|
+
kind: "info" | "error" | "warn" | "success";
|
|
708
|
+
agent: string;
|
|
709
|
+
msg: string;
|
|
710
|
+
}[] | undefined;
|
|
711
|
+
files_upsert?: {
|
|
712
|
+
path: string;
|
|
713
|
+
change: "added" | "modified" | "deleted";
|
|
714
|
+
adds: number;
|
|
715
|
+
dels: number;
|
|
716
|
+
}[] | undefined;
|
|
717
|
+
tests_set?: {
|
|
718
|
+
failed: number;
|
|
719
|
+
skipped: number;
|
|
720
|
+
passed: number;
|
|
721
|
+
failing: string[];
|
|
722
|
+
} | undefined;
|
|
723
|
+
blockers_set?: {
|
|
724
|
+
msg: string;
|
|
725
|
+
raised_by: string;
|
|
726
|
+
needs_human: boolean;
|
|
727
|
+
}[] | undefined;
|
|
728
|
+
decisions_append?: {
|
|
729
|
+
msg: string;
|
|
730
|
+
by: string;
|
|
731
|
+
}[] | undefined;
|
|
732
|
+
};
|
|
733
|
+
reopen?: boolean | undefined;
|
|
734
|
+
}, {
|
|
735
|
+
request_id: string;
|
|
736
|
+
report_id: string;
|
|
737
|
+
expected_revision: number;
|
|
738
|
+
changes: {
|
|
739
|
+
session?: {
|
|
740
|
+
status?: "failed" | "running" | "blocked" | "done" | "paused" | undefined;
|
|
741
|
+
title?: string | undefined;
|
|
742
|
+
goal?: string | undefined;
|
|
743
|
+
} | undefined;
|
|
744
|
+
agents_upsert?: {
|
|
745
|
+
activity: string;
|
|
746
|
+
status: "blocked" | "idle" | "done" | "working";
|
|
747
|
+
role: string;
|
|
748
|
+
name: string;
|
|
749
|
+
}[] | undefined;
|
|
750
|
+
tasks_upsert?: {
|
|
751
|
+
status: "pending" | "failed" | "blocked" | "done" | "active";
|
|
752
|
+
id: string;
|
|
753
|
+
title: string;
|
|
754
|
+
note?: string | undefined;
|
|
755
|
+
agent?: string | undefined;
|
|
756
|
+
}[] | undefined;
|
|
757
|
+
log_append?: {
|
|
758
|
+
kind: "info" | "error" | "warn" | "success";
|
|
759
|
+
agent: string;
|
|
760
|
+
msg: string;
|
|
761
|
+
}[] | undefined;
|
|
762
|
+
files_upsert?: {
|
|
763
|
+
path: string;
|
|
764
|
+
change: "added" | "modified" | "deleted";
|
|
765
|
+
adds: number;
|
|
766
|
+
dels: number;
|
|
767
|
+
}[] | undefined;
|
|
768
|
+
tests_set?: {
|
|
769
|
+
failed: number;
|
|
770
|
+
skipped: number;
|
|
771
|
+
passed: number;
|
|
772
|
+
failing: string[];
|
|
773
|
+
} | undefined;
|
|
774
|
+
blockers_set?: {
|
|
775
|
+
msg: string;
|
|
776
|
+
raised_by: string;
|
|
777
|
+
needs_human: boolean;
|
|
778
|
+
}[] | undefined;
|
|
779
|
+
decisions_append?: {
|
|
780
|
+
msg: string;
|
|
781
|
+
by: string;
|
|
782
|
+
}[] | undefined;
|
|
783
|
+
};
|
|
784
|
+
reopen?: boolean | undefined;
|
|
785
|
+
}>;
|
|
786
|
+
export declare const ProgressReportGetInputSchema: z.ZodObject<{
|
|
787
|
+
report_id: z.ZodString;
|
|
788
|
+
}, "strict", z.ZodTypeAny, {
|
|
789
|
+
report_id: string;
|
|
790
|
+
}, {
|
|
791
|
+
report_id: string;
|
|
792
|
+
}>;
|
|
793
|
+
export declare const ProgressReportListInputSchema: z.ZodObject<{
|
|
794
|
+
project_folder: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
795
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
796
|
+
}, "strict", z.ZodTypeAny, {
|
|
797
|
+
limit: number;
|
|
798
|
+
project_folder?: string | undefined;
|
|
799
|
+
}, {
|
|
800
|
+
limit?: number | undefined;
|
|
801
|
+
project_folder?: string | undefined;
|
|
802
|
+
}>;
|
|
803
|
+
export type ProgressReportStartInput = z.infer<typeof ProgressReportStartInputSchema>;
|
|
804
|
+
export type ProgressReportChanges = z.infer<typeof ProgressReportChangesSchema>;
|
|
805
|
+
export declare function progressReportStartJsonSchema(): Record<string, unknown>;
|
|
806
|
+
export declare function progressReportUpdateJsonSchema(): Record<string, unknown>;
|
|
807
|
+
export declare function progressReportGetJsonSchema(): Record<string, unknown>;
|
|
808
|
+
export declare function progressReportListJsonSchema(): Record<string, unknown>;
|