@vm0/cli 9.131.0 → 9.131.2

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.
@@ -73642,7 +73642,7 @@ if (DSN) {
73642
73642
  init2({
73643
73643
  dsn: DSN,
73644
73644
  environment: process.env.SENTRY_ENVIRONMENT ?? "production",
73645
- release: "9.131.0",
73645
+ release: "9.131.2",
73646
73646
  sendDefaultPii: false,
73647
73647
  tracesSampleRate: 0,
73648
73648
  shutdownTimeout: 500,
@@ -73661,7 +73661,7 @@ if (DSN) {
73661
73661
  }
73662
73662
  });
73663
73663
  setContext("cli", {
73664
- version: "9.131.0",
73664
+ version: "9.131.2",
73665
73665
  command: process.argv.slice(2).join(" ")
73666
73666
  });
73667
73667
  setContext("runtime", {
@@ -91157,6 +91157,32 @@ var stripe = {
91157
91157
  }
91158
91158
  };
91159
91159
 
91160
+ // ../../packages/core/src/contracts/connectors/onyx.ts
91161
+ init_esm_shims();
91162
+ var onyx = {
91163
+ onyx: {
91164
+ label: "Onyx",
91165
+ helpText: "Connect your Onyx account to search internal knowledge bases, chat with AI agents, and index documents",
91166
+ environmentMapping: {
91167
+ ONYX_TOKEN: "$secrets.ONYX_TOKEN"
91168
+ },
91169
+ authMethods: {
91170
+ "api-token": {
91171
+ label: "API Key / PAT",
91172
+ helpText: "1. Log in to [Onyx Cloud](https://cloud.onyx.app)\n2. Go to **Settings \u2192 Accounts & Access**\n3. Click **Create New Token**\n4. Give it a name and choose an expiration\n5. Copy the token immediately \u2014 it is shown only once",
91173
+ secrets: {
91174
+ ONYX_TOKEN: {
91175
+ label: "API Key or Personal Access Token",
91176
+ required: true,
91177
+ placeholder: "onyx_pat_..."
91178
+ }
91179
+ }
91180
+ }
91181
+ },
91182
+ defaultAuthMethod: "api-token"
91183
+ }
91184
+ };
91185
+
91160
91186
  // ../../packages/core/src/contracts/connectors/openai.ts
91161
91187
  init_esm_shims();
91162
91188
  var openai = {
@@ -93863,6 +93889,7 @@ var CONNECTOR_TYPES_DEF = {
93863
93889
  ...atlassian,
93864
93890
  ...metaAds,
93865
93891
  ...stripe,
93892
+ ...onyx,
93866
93893
  ...openai,
93867
93894
  ...similarweb,
93868
93895
  ...perplexity,
@@ -101898,6 +101925,27 @@ var notionFirewall = {
101898
101925
  ]
101899
101926
  };
101900
101927
 
101928
+ // ../../packages/core/src/firewalls/onyx.generated.ts
101929
+ init_esm_shims();
101930
+ var onyxFirewall = {
101931
+ name: "onyx",
101932
+ description: "Onyx",
101933
+ placeholders: {
101934
+ ONYX_TOKEN: "onyx_pat_CoffeeSafeLocalCoffeeSafeLocal"
101935
+ },
101936
+ apis: [
101937
+ {
101938
+ base: "https://cloud.onyx.app",
101939
+ auth: {
101940
+ headers: {
101941
+ "Authorization": "Bearer ${{ secrets.ONYX_TOKEN }}"
101942
+ }
101943
+ },
101944
+ permissions: []
101945
+ }
101946
+ ]
101947
+ };
101948
+
101901
101949
  // ../../packages/core/src/firewalls/openai.generated.ts
101902
101950
  init_esm_shims();
101903
101951
  var openaiFirewall = {
@@ -105715,6 +105763,7 @@ var CONNECTOR_FIREWALLS = {
105715
105763
  n8n: n8nFirewall,
105716
105764
  neon: neonFirewall,
105717
105765
  notion: notionFirewall,
105766
+ onyx: onyxFirewall,
105718
105767
  openai: openaiFirewall,
105719
105768
  "outlook-calendar": outlookCalendarFirewall,
105720
105769
  "outlook-mail": outlookMailFirewall,
@@ -110813,13 +110862,7 @@ var unifiedRunRequestSchema = external_exports.object({
110813
110862
  agentComposeId: external_exports.string().optional(),
110814
110863
  agentComposeVersionId: external_exports.string().optional(),
110815
110864
  conversationId: external_exports.string().optional(),
110816
- // @deprecated Legacy singleton artifact fields retained for a one-release
110817
- // compat window. The POST /api/agent/runs handler rewrites them into the
110818
- // new `artifacts` array before dispatch — prefer `artifacts` in new code.
110819
- artifactName: external_exports.string().optional(),
110820
- artifactVersion: external_exports.string().optional(),
110821
- // Multi-mount artifacts, each with its own mountPath. When provided, the
110822
- // server ignores artifactName/artifactVersion.
110865
+ // Multi-mount artifacts, each with its own mountPath.
110823
110866
  artifacts: external_exports.array(
110824
110867
  external_exports.object({
110825
110868
  name: external_exports.string(),
@@ -110830,7 +110873,6 @@ var unifiedRunRequestSchema = external_exports.object({
110830
110873
  vars: external_exports.record(external_exports.string(), external_exports.string()).optional(),
110831
110874
  secrets: external_exports.record(external_exports.string(), external_exports.string()).optional(),
110832
110875
  volumeVersions: external_exports.record(external_exports.string(), external_exports.string()).optional(),
110833
- memoryName: external_exports.string().optional(),
110834
110876
  // Additional volumes passed directly at run time (bypass compose)
110835
110877
  additionalVolumes: external_exports.array(
110836
110878
  external_exports.object({
@@ -110857,7 +110899,7 @@ var unifiedRunRequestSchema = external_exports.object({
110857
110899
  triggerSource: triggerSourceSchema.optional(),
110858
110900
  // Per-permission policies (e.g., { "github": { "actions:read": "allow" } })
110859
110901
  permissionPolicies: firewallPoliciesSchema.optional()
110860
- });
110902
+ }).strict();
110861
110903
  var createRunResponseSchema = external_exports.object({
110862
110904
  runId: external_exports.string(),
110863
110905
  status: runStatusSchema,
@@ -110901,8 +110943,7 @@ var runResultSchema = external_exports.object({
110901
110943
  conversationId: external_exports.string(),
110902
110944
  artifact: external_exports.record(external_exports.string(), external_exports.string()).optional(),
110903
110945
  // optional when run has no artifact
110904
- volumes: external_exports.record(external_exports.string(), external_exports.string()).optional(),
110905
- memory: external_exports.record(external_exports.string(), external_exports.string()).optional()
110946
+ volumes: external_exports.record(external_exports.string(), external_exports.string()).optional()
110906
110947
  });
110907
110948
  var runStateSchema = external_exports.object({
110908
110949
  status: runStatusSchema,
@@ -111324,7 +111365,7 @@ var runsQueueContract = c4.router({
111324
111365
  // ../../packages/core/src/contracts/storages.ts
111325
111366
  init_esm_shims();
111326
111367
  var c5 = initContract();
111327
- var storageTypeSchema = external_exports.enum(["volume", "artifact", "memory"]);
111368
+ var storageTypeSchema = external_exports.enum(["volume", "artifact"]);
111328
111369
  var versionQuerySchema = external_exports.string().regex(/^[a-f0-9]{8,64}$/i, "Version must be 8-64 hex characters").optional();
111329
111370
  var uploadStorageResponseSchema = external_exports.object({
111330
111371
  name: external_exports.string(),
@@ -111552,14 +111593,6 @@ var agentEventSchema = external_exports.object({
111552
111593
  type: external_exports.string(),
111553
111594
  sequenceNumber: external_exports.number().int().nonnegative()
111554
111595
  }).passthrough();
111555
- var artifactSnapshotSchema = external_exports.object({
111556
- artifactName: external_exports.string(),
111557
- artifactVersion: external_exports.string()
111558
- });
111559
- var memorySnapshotSchema = external_exports.object({
111560
- memoryName: external_exports.string(),
111561
- memoryVersion: external_exports.string()
111562
- });
111563
111596
  var volumeVersionsSnapshotSchema = external_exports.object({
111564
111597
  versions: external_exports.record(external_exports.string(), external_exports.string())
111565
111598
  });
@@ -111643,26 +111676,17 @@ var webhookCheckpointsContract = c6.router({
111643
111676
  64,
111644
111677
  "cliAgentSessionHistoryHash must be a 64-character SHA-256 hex string"
111645
111678
  ),
111646
- // Legacy singleton artifact snapshot. The guest-agent still emits this
111647
- // when exactly one artifact is snapshotted so older servers can read it;
111648
- // new code must read artifactSnapshots instead.
111649
- artifactSnapshot: artifactSnapshotSchema.optional(),
111650
- // Multi-artifact snapshot map: artifact name → version id. Emitted
111651
- // unconditionally by the guest-agent (empty object when nothing to
111652
- // snapshot). Double-written to both the legacy single-entry column and
111653
- // the new artifact_snapshots JSONB column on checkpoints.
111679
+ // Multi-artifact snapshot map: artifact name version id.
111680
+ // Authoritative payload persisted to checkpoints.artifact_snapshots.
111654
111681
  artifactSnapshots: external_exports.record(external_exports.string(), external_exports.string()).optional(),
111655
- memorySnapshot: memorySnapshotSchema.optional(),
111656
111682
  volumeVersionsSnapshot: volumeVersionsSnapshotSchema.optional()
111657
- }),
111683
+ }).strict(),
111658
111684
  responses: {
111659
111685
  200: external_exports.object({
111660
111686
  checkpointId: external_exports.string(),
111661
111687
  agentSessionId: external_exports.string(),
111662
111688
  conversationId: external_exports.string(),
111663
- artifact: artifactSnapshotSchema.optional(),
111664
111689
  artifacts: external_exports.record(external_exports.string(), external_exports.string()).optional(),
111665
- memory: memorySnapshotSchema.optional(),
111666
111690
  volumes: external_exports.record(external_exports.string(), external_exports.string()).optional()
111667
111691
  }),
111668
111692
  400: apiErrorSchema,
@@ -111935,15 +111959,16 @@ var webhookUsageContract = c6.router({
111935
111959
  summary: "Receive proxy-extracted usage data from sandbox"
111936
111960
  }
111937
111961
  });
111938
- var webhookConnectorBillingContract = c6.router({
111962
+ var webhookUsageEventContract = c6.router({
111939
111963
  send: {
111940
111964
  method: "POST",
111941
- path: "/api/webhooks/agent/connector-billing",
111965
+ path: "/api/webhooks/agent/usage-event",
111942
111966
  headers: authHeadersSchema,
111943
111967
  body: external_exports.object({
111944
111968
  runId: external_exports.string().min(1, "runId is required"),
111945
- flowId: external_exports.string().min(1).max(100),
111946
- connector: external_exports.string().min(1).max(50),
111969
+ idempotencyKey: external_exports.uuid(),
111970
+ kind: external_exports.enum(["connector"]),
111971
+ provider: external_exports.string().min(1).max(100),
111947
111972
  category: external_exports.string().min(1).max(100),
111948
111973
  quantity: external_exports.number().int().min(0)
111949
111974
  }),
@@ -111956,7 +111981,7 @@ var webhookConnectorBillingContract = c6.router({
111956
111981
  404: apiErrorSchema,
111957
111982
  500: apiErrorSchema
111958
111983
  },
111959
- summary: "Receive connector billing data from sandbox"
111984
+ summary: "Receive usage event data from sandbox"
111960
111985
  }
111961
111986
  });
111962
111987
 
@@ -112684,10 +112709,6 @@ var agentComposeSnapshotSchema = external_exports.object({
112684
112709
  vars: external_exports.record(external_exports.string(), external_exports.string()).optional(),
112685
112710
  secretNames: external_exports.array(external_exports.string()).optional()
112686
112711
  });
112687
- var artifactSnapshotSchema2 = external_exports.object({
112688
- artifactName: external_exports.string(),
112689
- artifactVersion: external_exports.string()
112690
- });
112691
112712
  var volumeVersionsSnapshotSchema2 = external_exports.object({
112692
112713
  versions: external_exports.record(external_exports.string(), external_exports.string())
112693
112714
  });
@@ -112696,11 +112717,8 @@ var checkpointResponseSchema = external_exports.object({
112696
112717
  runId: external_exports.string(),
112697
112718
  conversationId: external_exports.string(),
112698
112719
  agentComposeSnapshot: agentComposeSnapshotSchema,
112699
- // Legacy single-artifact snapshot. Populated from artifact_snapshots when
112700
- // the checkpoint has exactly one entry, left null otherwise.
112701
- artifactSnapshot: artifactSnapshotSchema2.nullable(),
112702
112720
  // Multi-artifact snapshot map: artifact name → version id. Null when the
112703
- // checkpoint predates the multi-mount migration or has no artifacts.
112721
+ // checkpoint has no artifacts.
112704
112722
  artifactSnapshots: external_exports.record(external_exports.string(), external_exports.string()).nullable(),
112705
112723
  volumeVersionsSnapshot: volumeVersionsSnapshotSchema2.nullable(),
112706
112724
  createdAt: external_exports.string()
@@ -113199,8 +113217,7 @@ var artifactEntrySchema = external_exports.object({
113199
113217
  });
113200
113218
  var storageManifestSchema = external_exports.object({
113201
113219
  storages: external_exports.array(storageEntrySchema),
113202
- artifacts: external_exports.array(artifactEntrySchema),
113203
- memory: artifactEntrySchema.nullable()
113220
+ artifacts: external_exports.array(artifactEntrySchema)
113204
113221
  });
113205
113222
  var resumeSessionSchema = external_exports.object({
113206
113223
  sessionId: external_exports.string(),
@@ -113224,8 +113241,6 @@ var storedExecutionContextSchema = external_exports.object({
113224
113241
  apiStartTime: external_exports.number().optional(),
113225
113242
  // User's timezone preference (IANA format, e.g., "Asia/Shanghai")
113226
113243
  userTimezone: external_exports.string().optional(),
113227
- // Memory storage name (for first-run when manifest.memory is null)
113228
- memoryName: external_exports.string().optional(),
113229
113244
  // Firewall for proxy-side token replacement (complete config, all permissions)
113230
113245
  firewalls: firewallsSchema.optional(),
113231
113246
  // Per-firewall network policies: which permissions are granted + unknownPolicy
@@ -113269,8 +113284,6 @@ var executionContextSchema = external_exports.object({
113269
113284
  apiStartTime: external_exports.number().optional(),
113270
113285
  // User's timezone preference (IANA format, e.g., "Asia/Shanghai")
113271
113286
  userTimezone: external_exports.string().optional(),
113272
- // Memory storage name (for first-run when manifest.memory is null)
113273
- memoryName: external_exports.string().optional(),
113274
113287
  // Firewall for proxy-side token replacement (complete config, all permissions)
113275
113288
  firewalls: firewallsSchema.optional(),
113276
113289
  // Per-firewall network policies: which permissions are granted + unknownPolicy
@@ -114672,9 +114685,6 @@ var zeroComposesListContract = c25.router({
114672
114685
  init_esm_shims();
114673
114686
  var zeroRunRequestSchema = unifiedRunRequestSchema.omit({
114674
114687
  triggerSource: true,
114675
- memoryName: true,
114676
- artifactName: true,
114677
- artifactVersion: true,
114678
114688
  artifacts: true,
114679
114689
  disallowedTools: true,
114680
114690
  volumeVersions: true,
@@ -114811,7 +114821,6 @@ var runContextResponseSchema = external_exports.object({
114811
114821
  networkPolicies: networkPoliciesSchema.nullable(),
114812
114822
  volumes: external_exports.array(runContextVolumeSchema),
114813
114823
  artifact: runContextArtifactSchema.nullable(),
114814
- memory: runContextArtifactSchema.nullable(),
114815
114824
  featureFlags: external_exports.record(external_exports.string(), external_exports.boolean()).nullable()
114816
114825
  });
114817
114826
  var zeroRunContextContract = c26.router({
@@ -115935,7 +115944,7 @@ var zeroUsageInsightContract = c37.router({
115935
115944
  path: "/api/zero/usage/insight",
115936
115945
  headers: authHeadersSchema,
115937
115946
  query: external_exports.object({
115938
- range: external_exports.enum(["24h", "7d", "28d"]),
115947
+ range: external_exports.enum(["today", "yesterday", "7d", "28d"]),
115939
115948
  groupBy: external_exports.enum(["source", "agent"]),
115940
115949
  tz: external_exports.string()
115941
115950
  }),
@@ -116565,11 +116574,6 @@ var zeroVoiceIoQuotaContract = c51.router({
116565
116574
  // ../../packages/core/src/contracts/zero-voice-chat-candidate.ts
116566
116575
  init_esm_shims();
116567
116576
  var c52 = initContract();
116568
- var voiceChatCandidateSessionStatusSchema = external_exports.enum([
116569
- "active",
116570
- "ended",
116571
- "timeout"
116572
- ]);
116573
116577
  var voiceChatCandidateItemRoleSchema = external_exports.enum([
116574
116578
  "user",
116575
116579
  "assistant",
@@ -116593,16 +116597,13 @@ var voiceChatCandidateSessionSchema = external_exports.object({
116593
116597
  userId: external_exports.string(),
116594
116598
  agentId: external_exports.uuid().nullable(),
116595
116599
  mode: external_exports.literal("chat"),
116596
- status: voiceChatCandidateSessionStatusSchema,
116597
116600
  conversationSummary: external_exports.string().nullable(),
116598
116601
  workingTasksSummary: external_exports.string().nullable(),
116599
116602
  finishedTasksSummary: external_exports.string().nullable(),
116600
116603
  summarySeq: external_exports.number().int(),
116601
116604
  summaryVersion: external_exports.number().int(),
116602
116605
  lastSummaryAt: external_exports.string().nullable(),
116603
- createdAt: external_exports.string(),
116604
- lastHeartbeatAt: external_exports.string(),
116605
- endedAt: external_exports.string().nullable()
116606
+ createdAt: external_exports.string()
116606
116607
  });
116607
116608
  var voiceChatCandidateItemSchema = external_exports.object({
116608
116609
  id: external_exports.uuid(),
@@ -116703,52 +116704,6 @@ var zeroVoiceChatCandidateContract = c52.router({
116703
116704
  },
116704
116705
  summary: "List voice-chat-candidate sessions for the current user"
116705
116706
  },
116706
- reenterSession: {
116707
- method: "POST",
116708
- path: "/api/zero/voice-chat-candidate/:id/reenter",
116709
- headers: authHeadersSchema,
116710
- pathParams: external_exports.object({ id: external_exports.uuid() }),
116711
- body: external_exports.object({}),
116712
- responses: {
116713
- 200: external_exports.object({
116714
- session: voiceChatCandidateSessionSchema,
116715
- recentTaskLogs: external_exports.string(),
116716
- finishedTasksFullText: external_exports.string(),
116717
- talkerInstructions: external_exports.string(),
116718
- talkerInstructionTokens: external_exports.number().int().nonnegative()
116719
- }),
116720
- 401: apiErrorSchema,
116721
- 403: apiErrorSchema,
116722
- 404: apiErrorSchema
116723
- },
116724
- summary: "Reactivate and load a voice-chat-candidate session, re-computing talker instructions"
116725
- },
116726
- endSession: {
116727
- method: "POST",
116728
- path: "/api/zero/voice-chat-candidate/:id/end",
116729
- headers: authHeadersSchema,
116730
- pathParams: external_exports.object({ id: external_exports.uuid() }),
116731
- body: external_exports.object({}),
116732
- responses: {
116733
- 200: okResponseSchema2,
116734
- 401: apiErrorSchema,
116735
- 404: apiErrorSchema
116736
- },
116737
- summary: "End a voice-chat-candidate session"
116738
- },
116739
- heartbeat: {
116740
- method: "POST",
116741
- path: "/api/zero/voice-chat-candidate/:id/heartbeat",
116742
- headers: authHeadersSchema,
116743
- pathParams: external_exports.object({ id: external_exports.uuid() }),
116744
- body: external_exports.object({}),
116745
- responses: {
116746
- 200: okResponseSchema2,
116747
- 401: apiErrorSchema,
116748
- 404: apiErrorSchema
116749
- },
116750
- summary: "Keep a voice-chat-candidate session alive"
116751
- },
116752
116707
  triggerReasoning: {
116753
116708
  method: "POST",
116754
116709
  path: "/api/zero/voice-chat-candidate/:id/trigger-reasoning",
@@ -116776,18 +116731,28 @@ var zeroVoiceChatCandidateContract = c52.router({
116776
116731
  },
116777
116732
  summary: "Append a conversation item to a voice-chat-candidate session"
116778
116733
  },
116734
+ /**
116735
+ * task_result items are server-written when a tasker run completes. The
116736
+ * client pulls them incrementally via `sinceSeq` (no cursor = baseline
116737
+ * probe returning at most the latest row) and forwards them to the Talker
116738
+ * so it can narrate slow-brain outcomes. User / assistant transcripts are
116739
+ * NOT exposed via HTTP — the client holds the last utterance locally; the
116740
+ * DB copy is server-side only and feeds the Reasoner's summary pipeline.
116741
+ */
116779
116742
  readItems: {
116780
116743
  method: "GET",
116781
- path: "/api/zero/voice-chat-candidate/:id/items",
116744
+ path: "/api/zero/voice-chat-candidate/:id/transcript/task-results",
116782
116745
  headers: authHeadersSchema,
116783
116746
  pathParams: external_exports.object({ id: external_exports.uuid() }),
116784
- query: external_exports.object({ after: external_exports.coerce.number().int().optional() }),
116747
+ query: external_exports.object({
116748
+ sinceSeq: external_exports.coerce.number().int().nonnegative().optional()
116749
+ }),
116785
116750
  responses: {
116786
116751
  200: external_exports.object({ items: external_exports.array(voiceChatCandidateItemSchema) }),
116787
116752
  401: apiErrorSchema,
116788
116753
  404: apiErrorSchema
116789
116754
  },
116790
- summary: "Read conversation items from a voice-chat-candidate session"
116755
+ summary: "Read task_result items with seq cursor (for Talker injection only)"
116791
116756
  },
116792
116757
  createTask: {
116793
116758
  method: "POST",
@@ -116803,6 +116768,13 @@ var zeroVoiceChatCandidateContract = c52.router({
116803
116768
  },
116804
116769
  summary: "Create a task from the Talker's createTask tool call"
116805
116770
  },
116771
+ /**
116772
+ * Task list for the Trinity sidebar. Returns every still-running task
116773
+ * (pending / queued / running) in chronological ASC order, followed by up
116774
+ * to the 3 most-recently-finished tasks (done / failed) in finishedAt DESC
116775
+ * order. Full replace per Ably tick — no cursor. Older finished tasks drop
116776
+ * off; the UI shows them briefly as context and then tidies itself.
116777
+ */
116806
116778
  listTasks: {
116807
116779
  method: "GET",
116808
116780
  path: "/api/zero/voice-chat-candidate/:id/tasks",
@@ -116813,7 +116785,7 @@ var zeroVoiceChatCandidateContract = c52.router({
116813
116785
  401: apiErrorSchema,
116814
116786
  404: apiErrorSchema
116815
116787
  },
116816
- summary: "List voice-chat-candidate tasks for a session"
116788
+ summary: "List active + recently-finished tasks for a session"
116817
116789
  },
116818
116790
  token: {
116819
116791
  method: "POST",
@@ -116906,14 +116878,7 @@ var zeroVoiceChatTasksContract = c53.router({
116906
116878
  // ../../packages/core/src/contracts/tasks.ts
116907
116879
  init_esm_shims();
116908
116880
  var c54 = initContract();
116909
- var taskTypeSchema = external_exports.enum([
116910
- "chat",
116911
- "schedule",
116912
- "slack",
116913
- "email",
116914
- "voice_chat",
116915
- "agent"
116916
- ]);
116881
+ var taskTypeSchema = external_exports.enum(["chat", "schedule", "slack", "email", "agent"]);
116917
116882
  var taskAgentSchema = external_exports.object({
116918
116883
  id: external_exports.string(),
116919
116884
  name: external_exports.string(),
@@ -116932,7 +116897,6 @@ var taskItemSchema = external_exports.object({
116932
116897
  scheduleId: external_exports.string().optional(),
116933
116898
  slackThreadSessionId: external_exports.string().optional(),
116934
116899
  emailThreadSessionId: external_exports.string().optional(),
116935
- voiceChatSessionId: external_exports.string().optional(),
116936
116900
  agentRunId: external_exports.string().optional(),
116937
116901
  createdAt: external_exports.string(),
116938
116902
  updatedAt: external_exports.string()
@@ -117537,6 +117501,11 @@ var FEATURE_SWITCHES = {
117537
117501
  description: "Gate the entire platform-managed connector UI (Enable button and POST /api/zero/platform-connectors/:type). When off, only api-token and OAuth methods surface in connectors list/search, and the enable endpoint 404s. Staff-only during rollout.",
117538
117502
  enabled: false,
117539
117503
  enabledOrgIdHashes: STAFF_ORG_ID_HASHES
117504
+ },
117505
+ ["trinity" /* Trinity */]: {
117506
+ maintainer: "ethan@vm0.ai",
117507
+ description: "Embed the candidate voice-chat mic toggle + voice-mode layout into the agent chat page. Gates the mic launcher, composer swap, and status/subtitle/task-card UI.",
117508
+ enabled: false
117540
117509
  }
117541
117510
  };
117542
117511
  function isFeatureEnabled(key, ctx) {
@@ -118802,75 +118771,6 @@ async function getPhoneCallDetail(callId) {
118802
118771
  );
118803
118772
  }
118804
118773
 
118805
- // src/lib/api/domains/zero-voice-chat-context.ts
118806
- init_esm_shims();
118807
- async function getVoiceChatContextEvents(sessionId, after) {
118808
- const config4 = await getClientConfig();
118809
- const client = initClient(zeroVoiceChatContextContract, config4);
118810
- const result = await client.getEvents({
118811
- params: { id: sessionId },
118812
- query: { after },
118813
- headers: {}
118814
- });
118815
- if (result.status === 200) {
118816
- return result.body;
118817
- }
118818
- handleError(result, "Failed to get voice-chat context events");
118819
- }
118820
- async function appendVoiceChatContextEvent(sessionId, body) {
118821
- const config4 = await getClientConfig();
118822
- const client = initClient(zeroVoiceChatContextContract, config4);
118823
- const result = await client.appendEvent({
118824
- params: { id: sessionId },
118825
- body,
118826
- headers: {}
118827
- });
118828
- if (result.status === 200) {
118829
- return result.body.event;
118830
- }
118831
- handleError(result, "Failed to append voice-chat context event");
118832
- }
118833
-
118834
- // src/lib/api/domains/zero-voice-chat-tasks.ts
118835
- init_esm_shims();
118836
- async function createVoiceChatTask(sessionId, body) {
118837
- const config4 = await getClientConfig();
118838
- const client = initClient(zeroVoiceChatTasksContract, config4);
118839
- const result = await client.createTask({
118840
- params: { id: sessionId },
118841
- body,
118842
- headers: {}
118843
- });
118844
- if (result.status === 200) {
118845
- return result.body.task;
118846
- }
118847
- handleError(result, "Failed to create voice-chat task");
118848
- }
118849
- async function getVoiceChatTask(sessionId, taskId) {
118850
- const config4 = await getClientConfig();
118851
- const client = initClient(zeroVoiceChatTasksContract, config4);
118852
- const result = await client.getTask({
118853
- params: { id: sessionId, taskId },
118854
- headers: {}
118855
- });
118856
- if (result.status === 200) {
118857
- return result.body.task;
118858
- }
118859
- handleError(result, "Failed to get voice-chat task");
118860
- }
118861
- async function listVoiceChatTasks(sessionId) {
118862
- const config4 = await getClientConfig();
118863
- const client = initClient(zeroVoiceChatTasksContract, config4);
118864
- const result = await client.listTasks({
118865
- params: { id: sessionId },
118866
- headers: {}
118867
- });
118868
- if (result.status === 200) {
118869
- return result.body.tasks;
118870
- }
118871
- handleError(result, "Failed to list voice-chat tasks");
118872
- }
118873
-
118874
118774
  // src/lib/api/domains/web.ts
118875
118775
  init_esm_shims();
118876
118776
  import { createWriteStream as createWriteStream2, readFileSync as readFileSync3, statSync } from "fs";
@@ -120139,11 +120039,6 @@ export {
120139
120039
  createPhoneCall,
120140
120040
  listPhoneCalls,
120141
120041
  getPhoneCallDetail,
120142
- getVoiceChatContextEvents,
120143
- appendVoiceChatContextEvent,
120144
- createVoiceChatTask,
120145
- getVoiceChatTask,
120146
- listVoiceChatTasks,
120147
120042
  downloadWebFile,
120148
120043
  uploadWebFile,
120149
120044
  require_prompts3 as require_prompts,
@@ -120179,4 +120074,4 @@ undici/lib/web/fetch/body.js:
120179
120074
  undici/lib/web/websocket/frame.js:
120180
120075
  (*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
120181
120076
  */
120182
- //# sourceMappingURL=chunk-65M57PU6.js.map
120077
+ //# sourceMappingURL=chunk-A7EYNH3B.js.map