@openpond/evals 0.11.18 → 0.11.20

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 (140) hide show
  1. package/dist/connected-evidence/contracts.js +15 -5
  2. package/dist/connected-evidence/imports.js +78 -17
  3. package/dist/connected-evidence/normalize.js +18 -7
  4. package/dist/connected-evidence/sources/claude-branches.js +52 -0
  5. package/dist/connected-evidence/sources/claude-code.js +7 -29
  6. package/dist/connected-evidence/sources/codex-authorization.js +40 -0
  7. package/dist/connected-evidence/sources/codex.js +7 -3
  8. package/dist/connected-evidence/sources/grok-build.js +137 -0
  9. package/dist/connected-evidence/sources/opencode.js +101 -0
  10. package/dist/connected-evidence/sources/pi.js +187 -0
  11. package/dist/graders.js +11 -1
  12. package/dist/learning/budgeted-reward-fixtures.js +1 -0
  13. package/dist/learning/contracts.js +10 -0
  14. package/dist/learning/index.js +1 -0
  15. package/dist/learning/model-judge.js +22 -5
  16. package/dist/learning/reward-calibration-closure.js +110 -0
  17. package/dist/learning/reward-calibration.js +20 -10
  18. package/dist/learning/reward-checks.js +1 -0
  19. package/dist/native-conversations/appimage-runtime.js +131 -0
  20. package/dist/native-conversations/collector-branches.js +79 -0
  21. package/dist/native-conversations/collector-contracts.js +9 -0
  22. package/dist/native-conversations/collector-destinations.js +27 -0
  23. package/dist/native-conversations/collector-errors.js +42 -0
  24. package/dist/native-conversations/collector-progress.js +114 -0
  25. package/dist/native-conversations/collector-store.js +251 -0
  26. package/dist/native-conversations/collector-sync-requests.js +52 -0
  27. package/dist/native-conversations/collector.js +329 -0
  28. package/dist/native-conversations/contracts.js +11 -0
  29. package/dist/native-conversations/database.js +149 -0
  30. package/dist/native-conversations/discovery.js +135 -0
  31. package/dist/native-conversations/history.js +327 -0
  32. package/dist/native-conversations/index.js +11 -0
  33. package/dist/native-conversations/location.js +29 -0
  34. package/dist/native-conversations/openclaw-cold-archive.js +91 -0
  35. package/dist/native-conversations/openclaw-database.js +130 -0
  36. package/dist/native-conversations/readiness.js +4 -0
  37. package/dist/native-conversations/source-locations.js +112 -0
  38. package/dist/native-conversations/supervisor.js +208 -0
  39. package/dist/native-conversations/titles.js +38 -0
  40. package/dist/rewards.js +1 -1
  41. package/dist/types/connected-evidence/contracts.d.ts +15 -0
  42. package/dist/types/connected-evidence/contracts.d.ts.map +1 -1
  43. package/dist/types/connected-evidence/imports.d.ts +7 -0
  44. package/dist/types/connected-evidence/imports.d.ts.map +1 -1
  45. package/dist/types/connected-evidence/normalize.d.ts +7 -0
  46. package/dist/types/connected-evidence/normalize.d.ts.map +1 -1
  47. package/dist/types/connected-evidence/sources/claude-branches.d.ts +19 -0
  48. package/dist/types/connected-evidence/sources/claude-branches.d.ts.map +1 -0
  49. package/dist/types/connected-evidence/sources/claude-code.d.ts +5 -1
  50. package/dist/types/connected-evidence/sources/claude-code.d.ts.map +1 -1
  51. package/dist/types/connected-evidence/sources/codex-authorization.d.ts +18 -0
  52. package/dist/types/connected-evidence/sources/codex-authorization.d.ts.map +1 -0
  53. package/dist/types/connected-evidence/sources/codex.d.ts +5 -1
  54. package/dist/types/connected-evidence/sources/codex.d.ts.map +1 -1
  55. package/dist/types/connected-evidence/sources/grok-build.d.ts +79 -0
  56. package/dist/types/connected-evidence/sources/grok-build.d.ts.map +1 -0
  57. package/dist/types/connected-evidence/sources/history.d.ts +10 -2
  58. package/dist/types/connected-evidence/sources/history.d.ts.map +1 -1
  59. package/dist/types/connected-evidence/sources/opencode.d.ts +78 -0
  60. package/dist/types/connected-evidence/sources/opencode.d.ts.map +1 -0
  61. package/dist/types/connected-evidence/sources/pi.d.ts +79 -0
  62. package/dist/types/connected-evidence/sources/pi.d.ts.map +1 -0
  63. package/dist/types/graders.d.ts +81 -0
  64. package/dist/types/graders.d.ts.map +1 -1
  65. package/dist/types/learning/budgeted-reward-fixtures.d.ts +2 -1
  66. package/dist/types/learning/budgeted-reward-fixtures.d.ts.map +1 -1
  67. package/dist/types/learning/contracts.d.ts +167 -0
  68. package/dist/types/learning/contracts.d.ts.map +1 -1
  69. package/dist/types/learning/index.d.ts +1 -0
  70. package/dist/types/learning/index.d.ts.map +1 -1
  71. package/dist/types/learning/judge-budget.d.ts +3 -0
  72. package/dist/types/learning/judge-budget.d.ts.map +1 -1
  73. package/dist/types/learning/model-judge.d.ts +6 -1
  74. package/dist/types/learning/model-judge.d.ts.map +1 -1
  75. package/dist/types/learning/operations.d.ts +44 -0
  76. package/dist/types/learning/operations.d.ts.map +1 -1
  77. package/dist/types/learning/repository.d.ts +81 -0
  78. package/dist/types/learning/repository.d.ts.map +1 -1
  79. package/dist/types/learning/reward-calibration-closure.d.ts +2323 -0
  80. package/dist/types/learning/reward-calibration-closure.d.ts.map +1 -0
  81. package/dist/types/learning/reward-calibration.d.ts +1 -1
  82. package/dist/types/learning/reward-calibration.d.ts.map +1 -1
  83. package/dist/types/learning/reward-checks.d.ts +35 -0
  84. package/dist/types/learning/reward-checks.d.ts.map +1 -1
  85. package/dist/types/learning/transport.d.ts +103 -0
  86. package/dist/types/learning/transport.d.ts.map +1 -1
  87. package/dist/types/native-conversations/appimage-runtime.d.ts +12 -0
  88. package/dist/types/native-conversations/appimage-runtime.d.ts.map +1 -0
  89. package/dist/types/native-conversations/collector-branches.d.ts +22 -0
  90. package/dist/types/native-conversations/collector-branches.d.ts.map +1 -0
  91. package/dist/types/native-conversations/collector-contracts.d.ts +92 -0
  92. package/dist/types/native-conversations/collector-contracts.d.ts.map +1 -0
  93. package/dist/types/native-conversations/collector-destinations.d.ts +18 -0
  94. package/dist/types/native-conversations/collector-destinations.d.ts.map +1 -0
  95. package/dist/types/native-conversations/collector-errors.d.ts +13 -0
  96. package/dist/types/native-conversations/collector-errors.d.ts.map +1 -0
  97. package/dist/types/native-conversations/collector-progress.d.ts +24 -0
  98. package/dist/types/native-conversations/collector-progress.d.ts.map +1 -0
  99. package/dist/types/native-conversations/collector-store.d.ts +31 -0
  100. package/dist/types/native-conversations/collector-store.d.ts.map +1 -0
  101. package/dist/types/native-conversations/collector-sync-requests.d.ts +25 -0
  102. package/dist/types/native-conversations/collector-sync-requests.d.ts.map +1 -0
  103. package/dist/types/native-conversations/collector.d.ts +8 -0
  104. package/dist/types/native-conversations/collector.d.ts.map +1 -0
  105. package/dist/types/native-conversations/contracts.d.ts +47 -0
  106. package/dist/types/native-conversations/contracts.d.ts.map +1 -0
  107. package/dist/types/native-conversations/database.d.ts +14 -0
  108. package/dist/types/native-conversations/database.d.ts.map +1 -0
  109. package/dist/types/native-conversations/discovery.d.ts +9 -0
  110. package/dist/types/native-conversations/discovery.d.ts.map +1 -0
  111. package/dist/types/native-conversations/history.d.ts +23 -0
  112. package/dist/types/native-conversations/history.d.ts.map +1 -0
  113. package/dist/types/native-conversations/index.d.ts +12 -0
  114. package/dist/types/native-conversations/index.d.ts.map +1 -0
  115. package/dist/types/native-conversations/location.d.ts +3 -0
  116. package/dist/types/native-conversations/location.d.ts.map +1 -0
  117. package/dist/types/native-conversations/openclaw-cold-archive.d.ts +8 -0
  118. package/dist/types/native-conversations/openclaw-cold-archive.d.ts.map +1 -0
  119. package/dist/types/native-conversations/openclaw-database.d.ts +14 -0
  120. package/dist/types/native-conversations/openclaw-database.d.ts.map +1 -0
  121. package/dist/types/native-conversations/readiness.d.ts +5 -0
  122. package/dist/types/native-conversations/readiness.d.ts.map +1 -0
  123. package/dist/types/native-conversations/source-locations.d.ts +8 -0
  124. package/dist/types/native-conversations/source-locations.d.ts.map +1 -0
  125. package/dist/types/native-conversations/supervisor.d.ts +21 -0
  126. package/dist/types/native-conversations/supervisor.d.ts.map +1 -0
  127. package/dist/types/native-conversations/titles.d.ts +4 -0
  128. package/dist/types/native-conversations/titles.d.ts.map +1 -0
  129. package/dist/types/rewards.d.ts +50 -0
  130. package/dist/types/rewards.d.ts.map +1 -1
  131. package/dist/types/telemetry-analysis.d.ts +1 -1
  132. package/dist/types/telemetry-bundle.d.ts +2 -2
  133. package/dist/types/telemetry-catalog.d.ts +21 -21
  134. package/dist/types/telemetry.d.ts +2 -2
  135. package/package.json +11 -3
  136. package/schemas/learning/v1/command-request.schema.json +122 -91
  137. package/schemas/learning/v1/decision.schema.json +63 -0
  138. package/schemas/learning/v1/grade.schema.json +91 -0
  139. package/schemas/learning/v1/reward_check.schema.json +91 -0
  140. package/schemas/learning/v1/source.schema.json +28 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reward-calibration-closure.d.ts","sourceRoot":"","sources":["../../../../../src/learning/reward-calibration-closure.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,OAAO,EAA2D,KAAK,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAInH,OAAO,EAAmD,KAAK,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAC5G,OAAO,EAAE,WAAW,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AACxE,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEzD,eAAO,MAAM,oCAAoC,SAAU,CAAC;AAC5D,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAU/I;AAED,wBAAgB,6BAA6B,CAAC,GAAG,EAAE,OAAO;;;;;;;;;;;;;;EAIzD"}
