@deepseek-insight/dsi 0.6.1 → 0.6.3

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 (35) hide show
  1. package/bin/dsi.mjs +69 -9
  2. package/build/client/_app/immutable/assets/{2.DEBHmc3y.css → 2.BGqV97Jd.css} +1 -1
  3. package/build/client/_app/immutable/chunks/-QMnNhjK.js +1 -0
  4. package/build/client/_app/immutable/chunks/{BVBc9rJx.js → CO5vDamr.js} +2 -2
  5. package/build/client/_app/immutable/chunks/{DNY2-FaC.js → ChuRCf9h.js} +1 -1
  6. package/build/client/_app/immutable/chunks/t3kw0wer.js +1 -0
  7. package/build/client/_app/immutable/entry/{app.C1j_PXOJ.js → app.y5dXo2Ok.js} +2 -2
  8. package/build/client/_app/immutable/entry/start.DXQR7y2N.js +1 -0
  9. package/build/client/_app/immutable/nodes/{1.DB7DKw94.js → 1.DxZnpXVQ.js} +1 -1
  10. package/build/client/_app/immutable/nodes/{2.D9qSqOKy.js → 2.llFj6Wmd.js} +167 -167
  11. package/build/client/_app/version.json +1 -1
  12. package/build/handler.js +4 -4
  13. package/build/index.js +4 -4
  14. package/build/server/chunks/chunks/github-stars.js-BZGcEdID.js +63 -0
  15. package/build/server/chunks/chunks/{internal.js-Ca_6TJ1k.js → internal.js-0AVWztiM.js} +2 -2
  16. package/build/server/chunks/chunks/stars.js-C41Y0FsW.js +18 -0
  17. package/build/server/chunks/chunks/{state.js-BrbF5k84.js → state.js-C_HRp4U4.js} +2 -2
  18. package/build/server/chunks/entries/endpoints/api/plugins/reload/{_server.ts.js-U8vRgx7E.js → _server.ts.js-BACFXWMj.js} +5 -1
  19. package/build/server/chunks/entries/endpoints/api/plugins/snapshot/{_server.ts.js-9Ezy2OeQ.js → _server.ts.js-BJg0hLlC.js} +6 -2
  20. package/build/server/chunks/entries/endpoints/api/skills/reload/{_server.ts.js-BUnCt45D.js → _server.ts.js-lJhCBpB2.js} +7 -1
  21. package/build/server/chunks/entries/endpoints/api/skills/snapshot/{_server.ts.js-CaBD0w0v.js → _server.ts.js-Ct_PmlXs.js} +7 -1
  22. package/build/server/chunks/entries/pages/{_error.svelte.js-C9GhKb8G.js → _error.svelte.js-CEmLRT9p.js} +3 -3
  23. package/build/server/chunks/entries/pages/{_page.svelte.js-6A1VYbL2.js → _page.svelte.js-UXIdc_bL.js} +107 -18
  24. package/build/server/chunks/{handler-ChXGVK9Y.js → handler-BJ9--VUv.js} +3 -3
  25. package/build/server/chunks/{index.js-5P_bGLRx.js → index.js-C9NofOps.js} +2 -2
  26. package/build/server/chunks/{manifest.js-B3ooI-FL.js → manifest.js-DDCEOESO.js} +8 -8
  27. package/build/server/chunks/nodes/1.js-XJPU3cMa.js +9 -0
  28. package/build/server/chunks/nodes/{2.js-C4WQL8rj.js → 2.js-DJr3vFN1.js} +4 -4
  29. package/package.json +2 -2
  30. package/template/.dsi/resources/plugins-reff.md +1 -3
  31. package/template/.dsi/resources/skills-reff.md +7 -6
  32. package/build/client/_app/immutable/chunks/BdHmBwz-.js +0 -1
  33. package/build/client/_app/immutable/chunks/oLHjdJ-M.js +0 -1
  34. package/build/client/_app/immutable/entry/start.Dyarj9we.js +0 -1
  35. package/build/server/chunks/nodes/1.js-Dcb4_Gzq.js +0 -9
@@ -1 +1 @@
1
- {"version":"1790556846266"}
1
+ {"version":"1790713823441"}
package/build/handler.js CHANGED
@@ -2,9 +2,9 @@ import './shims.js';
2
2
  import 'node:fs';
3
3
  import 'node:path';
4
4
  import 'node:process';
5
- export { h as handler } from './server/chunks/handler-ChXGVK9Y.js';
6
- import './server/chunks/index.js-5P_bGLRx.js';
7
- import './server/chunks/manifest.js-B3ooI-FL.js';
5
+ export { h as handler } from './server/chunks/handler-BJ9--VUv.js';
6
+ import './server/chunks/index.js-C9NofOps.js';
7
+ import './server/chunks/manifest.js-DDCEOESO.js';
8
8
  import './env.js';
9
9
  import 'node:buffer';
10
10
  import 'node:crypto';
@@ -16,7 +16,7 @@ import './server/chunks/chunks/shared.js-HQ0rfhm4.js';
16
16
  import './server/chunks/chunks/uneval.js-BJ9Qq2SF.js';
17
17
  import './server/chunks/chunks/utils.js-CAdNO8Tu.js';
18
18
  import 'node:url';
19
- import './server/chunks/chunks/internal.js-Ca_6TJ1k.js';
19
+ import './server/chunks/chunks/internal.js-0AVWztiM.js';
20
20
  import './server/chunks/chunks/server.js-11-pxAWV.js';
21
21
  import './server/chunks/chunks/internal2.js-BcS47nI-.js';
22
22
  import './server/chunks/chunks/exports.js-DH_tjtdv.js';
package/build/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import http from 'node:http';
2
2
  import fs__default from 'node:fs';
