@duckcodeailabs/dql-cli 1.14.1 → 1.14.3-rc.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.
Files changed (125) hide show
  1. package/dist/args.d.ts +4 -0
  2. package/dist/args.d.ts.map +1 -1
  3. package/dist/args.js +16 -0
  4. package/dist/args.js.map +1 -1
  5. package/dist/assets/dql-notebook/assets/{AgentLogPage-BPz-UWFh.js → AgentLogPage-Jbyb4so-.js} +1 -1
  6. package/dist/assets/dql-notebook/assets/{AiBuildDialog-BEl53WA_.js → AiBuildDialog-Du07X1qO.js} +1 -1
  7. package/dist/assets/dql-notebook/assets/{AiBuildResult-B4yfGTTZ.js → AiBuildResult-xKtGthWv.js} +1 -1
  8. package/dist/assets/dql-notebook/assets/{AiSidePanel-CSZAAvuD.js → AiSidePanel-CE_L04dK.js} +1 -1
  9. package/dist/assets/dql-notebook/assets/AnalyticsHome-CiUE10uF.js +6 -0
  10. package/dist/assets/dql-notebook/assets/{AppsView-DQOwU9Cg.js → AppsView-DlNaTuwD.js} +30 -35
  11. package/dist/assets/dql-notebook/assets/AskObservabilityPage-DracZPI9.js +1 -0
  12. package/dist/assets/dql-notebook/assets/AskTracePage-CSMoMw9a.js +8 -0
  13. package/dist/assets/dql-notebook/assets/{BlockStudio-B4ap0GdY.js → BlockStudio-DQS5Hcq9.js} +9 -14
  14. package/dist/assets/dql-notebook/assets/BusinessArtifactView-CqV4i9l_.js +1 -0
  15. package/dist/assets/dql-notebook/assets/{DbtFirstModelingPage-D72byb2g.js → DbtFirstModelingPage-JKhB_Y2H.js} +3 -3
  16. package/dist/assets/dql-notebook/assets/{GitPage-lQb1uXH2.js → GitPage-DjaNp0o3.js} +1 -1
  17. package/dist/assets/dql-notebook/assets/{GlobalAiRail-CVECf6Xj.js → GlobalAiRail-CsV3zlc8.js} +1 -1
  18. package/dist/assets/dql-notebook/assets/{GovernedContextPage-trOyMCY6.js → GovernedContextPage-uXUHUOIJ.js} +3 -3
  19. package/dist/assets/dql-notebook/assets/{HelpDocsPage-D8hLS5lE.js → HelpDocsPage-Hbh9IeYB.js} +1 -1
  20. package/dist/assets/dql-notebook/assets/{HomePage-eIkfBIep.js → HomePage-CRRl-R_v.js} +1 -1
  21. package/dist/assets/dql-notebook/assets/LineageDAG-OMUP2sbl.js +1 -0
  22. package/dist/assets/dql-notebook/assets/LineageDetailView-C964BLuV.js +1 -0
  23. package/dist/assets/dql-notebook/assets/LineageDrawer-CzY0nfpD.js +1 -0
  24. package/dist/assets/dql-notebook/assets/{LineagePathBreadcrumb-CviIf8PN.js → LineagePathBreadcrumb-0Gi-Fm1B.js} +1 -1
  25. package/dist/assets/dql-notebook/assets/MiniLineageGraph-wn0wLc9m.js +1 -0
  26. package/dist/assets/dql-notebook/assets/{NewBlockModal-DbCQg-pj.js → NewBlockModal-kMAzk91d.js} +1 -1
  27. package/dist/assets/dql-notebook/assets/{NewNotebookModal-5Vp6XiuK.js → NewNotebookModal-D_cWd_6M.js} +1 -1
  28. package/dist/assets/dql-notebook/assets/{NotebookEditor-DjqJS44s.js → NotebookEditor-Bax0lxaz.js} +25 -30
  29. package/dist/assets/dql-notebook/assets/{ReadinessPage-BHGrC5ho.js → ReadinessPage-DEUIXQQY.js} +1 -1
  30. package/dist/assets/dql-notebook/assets/{SetupOnboarding-BfS9Tdx-.js → SetupOnboarding-CyE-Ex41.js} +1 -1
  31. package/dist/assets/dql-notebook/assets/{SkillsPage-BFH21wSj.js → SkillsPage-QgvKGPxE.js} +1 -1
  32. package/dist/assets/dql-notebook/assets/{TrustBadge-zm6g_SxZ.js → TrustBadge-D5CGp0cu.js} +1 -1
  33. package/dist/assets/dql-notebook/assets/UnifiedAgentRunPanel-BjsTE6yf.js +89 -0
  34. package/dist/assets/dql-notebook/assets/{answer-to-notebook-DPhxIEzF.js → answer-to-notebook-tACdCsTV.js} +1 -1
  35. package/dist/assets/dql-notebook/assets/{arrow-left-DNEb86Xc.js → arrow-left-CF6wxXU5.js} +1 -1
  36. package/dist/assets/dql-notebook/assets/{arrow-right-DpPWbwaD.js → arrow-right-C7G3M_S8.js} +1 -1
  37. package/dist/assets/dql-notebook/assets/{book-open-text-D7s5jo4X.js → book-open-text-DDBO8G7L.js} +1 -1
  38. package/dist/assets/dql-notebook/assets/chevron-left-DxajrX2v.js +6 -0
  39. package/dist/assets/dql-notebook/assets/{circle-x-Db3dXKg7.js → circle-x-HBvXjnT6.js} +1 -1
  40. package/dist/assets/dql-notebook/assets/clock-3-CJIdsPLt.js +6 -0
  41. package/dist/assets/dql-notebook/assets/dagre.esm-B6nvU4OB.js +1 -0
  42. package/dist/assets/dql-notebook/assets/{external-link-BxwXitO_.js → external-link-WciAU8Bu.js} +1 -1
  43. package/dist/assets/dql-notebook/assets/{grip-vertical-Dt4lkWRi.js → grip-vertical-DVu7ok6x.js} +1 -1
  44. package/dist/assets/dql-notebook/assets/index-B_kaoARS.css +1 -0
  45. package/dist/assets/dql-notebook/assets/{index-DKo-bwNw.js → index-D3wnucQC.js} +133 -128
  46. package/dist/assets/dql-notebook/assets/{link-2-Dfo2P6wi.js → link-2-C6uQx50X.js} +1 -1
  47. package/dist/assets/dql-notebook/assets/{list-tree-DiTmIWAL.js → list-tree-DapsIuQB.js} +1 -1
  48. package/dist/assets/dql-notebook/assets/{minimize-2-CMTAkPzL.js → minimize-2-BlVoipnT.js} +1 -1
  49. package/dist/assets/dql-notebook/assets/{panel-right-open-DwYr7FW4.js → panel-right-open-DcnKWxfx.js} +1 -1
  50. package/dist/assets/dql-notebook/assets/{play-BXhHYQ4x.js → play-CNuRuaAs.js} +1 -1
  51. package/dist/assets/dql-notebook/assets/{rotate-ccw-BNi6F8pl.js → rotate-ccw-B2p953Zh.js} +1 -1
  52. package/dist/assets/dql-notebook/assets/{semantic-fields-CNOGysAy.js → semantic-fields-2fWgkTJc.js} +1 -1
  53. package/dist/assets/dql-notebook/assets/{sliders-horizontal-Ec5MUMUW.js → sliders-horizontal-DwRTu1w4.js} +1 -1
  54. package/dist/assets/dql-notebook/assets/{star-B9leDkp_.js → star-Cbaj4F3i.js} +1 -1
  55. package/dist/assets/dql-notebook/assets/style-NlN9F6JE.js +23 -0
  56. package/dist/assets/dql-notebook/assets/{triangle-alert-BefTYCzx.js → triangle-alert-BPHvH1wA.js} +1 -1
  57. package/dist/assets/dql-notebook/assets/{upload-SPiOM2tQ.js → upload-DIqK0KE1.js} +1 -1
  58. package/dist/assets/dql-notebook/assets/{usePersistedAgentThreadId-C4foXeiQ.js → usePersistedAgentThreadId-DpQXOEDw.js} +1 -1
  59. package/dist/assets/dql-notebook/assets/{user-round-comGmyw-.js → user-round-DukNupB_.js} +1 -1
  60. package/dist/assets/dql-notebook/assets/{wand-sparkles-BffR4dF8.js → wand-sparkles-CAwLX0b9.js} +1 -1
  61. package/dist/assets/dql-notebook/assets/{workflow-ChmPTEzH.js → workflow-bOT-NqdO.js} +1 -1
  62. package/dist/assets/dql-notebook/assets/{wrench-DovaG_ze.js → wrench-1m0_kcza.js} +1 -1
  63. package/dist/assets/dql-notebook/assets/{x-nRx91AgW.js → x-fp82BETM.js} +1 -1
  64. package/dist/assets/dql-notebook/index.html +2 -2
  65. package/dist/commands/agent-eval-cassette.d.ts +97 -6
  66. package/dist/commands/agent-eval-cassette.d.ts.map +1 -1
  67. package/dist/commands/agent-eval-cassette.js +165 -22
  68. package/dist/commands/agent-eval-cassette.js.map +1 -1
  69. package/dist/commands/agent-eval-runtime.d.ts +23 -2
  70. package/dist/commands/agent-eval-runtime.d.ts.map +1 -1
  71. package/dist/commands/agent-eval-runtime.js +19 -2
  72. package/dist/commands/agent-eval-runtime.js.map +1 -1
  73. package/dist/commands/agent-trace.d.ts +3 -0
  74. package/dist/commands/agent-trace.d.ts.map +1 -0
  75. package/dist/commands/agent-trace.js +169 -0
  76. package/dist/commands/agent-trace.js.map +1 -0
  77. package/dist/commands/agent.d.ts +37 -5
  78. package/dist/commands/agent.d.ts.map +1 -1
  79. package/dist/commands/agent.js +534 -84
  80. package/dist/commands/agent.js.map +1 -1
  81. package/dist/commands/compile.d.ts +13 -1
  82. package/dist/commands/compile.d.ts.map +1 -1
  83. package/dist/commands/compile.js +36 -4
  84. package/dist/commands/compile.js.map +1 -1
  85. package/dist/commands/notebook.d.ts +2 -0
  86. package/dist/commands/notebook.d.ts.map +1 -1
  87. package/dist/commands/notebook.js +4 -0
  88. package/dist/commands/notebook.js.map +1 -1
  89. package/dist/commands/sync.d.ts.map +1 -1
  90. package/dist/commands/sync.js +11 -3
  91. package/dist/commands/sync.js.map +1 -1
  92. package/dist/index.js +2 -0
  93. package/dist/index.js.map +1 -1
  94. package/dist/llm/providers/dql-agent-provider.d.ts +29 -2
  95. package/dist/llm/providers/dql-agent-provider.d.ts.map +1 -1
  96. package/dist/llm/providers/dql-agent-provider.js +1008 -144
  97. package/dist/llm/providers/dql-agent-provider.js.map +1 -1
  98. package/dist/llm/types.d.ts +48 -1
  99. package/dist/llm/types.d.ts.map +1 -1
  100. package/dist/local-runtime.d.ts +271 -33
  101. package/dist/local-runtime.d.ts.map +1 -1
  102. package/dist/local-runtime.js +3658 -546
  103. package/dist/local-runtime.js.map +1 -1
  104. package/dist/package.json +10 -10
  105. package/dist/providers/oauth/claude-oauth.d.ts.map +1 -1
  106. package/dist/providers/oauth/claude-oauth.js +52 -18
  107. package/dist/providers/oauth/claude-oauth.js.map +1 -1
  108. package/dist/providers/oauth/codex-oauth.d.ts.map +1 -1
  109. package/dist/providers/oauth/codex-oauth.js +72 -44
  110. package/dist/providers/oauth/codex-oauth.js.map +1 -1
  111. package/dist/providers/subscription-cli.d.ts +20 -0
  112. package/dist/providers/subscription-cli.d.ts.map +1 -1
  113. package/dist/providers/subscription-cli.js +69 -11
  114. package/dist/providers/subscription-cli.js.map +1 -1
  115. package/package.json +10 -10
  116. package/dist/assets/dql-notebook/assets/AnalyticsHome-D5P6Ujwi.js +0 -6
  117. package/dist/assets/dql-notebook/assets/BusinessArtifactView-BIfNI-0S.js +0 -1
  118. package/dist/assets/dql-notebook/assets/LineageDAG-CSqcbDrE.js +0 -1
  119. package/dist/assets/dql-notebook/assets/LineageDetailView-DJZZjZu-.js +0 -1
  120. package/dist/assets/dql-notebook/assets/LineageDrawer-BcIipIc3.js +0 -1
  121. package/dist/assets/dql-notebook/assets/MiniLineageGraph-vH_MY_Ju.js +0 -1
  122. package/dist/assets/dql-notebook/assets/UnifiedAgentRunPanel--oxmjlgr.js +0 -88
  123. package/dist/assets/dql-notebook/assets/dagre.esm-C7pppQ1a.js +0 -23
  124. package/dist/assets/dql-notebook/assets/index-B3shyZsg.css +0 -1
  125. /package/dist/assets/dql-notebook/assets/{dagre-BZV40eAE.css → style-BZV40eAE.css} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/llm/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,yBAAyB,EACzB,mBAAmB,EACnB,kBAAkB,EAClB,6BAA6B,EAC7B,gBAAgB,EAChB,aAAa,EACb,gCAAgC,EAChC,4BAA4B,EAC5B,oBAAoB,EACpB,wBAAwB,EACxB,MAAM,EACN,gBAAgB,EAChB,eAAe,EACf,sBAAsB,EACtB,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EACvB,+BAA+B,EAC/B,iCAAiC,EACjC,2BAA2B,EAC5B,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,WAAW,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AAErI,MAAM,MAAM,UAAU,GAAG,WAAW,GAAG,kBAAkB,GAAG,aAAa,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,eAAe,CAAC;AAEvI,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,GAAG,WAAW,CAAC;IAC3B,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,wBAAwB;IACvC,a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AC5E,kCAAkC,CAAC,EAAE,MAAM,CAAC;IAC5C,+EAA+E;IAC/E,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,oFAAoF;IACpF,0BAA0B,CAAC,EAAE,CAAC,OAAO,EAAE,4BAA4B,KAAK,OAAO,CAAC,gCAAgC,CAAC,CAAC;IAClH;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,gBAAgB,CAAC;CACxC;AAED,MAAM,WAAW,WAAW;IAC1B,GAAG,CAAC,GAAG,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,EAAE,MAAM,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAChG;AAED;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,WAAW,CAAC"}
