piclaw 0.0.4 → 0.0.6

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.
Files changed (185) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/assets/dist-D51xeTP2.js +12 -0
  3. package/.output/public/assets/index-B3x2_en6.css +1 -0
  4. package/.output/public/assets/index-SfjxJZSD.js +38 -0
  5. package/.output/public/assets/md4x-CNLJ57xO.wasm +0 -0
  6. package/.output/public/assets/md4x-CyfQToGJ.js +1 -0
  7. package/.output/public/assets/wasm-Cm7RZrwg.js +1 -0
  8. package/.output/public/icon.svg +25 -0
  9. package/.output/public/index.html +3 -2
  10. package/.output/public/manifest.json +1 -1
  11. package/.output/server/_chunks/bun.mjs +49 -0
  12. package/.output/server/_chunks/commands.mjs +280 -0
  13. package/.output/server/_chunks/config.mjs +2 -4
  14. package/.output/server/_chunks/db.mjs +11 -5
  15. package/.output/server/_chunks/logger.mjs +1 -1
  16. package/.output/server/_chunks/node.mjs +31 -0
  17. package/.output/server/_chunks/ntfy.mjs +45 -0
  18. package/.output/server/_chunks/pi.mjs +33 -1
  19. package/.output/server/_chunks/renderer-template.mjs +1 -1
  20. package/.output/server/_chunks/{bootstrap.mjs → server.mjs} +203 -205
  21. package/.output/server/_chunks/session.mjs +249 -40
  22. package/.output/server/_chunks/settings.mjs +1 -1
  23. package/.output/server/_chunks/terminal.mjs +35 -20
  24. package/.output/server/_chunks/virtual.mjs +129 -0
  25. package/.output/server/_jid_.delete.mjs +2 -2
  26. package/.output/server/_jid_.patch.mjs +30 -3
  27. package/.output/server/_jid_2.delete.mjs +2 -2
  28. package/.output/server/_libs/@aws-sdk/client-bedrock-runtime+[...].mjs +13148 -13149
  29. package/.output/server/_libs/@aws-sdk/credential-provider-http+[...].mjs +1 -1
  30. package/.output/server/_libs/@aws-sdk/credential-provider-ini+[...].mjs +2 -2
  31. package/.output/server/_libs/@aws-sdk/credential-provider-process+[...].mjs +1 -1
  32. package/.output/server/_libs/@aws-sdk/credential-provider-sso+[...].mjs +1 -1
  33. package/.output/server/_libs/@aws-sdk/credential-provider-web-identity+[...].mjs +1 -1
  34. package/.output/server/_libs/@google/genai.mjs +2 -2
  35. package/.output/server/_libs/@mariozechner/pi-agent-core+[...].mjs +40 -74
  36. package/.output/server/_libs/@mariozechner/pi-coding-agent+[...].mjs +1315 -1210
  37. package/.output/server/_libs/@smithy/credential-provider-imds+[...].mjs +3 -3
  38. package/.output/server/_libs/_.mjs +3 -2
  39. package/.output/server/_libs/_100.mjs +3 -0
  40. package/.output/server/_libs/_101.mjs +2 -0
  41. package/.output/server/_libs/_102.mjs +3 -0
  42. package/.output/server/_libs/_103.mjs +2 -0
  43. package/.output/server/_libs/_16.mjs +2 -5
  44. package/.output/server/_libs/_17.mjs +2 -3
  45. package/.output/server/_libs/_18.mjs +2 -3
  46. package/.output/server/_libs/_19.mjs +2 -4
  47. package/.output/server/_libs/_2.mjs +2 -3
  48. package/.output/server/_libs/_20.mjs +2 -2
  49. package/.output/server/_libs/_21.mjs +2 -0
  50. package/.output/server/_libs/_22.mjs +2 -0
  51. package/.output/server/_libs/_23.mjs +2 -0
  52. package/.output/server/_libs/_24.mjs +2 -0
  53. package/.output/server/_libs/_25.mjs +2 -0
  54. package/.output/server/_libs/_26.mjs +2 -0
  55. package/.output/server/_libs/_27.mjs +2 -0
  56. package/.output/server/_libs/_28.mjs +2 -0
  57. package/.output/server/_libs/_29.mjs +2 -0
  58. package/.output/server/_libs/_30.mjs +2 -0
  59. package/.output/server/_libs/_31.mjs +2 -0
  60. package/.output/server/_libs/_32.mjs +2 -0
  61. package/.output/server/_libs/_33.mjs +2 -0
  62. package/.output/server/_libs/_34.mjs +2 -0
  63. package/.output/server/_libs/_35.mjs +2 -0
  64. package/.output/server/_libs/_36.mjs +2 -0
  65. package/.output/server/_libs/_37.mjs +2 -0
  66. package/.output/server/_libs/_38.mjs +2 -0
  67. package/.output/server/_libs/_39.mjs +2 -0
  68. package/.output/server/_libs/_40.mjs +2 -0
  69. package/.output/server/_libs/_41.mjs +2 -0
  70. package/.output/server/_libs/_42.mjs +2 -0
  71. package/.output/server/_libs/_43.mjs +2 -0
  72. package/.output/server/_libs/_44.mjs +2 -0
  73. package/.output/server/_libs/_45.mjs +2 -0
  74. package/.output/server/_libs/_46.mjs +2 -0
  75. package/.output/server/_libs/_47.mjs +2 -0
  76. package/.output/server/_libs/_48.mjs +2 -0
  77. package/.output/server/_libs/_49.mjs +2 -0
  78. package/.output/server/_libs/_50.mjs +2 -0
  79. package/.output/server/_libs/_51.mjs +2 -0
  80. package/.output/server/_libs/_52.mjs +2 -0
  81. package/.output/server/_libs/_53.mjs +2 -0
  82. package/.output/server/_libs/_54.mjs +2 -0
  83. package/.output/server/_libs/_55.mjs +2 -0
  84. package/.output/server/_libs/_56.mjs +2 -0
  85. package/.output/server/_libs/_57.mjs +2 -0
  86. package/.output/server/_libs/_58.mjs +2 -0
  87. package/.output/server/_libs/_59.mjs +2 -0
  88. package/.output/server/_libs/_60.mjs +2 -0
  89. package/.output/server/_libs/_61.mjs +2 -0
  90. package/.output/server/_libs/_62.mjs +2 -0
  91. package/.output/server/_libs/_63.mjs +2 -0
  92. package/.output/server/_libs/_64.mjs +2 -0
  93. package/.output/server/_libs/_65.mjs +2 -0
  94. package/.output/server/_libs/_66.mjs +2 -0
  95. package/.output/server/_libs/_67.mjs +2 -0
  96. package/.output/server/_libs/_68.mjs +2 -0
  97. package/.output/server/_libs/_69.mjs +2 -0
  98. package/.output/server/_libs/_70.mjs +2 -0
  99. package/.output/server/_libs/_71.mjs +2 -0
  100. package/.output/server/_libs/_72.mjs +2 -0
  101. package/.output/server/_libs/_73.mjs +2 -0
  102. package/.output/server/_libs/_74.mjs +2 -0
  103. package/.output/server/_libs/_75.mjs +2 -0
  104. package/.output/server/_libs/_76.mjs +2 -0
  105. package/.output/server/_libs/_77.mjs +2 -0
  106. package/.output/server/_libs/_78.mjs +2 -0
  107. package/.output/server/_libs/_79.mjs +2 -0
  108. package/.output/server/_libs/_80.mjs +2 -0
  109. package/.output/server/_libs/_81.mjs +2 -0
  110. package/.output/server/_libs/_82.mjs +2 -0
  111. package/.output/server/_libs/_83.mjs +2 -0
  112. package/.output/server/_libs/_84.mjs +2 -0
  113. package/.output/server/_libs/_85.mjs +2 -0
  114. package/.output/server/_libs/_86.mjs +2 -0
  115. package/.output/server/_libs/_87.mjs +2 -0
  116. package/.output/server/_libs/_88.mjs +2 -0
  117. package/.output/server/_libs/_89.mjs +2 -0
  118. package/.output/server/_libs/_90.mjs +2 -0
  119. package/.output/server/_libs/_91.mjs +2 -0
  120. package/.output/server/_libs/_92.mjs +2 -0
  121. package/.output/server/_libs/_93.mjs +2 -0
  122. package/.output/server/_libs/_94.mjs +2 -0
  123. package/.output/server/_libs/_95.mjs +2 -0
  124. package/.output/server/_libs/_96.mjs +2 -0
  125. package/.output/server/_libs/_97.mjs +2 -0
  126. package/.output/server/_libs/_98.mjs +2 -0
  127. package/.output/server/_libs/_99.mjs +5 -0
  128. package/.output/server/_libs/amdefine.mjs +188 -0
  129. package/.output/server/_libs/aws-sdk__nested-clients.mjs +1 -1
  130. package/.output/server/_libs/compressjs.mjs +50 -0
  131. package/.output/server/_libs/diff.mjs +137 -0
  132. package/.output/server/_libs/get-uri.mjs +1 -1
  133. package/.output/server/_libs/http-proxy-agent.mjs +1 -1
  134. package/.output/server/_libs/https-proxy-agent.mjs +1 -1
  135. package/.output/server/_libs/just-bash+[...].mjs +80359 -0
  136. package/.output/server/_libs/md4x.mjs +73 -0
  137. package/.output/server/_libs/mixmark-io__domino.mjs +14801 -0
  138. package/.output/server/_libs/node-fetch.mjs +1 -1
  139. package/.output/server/_libs/node-liblzma.mjs +1107 -0
  140. package/.output/server/_libs/pac-proxy-agent+[...].mjs +1 -1
  141. package/.output/server/_libs/proxy-agent+proxy-from-env.mjs +1 -1
  142. package/.output/server/_libs/smithy__core.mjs +1 -1
  143. package/.output/server/_routes/api/files/delete.mjs +2 -2
  144. package/.output/server/_routes/api/files/groups.mjs +14 -0
  145. package/.output/server/_routes/api/files/raw.mjs +1 -1
  146. package/.output/server/_routes/api/files/read.mjs +1 -1
  147. package/.output/server/_routes/api/files/watch.mjs +1 -1
  148. package/.output/server/_routes/api/files/write.mjs +3 -2
  149. package/.output/server/_routes/api/files.mjs +1 -1
  150. package/.output/server/_routes/api/groups.mjs +2 -2
  151. package/.output/server/_routes/api/groups2.mjs +3 -2
  152. package/.output/server/_routes/api/health.mjs +2 -2
  153. package/.output/server/_routes/api/logs.mjs +4 -2
  154. package/.output/server/_routes/api/ntfy/setup.mjs +54 -0
  155. package/.output/server/_routes/api/ntfy/status.mjs +12 -0
  156. package/.output/server/_routes/api/pi/apikey.mjs +1 -1
  157. package/.output/server/_routes/api/pi/apikey_providers.mjs +1 -1
  158. package/.output/server/_routes/api/pi/commands.mjs +6 -0
  159. package/.output/server/_routes/api/pi/login/events.mjs +1 -1
  160. package/.output/server/_routes/api/pi/login/respond.mjs +1 -1
  161. package/.output/server/_routes/api/pi/login.mjs +1 -1
  162. package/.output/server/_routes/api/pi/logout.mjs +1 -1
  163. package/.output/server/_routes/api/pi/models.mjs +1 -1
  164. package/.output/server/_routes/api/pi/status.mjs +1 -1
  165. package/.output/server/_routes/api/send.mjs +22 -3
  166. package/.output/server/_routes/api/status.mjs +9 -7
  167. package/.output/server/_routes/api/tasks2.mjs +2 -2
  168. package/.output/server/_routes/api/telegram/setup.mjs +2 -2
  169. package/.output/server/_routes/api/telegram/status.mjs +2 -2
  170. package/.output/server/_routes/api/terminal2.mjs +3 -2
  171. package/.output/server/_utils.mjs +12 -4
  172. package/.output/server/build/md4x.wasm +0 -0
  173. package/.output/server/index.mjs +223 -149
  174. package/.output/server/node_modules/@mongodb-js/zstd/lib/index.js +55 -0
  175. package/.output/server/node_modules/@mongodb-js/zstd/package.json +51 -0
  176. package/.output/server/package.json +1 -0
  177. package/README.md +118 -24
  178. package/bin/piclaw.mjs +39 -1
  179. package/package.json +16 -13
  180. package/.output/public/assets/client-TIs-Ghqj.js +0 -9
  181. package/.output/public/assets/dist-BVjfG3ok.js +0 -12
  182. package/.output/public/assets/dist-DJh8l6yS.js +0 -1
  183. package/.output/public/assets/index-BNNEMkNV.js +0 -39
  184. package/.output/public/assets/index-CdWBxO5V.css +0 -1
  185. package/.output/public/assets/react-DFP7nCmh.js +0 -1