3
3
  import process from 'node:process';
4
- import { p as polka, h as handler, f as format_listening_address } from './server/chunks/handler-ChXGVK9Y.js';
4
+ import { p as polka, h as handler, f as format_listening_address } from './server/chunks/handler-BJ9--VUv.js';
5
5
  import { env, timeout_env } from './env.js';
6
6
  import { rm } from 'node:fs/promises';
7
7
  import './shims.js';
@@ -14,12 +14,12 @@ import 'node:stream';
14
14
  import './server/chunks/chunks/shared.js-HQ0rfhm4.js';
15
15
  import './server/chunks/chunks/uneval.js-BJ9Qq2SF.js';
16
16
  import './server/chunks/chunks/utils.js-CAdNO8Tu.js';
17
- import './server/chunks/index.js-5P_bGLRx.js';
18
- import './server/chunks/chunks/internal.js-Ca_6TJ1k.js';
17
+ import './server/chunks/index.js-C9NofOps.js';
18
+ import './server/chunks/chunks/internal.js-0AVWztiM.js';
19
19
  import './server/chunks/chunks/server.js-11-pxAWV.js';
20
20
  import './server/chunks/chunks/internal2.js-BcS47nI-.js';
21
21
  import './server/chunks/chunks/exports.js-DH_tjtdv.js';
22
- import './server/chunks/manifest.js-B3ooI-FL.js';
22
+ import './server/chunks/manifest.js-DDCEOESO.js';
23
23
  import 'node:url';
24
24
 
25
25
  const path = env('SOCKET_PATH', false);
@@ -0,0 +1,63 @@
1
+ //#region src/lib/server/github-stars.ts
2
+ /**
3
+ * GitHub star counts for shelf/rack registries. Best-effort: a failed or
4
+ * absent fetch simply omits the entry — never breaks the snapshot. Results
5
+ * are cached in-memory for an hour (GitHub's unauthenticated ceiling is
6
+ * 60 req/h per IP).
7
+ */
8
+ var STAR_TTL_MS = 36e5;
9
+ var cache = /* @__PURE__ */ new Map();
10
+ /** Repo URL -> 'owner/repo'. Tolerates deep URLs like
11
+ * https://github.com/cursor/plugins/tree/main/pstack/skills (the shelf's
12
+ * SKR reff lines point at subfolders, not the repo root). */
13
+ function repoSlugFromUrl(repoUrl) {
14
+ try {
15
+ const u = new URL(repoUrl);
16
+ if (u.hostname !== "github.com") return null;
17
+ const seg = u.pathname.replace(/\.git$/, "").split("/").filter(Boolean);
18
+ if (seg.length < 2) return null;
19
+ const [owner, repo] = seg;
20
+ if (!/^[A-Za-z0-9_.-]+$/.test(owner) || !/^[A-Za-z0-9_.-]+$/.test(repo)) return null;
21
+ return owner + "/" + repo;
22
+ } catch {
23
+ return null;
24
+ }
25
+ }
26
+ async function fetchRepoStars(slug) {
27
+ const hit = cache.get(slug);
28
+ if (hit && Date.now() - hit.at < STAR_TTL_MS) return hit.count;
29
+ try {
30
+ const res = await fetch("https://api.github.com/repos/" + slug, {
31
+ headers: {
32
+ accept: "application/vnd.github+json",
33
+ "user-agent": "deepseek-insight"
34
+ },
35
+ signal: AbortSignal.timeout(5e3)
36
+ });
37
+ if (!res.ok) return null;
38
+ const body = await res.json();
39
+ if (typeof body.stargazers_count !== "number") return null;
40
+ cache.set(slug, {
41
+ count: body.stargazers_count,
42
+ at: Date.now()
43
+ });
44
+ return body.stargazers_count;
45
+ } catch {
46
+ return null;
47
+ }
48
+ }
49
+ /** Star counts keyed by the caller's key; an entry whose fetch failed
50
+ * (rate limit, private/moved repo, offline, non-GitHub URL) is absent. */
51
+ async function fetchStarsByKey(items) {
52
+ const stars = {};
53
+ await Promise.all(items.map(async ({ key, repo }) => {
54
+ const slug = repoSlugFromUrl(repo);
55
+ if (!slug) return;
56
+ const count = await fetchRepoStars(slug);
57
+ if (count !== null) stars[key] = count;
58
+ }));
59
+ return stars;
60
+ }
61
+
62
+ export { fetchStarsByKey as f };
63
+ //# sourceMappingURL=github-stars.js-BZGcEdID.js.map
@@ -722,7 +722,7 @@ var options = {
722
722
  app: ({ head, body, assets, nonce, env }) => "<!doctype html>\n<html lang=\"%paraglide.locale%\">\n <head>\n <meta charset=\"utf-8\" />\n <link rel=\"icon\" href=\"" + assets + "/favicon.svg\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n " + head + "\n </head>\n <body data-sveltekit-preload-data=\"tap\">\n <div style=\"display: contents\">" + body + "</div>\n </body>\n</html>\n",
723
723
  error: error_template_default
724
724
  },
725
- version_hash: "1ezz6qc"
725
+ version_hash: "1qcnfxz"
726
726
  };
