@opengeni/runtime 4.4.0 → 4.5.0-canary.36935312914001

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.
@@ -29,7 +29,7 @@ import {
29
29
  withRunCredentialsClient,
30
30
  withRunCredentialsSession,
31
31
  wrapCapabilityToolsForTurnCancellation
32
- } from "./chunk-QKROIZOB.js";
32
+ } from "./chunk-VDXKKMMD.js";
33
33
  import {
34
34
  MemorySession,
35
35
  connectMcpServers
@@ -14520,7 +14520,7 @@ import { existsSync, readdirSync } from "fs";
14520
14520
  // ../sdk/package.json
14521
14521
  var package_default = {
14522
14522
  name: "@opengeni/sdk",
14523
- version: "7.5.0",
14523
+ version: "7.6.0-canary.36935312914001",
14524
14524
  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.",
14525
14525
  license: "Apache-2.0",
14526
14526
  repository: {
@@ -14708,7 +14708,7 @@ var package_default = {
14708
14708
  // ../react/package.json
14709
14709
  var package_default2 = {
14710
14710
  name: "@opengeni/react",
14711
- version: "7.5.0",
14711
+ version: "7.6.0-canary.36935312914001",
14712
14712
  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.",
14713
14713
  license: "Apache-2.0",
14714
14714
  repository: {
@@ -14981,7 +14981,7 @@ var package_default2 = {
14981
14981
  // ../codemode/package.json
14982
14982
  var package_default3 = {
14983
14983
  name: "@opengeni/codemode",
14984
- version: "0.6.6",
14984
+ version: "0.6.7-canary.36935312914001",
14985
14985
  description: "Attempt-frozen programmatic tool catalog and execution authority for OpenGeni.",
14986
14986
  license: "Apache-2.0",
14987
14987
  repository: {
@@ -15031,7 +15031,7 @@ var package_default3 = {
15031
15031
  // ../ogtool/package.json
15032
15032
  var package_default4 = {
15033
15033
  name: "@opengeni/ogtool",
15034
- version: "0.3.48",
15034
+ version: "0.3.49-canary.36935312914001",
15035
15035
  description: "Codemode CLI and typed client entrypoint for an OpenGeni execution attempt.",
15036
15036
  license: "Apache-2.0",
15037
15037
  repository: {
@@ -18618,6 +18618,7 @@ function createFirstPartyInteractionAttemptToolDefinitions(input) {
18618
18618
  turnId: input.scope.turnId,
18619
18619
  attemptId: input.scope.attemptId,
18620
18620
  executionGeneration: input.scope.executionGeneration,
18621
+ ...input.credentialRestriction ? { credentialRestriction: input.credentialRestriction } : {},
18621
18622
  exp: Math.floor(Date.now() / 1e3) + 60 * 60
18622
18623
  });
18623
18624
  const headers = new Headers(init?.headers);
@@ -19599,6 +19600,7 @@ function createFirstPartyAttemptClient(input) {
19599
19600
  principalKind: "agent_attempt",
19600
19601
  permissions: [...input.permissions ?? DEFAULT_FIRST_PARTY_MCP_PERMISSIONS2],
19601
19602
  firstPartyMcpTools: [...input.selectedTools],
19603
+ ...input.credentialRestriction ? { credentialRestriction: input.credentialRestriction } : {},
19602
19604
  exp: Math.floor(Date.now() / 1e3) + 60 * 60
19603
19605
  });
19604
19606
  const headers = new Headers(init?.headers);
@@ -23256,6 +23258,7 @@ async function signFirstPartyDelegatedBearer(settings, options) {
23256
23258
  workspaceId: options.workspaceId,
23257
23259
  subjectId: options.subjectId ?? "worker:first-party-mcp",
23258
23260
  ...options.subjectLabel ? { subjectLabel: options.subjectLabel } : {},
23261
+ ...options.credentialRestriction ? { credentialRestriction: options.credentialRestriction } : {},
23259
23262
  permissions: options.firstPartyPermissions ?? [...DEFAULT_FIRST_PARTY_MCP_PERMISSIONS3],
23260
23263
  principalKind: hasExactAttemptClaims ? "agent_attempt" : "service",
23261
23264
  firstPartyMcpTools: options.firstPartyTools ?? [...DEFAULT_FIRST_PARTY_MCP_TOOLS2],
@@ -27407,4 +27410,4 @@ export {
27407
27410
  runAzureCliLoginHook,
27408
27411
  renderSessionGoalContext2 as renderSessionGoalContext
27409
27412
  };
27410
- //# sourceMappingURL=chunk-BOBZ4N56.js.map
27413
+ //# sourceMappingURL=chunk-ETKOJALF.js.map