@@ -3,7 +3,7 @@ import type { AuthoringDraftFor } from "./authoring.js";
3
3
  import { type LearningTransaction } from "./repository.js";
4
4
  import { type RewardCheckRun } from "./reward-checks.js";
5
5
  /** Qualification is tied to the exact private draft, fixtures and worker-owned
6
- * provider receipts. Publishing does not rewrite or re-run those checks. */
6
+ * execution results. Model judges additionally require provider receipts. */
7
7
  export declare function qualifyRewardCheck(draft: AuthoringDraftFor<"reward">, base: RewardRelease | null, check: RewardCheckRun): {
8
8
  reward: {
9
9
  schemaVersion: "openpond.rewardRelease.v1";
@@ -1 +1 @@
1
- {"version":3,"file":"reward-calibration.d.ts","sourceRoot":"","sources":["../../../../../src/learning/reward-calibration.ts"],"names":[],"mappings":"AACA,OAAO,EAAuB,KAAK,aAAa,EAAE,MAAM,eAAe,CAAC;AACxE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAGxD,OAAO,EAAmD,KAAK,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAC5G,OAAO,EAA0C,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEjG;4EAC4E;AAC5E,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,iBAAiB,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,aAAa,GAAG,IAAI,EAAE,KAAK,EAAE,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4BvH;AAED;yEACyE;AACzE,wBAAsB,uBAAuB,CAAC,EAAE,EAAE,mBAAmB,EAAE,MAAM,EAAE,aAAa,iBAe3F"}
1
+ {"version":3,"file":"reward-calibration.d.ts","sourceRoot":"","sources":["../../../../../src/learning/reward-calibration.ts"],"names":[],"mappings":"AACA,OAAO,EAAuB,KAAK,aAAa,EAAE,MAAM,eAAe,CAAC;AACxE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAGxD,OAAO,EAAmD,KAAK,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAC5G,OAAO,EAA0C,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEjG;6EAC6E;AAC7E,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,iBAAiB,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,aAAa,GAAG,IAAI,EAAE,KAAK,EAAE,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiCvH;AAED;yEACyE;AACzE,wBAAsB,uBAAuB,CAAC,EAAE,EAAE,mBAAmB,EAAE,MAAM,EAAE,aAAa,iBAoB3F"}
@@ -93,6 +93,22 @@ export declare const RewardFixtureCheckResultSchema: z.ZodObject<{
93
93
  inputTokens: z.ZodNullable<z.ZodNumber>;
94
94
  outputTokens: z.ZodNullable<z.ZodNumber>;
95
95
  costUsd: z.ZodNullable<z.ZodNumber>;
96
+ transportPolicy: z.ZodOptional<z.ZodObject<{
97
+ schemaVersion: z.ZodLiteral<"openpond.modelJudgeTransportPolicy.v1">;
98
+ responseFormat: z.ZodLiteral<"judgment_json_schema">;
99
+ reasoningEffort: z.ZodEnum<{
100
+ off: "off";
101
+ low: "low";
102
+ medium: "medium";
103
+ high: "high";
104
+ xhigh: "xhigh";
105
+ max: "max";
106
+ }>;
107
+ maximumOutputTokens: z.ZodNumber;
108
+ }, z.core.$strict>>;
109
+ effectiveRequestHash: z.ZodOptional<z.ZodString>;
110
+ finishReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
111
+ reasoningTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
96
112
  }, z.core.$strict>>;
97
113
  contentHash: z.ZodString;
98
114
  }, z.core.$strict>>;
@@ -194,6 +210,22 @@ export declare const RewardCheckRunSchema: z.ZodObject<{
194
210
  inputTokens: z.ZodNullable<z.ZodNumber>;
195
211
  outputTokens: z.ZodNullable<z.ZodNumber>;
196
212
  costUsd: z.ZodNullable<z.ZodNumber>;
213
+ transportPolicy: z.ZodOptional<z.ZodObject<{
214
+ schemaVersion: z.ZodLiteral<"openpond.modelJudgeTransportPolicy.v1">;
215
+ responseFormat: z.ZodLiteral<"judgment_json_schema">;
216
+ reasoningEffort: z.ZodEnum<{
217
+ off: "off";
218
+ low: "low";
219
+ medium: "medium";
220
+ high: "high";
221
+ xhigh: "xhigh";
222
+ max: "max";
223
+ }>;
224
+ maximumOutputTokens: z.ZodNumber;
225
+ }, z.core.$strict>>;
226
+ effectiveRequestHash: z.ZodOptional<z.ZodString>;
227
+ finishReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
228
+ reasoningTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
197
229
  }, z.core.$strict>>;
198
230
  contentHash: z.ZodString;
199
231
  }, z.core.$strict>>;
