@dogpile/sdk 0.3.1 → 0.5.0

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 (101) hide show
  1. package/CHANGELOG.md +201 -0
  2. package/README.md +1 -0
  3. package/dist/browser/index.js +2328 -237
  4. package/dist/browser/index.js.map +1 -1
  5. package/dist/index.d.ts +3 -1
  6. package/dist/index.d.ts.map +1 -1
  7. package/dist/index.js +1 -0
  8. package/dist/index.js.map +1 -1
  9. package/dist/providers/openai-compatible.d.ts +11 -0
  10. package/dist/providers/openai-compatible.d.ts.map +1 -1
  11. package/dist/providers/openai-compatible.js +88 -2
  12. package/dist/providers/openai-compatible.js.map +1 -1
  13. package/dist/runtime/audit.d.ts +42 -0
  14. package/dist/runtime/audit.d.ts.map +1 -0
  15. package/dist/runtime/audit.js +73 -0
  16. package/dist/runtime/audit.js.map +1 -0
  17. package/dist/runtime/broadcast.d.ts.map +1 -1
  18. package/dist/runtime/broadcast.js +39 -36
  19. package/dist/runtime/broadcast.js.map +1 -1
  20. package/dist/runtime/cancellation.d.ts +26 -0
  21. package/dist/runtime/cancellation.d.ts.map +1 -1
  22. package/dist/runtime/cancellation.js +38 -1
  23. package/dist/runtime/cancellation.js.map +1 -1
  24. package/dist/runtime/coordinator.d.ts +79 -1
  25. package/dist/runtime/coordinator.d.ts.map +1 -1
  26. package/dist/runtime/coordinator.js +979 -61
  27. package/dist/runtime/coordinator.js.map +1 -1
  28. package/dist/runtime/decisions.d.ts +25 -3
  29. package/dist/runtime/decisions.d.ts.map +1 -1
  30. package/dist/runtime/decisions.js +241 -3
  31. package/dist/runtime/decisions.js.map +1 -1
  32. package/dist/runtime/defaults.d.ts +37 -1
  33. package/dist/runtime/defaults.d.ts.map +1 -1
  34. package/dist/runtime/defaults.js +359 -4
  35. package/dist/runtime/defaults.js.map +1 -1
  36. package/dist/runtime/engine.d.ts +17 -4
  37. package/dist/runtime/engine.d.ts.map +1 -1
  38. package/dist/runtime/engine.js +770 -35
  39. package/dist/runtime/engine.js.map +1 -1
  40. package/dist/runtime/health.d.ts +51 -0
  41. package/dist/runtime/health.d.ts.map +1 -0
  42. package/dist/runtime/health.js +85 -0
  43. package/dist/runtime/health.js.map +1 -0
  44. package/dist/runtime/introspection.d.ts +96 -0
  45. package/dist/runtime/introspection.d.ts.map +1 -0
  46. package/dist/runtime/introspection.js +31 -0
  47. package/dist/runtime/introspection.js.map +1 -0
  48. package/dist/runtime/metrics.d.ts +44 -0
  49. package/dist/runtime/metrics.d.ts.map +1 -0
  50. package/dist/runtime/metrics.js +12 -0
  51. package/dist/runtime/metrics.js.map +1 -0
  52. package/dist/runtime/model.d.ts.map +1 -1
  53. package/dist/runtime/model.js +34 -7
  54. package/dist/runtime/model.js.map +1 -1
  55. package/dist/runtime/provenance.d.ts +25 -0
  56. package/dist/runtime/provenance.d.ts.map +1 -0
  57. package/dist/runtime/provenance.js +13 -0
  58. package/dist/runtime/provenance.js.map +1 -0
  59. package/dist/runtime/sequential.d.ts.map +1 -1
  60. package/dist/runtime/sequential.js +47 -37
  61. package/dist/runtime/sequential.js.map +1 -1
  62. package/dist/runtime/shared.d.ts.map +1 -1
  63. package/dist/runtime/shared.js +39 -36
  64. package/dist/runtime/shared.js.map +1 -1
  65. package/dist/runtime/tracing.d.ts +31 -0
  66. package/dist/runtime/tracing.d.ts.map +1 -0
  67. package/dist/runtime/tracing.js +18 -0
  68. package/dist/runtime/tracing.js.map +1 -0
  69. package/dist/runtime/validation.d.ts +10 -0
  70. package/dist/runtime/validation.d.ts.map +1 -1
  71. package/dist/runtime/validation.js +73 -0
  72. package/dist/runtime/validation.js.map +1 -1
  73. package/dist/types/events.d.ts +339 -12
  74. package/dist/types/events.d.ts.map +1 -1
  75. package/dist/types/replay.d.ts +7 -1
  76. package/dist/types/replay.d.ts.map +1 -1
  77. package/dist/types.d.ts +255 -6
  78. package/dist/types.d.ts.map +1 -1
  79. package/dist/types.js.map +1 -1
  80. package/package.json +39 -1
  81. package/src/index.ts +15 -0
  82. package/src/providers/openai-compatible.ts +83 -3
  83. package/src/runtime/audit.ts +121 -0
  84. package/src/runtime/broadcast.ts +40 -37
  85. package/src/runtime/cancellation.ts +59 -1
  86. package/src/runtime/coordinator.ts +1221 -61
  87. package/src/runtime/decisions.ts +307 -4
  88. package/src/runtime/defaults.ts +389 -4
  89. package/src/runtime/engine.ts +1004 -35
  90. package/src/runtime/health.ts +136 -0
  91. package/src/runtime/introspection.ts +122 -0
  92. package/src/runtime/metrics.ts +45 -0
  93. package/src/runtime/model.ts +38 -6
  94. package/src/runtime/provenance.ts +43 -0
  95. package/src/runtime/sequential.ts +49 -38
  96. package/src/runtime/shared.ts +40 -37
  97. package/src/runtime/tracing.ts +35 -0
  98. package/src/runtime/validation.ts +81 -0
  99. package/src/types/events.ts +369 -12
  100. package/src/types/replay.ts +14 -1
  101. package/src/types.ts +279 -4
