@eddyskywalker/dsh-chatgpt-subscription 0.29.0 → 0.31.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/CHANGELOG.md +54 -0
- package/README.md +11 -2
- package/lib/client.js +2923 -210
- package/lib/client.js.map +1 -1
- package/lib/index.js +4270 -561
- package/lib/types/client/index.d.ts.map +1 -1
- package/lib/types/client/minimax-code/MinimaxCodeSection.d.ts +8 -5
- package/lib/types/client/minimax-code/MinimaxCodeSection.d.ts.map +1 -1
- package/lib/types/client/minimax-code/MinimaxVideoDocumentBody.d.ts +69 -0
- package/lib/types/client/minimax-code/MinimaxVideoDocumentBody.d.ts.map +1 -0
- package/lib/types/client/minimax-code/MinimaxVideoToolView.d.ts +83 -0
- package/lib/types/client/minimax-code/MinimaxVideoToolView.d.ts.map +1 -0
- package/lib/types/client/minimax-code/VideoFormDialog.d.ts +90 -0
- package/lib/types/client/minimax-code/VideoFormDialog.d.ts.map +1 -0
- package/lib/types/client/minimax-code/VideoSettingsSections.d.ts +73 -0
- package/lib/types/client/minimax-code/VideoSettingsSections.d.ts.map +1 -0
- package/lib/types/client/minimax-code/commands-contract.d.ts +35 -0
- package/lib/types/client/minimax-code/commands-contract.d.ts.map +1 -0
- package/lib/types/client/minimax-code/document-preview.d.ts +45 -0
- package/lib/types/client/minimax-code/document-preview.d.ts.map +1 -0
- package/lib/types/client/minimax-code/locales.d.ts +212 -8
- package/lib/types/client/minimax-code/locales.d.ts.map +1 -1
- package/lib/types/client/minimax-code/styles.d.ts.map +1 -1
- package/lib/types/client/minimax-code/video-command-host.d.ts +61 -0
- package/lib/types/client/minimax-code/video-command-host.d.ts.map +1 -0
- package/lib/types/client/minimax-code/video-command.d.ts +126 -0
- package/lib/types/client/minimax-code/video-command.d.ts.map +1 -0
- package/lib/types/client/minimax-code/video-contract.d.ts +172 -0
- package/lib/types/client/minimax-code/video-contract.d.ts.map +1 -0
- package/lib/types/client/minimax-code/video-defaults-store.d.ts +61 -0
- package/lib/types/client/minimax-code/video-defaults-store.d.ts.map +1 -0
- package/lib/types/client/minimax-code/video-form-rules.d.ts +288 -0
- package/lib/types/client/minimax-code/video-form-rules.d.ts.map +1 -0
- package/lib/types/client/minimax-code/video-media.d.ts +61 -0
- package/lib/types/client/minimax-code/video-media.d.ts.map +1 -0
- package/lib/types/client/minimax-code/video-slots.d.ts +87 -0
- package/lib/types/client/minimax-code/video-slots.d.ts.map +1 -0
- package/lib/types/host/common/context-overflow.d.ts.map +1 -1
- package/lib/types/host/minimax-code/adapter.d.ts +14 -0
- package/lib/types/host/minimax-code/adapter.d.ts.map +1 -1
- package/lib/types/host/minimax-code/checkin-gateway.d.ts +36 -0
- package/lib/types/host/minimax-code/checkin-gateway.d.ts.map +1 -1
- package/lib/types/host/minimax-code/checkin.d.ts +60 -2
- package/lib/types/host/minimax-code/checkin.d.ts.map +1 -1
- package/lib/types/host/minimax-code/client.d.ts.map +1 -1
- package/lib/types/host/minimax-code/iso-bmff-duration.d.ts +84 -0
- package/lib/types/host/minimax-code/iso-bmff-duration.d.ts.map +1 -0
- package/lib/types/host/minimax-code/mapper.d.ts +51 -19
- package/lib/types/host/minimax-code/mapper.d.ts.map +1 -1
- package/lib/types/host/minimax-code/matrix-client.d.ts +168 -0
- package/lib/types/host/minimax-code/matrix-client.d.ts.map +1 -0
- package/lib/types/host/minimax-code/media-store.d.ts +153 -0
- package/lib/types/host/minimax-code/media-store.d.ts.map +1 -0
- package/lib/types/host/minimax-code/model-catalog.d.ts +40 -15
- package/lib/types/host/minimax-code/model-catalog.d.ts.map +1 -1
- package/lib/types/host/minimax-code/routes.d.ts.map +1 -1
- package/lib/types/host/minimax-code/token-store.d.ts.map +1 -1
- package/lib/types/host/minimax-code/types.d.ts.map +1 -1
- package/lib/types/host/minimax-code/video-history.d.ts +240 -0
- package/lib/types/host/minimax-code/video-history.d.ts.map +1 -0
- package/lib/types/host/minimax-code/video-submit-rules.d.ts +40 -0
- package/lib/types/host/minimax-code/video-submit-rules.d.ts.map +1 -0
- package/lib/types/host/minimax-code/video-tool.d.ts +757 -0
- package/lib/types/host/minimax-code/video-tool.d.ts.map +1 -0
- package/lib/types/host/progress-updates/index.d.ts +6 -0
- package/lib/types/host/progress-updates/index.d.ts.map +1 -1
- package/lib/types/host/progress-updates/projection.d.ts +214 -0
- package/lib/types/host/progress-updates/projection.d.ts.map +1 -0
- package/lib/types/host/proxy-manager.d.ts.map +1 -1
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/shared/minimax-code-contracts.d.ts +17 -3
- package/lib/types/shared/minimax-code-contracts.d.ts.map +1 -1
- package/package.json +13 -4
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Matrix media gateway client for the MiniMax Code subscription.
|
|
3
|
+
*
|
|
4
|
+
* The Messages route (`{agentBase}/mavis/api/v1/llm/v1/messages`) carries the
|
|
5
|
+
* chat surface only. Everything else the subscription can do — video generation,
|
|
6
|
+
* video understanding, image and audio tools — lives behind a SECOND prefix on
|
|
7
|
+
* the SAME origin: `{agentBase}/mavis/api/v1/mcp/<tool>`. Nothing in
|
|
8
|
+
* ./client.ts reaches it, and this module is that missing half.
|
|
9
|
+
*
|
|
10
|
+
* Why the endpoint set is what it is (docs/minimax-video-design-spec.md section
|
|
11
|
+
* 3, and the live probe in scripts/probe-minimax-matrix-gateway.probe.ts):
|
|
12
|
+
*
|
|
13
|
+
* - the host is the AGENT host, not the API host. cn is `https://agent.minimax.cn`
|
|
14
|
+
* and global is `https://agent.minimax.io`, both already named by
|
|
15
|
+
* ./types.ts's REGION_HOSTS. `agent.minimaxi.com` is the CHECK-IN surface's
|
|
16
|
+
* host — the upstream tree spells it LEGACY (matrix-env.ts:28) — and pointing
|
|
17
|
+
* a media call at it would miss.
|
|
18
|
+
* - authentication is the subscription bearer and nothing else. The measured
|
|
19
|
+
* request carried exactly accept / authorization / content-type / user-agent
|
|
20
|
+
* and was answered HTTP 200 `base_resp.status_code: 0`. The `yy` /
|
|
21
|
+
* `x-timestamp` / `x-signature` triple belongs to the check-in surface, and
|
|
22
|
+
* `user_id` / `biz_id` / `request_sk` are gated on a non-prod build env and
|
|
23
|
+
* resolve to {} in prod, so none of them is sent here either.
|
|
24
|
+
*
|
|
25
|
+
* TWO FAILURE KINDS, and they are not the same verdict:
|
|
26
|
+
*
|
|
27
|
+
* - a BUSINESS failure is HTTP 200 with `base_resp.status_code !== 0` OR with a
|
|
28
|
+
* non-zero TOP-LEVEL `code`. Both are the service accepting the request,
|
|
29
|
+
* understanding it, and refusing it: retrying the same body asks the same
|
|
30
|
+
* question again and gets the same answer, so it is terminal. Upstream proves
|
|
31
|
+
* the same pair (packages/agent-tools/src/cloud/matrix-tools/client.ts:140-158)
|
|
32
|
+
* and a client that only reads the first one reports a refusal as a success.
|
|
33
|
+
* - a REQUEST failure is a non-2xx status. Which one it is (a refused
|
|
34
|
+
* credential, back-pressure, an overloaded gateway, a malformed body) is
|
|
35
|
+
* decided by {@link classifyMinimaxFailure}, which this line already uses for
|
|
36
|
+
* every other refusal it reports.
|
|
37
|
+
*
|
|
38
|
+
* The classification SHAPE is reused rather than reinvented: `code`,
|
|
39
|
+
* `message`, `retryable`, `accountScoped`. A caller that reads a verdict from
|
|
40
|
+
* the Messages route and a caller that reads one from here must not have to
|
|
41
|
+
* know which surface produced it.
|
|
42
|
+
*
|
|
43
|
+
* @module dsh-chatgpt-subscription/minimax-code/matrix-client
|
|
44
|
+
*/
|
|
45
|
+
import { HarnessError } from '@deepseek-ai/dsh-llm';
|
|
46
|
+
import type { MinimaxCodeRegion } from '../../shared/minimax-code-contracts.ts';
|
|
47
|
+
import { type MinimaxFailureClassification } from './adapter.ts';
|
|
48
|
+
/** Prefix every Matrix media tool hangs off. */
|
|
49
|
+
export declare const MATRIX_API_PREFIX = "/mavis/api/v1/mcp";
|
|
50
|
+
/**
|
|
51
|
+
* User agent the gateway was measured to accept.
|
|
52
|
+
*
|
|
53
|
+
* NOT the package's own product token (./types.ts USER_AGENT). A media call is
|
|
54
|
+
* a first-party-client surface rather than an LLM endpoint, and the measured
|
|
55
|
+
* shape sent this literal; the note in ./types.ts about not impersonating the
|
|
56
|
+
* official app is about the TELEMETRY headers (`yy` and friends), which are
|
|
57
|
+
* still never sent.
|
|
58
|
+
*/
|
|
59
|
+
export declare const MATRIX_USER_AGENT = "MiniMaxAgent";
|
|
60
|
+
/** Default per-call time budget, matching the upstream media-tool timeout table. */
|
|
61
|
+
export declare const MATRIX_DEFAULT_TIMEOUT_MS = 120000;
|
|
62
|
+
/** Path segment of the video-understanding tool. */
|
|
63
|
+
export declare const MATRIX_TOOL_VIDEOS_UNDERSTAND = "videos_understand";
|
|
64
|
+
/** Path segment of the async video-generation submit tool. */
|
|
65
|
+
export declare const MATRIX_TOOL_SUBMIT_VIDEO = "submit_video_generation";
|
|
66
|
+
/** Path segment of the async video-generation query tool. */
|
|
67
|
+
export declare const MATRIX_TOOL_QUERY_VIDEO = "query_video_generation";
|
|
68
|
+
/** Path segment of the presigned-upload broker. */
|
|
69
|
+
export declare const MATRIX_TOOL_GET_UPLOAD_URL = "get_upload_url";
|
|
70
|
+
type FetchLike = typeof fetch;
|
|
71
|
+
/**
|
|
72
|
+
* The Matrix media route for one region and tool.
|
|
73
|
+
*
|
|
74
|
+
* @param region - subscription region (`cn` or `global`).
|
|
75
|
+
* @param tool - tool path segment, e.g. `videos_understand`.
|
|
76
|
+
* @returns the absolute endpoint URL.
|
|
77
|
+
*/
|
|
78
|
+
export declare function matrixToolUrl(region: MinimaxCodeRegion, tool: string): string;
|
|
79
|
+
/**
|
|
80
|
+
* The complete header set of one Matrix request: exactly four entries.
|
|
81
|
+
*
|
|
82
|
+
* Kept as a function of the token alone so a test can assert the absence of the
|
|
83
|
+
* check-in surface's signature headers and the routing headers by name, rather
|
|
84
|
+
* than trusting that nobody added one later.
|
|
85
|
+
*
|
|
86
|
+
* @param accessToken - subscription access token.
|
|
87
|
+
* @returns the four headers, in the measured spelling.
|
|
88
|
+
*/
|
|
89
|
+
export declare function matrixRequestHeaders(accessToken: string): Record<string, string>;
|
|
90
|
+
/**
|
|
91
|
+
* One settled Matrix call.
|
|
92
|
+
*
|
|
93
|
+
* `body` is the parsed JSON envelope with `base_resp` still on it, so a caller
|
|
94
|
+
* can read `status_msg` when it needs the service's own wording. Payload fields
|
|
95
|
+
* sit at the TOP level of that envelope on every tool this line has read.
|
|
96
|
+
*
|
|
97
|
+
* The one top-level key that is NOT a payload field is `code`: it is the
|
|
98
|
+
* envelope's second status code, already proven zero by the time a response is
|
|
99
|
+
* returned (see {@link businessStatusOf}).
|
|
100
|
+
*/
|
|
101
|
+
export interface MatrixToolResponse {
|
|
102
|
+
/** The tool the call named. */
|
|
103
|
+
readonly tool: string;
|
|
104
|
+
/** HTTP status of the answer. */
|
|
105
|
+
readonly status: number;
|
|
106
|
+
/** Parsed JSON object body. */
|
|
107
|
+
readonly body: Record<string, unknown>;
|
|
108
|
+
}
|
|
109
|
+
/** One Matrix failure, carrying the verdict the rest of the line speaks. */
|
|
110
|
+
export declare class MatrixToolError extends HarnessError {
|
|
111
|
+
/** The reused classification: `code`/`message`/`retryable`/`accountScoped`. */
|
|
112
|
+
readonly classification: MinimaxFailureClassification;
|
|
113
|
+
/** HTTP status when there was one; undefined for a transport failure. */
|
|
114
|
+
readonly status: number | undefined;
|
|
115
|
+
/** The tool the failing call named. */
|
|
116
|
+
readonly tool: string;
|
|
117
|
+
constructor(message: string, code: string, classification: MinimaxFailureClassification, tool: string, status?: number);
|
|
118
|
+
}
|
|
119
|
+
/** Error code for a business refusal (HTTP 200, `base_resp.status_code !== 0`). */
|
|
120
|
+
export declare const MATRIX_BUSINESS_ERROR_CODE = "MINIMAX_MATRIX_BUSINESS_ERROR";
|
|
121
|
+
/** Error code for a non-2xx answer. */
|
|
122
|
+
export declare const MATRIX_HTTP_ERROR_CODE = "MINIMAX_MATRIX_HTTP_ERROR";
|
|
123
|
+
/** Error code for a request that never produced a response. */
|
|
124
|
+
export declare const MATRIX_TRANSPORT_ERROR_CODE = "MINIMAX_MATRIX_TRANSPORT_ERROR";
|
|
125
|
+
/** Error code for a call that outlived its budget. */
|
|
126
|
+
export declare const MATRIX_TIMEOUT_ERROR_CODE = "MINIMAX_MATRIX_TIMEOUT";
|
|
127
|
+
/** Options for {@link callMatrixTool}. */
|
|
128
|
+
export interface CallMatrixToolOptions {
|
|
129
|
+
/** Subscription region; decides which agent host is used. */
|
|
130
|
+
readonly region: MinimaxCodeRegion;
|
|
131
|
+
/** Subscription access token (bearer). */
|
|
132
|
+
readonly accessToken: string;
|
|
133
|
+
/** Tool path segment, e.g. `videos_understand`. */
|
|
134
|
+
readonly tool: string;
|
|
135
|
+
/** JSON request body. */
|
|
136
|
+
readonly body: Record<string, unknown>;
|
|
137
|
+
/** Injected fetch, so tests never touch the network. */
|
|
138
|
+
readonly fetchFn?: FetchLike;
|
|
139
|
+
/** Caller cancellation. */
|
|
140
|
+
readonly signal?: AbortSignal;
|
|
141
|
+
/** Per-call budget; defaults to {@link MATRIX_DEFAULT_TIMEOUT_MS}. */
|
|
142
|
+
readonly timeoutMs?: number;
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Call one Matrix media tool and return its parsed envelope.
|
|
146
|
+
*
|
|
147
|
+
* @param options - region, credential, tool, body and the injectable transport.
|
|
148
|
+
* @returns the parsed envelope, with the business status already proven zero.
|
|
149
|
+
* @throws MatrixToolError for a business refusal, a non-2xx answer, a transport
|
|
150
|
+
* failure, or a timeout. Every one carries a reused classification.
|
|
151
|
+
*/
|
|
152
|
+
export declare function callMatrixTool(options: CallMatrixToolOptions): Promise<MatrixToolResponse>;
|
|
153
|
+
/**
|
|
154
|
+
* Read one payload field out of an envelope, trying the shapes this gateway
|
|
155
|
+
* has been observed to use.
|
|
156
|
+
*
|
|
157
|
+
* Top level first — that is where every measured tool puts its payload — then
|
|
158
|
+
* `data` and `result` for a tool that nests it. Undefined when none of them
|
|
159
|
+
* carries the key, so the caller refuses rather than reading a missing field as
|
|
160
|
+
* an empty string.
|
|
161
|
+
*
|
|
162
|
+
* @param body - the parsed envelope.
|
|
163
|
+
* @param key - the field name the tool documents.
|
|
164
|
+
* @returns the value, whatever it is, or undefined.
|
|
165
|
+
*/
|
|
166
|
+
export declare function matrixPayloadField(body: Record<string, unknown>, key: string): unknown;
|
|
167
|
+
export {};
|
|
168
|
+
//# sourceMappingURL=matrix-client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"matrix-client.d.ts","sourceRoot":"","sources":["../../../../src/host/minimax-code/matrix-client.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACnD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAA;AAC/E,OAAO,EAA0B,KAAK,4BAA4B,EAAE,MAAM,cAAc,CAAA;AAIxF,gDAAgD;AAChD,eAAO,MAAM,iBAAiB,sBAAsB,CAAA;AAEpD;;;;;;;;GAQG;AACH,eAAO,MAAM,iBAAiB,iBAAiB,CAAA;AAE/C,oFAAoF;AACpF,eAAO,MAAM,yBAAyB,SAAU,CAAA;AAEhD,oDAAoD;AACpD,eAAO,MAAM,6BAA6B,sBAAsB,CAAA;AAChE,8DAA8D;AAC9D,eAAO,MAAM,wBAAwB,4BAA4B,CAAA;AACjE,6DAA6D;AAC7D,eAAO,MAAM,uBAAuB,2BAA2B,CAAA;AAC/D,mDAAmD;AACnD,eAAO,MAAM,0BAA0B,mBAAmB,CAAA;AAE1D,KAAK,SAAS,GAAG,OAAO,KAAK,CAAA;AAE7B;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,iBAAiB,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAG7E;AAED;;;;;;;;;GASG;AACH,wBAAgB,oBAAoB,CAAC,WAAW,EAAE,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DAAwD;IACxD,QAAQ,CAAC,OAAO,CAAC,EAAE,SAAS,CAAA;IAC5B,2BAA2B;IAC3B,QAAQ,CAAC,MAAM,CAAC,EAAE,WAAW,CAAA;IAC7B,sEAAsE;IACtE,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAC5B;AA8DD;;;;;;;GAOG;AACH,wBAAsB,cAAc,CAAC,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,kBAAkB,CAAC,CA8GhG;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAOtF"}
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Where a generated video is written, and how the path it gets is derived.
|
|
3
|
+
*
|
|
4
|
+
* WHY THE SESSION WORKSPACE AND NOT A PRIVATE DIRECTORY. The sidebar's video
|
|
5
|
+
* preview is a DOCUMENT preview: it renders a file the workspace can address,
|
|
6
|
+
* because that is what the preview registry is keyed on. A clip parked in
|
|
7
|
+
* `$DSH_HOME/storages/...` — which is where the Kimi line's attachment store
|
|
8
|
+
* lives — is invisible to that surface: the tool would report success and the
|
|
9
|
+
* user would have no player to open it in. So the bytes land in the session's
|
|
10
|
+
* own working directory, and this module's whole job is to do that without
|
|
11
|
+
* letting a caller name a path.
|
|
12
|
+
*
|
|
13
|
+
* HOW THE ROOT IS RESOLVED (the answer to "what can a tool actually see here"):
|
|
14
|
+
*
|
|
15
|
+
* 1. `ctx.get('workingDirectory')` then `ensure(agent, signal)` — the same call
|
|
16
|
+
* the harness itself makes. `packages/core/tools/src/index.ts:949-956` uses
|
|
17
|
+
* it to capture `run_code`'s cwd, and `packages/deliverables/tool-present/
|
|
18
|
+
* src/index.ts:82` uses it to resolve the directory `present` addresses.
|
|
19
|
+
* It is the CURRENT directory, which is what a user means by "the
|
|
20
|
+
* workspace" after they change it mid-session.
|
|
21
|
+
* 2. `agent.session.header.cwd` — `packages/core/session/src/types.ts:106`
|
|
22
|
+
* documents it as "Absolute working directory the session was created in".
|
|
23
|
+
* This is the fallback when the working-directory service is not composed
|
|
24
|
+
* (a headless host), and it is a plain field, so reading it cannot fail.
|
|
25
|
+
* 3. Neither: the call FAILS. There is deliberately no third fallback to a
|
|
26
|
+
* plugin-owned directory, because the product contract is that the file is
|
|
27
|
+
* reachable from the workspace; silently writing somewhere else would report
|
|
28
|
+
* a success the user cannot open. The error names both remedies.
|
|
29
|
+
*
|
|
30
|
+
* The host's own workspace-file scope agrees with the same decision:
|
|
31
|
+
* `packages/api/workspace-files/src/index.ts:218` resolves a session's root as
|
|
32
|
+
* `header.cwd ?? scope.sandboxPolicy.workspaceRoot`, i.e. the header first.
|
|
33
|
+
*
|
|
34
|
+
* @module dsh-chatgpt-subscription/minimax-code/media-store
|
|
35
|
+
*/
|
|
36
|
+
import { HarnessError } from '@deepseek-ai/dsh-llm';
|
|
37
|
+
/**
|
|
38
|
+
* Largest single generated video this route will write.
|
|
39
|
+
*
|
|
40
|
+
* A 15-second 2K H3 clip is a few tens of megabytes, so 200 MB is not a
|
|
41
|
+
* prediction of the output size — it is the ceiling that stops a runaway
|
|
42
|
+
* download (a wrong URL that streams an ISO, a redirect to something huge) from
|
|
43
|
+
* filling the user's disk. Nothing legitimate comes near it.
|
|
44
|
+
*/
|
|
45
|
+
export declare const MAX_GENERATED_VIDEO_BYTES: number;
|
|
46
|
+
/** Directory, under the workspace root, that generated videos land in. */
|
|
47
|
+
export declare const GENERATED_VIDEO_DIR = "minimax-videos";
|
|
48
|
+
/** Raised when a write cannot produce a usable workspace path. */
|
|
49
|
+
export declare class MediaStoreError extends HarnessError {
|
|
50
|
+
constructor(message: string, code: string);
|
|
51
|
+
}
|
|
52
|
+
/** The one place a generated video may be written, and how to name it. */
|
|
53
|
+
export interface MediaStoreTarget {
|
|
54
|
+
/** Absolute workspace root. */
|
|
55
|
+
readonly root: string;
|
|
56
|
+
/** Absolute directory the file is written into. */
|
|
57
|
+
readonly directory: string;
|
|
58
|
+
/**
|
|
59
|
+
* Whether the root came from the working-directory service (true) or from
|
|
60
|
+
* the session header (false). Reported so a caller can tell a live directory
|
|
61
|
+
* from the creation-time one.
|
|
62
|
+
*/
|
|
63
|
+
readonly fromWorkingDirectory: boolean;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* The least a tool execution must expose for {@link resolveMediaStoreTarget}.
|
|
67
|
+
*
|
|
68
|
+
* Structural rather than the registry's own `ToolRunContext` so a test can
|
|
69
|
+
* hand in a plain object; every field is optional because a tool is also
|
|
70
|
+
* executed by tooling that composes no agent at all.
|
|
71
|
+
*/
|
|
72
|
+
export interface MediaStoreExec {
|
|
73
|
+
readonly signal?: AbortSignal;
|
|
74
|
+
readonly agent?: {
|
|
75
|
+
readonly session?: {
|
|
76
|
+
readonly header?: {
|
|
77
|
+
readonly cwd?: string;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
/** The part of the harness `workingDirectory` service this module reads. */
|
|
83
|
+
export interface WorkingDirectoryLookup {
|
|
84
|
+
ensure(agent: unknown, signal?: AbortSignal): Promise<string>;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* The session's current working directory, or undefined when nothing can name
|
|
88
|
+
* one.
|
|
89
|
+
*
|
|
90
|
+
* @param ctx - anything with a `get` that returns the harness services.
|
|
91
|
+
* @param exec - the tool execution naming the agent and its cancellation.
|
|
92
|
+
* @returns an absolute directory, or undefined.
|
|
93
|
+
*/
|
|
94
|
+
export declare function resolveSessionRoot(ctx: {
|
|
95
|
+
get(name: string): unknown;
|
|
96
|
+
}, exec: MediaStoreExec): Promise<{
|
|
97
|
+
root: string;
|
|
98
|
+
fromWorkingDirectory: boolean;
|
|
99
|
+
} | undefined>;
|
|
100
|
+
/**
|
|
101
|
+
* Resolve where a generated video will be written for one execution.
|
|
102
|
+
*
|
|
103
|
+
* @param ctx - host context, for the working-directory service.
|
|
104
|
+
* @param exec - the tool execution.
|
|
105
|
+
* @returns the resolved target.
|
|
106
|
+
* @throws MediaStoreError when no workspace directory can be named at all.
|
|
107
|
+
*/
|
|
108
|
+
export declare function resolveMediaStoreTarget(ctx: {
|
|
109
|
+
get(name: string): unknown;
|
|
110
|
+
}, exec: MediaStoreExec): Promise<MediaStoreTarget>;
|
|
111
|
+
/**
|
|
112
|
+
* A filesystem-safe file name derived from values this module controls.
|
|
113
|
+
*
|
|
114
|
+
* Every part is generated here — a timestamp, the task id the service issued and
|
|
115
|
+
* a fixed extension — and everything outside `[A-Za-z0-9._-]` is replaced, so a
|
|
116
|
+
* task id carrying a separator cannot climb out of the directory. The caller
|
|
117
|
+
* never supplies a path, which is what makes path traversal impossible rather
|
|
118
|
+
* than merely filtered.
|
|
119
|
+
*
|
|
120
|
+
* @param taskId - upstream task id (or an equivalent generated identity).
|
|
121
|
+
* @param extension - leading-dot extension, e.g. `.mp4`.
|
|
122
|
+
* @param now - clock, injected so a test can pin the name.
|
|
123
|
+
* @returns a leaf file name with no directory component.
|
|
124
|
+
*/
|
|
125
|
+
export declare function generatedVideoFileName(taskId: string, extension: string, now?: number): string;
|
|
126
|
+
/** A file extension for one media type, defaulting to .mp4. */
|
|
127
|
+
export declare function extensionForMediaType(mediaType: string): string;
|
|
128
|
+
/** Result of one committed write. */
|
|
129
|
+
export interface StoredVideo {
|
|
130
|
+
/** Path relative to the workspace root, always POSIX-separated. */
|
|
131
|
+
readonly relativePath: string;
|
|
132
|
+
/** Absolute path on this machine. */
|
|
133
|
+
readonly absolutePath: string;
|
|
134
|
+
/** Exact byte length written. */
|
|
135
|
+
readonly bytes: number;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Write one generated video into the workspace.
|
|
139
|
+
*
|
|
140
|
+
* @param target - the resolved target from {@link resolveMediaStoreTarget}.
|
|
141
|
+
* @param data - the complete video bytes.
|
|
142
|
+
* @param taskId - upstream task id, used to derive the file name.
|
|
143
|
+
* @param mediaType - media type the response declared, for the extension.
|
|
144
|
+
* @param now - clock, injected for a pinned test name.
|
|
145
|
+
* @returns the workspace-relative path and its absolute counterpart.
|
|
146
|
+
* @throws MediaStoreError for an empty or oversized payload.
|
|
147
|
+
*/
|
|
148
|
+
export declare function writeGeneratedVideo(target: MediaStoreTarget, data: Uint8Array, options: {
|
|
149
|
+
taskId: string;
|
|
150
|
+
mediaType: string;
|
|
151
|
+
now?: number;
|
|
152
|
+
}): Promise<StoredVideo>;
|
|
153
|
+
//# sourceMappingURL=media-store.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"media-store.d.ts","sourceRoot":"","sources":["../../../../src/host/minimax-code/media-store.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAIH,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAEnD;;;;;;;GAOG;AACH,eAAO,MAAM,yBAAyB,QAAoB,CAAA;AAE1D,0EAA0E;AAC1E,eAAO,MAAM,mBAAmB,mBAAmB,CAAA;AAEnD,kEAAkE;AAClE,qBAAa,eAAgB,SAAQ,YAAY;gBACnC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM;CAI1C;AAED,0EAA0E;AAC1E,MAAM,WAAW,gBAAgB;IAC/B,+BAA+B;IAC/B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,mDAAmD;IACnD,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B;;;;OAIG;IACH,QAAQ,CAAC,oBAAoB,EAAE,OAAO,CAAA;CACvC;AAED;;;;;;GAMG;AACH,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,MAAM,CAAC,EAAE,WAAW,CAAA;IAC7B,QAAQ,CAAC,KAAK,CAAC,EAAE;QACf,QAAQ,CAAC,OAAO,CAAC,EAAE;YAAE,QAAQ,CAAC,MAAM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OAAO,EAAE;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAC3D,OAAO,CAAC,WAAW,CAAC,CA6BtB"}
|
|
@@ -52,8 +52,11 @@ export interface MinimaxCodeCatalogModel {
|
|
|
52
52
|
*
|
|
53
53
|
* The inline path still tops out well below the documented 50 MB per clip,
|
|
54
54
|
* because base64 grows bytes by 4/3 against a 64 MB request body; the budget is
|
|
55
|
-
* `MAX_REQUEST_VIDEO_BYTES` in ./types.ts
|
|
56
|
-
*
|
|
55
|
+
* `MAX_REQUEST_VIDEO_BYTES` in ./types.ts. Media above that inline ceiling is
|
|
56
|
+
* not refused — it is uploaded: this line implements the Files API
|
|
57
|
+
* (./files-api.ts), and the adapter posts the bytes to
|
|
58
|
+
* `{messagesBase}/files/upload` and rewrites the block as an
|
|
59
|
+
* `mm_file://<file_id>` reference before the request goes out.
|
|
57
60
|
*/
|
|
58
61
|
inputModalities: readonly ('text' | 'image' | 'video')[];
|
|
59
62
|
/** How thinking behaves on this model. */
|
|
@@ -66,18 +69,31 @@ export interface MinimaxCodeCatalogModel {
|
|
|
66
69
|
* not document.
|
|
67
70
|
*/
|
|
68
71
|
reasoningEfforts: readonly MinimaxCodeReasoningEffort[];
|
|
69
|
-
/**
|
|
70
|
-
|
|
72
|
+
/**
|
|
73
|
+
* Level used when the conversation does not pick one.
|
|
74
|
+
*
|
|
75
|
+
* Null for a model with no selectable level (an always-on one): there is
|
|
76
|
+
* nothing to put on the wire, and a value here would be a promise the route
|
|
77
|
+
* cannot keep.
|
|
78
|
+
*/
|
|
79
|
+
defaultReasoningEffort: MinimaxCodeReasoningEffort | null;
|
|
71
80
|
/**
|
|
72
81
|
* Attachments the model's FILES API accepts, when it states a bound.
|
|
73
82
|
*
|
|
74
83
|
* This is the max_attachments_count that ships with the model's file-API
|
|
75
|
-
* capability block,
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
84
|
+
* capability block, and it describes the UPLOAD path's attachment ceiling,
|
|
85
|
+
* NOT a limit on the inline images this line sends: a live probe of the
|
|
86
|
+
* subscription endpoint served 4, 5, 8, 9, 10, 12, 20 and 48 inline images on
|
|
87
|
+
* M3 with HTTP 200, so enforcing this number inline would drop images the
|
|
88
|
+
* service accepts. The inline bound is the request-body budget instead.
|
|
89
|
+
*
|
|
90
|
+
* The value is also not settled. The model's current file-API capability
|
|
91
|
+
* block states `max_attachments_count: 4` for BOTH M3 and M3.1-Flash, while
|
|
92
|
+
* the M3 entry below still carries 9, inherited from the earlier snapshot it
|
|
93
|
+
* was transcribed from. One of the two is a stale number and which one needs a
|
|
94
|
+
* probe against the upload path, not another reading of the docs — so the
|
|
95
|
+
* figure is left as is, on purpose, rather than quietly rounded to the
|
|
96
|
+
* documented one. See the M3 entry's own note.
|
|
81
97
|
*/
|
|
82
98
|
maxAttachments: number | null;
|
|
83
99
|
/** Largest single image the model accepts, in bytes. */
|
|
@@ -85,10 +101,19 @@ export interface MinimaxCodeCatalogModel {
|
|
|
85
101
|
/** Largest single video the model accepts, in bytes. */
|
|
86
102
|
maxVideoBytes: number | null;
|
|
87
103
|
/**
|
|
88
|
-
* Whether
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
*
|
|
104
|
+
* Whether this line actually serves a files API for this model.
|
|
105
|
+
*
|
|
106
|
+
* Not documentation only. ./files-api.ts implements the upload (the adapter
|
|
107
|
+
* posts to `{messagesBase}/files/upload` and sends an `mm_file://<file_id>`
|
|
108
|
+
* reference back), a 12-hour assumed TTL on every stored id, isolation of
|
|
109
|
+
* those ids per uploading account, and a cache that reuses an id for bytes
|
|
110
|
+
* already uploaded. The adapter calls it wherever media outgrows the inline
|
|
111
|
+
* ceiling.
|
|
112
|
+
*
|
|
113
|
+
* The one capability it lacks is deletion, and the service gives it no way to
|
|
114
|
+
* have one: there is no list or delete route on this surface (`GET /files`
|
|
115
|
+
* answers 503 `direct_route_not_configured`), so an expired id is inferred
|
|
116
|
+
* locally from the TTL and can never be confirmed or reclaimed server-side.
|
|
92
117
|
*/
|
|
93
118
|
filesApiDocumented: boolean;
|
|
94
119
|
/** One-line description, from the model table. */
|
|
@@ -148,7 +173,7 @@ export declare function isThinkingDisabledEffort(value: unknown): boolean;
|
|
|
148
173
|
* An unknown or off value falls back to the model's documented default, so a
|
|
149
174
|
* caller cannot talk this route into a level the model does not list.
|
|
150
175
|
*/
|
|
151
|
-
export declare function effortForModel(modelId: string, requested: string | undefined | null): MinimaxCodeReasoningEffort;
|
|
176
|
+
export declare function effortForModel(modelId: string, requested: string | undefined | null): MinimaxCodeReasoningEffort | null;
|
|
152
177
|
/**
|
|
153
178
|
* Smallest context window an override may name.
|
|
154
179
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-catalog.d.ts","sourceRoot":"","sources":["../../../../src/host/minimax-code/model-catalog.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EACV,sBAAsB,EACtB,0BAA0B,EAE3B,MAAM,wCAAwC,CAAA;AAI/C;;;;;;GAMG;AACH,MAAM,MAAM,uBAAuB,GAAG,WAAW,GAAG,QAAQ,GAAG,eAAe,CAAA;AAE9E,sDAAsD;AACtD,MAAM,WAAW,uBAAuB;IACtC,yCAAyC;IACzC,EAAE,EAAE,MAAM,CAAA;IACV,wCAAwC;IACxC,IAAI,EAAE,MAAM,CAAA;IACZ,4DAA4D;IAC5D,aAAa,EAAE,MAAM,CAAA;IACrB,2EAA2E;IAC3E,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAA;IACpC,oCAAoC;IACpC,SAAS,EAAE,MAAM,CAAA;IACjB
|
|
1
|
+
{"version":3,"file":"model-catalog.d.ts","sourceRoot":"","sources":["../../../../src/host/minimax-code/model-catalog.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,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