@@ -1,4 +1,4 @@
1
- import { At as init_dist_es, Ft as require_client, Nt as CredentialsProviderError, St as HttpRequest, at as init_dist_es$2, gt as init_dist_es$4, it as dist_es_exports, lt as init_dist_es$3, ut as sdkStreamMixin, xt as init_dist_es$1, yt as NodeHttpHandler } from "./client-bedrock-runtime+[...].mjs";
1
+ import { $ as require_client, Ft as HttpRequest, Pt as init_dist_es$1, Q as init_dist_es$2, Z as dist_es_exports, _t as init_dist_es$4, bt as NodeHttpHandler, et as init_dist_es, ht as sdkStreamMixin, mt as init_dist_es$3, rt as CredentialsProviderError } from "./client-bedrock-runtime+[...].mjs";
2
2
  import fs from "node:fs/promises";
3
3
  init_dist_es();
4
4
  var ECS_CONTAINER_HOST = "169.254.170.2";
@@ -1,5 +1,5 @@
1
1
  import { s as __toESM } from "../../_runtime.mjs";
2
- import { At as init_dist_es, Ft as require_client, Nt as CredentialsProviderError, Q as parseKnownFiles, St as HttpRequest, X as init_dist_es$1, et as readFile, jt as chain, rt as getProfileName, xt as init_dist_es$2 } from "./client-bedrock-runtime+[...].mjs";
2
+ import { $ as require_client, B as readFile, Ft as HttpRequest, I as init_dist_es$1, Pt as init_dist_es$2, R as parseKnownFiles, U as getProfileName, et as init_dist_es, rt as CredentialsProviderError, tt as chain } from "./client-bedrock-runtime+[...].mjs";
3
3
  import { createHash, createPrivateKey, createPublicKey, sign } from "node:crypto";
