@clawos-dev/clawd 0.2.656 → 0.2.658

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.
@@ -3227,8 +3227,8 @@ var require_utils = __commonJS({
3227
3227
  }
3228
3228
  return ind;
3229
3229
  }
3230
- function removeDotSegments(path2) {
3231
- let input = path2;
3230
+ function removeDotSegments(path4) {
3231
+ let input = path4;
3232
3232
  const output = [];
3233
3233
  let nextSlash = -1;
3234
3234
  let len = 0;
@@ -3480,8 +3480,8 @@ var require_schemes = __commonJS({
3480
3480
  wsComponent.secure = void 0;
3481
3481
  }
3482
3482
  if (wsComponent.resourceName) {
3483
- const [path2, query] = wsComponent.resourceName.split("?");
3484
- wsComponent.path = path2 && path2 !== "/" ? path2 : void 0;
3483
+ const [path4, query] = wsComponent.resourceName.split("?");
3484
+ wsComponent.path = path4 && path4 !== "/" ? path4 : void 0;
3485
3485
  wsComponent.query = query;
3486
3486
  wsComponent.resourceName = void 0;
3487
3487
  }
@@ -6874,12 +6874,12 @@ var require_dist = __commonJS({
6874
6874
  throw new Error(`Unknown format "${name}"`);
6875
6875
  return f;
6876
6876
  };
6877
- function addFormats(ajv, list, fs4, exportName) {
6877
+ function addFormats(ajv, list, fs6, exportName) {
6878
6878
  var _a;
6879
6879
  var _b;
6880
6880
  (_a = (_b = ajv.opts.code).formats) !== null && _a !== void 0 ? _a : _b.formats = (0, codegen_1._)`require("ajv-formats/dist/formats").${exportName}`;
6881
6881
  for (const f of list)
6882
- ajv.addFormat(f, fs4[f]);
6882
+ ajv.addFormat(f, fs6[f]);
6883
6883
  }
6884
6884
  module2.exports = exports2 = formatsPlugin;
6885
6885
  Object.defineProperty(exports2, "__esModule", { value: true });
@@ -6895,7 +6895,7 @@ __export(mcp_server_exports, {
6895
6895
  handlePersonaDispatchToolCall: () => handlePersonaDispatchToolCall
6896
6896
  });
6897
6897
  module.exports = __toCommonJS(mcp_server_exports);
6898
- var import_node_fs3 = __toESM(require("fs"), 1);
6898
+ var import_node_fs5 = __toESM(require("fs"), 1);
6899
6899
 
6900
6900
  // ../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/external.js
6901
6901
  var external_exports = {};
@@ -7375,8 +7375,8 @@ function getErrorMap() {
7375
7375
 
7376
7376
  // ../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/parseUtil.js
7377
7377
  var makeIssue = (params) => {
7378
- const { data, path: path2, errorMaps, issueData } = params;
7379
- const fullPath = [...path2, ...issueData.path || []];
7378
+ const { data, path: path4, errorMaps, issueData } = params;
7379
+ const fullPath = [...path4, ...issueData.path || []];
7380
7380
  const fullIssue = {
7381
7381
  ...issueData,
7382
7382
  path: fullPath
@@ -7492,11 +7492,11 @@ var errorUtil;
7492
7492
 
7493
7493
  // ../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.js
7494
7494
  var ParseInputLazyPath = class {
7495
- constructor(parent, value, path2, key) {
7495
+ constructor(parent, value, path4, key) {
7496
7496
  this._cachedPath = [];
7497
7497
  this.parent = parent;
7498
7498
  this.data = value;
7499
- this._path = path2;
7499
+ this._path = path4;
7500
7500
  this._key = key;
7501
7501
  }
7502
7502
  get path() {
@@ -11133,10 +11133,10 @@ function assignProp(target, prop, value) {
11133
11133
  configurable: true
11134
11134
  });
11135
11135
  }
11136
- function getElementAtPath(obj, path2) {
11137
- if (!path2)
11136
+ function getElementAtPath(obj, path4) {
11137
+ if (!path4)
11138
11138
  return obj;
11139
- return path2.reduce((acc, key) => acc?.[key], obj);
11139
+ return path4.reduce((acc, key) => acc?.[key], obj);
11140
11140
  }
11141
11141
  function promiseAllObject(promisesObj) {
11142
11142
  const keys = Object.keys(promisesObj);
@@ -11456,11 +11456,11 @@ function aborted(x, startIndex = 0) {
11456
11456
  }
11457
11457
  return false;
11458
11458
  }
11459
- function prefixIssues(path2, issues) {
11459
+ function prefixIssues(path4, issues) {
11460
11460
  return issues.map((iss) => {
11461
11461
  var _a;
11462
11462
  (_a = iss).path ?? (_a.path = []);
11463
- iss.path.unshift(path2);
11463
+ iss.path.unshift(path4);
11464
11464
  return iss;
11465
11465
  });
11466
11466
  }
@@ -21110,9 +21110,9 @@ var StdioServerTransport = class {
21110
21110
  };
21111
21111
 
21112
21112
  // src/tools/claude.ts
21113
- var import_node_child_process = require("child_process");
21114
21113
  var import_node_child_process2 = require("child_process");
21115
- var import_node_fs2 = __toESM(require("fs"), 1);
21114
+ var import_node_child_process3 = require("child_process");
21115
+ var import_node_fs4 = __toESM(require("fs"), 1);
21116
21116
 
21117
21117
  // ../protocol/src/subscription-channel.ts
21118
21118
  var SubscriptionChannelSchema = external_exports.object({
@@ -21152,7 +21152,11 @@ var SubscriptionChannelDeleteArgsSchema = external_exports.object({
21152
21152
  var SubscriptionChannelActivateArgsSchema = external_exports.object({
21153
21153
  id: external_exports.string().min(1).nullable()
21154
21154
  }).strict();
21155
- var SubscriptionChannelModelsArgsSchema = external_exports.object({}).strict();
21155
+ var SubscriptionChannelModelsArgsSchema = external_exports.object({
21156
+ channelId: external_exports.string().min(1).optional(),
21157
+ /** Reject discovery when the saved cloud credential source has since been edited. */
21158
+ updatedAt: external_exports.number().optional()
21159
+ }).strict().refine((args) => args.updatedAt === void 0 || args.channelId !== void 0, { message: "updatedAt requires channelId" });
21156
21160
  var SubscriptionChannelModelsResultSchema = external_exports.object({
21157
21161
  /** 没有激活通道 = null(models 为空) */
21158
21162
  channelId: external_exports.string().nullable(),
@@ -21546,8 +21550,14 @@ var DeployPromotionSchema = external_exports.object({
21546
21550
  runAttempt: external_exports.number().int().positive().optional(),
21547
21551
  error: external_exports.string().optional()
21548
21552
  }).strict();
21553
+ var DeployEngineChannelSchema = external_exports.object({ channelId: external_exports.string().min(1), updatedAt: external_exports.number() }).strict();
21554
+ var DeployEngineChannelsSchema = external_exports.object({
21555
+ integration: DeployEngineChannelSchema.nullable().optional(),
21556
+ production: DeployEngineChannelSchema.nullable().optional()
21557
+ }).strict();
21549
21558
  var DeployScanFileSchema = external_exports.object({
21550
21559
  version: external_exports.literal(4),
21560
+ engineChannels: DeployEngineChannelsSchema.optional(),
21551
21561
  scans: external_exports.array(DeployScanSchema),
21552
21562
  releases: external_exports.array(DeployReleasedSchema),
21553
21563
  promotions: external_exports.array(DeployPromotionSchema).default([])
@@ -21601,6 +21611,7 @@ var DeployUnpublishRunSchema = external_exports.object({
21601
21611
  }).strict();
21602
21612
  var DeployStateSchema = external_exports.object({
21603
21613
  personaId: external_exports.string().min(1),
21614
+ engineChannels: DeployEngineChannelsSchema.optional(),
21604
21615
  /** 本机 GitHub 身份(机器级,githubAuth:* 的同一份;上云页顶上那张卡用)。老 daemon 不给(可选只为兼容),UI 缺席时按未知处理 */
21605
21616
  github: GithubAuthStatusSchema.optional(),
21606
21617
  /** Current publisher's Feishu tool grant, including authorization links before first release. */
@@ -24180,8 +24191,9 @@ var METHOD_DOCS = {
24180
24191
  args: SubscriptionChannelActivateArgsSchema
24181
24192
  },
24182
24193
  "subscriptionChannel:models": {
24183
- summary: "\u5217\u51FA\u5F53\u524D\u6FC0\u6D3B\u8BA2\u9605\u901A\u9053\uFF08\u53F7\u6C60\uFF09GET {baseUrl}/models \u7684\u6A21\u578B id\u3002\u4E0A\u4E91\u9875 Claude \u5F15\u64CE\u7684\u6A21\u578B\u5019\u9009\u3002\u6CA1\u6709\u6FC0\u6D3B\u901A\u9053\u56DE\u7A7A\u8868\uFF1B\u53F7\u6C60\u8BF7\u6C42\u5931\u8D25 reject\u3002owner-only",
24184
- args: SubscriptionChannelModelsArgsSchema
24194
+ summary: "\u5217\u51FA\u6307\u5B9A\u8BA2\u9605\u901A\u9053\u7684\u6A21\u578B ID\uFF0C\u4E0D\u6FC0\u6D3B\u672C\u673A\u901A\u9053\uFF1B\u7701\u7565 channelId \u65F6\u67E5\u672C\u673A\u6FC0\u6D3B\u901A\u9053\u3002updatedAt \u6821\u9A8C\u4E91\u7AEF\u4FDD\u5B58\u540E\u901A\u9053\u662F\u5426\u53D8\u66F4\u3002\u6CA1\u6709\u672C\u673A\u6FC0\u6D3B\u901A\u9053\u56DE\u7A7A\u8868\uFF1B\u6307\u5B9A\u901A\u9053\u4E0D\u5B58\u5728\u3001\u5DF2\u53D8\u66F4\u6216\u8BF7\u6C42\u5931\u8D25 reject\u3002owner-only",
24195
+ args: SubscriptionChannelModelsArgsSchema,
24196
+ argsConstraints: { dependentRequired: { updatedAt: ["channelId"] } }
24185
24197
  },
24186
24198
  "engine:connectPool": {
24187
24199
  summary: "\u63A5\u5165\u53F7\u6C60\uFF1A\u62FF\u81EA\u52A9\u53F0\u53D1\u7684\u4E2A\u4EBA key\uFF0C\u62C9\u53F7\u6C60 setup.sh \u8DD1\u4E00\u904D\uFF08\u5199 ~/.codex/config.toml \u6307\u5411 CLIProxyAPI \u4EE3\u7406\uFF09\uFF0C\u518D\u5237 codex \u6A21\u578B\u8868\u9A8C\u8BC1\u3002\u6210\u529F\u56DE { ok:true }\uFF1B\u62FF\u4E0D\u5230\u811A\u672C / \u811A\u672C\u62A5\u9519 / \u8D85\u65F6 / 401 \u4E00\u5F8B reject \u5E26\u4EBA\u8BDD\u3002\u53EA\u7BA1 codex\uFF1B\u672C\u673A\u6CA1\u88C5 codex \u62A5 INVALID_PARAM\u3002owner-only",
@@ -24519,11 +24531,24 @@ var INNER_TAG_NAMES = "clawd-dispatch-task|clawd-dispatch-result|brief|detail|fi
24519
24531
  var INNER_TAG_ESCAPE_RE = new RegExp(`<(\\\\*)(/?)(${INNER_TAG_NAMES})\\b`, "g");
24520
24532
  var INNER_TAG_UNESCAPE_RE = new RegExp(`<\\\\(\\\\*)(/?)(${INNER_TAG_NAMES})\\b`, "g");
24521
24533
 
24522
- // src/tools/claude-history.ts
24523
- var import_node_crypto = __toESM(require("crypto"), 1);
24534
+ // src/tools/codex-provider-models.ts
24535
+ var import_node_child_process = require("child_process");
24524
24536
  var import_node_fs = __toESM(require("fs"), 1);
24525
24537
  var import_node_os = __toESM(require("os"), 1);
24526
24538
  var import_node_path = __toESM(require("path"), 1);
24539
+ var import_node_util = require("util");
24540
+ var defaultExecFile = (0, import_node_util.promisify)(import_node_child_process.execFile);
24541
+
24542
+ // src/tools/subscription-channels-apply.ts
24543
+ var import_node_fs2 = __toESM(require("fs"), 1);
24544
+ var import_node_os2 = __toESM(require("os"), 1);
24545
+ var import_node_path2 = __toESM(require("path"), 1);
24546
+
24547
+ // src/tools/claude-history.ts
24548
+ var import_node_crypto = __toESM(require("crypto"), 1);
24549
+ var import_node_fs3 = __toESM(require("fs"), 1);
24550
+ var import_node_os3 = __toESM(require("os"), 1);
24551
+ var import_node_path3 = __toESM(require("path"), 1);
24527
24552
  var import_node_string_decoder = require("string_decoder");
24528
24553
 
24529
24554
  // ../node_modules/.pnpm/diff@7.0.0/node_modules/diff/lib/index.mjs
@@ -24628,11 +24653,11 @@ Diff.prototype = {
24628
24653
  }
24629
24654
  }
24630
24655
  },
24631
- addToPath: function addToPath(path2, added, removed, oldPosInc, options) {
24632
- var last = path2.lastComponent;
24656
+ addToPath: function addToPath(path4, added, removed, oldPosInc, options) {
24657
+ var last = path4.lastComponent;
24633
24658
  if (last && !options.oneChangePerToken && last.added === added && last.removed === removed) {
24634
24659
  return {
24635
- oldPos: path2.oldPos + oldPosInc,
24660
+ oldPos: path4.oldPos + oldPosInc,
24636
24661
  lastComponent: {
24637
24662
  count: last.count + 1,
24638
24663
  added,
@@ -24642,7 +24667,7 @@ Diff.prototype = {
24642
24667
  };
24643
24668
  } else {
24644
24669
  return {
24645
- oldPos: path2.oldPos + oldPosInc,
24670
+ oldPos: path4.oldPos + oldPosInc,
24646
24671
  lastComponent: {
24647
24672
  count: 1,
24648
24673
  added,
@@ -25144,7 +25169,7 @@ function log(msg, info) {
25144
25169
  `;
25145
25170
  if (DISPATCH_LOG) {
25146
25171
  try {
25147
- import_node_fs3.default.appendFileSync(DISPATCH_LOG, line);
25172
+ import_node_fs5.default.appendFileSync(DISPATCH_LOG, line);
25148
25173
  return;
25149
25174
  } catch {
25150
25175
  }
@@ -25390,7 +25415,7 @@ async function main() {
25390
25415
  ),
25391
25416
  // 模型列表随 engine 版本变化,不能编译期 enum 固定;daemon 按实际 engine capabilities 校验。
25392
25417
  model: external_exports.string().optional().describe(
25393
- "override the target persona's default model for this one dispatch. New dispatches only (rejected together with dispatchId). Omit to use the persona default. The valid set depends on the engine that will actually run (see tool): claude \u2192 " + CLAUDE_MODEL_IDS.join(" / ") + "; codex \u2192 model ids vary by installed codex version (e.g. gpt-5.6-sol); pi \u2192 ids are '<provider>/<model>' from pi's own model table. Omit unless you know the exact id (invalid values are rejected with the allowed list)."
25418
+ "override the target persona's default model for this one dispatch. New dispatches only (rejected together with dispatchId). Omit to use the persona default. The valid set depends on the engine that will actually run (see tool): claude \u2192 active subscription model IDs, or in native mode the aliases " + CLAUDE_MODEL_IDS.join(" / ") + "; codex \u2192 model ids vary by installed codex version (e.g. gpt-5.6-sol); pi \u2192 ids are '<provider>/<model>' from pi's own model table. Omit unless you know the exact id (invalid values are rejected with the allowed list)."
25394
25419
  ),
25395
25420
  // model 的合法值集属于 engine,跨 engine 换模型须同时指定对应 engine。
25396
25421
  tool: external_exports.string().optional().describe(
@@ -31074,7 +31074,11 @@ var SubscriptionChannelDeleteArgsSchema = external_exports.object({
31074
31074
  var SubscriptionChannelActivateArgsSchema = external_exports.object({
31075
31075
  id: external_exports.string().min(1).nullable()
31076
31076
  }).strict();
31077
- var SubscriptionChannelModelsArgsSchema = external_exports.object({}).strict();
31077
+ var SubscriptionChannelModelsArgsSchema = external_exports.object({
31078
+ channelId: external_exports.string().min(1).optional(),
31079
+ /** Reject discovery when the saved cloud credential source has since been edited. */
31080
+ updatedAt: external_exports.number().optional()
31081
+ }).strict().refine((args) => args.updatedAt === void 0 || args.channelId !== void 0, { message: "updatedAt requires channelId" });
31078
31082
  var SubscriptionChannelModelsResultSchema = external_exports.object({
31079
31083
  /** 没有激活通道 = null(models 为空) */
31080
31084
  channelId: external_exports.string().nullable(),
@@ -31468,8 +31472,14 @@ var DeployPromotionSchema = external_exports.object({
31468
31472
  runAttempt: external_exports.number().int().positive().optional(),
31469
31473
  error: external_exports.string().optional()
31470
31474
  }).strict();
31475
+ var DeployEngineChannelSchema = external_exports.object({ channelId: external_exports.string().min(1), updatedAt: external_exports.number() }).strict();
31476
+ var DeployEngineChannelsSchema = external_exports.object({
31477
+ integration: DeployEngineChannelSchema.nullable().optional(),
31478
+ production: DeployEngineChannelSchema.nullable().optional()
31479
+ }).strict();
31471
31480
  var DeployScanFileSchema = external_exports.object({
31472
31481
  version: external_exports.literal(4),
31482
+ engineChannels: DeployEngineChannelsSchema.optional(),
31473
31483
  scans: external_exports.array(DeployScanSchema),
31474
31484
  releases: external_exports.array(DeployReleasedSchema),
31475
31485
  promotions: external_exports.array(DeployPromotionSchema).default([])
@@ -31523,6 +31533,7 @@ var DeployUnpublishRunSchema = external_exports.object({
31523
31533
  }).strict();
31524
31534
  var DeployStateSchema = external_exports.object({
31525
31535
  personaId: external_exports.string().min(1),
31536
+ engineChannels: DeployEngineChannelsSchema.optional(),
31526
31537
  /** 本机 GitHub 身份(机器级,githubAuth:* 的同一份;上云页顶上那张卡用)。老 daemon 不给(可选只为兼容),UI 缺席时按未知处理 */
31527
31538
  github: GithubAuthStatusSchema.optional(),
31528
31539
  /** Current publisher's Feishu tool grant, including authorization links before first release. */
@@ -34102,8 +34113,9 @@ var METHOD_DOCS = {
34102
34113
  args: SubscriptionChannelActivateArgsSchema
34103
34114
  },
34104
34115
  "subscriptionChannel:models": {
34105
- summary: "\u5217\u51FA\u5F53\u524D\u6FC0\u6D3B\u8BA2\u9605\u901A\u9053\uFF08\u53F7\u6C60\uFF09GET {baseUrl}/models \u7684\u6A21\u578B id\u3002\u4E0A\u4E91\u9875 Claude \u5F15\u64CE\u7684\u6A21\u578B\u5019\u9009\u3002\u6CA1\u6709\u6FC0\u6D3B\u901A\u9053\u56DE\u7A7A\u8868\uFF1B\u53F7\u6C60\u8BF7\u6C42\u5931\u8D25 reject\u3002owner-only",
34106
- args: SubscriptionChannelModelsArgsSchema
34116
+ summary: "\u5217\u51FA\u6307\u5B9A\u8BA2\u9605\u901A\u9053\u7684\u6A21\u578B ID\uFF0C\u4E0D\u6FC0\u6D3B\u672C\u673A\u901A\u9053\uFF1B\u7701\u7565 channelId \u65F6\u67E5\u672C\u673A\u6FC0\u6D3B\u901A\u9053\u3002updatedAt \u6821\u9A8C\u4E91\u7AEF\u4FDD\u5B58\u540E\u901A\u9053\u662F\u5426\u53D8\u66F4\u3002\u6CA1\u6709\u672C\u673A\u6FC0\u6D3B\u901A\u9053\u56DE\u7A7A\u8868\uFF1B\u6307\u5B9A\u901A\u9053\u4E0D\u5B58\u5728\u3001\u5DF2\u53D8\u66F4\u6216\u8BF7\u6C42\u5931\u8D25 reject\u3002owner-only",
34117
+ args: SubscriptionChannelModelsArgsSchema,
34118
+ argsConstraints: { dependentRequired: { updatedAt: ["channelId"] } }
34107
34119
  },
34108
34120
  "engine:connectPool": {
34109
34121
  summary: "\u63A5\u5165\u53F7\u6C60\uFF1A\u62FF\u81EA\u52A9\u53F0\u53D1\u7684\u4E2A\u4EBA key\uFF0C\u62C9\u53F7\u6C60 setup.sh \u8DD1\u4E00\u904D\uFF08\u5199 ~/.codex/config.toml \u6307\u5411 CLIProxyAPI \u4EE3\u7406\uFF09\uFF0C\u518D\u5237 codex \u6A21\u578B\u8868\u9A8C\u8BC1\u3002\u6210\u529F\u56DE { ok:true }\uFF1B\u62FF\u4E0D\u5230\u811A\u672C / \u811A\u672C\u62A5\u9519 / \u8D85\u65F6 / 401 \u4E00\u5F8B reject \u5E26\u4EBA\u8BDD\u3002\u53EA\u7BA1 codex\uFF1B\u672C\u673A\u6CA1\u88C5 codex \u62A5 INVALID_PARAM\u3002owner-only",
@@ -31074,7 +31074,11 @@ var SubscriptionChannelDeleteArgsSchema = external_exports.object({
31074
31074
  var SubscriptionChannelActivateArgsSchema = external_exports.object({
31075
31075
  id: external_exports.string().min(1).nullable()
31076
31076
  }).strict();
31077
- var SubscriptionChannelModelsArgsSchema = external_exports.object({}).strict();
31077
+ var SubscriptionChannelModelsArgsSchema = external_exports.object({
31078
+ channelId: external_exports.string().min(1).optional(),
31079
+ /** Reject discovery when the saved cloud credential source has since been edited. */
31080
+ updatedAt: external_exports.number().optional()
31081
+ }).strict().refine((args) => args.updatedAt === void 0 || args.channelId !== void 0, { message: "updatedAt requires channelId" });
31078
31082
  var SubscriptionChannelModelsResultSchema = external_exports.object({
31079
31083
  /** 没有激活通道 = null(models 为空) */
31080
31084
  channelId: external_exports.string().nullable(),
@@ -31468,8 +31472,14 @@ var DeployPromotionSchema = external_exports.object({
31468
31472
  runAttempt: external_exports.number().int().positive().optional(),
31469
31473
  error: external_exports.string().optional()
31470
31474
  }).strict();
31475
+ var DeployEngineChannelSchema = external_exports.object({ channelId: external_exports.string().min(1), updatedAt: external_exports.number() }).strict();
31476
+ var DeployEngineChannelsSchema = external_exports.object({
31477
+ integration: DeployEngineChannelSchema.nullable().optional(),
31478
+ production: DeployEngineChannelSchema.nullable().optional()
31479
+ }).strict();
31471
31480
  var DeployScanFileSchema = external_exports.object({
31472
31481
  version: external_exports.literal(4),
31482
+ engineChannels: DeployEngineChannelsSchema.optional(),
31473
31483
  scans: external_exports.array(DeployScanSchema),
31474
31484
  releases: external_exports.array(DeployReleasedSchema),
31475
31485
  promotions: external_exports.array(DeployPromotionSchema).default([])
@@ -31523,6 +31533,7 @@ var DeployUnpublishRunSchema = external_exports.object({
31523
31533
  }).strict();
31524
31534
  var DeployStateSchema = external_exports.object({
31525
31535
  personaId: external_exports.string().min(1),
31536
+ engineChannels: DeployEngineChannelsSchema.optional(),
31526
31537
  /** 本机 GitHub 身份(机器级,githubAuth:* 的同一份;上云页顶上那张卡用)。老 daemon 不给(可选只为兼容),UI 缺席时按未知处理 */
31527
31538
  github: GithubAuthStatusSchema.optional(),
31528
31539
  /** Current publisher's Feishu tool grant, including authorization links before first release. */
@@ -34102,8 +34113,9 @@ var METHOD_DOCS = {
34102
34113
  args: SubscriptionChannelActivateArgsSchema
34103
34114
  },
34104
34115
  "subscriptionChannel:models": {
34105
- summary: "\u5217\u51FA\u5F53\u524D\u6FC0\u6D3B\u8BA2\u9605\u901A\u9053\uFF08\u53F7\u6C60\uFF09GET {baseUrl}/models \u7684\u6A21\u578B id\u3002\u4E0A\u4E91\u9875 Claude \u5F15\u64CE\u7684\u6A21\u578B\u5019\u9009\u3002\u6CA1\u6709\u6FC0\u6D3B\u901A\u9053\u56DE\u7A7A\u8868\uFF1B\u53F7\u6C60\u8BF7\u6C42\u5931\u8D25 reject\u3002owner-only",
34106
- args: SubscriptionChannelModelsArgsSchema
34116
+ summary: "\u5217\u51FA\u6307\u5B9A\u8BA2\u9605\u901A\u9053\u7684\u6A21\u578B ID\uFF0C\u4E0D\u6FC0\u6D3B\u672C\u673A\u901A\u9053\uFF1B\u7701\u7565 channelId \u65F6\u67E5\u672C\u673A\u6FC0\u6D3B\u901A\u9053\u3002updatedAt \u6821\u9A8C\u4E91\u7AEF\u4FDD\u5B58\u540E\u901A\u9053\u662F\u5426\u53D8\u66F4\u3002\u6CA1\u6709\u672C\u673A\u6FC0\u6D3B\u901A\u9053\u56DE\u7A7A\u8868\uFF1B\u6307\u5B9A\u901A\u9053\u4E0D\u5B58\u5728\u3001\u5DF2\u53D8\u66F4\u6216\u8BF7\u6C42\u5931\u8D25 reject\u3002owner-only",
34117
+ args: SubscriptionChannelModelsArgsSchema,
34118
+ argsConstraints: { dependentRequired: { updatedAt: ["channelId"] } }
34107
34119
  },
34108
34120
  "engine:connectPool": {
34109
34121
  summary: "\u63A5\u5165\u53F7\u6C60\uFF1A\u62FF\u81EA\u52A9\u53F0\u53D1\u7684\u4E2A\u4EBA key\uFF0C\u62C9\u53F7\u6C60 setup.sh \u8DD1\u4E00\u904D\uFF08\u5199 ~/.codex/config.toml \u6307\u5411 CLIProxyAPI \u4EE3\u7406\uFF09\uFF0C\u518D\u5237 codex \u6A21\u578B\u8868\u9A8C\u8BC1\u3002\u6210\u529F\u56DE { ok:true }\uFF1B\u62FF\u4E0D\u5230\u811A\u672C / \u811A\u672C\u62A5\u9519 / \u8D85\u65F6 / 401 \u4E00\u5F8B reject \u5E26\u4EBA\u8BDD\u3002\u53EA\u7BA1 codex\uFF1B\u672C\u673A\u6CA1\u88C5 codex \u62A5 INVALID_PARAM\u3002owner-only",