727
727
  async function get_hooks() {
728
728
  let handle;
@@ -745,4 +745,4 @@ async function get_hooks() {
745
745
  }
746
746
 
747
747
  export { __commonJSMin as _, set_public_env as a, set_read_implementation as b, onDestroy as c, __exportAll as d, get_hooks as g, index_server_exports as i, options as o, public_env as p, read_implementation as r, set_private_env as s };
748
- //# sourceMappingURL=internal.js-Ca_6TJ1k.js.map
748
+ //# sourceMappingURL=internal.js-0AVWztiM.js.map
@@ -0,0 +1,18 @@
1
+ import { f as fetchStarsByKey } from './github-stars.js-BZGcEdID.js';
2
+
3
+ //#region src/lib/server/plugins/stars.ts
4
+ /**
5
+ * plugin-rack — GitHub star counts for the reff plugins. Thin adapter over
6
+ * the generic github-stars helper, keyed by plugin id.
7
+ */
8
+ /** Star counts keyed by plugin id; a plugin whose stars could not be
9
+ * fetched (rate limit, private/moved repo, offline) is simply absent. */
10
+ async function fetchRackStars(plugins) {
11
+ return fetchStarsByKey(plugins.map((p) => ({
12
+ key: p.id,
13
+ repo: p.repo
14
+ })));
15
+ }
16
+
17
+ export { fetchRackStars as f };
18
+ //# sourceMappingURL=stars.js-C41Y0FsW.js.map
@@ -1,4 +1,4 @@
1
- import { i as index_server_exports } from './internal.js-Ca_6TJ1k.js';
1
+ import { i as index_server_exports } from './internal.js-0AVWztiM.js';
2
2
  import './shared.js-HQ0rfhm4.js';
3
3
  import './exports.js-DH_tjtdv.js';
4
4
  import { U as snapshot, J as getContext, G as noop } from './server.js-11-pxAWV.js';
@@ -303,4 +303,4 @@ var page = {
303
303
  };
304
304
 
305
305
  export { afterNavigate as a, backtoworkspace2 as b, replaceState as c, dshunreachable1 as d, currentLocale as e, page as p, reapednote1 as r, sessionnotfound2 as s, t, unexpectederror1 as u };
306
- //# sourceMappingURL=state.js-BrbF5k84.js.map
306
+ //# sourceMappingURL=state.js-C_HRp4U4.js.map
@@ -1,10 +1,12 @@
1
1
  import { g as getRackEngine } from '../../../../../chunks/engine.js-CrdWRSwf.js';
2
+ import { f as fetchRackStars } from '../../../../../chunks/stars.js-C41Y0FsW.js';
2
3
  import { j as json } from '../../../../../chunks/utils.js-CAdNO8Tu.js';
3
4
  import 'node:fs';
4
5
  import 'node:path';
5
6
  import 'node:os';
6
7
  import 'node:child_process';
7
8
  import 'node:util';
9
+ import '../../../../../chunks/github-stars.js-BZGcEdID.js';
8
10
  import '../../../../../chunks/shared.js-HQ0rfhm4.js';
9
11
  import '../../../../../chunks/uneval.js-BJ9Qq2SF.js';
10
12
 
@@ -17,9 +19,11 @@ import '../../../../../chunks/uneval.js-BJ9Qq2SF.js';
17
19
  var POST = async () => {
18
20
  try {
19
21
  const { snapshot, errors } = await getRackEngine().refresh(true);
22
+ const stars = await fetchRackStars(snapshot.plugins);
20
23
  return json({
21
24
  ok: true,
22
25
  snapshot,
26
+ stars,
23
27
  ...errors ? { errors } : {}
24
28
  });
25
29
  } catch (err) {
@@ -31,4 +35,4 @@ var POST = async () => {
31
35
  };
32
36
 
33
37
  export { POST };
34
- //# sourceMappingURL=_server.ts.js-U8vRgx7E.js.map
38
+ //# sourceMappingURL=_server.ts.js-BACFXWMj.js.map
@@ -1,10 +1,12 @@
1
1
  import { g as getRackEngine } from '../../../../../chunks/engine.js-CrdWRSwf.js';
2
+ import { f as fetchRackStars } from '../../../../../chunks/stars.js-C41Y0FsW.js';
2
3
  import { j as json } from '../../../../../chunks/utils.js-CAdNO8Tu.js';
3
4
  import 'node:fs';
4
5
  import 'node:path';
5
6
  import 'node:os';
6
7
  import 'node:child_process';
7
8
  import 'node:util';
9
+ import '../../../../../chunks/github-stars.js-BZGcEdID.js';
8
10
  import '../../../../../chunks/shared.js-HQ0rfhm4.js';
9
11
  import '../../../../../chunks/uneval.js-BJ9Qq2SF.js';
10
12
 
@@ -19,10 +21,12 @@ var GET = async () => {
19
21
  const engine = getRackEngine();
20
22
  const { present } = await engine.snapshotStatus();
21
23
  const { snapshot, reused } = await engine.refresh(!present);
24
+ const stars = await fetchRackStars(snapshot.plugins);
22
25
  return json({
23
26
  ok: true,
24
27
  reused,
25
- snapshot
28
+ snapshot,
29
+ stars
26
30
  });
27
31
  } catch (err) {
28
32
  return json({
@@ -33,4 +37,4 @@ var GET = async () => {
33
37
  };
34
38
 
35
39
  export { GET };
36
- //# sourceMappingURL=_server.ts.js-9Ezy2OeQ.js.map
40
+ //# sourceMappingURL=_server.ts.js-BJg0hLlC.js.map
@@ -1,3 +1,4 @@
1
+ import { f as fetchStarsByKey } from '../../../../../chunks/github-stars.js-BZGcEdID.js';
1
2
  import { g as getEngine, u as uninstallableIds, b as EngineCancelledError } from '../../../../../chunks/engine2.js-BRoFbCnL.js';
2
3
  import { j as json } from '../../../../../chunks/utils.js-CAdNO8Tu.js';
3
4
  import 'node:fs';
@@ -16,9 +17,14 @@ import '../../../../../chunks/uneval.js-BJ9Qq2SF.js';
16
17
  var POST = async () => {
17
18
  try {
18
19
  const { snapshot } = await getEngine().refresh(true);
20
+ const stars = await fetchStarsByKey(snapshot.sources.map((s) => ({
21
+ key: s.id,
22
+ repo: s.repo
23
+ })));
19
24
  return json({
20
25
  ok: true,
21
26
  snapshot,
27
+ stars,
22
28
  uninstallable: uninstallableIds(snapshot)
23
29
  });
24
30
  } catch (err) {
@@ -35,4 +41,4 @@ var POST = async () => {
35
41
  };
36
42
 
37
43
  export { POST };
38
- //# sourceMappingURL=_server.ts.js-BUnCt45D.js.map
44
+ //# sourceMappingURL=_server.ts.js-lJhCBpB2.js.map
@@ -1,3 +1,4 @@
1
+ import { f as fetchStarsByKey } from '../../../../../chunks/github-stars.js-BZGcEdID.js';
1
2
  import { g as getEngine, u as uninstallableIds } from '../../../../../chunks/engine2.js-BRoFbCnL.js';
2
3
  import { j as json } from '../../../../../chunks/utils.js-CAdNO8Tu.js';
3
4
  import 'node:fs';
@@ -19,10 +20,15 @@ var GET = async () => {
19
20
  const engine = getEngine();
20
21
  const { present } = await engine.snapshotStatus();
21
22
  const { snapshot, reused } = await engine.refresh(!present);
23
+ const stars = await fetchStarsByKey(snapshot.sources.map((s) => ({
24
+ key: s.id,
25
+ repo: s.repo
26
+ })));
22
27
  return json({
23
28
  ok: true,
24
29
  reused,
25
30
  snapshot,
31
+ stars,
26
32
  uninstallable: uninstallableIds(snapshot)
27
33
  });
28
34
  } catch (err) {
@@ -34,4 +40,4 @@ var GET = async () => {
34
40
  };
35
41
 
36
42
  export { GET };
37
- //# sourceMappingURL=_server.ts.js-CaBD0w0v.js.map
43
+ //# sourceMappingURL=_server.ts.js-Ct_PmlXs.js.map
@@ -1,7 +1,7 @@
1
1
  import { V as head, W as escape_html, y as derived } from '../../chunks/server.js-11-pxAWV.js';
2
- import { t, p as page, s as sessionnotfound2, r as reapednote1, d as dshunreachable1, u as unexpectederror1, b as backtoworkspace2 } from '../../chunks/state.js-BrbF5k84.js';
2
+ import { t, p as page, s as sessionnotfound2, r as reapednote1, d as dshunreachable1, u as unexpectederror1, b as backtoworkspace2 } from '../../chunks/state.js-C_HRp4U4.js';
3
3
  import '../../chunks/uneval.js-BJ9Qq2SF.js';
4
- import '../../chunks/internal.js-Ca_6TJ1k.js';
4
+ import '../../chunks/internal.js-0AVWztiM.js';
5
5
  import '../../chunks/shared.js-HQ0rfhm4.js';
6
6
  import '../../chunks/exports.js-DH_tjtdv.js';
7
7
  import '../../chunks/config.js-B0w1-uCA.js';
@@ -40,4 +40,4 @@ function _error($$renderer, $$props) {
40
40
  }
41
41
 
42
42
  export { _error as default };
43
- //# sourceMappingURL=_error.svelte.js-C9GhKb8G.js.map
43
+ //# sourceMappingURL=_error.svelte.js-CEmLRT9p.js.map
@@ -1,4 +1,4 @@
1
- import { c as onDestroy, d as __exportAll } from '../../chunks/internal.js-Ca_6TJ1k.js';
1
+ import { c as onDestroy, d as __exportAll } from '../../chunks/internal.js-0AVWztiM.js';
2
2
  import { V as head, y as derived, X as bind_props, W as escape_html, Y as attr, Z as attr_style, _ as attr_class, x as setContext, $ as spread_props, a0 as attributes, a1 as clsx, a2 as ensure_array_like, a3 as element, J as getContext, a4 as stringify, a5 as html, F as run, a6 as props_id } from '../../chunks/server.js-11-pxAWV.js';
3
3
  import { U as UI_LOCALES } from '../../chunks/config.js-B0w1-uCA.js';
4
4
  import { m as mergeEntries, c as collapseSystemPromptEntries, t as truncate } from '../../chunks/dsh-events.js-CyvSb4O3.js';
@@ -7,7 +7,7 @@ import { b as applyKnobEvent, E as EMPTY_KNOBS, r as resolvePermission, l as loc
7
7
  import { D as DEFAULT_IMAGE_LIMITS } from '../../chunks/image-limits.js-CUdJ0f7r.js';
8
8
  import { a as appConfig, t as triggerMode, g as getTrigger, p as previewSegments, i as isValidTagWord, b as textPreviewOf, s as searchKey, c as shouldRecordPrompt, d as parseTagWords } from '../../chunks/app-config.svelte.js-BBPHOX4N.js';
9
9
  import { c as getLocale } from '../../chunks/runtime.js-CCJi3XaY.js';
10
- import { p as page, a as afterNavigate, t, c as replaceState, e as currentLocale, u as unexpectederror1, s as sessionnotfound2, r as reapednote1, d as dshunreachable1, b as backtoworkspace2 } from '../../chunks/state.js-BrbF5k84.js';
10
+ import { p as page, a as afterNavigate, t, c as replaceState, e as currentLocale, u as unexpectederror1, s as sessionnotfound2, r as reapednote1, d as dshunreachable1, b as backtoworkspace2 } from '../../chunks/state.js-C_HRp4U4.js';
11
11
  import 'yaml';
12
12
  import 'html-to-image';
13
13
  import hljs from 'highlight.js/lib/core';
@@ -8054,6 +8054,38 @@ var pluginracksearch2 = ((inputs = {}, options = {}) => {
8054
8054
  return en_pluginracksearch2();
8055
8055
  });
8056
8056
  //#endregion
8057
+ //#region src/lib/paraglide/messages/pluginrackstars2.js
8058
+ /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
8059
+ /** @typedef {{}} Pluginrackstars2Inputs */
8060
+ var en_pluginrackstars2 = () => {
8061
+ return `GitHub stars`;
8062
+ };
8063
+ var zh_pluginrackstars2 = () => {
8064
+ return `GitHub 星标`;
8065
+ };
8066
+ var id_pluginrackstars2 = () => {
8067
+ return `Bintang GitHub`;
8068
+ };
8069
+ var es_pluginrackstars2 = () => {
8070
+ return `Estrellas de GitHub`;
8071
+ };
8072
+ /**
8073
+ * | output |
8074
+ * | --- |
8075
+ * | "GitHub stars" |
8076
+ *
8077
+ * @param {Pluginrackstars2Inputs} inputs
8078
+ * @param {{ locale?: "en" | "zh" | "id" | "es" }} options
8079
+ * @returns {LocalizedString}
8080
+ */
8081
+ var pluginrackstars2 = ((inputs = {}, options = {}) => {
8082
+ const locale = options.locale ?? getLocale();
8083
+ if (locale === "zh") return zh_pluginrackstars2();
8084
+ if (locale === "id") return id_pluginrackstars2();
8085
+ if (locale === "es") return es_pluginrackstars2();
8086
+ return en_pluginrackstars2();
8087
+ });
8088
+ //#endregion
8057
8089
  //#region src/lib/paraglide/messages/pluginracktitle2.js
8058
8090
  /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
8059
8091
  /** @typedef {{}} Pluginracktitle2Inputs */
@@ -10774,6 +10806,38 @@ var skillsshelfsearch2 = ((inputs = {}, options = {}) => {
10774
10806
  return en_skillsshelfsearch2();
10775
10807
  });
10776
10808
  //#endregion
10809
+ //#region src/lib/paraglide/messages/skillsshelfstars2.js
10810
+ /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
10811
+ /** @typedef {{}} Skillsshelfstars2Inputs */
10812
+ var en_skillsshelfstars2 = () => {
10813
+ return `GitHub stars`;
10814
+ };
10815
+ var zh_skillsshelfstars2 = () => {
10816
+ return `GitHub 星标`;
10817
+ };
10818
+ var id_skillsshelfstars2 = () => {
10819
+ return `Bintang GitHub`;
10820
+ };
10821
+ var es_skillsshelfstars2 = () => {
10822
+ return `Estrellas de GitHub`;
10823
+ };
10824
+ /**
10825
+ * | output |
10826
+ * | --- |
10827
+ * | "GitHub stars" |
10828
+ *
10829
+ * @param {Skillsshelfstars2Inputs} inputs
10830
+ * @param {{ locale?: "en" | "zh" | "id" | "es" }} options
10831
+ * @returns {LocalizedString}
10832
+ */
10833
+ var skillsshelfstars2 = ((inputs = {}, options = {}) => {
10834
+ const locale = options.locale ?? getLocale();
10835
+ if (locale === "zh") return zh_skillsshelfstars2();
10836
+ if (locale === "id") return id_skillsshelfstars2();
10837
+ if (locale === "es") return es_skillsshelfstars2();
10838
+ return en_skillsshelfstars2();
10839
+ });
10840
+ //#endregion
10777
10841
  //#region src/lib/paraglide/messages/skillsshelftabinstall3.js
10778
10842
  /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
10779
10843
  /** @typedef {{}} Skillsshelftabinstall3Inputs */
@@ -13461,6 +13525,7 @@ var _index_exports = /* @__PURE__ */ __exportAll({
13461
13525
  pluginRackReload: () => pluginrackreload2,
13462
13526
  pluginRackRetry: () => pluginrackretry2,
13463
13527
  pluginRackSearch: () => pluginracksearch2,
13528
+ pluginRackStars: () => pluginrackstars2,
13464
13529
  pluginRackTitle: () => pluginracktitle2,
13465
13530
  pluginRackUninstall: () => pluginrackuninstall2,
13466
13531
  pluginRackUninstallEmpty: () => pluginrackuninstallempty3,
@@ -13548,6 +13613,7 @@ var _index_exports = /* @__PURE__ */ __exportAll({
13548
13613
  skillsShelfReloading: () => skillsshelfreloading2,
13549
13614
  skillsShelfRescan: () => skillsshelfrescan2,
13550
13615
  skillsShelfSearch: () => skillsshelfsearch2,
13616
+ skillsShelfStars: () => skillsshelfstars2,
13551
13617
  skillsShelfTabInstall: () => skillsshelftabinstall3,
13552
13618
  skillsShelfTabUninstall: () => skillsshelftabuninstall3,
13553
13619
  skillsShelfTitle: () => skillsshelftitle2,
@@ -13883,6 +13949,7 @@ var messages_exports = /* @__PURE__ */ __exportAll({
13883
13949
  pluginRackReload: () => pluginrackreload2,
13884
13950
  pluginRackRetry: () => pluginrackretry2,
13885
13951
  pluginRackSearch: () => pluginracksearch2,
13952
+ pluginRackStars: () => pluginrackstars2,
13886
13953
  pluginRackTitle: () => pluginracktitle2,
13887
13954
  pluginRackUninstall: () => pluginrackuninstall2,
13888
13955
  pluginRackUninstallEmpty: () => pluginrackuninstallempty3,
@@ -13970,6 +14037,7 @@ var messages_exports = /* @__PURE__ */ __exportAll({
13970
14037
  skillsShelfReloading: () => skillsshelfreloading2,
13971
14038
  skillsShelfRescan: () => skillsshelfrescan2,
13972
14039
  skillsShelfSearch: () => skillsshelfsearch2,
14040
+ skillsShelfStars: () => skillsshelfstars2,
13973
14041
  skillsShelfTabInstall: () => skillsshelftabinstall3,
13974
14042
  skillsShelfTabUninstall: () => skillsshelftabuninstall3,
13975
14043
  skillsShelfTitle: () => skillsshelftitle2,
@@ -27972,6 +28040,18 @@ function SettingsSkillsHeaderTabs($$renderer, $$props) {
27972
28040
  });
27973
28041
  }
27974
28042
  //#endregion
28043
+ //#region src/lib/components/settings-skills/SettingsSkillsReloadButton.svelte
28044
+ function SettingsSkillsReloadButton($$renderer, $$props) {
28045
+ $$renderer.component(($$renderer) => {
28046
+ $$renderer.push(`<button data-svelte="SettingsSkillsReloadButton" type="button" class="shelf-reload-cancel svelte-1jqdgnf" data-testid="shelf-reload-cancel"${attr("title", t(skillsshelfreloadcancel3))}${attr("aria-label", t(skillsshelfreloadcancel3))}>`);
28047
+ X($$renderer, {
28048
+ size: 13,
28049
+ "aria-hidden": "true"
28050
+ });
28051
+ $$renderer.push(`<!----></button>`);
28052
+ });
28053
+ }
28054
+ //#endregion
27975
28055
  //#region src/lib/components/settings-skills/SettingsSkillsHeaderActions.svelte
27976
28056
  function SettingsSkillsHeaderActions($$renderer, $$props) {
27977
28057
  $$renderer.component(($$renderer) => {
@@ -28014,12 +28094,7 @@ function SettingsSkillsHeaderActions($$renderer, $$props) {
28014
28094
  $$renderer.push(`<!--]--></button> `);
28015
28095
  if (tab === "install" && reloadState === "loading") {
28016
28096
  $$renderer.push("<!--[0-->");
28017
- $$renderer.push(`<button type="button" class="shelf-reload-cancel svelte-1c0ydto" data-testid="shelf-reload-cancel"${attr("title", t(skillsshelfreloadcancel3))}${attr("aria-label", t(skillsshelfreloadcancel3))}>`);
28018
- X($$renderer, {
28019
- size: 13,
28020
- "aria-hidden": "true"
28021
- });
28022
- $$renderer.push(`<!----></button>`);
28097
+ SettingsSkillsReloadButton($$renderer);
28023
28098
  } else $$renderer.push("<!--[-1-->");
28024
28099
  $$renderer.push(`<!--]-->`);
28025
28100
  } else $$renderer.push("<!--[-1-->");
@@ -28130,22 +28205,36 @@ function PluginManagerHeaderTabs($$renderer, $$props) {
28130
28205
  });
28131
28206
  }
28132
28207
  //#endregion
28133
- //#region src/lib/components/settings-plugins/PluginManagerHeaderActions.svelte
28134
- function PluginManagerHeaderActions($$renderer, $$props) {
28208
+ //#region src/lib/components/settings-plugins/PluginManagerReloadButton.svelte
28209
+ function PluginManagerReloadButton($$renderer, $$props) {
28135
28210
  $$renderer.component(($$renderer) => {
28136
28211
  /**
28137
- * PluginManagerHeaderActions - the rack header's action cluster,
28138
- * the shelf HeaderActions' grammar (SettingsSkillsHeaderActions,
28139
- * The Shelf Chrome ADR): the reload verb. Presentational: every
28140
- * verb and all state are owned by PluginManagerPanel.
28212
+ * PluginManagerReloadButton - the rack's reload verb as its own
28213
+ * button, extracted from HeaderActions. Presentational: when it
28214
+ * is disabled and what reload does are owned by PluginManagerPanel.
28141
28215
  */
28142
- let { loading, floorBounce} = $$props;
28143
- $$renderer.push(`<div data-svelte="PluginManagerHeaderActions" class="rack-header-actions svelte-1g0idp7"><button class="rack-reload svelte-1g0idp7" type="button"${attr("title", t(pluginrackreload2))}${attr("aria-label", t(pluginrackreload2))} data-testid="rack-reload"${attr("disabled", loading || floorBounce, true)}>`);
28216
+ let { disabled} = $$props;
28217
+ $$renderer.push(`<button data-svelte="PluginManagerReloadButton" class="rack-reload svelte-3wugmc" type="button"${attr("title", t(pluginrackreload2))}${attr("aria-label", t(pluginrackreload2))} data-testid="rack-reload"${attr("disabled", disabled, true)}>`);
28144
28218
  Rotate_cw($$renderer, { size: 14 });
28145
- $$renderer.push(`<!----></button></div>`);
28219
+ $$renderer.push(`<!----></button>`);
28146
28220
  });
28147
28221
  }
28148
28222
  //#endregion
28223
+ //#region src/lib/components/settings-plugins/PluginManagerHeaderActions.svelte
28224
+ function PluginManagerHeaderActions($$renderer, $$props) {
28225
+ /**
28226
+ * PluginManagerHeaderActions - the rack header's action cluster,
28227
+ * the shelf HeaderActions' grammar (SettingsSkillsHeaderActions,
28228
+ * The Shelf Chrome ADR): the reload verb. Presentational: every
28229
+ * verb and all state are owned by PluginManagerPanel.
28230
+ */
28231
+ let { loading, floorBounce} = $$props;
28232
+ $$renderer.push(`<div data-svelte="PluginManagerHeaderActions" class="rack-header-actions svelte-1g0idp7">`);
28233
+ PluginManagerReloadButton($$renderer, {
28234
+ disabled: loading || floorBounce});
28235
+ $$renderer.push(`<!----></div>`);
28236
+ }
28237
+ //#endregion
28149
28238
  //#region src/lib/components/settings-plugins/PluginManagerHeader.svelte
28150
28239
  function PluginManagerHeader($$renderer, $$props) {
28151
28240
  /**
@@ -30908,4 +30997,4 @@ function _page($$renderer, $$props) {
30908
30997
  }
30909
30998
 
30910
30999
  export { _page as default };
30911
- //# sourceMappingURL=_page.svelte.js-6A1VYbL2.js.map
31000
+ //# sourceMappingURL=_page.svelte.js-UXIdc_bL.js.map
@@ -9,8 +9,8 @@ import * as qs from 'node:querystring';
9
9
  import { Readable } from 'node:stream';
10
10
  import { S as SvelteKitError } from './chunks/shared.js-HQ0rfhm4.js';
11
11
  import './chunks/utils.js-CAdNO8Tu.js';
12
- import { S as Server } from './index.js-5P_bGLRx.js';
13
- import { m as manifest } from './manifest.js-B3ooI-FL.js';
12
+ import { S as Server } from './index.js-C9NofOps.js';
13
+ import { m as manifest } from './manifest.js-DDCEOESO.js';
14
14
  import { env, dir, env_prefix } from '../../env.js';
15
15
  import { format } from 'node:url';
16
16
 
@@ -1732,4 +1732,4 @@ const handler = sequence(
1732
1732
  );
1733
1733
 
1734
1734
  export { format_listening_address as f, handler as h, polka as p };
1735
- //# sourceMappingURL=handler-ChXGVK9Y.js.map
1735
+ //# sourceMappingURL=handler-BJ9--VUv.js.map
@@ -1,4 +1,4 @@
1
- import { _ as __commonJSMin, o as options, s as set_private_env, a as set_public_env, g as get_hooks, p as public_env, r as read_implementation, b as set_read_implementation } from './chunks/internal.js-Ca_6TJ1k.js';
1
+ import { _ as __commonJSMin, o as options, s as set_private_env, a as set_public_env, g as get_hooks, p as public_env, r as read_implementation, b as set_read_implementation } from './chunks/internal.js-0AVWztiM.js';
2
2
  import { n as noop, T as TRAILING_SLASH_PARAM, I as INVALIDATED_PARAM, R as Redirect, b as get_relative_path, S as SvelteKitError, g as get_status, t as text_encoder, o as once, H as HttpError, d as normalize_error, e as create_remote_key, f as parse_remote_arg, s as stringify, h as stringify$1, A as ActionFailure, i as split_remote_key, j as base64_encode } from './chunks/shared.js-HQ0rfhm4.js';
3
3
  import { b as base, o as override, a as assets, r as reset, c as app_dir } from './chunks/internal2.js-BcS47nI-.js';
4
4
  import { f as format_server_error, j as json, i as is_form_content_type, t as text, h as has_prerendered_path, a as handle_fatal_error, r as redirect_response, g as get_set_cookies, n as negotiate, w as with_request_store, p as parseString, m as merge_tracing, b as method_not_allowed, s as static_error_page, c as handle_error_and_jsonify, d as get_global_name, e as create_replacer, k as serialize_uses, l as clarify_devalue_error, E as ENDPOINT_METHODS, P as PAGE_METHODS, o as get_node_type, q as isRedirect, u as escape_html, v as error, x as deserialize_binary_form } from './chunks/utils.js-CAdNO8Tu.js';
@@ -3861,4 +3861,4 @@ var Server = class {
3861
3861
  };
3862
3862
 
3863
3863
  export { Server as S };
3864
- //# sourceMappingURL=index.js-5P_bGLRx.js.map
3864
+ //# sourceMappingURL=index.js-C9NofOps.js.map
@@ -10,11 +10,11 @@ return {
10
10
  assets: new Set(["favicon.svg"]),
11
11
  mimeTypes: {".svg":"image/svg+xml"},
12
12
  _: {
13
- client: {start:"_app/immutable/entry/start.Dyarj9we.js",app:"_app/immutable/entry/app.C1j_PXOJ.js",imports:["_app/immutable/entry/start.Dyarj9we.js","_app/immutable/chunks/BVBc9rJx.js","_app/immutable/chunks/C-58cZAk.js","_app/immutable/entry/app.C1j_PXOJ.js","_app/immutable/chunks/C-58cZAk.js","_app/immutable/chunks/HclGiUj8.js","_app/immutable/chunks/xihTtKlq.js"],stylesheets:[],fonts:[],uses_env_dynamic_public:false},
13
+ client: {start:"_app/immutable/entry/start.DXQR7y2N.js",app:"_app/immutable/entry/app.y5dXo2Ok.js",imports:["_app/immutable/entry/start.DXQR7y2N.js","_app/immutable/chunks/CO5vDamr.js","_app/immutable/chunks/C-58cZAk.js","_app/immutable/entry/app.y5dXo2Ok.js","_app/immutable/chunks/C-58cZAk.js","_app/immutable/chunks/HclGiUj8.js","_app/immutable/chunks/xihTtKlq.js"],stylesheets:[],fonts:[],uses_env_dynamic_public:false},
14
14
  nodes: [
15
15
  __memo(() => import('./nodes/0.js-D1vjUdTF.js')),
16
- __memo(() => import('./nodes/1.js-Dcb4_Gzq.js')),
17
- __memo(() => import('./nodes/2.js-C4WQL8rj.js'))
16
+ __memo(() => import('./nodes/1.js-XJPU3cMa.js')),
17
+ __memo(() => import('./nodes/2.js-DJr3vFN1.js'))
18
18
  ],
19
19
  remotes: {
20
20
 
@@ -249,14 +249,14 @@ return {
249
249
  pattern: /^\/api\/plugins\/reload\/?$/,
250
250
  params: [],
251
251
  page: null,
252
- endpoint: __memo(() => import('./entries/endpoints/api/plugins/reload/_server.ts.js-U8vRgx7E.js'))
252
+ endpoint: __memo(() => import('./entries/endpoints/api/plugins/reload/_server.ts.js-BACFXWMj.js'))
253
253
  },
254
254
  {
255
255
  id: "/api/plugins/snapshot",
256
256
  pattern: /^\/api\/plugins\/snapshot\/?$/,
257
257
  params: [],
258
258
  page: null,
259
- endpoint: __memo(() => import('./entries/endpoints/api/plugins/snapshot/_server.ts.js-9Ezy2OeQ.js'))
259
+ endpoint: __memo(() => import('./entries/endpoints/api/plugins/snapshot/_server.ts.js-BJg0hLlC.js'))
260
260
  },
261
261
  {
262
262
  id: "/api/prompts",
@@ -326,7 +326,7 @@ return {
326
326
  pattern: /^\/api\/skills\/reload\/?$/,
327
327
  params: [],
328
328
  page: null,
329
- endpoint: __memo(() => import('./entries/endpoints/api/skills/reload/_server.ts.js-BUnCt45D.js'))
329
+ endpoint: __memo(() => import('./entries/endpoints/api/skills/reload/_server.ts.js-lJhCBpB2.js'))
330
330
  },
331
331
  {
332
332
  id: "/api/skills/reload/cancel",
@@ -340,7 +340,7 @@ return {
340
340
  pattern: /^\/api\/skills\/snapshot\/?$/,
341
341
  params: [],
342
342
  page: null,
343
- endpoint: __memo(() => import('./entries/endpoints/api/skills/snapshot/_server.ts.js-CaBD0w0v.js'))
343
+ endpoint: __memo(() => import('./entries/endpoints/api/skills/snapshot/_server.ts.js-Ct_PmlXs.js'))
344
344
  },
345
345
  {
346
346
  id: "/api/skills/uninstall",
@@ -445,4 +445,4 @@ return {
445
445
  })();
446
446
 
447
447
  export { manifest as m };
448
- //# sourceMappingURL=manifest.js-B3ooI-FL.js.map
448
+ //# sourceMappingURL=manifest.js-DDCEOESO.js.map
@@ -0,0 +1,9 @@
1
+ const index = 1;
2
+ let component_cache;
3
+ const component = async () => component_cache ??= (await import('../entries/pages/_error.svelte.js-CEmLRT9p.js')).default;
4
+ const imports = ["_app/immutable/nodes/1.DxZnpXVQ.js","_app/immutable/chunks/C-58cZAk.js","_app/immutable/chunks/xihTtKlq.js","_app/immutable/chunks/ChuRCf9h.js","_app/immutable/chunks/CO5vDamr.js","_app/immutable/chunks/DlfWhx6l.js"];
5
+ const stylesheets = [];
6
+ const fonts = [];
7
+
8
+ export { component, fonts, imports, index, stylesheets };
9
+ //# sourceMappingURL=1.js-XJPU3cMa.js.map
@@ -17,11 +17,11 @@ import '../chunks/uneval.js-BJ9Qq2SF.js';
17
17
 
18
18
  const index = 2;
19
19
  let component_cache;
20
- const component = async () => component_cache ??= (await import('../entries/pages/_page.svelte.js-6A1VYbL2.js')).default;
20
+ const component = async () => component_cache ??= (await import('../entries/pages/_page.svelte.js-UXIdc_bL.js')).default;
21
21
  const server_id = "src/routes/+page.server.ts";
22
- const imports = ["_app/immutable/nodes/2.D9qSqOKy.js","_app/immutable/chunks/C-58cZAk.js","_app/immutable/chunks/BVBc9rJx.js","_app/immutable/chunks/HclGiUj8.js","_app/immutable/chunks/xihTtKlq.js","_app/immutable/chunks/DlfWhx6l.js","_app/immutable/chunks/DsZdPfqt.js","_app/immutable/chunks/DNY2-FaC.js"];
23
- const stylesheets = ["_app/immutable/assets/2.DEBHmc3y.css"];
22
+ const imports = ["_app/immutable/nodes/2.llFj6Wmd.js","_app/immutable/chunks/C-58cZAk.js","_app/immutable/chunks/CO5vDamr.js","_app/immutable/chunks/HclGiUj8.js","_app/immutable/chunks/xihTtKlq.js","_app/immutable/chunks/DlfWhx6l.js","_app/immutable/chunks/DsZdPfqt.js","_app/immutable/chunks/ChuRCf9h.js"];
23
+ const stylesheets = ["_app/immutable/assets/2.BGqV97Jd.css"];
24
24
  const fonts = [];
25
25
 
26
26
  export { component, fonts, imports, index, server_id, stylesheets };
27
- //# sourceMappingURL=2.js-C4WQL8rj.js.map
27
+ //# sourceMappingURL=2.js-DJr3vFN1.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepseek-insight/dsi",
3
- "version": "0.6.1",
3
+ "version": "0.6.3",
4
4
  "description": "See your multiple agents run on the floor (agent, sub-agent, etc), each conversation on the floor are updated instantly.",
5
5
  "keywords": [
6
6
  "Deepseek",
@@ -38,7 +38,7 @@
38
38
  "node": ">=22.19"
39
39
  },
40
40
  "dsh": {
41
- "webVersion": "0.1.7-rc.2"
41
+ "webVersion": "0.2.0-rc.1"
42
42
  },
43
43
  "bin": {
44
44
  "dsi": "bin/dsi.mjs"