@opengeni/runtime 6.7.0 → 6.8.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 (49) hide show
  1. package/dist/anthropic-messages.d.ts +14 -1
  2. package/dist/assets/codemode-client.json +1 -1
  3. package/dist/{chunk-3MNZZ2B4.js → chunk-2MBI6D2F.js} +2 -2
  4. package/dist/{chunk-JY5NSZ37.js → chunk-5K2NI7NX.js} +15 -13
  5. package/dist/chunk-5K2NI7NX.js.map +1 -0
  6. package/dist/{chunk-77NQGL66.js → chunk-6MHS5OUN.js} +1 -1
  7. package/dist/chunk-6MHS5OUN.js.map +1 -0
  8. package/dist/{chunk-RZJXTSVA.js → chunk-E2YB7OIA.js} +2 -2
  9. package/dist/{chunk-JF5UTPEU.js → chunk-JRM6HEPY.js} +2 -2
  10. package/dist/{chunk-GFAFQMZV.js → chunk-QNQGZKHJ.js} +3 -3
  11. package/dist/{chunk-FNAYH3SN.js → chunk-RXCYGCX7.js} +1282 -477
  12. package/dist/chunk-RXCYGCX7.js.map +1 -0
  13. package/dist/{chunk-OAW6MMSY.js → chunk-V7MCFH4O.js} +3 -3
  14. package/dist/gmail-rest-mcp.js +3 -3
  15. package/dist/google-calendar-rest-mcp.js +2 -2
  16. package/dist/index.js +8 -8
  17. package/dist/metrics.d.ts +15 -0
  18. package/dist/model-call.js +1 -1
  19. package/dist/model-provider-client.d.ts +3 -0
  20. package/dist/provider-history-adapter.d.ts +0 -6
  21. package/dist/provider-invalid-request.d.ts +12 -0
  22. package/dist/provider-request-tool-names.d.ts +134 -0
  23. package/dist/provider-tool-names.d.ts +4 -5
  24. package/dist/replayable-json-body.d.ts +5 -1
  25. package/dist/sandbox/index.js +2 -2
  26. package/dist/sandbox/routing/backend-resolver.d.ts +6 -5
  27. package/dist/slack-rest-mcp.js +3 -3
  28. package/dist/workspace-tool-gateway.js +8 -8
  29. package/package.json +15 -15
  30. package/src/anthropic-messages.ts +98 -11
  31. package/src/index.ts +2 -1
  32. package/src/metrics.ts +15 -0
  33. package/src/model-provider-client.ts +16 -0
  34. package/src/model-provider-routing.ts +2 -3
  35. package/src/provider-history-adapter.ts +6 -21
  36. package/src/provider-invalid-request.ts +90 -19
  37. package/src/provider-request-tool-names.ts +900 -0
  38. package/src/provider-tool-names.ts +14 -20
  39. package/src/replayable-json-body.ts +171 -3
  40. package/src/sandbox/routing/backend-resolver.ts +9 -9
  41. package/src/single-model-call.ts +2 -1
  42. package/dist/chunk-77NQGL66.js.map +0 -1
  43. package/dist/chunk-FNAYH3SN.js.map +0 -1
  44. package/dist/chunk-JY5NSZ37.js.map +0 -1
  45. /package/dist/{chunk-3MNZZ2B4.js.map → chunk-2MBI6D2F.js.map} +0 -0
  46. /package/dist/{chunk-RZJXTSVA.js.map → chunk-E2YB7OIA.js.map} +0 -0
  47. /package/dist/{chunk-JF5UTPEU.js.map → chunk-JRM6HEPY.js.map} +0 -0
  48. /package/dist/{chunk-GFAFQMZV.js.map → chunk-QNQGZKHJ.js.map} +0 -0
  49. /package/dist/{chunk-OAW6MMSY.js.map → chunk-V7MCFH4O.js.map} +0 -0