4
4
  import { promises } from "node:fs";
5
5
  import { dirname, join } from "node:path";
@@ -21,7 +21,7 @@ const resolveCredentialSource = (credentialSource, profileName, logger) => {
21
21
  },
22
22
  Environment: async (options) => {
23
23
  logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Environment");
24
- const { fromEnv } = await import("../_.mjs");
24
+ const { fromEnv } = await import("../_2.mjs");
25
25
  return async () => fromEnv(options)().then(setNamedProvider);
26
26
  }
27
27
  };
@@ -1,4 +1,4 @@
1
- import { At as init_dist_es, Ft as require_client, Nt as CredentialsProviderError, Q as parseKnownFiles, X as init_dist_es$1, Z as externalDataInterceptor, rt as getProfileName } from "./client-bedrock-runtime+[...].mjs";
1
+ import { $ as require_client, I as init_dist_es$1, L as externalDataInterceptor, R as parseKnownFiles, U as getProfileName, et as init_dist_es, rt as CredentialsProviderError } from "./client-bedrock-runtime+[...].mjs";
2
2
  import { exec } from "node:child_process";
3
3
  import { promisify } from "node:util";
4
4
  var import_client = require_client();
@@ -1,5 +1,5 @@
1
1
  import { a as __require, n as __esmMin, o as __toCommonJS, r as __exportAll, s as __toESM, t as __commonJSMin } from "../../_runtime.mjs";