@@ -222,6 +254,9 @@ export declare const RewardCheckRunSchema: z.ZodObject<{
222
254
  inputTokens: z.ZodNullable<z.ZodNumber>;
223
255
  outputTokens: z.ZodNullable<z.ZodNumber>;
224
256
  costUsd: z.ZodNullable<z.ZodNumber>;
257
+ effectiveRequestHash: z.ZodOptional<z.ZodString>;
258
+ finishReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
259
+ reasoningTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
225
260
  }, z.core.$strict>>;
226
261
  }, z.core.$strict>>>;
227
262
  requestedBy: z.ZodOptional<z.ZodString>;
@@ -1 +1 @@
1
- {"version":3,"file":"reward-checks.d.ts","sourceRoot":"","sources":["../../../../../src/learning/reward-checks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAsE,KAAK,iBAAiB,EAAE,KAAK,aAAa,EAAE,MAAM,eAAe,CAAC;AAC/I,OAAO,KAAK,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAI5E,OAAO,KAAK,EAAE,iBAAiB,EAAE,4BAA4B,EAAE,MAAM,gBAAgB,CAAC;AAItF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;kBAY9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,eAAO,MAAM,wBAAwB;;;;kBAA6H,CAAC;AACnK,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAGhC,CAAC;AACZ,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AACtF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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@ -828,6 +828,17 @@ export declare const LearningCommandRequestSchema: z.ZodObject<{
828
828
  revision: z.ZodNumber;
829
829
  }, z.core.$strict>;
830
830
  }, z.core.$strict>>;
831
+ capturedOrigin: z.ZodOptional<z.ZodObject<{
832
+ receiptId: z.ZodString;
833
+ ownerUserId: z.ZodString;
834
+ modelId: z.ZodString;
835
+ packageHash: z.ZodString;
836
+ taskset: z.ZodObject<{
837
+ id: z.ZodString;
838
+ contentHash: z.ZodString;
839
+ revision: z.ZodNumber;
840
+ }, z.core.$strict>;
841
+ }, z.core.$strict>>;
831
842
  }, z.core.$strict>;