@@ -2,9 +2,9 @@ import type { ProviderDispatchPhaseV1, ProviderEgressPurpose } from '@duckcodeai
2
2
  import { QueryExecutor, type ConnectionConfig, type DatabaseConnector, type QueryResult, type SQLParamSpec } from "@duckcodeailabs/dql-connectors";
3
3
  import { type NotebookCell, type SemanticRefResolutionOptions } from '@duckcodeailabs/dql-notebook';
4
4
  import { type SemanticLayer, type MetricDefinition, type SemanticLayerProviderConfig, type DashboardDocument, type DashboardGridItem, type DQLManifest, type DqlArtifactReference, type ManifestBlock, type DomainInput, type AnalyticalRepairCapabilityV1 } from '@duckcodeailabs/dql-core';
5
- import { type AgenticSqlExecutionCapabilityV1, type SqlAuthorizationCheck } from '@duckcodeailabs/dql-agent';
5
+ import { type AgenticSqlExecutionCapabilityV1, type AskTraceObserverV1, type SqlAuthorizationCheck } from '@duckcodeailabs/dql-agent';
6
6
  import type { AgentRunner as LLMAgentRunner, ProviderDispatchTerminalEvidence, ProviderDispatchEvidenceSink, ProviderId } from './llm/types.js';