2
- import { $ as loadSsoSessionData, A as init_dist_es$22, At as init_dist_es, C as init_dist_es$17, D as init_dist_es$13, E as dist_es_exports$11, F as require_dist_cjs, Ft as require_client, G as dist_es_exports$17, H as init_dist_es$4, I as dist_es_exports$1, J as init_dist_es$18, K as init_dist_es$19, L as init_dist_es$3, M as init_dist_es$10, Mt as TokenProviderError, N as dist_es_exports$19, Nt as CredentialsProviderError, P as init_dist_es$21, Q as parseKnownFiles, R as dist_es_exports$4, S as dist_es_exports$15, T as init_dist_es$23, U as dist_es_exports$18, V as dist_es_exports$2, W as init_dist_es$20, X as init_dist_es$1, Y as require_dist_cjs$1, _ as init_dist_es$11, at as init_dist_es$5, b as dist_es_exports$10, bt as dist_es_exports$23, ct as init_dist_es$2, d as require_protocols, dt as dist_es_exports$5, f as dist_es_exports$14, ft as init_dist_es$7, g as dist_es_exports$9, gt as init_dist_es$14, h as init_dist_es$15, ht as dist_es_exports$12, it as dist_es_exports$3, j as dist_es_exports$8, k as dist_es_exports$20, l as dist_es_exports$22, m as dist_es_exports$13, mt as init_dist_es$8, nt as getSSOTokenFilepath, ot as require_schema, p as init_dist_es$16, pt as dist_es_exports$6, q as dist_es_exports$16, rt as getProfileName, st as dist_es_exports, tt as getSSOTokenFromFile, u as init_dist_es$24, v as dist_es_exports$7, w as dist_es_exports$21, x as init_dist_es$12, xt as init_dist_es$25, y as init_dist_es$9, z as init_dist_es$6 } from "./client-bedrock-runtime+[...].mjs";
2
+ import { $ as require_client, A as init_dist_es$17, At as init_dist_es$19, Ct as dist_es_exports$6, D as dist_es_exports$10, Dt as dist_es_exports$18, Et as init_dist_es$2, G as init_dist_es$22, H as getSSOTokenFilepath, I as init_dist_es$1, J as dist_es_exports$19, K as dist_es_exports$8, M as init_dist_es$23, Mt as init_dist_es$18, N as dist_es_exports$11, Nt as dist_es_exports$23, O as init_dist_es$12, Ot as init_dist_es$20, P as init_dist_es$13, Pt as init_dist_es$25, Q as init_dist_es$5, R as parseKnownFiles, St as init_dist_es$7, Tt as dist_es_exports, U as getProfileName, V as getSSOTokenFromFile, W as dist_es_exports$20, X as require_dist_cjs, Y as init_dist_es$21, Z as dist_es_exports$3, _ as init_dist_es$11, _t as init_dist_es$14, at as dist_es_exports$1, ct as init_dist_es$6, d as require_protocols, dt as init_dist_es$4, et as init_dist_es, f as dist_es_exports$14, ft as require_dist_cjs$1, g as dist_es_exports$9, gt as dist_es_exports$12, h as init_dist_es$15, j as dist_es_exports$21, jt as dist_es_exports$16, k as dist_es_exports$15, kt as dist_es_exports$17, l as dist_es_exports$22, m as dist_es_exports$13, nt as TokenProviderError, ot as init_dist_es$3, p as init_dist_es$16, pt as require_schema, q as init_dist_es$10, rt as CredentialsProviderError, st as dist_es_exports$4, u as init_dist_es$24, ut as dist_es_exports$2, v as dist_es_exports$7, wt as init_dist_es$8, xt as dist_es_exports$5, y as init_dist_es$9, z as loadSsoSessionData } from "./client-bedrock-runtime+[...].mjs";
3
3
  import { promises } from "node:fs";
