relaymessenger 0.1.28 → 0.1.29-staging.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.
- package/dist/codex-bridge.d.ts +1 -1
- package/dist/codex-bridge.js +1 -1
- package/dist/inbound-media.js +1 -1
- package/package.json +3 -3
package/dist/codex-bridge.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ import { type ApprovalChoice, type ApprovalOutcome, type ApprovalRequest, type O
|
|
|
26
26
|
/** Relay takes 1 to 255 characters for an idempotency key (contracts/relay-v1-openapi.yaml). */
|
|
27
27
|
export declare const replyKey: (eventId: string) => string;
|
|
28
28
|
/** The longest text Relay takes in one message part. */
|
|
29
|
-
export declare const MAX_RELAY_TEXT =
|
|
29
|
+
export declare const MAX_RELAY_TEXT = 65536;
|
|
30
30
|
/**
|
|
31
31
|
* What the bridge sends on `thread/start` and `thread/resume`: the folder and
|
|
32
32
|
* Relay's thread config (`codexThreadConfig`), and no `sandbox` and no
|
package/dist/codex-bridge.js
CHANGED
|
@@ -29,7 +29,7 @@ import { beyond, inputDetail, inputSummary } from "./approvals.js";
|
|
|
29
29
|
/** Relay takes 1 to 255 characters for an idempotency key (contracts/relay-v1-openapi.yaml). */
|
|
30
30
|
export const replyKey = (eventId) => `codex-bridge-${eventId}`;
|
|
31
31
|
/** The longest text Relay takes in one message part. */
|
|
32
|
-
export const MAX_RELAY_TEXT =
|
|
32
|
+
export const MAX_RELAY_TEXT = 65_536;
|
|
33
33
|
/**
|
|
34
34
|
* What the bridge sends on `thread/start` and `thread/resume`: the folder and
|
|
35
35
|
* Relay's thread config (`codexThreadConfig`), and no `sandbox` and no
|
package/dist/inbound-media.js
CHANGED
|
@@ -76,7 +76,7 @@ const readReplyTarget = async (replyTo, options) => {
|
|
|
76
76
|
};
|
|
77
77
|
/** A failed attachment is named in the turn; it never consumes the message. */
|
|
78
78
|
export const inboundMediaPrompt = async (turn, options) => {
|
|
79
|
-
const lines = turn.text ? [turn.text.slice(0,
|
|
79
|
+
const lines = turn.text ? [turn.text.slice(0, 65_536)] : [];
|
|
80
80
|
if (turn.replying)
|
|
81
81
|
lines.push(replyTargetContext(turn.replying, await readReplyTarget(turn.replying, options)));
|
|
82
82
|
const context = selectionReplyContext(turn.selection, turn.richMessage);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "relaymessenger",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.29-staging.0",
|
|
4
4
|
"description": "Official command-line client for Relay v1 resources.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"@agentclientprotocol/sdk": "1.4.0",
|
|
32
32
|
"@anthropic-ai/claude-agent-sdk": "0.3.278",
|
|
33
33
|
"@clack/prompts": "1.8.1",
|
|
34
|
-
"@relaymessenger/pi": "0.1.
|
|
35
|
-
"@relaymessenger/sdk": "0.5.6",
|
|
34
|
+
"@relaymessenger/pi": "0.1.16-staging.0",
|
|
35
|
+
"@relaymessenger/sdk": "0.5.6-staging.0",
|
|
36
36
|
"@vercel/detect-agent": "1.2.5",
|
|
37
37
|
"commander": "^15.0.0",
|
|
38
38
|
"smol-toml": "^1.9.1",
|