832
843
  }, z.core.$strict>, z.ZodObject<{
833
844
  operationId: z.ZodString;
@@ -1630,6 +1641,17 @@ export declare const LearningCommandRequestSchema: z.ZodObject<{
1630
1641
  revision: z.ZodNumber;
1631
1642
  }, z.core.$strict>;
1632
1643
  }, z.core.$strict>>;
1644
+ capturedOrigin: z.ZodOptional<z.ZodObject<{
1645
+ receiptId: z.ZodString;
1646
+ ownerUserId: z.ZodString;
1647
+ modelId: z.ZodString;
1648
+ packageHash: z.ZodString;
1649
+ taskset: z.ZodObject<{
1650
+ id: z.ZodString;
1651
+ contentHash: z.ZodString;
1652
+ revision: z.ZodNumber;
1653
+ }, z.core.$strict>;
1654
+ }, z.core.$strict>>;
1633
1655
  }, z.core.$strict>;
1634
1656
  expectedRevision: z.ZodNumber;
1635
1657
  }, z.core.$strict> | z.ZodObject<{
@@ -2975,6 +2997,17 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
2975
2997
  revision: z.ZodNumber;
2976
2998
  }, z.core.$strict>;
2977
2999
  }, z.core.$strict>>;
3000
+ capturedOrigin: z.ZodOptional<z.ZodObject<{
3001
+ receiptId: z.ZodString;
3002
+ ownerUserId: z.ZodString;
3003
+ modelId: z.ZodString;
3004
+ packageHash: z.ZodString;
3005
+ taskset: z.ZodObject<{
3006
+ id: z.ZodString;
3007
+ contentHash: z.ZodString;
3008
+ revision: z.ZodNumber;
3009
+ }, z.core.$strict>;
3010
+ }, z.core.$strict>>;
2978
3011
  contentHash: z.ZodString;
2979
3012
  }, z.core.$strict> | z.ZodObject<{
2980
3013
  schemaVersion: z.ZodLiteral<"openpond.taskEvidence.v1">;
@@ -3219,6 +3252,22 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
3219
3252
  inputTokens: z.ZodNullable<z.ZodNumber>;
3220
3253
  outputTokens: z.ZodNullable<z.ZodNumber>;
3221
3254
  costUsd: z.ZodNullable<z.ZodNumber>;
3255
+ transportPolicy: z.ZodOptional<z.ZodObject<{
3256
+ schemaVersion: z.ZodLiteral<"openpond.modelJudgeTransportPolicy.v1">;
3257
+ responseFormat: z.ZodLiteral<"judgment_json_schema">;
3258
+ reasoningEffort: z.ZodEnum<{
3259
+ off: "off";
3260
+ low: "low";
3261
+ medium: "medium";
3262
+ high: "high";
3263
+ xhigh: "xhigh";
3264
+ max: "max";
3265
+ }>;
3266
+ maximumOutputTokens: z.ZodNumber;
3267
+ }, z.core.$strict>>;
3268
+ effectiveRequestHash: z.ZodOptional<z.ZodString>;
3269
+ finishReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3270
+ reasoningTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3222
3271
  }, z.core.$strict>>;
3223
3272
  contentHash: z.ZodString;
3224
3273
  }, z.core.$strict>>;
@@ -3311,6 +3360,22 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
3311
3360
  inputTokens: z.ZodNullable<z.ZodNumber>;
3312
3361
  outputTokens: z.ZodNullable<z.ZodNumber>;
3313
3362
  costUsd: z.ZodNullable<z.ZodNumber>;
3363
+ transportPolicy: z.ZodOptional<z.ZodObject<{
3364
+ schemaVersion: z.ZodLiteral<"openpond.modelJudgeTransportPolicy.v1">;
3365
+ responseFormat: z.ZodLiteral<"judgment_json_schema">;
3366
+ reasoningEffort: z.ZodEnum<{
3367
+ off: "off";
3368
+ low: "low";
3369
+ medium: "medium";
3370
+ high: "high";
3371
+ xhigh: "xhigh";
3372
+ max: "max";
3373
+ }>;
3374
+ maximumOutputTokens: z.ZodNumber;
3375
+ }, z.core.$strict>>;
3376
+ effectiveRequestHash: z.ZodOptional<z.ZodString>;
3377
+ finishReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3378
+ reasoningTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3314
3379
  }, z.core.$strict>>;
3315
3380
  contentHash: z.ZodString;
3316
3381
  }, z.core.$strict>>;
@@ -3865,6 +3930,22 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
3865
3930
  inputTokens: z.ZodNullable<z.ZodNumber>;
3866
3931
  outputTokens: z.ZodNullable<z.ZodNumber>;
3867
3932
  costUsd: z.ZodNullable<z.ZodNumber>;
3933
+ transportPolicy: z.ZodOptional<z.ZodObject<{
3934
+ schemaVersion: z.ZodLiteral<"openpond.modelJudgeTransportPolicy.v1">;
3935
+ responseFormat: z.ZodLiteral<"judgment_json_schema">;
3936
+ reasoningEffort: z.ZodEnum<{
3937
+ off: "off";
3938
+ low: "low";
3939
+ medium: "medium";
3940
+ high: "high";
3941
+ xhigh: "xhigh";
3942
+ max: "max";
3943
+ }>;
3944
+ maximumOutputTokens: z.ZodNumber;
3945
+ }, z.core.$strict>>;
3946
+ effectiveRequestHash: z.ZodOptional<z.ZodString>;
3947
+ finishReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3948
+ reasoningTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3868
3949
  }, z.core.$strict>>;
3869
3950
  contentHash: z.ZodString;
3870
3951
  }, z.core.$strict>>;
@@ -3914,6 +3995,9 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
3914
3995
  inputTokens: z.ZodNullable<z.ZodNumber>;
3915
3996
  outputTokens: z.ZodNullable<z.ZodNumber>;
3916
3997
  costUsd: z.ZodNullable<z.ZodNumber>;
