ryugi-artifacts 1.31.0 → 1.31.2

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/cli.cjs CHANGED
@@ -196,6 +196,8 @@ var NAMES = {
196
196
  "github-copilot": "GitHub Copilot",
197
197
  "github-copilot-cli": "GitHub Copilot",
198
198
  kilo: "Kilo Code",
199
+ omp: "OMP",
200
+ "oh-my-pi": "OMP",
199
201
  opencode: "OpenCode",
200
202
  "qwen-code": "Qwen Code",
201
203
  antigravity: "Antigravity",
@@ -211,6 +213,7 @@ var NAMES = {
211
213
  };
212
214
  var AGENT_DISPLAY_NAMES = [...new Set(Object.values(NAMES))];
213
215
  var MARKERS = [
216
+ ["omp", (env) => !!env.OMPCODE],
214
217
  ["cowork", (env) => !!env.CLAUDE_CODE_IS_COWORK],
215
218
  ["kilo", (env) => !!env.KILO],
216
219
  ["codex", (env) => !!(env.CODEX_THREAD_ID || env.CODEX_SANDBOX || env.CODEX_CI)],
@@ -228,6 +231,7 @@ var MARKERS = [
228
231
  var AGENT_MARKERS = [
229
232
  "AI_AGENT",
230
233
  "AGENT",
234
+ "OMPCODE",
231
235
  "CLAUDE_CODE_IS_COWORK",
232
236
  "KILO",
233
237
  "CODEX_THREAD_ID",
@@ -987,7 +991,7 @@ async function main(argv) {
987
991
  }, emit);
988
992
  }
989
993
  if (command === "--version" || command === "-v") {
990
- console.log("1.31.0");
994
+ console.log("1.31.2");
991
995
  return 0;
992
996
  }
993
997
  if (command === "--help" || command === "-h") {
package/dist/server.cjs CHANGED
@@ -5424,7 +5424,7 @@ function customAlphabet(alphabet, defaultSize = 21) {
5424
5424
  }
5425
5425
  var nanoid = customAlphabet(urlAlphabet);
5426
5426
 
5427
- // node_modules/.pnpm/@haklex+rich-litexml@0.54.2_typescript@5.9.3/node_modules/@haklex/rich-litexml/dist/src-BcPLrM3G.js
5427
+ // node_modules/.pnpm/@haklex+rich-litexml@0.54.3_typescript@5.9.3/node_modules/@haklex/rich-litexml/dist/src-CwO17cE7.js
5428
5428
  var impl = null;
5429
5429
  function registerParseHTML(fn5) {
5430
5430
  impl = fn5;
@@ -6701,6 +6701,7 @@ var INLINE_TAGS = /* @__PURE__ */ new Set([
6701
6701
  "strong",
6702
6702
  "em",
6703
6703
  "del",
6704
+ "strike",
6704
6705
  "a",
6705
6706
  "mention",
6706
6707
  "tag",
@@ -17571,7 +17572,7 @@ function Document4() {
17571
17572
  }
17572
17573
  setPrototypeOf(Document4, Document2).prototype = Document2.prototype;
17573
17574
 
17574
- // node_modules/.pnpm/@haklex+rich-litexml@0.54.2_typescript@5.9.3/node_modules/@haklex/rich-litexml/dist/node.mjs
17575
+ // node_modules/.pnpm/@haklex+rich-litexml@0.54.3_typescript@5.9.3/node_modules/@haklex/rich-litexml/dist/node.mjs
17575
17576
  registerParseHTML((html) => parseHTML2(html).document);
17576
17577
 
17577
17578
  // node_modules/.pnpm/nanoid@5.1.16/node_modules/nanoid/index.js
@@ -53030,7 +53031,7 @@ decorateMethods(EphemeralStoreWasm.prototype, [
53030
53031
  ]);
53031
53032
  decorateMethods(UndoManager.prototype, ["undo", "redo"]);
53032
53033
 
53033
- // node_modules/.pnpm/@haklex+rich-collab-loro@0.54.2_lexical@0.52.0_typescript@5.9.3__loro-crdt@1.16.4/node_modules/@haklex/rich-collab-loro/dist/index.mjs
53034
+ // node_modules/.pnpm/@haklex+rich-collab-loro@0.54.3_lexical@0.52.0_typescript@5.9.3__loro-crdt@1.16.4/node_modules/@haklex/rich-collab-loro/dist/index.mjs
53034
53035
  function transformOffset(previous, next, offset) {
53035
53036
  const limit = Math.min(previous.length, next.length);
53036
53037
  let prefix = 0;
@@ -84445,7 +84446,7 @@ var UNORDERED_LIST2 = mod28.UNORDERED_LIST;
84445
84446
  var isTableRowDivider2 = mod28.isTableRowDivider;
84446
84447
  var registerMarkdownShortcuts2 = mod28.registerMarkdownShortcuts;
84447
84448
 
84448
- // node_modules/.pnpm/@haklex+rich-headless@0.54.2_lexical@0.52.0_typescript@5.9.3__typescript@5.9.3/node_modules/@haklex/rich-headless/dist/transformers.mjs
84449
+ // node_modules/.pnpm/@haklex+rich-headless@0.54.3_lexical@0.52.0_typescript@5.9.3__typescript@5.9.3/node_modules/@haklex/rich-headless/dist/transformers.mjs
84449
84450
  var NEVER = /a^/;
84450
84451
  var NOOP = () => {
84451
84452
  };
@@ -87117,7 +87118,7 @@ var signal2 = mod43.signal;
87117
87118
  var untracked2 = mod43.untracked;
87118
87119
  var watchedSignal3 = mod43.watchedSignal;
87119
87120
 
87120
- // node_modules/.pnpm/@haklex+rich-headless@0.54.2_lexical@0.52.0_typescript@5.9.3__typescript@5.9.3/node_modules/@haklex/rich-headless/dist/index.mjs
87121
+ // node_modules/.pnpm/@haklex+rich-headless@0.54.3_lexical@0.52.0_typescript@5.9.3__typescript@5.9.3/node_modules/@haklex/rich-headless/dist/index.mjs
87121
87122
  var builtinNodes = [
87122
87123
  HeadingNode2,
87123
87124
  QuoteNode2,
@@ -90375,6 +90376,8 @@ var NAMES = {
90375
90376
  "github-copilot": "GitHub Copilot",
90376
90377
  "github-copilot-cli": "GitHub Copilot",
90377
90378
  kilo: "Kilo Code",
90379
+ omp: "OMP",
90380
+ "oh-my-pi": "OMP",
90378
90381
  opencode: "OpenCode",
90379
90382
  "qwen-code": "Qwen Code",
90380
90383
  antigravity: "Antigravity",
@@ -90390,6 +90393,7 @@ var NAMES = {
90390
90393
  };
90391
90394
  var AGENT_DISPLAY_NAMES = [...new Set(Object.values(NAMES))];
90392
90395
  var MARKERS = [
90396
+ ["omp", (env) => !!env.OMPCODE],
90393
90397
  ["cowork", (env) => !!env.CLAUDE_CODE_IS_COWORK],
90394
90398
  ["kilo", (env) => !!env.KILO],
90395
90399
  ["codex", (env) => !!(env.CODEX_THREAD_ID || env.CODEX_SANDBOX || env.CODEX_CI)],
@@ -91642,7 +91646,7 @@ function openReady(payload) {
91642
91646
  }
91643
91647
 
91644
91648
  // package.json
91645
- var version = "1.31.0";
91649
+ var version = "1.31.2";
91646
91650
 
91647
91651
  // src/server/main.ts
91648
91652
  async function main() {
@@ -1 +1 @@
1
- import{i as e}from"./rolldown-runtime-COiEfhsA.js";import{n as t,t as n}from"./jsx-runtime-CldxteV5.js";import{a as r}from"./useSandboxFrame-DJc_WnFq.js";import{t as i}from"./index.js";import a from"./CloudDocument-F3ikpU1A.js";import{DocumentView as o,t as s}from"./DocumentPage-DJWzglCT.js";var c=e(t(),1),l=`1.31.0`,u=e=>/^(\d+)\.(\d+)\./.exec(e??``)?.slice(1,3).join(`.`)??null;function d(e,t){let n=u(e);return n!==null&&n===u(t)}var f=(e,t)=>`电脑上的 ryugi 是 ${t??`未知版本`},网页是 ${e},版本对上之前只能评论`,p=n();function m({id:e,state:t,contentBase:n,liveContentBase:u,comments:m}){let{transport:h,presence:g}=s(e,u??n??``),_=g?.online??!1;r(e,{online:g?.online??null});let[v,y]=(0,c.useState)(!1);if((0,c.useEffect)(()=>{_&&y(!0)},[_]),!h||!(v||_))return!t||!n?(0,p.jsx)(i,{children:g===null?`正在连接…`:`还没发布。电脑在线时,这里会实时显示。`}):(0,p.jsx)(a,{id:e,state:t,contentBase:n,comments:m,offline:g!==null&&!_});let b=_&&d(l,g?.version??null),x=_&&!b?f(l,g?.version??null):null;return(0,p.jsx)(o,{id:e,transport:h,live:_,cloud:{online:_,canEdit:b,reason:x}})}export{m as default};
1
+ import{i as e}from"./rolldown-runtime-COiEfhsA.js";import{n as t,t as n}from"./jsx-runtime-CldxteV5.js";import{a as r}from"./useSandboxFrame-DJc_WnFq.js";import{t as i}from"./index.js";import a from"./CloudDocument-F3ikpU1A.js";import{DocumentView as o,t as s}from"./DocumentPage-DJWzglCT.js";var c=e(t(),1),l=`1.31.2`,u=e=>/^(\d+)\.(\d+)\./.exec(e??``)?.slice(1,3).join(`.`)??null;function d(e,t){let n=u(e);return n!==null&&n===u(t)}var f=(e,t)=>`电脑上的 ryugi 是 ${t??`未知版本`},网页是 ${e},版本对上之前只能评论`,p=n();function m({id:e,state:t,contentBase:n,liveContentBase:u,comments:m}){let{transport:h,presence:g}=s(e,u??n??``),_=g?.online??!1;r(e,{online:g?.online??null});let[v,y]=(0,c.useState)(!1);if((0,c.useEffect)(()=>{_&&y(!0)},[_]),!h||!(v||_))return!t||!n?(0,p.jsx)(i,{children:g===null?`正在连接…`:`还没发布。电脑在线时,这里会实时显示。`}):(0,p.jsx)(a,{id:e,state:t,contentBase:n,comments:m,offline:g!==null&&!_});let b=_&&d(l,g?.version??null),x=_&&!b?f(l,g?.version??null):null;return(0,p.jsx)(o,{id:e,transport:h,live:_,cloud:{online:_,canEdit:b,reason:x}})}export{m as default};