@rallycry/conveyor-agent 11.1.10 → 11.1.11

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.
@@ -8,7 +8,7 @@ import {
8
8
  readWorkspaceBytes,
9
9
  statWorkspacePath,
10
10
  workspacePathExists
11
- } from "./chunk-T6FEYIIV.js";
11
+ } from "./chunk-KOBCCVS3.js";
12
12
  import {
13
13
  reportBootMilestone
14
14
  } from "./chunk-74BAVQKD.js";
@@ -876,14 +876,25 @@ var ALLOWED_FILE_MIME_TYPES = [
876
876
  // in-origin, so they need no SANDBOXED_MIME entry.
877
877
  "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
878
878
  "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
879
- "application/vnd.openxmlformats-officedocument.presentationml.presentation"
879
+ "application/vnd.openxmlformats-officedocument.presentationml.presentation",
880
+ // Audio: one canonical mime per extension (see AUDIO_MIME_BY_EXT). Documents
881
+ // in the access sense — the download needs a signed-in project member — and
882
+ // served under their own type, never sandboxed: an <audio> element cannot
883
+ // run script, and a sandbox CSP could break the browser's own player.
884
+ "audio/wav",
885
+ "audio/mpeg",
886
+ "audio/ogg",
887
+ "audio/flac",
888
+ "audio/mp4",
889
+ "audio/aac"
880
890
  ];
881
891
  var ALLOWED_FILE_ACCEPT = [
882
892
  ...ALLOWED_FILE_MIME_TYPES,
883
893
  // Extensions too: a mime-only `accept` filters the OS picker by its own mime
884
894
  // registry, which greys out .md/.mmd (and Office files on a machine without
885
895
  // Office) even though the upload would succeed.
886
- ".png,.jpg,.jpeg,.gif,.webp,.json,.csv,.txt,.md,.mmd,.pdf,.html,.docx,.xlsx,.pptx"
896
+ ".png,.jpg,.jpeg,.gif,.webp,.json,.csv,.txt,.md,.mmd,.pdf,.html,.docx,.xlsx,.pptx",
897
+ ".wav,.mp3,.ogg,.flac,.m4a,.aac"
887
898
  ].join(",");
888
899
  var EMBED_THRESHOLD_IMAGES = 5 * 1024 * 1024;
889
900
  var EMBED_THRESHOLD_TEXT = 2 * 1024 * 1024;
@@ -105,7 +105,7 @@ import {
105
105
  toMemberMentionRows,
106
106
  updateRemoteToken,
107
107
  verifyGitCredential
108
- } from "./chunk-T6FEYIIV.js";
108
+ } from "./chunk-KOBCCVS3.js";
109
109
  import {
110
110
  reportBootMilestone
111
111
  } from "./chunk-74BAVQKD.js";
@@ -10784,7 +10784,11 @@ var MIME_BY_EXT = {
10784
10784
  ".mov": "video/quicktime",
10785
10785
  ".m4v": "video/x-m4v",
10786
10786
  ".mp3": "audio/mpeg",
10787
- ".wav": "audio/wav"
10787
+ ".wav": "audio/wav",
10788
+ ".ogg": "audio/ogg",
10789
+ ".flac": "audio/flac",
10790
+ ".m4a": "audio/mp4",
10791
+ ".aac": "audio/aac"
10788
10792
  };
10789
10793
  function inferMimeType(filePath) {
10790
10794
  return MIME_BY_EXT[extname(filePath).toLowerCase()] ?? "application/octet-stream";
package/dist/cli.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  WorkspaceCommandSupervisor,
8
8
  startWorkspaceCommandsAfterConnect,
9
9
  stopWorkspaceCommands
10
- } from "./chunk-XGCTWHO6.js";
10
+ } from "./chunk-K63H5C7O.js";
11
11
  import {
12
12
  PtyHarness,
13
13
  SessionRunner,
@@ -25,7 +25,7 @@ import {
25
25
  resolveTuiKindFromEnv,
26
26
  sampleKeyUsage,
27
27
  usesNativeUsageReporting
28
- } from "./chunk-EJXVXGLK.js";
28
+ } from "./chunk-YUTM2CST.js";
29
29
  import "./chunk-VYE7XV6U.js";
30
30
  import {
31
31
  inheritedEnv,
@@ -41,7 +41,7 @@ import {
41
41
  createServiceLogger,
42
42
  loadAndAnnotateDiscoveredPorts,
43
43
  loadConveyorConfig
44
- } from "./chunk-T6FEYIIV.js";
44
+ } from "./chunk-KOBCCVS3.js";
45
45
  import "./chunk-74BAVQKD.js";
46
46
  import "./chunk-W4LZ7R6Z.js";
47
47
  import "./chunk-372R6E4C.js";
@@ -1424,7 +1424,7 @@ if (!RUNNER_MODES.includes(CONVEYOR_MODE)) {
1424
1424
  process.exit(1);
1425
1425
  }
1426
1426
  if (CONVEYOR_MODE === "serving") {
1427
- const { runServingSession } = await import("./serve-boot-PFS6KWJL.js");
1427
+ const { runServingSession } = await import("./serve-boot-DU3UJJ6R.js");
1428
1428
  exitContext.runnerMode = "serving";
1429
1429
  exitContext.sessionId = process.env.CONVEYOR_SESSION_ID ?? exitContext.sessionId;
1430
1430
  const outcome = await runServingSession({
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  SessionRunner,
3
3
  unshallowRepo
4
- } from "./chunk-EJXVXGLK.js";
4
+ } from "./chunk-YUTM2CST.js";
5
5
  import "./chunk-VYE7XV6U.js";
6
6
  import "./chunk-76JCOHPE.js";
7
7
  import {
@@ -17,7 +17,7 @@ import {
17
17
  stageAndCommit,
18
18
  updateRemoteToken,
19
19
  workspacePathExists
20
- } from "./chunk-T6FEYIIV.js";
20
+ } from "./chunk-KOBCCVS3.js";
21
21
  import "./chunk-74BAVQKD.js";
22
22
  import {
23
23
  runAuthTokenCommand,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  WorkspaceCommandSupervisor
3
- } from "./chunk-XGCTWHO6.js";
3
+ } from "./chunk-K63H5C7O.js";
4
4
  import {
5
5
  AgentConnection,
6
6
  DEFAULT_LIFECYCLE_CONFIG,
@@ -11,7 +11,7 @@ import {
11
11
  ensureOnTaskBranch,
12
12
  loadAndAnnotateDiscoveredPorts,
13
13
  loadConveyorConfig
14
- } from "./chunk-T6FEYIIV.js";
14
+ } from "./chunk-KOBCCVS3.js";
15
15
  import "./chunk-74BAVQKD.js";
16
16
  import "./chunk-W4LZ7R6Z.js";
17
17
  import "./chunk-L2E4EMEP.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rallycry/conveyor-agent",
3
- "version": "11.1.10",
3
+ "version": "11.1.11",
4
4
  "description": "Conveyor Agent Runner v10 - PTY harness for the task chat (SDK harness for audit/project-chat). Agent-as-User architecture with BaseService patterns. Works locally too.",
5
5
  "keywords": [
6
6
  "agent",