3998
+ effectiveRequestHash: z.ZodOptional<z.ZodString>;
3999
+ finishReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4000
+ reasoningTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3917
4001
  }, z.core.$strict>>;
3918
4002
  }, z.core.$strict>>>;
3919
4003
  requestedBy: z.ZodOptional<z.ZodString>;
@@ -4437,6 +4521,22 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
4437
4521
  inputTokens: z.ZodNullable<z.ZodNumber>;
4438
4522
  outputTokens: z.ZodNullable<z.ZodNumber>;
4439
4523
  costUsd: z.ZodNullable<z.ZodNumber>;
4524
+ transportPolicy: z.ZodOptional<z.ZodObject<{
4525
+ schemaVersion: z.ZodLiteral<"openpond.modelJudgeTransportPolicy.v1">;
4526
+ responseFormat: z.ZodLiteral<"judgment_json_schema">;
4527
+ reasoningEffort: z.ZodEnum<{
4528
+ off: "off";
4529
+ low: "low";
4530
+ medium: "medium";
4531
+ high: "high";
4532
+ xhigh: "xhigh";
4533
+ max: "max";
4534
+ }>;
4535
+ maximumOutputTokens: z.ZodNumber;
4536
+ }, z.core.$strict>>;
4537
+ effectiveRequestHash: z.ZodOptional<z.ZodString>;
4538
+ finishReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4539
+ reasoningTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4440
4540
  }, z.core.$strict>>;
4441
4541
  contentHash: z.ZodString;
4442
4542
  }, z.core.$strict>>;
@@ -4465,6 +4565,9 @@ export declare const LearningOperationResultSchema: z.ZodObject<{
4465
4565
  inputTokens: z.ZodNullable<z.ZodNumber>;
4466
4566
  outputTokens: z.ZodNullable<z.ZodNumber>;
4467
4567
  costUsd: z.ZodNullable<z.ZodNumber>;
4568
+ effectiveRequestHash: z.ZodOptional<z.ZodString>;
4569
+ finishReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4570
+ reasoningTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4468
4571
  }, z.core.$strict>>;
4469
4572
  }, z.core.$strict>>>;
4470
4573
  requestedBy: z.ZodOptional<z.Z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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAG/B,CAAC"}