7
- import { type JoinPatternCandidate, type AnalyticalFreshnessRequestV1, type AnalyticalFailedRunV1, type AgentAnswer, type WarehouseSqlFailureV1, type ConversationTurnInput, type AgentResultPayload, type AgentSchemaTable, type RuntimeSchemaSnapshot, type ProposalResult, type ProposePlan, type ProposePlanCandidate, type ProposeConfigInput, type DomainContextEnvelope, type ResolveDomainContextInput, type AgentRun, type AgentRunExecutors, type AgentRunRequest, type AgentRunBudget, type AgentRunRequestedMode, type AgentRunRoute, type AgentRunStopReason, type AgentRunTrustState, type ProviderDispatchEvent, type ProviderResultRowEgressPolicy, type AnalyticalTaskV1, type AnalyticalTaskDependencyBindingV1, type AnalyticalTaskDependencyResolution } from '@duckcodeailabs/dql-agent';
7
+ import { type JoinPatternCandidate, type AnalyticalFreshnessRequestV1, type AnalyticalFailedRunV1, type AgentAnswer, type WarehouseSqlFailureV1, type ConversationTurnInput, type AgentResultPayload, type AgentProvider, type AgentSchemaTable, type RuntimeSchemaSnapshot, type ProposalResult, type ProposePlan, type ProposePlanCandidate, type ProposeConfigInput, type DomainContextEnvelope, type ResolveDomainContextInput, type AgentRun, type AgentRunExecutors, type AgentRunRequest, type AgentRunBudget, type AgentRunRequestedMode, type AgentRunRoute, type AgentRunStopReason, type AgentRunTrustState, type AnalyticalRequirementSeedV1, type ResolvedAnalyticalPlan, type IntentDecision, type ProviderDispatchEvent, type ProviderDispatchCompletionEvent, type ProviderDispatchRejectionEvent, type ProviderResultRowEgressPolicy, type AnalyticalTaskV1, type AnalyticalTaskDependencyBindingV1, type AnalyticalTaskDependencyResolution } from '@duckcodeailabs/dql-agent';
8
8
  import type { NotebookResearchDqlArtifact } from '@duckcodeailabs/dql-project';