@@ -1 +1 @@
1
- {"version":3,"file":"cancellation.d.ts","sourceRoot":"","sources":["../../src/runtime/cancellation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAE5D,wBAAgB,cAAc,CAAC,MAAM,EAAE,WAAW,GAAG,SAAS,EAAE,UAAU,EAAE,MAAM,GAAG,IAAI,CAMxF;AAED,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,UAAU,EAAE,KAAK,CAAC,EAAE,OAAO,GAAG,YAAY,CASvG;AAED,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,GAAG,YAAY,CAMhG;AAED,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,YAAY,CAUtF"}
1
+ {"version":3,"file":"cancellation.d.ts","sourceRoot":"","sources":["../../src/runtime/cancellation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAE5D;;;;;;;GAOG;AACH,MAAM,MAAM,WAAW,GAAG,gBAAgB,GAAG,SAAS,CAAC;AACvD,MAAM,MAAM,kBAAkB,GAAG,UAAU,GAAG,QAAQ,CAAC;AAEvD;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAAC,mBAAmB,EAAE,OAAO,GAAG,WAAW,CAK7E;AAED,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,OAAO,EACf,OAAO,EAAE;IACP,QAAQ,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IACpC,QAAQ,CAAC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IACzC,QAAQ,CAAC,eAAe,EAAE,OAAO,CAAC;CACnC,GACA,kBAAkB,CAQpB;AAED,wBAAgB,cAAc,CAAC,MAAM,EAAE,WAAW,GAAG,SAAS,EAAE,UAAU,EAAE,MAAM,GAAG,IAAI,CAMxF;AAED,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,UAAU,EAAE,KAAK,CAAC,EAAE,OAAO,GAAG,YAAY,CASvG;AAED,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,GAAG,YAAY,CAOhG;AAED,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,YAAY,CAUtF;AAED,wBAAgB,gCAAgC,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,YAAY,CAWpG"}
@@ -1,4 +1,28 @@
1
1
  import { DogpileError } from "../types.js";
2
+ /**
3
+ * Classify an abort signal's reason into the BUDGET-01 / BUDGET-02
4
+ * `detail.reason` discriminator.
5
+ *
6
+ * - `"timeout"` when the reason is a {@link DogpileError} with `code === "timeout"`
7
+ * (matches the parent-deadline abort path in `engine.ts:createTimeoutAbortLifecycle`).
8
+ * - `"parent-aborted"` for every other reason — explicit caller abort, plain
9
+ * `Error`, `undefined`, or arbitrary primitive.
10
+ */
11
+ export function classifyAbortReason(signalReasonOrError) {
12
+ if (DogpileError.isInstance(signalReasonOrError) && signalReasonOrError.code === "timeout") {
13
+ return "timeout";
14
+ }
15
+ return "parent-aborted";
16
+ }
17
+ export function classifyChildTimeoutSource(_error, context) {
18
+ if (context.isProviderError) {
19
+ return "provider";
20
+ }
21
+ if (context.decisionTimeoutMs !== undefined || context.engineDefaultTimeoutMs !== undefined) {
22
+ return "engine";
23
+ }
24
+ return "provider";
25
+ }
2
26
  export function throwIfAborted(signal, providerId) {
3
27
  if (!signal?.aborted) {
4
28
  return;
@@ -19,7 +43,8 @@ export function createAbortErrorFromSignal(signal, providerId) {
19
43
  if (DogpileError.isInstance(signal.reason)) {
20
44
  return signal.reason;
21
45
  }
22
- return createAbortError(providerId, undefined, signal.reason);
46
+ const reason = classifyAbortReason(signal.reason);
47
+ return createAbortError(providerId, { reason }, signal.reason);
23
48
  }
24
49
  export function createTimeoutError(providerId, timeoutMs) {
25
50
  return new DogpileError({
@@ -32,4 +57,16 @@ export function createTimeoutError(providerId, timeoutMs) {
32
57
  }
33
58
  });
34
59
  }
60
+ export function createEngineDeadlineTimeoutError(providerId, timeoutMs) {
61
+ return new DogpileError({
62
+ code: "provider-timeout",
63
+ message: `The child engine deadline expired after ${timeoutMs}ms.`,
64
+ retryable: true,
65
+ providerId,
66
+ detail: {
67
+ timeoutMs,
68
+ source: "engine"
69
+ }
70
+ });
71
+ }
35
72
  //# sourceMappingURL=cancellation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"cancellation.js","sourceRoot":"","sources":["../../src/runtime/cancellation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAmB,MAAM,aAAa,CAAC;AAE5D,MAAM,UAAU,cAAc,CAAC,MAA+B,EAAE,UAAkB;IAChF,IAAI,CAAC,MAAM,EAAE,OAAO,EAAE,CAAC;QACrB,OAAO;IACT,CAAC;IAED,MAAM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CAAC,CAAC;IAClD,OAAO,gBAAgB,CAAC,UAAU,EAAE,EAAE,MAAM,EAAE,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;AACjE,CAAC;AAED,MAAM,UAAU,kBAAkB,CAAC,UAAkB,EAAE,SAAiB;IACtE,OAAO,IAAI,YAAY,CAAC;QACtB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,iCAAiC,SAAS,KAAK;QACxD,SAAS,EAAE,IAAI;QACf,UAAU;QACV,MAAM,EAAE;YACN,SAAS;SACV;KACF,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,gCAAgC,CAAC,UAAkB,EAAE,SAAiB;IACpF,OAAO,IAAI,YAAY,CAAC;QACtB,IAAI,EAAE,kBAAkB;QACxB,OAAO,EAAE,2CAA2C,SAAS,KAAK;QAClE,SAAS,EAAE,IAAI;QACf,UAAU;QACV,MAAM,EAAE;YACN,SAAS;YACT,MAAM,EAAE,QAAQ;SACjB;KACF,CAAC,CAAC;AACL,CAAC"}
@@ -1,4 +1,48 @@
1
- import type { AgentSpec, ConfiguredModelProvider, CoordinatorProtocolConfig, DogpileOptions, JsonObject, JsonValue, RuntimeTool, RunEvent, RunResult, TerminationCondition, Tier } from "../types.js";
1
+ import { DogpileError } from "../types.js";
2
+ import type { AgentSpec, ConfiguredModelProvider, CoordinatorProtocolConfig, DogpileOptions, JsonObject, JsonValue, ProtocolSelection, RuntimeTool, RunEvent, RunResult, TerminationCondition, Tier } from "../types.js";
3
+ /**
4
+ * Callback to invoke a child run via the engine's `runProtocol` switch. Passed
5
+ * in by `engine.ts` so coordinator avoids a circular import.
6
+ */
7
+ export type RunProtocolFn = (input: {
8
+ /**
9
+ * Planned child run id emitted on sub-run lifecycle events before dispatch.
10
+ * The engine callback uses this to look up the matching sub-run span.
11
+ */
12
+ readonly runId: string;
13
+ readonly intent: string;
14
+ readonly protocol: ProtocolSelection;
15
+ readonly tier: Tier;
16
+ readonly model: ConfiguredModelProvider;
17
+ readonly agents: readonly AgentSpec[];
18
+ readonly tools: readonly RuntimeTool<JsonObject, JsonValue>[];
19
+ readonly temperature: number;
20
+ readonly budget?: DogpileOptions["budget"];
21
+ readonly seed?: string | number;
22
+ readonly signal?: AbortSignal;
23
+ readonly terminate?: TerminationCondition;
24
+ readonly wrapUpHint?: DogpileOptions["wrapUpHint"];
25
+ readonly emit?: (event: RunEvent) => void;
26
+ readonly streamEvents?: boolean;
27
+ readonly currentDepth?: number;
28
+ readonly effectiveMaxDepth?: number;
29
+ readonly effectiveMaxConcurrentChildren?: number;
30
+ readonly onChildFailure?: DogpileOptions["onChildFailure"];
31
+ /**
32
+ * Root-run deadline (epoch ms). Children inherit `parentDeadlineMs - now()`
33
+ * as their default timeout window so a depth-N child sees the ROOT's deadline,
34
+ * not its immediate parent's freshly-computed value (BUDGET-02 / D-12).
35
+ */
36
+ readonly parentDeadlineMs?: number;
37
+ /**
38
+ * Engine-level fallback sub-run timeout (BUDGET-02 / D-14). Applied only when
39
+ * neither the parent nor the decision specifies a `budget.timeoutMs`.
40
+ */
41
+ readonly defaultSubRunTimeoutMs?: number;
42
+ readonly registerAbortDrain?: (drain: AbortDrainFn) => void;
43
+ readonly failureInstancesByChildRunId?: Map<string, DogpileError>;
44
+ }) => Promise<RunResult>;
45
+ export type AbortDrainFn = (reason?: unknown) => void;
2
46
  interface CoordinatorRunOptions {
3
47
  readonly intent: string;
4
48
  readonly protocol: CoordinatorProtocolConfig;
@@ -13,6 +57,40 @@ interface CoordinatorRunOptions {
13
57
  readonly terminate?: TerminationCondition;
14
58
  readonly wrapUpHint?: DogpileOptions["wrapUpHint"];
15
59
  readonly emit?: (event: RunEvent) => void;
60
+ readonly streamEvents?: boolean;
61
+ /**
62
+ * Recursion depth of this coordinator run. Top-level callers pass 0; child
63
+ * sub-runs receive parent depth + 1 from the dispatch loop.
64
+ */
65
+ readonly currentDepth?: number;
66
+ /**
67
+ * Effective max recursion depth resolved at run start. Plan 04 enforces;
68
+ * Plan 03 only plumbs the value.
69
+ */
70
+ readonly effectiveMaxDepth?: number;
71
+ readonly effectiveMaxConcurrentChildren?: number;
72
+ readonly onChildFailure?: DogpileOptions["onChildFailure"];
73
+ /**
74
+ * Engine `runProtocol` callback used by the delegate dispatch loop to
75
+ * recursively run a child protocol. Optional so unit tests that exercise
76
+ * the coordinator without the engine wrapper still typecheck — when omitted,
77
+ * delegate dispatch falls back to throwing `invalid-configuration`.
78
+ */
79
+ readonly runProtocol?: RunProtocolFn;
80
+ /**
81
+ * Root-run deadline (epoch ms) threaded through every recursive coordinator
82
+ * dispatch (BUDGET-02 / D-12). When set, sub-run dispatches compute their
83
+ * `remainingMs = parentDeadlineMs - Date.now()` against this deadline rather
84
+ * than the parent's full `budget.timeoutMs` window.
85
+ */
86
+ readonly parentDeadlineMs?: number;
87
+ /**
88
+ * Engine-level fallback sub-run timeout (BUDGET-02 / D-14). Applied only when
89
+ * neither the parent nor the decision specifies a `budget.timeoutMs`.
90
+ */
91
+ readonly defaultSubRunTimeoutMs?: number;
92
+ readonly registerAbortDrain?: (drain: AbortDrainFn) => void;
93
+ readonly failureInstancesByChildRunId?: Map<string, DogpileError>;
16
94
  }
17
95
  export declare function runCoordinator(options: CoordinatorRunOptions): Promise<RunResult>;
18
96
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"coordinator.d.ts","sourceRoot":"","sources":["../../src/runtime/coordinator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,SAAS,EACT,uBAAuB,EACvB,yBAAyB,EAEzB,cAAc,EACd,UAAU,EACV,SAAS,EAKT,WAAW,EAEX,QAAQ,EACR,SAAS,EACT,oBAAoB,EAEpB,IAAI,EAEL,MAAM,aAAa,CAAC;AAyBrB,UAAU,qBAAqB;IAC7B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,QAAQ,EAAE,yBAAyB,CAAC;IAC7C,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC;IACpB,QAAQ,CAAC,KAAK,EAAE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