@@ -0,0 +1,12 @@
1
+ /** An AppImage mount belongs to the foreground app; supervision needs its own immutable image. */
2
+ export declare function retainAppImageRuntime(input: {
3
+ directory: string;
4
+ executable: string;
5
+ args: string[];
6
+ }, env?: NodeJS.ProcessEnv): Promise<{
7
+ executable: string;
8
+ args: string[];
9
+ } | null>;
10
+ /** Called only after the platform supervisor has stopped and removed its job. */
11
+ export declare function removeAppImageRuntimes(directory: string): Promise<void>;
12
+ //# sourceMappingURL=appimage-runtime.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"appimage-runtime.d.ts","sourceRoot":"","sources":["../../../../../src/native-conversations/appimage-runtime.ts"],"names":[],"mappings":"AAyCA,kGAAkG;AAClG,wBAAsB,qBAAqB,CAAC,KAAK,EAAE;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,EAAE,CAAA;CAAE,EAAE,GAAG,GAAE,MAAM,CAAC,UAAwB;;;UAsCjJ;AAED,iFAAiF;AACjF,wBAAsB,sBAAsB,CAAC,SAAS,EAAE,MAAM,iBAO7D"}
@@ -0,0 +1,22 @@
1
+ import { CollectorStore } from "./collector-store.js";
2
+ import type { NativeBranchAnchor, NativeBranchChoice, NativeSession } from "./contracts.js";
3
+ export declare function collectorBranchAnchor(store: CollectorStore, connectionId: string, nativeSessionId: string): NativeBranchAnchor | undefined;
4
+ export declare function inspectCollectorBranches(directory: string, connectionId: string, nativeSessionId: string): Promise<{
5
+ revision: string;
6
+ branches: Array<{
7
+ leafId: string;
8
+ chainHash: string;
9
+ title: string;
10
+ updatedAt: string | null;
11
+ messages: number;
12
+ }>;
13
+ session: NativeSession;
14
+ }>;
15
+ /** A paused connection fences earlier in-flight admission before narrowing its branch authority. */
16
+ export declare function selectCollectorBranch(directory: string, connectionId: string, nativeSessionId: string, choice: NativeBranchChoice): Promise<{
17
+ connectionId: string;
18
+ nativeSessionId: string;
19
+ leafId: string;
20
+ state: "paused";
21
+ }>;
22
+ //# sourceMappingURL=collector-branches.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collector-branches.d.ts","sourceRoot":"","sources":["../../../../../src/native-conversations/collector-branches.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAGtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,aAAa,EAAgB,MAAM,gBAAgB,CAAC;AAK1G,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,GAAG,kBAAkB,GAAG,SAAS,CAM1I;AAeD,wBAAsB,wBAAwB,CAAC,SAAS,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM;;;;;;;;;;GAQ9G;AAED,oGAAoG;AACpG,wBAAsB,qBAAqB,CAAC,SAAS,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB;;;;;GAyBvI"}
@@ -0,0 +1,92 @@
1
+ import type { NativeSource } from "./contracts.js";
2
+ import type { CollectorBackfillProgress } from "./collector-progress.js";
3
+ export declare const COLLECTOR_DEFAULTS: {
4
+ readonly reconcileMs: 30000;
5
+ readonly heartbeatMs: 10000;
6
+ readonly staleMs: 60000;
7
+ readonly maxPending: 10000;
8
+ readonly maxBytes: number;
9
+ readonly batchCases: 20;
10
+ readonly batchBytes: number;
11
+ };
12
+ export interface CollectorDestinations {
13
+ taskDatasetId: string | null;
14
+ conversationDatasetId: string | null;
15
+ }
16
+ export interface CollectorRemoteControl {
17
+ revision: number;
18
+ state: CollectorConnection["state"];
19
+ destinations?: CollectorDestinations;
20
+ requestedSyncRevision?: number;
21
+ completedSyncRevision?: number;
22
+ }
23
+ export interface CollectorConnection {
24
+ id: string;
25
+ teamId: string;
26
+ apiBaseUrl: string;
27
+ account?: string;
28
+ accountBaseUrl?: string;
29
+ destinations?: CollectorDestinations;
30
+ requestedSyncRevision?: number;
31
+ /** Locally completed work, retained before the hosted acknowledgement is sent. */
32
+ completedSyncRevision?: number;
33
+ source: NativeSource;
34
+ projectId: string;
35
+ revision: number;
36
+ since: string | null;
37
+ keepSyncing: boolean;
38
+ state: "active" | "paused" | "disconnected";
39
+ }
40
+ export interface CollectorStatus {
41
+ schemaVersion: 1;
42
+ running: boolean;
43
+ desiredState: "running" | "stopped";
44
+ pid: number | null;
45
+ heartbeatAt: string | null;
46
+ connections: {
47
+ id: string;
48
+ state: CollectorConnection["state"];
49
+ projectId: string;
50
+ teamId: string;
51
+ accountBaseUrl: string | null;
52
+ sourceInstanceId: string;
53
+ sourceRoot: string;
54
+ source: NativeSource["source"];
55
+ queued: number;
56
+ admitted: number;
57
+ error: string | null;
58
+ backfill: CollectorBackfillProgress;
59
+ pendingBytes: number;
60
+ lastAdmissionAt: string | null;
61
+ requestedSyncRevision: number;
62
+ completedSyncRevision: number;
63
+ acknowledgedSyncRevision: number;
64
+ destinationLinks: {
65
+ tasks: string | null;
66
+ conversations: string | null;
67
+ };
68
+ }[];
69
+ }
70
+ export interface CollectorAdmission {
71
+ operationId: string;
72
+ connectionId: string;
73
+ sessionKey: string;
74
+ contentHash: string;
75
+ files: {
76
+ path: string;
77
+ text: string;
78
+ }[];
79
+ boundaryIds: string[];
80
+ branchLeafId?: string;
81
+ }
82
+ /** Credentials are resolved by the process host, never persisted in source metadata or queue entries. */
83
+ export interface CollectorTransport {
84
+ pause?(connection: CollectorConnection): Promise<CollectorRemoteControl>;
85
+ heartbeat(connection: CollectorConnection, input: {
86
+ pendingOperations: number;
87
+ error: string | null;
88
+ completedSyncRevision: number;
89
+ }): Promise<CollectorRemoteControl>;
90
+ admit(connection: CollectorConnection, entry: CollectorAdmission): Promise<void>;
91
+ }
92
+ //# sourceMappingURL=collector-contracts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collector-contracts.d.ts","sourceRoot":"","sources":["../../../../../src/native-conversations/collector-contracts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AACzE,eAAO,MAAM,kBAAkB;;;;;;;;CAQrB,CAAC;AACX,MAAM,WAAW,qBAAqB;IAAG,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE;AAC7G,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,mBAAmB,CAAC,OAAO,CAAC,CAAC;IACpC,YAAY,CAAC,EAAE,qBAAqB,CAAC;IACrC,qBAAqB,CAA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AAC;QACrB,QAAQ,EAAE,yBAAyB,CAAC;QACpC,YAAY,EAAE,MAAM,CAAC;QACrB,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;QAC/B,qBAAqB,EAAE,MAAM,CAAC;QAC9B,qBAAqB,EAAE,MAAM,CAAC;QAC9B,wBAAwB,EAAE,MAAM,CAAC;QACjC,gBAAgB,EAAE;YAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;YAAC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAA;SAAE,CAAC;KAC1E,EAAE,CAAC;CACL;AACD,MAAM,WAAW,kBAAkB;IACjC,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IACxC,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AACD,yGAAyG;AACzG,MAAM,WAAW,kBAAkB;IACjC,KAAK,CAAC,CACJ,UAAU,EAAE,mBAAmB,GAC9B,OAAO,CAAC,sBAAsB,CAAC,CAAC;IACnC,SAAS,CACP,UAAU,EAAE,mBAAmB,EAC/B,KAAK,EAAE;QAAE,iBAAiB,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,qBAAqB,EAAE,MAAM,CAAA;KAAE,GACxF,OAAO,CAAC,sBAAsB,CAAC,CAAC;IACnC,KAAK,CACH,UAAU,EAAE,mBAAmB,EAC/B,KAAK,EAAE,kBAAkB,GACxB,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
@@ -0,0 +1,18 @@
1
+ import type { CollectorConnection, CollectorDestinations } from "./collector-contracts.js";
2
+ /** Only destinations explicitly returned for this exact authenticated source. */
3
+ export declare function collectorDestinations(connection: CollectorConnection, remote: {
4
+ id: string;
5
+ teamId: string;
6
+ projectId: string;
7
+ machineId: string;
8
+ sourceInstanceId: string;
9
+ sourceRoot: string;
10
+ source: string;
11
+ taskDatasetId: string | null;
12
+ conversationDatasetId: string | null;
13
+ }): CollectorDestinations;
14
+ export declare function collectorDestinationLinks(connection: CollectorConnection): {
15
+ tasks: string | null;
16
+ conversations: string | null;
17
+ };
18
+ //# sourceMappingURL=collector-destinations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collector-destinations.d.ts","sourceRoot":"","sources":["../../../../../src/native-conversations/collector-destinations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAE3F,iFAAiF;AACjF,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,mBAAmB,EAAE,MAAM,EAAE;IAC7E,EAAE,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IACjE,gBAAgB,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3F,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAC;CACtC,GAAG,qBAAqB,CAMxB;AAED,wBAAgB,yBAAyB,CAAC,UAAU,EAAE,mBAAmB;;;EAWxE"}
@@ -0,0 +1,13 @@
1
+ import type { CollectorStore } from "./collector-store.js";
2
+ export type CollectorErrorPhase = "source" | "heartbeat" | "admission" | "control";
3
+ /** A recovered network probe cannot erase a durable unreadable-source or
4
+ * unacknowledged-admission failure, including after a collector restart. */
5
+ export declare class CollectorErrors {
6
+ private readonly store;
7
+ constructor(store: CollectorStore);
8
+ private read;
9
+ message(id: string, exclude?: CollectorErrorPhase): string | null;
10
+ source(id: string): string | null;
11
+ set(id: string, phase: CollectorErrorPhase, message: string | null): void;
12
+ }
13
+ //# sourceMappingURL=collector-errors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collector-errors.d.ts","sourceRoot":"","sources":["../../../../../src/native-conversations/collector-errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,MAAM,MAAM,mBAAmB,GAC3B,QAAQ,GACR,WAAW,GACX,WAAW,GACX,SAAS,CAAC;AASd;4EAC4E;AAC5E,qBAAa,eAAe;IACd,OAAO,CAAC,QAAQ,CAAC,KAAK;gBAAL,KAAK,EAAE,cAAc;IAElD,OAAO,CAAC,IAAI;IAWZ,OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,mBAAmB;IAUjD,MAAM,CAAC,EAAE,EAAE,MAAM;IAIjB,GAAG,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,mBAAmB,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI;CAOnE"}
@@ -0,0 +1,24 @@
1
+ import type { DatabaseSync } from "node:sqlite";
2
+ export interface CollectorBackfillProgress {
3
+ stage: "discovering" | "reading" | "uploading" | "attention" | "complete";
4
+ total: number;
5
+ admitted: number;
6
+ skipped: number;
7
+ failed: number;
8
+ }
9
+ /** Frozen initial session selection; live arrivals never grow this denominator. */
10
+ export declare class CollectorProgress {
11
+ private readonly database;
12
+ constructor(database: DatabaseSync);
13
+ reset(connectionId: string): void;
14
+ select(connectionId: string, sessionKey: string): void;
15
+ tracks(connectionId: string, sessionKey: string): boolean;
16
+ queued(operationId: string, connectionId: string, sessionKey: string): void;
17
+ retained(connectionId: string, sessionKey: string, normalizedSessionKey: string): void;
18
+ read(connectionId: string, sessionKey: string, eligible: boolean): void;
19
+ failed(connectionId: string, sessionKey: string, message: string): void;
20
+ discovered(connectionId: string): void;
21
+ acknowledge(operationId: string): void;
22
+ status(connectionId: string): CollectorBackfillProgress;
23
+ }
24
+ //# sourceMappingURL=collector-progress.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collector-progress.d.ts","sourceRoot":"","sources":["../../../../../src/native-conversations/collector-progress.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,aAAa,GAAG,SAAS,GAAG,WAAW,GAAG,WAAW,GAAG,UAAU,CAAC;IAC1E,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,mFAAmF;AACnF,qBAAa,iBAAiB;IAChB,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBAAR,QAAQ,EAAE,YAAY;IAOnD,KAAK,CAAC,YAAY,EAAE,MAAM;IAM1B,MAAM,CAAC,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM;IAc/C,MAAM,CAAC,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM;IAQ/C,MAAM,CAAC,WAAW,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM;IAMpE,QAAQ,CACN,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,MAAM,EAClB,oBAAoB,EAAE,MAAM;IAW9B,IAAI,CAAC,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO;IAiBhE,MAAM,CAAC,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM;IAQhE,UAAU,CAAC,YAAY,EAAE,MAAM;IAO/B,WAAW,CAAC,WAAW,EAAE,MAAM;IAsB/B,MAAM,CAAC,YAAY,EAAE,MAAM,GAAG,yBAAyB;CA4BxD"}
@@ -0,0 +1,31 @@
1
+ import { DatabaseSync } from "node:sqlite";
2
+ import type { CollectorAdmission, CollectorConnection, CollectorStatus } from "./collector-contracts.js";
3
+ import { CollectorProgress } from "./collector-progress.js";
4
+ export declare class CollectorStore {
5
+ readonly database: DatabaseSync;
6
+ readonly progress: CollectorProgress;
7
+ private constructor();
8
+ static open(directory: string): Promise<CollectorStore>;
9
+ close(): void;
10
+ setting(key: string): string | null;
11
+ set(key: string, value: string): void;
12
+ connections(): CollectorConnection[];
13
+ put(connection: CollectorConnection): void;
14
+ error(id: string, message: string | null): void;
15
+ queued(id?: string): number;
16
+ sourceChanged(connectionId: string, sessionKey: string, revision: string): boolean;
17
+ scanned(connectionId: string, sessionKey: string, revision: string): void;
18
+ changed(connectionId: string, sessionKey: string, boundaryId: string, revision: string): boolean;
19
+ enqueue(entry: CollectorAdmission, revisions: {
20
+ id: string;
21
+ revision: string;
22
+ }[], progressSessionKey?: string): void;
23
+ next(connectionId: string): {
24
+ entry: CollectorAdmission;
25
+ attempts: number;
26
+ } | null;
27
+ acknowledge(entry: CollectorAdmission): void;
28
+ retry(id: string, attempts: number): void;
29
+ status(): CollectorStatus;
30
+ }
31
+ //# sourceMappingURL=collector-store.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collector-store.d.ts","sourceRoot":"","sources":["../../../../../src/native-conversations/collector-store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAG3C,OAAO,KAAK,EACV,kBAAkB,EAClB,mBAAmB,EACnB,eAAe,EAChB,MAAM,0BAA0B,CAAC;AAGlC,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,qBAAa,cAAc;IAEL,QAAQ,CAAC,QAAQ,EAAE,YAAY;IADnD,QAAQ,CAAC,QAAQ,EAAE,iBAAiB,CAAC;IACrC,OAAO;WAGM,IAAI,CAAC,SAAS,EAAE,MAAM;IAgBnC,KAAK;IAGL,OAAO,CAAC,GAAG,EAAE,MAAM;IAMnB,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;IAO9B,WAAW,IAAI,mBAAmB,EAAE;IAMpC,GAAG,CAAC,UAAU,EAAE,mBAAmB;IAgEnC,KAAK,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI;IAKxC,MAAM,CAAC,EAAE,CAAC,EAAE,MAAM;IAUlB,aAAa,CAAC,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;IASxE,OAAO,CAAC,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;IAOlE,OAAO,CACL,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM;IAUlB,OAAO,CACL,KAAK,EAAE,kBAAkB,EACzB,SAAS,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,EAAE,EAC7C,kBAAkB,CAAC,EAAE,MAAM;IA6C7B,IAAI,CAAC,YAAY,EAAE,MAAM;eAQyB,kBAAkB;;;IAKpE,WAAW,CAAC,KAAK,EAAE,kBAAkB;IA4BrC,KAAK,CAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;IAUlC,MAAM,IAAI,eAAe;CAsD1B"}
@@ -0,0 +1,25 @@
1
+ import type { CollectorConnection, CollectorRemoteControl } from "./collector-contracts.js";
2
+ import type { CollectorStore } from "./collector-store.js";
3
+ export interface SyncAcquisition {
4
+ controlRevision: number;
5
+ requestedSyncRevision: number;
6
+ succeeded: boolean;
7
+ }
8
+ /** The request and completed-work receipt are durable. An in-process scan token
9
+ * deliberately is not: restart reconciles the retained source again before it
10
+ * can claim previously unfinished work completed. */
11
+ export declare class CollectorSyncRequests {
12
+ private readonly store;
13
+ private readonly acquisitions;
14
+ constructor(store: CollectorStore);
15
+ observe(connection: CollectorConnection, remote: CollectorRemoteControl): {
16
+ requestedSyncRevision: number;
17
+ completedSyncRevision: number;
18
+ };
19
+ needsAcquisition(connection: CollectorConnection): boolean;
20
+ acquired(id: string, acquisition: SyncAcquisition): void;
21
+ complete(connection: CollectorConnection, error: string | null): CollectorConnection;
22
+ confirmed(id: string): number;
23
+ needsAcknowledgement(connection: CollectorConnection): boolean;
24
+ }
25
+ //# sourceMappingURL=collector-sync-requests.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collector-sync-requests.d.ts","sourceRoot":"","sources":["../../../../../src/native-conversations/collector-sync-requests.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAC5F,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,MAAM,WAAW,eAAe;IAC9B,eAAe,EAAE,MAAM,CAAC;IACxB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,SAAS,EAAE,OAAO,CAAC;CACpB;AAED;;qDAEqD;AACrD,qBAAa,qBAAqB;IAEpB,OAAO,CAAC,QAAQ,CAAC,KAAK;IADlC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAsC;gBACtC,KAAK,EAAE,cAAc;IAElD,OAAO,CAAC,UAAU,EAAE,mBAAmB,EAAE,MAAM,EAAE,sBAAsB;;;;IAcvE,gBAAgB,CAAC,UAAU,EAAE,mBAAmB;IAOhD,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,eAAe;IAIjD,QAAQ,CAAC,UAAU,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI;IAY9D,SAAS,CAAC,EAAE,EAAE,MAAM;IAIpB,oBAAoB,CAAC,UAAU,EAAE,mBAAmB;CAGrD"}
@@ -0,0 +1,8 @@
1
+ import { type CollectorTransport } from "./collector-contracts.js";
2
+ /** Supervised single owner: acquisition and admission checkpoints survive monitor/service exits. */
3
+ export declare function runCollector(input: {
4
+ directory: string;
5
+ transport: CollectorTransport;
6
+ signal: AbortSignal;
7
+ }): Promise<void>;
8
+ //# sourceMappingURL=collector.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collector.d.ts","sourceRoot":"","sources":["../../../../../src/native-conversations/collector.ts"],"names":[],"mappings":"AAaA,OAAO,EAGL,KAAK,kBAAkB,EAExB,MAAM,0BAA0B,CAAC;AAElC,oGAAoG;AACpG,wBAAsB,YAAY,CAAC,KAAK,EAAE;IACxC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,kBAAkB,CAAC;IAC9B,MAAM,EAAE,WAAW,CAAC;CACrB,iBAoXA"}
@@ -0,0 +1,47 @@
1
+ import type { ExternalAgentSource } from "../connected-evidence/imports.js";
2
+ export type { ExternalAgentSource };
3
+ export interface NativeSource {
4
+ source: ExternalAgentSource;
5
+ machineId: string;
6
+ instanceId: string;
7
+ root: string;
8
+ acquisition: "files" | "sqlite" | "bundle";
9
+ available: boolean;
10
+ capabilities: {
11
+ history: boolean;
12
+ live: boolean;
13
+ nativeResume: boolean;
14
+ };
15
+ reason?: string;
16
+ }
17
+ export interface NativeSession {
18
+ nativeSessionId: string;
19
+ sourceInstanceId: string;
20
+ path: string;
21
+ title: string;
22
+ cwd: string | null;
23
+ updatedAt: string;
24
+ storageRevision?: string;
25
+ issue?: string;
26
+ }
27
+ export interface NativeBranchChoice {
28
+ leafId: string;
29
+ revision: string;
30
+ }
31
+ export interface NativeBranchAnchor {
32
+ leafId: string;
33
+ chainHash: string;
34
+ }
35
+ export interface NativeBranchInspection {
36
+ revision: string;
37
+ branches: Array<{
38
+ leafId: string;
39
+ chainHash: string;
40
+ title: string;
41
+ updatedAt: string | null;
42
+ messages: number;
43
+ }>;
44
+ }
45
+ export declare const NATIVE_SOURCE_NAMES: Record<ExternalAgentSource, string>;
46
+ export declare const NATIVE_READ_LIMIT: number;
47
+ //# sourceMappingURL=contracts.d.ts.map
@@ -0,0 +1 @@
1
+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