ryugi-artifacts 1.31.1 → 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.
|
|
994
|
+
console.log("1.31.2");
|
|
991
995
|
return 0;
|
|
992
996
|
}
|
|
993
997
|
if (command === "--help" || command === "-h") {
|
package/dist/server.cjs
CHANGED
|
@@ -90376,6 +90376,8 @@ var NAMES = {
|
|
|
90376
90376
|
"github-copilot": "GitHub Copilot",
|
|
90377
90377
|
"github-copilot-cli": "GitHub Copilot",
|
|
90378
90378
|
kilo: "Kilo Code",
|
|
90379
|
+
omp: "OMP",
|
|
90380
|
+
"oh-my-pi": "OMP",
|
|
90379
90381
|
opencode: "OpenCode",
|
|
90380
90382
|
"qwen-code": "Qwen Code",
|
|
90381
90383
|
antigravity: "Antigravity",
|
|
@@ -90391,6 +90393,7 @@ var NAMES = {
|
|
|
90391
90393
|
};
|
|
90392
90394
|
var AGENT_DISPLAY_NAMES = [...new Set(Object.values(NAMES))];
|
|
90393
90395
|
var MARKERS = [
|
|
90396
|
+
["omp", (env) => !!env.OMPCODE],
|
|
90394
90397
|
["cowork", (env) => !!env.CLAUDE_CODE_IS_COWORK],
|
|
90395
90398
|
["kilo", (env) => !!env.KILO],
|
|
90396
90399
|
["codex", (env) => !!(env.CODEX_THREAD_ID || env.CODEX_SANDBOX || env.CODEX_CI)],
|
|
@@ -91643,7 +91646,7 @@ function openReady(payload) {
|
|
|
91643
91646
|
}
|
|
91644
91647
|
|
|
91645
91648
|
// package.json
|
|
91646
|
-
var version = "1.31.
|
|
91649
|
+
var version = "1.31.2";
|
|
91647
91650
|
|
|
91648
91651
|
// src/server/main.ts
|
|
91649
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.
|
|
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};
|