9
9
  import { type InvariantResult } from '@duckcodeailabs/dql-governance';
10
10
  import { type BlockStudioImportInputMode, type BlockStudioImportSource, type BlockStudioImportSourceKind, type DqlGenerationSession } from './block-studio-import.js';
@@ -59,11 +59,10 @@ export interface ProjectConfig {
59
59
  searchSafeColumns?: string[];
60
60
  };
61
61
  /**
62
- * How many executed rows may reach the AI provider when it writes the answer.
63
- * Defaults to a bounded, redacted sample: a model that cannot see the values
64
- * cannot describe them, and the fallback for that is a `column: value` dump.
65
- * Set `mode: 'disabled'` to keep every cell value on the host — narration
66
- * still runs, grounded in column names and computed statistics only.
62
+ * Maximum redacted result rows that may reach the provider for an explicit
63
+ * Research run with one-run consent. Ordinary Ask and Research without
64
+ * consent keep every result value host-local. Set `mode: 'disabled'` (or
65
+ * zero rows) to disable even opted-in Research row egress.
67
66
  */
68
67
  providerResultRowEgress?: {
69
68
  mode?: 'bounded_sample' | 'disabled';
@@ -141,7 +140,43 @@ export interface LocalServerOptions {
141
140
  agentRunExecutors?: AgentRunExecutors;
142
141
  /** Host-owned rollback seam; never read from client request payloads. */
143
142
  requireMeaningCallForNaturalLanguage?: boolean;
143
+ /**
144
+ * Per-runtime capability minted by the local CLI launcher. Only a matching
145
+ * request header may label a trace as `cli`; public JSON never carries this
146
+ * authority and browser/MCP requests remain their own server-owned surface.
147
+ */
148
+ trustedCliTraceToken?: string;
149
+ }
150
+ /** One-time local capability lifetime. It is never persisted or sent to a provider. */
151
+ export declare const CLI_ASK_TRACE_CAPABILITY_TTL_MS = 30000;
152
+ export interface LocalCliAskTraceCapabilityV1 {
153
+ capability: string;
154
+ expiresAt: string;
155
+ scope: 'agent-runs';
156
+ }
157
+ export interface LocalCliAskTraceCapabilityRegistryV1 {
158
+ issue(input?: {
159
+ capability?: string;
160
+ nowMs?: number;
161
+ ttlMs?: number;
162
+ }): LocalCliAskTraceCapabilityV1;
163
+ consume(input: {
164
+ capability: string | string[] | undefined;
165
+ scope: LocalCliAskTraceCapabilityV1['scope'];
166
+ loopbackServer: boolean;
167
+ remoteAddress?: string;
168
+ nowMs?: number;
169
+ }): 'cli' | undefined;
144
170
  }
171
+ /**
172
+ * Host-owned, one-shot attribution capabilities for an already-local runtime.
173
+ * A plain client header is never enough: it must be minted by this process,
174
+ * unexpired, scoped to AgentRun admission, and arrive over loopback.
175
+ */
176
+ export declare function createLocalCliAskTraceCapabilityRegistryV1(options?: {
177
+ now?: () => number;
178
+ mint?: () => string;
179
+ }): LocalCliAskTraceCapabilityRegistryV1;
145
180
  export interface AppCopilotResearchAgentInput {
146
181
  appId: string;
147
182
  dashboardId?: string;
@@ -164,6 +199,19 @@ export interface AppCopilotResearchAgentInput {
164
199
  }
165
200
  /** AGT-007 / AGT-022: App-specific context adapter into the uniform AgentRun. */
166
201
  export declare function buildAppCopilotResearchAgentRequest(input: AppCopilotResearchAgentInput): AgentRunRequest;
202
+ export declare function askTraceQuestionPreview(question: string): string | undefined;
203
+ /**
204
+ * The notebook has exactly two trace client routes. Decode only the single
205
+ * detail segment for validation so a valid encoded run id (for example
206
+ * `run%3Aoffice-42`) reaches the SPA, while encoded slashes, malformed escapes,
207
+ * and nested paths stay ordinary 404s.
208
+ */
209
+ export declare function isAskTraceClientDetailPath(pathname: string): boolean;
210
+ /**
211
+ * Ask owns only these client-side routes. Keep the static fallback explicit so
212
+ * a notebook reload works while an arbitrary missing path remains a real 404.
213
+ */
214
+ export declare function isAskClientRoutePath(pathname: string): boolean;
167
215
  /** UI catalog fallback labels are not declared project domains. */
168
216
  /**
169
217
  * Resolve a UI-pinned domain scope, tolerating one that no longer exists.
@@ -254,7 +302,7 @@ export declare function scheduleCompoundAnalyticalTasks<T>(input: {
254
302
  /** What kind of narration a settled run has earned, and how many rows may ground it. */
255
303
  export type AgentNarrationPlan = {
256
304
  mode: 'skip';
257
- reason: 'no_answer' | 'no_provider' | 'nothing_to_narrate';
305
+ reason: 'no_answer' | 'no_provider' | 'nothing_to_narrate' | 'ordinary_ask';
258
306
  }
259
307
  /** Claim-verified narration over the immutable fact set (analytical graph lanes). */
260
308
  | {
@@ -270,17 +318,12 @@ export type AgentNarrationAnswer = Pick<AgentAnswer, 'kind'> & Partial<Pick<Agen
270
318
  /**
271
319
  * Decide how a settled answer gets its business-facing prose.
272
320
  *
273
- * This deliberately does NOT read `requestedMode`. Gating narration on
274
- * `requestedMode === 'research'` meant every ordinary Ask which the UI sends
275
- * as `'auto'` skipped synthesis entirely and shipped the answer loop's
276
- * deterministic fact-join as the primary answer: the reported `column: value`
277
- * dump. Narration is owed to any run that actually produced values.
278
- *
279
- * Certification, a DQL artifact, and the exploratory candidate are no longer
280
- * vetoes. EXP-001's grain concern is real, but the answer to "the model might
281
- * relabel an entity-level measure" is to VERIFY the claims against the fact set
282
- * (`verified_facts`) and pass the grain statement in as a caveat — not to refuse
283
- * to write a sentence.
321
+ * An ordinary Ask already spends its one permitted model call resolving meaning.
322
+ * Its settled answer is the deterministic, receipt-bound answer produced by the
323
+ * selected analytical tier; sending result rows to a second narrator would add
324
+ * a hidden provider phase, change the egress receipt, and make a governed
325
+ * semantic run look like Research. Only an explicit Research request may run
326
+ * this optional, fact-checked narration stage.
284
327
  */
285
328
  export declare function planAgentRunNarration(governedAnswer: AgentNarrationAnswer, context: {
286
329
  requestedMode?: AgentRunRequestedMode;
@@ -321,6 +364,14 @@ export declare function compoundTrustState(childTrust: readonly AgentRunTrustSta
321
364
  export declare function compoundStopReason(completedCount: number, childCount: number, trustState: AgentRunTrustState): AgentRunStopReason;
322
365
  export declare function semanticAnswerHasPassedAggregationProof(governedAnswer: Pick<AgentAnswer, 'route' | 'aggregationSafetyProof'>): boolean;
323
366
  export declare function agentAnswerHasExecutionFailure(governedAnswer: Pick<AgentAnswer, 'executionError'>): boolean;
367
+ /**
368
+ * Return only a router/producer-issued analytical gap witness.
369
+ *
370
+ * `terminalOutcome.kind === 'modeling_gap'` is deliberately insufficient to
371
+ * claim a relationship problem. Older receipts and generic tuple failures
372
+ * return `undefined`; callers render generic coverage guidance for those.
373
+ */
374
+ export declare function persistedAnalyticalGapWitness(routeDecision: IntentDecision | undefined): NonNullable<NonNullable<IntentDecision['terminalOutcome']>['gap']> | undefined;
324
375
  /** Rebuild the immutable failed-run input from the artifact retained by API-007. */
325
376
  export declare function analyticalFailedRunFromAgentRun(run: AgentRun): AnalyticalFailedRunV1 | undefined;
326
377
  /** Exact failed statement retained on an immutable run, if one exists. */
@@ -387,12 +438,40 @@ export declare function agentRunListEntryForTransport(run: AgentRun): AgentRun;
387
438
  export declare function conversationTurnInputFromRun(run: AgentRun): ConversationTurnInput;
388
439
  /** UI-007 / E2E-005: report the installed CLI version that owns this runtime. */
389
440
  export declare function readDqlRuntimeVersion(runtimeUrl?: string): string;
441
+ /** Server-owned cap for physical provider sends in one Ask run. */
442
+ export interface AgentRunProviderDispatchBudget {
443
+ total: number;
444
+ /** Legacy/no-evidence category calls have their own one-call allowance. */
445
+ classification?: number;
446
+ meaningResolution: number;
447
+ /** Optional stricter cap for planning inside `generationGroup`. */
448
+ planning?: number;
449
+ generationGroup: number;
450
+ narration: number;
451
+ repair: number;
452
+ }
453
+ /**
454
+ * The one runtime authority for provider-send caps.
455
+ *
456
+ * Research is limited to twelve physical sends total, one planner, and one
457
+ * narrator. Ordinary generated lookup normally gets two sends across
458
+ * candidate-ID meaning and planning/generation. A router-frozen bounded
459
+ * exploratory plan may use one additional, same-plan provider correction only
460
+ * after the generation response declines SQL. That third send is a `repair`,
461
+ * not an LLM replan: it retains the frozen snapshot, target, closure, output
462
+ * tuple, and route. Classification is a separate legacy/no-evidence phase,
463
+ * but still consumes the total cap and cannot coexist with candidate-ID
464
+ * meaning resolution in the ledger.
465
+ */
466
+ export declare function agentRunProviderDispatchBudgetForMode(requestedMode: AgentRunRequestedMode | undefined): AgentRunProviderDispatchBudget;
390
467
  export declare class RunScopedProviderDispatchEvidence implements ProviderDispatchEvidenceSink {
391
468
  private readonly policy;
392
469
  private readonly runBudget?;
393
470
  private readonly rowEgress;
394
471
  private readonly receipts;
395
472
  private readonly phaseCounts;
473
+ /** At most one physical same-provider transient retry may be admitted per run. */
474
+ private retryCount;
396
475
  private currentRoute;
397
476
  /** Wall-clock start of the previous dispatch, used to learn this provider's cost. */
398
477
  private lastDispatchStartedAtMs?;
@@ -415,19 +494,7 @@ export declare class RunScopedProviderDispatchEvidence implements ProviderDispat
415
494
  */
416
495
  private nowMs;
417
496
  private recordDispatchStart;
418
- constructor(policy: {
419
- total: number;
420
- meaningResolution: number;
421
- generationGroup: number;
422
- /**
423
- * Narration has its own bucket. It used to share `generationGroup`, so a
424
- * run that spent its generation attempts had nothing left to write the
425
- * answer with and threw `PROVIDER_DISPATCH_BUDGET_EXHAUSTED` — which is how
426
- * an ordinary Ask ended up shipping its deterministic draft as the answer.
427
- */
428
- narration: number;
429
- repair: number;
430
- }, runBudget?: AgentRunBudget | undefined, rowEgress?: ProviderResultRowEgressPolicy);
497
+ constructor(policy: AgentRunProviderDispatchBudget, runBudget?: AgentRunBudget | undefined, rowEgress?: ProviderResultRowEgressPolicy);
431
498
  setRoute(route: AgentRunRoute | undefined): void;
432
499
  mayStartToolCall(): boolean;
433
500
  observe(event: ProviderDispatchEvent, context: {
@@ -439,9 +506,52 @@ export declare class RunScopedProviderDispatchEvidence implements ProviderDispat
439
506
  columnCount: number;
440
507
  };
441
508
  cumulativeResultRowCount?: number;
509
+ retryOfAttemptIndex?: number;
442
510
  }): Record<string, unknown>;
443
511
  snapshot(fallbackReason?: string): ProviderDispatchTerminalEvidence;
444
512
  }
513
+ /**
514
+ * Attach one physical provider transport to the current redacted Ask trace.
515
+ * The caller remains the authority for admission and egress; this wrapper only
516
+ * records the same physical send/settlement with its server-owned phase and
517
+ * purpose. It is intentionally reusable for meaning and Research narration
518
+ * so trace provider-attempt counts cannot drift from egress receipts.
519
+ */
520
+ /**
521
+ * @internal Exported solely for the local runtime boundary harness. It is not
522
+ * an HTTP or durable API: production callers use it to pair the one provider
523
+ * transport with its same-run trace span and egress receipt.
524
+ */
525
+ export declare function createProviderDispatchTrace(input: {
526
+ observer?: AskTraceObserverV1;
527
+ phase: ProviderDispatchPhaseV1;
528
+ purpose: ProviderEgressPurpose;
529
+ admit: (event: ProviderDispatchEvent) => Record<string, unknown>;
530
+ }): {
531
+ options: {
532
+ onProviderDispatch: (event: ProviderDispatchEvent) => Record<string, unknown>;
533
+ onProviderDispatchComplete: (event: ProviderDispatchCompletionEvent) => void;
534
+ onProviderDispatchRejected: (event: ProviderDispatchRejectionEvent) => void;
535
+ };
536
+ settle: (outcome: 'ok' | 'error' | 'cancelled', error?: unknown) => void;
537
+ };
538
+ /**
539
+ * The hypothesis planner is a real Research provider dispatch, not a local
540
+ * planning convenience. Keep its one bounded call on the same server-owned
541
+ * ledger and trace as meaning, generation, and narration so it cannot evade
542
+ * the Research-12 cap or disappear from the run receipt.
543
+ *
544
+ * `planResearchHypotheses` deliberately accepts a small `generate`-only
545
+ * provider interface. This adapter preserves that seam while keeping the
546
+ * physical transport authority at the local-runtime boundary.
547
+ *
548
+ * @internal Exported for the local runtime planner/egress regression only.
549
+ */
550
+ export declare function createResearchHypothesisPlanningProvider(input: {
551
+ provider: AgentProvider;
552
+ request: AgentRunRequest;
553
+ ledger?: ProviderDispatchEvidenceSink;
554
+ }): AgentProvider;
445
555
  /**
446
556
  * Final physical generated-SQL boundary.
447
557
  *
@@ -459,6 +569,8 @@ export declare function executePreparedAgenticSqlBoundary<T>(input: {
459
569
  bindings: unknown;
460
570
  scope?: SqlAuthorizationCheck;
461
571
  execute: () => Promise<T>;
572
+ /** Internal harness injection; production obtains the request-local observer. */
573
+ traceObserver?: AskTraceObserverV1;
462
574
  }): Promise<T>;
463
575
  export declare function startLocalServer(opts: LocalServerOptions): Promise<number>;
464
576
  export declare function assertLocalQueryRuntimeReady(executor: QueryExecutor, connection: ConnectionConfig): Promise<void>;
@@ -499,10 +611,19 @@ export declare function resolveDefaultLLMProvider(projectRoot: string): Provider
499
611
  * answer-loop runner — never the MCP `claudeCodeRunner`, which doesn't emit a governed
500
612
  * answer envelope. Everything else uses the Settings-resolved default runner.
501
613
  */
502
- export declare function resolveGovernedAnswerRunner(projectRoot: string): {
614
+ export declare function resolveGovernedAnswerRunner(projectRoot: string, requestedProvider?: string): {
503
615
  provider: ProviderId;
504
616
  runner: LLMAgentRunner;
505
617
  } | null;
618
+ /**
619
+ * The no-runner outcome is still an authoritative provider preflight result.
620
+ * Preserve an explicit invalid selection as `MODEL_NOT_FOUND` instead of
621
+ * collapsing it into the historical generic authentication error.
622
+ */
623
+ export declare function governedProviderPreflightError(requestedProvider?: string): Error & {
624
+ code: 'MODEL_NOT_FOUND' | 'AUTHENTICATION_FAILED';
625
+ providerPhase: 'preflight';
626
+ };
506
627
  export declare function serializeJSON(value: unknown): string;
507
628
  /**
508
629
  * Extract the single time value returned by an authorized semantic freshness
@@ -761,6 +882,15 @@ export declare function generateSemanticCompostingDrafts(projectRoot: string, ca
761
882
  limit?: number;
762
883
  owner?: string;
763
884
  }): GenerateSemanticCompostingDraftsResult;
885
+ /**
886
+ * Opaque browser-cache identity for local Ask conversations. A browser origin
887
+ * is not a project boundary: a user can stop one `dql notebook` process and
888
+ * start a different project on the same port. The client therefore receives
889
+ * only this one-way, server-owned value and never a local path. It is not a
890
+ * secret: it is intentionally linkable only within the local browser/runtime
891
+ * across restarts so stale cache can be rejected; never log or export it.
892
+ */
893
+ export declare function askConversationProjectIdentity(projectRoot: string): string;
764
894
  /**
765
895
  * Materialize drafts for an APPROVED scope (selected slugs / domains). Reuses
766
896
  * the propose engine's `onlySlugs` path + the draft writer. Plumbing is never
@@ -995,6 +1125,13 @@ export declare function repairExploratorySqlBeforeExecution(sql: string, schemaC
995
1125
  * call when the planner already established top 10.
996
1126
  */
997
1127
  export declare function applyRequestedTopNToExploratorySql(sql: string, requestedTopN?: number): string;
1128
+ /**
1129
+ * Bind an already-authored unqualified relation to a unique inspected physical
1130
+ * relation. The caller owns whether that binding is permitted (exploratory
1131
+ * preflight or a frozen certified artifact); this helper itself never adds a
1132
+ * relation, key, join, predicate, or column.
1133
+ */
1134
+ export declare function qualifyUnambiguousSqlRelationsFromSchema(sql: string, schemaContext: AgentSchemaTable[], repairs: string[], dialect?: string): string;
998
1135
  /** One bounded, sampled relationship observation per inferred equality join. */
999
1136
  export declare function buildExploratoryJoinProbeSql(input: {
1000
1137
  leftRelation: string;
@@ -1547,6 +1684,107 @@ export declare function ensureLocalRuntimeGitignore(projectRoot: string): void;
1547
1684
  * provider is still respected.
1548
1685
  */
1549
1686
  export declare function predictDispatchMs(observed: readonly number[], assumedMs?: number): number;
1687
+ /**
1688
+ * A Research root owns a fixed 120-second deadline. Reserve the last slice
1689
+ * for durable branch receipts, deterministic synthesis, and run persistence;
1690
+ * otherwise the first slow child can consume the entire investigation and
1691
+ * leave the user with neither an answer nor an explanation of the failure.
1692
+ *
1693
+ * This is deliberately a local runtime scheduling policy, not a second
1694
+ * product deadline. The root AgentRunBudget remains the one hard authority.
1695
+ */
1696
+ export declare const RESEARCH_BRANCH_FINALIZATION_RESERVE_MS = 15000;
1697
+ export declare const RESEARCH_MIN_BRANCH_EXECUTION_MS = 1000;
1698
+ /**
1699
+ * Research branches are independent bounded investigations. Run a small
1700
+ * deterministic wave so a five-hypothesis plan does not divide the root
1701
+ * budget into five unusably short serial windows. This is deliberately below
1702
+ * the provider cap and keeps cancellation/finalization responsive.
1703
+ */
1704
+ export declare const RESEARCH_MAX_CONCURRENT_BRANCHES = 3;
1705
+ export type ResearchBranchStopReasonV1 = 'completed' | 'research_branch_timeout' | 'budget_exhausted' | 'run_deadline'
1706
+ /** The user explicitly stopped the root Research run. */
1707
+ | 'cancelled'
1708
+ /** The admitted branch failed before an execution receipt was produced. */
1709
+ | 'execution_failed';
1710
+ /** Content-safe execution receipt for one bounded Research child. */
1711
+ export interface ResearchBranchReceiptV1 {
1712
+ version: 1;
1713
+ branchId: string;
1714
+ childRunId: string;
1715
+ index: number;
1716
+ state: 'completed' | 'failed' | 'timed_out' | 'skipped';
1717
+ verdict: 'inconclusive' | 'failed' | 'skipped';
1718
+ stopReason: ResearchBranchStopReasonV1;
1719
+ /** Present for an admitted child; skipped children never start provider/SQL work. */
1720
+ branchBudgetMs?: number;
1721
+ }
1722
+ /**
1723
+ * Fair-share one child deadline from the remaining root time. The formula is
1724
+ * intentionally deterministic so a trace can explain why a branch stopped:
1725
+ * after finalization is reserved, divide the usable window by the number of
1726
+ * remaining bounded waves. Every branch in the current wave receives the
1727
+ * same window. A too-small share is a skipped branch, not a late
1728
+ * provider/warehouse admission.
1729
+ */
1730
+ export declare function allocateResearchBranchBudget(input: {
1731
+ remainingMs: number;
1732
+ remainingBranches: number;
1733
+ finalizationReserveMs?: number;
1734
+ minExecutionMs?: number;
1735
+ maxConcurrentBranches?: number;
1736
+ }): {
1737
+ version: 1;
1738
+ remainingMs: number;
1739
+ finalizationReserveMs: number;
1740
+ maxConcurrentBranches: number;
1741
+ remainingWaves: number;
1742
+ branchBudgetMs?: number;
1743
+ stopReason?: 'budget_exhausted';
1744
+ };
1745
+ type ResearchBranchActionProjectionInput = {
1746
+ action: {
1747
+ kind: 'lookup_metric' | 'lookup_block' | 'breakdown' | 'compare_time' | 'check_lineage' | 'compose_app';
1748
+ target: string;
1749
+ };
1750
+ /**
1751
+ * The root's host-owned tuple. It may exist before a root route is
1752
+ * executable, which is intentional: Research children still start from the
1753
+ * reader's requirement rather than a planner sentence or root SQL.
1754
+ */
1755
+ rootRequirementSeed: AnalyticalRequirementSeedV1;
1756
+ /** Optional frozen root facts used only to preserve already-resolved terms. */
1757
+ rootPlan?: Pick<ResolvedAnalyticalPlan, 'query' | 'analyticalFrame'>;
1758
+ };
1759
+ export interface ResearchBranchRequirementProjectionV1 {
1760
+ version: 1;
1761
+ action: ResearchBranchActionProjectionInput['action']['kind'];
1762
+ question: string;
1763
+ /**
1764
+ * A host-owned seed only. It deliberately contains no planner supplied
1765
+ * candidate ID: the child router must retrieve and bind candidates from its
1766
+ * own immutable snapshot before it can freeze a plan.
1767
+ */
1768
+ requirementSeed?: AnalyticalRequirementSeedV1;
1769
+ }
1770
+ /**
1771
+ * Convert one typed Research action into an ordinary Ask requirement seed.
1772
+ *
1773
+ * The older branch runner reduced every action to the final token of its
1774
+ * target. That meant `compare_time` and `breakdown` silently discarded the
1775
+ * root metric (and, for time, its required role/grain), so distinct research
1776
+ * branches could all execute the same baseline. This projection is host-only:
1777
+ * it preserves the root tuple and adds the action's one requested operation,
1778
+ * but never turns a planner label into a trusted candidate or SQL authority.
1779
+ */
1780
+ export declare function buildResearchBranchRequirementProjection(input: ResearchBranchActionProjectionInput): ResearchBranchRequirementProjectionV1;
1781
+ /**
1782
+ * Race a child against its own signal while consuming an eventual late
1783
+ * rejection. `runNotebookResearch` also receives that signal and checks it at
1784
+ * persistence boundaries, so a slow provider/query cannot overwrite the
1785
+ * already-recorded timeout receipt after this promise rejects.
1786
+ */
1787
+ export declare function awaitResearchBranchDeadline<T>(work: Promise<T>, signal: AbortSignal): Promise<T>;
1550
1788
  export declare function boundedAgentMeaningSignal(signal?: AbortSignal, timeoutMs?: number): AbortSignal;
1551
1789
  /**
1552
1790
  * Whether the project's stored live-schema snapshot is missing or older than the