@@ -107,7 +107,7 @@ import {
107
107
  withNativeSynchronousCommandCollection,
108
108
  withProviderError,
109
109
  withSandboxProviderCapture
110
- } from "./chunk-77NQGL66.js";
110
+ } from "./chunk-6MHS5OUN.js";
111
111
  import {
112
112
  applyLocalSourceManifestEntryToState,
113
113
  applyLocalSourceManifestToState,
@@ -19205,4 +19205,4 @@ export {
19205
19205
  collectSandboxEnvironment2 as collectSandboxEnvironment,
19206
19206
  parseExposedPorts2 as parseExposedPorts
19207
19207
  };
19208
- //# sourceMappingURL=chunk-3MNZZ2B4.js.map
19208
+ //# sourceMappingURL=chunk-2MBI6D2F.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SLACK_REST_MCP_BRIDGE_ADAPTER
3
- } from "./chunk-GFAFQMZV.js";
3
+ } from "./chunk-QNQGZKHJ.js";
4
4
  import {
5
5
  ModalCloudBucketMountStrategy,
6
6
  codemodeTokenFileFromEnvironment,
@@ -21,7 +21,7 @@ import {
21
21
  withCommandNotStartedCallProof,
22
22
  withRunCredentialsClient,
23
23
  withRunCredentialsSession
24
- } from "./chunk-3MNZZ2B4.js";
24
+ } from "./chunk-2MBI6D2F.js";
25
25
  import {
26
26
  sandboxHookOperationPurpose,
27
27
  withSandboxOperationPurpose
@@ -86,6 +86,7 @@ import {
86
86
  legacyMcpToolDigest,
87
87
  mcpInputRequiredOption,
88
88
  modelResponseUsageFromResponse,
89
+ modelToolNameObservers,
89
90
  nextMcpInputRequiredStep,
90
91
  nextModelContextCaptureIndex,
91
92
  normalizeComputerCallAction,
@@ -129,7 +130,7 @@ import {
129
130
  withPreparedCompactionRequest,
130
131
  withPromptCacheFingerprintObserver,
131
132
  withSearchRecordForm
132
- } from "./chunk-FNAYH3SN.js";
133
+ } from "./chunk-RXCYGCX7.js";
133
134
  import {
134
135
  normalizeProtocolJsonValue
135
136
  } from "./chunk-V6YVIEUE.js";
@@ -140,11 +141,11 @@ import {
140
141
  modelToolTextBudgetBytes,
141
142
  wrapAttemptToolDefinitions,
142
143
  wrapAttemptToolExecute
143
- } from "./chunk-OAW6MMSY.js";
144
+ } from "./chunk-V7MCFH4O.js";
144
145
  import {
145
146
  ConnectorAttachmentTransferError,
146
147
  projectConnectorAttachmentTransfers
147
- } from "./chunk-JF5UTPEU.js";
148
+ } from "./chunk-JRM6HEPY.js";
148
149
  import {
149
150
  MCP_MAX_CONCURRENT_SERVER_OPERATIONS,
150
151
  MCP_MAX_RESPONSE_BYTES,
@@ -165,7 +166,7 @@ import {
165
166
  GOOGLE_CALENDAR_REST_MCP_BRIDGE_ADAPTER,
166
167
  googleCalendarRestResultOutcome,
167
168
  isOfficialGoogleCalendarMcpConfig
168
- } from "./chunk-RZJXTSVA.js";
169
+ } from "./chunk-E2YB7OIA.js";
169
170
  import {
170
171
  OpStreamUnavailableError,
171
172
  ProviderCommandObservationUnavailableError,
@@ -183,7 +184,7 @@ import {
183
184
  setSelfhostedApplyDiff,
184
185
  withRoutingMutationOutputRejectionFence,
185
186
  wrapCapabilityToolsForTurnCancellation
186
- } from "./chunk-77NQGL66.js";
187
+ } from "./chunk-6MHS5OUN.js";
187
188
  import {
188
189
  SandboxAgent,
189
190
  filesystem,
@@ -9854,7 +9855,7 @@ import { existsSync, readdirSync } from "fs";
9854
9855
  // ../sdk/package.json
9855
9856
  var package_default = {
9856
9857
  name: "@opengeni/sdk",
9857
- version: "6.7.0",
9858
+ version: "6.8.0",
9858
9859
  description: "Framework-agnostic TypeScript SDK for the Opengeni API: typed client, session lifecycle, SSE event streaming with reconnect + replay-by-sequence, and proxy re-streaming helpers.",
9859
9860
  license: "Apache-2.0",
9860
9861
  repository: {
@@ -10104,7 +10105,7 @@ var package_default = {
10104
10105
  // ../react/package.json
10105
10106
  var package_default2 = {
10106
10107
  name: "@opengeni/react",
10107
- version: "6.7.0",
10108
+ version: "6.8.0",
10108
10109
  description: "React hooks and styled components for Opengeni: live session streaming, chat composer, message timeline, session status, and fleet views \u2014 token-themed (CSS variables), dark-first, built on Tailwind v4 + Radix + Motion.",
10109
10110
  license: "Apache-2.0",
10110
10111
  repository: {
@@ -10527,7 +10528,7 @@ var package_default2 = {
10527
10528
  // ../codemode/package.json
10528
10529
  var package_default3 = {
10529
10530
  name: "@opengeni/codemode",
10530
- version: "6.7.0",
10531
+ version: "6.8.0",
10531
10532
  description: "Attempt-frozen programmatic tool catalog and execution authority for Opengeni.",
10532
10533
  license: "Apache-2.0",
10533
10534
  repository: {
@@ -10577,7 +10578,7 @@ var package_default3 = {
10577
10578
  // ../ogtool/package.json
10578
10579
  var package_default4 = {
10579
10580
  name: "@opengeni/ogtool",
10580
- version: "6.7.0",
10581
+ version: "6.8.0",
10581
10582
  description: "Codemode CLI and typed client entrypoint for an Opengeni execution attempt.",
10582
10583
  license: "Apache-2.0",
10583
10584
  repository: {
@@ -12806,7 +12807,8 @@ async function summarizeForCompaction(settings, input, options = {}) {
12806
12807
  globalThis.fetch,
12807
12808
  false,
12808
12809
  inferenceResidencyRequirement(settings)
12809
- )
12810
+ ),
12811
+ modelToolNameObservers(provider.id)
12810
12812
  );
12811
12813
  const claudeRequest = (forbidToolCalls) => anthropicCompactionRequest(input, {
12812
12814
  maxOutputTokens: maxTokens,
@@ -22122,4 +22124,4 @@ export {
22122
22124
  runAzureCliLoginHook,
22123
22125
  renderSessionGoalContext2 as renderSessionGoalContext
22124
22126
  };
22125
- //# sourceMappingURL=chunk-JY5NSZ37.js.map
22127
+ //# sourceMappingURL=chunk-5K2NI7NX.js.map