4
4
  const isSsoProfile = (arg) => arg && (typeof arg.sso_start_url === "string" || typeof arg.sso_account_id === "string" || typeof arg.sso_session === "string" || typeof arg.sso_region === "string" || typeof arg.sso_role_name === "string");
5
5
  const REFRESH_MESSAGE = `To refresh this SSO session run 'aws sso login' with the corresponding profile.`;
@@ -1,5 +1,5 @@
1
1
  import { s as __toESM } from "../../_runtime.mjs";
2
- import { At as init_dist_es, Ft as require_client, Nt as CredentialsProviderError, X as init_dist_es$1, Z as externalDataInterceptor } from "./client-bedrock-runtime+[...].mjs";
2
+ import { $ as require_client, I as init_dist_es$1, L as externalDataInterceptor, et as init_dist_es, rt as CredentialsProviderError } from "./client-bedrock-runtime+[...].mjs";
3
3
  import { readFileSync } from "node:fs";
4
4
  const fromWebToken = (init) => async (awsIdentityProperties) => {
5
5
  init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromWebToken");
@@ -1,9 +1,9 @@
1
1
  import { a as __require, n as __esmMin, o as __toCommonJS, r as __exportAll, s as __toESM, t as __commonJSMin } from "../../_runtime.mjs";
2
2
  import { Readable } from "node:stream";
3
3
  import * as path$1 from "path";
4
+ import { createWriteStream } from "fs";
4
5
  import * as fs$1 from "fs/promises";
5
6
  import { writeFile } from "fs/promises";
6
- import { createWriteStream } from "fs";
7
7
  import { finished } from "node:stream/promises";
8
8
  var require_retry_operation = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9
9
  function RetryOperation(timeouts, options) {
@@ -1101,7 +1101,7 @@ var require_gaxios = /* @__PURE__ */ __commonJSMin(((exports) => {
1101
1101
  }
1102
1102
  static async #getFetch() {
1103
1103
  const hasWindow = typeof window !== "undefined" && !!window;
1104
- this.#fetch ||= hasWindow ? window.fetch : (await import("../_16.mjs")).default;
1104
+ this.#fetch ||= hasWindow ? window.fetch : (await import("../_99.mjs")).default;
1105
1105
  return this.#fetch;
1106
1106
  }
1107
1107
  /**
@@ -1,7 +1,7 @@
1
1
  import { n as __esmMin, o as __toCommonJS, r as __exportAll, s as __toESM, t as __commonJSMin } from "../../_runtime.mjs";
2
- import { a as StopReason, c as BedrockRuntimeClient, i as ImageFormat, n as CacheTTL, o as ToolResultStatus, r as ConversationRole, s as ConverseStreamCommand, t as CachePointType } from "../@aws-sdk/client-bedrock-runtime+[...].mjs";
3
2
  import { t as Anthropic } from "../anthropic-ai__sdk.mjs";
4
3
  import { i as ThinkingLevel, n as FunctionCallingConfigMode, r as GoogleGenAI, t as FinishReason } from "../@google/genai.mjs";
4
+ import { a as StopReason, c as BedrockRuntimeClient, i as ImageFormat, n as CacheTTL, o as ToolResultStatus, r as ConversationRole, s as ConverseStreamCommand, t as CachePointType } from "../@aws-sdk/client-bedrock-runtime+[...].mjs";
5
5
  var value_exports = /* @__PURE__ */ __exportAll({
6
6
  HasPropertyKey: () => HasPropertyKey$1,
7
7
  IsArray: () => IsArray$3,
@@ -9575,40 +9575,6 @@ const MODELS = {
9575
9575
  contextWindow: 4e5,
9576
9576
  maxTokens: 128e3
9577
9577
  },
9578
- "kimi-k2": {
9579
- id: "kimi-k2",
9580
- name: "Kimi K2",
9581
- api: "openai-completions",
9582
- provider: "opencode",
9583
- baseUrl: "https://opencode.ai/zen/v1",
9584
- reasoning: false,
9585
- input: ["text"],
9586
- cost: {
9587
- input: .4,
9588
- output: 2.5,
9589
- cacheRead: .4,
9590
- cacheWrite: 0
9591
- },
9592
- contextWindow: 262144,
9593
- maxTokens: 262144
9594
- },
9595
- "kimi-k2-thinking": {
9596
- id: "kimi-k2-thinking",
9597
- name: "Kimi K2 Thinking",
9598
- api: "openai-completions",
9599
- provider: "opencode",
9600
- baseUrl: "https://opencode.ai/zen/v1",
9601
- reasoning: true,
9602
- input: ["text"],
9603
- cost: {
9604
- input: .4,
9605
- output: 2.5,
9606
- cacheRead: .4,
9607
- cacheWrite: 0
9608
- },
9609
- contextWindow: 262144,
9610
- maxTokens: 262144
9611
- },
9612
9578
  "kimi-k2.5": {
9613
9579
  id: "kimi-k2.5",
9614
9580
  name: "Kimi K2.5",
@@ -10070,23 +10036,6 @@ const MODELS = {
10070
10036
  contextWindow: 131e3,
10071
10037
  maxTokens: 4096
10072
10038
  },
10073
- "arcee-ai/trinity-mini": {
10074
- id: "arcee-ai/trinity-mini",
10075
- name: "Arcee AI: Trinity Mini",
10076
- api: "openai-completions",
10077
- provider: "openrouter",
10078
- baseUrl: "https://openrouter.ai/api/v1",
10079
- reasoning: true,
10080
- input: ["text"],
10081
- cost: {
10082
- input: .045,
10083
- output: .15,
10084
- cacheRead: 0,
10085
- cacheWrite: 0
10086
- },
10087
- contextWindow: 131072,
10088
- maxTokens: 131072
10089
- },
10090
10039
  "arcee-ai/trinity-mini:free": {
10091
10040
  id: "arcee-ai/trinity-mini:free",
10092
10041
  name: "Arcee AI: Trinity Mini (free)",
@@ -10283,13 +10232,13 @@ const MODELS = {
10283
10232
  reasoning: true,
10284
10233
  input: ["text"],
10285
10234
  cost: {
10286
- input: .19,
10287
- output: .87,
10288
- cacheRead: .095,
10235
+ input: .19999999999999998,
10236
+ output: .77,
10237
+ cacheRead: .135,
10289
10238
  cacheWrite: 0
10290
10239
  },
10291
10240
  contextWindow: 163840,
10292
- maxTokens: 65536
10241
+ maxTokens: 4096
10293
10242
  },
10294
10243
  "deepseek/deepseek-chat-v3.1": {
10295
10244
  id: "deepseek/deepseek-chat-v3.1",
@@ -10334,9 +10283,9 @@ const MODELS = {
10334
10283
  reasoning: true,
10335
10284
  input: ["text"],
10336
10285
  cost: {
10337
- input: .39999999999999997,
10338
- output: 1.75,
10339
- cacheRead: .19999999999999998,
10286
+ input: .44999999999999996,
10287
+ output: 2.1500000000000004,
10288
+ cacheRead: .22499999999999998,
10340
10289
  cacheWrite: 0
10341
10290
  },
10342
10291
  contextWindow: 163840,
@@ -10391,7 +10340,7 @@ const MODELS = {
10391
10340
  cacheWrite: 0
10392
10341
  },
10393
10342
  contextWindow: 163840,
10394
- maxTokens: 163840
10343
+ maxTokens: 65536
10395
10344
  },
10396
10345
  "deepseek/deepseek-v3.2-exp": {
10397
10346
  id: "deepseek/deepseek-v3.2-exp",
@@ -10410,6 +10359,23 @@ const MODELS = {
10410
10359
  contextWindow: 163840,
10411
10360
  maxTokens: 65536
10412
10361
  },
10362
+ "essentialai/rnj-1-instruct": {
10363
+ id: "essentialai/rnj-1-instruct",
10364
+ name: "EssentialAI: Rnj 1 Instruct",
10365
+ api: "openai-completions",
10366
+ provider: "openrouter",
10367
+ baseUrl: "https://openrouter.ai/api/v1",
10368
+ reasoning: false,
10369
+ input: ["text"],
10370
+ cost: {
10371
+ input: .15,
10372
+ output: .15,
10373
+ cacheRead: 0,
10374
+ cacheWrite: 0
10375
+ },
10376
+ contextWindow: 32768,
10377
+ maxTokens: 4096
10378
+ },
10413
10379
  "google/gemini-2.0-flash-001": {
10414
10380
  id: "google/gemini-2.0-flash-001",
10415
10381
  name: "Google: Gemini 2.0 Flash",
@@ -10493,7 +10459,7 @@ const MODELS = {
10493
10459
  cacheWrite: .08333333333333334
10494
10460
  },
10495
10461
  contextWindow: 1048576,
10496
- maxTokens: 65535
10462
+ maxTokens: 65536
10497
10463
  },
10498
10464
  "google/gemini-2.5-pro": {
10499
10465
  id: "google/gemini-2.5-pro",
@@ -10561,7 +10527,7 @@ const MODELS = {
10561
10527
  cacheWrite: .08333333333333334
10562
10528
  },
10563
10529
  contextWindow: 1048576,
10564
- maxTokens: 65535
10530
+ maxTokens: 65536
10565
10531
  },
10566
10532
  "google/gemini-3-pro-preview": {
10567
10533
  id: "google/gemini-3-pro-preview",
@@ -10714,7 +10680,7 @@ const MODELS = {
10714
10680
  cacheWrite: 0
10715
10681
  },
10716
10682
  contextWindow: 131072,
10717
- maxTokens: 32768
10683
+ maxTokens: 131072
10718
10684
  },
10719
10685
  "meta-llama/llama-3-8b-instruct": {
10720
10686
  id: "meta-llama/llama-3-8b-instruct",
@@ -10884,7 +10850,7 @@ const MODELS = {
10884
10850
  cacheWrite: 0
10885
10851
  },
10886
10852
  contextWindow: 196608,
10887
- maxTokens: 65536
10853
+ maxTokens: 196608
10888
10854
  },
10889
10855
  "minimax/minimax-m2.1": {
10890
10856
  id: "minimax/minimax-m2.1",
@@ -13123,12 +13089,12 @@ const MODELS = {
13123
13089
  input: ["text", "image"],
13124
13090
  cost: {
13125
13091
  input: .25,
13126
- output: 2,
13092
+ output: 1,
13127
13093
  cacheRead: 0,
13128
13094
  cacheWrite: 0
13129
13095
  },
13130
13096
  contextWindow: 262144,
13131
- maxTokens: 65536
13097
+ maxTokens: 262144
13132
13098
  },
13133
13099
  "qwen/qwen3.5-397b-a17b": {
13134
13100
  id: "qwen/qwen3.5-397b-a17b",
@@ -13683,13 +13649,13 @@ const MODELS = {
13683
13649
  reasoning: true,
13684
13650
  input: ["text"],
13685
13651
  cost: {
13686
- input: .95,
13687
- output: 2.5500000000000003,
13688
- cacheRead: .19999999999999998,
13652
+ input: .7999999999999999,
13653
+ output: 2.56,
13654
+ cacheRead: .16,
13689
13655
  cacheWrite: 0
13690
13656
  },
13691
- contextWindow: 204800,
13692
- maxTokens: 131072
13657
+ contextWindow: 202752,
13658
+ maxTokens: 4096
13693
13659
  }
13694
13660
  },
13695
13661
  "vercel-ai-gateway": {
@@ -26593,13 +26559,13 @@ const streamBedrock = (model, context, options = {}) => {
26593
26559
  secretAccessKey: "dummy-secret-key"
26594
26560
  };
26595
26561
  if (process.env.HTTP_PROXY || process.env.HTTPS_PROXY || process.env.NO_PROXY || process.env.http_proxy || process.env.https_proxy || process.env.no_proxy) {
26596
- const nodeHttpHandler = await import("../_2.mjs");
26597
- const agent = new (await (import("../_18.mjs").then((m) => /* @__PURE__ */ __toESM(m.default, 1)))).ProxyAgent();
26562
+ const nodeHttpHandler = await import("../_.mjs");
26563
+ const agent = new (await (import("../_102.mjs").then((m) => /* @__PURE__ */ __toESM(m.default, 1)))).ProxyAgent();
26598
26564
  config.requestHandler = new nodeHttpHandler.NodeHttpHandler({
26599
26565
  httpAgent: agent,
26600
26566
  httpsAgent: agent
26601
26567
  });
26602
- } else if (process.env.AWS_BEDROCK_FORCE_HTTP1 === "1") config.requestHandler = new (await (import("../_2.mjs"))).NodeHttpHandler();
26568
+ } else if (process.env.AWS_BEDROCK_FORCE_HTTP1 === "1") config.requestHandler = new (await (import("../_.mjs"))).NodeHttpHandler();
26603
26569
  }
26604
26570
  config.region = config.region || "us-east-1";
26605
26571
  try {